PageSourceSearch

https://landscapedatacommons.org/main-es5.20db97a26af3048681d0.js

js landscapedatacommons.org collected 2026-10-04 03:07:55 UTC 3,383,431 bytes, 1 lines download raw bytes

vendor: 5,359 bytes, line 1
1(function(){var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,_templateObject9,_templateObject10,_templateObject11,_templateObject12,_templateObject13,_templateObject14,_templateObject15,_templateObject16,_templateObject17,_templateObject18,_templateObject19,_templateObject20,_templateObject21,_templateObject22;function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}function _taggedTemplateLiteral(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var r=e&&e.prototype instanceof _?e:_,a=Object.create(r.prototype),s=new A(i||[]);return o(a,"_invoke",{value:M(t,n,s)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var h="suspendedStart",p="executing",f="completed",g={};function _(){}function m(){}function v(){}var y={};l(y,a,function(){return this});var C=Object.getPrototypeOf,b=C&&C(C(T([])));b&&b!==n&&i.call(b,a)&&(y=b);var O=v.prototype=_.prototype=Object.create(y);function P(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function n(o,r,a,s){var c=d(t[o],t,r);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&i.call(u,"__await")?e.resolve(u.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(u).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,s)})}s(c.arg)}var r;o(this,"_invoke",{value:function(t,i){function o(){return new e(function(e,o){n(t,i,e,o)})}return r=r?r.then(o,o):o()}})}function M(e,n,i){var o=h;return function(r,a){if(o===p)throw new Error("Generator is already running");if(o===f){if("throw"===r)throw a;return{value:t,done:!0}}for(i.method=r,i.arg=a;;){var s=i.delegate;if(s){var c=x(s,i);if(c){if(c===g)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===h)throw o=f,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=p;var l=d(e,n,i);if("normal"===l.type){if(o=i.done?f:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(o=f,i.method="throw",i.arg=l.arg)}}}function x(e,n){var i=n.method,o=e.iterator[i];if(o===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var r=d(o,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,g;var a=r.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return r.next=r}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=v,o(O,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=l(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,c,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},P(w.prototype),l(w.prototype,s,function(){return this}),e.AsyncIterator=w,e.async=function(t,n,i,o,r){void 0===r&&(r=Promise);var a=new w(u(t,n,i,o),r);return e.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},P(O),l(O,c,"Generator"),l(O,a,function(){return this}),l(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=T,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
vendor: 9,891 bytes, line 1
1h(S),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(i,o){return s.type="throw",s.arg=e,n.next=i,o&&(n.method="next",n.arg=t),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:T(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},e}function _toArray(t){return _arrayWithHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableRest()}function _defineProperty(t,e,n){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_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(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r,a,s=[],c=!0,l=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=r.call(n)).done)&&(s.push(i.value),s.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var i=_superPropBase(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},_get.apply(this,arguments)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_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(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _createForOfIteratorHelper(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}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 r,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,r=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,_toPropertyKey(i.key),i)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:String(e)}function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _callSuper(t,e,n){return e=_getPrototypeOf(e),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(e,n||[],_getPrototypeOf(t).constructor):e.apply(t,n))}function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,t)},_wrapNativeSuper(t)}function _construct(t,e,n){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,e);var o=new(t.bind.apply(t,i));return n&&_setPrototypeOf(o,n.prototype),o}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}(self.webpackChunkldc_data_portal_test=self.webpackChunkldc_data_portal_test||[]).push([[179],{98255:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=98255,t.exports=e},37716:function(t,e,n){"use strict";n.d(e,{deG:function(){return pn},tb:function(){return wu},AFp:function(){return yu},ip1:function(){return mu},CZH:function(){return vu},hGG:function(){return _d},z2F:function(){return ad},ahi:function(){return dn},sBO:function(){return fl},Sil:function(){return Fu},_Vd:function(){return Nc},aQ5:function(){return _n},AcB:function(){return gn},EJc:function(){return ku},SBq:function(){return zc},qLn:function(){return To},vpe:function(){return Jl},AA_:function(){return Hn},L6J:function(){return _u},gxx:function(){return Hr},tBr:function(){return qn},XFs:function(){return I},OlP:function(){return hn},zs3:function(){return ca},IIB:function(){return fu},ZZ4:function(){return sl},aQg:function(){return ll},soG:function(){return xu},YKP:function(){return Pl},v3s:function(){return cd},h0i:function(){return Ol},PXZ:function(){return ed},R0b:function(){return Nu},FiY:function(){return Bn},r_U:function(){return gu},Lbi:function(){return Pu},g9A:function(){return Ou},n_E:function(){return Ql},Qsj:function(){return Yc},FYo:function(){return Bc},JOm:function(){return Jn},Tiy:function(){return Hc},q3G:function(){return wo},PiD:function(){return Yn},tp0:function(){return Gn},EAV:function(){return dd},Rgc:function(){return yl},dDg:function(){return Yu},DyG:function(){return vn},GfV:function(){return Jc},i9L:function(){return mn},s_b:function(){return Ml}
1,ifc:function(){return L},eFA:function(){return nd},G48:function(){return $u},Gpc:function(){return p},f3M:function(){return Zn},X6Q:function(){return Xu},_c5:function(){return fd},VLi:function(){return Hu},c2e:function(){return Mu},zSh:function(){return Wr},wAp:function(){return Is},vHH:function(){return _},EiD:function(){return Oo},mCW:function(){return oo},qzn:function(){return Gi},JVY:function(){return Ji},pB0:function(){return Xi},eBb:function(){return Qi},L6k:function(){return Wi},LAX:function(){return Ki},cg1:function(){return Ss},Tjo:function(){return pd},kL8:function(){return As},yhl:function(){return Hi},dqk:function(){return V},sIi:function(){return va},CqO:function(){return Ua},QGY:function(){return Za},F4k:function(){return Na},RDi:function(){return Mt},AaK:function(){return u},z3N:function(){return Yi},qOj:function(){return ua},TTD:function(){return mt},_Bn:function(){return Fc},xp6:function(){return Ho},uIk:function(){return Pa},Tol:function(){return rs},Gre:function(){return bs},DjV:function(){return Os},ekj:function(){return os},Suo:function(){return cu},Xpm:function(){return K},lG2:function(){return ot},Yz7:function(){return b},cJS:function(){return O},oAB:function(){return et},Yjl:function(){return rt},Y36:function(){return ka},_UZ:function(){return Ea},GkF:function(){return Fa},BQk:function(){return Ra},ynx:function(){return Da},qZA:function(){return Ia},TgZ:function(){return Ta},EpF:function(){return La},n5z:function(){return nn},Ikx:function(){return Ps},SDv:function(){return Mc},QtT:function(){return kc},pQV:function(){return xc},LFG:function(){return Ln},$8M:function(){return rn},NdJ:function(){return Va},CRH:function(){return lu},kcU:function(){return be},O4$:function(){return Ce},oxw:function(){return Ya},ALo:function(){return Yl},lcZ:function(){return Gl},Hsn:function(){return Ja},F$t:function(){return Ha},Q6J:function(){return Sa},s9C:function(){return Wa},MGl:function(){return Qa},DdM:function(){return Ul},VKq:function(){return Vl},WLB:function(){return jl},kEZ:function(){return zl},iGM:function(){return au},MAs:function(){return xa},Jf7:function(){return Eo},CHM:function(){return Bt},oJD:function(){return Mo},LSH:function(){return xo},kYT:function(){return nt},Udp:function(){return is},WFA:function(){return ja},d8E:function(){return ws},YNc:function(){return Ma},W1O:function(){return pu},_uU:function(){return ms},Oqu:function(){return vs},hij:function(){return ys},AsE:function(){return Cs},Gf:function(){return su}});var i=n(79765),o=n(10826),r=n(39897),a=n(66682),s=n(78345);function c(t){for(var e in t)if(t[e]===c)return e;throw Error("Could not find renamed property on target object.")}function l(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function d(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var h=c({__forward_ref__:c});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return g(t)?t():t}function g(t){return"function"==typeof t&&t.hasOwnProperty(h)&&t.__forward_ref__===p}var _=function(t){function e(t,n){var i;return _classCallCheck(this,e),i=_callSuper(this,e,[function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,n)]),i.code=t,i}return _inherits(e,t),_createClass(e)}(_wrapNativeSuper(Error));function m(t){return"string"==typeof t?t:null==t?"":String(t)}function v(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():m(t)}function y(t,e){var n=e?" in ".concat(e):"";throw new _("201","No provider for ".concat(v(t)," found").concat(n))}function C(t,e,n,i){throw new Error("ASSERTION ERROR: ".concat(t)+(null==i?"":" [Expected=> ".concat(n," ").concat(i," ").concat(e," <=Actual]")))}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function O(t){return{providers:t.providers||[],imports:t.imports||[]}}function P(t){return w(t,k)||w(t,A)}function w(t,e){return t.hasOwnProperty(e)?t[e]:null}function M(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(T))?t[S]:null}var x,k=c({"\u0275prov":c}),S=c({"\u0275inj":c}),A=c({ngInjectableDef:c}),T=c({ngInjectorDef:c}),I=((I=I||{})[I.Default=0]="Default",I[I.Host=1]="Host",I[I.Self=2]="Self",I[I.SkipSelf=4]="SkipSelf",I[I.Optional=8]="Optional",I);function E(t){var e=x;return x=t,e}function D(t,e,n){var i=P(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&I.Optional?null:void 0!==e?e:void y(u(t),"Injector")}function R(t){return{toString:t}.toString()}var F=((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F),L=((L=L||{})[L.Emulated=0]="Emulated",L[L.None=2]="None",L[L.ShadowDom=3]="ShadowDom",L),Z="undefined"!=typeof globalThis&&globalThis,N="undefined"!=typeof window&&window,U="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,V=Z||"undefined"!=typeof global&&global||N||U,j={},z=[],q=c({"\u0275cmp":c}),B=c({"\u0275dir":c}),Y=c({"\u0275pipe":c}),G=c({"\u0275mod":c}),H=c({"\u0275loc":c}),J=c({"\u0275fac":c}),W=c({__NG_ELEMENT_ID__:c}
1),Q=0;function K(t){return R(function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||z,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||L.Emulated,id:"c",styles:t.styles||z,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,o=t.features,r=t.pipes;return n.id+=Q++,n.inputs=it(t.inputs,e),n.outputs=it(t.outputs),o&&o.forEach(function(t){return t(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(X)}:null,n.pipeDefs=r?function(){return("function"==typeof r?r():r).map($)}:null,n})}function X(t){return at(t)||function(t){return t[B]||null}(t)}function $(t){return function(t){return t[Y]||null}(t)}var tt={};function et(t){return R(function(){var e={type:t.type,bootstrap:t.bootstrap||z,declarations:t.declarations||z,imports:t.imports||z,exports:t.exports||z,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(tt[t.id]=t.type),e})}function nt(t,e){return R(function(){var n=st(t,!0);n.declarations=e.declarations||z,n.imports=e.imports||z,n.exports=e.exports||z})}function it(t,e){if(null==t)return j;var n={};for(var i in t)if(t.hasOwnProperty(i)){var o=t[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),n[o]=i,e&&(e[o]=r)}return n}var ot=K;function rt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function at(t){return t[q]||null}function st(t,e){var n=t[G]||null;if(!n&&!0===e)throw new Error("Type ".concat(u(t)," does not have '\u0275mod' property."));return n}function ct(t){return Array.isArray(t)&&"object"==typeof t[1]}function lt(t){return Array.isArray(t)&&!0===t[1]}function ut(t){return 0!=(8&t.flags)}function dt(t){return 2==(2&t.flags)}function ht(t){return 1==(1&t.flags)}function pt(t){return null!==t.template}function ft(t){return 0!=(512&t[2])}function gt(t,e){return t.hasOwnProperty(J)?t[J]:null}var _t=function(){function t(e,n,i){_classCallCheck(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}return _createClass(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function mt(){return vt}function vt(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ct),yt}function yt(){var t=Ot(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===j)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function Ct(t,e,n,i){var o=Ot(t)||function(t,e){return t[bt]=e}(t,{previous:j,current:null}),r=o.current||(o.current={}),a=o.previous,s=this.declaredInputs[n],c=a[s];r[s]=new _t(c&&c.currentValue,e,a===j),t[i]=e}mt.ngInherit=!0;var bt="__ngSimpleChanges__";function Ot(t){return t[bt]||null}var Pt,wt="http://www.w3.org/2000/svg";function Mt(t){Pt=t}function xt(){return void 0!==Pt?Pt:"undefined"!=typeof document?document:void 0}function kt(t){return!!t.listen}var St={createRenderer:function(t,e){return xt()}};function At(t){for(;Array.isArray(t);)t=t[0];return t}function Tt(t,e){return At(e[t])}function It(t,e){return At(e[t.index])}function Et(t,e){return t.data[e]}function Dt(t,e){return t[e]}function Rt(t,e){var n=e[t];return ct(n)?n:n[0]}function Ft(t){return 4==(4&t[2])}function Lt(t){return 128==(128&t[2])}function Zt(t,e){return null==e?null:t[e]}function Nt(t){t[18]=0}function Ut(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var Vt={lFrame:pe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function jt(){return Vt.bindingsEnabled}function zt(){return Vt.lFrame.lView}function qt(){return Vt.lFrame.tView}function Bt(t){return Vt.lFrame.contextLView=t,t[8]}function Yt(){for(var t=Gt();null!==t&&64===t.type;)t=t.parent;return t}function Gt(){return Vt.lFrame.currentTNode}function Ht(){var t=Vt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Jt(t,e){var n=Vt.lFrame;n.currentTNode=t,n.isParent=e}function Wt(){return Vt.lFrame.isParent}function Qt(){Vt.lFrame.isParent=!1}
vendor: 8,357 bytes, line 1
1function Kt(){return Vt.isInCheckNoChangesMode}function Xt(t){Vt.isInCheckNoChangesMode=t}function $t(){var t=Vt.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function te(){return Vt.lFrame.bindingIndex}function ee(){return Vt.lFrame.bindingIndex++}function ne(t){var e=Vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ie(t){Vt.lFrame.inI18n=t}function oe(t,e){var n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,re(e)}function re(t){Vt.lFrame.currentDirectiveIndex=t}function ae(t){var e=Vt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function se(){return Vt.lFrame.currentQueryIndex}function ce(t){Vt.lFrame.currentQueryIndex=t}function le(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ue(t,e,n){if(n&I.SkipSelf){for(var i=e,o=t;!(null!==(i=i.parent)||n&I.Host||(i=le(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;e=i,t=o}var r=Vt.lFrame=he();return r.currentTNode=e,r.lView=t,!0}function de(t){var e=he(),n=t[1];Vt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function he(){var t=Vt.lFrame,e=null===t?null:t.child;return null===e?pe(t):e}function pe(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function fe(){var t=Vt.lFrame;return Vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ge=fe;function _e(){var t=fe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function me(){return Vt.lFrame.selectedIndex}function ve(t){Vt.lFrame.selectedIndex=t}function ye(){var t=Vt.lFrame;return Et(t.tView,t.selectedIndex)}function Ce(){Vt.lFrame.currentNamespace=wt}function be(){Vt.lFrame.currentNamespace=null}function Oe(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n<i;n++){var o=t.data[n].type.prototype,r=o.ngAfterContentInit,a=o.ngAfterContentChecked,s=o.ngAfterViewInit,c=o.ngAfterViewChecked,l=o.ngOnDestroy;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),c&&((t.viewHooks||(t.viewHooks=[])).push(n,c),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,c)),null!=l&&(t.destroyHooks||(t.destroyHooks=[])).push(n,l)}}function Pe(t,e,n){xe(t,e,3,n)}function we(t,e,n,i){(3&t[2])===n&&xe(t,e,n,i)}function Me(t,e){var n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function xe(t,e,n,i){for(var o=null!=i?i:-1,r=e.length-1,a=0,s=void 0!==i?65535&t[18]:0;s<r;s++)if("number"==typeof e[s+1]){if(a=e[s],null!=i&&a>=i)break}else e[s]<0&&(t[18]+=65536),(a<o||-1==o)&&(ke(t,n,e,s),t[18]=(4294901760&t[18])+s+2),s++}function ke(t,e,n,i){var o=n[i]<0,r=n[i+1],a=t[o?-n[i]:n[i]];if(o){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{r.call(a)}finally{}}}else try{r.call(a)}finally{}}var Se=_createClass(function t(e,n,i){_classCallCheck(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i});function Ae(t,e,n){for(var i=kt(t),o=0;o<n.length;){var r=n[o];if("number"==typeof r){if(0!==r)break;o++;var a=n[o++],s=n[o++],c=n[o++];i?t.setAttribute(e,s,c,a):e.setAttributeNS(a,s,c)}else{var l=r,u=n[++o];Ie(l)?i&&t.setProperty(e,l,u):i?t.setAttribute(e,l,u):e.setAttribute(l,u),o++}}return o}function Te(t){return 3===t||4===t||6===t}function Ie(t){return 64===t.charCodeAt(0)}function Ee(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else for(var n=-1,i=0;i<e.length;i++){var o=e[i];"number"==typeof o?n=o:0===n||De(t,n,o,null,-1===n||2===n?e[++i]:null)}return t}function De(t,e,n,i,o){var r=0,a=t.length;if(-1===e)a=-1;else for(;r<t.length;){var s=t[r++];if("number"==typeof s){if(s===e){a=-1;break}if(s>e){a=r-1;break}}}for(;r<t.length;){var c=t[r];if("number"==typeof c)break;if(c===n){if(null===i)return void(null!==o&&(t[r+1]=o));if(i===t[r+1])return void(t[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==a&&(t.splice(a,0,e),r=a+1),t.splice(r++,0,n),null!==i&&t.splice(r++,0,i),null!==o&&t.splice(r++,0,o)}function Re(t){return-1!==t}function Fe(t){return 32767&t}function Le(t,e){for(var n=function(t){return t>>16}(t),i=e;n>0;)i=i[15],n--;return i}var Ze=!0;function Ne(t){var e=Ze;return Ze=t,e}var Ue=0;function Ve(t,e){var n=ze(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,je(i.data,t),je(e,null),je(i.blueprint,null));var o=qe(t,e),r=t.injectorIndex;if(Re(o))for(var a=Fe(o),s=Le(o,e),c=s[1].data,l=0;l<8;l++)e[r+l]=s[a+l]|c[a+l];return e[r+8]=o,r}function je(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ze(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function qe(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,i=null,o=e;null!==o;){var r=o[1],a=r.type;if(null===(i=2===a?r.declTNode:1===a?o[6]:null))return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Be(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(W)&&(i=n[W]),null==i&&(i=n[W]=Ue++);var o=255&i;e.data[t+(o>>5)]|=1<<o}(t,e,n)}function Ye(t,e,n){if(n&I.Optional)return t;y(e,"NodeInjector")}function Ge(t,e,n,i){if(n&I.Optional&&void 0===i&&(i=null),0==(n&(I.Self|I.Host))){var o=t[9],r=E(void 0);try{return o?o.get(e,i,n&I.Optional):D(e,i,n&I.Optional)}finally{E(r)}}return Ye(i,e,n)}function He(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:I.Default,o=arguments.length>4?arguments[4]:void 0;if(null!==t){var r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(W)?t[W]:void 0;return"number"==typeof e?e>=0?255&e:We:e}(n);if("function"==typeof r){if(!ue(e,t,i))return i&I.Host?Ye(o,n,i):Ge(e,n,i,o);try{var a=r(i);if(null!=a||i&I.Optional)return a;y(n)}finally{ge()}}else if("number"==typeof r){var s=null,c=ze(t,e),l=-1,u=i&I.Host?e[16][6]:null;for((-1===c||i&I.SkipSelf)&&(-1!==(l=-1===c?qe(t,e):e[c+8])&&tn(i,!1)?(s=e[1],c=Fe(l),e=Le(l,e)):c=-1);-1!==c;){var d=e[1];if($e(r,c,d.data)){var h=Qe(c,e,n,s,i,u);if(h!==Je)return h}-1!==(l=e[c+8])&&tn(i,e[1].data[c+8]===u)&&$e(r,c,e)?(s=d,c=Fe(l),e=Le(l,e)):c=-1}}}return Ge(e,n,i,o)}var Je={};function We(){return new en(Yt(),zt())}function Qe(t,e,n,i,o,r){var a=e[1],s=a.data[t+8],c=Ke(s,a,n,null==i?dt(s)&&Ze:i!=a&&0!=(3&s.type),o&I.Host&&r===s);return null!==c?Xe(e,a,c,s):Je}function Ke(t,e,n,i,o){for(var r=t.providerIndexes,a=e.data,s=1048575&r,c=t.directiveStart,l=r>>20,u=o?s+l:t.directiveEnd,d=i?s:s+l;d<u;d++){var h=a[d];if(d<c&&n===h||d>=c&&h.type===n)return d}if(o){var p=a[c];if(p&&pt(p)&&p.type===n)return c}return null}function Xe(t,e,n,i){var o=t[n],r=e.data;if(function(t){return t instanceof Se}(o)){var a=o;a.resolving&&function(t,e){throw new _("200","Circular dependency in DI detected for ".concat(t))}(v(r[n]));var s=Ne(a.canSeeViewProviders);a.resolving=!0;var c=a.injectImpl?E(a.injectImpl):null;ue(t,i,I.Default);try{o=t[n]=a.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,o=i.ngOnChanges,r=i.ngOnInit,a=i.ngDoCheck;if(o){var s=vt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,r[n],e)}finally{null!==c&&E(c),Ne(s),a.resolving=!1,ge()}}return o}function $e(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function tn(t,e){return!(t&I.Self||t&I.Host&&e)}var en=function(){function t(e,n){_classCallCheck(this,t),this._tNode=e,this._lView=n}return _createClass(t,[{key:"get",value:function(t,e,n){return He(this._tNode,this._lView,t,n,e)}}]),t}();function nn(t){return R(function(){for(var e=t.prototype.constructor,n=e[J]||on(e),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;o&&o!==i;){var r=o[J]||on(o);if(r&&r!==n)return r;
1o=Object.getPrototypeOf(o)}return function(t){return new t}})}function on(t){return g(t)?function(){var e=on(f(t));return e&&e()}:gt(t)}function rn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var i=n.length,o=0;o<i;){var r=n[o];if(Te(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(r===e)return n[o+1];o+=2}}return null}(Yt(),t)}var an="__parameters__",sn="__prop__metadata__";function cn(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}function ln(t,e,n){return R(function(){var i=cn(e);function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(this instanceof o)return i.apply(this,e),this;var r=_construct(o,e);return a.annotation=r,a;function a(t,e,n){for(var i=t.hasOwnProperty(an)?t[an]:Object.defineProperty(t,an,{value:[]})[an];i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(r),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function un(t,e,n,i){return R(function(){var o=cn(e);function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(this instanceof r)return o.apply(this,e),this;var a=_construct(r,e);return function(t,n){var o=t.constructor,r=o.hasOwnProperty(sn)?o[sn]:Object.defineProperty(o,sn,{value:{}})[sn];r[n]=r.hasOwnProperty(n)&&r[n]||[],r[n].unshift(a),i&&i.apply(void 0,[t,n].concat(e))}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var dn=ln("Attribute",function(t){return{attributeName:t,__NG_ELEMENT_ID__:function(){return rn(t)}}}),hn=function(){function t(e,n){_classCallCheck(this,t),this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=b({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return _createClass(t,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),t}(),pn=new hn("AnalyzeForEntryComponents"),fn=_createClass(function t(){_classCallCheck(this,t)}),gn=un("ContentChildren",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},e)},fn),_n=un("ContentChild",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)},fn),mn=un("ViewChild",function(t,e){return Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)},fn),vn=Function;function yn(t,e){void 0===e&&(e=t);for(var n=0;n<t.length;n++){var i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),yn(i,e)):e!==t&&e.push(i)}return e}function Cn(t,e){t.forEach(function(t){return Array.isArray(t)?Cn(t,e):e(t)})}function bn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function On(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Pn(t,e){for(var n=[],i=0;i<t;i++)n.push(e);return n}function wn(t,e,n){var i=xn(t,e);return i>=0?t[1|i]=n:function(t,e,n,i){var o=t.length;if(o==e)t.push(n,i);else if(1===o)t.push(i,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=i}}(t,i=~i,e,n),i}function Mn(t,e){var n=xn(t,e);if(n>=0)return t[1|n]}function xn(t,e){return function(t,e,n){for(var i=0,o=t.length>>1;o!==i;){var r=i+(o-i>>1),a=t[r<<1];if(e===a)return r<<1;a>e?o=r:i=r+1}return~(o<<1)}(t,e)}var kn,Sn={},An="__NG_DI_FLAG__",Tn="ngTempTokenPath",In=/\n/gm,En="__source",Dn=c({provide:String,useValue:c});function Rn(t){var e=kn;return kn=t,e}function Fn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.Default;if(void 0===kn)throw new Error("inject() must be called from an injection context");return null===kn?D(t,void 0,e):kn.get(t,e&I.Optional?null:void 0,e)}function Ln(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.Default;return(x||Fn)(f(t),e)}var Zn=Ln;function Nn(t){for(var e=[],n=0;n<t.length;n++){var i=f(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,r=I.Default,a=0;a<i.length;a++){var s=i[a],c=Vn(s);"number"==typeof c?-1===c?o=s.token:r|=c:o=s}e.push(Ln(o,r))}else e.push(Ln(i))}return e}function Un(t,e){return t[An]=e,t.prototype[An]=e,t}function Vn(t){return t[An]}function jn(t,e,n,i){var o=t[Tn];throw e[En]&&o.unshift(e[En]),t.message=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var o=u(e);if(Array.isArray(e))o=e.map(u).join(" -> ");else if("object"==typeof e){var r=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];
vendor: 6,524 bytes, line 1
1r.push(a+":"+("string"==typeof s?JSON.stringify(s):u(s)))}o="{".concat(r.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(o,"]: ").concat(t.replace(In,"\n  "))}("\n"+t.message,o,n,i),t.ngTokenPath=o,t[Tn]=null,t}var zn,qn=Un(ln("Inject",function(t){return{token:t}}),-1),Bn=Un(ln("Optional"),8),Yn=Un(ln("Self"),2),Gn=Un(ln("SkipSelf"),4),Hn=Un(ln("Host"),1),Jn=((Jn=Jn||{})[Jn.Important=1]="Important",Jn[Jn.DashCase=2]="DashCase",Jn),Wn=/^>|^->|<!--|-->|--!>|<!-$/g,Qn=/(<|>)/,Kn="__ngContext__";function Xn(t,e){t[Kn]=e}function $n(t){var e=function(t){return t[Kn]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ti(t,e){return zn(t,e)}function ei(t){var e=t[3];return lt(e)?e[3]:e}function ni(t){return oi(t[13])}function ii(t){return oi(t[4])}function oi(t){for(;null!==t&&!lt(t);)t=t[4];return t}function ri(t,e,n,i,o){if(null!=i){var r,a=!1;lt(i)?r=i:ct(i)&&(a=!0,i=i[0]);var s=At(i);0===t&&null!==n?null==o?mi(e,n,s):_i(e,n,s,o||null,!0):1===t&&null!==n?_i(e,n,s,o||null,!0):2===t?Ii(e,s,a):3===t&&e.destroyNode(s),null!=r&&function(t,e,n,i,o){var r=n[7];r!==At(n)&&ri(e,t,i,r,o);for(var a=10;a<n.length;a++){var s=n[a];Di(s[1],s,t,e,i,r)}}(e,t,r,n,o)}}function ai(t,e){return kt(t)?t.createText(e):t.createTextNode(e)}function si(t,e,n){kt(t)?t.setValue(e,n):e.textContent=n}function ci(t,e){return t.createComment(function(t){return t.replace(Wn,function(t){return t.replace(Qn,"\u200b$1\u200b")})}(e))}function li(t,e,n){return kt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function ui(t,e){var n=t[9],i=n.indexOf(e),o=e[3];1024&e[2]&&(e[2]&=-1025,Ut(o,-1)),n.splice(i,1)}function di(t,e){if(!(t.length<=10)){var n=10+e,i=t[n];if(i){var o=i[17];null!==o&&o!==t&&ui(o,i),e>0&&(t[n-1][4]=i[4]);var r=On(t,10+e);!function(t,e){Di(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(i[1],i);var a=r[19];null!==a&&a.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function hi(t,e){if(!(256&e[2])){var n=e[11];kt(n)&&n.destroyNode&&Di(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return pi(t[1],t);for(;e;){var n=null;if(ct(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)ct(e)&&pi(e[1],e),e=e[3];null===e&&(e=t),ct(e)&&pi(e[1],e),n=e&&e[4]}e=n}}(e)}}function pi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i<n.length;i+=2){var o=e[n[i]];if(!(o instanceof Se)){var r=n[i+1];if(Array.isArray(r))for(var a=0;a<r.length;a+=2){var s=o[r[a]],c=r[a+1];try{c.call(s)}finally{}}else try{r.call(o)}finally{}}}}(t,e),function(t,e){var n=t.cleanup,i=e[7],o=-1;if(null!==n)for(var r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){var a=n[r+1],s="function"==typeof a?a(e):At(e[a]),c=i[o=n[r+2]],l=n[r+3];"boolean"==typeof l?s.removeEventListener(n[r],c,l):l>=0?i[o=l]():i[o=-l].unsubscribe(),r+=2}else{var u=i[o=n[r+1]];n[r].call(u)}if(null!==i){for(var d=o+1;d<i.length;d++)i[d]();e[7]=null}}(t,e),1===e[1].type&&kt(e[11])&&e[11].destroy();var n=e[17];if(null!==n&&lt(e[3])){n!==e[3]&&ui(n,e);var i=e[19];null!==i&&i.detachView(t)}}}function fi(t,e,n){return gi(t,e.parent,n)}function gi(t,e,n){for(var i=e;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){var o=t.data[i.directiveStart].encapsulation;if(o===L.None||o===L.Emulated)return null}return It(i,n)}function _i(t,e,n,i,o){kt(t)?t.insertBefore(e,n,i,o):e.insertBefore(n,i,o)}function mi(t,e,n){kt(t)?t.appendChild(e,n):e.appendChild(n)}function vi(t,e,n,i,o){null!==i?_i(t,e,n,i,o):mi(t,e,n)}function yi(t,e){return kt(t)?t.parentNode(e):e.parentNode}function Ci(t,e,n){return Mi(t,e,n)}function bi(t,e,n){return 40&t.type?It(t,n):null}var Oi,Pi,wi,Mi=bi;function xi(t,e){Mi=t,Oi=e}function ki(t,e,n,i){var o=fi(t,i,e),r=e[11],a=Ci(i.parent||e[6],i,e);if(null!=o)if(Array.isArray(n))for(var s=0;s<n.length;s++)vi(r,o,n[s],a,!1);else vi(r,o,n,a,!1);void 0!==Oi&&Oi(r,i,e,n,o)}function Si(t,e){if(null!==e){var n=e.type;if(3&n)return It(e,t);if(4&n)return Ti(-1,t[e.index]);if(8&n){var i=e.child;if(null!==i)return Si(t,i);var o=t[e.index];return lt(o)?Ti(-1,o):At(o)}if(32&n)return ti(e,t)()||At(t[e.index]);var r=Ai(t,e);return null!==r?Array.isArray(r)?r[0]:Si(ei(t[16]),r):Si(t,e.next)}return null}function Ai(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Ti(t,e){var n=10+t+1;if(n<e.length){var i=e[n],o=i[1].firstChild;if(null!==o)return Si(i,o)}return e[7]}function Ii(t,e,n){var i=yi(t,e);i&&function(t,e,n,i){kt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}function Ei(t,e,n,i,o,r,a){for(;null!=n;){var s=i[n.index],c=n.type;if(a&&0===e&&(s&&Xn(At(s),i),n.flags|=4),64!=(64&n.flags))if(8&c)Ei(t,e,n.child,i,o,r,!1),ri(e,t,o,s,r);else if(32&c){for(var l=ti(n,i),u=void 0;u=l();)ri(e,t,o,u,r);ri(e,t,o,s,r)}else 16&c?Ri(t,e,i,n,o,r):ri(e,t,o,s,r);n=a?n.projectionNext:n.next}}function Di(t,e,n,i,o,r){Ei(n,i,t.firstChild,e,o,r,!1)}function Ri(t,e,n,i,o,r){var a=n[16],s=a[6].projection[i.projection];if(Array.isArray(s))for(var c=0;c<s.length;c++)ri(e,t,o,s[c],r);else Ei(t,e,s,a[3],o,r,!0)}function Fi(t,e,n){kt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Li(t,e,n){kt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Zi(t){var e;return(null===(e=function(){if(void 0===Pi&&(Pi=null,V.trustedTypes))try{Pi=V.trustedTypes.createPolicy("angular",{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}})}catch(t){}return Pi}())||void 0===e?void 0:e.createHTML(t))||t}function Ni(t){var e;return(null===(e=function(){if(void 0===wi&&(wi=null,V.trustedTypes))try{wi=V.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}})}catch(t){}return wi}())||void 0===e?void 0:e.createHTML(t))||t}var Ui=function(){function t(e){_classCallCheck(this,t),this.changingThisBreaksApplicationSecurity=e}return _createClass(t,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity," (see https://g.co/ng/security#xss)")}}]),t}(),Vi=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"getTypeName",value:function(){return"HTML"}}]),e}(Ui),ji=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"getTypeName",value:function(){return"Style"}}
1]),e}(Ui),zi=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"getTypeName",value:function(){return"Script"}}]),e}(Ui),qi=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"getTypeName",value:function(){return"URL"}}]),e}(Ui),Bi=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),e}(Ui);function Yi(t){return t instanceof Ui?t.changingThisBreaksApplicationSecurity:t}function Gi(t,e){var n=Hi(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===e}function Hi(t){return t instanceof Ui&&t.getTypeName()||null}function Ji(t){return new Vi(t)}function Wi(t){return new ji(t)}function Qi(t){return new zi(t)}function Ki(t){return new qi(t)}function Xi(t){return new Bi(t)}function $i(t){var e=new eo(t);return function(){try{return!!(new window.DOMParser).parseFromString(Zi(""),"text/html")}catch(t){return!1}}()?new to(e):e}var to=function(){function t(e){_classCallCheck(this,t),this.inertDocumentHelper=e}return _createClass(t,[{key:"getInertBodyElement",value:function(t){t="<body><remove></remove>"+t;try{var e=(new window.DOMParser).parseFromString(Zi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}]),t}(),eo=function(){function t(e){if(_classCallCheck(this,t),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return _createClass(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Zi(t),e;var n=this.inertDocument.createElement("body");return n.innerHTML=Zi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var i=e.item(n).name;("xmlns:ns1"===i||0===i.indexOf("ns1:"))&&t.removeAttribute(i)}for(var o=t.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling}}]),t}(),no=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,io=/^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 oo(t){return(t=String(t)).match(no)||t.match(io)?t:"unsafe:"+t}function ro(t){return(t=String(t)).split(",").map(function(t){return oo(t.trim())}).join(", ")}function ao(t){var e,n={},i=_createForOfIteratorHelper(t.split(","));try{for(i.s();!(e=i.n()).done;){n[e.value]=!0}}catch(o){i.e(o)}finally{i.f()}return n}function so(){for(var t={},e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var o=0,r=n;o<r.length;o++){var a=r[o];for(var s in a)a.hasOwnProperty(s)&&(t[s]=!0)}return t}var co,lo=ao("area,br,col,hr,img,wbr"),uo=ao("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ho=ao("rp,rt"),po=so(lo,so(uo,ao("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")),so(ho,ao("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")),so(ho,uo)),fo=ao("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),go=ao("srcset"),_o=so(fo,go,ao("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"),ao("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")),mo=ao("script,style,template"),vo=function(){function t(){_classCallCheck(this,t),this.sanitizedSomething=!1,this.buf=[]}return _createClass(t,[{key:"sanitizeChildren",value:function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(t){var e=t.nodeName.toLowerCase();if(!po.hasOwnProperty(e))return this.sanitizedSomething=!0,!mo.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var n=t.attributes,i=0;i<n.length;i++){var o=n.item(i),r=o.name,a=r.toLowerCase();if(_o.hasOwnProperty(a)){var s=o.value;fo[a]&&(s=oo(s)),go[a]&&(s=ro(s)),this.buf.push(" ",r,'="',bo(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();po.hasOwnProperty(e)&&!lo.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}},{key:"chars",value:function(t){this.buf.push(bo(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return e}}]),t}(),yo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Co=/([^\#-~ |!])/g;function bo(t){return t.replace(/&/g,"&amp;").replace(yo,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Co,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Oo(t,e){var n=null;try{co=co||$i(t);var i=e?String(e):"";n=co.getInertBodyElement(i);var o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=n.innerHTML,n=co.getInertBodyElement(i)}while(i!==r);return Zi((new vo).sanitizeChildren(Po(n)||n))}finally{if(n)for(var a=Po(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function Po(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var wo=((wo=wo||{})[wo.NONE=0]="NONE",wo[wo.HTML=1]="HTML",wo[wo.STYLE=2]="STYLE",wo[wo.SCRIPT=3]="SCRIPT",wo[wo.URL=4]="URL",wo[wo.RESOURCE_URL=5]="RESOURCE_URL",wo);function Mo(t){var e=ko();return e?Ni(e.sanitize(wo.HTML,t)||""):Gi(t,"HTML")?Ni(Yi(t)):Oo(xt(),m(t))}function xo(t){var e=ko();return e?e.sanitize(wo.URL,t)||"":Gi(t,"URL")?Yi(t):oo(m(t))}function ko(){var t=zt();return t&&t[12]}function So(t){return t.ngOriginalError}function Ao(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];t.error.apply(t,n)}var To=function(){function t(){_classCallCheck(this,t),this._console=console}return _createClass(t,[{key:"handleError",value:function(t){var e,n=this._findOriginalError(t),i=this._findContext(t),o=(e=t)&&e.ngErrorLogger||Ao;o(this._console,"ERROR",t),n&&o(this._console,"ORIGINAL ERROR",n),i&&o(this._console,"ERROR CONTEXT",i)}},{key:"_findContext",value:function(t){return t?t.ngDebugContext||this._findContext(So(t)):null}},{key:"_findOriginalError",value:function(t){for(var e=t&&So(t);e&&So(e);)e=So(e);return e||null}}]),t}(),Io=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V);function Eo(t){return t.ownerDocument.defaultView}function Do(t){return t instanceof Function?t():t}function Ro(t,e,n){for(var i=t.length;;){var o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){var r=e.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}n=o+1}}var Fo="ng-template";function Lo(t,e,n){for(var i=0;i<t.length;){var o=t[i++];if(n&&"class"===o){if(-1!==Ro((o=t[i]).toLowerCase(),e,0))return!0}else if(1===o){for(;i<t.length&&"string"==typeof(o=t[i++]);
vendor: 7,721 bytes, line 1
1)if(o.toLowerCase()===e)return!0;return!1}}return!1}function Zo(t){return 4===t.type&&t.value!==Fo}function No(t,e,n){return e===(4!==t.type||n?t.value:Fo)}function Uo(t,e,n){for(var i=4,o=t.attrs||[],r=function(t){for(var e=0;e<t.length;e++)if(Te(t[e]))return e;return t.length}(o),a=!1,s=0;s<e.length;s++){var c=e[s];if("number"!=typeof c){if(!a)if(4&i){if(i=2|1&i,""!==c&&!No(t,c,n)||""===c&&1===e.length){if(Vo(i))return!1;a=!0}}else{var l=8&i?c:e[++s];if(8&i&&null!==t.attrs){if(!Lo(t.attrs,l,n)){if(Vo(i))return!1;a=!0}continue}var u=jo(8&i?"class":c,o,Zo(t),n);if(-1===u){if(Vo(i))return!1;a=!0;continue}if(""!==l){var d;d=u>r?"":o[u+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==Ro(h,l,0)||2&i&&l!==d){if(Vo(i))return!1;a=!0}}}}else{if(!a&&!Vo(i)&&!Vo(c))return!1;if(a&&Vo(c))continue;a=!1,i=c|1&i}}return Vo(i)||a}function Vo(t){return 0==(1&t)}function jo(t,e,n,i){if(null===e)return-1;var o=0;if(i||!n){for(var r=!1;o<e.length;){var a=e[o];if(a===t)return o;if(3===a||6===a)r=!0;else{if(1===a||2===a){for(var s=e[++o];"string"==typeof s;)s=e[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=r?1:2}return-1}return function(t,e){var n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){var i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function zo(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<e.length;i++)if(Uo(t,e[i],n))return!0;return!1}function qo(t,e){t:for(var n=0;n<e.length;n++){var i=e[n];if(t.length===i.length){for(var o=0;o<t.length;o++)if(t[o]!==i[o])continue t;return!0}}return!1}function Bo(t,e){return t?":not("+e.trim()+")":e}function Yo(t){for(var e=t[0],n=1,i=2,o="",r=!1;n<t.length;){var a=t[n];if("string"==typeof a)if(2&i){var s=t[++n];o+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?o+="."+a:4&i&&(o+=" "+a);else""!==o&&!Vo(a)&&(e+=Bo(r,o),o=""),i=a,r=r||!Vo(i);n++}return""!==o&&(e+=Bo(r,o)),e}var Go={};function Ho(t){Jo(qt(),zt(),me()+t,Kt())}function Jo(t,e,n,i){if(!i)if(3==(3&e[2])){var o=t.preOrderCheckHooks;null!==o&&Pe(e,o,n)}else{var r=t.preOrderHooks;null!==r&&we(e,r,0,n)}ve(n)}function Wo(t,e){return t<<17|e<<2}function Qo(t){return t>>17&32767}function Ko(t){return 2|t}function Xo(t){return(131068&t)>>2}function $o(t,e){return-131069&t|e<<2}function tr(t){return 1|t}function er(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var o=n[i],r=n[i+1];if(-1!==r){var a=t.data[r];ce(o),a.contentQueries(2,e[r],r)}}}function nr(t,e,n,i,o,r,a,s,c,l){var u=e.blueprint.slice();return u[0]=o,u[2]=140|i,Nt(u),u[3]=u[15]=t,u[8]=n,u[10]=a||t&&t[10],u[11]=s||t&&t[11],u[12]=c||t&&t[12]||null,u[9]=l||t&&t[9]||null,u[6]=r,u[16]=2==e.type?t[16]:u,u}function ir(t,e,n,i,o){var r=t.data[e];if(null===r)r=or(t,e,n,i,o),Vt.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=o;var a=Ht();r.injectorIndex=null===a?-1:a.injectorIndex}return Jt(r,!0),r}function or(t,e,n,i,o){var r=Gt(),a=Wt(),s=t.data[e]=function(t,e,n,i,o,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?r:r&&r.parent,n,e,i,o);return null===t.firstChild&&(t.firstChild=s),null!==r&&(a?null==r.child&&null!==s.parent&&(r.child=s):null===r.next&&(r.next=s)),s}function rr(t,e,n,i){if(0===n)return-1;for(var o=e.length,r=0;r<n;r++)e.push(i),t.blueprint.push(i),t.data.push(null);return o}function ar(t,e,n){de(e);try{var i=t.viewQuery;null!==i&&Zr(1,i,n);var o=t.template;null!==o&&lr(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&er(t,e),t.staticViewQueries&&Zr(2,t.viewQuery,n);var r=t.components;null!==r&&function(t,e){for(var n=0;n<e.length;n++)Er(t,e[n])}(e,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{e[2]&=-5,_e()}}function sr(t,e,n,i){var o=e[2];if(256!=(256&o)){de(e);var r=Kt();try{Nt(e),function(t){Vt.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&lr(t,e,n,2,i);var a=3==(3&o);if(!r)if(a){var s=t.preOrderCheckHooks;null!==s&&Pe(e,s,null)}else{var c=t.preOrderHooks;null!==c&&we(e,c,0,null),Me(e,0)}if(function(t){for(var e=ni(t);null!==e;e=ii(e))if(e[2])for(var n=e[9],i=0;i<n.length;i++){var o=n[i],r=o[3];0==(1024&o[2])&&Ut(r,1),o[2]|=1024}}(e),function(t){for(var e=ni(t);null!==e;e=ii(e))for(var n=10;n<e.length;n++){var i=e[n],o=i[1];Lt(i)&&sr(o,i,o.template,i[8])}}(e),null!==t.contentQueries&&er(t,e),!r)if(a){var l=t.contentCheckHooks;null!==l&&Pe(e,l)}else{var u=t.contentHooks;null!==u&&we(e,u,1),Me(e,1)}!function(t,e){var n=t.hostBindingOpCodes;if(null!==n)try{for(var i=0;i<n.length;i++){var o=n[i];if(o<0)ve(~o);else{var r=o,a=n[++i],s=n[++i];oe(a,r),s(2,e[r])}}}finally{ve(-1)}}(t,e);var d=t.components;null!==d&&function(t,e){for(var n=0;n<e.length;n++)Tr(t,e[n])}(e,d);var h=t.viewQuery;if(null!==h&&Zr(2,h,i),!r)if(a){var p=t.viewCheckHooks;null!==p&&Pe(e,p)}else{var f=t.viewHooks;null!==f&&we(e,f,2),Me(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ut(e[3],-1))}finally{_e()}}}function cr(t,e,n,i){var o=e[10],r=!Kt(),a=Ft(e);try{r&&!a&&o.begin&&o.begin(),a&&ar(t,e,i),sr(t,e,n,i)}finally{r&&!a&&o.end&&o.end()}}function lr(t,e,n,i,o){var r=me(),a=2&i;try{ve(-1),a&&e.length>20&&Jo(t,e,20,Kt()),n(i,o)}finally{ve(r)}}function ur(t,e,n){if(ut(e))for(var i=e.directiveEnd,o=e.directiveStart;o<i;o++){var r=t.data[o];r.contentQueries&&r.contentQueries(1,n[o],o)}}function dr(t,e,n){!jt()||(function(t,e,n,i){var o=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Ve(n,e),Xn(i,e);for(var a=n.initialInputs,s=o;s<r;s++){var c=t.data[s],l=pt(c);l&&Mr(e,n,c);var u=Xe(e,t,s,n);Xn(u,e),null!==a&&kr(0,s-o,u,c,0,a),l&&(Rt(n.index,e)[8]=u)}}(t,e,n,It(n,e)),128==(128&n.flags)&&function(t,e,n){var i=n.directiveStart,o=n.directiveEnd,r=n.index,a=Vt.lFrame.currentDirectiveIndex;try{ve(r);for(var s=i;s<o;s++){var c=t.data[s],l=e[s];re(s),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&Cr(c,l)}}finally{ve(-1),re(a)}}(t,e,n))}function hr(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:It,i=e.localNames;if(null!==i)for(var o=e.index+1,r=0;r<i.length;r+=2){var a=i[r+1],s=-1===a?n(e,t):t[a];t[o++]=s}}function pr(t){var e=t.tView;return null===e||e.incompleteFirstPass?t.tView=fr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function fr(t,e,n,i,o,r,a,s,c,l){var u=20+i,d=u+o,h=function(t,e){for(var n=[],i=0;i<e;i++)n.push(i<t?null:Go);return n}(u,d),p="function"==typeof l?l():l;return h[1]={type:t,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:e,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes: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 r?r():r,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1}}function gr(t,e,n,i){var o=Ur(e);null===n?o.push(i):(o.push(n),t.firstCreatePass&&Vr(t).push(i,o.length-1))}function _r(t,e,n){for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,o):n[i]=[e,o]}return n}
vendor: 4,899 bytes, line 1
1function mr(t,e,n,i,o,r,a,s){var c,l=It(e,n),u=e.inputs;!s&&null!=u&&(c=u[i])?(qr(t,n,c,i,o),dt(e)&&function(t,e){var n=Rt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=a?a(o,e.value||"",i):o,kt(r)?r.setProperty(l,i,o):Ie(i)||(l.setProperty?l.setProperty(i,o):l[i]=o))}function vr(t,e,n,i){var o=!1;if(jt()){var r=function(t,e,n){var i=t.directiveRegistry,o=null;if(i)for(var r=0;r<i.length;r++){var a=i[r];zo(n,a.selectors,!1)&&(o||(o=[]),Be(Ve(n,e),t,a.type),pt(a)?(br(t,n),o.unshift(a)):o.push(a))}return o}(t,e,n),a=null===i?null:{"":-1};if(null!==r){o=!0,Pr(n,t.data.length,r.length);for(var s=0;s<r.length;s++){var c=r[s];c.providersResolver&&c.providersResolver(c)}for(var l=!1,u=!1,d=rr(t,e,r.length,null),h=0;h<r.length;h++){var p=r[h];n.mergedAttrs=Ee(n.mergedAttrs,p.hostAttrs),wr(t,n,e,d,p),Or(d,p,a),null!==p.contentQueries&&(n.flags|=8),(null!==p.hostBindings||null!==p.hostAttrs||0!==p.hostVars)&&(n.flags|=128);var f=p.type.prototype;!l&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),l=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),u=!0),d++}!function(t,e){for(var n=e.directiveEnd,i=t.data,o=e.attrs,r=[],a=null,s=null,c=e.directiveStart;c<n;c++){var l=i[c],u=l.inputs,d=null===o||Zo(e)?null:Sr(u,o);r.push(d),a=_r(u,c,a),s=_r(l.outputs,c,s)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=a,e.outputs=s}(t,n)}a&&function(t,e,n){if(e)for(var i=t.localNames=[],o=0;o<e.length;o+=2){var r=n[e[o+1]];if(null==r)throw new _("301","Export of name '".concat(e[o+1],"' not found!"));i.push(e[o],r)}}(n,i,a)}return n.mergedAttrs=Ee(n.mergedAttrs,n.attrs),o}function yr(t,e,n,i,o,r){var a=r.hostBindings;if(a){var s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);var c=~e.index;(function(t){for(var e=t.length;e>0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(i,o,a)}}function Cr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function br(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Or(t,e,n){if(n){if(e.exportAs)for(var i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;pt(e)&&(n[""]=t)}}function Pr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function wr(t,e,n,i,o){t.data[i]=o;var r=o.factory||(o.factory=gt(o.type)),a=new Se(r,pt(o),null);t.blueprint[i]=a,n[i]=a,yr(t,e,0,i,rr(t,n,o.hostVars,Go),o)}function Mr(t,e,n){var i=It(e,t),o=pr(n),r=t[10],a=Dr(t,nr(t,o,null,n.onPush?64:16,i,e,r,r.createRenderer(i,n),null,null));t[e.index]=a}function xr(t,e,n,i,o,r,a){if(null==r)kt(t)?t.removeAttribute(e,o,n):e.removeAttribute(o);else{var s=null==a?m(r):a(r,i||"",o);kt(t)?t.setAttribute(e,o,s,n):n?e.setAttributeNS(n,o,s):e.setAttribute(o,s)}}function kr(t,e,n,i,o,r){var a=r[e];if(null!==a)for(var s=i.setInput,c=0;c<a.length;){var l=a[c++],u=a[c++],d=a[c++];null!==s?i.setInput(n,d,l,u):n[u]=d}}function Sr(t,e){for(var n=null,i=0;i<e.length;){var o=e[i];if(0!==o)if(5!==o){if("number"==typeof o)break;t.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,t[o],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Ar(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Tr(t,e){var n=Rt(e,t);if(Lt(n)){var i=n[1];80&n[2]?sr(i,n,i.template,n[8]):n[5]>0&&Ir(n)}}function Ir(t){for(var e=ni(t);null!==e;e=ii(e))for(var n=10;n<e.length;n++){var i=e[n];if(1024&i[2]){var o=i[1];sr(o,i,o.template,i[8])}else i[5]>0&&Ir(i)}var r=t[1].components;if(null!==r)for(var a=0;a<r.length;a++){var s=Rt(r[a],t);Lt(s)&&s[5]>0&&Ir(s)}}function Er(t,e){var n=Rt(e,t),i=n[1];(function(t,e){for(var n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(i,n),ar(i,n,n[8])}function Dr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Rr(t){for(;t;){t[2]|=64;var e=ei(t);if(ft(t)&&!e)return t;t=e}return null}function Fr(t,e,n){var i=e[10];i.begin&&i.begin();try{sr(t,e,t.template,n)}catch(o){throw zr(e,o),o}finally{i.end&&i.end()}}function Lr(t){!function(t){for(var e=0;e<t.components.length;e++){var n=t.components[e],i=$n(n),o=i[1];cr(o,i,o.template,n)}}(t[8])}function Zr(t,e,n){ce(0),e(t,n)}var Nr=Promise.resolve(null);function Ur(t){return t[7]||(t[7]=[])}function Vr(t){return t.cleanup||(t.cleanup=[])}function jr(t,e,n){return(null===t||pt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function zr(t,e){var n=t[9],i=n?n.get(To,null):null;i&&i.handleError(e)}function qr(t,e,n,i,o){for(var r=0;r<n.length;){var a=n[r++],s=n[r++],c=e[a],l=t.data[a];null!==l.setInput?l.setInput(c,o,i,s):c[s]=o}}function Br(t,e,n){var i=Tt(e,t);
1si(t[11],i,n)}function Yr(t,e,n){var i=n?t.styles:null,o=n?t.classes:null,r=0;if(null!==e)for(var a=0;a<e.length;a++){var s=e[a];"number"==typeof s?r=s:1==r?o=d(o,s):2==r&&(i=d(i,s+": "+e[++a]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=o:t.classesWithoutHost=o}var Gr,Hr=new hn("INJECTOR",-1),Jr=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sn;if(e===Sn){var n=new Error("NullInjectorError: No provider for ".concat(u(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),Wr=new hn("Set Injector scope."),Qr={},Kr={};function Xr(){return void 0===Gr&&(Gr=new Jr),Gr}function $r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new ta(t,n,e||Xr(),i)}var ta=function(){function t(e,n,i){var o=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&Cn(n,function(t){return o.processProvider(t,e,n)}),Cn([e],function(t){return o.processInjectorType(t,[],a)}),this.records.set(Hr,ia(void 0,this));var s=this.records.get(Wr);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof e?null:u(e))}return _createClass(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.Default;this.assertNotDestroyed();var i,o=Rn(this),r=E(void 0);try{if(!(n&I.SkipSelf)){var a=this.records.get(t);if(void 0===a){var s=("function"==typeof(i=t)||"object"==typeof i&&i instanceof hn)&&P(t);a=s&&this.injectableDefInScope(s)?ia(ea(t),Qr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(n&I.Self?Xr():this.parent).get(t,e=n&I.Optional&&e===Sn?null:e)}catch(c){if("NullInjectorError"===c.name){if((c[Tn]=c[Tn]||[]).unshift(u(t)),o)throw c;return jn(c,t,"R3InjectorError",this.source)}throw c}finally{E(r),Rn(o)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(u(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=f(t)))return!1;var o=M(t),r=null==o&&t.ngModule||void 0,a=void 0===r?t:r,s=-1!==n.indexOf(a);if(void 0!==r&&(o=M(r)),null==o)return!1;if(null!=o.imports&&!s){var c;n.push(a);try{Cn(o.imports,function(t){i.processInjectorType(t,e,n)&&(void 0===c&&(c=[]),c.push(t))})}finally{}if(void 0!==c)for(var l=function(){var t=c[u],e=t.ngModule,n=t.providers;Cn(n,function(t){return i.processProvider(t,e,n||z)})},u=0;u<c.length;u++)l()}this.injectorDefTypes.add(a);var d=gt(a)||function(){return new a};this.records.set(a,ia(d,Qr));var h=o.providers;if(null!=h&&!s){var p=t;Cn(h,function(t){return i.processProvider(t,p,h)})}return void 0!==r&&void 0!==t.providers}},{key:"processProvider",value:function(t,e,n){var i,o=ra(t=f(t))?t:f(t&&t.provide),r=oa(i=t)?
vendor: 7,203 bytes, line 1
1ia(void 0,i.useValue):ia(na(i),Qr);if(ra(t)||!0!==t.multi)this.records.get(o);else{var a=this.records.get(o);a||((a=ia(void 0,Qr,!0)).factory=function(){return Nn(a.multi)},this.records.set(o,a)),o=t,a.multi.push(t)}this.records.set(o,r)}},{key:"hydrate",value:function(t,e){return e.value===Qr&&(e.value=Kr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value;var n}},{key:"injectableDefInScope",value:function(t){if(!t.providedIn)return!1;var e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}]),t}();function ea(t){var e=P(t),n=null!==e?e.factory:gt(t);if(null!==n)return n;if(t instanceof hn)throw new Error("Token ".concat(u(t)," is missing a \u0275prov definition."));if(t instanceof Function)return function(t){var e=t.length;if(e>0){var n=Pn(e,"?");throw new Error("Can't resolve all parameters for ".concat(u(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[k]||t[A]);if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function na(t,e,n){var i;if(ra(t)){var o=f(t);return gt(o)||ea(o)}if(oa(t))i=function(){return f(t.useValue)};else if(function(t){return!(!t||!t.useFactory)}(t))i=function(){return t.useFactory.apply(t,_toConsumableArray(Nn(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))i=function(){return Ln(f(t.useExisting))};else{var r=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gt(r)||ea(r);i=function(){return _construct(r,_toConsumableArray(Nn(t.deps)))}}return i}function ia(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function oa(t){return null!==t&&"object"==typeof t&&Dn in t}function ra(t){return"function"==typeof t}var aa,sa=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,o=$r(t,e,n,i);return o._resolveInjectorDefTypes(),o}({name:n},e,t,n)},ca=((aa=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?sa(t,e,""):sa(t.providers,t.parent,t.name||"")}}]),t}()).THROW_IF_NOT_FOUND=Sn,aa.NULL=new Jr,aa.\u0275prov=b({token:aa,providedIn:"any",factory:function(){return Ln(Hr)}}),aa.__NG_ELEMENT_ID__=-1,aa);function la(t,e){Oe($n(t)[1],Yt())}function ua(t){for(var e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0,i=[t];e;){var o=void 0;if(pt(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");o=e.\u0275dir}if(o){if(n){i.push(o);var r=t;r.inputs=da(t.inputs),r.declaredInputs=da(t.declaredInputs),r.outputs=da(t.outputs);var a=o.hostBindings;a&&fa(t,a);var s=o.viewQuery,c=o.contentQueries;if(s&&ha(t,s),c&&pa(t,c),l(t.inputs,o.inputs),l(t.declaredInputs,o.declaredInputs),l(t.outputs,o.outputs),pt(o)&&o.data.animation){var u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}var d=o.features;if(d)for(var h=0;h<d.length;h++){var p=d[h];p&&p.ngInherit&&p(t),p===ua&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){for(var e=0,n=null,i=t.length-1;i>=0;i--){var o=t[i];o.hostVars=e+=o.hostVars,o.hostAttrs=Ee(o.hostAttrs,n=Ee(n,o.hostAttrs))}}(i)}function da(t){return t===j?{}:t===z?[]:t}function ha(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function pa(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,o){e(t,i,o),n(t,i,o)}:e}function fa(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}var ga=null;function _a(){if(!ga){var t=V.Symbol;if(t&&t.iterator)ga=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var i=e[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(ga=i)}}return ga}var ma=function(){function t(e){_classCallCheck(this,t),this.wrapped=e}return _createClass(t,null,[{key:"wrap",value:function(e){return new t(e)}},{key:"unwrap",value:function(e){return t.isWrapped(e)?e.wrapped:e}},{key:"isWrapped",value:function(e){return e instanceof t}}]),t}();function va(t){return!!ya(t)&&(Array.isArray(t)||!(t instanceof Map)&&_a()in t)}function ya(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ca(t,e,n){return t[e]=n}function ba(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Oa(t,e,n,i){var o=ba(t,e,n);return ba(t,e+1,i)||o}function Pa(t,e,n,i){var o=zt();return ba(o,ee(),e)&&(qt(),function(t,e,n,i,o,r){var a=It(t,e);xr(e[11],a,r,t.value,n,i,o)}(ye(),o,t,e,n,i)),Pa}function wa(t,e,n,i){return ba(t,ee(),n)?e+m(n)+i:Go}function Ma(t,e,n,i,o,r,a,s){var c=zt(),l=qt(),u=t+20,d=l.firstCreatePass?function(t,e,n,i,o,r,a,s,c){var l=e.consts,u=ir(e,t,4,a||null,Zt(l,s));vr(e,n,u,Zt(l,c)),Oe(e,u);var d=u.tViews=fr(2,u,i,o,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l);return null!==e.queries&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}(u,l,c,e,n,i,o,r,a):l.data[u];Jt(d,!1);var h=c[11].createComment("");ki(l,c,h,d),Xn(h,c),Dr(c,c[u]=Ar(h,c,h,d)),ht(d)&&dr(l,c,d),null!=a&&hr(c,d,s)}function xa(t){return Dt(Vt.lFrame.contextLView,20+t)}function ka(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.Default,n=zt();return null===n?Ln(t,e):He(Yt(),n,f(t),e)}function Sa(t,e,n){var i=zt();return ba(i,ee(),e)&&mr(qt(),ye(),i,t,e,i[11],n,!1),Sa}function Aa(t,e,n,i,o){var r=o?"class":"style";qr(t,n,e.inputs[r],r,i)}function Ta(t,e,n,i){var o=zt(),r=qt(),a=20+t,s=o[11],c=o[a]=li(s,e,Vt.lFrame.currentNamespace),l=r.firstCreatePass?function(t,e,n,i,o,r,a){var s=e.consts,c=ir(e,t,2,o,Zt(s,r));return vr(e,n,c,Zt(s,a)),null!==c.attrs&&Yr(c,c.attrs,!1),null!==c.mergedAttrs&&Yr(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(a,r,o,0,e,n,i):r.data[a];Jt(l,!0);var u=l.mergedAttrs;null!==u&&Ae(s,c,u);var d=l.classes;null!==d&&Li(s,c,d);var h=l.styles;null!==h&&Fi(s,c,h),64!=(64&l.flags)&&ki(r,o,c,l),0===Vt.lFrame.elementDepthCount&&Xn(c,o),Vt.lFrame.elementDepthCount++,ht(l)&&(dr(r,o,l),ur(r,l,o)),null!==i&&hr(o,l)}function Ia(){var t=Yt();Wt()?Qt():Jt(t=t.parent,!1);var e=t;Vt.lFrame.elementDepthCount--;var n=qt();n.firstCreatePass&&(Oe(n,t),ut(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Aa(n,e,zt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Aa(n,e,zt(),e.stylesWithoutHost,!1)}function Ea(t,e,n,i){Ta(t,e,n,i),Ia()}function Da(t,e,n){var i=zt(),o=qt(),r=t+20,a=o.firstCreatePass?function(t,e,n,i,o){var r=e.consts,a=Zt(r,i),s=ir
vendor: 8,466 bytes, line 1
1(e,t,8,"ng-container",a);return null!==a&&Yr(s,a,!0),vr(e,n,s,Zt(r,o)),null!==e.queries&&e.queries.elementStart(e,s),s}(r,o,i,e,n):o.data[r];Jt(a,!0);var s=i[r]=i[11].createComment("");ki(o,i,s,a),Xn(s,i),ht(a)&&(dr(o,i,a),ur(o,a,i)),null!=n&&hr(i,a)}function Ra(){var t=Yt(),e=qt();Wt()?Qt():Jt(t=t.parent,!1),e.firstCreatePass&&(Oe(e,t),ut(t)&&e.queries.elementEnd(t))}function Fa(t,e,n){Da(t,e,n),Ra()}function La(){return zt()}function Za(t){return!!t&&"function"==typeof t.then}function Na(t){return!!t&&"function"==typeof t.subscribe}var Ua=Na;function Va(t,e,n,i){var o=zt(),r=qt(),a=Yt();return za(r,o,o[11],a,t,e,!!n,i),Va}function ja(t,e){var n=Yt(),i=zt(),o=qt();return za(o,i,jr(ae(o.data),n,i),n,t,e,!1),ja}function za(t,e,n,i,o,r,a,s){var c=ht(i),l=t.firstCreatePass&&Vr(t),u=e[8],d=Ur(e),h=!0;if(3&i.type||s){var p=It(i,e),f=s?s(p):p,g=d.length,_=s?function(t){return s(At(t[i.index]))}:i.index;if(kt(n)){var m=null;if(!s&&c&&(m=function(t,e,n,i){var o=t.cleanup;if(null!=o)for(var r=0;r<o.length-1;r+=2){var a=o[r];if(a===n&&o[r+1]===i){var s=e[7],c=o[r+2];return s.length>c?s[c]:null}"string"==typeof a&&(r+=2)}return null}(t,e,o,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=r,m.__ngLastListenerFn__=r,h=!1;else{r=Ba(i,e,u,r,!1);var v=n.listen(f,o,r);d.push(r,v),l&&l.push(o,_,g,g+1)}}else r=Ba(i,e,u,r,!0),f.addEventListener(o,r,a),d.push(r),l&&l.push(o,_,g,a)}else r=Ba(i,e,u,r,!1);var y,C=i.outputs;if(h&&null!==C&&(y=C[o])){var b=y.length;if(b)for(var O=0;O<b;O+=2){var P=e[y[O]][y[O+1]].subscribe(r),w=d.length;d.push(r,P),l&&l.push(o,i.index,w,-(w+1))}}}function qa(t,e,n,i){try{return!1!==n(i)}catch(o){return zr(t,o),!1}}function Ba(t,e,n,i,o){return function n(r){if(r===Function)return i;var a=2&t.flags?Rt(t.index,e):e;0==(32&e[2])&&Rr(a);for(var s=qa(e,0,i,r),c=n.__ngNextListenerFn__;c;)s=qa(e,0,c,r)&&s,c=c.__ngNextListenerFn__;return o&&!1===s&&(r.preventDefault(),r.returnValue=!1),s}}function Ya(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(Vt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Vt.lFrame.contextLView))[8]}(t)}function Ga(t,e){for(var n=null,i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),o=0;o<e.length;o++){var r=e[o];if("*"!==r){if(null===i?zo(t,r,!0):qo(i,r))return o}else n=o}return n}function Ha(t){var e=zt()[16][6];if(!e.projection)for(var n=e.projection=Pn(t?t.length:1,null),i=n.slice(),o=e.child;null!==o;){var r=t?Ga(o,t):0;null!==r&&(i[r]?i[r].projectionNext=o:n[r]=o,i[r]=o),o=o.next}}function Ja(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=zt(),o=qt(),r=ir(o,20+t,16,null,n||null);null===r.projection&&(r.projection=e),Qt(),64!=(64&r.flags)&&function(t,e,n){Ri(e[11],0,e,n,fi(t,n,e),Ci(n.parent||e[6],n,e))}(o,i,r)}function Wa(t,e,n){return Qa(t,"",e,"",n),Wa}function Qa(t,e,n,i,o){var r=zt(),a=wa(r,e,n,i);return a!==Go&&mr(qt(),ye(),r,t,a,r[11],o,!1),Qa}function Ka(t,e,n,i,o){for(var r=t[n+1],a=null===e,s=i?Qo(r):Xo(r),c=!1;0!==s&&(!1===c||a);){var l=t[s+1];Xa(t[s],e)&&(c=!0,t[s+1]=i?tr(l):Ko(l)),s=i?Qo(l):Xo(l)}c&&(t[n+1]=i?Ko(r):tr(r))}function Xa(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&xn(t,e)>=0}var $a={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ts(t){return t.substring($a.key,$a.keyEnd)}function es(t,e){var n=$a.textEnd;return n===e?-1:(e=$a.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,$a.key=e,n),ns(t,e,n))}function ns(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function is(t,e,n){return ss(t,e,n,!1),is}function os(t,e){return ss(t,e,null,!0),os}function rs(t){cs(wn,as,t,!0)}function as(t,e){for(var n=function(t){return function(t){$a.key=0,$a.keyEnd=0,$a.value=0,$a.valueEnd=0,$a.textEnd=t.length}(t),es(t,ns(t,0,$a.textEnd))}(e);n>=0;n=es(e,n))wn(t,ts(e),!0)}function ss(t,e,n,i){var o=zt(),r=qt(),a=ne(2);r.firstUpdatePass&&us(r,t,a,i),e!==Go&&ba(o,a,e)&&ps(r,r.data[me()],o,o[11],t,o[a+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(Yi(t)))),t}(e,n),i,a)}function cs(t,e,n,i){var o=qt(),r=ne(2);o.firstUpdatePass&&us(o,null,r,i);var a=zt();if(n!==Go&&ba(a,r,n)){var s=o.data[me()];if(_s(s,i)&&!ls(o,r)){var c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=d(c,n||"")),Aa(o,s,a,n,i)}else!function(t,e,n,i,o,r,a,s){o===Go&&(o=z);for(var c=0,l=0,u=0<o.length?o[0]:null,d=0<r.length?r[0]:null;null!==u||null!==d;){var h=c<o.length?o[c+1]:void 0,p=l<r.length?r[l+1]:void 0,f=void 0,g=null;u===d?(c+=2,l+=2,h!==p&&(g=d,f=p)):null===d||null!==u&&u<d?(c+=2,g=u):(l+=2,g=d,f=p),null!==g&&ps(t,e,n,i,g,f,a,s),u=c<o.length?o[c]:null,d=l<r.length?r[l]:null}}(o,s,a,a[11],a[r+1],a[r+1]=function(t,e,n){if(null==n||""===n)return z;var i=[],o=Yi(n);if(Array.isArray(o))for(var r=0;r<o.length;r++)t(i,o[r],!0);else if("object"==typeof o)for(var a in o)o.hasOwnProperty(a)&&t(i,a,o[a]);else"string"==typeof o&&e(i,o);return i}(t,e,n),i,r)}}function ls(t,e){return e>=t.expandoStartIndex}function us(t,e,n,i){var o=t.data;if(null===o[n+1]){var r=o[me()],a=ls(t,n);_s(r,i)&&null===e&&!a&&(e=!1),e=function(t,e,n,i){var o=ae(t),r=i?e.residualClasses:e.residualStyles;if(null===o)0===(i?e.classBindings:e.styleBindings)&&(n=hs(n=ds(null,t,e,n,i),e.attrs,i),r=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==o)if(n=ds(o,t,e,n,i),null===r){var s=function(t,e,n){var i=n?e.classBindings:e.styleBindings;if(0!==Xo(i))return t[Qo(i)]}(t,e,i);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[Qo(n?e.classBindings:e.styleBindings)]=i}(t,e,i,s=hs(s=ds(null,t,e,s[1],i),e.attrs,i))}else r=function(t,e,n){for(var i,o=e.directiveEnd,r=1+e.directiveStylingLast;r<o;r++)i=hs(i,t[r].hostAttrs,n);return hs(i,e.attrs,n)}(t,e,i)}return void 0!==r&&(i?e.residualClasses=r:e.residualStyles=r),n}(o,r,e,i),function(t,e,n,i,o,r){var a=r?e.classBindings:e.styleBindings,s=Qo(a),c=Xo(a);t[i]=n;var l,u=!1;if(Array.isArray(n)){var d=n;(null===(l=d[1])||xn(d,l)>0)&&(u=!0)}else l=n;if(o)if(0!==c){var h=Qo(t[s+1]);t[i+1]=Wo(h,s),0!==h&&(t[h+1]=$o(t[h+1],i)),t[s+1]=function(t,e){return 131071&t|e<<17}(t[s+1],i)}else t[i+1]=Wo(s,0),0!==s&&(t[s+1]=$o(t[s+1],i)),s=i;else t[i+1]=Wo(c,0),0===s?s=i:t[c+1]=$o(t[c+1],i),c=i;u&&(t[i+1]=Ko(t[i+1])),Ka(t,l,i,!0),Ka(t,l,i,!1),function(t,e,n,i,o){var r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&xn(r,e)>=0&&(n[i+1]=tr(n[i+1]))}(e,l,t,i,r),a=Wo(s,c),r?e.classBindings=a:e.styleBindings=a}(o,r,e,n,a,i)}}function ds(t,e,n,i,o){var r=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(i=hs(i,(r=e[s]).hostAttrs,o),r!==t);)s++;return null!==t&&(n.directiveStylingLast=s),i}function hs(t,e,n){var i=n?1:2,o=-1;if(null!==e)for(var r=0;r<e.length;r++){var a=e[r];"number"==typeof a?o=a:o===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),wn(t,a,!!n||e[++r]))}return void 0===t?null:t}function ps(t,e,n,i,o,r,a,s){if(3&e.type){var c=t.data,l=c[s+1];gs(function(t){return 1==(1&t)}(l)?fs(c,e,n,o,Xo(l),a):void 0)||(gs(r)||function(t){return 2==(2&t)}(l)&&(r=fs(c,null,n,o,s,a)),function(t,e,n,i,o){var r=kt(t);if(e)o?r?t.addClass(n,i):n.classList.add(i):r?t.removeClass(n,i):n.classList.remove(i);else{var a=-1===i.indexOf("-")?void 0:Jn.DashCase;if(null==o)r?t.removeStyle(n,i,a):n.style.removeProperty(i);else{var s="string"==typeof o&&o.endsWith("!important");s&&(o=o.slice(0,-10),a|=Jn.Important),r?t.setStyle(n,i,o,a):n.style.setProperty(i,o,s?"important":"")}}}(i,a,Tt(me(),n),o,r))}}function fs(t,e,n,i,o,r){for(var a,s=null===e;o>0;){var c=t[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u,h=n[o+1];h===Go&&(h=d?z:void 0);var p=d?Mn(h,i):u===i?h:void 0;if(l&&!gs(p)&&(p=Mn(c,i)),gs(p)&&(a=p,s))return a;var f=t[o+1];o=s?Qo(f):Xo(f)}if(null!==e){var g=r?e.residualClasses:e.residualStyles;null!=g&&(a=Mn(g,i))}return a}function gs(t){return void 0!==t}function _s(t,e){return 0!=(t.flags&(e?16:32))}function ms(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=zt(),i=qt(),o=t+20,r=i.firstCreatePass?ir(i,o,1,e,null):i.data[o],a=n[o]=ai(n[11],e);ki(i,n,a,r),Jt(r,!1)}function vs(t){return ys("",t,""),vs}function ys(t,e,n){var i=zt(),o=wa(i,t,e,n);return o!==Go&&Br(i,me(),o),ys}function Cs(t,e,n,i,o){var r=zt(),a=function(t,e,n,i,o,r){var a=Oa(t,te(),n,o);return ne(2),a?e+m(n)+i+m(o)+r:Go}(r,t,e,n,i,o);return a!==Go&&Br(r,me(),a),Cs}
1function bs(t,e,n){cs(wn,as,wa(zt(),t,e,n),!0)}function Os(t,e,n,i,o,r,a,s,c){cs(wn,as,function(t,e,n,i,o,r,a,s,c,l){var u=function(t,e,n,i,o,r){var a=Oa(t,e,n,i);return Oa(t,e+2,o,r)||a}(t,te(),n,o,a,c);return ne(4),u?e+m(n)+i+m(o)+r+m(a)+s+m(c)+l:Go}(zt(),t,e,n,i,o,r,a,s,c),!0)}function Ps(t,e,n){var i=zt();return ba(i,ee(),e)&&mr(qt(),ye(),i,t,e,i[11],n,!0),Ps}function ws(t,e,n){var i=zt();if(ba(i,ee(),e)){var o=qt(),r=ye();mr(o,r,i,t,e,jr(ae(o.data),r,i),n,!0)}return ws}var Ms=void 0,xs=["en",[["a","p"],["AM","PM"],Ms],[["AM","PM"],Ms,Ms],[["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"]],Ms,[["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"]],Ms,[["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}",Ms,"{1} 'at' {0}",Ms],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],ks={};function Ss(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=Ts(e);if(n)return n;var i=e.split("-")[0];if(n=Ts(i))return n;if("en"===i)return xs;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function As(t){return Ss(t)[Is.PluralCase]}function Ts(t){return t in ks||(ks[t]=V.ng&&V.ng.common&&V.ng.common.locales&&V.ng.common.locales[t]),ks[t]}var Is=((Is=Is||{})[Is.LocaleId=0]="LocaleId",Is[Is.DayPeriodsFormat=1]="DayPeriodsFormat",Is[Is.DayPeriodsStandalone=2]="DayPeriodsStandalone",Is[Is.DaysFormat=3]="DaysFormat",Is[Is.DaysStandalone=4]="DaysStandalone",Is[Is.MonthsFormat=5]="MonthsFormat",Is[Is.MonthsStandalone=6]="MonthsStandalone",Is[Is.Eras=7]="Eras",Is[Is.FirstDayOfWeek=8]="FirstDayOfWeek",Is[Is.WeekendRange=9]="WeekendRange",Is[Is.DateFormat=10]="DateFormat",Is[Is.TimeFormat=11]="TimeFormat",Is[Is.DateTimeFormat=12]="DateTimeFormat",Is[Is.NumberSymbols=13]="NumberSymbols",Is[Is.NumberFormats=14]="NumberFormats",Is[Is.CurrencyCode=15]="CurrencyCode",Is[Is.CurrencySymbol=16]="CurrencySymbol",Is[Is.CurrencyName=17]="CurrencyName",Is[Is.Currencies=18]="Currencies",Is[Is.Directionality=19]="Directionality",Is[Is.PluralCase=20]="PluralCase",Is[Is.ExtraData=21]="ExtraData",Is),Es=["zero","one","two","few","many"],Ds="en-US",Rs={marker:"element"},Fs={marker:"ICU"},Ls=((Ls=Ls||{})[Ls.SHIFT=2]="SHIFT",Ls[Ls.APPEND_EAGERLY=1]="APPEND_EAGERLY",Ls[Ls.COMMENT=2]="COMMENT",Ls),Zs=Ds;function Ns(t){(function(t,e){null==t&&C("Expected localeId to be defined",t,null,"!=")})(t),"string"==typeof t&&(Zs=t.toLowerCase().replace(/_/g,"-"))}function Us(t,e,n){var i=e.insertBeforeIndex,o=Array.isArray(i)?i[0]:i;return null===o?bi(t,0,n):At(n[o])}function Vs(t,e,n,i,o){var r=e.insertBeforeIndex;if(Array.isArray(r)){var a=i,s=null;if(3&e.type||(s=a,a=o),null!==a&&0==(2&e.flags))for(var c=1;c<r.length;c++)_i(t,a,n[r[c]],s,!1)}}function js(t,e){if(t.push(e),t.length>1)for(var n=t.length-2;n>=0;n--){var i=t[n];zs(i)||qs(i,e)&&null===Bs(i)&&Ys(i,e.index)}}function zs(t){return!(64&t.type)}function qs(t,e){return zs(e)||t.index>e.index}function Bs(t){var e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Ys(t,e){var n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(xi(Us,Vs),t.insertBeforeIndex=e)}function Gs(t,e){var n=t.data[e];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Hs(t,e,n){var i=or(t,n,64,null,null);return js(e,i),i}function Js(t,e){var n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Ws(t){return t>>>17}function Qs(t){return(131070&t)>>>1}var Ks=0,Xs=0;function $s(t,e,n,i){for(var o,r=n[11],a=null,s=0;s<e.length;s++){var c=e[s];if("string"==typeof c){var l=e[++s];null===n[l]&&(n[l]=ai(r,c))}else if("number"==typeof c)switch(1&c){case 0:var u=Ws(c),d=void 0,h=void 0;if(null===a&&(a=u,o=yi(r,i)),u===a?(d=i,h=o):(d=null,h=At(n[u])),null!==h){var p=Qs(c);_i(r,h,n[p],d,!1);var f=Gs(t,p);if(null!==f&&"object"==typeof f){var g=Js(f,n);null!==g&&$s(t,f.create[g],n,n[f.anchorIdx])}}break;case 1:var _=e[++s],m=e[++s];xr(r,Tt(c>>>1,n),null,null,_,m,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(c,'"'))}else switch(c){case Fs:var v=e[++s],y=e[++s];null===n[y]&&Xn(n[y]=ci(r,v),n);break;case Rs:var C=e[++s],b=e[++s];null===n[b]&&Xn(n[b]=li(r,C,null),n)}}}function tc(t,e,n,i,o){for(var r=0;r<n.length;r++){var a=n[r],s=n[++r];if(a&o)for(var c="",l=r+1;l<=r+s;l++){var u=n[l];if("string"==typeof u)c+=u;else if("number"==typeof u)if(u<0)c+=m(e[i-u]);else{var d=u>>>2;switch(3&u){case 1:var h=n[++l],p=n[++l],f=t.data[d];"string"==typeof f?xr(e[11],e[d],null,f,h,c,p):mr(t,f,e,h,c,e[11],p,
1!1);break;case 0:var g=e[d];null!==g&&si(e[11],g,c);break;case 2:nc(t,Gs(t,d),e,c);break;case 3:ec(t,Gs(t,d),i,e)}}}else{var _=n[r+1];if(_>0&&3==(3&_)){var v=Gs(t,_>>>2);e[v.currentCaseLViewIndex]<0&&ec(t,v,i,e)}}r+=s}}function ec(t,e,n,i){var o=i[e.currentCaseLViewIndex];if(null!==o){var r=Ks;o<0&&(o=i[e.currentCaseLViewIndex]=~o,r=-1),tc(t,i,e.update[o],n,r)}}function nc(t,e,n,i){var o=function(t,e){var n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:var i=function(t,e){var n=As(e)(parseInt(t,10)),i=Es[n];return void 0!==i?i:"other"}(e,Zs);-1===(n=t.cases.indexOf(i))&&"other"!==i&&(n=t.cases.indexOf("other"));break;case 0:n=t.cases.indexOf("other")}return-1===n?null:n}(e,i);if(Js(e,n)!==o&&(ic(t,e,n),n[e.currentCaseLViewIndex]=null===o?null:~o,null!==o)){var r=n[e.anchorIdx];r&&$s(t,e.create[o],n,r)}}function ic(t,e,n){var i=Js(e,n);if(null!==i)for(var o=e.remove[i],r=0;r<o.length;r++){var a=o[r];if(a>0){var s=Tt(a,n);null!==s&&Ii(n[11],s)}else ic(t,Gs(t,~a),n)}}function oc(){var t,e,n=[],i=-1;function o(t,n){i=0;var o=Js(t,n);e=null!==o?t.remove[o]:z}function r(){if(i<e.length){var a=e[i++];return a>0?t[a]:(n.push(i,e),o(t[1].data[~a],t),r())}return 0===n.length?null:(e=n.pop(),i=n.pop(),r())}return function(e,i){for(t=i;n.length;)n.pop();return o(e.value,i),r}}var rc=/\ufffd(\d+):?\d*\ufffd/gi,ac=/\ufffd(\d+)\ufffd/,sc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,cc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,lc=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,uc=/\uE500/g;
1function dc(t,e,n,i,o,r,a){var s=rr(t,i,1,null),c=s<<Ls.SHIFT,l=Ht();e===l&&(l=null),null===l&&(c|=Ls.APPEND_EAGERLY),a&&(c|=Ls.COMMENT,function(t){void 0===zn&&(zn=t())}(oc)),o.push(c,null===r?"":r);var u=or(t,s,a?32:1,null===r?"":r,null);js(n,u);var d=u.index;return Jt(u,!1),null!==l&&e!==l&&function(t,e){var n=t.insertBeforeIndex;null===n?(xi(Us,Vs),n=t.insertBeforeIndex=[null,e]):(function(t,e,n){true!=t&&C("Expecting array here",t,true,"==")}(Array.isArray(n)),n.push(e))}(l,d),u}function hc(t,e,n,i,o,r,a){var s=a.match(rc),c=dc(t,e,n,r,i,s?null:a,!1);s&&pc(o,a,c.index,null,0,null)}function pc(t,e,n,i,o,r){var a=t.length,s=a+1;t.push(null,null);for(var c=a+2,l=e.split(rc),u=0,d=0;d<l.length;d++){var h=l[d];if(1&d){var p=o+parseInt(h,10);t.push(-1-p),u|=fc(p)}else""!==h&&t.push(h)}return t.push(n<<2|(i?1:0)),i&&t.push(i,r),t[a]=u,t[s]=t.length-c,u}function fc(t){return 1<<Math.min(t,31)}function gc(t){for(var e,n,i="",o=0,r=!1;null!==(e=cc.exec(t));)r?e[0]==="\ufffd/*".concat(n,"\ufffd")&&(o=e.index,r=!1):(i+=t.substring(o,e.index+e[0].length),n=e[1],r=!0);return i+=t.substr(o)}function _c(t,e,n,i,o,r){var a=0,s={type:o.type,currentCaseLViewIndex:rr(t,e,1,null),anchorIdx:r,cases:[],create:[],remove:[],update:[]};(function(t,e,n){t.push(fc(e.mainBinding),2,-1-e.mainBinding,n<<2|2)})(n,o,r),function(t,e,n){var i=t.data[e];null===i?t.data[e]=n:i.value=n}(t,r,s);for(var c=o.values,l=0;l<c.length;l++){for(var u=c[l],d=[],h=0;h<u.length;h++){var p=u[h];if("string"!=typeof p){var f=d.push(p)-1;u[h]="\x3c!--\ufffd".concat(f,"\ufffd--\x3e")}}a=yc(t,s,e,n,i,o.cases[l],u.join(""),d)|a}a&&function(t,e,n){t.push(e,1,n<<2|3)}(n,a,r)}function mc(t){for(var e=[],n=[],i=1,o=0,r=vc(t=t.replace(sc,function(t,e,n){return i="select"===n?0:1,o=parseInt(e.substr(1),10),""})),a=0;a<r.length;){var s=r[a++].trim();1===i&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&e.push(s);var c=vc(r[a++]);e.length>n.length&&n.push(c)}return{type:i,mainBinding:o,cases:e,values:n}}function vc(t){if(!t)return[];var e,n=0,i=[],o=[],r=/[{}]/g;for(r.lastIndex=0;e=r.exec(t);){var a=e.index;if("}"==e[0]){if(i.pop(),0==i.length){var s=t.substring(n,a);sc.test(s)?o.push(mc(s)):o.push(s),n=a+1}}else{if(0==i.length){var c=t.substring(n,a);o.push(c),n=a+1}i.push("{")}}var l=t.substring(n);return o.push(l),o}function yc(t,e,n,i,o,r,a,s){var c=[],l=[],u=[];e.cases.push(r),e.create.push(c),e.remove.push(l),e.update.push(u);var d=$i(xt()).getInertBodyElement(a),h=Po(d)||d;return h?Cc(t,e,n,i,c,l,u,h,o,s,0):0}function Cc(t,e,n,i,o,r,a,s,c,l,u){for(var d=0,h=s.firstChild;h;){var p=rr(t,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:var f=h,g=f.tagName.toLowerCase();if(po.hasOwnProperty(g)){Pc(o,Rs,g,c,p),t.data[p]=g;for(var _=f.attributes,m=0;m<_.length;m++){var v=_.item(m),y=v.name.toLowerCase();v.value.match(rc)?_o.hasOwnProperty(y)&&pc(a,v.value,p,v.name,0,fo[y]?oo:go[y]?ro:null):wc(o,p,v)}d=Cc(t,e,n,i,o,r,a,h,p,l,u+1)|d,bc(r,p,u)}break;case Node.TEXT_NODE:var C=h.textContent||"",b=C.match(rc);Pc(o,null,b?"":C,c,p),bc(r,p,u),b&&(d=pc(a,C,p,null,0,null)|d);break;case Node.COMMENT_NODE:var O=ac.exec(h.textContent||"");if(O){var P=l[parseInt(O[1],10)];Pc(o,Fs,"",c,p),_c(t,n,i,c,P,p),Oc(r,p,u)}}h=h.nextSibling}return d}function bc(t,e,n){0===n&&t.push(e)}function Oc(t,e,n){0===n&&(t.push(~e),t.push(e))}function Pc(t,e,n,i,o){null!==e&&t.push(e),t.push(n,o,function(t,e,n){return 0|e<<17|n<<1}(0,i,o))}function wc(t,e,n){t.push(e<<1|1,n.name,n.value)}function Mc(t,e,n){(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=qt(),o=zt(),r=20+t,a=Zt(i.consts,e),s=Ht();i.firstCreatePass&&function(t,e,n,i,o,r){var a=Ht(),s=[],c=[],l=[[]];o=function(t,e){if(function(t){return-1===t}(e))return gc(t);var n=t.indexOf(":".concat(e,"\ufffd"))+2+e.toString().length,i=t.search(new RegExp("\ufffd\\/\\*\\d+:".concat(e,"\ufffd")));return gc(t.substring(n,i))}(o,r);for(var u=function(t){return t.replace(uc," ")}(o).split(lc),d=0;d<u.length;d++){var h=u[d];if(0==(1&d))for(var p=vc(h),f=0;f<p.length;f++){var g=p[f];if(0==(1&f)){var _=g;""!==_&&hc(t,a,l[0],s,c,n,_)}else{var m=g;if("object"!=typeof m)throw new Error('Unable to parse ICU expression in "'.concat(o,'" message.'));_c(t,n,c,e,m,dc(t,a,l[0],n,s,"",!0).index)}}
1else{var v=47===h.charCodeAt(0),y=(h.charCodeAt(v?1:0),20+Number.parseInt(h.substring(v?2:1)));if(v)l.shift(),Jt(Ht(),!1);else{var C=Hs(t,l[0],y);l.unshift([]),Jt(C,!0)}}}t.data[i]={create:s,update:c}}(i,null===s?0:s.index,o,r,a,n);var c=i.data[r],l=gi(i,s===o[6]?null:s,o);(function(t,e,n,i){for(var o=t[11],r=0;r<e.length;r++){var a=e[r++],s=e[r],c=(a&Ls.COMMENT)===Ls.COMMENT,l=(a&Ls.APPEND_EAGERLY)===Ls.APPEND_EAGERLY,u=a>>>Ls.SHIFT,d=t[u];null===d&&(d=t[u]=c?o.createComment(s):ai(o,s)),l&&null!==n&&_i(o,n,d,i,!1)}})(o,c.create,l,s&&8&s.type?o[s.index]:null),ie(!0)})(t,e,n),ie(!1)}function xc(t){return function(t){t&&(Ks|=1<<Math.min(Xs,31)),Xs++}(ba(zt(),ee(),t)),xc}function kc(t){!function(t,e,n){if(Xs>0){var i=t.data[n];tc(t,e,Array.isArray(i)?i:i.update,te()-Xs-1,Ks)}Ks=0,Xs=0}(qt(),zt(),t+20)}function Sc(t,e,n,i,o){if(t=f(t),Array.isArray(t))for(var r=0;r<t.length;r++)Sc(t[r],e,n,i,o);else{var a=qt(),s=zt(),c=ra(t)?t:f(t.provide),l=na(t),u=Yt(),d=1048575&u.providerIndexes,h=u.directiveStart,p=u.providerIndexes>>20;if(ra(t)||!t.multi){var g=new Se(l,o,ka),_=Ic(c,e,o?d:d+p,h);-1===_?(Be(Ve(u,s),a,c),Ac(a,t,e.length),e.push(c),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(g),s.push(g)):(n[_]=g,s[_]=g)}else{var m=Ic(c,e,d+p,h),v=Ic(c,e,d,d+p),y=m>=0&&n[m],C=v>=0&&n[v];if(o&&!C||!o&&!y){Be(Ve(u,s),a,c);var b=function(t,e,n,i,o){var r=new Se(t,n,ka);return r.multi=[],r.index=e,r.componentProviders=0,Tc(r,o,i&&!n),r}(o?Dc:Ec,n.length,o,i,l);!o&&C&&(n[v].providerFactory=b),Ac(a,t,e.length,0),e.push(c),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else Ac(a,t,m>-1?m:v,Tc(n[o?v:m],l,!o&&i));!o&&i&&C&&n[v].componentProviders++}}}function Ac(t,e,n,i){var o=ra(e);if(o||function(t){return!!t.useClass}(e)){var r=(e.useClass||e).prototype.ngOnDestroy;if(r){var a=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,r]):a[s+1].push(i,r)}else a.push(n,r)}}}function Tc(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ic(t,e,n,i){for(var o=n;o<i;o++)if(e[o]===t)return o;return-1}function Ec(t,e,n,i){return Rc(this.multi,[])}function Dc(t,e,n,i){var o,r=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=Xe(n,n[1],this.providerFactory.index,i);Rc(r,o=s.slice(0,a));for(var c=a;c<s.length;c++)o.push(s[c])}else Rc(r,o=[]);return o}function Rc(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function Fc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(t,e,n){var i=qt();if(i.firstCreatePass){var o=pt(t);Sc(n,i.data,i.blueprint,o,!0),Sc(e,i.data,i.blueprint,o,!1)}}(n,i?i(t):t,e)}}}var Lc=_createClass(function t(){_classCallCheck(this,t)}),Zc=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(u(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Nc=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.NULL=new Zc,t}();function Uc(){}function Vc(t,e){return new zc(It(t,e))}var jc=function(){return Vc(Yt(),zt())},zc=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.nativeElement=e});return t.__NG_ELEMENT_ID__=jc,t}();function qc(t){return t instanceof zc?t.nativeElement:t}var Bc=_createClass(function t(){_classCallCheck(this,t)}),Yc=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.__NG_ELEMENT_ID__=function(){return Gc()},t}(),Gc=function(){var t=zt(),e=Rt(Yt().index,t);return function(t){return t[11]}(ct(e)?e:t)},Hc=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275prov=b({token:t,providedIn:"root",factory:function(){return null}}),t}(),Jc=_createClass(function t(e){_classCallCheck(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}),Wc=new Jc("12.2.17"),Qc=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"supports",value:function(t){return va(t)}},{key:"create",value:function(t){return new Xc(t)}}]),t}(),Kc=function(t,e){return e},Xc=function(){function t(e){_classCallCheck(this,t),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=e||Kc}
vendor: 20,821 bytes, line 1
1return _createClass(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,o=null;e||n;){var r=!n||e&&e.currentIndex<nl(n,i,o)?e:n,a=nl(r,i,o),s=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{o||(o=[]);var c=a-i,l=s-i;if(c!=l){for(var u=0;u<c;u++){var d=u<o.length?o[u]:o[u]=0,h=d+u;l<=h&&h<c&&(o[u]=d+1)}o[r.previousIndex]=l-c}}a!==s&&t(r,a,s)}}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachMovedItem",value:function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"forEachIdentityChange",value:function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}},{key:"diff",value:function(t){if(null==t&&(t=[]),!va(t))throw new Error("Error trying to diff '".concat(u(t),"'. Only arrays and iterables are allowed"));return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n,i,o,r=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)i=t[s],o=this._trackByFn(s,i),null!==r&&Object.is(r.trackById,o)?(a&&(r=this._verifyReinsertion(r,i,o,s)),Object.is(r.item,i)||this._addIdentityChange(r,i)):(r=this._mismatch(r,i,o,s),a=!0),r=r._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var i,o=t[_a()]();!(i=o.next()).done;)e(i.value)}(t,function(t){o=e._trackByFn(n,t),null!==r&&Object.is(r.trackById,o)?(a&&(r=e._verifyReinsertion(r,t,o,n)),Object.is(r.item,t)||e._addIdentityChange(r,t)):(r=e._mismatch(r,t,o,n),a=!0),r=r._next,n++}),this.length=n;return this._truncate(r),this.collection=t,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(t,e,n,i){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,i)):t=this._addAfter(new $c(e,n),o,i),t}},{key:"_verifyReinsertion",value:function(t,e,n,i){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}},{key:"_truncate",value:function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_moveAfter",value:function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_addAfter",value:function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}},{key:"_insertAfter",value:function(t,e,n){var i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new el),this._linkedRecords.put(t),t.currentIndex=n,t}},{key:"_remove",value:function(t){return this._addToRemovals(this._unlink(t))}},{key:"_unlink",value:function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}},{key:"_addToMoves",value:function(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}},{key:"_addToRemovals",value:function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new el),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}},{key:"_addIdentityChange",value:function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}]),t}(),$c=_createClass(function t(e,n){_classCallCheck(this,t),this.item=e,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}),tl=function(){function t(){_classCallCheck(this,t),this._head=null,this._tail=null}return _createClass(t,[{key:"add",value:function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}},{key:"get",value:function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}},{key:"remove",value:function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}]),t}(),el=function(){function t(){_classCallCheck(this,t),this.map=new Map}return _createClass(t,[{key:"put",value:function(t){var e=t.trackById,n=this.map.get(e);n||(n=new tl,this.map.set(e,n)),n.add(t)}},{key:"get",value:function(t,e){var n=this.map.get(t);return n?n.get(t,e):null}},{key:"remove",value:function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),t}();function nl(t,e,n){var i=t.previousIndex;if(null===i)return i;var o=0;return n&&i<n.length&&(o=n[i]),i+e+o}var il=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"supports",value:function(t){return t instanceof Map||ya(t)}},{key:"create",value:function(){return new ol}}]),t}(),ol=function(){function t(){_classCallCheck(this,t),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return _createClass(t,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachChangedItem",value:function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"diff",value:function(t){if(t){if(!(t instanceof Map||ya(t)))throw new Error("Error trying to diff '".concat(u(t),"'. Only maps and objects are allowed"))}else t=new Map;return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,i){if(n&&n.key===i)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(i,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}},{key:"_getOrCreateRecordForKey",value:function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var i=n._prev,o=n._next;return i&&(i._next=o),o&&(o._prev=i),n._next=null,n._prev=null,n}var r=new rl(t);return this._records.set(t,r),r.currentValue=e,this._addToAdditions(r),r}},{key:"_reset",value:function(){if(this.isDirty){var t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}},{key:"_addToAdditions",value:function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}},{key:"_addToChanges",value:function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}},{key:"_forEach",value:function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})}}]),t}(),rl=_createClass(function t(e){_classCallCheck(this,t),this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null});function al(){return new sl([new Qc])}var sl=function(){var t=function(){function t(e){_classCallCheck(this,t),this.factories=e}return _createClass(t,[{key:"find",value:function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat(function(t){return t.name||typeof t}(t),"'"))}}],[{key:"create",value:function(e,n){if(null!=n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){return t.create(e,n||al())},deps:[[t,new Gn,new Bn]]}}}]),t}();return t.\u0275prov=b({token:t,providedIn:"root",factory:al}),t}();function cl(){return new ll([new il])}var ll=function(){var t=function(){function t(e){_classCallCheck(this,t),this.factories=e}return _createClass(t,[{key:"find",value:function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '".concat(t,"'"))}}],[{key:"create",value:function(e,n){if(n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){return t.create(e,n||cl())},deps:[[t,new Gn,new Bn]]}}}]),t}();return t.\u0275prov=b({token:t,providedIn:"root",factory:cl}),t}();function ul(t,e,n,i){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var r=e[n.index];if(null!==r&&i.push(At(r)),lt(r))for(var a=10;a<r.length;a++){var s=r[a],c=s[1].firstChild;null!==c&&ul(s[1],s,c,i)}var l=n.type;if(8&l)ul(t,e,n.child,i);else if(32&l)for(var u=ti(n,e),d=void 0;d=u();)i.push(d);else if(16&l){var h=Ai(e,n);if(Array.isArray(h))i.push.apply(i,_toConsumableArray(h));else{var p=ei(e[16]);ul(p[1],p,h,i,!0)}}n=o?n.projectionNext:n.next}return i}var dl=function(){function t(e,n){_classCallCheck(this,t),this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return _createClass(t,[{key:"rootNodes",get:function(){var t=this._lView,e=t[1];return ul(e,t,e.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(t){this._lView[8]=t}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var t=this._lView[3];if(lt(t)){var e=t[8],n=e?e.indexOf(this):-1;n>-1&&(di(t,n),On(e,n))}this._attachedToViewContainer=!1}hi(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){gr(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){Rr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Fr(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){Xt(!0);try{Fr(t,e,n)}finally{Xt(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,Di(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),t}(),hl=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t]))._view=t,n}return _inherits(e,t),_createClass(e,[{key:"detectChanges",value:function(){Lr(this._view)}},{key:"checkNoChanges",value:function(){!function(t){Xt(!0);try{Lr(t)}finally{Xt(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),e}(dl),pl=function(t){return function(t,e,n){if(dt(t)&&!n){var i=Rt(t.index,e);return new dl(i,i)}return 47&t.type?new dl(e[16],e):null}(Yt(),zt(),16==(16&t))},fl=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.__NG_ELEMENT_ID__=pl,t}(),gl=[new il],_l=new sl([new Qc]),ml=new ll(gl),vl=function(){return bl(Yt(),zt())},yl=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.__NG_ELEMENT_ID__=vl,t}(),Cl=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e))._declarationLView=t,o._declarationTContainer=n,o.elementRef=i,o}return _inherits(e,t),_createClass(e,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=nr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),ar(e,n,t),new dl(n)}}]),e}(yl);function bl(t,e){return 4&t.type?new Cl(e,t,Vc(t,e)):null}var Ol=_createClass(function t(){_classCallCheck(this,t)}),Pl=_createClass(function t(){_classCallCheck(this,t)}),wl=function(){return Al(Yt(),zt())},Ml=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.__NG_ELEMENT_ID__=wl,t}(),xl=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e))._lContainer=t,o._hostTNode=n,o._hostLView=i,o}return _inherits(e,t),_createClass(e,[{key:"element",get:function(){return Vc(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new en(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=qe(this._hostTNode,this._hostLView);if(Re(t)){var e=Le(t,this._hostLView),n=Fe(t);return new en(e[1].data[n+8],e)}return new en(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=kl(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,o){var r=n||this.parentInjector;if(!o&&null==t.ngModule&&r){var a=r.get(Ol,null);a&&(o=a)}var s=t.create(r,i,void 0,o);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,n){var i=t._lView,o=i[1];if(lt(i[3])){var r=this.indexOf(t);if(-1!==r)this.detach(r);else{var a=i[3],s=new e(a,a[6],a[3]);s.detach(s.indexOf(t))}}var c=this._adjustIndex(n),l=this._lContainer;!function(t,e,n,i){var o=10+i,r=n.length;i>0&&(n[o-1][4]=e),i<r-10?(e[4]=n[o],bn(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;var a=e[17];null!==a&&n!==a&&function(t,e){var n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(a,e);var s=e[19];null!==s&&s.insertView(t),e[2]|=128}(o,i,l,c);var u=Ti(c,l),d=i[11],h=yi(d,l[7]);return null!==h&&function(t,e,n,i,o,r){i[0]=o,i[6]=e,Di(t,i,n,1,o,r)}(o,l[6],d,i,h,u),t.attachToViewContainerRef(),bn(Sl(l),c,t),t}},{key:"move",value:function(t,e){return this.insert(t,e)}},{key:"indexOf",value:function(t){var e=kl(this._lContainer);return null!==e?e.indexOf(t):-1}},{key:"remove",value:function(t){var e=this._adjustIndex(t,-1),n=di(this._lContainer,e);n&&(On(Sl(this._lContainer),e),hi(n[1],n))}},{key:"detach",value:function(t){var e=this._adjustIndex(t,-1),n=di(this._lContainer,e);return n&&null!=On(Sl(this._lContainer),e)?new dl(n):null}},{key:"_adjustIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}]),e}(Ml);function kl(t){return t[8]}function Sl(t){return t[8]||(t[8]=[])}function Al(t,e){var n,i=e[t.index];if(lt(i))n=i;else{var o;if(8&t.type)o=At(i);else{var r=e[11];o=r.createComment("");var a=It(t,e);_i(r,yi(r,a),o,function(t,e){return kt(t)?t.nextSibling(e):e.nextSibling}(r,a),!1)}e[t.index]=n=Ar(i,e,o,t),Dr(e,n)}return new xl(n,t,e)}var Tl={},Il=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e)).ngModule=t,n}return _inherits(e,t),_createClass(e,[{key:"resolveComponentFactory",value:function(t){var e=at(t);return new Rl(e,this.ngModule)}}]),e}(Nc);function El(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var Dl=new hn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Io}}),Rl=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).componentDef=t,i.ngModule=n,i.componentType=t.type,i.selector=t.selectors.map(Yo).join(","),i.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],i.isBoundToModule=!!n,i}return _inherits(e,t),_createClass(e,[{key:"inputs",get:function(){return El(this.componentDef.inputs)}},{key:"outputs",get:function(){return El(this.componentDef.outputs)}},{key:"create",value:function(t,e,n,i){var o,r,a=(i=i||this.ngModule)?function(t,e){return{get:function(n,i,o){var r=t.get(n,Tl,o);return r!==Tl||i===Tl?r:e.get(n,i,o)}}}(t,i.injector):t,s=a.get(Bc,St),c=a.get(Hc,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=n?function(t,e,n){if(kt(t))return t.selectRootElement(e,n===L.ShadowDom);var i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(l,n,this.componentDef.encapsulation):li(s.createRenderer(null,this.componentDef),u,function(t){var e=t.toLowerCase();return"svg"===e?wt:"math"===e?"http://www.w3.org/1998/MathML/":null}(u)),h=this.componentDef.onPush?576:528,p={components:[],scheduler:Io,clean:Nr,playerHandler:null,flags:0},f=fr(0,null,null,1,0,null,null,null,null,null),g=nr(null,f,p,h,null,null,s,l,c,a);de(g);try{var _=function(t,e,n,i,o,r){var a=n[1];n[20]=t;
vendor: 12,234 bytes, line 1
1var s=ir(a,20,2,"#host",null),c=s.mergedAttrs=e.hostAttrs;null!==c&&(Yr(s,c,!0),null!==t&&(Ae(o,t,c),null!==s.classes&&Li(o,t,s.classes),null!==s.styles&&Fi(o,t,s.styles)));var l=i.createRenderer(t,e),u=nr(n,pr(e),null,e.onPush?64:16,n[20],s,i,l,null,null);return a.firstCreatePass&&(Be(Ve(s,n),a,e.type),br(a,s),Pr(s,n.length,1)),Dr(n,u),n[20]=u}(d,this.componentDef,g,s,l);if(d)if(n)Ae(l,d,["ng-version",Wc.full]);else{var m=function(t){for(var e=[],n=[],i=1,o=2;i<t.length;){var r=t[i];if("string"==typeof r)2===o?""!==r&&e.push(r,t[++i]):8===o&&n.push(r);else{if(!Vo(o))break;o=r}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]),v=m.attrs,y=m.classes;v&&Ae(l,d,v),y&&y.length>0&&Li(l,d,y.join(" "))}if(r=Et(f,20),void 0!==e)for(var C=r.projection=[],b=0;b<this.ngContentSelectors.length;b++){var O=e[b];C.push(null!=O?Array.from(O):null)}o=function(t,e,n,i,o){var r=n[1],a=function(t,e,n){var i=Yt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),wr(t,i,e,rr(t,e,1,null),n));var o=Xe(e,t,i.directiveStart,i);Xn(o,e);var r=It(i,e);return r&&Xn(r,e),o}(r,n,e);if(i.components.push(a),t[8]=a,o&&o.forEach(function(t){return t(a,e)}),e.contentQueries){var s=Yt();e.contentQueries(1,a,s.directiveStart)}var c=Yt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ve(c.index),yr(n[1],c,0,c.directiveStart,c.directiveEnd,e),Cr(e,a)),a}(_,this.componentDef,g,p,[la]),ar(f,g,null)}finally{_e()}return new Fl(this.componentType,o,Vc(r,g),g,r)}}]),e}(Lc),Fl=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e)).location=i,a._rootLView=o,a._tNode=r,a.instance=n,a.hostView=a.changeDetectorRef=new hl(o),a.componentType=t,a}return _inherits(e,t),_createClass(e,[{key:"injector",get:function(){return new en(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(t){this.hostView.onDestroy(t)}}]),e}(function(){return _createClass(function t(){_classCallCheck(this,t)})}()),Ll=new Map,Zl=function(t){function e(t,n){var i;_classCallCheck(this,e),(i=_callSuper(this,e))._parent=n,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new Il(_assertThisInitialized(i));var o=st(t),r=t[H]||null;return r&&Ns(r),i._bootstrapComponents=Do(o.bootstrap),i._r3Injector=$r(t,n,[{provide:Ol,useValue:_assertThisInitialized(i)},{provide:Nc,useValue:i.componentFactoryResolver}],u(t)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(t),i}return _inherits(e,t),_createClass(e,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ca.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.Default;return t===ca||t===Ol||t===Hr?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),e}(Ol),Nl=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e)).moduleType=t,null!==st(t)&&function(t){var e=new Set;!function t(n){var i=st(n,!0),o=i.id;null!==o&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(u(e)," vs ").concat(u(e.name)))}(o,Ll.get(o),n),Ll.set(o,n));var r,a=_createForOfIteratorHelper(Do(i.imports));try{for(a.s();!(r=a.n()).done;){var s=r.value;e.has(s)||(e.add(s),t(s))}}catch(c){a.e(c)}finally{a.f()}}(t)}(t),n}return _inherits(e,t),_createClass(e,[{key:"create",value:function(t){return new Zl(this.moduleType,t)}}]),e}(Pl);function Ul(t,e,n){var i=$t()+t,o=zt();return o[i]===Go?Ca(o,i,n?e.call(n):e()):function(t,e){return t[e]}(o,i)}function Vl(t,e,n,i){return Bl(zt(),$t(),t,e,n,i)}function jl(t,e,n,i,o){return function(t,e,n,i,o,r,a){var s=e+n;return Oa(t,s,o,r)?Ca(t,s+2,a?i.call(a,o,r):i(o,r)):ql(t,s+2)}(zt(),$t(),t,e,n,i,o)}function zl(t,e,n,i,o,r){return function(t,e,n,i,o,r,a,s){var c=e+n;return function(t,e,n,i,o){var r=Oa(t,e,n,i);return ba(t,e+2,o)||r}(t,c,o,r,a)?Ca(t,c+3,s?i.call(s,o,r,a):i(o,r,a)):ql(t,c+3)}(zt(),$t(),t,e,n,i,o,r)}function ql(t,e){var n=t[e];return n===Go?void 0:n}function Bl(t,e,n,i,o,r){var a=e+n;return ba(t,a,o)?Ca(t,a+1,r?i.call(r,o):i(o)):ql(t,a+1)}function Yl(t,e){var n,i=qt(),o=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var i=e[n];if(t===i.name)return i}throw new _("302","The pipe '".concat(t,"' could not be found!"))}(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(o,n.onDestroy)):n=i.data[o];var r=n.factory||(n.factory=gt(n.type)),a=E(ka);try{var s=Ne(!1),c=r();return Ne(s),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(i,zt(),o,c),c}finally{E(a)}}function Gl(t,e,n){var i=t+20,o=zt(),r=Dt(o,i);return function(t,e){return ma.isWrapped(e)&&(e=ma.unwrap(e),t[te()]=Go),e}(o,function(t,e){return t[1].data[e].pure}(o,i)?Bl(o,$t(),e,r.transform,n,r):r.transform(n))}function Hl(t){return function(e){setTimeout(t,void 0,e)}}var Jl=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,e),(t=_callSuper(this,e)).__isAsync=n,t}return _inherits(e,t),_createClass(e,[{key:"emit",value:function(t){_get(_getPrototypeOf(e.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,n,i){var r,a,s,c=t,l=n||function(){return null},u=i;if(t&&"object"==typeof t){var d=t;c=null===(r=d.next)||void 0===r?void 0:r.bind(d),l=null===(a=d.error)||void 0===a?void 0:a.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Hl(l),c&&(c=Hl(c)),u&&(u=Hl(u)));var h=_get(_getPrototypeOf(e.prototype),"subscribe",this).call(this,{next:c,error:l,complete:u});return t instanceof o.w&&t.add(h),h}}]),e}(i.xQ);function Wl(){return this._results[_a()]()}var Ql=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=_a(),i=t.prototype;i[n]||(i[n]=Wl)}return _createClass(t,[{key:"changes",get:function(){return this._changes||(this._changes=new Jl)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){var n=this;n.dirty=!1;var i=yn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(var i=0;i<t.length;i++){var o=t[i],r=e[i];if(n&&(o=n(o),r=n(r)),r!==o)return!1}return!0}(n._results,i,e))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}},{key:"notifyOnChanges",value:function(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),t}();Symbol;var Kl=function(){function t(e){_classCallCheck(this,t),this.queryList=e,this.matches=null}return _createClass(t,[{key:"clone",value:function(){return new t(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),t}(),Xl=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,t),this.queries=e}return _createClass(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,o=[],r=0;r<i;r++){var a=n.getByIndex(r);o.push(this.queries[a.indexInDeclarationView].clone())}return new t(o)}return null}},{key:"insertView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"detachView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"dirtyQueriesWithMatches",value:function(t){for(var e=0;e<this.queries.length;e++)null!==hu(t,e).matches&&this.queries[e].setDirty()}}]),t}(),$l=_createClass(function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,t),this.predicate=e,this.flags=n,this.read=i}),tu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,t),this.queries=e}return _createClass(t,[{key:"elementStart",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}},{key:"elementEnd",value:function(t){for(var e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}},{key:"embeddedTView",value:function(e){for(var n=null,i=0;i<this.length;i++){var o=null!==n?n.length:0,r=this.getByIndex(i).embeddedTView(e,o);r&&(r.indexInDeclarationView=i,null!==n?n.push(r):n=[r])}return null!==n?new t(n):null}},{key:"template",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}},{key:"getByIndex",value:function(t){return this.queries[t]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(t){this.queries.push(t)}}]),t}(),eu=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i<n.length;i++){var o=n[i];this.matchTNodeWithReadOption(t,e,nu(e,o)),this.matchTNodeWithReadOption(t,e,Ke(e,t,o,!1,!1))}else n===yl?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ke(e,t,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(t,e,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===zc||i===Ml||i===yl&&4&e.type)this.addMatch(e.index,-2);else{var o=Ke(e,t,i,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,n)}}},{key:"addMatch",value:function(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}]),t}();function nu(t,e){var n=t.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function iu(t,e,n,i){return-1===n?function(t,e){return 11&t.type?Vc(t,e):4&t.type?bl(t,e):null}(e,t):-2===n?function(t,e,n){return n===zc?Vc(e,t):n===yl?bl(e,t):n===Ml?Al(e,t):void 0}(t,e,i):Xe(t,t[1],n,e)}function ou(t,e,n,i){var o=e[19].queries[i];if(null===o.matches){for(var r=t.data,a=n.matches,s=[],c=0;c<a.length;c+=2){var l=a[c];s.push(l<0?null:iu(e,r[l],a[c+1],n.metadata.read))}o.matches=s}return o.matches}function ru(t,e,n,i){var o=t.queries.getByIndex(n),r=o.matches;if(null!==r)for(var a=ou(t,e,o,n),s=0;s<r.length;s+=2){var c=r[s];if(c>0)i.push(a[s/2]);else{for(var l=r[s+1],u=e[-c],d=10;d<u.length;d++){var h=u[d];h[17]===h[3]&&ru(h[1],h,l,i)}if(null!==u[9])for(var p=u[9],f=0;f<p.length;f++){var g=p[f];ru(g[1],g,l,i)}}}return i}function au(t){var e=zt(),n=qt(),i=se();ce(i+1);var o=hu(n,i);if(t.dirty&&Ft(e)===(2==(2&o.metadata.flags))){if(null===o.matches)t.reset([]);else{var r=o.crossesNgTemplate?ru(n,e,i,[]):ou(n,e,o,i);
1t.reset(r,qc),t.notifyOnChanges()}return!0}return!1}function su(t,e,n){var i=qt();i.firstCreatePass&&(du(i,new $l(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),uu(i,zt(),e)}function cu(t,e,n,i){var o=qt();if(o.firstCreatePass){var r=Yt();du(o,new $l(e,n,i),r.index),function(t,e){var n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(o,t),2==(2&n)&&(o.staticContentQueries=!0)}uu(o,zt(),n)}function lu(){return t=zt(),e=se(),t[19].queries[e].queryList;var t,e}function uu(t,e,n){var i=new Ql(4==(4&n));gr(t,e,i,i.destroy),null===e[19]&&(e[19]=new Xl),e[19].queries.push(new Kl(i))}function du(t,e,n){null===t.queries&&(t.queries=new tu),t.queries.track(new eu(e,n))}function hu(t,e){return t.queries.getByIndex(e)}function pu(t,e){return bl(t,e)}var fu=un("Input",function(t){return{bindingPropertyName:t}}),gu=un("Output",function(t){return{bindingPropertyName:t}}),_u=un("HostListener",function(t,e){return{eventName:t,args:e}}),mu=new hn("Application Initializer"),vu=function(){var t=function(){function t(e){var n=this;_classCallCheck(this,t),this.appInits=e,this.resolve=Uc,this.reject=Uc,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,e){n.resolve=t,n.reject=e})}return _createClass(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=function(){var n=t.appInits[o]();if(Za(n))e.push(n);else if(Ua(n)){var i=new Promise(function(t,e){n.subscribe({complete:t,error:e})});e.push(i)}},o=0;o<this.appInits.length;o++)i();Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ln(mu,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),yu=new hn("AppId"),Cu={provide:yu,useFactory:function(){return"".concat(bu()).concat(bu()).concat(bu())},deps:[]};function bu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ou=new hn("Platform Initializer"),Pu=new hn("Platform ID"),wu=new hn("appBootstrapListener"),Mu=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"log",value:function(t){console.log(t)}},{key:"warn",value:function(t){console.warn(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),xu=new hn("LocaleId"),ku=new hn("DefaultCurrencyCode"),Su=_createClass(function t(e,n){_classCallCheck(this,t),this.ngModuleFactory=e,this.componentFactories=n}),Au=function(t){return new Nl(t)},Tu=Au,Iu=function(t){return Promise.resolve(Au(t))},Eu=function(t){var e=Au(t),n=Do(st(t).declarations).reduce(function(t,e){var n=at(e);return n&&t.push(new Rl(n)),t},[]);return new Su(e,n)},Du=Eu,Ru=function(t){return Promise.resolve(Eu(t))},Fu=function(){var t=function(){function t(){_classCallCheck(this,t),this.compileModuleSync=Tu,this.compileModuleAsync=Iu,this.compileModuleAndAllComponentsSync=Du,this.compileModuleAndAllComponentsAsync=Ru}return _createClass(t,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(t){}},{key:"getModuleId",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),Lu=Promise.resolve(0);function Zu(t){"undefined"==typeof Zone?Lu.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var Nu=function(){function t(e){var n=e.enableLongStackTrace,i=void 0!==n&&n,o=e.shouldCoalesceEventChangeDetection,r=void 0!==o&&o,a=e.shouldCoalesceRunChangeDetection,s=void 0!==a&&a;if(_classCallCheck(this,t),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Jl(!1),this.onMicrotaskEmpty=new Jl(!1),this.onStable=new Jl(!1),this.onError=new Jl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!s&&r,c.shouldCoalesceRunChangeDetection=s,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function(){var t=V.requestAnimationFrame,e=V.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){var n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);var i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){var e=function(){!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(V,function(){t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){t.lastRequestAnimationFrameId=-1,ju(t),t.isCheckStableRunning=!0,Vu(t),t.isCheckStableRunning=!1},void 0,function(){},function(){})),t.fakeTopEventTask.invoke()}),ju(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(n,i,o,r,a,s){try{return zu(t),n.invokeTask(o,r,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),qu(t)}},onInvoke:function(n,i,o,r,a,s,c){try{return zu(t),n.invoke(o,r,a,s,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),qu(t)}},onHasTask:function(e,n,i,o){e.hasTask(i,o),n===i&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,ju(t),Vu(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,i,o){return e.handleError(i,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}(c)}return _createClass(t,[{key:"run",value:function(t,e,n){return this._inner.run(t,e,n)}},{key:"runTask",value:function(t,e,n,i){var o=this._inner,r=o.scheduleEventTask("NgZoneEvent: "+i,t,Uu,Uc,Uc);try{return o.runTask(r,e,n)}finally{o.cancelTask(r)}}},{key:"runGuarded",value:function(t,e,n){return this._inner.runGuarded(t,e,n)}},{key:"runOutsideAngular",value:function(t){return this._outer.run(t)}}
1],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),t}(),Uu={};function Vu(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function ju(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function zu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function qu(t){t._nesting--,Vu(t)}var Bu=function(){function t(){_classCallCheck(this,t),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Jl,this.onMicrotaskEmpty=new Jl,this.onStable=new Jl,this.onError=new Jl}return _createClass(t,[{key:"run",value:function(t,e,n){return t.apply(e,n)}},{key:"runGuarded",value:function(t,e,n){return t.apply(e,n)}},{key:"runOutsideAngular",value:function(t){return t()}},{key:"runTask",value:function(t,e,n,i){return t.apply(e,n)}}]),t}(),Yu=function(){var t=function(){function t(e){var n=this;_classCallCheck(this,t),this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return _createClass(t,[{key:"_watchAngularEvents",value:function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Nu.assertNotInAngularZone(),Zu(function(){t._isZoneStable=!0,t._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 t=this;if(this.isStable())Zu(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]}},{key:"addCallback",value:function(t,e,n){var i=this,o=-1;e&&e>0&&(o=setTimeout(function(){i._callbacks=i._callbacks.filter(function(t){return t.timeoutId!==o}),t(i._didWork,i.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})}},{key:"whenStable",value:function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ln(Nu))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),Gu=function(){var t=function(){function t(){_classCallCheck(this,t),this._applications=new Map,Wu.addToWindow(this)}return _createClass(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||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(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Wu.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function Hu(t){Wu=t}var Ju,Wu=new(function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"addToWindow",value:function(t){}}
1,{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Qu=!0,Ku=!1;function Xu(){return Ku=!0,Qu}function $u(){if(Ku)throw new Error("Cannot enable prod mode after platform setup.");Qu=!1}var td=new hn("AllowMultipleToken"),ed=_createClass(function t(e,n){_classCallCheck(this,t),this.name=e,this.token=n});function nd(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(e),o=new hn(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=id();if(!r||r.injector.get(td,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0},{provide:Wr,useValue:"platform"});!function(t){if(Ju&&!Ju.destroyed&&!Ju.injector.get(td,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ju=t.get(od);var e=t.get(Ou,null);e&&e.forEach(function(t){return t()})}(ca.create({providers:a,name:i}))}return function(t){var e=id();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function id(){return Ju&&!Ju.destroyed?Ju:null}var od=function(){var t=function(){function t(e){_classCallCheck(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n=this,i=function(t,e){return"noop"===t?new Bu:("zone.js"===t?void 0:t)||new Nu({enableLongStackTrace:Xu(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)})}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),o=[{provide:Nu,useValue:i}];return i.run(function(){var r=ca.create({providers:o,parent:n.injector,name:t.moduleType.name}),a=t.create(r),s=a.injector.get(To,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(function(){var t=i.onError.subscribe({next:function(t){s.handleError(t)}});a.onDestroy(function(){sd(n._modules,a),t.unsubscribe()})}),function(t,i,o){try{var r=((s=a.injector.get(vu)).runInitializers(),s.donePromise.then(function(){return Ns(a.injector.get(xu,Ds)||Ds),n._moduleDoBootstrap(a),a}));return Za(r)?r.catch(function(e){throw i.runOutsideAngular(function(){return t.handleError(e)}),e}):r}catch(e){throw i.runOutsideAngular(function(){return t.handleError(e)}),e}var s}(s,i)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=rd({},n);return function(t,e,n){var i=new Nl(n);return Promise.resolve(i)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,i)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(ad);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(u(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ln(ca))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function rd(t,e){return Array.isArray(e)?e.reduce(rd,t):Object.assign(Object.assign({},t),e)}var ad=function(){var t=function(){function t(e,n,i,o,c){var l=this;_classCallCheck(this,t),this._zone=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new r.y(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),d=new r.y(function(t){var e;l._zone.runOutsideAngular(function(){e=l._zone.onStable.subscribe(function(){Nu.assertNotInAngularZone(),Zu(function(){!l._stable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks&&(l._stable=!0,t.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){Nu.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,a.T)(u,d.pipe((0,s.B)()))}return _createClass(t,[{key:"bootstrap",value:function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializer
1s running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Lc?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Ol),r=n.create(ca.NULL,[],e||n.selector,o),a=r.location.nativeElement,s=r.injector.get(Yu,null),c=s&&r.injector.get(Gu);return s&&c&&c.registerApplication(a,s),r.onDestroy(function(){i.detachView(r.hostView),sd(i.components,r),c&&c.unregisterApplication(a)}),this._loadComponent(r),r}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(e=n.n()).done;){var i;e.value.detectChanges()}}catch(o){n.e(o)}finally{n.f()}}catch(i){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(i)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;sd(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(wu,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ln(Nu),Ln(ca),Ln(To),Ln(Nc),Ln(vu))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function sd(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var cd=_createClass(function t(){_classCallCheck(this,t)}),ld=_createClass(function t(){_classCallCheck(this,t)}),ud={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},dd=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._compiler=e,this._config=n||ud}return _createClass(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,i=_slicedToArray(t.split("#"),2),o=i[0],r=i[1];return void 0===r&&(r="default"),n(98255)(o).then(function(t){return t[r]}).then(function(t){return hd(t,o,r)}).then(function(t){return e._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var e=_slicedToArray(t.split("#"),2),i=e[0],o=e[1],r="NgFactory";return void 0===o&&(o="default",r=""),n(98255)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(t){return t[o+r]}).then(function(t){return hd(t,i,o)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ln(Fu),Ln(ld,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function hd(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var pd=function(t){return null},fd=nd(null,"core",[{provide:Pu,useValue:"unknown"},{provide:od,deps:[ca]},{provide:Gu,deps:[]},{provide:Mu,deps:[]}]),gd=[{provide:ad,useClass:ad,deps:[Nu,ca,To,Nc,vu]},{provide:Dl,deps:[Nu],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:vu,useClass:vu,deps:[[new Bn,mu]]},{provide:Fu,useClass:Fu,deps:[]},Cu,{provide:sl,useFactory:function(){return _l},deps:[]},{provide:ll,useFactory:function(){return ml},deps:[]},{provide:xu,useFactory:function(t){return Ns(t=t||"undefined"!=typeof $localize&&$localize.locale||Ds),t},deps:[[new qn(xu),new Bn,new Gn]]},{provide:ku,useValue:"USD"}],_d=function(){var t=_createClass(function t(e){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)(Ln(ad))},t.\u0275mod=et({type:t}),t.\u0275inj=O({providers:gd}),t}()},64100:function(t,e,n){"use strict";var i=n(96434),o=n(12658),r=n(75105);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return l(this,t,e,n)}function l(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=h(t,e),t}(t,e,n,i):"string"==typeof e?function(t,e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|f(e,n),o=(t=s(t,i)).write(e,n);
vendor: 13,776 bytes, line 1
1return o!==i&&(t=t.slice(0,o)),t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|p(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||function(t){return t!=t}(e.length)?s(t,0):h(t,e);if("Buffer"===e.type&&r(e.data))return h(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(u(e),t=s(t,e<0?0:0|p(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|p(e.length);t=s(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function p(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function f(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(t).length;default:if(i)return V(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,n);case"utf8":case"utf-8":return x(this,e,n);case"ascii":return k(this,e,n);case"latin1":case"binary":return S(this,e,n);case"base64":return M(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function _(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function m(t,e,n,i,o){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:v(t,e,n,i,o);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,i,o);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,i,o){var r,a=1,s=t.length,c=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var u=-1;for(r=n;r<s;r++)if(l(t,r)===l(e,-1===u?0:r-u)){if(-1===u&&(u=r),r-u+1===c)return u*a}else-1!==u&&(r-=r-u),u=-1}else for(n+c>s&&(n=s-c),r=n;r>=0;r--){for(var d=!0,h=0;h<c;h++)if(l(t,r+h)!==l(e,h)){d=!1;break}if(d)return r}return-1}function y(t,e,n,i){n=Number(n)||0;var o=t.length-n;i?(i=Number(i))>o&&(i=o):i=o;var r=e.length;if(r%2!=0)throw new TypeError("Invalid hex string");i>r/2&&(i=r/2);for(var a=0;a<i;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function C(t,e,n,i){return z(V(e,t.length-n),t,n,i)}function b(t,e,n,i){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,i)}function O(t,e,n,i){return b(t,e,n,i)}function P(t,e,n,i){return z(j(e),t,n,i)}function w(t,e,n,i){return z(function(t,e){for(var n,i,o=[],r=0;r<t.length&&!((e-=2)<0);++r)i=(n=t.charCodeAt(r))>>8,o.push(n%256),o.push(i);return o}(e,t.length-n),t,n,i)}function M(t,e,n){return i.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function x(t,e,n){n=Math.min(t.length,n);for(var i=[],o=e;o<n;){var r,a,s,c,l=t[o],u=null,d=l>239?4:l>223?3:l>191?2:1;if(o+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(r=t[o+1]))&&(c=(31&l)<<6|63&r)>127&&(u=c);break;case 3:a=t[o+2],128==(192&(r=t[o+1]))&&128==(192&a)&&(c=(15&l)<<12|(63&r)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:a=t[o+2],s=t[o+3],128==(192&(r=t[o+1]))&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&r)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(i.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=d}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",i=0;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=4096));return n}(i)}function k(t,e,n){var i="";n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(127&t[o]);return i}function S(t,e,n){var i="";n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(t[o]);return i}function A(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var o="",r=e;r<n;++r)o+=U(t[r]);return o}function T(t,e,n){for(var i=t.slice(e,n),o="",r=0;r<i.length;r+=2)o+=String.fromCharCode(i[r]+256*i[r+1]);return o}function I(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function E(t,e,n,i,o,r){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<r)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function D(t,e,n,i){e<0&&(e=65535+e+1);for(var o=0,r=Math.min(t.length-n,2);o<r;++o)t[n+o]=(e&255<<8*(i?o:1-o))>>>8*(i?o:1-o)}function R(t,e,n,i){e<0&&(e=4294967295+e+1);for(var o=0,r=Math.min(t.length-n,4);o<r;++o)t[n+o]=e>>>8*(i?o:3-o)&255}function F(t,e,n,i,o,r){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(t,e,n,i,r){return r||F(t,0,n,4),o.write(t,e,n,i,23,4),n+4}function Z(t,e,n,i,r){return r||F(t,0,n,8),o.write(t,e,n,i,52,8),n+8}e.lW=c,e.h2=50,c.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return l(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,i){return u(e),e<=0?s(t,e):void 0!==n?"string"==typeof i?s(t,e).fill(n,i):s(t,e).fill(n):s(t,e)}(null,t,e,n)},c.allocUnsafe=function(t){return d(null,t)},c.allocUnsafeSlow=function(t){return d(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,o=0,r=Math.min(n,i);o<r;++o)if(t[o]!==e[o]){n=t[o],i=e[o];break}return n<i?-1:i<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!r(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=c.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var a=t[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},c.byteLength=f,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)_(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?x(this,0,t):g.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.h2;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,i,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),e<0||n>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var r=(o>>>=0)-(i>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(r,a),l=this.slice(i,o),u=t.slice(e,n),d=0;d<s;++d)if(l[d]!==u[d]){r=l[d],a=u[d];break}return r<a?-1:a<r?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return m(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return m(this,t,e,n,!1)},c.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var r=!1;;)switch(i){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return C(this,t,e,n);case"ascii":return b(this,t,e,n);case"latin1":case"binary":return O(this,t,e,n);case"base64":return P(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,t,e,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var o=e-t;n=new c(o,void 0);for(var r=0;r<o;++r)n[r]=this[r+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],o=1,r=0;++r<e&&(o*=256);)i+=this[t+r]*o;return i},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t+--e],o=1;e>0&&(o*=256);)i+=this[t+--e]*o;return i},c.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],o=1,r=0;++r<e&&(o*=256);)i+=this[t+r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=e,o=1,r=this[t+--i];i>0&&(o*=256);)r+=this[t+--i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||E(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,r=0;for(this[e]=255&t;++r<n&&(o*=256);)this[e+r]=t/o&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,i){t=+t,e|=0,n|=0,i||E(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,r=1;for(this[e+o]=255&t;--o>=0&&(r*=256);)this[e+o]=t/r&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 4,716 bytes, line 1
18,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*n-1);E(this,t,e,n,o-1,-o)}var r=0,a=1,s=0;for(this[e]=255&t;++r<n&&(a*=256);)t<0&&0===s&&0!==this[e+r-1]&&(s=1),this[e+r]=(t/a>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*n-1);E(this,t,e,n,o-1,-o)}var r=n-1,a=1,s=0;for(this[e+r]=255&t;--r>=0&&(a*=256);)t<0&&0===s&&0!==this[e+r+1]&&(s=1),this[e+r]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return Z(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return Z(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),!i&&0!==i&&(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n||0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var o,r=i-n;if(this===t&&n<e&&e<i)for(o=r-1;o>=0;--o)t[o+e]=this[o+n];else if(r<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<r;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+r),e);return r},c.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var r;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(r=e;r<n;++r)this[r]=t;else{var a=c.isBuffer(t)?t:V(new c(t,i).toString()),s=a.length;for(r=0;r<n-e;++r)this[r+e]=a[r%s]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function U(t){return t<16?"0"+t.toString(16):t.toString(16)}function V(t,e){e=e||1/0;for(var n,i=t.length,o=null,r=[],a=0;a<i;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&r.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;r.push(n)}else if(n<2048){if((e-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function j(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,i){for(var o=0;o<i&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}},85946:function(t,e,n){var i;t=n.nmd(t),function(o){"object"==typeof global&&global;var r,a=2147483647,s=36,c=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
1= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,p=String.fromCharCode;function f(t){throw RangeError(d[t])}function g(t,e){for(var n=t.length,i=[];n--;)i[n]=e(t[n]);return i}function _(t,e){var n=t.split("@"),i="";return n.length>1&&(i=n[0]+"@",t=n[1]),i+g((t=t.replace(u,".")).split("."),e).join(".")}function m(t){for(var e,n,i=[],o=0,r=t.length;o<r;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<r?56320==(64512&(n=t.charCodeAt(o++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),o--):i.push(e);return i}function v(t){return g(t,function(t){var e="";return t>65535&&(e+=p((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+p(t)}).join("")}function y(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:s}function C(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function b(t,e,n){var i=0;for(t=n?h(t/700):t>>1,t+=h(t/e);t>455;i+=s)t=h(t/35);return h(i+36*t/(t+38))}function O(t){var e,n,i,o,r,c,l,u,d,p,g=[],_=t.length,m=0,C=128,O=72;for((n=t.lastIndexOf("-"))<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&f("not-basic"),g.push(t.charCodeAt(i));for(o=n>0?n+1:0;o<_;){for(r=m,c=1,l=s;o>=_&&f("invalid-input"),((u=y(t.charCodeAt(o++)))>=s||u>h((a-m)/c))&&f("overflow"),m+=u*c,!(u<(d=l<=O?1:l>=O+26?26:l-O));l+=s)c>h(a/(p=s-d))&&f("overflow"),c*=p;O=b(m-r,e=g.length+1,0==r),h(m/e)>a-C&&f("overflow"),C+=h(m/e),m%=e,g.splice(m++,0,C)}return v(g)}function P(t){var e,n,i,o,r,c,l,u,d,g,_,v,y,O,P,w=[];for(v=(t=m(t)).length,e=128,n=0,r=72,c=0;c<v;++c)(_=t[c])<128&&w.push(p(_));for(i=o=w.length,o&&w.push("-");i<v;){for(l=a,c=0;c<v;++c)(_=t[c])>=e&&_<l&&(l=_);for(l-e>h((a-n)/(y=i+1))&&f("overflow"),n+=(l-e)*y,e=l,c=0;c<v;++c)if((_=t[c])<e&&++n>a&&f("overflow"),_==e){for(u=n,d=s;!(u<(g=d<=r?1:d>=r+26?26:d-r));d+=s)w.push(p(C(g+(P=u-g)%(O=s-g),0))),u=h(P/O);w.push(p(C(u,0))),r=b(n,y,i==o),n=0,++i}++n,++e}return w.join("")}r={version:"1.3.2",ucs2:{decode:m,encode:v},decode:O,encode:P,toASCII:function(t){return _(t,function(t){return l.test(t)?"xn--"+P(t):t})},toUnicode:function(t){return _(t,function(t){return c.test(t)?O(t.slice(4).toLowerCase()):t})}},void 0!==(i=(function(){return r}).call(e,n,e,t))&&(t.exports=i)}()},60944:function(t,e,n){"use strict";var i=n(85946),o=n(53804);function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.Qc=y;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},_={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(36284);function y(t,e,n){if(t&&o.isObject(t)&&t instanceof r)return t;var i=new r;return i.parse(t,e,n),i}r.prototype.parse=function(t,e,n){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),s=-1!==r&&r<t.indexOf("#")?"?":"#",l=t.split(s);l[0]=l[0].replace(/\\/g,"/");var y=t=l.join(s);if(y=y.trim(),!n&&1===t.split("#").length){var C=c.exec(y);if(C)return this.path=y,this.href=y,this.pathname=C[1],C[2]?(this.search=C[2],this.query=e?v.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var b=a.exec(y);if(b){var O=(b=b[0]).toLowerCase();this.protocol=O,y=y.substr(b.length)}if(n||b||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var P="//"===y.substr(0,2);P&&(!b||!_[b])&&(y=y.substr(2),this.slashes=!0)}if(!_[b]&&(P||b&&!m[b])){for(var w=-1,M=0;M<h.length;M++)-1!==(S=y.indexOf(h[M]))&&(-1===w||S<w)&&(w=S);var x,k;for(-1!==(k=-1===w?y.lastIndexOf("@"):y.lastIndexOf("@",w))&&(x=y.slice(0,k),y=y.slice(k+1),this.auth=decodeURIComponent(x)),w=-1,M=0;M<d.length;M++){var S;-1!==(S=y.indexOf(d[M]))&&(-1===w||S<w)&&(w=S)}-1===w&&(w=y.length),this.host=y.slice(0,w),y=y.slice(w),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var T=this.hostname.split(/\./),I=(M=0,T.length);M<I;M++){var E=T[M];if(E&&!E.match(p)){for(var D="",R=0,F=E.length;R<F;R++)E.charCodeAt(R)>127?D+="x":D+=E[R];if(!D.match(p)){var L=T.slice(0,M),Z=T.slice(M+1),N=E.match(f);N&&(L.push(N[1]),Z.unshift(N[2])),Z.length&&(y="/"+Z.join(".")+y),this.hostname=L.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),A||(this.hostname=i.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!g[O])for(M=0,I=u.length;M<I;M++){var U=u[M];if(-1!==y.indexOf(U)){var V=encodeURIComponent(U);V===U&&(V=escape(U)),y=y.split(U).join(V)}}var j=y.indexOf("#");-1!==j&&(this.hash=y.substr(j),y=y.slice(0,j));var z=y.indexOf("?");return-1!==z?(this.search=y.substr(z),this.query=y.substr(z+1),e&&(this.query=v.parse(this.query)),y=y.slice(0,z)):e&&(this.search="",this.query={}),y&&(this.pathname=y),m[O]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},r.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",i=this.hash||"",r=!1,a="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||m[e])&&!1!==r?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),i&&"#"!==i.charAt(0)&&(i="#"+i),s&&"?"!==s.charAt(0)&&(s="?"+s),e+r+(n=n.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(s=s.replace("#","%23"))+i},r.prototype.resolve=function(t){return this.resolveObject(y(t,!1,!0)).format()},r.prototype.resolveObject=function(t){if(o.isString(t)){var e=new r;e.parse(t,!1,!0),t=e}for(var n=new r,i=Object.keys(this),a=0;a<i.length;a++){var s=i[a];n[s]=this[s]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=t[u])}return m[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!m[t.protocol]){for(var d=Object.keys(t),h=0;h<d.length;h++){var p=d[h];n[p]=t[p]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||_[t.protocol])n.pathname=t.pathname;else{for(var f=(t.pathname||"").split("/");f.length&&!(t.host=f.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}return n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,(n.pathname||n.search)&&(n.path=(n.pathname||"")+(n.search||"")),n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),v=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=v||g||n.host&&t.pathname,C=y,b=n.pathname&&n.pathname.split("/")||[],O=(f=t.pathname&&t.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(O&&(n.hostname="",n.port=null,n.host&&(""===b[0]?b[0]=n.host:b.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===f[0]?f[0]=t.host:f.unshift(t.host)),t.host=null),y=y&&(""===f[0]||""===b[0])),v)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,b=f;else if(f.length)b||(b=[]),b.pop(),b=b.concat(f),n.search=t.search,n.query=t.query;else if(!o.isNullOrUndefined(t.search))return O&&(n.hostname=n.host=b.shift(),(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift())),n.search=t.search,n.query=t.query,(!o.isNull(n.pathname)||!o.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!b.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;
1for(var P=b.slice(-1)[0],w=(n.host||t.host||b.length>1)&&("."===P||".."===P)||""===P,M=0,x=b.length;x>=0;x--)"."===(P=b[x])?b.splice(x,1):".."===P?(b.splice(x,1),M++):M&&(b.splice(x,1),M--);if(!y&&!C)for(;M--;M)b.unshift("..");y&&""!==b[0]&&(!b[0]||"/"!==b[0].charAt(0))&&b.unshift(""),w&&"/"!==b.join("/").substr(-1)&&b.push("");var k,S=""===b[0]||b[0]&&"/"===b[0].charAt(0);return O&&(n.hostname=n.host=S?"":b.length?b.shift():"",(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift())),(y=y||n.host&&b.length)&&!S&&b.unshift(""),b.length?n.pathname=b.join("/"):(n.pathname=null,n.path=null),(!o.isNull(n.pathname)||!o.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},53804:function(t){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},75545:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RawSha256=void 0;var i=n(54046),o=function(){function t(){this.state=Int32Array.from(i.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return t.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var e=0,n=t.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>i.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=t[e++],n--,this.bufferLength===i.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},t.prototype.digest=function(){if(!this.finished){var t=8*this.bytesHashed,e=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(e.setUint8(this.bufferLength++,128),n%i.BLOCK_SIZE>=i.BLOCK_SIZE-8){for(var o=this.bufferLength;o<i.BLOCK_SIZE;o++)e.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(o=this.bufferLength;o<i.BLOCK_SIZE-8;o++)e.setUint8(o,0);e.setUint32(i.BLOCK_SIZE-8,Math.floor(t/4294967296),!0),e.setUint32(i.BLOCK_SIZE-4,t),this.hashBuffer(),this.finished=!0}var r=new Uint8Array(i.DIGEST_LENGTH);for(o=0;o<8;o++)r[4*o]=this.state[o]>>>24&255,r[4*o+1]=this.state[o]>>>16&255,r[4*o+2]=this.state[o]>>>8&255,r[4*o+3]=this.state[o]>>>0&255;return r},t.prototype.hashBuffer=function(){for(var t=this.buffer,e=this.state,n=e[0],o=e[1],r=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7],d=0;d<i.BLOCK_SIZE;d++){if(d<16)this.temp[d]=(255&t[4*d])<<24|(255&t[4*d+1])<<16|(255&t[4*d+2])<<8|255&t[4*d+3];else{var h=this.temp[d-2];this.temp[d]=(((h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)+this.temp[d-7]|0)+((((h=this.temp[d-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+this.temp[d-16]|0)}var p=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&c^~s&l)|0)+(u+(i.KEY[d]+this.temp[d]|0)|0)|0,f=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&o^n&r^o&r)|0;u=l,l=c,c=s,s=a+p|0,a=r,r=o,o=n,n=p+f|0}e[0]+=n,e[1]+=o,e[2]+=r,e[3]+=a,e[4]+=s,e[5]+=c,e[6]+=l,e[7]+=u},t}();e.RawSha256=o},54046:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_HASHABLE_LENGTH=e.INIT=e.KEY=e.DIGEST_LENGTH=e.BLOCK_SIZE=void 0,e.BLOCK_SIZE=64,e.DIGEST_LENGTH=32,e.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
1734187,3204031479,3329325298]),e.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],e.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},43221:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,n(53933).__exportStar)(n(12008),e)},12008:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sha256=void 0;var i=n(53933),o=n(54046),r=n(75545),a=n(81826),s=function(){function t(t){if(this.hash=new r.RawSha256,t){this.outer=new r.RawSha256;var e=function(t){var e=(0,a.convertToBuffer)(t);if(e.byteLength>o.BLOCK_SIZE){var n=new r.RawSha256;n.update(e),e=n.digest()}var i=new Uint8Array(o.BLOCK_SIZE);return i.set(e),i}(t),n=new Uint8Array(o.BLOCK_SIZE);n.set(e);for(var i=0;i<o.BLOCK_SIZE;i++)e[i]^=54,n[i]^=92;for(this.hash.update(e),this.outer.update(n),i=0;i<e.byteLength;i++)e[i]=0}}return t.prototype.update=function(t){if(!(0,a.isEmptyData)(t)&&!this.error)try{this.hash.update((0,a.convertToBuffer)(t))}catch(e){this.error=e}},t.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},t.prototype.digest=function(){return(0,i.__awaiter)(this,void 0,void 0,function(){return(0,i.__generator)(this,function(t){return[2,this.digestSync()]})})},t}();e.Sha256=s},27110:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertToBuffer=void 0;var i=n(14952),o="undefined"!=typeof Buffer&&Buffer.from?function(t){return Buffer.from(t,"utf8")}:i.fromUtf8;e.convertToBuffer=function(t){return t instanceof Uint8Array?t:"string"==typeof t?o(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t)}},81826:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uint32ArrayFrom=e.numToUint8=e.isEmptyData=e.convertToBuffer=void 0;var i=n(27110);Object.defineProperty(e,"convertToBuffer",{enumerable:!0,get:function(){return i.convertToBuffer}});var o=n(92422);Object.defineProperty(e,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var r=n(5116);Object.defineProperty(e,"numToUint8",{enumerable:!0,get:function(){return r.numToUint8}});var a=n(3013);Object.defineProperty(e,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})},92422:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmptyData=void 0,e.isEmptyData=function(t){return"string"==typeof t?0===t.length:0===t.byteLength}},5116:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numToUint8=void 0,e.numToUint8=function(t){return new Uint8Array([(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t])}},3013:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uint32ArrayFrom=void 0,e.uint32ArrayFrom=function(t){if(!Array.from){for(var e=new Uint32Array(t.length);0<t.length;)e[0]=t[0];return e}return Uint32Array.from(t)}},14952:function(t,e,n){"use strict";n.r(e),n.d(e,{fromUtf8:function(){return i},toUtf8:function(){return o}});var i=function(t){return"function"==typeof TextEncoder?function(t){return(new TextEncoder).encode(t)}(t):function(t){for(var e=[],n=0,i=t.length;n<i;n++){var o=t.charCodeAt(n);if(o<128)e.push(o);else if(o<2048)e.push(o>>6|192,63&o|128);else if(n+1<t.length&&55296==(64512&o)&&56320==(64512&t.charCodeAt(n+1))){var r=65536+((1023&o)<<10)+(1023&t.charCodeAt(++n));e.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else e.push(o>>12|224,o>>6&63|128,63&o|128)}return Uint8Array.from(e)}(t)},o=function(t){return"function"==typeof TextDecoder?function(t){return new TextDecoder("utf-8").decode(t)}(t):function(t){for(var e="",n=0,i=t.length;n<i;n++){var o=t[n];if(o<128)e+=String.fromCharCode(o);else if(192<=o&&o<224){var r=t[++n];e+=String.fromCharCode((31&o)<<6|63&r)}else if(240<=o&&o<365){var a="%"+[o,t[++n],t[++n],t[++n]].map(function(t){return t.toString(16)}).join("%");e+=decodeURIComponent(a)}else e+=String.fromCharCode((15&o)<<12|(63&t[++n])<<6|63&t[++n])}return e}(t)}},93572:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{FT:function(){return StoreDevtoolsModule}});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(37716),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(86710),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(59193),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39897),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(25917),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(66682),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(57771),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(88229),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(78345),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(45435),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(88002),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(94612),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(60134),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(54395),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(5304),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(15257),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(46782),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(43190),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(13653),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(59746),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(57057),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(42145),StoreDevtoolsConfig=_createClass(function t(){_classCallCheck(this,t),this.maxAge=!1}),STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}var DEFAULT_NAME="NgRx Store DevTools";function createConfig(t){var e={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},n="function"==typeof t?t():t,i=Object.assign({},e,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||e.features},n);if(i.maxAge&&i.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got ".concat(i.maxAge));return i}var PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING",PerformAction=_createClass(function t(e,n){if(_classCallCheck(this,t),this.action=e,this.timestamp=n,this.type=PERFORM_ACTION,void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}
1),Refresh=_createClass(function t(){_classCallCheck(this,t),this.type=REFRESH}),Reset=_createClass(function t(e){_classCallCheck(this,t),this.timestamp=e,this.type=RESET}),Rollback=_createClass(function t(e){_classCallCheck(this,t),this.timestamp=e,this.type=ROLLBACK}),Commit=_createClass(function t(e){_classCallCheck(this,t),this.timestamp=e,this.type=COMMIT}),Sweep=_createClass(function t(){_classCallCheck(this,t),this.type=SWEEP}),ToggleAction=_createClass(function t(e){_classCallCheck(this,t),this.id=e,this.type=TOGGLE_ACTION}),SetActionsActive=_createClass(function t(e,n){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,t),this.start=e,this.end=n,this.active=i,this.type=SET_ACTIONS_ACTIVE}),JumpToState=_createClass(function t(e){_classCallCheck(this,t),this.index=e,this.type=JUMP_TO_STATE}),JumpToAction=_createClass(function t(e){_classCallCheck(this,t),this.actionId=e,this.type=JUMP_TO_ACTION}),ImportState=_createClass(function t(e){_classCallCheck(this,t),this.nextLiftedState=e,this.type=IMPORT_STATE}),LockChanges=_createClass(function t(e){_classCallCheck(this,t),this.status=e,this.type=LOCK_CHANGES}),PauseRecording=_createClass(function t(e){_classCallCheck(this,t),this.status=e,this.type=PAUSE_RECORDING}),DevtoolsDispatcher=(V=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),V.\u0275fac=function(t){return(F||(F=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(V)))(t||V)},V.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:V,factory:V.\u0275fac}),V),F,V;function difference(t,e){return t.filter(function(t){return e.indexOf(t)<0})}function unliftState(t){var e=t.computedStates,n=t.currentStateIndex;return n>=e.length?e[e.length-1].state:e[n].state}function unliftAction(t){return t.actionsById[t.nextActionId-1]}function liftAction(t){return new PerformAction(t,+Date.now())}function sanitizeActions(t,e){return Object.keys(e).reduce(function(n,i){var o=Number(i);return n[o]=sanitizeAction(t,e[o],o),n},{})}function sanitizeAction(t,e,n){return Object.assign(Object.assign({},e),{action:t(e.action,n)})}function sanitizeStates(t,e){return e.map(function(e,n){return{state:sanitizeState(t,e.state,n),error:e.error}})}function sanitizeState(t,e,n){return t(e,n)}function shouldFilterActions(t){return t.predicate||t.actionsSafelist||t.actionsBlocklist}function filterLiftedState(t,e,n,i){var o=[],r={},a=[];return t.stagedActionIds.forEach(function(s,c){var l=t.actionsById[s];!l||c&&isActionFiltered(t.computedStates[c],l,e,n,i)||(r[s]=l,o.push(s),a.push(t.computedStates[c]))}),Object.assign(Object.assign({},t),{stagedActionIds:o,actionsById:r,computedStates:a})}function isActionFiltered(t,e,n,i,o){var r=n&&!n(t,e.action),a=i&&!e.action.type.match(i.map(function(t){return escapeRegExp(t)}).join("|")),s=o&&e.action.type.match(o.map(function(t){return escapeRegExp(t)}).join("|"));return r||a||s}function escapeRegExp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension"),DevtoolsExtension=function(){var DevtoolsExtension=function(){function DevtoolsExtension(t,e,n){_classCallCheck(this,DevtoolsExtension),this.config=e,this.dispatcher=n,this.devtoolsExtension=t,this.createActionStreams()}return _createClass(DevtoolsExtension,[{key:"notify",value:function(t,e){var n=this;if(this.devtoolsExtension)if(t.type===PERFORM_ACTION){if(e.isLocked||e.isPaused)return;var i=unliftState(e);if(shouldFilterActions(this.config)&&isActionFiltered(i,t,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;var o=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,i,e.currentStateIndex):i,r=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,t,e.nextActionId):t;this.sendToReduxDevtools(function(){return n.extensionConnection.send(r,o)})}else{var a=Object.assign(Object.assign({},e),{stagedActionIds:e.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,e.actionsById):e.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,e.computedStates):e.computedStates});this.sendToReduxDevtools(function(){return n.devtoolsExtension.send(null,a,n.getExtensionConfig(n.config))})}}},{key:"createChangesObservable",value:function(){var t=this;return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(function(e){var n=t.devtoolsExtension.connect(t.getExtensionConfig(t.config));return t.extensionConnection=n,n.init(),n.subscribe(function(t){return e.next(t)}),n.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}}
1,{key:"createActionStreams",value:function(){var t=this,e=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),n=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(function(t){return t.type===ExtensionActionTypes.START})),i=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(function(t){return t.type===ExtensionActionTypes.STOP})),o=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(function(t){return t.type===ExtensionActionTypes.DISPATCH}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(function(e){return t.unwrapAction(e.payload)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(function(e){return e.type===IMPORT_STATE?t.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(function(t){return t.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(function(){return e}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(function(){return(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(e)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(e)})),r=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(function(t){return t.type===ExtensionActionTypes.ACTION}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(function(e){return t.unwrapAction(e.payload)})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(i)),a=o.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(i));this.start$=n.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(i)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(function(){return r})),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(function(){return a}))}},{key:"unwrapAction",value:function unwrapAction(action){return"string"==typeof action?eval("(".concat(action,")")):action}},{key:"getExtensionConfig",value:function(t){var e,n={name:t.name,features:t.features,serialize:t.serialize,autoPause:null!==(e=t.autoPause)&&void 0!==e&&e};return!1!==t.maxAge&&(n.maxAge=t.maxAge),n}},{key:"sendToReduxDevtools",value:function(t){try{t()}catch(F){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",F)}}}]),DevtoolsExtension}();return DevtoolsExtension.\u0275fac=function(t){return new(t||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension}(),INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(t,e,n,i,o){if(i)return{state:n,error:"Interrupted by an error up the chain"};var r,a=n;try{a=t(n,e)}catch(s){r=s.toString(),o.handleError(s)}return{state:a,error:r}}function recomputeStates(t,e,n,i,o,r,a,s,c){if(e>=t.length&&t.length===r.length)return t;for(var l=t.slice(0,e),u=r.length-(c?1:0),d=e;d<u;d++){var h=r[d],p=o[h].action,f=l[d-1],g=f?f.state:i,_=f?f.error:void 0,m=a.indexOf(h)>-1?f:computeNextEntry(n,p,g,_,s);l.push(m)}return c&&l.push(t[t.length-1]),l}function liftInitialState(t,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return function(r){return function(a,s){var c=a||e,l=c.monitorState,u=c.actionsById,d=c.nextActionId,h=c.stagedActionIds,p=c.skippedActionIds,f=c.committedState,g=c.currentStateIndex,_=c.computedStates,m=c.isLocked,v=c.isPaused;function y(t){for(var e=t,n=h.slice(1,e+1),i=0;i<n.length;i++){if(_[i+1].error){e=i,n=h.slice(1,e+1);break}delete u[n[i]]}p=p.filter(function(t){return-1===n.indexOf(t)}),h=[0].concat(_toConsumableArray(h.slice(e+1))),f=_[e].state,_=_.slice(e),g=g>e?g-e:0}function C(){u={0:liftAction(INIT_ACTION)},d=1,h=[0],p=[],f=_[g].state,g=0,_=[]}a||(u=Object.create(u));var b=0;switch(s.type){case LOCK_CHANGES:m=s.status,b=1/0;break;case PAUSE_RECORDING:(v=s.status)?(h=[].concat(_toConsumableArray(h),[d]),u[d]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),d++,b=h.length-1,_=_.concat(_[_.length-1]),g===h.length-2&&g++,b=1/0):C();break;case RESET:u={0:liftAction(INIT_ACTION)},d=1,h=[0],p=[],f=t,g=0,_=[];break;case COMMIT:C();break;case ROLLBACK:u={0:liftAction(INIT_ACTION)},d=1,h=[0],p=[],g=0,_=[];break;case TOGGLE_ACTION:var O=s.id;p=-1===p.indexOf(O)?[O].concat(_toConsumableArray(p)):p.filter(function(t){return t!==O}),b=h.indexOf(O);break;case SET_ACTIONS_ACTIVE:for(var P=s.start,w=s.end,M=s.active,x=[],k=P;k<w;k++)x.push(k);p=M?difference(p,x):[].concat(_toConsumableArray(p),x),b=h.indexOf(P);break;case JUMP_TO_STATE:g=s.index,b=1/0;break;case JUMP_TO_ACTION:var S=h.indexOf(s.actionId);-1!==S&&(g=S),b=1/0;break;case SWEEP:h=difference(h,p),p=[],g=Math.min(g,h.length-1);break;case PERFORM_ACTION:if(m)return a||e;if(v||a&&isActionFiltered(a.computedStates[g],s,o.predicate,o.actionsSafelist,o.actionsBlocklist)){var A=_[_.length-1];_=[].concat(_toConsumableArray(_.slice(0,-1)),[computeNextEntry(r,s.action,A.state,A.error,n)]),b=1/0;break}o.maxAge&&h.length===o.maxAge&&y(1),g===h.length-1&&g++;var T=d++;u[T]=s,b=(h=[].concat(_toConsumableArray(h),[T])).length-1;break;case IMPORT_STATE:var I=s.nextLiftedState;l=I.monitorState,u=I.actionsById,d=I.nextActionId,h=I.stagedActionIds,p=I.skippedActionIds,f=I.committedState,g=I.currentStateIndex,_=I.computedStates,m=
1I.isLocked,v=I.isPaused;break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:b=0,o.maxAge&&h.length>o.maxAge&&(_=recomputeStates(_,b,r,f,u,h,p,n,v),y(h.length-o.maxAge),b=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(_.filter(function(t){return t.error}).length>0)b=0,o.maxAge&&h.length>o.maxAge&&(_=recomputeStates(_,b,r,f,u,h,p,n,v),y(h.length-o.maxAge),b=1/0);else{if(!v&&!m){g===h.length-1&&g++;var E=d++;u[E]=new PerformAction(s,+Date.now()),b=(h=[].concat(_toConsumableArray(h),[E])).length-1,_=recomputeStates(_,b,r,f,u,h,p,n,v)}_=_.map(function(t){return Object.assign(Object.assign({},t),{state:r(t.state,RECOMPUTE_ACTION)})}),g=h.length-1,o.maxAge&&h.length>o.maxAge&&y(h.length-o.maxAge),b=1/0}break;default:b=1/0}return _=recomputeStates(_,b,r,f,u,h,p,n,v),{monitorState:l=i(l,s),actionsById:u,nextActionId:d,stagedActionIds:h,skippedActionIds:p,committedState:f,currentStateIndex:g,computedStates:_,isLocked:m,isPaused:v}}}}var StoreDevtools=function(){var t=function(){function t(e,n,i,o,r,a,s,c){var l=this;_classCallCheck(this,t);var u=liftInitialState(s,c.monitor),d=liftReducerWith(s,u,a,c.monitor,c),h=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(n.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),o.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),e,o.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.QV)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),p=i.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(d)),f=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),g=h.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(p),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(function(t,e){var n=t.state,i=_slicedToArray(e,2),r=i[0],a=(0,i[1])(n,r);return r.type!==PERFORM_ACTION&&shouldFilterActions(c)&&(a=filterLiftedState(a,c.predicate,c.actionsSafelist,c.actionsBlocklist)),o.notify(r,a),{state:a,action:r}},{state:u,action:null})).subscribe(function(t){var e=t.state,n=t.action;f.next(e),n.type===PERFORM_ACTION&&r.next(n.action)}),_=o.start$.subscribe(function(){l.refresh()}),m=f.asObservable(),v=m.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=_,this.stateSubscription=g,this.dispatcher=e,this.liftedState=m,this.state=v}return _createClass(t,[{key:"dispatch",value:function(t){this.dispatcher.next(t)}},{key:"next",value:function(t){this.dispatcher.next(t)}},{key:"error",value:function(t){}},{key:"complete",value:function(){}},{key:"performAction",value:function(t){this.dispatch(new PerformAction(t,+Date.now()))}},{key:"refresh",value:function(){this.dispatch(new Refresh)}},{key:"reset",value:function(){this.dispatch(new Reset(+Date.now()))}},{key:"rollback",value:function(){this.dispatch(new Rollback(+Date.now()))}},{key:"commit",value:function(){this.dispatch(new Commit(+Date.now()))}},{key:"sweep",value:function(){this.dispatch(new Sweep)}},{key:"toggleAction",value:function(t){this.dispatch(new ToggleAction(t))}},{key:"jumpToAction",value:function(t){this.dispatch(new JumpToAction(t))}},{key:"jumpToState",value:function(t){this.dispatch(new JumpToState(t))}},{key:"importState",value:function(t){this.dispatch(new ImportState(t))}},{key:"lockChanges",value:function(t){this.dispatch(new LockChanges(t))}},{key:"pauseRecording",value:function(t){this.dispatch(new PauseRecording(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t}
1(),IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(t,e){return Boolean(t)||e.monitor!==noMonitor}function createReduxDevtoolsExtension(){var t="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&void 0!==window[t]?window[t]:null}function createStateObservable(t){return t.state}var StoreDevtoolsModule=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"instrument",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:e},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:t}),t.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),t}()},86710:function(t,e,n){"use strict";n.d(e,{hg:function(){return j},UO:function(){return C},qg:function(){return y},Y6:function(){return w},mK:function(){return H},n$:function(){return G},Y$:function(){return K},FR:function(){return $},yh:function(){return it},CK:function(){return It},Aw:function(){return Et},cr:function(){return Tt},wb:function(){return J},qC:function(){return B},PH:function(){return g},Lq:function(){return Vt},P1:function(){return _t},rM:function(){return ht},on:function(){return Ut},Ky:function(){return _},Ys:function(){return rt}});var i=n(37716),o=n(26215),r=n(39897),a=n(79765),s=n(57771),c=n(59746),l=n(57057),u=n(42145),d=n(92996),h=n(88002),p=n(87519),f={};function g(t,e){if(f[t]=(f[t]||0)+1,"function"==typeof e)return m(t,function(){return Object.assign(Object.assign({},e.apply(void 0,arguments)),{type:t})});switch(e?e._as:"empty"){case"empty":return m(t,function(){return{type:t}});case"props":return m(t,function(e){return Object.assign(Object.assign({},e),{type:t})});default:throw new Error("Unexpected config.")}}function _(){return{_as:"props",_p:void 0}}function m(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}var v,y="@ngrx/store/init",C=((v=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,[{type:y}])}return _inherits(e,t),_createClass(e,[{key:"next",value:function(t){if("function"==typeof t)throw new TypeError("\n        Dispatch expected an object, instead it received a function.\n        If you're using the createAction function, make sure to invoke the function\n        before dispatching the action. For example, someAction should be someAction().");if(void 0===t)throw new TypeError("Actions must be objects");if(void 0===t.type)throw new TypeError("Actions must have a type property");_get(_getPrototypeOf(e.prototype),"next",this).call(this,t)}},{key:"complete",value:function(){}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(e.prototype),"complete",this).call(this)}}]),e}(o.X)).\u0275fac=function(t){return new(t||v)},v.\u0275prov=i.Yz7({token:v,factory:v.\u0275fac}),v),b=[C],O=new i.OlP("@ngrx/store Internal Root Guard"),P=new i.OlP("@ngrx/store Internal Initial State"),w=new i.OlP("@ngrx/store Initial State"),M=new i.OlP("@ngrx/store Reducer Factory"),x=new i.OlP("@ngrx/store Internal Reducer Factory Provider"),k=new i.OlP("@ngrx/store Initial Reducers"),S=new i.OlP("@ngrx/store Internal Initial Reducers"),A=new i.OlP("@ngrx/store Store Features"),T=new i.OlP("@ngrx/store Internal Store Reducers"),I=new i.OlP("@ngrx/store Internal Feature Reducers"),E=new i.OlP("@ngrx/store Internal Feature Configs"),D=new i.OlP("@ngrx/store Internal Store Features"),R=new i.OlP("@ngrx/store Internal Feature Reducers Token"),F=new i.OlP("@ngrx/store Feature Reducers"),L=new i.OlP("@ngrx/store User Provided Meta Reducers"),Z=new i.OlP("@ngrx/store Meta Reducers"),N=new i.OlP("@ngrx/store Internal Resolved Meta Reducers"),U=new i.OlP("@ngrx/store User Runtime Checks Config"),V=new i.OlP("@ngrx/store Internal User Runtime Checks Config"),j=new i.OlP("@ngrx/store Internal Runtime Checks"),z=new i.OlP("@ngrx/store Check if Action types are unique");function q(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.keys(t),i={},o=0;o<n.length;o++){var r=n[o];"function"==typeof t[r]&&(i[r]=t[r])}var a=Object.keys(i);return function(t,n){t=void 0===t?e:t;for(var o=!1,r={},s=0;s<a.length;s++){var c=a[s],l=t[c],u=(0,i[c])(l,n);r[c]=u,o=o||u!==l}return o?r:t}}function B(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){if(0===e.length)return t;var n=e[e.length-1];return e.slice(0,-1).reduceRight(function(t,e){return e(t)},n(t))}}function Y(t,e){return Array.isArray(e)&&e.length>0&&(t=B.apply(null,[].concat(_toConsumableArray(e),[t]))),function(e,n){var i=t(e);return function(t,e){return i(t=void 0===t?n:t,e)}}}var G=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(r.y),H=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(C),J="@ngrx/store/update-reducers",W=function(){var t=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[o(i,n)])).dispatcher=t,r.initialState=n,r.reducers=i,r.reducerFactory=o,r}return _inherits(e,t),_createClass(e,[{key:"currentReducers",get:function(){return this.reducers}},{key:"addFeature",value:function(t){this.addFeatures([t])}},{key:"addFeatures",value:function(t){var e=t.reduce(function(t,e){var n=e.reducers,i=e.reducerFactory,o=e.metaReducers,r
1=e.initialState,a=e.key,s="function"==typeof n?function(t){var e=Array.isArray(t)&&t.length>0?B.apply(void 0,_toConsumableArray(t)):function(t){return t};return function(t,n){return t=e(t),function(e,i){return t(e=void 0===e?n:e,i)}}}(o)(n,r):Y(i,o)(n,r);return t[a]=s,t},{});this.addReducers(e)}},{key:"removeFeature",value:function(t){this.removeFeatures([t])}},{key:"removeFeatures",value:function(t){this.removeReducers(t.map(function(t){return t.key}))}},{key:"addReducer",value:function(t,e){this.addReducers(_defineProperty({},t,e))}},{key:"addReducers",value:function(t){this.reducers=Object.assign(Object.assign({},this.reducers),t),this.updateReducers(Object.keys(t))}},{key:"removeReducer",value:function(t){this.removeReducers([t])}},{key:"removeReducers",value:function(t){var e=this;t.forEach(function(t){e.reducers=function(t,e){return Object.keys(t).filter(function(t){return t!==e}).reduce(function(e,n){return Object.assign(e,_defineProperty({},n,t[n]))},{})}(e.reducers,t)}),this.updateReducers(t)}},{key:"updateReducers",value:function(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:J,features:t})}},{key:"ngOnDestroy",value:function(){this.complete()}}]),e}(o.X);return t.\u0275fac=function(e){return new(e||t)(i.LFG(H),i.LFG(w),i.LFG(k),i.LFG(M))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),Q=[W,{provide:G,useExisting:W},{provide:H,useExisting:C}],K=function(){var t,e=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"ngOnDestroy",value:function(){this.complete()}}]),e}(a.xQ);return e.\u0275fac=function(n){return(t||(t=i.n5z(e)))(n||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),X=[K],$=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(r.y),tt=function(){var t=function(t){function e(t,n,i,o){var r;_classCallCheck(this,e),r=_callSuper(this,e,[o]);var a=t.pipe((0,c.QV)(s.N)).pipe((0,l.M)(n)).pipe((0,u.R)(et,{state:o}));return r.stateSubscription=a.subscribe(function(t){var e=t.state,n=t.action;r.next(e),i.next(n)}),r}return _inherits(e,t),_createClass(e,[{key:"ngOnDestroy",value:function(){this.stateSubscription.unsubscribe(),this.complete()}}]),e}(o.X);return t.\u0275fac=function(e){return new(e||t)(i.LFG(C),i.LFG(G),i.LFG(K),i.LFG(w))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t.INIT=y,t}();function et(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{state:void 0},e=arguments.length>1?arguments[1]:void 0,n=_slicedToArray(e,2),i=n[0],o=n[1],r=t.state;return{state:o(r,i),action:i}}var nt=[tt,{provide:$,useExisting:tt}],it=function(){var t=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e)).actionsObserver=n,o.reducerManager=i,o.source=t,o}return _inherits(e,t),_createClass(e,[{key:"select",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return rt.call.apply(rt,[null,t].concat(n))(this)}},{key:"lift",value:function(t){var n=new e(this,this.actionsObserver,this.reducerManager);return n.operator=t,n}},{key:"dispatch",value:function(t){this.actionsObserver.next(t)}},{key:"next",value:function(t){this.actionsObserver.next(t)}},{key:"error",value:function(t){this.actionsObserver.error(t)}},{key:"complete",value:function(){this.actionsObserver.complete()}},{key:"addReducer",value:function(t,e){this.reducerManager.addReducer(t,e)}},{key:"removeReducer",value:function(t){this.reducerManager.removeReducer(t)}}]),e}(r.y);return t.\u0275fac=function(e){return new(e||t)(i.LFG($),i.LFG(C),i.LFG(W))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),ot=[it];function rt(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];return function(n){var o;if("string"==typeof t){var r=[e].concat(i).filter(Boolean);o=n.pipe(d.j.apply(void 0,[t].concat(_toConsumableArray(r))))}else{if("function"!=typeof t)throw new TypeError("Unexpected type '".concat(typeof t,"' in select operator, expected 'string' or 'function'"));o=n.pipe((0,h.U)(function(n){return t(n,e)}))}
1return o.pipe((0,p.x)())}}var at="https://ngrx.io/guide/store/configuration/runtime-checks";function st(t){return void 0===t}function ct(t){return null===t}function lt(t){return Array.isArray(t)}function ut(t){return"object"==typeof t&&null!==t}function dt(t){return"function"==typeof t}function ht(){return!1}function pt(t,e){return t===e}function ft(t,e,n){for(var i=0;i<t.length;i++)if(!n(t[i],e[i]))return!0;return!1}function gt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pt,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pt,o=null,r=null;return{memoized:function(){if(void 0!==e)return e.result;if(!o)return r=t.apply(null,arguments),o=arguments,r;if(!ft(arguments,o,n))return r;var a=t.apply(null,arguments);return o=arguments,i(r,a)?r:(r=a,a)},reset:function(){o=null,r=null},setResult:function(t){e={result:t}},clearResult:function(){e=void 0}}}function _t(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{stateFn:mt};return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var r=i;if(Array.isArray(r[0])){var a=r,s=_toArray(a),c=s[0],l=s.slice(1);r=[].concat(_toConsumableArray(c),_toConsumableArray(l))}var u=r.slice(0,r.length-1),d=r[r.length-1],h=u.filter(function(t){return t.release&&"function"==typeof t.release}),p=t(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return d.apply(null,e)}),f=gt(function(t,n){return e.stateFn.apply(null,[t,u,n,p])});return Object.assign(f.memoized,{release:function(){f.reset(),p.reset(),h.forEach(function(t){return t.release()})},projector:p.memoized,setResult:f.setResult,clearResult:f.clearResult})}}(gt).apply(void 0,arguments)}function mt(t,e,n,i){if(void 0===n){var o=e.map(function(e){return e(t)});return i.memoized.apply(null,o)}var r=e.map(function(e){return e(t,n)});return i.memoized.apply(null,[].concat(_toConsumableArray(r),[n]))}function vt(t){Object.freeze(t);var e=dt(t);return Object.getOwnPropertyNames(t).forEach(function(n){if(!n.startsWith("\u0275")&&function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}(t,n)&&(!e||"caller"!==n&&"callee"!==n&&"arguments"!==n)){var i=t[n];(ut(i)||dt(i))&&!Object.isFrozen(i)&&vt(i)}}),t}function yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(st(t)||ct(t))&&0===e.length?{path:["root"],value:t}:Object.keys(t).reduce(function(n,i){if(n)return n;var o=t[i];return function(t){return dt(t)&&t.hasOwnProperty("\u0275cmp")}(o)?n:!(st(o)||ct(o)||function(t){return"number"==typeof t}(o)||function(t){return"boolean"==typeof t}(o)||function(t){return"string"==typeof t}(o)||lt(o))&&(function(t){if(!function(t){return ut(t)&&!lt(t)}(t))return!1;var e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}(o)?yt(o,[].concat(_toConsumableArray(e),[i])):{path:[].concat(_toConsumableArray(e),[i]),value:o})},!1)}function Ct(t,e){if(!1!==t){var n=t.path.join("."),i=new Error("Detected unserializable ".concat(e,' at "').concat(n,'". ').concat(at,"#strict").concat(e,"serializability"));throw i.value=t.value,i.unserializablePath=n,i}}function bt(t){return(0,i.X6Q)()?Object.assign({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Ot(t){var e=t.strictActionSerializability,n=t.strictStateSerializability;return function(t){return e||n?function(t,e){return function(n,i){e.action(i)&&Ct(yt(i),"action");var o=t(n,i);return e.state()&&Ct(yt(o),"state"),o}}(t,{action:function(t){return e&&!wt(t)},state:function(){return n}}):t}}function Pt(t){var e=t.strictActionImmutability,n=t.strictStateImmutability;return function(t){return e||n?function(t,e){return function(n,i){var o=e.action(i)?vt(i):i,r=t(n,o);return e.state()?vt(r):r}}(t,{action:function(t){return e&&!wt(t)},state:function(){return n}}):t}}function wt(t){return t.type.startsWith("@ngrx")}function Mt(t){var e=t.strictActionWithinNgZone;return function(t){return e?function(t,e){return function(n,o){if(e.action(o)&&!i.R0b.isInAngularZone())throw new Error("Action '".concat(o.type,"' running outside NgZone. ").concat(at,"#strictactionwithinngzone"));return t(n,o)}}(t,{action:function(t){return e&&!wt(t)}
1}):t}}function xt(t){return[{provide:V,useValue:t},{provide:U,useFactory:St,deps:[V]},{provide:j,deps:[U],useFactory:bt},{provide:Z,multi:!0,deps:[j],useFactory:Pt},{provide:Z,multi:!0,deps:[j],useFactory:Ot},{provide:Z,multi:!0,deps:[j],useFactory:Mt}]}function kt(){return[{provide:z,multi:!0,deps:[j],useFactory:At}]}function St(t){return t}function At(t){if(t.strictActionTypeUniqueness){var e=Object.entries(f).filter(function(t){return _slicedToArray(t,2)[1]>1}).map(function(t){return _slicedToArray(t,1)[0]});if(e.length)throw new Error("Action types are registered more than once, ".concat(e.map(function(t){return'"'.concat(t,'"')}).join(", "),". ").concat(at,"#strictactiontypeuniqueness"))}}var Tt=function(){var t=_createClass(function t(e,n,i,o,r,a){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)(i.LFG(C),i.LFG(G),i.LFG(K),i.LFG(it),i.LFG(O,8),i.LFG(z,8))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}(),It=function(){var t=function(){function t(e,n,i,o,r){_classCallCheck(this,t),this.features=e,this.featureReducers=n,this.reducerManager=i;var a=e.map(function(t,e){var i=n.shift()[e];return Object.assign(Object.assign({},t),{reducers:i,initialState:Lt(t.initialState)})});i.addFeatures(a)}return _createClass(t,[{key:"ngOnDestroy",value:function(){this.reducerManager.removeFeatures(this.features)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(D),i.LFG(F),i.LFG(W),i.LFG(Tt),i.LFG(z,8))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}(),Et=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"forRoot",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{ngModule:Tt,providers:[{provide:O,useFactory:Nt,deps:[[it,new i.FiY,new i.tp0]]},{provide:P,useValue:e.initialState},{provide:w,useFactory:Lt,deps:[P]},{provide:S,useValue:t},{provide:T,useExisting:t instanceof i.OlP?t:S},{provide:k,deps:[i.zs3,S,[new i.tBr(T)]],useFactory:Dt},{provide:L,useValue:e.metaReducers?e.metaReducers:[]},{provide:N,deps:[Z,L],useFactory:Zt},{provide:x,useValue:e.reducerFactory?e.reducerFactory:q},{provide:M,deps:[x,N],useFactory:Y},b,Q,X,nt,ot,xt(e.runtimeChecks),kt()]}}},{key:"forFeature",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{ngModule:It,providers:[{provide:E,multi:!0,useValue:t instanceof Object?{}:n},{provide:A,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:n instanceof i.OlP||!n.reducerFactory?q:n.reducerFactory,metaReducers:n instanceof i.OlP||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof i.OlP||!n.initialState?void 0:n.initialState}},{provide:D,deps:[i.zs3,E,A],useFactory:Rt},{provide:I,multi:!0,useValue:t instanceof Object?t.reducer:e},{provide:R,multi:!0,useExisting:e instanceof i.OlP?e:I},{provide:F,multi:!0,deps:[i.zs3,I,[new i.tBr(R)]],useFactory:Ft},kt()]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}();function Dt(t,e){return e instanceof i.OlP?t.get(e):e}function Rt(t,e,n){return n.map(function(n,o){if(e[o]instanceof i.OlP){var r=t.get(e[o]);return{key:n.key,reducerFactory:r.reducerFactory?r.reducerFactory:q,metaReducers:r.metaReducers?r.metaReducers:[],initialState:r.initialState}}return n})}function Ft(t,e){return e.map(function(e){return e instanceof i.OlP?t.get(e):e})}function Lt(t){return"function"==typeof t?t():t}function Zt(t,e){return t.concat(e)}function Nt(t){if(t)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature() instead.");return"guarded"}function Ut(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return{reducer:e.pop(),types:e.map(function(t){return t.type})}}function Vt(t){for(var e=new Map,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];for(var r=function(){var t,n=s[a],i=_createForOfIteratorHelper(n.types);try{var o=function(){var i=t.value,o=e.get(i);e.set(i,o?function(t,e){return n.reducer(o(t,e),e)}:n.reducer)};for(i.s();!(t=i.n()).done;)o()}catch(r){i.e(r)}finally{i.f()}},a=0,s=i;a<s.length;a++)r();return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,i=arguments.length>1?arguments[1]:void 0,o=e.get(i.type);return o?o(n,i):n}}},61147:function(t,e,n){"use strict";var i=n(96434),o=n(12658),r=n(75105);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return l(this,t,e,n)}function l(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=h(t,e),t}(t,e,n,i):"string"==typeof e?function(t,e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|f(e,n),o=(t=s(t,i)).write(e,n);
vendor: 18,913 bytes, line 1
1return o!==i&&(t=t.slice(0,o)),t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|p(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||function(t){return t!=t}(e.length)?s(t,0):h(t,e);if("Buffer"===e.type&&r(e.data))return h(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(u(e),t=s(t,e<0?0:0|p(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|p(e.length);t=s(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function p(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function f(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(t).length;default:if(i)return V(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,n);case"utf8":case"utf-8":return x(this,e,n);case"ascii":return k(this,e,n);case"latin1":case"binary":return S(this,e,n);case"base64":return M(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function _(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function m(t,e,n,i,o){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:v(t,e,n,i,o);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,i,o);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,i,o){var r,a=1,s=t.length,c=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var u=-1;for(r=n;r<s;r++)if(l(t,r)===l(e,-1===u?0:r-u)){if(-1===u&&(u=r),r-u+1===c)return u*a}else-1!==u&&(r-=r-u),u=-1}else for(n+c>s&&(n=s-c),r=n;r>=0;r--){for(var d=!0,h=0;h<c;h++)if(l(t,r+h)!==l(e,h)){d=!1;break}if(d)return r}return-1}function y(t,e,n,i){n=Number(n)||0;var o=t.length-n;i?(i=Number(i))>o&&(i=o):i=o;var r=e.length;if(r%2!=0)throw new TypeError("Invalid hex string");i>r/2&&(i=r/2);for(var a=0;a<i;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function C(t,e,n,i){return z(V(e,t.length-n),t,n,i)}function b(t,e,n,i){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,i)}function O(t,e,n,i){return b(t,e,n,i)}function P(t,e,n,i){return z(j(e),t,n,i)}function w(t,e,n,i){return z(function(t,e){for(var n,i,o=[],r=0;r<t.length&&!((e-=2)<0);++r)i=(n=t.charCodeAt(r))>>8,o.push(n%256),o.push(i);return o}(e,t.length-n),t,n,i)}function M(t,e,n){return i.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function x(t,e,n){n=Math.min(t.length,n);for(var i=[],o=e;o<n;){var r,a,s,c,l=t[o],u=null,d=l>239?4:l>223?3:l>191?2:1;if(o+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(r=t[o+1]))&&(c=(31&l)<<6|63&r)>127&&(u=c);break;case 3:a=t[o+2],128==(192&(r=t[o+1]))&&128==(192&a)&&(c=(15&l)<<12|(63&r)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:a=t[o+2],s=t[o+3],128==(192&(r=t[o+1]))&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&r)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(i.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=d}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",i=0;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=4096));return n}(i)}function k(t,e,n){var i="";n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(127&t[o]);return i}function S(t,e,n){var i="";n=Math.min(t.length,n);for(var o=e;o<n;++o)i+=String.fromCharCode(t[o]);return i}function A(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var o="",r=e;r<n;++r)o+=U(t[r]);return o}function T(t,e,n){for(var i=t.slice(e,n),o="",r=0;r<i.length;r+=2)o+=String.fromCharCode(i[r]+256*i[r+1]);return o}function I(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function E(t,e,n,i,o,r){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<r)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function D(t,e,n,i){e<0&&(e=65535+e+1);for(var o=0,r=Math.min(t.length-n,2);o<r;++o)t[n+o]=(e&255<<8*(i?o:1-o))>>>8*(i?o:1-o)}function R(t,e,n,i){e<0&&(e=4294967295+e+1);for(var o=0,r=Math.min(t.length-n,4);o<r;++o)t[n+o]=e>>>8*(i?o:3-o)&255}function F(t,e,n,i,o,r){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(t,e,n,i,r){return r||F(t,0,n,4),o.write(t,e,n,i,23,4),n+4}function Z(t,e,n,i,r){return r||F(t,0,n,8),o.write(t,e,n,i,52,8),n+8}e.lW=c,e.h2=50,c.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return l(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,i){return u(e),e<=0?s(t,e):void 0!==n?"string"==typeof i?s(t,e).fill(n,i):s(t,e).fill(n):s(t,e)}(null,t,e,n)},c.allocUnsafe=function(t){return d(null,t)},c.allocUnsafeSlow=function(t){return d(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,o=0,r=Math.min(n,i);o<r;++o)if(t[o]!==e[o]){n=t[o],i=e[o];break}return n<i?-1:i<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!r(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=c.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var a=t[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},c.byteLength=f,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)_(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?x(this,0,t):g.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.h2;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,i,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),e<0||n>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var r=(o>>>=0)-(i>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(r,a),l=this.slice(i,o),u=t.slice(e,n),d=0;d<s;++d)if(l[d]!==u[d]){r=l[d],a=u[d];break}return r<a?-1:a<r?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return m(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return m(this,t,e,n,!1)},c.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var r=!1;;)switch(i){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return C(this,t,e,n);case"ascii":return b(this,t,e,n);case"latin1":case"binary":return O(this,t,e,n);case"base64":return P(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,t,e,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var o=e-t;n=new c(o,void 0);for(var r=0;r<o;++r)n[r]=this[r+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],o=1,r=0;++r<e&&(o*=256);)i+=this[t+r]*o;return i},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t+--e],o=1;e>0&&(o*=256);)i+=this[t+--e]*o;return i},c.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],o=1,r=0;++r<e&&(o*=256);)i+=this[t+r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=e,o=1,r=this[t+--i];i>0&&(o*=256);)r+=this[t+--i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||E(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,r=0;for(this[e]=255&t;++r<n&&(o*=256);)this[e+r]=t/o&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,i){t=+t,e|=0,n|=0,i||E(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,r=1;for(this[e+o]=255&t;--o>=0&&(r*=256);)this[e+o]=t/r&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*n-1);E(this,t,e,n,o-1,-o)}var r=0,a=1,s=0;for(this[e]=255&t;++r<n&&(a*=256);)t<0&&0===s&&0!==this[e+r-1]&&(s=1),this[e+r]=(t/a>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*n-1);E(this,t,e,n,o-1,-o)}var r=n-1,a=1,s=0;for(this[e+r]=255&t;--r>=0&&(a*=256);)t<0&&0===s&&0!==this[e+r+1]&&(s=1),this[e+r]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return Z(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return Z(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),!i&&0!==i&&(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n||0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var o,r=i-n;if(this===t&&n<e&&e<i)for(o=r-1;o>=0;--o)t[o+e]=this[o+n];else if(r<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<r;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+r),e);return r},c.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var r;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(r=e;r<n;++r)this[r]=t;else{var a=c.isBuffer(t)?t:V(new c(t,i).toString()),s=a.length;for(r=0;r<n-e;++r)this[r+e]=a[r%s]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function U(t){return t<16?"0"+t.toString(16):t.toString(16)}function V(t,e){e=e||1/0;for(var n,i=t.length,o=null,r=[],a=0;a<i;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&r.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;r.push(n)}else if(n<2048){if((e-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function j(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,i){for(var o=0;o<i&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}},96434:function(t,e){"use strict";e.byteLength=function(t){var e=c(t),n=e[1];return 3*(e[0]+n)/4-n},e.toByteArray=function(t){var e,n,r=c(t),a=r[0],s=r[1],l=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[u++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e),l},e.fromByteArray=function(t){for(var e,i=t.length,o=i%3,r=[],a=0,s=i-o;a<s;a+=16383)r.push(u(t,a,a+16383>
1s?s:a+16383));return 1===o?r.push(n[(e=t[i-1])>>2]+n[e<<4&63]+"=="):2===o&&r.push(n[(e=(t[i-2]<<8)+t[i-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),r.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=r.length;a<s;++a)n[a]=r[a],i[r.charCodeAt(a)]=a;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function u(t,e,n){for(var i=[],o=e;o<n;o+=3)i.push(l((t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2])));return i.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},82885:function(t,e){var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var r=typeof n;if("string"===r||"number"===r)t.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&t.push(a)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&t.push(s);else t.push(n.toString())}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0!==(n=(function(){return o}).apply(e,[]))&&(t.exports=n)}()},7281:function(t,e){"use strict";e.Q=function(t,e){if("string"!=typeof t)throw new TypeError("argument str must be a string");for(var i={},o=e||{},a=t.split(";"),s=o.decode||n,c=0;c<a.length;c++){var l=a[c],u=l.indexOf("=");if(!(u<0)){var d=l.substring(0,u).trim();if(null==i[d]){var h=l.substring(u+1,l.length).trim();'"'===h[0]&&(h=h.slice(1,-1)),i[d]=r(h,s)}}}return i},e.q=function(t,e,n){var r=n||{},a=r.encode||i;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!o.test(t))throw new TypeError("argument name is invalid");var s=a(e);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var c=t+"="+s;if(null!=r.maxAge){var l=r.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(r.domain){if(!o.test(r.domain))throw new TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!o.test(r.path))throw new TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invali
1d");c+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(c+="; HttpOnly"),r.secure&&(c+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return c};var n=decodeURIComponent,i=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function r(t,e){try{return e(t)}catch(n){return t}}},78333:function(t){"use strict";var e={single_source_shortest_paths:function(t,n,i){var o={},r={};r[n]=0;var a,s,c,l,u,d,h=e.PriorityQueue.make();for(h.push(n,0);!h.empty();)for(c in l=(a=h.pop()).cost,u=t[s=a.value]||{})u.hasOwnProperty(c)&&(d=l+u[c],(void 0===r[c]||r[c]>d)&&(r[c]=d,h.push(c,d),o[c]=s));if(void 0!==i&&void 0===r[i]){var p=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(p)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],i=e;i;)n.push(i),i=t[i];return n.reverse(),n},find_path:function(t,n,i){var o=e.single_source_shortest_paths(t,n,i);return e.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(t){var n,i=e.PriorityQueue,o={};for(n in t=t||{},i)i.hasOwnProperty(n)&&(o[n]=i[n]);return o.queue=[],o.sorter=t.sorter||i.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){this.queue.push({value:t,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=e},11522:function(t){"use strict";t.exports=function(t){for(var e=[],n=t.length,i=0;i<n;i++){var o=t.charCodeAt(i);if(o>=55296&&o<=56319&&n>i+1){var r=t.charCodeAt(i+1);r>=56320&&r<=57343&&(o=1024*(o-55296)+r-56320+65536,i+=1)}o<128?e.push(o):o<2048?(e.push(o>>6|192),e.push(63&o|128)):o<55296||o>=57344&&o<65536?(e.push(o>>12|224),e.push(o>>6&63|128),e.push(63&o|128)):o>=65536&&o<=1114111?(e.push(o>>18|240),e.push(o>>12&63|128),e.push(o>>6&63|128),e.push(63&o|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},12658:function(t,e){e.read=function(t,e,n,i,o){var r,a,s=8*o-i-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?o-1:0,h=n?-1:1,p=t[e+d];for(d+=h,r=p&(1<<-u)-1,p>>=-u,u+=s;u>0;r=256*r+t[e+d],d+=h,u-=8);for(a=r&(1<<-u)-1,r>>=-u,u+=i;u>0;a=256*a+t[e+d],d+=h,u-=8);if(0===r)r=1-l;else{if(r===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),r-=l}return(p?-1:1)*a*Math.pow(2,r-i)},e.write=function(t,e,n,i,o,r){var a,s,c,l=8*r-o-1,u=(1<<l)-1,d=u>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:r-1,f=i?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+d>=1?h/c:h*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(e*c-1)*Math.pow(2,o),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;t[n+p]=255&s,p+=f,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;t[n+p]=255&a,p+=f,a/=256,l-=8);t[n+p-f]|=128*g}},75105:function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},18143:function(t,e,n){t.exports=self.fetch||(self.fetch=n(76643).default||n(76643))},17530:function(t,e,n){var i,o,r;r=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent)}return function n(i){function o(){}function r(e,n,r){if("undefined"!=typeof document){"number"==typeof(r=t({path:"/"},o.defaults,r)).expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(l){}n=i.write?i.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in r)!r[c]||(s+="; "+c,!0!==r[c]&&(s+="="+r[c].split(";")[0]));return document.cookie=e+"="+n+s}}function a(t,n){if("undefined"!=typeof document){for(var o={},r=document.cookie?document.cookie.split("; "):[],a=0;a<r.length;a++){var s=r[a].split("="),c=s.slice(1).join("=");!n&&'"'===c.charAt(0)&&(c=c.slice(1,-1));try{var l=e(s[0]);if(c=(i.read||i)(c,l)||e(c),n)try{c=JSON.parse(c)}catch(u){}if(o[l]=c,t===l)break}catch(u){}}return t?o[t]:o}}return o.set=r,o.get=function(t){return a(t,!1)},o.getJSON=function(t){return a(t,!0)},o.remove=function(e,n){r(e,"",t(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}(function(){})},void 0!==(o="function"==typeof(i=r)?i.call(e,n,e,t):i)&&(t.exports=o),t.exports=r()},81235:function(t,e,n){var i=n(4153)(n(27038),"DataView");t.exports=i},41505:function(t,e,n){var i=n(59410),o=n(21143),r=n(604),a=n(80584),s=n(7792);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=r,c.prototype.has=a,c.prototype.set=s,t.exports=c},73545:function(t,e,n){var i=n(63391),o=n(68971),r=n(18858),a=n(13913),s=n(68944);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=r,c.prototype.has=a,c.prototype.set=s,t.exports=c},39046:function(t,e,n){var i=n(4153)(n(27038),"Map");t.exports=i},93177:function(t,e,n){var i=n(70536),o=n(61502),r=n(94960),a=n(61539),s=n(34138);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=r,c.prototype.has=a,c.prototype.set=s,t.exports=c},97129:function(t,e,n){var i=n(4153)(n(27038),"Promise");t.exports=i},74918:function(t,e,n){var i=n(4153)(n(27038),"Set");t.exports=i},48690:function(t,e,n){var i=n(93177),o=n(30365),r=n(58235);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=r,t.exports=a},33667:function(t,e,n){var i=n(73545),o=n(18034),r=n(37238),a=n(75887),s=n(81450),c=n(61386);function l(t){var e=this.__data__=new i(t);this.size=e.size}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,t.exports=l},57333:function(t,e,n){var i=n(27038);t.exports=i.Symbol},96820:function(t,e,n){var i=n(27038);t.exports=i.Uint8Array},54203:function(t,e,n){var i=n(4153)(n(27038),"WeakMap");t.exports=i},81638:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},11375:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,o=0,r=[];++n<i;){var a=t[n];e(a,n,t)&&(r[o++]=a)}return r}},71890:function(t,e,n){var i=n(48282),o=n(2952),r=n(81690),a=n(84444),s=n(20968),c=n(47679),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=r(t),u=!n&&o(t),d=!n&&!u&&a(t),h=!n&&!u&&!d&&c(t),p=n||u||d||h,f=p?i(t.length,String):[],g=f.length;for(var _ in t)(e||l.call(t,_))&&(!p||!("length"==_||d&&("offset"==_||"parent"==_)||h&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||s(_,g)))&&f.push(_);return f}},14992:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,o=Array(i);++n<i;)o[n]=e(t[n],n,t);return o}},94165:function(t){t.exports=function(t,e){for(var n=-1,i=e.length,o=t.length;++n<i;)t[o+n]=e[n];return t}},8141:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}},63530:function(t,e,n){var i=n(92007),o=n(71166);t.exports=function(t,e,n){(void 0!==n&&!o(t[e],n)||void 0===n&&!(e in t))&&i(t,e,n)}},23898:function(t,e,n){var i=n(92007),o=n(71166),r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];(!r.call(t,e)||!o(a,n)||void 0===n&&!(e in t))&&i(t,e,n)}},15758:function(t,e,n){var i=n(71166);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},92007:function(t,e,n){var i=n(20395);t.exports=function(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},60920:function(t,e,n){var i=n(53867),o=Object.create,r=function(){function t(){}return function(e){if(!i(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=r},75290:function(t,e,n){var i=n(8269)();t.exports=i},93436:function(t,e,n){var i=n(64667),o=n(82773);t.exports=function(t,e){for(var n=0,r=(e=i(e,t)).length;null!=t&&n<r;)t=t[o(e[n++])];return n&&n==r?t:void 0}},19215:function(t,e,n){var i=n(94165),o=n(81690);t.exports=function(t,e,n){var r=e(t);return o(t)?r:i(r,n(t))}},72802:function(t,e,n){var i=n(57333),o=n(21613),r=n(81244),a=i?i.toStringTag:void 0;
vendor: 13,703 bytes, line 1
1t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):r(t)}},55333:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},77090:function(t,e,n){var i=n(72802),o=n(27503);t.exports=function(t){return o(t)&&"[object Arguments]"==i(t)}},30696:function(t,e,n){var i=n(36863),o=n(27503);t.exports=function t(e,n,r,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:i(e,n,r,a,t,s))}},36863:function(t,e,n){var i=n(33667),o=n(27667),r=n(64630),a=n(70838),s=n(26663),c=n(81690),l=n(84444),u=n(47679),d="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,_,m){var v=c(t),y=c(e),C=v?h:s(t),b=y?h:s(e),O=(C=C==d?p:C)==p,P=(b=b==d?p:b)==p,w=C==b;if(w&&l(t)){if(!l(e))return!1;v=!0,O=!1}if(w&&!O)return m||(m=new i),v||u(t)?o(t,e,n,g,_,m):r(t,e,C,n,g,_,m);if(!(1&n)){var M=O&&f.call(t,"__wrapped__"),x=P&&f.call(e,"__wrapped__");if(M||x){var k=M?t.value():t,S=x?e.value():e;return m||(m=new i),_(k,S,n,g,m)}}return!!w&&(m||(m=new i),a(t,e,n,g,_,m))}},88783:function(t,e,n){var i=n(33667),o=n(30696);t.exports=function(t,e,n,r){var a=n.length,s=a,c=!r;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var u=(l=n[a])[0],d=t[u],h=l[1];if(c&&l[2]){if(void 0===d&&!(u in t))return!1}else{var p=new i;if(r)var f=r(d,h,u,t,e,p);if(!(void 0===f?o(h,d,3,r,p):f))return!1}}return!0}},43540:function(t,e,n){var i=n(55836),o=n(38466),r=n(53867),a=n(51217),s=/^\[object .+?Constructor\]$/,c=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!r(t)||o(t))&&(i(t)?c:s).test(a(t))}},99390:function(t,e,n){var i=n(72802),o=n(8613),r=n(27503),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return r(t)&&o(t.length)&&!!a[i(t)]}},5245:function(t,e,n){var i=n(69433),o=n(68608),r=n(80290),a=n(81690),s=n(63354);t.exports=function(t){return"function"==typeof t?t:null==t?r:"object"==typeof t?a(t)?o(t[0],t[1]):i(t):s(t)}},92488:function(t,e,n){var i=n(58845),o=n(36700),r=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return o(t);var e=[];for(var n in Object(t))r.call(t,n)&&"constructor"!=n&&e.push(n);return e}},50762:function(t,e,n){var i=n(53867),o=n(58845),r=n(25618),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=o(t),n=[];for(var s in t)"constructor"==s&&(e||!a.call(t,s))||n.push(s);return n}},69433:function(t,e,n){var i=n(88783),o=n(48834),r=n(63587);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?r(e[0][0],e[0][1]):function(n){return n===t||i(n,t,e)}}},68608:function(t,e,n){var i=n(30696),o=n(58102),r=n(18303),a=n(99743),s=n(45774),c=n(63587),l=n(82773);t.exports=function(t,e){return a(t)&&s(e)?c(l(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?r(n,t):i(e,a,3)}}},9085:function(t,e,n){var i=n(33667),o=n(63530),r=n(75290),a=n(23607),s=n(53867),c=n(42970),l=n(45959);t.exports=function t(e,n,u,d,h){e!==n&&r(n,function(r,c){if(h||(h=new i),s(r))a(e,n,c,u,t,d,h);else{var p=d?d(l(e,c),r,c+"",e,n,h):void 0;void 0===p&&(p=r),o(e,c,p)}},c)}},23607:function(t,e,n){var i=n(63530),o=n(50694),r=n(96282),a=n(53595),s=n(31563),c=n(2952),l=n(81690),u=n(82027),d=n(84444),h=n(55836),p=n(53867),f=n(82358),g=n(47679),_=n(45959),m=n(31413);t.exports=function(t,e,n,v,y,C,b){var O=_(t,n),P=_(e,n),w=b.get(P);if(w)i(t,n,w);else{var M=C?C(O,P,n+"",t,e,b):void 0,x=void 0===M;if(x){var k=l(P),S=!k&&d(P),A=!k&&!S&&g(P);M=P,k||S||A?l(O)?M=O:u(O)?M=a(O):S?(x=!1,M=o(P,!0)):A?(x=!1,M=r(P,!0)):M=[]:f(P)||c(P)?(M=O,c(O)?M=m(O):(!p(O)||h(O))&&(M=s(P))):x=!1}x&&(b.set(P,M),y(M,P,v,C,b),b.delete(P)),i(t,n,M)}}},72897:function(t,e,n){var i=n(93436),o=n(32773),r=n(64667);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var l=e[a],u=i(t,l);n(u,l)&&o(c,r(l,t),u)}return c}},68840:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},59866:function(t,e,n){var i=n(93436);t.exports=function(t){return function(e){return i(e,t)}}},84441:function(t,e,n){var i=n(80290),o=n(15529),r=n(39009);t.exports=function(t,e){return r(o(t,e,i),t+"")}},32773:function(t,e,n){var i=n(23898),o=n(64667),r=n(20968),a=n(53867),s=n(82773);t.exports=function(t,e,n,c){if(!a(t))return t;for(var l=-1,u=(e=o(e,t)).length,d=u-1,h=t;null!=h&&++l<u;){var p=s(e[l]),f=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(l!=d){var g=h[p];void 0===(f=c?c(g,p,h):void 0)&&(f=a(g)?g:r(e[l+1])?[]:{})}i(h,p,f),h=h[p]}return t}},99372:function(t,e,n){var i=n(45654),o=n(20395),r=n(80290);t.exports=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:i(e),writable:!0})}:r},48282:function(t){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},68166:function(t,e,n){var i=n(57333),o=n(14992),r=n(81690),a=n(7786),s=i?i.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(r(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},70544:function(t){t.exports=function(t){return function(e){return t(e)}}},13747:function(t){t.exports=function(t,e){return t.has(e)}},64667:function(t,e,n){var i=n(81690),o=n(99743),r=n(89775),a=n(41233);t.exports=function(t,e){return i(t)?t:o(t,e)?[t]:r(a(t))}},88461:function(t,e,n){var i=n(96820);t.exports=function(t){var e=new t.constructor(t.byteLength);return new i(e).set(new i(t)),e}},50694:function(t,e,n){t=n.nmd(t);var i=n(27038),o=e&&!e.nodeType&&e,r=o&&t&&!t.nodeType&&t,a=r&&r.exports===o?i.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,i=s?s(n):new t.constructor(n);return t.copy(i),i}},96282:function(t,e,n){var i=n(88461);t.exports=function(t,e){var n=e?i(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},53595:function(t){t.exports=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}},11694:function(t,e,n){var i=n(23898),o=n(92007);t.exports=function(t,e,n,r){var a=!n;n||(n={});for(var s=-1,c=e.length;++s<c;){var l=e[s],u=r?r(n[l],t[l],l,n,t):void 0;void 0===u&&(u=t[l]),a?o(n,l,u):i(n,l,u)}return n}},93412:function(t,e,n){var i=n(27038);t.exports=i["__core-js_shared__"]},30906:function(t,e,n){var i=n(84441),o=n(71100);t.exports=function(t){return i(function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:void 0,s=r>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(r--,a):void 0,s&&o(n[0],n[1],s)&&(a=r<3?void 0:a,r=1),e=Object(e);++i<r;){var c=n[i];c&&t(e,c,i,a)}return e})}},8269:function(t){t.exports=function(t){return function(e,n,i){for(var o=-1,r=Object(e),a=i(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===n(r[c],c,r))break}return e}}},20395:function(t,e,n){var i=n(4153),o=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},27667:function(t,e,n){var i=n(48690),o=n(8141),r=n(13747);t.exports=function(t,e,n,a,s,c){var l=1&n,u=t.length,d=e.length;if(u!=d&&!(l&&d>u))return!1;var h=c.get(t),p=c.get(e);if(h&&p)return h==e&&p==t;var f=-1,g=!0,_=2&n?new i:void 0;for(c.set(t,e),c.set(e,t);++f<u;){var m=t[f],v=e[f];if(a)var y=l?a(v,m,f,e,t,c):a(m,v,f,t,e,c);if(void 0!==y){if(y)continue;g=!1;break}if(_){if(!o(e,function(t,e){if(!r(_,e)&&(m===t||s(m,t,n,a,c)))return _.push(e)})){g=!1;break}}else if(m!==v&&!s(m,v,n,a,c)){g=!1;break}}return c.delete(t),c.delete(e),g}},64630:function(t,e,n){var i=n(57333),o=n(96820),r=n(71166),a=n(27667),s=n(37461),c=n(57673),l=i?i.prototype:void 0,u=l?l.valueOf:void 0;t.exports=function(t,e,n,i,l,d,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=s;case"[object Set]":if(p||(p=c),t.size!=e.size&&!(1&i))return!1;var f=h.get(t);if(f)return f==e;i|=2,h.set(t,e);var g=a(p(t),p(e),i,l,d,h);return h.delete(t),g;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},70838:function(t,e,n){var i=n(58605),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,r,a,s){var c=1&n,l=i(t),u=l.length;if(u!=i(e).length&&!c)return!1;for(var d=u;d--;){var h=l[d];if(!(c?h in e:o.call(e,h)))return!1}var p=s.get(t),f=s.get(e);if(p&&f)return p==e&&f==t;var g=!0;s.set(t,e),s.set(e,t);for(var _=c;++d<u;){var m=t[h=l[d]],v=e[h];if(r)var y=c?r(v,m,h,e,t,s):r(m,v,h,t,e,s);if(!(void 0===y?m===v||a(m,v,n,r,s):y)){g=!1;break}_||(_="constructor"==h)}if(g&&!_){var C=t.constructor,b=e.constructor;C!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof C&&C instanceof C&&"function"==typeof b&&b instanceof b)&&(g=!1)}return s.delete(t),s.delete(e),g}},61138:function(t){var e="object"==typeof global&&global&&global.Object===Object&&global;t.exports=e},58605:function(t,e,n){var i=n(19215),o=n(10296),r=n(59108);t.exports=function(t){return i(t,r,o)}},51675:function(t,e,n){var i=n(19215),o=n(29572),r=n(42970);t.exports=function(t){return i(t,r,o)}},85556:function(t,e,n){var i=n(36586);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},48834:function(t,e,n){var i=n(45774),o=n(59108);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var r=e[n],a=t[r];e[n]=[r,a,i(a)]}return e}},4153:function(t,e,n){var i=n(43540),o=n(36825);t.exports=function(t,e){var n=o(t,e);return i(n)?n:void 0}},52398:function(t,e,n){var i=n(93332)(Object.getPrototypeOf,Object);t.exports=i},21613:function(t,e,n){var i=n(57333),o=Object.prototype,r=o.hasOwnProperty,a=o.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=r.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(c){}var o=a.call(t);return i&&(e?t[s]=n:delete t[s]),o}},10296:function(t,e,n){var i=n(11375),o=n(65336),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(t){return null==t?[]:(t=Object(t),i(a(t),function(e){return r.call(t,e)}))}:o},29572:function(t,e,n){var i=n(94165),o=n(52398),r=n(10296),a=n(65336);t.exports=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)i(e,r(t)),t=o(t);return e}:a},26663:function(t,e,n){var i=n(81235),o=n(39046),r=n(97129),a=n(74918),s=n(54203),c=n(72802),l=n(51217),u="[object Map]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",f="[object DataView]",g=l(i),_=l(o),m=l(r),v=l(a),y=l(s),C=c;(i&&C(new i(new ArrayBuffer(1)))!=f||o&&C(new o)!=u||r&&C(r.resolve())!=d||a&&C(new a)!=h||s&&C(new s)!=p)&&(C=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,i=n?l(n):"";if(i)switch(i){case g:return f;case _:return u;case m:return d;case v:return h;case y:return p}return e}),t.exports=C},36825:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},82138:function(t,e,n){var i=n(64667),o=n(2952),r=n(81690),a=n(20968),s=n(8613),c=n(82773);t.exports=function(t,e,n){for(var l=-1,u=(e=i(e,t)).length,d=!1;++l<u;){var h=c(e[l]);if(!(d=null!=t&&n(t,h)))break;t=t[h]}return d||++l!=u?d:!!(u=null==t?0:t.length)&&s(u)&&a(h,u)&&(r(t)||o(t))}},59410:function(t,e,n){var i=n(95969);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},21143:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},604:function(t,e,n){var i=n(95969),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},80584:function(t,e,n){var i=n(95969),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:o.call(e,t)}},7792:function(t,e,n){var i=n(95969);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},31563:function(t,e,n){var i=n(60920),o=n(52398),r=n(58845);t.exports=function(t){return"function"!=typeof t.constructor||r(t)?{}:i(o(t))}},20968:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var i=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&e.test(t))&&t>-1&&t%1==0&&t<n}},71100:function(t,e,n){var i=n(71166),o=n(93406),r=n(20968),a=n(53867);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?o(n)&&r(e,n.length):"string"==s&&e in n)&&i(n[e],t)}},99743:function(t,e,n){var i=n(81690),o=n(7786),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!r.test(t)||null!=e&&t in Object(e)}},36586:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},38466:function(t,e,n){var i,o=n(93412),r=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(sr
1c)_1."+i:"";t.exports=function(t){return!!r&&r in t}},58845:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},45774:function(t,e,n){var i=n(53867);t.exports=function(t){return t==t&&!i(t)}},63391:function(t){t.exports=function(){this.__data__=[],this.size=0}},68971:function(t,e,n){var i=n(15758),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},18858:function(t,e,n){var i=n(15758);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},13913:function(t,e,n){var i=n(15758);t.exports=function(t){return i(this.__data__,t)>-1}},68944:function(t,e,n){var i=n(15758);t.exports=function(t,e){var n=this.__data__,o=i(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},70536:function(t,e,n){var i=n(41505),o=n(73545),r=n(39046);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(r||o),string:new i}}},61502:function(t,e,n){var i=n(85556);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},94960:function(t,e,n){var i=n(85556);t.exports=function(t){return i(this,t).get(t)}},61539:function(t,e,n){var i=n(85556);t.exports=function(t){return i(this,t).has(t)}},34138:function(t,e,n){var i=n(85556);t.exports=function(t,e){var n=i(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},37461:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}},63587:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},43911:function(t,e,n){var i=n(97425);t.exports=function(t){var e=i(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},95969:function(t,e,n){var i=n(4153)(Object,"create");t.exports=i},36700:function(t,e,n){var i=n(93332)(Object.keys,Object);t.exports=i},25618:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},70938:function(t,e,n){t=n.nmd(t);var i=n(61138),o=e&&!e.nodeType&&e,r=o&&t&&!t.nodeType&&t,a=r&&r.exports===o&&i.process,s=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},81244:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},93332:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},15529:function(t,e,n){var i=n(81638),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var r=arguments,a=-1,s=o(r.length-e,0),c=Array(s);++a<s;)c[a]=r[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=r[a];return l[e]=n(c),i(t,this,l)}}},27038:function(t,e,n){var i=n(61138),o="object"==typeof self&&self&&self.Object===Object&&self,r=i||o||Function("return this")();t.exports=r},45959:function(t){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},30365:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},58235:function(t){t.exports=function(t){return this.__data__.has(t)}},57673:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},39009:function(t,e,n){var i=n(99372),o=n(44094)(i);t.exports=o},44094:function(t){var e=Date.now;t.exports=function(t){var n=0,i=0;return function(){var o=e(),r=16-(o-i);if(i=o,r>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},18034:function(t,e,n){var i=n(73545);t.exports=function(){this.__data__=new i,this.size=0}},37238:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},75887:function(t){t.exports=function(t){return this.__data__.get(t)}},81450:function(t){t.exports=function(t){return this.__data__.has(t)}},61386:function(t,e,n){var i=n(73545),o=n(39046),r=n(93177);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new r(a)}return n.set(t,e),this.size=n.size,this}},89775:function(t,e,n){var i=n(43911),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,a=i(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,i,o){e.push(i?o.replace(r,"$1"):n||t)}),e});t.exports=a},82773:function(t,e,n){var i=n(7786);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},51217:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(n){}try{return t+""}catch(n){}}return""}},45654:function(t){t.exports=function(t){return function(){return t}}},71166:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},58102:function(t,e,n){var i=n(93436);t.exports=function(t,e,n){var o=null==t?void 0:i(t,e);return void 0===o?n:o}},18303:function(t,e,n){var i=n(55333),o=n(82138);t.exports=function(t,e){return null!=t&&o(t,e,i)}},80290:function(t){t.exports=function(t){return t}},2952:function(t,e,n){var i=n(77090),o=n(27503),r=Object.prototype,a=r.hasOwnProperty,s=r.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},81690:function(t){t.exports=Array.isArray},93406:function(t,e,n){var i=n(55836),o=n(8613);t.exports=function(t){return null!=t&&o(t.length)&&!i(t)}},82027:function(t,e,n){var i=n(93406),o=n(27503);t.exports=function(t){return o(t)&&i(t)}},84444:function(t,e,n){t=n.nmd(t);var i=n(27038),o=n(61711),r=e&&!e.nodeType&&e,a=r&&t&&!t.nodeType&&t,s=a&&a.exports===r?i.Buffer:void 0;t.exports=(s?s.isBuffer:void 0)||o},55836:function(t,e,n){var i=n(72802),o=n(53867);t.exports=function(t){if(!o(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},8613:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},53867:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},27503:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},82358:function(t,e,n){var i=n(72802),o=n(52398),r=n(27503),a=Function.prototype.toString,s=Object.prototype.hasOwnProperty,c=a.call(Object);t.exports=function(t){if(!r(t)||"[object Object]"!=i(t))return!1;var e=o(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==c}},7786:function(t,e,n){var i=n(72802),o=n(27503);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==i(t)}},47679:function(t,e,n){var i=n(99390),o=n(70544),r=n(70938),a=r&&r.isTypedArray,s=a?o(a):i;t.exports=s},59108:function(t,e,n){var i=n(71890),o=n(92488),r=n(93406);t.exports=function(t){return r(t)?i(t):o(t)}},42970:function(t,e,n){var i=n(71890),o=n(50762),r=n(93406);t.exports=function(t){return r(t)?i(t,!0):o(t)}},97425:function(t,e,n){var i=n(93177);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var i=arguments,o=e?e.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);
1var a=t.apply(this,i);return n.cache=r.set(o,a)||r,a};return n.cache=new(o.Cache||i),n}o.Cache=i,t.exports=o},3912:function(t,e,n){var i=n(9085),o=n(30906)(function(t,e,n){i(t,e,n)});t.exports=o},74024:function(t,e,n){var i=n(14992),o=n(5245),r=n(72897),a=n(51675);t.exports=function(t,e){if(null==t)return{};var n=i(a(t),function(t){return[t]});return e=o(e),r(t,n,function(t,n){return e(t,n[0])})}},63354:function(t,e,n){var i=n(68840),o=n(59866),r=n(99743),a=n(82773);t.exports=function(t){return r(t)?i(a(t)):o(t)}},65336:function(t){t.exports=function(){return[]}},61711:function(t){t.exports=function(){return!1}},31413:function(t,e,n){var i=n(11694),o=n(42970);t.exports=function(t){return i(t,o(t))}},41233:function(t,e,n){var i=n(68166);t.exports=function(t){return null==t?"":i(t)}},84323:function(t,e){var n;void 0!==(n=(function(){"use strict";var t="14.6.3";function e(t){t.parentElement.removeChild(t)}function n(t){return null!=t}function i(t){t.preventDefault()}function o(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function r(t,e,n){n>0&&(l(t,e),setTimeout(function(){u(t,e)},n))}function a(t){return Math.max(Math.min(t,100),0)}function s(t){return Array.isArray(t)?t:[t]}function c(t){var e=(t=String(t)).split(".");return e.length>1?e[1].length:0}function l(t,e){t.classList&&!/\s/.test(e)?t.classList.add(e):t.className+=" "+e}function u(t,e){t.classList&&!/\s/.test(e)?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function d(t){var e=void 0!==window.pageXOffset,n="CSS1Compat"===(t.compatMode||"");return{x:e?window.pageXOffset:n?t.documentElement.scrollLeft:t.body.scrollLeft,y:e?window.pageYOffset:n?t.documentElement.scrollTop:t.body.scrollTop}}function h(t,e){return 100/(e-t)}function p(t,e,n){return 100*e/(t[n+1]-t[n])}function f(t,e){for(var n=1;t>=e[n];)n+=1;return n}function g(e,n,i){var r;if("number"==typeof n&&(n=[n]),!Array.isArray(n))throw new Error("noUiSlider ("+t+"): 'range' contains invalid value.");if(!o(r="min"===e?0:"max"===e?100:parseFloat(e))||!o(n[0]))throw new Error("noUiSlider ("+t+"): 'range' value isn't numeric.");i.xPct.push(r),i.xVal.push(n[0]),r?i.xSteps.push(!isNaN(n[1])&&n[1]):isNaN(n[1])||(i.xSteps[0]=n[1]),i.xHighestCompleteStep.push(0)}function _(t,e,n){if(e){if(n.xVal[t]===n.xVal[t+1])return void(n.xSteps[t]=n.xHighestCompleteStep[t]=n.xVal[t]);n.xSteps[t]=p([n.xVal[t],n.xVal[t+1]],e,0)/h(n.xPct[t],n.xPct[t+1]);var i=Math.ceil(Number(((n.xVal[t+1]-n.xVal[t])/n.xNumSteps[t]).toFixed(3))-1);n.xHighestCompleteStep[t]=n.xVal[t]+n.xNumSteps[t]*i}}function m(t,e,n){this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=e;var i,o=[];for(i in t)t.hasOwnProperty(i)&&o.push([t[i],i]);for(o.sort(o.length&&"object"==typeof o[0][0]?function(t,e){return t[0][0]-e[0][0]}:function(t,e){return t[0]-e[0]}),i=0;i<o.length;i++)g(o[i][1],o[i][0],this);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)_(i,this.xNumSteps[i],this)}m.prototype.getDistance=function(e){var n,i=[];for(n=0;n<this.xNumSteps.length-1;n++){var o=this.xNumSteps[n];if(o&&e/o%1!=0)throw new Error("noUiSlider ("+t+"): 'limit', 'margin' and 'padding' of "+this.xPct[n]+"% range must be divisible by step.");i[n]=p(this.xVal,e,n)}return i},m.prototype.getAbsoluteDistance=function(t,e,n){var i=0;if(t<this.xPct[this.xPct.length-1])for(;t>this.xPct[i+1];)i++;else t===this.xPct[this.xPct.length-1]&&(i=this.xPct.length-2);!n&&t===this.xPct[i+1]&&i++;var o,r=1,a=e[i],s=0,c=0,l=0,u=0;for(o=n?(t-this.xPct[i])/(this.xPct[i+1]-this.xPct[i]):(this.xPct[i+1]-t)/(this.xPct[i+1]-this.xPct[i]);a>0;)s=this.xPct[i+1+u]-this.xPct[i+u],e[i+u]*r+100-100*o>100?(c=s*o,r=(a-100*o)/e[i+u],o=1):(c=e[i+u]*s/100*r,r=0),n?(l-=c,this.xPct.length+u>=1&&u--):(l+=c,this.xPct.length-u>=1&&u++),a=e[i+u]*r;return t+l},m.prototype.toStepping=function(t){return function(t,e,n){if(n>=t.slice(-1)[0])return 100;var i=f(n,t),o=e[i-1],r=e[i];return o+function(t,e){return p(t,t[0]<0?e+Math.abs(t[0]):e-t[0],0)}([t[i-1],t[i]],n)/h(o,r)}(this.xVal,this.xPct,t)},m.prototype.fromStepping=function(t){return function(t,e,n){if(n>=100)return t.slice(-1)[0];var i=f(n,e),o=e[i-1];return function(t,e){return e*(t[1]-t[0])/100+t[0]}([t[i-1],t[i]],(n-o)*h(o,e[i]))}(this.xVal,this.xPct,t)},m.prototype.getStep=function(t){return function(t,e,n,i){if(100===i)return i;var o=f(i,t),r=t[o-1],a=t[o];return n?i-r>(a-r)/2?a:r:e[o-1]?t[o-1]+function(t,e){return Math.round(t/e)*e}(i-t[o-1],e[o-1]):i}(this.xPct,this.xSteps,this.snap,t)},m.prototype.getDefaultStep=function(t,e,n){var i=f(t,this.xPct);return(100===t||e&&t===this.xPct[i-1])&&(i=Math.max(i-1,1)),(this.xVal[i]-this.xVal[i-1])/n},m.prototype.getNearbySteps=function(t){var e=f(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e],step:this.xNumSteps[e],highestStep:this.xHighestCompleteStep[e]}}},m.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(c);return Math.max.apply(null,t)}
1,m.prototype.convert=function(t){return this.getStep(this.toStepping(t))};var v={to:function(t){return void 0!==t&&t.toFixed(2)},from:Number},y={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},C=".__tooltips",b=".__aria";function O(e){if(function(t){return"object"==typeof t&&"function"==typeof t.to&&"function"==typeof t.from}(e))return!0;throw new Error("noUiSlider ("+t+"): 'format' requires 'to' and 'from' methods.")}function P(e,n){if(!o(n))throw new Error("noUiSlider ("+t+"): 'step' is not numeric.");e.singleStep=n}function w(e,n){if(!o(n))throw new Error("noUiSlider ("+t+"): 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=n}function M(e,n){if(!o(n))throw new Error("noUiSlider ("+t+"): 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=n}function x(e,n){if("object"!=typeof n||Array.isArray(n))throw new Error("noUiSlider ("+t+"): 'range' is not an object.");if(void 0===n.min||void 0===n.max)throw new Error("noUiSlider ("+t+"): Missing 'min' or 'max' in 'range'.");if(n.min===n.max)throw new Error("noUiSlider ("+t+"): 'range' 'min' and 'max' cannot be equal.");e.spectrum=new m(n,e.snap,e.singleStep)}function k(e,n){if(n=s(n),!Array.isArray(n)||!n.length)throw new Error("noUiSlider ("+t+"): 'start' option is incorrect.");e.handles=n.length,e.start=n}function S(e,n){if(e.snap=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+t+"): 'snap' option must be a boolean.")}function A(e,n){if(e.animate=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+t+"): 'animate' option must be a boolean.")}function T(e,n){if(e.animationDuration=n,"number"!=typeof n)throw new Error("noUiSlider ("+t+"): 'animationDuration' option must be a number.")}function I(e,n){var i,o=[!1];if("lower"===n?n=[!0,!1]:"upper"===n&&(n=[!1,!0]),!0===n||!1===n){for(i=1;i<e.handles;i++)o.push(n);o.push(!1)}else{if(!Array.isArray(n)||!n.length||n.length!==e.handles+1)throw new Error("noUiSlider ("+t+"): 'connect' option doesn't match handle count.");o=n}e.connect=o}function E(e,n){switch(n){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider ("+t+"): 'orientation' option is invalid.")}}function D(e,n){if(!o(n))throw new Error("noUiSlider ("+t+"): 'margin' option must be numeric.");0!==n&&(e.margin=e.spectrum.getDistance(n))}function R(e,n){if(!o(n))throw new Error("noUiSlider ("+t+"): 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(n),!e.limit||e.handles<2)throw new Error("noUiSlider ("+t+"): 'limit' option is only supported on linear sliders with 2 or more handles.")}function F(e,n){var i;if(!o(n)&&!Array.isArray(n))throw new Error("noUiSlider ("+t+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(n)&&2!==n.length&&!o(n[0])&&!o(n[1]))throw new Error("noUiSlider ("+t+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==n){for(Array.isArray(n)||(n=[n,n]),e.padding=[e.spectrum.getDistance(n[0]),e.spectrum.getDistance(n[1])],i=0;i<e.spectrum.xNumSteps.length-1;i++)if(e.padding[0][i]<0||e.padding[1][i]<0)throw new Error("noUiSlider ("+t+"): 'padding' option must be a positive number(s).");if((n[0]+n[1])/(e.spectrum.xVal[e.spectrum.xVal.length-1]-e.spectrum.xVal[0])>1)throw new Error("noUiSlider ("+t+"): 'padding' option must not exceed 100% of the range.")}}function L(e,n){switch(n){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider ("+t+"): 'direction' option was not recognized.")}}function Z(e,n){if("string"!=typeof n)throw new Error("noUiSlider ("+t+"): 'behaviour' must be a string containing options.");var i=n.indexOf("tap")>=0,o=n.indexOf("drag")>=0,r=n.indexOf("fixed")>=0,a=n.indexOf("snap")>=0,s=n.indexOf("hover")>=0,c=n.indexOf("unconstrained")>=0;if(r){if(2!==e.handles)throw new Error("noUiSlider ("+t+"): 'fixed' behaviour must be used with 2 handles");D(e,e.start[1]-e.start[0])}if(c&&(e.margin||e.limit))throw new Error("noUiSlider ("+t+"): 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:i||a,drag:o,fixed:r,snap:a,hover:s,unconstrained:c}}function N(e,n){if(!1!==n)if(!0===n){e.tooltips=[];for(var i=0;i<e.handles;i++)e.tooltips.push(!0)}else{if(e.tooltips=s(n),e.tooltips.length!==e.handles)throw new Error("noUiSlider ("+t+"): must pass a formatter for all handles.");e.tooltips.forEach(function(e){if("boolean"!=typeof e&&("object"!=typeof e||"function"!=typeof e.to))throw new Error("noUiSlider ("+t+"): 'tooltips' must be passed a formatter or 'false'.")})}}function U(t,e){t.ariaFormat=e,O(e)}function V(t,e){t.format=e,O(e)}function j(e,n){if(e.keyboardSupport=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+t+"): 'keyboardSupport' option must be a boolean.")}function z(t,e){t.documentElement=e}function q(e,n){if("string"!=typeof n&&!1!==n)throw new Error("noUiSlider ("+t+"): 'cssPrefix' must be a string or `false`.");e.cssPrefix=n}function B(e,n){if("object"!=typeof n)throw new Error("noUiSlider ("+t+"): 'cssClasse
1s' must be an object.");if("string"==typeof e.cssPrefix)for(var i in e.cssClasses={},n)!n.hasOwnProperty(i)||(e.cssClasses[i]=e.cssPrefix+n[i]);else e.cssClasses=n}function Y(e){var i={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:v,format:v},o={step:{r:!1,t:P},keyboardPageMultiplier:{r:!1,t:w},keyboardDefaultStep:{r:!1,t:M},start:{r:!0,t:k},connect:{r:!0,t:I},direction:{r:!0,t:L},snap:{r:!1,t:S},animate:{r:!1,t:A},animationDuration:{r:!1,t:T},range:{r:!0,t:x},orientation:{r:!1,t:E},margin:{r:!1,t:D},limit:{r:!1,t:R},padding:{r:!1,t:F},behaviour:{r:!0,t:Z},ariaFormat:{r:!1,t:U},format:{r:!1,t:V},tooltips:{r:!1,t:N},keyboardSupport:{r:!0,t:j},documentElement:{r:!1,t:z},cssPrefix:{r:!0,t:q},cssClasses:{r:!0,t:B}},r={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:y,keyboardPageMultiplier:5,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(o).forEach(function(a){if(!n(e[a])&&void 0===r[a]){if(o[a].r)throw new Error("noUiSlider ("+t+"): '"+a+"' is required.");return!0}o[a].t(i,n(e[a])?e[a]:r[a])}),i.pips=e.pips;var a=document.createElement("div");return i.transformRule=void 0!==a.style.transform?"transform":void 0!==a.style.msTransform?"msTransform":"webkitTransform",i.style=[["left","top"],["right","bottom"]][i.dir][i.ort],i}function G(n,o,c){var h,p,f,g,_,m,v,y=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},O=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(c){}return t}(),P=n,w=o.spectrum,M=[],x=[],k=[],S=0,A={},T=n.ownerDocument,I=o.documentElement||T.documentElement,E=T.body,D="rtl"===T.dir||1===o.ort?0:100;function R(t,e){var n=T.createElement("div");return e&&l(n,e),t.appendChild(n),n}function F(t,e){var n=R(t,o.cssClasses.origin),i=R(n,o.cssClasses.handle);return R(i,o.cssClasses.touchArea),i.setAttribute("data-handle",e),o.keyboardSupport&&(i.setAttribute("tabindex","0"),i.addEventListener("keydown",function(t){return function(t,e){if(N()||U(e))return!1;var n=["Left","Right"],i=["Down","Up"],r=["PageDown","PageUp"],a=["Home","End"];o.dir&&!o.ort?n.reverse():o.ort&&!o.dir&&(i.reverse(),r.reverse());var s,c=t.key.replace("Arrow",""),l=c===r[0],u=c===r[1],d=c===i[0]||c===n[0]||l,h=c===i[1]||c===n[1]||u,p=c===a[1];if(!(d||h||c===a[0]||p))return!0;if(t.preventDefault(),h||d){var f=o.keyboardPageMultiplier,g=d?0:1,_=pt(e)[g];if(null===_)return!1;!1===_&&(_=w.getDefaultStep(x[e],d,o.keyboardDefaultStep)),(u||l)&&(_*=f),_=Math.max(_,1e-7),s=M[e]+(_*=d?-1:1)}else s=p?o.spectrum.xVal[o.spectrum.xVal.length-1]:o.spectrum.xVal[0];return ct(e,w.toStepping(s),!0,!0),nt("slide",e),nt("update",e),nt("change",e),nt("set",e),!1}(t,e)})),i.setAttribute("role","slider"),i.setAttribute("aria-orientation",o.ort?"vertical":"horizontal"),0===e?l(i,o.cssClasses.handleLower):e===o.handles-1&&l(i,o.cssClasses.handleUpper),n}function L(t,e){return!!e&&R(t,o.cssClasses.connect)}function Z(t,e){return!!o.tooltips[e]&&R(t.firstChild,o.cssClasses.tooltip)}function N(){return P.hasAttribute("disabled")}function U(t){return p[t].hasAttribute("disabled")}function V(){_&&(et("update.__tooltips"),_.forEach(function(t){t&&e(t)}),_=null)}function j(){V(),_=p.map(Z),tt("update.__tooltips",function(t,e,n){if(_[e]){var i=t[e];!0!==o.tooltips[e]&&(i=o.tooltips[e].to(n[e])),_[e].innerHTML=i}})}function z(){g&&(e(g),g=null)}function q(e){z();var n=e.mode,i=e.filter||!1,r=function(t,e,n){function i(t,e){return(t+e).toFixed(7)/1}var o={},r=w.xVal[0],a=w.xVal[w.xVal.length-1],s=!1,c=!1,l=0;return(n=function(t){return t.filter(function(t){return!this[t]&&(this[t]=!0)},{})}(n.slice().sort(function(t,e){return t-e})))[0]!==r&&(n.unshift(r),s=!0),n[n.length-1]!==a&&(n.push(a),c=!0),n.forEac
1h(function(r,a){var u,d,h,p,f,g,_,m,v,y=r,C=n[a+1],b="steps"===e;if(b&&(u=w.xNumSteps[a]),u||(u=C-y),!1!==y)for(void 0===C&&(C=y),u=Math.max(u,1e-7),d=y;d<=C;d=i(d,u)){for(v=(f=(p=w.toStepping(d))-l)/(m=Math.round(f/t)),h=1;h<=m;h+=1)o[(g=l+h*v).toFixed(5)]=[w.fromStepping(g),0];_=n.indexOf(d)>-1?1:b?2:0,!a&&s&&d!==C&&(_=0),d===C&&c||(o[p.toFixed(5)]=[d,_]),l=p}}),o}(e.density||1,n,function(e,n,i){if("range"===e||"steps"===e)return w.xVal;if("count"===e){if(n<2)throw new Error("noUiSlider ("+t+"): 'values' (>= 2) required for mode 'count'.");var o=n-1,r=100/o;for(n=[];o--;)n[o]=o*r;n.push(100),e="positions"}return"positions"===e?n.map(function(t){return w.fromStepping(i?w.getStep(t):t)}):"values"===e?i?n.map(function(t){return w.fromStepping(w.getStep(w.toStepping(t)))}):n:void 0}(n,e.values||!1,e.stepped||!1)),a=e.format||{to:Math.round};return g=P.appendChild(function(t,e,n){var i=T.createElement("div"),r=[];r[0]=o.cssClasses.valueNormal,r[1]=o.cssClasses.valueLarge,r[2]=o.cssClasses.valueSub;var a=[];a[0]=o.cssClasses.markerNormal,a[1]=o.cssClasse
1s.markerLarge,a[2]=o.cssClasses.markerSub;var s=[o.cssClasses.valueHorizontal,o.cssClasses.valueVertical],c=[o.cssClasses.markerHorizontal,o.cssClasses.markerVertical];function u(t,e){var n=e===o.cssClasses.value;return e+" "+(n?s:c)[o.ort]+" "+(n?r:a)[t]}return l(i,o.cssClasses.pips),l(i,0===o.ort?o.cssClasses.pipsHorizontal:o.cssClasses.pipsVertical),Object.keys(t).forEach(function(r){!function(t,r,a){if(-1!==(a=e?e(r,a):a)){var s=R(i,!1);s.className=u(a,o.cssClasses.marker),s.style[o.style]=t+"%",a>0&&((s=R(i,!1)).className=u(a,o.cssClasses.value),s.setAttribute("data-value",r),s.style[o.style]=t+"%",s.innerHTML=n.to(r))}}(r,t[r][0],t[r][1])}),i}(r,i,a))}function B(){var t=h.getBoundingClientRect(),e="offset"+["Width","Height"][o.ort];return 0===o.ort?t.width||h[e]:t.height||h[e]}function G(t,e,n,i){var r=function(r){if(!(r=function(t,e,n){var i,o,r=0===t.type.indexOf("touch"),a=0===t.type.indexOf("mouse"),s=0===t.type.indexOf("pointer");if(0===t.type.indexOf("MSPointer")&&(s=!0),"mousedown"===t.type&&!t.buttons&&!t.touches)return!1;if(r){var c=function(t){return t.target===n||n.contains(t.target)||t.target.shadowRoot&&t.target.shadowRoot.contains(n)};if("touchstart"===t.type){var l=Array.prototype.filter.call(t.touches,c);if(l.length>1)return!1;i=l[0].pageX,o=l[0].pageY}else{var u=Array.prototype.find.call(t.changedTouches,c);if(!u)return!1;i=u.pageX,o=u.pageY}}return e=e||d(T),(a||s)&&(i=t.clientX+e.x,o=t.clientY+e.y),t.pageOffset=e,t.points=[i,o],t.cursor=a||s,t}(r,i.pageOffset,i.target||e))||N()&&!i.doNotReject||function(t,e){return t.classList?t.classList.contains(e):new RegExp("\\b"+e+"\\b").test(t.className)}(P,o.cssClasses.tap)&&!i.doNotReject||t===y.start&&void 0!==r.buttons&&r.buttons>1||i.hover&&r.buttons)return!1;O||r.preventDefault(),r.calcPoint=r.points[o.ort],n(r,i)},a=[];return t.split(" ").forEach(function(t){e.addEventListener(t,r,!!O&&{passive:!0}),a.push([t,r])}),a}function H(t){var e=100*(t-function(t,e){var n=t.getBoundingClientRect(),i=t.ownerDocument,o=i.documentElement,r=d(i);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(r.x=0),e?n.top+r.y-o.clientTop:n.left+r.x-o.clientLeft}(h,o.ort))/B();return e=a(e),o.dir?100-e:e}function J(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&Q(t,e)}function W(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return Q(t,e);var n=(o.dir?-1:1)*(t.calcPoint-e.startCalcPoint);rt(n>0,100*n/e.baseSize,e.locations,e.handleNumbers)}function Q(t,e){e.handle&&(u(e.handle,o.cssClasses.active),S-=1),e.listeners.forEach(function(t){I.removeEventListener(t[0],t[1])}),0===S&&(u(P,o.cssClasses.drag),st(),t.cursor&&(E.style.cursor="",E.removeEventListener("selectstart",i))),e.handleNumbers.forEach(function(t){nt("change",t),nt("set",t),nt("end",t)})}function K(t,e){if(e.handleNumbers.some(U))return!1;var n;1===e.handleNumbers.length&&(S+=1,l(n=p[e.handleNumbers[0]].children[0],o.cssClasses.active)),t.stopPropagation();var r=[],a=G(y.move,I,W,{target:t.target,handle:n,listeners:r,startCalcPoint:t.calcPoint,baseSize:B(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:x.slice()}),s=G(y.end,I,Q,{target:t.target,handle:n,listeners:r,doNotReject:!0,handleNumbers:e.handleNumbers}),c=G("mouseout",I,J,{target:t.target,handle:n,listeners:r,doNotReject:!0,handleNumbers:e.handleNumbers});r.push.apply(r,a.concat(s,c)),t.cursor&&(E.style.cursor=getComputedStyle(t.target).cursor,p.length>1&&l(P,o.cssClasses.drag),E.addEventListener("selectstart",i,!1)),e.handleNumbers.forEach(function(t){nt("start",t)})}function X(t){t.stopPropagation();var e=H(t.calcPoint),n=function(t){var e=100,n=!1;return p.forEach(function(i,o){if(!U(o)){var r=x[o],a=Math.abs(r-t);(a<e||a<=e&&t>r||100===a&&100===e)&&(n=o,e=a)}}),n}(e);if(!1===n)return!1;o.events.snap||r(P,o.cssClasses.tap,o.animationDuration),ct(n,e,!0,!0),st(),nt("slide",n,!0),nt("update",n,!0),nt("change",n,!0),nt("set",n,!0),o.events.snap&&K(t,{handleNumbers:[n]})}function $(t){var e=H(t.calcPoint),n=w.getStep(e),i=w.fromStepping(n);Object.keys(A).forEach(function(t){"hover"===t.split(".")[0]&&A[t].forEach(function(t){t.call(m,i)})})}function tt(t,e){A[t]=A[t]||[],A[t].push(e),"update"===t.split(".")[0]&&p.forEach(function(t,e){nt("update",e)})}function et(t){var e=t&&t.split(".")[0],n=e?t.substring(e.length):t;Object.keys(A).forEach(function(t){var i=t.split(".")[0],o=t.substring(i.length);e&&e!==i||n&&n!==o||function(t){return t===b||t===C}(o)&&n!==o||delete A[t]})}function nt(t,e,n){Object.keys(A).forEach(function(i){var r=i.split(".")[0];
1t===r&&A[i].forEach(function(t){t.call(m,M.map(o.format.to),e,M.slice(),n||!1,x.slice(),m)})})}function it(t,e,n,i,r,s){var c;return p.length>1&&!o.events.unconstrained&&(i&&e>0&&(c=w.getAbsoluteDistance(t[e-1],o.margin,0),n=Math.max(n,c)),r&&e<p.length-1&&(c=w.getAbsoluteDistance(t[e+1],o.margin,1),n=Math.min(n,c))),p.length>1&&o.limit&&(i&&e>0&&(c=w.getAbsoluteDistance(t[e-1],o.limit,0),n=Math.min(n,c)),r&&e<p.length-1&&(c=w.getAbsoluteDistance(t[e+1],o.limit,1),n=Math.max(n,c))),o.padding&&(0===e&&(c=w.getAbsoluteDistance(0,o.padding[0],0),n=Math.max(n,c)),e===p.length-1&&(c=w.getAbsoluteDistance(100,o.padding[1],1),n=Math.min(n,c))),!((n=a(n=w.getStep(n)))===t[e]&&!s)&&n}function ot(t,e){var n=o.ort;return(n?e:t)+", "+(n?t:e)}function rt(t,e,n,i){var o=n.slice(),r=[!t,t],a=[t,!t];i=i.slice(),t&&i.reverse(),i.length>1?i.forEach(function(t,n){var i=it(o,t,o[t]+e,r[n],a[n],!1);!1===i?e=0:(e=i-o[t],o[t]=i)}):r=a=[!0];var s=!1;i.forEach(function(t,i){s=ct(t,n[t]+e,r[i],a[i])||s}),s&&i.forEach(function(t){nt("update",t),nt("slide",t)})}function at(t,e){return o.dir?100-t-e:t}function st(){k.forEach(function(t){p[t].style.zIndex=3+(p.length+(x[t]>50?-1:1)*t)})}function ct(t,e,n,i,r){return r||(e=it(x,t,e,n,i,!1)),!1!==e&&(function(t,e){x[t]=e,M[t]=w.fromStepping(e);var n="translate("+ot(10*(at(e,0)-D)+"%","0")+")";p[t].style[o.transformRule]=n,lt(t),lt(t+1)}(t,e),!0)}function lt(t){if(f[t]){var e=0,n=100;0!==t&&(e=x[t-1]),t!==f.length-1&&(n=x[t]);var i=n-e,r="translate("+ot(at(e,i)+"%","0")+")",a="scale("+ot(i/100,"1")+")";f[t].style[o.transformRule]=r+" "+a}}function ut(t,e){return null===t||!1===t||void 0===t||("number"==typeof t&&(t=String(t)),t=o.format.from(t),!1===(t=w.toStepping(t))||isNaN(t))?x[e]:t}function dt(t,e,n){var i=s(t);e=void 0===e||!!e,o.animate&&!(void 0===x[0])&&r(P,o.cssClasses.tap,o.animationDuration),k.forEach(function(t){ct(t,ut(i[t],t),!0,!1,n)});for(var a=1===k.length?0:1;a<k.length;++a)k.forEach(function(t){ct(t,x[t],!0,!0,n)});st(),k.forEach(function(t){nt("update",t),null!==i[t]&&e&&nt("set",t)})}function ht(){var t=M.map(o.format.to);return 1===t.length?t[0]:t}function pt(t){var e=x[t],n=w.getNearbySteps(e),i=M[t],r=n.thisStep.step,a=null;if(o.snap)return[i-n.stepBefore.startValue||null,n.stepAfter.startValue-i||null];!1!==r&&i+r>n.stepAfter.startValue&&(r=n.stepAfter.startValue-i),a=i>n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&&i-n.stepBefore.highestStep,100===e?r=null:0===e&&(a=null);var s=w.countStepDecimals();return null!==r&&!1!==r&&(r=Number(r.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,r]}return l(v=P,o.cssClasses.target),l(v,0===o.dir?o.cssClasses.ltr:o.cssClasses.rtl),l(v,0===o.ort?o.cssClasses.horizontal:o.cssClasses.vertical),l(v,"rtl"===getComputedStyle(v).direction?o.cssClasses.textDirectionRtl:o.cssClasses.textDirectionLtr),h=R(v,o.cssClasses.base),function(t,e){var n=R(e,o.cssClasses.connects);p=[],(f=[]).push(L(n,t[0]));for(var i=0;i<o.handles;i++)p.push(F(e,i)),k[i]=i,f.push(L(n,t[i+1]))}(o.connect,h),function(t){t.fixed||p.forEach(function(t,e){G(y.start,t.children[0],K,{handleNumbers:[e]})}),t.tap&&G(y.start,h,X,{}),t.hover&&G(y.move,h,$,{hover:!0}),t.drag&&f.forEach(function(e,n){if(!1!==e&&0!==n&&n!==f.length-1){var i=p[n-1],r=p[n],a=[e];l(e,o.cssClasses.draggable),t.fixed&&(a.push(i.children[0]),a.push(r.children[0])),a.forEach(function(t){G(y.start,t,K,{handles:[i,r],handleNumbers:[n-1,n]})})}})}(o.events),dt(o.start),o.pips&&q(o.pips),o.tooltips&&j(),et("update.__aria"),tt("update.__aria",function(t,e,n,i,r){k.forEac
1h(function(t){var e=p[t],i=it(x,t,0,!0,!0,!0),a=it(x,t,100,!0,!0,!0),s=r[t],c=o.ariaFormat.to(n[t]);i=w.fromStepping(i).toFixed(1),a=w.fromStepping(a).toFixed(1),s=w.fromStepping(s).toFixed(1),e.children[0].setAttribute("aria-valuemin",i),e.children[0].setAttribute("aria-valuemax",a),e.children[0].setAttribute("aria-valuenow",s),e.children[0].setAttribute("aria-valuetext",c)})}),m={destroy:function(){for(var t in et(b),et(C),o.cssClasses)!o.cssClasses.hasOwnProperty(t)||u(P,o.cssClasses[t]);for(;P.firstChild;)P.removeChild(P.firstChild);delete P.noUiSlider},steps:function(){return k.map(pt)},on:tt,off:et,get:ht,set:dt,setHandle:function(e,n,i,o){if(!((e=Number(e))>=0&&e<k.length))throw new Error("noUiSlider ("+t+"): invalid handle number, got: "+e);ct(e,ut(n,e),!0,!0,o),nt("update",e),i&&nt("set",e)},reset:function(t){dt(o.start,t)},__moveHandles:function(t,e,n){rt(t,e,x,n)},options:c,updateOptions:function(t,e){var n=ht(),i=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];i.forEach(function(e){void 0!==t[e]&&(c[e]=t[e])});var r=Y(c);i.forEach(function(e){void 0!==t[e]&&(o[e]=r[e])}),w=r.spectrum,o.margin=r.margin,o.limit=r.limit,o.padding=r.padding,o.pips?q(o.pips):z(),o.tooltips?j():V(),x=[],dt(t.start||n,e)},target:P,removePips:z,removeTooltips:V,getTooltips:function(){return _},getOrigins:function(){return p},pips:q}}return{__spectrum:m,version:t,cssClasses:y,create:function(e,n){if(!e||!e.nodeName)throw new Error("noUiSlider ("+t+"): create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider ("+t+"): Slider was already initialized.");var i=G(e,Y(n),n);return e.noUiSlider=i,i}}}).apply(e,[]))&&(t.exports=n)},6877:function(t,e,n){var i=n(50436),o=n(51191),r=n(32158),a=n(173);function s(t,e,n,r,a){var s=[].slice.call(arguments,1),c=s.length,l="function"==typeof s[c-1];if(!l&&!i())throw new Error("Callback required as last argument");if(!l){if(c<1)throw new Error("Too few arguments provided");return 1===c?(n=e,e=r=void 0):2===c&&!e.getContext&&(r=n,n=e,e=void 0),new Promise(function(i,a){try{var s=o.create(n,r);i(t(s,e,r))}catch(s){a(s)}})}if(c<2)throw new Error("Too few arguments provided");2===c?(a=n,n=e,e=r=void 0):3===c&&(e.getContext&&void 0===a?(a=r,r=void 0):(a=r,r=n,n=e,e=void 0));try{var u=o.create(n,r);a(null,t(u,e,r))}catch(u){a(u)}}e.create=o.create,e.toCanvas=s.bind(null,r.render),e.toDataURL=s.bind(null,r.renderToDataURL),e.toString=s.bind(null,function(t,e,n){return a.render(t,n)})},50436:function(t){t.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},76448:function(t,e,n){var i=n(55402).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,n=i(t),o=145===n?26:2*Math.ceil((n-13)/(2*e-2)),r=[n-7],a=1;a<e-1;a++)r[a]=r[a-1]-o;return r.push(6),r.reverse()},e.getPositions=function(t){for(var n=[],i=e.getRowColCoords(t),o=i.length,r=0;r<o;r++)for(var a=0;a<o;a++)0===r&&0===a||0===r&&a===o-1||r===o-1&&0===a||n.push([i[r],i[a]]);return n}},42793:function(t,e,n){var i=n(93141),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function r(t){this.mode=i.ALPHANUMERIC,this.data=t}r.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var n=45*o.indexOf(this.data[e]);n+=o.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},t.exports=r},57258:function(t){function e(){this.buffer=[],this.length=0}e.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=e},8104:function(t){function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}e.prototype.set=function(t,e,n,i){var o=t*this.size+e;this.data[o]=n,i&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,e){return this.data[t*this.size+e]},e.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},e.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=e},62860:function(t,e,n){var i=n(11522),o=n(93141);function r(t){this.mode=o.BYTE,this.data=new Uint8Array(i(t))}r.getBitsLength=function(t){return 8*t},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){for(var e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},t.exports=r},67291:function(t,e,n){var i=n(3997),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,
vendor: 6,096 bytes, line 1
1192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case i.L:return o[4*(t-1)+0];case i.M:return o[4*(t-1)+1];case i.Q:return o[4*(t-1)+2];case i.H:return o[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case i.L:return r[4*(t-1)+0];case i.M:return r[4*(t-1)+1];case i.Q:return r[4*(t-1)+2];case i.H:return r[4*(t-1)+3];default:return}}},3997:function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(i){return n}}},21224:function(t,e,n){var i=n(55402).getSymbolSize;e.getPositions=function(t){var e=i(t);return[[0,0],[e-7,0],[0,e-7]]}},34482:function(t,e,n){var i=n(55402),o=i.getBCHDigit(1335);e.getEncodedBits=function(t,e){for(var n=t.bit<<3|e,r=n<<10;i.getBCHDigit(r)-o>=0;)r^=1335<<i.getBCHDigit(r)-o;return 21522^(n<<10|r)}},10567:function(t,e){var n=new Uint8Array(512),i=new Uint8Array(256);(function(){for(var t=1,e=0;e<255;e++)n[e]=t,i[t]=e,256&(t<<=1)&&(t^=285);for(var o=255;o<512;o++)n[o]=n[o-255]})(),e.log=function(t){if(t<1)throw new Error("log("+t+")");return i[t]},e.exp=function(t){return n[t]},e.mul=function(t,e){return 0===t||0===e?0:n[i[t]+i[e]]}},51909:function(t,e,n){var i=n(93141),o=n(55402);function r(t){this.mode=i.KANJI,this.data=t}r.getBitsLength=function(t){return 13*t},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){var e;for(e=0;e<this.data.length;e++){var n=o.toSJIS(this.data[e]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}},t.exports=r},41976:function(t,e){function n(t,n,i){switch(t){case e.Patterns.PATTERN000:return(n+i)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return i%3==0;case e.Patterns.PATTERN011:return(n+i)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(i/3))%2==0;case e.Patterns.PATTERN101:return n*i%2+n*i%3==0;case e.Patterns.PATTERN110:return(n*i%2+n*i%3)%2==0;case e.Patterns.PATTERN111:return(n*i%3+(n+i)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},e.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,i=0,o=0,r=null,a=null,s=0;s<e;s++){i=o=0,r=a=null;for(var c=0;c<e;c++){var l=t.get(s,c);l===r?i++:(i>=5&&(n+=i-5+3),r=l,i=1),(l=t.get(c,s))===a?o++:(o>=5&&(n+=o-5+3),a=l,o=1)}i>=5&&(n+=i-5+3),o>=5&&(n+=o-5+3)}return n},e.getPenaltyN2=function(t){for(var e=t.size,n=0,i=0;i<e-1;i++)for(var o=0;o<e-1;o++){var r=t.get(i,o)+t.get(i,o+1)+t.get(i+1,o)+t.get(i+1,o+1);(4===r||0===r)&&n++}return 3*n},e.getPenaltyN3=function(t){for(var e=t.size,n=0,i=0,o=0,r=0;r<e;r++){i=o=0;for(var a=0;a<e;a++)i=i<<1&2047|t.get(r,a),a>=10&&(1488===i||93===i)&&n++,o=o<<1&2047|t.get(a,r),a>=10&&(1488===o||93===o)&&n++}return 40*n},e.getPenaltyN4=function(t){for(var e=0,n=t.data.length,i=0;i<n;i++)e+=t.data[i];return 10*Math.abs(Math.ceil(100*e/n/5)-10)},e.applyMask=function(t,e){for(var i=e.size,o=0;o<i;o++)for(var r=0;r<i;r++)e.isReserved(r,o)||e.xor(r,o,n(t,r,o))},e.getBestMask=function(t,n){for(var i=Object.keys(e.Patterns).length,o=0,r=1/0,a=0;a<i;a++){n(a),e.applyMask(a,t);var s=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(a,t),s<r&&(r=s,o=a)}return o}},93141:function(t,e,n){var i=n(74200),o=n(22679);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!i.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(i){return n}}},50580:function(t,e,n){var i=n(93141);function o(t){this.mode=i.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,n,i;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),i=parseInt(n,10),t.put(i,10);var o=this.data.length-e;o>0&&(n=this.data.substr(e),i=parseInt(n,10),t.put(i,3*o+1))},t.exports=o}
vendor: 9,448 bytes, line 1
1,70830:function(t,e,n){var i=n(10567);e.mul=function(t,e){for(var n=new Uint8Array(t.length+e.length-1),o=0;o<t.length;o++)for(var r=0;r<e.length;r++)n[o+r]^=i.mul(t[o],e[r]);return n},e.mod=function(t,e){for(var n=new Uint8Array(t);n.length-e.length>=0;){for(var o=n[0],r=0;r<e.length;r++)n[r]^=i.mul(e[r],o);for(var a=0;a<n.length&&0===n[a];)a++;n=n.slice(a)}return n},e.generateECPolynomial=function(t){for(var n=new Uint8Array([1]),o=0;o<t;o++)n=e.mul(n,new Uint8Array([1,i.exp(o)]));return n}},51191:function(t,e,n){var i=n(55402),o=n(3997),r=n(57258),a=n(8104),s=n(76448),c=n(21224),l=n(41976),u=n(67291),d=n(56041),h=n(90160),p=n(34482),f=n(93141),g=n(71769);function _(t,e,n){var i,o,r=t.size,a=p.getEncodedBits(e,n);for(i=0;i<15;i++)o=1==(a>>i&1),t.set(i<6?i:i<8?i+1:r-15+i,8,o,!0),t.set(8,i<8?r-i-1:i<9?15-i-1+1:15-i-1,o,!0);t.set(r-8,8,1,!0)}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var n,p,m=o.M;return void 0!==e&&(m=o.from(e.errorCorrectionLevel,o.M),n=h.from(e.version),p=l.from(e.maskPattern),e.toSJISFunc&&i.setToSJISFunction(e.toSJISFunc)),function(t,e,n,o){var p;if(Array.isArray(t))p=g.fromArray(t);else{if("string"!=typeof t)throw new Error("Invalid data");var m=e;if(!m){var v=g.rawSplit(t);m=h.getBestVersionForData(v,n)}p=g.fromString(t,m||40)}var y=h.getBestVersionForData(p,n);if(!y)throw new Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<y)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+y+".\n")}else e=y;var C=function(t,e,n){var o=new r;n.forEach(function(e){o.put(e.mode.bit,4),o.put(e.getLength(),f.getCharCountIndicator(e.mode,t)),e.write(o)});var a=8*(i.getSymbolTotalCodewords(t)-u.getTotalCodewordsCount(t,e));for(o.getLengthInBits()+4<=a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);for(var s=(a-o.getLengthInBits())/8,c=0;c<s;c++)o.put(c%2?17:236,8);return function(t,e,n){for(var o=i.getSymbolTotalCodewords(e),r=o-u.getTotalCodewordsCount(e,n),a=u.getBlocksCount(e,n),s=a-o%a,c=Math.floor(o/a),l=Math.floor(r/a),h=l+1,p=c-l,f=new d(p),g=0,_=new Array(a),m=new Array(a),v=0,y=new Uint8Array(t.buffer),C=0;C<a;C++){var b=C<s?l:h;_[C]=y.slice(g,g+b),m[C]=f.encode(_[C]),g+=b,v=Math.max(v,b)}var O,P,w=new Uint8Array(o),M=0;for(O=0;O<v;O++)for(P=0;P<a;P++)O<_[P].length&&(w[M++]=_[P][O]);for(O=0;O<p;O++)for(P=0;P<a;P++)w[M++]=m[P][O];return w}(o,t,e)}(e,n,p),b=i.getSymbolSize(e),O=new a(b);return function(t,e){for(var n=t.size,i=c.getPositions(e),o=0;o<i.length;o++)for(var r=i[o][0],a=i[o][1],s=-1;s<=7;s++)if(!(r+s<=-1||n<=r+s))for(var l=-1;l<=7;l++)a+l<=-1||n<=a+l||t.set(r+s,a+l,s>=0&&s<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===s||6===s)||s>=2&&s<=4&&l>=2&&l<=4,!0)}(O,e),function(t){for(var e=t.size,n=8;n<e-8;n++){var i=n%2==0;t.set(n,6,i,!0),t.set(6,n,i,!0)}}(O),function(t,e){for(var n=s.getPositions(e),i=0;i<n.length;i++)for(var o=n[i][0],r=n[i][1],a=-2;a<=2;a++)for(var c=-2;c<=2;c++)t.set(o+a,r+c,-2===a||2===a||-2===c||2===c||0===a&&0===c,!0)}(O,e),_(O,n,0),e>=7&&function(t,e){for(var n,i,o,r=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)n=Math.floor(s/3),i=s%3+r-8-3,o=1==(a>>s&1),t.set(n,i,o,!0),t.set(i,n,o,!0)}(O,e),function(t,e){for(var n=t.size,i=-1,o=n-1,r=7,a=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var c=0;c<2;c++)if(!t.isReserved(o,s-c)){var l=!1;a<e.length&&(l=1==(e[a]>>>r&1)),t.set(o,s-c,l),-1==--r&&(a++,r=7)}if((o+=i)<0||n<=o){o-=i,i=-i;break}}}(O,C),isNaN(o)&&(o=l.getBestMask(O,_.bind(null,O,n))),l.applyMask(o,O),_(O,n,o),{modules:O,version:e,errorCorrectionLevel:n,maskPattern:o,segments:p}}(t,n,m,p)}},56041:function(t,e,n){var i=n(70830);function o(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(t){this.degree=t,this.genPoly=i.generateECPolynomial(this.degree)},o.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");var e=new Uint8Array(t.length+this.degree);e.set(t);var n=i.mod(e,this.genPoly),o=this.degree-n.length;if(o>0){var r=new Uint8Array(this.degree);return r.set(n,o),r}return n},t.exports=o},22679:function(t,e){var n="[0-9]+",i="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",o="(?:(?![A-Z0-9 $%*+\\-./:]|"+(i=i.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(i,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(o,"g"),e.NUMERIC=new RegExp(n,"g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var r=new RegExp("^"+i+"$"),a=new RegExp("^"+n+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return r.test(t)},e.testNumeric=function(t){return a.test(t)},e.testAlphanumeric=function(t){return s.test(t)}},71769:function(t,e,n){var i=n(93141),o=n(50580),r=n(42793),a=n(62860),s=n(51909),c=n(22679),l=n(55402),u=n(78333);function d(t){return unescape(encodeURIComponent(t)).length}function h(t,e,n){for(var i,o=[];null!==(i=t.exec(n));)o.push({data:i[0],index:i.index,mode:e,length:i[0].length});return o}function p(t){var e,n,o=h(c.NUMERIC,i.NUMERIC,t),r=h(c.ALPHANUMERIC,i.ALPHANUMERIC,t);return l.isKanjiModeEnabled()?(e=h(c.BYTE,i.BYTE,t),n=h(c.KANJI,i.KANJI,t)):(e=h(c.BYTE_KANJI,i.BYTE,t),n=[]),o.concat(r,e,n).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function f(t,e){switch(e){case i.NUMERIC:return o.getBitsLength(t);case i.ALPHANUMERIC:return r.getBitsLength(t);case i.KANJI:return s.getBitsLength(t);case i.BYTE:return a.getBitsLength(t)}}function g(t,e){var n,c=i.getBestModeForData(t);if((n=i.from(e,c))!==i.BYTE&&n.bit<c.bit)throw new Error('"'+t+'" cannot be encoded with mode '+i.toString(n)+".\n Suggested mode is: "+i.toString(c));switch(n===i.KANJI&&!l.isKanjiModeEnabled()&&(n=i.BYTE),n){case i.NUMERIC:return new o(t);case i.ALPHANUMERIC:return new r(t);case i.KANJI:return new s(t);case i.BYTE:return new a(t)}}e.fromArray=function(t){return t.reduce(function(t,e){return"string"==typeof e?t.push(g(e,null)):e.data&&t.push(g(e.data,e.mode)),t},[])},e.fromString=function(t,n){for(var o=function(t){for(var e=[],n=0;n<t.length;n++){var o=t[n];switch(o.mode){case i.NUMERIC:e.push([o,{data:o.data,mode:i.ALPHANUMERIC,length:o.length},{data:o.data,mode:i.BYTE,length:o.length}]);break;case i.ALPHANUMERIC:e.push([o,{data:o.data,mode:i.BYTE,length:o.length}]);break;case i.KANJI:e.push([o,{data:o.data,mode:i.BYTE,length:d(o.data)}]);break;case i.BYTE:e.push([{data:o.data,mode:i.BYTE,length:d(o.data)}])}}return e}(p(t,l.isKanjiModeEnabled())),r=function(t,e){for(var n={},o={start:{}},r=["start"],a=0;a<t.length;a++){for(var s=t[a],c=[],l=0;l<s.length;l++){var u=s[l],d=""+a+l;c.push(d),n[d]={node:u,lastCount:0},o[d]={};for(var h=0;h<r.length;h++){var p=r[h];n[p]&&n[p].node.mode===u.mode?(o[p][d]=f(n[p].lastCount+u.length,u.mode)-f(n[p].lastCount,u.mode),n[p].lastCount+=u.length):(n[p]&&(n[p].lastCount=u.length),o[p][d]=f(u.length,u.mode)+4+i.getCharCountIndicator(u.mode,e))}}r=c}for(var g=0;g<r.length;g++)o[r[g]].end=0;return{map:o,table:n}}(o,n),a=u.find_path(r.map,"start","end"),s=[],c=1;c<a.length-1;c++)s.push(r.table[a[c]].node);return e.fromArray(s.reduce(function(t,e){var n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)},[]))},e.rawSplit=function(t){return e.fromArray(p(t,l.isKanjiModeEnabled()))}},55402:function(t,e){var n,i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return i[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return void 0!==n},e.toSJIS=function(t){return n(t)}},74200:function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},90160:function(t,e,n){var i=n(55402),o=n(67291),r=n(3997),a=n(93141),s=n(74200),c=i.getBCHDigit(7973);function l(t,e){return a.getCharCountIndicator(t,e)+4}function u(t,e){var n=0;return t.forEach(function(t){n+=l(t.mode,e)+t.getBitsLength()}),n}e.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},e.getCapacity=function(t,e,n){if(!s.isValid(t))throw new Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);var r=8*(i.getSymbolTotalCodewords(t)-o.getTotalCodewordsCount(t,e));if(n===a.MIXED)return r;var c=r-l(n,t);switch(n){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);default:return Math.floor(c/8)}},e.getBestVersionForData=function(t,n){var i,o=r.from(n,r.M);if(Array.isArray(t)){if(t.length>1)return function(t,n){for(var i=1;i<=40;i++)if(u(t,i)<=e.getCapacity(i,n,a.MIXED))return i}(t,o);if(0===t.length)return 1;i=t[0]}else i=t;return function(t,n,i){for(var o=1;o<=40;o++)if(n<=e.getCapacity(o,i,t))return o}(i.mode,i.getLength(),o)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;
1i.getBCHDigit(e)-c>=0;)e^=7973<<i.getBCHDigit(e)-c;return t<<12|e}},32158:function(t,e,n){var i=n(5726);e.render=function(t,e,n){var o=n,r=e;void 0===o&&(!e||!e.getContext)&&(o=e,e=void 0),e||(r=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=i.getOptions(o);var a=i.getImageWidth(t.modules.size,o),s=r.getContext("2d"),c=s.createImageData(a,a);return i.qrToImageData(c.data,t,o),function(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}(s,r,a),s.putImageData(c,0,0),r},e.renderToDataURL=function(t,n,i){var o=i;return void 0===o&&(!n||!n.getContext)&&(o=n,n=void 0),o||(o={}),e.render(t,n,o).toDataURL(o.type||"image/png",(o.rendererOpts||{}).quality)}},173:function(t,e,n){var i=n(5726);function o(t,e){var n=t.a/255,i=e+'="'+t.hex+'"';return n<1?i+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function r(t,e,n){var i=t+e;return void 0!==n&&(i+=" "+n),i}e.render=function(t,e,n){var a=i.getOptions(e),s=t.modules.size,c=t.modules.data,l=s+2*a.margin,u=a.color.light.a?"<path "+o(a.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",d="<path "+o(a.color.dark,"stroke")+' d="'+function(t,e,n){for(var i="",o=0,a=!1,s=0,c=0;c<t.length;c++){var l=Math.floor(c%e),u=Math.floor(c/e);!l&&!a&&(a=!0),t[c]?(s++,c>0&&l>0&&t[c-1]||(i+=a?r("M",l+n,.5+u+n):r("m",o,0),o=0,a=!1),l+1<e&&t[c+1]||(i+=r("h",s),s=0)):o++}return i}(c,s,a.margin)+'"/>',h='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+'viewBox="0 0 '+l+" "+l+'" shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"==typeof n&&n(null,h),h}},5726:function(t,e){function n(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);(3===e.length||4===e.length)&&(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");var n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}e.getOptions=function(t){t||(t={}),t.color||(t.color={});var e=t.width&&t.width>=21?t.width:void 0;return{width:e,scale:e?4:t.scale||4,margin:null==t.margin||t.margin<0?4:t.margin,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,n){var i=e.getScale(t,n);return Math.floor((t+2*n.margin)*i)},e.qrToImageData=function(t,n,i){for(var o=n.modules.size,r=n.modules.data,a=e.getScale(o,i),s=Math.floor((o+2*i.margin)*a),c=i.margin*a,l=[i.color.light,i.color.dark],u=0;u<s;u++)for(var d=0;d<s;d++){var h=4*(u*s+d),p=i.color.light;u>=c&&d>=c&&u<s-c&&d<s-c&&(p=l[r[Math.floor((u-c)/a)*o+Math.floor((d-c)/a)]?1:0]),t[h++]=p.r,t[h++]=p.g,t[h++]=p.b,t[h]=p.a}}},98216:function(t){"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,n,i,o){i=i||"=";var r={};if("string"!=typeof t||0===t.length)return r;var a=/\+/g;t=t.split(n=n||"&");var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var c=t.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++l){var u,d,h,p,f=t[l].replace(a,"%20"),g=f.indexOf(i);g>=0?(u=f.substr(0,g),d=f.substr(g+1)):(u=f,d=""),h=decodeURIComponent(u),p=decodeURIComponent(d),e(r,h)?Array.isArray(r[h])?r[h].push(p):r[h]=[r[h],p]:r[h]=p}return r}},36173:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,n,i,o){return n=n||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(o){var r=encodeURIComponent(e(o))+i;return Array.isArray(t[o])?t[o].map(function(t){return r+encodeURIComponent(e(t))}).join(n):r+encodeURIComponent(e(t[o]))}).join(n):o?encodeURIComponent(e(o))+i+encodeURIComponent(e(t)):""}},36284:function(t,e,n){"use strict";e.decode=e.parse=n(98216),e.encode=e.stringify=n(36173)},3036:function(t){t.exports=function(){"use strict";function t(t,i,o,r,a){!function t(n,i,o,r,a){for(;r>o;){if(r-o>600){var s=r-o+1,c=i-o+1,l=Math.log(s),u=.5*Math.exp(2*l/3),d=.5*Math.sqrt(l*u*(s-u)/s)*(c-s/2<0?-1:1);t(n,i,Math.max(o,Math.floor(i-c*u/s+d)),Math.min(r,Math.floor(i+(s-c)*u/s+d)),a)}var h=n[i],p=o,f=r;for(e(n,o,i),a(n[r],h)>0&&e(n,o,r);p<f;){for(e(n,p,f),p++,f--;a(n[p],h)<0;)p++;for(;a(n[f],h)>0;)f--}0===a(n[o],h)?e(n,o,f):e(n,++f,r),f<=i&&(o=f+1),i<=f&&(r=f-1)}}(t,i,o||0,r||t.length-1,a||n)}function e(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function n(t,e){return t<e?-1:t>e?1:0}var i=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function o(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i<e.length;i++)if(n(t,e[i]))return i;return-1}function r(t,e){a(t,0,t.children.length,e,t)}function a(t,e,n,i,o){o||(o=f(null)),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(var r=e;r<n;r++){var a=t.children[r];s(o,t.leaf?i(a):a)}return o}function s(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function c(t,e){return t.minX-e.minX}function l(t,e){return t.minY-e.minY}
vendor: 5,062 bytes, line 1
1function u(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function d(t){return t.maxX-t.minX+(t.maxY-t.minY)}function h(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function p(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function f(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(e,n,i,o,r){for(var a=[n,i];a.length;)if(!((i=a.pop())-(n=a.pop())<=o)){var s=n+Math.ceil((i-n)/o/2)*o;t(e,s,n,i,r),a.push(n,s,s,i)}}return i.prototype.all=function(){return this._all(this.data,[])},i.prototype.search=function(t){var e=this.data,n=[];if(!p(t,e))return n;for(var i=this.toBBox,o=[];e;){for(var r=0;r<e.children.length;r++){var a=e.children[r],s=e.leaf?i(a):a;p(t,s)&&(e.leaf?n.push(a):h(t,s)?this._all(a,n):o.push(a))}e=o.pop()}return n},i.prototype.collides=function(t){var e=this.data;if(!p(t,e))return!1;for(var n=[];e;){for(var i=0;i<e.children.length;i++){var o=e.children[i],r=e.leaf?this.toBBox(o):o;if(p(t,r)){if(e.leaf||h(t,r))return!0;n.push(o)}}e=n.pop()}return!1},i.prototype.load=function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0;e<t.length;e++)this.insert(t[e]);return this}var n=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var i=this.data;this.data=n,n=i}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},i.prototype.insert=function(t){return t&&this._insert(t,this.data.height-1),this},i.prototype.clear=function(){return this.data=f([]),this},i.prototype.remove=function(t,e){if(!t)return this;for(var n,i,r,a=this.data,s=this.toBBox(t),c=[],l=[];a||c.length;){if(a||(a=c.pop(),i=c[c.length-1],n=l.pop(),r=!0),a.leaf){var u=o(t,a.children,e);if(-1!==u)return a.children.splice(u,1),c.push(a),this._condense(c),this}r||a.leaf||!h(a,s)?i?(n++,a=i.children[n],r=!1):a=null:(c.push(a),l.push(n),n=0,i=a,a=a.children[0])}return this},i.prototype.toBBox=function(t){return t},i.prototype.compareMinX=function(t,e){return t.minX-e.minX},i.prototype.compareMinY=function(t,e){return t.minY-e.minY},i.prototype.toJSON=function(){return this.data},i.prototype.fromJSON=function(t){return this.data=t,this},i.prototype._all=function(t,e){for(var n=[];t;)t.leaf?e.push.apply(e,t.children):n.push.apply(n,t.children),t=n.pop();return e},i.prototype._build=function(t,e,n,i){var o,a=n-e+1,s=this._maxEntries;if(a<=s)return r(o=f(t.slice(e,n+1)),this.toBBox),o;i||(i=Math.ceil(Math.log(a)/Math.log(s)),s=Math.ceil(a/Math.pow(s,i-1))),(o=f([])).leaf=!1,o.height=i;var c=Math.ceil(a/s),l=c*Math.ceil(Math.sqrt(s));g(t,e,n,l,this.compareMinX);for(var u=e;u<=n;u+=l){var d=Math.min(u+l-1,n);g(t,u,d,c,this.compareMinY);for(var h=u;h<=d;h+=c){var p=Math.min(h+c-1,d);o.children.push(this._build(t,h,p,i-1))}}return r(o,this.toBBox),o},i.prototype._chooseSubtree=function(t,e,n,i){for(;i.push(e),!e.leaf&&i.length-1!==n;){for(var o=1/0,r=1/0,a=void 0,s=0;s<e.children.length;s++){var c=e.children[s],l=u(c),d=(h=t,p=c,(Math.max(p.maxX,h.maxX)-Math.min(p.minX,h.minX))*(Math.max(p.maxY,h.maxY)-Math.min(p.minY,h.minY))-l);d<r?(r=d,o=l<o?l:o,a=c):d===r&&l<o&&(o=l,a=c)}e=a||e.children[0]}var h,p;return e},i.prototype._insert=function(t,e,n){var i=n?t:this.toBBox(t),o=[],r=this._chooseSubtree(i,this.data,e,o);for(r.children.push(t),s(r,i);e>=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(i,o,e)},i.prototype._split=function(t,e){var n=t[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);var a=this._chooseSplitIndex(n,o,i),s=f(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,r(n,this.toBBox),r(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},i.prototype._splitRoot=function(t,e){this.data=f([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},i.prototype._chooseSplitIndex=function(t,e,n){for(var i,o,r,s,c,l,d,h=1/0,p=1/0,f=e;f<=n-e;f++){var g=a(t,0,f,this.toBBox),_=a(t,f,n,this.toBBox),m=(o=g,r=_,s=Math.max(o.minX,r.minX),c=Math.max(o.minY,r.minY),l=Math.min(o.maxX,r.maxX),d=Math.min(o.maxY,r.maxY),Math.max(0,l-s)*Math.max(0,d-c)),v=u(g)+u(_);m<h?(h=m,i=f,p=v<p?v:p):m===h&&v<p&&(p=v,i=f)}return i||n-e},i.prototype._chooseSplitAxis=function(t,e,n){var i=t.leaf?this.compareMinX:c,o=t.leaf?this.compareMinY:l;this._allDistMargin(t,e,n,i)<this._allDistMargin(t,e,n,o)&&t.children.sort(i)},i.prototype._allDistMargin=function(t,e,n,i){t.children.sort(i);for(var o=this.toBBox,r=a(t,0,e,o),c=a(t,n-e,n,o),l=d(r)+d(c),u=e;u<n-e;u++){var h=t.children[u];s(r,t.leaf?o(h):h),l+=d(r)}for(var p=n-e-1;p>=e;p--){var f=t.children[p];s(c,t.leaf?o(f):f),l+=d(c)}return l},i.prototype._adjustParentBBoxes=function(t,e,n){for(var i=n;i>=0;i--)s(e[i],t)},i.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},i}()},24208:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var i=n(19214),o=n(99871);i.Observable.prototype.catch=o._catch,i.Observable.prototype._catch=o._catch},69626:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(19214),o=n(61489);i.Observable.prototype.filter=o.filter},99871:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(38027);e._catch=function(t){return i.catchError(t)(this)}},61489:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(38027);e.filter=function(t,e){return i.filter(t,e)(this)}},19214:function(t,e,n){"use strict";n.r(e),n.d(e,{ArgumentOutOfRangeError:function(){return S.W},AsyncSubject:function(){return d.c},BehaviorSubject:function(){return l.X},ConnectableObservable:function(){return r.c},EMPTY:function(){return H.E},EmptyError:function(){return A.K},GroupedObservable:function(){return a.T},NEVER:function(){return ot.C},Notification:function(){return P.P},NotificationKind:function(){return P.W},ObjectUnsubscribedError:function(){return T.N},Observable:function(){return o.y},ReplaySubject:function(){return u.t},Scheduler:function(){return C.b},Subject:function(){return c.xQ},Subscriber:function(){return O.L},Subscription:function(){return b.w},TimeoutError:function(){return E.W},UnsubscriptionError:function(){return I.B},VirtualAction:function(){return y},VirtualTimeScheduler:function(){return v},animationFrame:function(){return g.r},animationFrameScheduler:function(){return g.Z},asap:function(){return h.e},asapScheduler:function(){return h.E},async:function(){return p.P},asyncScheduler:function(){return p.z},bindCallback:function(){return Z},bindNodeCallback:function(){return V},combineLatest:function(){return B.aj},concat:function(){return Y.z},config:function(){return bt.v},defer:function(){return G.P},empty:function(){return H.c},forkJoin:function(){return J.D},from:function(){return W.D},fromEvent:function(){return Q.R},fromEventPattern:function(){return X},generate:function(){return $},identity:function(){return x.y},iif:function(){return et},interval:function(){return nt.F},isObservable:function(){return k.b},merge:function(){return it.T},never:function(){return ot.F},noop:function(){return M.Z},observable:function(){return s.L},of:function(){return rt.of},onErrorResumeNext:function(){return at},pairs:function(){return st},partition:function(){return ht},pipe:function(){return w.z},queue:function(){return f.c},queueScheduler:function(){return f.N},race:function(){return pt.S3},range:function(){return ft},scheduled:function(){return Ct.x},throwError:function(){return _t._},timer:function(){return mt.H},using:function(){return vt},zip:function(){return yt.$R}});var i,o=n(39897),r=n(52441),a=n(304),s=n(16554),c=n(79765),l=n(26215),u=n(88229),d=n(68660),h=n(64581),p=n(33637),f=n(57771),g=n(61927),_=n(36465),m=n(4548),v=(i=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;return _classCallCheck(this,e),(t=_callSuper(this,e,[n,function(){return t.frame}])).maxFrames=i,t.frame=0,t.index=-1,t}return _inherits(e,t),_createClass(e,[{key:"flush",value:function(){for(var t,e,n=this.actions,i=this.maxFrames;(e=n[0])&&e.delay<=i&&(n.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=n.shift();)e.unsubscribe();throw t}}}]),e}(m.v),i.frameTimeFactor=10,i),y=function(t){function e(t,n){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.index+=1;return _classCallCheck(this,e),(i=_callSuper(this,e,[t,n])).scheduler
1=t,i.work=n,i.index=o,i.active=!0,i.index=t.index=o,i}return _inherits(e,t),_createClass(e,[{key:"schedule",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.id)return _get(_getPrototypeOf(e.prototype),"schedule",this).call(this,t,n);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(t,n)}},{key:"requestAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.delay=t.frame+i;var o=t.actions;return o.push(this),o.sort(e.sortActions),!0}},{key:"recycleAsyncId",value:function(t,e){}},{key:"_execute",value:function(t,n){if(!0===this.active)return _get(_getPrototypeOf(e.prototype),"_execute",this).call(this,t,n)}}],[{key:"sortActions",value:function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1}}]),e}(_.o),C=n(2217),b=n(10826),O=n(77393),P=n(23098),w=n(34022),M=n(98640),x=n(54487),k=n(95639),S=n(7108),A=n(13410),T=n(77971),I=n(57744),E=n(45587),D=n(88002),R=n(13179),F=n(59796),L=n(54869);function Z(t,e,n){if(e){if(!(0,L.K)(e))return function(){return Z(t,n).apply(void 0,arguments).pipe((0,D.U)(function(t){return(0,F.k)(t)?e.apply(void 0,_toConsumableArray(t)):e(t)}))};n=e}return function(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];var a,s=this,c={context:s,subject:a,callbackFunc:t,scheduler:n};return new o.y(function(e){if(n)return n.schedule(N,0,{args:i,subscriber:e,params:c});if(!a){a=new d.c;try{t.apply(s,[].concat(i,[function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];a.next(e.length<=1?e[0]:e),a.complete()}]))}catch(o){(0,R._)(a)?a.error(o):console.warn(o)}}return a.subscribe(e)})}}function N(t){var e=this,n=t.args,i=t.subscriber,o=t.params,r=o.callbackFunc,a=o.context,s=o.scheduler,c=o.subject;if(!c){c=o.subject=new d.c;try{r.apply(a,[].concat(_toConsumableArray(n),[function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.add(s.schedule(U,0,{value:n.length<=1?n[0]:n,subject:c}))}]))}catch(l){c.error(l)}}this.add(c.subscribe(i))}function U(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function V(t,e,n){if(e){if(!(0,L.K)(e))return function(){return V(t,n).apply(void 0,arguments).pipe((0,D.U)(function(t){return(0,F.k)(t)?e.apply(void 0,_toConsumableArray(t)):e(t)}))};n=e}return function(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];var a={subject:void 0,args:i,callbackFunc:t,scheduler:n,context:this};return new o.y(function(e){var o=a.context,r=a.subject;if(n)return n.schedule(j,0,{params:a,subscriber:e,context:o});if(!r){r=a.subject=new d.c;try{t.apply(o,[].concat(i,[function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e.shift();i?r.error(i):(r.next(e.length<=1?e[0]:e),r.complete())}]))}catch(s){(0,R._)(r)?r.error(s):console.warn(s)}}return r.subscribe(e)})}}function j(t){var e=this,n=t.params,i=t.subscriber,o=t.context,r=n.callbackFunc,a=n.args,s=n.scheduler,c=n.subject;if(!c){c=n.subject=new d.c;try{r.apply(o,[].concat(_toConsumableArray(a),[function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var o=n.shift();e.add(o?s.schedule(q,0,{err:o,subject:c}):s.schedule(z,0,{value:n.length<=1?n[0]:n,subject:c}))}]))}catch(l){this.add(s.schedule(q,0,{err:l,subject:c}))}}this.add(c.subscribe(i))}function z(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function q(t){var e=t.err;t.subject.error(e)}var B=n(9112),Y=n(29923),G=n(41439),H=n(59193),J=n(35758),W=n(69412),Q=n(22759),K=n(69105);function X(t,e,n){return n?X(t,e).pipe((0,D.U)(function(t){return(0,F.k)(t)?n.apply(void 0,_toConsumableArray(t)):n(t)})):new o.y(function(n){var i,o=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return n.next(1===e.length?e[0]:e)};try{i=t(o)}catch(r){return void n.error(r)}if((0,K.m)(e))return function(){return e(o,i)}})}function $(t,e,n,i,r){var a,s;return 1==arguments.length?(s=t.initialState,e=t.condition,n=t.iterate,a=t.resultSelector||x.y,r=t.scheduler):void 0===i||(0,L.K)(i)?(s=t,a=x.y,r=i):(s=t,a=i),new o.y(function(t){var i=s;
1if(r)return r.schedule(tt,0,{subscriber:t,iterate:n,condition:e,resultSelector:a,state:i});for(;;){if(e){var o=void 0;try{o=e(i)}catch(l){return void t.error(l)}if(!o){t.complete();break}}var c=void 0;try{c=a(i)}catch(o){return void t.error(o)}if(t.next(c),t.closed)break;try{i=n(i)}catch(o){return void t.error(o)}}})}function tt(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(i){return void e.error(i)}else t.needIterate=!0;if(n){var i;try{i=n(t.state)}catch(r){return void e.error(r)}if(!i)return void e.complete();if(e.closed)return}var o;try{o=t.resultSelector(t.state)}catch(i){return void e.error(i)}return e.closed||(e.next(o),e.closed)?void 0:this.schedule(t)}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H.E,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H.E;return(0,G.P)(function(){return t()?e:n})}var nt=n(20945),it=n(66682),ot=n(17757),rt=n(25917);function at(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(0===e.length)return H.E;var i=e[0],r=e.slice(1);return 1===e.length&&(0,F.k)(i)?at.apply(void 0,_toConsumableArray(i)):new o.y(function(t){var e=function(){return t.add(at.apply(void 0,_toConsumableArray(r)).subscribe(t))};return(0,W.D)(i).subscribe({next:function(e){t.next(e)},error:e,complete:e})})}function st(t,e){return new o.y(e?function(n){var i=Object.keys(t),o=new b.w;return o.add(e.schedule(ct,0,{keys:i,index:0,subscriber:n,subscription:o,obj:t})),o}:function(e){for(var n=Object.keys(t),i=0;i<n.length&&!e.closed;i++){var o=n[i];t.hasOwnProperty(o)&&e.next([o,t[o]])}e.complete()})}function ct(t){var e=t.keys,n=t.index,i=t.subscriber,o=t.subscription,r=t.obj;if(!i.closed)if(n<e.length){var a=e[n];i.next([a,r[a]]),o.add(this.schedule({keys:e,index:n+1,subscriber:i,subscription:o,obj:r}))}else i.complete()}var lt=n(49264),ut=n(87444),dt=n(45435);function ht(t,e,n){return[(0,dt.h)(e,n)(new o.y((0,ut.s)(t))),(0,dt.h)((0,lt.f)(e,n))(new o.y((0,ut.s)(t)))]}var pt=n(98085);function ft(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return new o.y(function(i){void 0===e&&(e=t,t=0);var o=0,r=t;if(n)return n.schedule(gt,0,{index:o,count:e,start:t,subscriber:i});for(;;){if(o++>=e){i.complete();break}if(i.next(r++),i.closed)break}})}function gt(t){var e=t.start,n=t.index,i=t.count,o=t.subscriber;n>=i?o.complete():(o.next(e),!o.closed&&(t.index=n+1,t.start=e+1,this.schedule(t)))}var _t=n(40205),mt=n(46797);function vt(t,e){return new o.y(function(n){var i,o;try{i=t()}catch(a){return void n.error(a)}try{o=e(i)}catch(a){return void n.error(a)}var r=(o?(0,W.D)(o):H.E).subscribe(n);return function(){r.unsubscribe(),i&&i.unsubscribe()}})}var yt=n(21571),Ct=n(91115),bt=n(82494)},68660:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(79765),o=n(10826),r=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments)).value=null,t.hasNext=!1,t.hasCompleted=!1,t}return _inherits(e,t),_createClass(e,[{key:"_subscribe",value:function(t){return this.hasError?(t.error(this.thrownError),o.w.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),o.w.EMPTY):_get(_getPrototypeOf(e.prototype),"_subscribe",this).call(this,t)}},{key:"next",value:function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)}},{key:"error",value:function(t){this.hasCompleted||_get(_getPrototypeOf(e.prototype),"error",this).call(this,t)}},{key:"complete",value:function(){this.hasCompleted=!0,this.hasNext&&_get(_getPrototypeOf(e.prototype),"next",this).call(this,this.value),_get(_getPrototypeOf(e.prototype),"complete",this).call(this)}}]),e}(i.xQ)},26215:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var i=n(79765),o=n(77971),r=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._value=t,n}return _inherits(e,t),_createClass(e,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(t){var n=_get(_getPrototypeOf(e.prototype),"_subscribe",this).call(this,t);return n&&!n.closed&&t.next(this._value),n}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.N;return this._value}},{key:"next",value:function(t){_get(_getPrototypeOf(e.prototype),"next",this).call(this,this._value=t)}}]),e}(i.xQ)},23098:function(t,e,n){"use strict";n.d(e,{W:function(){return s},P:function(){return c}});var i,o=n(59193),r=n(25917),a=n(40205),s=((i=s||(s={})).NEXT="N",i.ERROR="E",i.COMPLETE="C",s),c=function(){function t(e,n,i){_classCallCheck(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return _createClass(t,[{key:"observe",value:function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}},{key:"do",value:function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return(0,a._)(this.error);case"C":return(0,o.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();c.completeNotification=new c("C"),c.undefinedValueNotification=new c("N",void 0)},39897:function(t,e,n){"use strict";n.d(e,{y:function(){return d}});var i,o=n(13179),r=n(77393),a=n(29181),s=n(46490),c=n(16554),l=n(34022),u=n(82494),d=(i=function(t){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(t,e,n){var i=this.operator,o=function(t,e,n){if(t){if(t instanceof r.L)return t;if(t[a.b])return t[a.b]()}return t||e||n?new r.L(t,e,n):new r.L(s.c)}(t,e,n);if(o.add(i?i.call(o,this.source):this.source||u.v.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),u.v.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}},{key:"_trySubscribe",value:function(t){try{return this._subscribe(t)}catch(e){u.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),(0,o._)(t)?t.error(e):console.warn(e)}}}
1,{key:"forEach",value:function(t,e){var n=this;return new(e=h(e))(function(e,i){var o;o=n.subscribe(function(e){try{t(e)}catch(n){i(n),o&&o.unsubscribe()}},i,e)})}},{key:"_subscribe",value:function(t){var e=this.source;return e&&e.subscribe(t)}},{key:t,value:function(){return this}},{key:"pipe",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?this:(0,l.U)(e)(this)}},{key:"toPromise",value:function(t){var e=this;return new(t=h(t))(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})}}]),e}(c.L),i.create=function(t){return new i(t)},i);function h(t){if(t||(t=u.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},46490:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(82494),o=n(54449),r={closed:!0,next:function(t){},error:function(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,o.z)(t)},complete:function(){}}},55197:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var i=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(t,e,n,i,o){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),e}(n(77393).L)},88229:function(t,e,n){"use strict";n.d(e,{t:function(){return l}});var i=n(79765),o=n(57771),r=n(10826),a=n(59746),s=n(77971),c=n(78858),l=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,e),(t=_callSuper(this,e)).scheduler=o,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=n<1?1:n,t._windowTime=i<1?1:i,i===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return _inherits(e,t),_createClass(e,[{key:"nextInfiniteTimeWindow",value:function(t){if(!this.isStopped){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift()}_get(_getPrototypeOf(e.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this.isStopped||(this._events.push(new u(this._getNow(),t)),this._trimBufferThenGetEvents()),_get(_getPrototypeOf(e.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,l=i.length;if(this.closed)throw new s.N;if(this.isStopped||this.hasError?e=r.w.EMPTY:(this.observers.push(t),e=new c.W(this,t)),o&&t.add(t=new a.ht(t,o)),n)for(var u=0;u<l&&!t.closed;u++)t.next(i[u]);else for(var d=0;d<l&&!t.closed;d++)t.next(i[d].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e}},{key:"_getNow",value:function(){return(this.scheduler||o.c).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,o=i.length,r=0;r<o&&!(t-i[r].time<n);)r++;return o>e&&(r=Math.max(r,o-e)),r>0&&i.splice(0,r),i}}]),e}(i.xQ),u=_createClass(function t(e,n){_classCallCheck(this,t),this.time=e,this.value=n})},2217:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i,o=(i=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;_classCallCheck(this,t),this.SchedulerAction=e,this.now=n}return _createClass(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}(),i.now=function(){return Date.now()},i)},79765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return u},xQ:function(){return d}});var i,o=n(39897),r=n(77393),a=n(10826),s=n(77971),c=n(78858),l=n(29181),u=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t])).destination=t,n}return _inherits(e,t),_createClass(e)}(r.L),d=((i=function(t,e){function n(){var t;return _classCallCheck(this,n),(t=_callSuper(this,n)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return _inherits(n,t),_createClass(n,[{key:e,value:function(){return new u(this)}},{key:"lift",value:function(t){var e=new h(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new s.N;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),o=0;o<n;o++)i[o].next(t)}},{key:"error",value:function(t){if(this.closed)throw new s.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),o=0;o<n;o++)i[o].error(t);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new s.N;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),i=0;i<e;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(t){if(this.closed)throw new s.N;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,t)}},{key:"_subscribe",value:function(t){if(this.closed)throw new s.N;return this.hasError?(t.error(this.thrownError),a.w.EMPTY):this.isStopped?(t.complete(),a.w.EMPTY):(this.observers.push(t),new c.W(this,t))}},{key:"asObservable",value:function(){var t=new o.y;return t.source=this,t}}]),n}(o.y,l.b)).create=function(t,e){return new h(t,e)},i),h=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).destination=t,i.source=n,i}return _inherits(e,t),_createClass(e,[{key:"next",value:function(t){var e=this.destination;e&&e.next&&e.next(t)}},{key:"error",value:function(t){var e=this.destination;e&&e.error&&this.destination.error(t)}},{key:"complete",value:function(){var t=this.destination;t&&t.complete&&this.destination.complete()}},{key:"_subscribe",value:function(t){return this.source?this.source.subscribe(t):a.w.EMPTY}}]),e}(d)},78858:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var i=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).subject=t,i.subscriber=n,i.closed=!1,i}return _inherits(e,t),_createClass(e,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}}}]),e}(n(10826).w)},77393:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var i=n(69105),o=n(46490),r=n(10826),a=n(29181),s=n(82494),c=n(54449),l=function(t,e){function n(t,e,i){var r;switch(_classCallCheck(this,n),(r=_callSuper(this,n)).syncErrorValue=null,r.syncErrorThrown=!1,r.syncErrorThrowable=!1,r.isStopped=!1,arguments.length){case 0:r.destination=o.c;break;case 1:if(!t){r.destination=o.c;break}if("object"==typeof t){t instanceof n?(r.syncErrorThrowable=t.syncErrorThrowable,r.destination=t,t.add(_assertThisInitialized(r))):(r.syncErrorThrowable=!0,r.destination=new u(_assertThisInitialized(r),t));break}default:r.syncErrorThrowable=!0,r.destination=new u(_assertThisInitialized(r),t,e,i)}return r}return _inherits(n,t),_createClass(n,[{key:e,value:function(){return this}},{key:"next",value:function(t){this.isStopped||this._next(t)}},{key:"error",value:function(t){this.isStopped||(this.isStopped=!0,this._error(t))}},{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(t){this.destination.next(t)}},{key:"_error",value:function(t){this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}
1],[{key:"create",value:function(t,e,i){var o=new n(t,e,i);return o.syncErrorThrowable=!1,o}}]),n}(r.w,a.b),u=function(t){function e(t,n,r,a){var s;_classCallCheck(this,e),(s=_callSuper(this,e))._parentSubscriber=t;var c,l=_assertThisInitialized(s);return(0,i.m)(n)?c=n:n&&(c=n.next,r=n.error,a=n.complete,n!==o.c&&(l=Object.create(n),(0,i.m)(l.unsubscribe)&&s.add(l.unsubscribe.bind(l)),l.unsubscribe=s.unsubscribe.bind(_assertThisInitialized(s)))),s._context=l,s._next=c,s._error=r,s._complete=a,s}return _inherits(e,t),_createClass(e,[{key:"next",value:function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}},{key:"error",value:function(t){if(!this.isStopped){var e=this._parentSubscriber,n=s.v.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,c.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,c.z)(t)}}}},{key:"complete",value:function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};s.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.v.useDeprecatedSynchronousErrorHandling)throw n;(0,c.z)(n)}}},{key:"__tryOrSetError",value:function(t,e,n){if(!s.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,c.z)(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}]),e}(l)},10826:function(t,e,n){"use strict";n.d(e,{w:function(){return c}});var i,o=n(59796),r=n(81555),a=n(69105),s=n(57744),c=function(){function t(e){_classCallCheck(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return _createClass(t,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var n=this._parentOrParents,i=this._ctorUnsubscribe,c=this._unsubscribe,u=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var d=0;d<n.length;++d)n[d].remove(this);if((0,a.m)(c)){i&&(this._unsubscribe=void 0);try{c.call(this)}catch(d){e=d instanceof s.B?l(d.errors):[d]}}if((0,o.k)(u))for(var h=-1,p=u.length;++h<p;){var f=u[h];if((0,r.K)(f))try{f.unsubscribe()}catch(g){e=e||[],g instanceof s.B?e=e.concat(l(g.errors)):e.push(g)}}if(e)throw new s.B(e)}}},{key:"add",value:function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var i=n;(n=new t)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var o=n._parentOrParents;if(null===o)n._parentOrParents=this;else if(o instanceof t){if(o===this)return n;n._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return n;o.push(this)}var r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}},{key:"remove",value:function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}]),t}();function l(t){return t.reduce(function(t,e){return t.concat(e instanceof s.B?e.errors:e)},[])}c.EMPTY=((i=new c).closed=!0,i)},82494:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var i=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior b
1y code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},85345:function(t,e,n){"use strict";n.d(e,{IY:function(){return a},Ds:function(){return s},ft:function(){return c}});var i=n(77393),o=n(39897),r=n(87444),a=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e)).parent=t,n}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.parent.notifyNext(t)}},{key:"_error",value:function(t){this.parent.notifyError(t),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),e}(i.L),s=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyError",value:function(t){this.destination.error(t)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),e}(i.L);function c(t,e){if(!e.closed)return t instanceof o.y?t.subscribe(e):(0,r.s)(t)(e)}},52441:function(t,e,n){"use strict";n.d(e,{c:function(){return c},N:function(){return l}});var i,o=n(79765),r=n(39897),a=n(10826),s=n(51307),c=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).source=t,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return _inherits(e,t),_createClass(e,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.w).add(this.source.subscribe(new u(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.w.EMPTY)),t}},{key:"refCount",value:function(){return(0,s.x)()(this)}}]),e}(r.y),l={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(i=c.prototype)._subscribe},_isComplete:{value:i._isComplete,writable:!0},getSubject:{value:i.getSubject},connect:{value:i.connect},refCount:{value:i.refCount}},u=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).connectable=n,i}return _inherits(e,t),_createClass(e,[{key:"_error",value:function(t){this._unsubscribe(),_get(_getPrototypeOf(e.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),e}(o.Yc)},9112:function(t,e,n){"use strict";n.d(e,{aj:function(){return l},Ms:function(){return u}});var i=n(54869),o=n(59796),r=n(55197),a=n(20509),s=n(56693),c={};function l(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,a;return(0,i.K)(e[e.length-1])&&(a=e.pop()),"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&(0,o.k)(e[0])&&(e=e[0]),(0,s.n)(e,a).lift(new u(r))}var u=function(){function t(e){_classCallCheck(this,t),this.resultSelector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new d(t,this.resultSelector))}}]),t}(),d=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).resultSelector=n,i.active=0,i.values=[],i.observables=[],i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.values.push(c),this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++)this.add((0,a.D)(this,t[n],void 0,n))}}},{key:"notifyComplete",value:function(t){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(t,e,n){var i=this.values,o=this.toRespond?i[n]===c?--this.toRespond:this.toRespond:0;i[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),e}(r.L)},29923:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var i=n(25917),o=n(65766);function r(){return(0,o.u)()(i.of.apply(void 0,arguments))}},41439:function(t,e,n){"use strict";n.d(e,{P:function(){return a}});var i=n(39897),o=n(69412),r=n(59193);function a(t){return new i.y(function(e){var n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,o.D)(n):(0,r.c)()).subscribe(e)})}},59193:function(t,e,n){"use strict";n.d(e,{E:function(){return o},c:function(){return r}});var i=n(39897),o=new i.y(function(t){return t.complete()});function r(t){return t?function(t){return new i.y(function(e){return t.schedule(function(){return e.complete()})})}(t):o}},35758:function(t,e,n){"use strict";n.d(e,{D:function(){return c}});var i=n(39897),o=n(59796),r=n(88002),a=n(81555),s=n(69412);function c(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(1===e.length){var i=e[0];if((0,o.k)(i))return l(i,null);if((0,a.K)(i)&&Object.getPrototypeOf(i)===Object.prototype){var s=Object.keys(i);return l(s.map(function(t){return i[t]}),s)}}if("function"==typeof e[e.length-1]){var c=e.pop();return l(e=1===e.length&&(0,o.k)(e[0])?e[0]:e,null).pipe((0,r.U)(function(t){return c.apply(void 0,_toConsumableArray(t))}))}return l(e,null)}function l(t,e){return new i.y(function(n){var i=t.length;
1if(0!==i)for(var o=new Array(i),r=0,a=0,c=function(c){var l=(0,s.D)(t[c]),u=!1;n.add(l.subscribe({next:function(t){u||(u=!0,a++),o[c]=t},error:function(t){return n.error(t)},complete:function(){(++r===i||!u)&&(a===i&&n.next(e?e.reduce(function(t,e,n){return t[e]=o[n],t},{}):o),n.complete())}}))},l=0;l<i;l++)c(l);else n.complete()})}},69412:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var i=n(39897),o=n(87444),r=n(91115);function a(t,e){return e?(0,r.x)(t,e):t instanceof i.y?t:new i.y((0,o.s)(t))}},56693:function(t,e,n){"use strict";n.d(e,{n:function(){return a}});var i=n(39897),o=n(55015),r=n(94087);function a(t,e){return e?(0,r.r)(t,e):new i.y((0,o.V)(t))}},22759:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(39897),o=n(59796),r=n(69105),a=n(88002);function s(t,e,n,l){return(0,r.m)(n)&&(l=n,n=void 0),l?s(t,e,n).pipe((0,a.U)(function(t){return(0,o.k)(t)?l.apply(void 0,_toConsumableArray(t)):l(t)})):new i.y(function(i){c(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function c(t,e,n,i,o){var r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var a=t;t.addEventListener(e,n,o),r=function(){return a.removeEventListener(e,n,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,n),r=function(){return s.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var l=t;t.addListener(e,n),r=function(){return l.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,d=t.length;u<d;u++)c(t[u],e,n,i,o)}i.add(r)}},20945:function(t,e,n){"use strict";n.d(e,{F:function(){return a}});var i=n(39897),o=n(33637),r=n(26561);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.P;return(!(0,r.k)(t)||t<0)&&(t=0),(!e||"function"!=typeof e.schedule)&&(e=o.P),new i.y(function(n){return n.add(e.schedule(s,t,{subscriber:n,counter:0,period:t})),n})}function s(t){var e=t.subscriber,n=t.counter,i=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}},66682:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(39897),o=n(54869),r=n(63282),a=n(56693);function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var s=Number.POSITIVE_INFINITY,c=null,l=e[e.length-1];return(0,o.K)(l)?(c=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof l&&(s=e.pop()),null===c&&1===e.length&&e[0]instanceof i.y?e[0]:(0,r.J)(s)((0,a.n)(e,c))}},17757:function(t,e,n){"use strict";n.d(e,{C:function(){return r},F:function(){return a}});var i=n(39897),o=n(98640),r=new i.y(o.Z);function a(){return r}},25917:function(t,e,n){"use strict";n.d(e,{of:function(){return a}});var i=n(54869),o=n(56693),r=n(94087);function a(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=e[e.length-1];return(0,i.K)(a)?(e.pop(),(0,r.r)(e,a)):(0,o.n)(e)}},98085:function(t,e,n){"use strict";n.d(e,{S3:function(){return s}});var i=n(59796),o=n(56693),r=n(55197),a=n(20509);function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(1===e.length){if(!(0,i.k)(e[0]))return e[0];e=e[0]}return(0,o.n)(e,void 0).lift(new c)}var c=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t))}}]),t}(),l=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t])).hasFirst=!1,n.observables=[],n.subscriptions=[],n}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var i=(0,a.D)(this,t[n],void 0,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}}},{key:"notifyNext",value:function(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==n){var o=this.subscriptions[i];o.unsubscribe(),this.remove(o)}this.subscriptions=null}this.destination.next(e)}}]),e}(r.L)},40205:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var i=n(39897);function o(t,e){return new i.y(e?function(n){return e.schedule(r,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function r(t){var e=t.error;t.subscriber.error(e)}},46797:function(t,e,n){"use strict";n.d(e,{H:function(){return s}});var i=n(39897),o=n(33637),r=n(26561),a=n(54869);function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,s=-1;return(0,r.k)(e)?s=Number(e)<1?1:Number(e):(0,a.K)(e)&&(n=e),(0,a.K)(n)||(n=o.P),new i.y(function(e){var i=(0,r.k)(t)?t:+t-n.now();return n.schedule(c,i,{index:0,period:s,subscriber:e})})}function c(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},21571:function(t,e,n){"use strict";n.d(e,{$R:function(){return c},mx:function(){return l}});var i=n(56693),o=n(59796),r=n(77393),a=n(20377),s=n(85345);function c(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e[e.length-1];return"function"==typeof o&&e.pop(),(0,i.n)(e,void 0).lift(new l(o))}var l=function(){function t(e){_classCallCheck(this,t),this.resultSelector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.resultSelector))}}]),t}(),u=function(t){function e(t,n){var i;arguments.length>2&&void 0!==arguments[2]||Object.create(null);return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).resultSelector=n,i.iterators=[],i.active=0,i.resultSelector="function"==typeof n?n:void 0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this.iterators;(0,o.k)(t)?e.push(new h(t)):e.push("function"==typeof t[a.hZ]?new d(t[a.hZ]()):new p(this.destination,this,t))}},{key:"_complete",value:function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var i=t[n];i.stillUnsubscribed?this.destination.add(i.subscribe()):this.active--}}else this.destination.complete()}},{key:"notifyInactive",value:function(){this.active--,0===this.active&&this.destination.complete()}},{key:"checkIterators",value:function(){for(var t=this.iterators,e=t.length,n=this.destination,i=0;i<e;i++){var o=t[i];if("function"==typeof o.hasValue&&!o.hasValue())return}for(var r=!1,a=[],s=0;s<e;s++){var c=t[s],l=c.next();if(c.hasCompleted()&&(r=!0),l.done)return void n.complete();a.push(l.value)}this.resultSelector?this._tryresultSelector(a):n.next(a),r&&n.complete()}},{key:"_tryresultSelector",value:function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),e}(r.L),d=function(){function t(e){_classCallCheck(this,t),this.iterator=e,this.nextResult=e.next()}return _createClass(t,[{key:"hasValue",value:function(){return!0}},{key:"next",value:function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t}}
1,{key:"hasCompleted",value:function(){var t=this.nextResult;return Boolean(t&&t.done)}}]),t}(),h=function(t){function e(t){_classCallCheck(this,e),this.array=t,this.index=0,this.length=0,this.length=t.length}return _createClass(e,[{key:t,value:function(){return this}},{key:"next",value:function(t){var e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}},{key:"hasValue",value:function(){return this.array.length>this.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),e}(a.hZ),p=function(t,e){function n(t,e,i){var o;return _classCallCheck(this,n),(o=_callSuper(this,n,[t])).parent=e,o.observable=i,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return _inherits(n,t),_createClass(n,[{key:e,value:function(){return this}},{key:"next",value:function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(t){this.buffer.push(t),this.parent.checkIterators()}},{key:"subscribe",value:function(){return(0,s.ft)(this.observable,new s.IY(this))}}]),n}(s.Ds,a.hZ)},49732:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});var i=n(85345);function o(t){return function(e){return e.lift(new r(t))}}var r=function(){function t(e){_classCallCheck(this,t),this.durationSelector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.durationSelector))}}]),t}(),a=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).durationSelector=n,i.hasValue=!1,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e;try{var n;e=(0,this.durationSelector)(t)}catch(n){return this.destination.error(n)}var o=(0,i.ft)(e,new i.IY(this));!o||o.closed?this.clearThrottle():this.add(this.throttled=o)}}},{key:"clearThrottle",value:function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),e}(i.Ds)},45697:function(t,e,n){"use strict";n.d(e,{e:function(){return a}});var i=n(33637),o=n(49732),r=n(46797);function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return(0,o.U)(function(){return(0,r.H)(t,e)})}},5304:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var i=n(85345);function o(t){return function(e){var n=new r(t),i=e.lift(n);return n.caught=i}}var r=function(){function t(e){_classCallCheck(this,t),this.selector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.selector,this.caught))}}]),t}(),a=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).selector=n,o.caught=i,o}return _inherits(e,t),_createClass(e,[{key:"error",value:function(t){if(!this.isStopped){var n;try{n=this.selector(t,this.caught)}catch(a){return void _get(_getPrototypeOf(e.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var o=new i.IY(this);this.add(o);var r=(0,i.ft)(n,o);r!==o&&this.add(r)}}}]),e}(i.Ds)},65766:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var i=n(63282);function o(){return(0,i.J)(1)}},94612:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(19773);function o(t,e){return(0,i.zg)(t,e,1)}},54395:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(77393),o=n(33637);function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.P;return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){_classCallCheck(this,t),this.dueTime=e,this.scheduler=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}]),t}(),s=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).dueTime=n,o.scheduler
1=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),e}(i.L);function c(t){t.debouncedNext()}},95242:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var i=n(77393);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new r(t))}}var r=function(){function t(e){_classCallCheck(this,t),this.defaultValue=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.defaultValue))}}]),t}(),a=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).defaultValue=n,i.isEmpty=!0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),e}(i.L)},65792:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var i=n(33637),o=n(39989),r=n(77393),a=n(23098);function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P,n=(0,o.J)(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new c(n,e))}}var c=function(){function t(e,n){_classCallCheck(this,t),this.delay=e,this.scheduler=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}]),t}(),l=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).delay=n,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return _inherits(e,t),_createClass(e,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new u(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(a.P.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(a.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,i=t.scheduler,o=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var r=Math.max(0,n[0].time-i.now());this.schedule(t,r)}else this.unsubscribe(),e.active=!1}}]),e}(r.L),u=_createClass(function t(e,n){_classCallCheck(this,t),this.time=e,this.notification=n})},31560:function(t,e,n){"use strict";n.d(e,{D:function(){return o}});var i=n(77393);function o(){return function(t){return t.lift(new r)}}var r=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t))}}]),t}(),a=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[t])}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){t.observe(this.destination)}}]),e}(i.L)},87519:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var i=n(77393);function o(t,e){return function(n){return n.lift(new r(t,e))}}var r=function(){function t(e,n){_classCallCheck(this,t),this.compare=e,this.keySelector=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))}}]),t}(),a=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).keySelector=i,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}
1return _inherits(e,t),_createClass(e,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(n){return this.destination.error(n)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}]),e}(i.L)},87479:function(t,e,n){"use strict";n.d(e,{z:function(){return a}});var i=n(88002),o=n(69412),r=n(85345);function a(t,e){return e?function(n){return n.pipe(a(function(n,r){return(0,o.D)(t(n,r)).pipe((0,i.U)(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new s(t))}}var s=function(){function t(e){_classCallCheck(this,t),this.project=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project))}}]),t}(),c=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).project=n,i.hasSubscription=!1,i.hasCompleted=!1,i.index=0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.hasSubscription||this.tryNext(t)}},{key:"tryNext",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=new r.IY(this),n=this.destination;n.add(e);var i=(0,r.ft)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyError",value:function(t){this.destination.error(t)}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),e}(r.Ds)},45435:function(t,e,n){"use strict";n.d(e,{h:function(){return o}});var i=n(77393);function o(t,e){return function(n){return n.lift(new r(t,e))}}var r=function(){function t(e,n){_classCallCheck(this,t),this.predicate=e,this.thisArg=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))}}]),t}(),a=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).predicate=n,o.thisArg=i,o.count=0,o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),e}(i.L)},68939:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(77393),o=n(10826);function r(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(e){_classCallCheck(this,t),this.callback=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.callback))}}]),t}(),s=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).add(new o.w(n)),i}return _inherits(e,t),_createClass(e)}(i.L)},28049:function(t,e,n){"use strict";n.d(e,{P:function(){return l}});var i=n(13410),o=n(45435),r=n(15257),a=n(95242),s=n(44635),c=n(54487);function l(t,e){var n=arguments.length>=2;return function(l){return l.pipe(t?(0,o.h)(function(e,n){return t(e,n,l)}):c.y,(0,r.q)(1),n?(0,a.d)(e):(0,s.T)(function(){return new i.K}))}}},304:function(t,e,n){"use strict";n.d(e,{v:function(){return s},T:function(){return d}});var i=n(77393),o=n(10826),r=n(39897),a=n(79765);function s(t,e,n,i){return function(o){return o.lift(new c(t,e,n,i))}}var c=function(){function t(e,n,i,o){_classCallCheck(this,t),this.keySelector=e,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=o}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}]),t}(),l=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e,[t])).keySelector=n,a.elementSelector=i,a.durationSelector=o,a.subjectSelector=r,a.groups=null,a.attemptedToUnsubscribe=!1,a.count=0,a}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e;try{e=this.keySelector(t)}catch(n){return void this.error(n)}this._group(t,e)}},{key:"_group",value:function(t,e){var n=this.groups;n||(n=this.groups=new Map);var i,o=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(r){this.error(r)}else i=t;if(!o){o=this.subjectSelector?this.subjectSelector():new a.xQ,n.set(e,o);var r=new d(e,o,this);if(this.destination.next(r),this.durationSelector){var s;try{s=this.durationSelector(new d(e,o))}catch(c){return void this.error(c)}this.add(s.subscribe(new u(e,o,this)))}}o.closed||o.next(i)}},{key:"_error",value:function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)}},{key:"_complete",value:function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()}},{key:"removeGroup",value:function(t){this.groups.delete(t)}},{key:"unsubscribe",value:function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&_get(_getPrototypeOf(e.prototype),"unsubscribe",this).call(this))}}]),e}(i.L),u=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[n])).key=t,o.group=n,o.parent=i,o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.complete()}},{key:"_unsubscribe",value:function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)}}]),e}(i.L),d=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e)).key=t,o.groupSubject=n,o.refCountSubscription=i,o}return _inherits(e,t),_createClass(e,[{key:"_subscribe",value:function(t){var e=new o.w,n=this.refCountSubscription,i=this.groupSubject;return n&&!n.closed&&e.add(new h(n)),e.add(i.subscribe(t)),e}}]),e}(r.y),h=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e)).parent=t,t.count++,n}return _inherits(e,t),_createClass(e,[{key:"unsubscribe",value:function(){var t=this.parent;!t.closed&&!this.closed&&(_get(_getPrototypeOf(e.prototype),"unsubscribe",this).call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())}}]),e}(o.w)},15829:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var i=n(77393);function o(){return function(t){return t.lift(new r)}}var r=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t))}}]),t}(),a=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){}}
1]),e}(i.L)},12627:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(13410),o=n(45435),r=n(548),a=n(44635),s=n(95242),c=n(54487);function l(t,e){var n=arguments.length>=2;return function(l){return l.pipe(t?(0,o.h)(function(e,n){return t(e,n,l)}):c.y,(0,r.h)(1),n?(0,s.d)(e):(0,a.T)(function(){return new i.K}))}}},88002:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});var i=n(77393);function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}var r=function(){function t(e,n){_classCallCheck(this,t),this.project=e,this.thisArg=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))}}]),t}(),a=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).project=n,o.count=0,o.thisArg=i||_assertThisInitialized(o),o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),e}(i.L)},25037:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});var i=n(77393),o=n(23098);function r(){return function(t){return t.lift(new a)}}var a=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t))}}]),t}(),s=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[t])}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.destination.next(o.P.createNext(t))}},{key:"_error",value:function(t){var e=this.destination;e.next(o.P.createError(t)),e.complete()}},{key:"_complete",value:function(){var t=this.destination;t.next(o.P.createComplete()),t.complete()}}]),e}(i.L)},63282:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});var i=n(19773),o=n(54487);function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(o.y,t)}},19773:function(t,e,n){"use strict";n.d(e,{zg:function(){return a},VS:function(){return l}});var i=n(88002),o=n(69412),r=n(85345);function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(r){return r.pipe(a(function(n,r){return(0,o.D)(t(n,r)).pipe((0,i.U)(function(t,i){return e(n,t,r,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new s(t,n))})}var s=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,t),this.project=e,this.concurrent=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}]),t}(),c=function(t){function e(t,n){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).project=n,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=new r.IY(this),n=this.destination;n.add(e);var i=(0,r.ft)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),e}(r.Ds),l=a},94458:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var i=n(52441);function o(t,e){return function(n){var o;if(o="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new r(o,e));var a=Object.create(n,i.N);return a.source=n,a.subjectFactory=o,a}}var r=function(){function t(e,n){_classCallCheck(this,t),this.subjectFactory=e,this.selector=n}return _createClass(t,[{key:"call",value:function(t,e){var n=this.selector,i=this.subjectFactory(),o=n(i).subscribe(t);return o.add(e.subscribe(i)),o}}]),t}()},59746:function(t,e,n){"use strict";n.d(e,{QV:function(){return r},ht:function(){return s}});var i=n(77393),o=n(23098);function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;
1_classCallCheck(this,t),this.scheduler=e,this.delay=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.scheduler,this.delay))}}]),t}(),s=function(t){function e(t,n){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).scheduler=n,i.delay=o,i}return _inherits(e,t),_createClass(e,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(o.P.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(o.P.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(o.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()}}]),e}(i.L),c=_createClass(function t(e,n){_classCallCheck(this,t),this.notification=e,this.destination=n})},59328:function(t,e,n){"use strict";n.d(e,{G:function(){return o}});var i=n(77393);function o(){return function(t){return t.lift(new r)}}var r=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t))}}]),t}(),a=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t])).hasPrev=!1,n}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}]),e}(i.L)},92996:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});var i=n(88002);function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e.length;if(0===o)throw new Error("list of properties cannot be empty.");return function(t){return(0,i.U)(function(t,e){return function(n){for(var i=n,o=0;o<e;o++){var r=null!=i?i[t[o]]:void 0;if(void 0===r)return;i=r}return i}}(e,o))(t)}}},51307:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var i=n(77393);function o(){return function(t){return t.lift(new r(t))}}var r=function(){function t(e){_classCallCheck(this,t),this.connectable=e}return _createClass(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new a(t,n),o=e.subscribe(i);return i.closed||(i.connection=n.connect()),o}}]),t}(),a=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).connectable=n,i}return _inherits(e,t),_createClass(e,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}else this.connection=null}}]),e}(i.L)},42145:function(t,e,n){"use strict";n.d(e,{R:function(){return o}});var i=n(77393);function o(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new r(t,e,n))}}var r=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),a=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t])).accumulator=n,r._seed=i,r.hasSeed=o,r.index=0,r}return _inherits(e,t),_createClass(e,[{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}},{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)}}]),e}(i.L)},78345:function(t,e,n){"use strict";n.d(e,{B:function(){return s}});var i=n(94458),o=n(51307),r=n(79765);function a(){return new r.xQ}function s(){return function(t){return(0,o.x)()((0,i.O)(a)(t))}}},47349:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var i=n(88229);function o(t,e,n){var o;return o=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,o=t.bufferSize,r=void 0===o?Number.POSITIVE_INFINITY:o,a=t.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,c=t.refCount,l=t.scheduler,u=0,d=!1,h=!1;return function(t){var o;u++,!e||d?(d=!1,e=new i.t(r,s,l),o=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){d=!0,e.error(t)},complete:function(){h=!0,n=void 0,e.complete()}})):o=e.subscribe(this),this.add(function(){u--,o.unsubscribe(),n&&!h&&c&&0===u&&(n.unsubscribe(),n=void 0,e=void 0)})}}
1(o))}}},13653:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var i=n(77393);function o(t){return function(e){return e.lift(new r(t))}}var r=function(){function t(e){_classCallCheck(this,t),this.total=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.total))}}]),t}(),a=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).total=n,i.count=0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),e}(i.L)},39761:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(29923),o=n(54869);function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[e.length-1];return(0,o.K)(r)?(e.pop(),function(t){return(0,i.z)(e,t,r)}):function(t){return(0,i.z)(e,t)}}},43190:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(88002),o=n(69412),r=n(85345);function a(t,e){return"function"==typeof e?function(n){return n.pipe(a(function(n,r){return(0,o.D)(t(n,r)).pipe((0,i.U)(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new s(t))}}var s=function(){function t(e){_classCallCheck(this,t),this.project=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project))}}]),t}(),c=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).project=n,i.index=0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new r.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var t=this.innerSubscription;(!t||t.closed)&&_get(_getPrototypeOf(e.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t){this.destination.next(t)}}]),e}(r.Ds)},15257:function(t,e,n){"use strict";n.d(e,{q:function(){return a}});var i=n(77393),o=n(7108),r=n(59193);function a(t){return function(e){return 0===t?(0,r.c)():e.lift(new s(t))}}var s=function(){function t(e){if(_classCallCheck(this,t),this.total=e,this.total<0)throw new o.W}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.total))}}]),t}(),c=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).total=n,i.count=0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),e}(i.L)},548:function(t,e,n){"use strict";n.d(e,{h:function(){return a}});var i=n(77393),o=n(7108),r=n(59193);function a(t){return function(e){return 0===t?(0,r.c)():e.lift(new s(t))}}var s=function(){function t(e){if(_classCallCheck(this,t),this.total=e,this.total<0)throw new o.W}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.total))}}]),t}(),c=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).total=n,i.ring=new Array,i.count=0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}},{key:"_complete",value:function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,o=0;o<n;o++){var r=e++%n;t.next(i[r])}t.complete()}}]),e}(i.L)},46782:function(t,e,n){"use strict";n.d(e,{R:function(){return o}});var i=n(85345);function o(t){return function(e){return e.lift(new r(t))}}var r=function(){function t(e){_classCallCheck(this,t),this.notifier=e}return _createClass(t,[{key:"call",value:function(t,e){var n=new a(t),o=(0,i.ft)(this.notifier,new i.IY(n));return o&&!n.seenValue?(n.add(o),e.subscribe(n)):n}}]),t}(),a=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t])).seenValue=!1,n}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),e}(i.Ds)},70409:function(t,e,n){"use strict";n.d(e,{o:function(){return o}});var i=n(77393);function o(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new r(t,e))}}
1var r=function(){function t(e,n){_classCallCheck(this,t),this.predicate=e,this.inclusive=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.predicate,this.inclusive))}}]),t}(),a=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).predicate=n,o.inclusive=i,o.index=0,o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(t,e)}},{key:"nextOrComplete",value:function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}]),e}(i.L)},68307:function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var i=n(77393),o=n(98640),r=n(69105);function a(t,e,n){return function(i){return i.lift(new s(t,e,n))}}var s=function(){function t(e,n,i){_classCallCheck(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),c=function(t){function e(t,n,i,a){var s;return _classCallCheck(this,e),(s=_callSuper(this,e,[t]))._tapNext=o.Z,s._tapError=o.Z,s._tapComplete=o.Z,s._tapError=i||o.Z,s._tapComplete=a||o.Z,(0,r.m)(n)?(s._context=_assertThisInitialized(s),s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||o.Z,s._tapError=n.error||o.Z,s._tapComplete=n.complete||o.Z),s}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),e}(i.L)},48386:function(t,e,n){"use strict";n.d(e,{d:function(){return o},P:function(){return r}});var i=n(85345),o={leading:!0,trailing:!1};function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return function(n){return n.lift(new a(t,!!e.leading,!!e.trailing))}}var a=function(){function t(e,n,i){_classCallCheck(this,t),this.durationSelector=e,this.leading=n,this.trailing=i}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.durationSelector,this.leading,this.trailing))}}]),t}(),s=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t])).destination=t,r.durationSelector=n,r._leading=i,r._trailing=o,r._hasValue=!1,r}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))}},{key:"send",value:function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0}},{key:"throttle",value:function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=(0,i.ft)(e,new i.IY(this)))}},{key:"tryDurationSelector",value:function(t){try{return this.durationSelector(t)}catch(e){return this.destination.error(e),null}}},{key:"throttlingDone",value:function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()}},{key:"notifyNext",value:function(){this.throttlingDone()}},{key:"notifyComplete",value:function(){this.throttlingDone()}}]),e}(i.Ds)},93137:function(t,e,n){"use strict";n.d(e,{p:function(){return a}});var i=n(77393),o=n(33637),r=n(48386);function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.P,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.d;return function(i){return i.lift(new s(t,e,n.leading,n.trailing))}}var s=function(){function t(e,n,i,o){_classCallCheck(this,t),this.duration=e,this.scheduler=n,this.leading=i,this.trailing=o}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))}}]),t}(),c=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e,[t])).duration=n,a.scheduler
1=i,a.leading=o,a.trailing=r,a._hasTrailingValue=!1,a._trailingValue=null,a}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(l,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}},{key:"_complete",value:function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}},{key:"clearThrottle",value:function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}]),e}(i.L);function l(t){t.subscriber.clearThrottle()}},44635:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var i=n(13410),o=n(77393);function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return function(e){return e.lift(new a(t))}}var a=function(){function t(e){_classCallCheck(this,t),this.errorFactory=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.errorFactory))}}]),t}(),s=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).errorFactory=n,i.hasValue=!1,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),e}(o.L);function c(){return new i.K}},60134:function(t,e,n){"use strict";n.d(e,{V:function(){return s}});var i=n(33637),o=n(45587),r=n(9401),a=n(40205);function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return(0,r.L)(t,(0,a._)(new o.W),e)}},9401:function(t,e,n){"use strict";n.d(e,{L:function(){return a}});var i=n(33637),o=n(39989),r=n(85345);function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.P;return function(i){var r=(0,o.J)(t),a=r?+t-n.now():Math.abs(t);return i.lift(new s(a,r,e,n))}}var s=function(){function t(e,n,i,o){_classCallCheck(this,t),this.waitFor=e,this.absoluteTimeout=n,this.withObservable=i,this.scheduler=o}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}]),t}(),c=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e,[t])).absoluteTimeout=n,a.waitFor=i,a.withObservable=o,a.scheduler=r,a.scheduleTimeout(),a}return _inherits(e,t),_createClass(e,[{key:"scheduleTimeout",value:function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(t){this.absoluteTimeout||this.scheduleTimeout(),_get(_getPrototypeOf(e.prototype),"_next",this).call(this,t)}},{key:"_unsubscribe",value:function(){this.action=void 0,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add((0,r.ft)(e,new r.IY(t)))}}]),e}(r.Ds)},57057:function(t,e,n){"use strict";n.d(e,{M:function(){return r}});var i=n(55197),o=n(20509);function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){var n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new a(e,n))}}var a=function(){function t(e,n){_classCallCheck(this,t),this.observables=e,this.project=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.observables,this.project))}}]),t}(),s=function(t){function e(t,n,i){var r;_classCallCheck(this,e),(r=_callSuper(this,e,[t])).observables=n,r.project=i,r.toRespond=[];var a=n.length;r.values=new Array(a);for(var s=0;s<a;s++)r.toRespond.push(s);for(var c=0;c<a;c++)r.add((0,o.D)(_assertThisInitialized(r),n[c],void 0,c));return r}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(t,e,n){this.values[n]=e;var i=this.toRespond;if(i.length>0){var o=i.indexOf(n);-1!==o&&i.splice(o,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(t){if(0===this.toRespond.length){var e=[t].concat(_toConsumableArray(this.values));this.project?this._tryProject(e):this.destination.next(e)}}},{key:"_tryProject",value:function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),e}(i.L)},94087:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var i=n(39897),o=n(10826);function r(t,e){return new i.y(function(n){var i=new o.w,r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()}
1)),i})}},91115:function(t,e,n){"use strict";n.d(e,{x:function(){return u}});var i=n(39897),o=n(10826),r=n(16554),a=n(94087),s=n(20377),c=n(44072),l=n(69489);function u(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[r.L]}(t))return function(t,e){return new i.y(function(n){var i=new o.w;return i.add(e.schedule(function(){var o=t[r.L]();i.add(o.subscribe({next:function(t){i.add(e.schedule(function(){return n.next(t)}))},error:function(t){i.add(e.schedule(function(){return n.error(t)}))},complete:function(){i.add(e.schedule(function(){return n.complete()}))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(function(n){var i=new o.w;return i.add(e.schedule(function(){return t.then(function(t){i.add(e.schedule(function(){n.next(t),i.add(e.schedule(function(){return n.complete()}))}))},function(t){i.add(e.schedule(function(){return n.error(t)}))})})),i})}(t,e);if((0,l.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[s.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(function(n){var i,r=new o.w;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(function(){i=t[s.hZ](),r.add(e.schedule(function(){if(!n.closed){var t,e;try{var o=i.next();t=o.value,e=o.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},36465:function(t,e,n){"use strict";n.d(e,{o:function(){return i}});var i=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t,n])).scheduler
vendor: 3,068 bytes, line 1
1=t,i.work=n,i.pending=!1,i}return _inherits(e,t),_createClass(e,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n,i=!1;try{this.work(t)}catch(o){i=!0,n=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),e}(function(t){function e(t,n){return _classCallCheck(this,e),_callSuper(this,e)}return _inherits(e,t),_createClass(e,[{key:"schedule",value:function(t){return this}}]),e}(n(10826).w))},4548:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var i=n(2217),o=function(t){function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.b.now;return _classCallCheck(this,e),(n=_callSuper(this,e,[t,function(){return e.delegate&&e.delegate!==_assertThisInitialized(n)?e.delegate.now():o()}])).actions=[],n.active=!1,n.scheduled=void 0,n}return _inherits(e,t),_createClass(e,[{key:"schedule",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return e.delegate&&e.delegate!==this?e.delegate.schedule(t,n,i):_get(_getPrototypeOf(e.prototype),"schedule",this).call(this,t,n,i)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),e}(i.b)},61927:function(t,e,n){"use strict";n.d(e,{r:function(){return r},Z:function(){return o}});var i=n(36465),o=new(function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,o=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<o&&(t=n.shift()));if(this.active=!1,e){for(;++i<o&&(t=n.shift());)t.unsubscribe();throw e}}}]),e}(n(4548).v))(function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t,n])).scheduler
1=t,i.work=n,i}return _inherits(e,t),_createClass(e,[{key:"requestAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(e.prototype),"requestAsyncId",this).call(this,t,n,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(e.prototype),"recycleAsyncId",this).call(this,t,n,i);0===t.actions.length&&(cancelAnimationFrame(n),t.scheduled=void 0)}}]),e}(i.o)),r=o},64581:function(t,e,n){"use strict";n.d(e,{e:function(){return d},E:function(){return u}});var i=1,o=Promise.resolve(),r={};function a(t){return t in r&&(delete r[t],!0)}var s=function(t){var e=i++;return r[e]=!0,o.then(function(){return a(e)&&t()}),e},c=function(t){a(t)},l=n(36465),u=new(function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,o=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<o&&(t=n.shift()));if(this.active=!1,e){for(;++i<o&&(t=n.shift());)t.unsubscribe();throw e}}}]),e}(n(4548).v))(function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t,n])).scheduler
1=t,i.work=n,i}return _inherits(e,t),_createClass(e,[{key:"requestAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(e.prototype),"requestAsyncId",this).call(this,t,n,i):(t.actions.push(this),t.scheduled||(t.scheduled=s(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(e.prototype),"recycleAsyncId",this).call(this,t,n,i);0===t.actions.length&&(c(n),t.scheduled=void 0)}}]),e}(l.o)),d=u},33637:function(t,e,n){"use strict";n.d(e,{z:function(){return o},P:function(){return r}});var i=n(36465),o=new(n(4548).v)(i.o),r=o},57771:function(t,e,n){"use strict";n.d(e,{c:function(){return r},N:function(){return o}});var i=n(36465),o=new(function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(n(4548).v))(function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t,n])).scheduler
1=t,i.work=n,i}return _inherits(e,t),_createClass(e,[{key:"schedule",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n>0?_get(_getPrototypeOf(e.prototype),"schedule",this).call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,n){return n>0||this.closed?_get(_getPrototypeOf(e.prototype),"execute",this).call(this,t,n):this._execute(t,n)}},{key:"requestAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?_get(_getPrototypeOf(e.prototype),"requestAsyncId",this).call(this,t,n,i):t.flush(this)}}]),e}(i.o)),r=o},20377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var i=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},13410:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});var i=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},77971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var i=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},45587:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var i=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}()},57744:function(t,e,n){"use strict";n.d(e,{B:function(){return i}});var i=function(){function t(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map(function(t,e){return"".concat(e+1,") ").concat(t.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},13179:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var i=n(77393);function o(t){for(;t;){var e=t,n=e.closed,o=e.destination,r=e.isStopped;if(n||r)return!1;t=o&&o instanceof i.L?o:null}return!0}},54449:function(t,e,n){"use strict";function i(t){setTimeout(function(){throw t},0)}n.d(e,{z:function(){return i}})},54487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},59796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});var i=Array.isArray||function(t){return t&&"number"==typeof t.length}},69489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var i=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},39989:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}n.d(e,{J:function(){return i}})},69105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},26561:function(t,e,n){"use strict";n.d(e,{k:function(){return o}});var i=n(59796);function o(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},81555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},95639:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(39897);function o(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},44072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},54869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},98640:function(t,e,n){"use strict";function i(){}n.d(e,{Z:function(){return i}})},49264:function(t,e,n){"use strict";function i(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}
1return n.pred=t,n.thisArg=e,n}n.d(e,{f:function(){return i}})},34022:function(t,e,n){"use strict";n.d(e,{z:function(){return o},U:function(){return r}});var i=n(54487);function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return r(e)}function r(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}},87444:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(55015),o=n(54449),r=n(20377),a=n(16554),s=n(69489),c=n(44072),l=n(81555),u=function(t){if(t&&"function"==typeof t[a.L])return function(t){return function(e){var n=t[a.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}(t);if((0,s.z)(t))return(0,i.V)(t);if((0,c.t)(t))return function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,o.z),e}}(t);if(t&&"function"==typeof t[r.hZ])return function(t){return function(e){for(var n=t[r.hZ]();;){var i=void 0;try{i=n.next()}catch(o){return e.error(o),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}}(t);var e="You provided ".concat((0,l.K)(t)?"an invalid object":"'".concat(t,"'")," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.");throw new TypeError(e)}},55015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var i=function(t){return function(e){for(var n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}}},20509:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var i=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e)).parent=t,o.outerValue=n,o.outerIndex=i,o.index=0,o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}},{key:"_error",value:function(t){this.parent.notifyError(t,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),e}(n(77393).L),o=n(87444),r=n(39897);function a(t,e,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new i(t,n,a);if(!s.closed)return e instanceof r.y?e.subscribe(s):(0,o.s)(e)(s)}},38027:function(t,e,n){"use strict";n.r(e),n.d(e,{audit:function(){return i.U},auditTime:function(){return o.e},buffer:function(){return a},bufferCount:function(){return u},bufferTime:function(){return _},bufferToggle:function(){return x},bufferWhen:function(){return A},catchError:function(){return E.K},combineAll:function(){return R},combineLatest:function(){return Z},concat:function(){return U},concatAll:function(){return V.u},concatMap:function(){return j.b},concatMapTo:function(){return z},count:function(){return q},debounce:function(){return G},debounceTime:function(){return W.b},defaultIfEmpty:function(){return Q.d},delay:function(){return K.g},delayWhen:function(){return $},dematerialize:function(){return ot.D},distinct:function(){return rt},distinctUntilChanged:function(){return ct.x},distinctUntilKeyChanged:function(){return lt},elementAt:function(){return ft},endWith:function(){return _t},every:function(){return mt},exhaust:function(){return Ct},exhaustMap:function(){return Pt.z},expand:function(){return wt},filter:function(){return dt.h},finalize:function(){return kt.x},find:function(){return St},findIndex:function(){return It},first:function(){return Et.P},flatMap:function(){return Xt.VS},groupBy:function(){return Dt.v},ignoreElements:function(){return Rt.l},isEmpty:function(){return Ft},last:function(){return Nt.Z},map:function(){return Ut.U},mapTo:function(){return Vt},materialize:function(){return qt.i},max:function(){return Jt},merge:function(){return Qt},mergeAll:function(){return Kt.J},mergeMap:function(){return Xt.zg},mergeMapTo:function(){return $t},mergeScan:function(){return te},min:function(){return ie},multicast:function(){return oe.O},observeOn:function(){return re.QV},onErrorResumeNext:function(){return ae},pairwise:function(){return le.G},partition:function(){return de},pluck:function(){return he.j},publish:function(){return fe},publishBehavior:function(){return _e},publishLast:function(){return ve},publishReplay:function(){return Ce},race:function(){return Oe},reduce:function(){return Ht},refCount:function(){return Le.x},repeat:function(){return we},repeatWhen:function(){return ke},retry:function(){return Te},retryWhen:function(){return De},sample:function(){return Ze},sampleTime:function(){return Ve},scan:function(){return Bt.R},sequenceEqual:function(){return Be},share:function(){return Je.B},shareReplay:function(){return We.d},single:function(){return Ke},skip:function(){return tn.T},skipLast:function(){return en},skipUntil:function(){return rn},skipWhile:function(){return cn},startWith:function(){return dn.O},subscribeOn:function(){return gn},switchAll:function(){return yn},switchMap:function(){return mn.w},switchMapTo:function(){return Cn},take:function(){return pt.q},takeLast:function(){return Yt.h},takeUntil:function(){return bn.R},takeWhile:function(){return On.o},tap:function(){return Pn.b},throttle:function(){return wn.P},throttleTime:function(){return Mn.p},throwIfEmpty:function(){return ht.T},timeInterval:function(){return kn},timeout:function(){return An.V},timeoutWith:function(){return Tn.L},timestamp:function(){return In},toArray:function(){return Rn},window:function(){return Fn},windowCount:function(){return Nn},windowTime:function(){return jn},windowToggle:function(){return Jn},windowWhen:function(){return Kn},withLatestFrom:function(){return ti.M},zip:function(){return ni},zipAll:function(){return ii}});var i=n(49732),o=n(45697),r=n(85345);function a(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(e){_classCallCheck(this,t),this.closingNotifier=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.closingNotifier))}}]),t}(),c=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).buffer=[],i.add((0,r.ft)(n,new r.IY(_assertThisInitialized(i)))),i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.buffer.push(t)}},{key:"notifyNext",value:function(){var t=this.buffer;this.buffer=[],this.destination.next(t)}}]),e}(r.Ds),l=n(77393);function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n){return n.lift(new d(t,e))}}var d=function(){function t(e,n){_classCallCheck(this,t),this.bufferSize=e,this.startBufferEvery=n,this.subscriberClass=n&&e!==n?p:h}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))}}]),t}(),h=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).bufferSize=n,i.buffer=[],i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])}},{key:"_complete",value:function(){var t=this.buffer;t.length>0&&this.destination.next(t),_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}}]),e}(l.L),p=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).bufferSize=n,o.startBufferEvery=i,o.buffers=[],o.count=0,o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this.bufferSize,n=this.startBufferEvery,i=this.buffers,o=this.count;this.count++,o%n==0&&i.push([]);for(var r=i.length;r--;){var a=i[r];a.push(t),a.length===e&&(i.splice(r,1),this.destination.next(a))}}},{key:"_complete",value:function(){for(var t=this.buffers,n=this.destination;t.length>0;){var i=t.shift();i.length>0&&n.next(i)}_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}}]),e}(l.L),f=n(33637),g=n(54869);function _(t){var e=arguments.length,n=f.P;(0,g.K)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),function(e){return e.lift(new m(t,i,o,n))}}var m=function(){function t(e,n,i,o){_classCallCheck(this,t),this.bufferTimeSpan=e,this.bufferCreationInterval=n,this.maxBufferSize=i,this.scheduler
1=o}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new y(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}]),t}(),v=_createClass(function t(){_classCallCheck(this,t),this.buffer=[]}),y=function(t){function e(t,n,i,o,r){var a;_classCallCheck(this,e),(a=_callSuper(this,e,[t])).bufferTimeSpan=n,a.bufferCreationInterval=i,a.maxBufferSize=o,a.scheduler=r,a.contexts=[];var s=a.openContext();if(a.timespanOnly=null==i||i<0,a.timespanOnly)a.add(s.closeAction=r.schedule(C,n,{subscriber:_assertThisInitialized(a),context:s,bufferTimeSpan:n}));else{var c={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:_assertThisInitialized(a),scheduler:r};a.add(s.closeAction=r.schedule(O,n,{subscriber:_assertThisInitialized(a),context:s})),a.add(r.schedule(b,i,c))}return a}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){for(var e,n=this.contexts,i=n.length,o=0;o<i;o++){var r=n[o],a=r.buffer;a.push(t),a.length==this.maxBufferSize&&(e=r)}e&&this.onBufferFull(e)}},{key:"_error",value:function(t){this.contexts.length=0,_get(_getPrototypeOf(e.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){for(var t=this.contexts,n=this.destination;t.length>0;){var i=t.shift();n.next(i.buffer)}_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.contexts=null}},{key:"onBufferFull",value:function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(C,n,{subscriber:this,context:t,bufferTimeSpan:n}))}}},{key:"openContext",value:function(){var t=new v;return this.contexts.push(t),t}},{key:"closeContext",value:function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)}}]),e}(l.L);function C(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function b(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,o=t.scheduler,r=i.openContext();i.closed||(i.add(r.closeAction=o.schedule(O,n,{subscriber:i,context:r})),this.schedule(t,e))}function O(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var P=n(10826),w=n(20509),M=n(55197);function x(t,e){return function(n){return n.lift(new k(t,e))}}var k=function(){function t(e,n){_classCallCheck(this,t),this.openings=e,this.closingSelector=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new S(t,this.openings,this.closingSelector))}}]),t}(),S=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).closingSelector=i,o.contexts=[],o.add((0,w.D)(_assertThisInitialized(o),n)),o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){for(var e=this.contexts,n=e.length,i=0;i<n;i++)e[i].buffer.push(t)}},{key:"_error",value:function(t){for(var n=this.contexts;n.length>0;){var i=n.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,_get(_getPrototypeOf(e.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){for(var t=this.contexts;t.length>0;){var n=t.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t,e){t?this.closeBuffer(t):this.openBuffer(e)}},{key:"notifyComplete",value:function(t){this.closeBuffer(t.context)}},{key:"openBuffer",value:function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(n){this._error(n)}}},{key:"closeBuffer",value:function(t){var e=this.contexts;if(e&&t){var n=t.buffer,i=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}}},{key:"trySubscribe",value:function(t){var e=this.contexts,n=new P.w,i={buffer:[],subscription:n};e.push(i);var o=(0,w.D)(this,t,i);!o||o.closed?this.closeBuffer(i):(o.context=i,this.add(o),n.add(o))}}]),e}(M.L);function A(t){return function(e){return e.lift(new T(t))}}var T=function(){function t(e){_classCallCheck(this,t),this.closingSelector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new I(t,this.closingSelector))}}]),t}(),I=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).closingSelector=n,i.subscribing=!1,i.openBuffer(),i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.buffer.push(t)}},{key:"_complete",value:function(){var t=this.buffer;t&&this.destination.next(t),_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.buffer=void 0,this.subscribing=!1}},{key:"notifyNext",value:function(){this.openBuffer()}},{key:"notifyComplete",value:function(){this.subscribing?this.complete():this.openBuffer()}},{key:"openBuffer",value:function(){var t,e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{var n;t=(0,this.closingSelector)()}catch(n){return this.error(n)}e=new P.w,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add((0,r.ft)(t,new r.IY(this))),this.subscribing=!1}}]),e}(r.Ds),E=n(5304),D=n(9112);function R(t){return function(e){return e.lift(new D.Ms(t))}}var F=n(59796),L=n(69412);function Z(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=null;return"function"==typeof e[e.length-1]&&(i=e.pop()),1===e.length&&(0,F.k)(e[0])&&(e=e[0].slice()),function(t){return t.lift.call((0,L.D)([t].concat(_toConsumableArray(e))),new D.Ms(i))}}var N=n(29923);function U(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return t.lift.call(N.z.apply(void 0,[t].concat(e)))}}var V=n(65766),j=n(94612);function z(t,e){return(0,j.b)(function(){return t},e)}function q(t){return function(e){return e.lift(new B(t,e))}}var B=function(){function t(e,n){_classCallCheck(this,t),this.predicate=e,this.source=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Y(t,this.predicate,this.source))}}]),t}(),Y=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).predicate=n,o.source=i,o.count=0,o.index=0,o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.predicate?this._tryPredicate(t):this.count++}},{key:"_tryPredicate",value:function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e&&this.count++}},{key:"_complete",value:function(){this.destination.next(this.count),this.destination.complete()}}]),e}(l.L);function G(t){return function(e){return e.lift(new H(t))}}var H=function(){function t(e){_classCallCheck(this,t),this.durationSelector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new J(t,this.durationSelector))}}]),t}(),J=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).durationSelector=n,i.hasValue=!1,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}},{key:"_complete",value:function(){this.emitValue(),this.destination.complete()}},{key:"_tryNext",value:function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=(0,r.ft)(e,new r.IY(this)))&&!n.closed&&this.add(this.durationSubscription=n)}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){if(this.hasValue){var t=this.value,
1n=this.durationSubscription;n&&(this.durationSubscription=void 0,n.unsubscribe(),this.remove(n)),this.value=void 0,this.hasValue=!1,_get(_getPrototypeOf(e.prototype),"_next",this).call(this,t)}}}]),e}(r.Ds),W=n(54395),Q=n(95242),K=n(65792),X=n(39897);function $(t,e){return e?function(n){return new nt(n,e).lift(new tt(t))}:function(e){return e.lift(new tt(t))}}var tt=function(){function t(e){_classCallCheck(this,t),this.delayDurationSelector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new et(t,this.delayDurationSelector))}}]),t}(),et=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).delayDurationSelector=n,i.completed=!1,i.delayNotifierSubscriptions=[],i.index=0,i}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(t,e,n,i,o){this.destination.next(t),this.removeSubscription(o),this.tryComplete()}},{key:"notifyError",value:function(t,e){this._error(t)}},{key:"notifyComplete",value:function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()}},{key:"_next",value:function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(n){this.destination.error(n)}}},{key:"_complete",value:function(){this.completed=!0,this.tryComplete(),this.unsubscribe()}},{key:"removeSubscription",value:function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue}},{key:"tryDelay",value:function(t,e){var n=(0,w.D)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))}},{key:"tryComplete",value:function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}]),e}(M.L),nt=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).source=t,i.subscriptionDelay=n,i}return _inherits(e,t),_createClass(e,[{key:"_subscribe",value:function(t){this.subscriptionDelay.subscribe(new it(t,this.source))}}]),e}(X.y),it=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).parent=t,i.source=n,i.sourceSubscribed=!1,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.subscribeToSource()}},{key:"_error",value:function(t){this.unsubscribe(),this.parent.error(t)}},{key:"_complete",value:function(){this.unsubscribe(),this.subscribeToSource()}},{key:"subscribeToSource",value:function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}]),e}(l.L),ot=n(31560);function rt(t,e){return function(n){return n.lift(new at(t,e))}}var at=function(){function t(e,n){_classCallCheck(this,t),this.keySelector=e,this.flushes=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new st(t,this.keySelector,this.flushes))}}]),t}(),st=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).keySelector=n,o.values=new Set,i&&o.add((0,r.ft)(i,new r.IY(_assertThisInitialized(o)))),o}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(){this.values.clear()}},{key:"notifyError",value:function(t){this._error(t)}},{key:"_next",value:function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)}},{key:"_useKeySelector",value:function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(i){return void n.error(i)}this._finalizeNext(e,t)}},{key:"_finalizeNext",value:function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))}}]),e}(r.Ds),ct=n(87519);function lt(t,e){return(0,ct.x)(function(n,i){return e?e(n[t],i[t]):n[t]===i[t]})}var ut=n(7108),dt=n(45435),ht=n(44635),pt=n(15257);function ft(t,e){if(t<0)throw new ut.W;var n=arguments.length>=2;return function(i){return i.pipe((0,dt.h)(function(e,n){return n===t}),(0,pt.q)(1),n?(0,Q.d)(e):(0,ht.T)(function(){return new ut.W}))}}var gt=n(25917);function _t(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return(0,N.z)(t,gt.of.apply(void 0,e))}}function mt(t,e){return function(n){return n.lift(new vt(t,e,n))}}var vt=function(){function t(e,n,i){_classCallCheck(this,t),this.predicate=e,this.thisArg=n,this.source=i}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new yt(t,this.predicate,this.thisArg,this.source))}}]),t}(),yt=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t])).predicate=n,r.thisArg=i,r.source=o,r.index=0,r.thisArg=i||_assertThisInitialized(r),r}return _inherits(e,t),_createClass(e,[{key:"notifyComplete",value:function(t){this.destination.next(t),this.destination.complete()}},{key:"_next",value:function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),e}(l.L);function Ct(){return function(t){return t.lift(new bt)}}var bt=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Ot(t))}}]),t}(),Ot=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t])).hasCompleted=!1,n.hasSubscription=!1,n}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.hasSubscription||(this.hasSubscription=!0,this.add((0,r.ft)(t,new r.IY(this))))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),e}(r.Ds),Pt=n(87479);function wt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,n=arguments.length>2?arguments[2]:void 0;return e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(i){return i.lift(new Mt(t,e,n))}}var Mt=function(){function t(e,n,i){_classCallCheck(this,t),this.project=e,this.concurrent=n,this.scheduler
1=i}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new xt(t,this.project,this.concurrent,this.scheduler))}}]),t}(),xt=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t])).project=n,r.concurrent=i,r.scheduler=o,r.index=0,r.active=0,r.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(r.buffer=[]),r}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var n=this.destination;if(n.closed)this._complete();else{var i=this.index++;if(this.active<this.concurrent){n.next(t);try{var o,r=(0,this.project)(t,i);this.scheduler?this.destination.add(this.scheduler.schedule(e.dispatch,0,{subscriber:this,result:r,value:t,index:i})):this.subscribeToProjection(r,t,i)}catch(o){n.error(o)}}else this.buffer.push(t)}}},{key:"subscribeToProjection",value:function(t,e,n){this.active++,this.destination.add((0,r.ft)(t,new r.IY(this)))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this._next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}],[{key:"dispatch",value:function(t){var e=t.subscriber,n=t.result,i=t.value,o=t.index;e.subscribeToProjection(n,i,o)}}]),e}(r.Ds),kt=n(68939);function St(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new At(t,n,!1,e))}}var At=function(){function t(e,n,i,o){_classCallCheck(this,t),this.predicate=e,this.source=n,this.yieldIndex=i,this.thisArg=o}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Tt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))}}]),t}(),Tt=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e,[t])).predicate=n,a.source=i,a.yieldIndex=o,a.thisArg=r,a.index=0,a}return _inherits(e,t),_createClass(e,[{key:"notifyComplete",value:function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()}},{key:"_next",value:function(t){var e=this.predicate,n=this.thisArg,i=this.index++;try{e.call(n||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(o){this.destination.error(o)}}},{key:"_complete",value:function(){this.notifyComplete(this.yieldIndex?-1:void 0)}}]),e}(l.L);function It(t,e){return function(n){return n.lift(new At(t,n,!0,e))}}var Et=n(28049),Dt=n(304),Rt=n(15829);function Ft(){return function(t){return t.lift(new Lt)}}var Lt=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Zt(t))}}]),t}(),Zt=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[t])}return _inherits(e,t),_createClass(e,[{key:"notifyComplete",value:function(t){var e=this.destination;e.next(t),e.complete()}},{key:"_next",value:function(t){this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),e}(l.L),Nt=n(12627),Ut=n(88002);function Vt(t){return function(e){return e.lift(new jt(t))}}var jt=function(){function t(e){_classCallCheck(this,t),this.value=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new zt(t,this.value))}}]),t}(),zt=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).value=n,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.destination.next(this.value)}}]),e}(l.L),qt=n(25037),Bt=n(42145),Yt=n(548),Gt=n(34022);function Ht(t,e){return arguments.length>=2?function(n){return(0,Gt.z)((0,Bt.R)(t,e),(0,Yt.h)(1),(0,Q.d)(e))(n)}:function(e){return(0,Gt.z)((0,Bt.R)(function(e,n,i){return t(e,n,i+1)}),(0,Yt.h)(1))(e)}}function Jt(t){return Ht("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var Wt=n(66682);function Qt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return t.lift.call(Wt.T.apply(void 0,[t].concat(e)))}}var Kt=n(63282),Xt=n(19773);function $t(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?(0,Xt.zg)(function(){return t},e,n):("number"==typeof e&&(n=e),(0,Xt.zg)(function(){return t},n))}function te(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return function(i){return i.lift(new ee(t,e,n))}}var ee=function(){function t(e,n,i){_classCallCheck(this,t),this.accumulator=e,this.seed=n,this.concurrent=i}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new ne(t,this.accumulator,this.seed,this.concurrent))}}]),t}(),ne=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t])).accumulator=n,r.acc=i,r.concurrent=o,r.hasValue=!1,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){if(this.active<this.concurrent){var e,n=this.index++,i=this.destination;try{var o;e=(0,this.accumulator)(this.acc,t,n)}catch(o){return i.error(o)}this.active++,this._innerSub(e)}else this.buffer.push(t)}},{key:"_innerSub",value:function(t){var e=new r.IY(this),n=this.destination;n.add(e);var i=(0,r.ft)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()}},{key:"notifyNext",value:function(t){var e=this.destination;this.acc=t,this.hasValue=!0,e.next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}]),e}(r.Ds);function ie(t){return Ht("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}var oe=n(94458),re=n(59746);function ae(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&(0,F.k)(e[0])&&(e=e[0]),function(t){return t.lift(new se(e))}}var se=function(){function t(e){_classCallCheck(this,t),this.nextSources=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new ce(t,this.nextSources))}}]),t}(),ce=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).destination=t,i.nextSources=n,i}return _inherits(e,t),_createClass(e,[{key:"notifyError",value:function(){this.subscribeToNextSource()}},{key:"notifyComplete",value:function(){this.subscribeToNextSource()}},{key:"_error",value:function(t){this.subscribeToNextSource(),this.unsubscribe()}},{key:"_complete",value:function(){this.subscribeToNextSource(),this.unsubscribe()}},{key:"subscribeToNextSource",value:function(){var t=this.nextSources.shift();if(t){var e=new r.IY(this),n=this.destination;n.add(e);var i=(0,r.ft)(t,e);i!==e&&n.add(i)}else this.destination.complete()}}]),e}(r.Ds),le=n(59328),ue=n(49264);function de(t,e){return function(n){return[(0,dt.h)(t,e)(n),(0,dt.h)((0,ue.f)(t,e))(n)]}}var he=n(92996),pe=n(79765);function fe(t){return t?(0,oe.O)(function(){return new pe.xQ},t):(0,oe.O)(new pe.xQ)}
1var ge=n(26215);function _e(t){return function(e){return(0,oe.O)(new ge.X(t))(e)}}var me=n(68660);function ve(){return function(t){return(0,oe.O)(new me.c)(t)}}var ye=n(88229);function Ce(t,e,n,i){n&&"function"!=typeof n&&(i=n);var o="function"==typeof n?n:void 0,r=new ye.t(t,e,i);return function(t){return(0,oe.O)(function(){return r},o)(t)}}var be=n(98085);function Oe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return 1===e.length&&(0,F.k)(e[0])&&(e=e[0]),t.lift.call(be.S3.apply(void 0,[t].concat(_toConsumableArray(e))))}}var Pe=n(59193);function we(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(e){return 0===t?(0,Pe.c)():e.lift(new Me(t<0?-1:t-1,e))}}var Me=function(){function t(e,n){_classCallCheck(this,t),this.count=e,this.source=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new xe(t,this.count,this.source))}}]),t}(),xe=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).count=n,o.source=i,o}return _inherits(e,t),_createClass(e,[{key:"complete",value:function(){if(!this.isStopped){var t=this.source,n=this.count;if(0===n)return _get(_getPrototypeOf(e.prototype),"complete",this).call(this);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}}}]),e}(l.L);function ke(t){return function(e){return e.lift(new Se(t))}}var Se=function(){function t(e){_classCallCheck(this,t),this.notifier=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Ae(t,this.notifier,e))}}]),t}(),Ae=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).notifier=n,o.source=i,o.sourceIsBeingSubscribedTo=!0,o}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}},{key:"notifyComplete",value:function(){if(!1===this.sourceIsBeingSubscribedTo)return _get(_getPrototypeOf(e.prototype),"complete",this).call(this)}},{key:"complete",value:function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return _get(_getPrototypeOf(e.prototype),"complete",this).call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}},{key:"_unsubscribe",value:function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._unsubscribe;return this._unsubscribe=null,_get(_getPrototypeOf(e.prototype),"_unsubscribeAndRecycle",this).call(this),this._unsubscribe=t,this}},{key:"subscribeToRetries",value:function(){var t;this.notifications=new pe.xQ;try{t=(0,this.notifier)(this.notifications)}catch(n){return _get(_getPrototypeOf(e.prototype),"complete",this).call(this)}this.retries=t,this.retriesSubscription=(0,r.ft)(t,new r.IY(this))}}]),e}(r.Ds);function Te(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(e){return e.lift(new Ie(t,e))}}var Ie=function(){function t(e,n){_classCallCheck(this,t),this.count=e,this.source=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Ee(t,this.count,this.source))}}]),t}(),Ee=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).count=n,o.source=i,o}return _inherits(e,t),_createClass(e,[{key:"error",value:function(t){if(!this.isStopped){var n=this.source,i=this.count;if(0===i)return _get(_getPrototypeOf(e.prototype),"error",this).call(this,t);i>-1&&(this.count=i-1),n.subscribe(this._unsubscribeAndRecycle())}}}]),e}(l.L);function De(t){return function(e){return e.lift(new Re(t,e))}}var Re=function(){function t(e,n){_classCallCheck(this,t),this.notifier=e,this.source=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Fe(t,this.notifier,this.source))}}]),t}(),Fe=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).notifier=n,o.source=i,o}return _inherits(e,t),_createClass(e,[{key:"error",value:function(t){if(!this.isStopped){var n=this.errors,i=this.retries,o=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{n=new pe.xQ;try{var a;i=(0,this.notifier)(n)}catch(a){return _get(_getPrototypeOf(e.prototype),"error",this).call(this,a)}o=(0,r.ft)(i,new r.IY(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=o,n.next(t)}}},{key:"_unsubscribe",value:function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"notifyNext",value:function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}]),e}(r.Ds),Le=n(51307);function Ze(t){return function(e){return e.lift(new Ne(t))}}var Ne=function(){function t(e){_classCallCheck(this,t),this.notifier=e}return _createClass(t,[{key:"call",value:function(t,e){var n=new Ue(t),i=e.subscribe(n);return i.add((0,r.ft)(this.notifier,new r.IY(n))),i}}]),t}(),Ue=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments)).hasValue=!1,t}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.value=t,this.hasValue=!0}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}]),e}(r.Ds);function Ve(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.P;return function(n){return n.lift(new je(t,e))}}var je=function(){function t(e,n){_classCallCheck(this,t),this.period=e,this.scheduler
1=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new ze(t,this.period,this.scheduler))}}]),t}(),ze=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).period=n,o.scheduler=i,o.hasValue=!1,o.add(i.schedule(qe,n,{subscriber:_assertThisInitialized(o),period:n})),o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.lastValue=t,this.hasValue=!0}},{key:"notifyNext",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}]),e}(l.L);function qe(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function Be(t,e){return function(n){return n.lift(new Ye(t,e))}}var Ye=function(){function t(e,n){_classCallCheck(this,t),this.compareTo=e,this.comparator=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Ge(t,this.compareTo,this.comparator))}}]),t}(),Ge=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).compareTo=n,o.comparator=i,o._a=[],o._b=[],o._oneComplete=!1,o.destination.add(n.subscribe(new He(t,_assertThisInitialized(o)))),o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())}},{key:"_complete",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}},{key:"checkValues",value:function(){for(var t=this._a,e=this._b,n=this.comparator;t.length>0&&e.length>0;){var i=t.shift(),o=e.shift(),r=!1;try{r=n?n(i,o):i===o}catch(a){this.destination.error(a)}r||this.emit(!1)}}},{key:"emit",value:function(t){var e=this.destination;e.next(t),e.complete()}},{key:"nextB",value:function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())}},{key:"completeB",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}]),e}(l.L),He=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).parent=n,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.parent.nextB(t)}},{key:"_error",value:function(t){this.parent.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.completeB(),this.unsubscribe()}}]),e}(l.L),Je=n(78345),We=n(47349),Qe=n(13410);function Ke(t){return function(e){return e.lift(new Xe(t,e))}}var Xe=function(){function t(e,n){_classCallCheck(this,t),this.predicate=e,this.source=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new $e(t,this.predicate,this.source))}}]),t}(),$e=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).predicate=n,o.source=i,o.seenValue=!1,o.index=0,o}return _inherits(e,t),_createClass(e,[{key:"applySingleValue",value:function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)}},{key:"_next",value:function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)}},{key:"tryNext",value:function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(n){this.destination.error(n)}}},{key:"_complete",value:function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new Qe.K)}}]),e}(l.L),tn=n(13653);function en(t){return function(e){return e.lift(new nn(t))}}var nn=function(){function t(e){if(_classCallCheck(this,t),this._skipCount=e,this._skipCount<0)throw new ut.W}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(0===this._skipCount?new l.L(t):new on(t,this._skipCount))}}]),t}(),on=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t]))._skipCount=n,i._count=0,i._ring=new Array(n),i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var i=n%e,o=this._ring,r=o[i];o[i]=t,this.destination.next(r)}}}]),e}(l.L);function rn(t){return function(e){return e.lift(new an(t))}}var an=function(){function t(e){_classCallCheck(this,t),this.notifier=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new sn(t,this.notifier))}}]),t}(),sn=function(t){function e(t,n){var i;_classCallCheck(this,e),(i=_callSuper(this,e,[t])).hasValue=!1;var o=new r.IY(_assertThisInitialized(i));i.add(o),i.innerSubscription=o;var a=(0,r.ft)(n,o);return a!==o&&(i.add(a),i.innerSubscription=a),i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){this.hasValue&&_get(_getPrototypeOf(e.prototype),"_next",this).call(this,t)}},{key:"notifyNext",value:function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}},{key:"notifyComplete",value:function(){}}]),e}(r.Ds);function cn(t){return function(e){return e.lift(new ln(t))}}var ln=function(){function t(e){_classCallCheck(this,t),this.predicate=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new un(t,this.predicate))}}]),t}(),un=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).predicate=n,i.skipping=!0,i.index=0,i}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)}},{key:"tryCallPredicate",value:function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(e){this.destination.error(e)}}}]),e}(l.L),dn=n(39761),hn=n(64581),pn=n(26561),fn=function(t){function e(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:hn.e;return _classCallCheck(this,e),(n=_callSuper(this,e)).source=t,n.delayTime=i,n.scheduler
1=o,(!(0,pn.k)(i)||i<0)&&(n.delayTime=0),(!o||"function"!=typeof o.schedule)&&(n.scheduler=hn.e),n}return _inherits(e,t),_createClass(e,[{key:"_subscribe",value:function(t){return this.scheduler.schedule(e.dispatch,this.delayTime,{source:this.source,subscriber:t})}}],[{key:"create",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:hn.e;return new e(t,n,i)}},{key:"dispatch",value:function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))}}]),e}(X.y);function gn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new _n(t,e))}}var _n=function(){function t(e,n){_classCallCheck(this,t),this.scheduler=e,this.delay=n}return _createClass(t,[{key:"call",value:function(t,e){return new fn(e,this.delay,this.scheduler).subscribe(t)}}]),t}(),mn=n(43190),vn=n(54487);function yn(){return(0,mn.w)(vn.y)}function Cn(t,e){return e?(0,mn.w)(function(){return t},e):(0,mn.w)(function(){return t})}var bn=n(46782),On=n(70409),Pn=n(68307),wn=n(48386),Mn=n(93137),xn=n(41439);function kn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.P;return function(e){return(0,xn.P)(function(){return e.pipe((0,Bt.R)(function(e,n){var i=e.current;return{value:n,current:t.now(),last:i}},{current:t.now(),value:void 0,last:void 0}),(0,Ut.U)(function(t){var e=t.current,n=t.last,i=t.value;return new Sn(i,e-n)}))})}}var Sn=_createClass(function t(e,n){_classCallCheck(this,t),this.value=e,this.interval=n}),An=n(60134),Tn=n(9401);function In(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.P;return(0,Ut.U)(function(e){return new En(e,t.now())})}var En=_createClass(function t(e,n){_classCallCheck(this,t),this.value=e,this.timestamp=n});function Dn(t,e,n){return 0===n?[e]:(t.push(e),t)}function Rn(){return Ht(Dn,[])}function Fn(t){return function(e){return e.lift(new Ln(t))}}var Ln=function(){function t(e){_classCallCheck(this,t),this.windowBoundaries=e}return _createClass(t,[{key:"call",value:function(t,e){var n=new Zn(t),i=e.subscribe(n);return i.closed||n.add((0,r.ft)(this.windowBoundaries,new r.IY(n))),i}}]),t}(),Zn=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t])).window=new pe.xQ,t.next(n.window),n}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(){this.openWindow()}},{key:"notifyError",value:function(t){this._error(t)}},{key:"notifyComplete",value:function(){this._complete()}},{key:"_next",value:function(t){this.window.next(t)}},{key:"_error",value:function(t){this.window.error(t),this.destination.error(t)}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete()}},{key:"_unsubscribe",value:function(){this.window=null}},{key:"openWindow",value:function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new pe.xQ;e.next(n)}}]),e}(r.Ds);function Nn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new Un(t,e))}}var Un=function(){function t(e,n){_classCallCheck(this,t),this.windowSize=e,this.startWindowEvery=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Vn(t,this.windowSize,this.startWindowEvery))}}]),t}(),Vn=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).destination=t,o.windowSize=n,o.startWindowEvery=i,o.windows=[new pe.xQ],o.count=0,t.next(o.windows[0]),o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,o=this.windows,r=o.length,a=0;a<r&&!this.closed;a++)o[a].next(t);var s=this.count-i+1;if(s>=0&&s%e==0&&!this.closed&&o.shift().complete(),++this.count%e==0&&!this.closed){var c=new pe.xQ;o.push(c),n.next(c)}}},{key:"_error",value:function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)}},{key:"_complete",value:function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()}},{key:"_unsubscribe",value:function(){this.count=0,this.windows=null}}]),e}(l.L);function jn(t){var e=f.P,n=null,i=Number.POSITIVE_INFINITY;return(0,g.K)(arguments[3])&&(e=arguments[3]),(0,g.K)(arguments[2])?e=arguments[2]:(0,pn.k)(arguments[2])&&(i=Number(arguments[2])),(0,g.K)(arguments[1])?e=arguments[1]:(0,pn.k)(arguments[1])&&(n=Number(arguments[1])),function(o){return o.lift(new zn(t,n,i,e))}}var zn=function(){function t(e,n,i,o){_classCallCheck(this,t),this.windowTimeSpan=e,this.windowCreationInterval=n,this.maxWindowSize=i,this.scheduler
1=o}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Bn(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}]),t}(),qn=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._numberOfNextedValues=0,t}return _inherits(e,t),_createClass(e,[{key:"next",value:function(t){this._numberOfNextedValues++,_get(_getPrototypeOf(e.prototype),"next",this).call(this,t)}},{key:"numberOfNextedValues",get:function(){return this._numberOfNextedValues}}]),e}(pe.xQ),Bn=function(t){function e(t,n,i,o,r){var a;_classCallCheck(this,e),(a=_callSuper(this,e,[t])).destination=t,a.windowTimeSpan=n,a.windowCreationInterval=i,a.maxWindowSize=o,a.scheduler=r,a.windows=[];var s=a.openWindow();if(null!==i&&i>=0){var c={windowTimeSpan:n,windowCreationInterval:i,subscriber:_assertThisInitialized(a),scheduler:r};a.add(r.schedule(Hn,n,{subscriber:_assertThisInitialized(a),window:s,context:null})),a.add(r.schedule(Gn,i,c))}else a.add(r.schedule(Yn,n,{subscriber:_assertThisInitialized(a),window:s,windowTimeSpan:n}));return a}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){for(var e=this.windows,n=e.length,i=0;i<n;i++){var o=e[i];o.closed||(o.next(t),o.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(o))}}},{key:"_error",value:function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)}},{key:"_complete",value:function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()}},{key:"openWindow",value:function(){var t=new qn;return this.windows.push(t),this.destination.next(t),t}},{key:"closeWindow",value:function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)}}]),e}(l.L);function Yn(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function Gn(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,o=t.windowCreationInterval,r=n.openWindow(),a={action:this,subscription:null};a.subscription=i.schedule(Hn,e,{subscriber:n,window:r,context:a}),this.add(a.subscription),this.schedule(t,o)}function Hn(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}function Jn(t,e){return function(n){return n.lift(new Wn(t,e))}}var Wn=function(){function t(e,n){_classCallCheck(this,t),this.openings=e,this.closingSelector=n}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new Qn(t,this.openings,this.closingSelector))}}]),t}(),Qn=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t])).openings=n,o.closingSelector=i,o.contexts=[],o.add(o.openSubscription=(0,w.D)(_assertThisInitialized(o),n,n)),o}return _inherits(e,t),_createClass(e,[{key:"_next",value:function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i<n;i++)e[i].window.next(t)}},{key:"_error",value:function(t){var n=this.contexts;if(this.contexts=null,n)for(var i=n.length,o=-1;++o<i;){var r=n[o];r.window.error(t),r.subscription.unsubscribe()}_get(_getPrototypeOf(e.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){var t=this.contexts;if(this.contexts=null,t)for(var n=t.length,i=-1;++i<n;){var o=t[i];o.window.complete(),o.subscription.unsubscribe()}_get(_getPrototypeOf(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var i=t[n];i.window.unsubscribe(),i.subscription.unsubscribe()}}},{key:"notifyNext",value:function(t,e,n,i,o){if(t===this.openings){var r;try{var a;r=(0,this.closingSelector)(e)}catch(a){return this.error(a)}var s=new pe.xQ,c=new P.w,l={window:s,subscription:c};this.contexts.push(l);var u=(0,w.D)(this,r,l);u.closed?this.closeWindow(this.contexts.length-1):(u.context=l,c.add(u)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(t))}},{key:"notifyError",value:function(t){this.error(t)}},{key:"notifyComplete",value:function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))}},{key:"closeWindow",value:function(t){if(-1!==t){var e=this.contexts,n=e[t],i=n.window,o=n.subscription;e.splice(t,1),i.complete(),o.unsubscribe()}}}]),e}(M.L);function Kn(t){return function(e){return e.lift(new Xn(t))}}var Xn=function(){function t(e){_classCallCheck(this,t),this.closingSelector=e}return _createClass(t,[{key:"call",value:function(t,e){return e.subscribe(new $n(t,this.closingSelector))}}]),t}(),$n=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).destination=t,i.closingSelector=n,i.openWindow(),i}return _inherits(e,t),_createClass(e,[{key:"notifyNext",value:function(t,e,n,i,o){this.openWindow(o)}},{key:"notifyError",value:function(t){this._error(t)}},{key:"notifyComplete",value:function(t){this.openWindow(t)}},{key:"_next",value:function(t){this.window.next(t)}},{key:"_error",value:function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()}},{key:"unsubscribeClosingNotification",value:function(){this.closingNotification&&this.closingNotification.unsubscribe()}},{key:"openWindow",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,i=this.window=new pe.xQ;this.destination.next(i);try{var o=this.closingSelector;n=o()}catch(o){return this.destination.error(o),void this.window.error(o)}this.add(this.closingNotification=(0,w.D)(this,n))}}]),e}(M.L),ti=n(57057),ei=n(21571);function ni(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return t.lift.call(ei.$R.apply(void 0,[t].concat(e)))}}function ii(t){return function(e){return e.lift(new ei.mx(t))}}},86351:function(t,e,n){"use strict";n(24208)},37125:function(t,e,n){"use strict";n(69626)},76643:function(t,e,n){"use strict";function i(t,e){return e=e||{},new Promise(function(n,i){var o=new XMLHttpRequest,r=[],a=[],s={},c=function t(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:t,headers:{keys:function(){return r},entries:function(){return a},get:function(t){return s[t.toLowerCase()]},has:function(t){return t.toLowerCase()in s}}}};for(var l in o.open(e.method||"get",t,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,n){r.push(e=e.toLowerCase()),a.push([e,n]),s[e]=s[e]?s[e]+","+n:n}),n(c())},o.onerror=i,o.withCredentials="include"==e.credentials,e.headers)o.setRequestHeader(l,e.headers[l]);o.send(e.body||null)})}n.r(e),n.d(e,{default:function(){return i}})},80211:function(t,e){var n;void 0!==(n=(function(){"use strict";var t=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function e(t){return t.split("").reverse().join("")}function n(t,e){return t.substring(0,e.length)===e}function i(t,e,n){if((t[e]||t[n])&&t[e]===t[n])throw new Error(e)}function o(t){return"number"==typeof t&&isFinite(t)}
1function r(t,n,i,r,a,s,c,l,u,d,h,p){var f,g,_,m=p,v="",y="";return s&&(p=s(p)),!!o(p)&&(!1!==t&&0===parseFloat(p.toFixed(t))&&(p=0),p<0&&(f=!0,p=Math.abs(p)),!1!==t&&(p=function(t,e){return t=t.toString().split("e"),(+((t=(t=Math.round(+(t[0]+"e"+(t[1]?+t[1]+e:e)))).toString().split("e"))[0]+"e"+(t[1]?+t[1]-e:-e))).toFixed(e)}(p,t)),-1!==(p=p.toString()).indexOf(".")?(_=(g=p.split("."))[0],i&&(v=i+g[1])):_=p,n&&(_=e(_).match(/.{1,3}/g),_=e(_.join(e(n)))),f&&l&&(y+=l),r&&(y+=r),f&&u&&(y+=u),y+=_,y+=v,a&&(y+=a),d&&(y=d(y,m)),y)}function a(t,e,i,r,a,s,c,l,u,d,h,p){var f,g="";return h&&(p=h(p)),!(!p||"string"!=typeof p||(l&&n(p,l)&&(p=p.replace(l,""),f=!0),r&&n(p,r)&&(p=p.replace(r,"")),u&&n(p,u)&&(p=p.replace(u,""),f=!0),a&&function(t,e){return t.slice(-1*e.length)===e}(p,a)&&(p=p.slice(0,-1*a.length)),e&&(p=p.split(e).join("")),i&&(p=p.replace(i,".")),f&&(g+="-"),g+=p,g=g.replace(/[^0-9\.\-.]/g,""),""===g)||(g=Number(g),c&&(g=c(g)),!o(g)))&&g}function s(e,n,i){var o,r=[];for(o=0;o<t.length;o+=1)r.push(e[t[o]]);return r.push(i),n.apply("",r)}return function e(n){if(!(this instanceof e))return new e(n);"object"==typeof n&&(n=function(e){var n,o,r,a={};for(void 0===e.suffix&&(e.suffix=e.postfix),n=0;n<t.length;n+=1)if(void 0===(r=e[o=t[n]]))a[o]="negative"!==o||a.negativeBefore?"mark"===o&&"."!==a.thousand&&".":"-";else if("decimals"===o){if(!(r>=0&&r<8))throw new Error(o);a[o]=r}else if("encoder"===o||"decoder"===o||"edit"===o||"undo"===o){if("function"!=typeof r)throw new Error(o);a[o]=r}else{if("string"!=typeof r)throw new Error(o);a[o]=r}return i(a,"mark","thousand"),i(a,"prefix","negative"),i(a,"prefix","negativeBefore"),a}(n),this.to=function(t){return s(n,r,t)},this.from=function(t){return s(n,a,t)})}}).apply(e,[]))&&(t.exports=n)},38580:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=function(){return e.__assign=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},e.__assign.apply(this,arguments)},e.__read=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},e.__rest=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n},e.__spreadArray=function(t,e,n){if(n||2===arguments.length)for(var i,o=0,r=e.length;o<r;o++)(i||!(o in e))&&(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))},e.__values=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}},74897:function(t,e,n){"use strict";var i=n(38580),o={timeout:1e4};e.x=function(t,e,n){var r=i.__assign(i.__assign({},o),n);return new Promise(function(n,i){var o=!1,a=r.timeout===1/0?void 0:setTimeout(function(){c.unsubscribe(),i(new Error("Timeout of ".concat(r.timeout," ms exceeded")))},r.timeout),s=function(){clearTimeout(a),o=!0,null==c||c.unsubscribe()},c=t.subscribe({next:function(t){e(t)&&(s(),n(t))},error:function(t){s(),i(t)},complete:function(){s(),i(new Error("Actor terminated without satisfying predicate"))}});o&&c.unsubscribe()})}},44989:function(t,e,n){"use strict";var i={};n.r(i),n.d(i,{after:function(){return pg},assign:function(){return hg},cancel:function(){return ug},choose:function(){return Og},doneState:function(){return fg},error:function(){return Cg},errorExecution:function(){return vg},errorPlatform:function(){return yg},init:function(){return _g},invoke:function(){return mg},log:function(){return gg},nullEvent:function(){return dg},pure:function(){return Pg}
1,raise:function(){return cg},send:function(){return lg},start:function(){return ag},stop:function(){return sg},update:function(){return bg}});var o={};n.r(o),n.d(o,{actionTypes:function(){return i},after:function(){return x_},assign:function(){return w_},cancel:function(){return C_},choose:function(){return D_},done:function(){return k_},doneInvoke:function(){return S_},error:function(){return A_},escalate:function(){return E_},forwardTo:function(){return I_},getActionFunction:function(){return r_},initEvent:function(){return o_},isActionObject:function(){return M_},log:function(){return v_},pure:function(){return T_},raise:function(){return l_},resolveActions:function(){return R_},resolveLog:function(){return y_},resolveRaise:function(){return u_},resolveSend:function(){return h_},resolveStop:function(){return P_},respond:function(){return __},send:function(){return d_},sendParent:function(){return p_},sendTo:function(){return f_},sendUpdate:function(){return g_},start:function(){return b_},stop:function(){return O_},toActionObject:function(){return a_},toActionObjects:function(){return s_},toActivityDefinition:function(){return c_}});var r=n(37716),a=null;function s(){return a}var c,l=new r.OlP("DocumentToken"),u=((c=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}()).\u0275fac=function(t){return new(t||c)},c.\u0275prov=(0,r.Yz7)({factory:d,token:c,providedIn:"platform"}),c);function d(){return(0,r.LFG)(p)}var h=new r.OlP("Location Initialized"),p=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._doc=t,n._init(),n}return _inherits(e,t),_createClass(e,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return s().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=s().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=s().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),function(){return e.removeEventListener("hashchange",t)}}},{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(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(t)}},{key:"getState",value:function(){return this._history.state}}]),e}(u);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=(0,r.Yz7)({factory:g,token:t,providedIn:"platform"}),t}();function f(){return!!window.history.pushState}function g(){return new p((0,r.LFG)(l))}function _(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function v(t){return t&&"?"!==t[0]?"?"+t:t}var y=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:C,token:t,providedIn:"root"}),t}();function C(t){var e=(0,r.LFG)(l).location;return new O((0,r.LFG)(u),e&&e.origin||"")}var b=new r.OlP("appBaseHref"),O=function(){var t=function(t){function e(t,n){var i;if(_classCallCheck(this,e),(i=_callSuper(this,e))._platformLocation=t,i._removeListenerFns=[],null==n&&(n=i._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=n,_possibleConstructorReturn(i)}return _inherits(e,t),_createClass(e,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
1HashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return _(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var o=this.prepareExternalUrl(n+v(i));this._platformLocation.pushState(t,e,o)}},{key:"replaceState",value:function(t,e,n,i){var o=this.prepareExternalUrl(n+v(i));this._platformLocation.replaceState(t,e,o)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),e}(y);return t.\u0275fac=function(e){return new(e||t)(r.LFG(u),r.LFG(b,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),P=function(){var t=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e))._platformLocation=t,i._baseHref="",i._removeListenerFns=[],null!=n&&(i._baseHref=n),i}return _inherits(e,t),_createClass(e,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=_(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var o=this.prepareExternalUrl(n+v(i));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)}},{key:"replaceState",value:function(t,e,n,i){var o=this.prepareExternalUrl(n+v(i));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),e}(y);return t.\u0275fac=function(e){return new(e||t)(r.LFG(u),r.LFG(b,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),w=function(){var t=function(){function t(e,n){var i=this;_classCallCheck(this,t),this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=m(x(o)),this._platformStrategy.onPopState(function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})})}return _createClass(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+v(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,x(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformStrategy).historyGo)||void 0===e||e.call(t,n)}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;
1this._urlChangeListeners.forEach(function(n){return n(t,e)})}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(y),r.LFG(u))},t.normalizeQueryParams=v,t.joinWithSlash=_,t.stripTrailingSlash=m,t.\u0275prov=(0,r.Yz7)({factory:M,token:t,providedIn:"root"}),t}();function M(){return new w((0,r.LFG)(y),(0,r.LFG)(u))}function x(t){return t.replace(/\/index.html$/,"")}var k=((k=k||{})[k.Zero=0]="Zero",k[k.One=1]="One",k[k.Two=2]="Two",k[k.Few=3]="Few",k[k.Many=4]="Many",k[k.Other=5]="Other",k),S=((S=S||{})[S.Format=0]="Format",S[S.Standalone=1]="Standalone",S),A=((A=A||{})[A.Narrow=0]="Narrow",A[A.Abbreviated=1]="Abbreviated",A[A.Wide=2]="Wide",A[A.Short=3]="Short",A),T=((T=T||{})[T.Short=0]="Short",T[T.Medium=1]="Medium",T[T.Long=2]="Long",T[T.Full=3]="Full",T),I=((I=I||{})[I.Decimal=0]="Decimal",I[I.Group=1]="Group",I[I.List=2]="List",I[I.PercentSign=3]="PercentSign",I[I.PlusSign=4]="PlusSign",I[I.MinusSign=5]="MinusSign",I[I.Exponential=6]="Exponential",I[I.SuperscriptingExponent=7]="SuperscriptingExponent",I[I.PerMille=8]="PerMille",I[I.Infinity=9]="Infinity",I[I.NaN=10]="NaN",I[I.TimeSeparator=11]="TimeSeparator",I[I.CurrencyDecimal=12]="CurrencyDecimal",I[I.CurrencyGroup=13]="CurrencyGroup",I);function E(t,e,n){var i=(0,r.cg1)(t),o=j([i[r.wAp.DayPeriodsFormat],i[r.wAp.DayPeriodsStandalone]],e);return j(o,n)}function D(t,e,n){var i=(0,r.cg1)(t),o=j([i[r.wAp.DaysFormat],i[r.wAp.DaysStandalone]],e);return j(o,n)}function R(t,e,n){var i=(0,r.cg1)(t),o=j([i[r.wAp.MonthsFormat],i[r.wAp.MonthsStandalone]],e);return j(o,n)}function F(t,e){return j((0,r.cg1)(t)[r.wAp.DateFormat],e)}function L(t,e){return j((0,r.cg1)(t)[r.wAp.TimeFormat],e)}function Z(t,e){return j((0,r.cg1)(t)[r.wAp.DateTimeFormat],e)}function N(t,e){var n=(0,r.cg1)(t),i=n[r.wAp.NumberSymbols][e];if(void 0===i){if(e===I.CurrencyDecimal)return n[r.wAp.NumberSymbols][I.Decimal];if(e===I.CurrencyGroup)return n[r.wAp.NumberSymbols][I.Group]}return i}var U=r.kL8;function V(t){if(!t[r.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[r.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function j(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function z(t){var e=_slicedToArray(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var q=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,B={},Y=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,G=((G=G||{})[G.Short=0]="Short",G[G.ShortGMT=1]="ShortGMT",G[G.Long=2]="Long",G[G.Extended=3]="Extended",G),H=((H=H||{})[H.FullYear=0]="FullYear",H[H.Month=1]="Month",H[H.Date=2]="Date",H[H.Hours=3]="Hours",H[H.Minutes=4]="Minutes",H[H.Seconds=5]="Seconds",H[H.FractionalSeconds=6]="FractionalSeconds",H[H.Day=7]="Day",H),J=((J=J||{})[J.DayPeriods=0]="DayPeriods",J[J.Days=1]="Days",J[J.Months=2]="Months",J[J.Eras=3]="Eras",J);function W(t,e,n,i){var o=function(t){if(ct(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){var e=t.split("-").map(function(t){return+t}),n=_slicedToArray(e,3),i=n[0],o=n[1],r=void 0===o?1:o,a=n[2];return Q(i,r-1,void 0===a?1:a)}var s,c=parseFloat(t);if(!isNaN(t-c))return new Date(c);if(s=t.match(q))return function(t){var e=new Date(0),n=0,i=0,o=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var a=Number(t[4]||0)-n,s=Number(t[5]||0)-i,c=Number(t[6]||0),l=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,a,s,c,l),e}(s)}var l=new Date(t);if(!ct(l))throw new Error('Unable to convert "'.concat(t,'" into a date'));return l}(t);e=K(n,e)||e;for(var r,a=[];e;){if(!(r=Y.exec(e))){a.push(e);break}var s=(a=a.concat(r.slice(1))).pop();if(!s)break;e=s}var c=o.getTimezoneOffset();i&&(c=st(i,c),o=function(t,e,n){var i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(st(e,i)-i))}(o,i));var l="";return a.forEach(function(t){var e=function(t){if(at[t])return at[t];var e;switch(t){case"G":case"GG":case"GGG":e=et(J.Eras,A.Abbreviated);break;case"GGGG":e=et(J.Eras,A.Wide);break;case"GGGGG":e=et(J.Eras,A.Narrow);break;case"y":e=tt(H.FullYear,1,0,!1,!0);break;case"yy":e=tt(H.FullYear,2,0,!0,!0);break;case"yyy":e=tt(H.FullYear,3,0,!1,!0);break;case"yyyy":e=tt(H.FullYear,4,0,!1,!0);break;case"Y":e=rt(1);break;case"YY":e=rt(2,!0);break;case"YYY":e=rt(3);break;case"YYYY":e=rt(4);break;case"M":case"L":e=tt(H.Month,1,1);break;case"MM":case"LL":e=tt(H.Month,2,1);break;case"MMM":e=et(J.Months,A.Abbreviated);break;case"MMMM":e=et(J.Months,A.Wide);break;case"MMMMM":e=et(J.Months,A.Narrow);break;case"LLL":e=et(J.Months,A.Abbreviated,S.Standalone);break;case"LLLL":e=et(J.Months,A.Wide,S.Standalone);break;case"LLLLL":e=et(J.Months,A.Narrow,S.Standalone);break;case"w":e=ot(1);break;
1case"ww":e=ot(2);break;case"W":e=ot(1,!0);break;case"d":e=tt(H.Date,1);break;case"dd":e=tt(H.Date,2);break;case"c":case"cc":e=tt(H.Day,1);break;case"ccc":e=et(J.Days,A.Abbreviated,S.Standalone);break;case"cccc":e=et(J.Days,A.Wide,S.Standalone);break;case"ccccc":e=et(J.Days,A.Narrow,S.Standalone);break;case"cccccc":e=et(J.Days,A.Short,S.Standalone);break;case"E":case"EE":case"EEE":e=et(J.Days,A.Abbreviated);break;case"EEEE":e=et(J.Days,A.Wide);break;case"EEEEE":e=et(J.Days,A.Narrow);break;case"EEEEEE":e=et(J.Days,A.Short);break;case"a":case"aa":case"aaa":e=et(J.DayPeriods,A.Abbreviated);break;case"aaaa":e=et(J.DayPeriods,A.Wide);break;case"aaaaa":e=et(J.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":e=et(J.DayPeriods,A.Abbreviated,S.Standalone,!0);break;case"bbbb":e=et(J.DayPeriods,A.Wide,S.Standalone,!0);break;case"bbbbb":e=et(J.DayPeriods,A.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":e=et(J.DayPeriods,A.Abbreviated,S.Format,!0);break;case"BBBB":e=et(J.DayPeriods,A.Wide,S.Format,!0);break;case"BBBBB":e=et(J.DayPeriods,A.Narrow,S.Format,!0);break;case"h":e=tt(H.Hours,1,-12);break;case"hh":e=tt(H.Hours,2,-12);break;case"H":e=tt(H.Hours,1);break;case"HH":e=tt(H.Hours,2);break;case"m":e=tt(H.Minutes,1);break;case"mm":e=tt(H.Minutes,2);break;case"s":e=tt(H.Seconds,1);break;case"ss":e=tt(H.Seconds,2);break;case"S":e=tt(H.FractionalSeconds,1);break;case"SS":e=tt(H.FractionalSeconds,2);break;case"SSS":e=tt(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=nt(G.Short);break;case"ZZZZZ":e=nt(G.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=nt(G.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=nt(G.Long);break;default:return null}return at[t]=e,e}(t);l+=e?e(o,n,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Q(t,e,n){var i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function K(t,e){var n=function(t){return(0,r.cg1)(t)[r.wAp.LocaleId]}(t);if(B[n]=B[n]||{},B[n][e])return B[n][e];var i="";switch(e){case"shortDate":i=F(t,T.Short);break;case"mediumDate":i=F(t,T.Medium);break;case"longDate":i=F(t,T.Long);break;case"fullDate":i=F(t,T.Full);break;case"shortTime":i=L(t,T.Short);break;case"mediumTime":i=L(t,T.Medium);break;case"longTime":i=L(t,T.Long);break;case"fullTime":i=L(t,T.Full);break;case"short":var o=K(t,"shortTime"),a=K(t,"shortDate");i=X(Z(t,T.Short),[o,a]);break;case"medium":var s=K(t,"mediumTime"),c=K(t,"mediumDate");i=X(Z(t,T.Medium),[s,c]);break;case"long":var l=K(t,"longTime"),u=K(t,"longDate");i=X(Z(t,T.Long),[l,u]);break;case"full":var d=K(t,"fullTime"),h=K(t,"fullDate");i=X(Z(t,T.Full),[d,h])}return i&&(B[n][e]=i),i}function X(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function $(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,r="";(t<0||o&&t<=0)&&(o?t=1-t:(t=-t,r=n));for(var a=String(t);a.length<e;)a="0"+a;return i&&(a=a.substr(a.length-e)),r+a}function tt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(r,a){var s=function(t,e){switch(t){case H.FullYear:return e.getFullYear();case H.Month:return e.getMonth();case H.Date:return e.getDate();case H.Hours:return e.getHours();case H.Minutes:return e.getMinutes();case H.Seconds:return e.getSeconds();case H.FractionalSeconds:return e.getMilliseconds();case H.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}(t,r);if((n>0||s>-n)&&(s+=n),t===H.Hours)0===s&&-12===n&&(s=12);else if(t===H.FractionalSeconds)return function(t,e){return $(t,3).substr(0,e)}(s,e);var c=N(a,I.MinusSign);return $(s,e,c,i,o)}}function et(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){return function(t,e,n,i,o,a){switch(n){case J.Months:return R(e,o,i)[t.getMonth()];case J.Days:return D(e,o,i)[t.getDay()];case J.DayPeriods:var s=t.getHours(),c=t.getMinutes();if(a){var l=function(t){var e=(0,r.cg1)(t);return V(e),(e[r.wAp.ExtraData][2]||[]).map(function(t){return"string"==typeof t?z(t):[z(t[0]),z(t[1])]})}(e),u=function(t,e,n){var i=(0,r.cg1)(t);V(i);var o=j([i[r.wAp.ExtraData][0],i[r.wAp.ExtraData][1]],e)||[];return j(o,n)||[]}(e,o,i),d=l.findIndex(function(t){if(Array.isArray(t)){var e=_slicedToArray(t,2),n=e[0],i=e[1],o=s>=n.hours&&c>=n.minutes,r=s<i.hours||s===i.hours&&c<i.minutes;if(n.hours<i.hours){if(o&&r)return!0}else if(o||r)return!0}else if(t.hours===s&&t.minutes===c)return!0;return!1});if(-1!==d)return u[d]}return E(e,o,i)[s<12?0:1];case J.Eras:return function(t,e){return j((0,r.cg1)(t)[r.wAp.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type ".concat(n))}}(o,a,t,e,n,i)}}function nt(t){return function(e,n,i){var o=-1*i,r=N(n,I.MinusSign),a=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case G.Short:return(o>=0?"+":"")+$(a,2,r)+$(Math.abs(o%60),2,r);case G.ShortGMT:return"GMT"+(o>=0?"+":"")+$(a,1,r);case G.Long:return"GMT"+(o>=0?"+":"")+$(a,2,r)+":"+$(Math.abs(o%60),2,r);case G.Extended:return 0===i?"Z":(o>=0?"+":"")+$(a,2,r)+":"+$(Math.abs(o%60),2,r);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function it(t){return Q(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var o;if(e){var r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,a=n.getDate();o=1+Math.floor((a+r)/7)}else{var s=it(n),c=function(t){var e=Q(t,0,1).getDay();return Q(t,0,1+(e<=4?4:11)-e)}(s.getFullYear()),l=s.getTime()-c.getTime();o=1+Math.round(l/6048e5)}return $(o,t,N(i,I.MinusSign))}}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return $(it(n).getFullYear(),t,N(i,I.MinusSign),e)}}var at={};function st(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ct(t){return t instanceof Date&&!isNaN(t.valueOf())}var lt=_createClass(function t(){_classCallCheck(this,t)}),ut=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e)).locale=t,n}return _inherits(e,t),_createClass(e,[{key:"getPluralCategory",value:function(t,e){switch(U(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}]),e}(lt);return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.soG))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function dt(t,e){e=encodeURIComponent(e);var n,i=_createForOfIteratorHelper(t.split(";"));try{for(i.s();!(n=i.n()).done;){var o=n.value,r=o.indexOf("="),a=_slicedToArray(-1==r?[o,""]:[o.slice(0,r),o.slice(r+1)],2),s=a[0],c=a[1];if(s.trim()===e)return decodeURIComponent(c)}}catch(l){i.e(l)}finally{i.f()}return null}var ht=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=i,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(t,[{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,r.AaK)(t.item)));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))}},{key:"_toggleClass",value:function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),pt=function(){function t(e,n,i,o){_classCallCheck(this,t),this.$implicit=e,this.ngForOf=n,this.index=i,this.count=o}return _createClass(t,[{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}}]),t}(),ft=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._viewContainer=e,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(t,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat(function(t){return t.name||typeof t}(t),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation(function(t,i,o){if(null==t.previousIndex){var r=e._viewContainer.createEmbeddedView(e._template,new pt(null,e._ngForOf,-1,-1),null===o?void 0:o),a=new gt(t,r);n.push(a)}else if(null==o)e._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=e._viewContainer.get(i);e._viewContainer.move(s,o);var c=new gt(t,s);n.push(c)}});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var o=0,r=this._viewContainer.length;o<r;o++){var a=this._viewContainer.get(o);
1a.context.index=o,a.context.count=r,a.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})}},{key:"_perViewChange",value:function(t,e){t.context.$implicit=e.item}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t}(),gt=_createClass(function t(e,n){_classCallCheck(this,t),this.record=e,this.view=n}),_t=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._viewContainer=e,this._context=new mt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return _createClass(t,[{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){vt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){vt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}},{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:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),mt=_createClass(function t(){_classCallCheck(this,t),this.$implicit=null,this.ngIf=null});function vt(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat((0,r.AaK)(e),"'."))}var yt=function(){function t(e,n){_classCallCheck(this,t),this._viewContainerRef=e,this._templateRef=n,this._created=!1}return _createClass(t,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}]),t}(),Ct=function(){var t=function(){function t(){_classCallCheck(this,t),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return _createClass(t,[{key:"ngSwitch",set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}},{key:"_matchCase",value:function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}},{key:"_updateDefaultCases",value:function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t}(),bt=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.ngSwitch=i,i._addCase(),this._view=new yt(e,n)}return _createClass(t,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(Ct,9))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t}(),Ot=function(){var t=_createClass(function t(e,n,i){_classCallCheck(this,t),i._addDefault(new yt(e,n))});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(Ct,9))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t}(),Pt=function(){var t=function(){function t(e){_classCallCheck(this,t),this._viewContainerRef
1=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return _createClass(t,[{key:"ngOnChanges",value:function(t){if(t.ngTemplateOutlet){var e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.TTD]}),t}(),wt=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"createSubscription",value:function(t,e){return t.subscribe({next:e,error:function(t){throw t}})}},{key:"dispose",value:function(t){t.unsubscribe()}},{key:"onDestroy",value:function(t){t.unsubscribe()}}]),t}(),Mt=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"createSubscription",value:function(t,e){return t.then(e,function(t){throw t})}},{key:"dispose",value:function(t){}},{key:"onDestroy",value:function(t){}}]),t}(),xt=new Mt,kt=new wt,St=function(){var t=function(){function t(e){_classCallCheck(this,t),this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass(t,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}},{key:"_subscribe",value:function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})}},{key:"_selectStrategy",value:function(e){if((0,r.QGY)(e))return xt;if((0,r.F4k)(e))return kt;throw function(t,e){return Error("InvalidPipeArgument: '".concat(e,"' for pipe '").concat((0,r.AaK)(t),"'"))}(t,e)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO,16))},t.\u0275pipe=r.Yjl({name:"async",type:t,pure:!1}),t}(),At=function(){var t=function(){function t(e){_classCallCheck(this,t),this.differs=e,this.keyValues=[],this.compareFn=Tt}return _createClass(t,[{key:"transform",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tt;if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());var i=this.differ.diff(t),o=n!==this.compareFn;return i&&(this.keyValues=[],i.forEachItem(function(t){e.keyValues.push(function(t,e){return{key:t,value:e}}(t.key,t.currentValue))})),(i||o)&&(this.keyValues.sort(n),this.compareFn=n),this.keyValues}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.aQg,16))},t.\u0275pipe=r.Yjl({name:"keyvalue",type:t,pure:!1}),t}();function Tt(t,e){var n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;var o=String(n),r=String(i);return o==r?0:o<r?-1:1}var It=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:lt,useClass:ut}]}),t}(),Et=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275prov=(0,r.Yz7)({token:t,providedIn:"root",factory:function(){return new Dt((0,r.LFG)(l),window)}}),t}(),Dt=function(){function t(e,n){_classCallCheck(this,t),this.document=e,this.window=n,this.offset=function(){return[0,0]}}return _createClass(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=function(t,e){var n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow))for(var i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=i.currentNode;o;){var r=o.shadowRoot;if(r){var a=r.getElementById(e)||r.querySelector('[name="'.concat(e,'"]'));if(a)return a}o=i.nextNode()}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=Rt(this.window.history)||Rt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(gM){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(gM){return!1}}}]),t}();function Rt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var Ft,Lt=_createClass(function t(){_classCallCheck(this,t)}),Zt=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){t.parentNode&&t.parentNode.removeChild(t)}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getBaseHref",value:function(t){var e=(Nt=Nt||document.querySelector("base"))?Nt.getAttribute("href"):null;return null==e?null:function(t){(Ft=Ft||document.createElement("a")).setAttribute("href",t);var e=Ft.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){Nt=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return dt(document.cookie,t)}}],[{key:"makeCurrent",value:function(){var t;t=new e,a||(a=t)}}]),e}(function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments)).supportsDOMEvents=!0,t}return _inherits(e,t),_createClass(e)}(function(){return _createClass(function t(){_classCallCheck(this,t)})}())),Nt=null,Ut=new r.OlP("TRANSITION_ID"),Vt=[{provide:r.ip1,useFactory:function(t,e,n){return function(){n.get(r.CZH).donePromise.then(function(){for(var n=s(),i=e.querySelectorAll('style[ng-transition="'.concat(t,'"]')),o=0;o<i.length;o++)n.remove(i[o])})}},deps:[Ut,l,r.zs3],multi:!0}],jt=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"addToWindow",value:function(t){r.dqk.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.dqk.getAllAngularTestabilities=function(){return t.getAllTestabilities()},r.dqk.getAllAngularRootElements=function(){return t.getAllRootElements()},r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(function(t){var e=r.dqk.getAllAngularTestabilities(),n=e.length,i=!1,o=function(e){i=i||e,0==--n&&t(i)};e.forEach(function(t){t.whenStable(o)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?s().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){(0,r.VLi)(new t)}}]),t}(),zt=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),qt=new r.OlP("EventManagerPlugins"),Bt=function(){var t=function(){function t(e,n){var i=this;_classCallCheck(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=i}),this._plugins=e.slice().reverse()}return _createClass(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i<n.length;i++){var o=n[i];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event ".concat(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(qt),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Yt=function(){function t(e){_classCallCheck(this,t),this._doc=e}return _createClass(t,[{key:"addGlobalEventListener",value:function(t,e,n){var i=s().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(e));return this.addEventListener(i,e,n)}}]),t}(),Gt=function(){var t=function(){function t(){_classCallCheck(this,t),this._stylesSet=new Set}return _createClass(t,[{key:"addStyles",value:function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(t){}}
1,{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Ht=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._doc=t,n._hostNodes=new Map,n._hostNodes.set(t.head,[]),n}return _inherits(e,t),_createClass(e,[{key:"_addStylesToHost",value:function(t,e,n){var i=this;t.forEach(function(t){var o=i._doc.createElement("style");o.textContent=t,n.push(e.appendChild(o))})}},{key:"addHost",value:function(t){var e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}},{key:"removeHost",value:function(t){var e=this._hostNodes.get(t);e&&e.forEach(Jt),this._hostNodes.delete(t)}},{key:"onStylesAdded",value:function(t){var e=this;this._hostNodes.forEach(function(n,i){e._addStylesToHost(t,i,n)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(t){return t.forEach(Jt)})}}]),e}(Gt);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function Jt(t){s().remove(t)}var Wt={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/"},Qt=/%COMP%/g;function Kt(t,e,n){for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?Kt(t,o,n):(o=o.replace(Qt,t),n.push(o))}return n}function Xt(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var $t=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new te(e)}return _createClass(t,[{key:"createRenderer",value:function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ifc.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new ee(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case 1:case r.ifc.ShadowDom:return new ne(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=Kt(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Bt),r.LFG(Ht),r.LFG(r.AFp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),te=function(){function t(e){_classCallCheck(this,t),this.eventManager=e,this.data=Object.create(null)}return _createClass(t,[{key:"destroy",value:function(){}},{key:"createElement",value:function(t,e){return e?document.createElementNS(Wt[e]||e,t):document.createElement(t)}},{key:"createComment",value:function(t){return document.createComment(t)}},{key:"createText",value:function(t){return document.createTextNode(t)}},{key:"appendChild",value:function(t,e){t.appendChild(e)}},{key:"insertBefore",value:function(t,e,n){t&&t.insertBefore(e,n)}},{key:"removeChild",value:function(t,e){t&&t.removeChild(e)}},{key:"selectRootElement",value:function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'.concat(t,'" did not match any elements'));return e||(n.textContent=""),n}},{key:"parentNode",value:function(t){return t.parentNode}},{key:"nextSibling",value:function(t){return t.nextSibling}},{key:"setAttribute",value:function(t,e,n,i){if(i){e=i+":"+e;var o=Wt[i];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}},{key:"removeAttribute",value:function(t,e,n){if(n){var i=Wt[n];i?t.removeAttributeNS(i,e):t.removeAttribute("".concat(n,":").concat(e))}else t.removeAttribute(e)}},{key:"addClass",value:function(t,e){t.classList.add(e)}},{key:"removeClass",value:function(t,e){t.classList.remove(e)}},{key:"setStyle",value:function(t,e,n,i){i&(r.JOm.DashCase|r.JOm.Important)?t.style.setProperty(e,n,i&r.JOm.Important?"important":""):t.style[e]=n}},{key:"removeStyle",value:function(t,e,n){n&r.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}},{key:"setProperty",value:function(t,e,n){t[e]=n}},{key:"setValue",value:function(t,e){t.nodeValue=e}},{key:"listen",value:function(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Xt(n)):this.eventManager.addEventListener(t,e,Xt(n))}}]),t}(),ee=function(t){function e(t,n,i,o){var r;_classCallCheck(this,e),(r=_callSuper(this,e,[t])).component=i;var a=Kt(o+"-"+i.id,i.styles,[]);return n.addStyles(a),r.contentAttr="_ngcontent-%COMP%".replace(Qt,o+"-"+i.id),r.hostAttr=function(t){return"_nghost-%COMP%".replace(Qt,t)}(o+"-"+i.id),r}
1return _inherits(e,t),_createClass(e,[{key:"applyToHost",value:function(t){_get(_getPrototypeOf(e.prototype),"setAttribute",this).call(this,t,this.hostAttr,"")}},{key:"createElement",value:function(t,n){var i=_get(_getPrototypeOf(e.prototype),"createElement",this).call(this,t,n);return _get(_getPrototypeOf(e.prototype),"setAttribute",this).call(this,i,this.contentAttr,""),i}}]),e}(te),ne=function(t){function e(t,n,i,o){var r;_classCallCheck(this,e),(r=_callSuper(this,e,[t])).sharedStylesHost=n,r.hostEl=i,r.shadowRoot=i.attachShadow({mode:"open"}),r.sharedStylesHost.addHost(r.shadowRoot);for(var a=Kt(o.id,o.styles,[]),s=0;s<a.length;s++){var c=document.createElement("style");c.textContent=a[s],r.shadowRoot.appendChild(c)}return r}return _inherits(e,t),_createClass(e,[{key:"nodeOrShadowRoot",value:function(t){return t===this.hostEl?this.shadowRoot:t}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(t,n){return _get(_getPrototypeOf(e.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(t),n)}},{key:"insertBefore",value:function(t,n,i){return _get(_getPrototypeOf(e.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(t),n,i)}},{key:"removeChild",value:function(t,n){return _get(_getPrototypeOf(e.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(t),n)}},{key:"parentNode",value:function(t){return this.nodeOrShadowRoot(_get(_getPrototypeOf(e.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(t)))}}]),e}(te),ie=function(){var t=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[t])}return _inherits(e,t),_createClass(e,[{key:"supports",value:function(t){return!0}},{key:"addEventListener",value:function(t,e,n){var i=this;return t.addEventListener(e,n,!1),function(){return i.removeEventListener(t,e,n)}}},{key:"removeEventListener",value:function(t,e,n){return t.removeEventListener(e,n)}}]),e}(Yt);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),oe=["alt","control","meta","shift"],re={"\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"},ae={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"},se={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ce=function(){var t=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[t])}return _inherits(e,t),_createClass(e,[{key:"supports",value:function(t){return null!=e.parseEventName(t)}},{key:"addEventListener",value:function(t,n,i){var o=e.parseEventName(n),r=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(t,o.domEventName,r)})}}],[{key:"parseEventName",value:function(t){var n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;var o=e._normalizeKey(n.pop()),r="";if(oe.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=i,a.fullKey=r,a}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&ae.hasOwnProperty(e)&&(e=ae[e]))}return re[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),oe.forEach(function(i){i!=n&&se[i](t)&&(e+=i+".")}),e+=n}},{key:"eventCallback",value:function(t,n,i){return function(o){e.getEventFullKey(o)===t&&i.runGuarded(function(){return n(o)})}}},{key:"_normalizeKey",value:function(t){return"esc"===t?"escape":t}}]),e}(Yt);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),le=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return(0,r.LFG)(ue)},token:t,providedIn:"root"}),t}(),ue=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._doc=t,n}return _inherits(e,t),_createClass(e,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case r.q3G.NONE:return e;case r.q3G.HTML:return(0,r.qzn)(e,"HTML")?(0,r.z3N)(e):(0,r.EiD)(this._doc,String(e)).toString();case r.q3G.STYLE:return(0,r.qzn)(e,"Style")?(0,r.z3N)(e):e;case r.q3G.SCRIPT:if((0,r.qzn)(e,"Script"))return(0,r.z3N)(e);throw new Error("unsafe value used in a script context");
1case r.q3G.URL:return(0,r.yhl)(e),(0,r.qzn)(e,"URL")?(0,r.z3N)(e):(0,r.mCW)(String(e));case r.q3G.RESOURCE_URL:if((0,r.qzn)(e,"ResourceURL"))return(0,r.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return(0,r.JVY)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return(0,r.L6k)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return(0,r.eBb)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return(0,r.LAX)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return(0,r.pB0)(t)}}]),e}(le);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=(0,r.Yz7)({factory:function(){return function(t){return new ue(t.get(l))}((0,r.LFG)(r.gxx))},token:t,providedIn:"root"}),t}(),de=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:"browser"},{provide:r.g9A,useValue:function(){Zt.makeCurrent(),jt.init()},multi:!0},{provide:l,useFactory:function(){return(0,r.RDi)(document),document},deps:[]}]),he=[[],{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function(){return new r.qLn},deps:[]},{provide:qt,useClass:ie,multi:!0,deps:[l,r.R0b,r.Lbi]},{provide:qt,useClass:ce,multi:!0,deps:[l]},[],{provide:$t,useClass:$t,deps:[Bt,Ht,r.AFp]},{provide:r.FYo,useExisting:$t},{provide:Gt,useExisting:Ht},{provide:Ht,useClass:Ht,deps:[l]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b]},{provide:Bt,useClass:Bt,deps:[qt,r.R0b]},{provide:Lt,useClass:zt,deps:[]},[]],pe=function(){var t=function(){function t(e){if(_classCallCheck(this,t),e)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(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:r.AFp,useValue:e.appId},{provide:Ut,useExisting:r.AFp},Vt]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(t,12))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:he,imports:[It,r.hGG]}),t}();"undefined"!=typeof window&&window;var fe=n(69412),ge=n(25917),_e=n(26215),me=n(9112),ve=n(39897),ye=n(13410),Ce=n(29923),be=n(41439),Oe=n(59193),Pe=n(52441),we=n(79765),Me=n(88002),xe=n(43190),ke=n(15257),Se=n(39761),Ae=n(42145),Te=n(45435),Ie=n(5304),Ee=n(94612),De=n(12627),Re=n(28049),Fe=n(19773),Le=n(68307),Ze=n(548),Ne=n(51307),Ue=n(68939),Ve=n(63282),je=_createClass(function t(e,n){_classCallCheck(this,t),this.id=e,this.url=n}),ze=function(t){function e(t,n){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,e),(i=_callSuper(this,e,[t,n])).navigationTrigger=o,i.restoredState=r,i}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(je),qe=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t,n])).urlAfterRedirects=i,o}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),e}(je),Be=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t,n])).reason=i,o}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(je),Ye=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t,n])).error=i,o}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),e}(je),Ge=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t,n])).urlAfterRedirects=i,r.state=o,r}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(je),He=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t,n])).urlAfterRedirects=i,r.state=o,r}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(je),Je=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e,[t,n])).urlAfterRedirects=i,a.state=o,a.shouldActivate=r,a}return _inherits(e,t),_createClass(e,[{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,")")}}]),e}(je),We=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t,n])).urlAfterRedirects=i,r.state=o,r}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}
1(je),Qe=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t,n])).urlAfterRedirects=i,r.state=o,r}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(je),Ke=function(){function t(e){_classCallCheck(this,t),this.route=e}return _createClass(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),Xe=function(){function t(e){_classCallCheck(this,t),this.route=e}return _createClass(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),$e=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),tn=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),en=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),nn=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),on=function(){function t(e,n,i){_classCallCheck(this,t),this.routerEvent=e,this.position=n,this.anchor=i}return _createClass(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),rn="primary",an=function(){function t(e){_classCallCheck(this,t),this.params=e||{}}return _createClass(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function sn(t){return new an(t)}var cn="ngNavigationCancelingError";function ln(t){var e=Error("NavigationCancelingError: "+t);return e[cn]=!0,e}function un(t,e,n){var i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;for(var o={},r=0;r<i.length;r++){var a=i[r],s=t[r];if(a.startsWith(":"))o[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:o}}function dn(t,e){var n,i=t?Object.keys(t):void 0,o=e?Object.keys(e):void 0;if(!i||!o||i.length!=o.length)return!1;for(var r=0;r<i.length;r++)if(!hn(t[n=i[r]],e[n]))return!1;return!0}function hn(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;var n=_toConsumableArray(t).sort(),i=_toConsumableArray(e).sort();return n.every(function(t,e){return i[e]===t})}return t===e}function pn(t){return Array.prototype.concat.apply([],t)}function fn(t){return t.length>0?t[t.length-1]:null}function gn(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function _n(t){return(0,r.CqO)(t)?t:(0,r.QGY)(t)?(0,fe.D)(Promise.resolve(t)):(0,ge.of)(t)}var mn={exact:function t(e,n,i){if(!xn(e.segments,n.segments)||!On(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(var o in n.children)if(!e.children[o]||!t(e.children[o],n.children[o],i))return!1;return!0},subset:Cn},vn={exact:function(t,e){return dn(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return hn(t[n],e[n])})},ignored:function(){return!0}};function yn(t,e,n){return mn[n.paths](t.root,e.root,n.matrixParams)&&vn[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Cn(t,e,n){return bn(t,e,e.segments,n)}function bn(t,e,n,i){if(t.segments.length>n.length){var o=t.segments.slice(0,n.length);
1return!(!xn(o,n)||e.hasChildren()||!On(o,n,i))}if(t.segments.length===n.length){if(!xn(t.segments,n)||!On(t.segments,n,i))return!1;for(var r in e.children)if(!t.children[r]||!Cn(t.children[r],e.children[r],i))return!1;return!0}var a=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!(xn(t.segments,a)&&On(t.segments,a,i)&&t.children[rn])&&bn(t.children[rn],e,s,i)}function On(t,e,n){return e.every(function(e,i){return vn[n](t[i].parameters,e.parameters)})}var Pn=function(){function t(e,n,i){_classCallCheck(this,t),this.root=e,this.queryParams=n,this.fragment=i}return _createClass(t,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=sn(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return An.serialize(this)}}]),t}(),wn=function(){function t(e,n){var i=this;_classCallCheck(this,t),this.segments=e,this.children=n,this.parent=null,gn(n,function(t,e){return t.parent=i})}return _createClass(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Tn(this)}}]),t}(),Mn=function(){function t(e,n){_classCallCheck(this,t),this.path=e,this.parameters=n}return _createClass(t,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=sn(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Zn(this)}}]),t}();function xn(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}var kn=_createClass(function t(){_classCallCheck(this,t)}),Sn=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"parse",value:function(t){var e=new zn(t);return new Pn(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e,n="/".concat(In(t.root,!0)),i=function(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat(Dn(e),"=").concat(Dn(t))}).join("&"):"".concat(Dn(e),"=").concat(Dn(n))}).filter(function(t){return!!t});return e.length?"?".concat(e.join("&")):""}(t.queryParams);return"".concat(n).concat(i).concat("string"==typeof t.fragment?"#".concat((e=t.fragment,encodeURI(e))):"")}}]),t}(),An=new Sn;function Tn(t){return t.segments.map(function(t){return Zn(t)}).join("/")}function In(t,e){if(!t.hasChildren())return Tn(t);if(e){var n=t.children[rn]?In(t.children[rn],!1):"",i=[];return gn(t.children,function(t,e){e!==rn&&i.push("".concat(e,":").concat(In(t,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var o=function(t,e){var n=[];return gn(t.children,function(t,i){i===rn&&(n=n.concat(e(t,i)))}),gn(t.children,function(t,i){i!==rn&&(n=n.concat(e(t,i)))}),n}(t,function(e,n){return n===rn?[In(t.children[rn],!1)]:["".concat(n,":").concat(In(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children[rn]?"".concat(Tn(t),"/").concat(o[0]):"".concat(Tn(t),"/(").concat(o.join("//"),")")}function En(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dn(t){return En(t).replace(/%3B/gi,";")}function Rn(t){return En(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fn(t){return decodeURIComponent(t)}function Ln(t){return Fn(t.replace(/\+/g,"%20"))}function Zn(t){return"".concat(Rn(t.path)).concat(function(t){return Object.keys(t).map(function(e){return";".concat(Rn(e),"=").concat(Rn(t[e]))}).join("")}(t.parameters))}var Nn=/^[^\/()?;=#]+/;function Un(t){var e=t.match(Nn);return e?e[0]:""}var Vn=/^[^=?&#]+/,jn=/^[^?&#]+/,zn=function(){function t(e){_classCallCheck(this,t),this.url=e,this.remaining=e}return _createClass(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wn([],{}):new wn([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decode
1URIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[rn]=new wn(t,e)),n}},{key:"parseSegment",value:function(){var t=Un(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Mn(Fn(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Un(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Un(this.remaining);i&&(n=i,this.capture(n))}t[Fn(e)]=Fn(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Vn);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(jn);return e?e[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var o=Ln(e),r=Ln(n);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(a=[a],t[o]=a),a.push(r)}else t[o]=r}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Un(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=rn);var r=this.parseChildren();e[o]=1===Object.keys(r).length?r[rn]:new wn([],r),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),qn=function(){function t(e){_classCallCheck(this,t),this._root=e}return _createClass(t,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=Bn(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=Bn(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Yn(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return Yn(t,this._root).map(function(t){return t.value})}}]),t}();function Bn(t,e){if(t===e.value)return e;var n,i=_createForOfIteratorHelper(e.children);try{for(i.s();!(n=i.n()).done;){var o=Bn(t,n.value);if(o)return o}}catch(r){i.e(r)}finally{i.f()}return null}function Yn(t,e){if(t===e.value)return[e];var n,i=_createForOfIteratorHelper(e.children);try{for(i.s();!(n=i.n()).done;){var o=Yn(t,n.value);if(o.length)return o.unshift(e),o}}catch(r){i.e(r)}finally{i.f()}return[]}var Gn=function(){function t(e,n){_classCallCheck(this,t),this.value=e,this.children=n}return _createClass(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function Hn(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Jn=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t])).snapshot=n,ti(_assertThisInitialized(i),t),i}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return this.snapshot.toString()}}]),e}(qn);function Wn(t,e){var n=function(t,e){var n=new Xn([],{},{},"",{},rn,e,null,t.root,-1,{});return new $n("",new Gn(n,[]))}(t,e),i=new _e.X([new Mn("",{})]),o=new _e.X({}),r=new _e.X({}),a=new _e.X({}),s=new _e.X(""),c=new Qn(i,o,a,s,r,rn,e,n.root);return c.snapshot=n.root,new Jn(new Gn(c,[]),n)}var Qn=function(){function t(e,n,i,o,r,a,s,c){_classCallCheck(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this._futureSnapshot=c}
1return _createClass(t,[{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((0,Me.U)(function(t){return sn(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Me.U)(function(t){return sn(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),t}();function Kn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var o=n[i],r=n[i-1];
1if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(r.component)break;i--}}return function(t){return t.reduce(function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var Xn=function(){function t(e,n,i,o,r,a,s,c,l,u,d){_classCallCheck(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=u,this._resolve=d}return _createClass(t,[{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=sn(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=sn(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),t}(),$n=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[n])).url=t,ti(_assertThisInitialized(i),n),i}return _inherits(e,t),_createClass(e,[{key:"toString",value:function(){return ei(this._root)}}]),e}(qn);function ti(t,e){e.value._routerState=t,e.children.forEach(function(e){return ti(t,e)})}function ei(t){var e=t.children.length>0?" { ".concat(t.children.map(ei).join(", ")," } "):"";return"".concat(t.value).concat(e)}function ni(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,dn(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),dn(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!dn(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),dn(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function ii(t,e){var n=dn(t.params,e.params)&&function(t,e){return xn(t,e)&&t.every(function(t,n){return dn(t.parameters,e[n].parameters)})}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||ii(t.parent,e.parent))}function oi(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){var i=n.value;i._futureSnapshot=e.value;var o=function(t,e,n){return e.children.map(function(e){var i,o=_createForOfIteratorHelper(n.children);try{for(o.s();!(i=o.n()).done;){var r=i.value;if(t.shouldReuseRoute(e.value,r.value.snapshot))return oi(t,e,r)}}catch(a){o.e(a)}finally{o.f()}return oi(t,e)})}(t,e,n);return new Gn(i,o)}if(t.shouldAttach(e.value)){var r=t.retrieve(e.value);if(null!==r){var a=r.route;return ri(e,a),a}}var s=function(t){return new Qn(new _e.X(t.url),new _e.X(t.params),new _e.X(t.queryParams),new _e.X(t.fragment),new _e.X(t.data),t.outlet,t.component,t)}(e.value),c=e.children.map(function(e){return oi(t,e)});return new Gn(s,c)}function ri(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;n<t.children.length;++n)ri(t.children[n],e.children[n])}function ai(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function si(t){return"object"==typeof t&&null!=t&&t.outlets}function ci(t,e,n,i,o){var r={};return i&&gn(i,function(t,e){r[e]=Array.isArray(t)?t.map(function(t){return"".concat(t)}):"".concat(t)}),new Pn(n.root===t?e:li(n.root,t,e),r,o)}function li(t,e,n){var i={};return gn(t.children,function(t,o){i[o]=t===e?n:li(t,e,n)}),new wn(t.segments,i)}var ui=function(){function t(e,n,i){if(_classCallCheck(this,t),this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&ai(i[0]))throw new Error("Root segment cannot have matrix parameters");var o=i.find(si);if(o&&o!==fn(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),di=_createClass(function t(e,n,i){_classCallCheck(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i});function hi(t,e,n){if(t||(t=new wn([],{})),0===t.segments.length&&t.hasChildren())return pi(t,e,n);var i=function(t,e,n){for(var i=0,o=e,r={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(i>=n.length)return r;var a=t.segments[o],s=n[i];if(si(s))break;var c="".concat(s),l=i<n.length-1?n[i+1]:null;if(o>0&&void 0===c)break;if(c&&l&&"object"==typeof l&&void 0===l.outlets){if(!mi(c,l,a))return r;i+=2}else{if(!mi(c,{},a))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,e,n),o=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){var r=new wn(t.segments.slice(0,i.pathIndex),{});return r.children[rn]=new wn(t.segments.slice(i.pathIndex),t.children),pi(r,0,o)}return i.match&&0===o.length?new wn(t.segments,{}):i.match&&!t.hasChildren()?fi(t,e,n):i.match?pi(t,0,o):fi(t,e,n)}function pi(t,e,n){if(0===n.length)return new wn(t.segments,{});var i=function(t){return si(t[0])?t[0].outlets:_defineProperty({},rn,t)}(n),o={};return gn(i,function(n,i){"string"==typeof n&&(n=[n]),null!==n&&(o[i]=hi(t.children[i],e,n))}),gn(t.children,function(t,e){void 0===i[e]&&(o[e]=t)}),new wn(t.segments,o)}function fi(t,e,n){for(var i=t.segments.slice(0,e),o=0;o<n.length;){var r=n[o];if(si(r)){var a=gi(r.outlets);return new wn(i,a)}if(0===o&&ai(n[0]))i.push(new Mn(t.segments[e].path,_i(n[0]))),o++;else{var s=si(r)?r.outlets[rn]:"".concat(r),c=o<n.length-1?n[o+1]:null;s&&c&&ai(c)?(i.push(new Mn(s,_i(c))),o+=2):(i.push(new Mn(s,{})),o++)}}return new wn(i,{})}function gi(t){var e={};return gn(t,function(t,n){"string"==typeof t&&(t=[t]),null!==t&&(e[n]=fi(new wn([],{}),0,t))}),e}function _i(t){var e={};return gn(t,function(t,n){return e[n]="".concat(t)}),e}function mi(t,e,n){return t==n.path&&dn(e,n.parameters)}var vi=function(){function t(e,n,i,o){_classCallCheck(this,t),this.routeReuseStrategy=e,this.futureState=n,this.currState=i,this.forwardEvent=o}return _createClass(t,[{key:"activate",value:function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ni(this.futureState.root),this.activateChildRoutes(e,n,t)}},{key:"deactivateChildRoutes",value:function(t,e,n){var i=this,o=Hn(e);
1t.children.forEach(function(t){var e=t.value.outlet;i.deactivateRoutes(t,o[e],n),delete o[e]}),gn(o,function(t,e){i.deactivateRouteAndItsChildren(t,n)})}},{key:"deactivateRoutes",value:function(t,e,n){var i=t.value,o=e?e.value:null;if(i===o)if(i.component){var r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}},{key:"deactivateRouteAndItsChildren",value:function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}},{key:"detachAndStoreRouteSubtree",value:function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:i,route:t,contexts:o})}}},{key:"deactivateRouteAndOutlet",value:function(t,e){for(var n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,o=Hn(t),r=0,a=Object.keys(o);r<a.length;r++){var s=a[r];this.deactivateRouteAndItsChildren(o[s],i)}n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}},{key:"activateChildRoutes",value:function(t,e,n){var i=this,o=Hn(e);t.children.forEach(function(t){i.activateRoutes(t,o[t.value.outlet],n),i.forwardEvent(new nn(t.value.snapshot))}),t.children.length&&this.forwardEvent(new tn(t.value.snapshot))}},{key:"activateRoutes",value:function(t,e,n){var i=t.value,o=e?e.value:null;if(ni(i),i===o)if(i.component){var r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){var a=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),yi(s.route)}else{var c=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),l=c?c.module.componentFactoryResolver:null;a.attachRef=null,a.route=i,a.resolver=l,a.outlet&&a.outlet.activateWith(i,l),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,n)}}]),t}();function yi(t){ni(t.value),t.children.forEach(yi)}var Ci=_createClass(function t(e,n){_classCallCheck(this,t),this.routes=e,this.module=n});function bi(t){return"function"==typeof t}function Oi(t){return t instanceof Pn}var Pi=Symbol("INITIAL_VALUE");function wi(){return(0,xe.w)(function(t){return(0,me.aj)(t.map(function(t){return t.pipe((0,ke.q)(1),(0,Se.O)(Pi))})).pipe((0,Ae.R)(function(t,e){var n=!1;return e.reduce(function(t,i,o){return t!==Pi?t:(i===Pi&&(n=!0),n||!1!==i&&o!==e.length-1&&!Oi(i)?t:i)},t)},Pi),(0,Te.h)(function(t){return t!==Pi}),(0,Me.U)(function(t){return Oi(t)?t:!0===t}),(0,ke.q)(1))})}var Mi=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r._UZ(0,"router-outlet")},directives:function(){return[Po]},encapsulation:2}),t}();function xi(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<t.length;n++){var i=t[n];ki(i,Si(e,i))}}function ki(t,e){t.children&&xi(t.children,e)}function Si(t,e){return e?t||e.path?t&&!e.path?"".concat(t,"/"):!t&&e.path?e.path:"".concat(t,"/").concat(e.path):"":t}function Ai(t){var e=t.children&&t.children.map(Ai),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==rn&&(n.component=Mi),n}function Ti(t){return t.outlet||rn}function Ii(t,e){var n=t.filter(function(t){return Ti(t)===e});return n.push.apply(n,_toConsumableArray(t.filter(function(t){return Ti(t)!==e}))),n}var Ei={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Di(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Ei):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var o=(e.matcher||un)(n,t,e);if(!o)return Object.assign({},Ei);var r={};gn(o.posParams,function(t,e){r[e]=t.path});var a=o.consumed.length>0?Object.assign(Object.assign({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a,positionalParamSegments:null!==(i=o.posParams)&&void 0!==i?i:{}}}function Ri(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(t,e,n){return n.some(function(n){return Fi(t,e,n)&&Ti(n)!==rn})}
1(t,n,i)){var r=new wn(e,function(t,e,n,i){var o={};o[rn]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;var r,a=_createForOfIteratorHelper(n);try{for(a.s();!(r=a.n()).done;){var s=r.value;if(""===s.path&&Ti(s)!==rn){var c=new wn([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,o[Ti(s)]=c}}}catch(l){a.e(l)}finally{a.f()}return o}(t,e,i,new wn(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(function(n){return Fi(t,e,n)})}(t,n,i)){var a=new wn(t.segments,function(t,e,n,i,o,r){var a,s={},c=_createForOfIteratorHelper(i);try{for(c.s();!(a=c.n()).done;){var l=a.value;if(Fi(t,n,l)&&!o[Ti(l)]){var u=new wn([],{});u._sourceSegment=t,u._segmentIndexShift="legacy"===r?t.segments.length:e.length,s[Ti(l)]=u}}}catch(d){c.e(d)}finally{c.f()}return Object.assign(Object.assign({},o),s)}(t,e,n,i,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new wn(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Fi(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Li(t,e,n,i){return!!(Ti(t)===i||i!==rn&&Fi(e,n,t))&&("**"===t.path||Di(e,t,n).matched)}function Zi(t,e,n){return 0===e.length&&!t.children[n]}var Ni=_createClass(function t(e){_classCallCheck(this,t),this.segmentGroup=e||null}),Ui=_createClass(function t(e){_classCallCheck(this,t),this.urlTree=e});function Vi(t){return new ve.y(function(e){return e.error(new Ni(t))})}function ji(t){return new ve.y(function(e){return e.error(new Ui(t))})}function zi(t){return new ve.y(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var qi=function(){function t(e,n,i,o,a){_classCallCheck(this,t),this.configLoader=n,this.urlSerializer=i,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=e.get(r.h0i)}return _createClass(t,[{key:"apply",value:function(){var t=this,e=Ri(this.urlTree.root,[],[],this.config).segmentGroup,n=new wn(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,rn).pipe((0,Me.U)(function(e){return t.createUrlTree(Bi(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe((0,Ie.K)(function(e){if(e instanceof Ui)return t.allowRedirects=!1,t.match(e.urlTree);throw e instanceof Ni?t.noMatchError(e):e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,rn).pipe((0,Me.U)(function(n){return e.createUrlTree(Bi(n),t.queryParams,t.fragment)})).pipe((0,Ie.K)(function(t){throw t instanceof Ni?e.noMatchError(t):t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,e,n){var i=t.segments.length>0?new wn([],_defineProperty({},rn,t)):t;return new Pn(i,e,n)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,Me.U)(function(t){return new wn([],t)})):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){for(var i=this,o=[],r=0,a=Object.keys(n.children);r<a.length;r++){var s=a[r];"primary"===s?o.unshift(s):o.push(s)}return(0,fe.D)(o).pipe((0,Ee.b)(function(o){var r=n.children[o],a=Ii(e,o);return i.expandSegmentGroup(t,a,r,o).pipe((0,Me.U)(function(t){return{segment:t,outlet:o}}))}),(0,Ae.R)(function(t,e){return t[e.outlet]=e.segment,t},{}),(0,De.Z)())}},{key:"expandSegment",value:function(t,e,n,i,o,r){var a=this;return(0,fe.D)(n).pipe((0,Ee.b)(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,i,o,r).pipe((0,Ie.K)(function(t){if(t instanceof Ni)return(0,ge.of)(null);throw t}))}),(0,Re.P)(function(t){return!!t}),(0,Ie.K)(function(t,n){if(t instanceof ye.K||"EmptyError"===t.name){if(Zi(e,i,o))return(0,ge.of)(new wn([],{}));throw new Ni(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,o,r,a){return Li(i,e,o,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,o,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,o,r):Vi(e):Vi(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,o,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,o,r)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var o=this,r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ji(r):this.lineralizeSegments(n,r).pipe((0,Fe.zg)(function(n){var r=new wn(n,{});return o.expandSegment(t,r,e,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,o,r){var a=this,s=Di(e,i,o),c=s.matched,l=s.consumedSegments,u=s.lastChild,d=s.positionalParamSegments;if(!c)return Vi(e);var h=this.applyRedirectCommands(l,i.redirectTo,d);return i.redirectTo.startsWith("/")?ji(h):this.lineralizeSegments(i,h).pipe((0,Fe.zg)(function(i){return a.expandSegment(t,e,n,i.concat(o.slice(u)),r,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i,o){var r=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,ge.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,Me.U)(function(t){return n._loadedConfig=t,new wn(i,{})})):(0,ge.of)(new wn(i,{}));var a=Di(e,n,i),s=a.matched,c=a.consumedSegments,l=a.lastChild;if(!s)return Vi(e);var u=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,Fe.zg)(function(t){var i=t.module,a=t.routes,s=Ri(e,c,u,a),l=s.segmentGroup,d=s.slicedSegments,h=new wn(l.segments,l.children);if(0===d.length&&h.hasChildren())return r.expandChildren(i,a,h).pipe((0,Me.U)(function(t){return new wn(c,t)}));if(0===a.length&&0===d.length)return(0,ge.of)(new wn(c,{}));var p=Ti(n)===o;return r.expandSegment(i,h,a,d,p?rn:o,!0).pipe((0,Me.U)(function(t){return new wn(c.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?(0,ge.of)(new Ci(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,ge.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,Fe.zg)(function(n){return n?i.configLoader.load(t.injector,e).pipe((0,Me.U)(function(t){return e._loadedConfig=t,t})):(o=e,new ve.y(function(t){return t.error(ln("Cannot load children because the guard of the route \"path: '".concat(o.path,"'\" returned false")))}));var o})):(0,ge.of)(new Ci([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i=this,o=e.canLoad;if(!o||0===o.length)return(0,ge.of)(!0);var r=o.map(function(i){var o,r,a=t.get(i);if((r=a)&&bi(r.canLoad))o=a.canLoad(e,n);
1else{if(!bi(a))throw new Error("Invalid CanLoad guard");o=a(e,n)}return _n(o)});return(0,ge.of)(r).pipe(wi(),(0,Le.b)(function(t){if(Oi(t)){var e=ln('Redirecting to "'.concat(i.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),(0,Me.U)(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,ge.of)(n);if(i.numberOfChildren>1||!i.children[rn])return zi(t.redirectTo);i=i.children[rn]}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var o=this.createSegmentGroup(t,e.root,n,i);return new Pn(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return gn(t,function(t,i){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[i]=e[o]}else n[i]=t}),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var o=this,r=this.createSegments(t,e.segments,n,i),a={};return gn(e.children,function(e,r){a[r]=o.createSegmentGroup(t,e,n,i)}),new wn(r,a)}},{key:"createSegments",value:function(t,e,n,i){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,i):o.findOrReturn(e,n)})}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var n,i=0,o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){var r=n.value;if(r.path===t.path)return e.splice(i),r;i++}}catch(a){o.e(a)}finally{o.f()}return t}}]),t}();function Bi(t){for(var e={},n=0,i=Object.keys(t.children);n<i.length;n++){var o=i[n],r=Bi(t.children[o]);(r.segments.length>0||r.hasChildren())&&(e[o]=r)}return function(t){if(1===t.numberOfChildren&&t.children[rn]){var e=t.children[rn];return new wn(t.segments.concat(e.segments),e.children)}return t}(new wn(t.segments,e))}var Yi=_createClass(function t(e){_classCallCheck(this,t),this.path=e,this.route=this.path[this.path.length-1]}),Gi=_createClass(function t(e,n){_classCallCheck(this,t),this.component=e,this.route=n});function Hi(t,e,n){var i=t._root;return Wi(i,e?e._root:null,n,[i.value])}function Ji(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Wi(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},r=Hn(e);return t.children.forEach(function(t){(function(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},r=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){var c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!xn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!xn(t.url,e.url)||!dn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ii(t,e)||!dn(t.queryParams,e.queryParams);default:return!ii(t,e)}}(a,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Yi(i)):(r.data=a.data,r._resolvedData=a._resolvedData),Wi(t,e,r.component?s?s.children:null:n,i,o),c&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new Gi(s.outlet.component,a))}else a&&Qi(e,s,o),o.canActivateChecks.push(new Yi(i)),Wi(t,null,r.component?s?s.children:null:n,i,o)})(t,r[t.value.outlet],n,i.concat([t.value]),o),delete r[t.value.outlet]}),gn(r,function(t,e){return Qi(t,n.getContext(e),o)}),o}function Qi(t,e,n){var i=Hn(t),o=t.value;gn(i,function(t,i){Qi(t,o.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Gi(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var Ki=_createClass(function t(){_classCallCheck(this,t)});function Xi(t){return new ve.y(function(e){return e.error(t)})}var $i=function(){function t(e,n,i,o,r,a){_classCallCheck(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=a}return _createClass(t,[{key:"recognize",value:function(){var t=Ri(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,rn);if(null===e)return null;var n=new Xn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},rn,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Gn(n,e),o=new $n(this.url,i);return this.inheritParamsAndData(o._root),o}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=Kn(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEac
1h(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){for(var n=[],i=0,o=Object.keys(e.children);i<o.length;i++){var r=o[i],a=e.children[r],s=Ii(t,r),c=this.processSegmentGroup(s,a,r);if(null===c)return null;n.push.apply(n,_toConsumableArray(c))}var l=to(n);return l.sort(function(t,e){return t.value.outlet===rn?-1:e.value.outlet===rn?1:t.value.outlet.localeCompare(e.value.outlet)}),l}},{key:"processSegment",value:function(t,e,n,i){var o,r=_createForOfIteratorHelper(t);try{for(r.s();!(o=r.n()).done;){var a=o.value,s=this.processSegmentAgainstRoute(a,e,n,i);if(null!==s)return s}}catch(c){r.e(c)}finally{r.f()}return Zi(e,n,i)?[]:null}},{key:"processSegmentAgainstRoute",value:function(t,e,n,i){if(t.redirectTo||!Li(t,e,n,i))return null;var o,r=[],a=[];if("**"===t.path){var s=n.length>0?fn(n).parameters:{};o=new Xn(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,io(t),Ti(t),t.component,t,eo(e),no(e)+n.length,oo(t))}else{var c=Di(e,t,n);if(!c.matched)return null;r=c.consumedSegments,a=n.slice(c.lastChild),o=new Xn(r,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,io(t),Ti(t),t.component,t,eo(e),no(e)+r.length,oo(t))}var l,u=(l=t).children?l.children:l.loadChildren?l._loadedConfig.routes:[],d=Ri(e,r,a,u.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),h=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(u,h);return null===f?null:[new Gn(o,f)]}if(0===u.length&&0===p.length)return[new Gn(o,[])];var g=Ti(t)===i,_=this.processSegment(u,h,p,g?rn:i);return null===_?null:[new Gn(o,_)]}}]),t}();function to(t){var e,n=[],i=new Set,o=_createForOfIteratorHelper(t);try{var r=function(){var t,o=e.value;if(!function(t){var e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}(o))return n.push(o),1;var r=n.find(function(t){return o.value.routeConfig===t.value.routeConfig});void 0!==r?((t=r.children).push.apply(t,_toConsumableArray(o.children)),i.add(r)):n.push(o)};for(o.s();!(e=o.n()).done;)r()}catch(u){o.e(u)}finally{o.f()}var a,s=_createForOfIteratorHelper(i);try{for(s.s();!(a=s.n()).done;){var c=a.value,l=to(c.children);n.push(new Gn(c.value,l))}}catch(u){s.e(u)}finally{s.f()}return n.filter(function(t){return!i.has(t)})}function eo(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function no(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function io(t){return t.data||{}}function oo(t){return t.resolve||{}}function ro(t){return(0,xe.w)(function(e){var n=t(e);return n?(0,fe.D)(n).pipe((0,Me.U)(function(){return e})):(0,ge.of)(e)})}var ao=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}()),so=new r.OlP("ROUTES"),co=function(){function t(e,n,i,o){_classCallCheck(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=o}return _createClass(t,[{key:"load",value:function(t,e){var n=this;if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);var i=this.loadModuleFactory(e.loadChildren).pipe((0,Me.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var o=i.create(t);return new Ci(pn(o.injector.get(so,void 0,r.XFs.Self|r.XFs.Optional)).map(Ai),o)}),(0,Ie.K)(function(t){throw e._loader$=void 0,t}));return e._loader$=new Pe.c(i,function(){return new we.xQ}).pipe((0,Ne.x)()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?(0,fe.D)(this.loader.load(t)):_n(t()).pipe((0,Fe.zg)(function(t){return t instanceof r.YKP?(0,ge.of)(t):(0,fe.D)(e.compiler.compileModuleAsync(t))}))}}]),t}(),lo=_createClass(function t(){_classCallCheck(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new uo,this.attachRef=null}),uo=function(){function t(){_classCallCheck(this,t),this.contexts=new Map}return _createClass(t,[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new lo,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),ho=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function po(t){throw t}function fo(t,e,n){return e.parse("/")}function go(t,e){return(0,ge.of)(null)}var _o={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},vo=function(){var t=function(){function t(e,n,i,o,a,s,c,l){var u=this;_classCallCheck(this,t),this.rootComponentType=e,this.urlSerializer
1=n,this.rootContexts=i,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new we.xQ,this.errorHandler=po,this.malformedUriErrorHandler=fo,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:go,afterPreactivation:go},this.urlHandlingStrategy=new ho,this.routeReuseStrategy=new ao,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(r.h0i),this.console=a.get(r.c2e);var d=a.get(r.R0b);this.isNgZoneEnabled=d instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Pn(new wn([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new co(s,c,function(t){return u.triggerEvent(new Ke(t))},function(t){return u.triggerEvent(new Xe(t))}),this.routerState=Wn(this.currentUrlTree,this.rootComponentType),this.transitions=new _e.X({id:0,targetPageId: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(t,[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe((0,Te.h)(function(t){return 0!==t.id}),(0,Me.U)(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),(0,xe.w)(function(t){var i=!1,o=!1;return(0,ge.of)(t).pipe((0,Le.b)(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,xe.w)(function(t){var i=e.browserUrlTree.toString(),r=!e.navigated||t.extractedUrl.toString()!==i||i!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||r)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return yo(t.source)&&(e.browserUrlTree=t.extractedUrl),(0,ge.of)(t).pipe((0,xe.w)(function(t){var i=e.transitions.getValue();return n.next(new ze(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?Oe.E:Promise.resolve(t)}),function(t,e,n,i){return(0,xe.w)(function(o){return function(t,e,n,i,o){return new qi(t,e,n,i,o).apply()}(t,e,n,o.extractedUrl,i).pipe((0,Me.U)(function(t){return Object.assign(Object.assign({},o),{urlAfterRedirects:t})}))})}(e.ngModule.injector,e.configLoader,e.urlSerializer,e.config),(0,Le.b)(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,i,r,a){return(0,Fe.zg)(function(i){return function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new $i(t,e,n,i,r,a).recognize();return null===s?Xi(new Ki):(0,ge.of)(s)}catch(o){return Xi(o)}}(t,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,e.serializeUrl(s)),r,a).pipe((0,Me.U)(function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})}));var s})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),(0,Le.b)(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var i=new Ge(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)}));if(r&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var a=t.id,s=t.extractedUrl,c=t.source,l=t.restoredState,u=t.extras,d=new ze(a,e.serializeUrl(s),c,l);n.next(d);var h=Wn(s,e.rootComponentType).snapshot;return(0,ge.of)(Object.assign(Object.assign({},t),{targetSnapshot:h,urlAfterRedirects:s,extras:Object.assign(Object.assign({},u),{skipLocationChange:!1,replaceUrl:!1})}
1))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Oe.E}),ro(function(t){var n=t.targetSnapshot,i=t.id,o=t.extractedUrl,r=t.rawUrl,a=t.extras,s=a.skipLocationChange,c=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:o,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!c})}),(0,Le.b)(function(t){var n=new He(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,Me.U)(function(t){return Object.assign(Object.assign({},t),{guards:Hi(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return(0,Fe.zg)(function(n){var i=n.targetSnapshot,o=n.currentSnapshot,r=n.guards,a=r.canActivateChecks,s=r.canDeactivateChecks;return 0===s.length&&0===a.length?(0,ge.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,fe.D)(t).pipe((0,Fe.zg)(function(t){return function(t,e,n,i,o){var r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,ge.of)(!0);var a=r.map(function(r){var a,s=Ji(r,e,o);if(function(t){return t&&bi(t.canDeactivate)}(s))a=_n(s.canDeactivate(t,e,n,i));else{if(!bi(s))throw new Error("Invalid CanDeactivate guard");a=_n(s(t,e,n,i))}return a.pipe((0,Re.P)())});return(0,ge.of)(a).pipe(wi())}(t.component,t.route,n,e,i)}),(0,Re.P)(function(t){return!0!==t},!0))}(s,i,o,t).pipe((0,Fe.zg)(function(n){return n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,fe.D)(e).pipe((0,Ee.b)(function(e){return(0,Ce.z)(function(t,e){return null!==t&&e&&e(new $e(t)),(0,ge.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new en(t)),(0,ge.of)(!0)}(e.route,i),function(t,e,n){var i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return(0,be.P)(function(){var o=e.guards.map(function(o){var r,a=Ji(o,e.node,n);if(function(t){return t&&bi(t.canActivateChild)}(a))r=_n(a.canActivateChild(i,t));else{if(!bi(a))throw new Error("Invalid CanActivateChild guard");r=_n(a(i,t))}return r.pipe((0,Re.P)())});return(0,ge.of)(o).pipe(wi())})});return(0,ge.of)(o).pipe(wi())}(t,e.path,n),function(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,ge.of)(!0);var o=i.map(function(i){return(0,be.P)(function(){var o,r=Ji(i,e,n);if(function(t){return t&&bi(t.canActivate)}(r))o=_n(r.canActivate(e,t));else{if(!bi(r))throw new Error("Invalid CanActivate guard");o=_n(r(e,t))}return o.pipe((0,Re.P)())})});return(0,ge.of)(o).pipe(wi())}(t,e.route,n))}),(0,Re.P)(function(t){return!0!==t},!0))}(i,a,t,e):(0,ge.of)(n)}),(0,Me.U)(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),(0,Le.b)(function(t){if(Oi(t.guardsResult)){var n=ln('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}var i=new Je(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(i)}),(0,Te.h)(function(t){return!!t.guardsResult||(e.restoreHistory(t),e.cancelNavigationTransition(t,""),!1)}),ro(function(t){if(t.guards.canActivateChecks.length)return(0,ge.of)(t).pipe((0,Le.b)(function(t){var n=new We(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,xe.w)(function(t){var n=!1;return(0,ge.of)(t).pipe(function(t,e){return(0,Fe.zg)(function(n){var i=n.targetSnapshot,o=n.guards.canActivateChecks;if(!o.length)return(0,ge.of)(n);var r=0;return(0,fe.D)(o).pipe((0,Ee.b)(function(n){return function(t,e,n,i){return function(t,e,n,i){var o=Object.keys(t);if(0===o.length)return(0,ge.of)({});var r={};return(0,fe.D)(o).pipe((0,Fe.zg)(function(o){return function(t,e,n,i){var o=Ji(t,e,i);return _n(o.resolve?o.resolve(e,n):o(e,n))}(t[o],e,n,i).pipe((0,Le.b)(function(t){r[o]=t}))}),(0,Ze.h)(1),(0,Fe.zg)(function(){return Object.keys(r).length===o.length?(0,ge.of)(r):Oe.E}))}(t._resolve,t,e,i).pipe((0,Me.U)(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Kn(t,n).resolve),null}))}(n.route,i,t,e)}),(0,Le.b)(function(){return r++}),(0,Ze.h)(1),(0,Fe.zg)(function(t){return r===o.length?(0,ge.of)(n):Oe.E}))})}(e.paramsInheritanceStrategy,e.ngModule.injector),(0,Le.b)({next:function(){return n=!0},complete:function(){n||(e.restoreHistory(t),e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,Le.b)(function(t){var n=new Qe(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}
1),ro(function(t){var n=t.targetSnapshot,i=t.id,o=t.extractedUrl,r=t.rawUrl,a=t.extras,s=a.skipLocationChange,c=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:o,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!c})}),(0,Me.U)(function(t){var n=function(t,e,n){var i=oi(t,e._root,n?n._root:void 0);return new Jn(i,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),(0,Le.b)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,t),e.browserUrlTree=t.urlAfterRedirects)}),function(t,e,n){return(0,Me.U)(function(i){return new vi(e,i.targetRouterState,i.currentRouterState,n).activate(t),i})}(e.rootContexts,e.routeReuseStrategy,function(t){return e.triggerEvent(t)}),(0,Le.b)({next:function(){i=!0},complete:function(){i=!0}}),(0,Ue.x)(function(){var n;if(!i&&!o){var r="Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId);"replace"===e.canceledNavigationResolution?(e.restoreHistory(t),e.cancelNavigationTransition(t,r)):e.cancelNavigationTransition(t,r)}(null===(n=e.currentNavigation)||void 0===n?void 0:n.id)===t.id&&(e.currentNavigation=null)}),(0,Ie.K)(function(i){if(o=!0,function(t){return t&&t[cn]}(i)){var r=Oi(i.url);r||(e.navigated=!0,e.restoreHistory(t,!0));var a=new Be(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(a),r?setTimeout(function(){var n=e.urlHandlingStrategy.merge(i.url,e.rawUrlTree),o={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||yo(t.source)};e.scheduleNavigation(n,"imperative",null,o,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.restoreHistory(t,!0);var s=new Ye(t.id,e.serializeUrl(t.extractedUrl),i);n.next(s);try{t.resolve(e.errorHandler(i))}catch(a){t.reject(a)}}return Oe.E}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,n)&&setTimeout(function(){var e=n.source,i=n.state,o=n.urlTree,r={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}t.scheduleNavigation(o,e,i,r)},0),t.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){xi(t),this.config=t.map(Ai),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,i=e.queryParams,o=e.fragment,r=e.queryParamsHandling,a=e.preserveFragment,s=n||this.routerState.root,c=a?this.currentUrlTree.fragment:o,l=null;switch(r){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,n,i,o){if(0===n.length)return ci(e.root,e.root,e,i,o);var r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ui(!0,0,t);var e=0,n=!1,i=t.reduce(function(t,i,o){if("object"==typeof i&&null!=i){if(i.outlets){var r={};
1return gn(i.outlets,function(t,e){r[e]="string"==typeof t?t.split("/"):t}),[].concat(_toConsumableArray(t),[{outlets:r}])}if(i.segmentPath)return[].concat(_toConsumableArray(t),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(t),[i]):0===o?(i.split("/").forEach(function(i,o){0==o&&"."===i||(0==o&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[].concat(_toConsumableArray(t),[i])},[]);return new ui(n,e,i)}(n);if(r.toRoot())return ci(e.root,new wn([],{}),e,i,o);var a=function(t,e,n){if(t.isAbsolute)return new di(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new di(i,i===e.root,0)}var o=ai(t.commands[0])?0:1;return function(t,e,n){for(var i=t,o=e,r=n;r>o;){if(r-=o,!(i=i.parent))throw new Error("Invalid number of '../'");o=i.segments.length}return new di(i,!1,o-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+o,t.numberOfDoubleDots)}(r,e,t),s=a.processChildren?pi(a.segmentGroup,a.index,r.commands):hi(a.segmentGroup,a.index,r.commands);return ci(a.segmentGroup,s,e,i,o)}(s,this.currentUrlTree,t,l,null!=c?c:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Oi(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(e))}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}},{key:"isActive",value:function(t,e){var n;if(n=!0===e?Object.assign({},_o):!1===e?Object.assign({},mo):e,Oi(t))return yn(this.currentUrlTree,t,n);var i=this.parseUrl(t);return yn(this.currentUrlTree,i,n)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce(function(e,n){var i=t[n];return null!=i&&(e[n]=i),e},{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.currentPageId=e.targetPageId,t.events.next(new qe(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ".concat(e))})}},{key:"scheduleNavigation",value:function(t,e,n,i,o){var r,a;if(this.disposed)return Promise.resolve(!1);var s,c,l,u=this.getTransition(),d=yo(e)&&u&&!yo(u.source),h=(this.lastSuccessfulId===u.id||this.currentNavigation?u.rawUrl:u.urlAfterRedirects).toString()===t.toString();if(d&&h)return Promise.resolve(!0);o?(s=o.resolve,c=o.reject,l=o.promise):l=new Promise(function(t,e){s=t,c=e});var p,f=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),p=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(a=this.browserPageId)&&void 0!==a?a:0)+1):p=0,this.setTransition({id:f,targetPageId:p,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(function(t){return Promise.reject(t)})}},{key:"setBrowserUrl",value:function(t,e){var n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}},{key:"restoreHistory",value:function(t){var e,n,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var o=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(e=this.currentNavigation)||void 0===e?void 0:e.finalUrl)||0===o?this.currentUrlTree===(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,e){var n=new Be(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.DyG),r.LFG(kn),r.LFG(uo),r.LFG(w),r.LFG(r.zs3),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function yo(t){return"imperative"!==t}var Co=function(){var t=function(){function t(e,n,i,o,r){_classCallCheck(this,t),this.router=e,this.route=n,this.commands=[],this.onChanges=new we.xQ,null==i&&o.setAttribute(r.nativeElement,"tabindex","0")}return _createClass(t,[{key:"ngOnChanges",value:function(t){this.onChanges.next(this)}},{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"onClick",value:function(){var t={skipLocationChange:Oo(this.skipLocationChange),replaceUrl:Oo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Oo(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(vo),r.Y36(Qn),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t}(),bo=function(){var t=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this.router=e,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new we.xQ,this.subscription=e.events.subscribe(function(t){t instanceof qe&&o.updateTargetUrlAndHref()})}return _createClass(t,[{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,i,o){if(0!==t||e||n||i||o||"string"==typeof this.target&&"_self"!=this.target)return!0;var r={skipLocationChange:Oo(this.skipLocationChange),replaceUrl:Oo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Oo(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(vo),r.Y36(Qn),r.Y36(y))},t.\u0275dir=r.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(r.Ikx("href",e.href,r.LSH),r.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t}();function Oo(t){return""===t||!!t}var Po=function(){var t=function(){function t(e,n,i,o,a){_classCallCheck(this,t),this.parentContexts=e,this.location=n,this.resolver=i,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.name=o||rn,e.onChildOutletCreated(this.name,this)}return _createClass(t,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{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:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,o=new wo(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(uo),r.Y36(r.s_b),r.Y36(r._Vd),r.$8M("name"),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),wo=function(){function t(e,n,i){_classCallCheck(this,t),this.route=e,this.childContexts=n,this.parent=i}return _createClass(t,[{key:"get",value:function(t,e){return t===Qn?this.route:t===uo?this.childContexts:this.parent.get(t,e)}}]),t}(),Mo=_createClass(function t(){_classCallCheck(this,t)}),xo=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"preload",value:function(t,e){return(0,ge.of)(null)}}]),t}(),ko=function(){var t=function(){function t(e,n,i,o,r){_classCallCheck(this,t),this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=new co(n,i,function(t){return e.triggerEvent(new Ke(t))},function(t){return e.triggerEvent(new Xe(t))})}return _createClass(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe((0,Te.h)(function(t){return t instanceof qe}),(0,Ee.b)(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(r.h0i);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var n,i=[],o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){var r=n.value;if(r.loadChildren&&!r.canLoad&&r._loadedConfig){var a=r._loadedConfig;i.push(this.processRoutes(a.module,a.routes))}else r.loadChildren&&!r.canLoad?i.push(this.preloadConfig(t,r)):r.children&&i.push(this.processRoutes(t,r.children))}}catch(s){o.e(s)}finally{o.f()}return(0,fe.D)(i).pipe((0,Ve.J)(),(0,Me.U)(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return(e._loadedConfig?(0,ge.of)(e._loadedConfig):n.loader.load(t.injector,e)).pipe((0,Fe.zg)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(vo),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(r.zs3),r.LFG(Mo))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),So=function(){var t=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,t),this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anch
1orScrolling||"disabled"}return _createClass(t,[{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 t=this;return this.router.events.subscribe(function(e){e instanceof ze?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof qe&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof on&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new on(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(vo),r.LFG(Et),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Ao=new r.OlP("ROUTER_CONFIGURATION"),To=new r.OlP("ROUTER_FORROOT_GUARD"),Io=[w,{provide:kn,useClass:Sn},{provide:vo,useFactory:function(t,e,n,i,o,r,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 vo(null,t,e,n,i,o,r,pn(a));return c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(s,u),s.enableTracing&&u.events.subscribe(function(t){var e,n;null===(e=console.group)||void 0===e||e.call(console,"Router Event: ".concat(t.constructor.name)),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[kn,uo,w,r.zs3,r.v3s,r.Sil,so,Ao,[function(){return _createClass(function t(){_classCallCheck(this,t)})}(),new r.FiY],[function(){return _createClass(function t(){_classCallCheck(this,t)})}(),new r.FiY]]},uo,{provide:Qn,useFactory:function(t){return t.routerState.root},deps:[vo]},{provide:r.v3s,useClass:r.EAV},ko,xo,function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"preload",value:function(t,e){return e().pipe((0,Ie.K)(function(){return(0,ge.of)(null)}))}}]),t}(),{provide:Ao,useValue:{enableTracing:!1}}];function Eo(){return new r.PXZ("Router",vo)}var Do=function(){var t=function(){function t(e,n){_classCallCheck(this,t)}return _createClass(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[Io,Zo(e),{provide:To,useFactory:Lo,deps:[[vo,new r.FiY,new r.tp0]]},{provide:Ao,useValue:n||{}},{provide:y,useFactory:Fo,deps:[u,[new r.tBr(b),new r.FiY],Ao]},{provide:So,useFactory:Ro,deps:[vo,Et,Ao]},{provide:Mo,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:xo},{provide:r.PXZ,multi:!0,useFactory:Eo},[No,{provide:r.ip1,multi:!0,useFactory:Uo,deps:[No]},{provide:jo,useFactory:Vo,deps:[No]},{provide:r.tb,multi:!0,useExisting:jo}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Zo(e)]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(To,8),r.LFG(vo,8))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}();function Ro(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new So(t,e,n)}function Fo(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new P(t,e):new O(t,e)}function Lo(t){return"guarded"}function Zo(t){return[{provide:r.deG,multi:!0,useValue:t},{provide:so,multi:!0,useValue:t}]}var No=function(){var t=function(){function t(e){_classCallCheck(this,t),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new we.xQ}return _createClass(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(h,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var e=null,n=new Promise(function(t){return e=t}),i=t.injector.get(vo),o=t.injector.get(Ao);return"disabled"===o.initialNavigation?(i.setUpLocationChangeListener(),e(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(i.hooks.afterPreactivation=function(){return t.initNavigation?(0,ge.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Ao),n=this.injector.get(ko),i=this.injector.get(So),o=this.injector.get(vo),a=this.injector.get(r.z2F);t===a.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&o.initialNavigation(),n.setUpPreloading(),i.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function Uo(t){return t.appInitializer.bind(t)}function Vo(t){return t.bootstrapListener.bind(t)}var jo=new r.OlP("Router Initializer"),zo=n(40205);function qo(t,e,n,i){var o,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,n,a):o(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function Bo(t,e){return function(n,i){e(n,i,t)}}
1function Yo(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;var Go=_createClass(function t(){_classCallCheck(this,t)}),Ho=_createClass(function t(){_classCallCheck(this,t)}),Jo=function(){function t(e){var n=this;_classCallCheck(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var i=t.slice(0,e),o=i.toLowerCase(),r=t.slice(e+1).trim();n.maybeSetNormalizedName(i,o),n.headers.has(o)?n.headers.get(o).push(r):n.headers.set(o,[r])}})}:function(){n.headers=new Map,Object.keys(e).forEach(function(t){var i=e[t],o=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(o,i),n.maybeSetNormalizedName(t,o))})}:this.headers=new Map}return _createClass(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(e,i);break;case"d":var o=t.value;if(o){var r=this.headers.get(e);if(!r)return;0===(r=r.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,r)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})}}]),t}(),Wo=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"encodeKey",value:function(t){return Xo(t)}},{key:"encodeValue",value:function(t){return Xo(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}(),Qo=/%(\d[a-f0-9])/gi,Ko={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Xo(t){return encodeURIComponent(t).replace(Qo,function(t,e){var n;return null!==(n=Ko[e])&&void 0!==n?n:t})}function $o(t){return"".concat(t)}var tr=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,t),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Wo,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(t){var i=t.indexOf("="),o=_slicedToArray(-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],2),r=o[0],a=o[1],s=n.get(r)||[];s.push(a),n.set(r,s)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(t){var i=n.fromObject[t];e.map.set(t,Array.isArray(i)?i:[i])})):this.map=null}return _createClass(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.
1keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(n){var i=t[n];Array.isArray(i)?i.forEach(function(t){e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push($o(e.value)),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],o=i.indexOf($o(e.value));-1!==o&&i.splice(o,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),t}(),er=function(){function t(){_classCallCheck(this,t),this.map=new Map}return _createClass(t,[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),t}();function nr(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function ir(t){return"undefined"!=typeof Blob&&t instanceof Blob}function or(t){return"undefined"!=typeof FormData&&t instanceof FormData}var rr=function(){function t(e,n,i,o){var r;if(_classCallCheck(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Jo),this.context||(this.context=new er),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 tr,this.urlWithParams=n}return _createClass(t,[{key:"serializeBody",value:function(){return null===this.body?null:nr(this.body)||ir(this.body)||or(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof tr?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||or(this.body)?null:ir(this.body)?this.body.type||null:nr(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof tr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,o=n.url||this.url,r=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,c=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,l=n.headers||this.headers,u=n.params||this.params,d=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},l)),n.setParams&&(u=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},u)),new t(i,o,a,{params:u,headers:l,context:d,reportProgress:c,responseType:r,withCredentials:s})}}]),t}(),ar=((ar=ar||{}
1)[ar.Sent=0]="Sent",ar[ar.UploadProgress=1]="UploadProgress",ar[ar.ResponseHeader=2]="ResponseHeader",ar[ar.DownloadProgress=3]="DownloadProgress",ar[ar.Response=4]="Response",ar[ar.User=5]="User",ar),sr=_createClass(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,t),this.headers=e.headers||new Jo,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}),cr=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,e),(t=_callSuper(this,e,[n])).type=ar.ResponseHeader,t}return _inherits(e,t),_createClass(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),e}(sr),lr=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,e),(t=_callSuper(this,e,[n])).type=ar.Response,t.body=void 0!==n.body?n.body:null,t}return _inherits(e,t),_createClass(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),e}(sr),ur=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t,0,"Unknown Error"])).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),n.error=t.error||null,n}return _inherits(e,t),_createClass(e)}(sr);function dr(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var hr=function(){var t=function(){function t(e){_classCallCheck(this,t),this.handler=e}return _createClass(t,[{key:"request",value:function(t,e){var n,i,o,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof rr?n=t:(i=a.headers instanceof Jo?a.headers:new Jo(a.headers),a.params&&(o=a.params instanceof tr?a.params:new tr({fromObject:a.params})),n=new rr(t,e,void 0!==a.body?a.body:null,{headers:i,context:a.context,params:o,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials}));var s=(0,ge.of)(n).pipe((0,Ee.b)(function(t){return r.handler.handle(t)}));if(t instanceof rr||"events"===a.observe)return s;var c=s.pipe((0,Te.h)(function(t){return t instanceof lr}));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return c.pipe((0,Me.U)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe((0,Me.U)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe((0,Me.U)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return c.pipe((0,Me.U)(function(t){return t.body}))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new tr).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,dr(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,dr(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,dr(n,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Go))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),pr=function(){function t(e,n){_classCallCheck(this,t),this.next=e,this.interceptor=n}return _createClass(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),fr=new r.OlP("HTTP_INTERCEPTORS"),gr=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),_r=/^\)\]\}',?\n/,mr=function(){var t=function(){function t(e){_classCallCheck(this,t),this.xhrFactory=e}return _createClass(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ve.y(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEac
1h(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var o=t.detectContentTypeHeader();null!==o&&i.setRequestHeader("Content-Type",o)}if(t.responseType){var r=t.responseType.toLowerCase();i.responseType="json"!==r?r:"text"}var a=t.serializeBody(),s=null,c=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",o=new Jo(i.getAllResponseHeaders()),r=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new cr({headers:o,status:e,statusText:n,url:r})},l=function(){var e=c(),o=e.headers,r=e.status,a=e.statusText,s=e.url,l=null;204!==r&&(l=void 0===i.response?i.responseText:i.response),0===r&&(r=l?200:0);var u=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){var d=l;l=l.replace(_r,"");try{l=""!==l?JSON.parse(l):null}catch(h){l=d,u&&(u=!1,l={error:h,text:l})}}u?(n.next(new lr({body:l,headers:o,status:r,statusText:a,url:s||void 0})),n.complete()):n.error(new ur({error:l,headers:o,status:r,statusText:a,url:s||void 0}))},u=function(t){var e=c().url,o=new ur({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(o)},d=!1,h=function(e){d||(n.next(c()),d=!0);var o={type:ar.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===t.responseType&&!!i.responseText&&(o.partialText=i.responseText),n.next(o)},p=function(t){var e={type:ar.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",l),i.addEventListener("error",u),i.addEventListener("timeout",u),i.addEventListener("abort",u),t.reportProgress&&(i.addEventListener("progress",h),null!==a&&i.upload&&i.upload.addEventListener("progress",p)),i.send(a),n.next({type:ar.Sent}),function(){i.removeEventListener("error",u),i.removeEventListener("abort",u),i.removeEventListener("load",l),i.removeEventListener("timeout",u),t.reportProgress&&(i.removeEventListener("progress",h),null!==a&&i.upload&&i.upload.removeEventListener("progress",p)),i.readyState!==i.DONE&&i.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Lt))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),vr=new r.OlP("XSRF_COOKIE_NAME"),yr=new r.OlP("XSRF_HEADER_NAME"),Cr=_createClass(function t(){_classCallCheck(this,t)}),br=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=dt(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(r.Lbi),r.LFG(vr))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Or=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.tokenService=e,this.headerName=n}return _createClass(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Cr),r.LFG(yr))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Pr=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.backend=e,this.injector=n,this.chain=null}return _createClass(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(fr,[]);this.chain=e.reduceRight(function(t,e){return new pr(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Ho),r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),wr=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:Or,useClass:gr}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:vr,useValue:e.cookieName}:[],e.headerName?{provide:yr,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[Or,{provide:fr,useExisting:Or,multi:!0},{provide:Cr,useClass:br},{provide:vr,useValue:"XSRF-TOKEN"},{provide:yr,useValue:"X-XSRF-TOKEN"}
1]}),t}(),Mr=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[hr,{provide:Go,useClass:Pr},mr,{provide:Ho,useExisting:mr}],imports:[[wr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}(),xr=function(t,e){return(xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function kr(t,e){function n(){this.constructor=t}xr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Sr=function(){return Sr=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Sr.apply(this,arguments)};function Ar(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})}function Tr(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(s){r=[6,s],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}function Ir(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}var Er=function(){return(t=Er||(Er={})).Cognito="COGNITO",t.Google="Google",t.Facebook="Facebook",t.Amazon="LoginWithAmazon",t.Apple="SignInWithApple",Er;var t}();function Dr(t){return t&&!!["provider"].find(function(e){return t.hasOwnProperty(e)})}function Rr(t){return void 0!==t.redirectSignIn}var Fr,Lr=function(){return(t=Lr||(Lr={})).NoConfig="noConfig",t.MissingAuthConfig="missingAuthConfig",t.EmptyUsername="emptyUsername",t.InvalidUsername="invalidUsername",t.EmptyPassword="emptyPassword",t.EmptyCode="emptyCode",t.SignUpError="signUpError",t.NoMFA="noMFA",t.InvalidMFA="invalidMFA",t.EmptyChallengeResponse="emptyChallengeResponse",t.NoUserSession="noUserSession",t.Default="default",t.DeviceConfig="deviceConfig",t.NetworkError="networkError",t.AutoSignInError="autoSignInError",Lr;var t}(),Zr=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Nr=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},Ur=function(t,e,n){if(n||2===arguments.length)for(var i,o=0,r=e.length;o<r;o++)(i||!(o in e))&&(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))},Vr={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5},jr=function(){return(t=jr||(jr={})).DEBUG="DEBUG",t.ERROR="ERROR",t.INFO="INFO",t.WARN="WARN",t.VERBOSE="VERBOSE",jr;var t}(),zr=function(){function t(t,e){void 0===e&&(e=jr.WARN),this.name=t,this.level=e,this._pluggables=[]}return t.prototype._padding=function(t){return t<10?"0"+t:""+t},t.prototype._ts=function(){var t=new Date;return[this._padding(t.getMinutes()),this._padding(t.getSeconds())].join(":")+"."+t.getMilliseconds()},t.prototype.configure=function(t){return t?(this._config=t,this._config):this._config},t.prototype._log=function(e){for(var n,i,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];var a=this.level;t.LOG_LEVEL&&(a=t.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(a=window.LOG_LEVEL);var s=Vr[a],c=Vr[e];if(c>=s){var l=console.log.bind(console);e===jr.ERROR&&console.error&&(l=console.error.bind(console)),e===jr.WARN&&console.warn&&(l=console.warn.bind(console));var u="[".concat(e,"] ").concat(this._ts()," ").concat(this.name),d="";if(1===o.length&&"string"==typeof o[0])l(d="".concat(u," - ").concat(o[0]));else if(1===o.length)d="".concat(u," ").concat(o[0]),l(u,o[0]);else if("string"==typeof o[0]){var h=o.slice(1);1===h.length&&(h=h[0]),d="".concat(u," - ").concat(o[0]," ").concat(h),l("".concat(u," - ").concat(o[0]),h)}else d="".concat(u," ").concat(o),l(u,o);try{for(var p=Zr(this._pluggables),f=p.next();!f.done;f=p.next()){var g=f.value,_={message:d,timestamp:Date.now()};g.pushLogs([_])}}catch(m){n={error:m}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._log.apply(this,Ur([jr.INFO],Nr(t),!1))},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._log.apply(this,Ur([jr.INFO],Nr(t),!1))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._log.apply(this,Ur([jr.WARN],Nr(t),!1))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._log.apply(this,Ur([jr.ERROR],Nr(t),!1))},t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._log.apply(this,Ur([jr.DEBUG],Nr(t),!1))},t.prototype.verbose=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._log.apply(this,Ur([jr.VERBOSE],Nr(t),!1))},t.prototype.addPluggable=function(t){t&&"Logging"===t.getCategoryName()&&(this._pluggables.push(t),t.configure(this._config))},t.prototype.listPluggables=function(){return this._pluggables},t.LOG_LEVEL=null,t}(),qr=function(){return qr=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},qr.apply(this,arguments)},Br=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},Yr=function(t,e,n){if(n||2===arguments.length)for(var i,o=0,r=e.length;o<r;o++)(i||!(o in e))&&(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))},Gr=new zr("Hub"),Hr="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Jr=function(){function t(t){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=t}return t.prototype._remove=function(t,e){if(t instanceof RegExp){var n=this.patterns.find(function(e){return e.pattern.source===t.source});if(!n)return void Gr.warn("No listeners for ".concat(t));this.patterns=Yr([],Br(this.patterns.filter(function(t){return t!==n})),!1)}else{var i=this.listeners[t];if(!i)return void Gr.warn("No listeners for ".concat(t));this.listeners[t]=Yr([],Br(i.filter(function(t){return t.callback!==e})),!1)}},t.prototype.remove=function(t,e){this._remove(t,e)},t.prototype.dispatch=function(t,e,n,i){void 0===n&&(n=""),this.protectedChannels.indexOf(t)>-1&&(i===Hr||Gr.warn("WARNING: ".concat(t," is protected and dispatching on it can have unintended consequences")));var o={channel:t,payload:qr({},e),source:n,patternInfo:[]};try{this._toListeners(o)}catch(r){Gr.error(r)}},t.prototype.listen=function(t,e,n){var i,o=this;if(void 0===n&&(n="noname"),function(t){return void 0!==t.onHubCapsule}(e))Gr.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),i=e.onHubCapsule.bind(e);else{if("function"!=typeof e)throw new Error("No callback supplied to Hub");i=e}if(t instanceof RegExp)this.patterns.push({pattern:t,callback:i});else{var r=this.listeners[t];r||(this.listeners[t]=r=[]),r.push({name:n,callback:i})}return function(){o._remove(t,i)}},t.prototype._toListeners=function(t){var e=t.channel,n=t.payload,i=this.listeners[e];
1if(i&&i.forEach(function(i){Gr.debug("Dispatching to ".concat(e," with "),n);try{i.callback(t)}catch(o){Gr.error(o)}}),this.patterns.length>0){if(!n.message)return void Gr.warn("Cannot perform pattern matching without a message key");var o=n.message;this.patterns.forEach(function(e){var n=o.match(e.pattern);if(n){var i=Br(n).slice(1),r=qr(qr({},t),{patternInfo:i});try{e.callback(r)}catch(a){Gr.error(a)}}})}},t}(),Wr=new Jr("__default__"),Qr={},Kr=function(){function t(){}return t.setItem=function(t,e){return Qr[t]=e,Qr[t]},t.getItem=function(t){return Object.prototype.hasOwnProperty.call(Qr,t)?Qr[t]:void 0},t.removeItem=function(t){return delete Qr[t]},t.clear=function(){return Qr={}},t}(),Xr=function(){function t(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(gM){this.storageWindow=Kr}}return t.prototype.getStorage=function(){return this.storageWindow},t}(),$r=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}},ta=(Fr=function(t,e){return(Fr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Fr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ea=function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})},na=function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},ia=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},oa=function(t,e,n){if(n||2===arguments.length)for(var i,o=0,r=e.length;o<r;o++)(i||!(o in e))&&(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))},ra=new zr("Util"),aa=function(t){function e(e){var n=t.call(this,e)||this;return n.nonRetryable=!0,n}return ta(e,t),e}(Error);function sa(t){return void 0===t&&(t=3e5),function(e){var n=100*Math.pow(2,e)+100*Math.random();return!(n>t)&&n}}var ca,la=new zr("CognitoCredentials"),ua=new Promise(function(t,e){return $r().isBrowser?window.gapi&&window.gapi.auth2&&window.gapi.auth2?(la.debug("google api already loaded"),t()):void setTimeout(function(){return t()},2e3):(la.debug("not in the browser, directly resolved"),t())}),da=function(){function t(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return t.prototype.refreshGoogleToken=function(){return function(t,e,n,i){return new(n||(n=Prom
1ise))(function(e,o){function r(t){try{s(i.next(t))}catch(e){o(e)}}function a(t){try{s(i.throw(t))}catch(e){o(e)}}function s(t){t.done?e(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(r,a)}s((i=i.apply(t,[])).next())})}(this,0,void 0,function(){return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(t){switch(t.label){case 0:return this.initialized?[3,2]:(la.debug("need to wait for the Google SDK loaded"),[4,ua]);case 1:t.sent(),this.initialized=!0,la.debug("finish waiting"),t.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}})})},t.prototype._refreshGoogleTokenImpl=function(){var t=null;return $r().isBrowser&&(t=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),t?new Promise(function(e,n){t.getAuthInstance().then(function(t){t||(la.debug("google Auth undefined"),n(new aa("google Auth undefined")));var i=t.currentUser.get();i.isSignedIn()?(la.debug("refreshing the google access token"),i.reloadAuthResponse().then(function(t){e({token:t.id_token,expires_at:t.expires_at})}).catch(function(t){n(t&&"network_error"===t.error?"Network error reloading google auth response":new aa("Failed to reload google auth response"))})):n(new aa("User is not signed in with Google"))}).catch(function(t){la.debug("Failed to refresh google token",t),n(new aa("Failed to refresh google token"))})}):(la.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},t}(),ha=new zr("CognitoCredentials"),pa=new Promise(function(t,e){return $r().isBrowser?window.FB?(ha.debug("FB SDK already loaded"),t()):void setTimeout(function(){return t()},2e3):(ha.debug("not in the browser, directly resolved"),t())}),fa=function(){function t(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return t.prototype.refreshFacebookToken=function(){return function(t,e,n,i){return new(n||(n=Promise))(function(e,o){function r(t){try{s(i.next(t))}catch(e){o(e)}}function a(t){try{s(i.throw(t))}catch(e){o(e)}}function s(t){t.done?e(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(r,a)}s((i=i.apply(t,[])).next())})}(this,0,void 0,function(){return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(t){switch(t.label){case 0:return this.initialized?[3,2]:(ha.debug("need to wait for the Facebook SDK loaded"),[4,pa]);case 1:t.sent(),this.initialized=!0,ha.debug("finish waiting"),t.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}})})},t.prototype._refreshFacebookTokenImpl=function(){var t=null;if($r().isBrowser&&(t=window.FB),!t){var e="no fb sdk available";return ha.debug(e),Promise.reject(new aa(e))}return new Promise(function(e,n){t.getLoginStatus(function(t){if(t&&t.authResponse){var i=t.authResponse,o=i.accessToken,r=1e3*i.expiresIn+(new Date).getTime();o||(ha.debug(a="the jwtToken is undefined"),n(new aa(a))),e({token:o,expires_at:r})}else{var a;ha.debug(a="no response from facebook when refreshing the jwt token"),n(new aa(a))}},{scope:"public_profile,email"})})},t}(),ga=new da,_a=new fa,ma=new zr("Amplify"),va=function(){function t(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Geo=null,this.Notifications=null,this.Logger=zr,this.ServiceWorker=null}return t.prototype.register=function(t){ma.debug("component registered in amplify",t),this._components.push(t),"function"==typeof t.getModuleName?(this._modules[t.getModuleName()]=t,this[t.getModuleName()]=t):ma.debug("no getModuleName method for component",t),t.configure(this._config)},t.prototype.configure=function(t){var e=this;return t?(this._config=Object.assign(this._config,t),ma.debug("amplify config",this._config),Object.entries(this._modules).forEac
1h(function(t){var n=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}(t,2),i=n[1];Object.keys(i).forEach(function(t){e._modules[t]&&(i[t]=e._modules[t])})}),this._components.map(function(t){t.configure(e._config)}),this._config):this._config},t.prototype.addPluggable=function(t){t&&t.getCategory&&"function"==typeof t.getCategory&&this._components.map(function(e){e.addPluggable&&"function"==typeof e.addPluggable&&e.addPluggable(t)})},t}(),ya=new va,Ca={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},ba={partitions:[Ca,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},Oa=function(t){var e,n,i=ba.partitions;try{for(var o=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),r=o.next();!r.done;r=o.next()){var a=r.value,s=a.regions,c=a.outputs,l=new RegExp(a.regionRegex);if(s.includes(t)||l.test(t))return c.dnsSuffix}}catch(u){e={error:u}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return Ca.outputs.dnsSuffix},Pa=function(){return Pa=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Pa.apply(this,arguments)},wa=function(t,e){if(null==e?void 0:e.aborted)return Promise.resolve();var n,i,o=new Promise(function(e){i=e,n=setTimeout(e,t)});return null==e||e.addEventListener("abort",function t(o){clearTimeout(n),null==e||e.removeEventListener("abort",t),i()}),o},Ma=function(t,e){var n;"[object Object]"===Object.prototype.toString.call(t)&&(t.$metadata=Pa(Pa({},null!==(n=t.$metadata)&&void 0!==n?n:{}),{attempts:e}))},xa=function(t,e){return function(n,i){for(var o={},r=function(e){return t(e,i)},a=e.length-1;a>=0;a--)r=(0,e[a])(i)(r,o);return r(n)}},ka=(n(18143),function(t){var e;return function(){return e||(e=t()),e}}),Sa=function(){return Sa=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Sa.apply(this,arguments)},Aa=function(t){return!["HEAD","GET","DELETE"].includes(t.toUpperCase())},Ta=xa(function(t,e){var n=t.url,i=t.method,o=t.headers,r=t.body,a=e.abortSignal;return function(t,e,n,i){return new(n||(n=Promise))(function(t,e){function o(t){try{a(i.next(t))}catch(n){e(n)}}function r(t){try{a(i.throw(t))}catch(n){e(n)}}function a(e){e.done?t(e.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(e.value).then(o,r)}a((i=i.apply(undefined,[])).next())})}(0,0,void 0,function(){var t,e,s,c,l,u,d;return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,fetch(n,{method:i,headers:o,body:Aa(i)?r:void 0,signal:a})];case 1:return t=h.sent(),[3,3];case 2:throw(e=h.sent())instanceof TypeError?new Error("Network error"):e;case 3:return s={},null===(u=t.headers)||void 0===u||u.forEach(function(t,e){s[e.toLowerCase()]=t}),c={statusCode:t.status,headers:s,body:null},l=Object.assign(null!==(d=t.body)&&void 0!==d?d:{},{text:ka(function(){return t.text()}),blob:ka(function(){return t.blob()}),json:ka(function(){return t.json()})}),[2,Sa(Sa({},c),{body:l})]}})})},[function(t){var e=t.userAgentHeader,n=void 0===e?"x-amz-user-agent":e,i=t.userAgentValue,o=void 0===i?"":i;return function(t){return function(e){return function(t,e,n,i){return new(n||(n=Prom
1ise))(function(e,o){function r(t){try{s(i.next(t))}catch(e){o(e)}}function a(t){try{s(i.throw(t))}catch(e){o(e)}}function s(t){t.done?e(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(r,a)}s((i=i.apply(t,[])).next())})}(this,0,void 0,function(){var i;return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(r){switch(r.label){case 0:return 0!==o.trim().length?[3,2]:[4,t(e)];case 1:case 3:return[2,r.sent()];case 2:return i=n.toLowerCase(),e.headers[i]=e.headers[i]?"".concat(e.headers[i]," ").concat(o):o,[4,t(e)]}})})}}},function(t){var e=t.maxAttempts,n=void 0===e?3:e,i=t.retryDecider,o=t.computeDelay,r=t.abortSignal;if(n<1)throw new Error("maxAttempts must be greater than 0");return function(t,e){return function(a){var s;return function(t,e,n,i){return new(n||(n=Promise))(function(e,o){function r(t){try{s(i.next(t))}catch(e){o(e)}}function a(t){try{s(i.throw(t))}catch(e){o(e)}}function s(t){t.done?e(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(r,a)}s((i=i.apply(t,[])).next())})}(this,0,void 0,function(){var c,l,u,d,h,p;return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(f){switch(f.label){case 0:l=null!==(s=e.attemptsCount)&&void 0!==s?s:0,d=function(){if(u)return Ma(u,l),u;throw Ma(c,l),c},f.label=1;case 1:if((null==r?void 0:r.aborted)||!(l<n))return[3,11];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,t(a)];case 3:return u=f.sent(),c=void 0,[3,5];case 4:return h=f.sent(),c=h,u=void 0,[3,5];case 5:return e.attemptsCount=l=e.attemptsCount>l?e.attemptsCount:l+1,[4,i(u,c)];case 6:return f.sent()?!(null==r?void 0:r.aborted)&&l<n?(p=o(l),[4,wa(p,r)]):[3,8]:[3,9];case 7:f.sent(),f.label=8;case 8:return[3,1];case 9:return[2,d()];case 10:return[3,1];case 11:if(null==r?void 0:r.aborted)throw new Error("Request aborted.");return[2,d()]}})})}}}]),Ia=function(){return Ia=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Ia.apply(this,arguments)},Ea=function(t){var e,n,i=t.headers,o=t.statusCode;return Ia(Ia({},Da(t)?t.$metadata:{}),{httpStatusCode:o,requestId:null!==(n=null!==(e=i["x-amzn-requestid"])&&void 0!==e?e:i["x-amzn-request-id"])&&void 0!==n?n:i["x-amz-request-id"],extendedRequestId:i["x-amz-id-2"],cfId:i["x-amz-cf-id"]})},Da=function(t){return"object"==typeof(null==t?void 0:t.$metadata)}
1,Ra=function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})},Fa=function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},La=function(t){return Ra(void 0,void 0,void 0,function(){var e,n,i,o,r,a,s,c,l,u;return Fa(this,function(d){switch(d.label){case 0:return!t||t.statusCode<300?[2]:[4,Za(t)];case 1:return e=d.sent(),n=function(t){var e=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}(t.toString().split(/[\,\:]+/),1),n=e[0];return n.includes("#")?n.split("#")[1]:n},i=n(null!==(c=null!==(s=null!==(a=t.headers["x-amzn-errortype"])&&void 0!==a?a:e.code)&&void 0!==s?s:e.__type)&&void 0!==c?c:"UnknownError"),o=null!==(u=null!==(l=e.message)&&void 0!==l?l:e.Message)&&void 0!==u?u:"Unknown error",r=new Error(o),[2,Object.assign(r,{name:i,$metadata:Ea(t)})]}})})},Za=function(t){return Ra(void 0,void 0,void 0,function(){var e;return Fa(this,function(n){switch(n.label){case 0:if(!t.body)throw new Error("Missing response payload");return[4,t.body.json()];case 1:return e=n.sent(),[2,Object.assign(e,{$metadata:Ea(t)})]}})})},Na=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],Ua=function(t){return Na.includes(t)},Va=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],ja=["TimeoutError","RequestTimeout","RequestTimeoutException"],za=function(t,e){return 429===t||Va.includes(e)},qa=function(t){return"Network error"===(null==t?void 0:t.name)},Ba=function(t,e){return[500,502,503,504].includes(t)||ja.includes(e)},Ya=(function(t){t.WebUnknown="0",t.React="1",t.NextJs="2",t.Angular="3",t.VueJs="4",t.Nuxt="5",t.Svelte="6",t.ServerSideUnknown="100",t.ReactSSR="101",t.NextJsSSR="102",t.AngularSSR="103",t.VueJsSSR="104",t.NuxtSSR="105",t.SvelteSSR="106",t.ReactNative="201",t.Expo="202"}(Ya||(Ya={})),Ya),Ga=(function(t){t.API="api",t.Auth="auth",t.Analytics="analytics",t.DataStore="datastore",t.Geo="geo",t.InAppMessaging="inappmessaging",t.Interactions="interactions",t.Predictions="predictions",t.PubSub="pubsub",t.PushNotification="pushnotification",t.Storage="storage"}(Ga||(Ga={})),Ga),Ha=(function(t){t.FederatedSignIn="30"}(Ha||(Ha={})),Ha),Ja=function(){return"undefined"!=typeof global},Wa=function(){return"undefined"!=typeof window},Qa=function(){return"undefined"!=typeof document},Ka=function(){return"undefined"!=typeof process}
1,Xa=function(t,e){return!!Object.keys(t).find(function(t){return t.startsWith(e)})},$a=[{platform:Ya.Expo,detectionMethod:function(){return Ja()&&void 0!==global.expo}},{platform:Ya.ReactNative,detectionMethod:function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},{platform:Ya.NextJs,detectionMethod:function(){return Wa()&&window.next&&"object"==typeof window.next}},{platform:Ya.Nuxt,detectionMethod:function(){return Wa()&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:Ya.Angular,detectionMethod:function(){var t=Boolean(Qa()&&document.querySelector("[ng-version]")),e=Boolean(Wa()&&void 0!==window.ng);return t||e}},{platform:Ya.React,detectionMethod:function(){var t=function(t){return t.startsWith("_react")||t.startsWith("__react")};return Qa()&&Array.from(document.querySelectorAll("[id]")).some(function(e){return Object.keys(e).find(t)})}},{platform:Ya.VueJs,detectionMethod:function(){return Wa()&&Xa(window,"__VUE")}},{platform:Ya.Svelte,detectionMethod:function(){return Wa()&&Xa(window,"__SVELTE")}},{platform:Ya.WebUnknown,detectionMethod:function(){return Wa()}},{platform:Ya.NextJsSSR,detectionMethod:function(){return Ja()&&(Xa(global,"__next")||Xa(global,"__NEXT"))}},{platform:Ya.NuxtSSR,detectionMethod:function(){return Ja()&&void 0!==global.__NUXT_PATHS__}},{platform:Ya.ReactSSR,detectionMethod:function(){return Ka()&&void 0!==process.env&&!!Object.keys(process.env).find(function(t){return t.includes("react")})}},{platform:Ya.VueJsSSR,detectionMethod:function(){return Ja()&&Xa(global,"__VUE")}},{platform:Ya.AngularSSR,detectionMethod:function(){var t;return Ka()&&"object"==typeof process.env&&(null===(t=process.env.npm_lifecycle_script)||void 0===t?void 0:t.startsWith("ng "))||!1}},{platform:Ya.SvelteSSR,detectionMethod:function(){return Ka()&&void 0!==process.env&&!!Object.keys(process.env).find(function(t){return t.includes("svelte")})}}],ts=[],es=!1,ns=function(){if(!ca){if(ca=function(){var t;return(null===(t=$a.find(function(t){return t.detectionMethod()}))||void 0===t?void 0:t.platform)||Ya.ServerSideUnknown}(),es)for(;ts.length;)ts.pop()();else ts.forEach(function(t){return t()});os(Ya.ServerSideUnknown,10),os(Ya.WebUnknown,10)}return ca},is=function(t){es||ts.push(t)};function os(t,e){ca===t&&!es&&setTimeout(function(){ca=void 0,es=!0,setTimeout(ns,1e3)},e)}var rs="aws-amplify",as=function(){function t(){this.userAgent="".concat(rs,"/").concat("5.3.15")}return Object.defineProperty(t.prototype,"framework",{get:function(){return ns()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReactNative",{get:function(){return this.framework===Ya.ReactNative||this.framework===Ya.Expo},enumerable:!1,configurable:!0}),t.prototype.observeFrameworkChanges=function(t){is(t)},t}(),ss=new as,cs=function(t){var e=function(t){var e=void 0===t?{}:t,n=e.category,i=[[rs,"5.3.15"]];return n&&i.push([n,e.action]),i.push(["framework",ns()]),i}(t),n=e.map(function(t){var e=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}(t,2),n=e[1];return"".concat(e[0],"/").concat(n)}).join(" ");return n},ls=xa(Ta,[function(){return function(t,e){return function(e){return function(t,e,n,i){return new(n||(n=Promise))(function(e,o){function r(t){try{s(i.next(t))}catch(e){o(e)}}function a(t){try{s(i.throw(t))}catch(e){o(e)}}function s(t){t.done?e(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(r,a)}s((i=i.apply(t,[])).next())})}(this,0,void 0,function(){return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(n){return e.headers["cache-control"]="no-store",[2,t(e)]})})}}}]),us={service:"cognito-identity",endpointResolver:function(t){var e=t.region;
1return{url:new URL("https://cognito-identity.".concat(e,".").concat(Oa(e)))}},retryDecider:function(t){return function(e,n){return function(t,e,n,i){return new(n||(n=Promise))(function(t,e){function o(t){try{a(i.next(t))}catch(n){e(n)}}function r(t){try{a(i.throw(t))}catch(n){e(n)}}function a(e){e.done?t(e.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(e.value).then(o,r)}a((i=i.apply(undefined,[])).next())})}(0,0,void 0,function(){var i,o,r,a;return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(s){switch(s.label){case 0:return null==n?[3,1]:(o=n,[3,3]);case 1:return[4,t(e)];case 2:o=s.sent(),s.label=3;case 3:return i=(null!==(a=o)&&void 0!==a?a:{}).name,r=null==e?void 0:e.statusCode,[2,qa(n)||za(r,i)||Ua(i)||Ba(r,i)]}})})}}(La),computeDelay:function(t){var e=sa(3e5)(t);return!1===e?3e5:e},userAgentValue:cs()};is(function(){us.userAgentValue=cs()});var ds=function(t){return{"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.".concat(t)}},hs=function(t,e,n){return{headers:e,url:t.url,body:n,method:"POST"}},ps=function(){return ps=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},ps.apply(this,arguments)},fs=function(t,e,n,i){return function(o,r){return function(t,e,n,i){return new(n||(n=Promise))(function(t,e){function o(t){try{a(i.next(t))}catch(n){e(n)}}function r(t){try{a(i.throw(t))}catch(n){e(n)}}function a(e){e.done?t(e.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(e.value).then(o,r)}a((i=i.apply(undefined,[])).next())})}(0,0,void 0,function(){var a,s,c,l;return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(u){switch(u.label){case 0:return[4,(a=ps(ps({},i),o)).endpointResolver(a,r)];case 1:return s=u.sent(),[4,e(r,s)];case 2:return c=u.sent(),[4,t(c,ps({},a))];case 3:return l=u.sent(),[4,n(l)];case 4:return[2,u.sent()]}})})}},gs=fs(ls,function(t,e){var n=ds("GetId"),i=JSON.stringify(t);return hs(e,n,i)}
1,function(t){return function(t,e,n,i){return new(n||(n=Promise))(function(t,e){function o(t){try{a(i.next(t))}catch(n){e(n)}}function r(t){try{a(i.throw(t))}catch(n){e(n)}}function a(e){e.done?t(e.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(e.value).then(o,r)}a((i=i.apply(undefined,[])).next())})}(0,0,void 0,function(){return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(e){switch(e.label){case 0:return t.statusCode>=300?[4,La(t)]:[3,2];case 1:throw e.sent();case 2:return[4,Za(t)];case 3:return[2,{IdentityId:e.sent().IdentityId,$metadata:Ea(t)}]}})})},us),_s=function(t){return void 0===t&&(t={}),{AccessKeyId:t.AccessKeyId,SecretKey:t.SecretKey,SessionToken:t.SessionToken,Expiration:new Date(1e3*t.Expiration)}},ms=fs(ls,function(t,e){var n=ds("GetCredentialsForIdentity"),i=JSON.stringify(t);return hs(e,n,i)},function(t){return function(t,e,n,i){return new(n||(n=Promise))(function(t,e){function o(t){try{a(i.next(t))}catch(n){e(n)}}function r(t){try{a(i.throw(t))}catch(n){e(n)}}function a(e){e.done?t(e.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(e.value).then(o,r)}a((i=i.apply(undefined,[])).next())})}(0,0,void 0,function(){var e;return function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}(this,function(n){switch(n.label){case 0:return t.statusCode>=300?[4,La(t)]:[3,2];case 1:throw n.sent();case 2:return[4,Za(t)];case 3:return[2,{IdentityId:(e=n.sent()).IdentityId,Credentials:_s(e.Credentials),$metadata:Ea(t)}]}})})},us),vs=function(){return vs=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},vs.apply(this,arguments)},ys=new zr("Parser"),Cs=function(t){var e,n={};
1return t.aws_mobile_analytics_app_id&&(n.Analytics={AWSPinpoint:{appId:t.aws_mobile_analytics_app_id,region:t.aws_mobile_analytics_app_region}}),(t.aws_cognito_identity_pool_id||t.aws_user_pools_id)&&(n.Auth={userPoolId:t.aws_user_pools_id,userPoolWebClientId:t.aws_user_pools_web_client_id,region:t.aws_cognito_region,identityPoolId:t.aws_cognito_identity_pool_id,identityPoolRegion:t.aws_cognito_region,mandatorySignIn:"enable"===t.aws_mandatory_sign_in,signUpVerificationMethod:t.aws_cognito_sign_up_verification_method||"code"}),e=t.aws_user_files_s3_bucket?{AWSS3:{bucket:t.aws_user_files_s3_bucket,region:t.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:t.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:t?t.Storage||t:{},t.Logging&&(n.Logging=vs(vs({},t.Logging),{region:t.aws_project_region})),t.geo&&(n.Geo=Object.assign({},t.geo),t.geo.amazon_location_service&&(n.Geo={AmazonLocationService:t.geo.amazon_location_service})),n.Analytics=Object.assign({},n.Analytics,t.Analytics),n.Auth=Object.assign({},n.Auth,t.Auth),n.Storage=Object.assign({},e),n.Logging=Object.assign({},n.Logging,t.Logging),ys.debug("parse config",t,"to amplifyconfig",n),n},bs=function(){return bs=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},bs.apply(this,arguments)},Os=function(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})},Ps=function(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},ws=new zr("Credentials"),Ms="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",xs=function(){function t(t){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(t),this._refreshHandlers.google=ga.refreshGoogleToken,this._refreshHandlers.facebook=_a.refreshFacebookToken}return t.prototype.getModuleName=function(){return"Credentials"},t.prototype.getCredSource=function(){return this._credentials_source},t.prototype.configure=function(t){if(!t)return this._config||{};this._config=Object.assign({},this._config,t);var e=this._config.refreshHandlers;return e&&(this._refreshHandlers=bs(bs({},this._refreshHandlers),e)),this._storage=this._config.storage,this._storage||(this._storage=(new Xr).getStorage()),this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),Wr.dispatch("core",{event:"credentials_configured",data:null,message:"Credentials has been configured successfully"},"Credentials",Ms),this._config},t.prototype.get=function(){return ws.debug("getting credentials"),this._pickupCredentials()},t.prototype._getCognitoIdentityIdStorageKey=function(t){return"".concat("CognitoIdentityId-").concat(t)},t.prototype._pickupCredentials=function(){return ws.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?ws.debug("getting old cred promise"):(ws.debug("getting new cred promise"),this._gettingCredPromise=function(t){if(t.isResolved)return t;var e=!0,n=!1,i=!1,o=t.then(function(t){return i=!0,e=!1,t},function(t){throw n=!0,e=!1,t});return o.isFullfilled=function(){return i},o.isPending=function(){return e},o.isRejected=function(){return n},o}(this._keepAlive())),this._gettingCredPromise},t.prototype._keepAlive=function(){return Os(this,void 0,void 0,function(){var t,e,n,i,o,r,a;return Ps(this,function(s){switch(s.label){case 0:if(ws.debug("checking if credentials exists and not expired"),(t=this._credentials)&&!this._isExpired(t)&&!this._isPastTTL())return ws.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(t)];if(ws.debug("need to get a new credential or refresh the existing one"),!(n=void 0===(e=this.Auth)?ya.Auth:e)||"function"!=typeof n.currentUserCredentials)return[2,this._setCredentialsForGuest()];if(this._isExpired(t)||!this._isPastTTL())return[3,6];ws.debug("ttl has passed but token is not yet expired"),s.label=1;case 1:return s.trys.push([1,5,,6]),[4,n.currentUserPoolUser()];case 2:return i=s.sent(),[4,n.currentSession()];case 3:return o=s.sent(),r=o.refreshToken,[4,new Promise(function(t,e){i.refreshSession(r,function(n,i){return n?e(n):t(i)})})];case 4:return s.sent(),[3,6];case 5:return a=s.sent(),ws.debug("Error attempting to refreshing the session",a),[3,6];case 6:return[2,n.currentUserCredentials()]}})})},t.prototype.refreshFederatedToken=function(t){ws.debug("Getting federated credentials");var e=t.provider,n=t.user,i=t.token,o=t.identity_id,r=t.expires_at;r=1970===new Date(r).getFullYear()?1e3*r:r;var a=this;return ws.debug("checking if federated jwt token expired"),r>(new Date).getTime()?(ws.debug("token not expired"),this._setCredentialsFromFederation({provider:e,token:i,user:n,identity_id:o,expires_at:r})):a._refreshHandlers[e]&&"function"==typeof a._refreshHandlers[e]?(ws.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:a._refreshHandlers[e],provider:e,user:n})):(ws.debug("no refresh handler for provider:",e),this.clear(),Promise.reject("no refresh handler for provider"))},t.prototype._providerRefreshWithRetry=function(t){var e=this,n=t.provider,i=t.user;return function(t,e,n,i){return void 0===n&&(n=3e5),function(t,e,n,i){return ea(this,void 0,void 0,function(){var o=this;return na(this,function(r){if("function"!=typeof t)throw Error("functionToRetry must be a function");return[2,new Promise(function(r,a){return ea(o,void 0,void 0,function(){var o,s,c,l,u,d,h;return na(this,function(p){switch(p.label){case 0:o=0,s=!1,l=function(){},i&&i.then(function(){s=!0,clearTimeout(c),l()}),d=function(){var i,d,h,p;return na(this,function(f){switch(f.label){case 0:o++,ra.debug("".concat(t.name," attempt #").concat(o," with this vars: ").concat(JSON.stringify(e))),f.label=1;
1case 1:return f.trys.push([1,3,,7]),i={},d=r,[4,t.apply(void 0,oa([],ia(e),!1))];case 2:return[2,(i.value=d.apply(void 0,[f.sent()]),i)];case 3:return h=f.sent(),u=h,ra.debug("error on ".concat(t.name),h),function(t){return t&&t.nonRetryable}(h)?(ra.debug("".concat(t.name," non retryable error"),h),[2,{value:a(h)}]):(p=n(o,e,h),ra.debug("".concat(t.name," retrying in ").concat(p," ms")),!1===p||s?[2,{value:a(h)}]:[3,4]);case 4:return[4,new Promise(function(t){l=t,c=setTimeout(l,p)})];case 5:f.sent(),f.label=6;case 6:return[3,7];case 7:return[2]}})},p.label=1;case 1:return s?[3,3]:[5,d()];case 2:return"object"==typeof(h=p.sent())?[2,h.value]:[3,1];case 3:return a(u),[2]}})})})]})})}(t,[],sa(n),void 0)}(t.refreshHandler,0,1e4).then(function(t){return ws.debug("refresh federated token sucessfully",t),e._setCredentialsFromFederation({provider:n,token:t.token,user:i,identity_id:t.identity_id,expires_at:t.expires_at})}).catch(function(t){return"string"==typeof t&&0===t.toLowerCase().lastIndexOf("network error",t.length)||e.clear(),ws.debug("refresh federated token failed",t),Promise.reject("refreshing federation token failed: "+t)})},t.prototype._isExpired=function(t){if(!t)return ws.debug("no credentials for expiration check"),!0;ws.debug("are these credentials expired?",t);var e=Date.now();return t.expiration.getTime()<=e},t.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},t.prototype._setCredentialsForGuest=function(){var t;return Os(this,void 0,void 0,function(){var e,n,i,o,r,a,s,c,l=this;return Ps(this,function(u){switch(u.label){case 0:return ws.debug("setting credentials for guest"),(null===(t=this._config)||void 0===t?void 0:t.identityPoolId)||(this._config=Object.assign({},this._config,Cs(this._config||{}).Auth)),n=(e=this._config).identityPoolId,i=e.region,o=e.identityPoolRegion,e.mandatorySignIn?[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")]:n?o||i?(a=this,[4,this._getGuestIdentityId()]):(ws.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")]):(ws.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);case 1:return r=a._identityId=u.sent(),s={region:null!=o?o:i},c=Os(l,void 0,void 0,function(){var t,e;return Ps(this,function(i){switch(i.label){case 0:return r?[3,2]:[4,gs(s,{IdentityPoolId:n})];case 1:t=i.sent().IdentityId,this._identityId=t,i.label=2;case 2:return[4,ms(s,{IdentityId:this._identityId})];case 3:return e=i.sent().Credentials,[2,{identityId:this._identityId,accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretKey,sessionToken:e.SessionToken,expiration:e.Expiration}]}})}).catch(function(t){return Os(l,void 0,void 0,function(){return Ps(this,function(e){throw t})})}),[2,this._loadCredentials(c,"guest",!1,null).then(function(t){return t}).catch(function(t){return Os(l,void 0,void 0,function(){var e=this;return Ps(this,function(i){switch(i.label){case 0:return"ResourceNotFoundException"===t.name&&t.message==="Identity '".concat(r,"' not found.")?(ws.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()]):[3,2];case 1:return i.sent(),c=Os(e,void 0,void 0,function(){var t,e;return Ps(this,function(i){switch(i.label){case 0:return[4,gs(s,{IdentityPoolId:n})];case 1:return t=i.sent().IdentityId,this._identityId=t,[4,ms(s,{IdentityId:t})];case 2:return e=i.sent().Credentials,[2,{identityId:t,accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretKey,sessionToken:e.SessionToken,expiration:e.Expiration}]}})}).catch(function(t){return Os(e,void 0,void 0,function(){return Ps(this,function(e){throw t})})}),[2,this._loadCredentials(c,"guest",!1,null)];case 2:return[2,t]}})})})]}})})},t.prototype._setCredentialsFromFederation=function(t){var e=this,n=t.provider,i=t.token,o=t.identity_id,r={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[n]||n;if(!r)return Promise.reject("You must specify a federated provider");var a={};a[r]=i;var s=this._config,c=s.identityPoolId,l=s.region,u=s.identityPoolRegion;if(!c)return ws.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");
1if(!u&&!l)return ws.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var d={region:null!=u?u:l},h=Os(e,void 0,void 0,function(){var t,e;return Ps(this,function(n){switch(n.label){case 0:return o?[3,2]:[4,gs(d,{IdentityPoolId:c,Logins:a})];case 1:t=n.sent().IdentityId,o=t,n.label=2;case 2:return[4,ms(d,{IdentityId:o,Logins:a})];case 3:return e=n.sent().Credentials,[2,{identityId:o,accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretKey,sessionToken:e.SessionToken,expiration:e.Expiration}]}})}).catch(function(t){return Os(e,void 0,void 0,function(){return Ps(this,function(e){throw t})})});return this._loadCredentials(h,"federated",!0,t)},t.prototype._setCredentialsFromSession=function(t){var e=this;ws.debug("set credentials from session");var n=t.getIdToken().getJwtToken(),i=this._config,o=i.region,r=i.userPoolId,a=i.identityPoolId,s=i.identityPoolRegion;if(!a)return ws.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!s&&!o)return ws.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c={};c["cognito-idp."+o+".amazonaws.com/"+r]=n;var l={region:null!=s?s:o},u=Os(e,void 0,void 0,function(){var t,e,n,i,o,r,s,u,d,h;return Ps(this,function(p){switch(p.label){case 0:return[4,this._getGuestIdentityId()];case 1:return(t=p.sent())?[3,3]:[4,gs(l,{IdentityPoolId:a,Logins:c})];case 2:n=p.sent().IdentityId,e=n,p.label=3;case 3:return[4,ms(l,{IdentityId:t||e,Logins:c})];case 4:return i=p.sent(),r=(o=i.Credentials).AccessKeyId,s=o.Expiration,u=o.SecretKey,d=o.SessionToken,this._identityId=h=i.IdentityId,t?(ws.debug("The guest identity ".concat(t," has been successfully linked to the logins")),t===h&&ws.debug("The guest identity ".concat(t," has become the primary identity")),[4,this._removeGuestIdentityId()]):[3,6];case 5:p.sent(),p.label=6;case 6:return[2,{accessKeyId:r,secretAccessKey:u,sessionToken:d,expiration:s,identityId:h}]}})}).catch(function(t){return Os(e,void 0,void 0,function(){return Ps(this,function(e){throw t})})});return this._loadCredentials(u,"userPool",!0,null)},t.prototype._loadCredentials=function(t,e,n,i){var o=this,r=this;return new Promise(function(a,s){t.then(function(t){return Os(o,void 0,void 0,function(){var o,s,c,l,u;return Ps(this,function(d){switch(d.label){case 0:if(ws.debug("Load credentials successfully",t),this._identityId&&!t.identityId&&(t.identityId=this._identityId),r._credentials=t,r._credentials.authenticated=n,r._credentials_source=e,r._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===e){o=Object.assign({id:this._credentials.identityId},i.user),s=i.provider,c=i.token,l=i.expires_at,u=i.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:s,token:c,user:o,expires_at:l,identity_id:u}))}catch(h){ws.debug("Failed to put federated info into auth storage",h)}}return"guest"!==e?[3,2]:[4,this._setGuestIdentityId(t.identityId)];case 1:d.sent(),d.label=2;case 2:return a(r._credentials),[2]}})})}).catch(function(e){if(e)return ws.debug("Failed to load credentials",t),ws.debug("Error loading credentials",e),void s(e)})})},t.prototype.set=function(t,e){return"session"===e?this._setCredentialsFromSession(t):"federation"===e?this._setCredentialsFromFederation(t):"guest"===e?this._setCredentialsForGuest():(ws.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},t.prototype.clear=function(){return Os(this,void 0,void 0,function(){return Ps(this,function(t){return this._credentials=null,this._credentials_source=null,ws.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},t.prototype._getGuestIdentityId=function(){return Os(this,void 0,void 0,function(){var t,e;return Ps(this,function(n){switch(n.label){case 0:t=this._config.identityPoolId,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this._storageSync];case 2:return n.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(t))];case 3:return e=n.sent(),ws.debug("Failed to get the cached guest identityId",e),[3,4];case 4:return[2]}})})},t.prototype._setGuestIdentityId=function(t){return Os(this,void 0,void 0,function(){var e,n;return Ps(this,function(i){switch(i.label){case 0:e=this._config.identityPoolId,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._storageSync];case 2:return i.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(e),t),[3,4];case 3:return n=i.sent(),ws.debug("Failed to cache guest identityId",n),[3,4];case 4:return[2]}})})},t.prototype._removeGuestIdentityId=function(){return Os(this,void 0,void 0,function(){var t;return Ps(this,function(e){return ws.debug("removing ".concat(this._getCognitoIdentityIdStorageKey(t=this._config.identityPoolId)," from storage")),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(t)),[2]})})},t.prototype.shear=function(t){return{accessKeyId:t.accessKeyId,sessionToken:t.sessionToken,secretAccessKey:t.secretAccessKey,identityId:t.
1identityId,authenticated:t.authenticated}},t}(),ks=new xs(null);ya.register(ks);var Ss=n(7281);function As(t,e){void 0===e&&(e={});var n=function(t){return t&&"j"===t[0]&&":"===t[1]?t.substr(2):t}(t);if(function(t,e){return void 0===e&&(e=!t||"{"!==t[0]&&"["!==t[0]&&'"'!==t[0]),!e}(n,e.doNotParse))try{return JSON.parse(n)}catch(i){}return t}var Ts,Is=function(){return Is=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Is.apply(this,arguments)},Es=function(){function t(t,e){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(t,e){return"string"==typeof t?Ss.Q(t,e):"object"==typeof t&&null!==t?t:{}}(t,e),new Promise(function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return t.prototype._updateBrowserValues=function(t){!this.HAS_DOCUMENT_COOKIE||(this.cookies=Ss.Q(document.cookie,t))},t.prototype._emitChange=function(t){for(var e=0;e<this.changeListeners.length;++e)this.changeListeners[e](t)},t.prototype.get=function(t,e,n){return void 0===e&&(e={}),this._updateBrowserValues(n),As(this.cookies[t],e)},t.prototype.getAll=function(t,e){void 0===t&&(t={}),this._updateBrowserValues(e);var n={};for(var i in this.cookies)n[i]=As(this.cookies[i],t);return n},t.prototype.set=function(t,e,n){var i;"object"==typeof e&&(e=JSON.stringify(e)),this.cookies=Is(Is({},this.cookies),((i={})[t]=e,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=Ss.q(t,e,n)),this._emitChange({name:t,value:e,options:n})},t.prototype.remove=function(t,e){var n=e=Is(Is({},e),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Is({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=Ss.q(t,"",n)),this._emitChange({name:t,value:void 0,options:e})},t.prototype.addChangeListener=function(t){this.changeListeners.push(t)},t.prototype.removeChangeListener=function(t){var e=this.changeListeners.indexOf(t);e>=0&&this.changeListeners.splice(e,1)},t}(),Ds=Es,Rs=function(){return Rs=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Rs.apply(this,arguments)},Fs=$r().isBrowser,Ls=function(){function t(t){void 0===t&&(t={}),this.cookies=new Ds,this.store=Fs?window.localStorage:Object.create(null),this.cookies=t.req?new Ds(decodeURIComponent(t.req.headers.cookie)):new Ds,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!1,configurable:!0}),t.prototype.clear=function(){var t=this;Array.from(new Array(this.length)).map(function(e,n){return t.key(n)}).forEach(function(e){return t.removeItem(e)})},t.prototype.getItem=function(t){return this.getLocalItem(t)},t.prototype.getLocalItem=function(t){return Object.prototype.hasOwnProperty.call(this.store,t)?this.store[t]:null},t.prototype.getUniversalItem=function(t){return this.cookies.get(t)},t.prototype.key=function(t){return Object.keys(this.store)[t]},t.prototype.removeItem=function(t){this.removeLocalItem(t),this.removeUniversalItem(t)},t.prototype.removeLocalItem=function(t){delete this.store[t]},t.prototype.removeUniversalItem=function(t){this.cookies.remove(t,{path:"/"})},t.prototype.setItem=function(t,e){this.setLocalItem(t,e);var n=t.split(".").pop();["LastAuthUser","accessToken","refreshToken","idToken"].includes(null!=n?n:"")&&this.setUniversalItem(t,e,{expires:new Date(Date.now()+31536e6)})},t.prototype.setLocalItem=function(t,e){this.store[t]=e},t.prototype.setUniversalItem=function(t,e,n){void 0===n&&(n={}),this.cookies.set(t,e,Rs(Rs({},n),{path:"/",sameSite:!0,secure:!(Fs&&"localhost"===window.location.hostname)}))},t}(),Zs=function(){function t(t){var e=t||{},n=e.Username,i=e.Password,o=e.AuthParameters,r=e.ClientMetadata;this.validationData=e.ValidationData||{},this.authParameters=o||{},this.clientMetadata=r||{},this.username=n,this.password=i}var e=t.prototype;return e.getUsername=function(){return this.username},e.getPassword=function(){return this.password},e.getValidationData=function(){return this.validationData},e.getAuthParameters=function(){return this.authParameters},e.getClientMetadata=function(){return this.clientMetadata},t}(),Ns=n(61147);if("undefined"!=typeof window&&window.crypto&&(Ts=window.crypto),!Ts&&"undefined"!=typeof window&&window.msCrypto&&(Ts=window.msCrypto),!Ts&&"undefined"!=typeof global&&global.crypto&&(Ts=global.crypto),!Ts)try{Ts=n(56249)}catch(c){}function Us(){if(Ts){if("function"==typeof Ts.getRandomValues)try{return Ts.getRandomValues(new Uint32Array(1))[0]}catch(c){}if("function"==typeof Ts.randomBytes)try{return Ts.randomBytes(4).readInt32LE()}catch(c){}}throw new Error("Native crypto module could not be used to get secure random number.")}var Vs,js=function(){function t(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length}var e=t.prototype;return e.random=function(e){for(var n=[],i=0;i<e;i+=4)n.push(Us());return new t(n,e)},e.toString=function(){return function(t){for(var e=t.words,n=t.sigBytes,i=[],o=0;o<n;o++){var r=e[o>>>2]>>>24-o%4*8&255;i.push((r>>>4).toString(16)),i.push((15&r).toString(16))}return i.join("")}(this)},t}(),zs=n(43221),qs=Bs;function Bs(t,e){null!=t&&this.fromString(t,e)}function Ys(){return new Bs(null)}var Gs="undefined"!=typeof navigator;Gs&&"Microsoft Internet Explorer"==navigator.appName?(Bs.prototype.am=function(t,e,n,i,o,r){for(var a=32767&e,s=e>>15;--r>=0;){var c=32767&this[t],l=this[t++]>>15,u=s*c+l*a;o=((c=a*c+((32767&u)<<15)+n[i]+(1073741823&o))>>>30)+(u>>>15)+s*l+(o>>>30),n[i++]=1073741823&c}return o},Vs=30):Gs&&"Netscape"!=navigator.appName?(Bs.prototype.am=function(t,e,n,i,o,r){for(;--r>=0;){var a=e*this[t++]+n[i]+o;o=Math.floor(a/67108864),n[i++]=67108863&a}return o},Vs=26):(Bs.prototype.am=function(t,e,n,i,o,r){for(var a=16383&e,s=e>>14;--r>=0;){var c=16383&this[t],l=this[t++]>>14,u=s*c+l*a;o=((c=a*c+((16383&u)<<14)+n[i]+o)>>28)+(u>>14)+s*l,n[i++]=268435455&c}return o},Vs=28),Bs.prototype.DB=Vs,Bs.prototype.DM=(1<<Vs)-1,Bs.prototype.DV=1<<Vs,Bs.prototype.FV=Math.pow(2,52),Bs.prototype.F1=52-Vs,Bs.prototype.F2=2*Vs-52;var Hs,Js,Ws=new Array;for(Hs="0".charCodeAt(0),Js=0;Js<=9;++Js)Ws[Hs++]=Js;for(Hs="a".charCodeAt(0),Js=10;Js<36;++Js)Ws[Hs++]=Js;for(Hs="A".charCodeAt(0),Js=10;Js<36;++Js)Ws[Hs++]=Js;function Qs(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function Ks(t,e){var n=Ws[t.charCodeAt(e)];return null==n?-1:n}function Xs(t){var e=Ys();return e.fromInt(t),e}function $s(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function tc(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>
vendor: 11,081 bytes, line 1
1>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function ec(t){return Ns.lW.from((new js).random(t).toString(),"hex")}tc.prototype.convert=function(t){var e=Ys();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(Bs.ZERO)>0&&this.m.subTo(e,e),e},tc.prototype.revert=function(t){var e=Ys();return t.copyTo(e),this.reduce(e),e},tc.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],i=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[n=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},tc.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},tc.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},Bs.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},Bs.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},Bs.prototype.fromString=function(t,e){var n;if(16==e)n=4;else if(8==e)n=3;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;for(var i=t.length,o=!1,r=0;--i>=0;){var a=Ks(t,i);a<0?"-"==t.charAt(i)&&(o=!0):(o=!1,0==r?this[this.t++]=a:r+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-r)-1)<<r,this[this.t++]=a>>this.DB-r):this[this.t-1]|=a<<r,(r+=n)>=this.DB&&(r-=this.DB))}this.clamp(),o&&Bs.ZERO.subTo(this,this)},Bs.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},Bs.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},Bs.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},Bs.prototype.lShiftTo=function(t,e){var n,i=t%this.DB,o=this.DB-i,r=(1<<o)-1,a=Math.floor(t/this.DB),s=this.s<<i&this.DM;for(n=this.t-1;n>=0;--n)e[n+a+1]=this[n]>>o|s,s=(this[n]&r)<<i;for(n=a-1;n>=0;--n)e[n]=0;e[a]=s,e.t=this.t+a+1,e.s=this.s,e.clamp()},Bs.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var i=t%this.DB,o=this.DB-i,r=(1<<i)-1;e[0]=this[n]>>i;for(var a=n+1;a<this.t;++a)e[a-n-1]|=(this[a]&r)<<o,e[a-n]=this[a]>>i;i>0&&(e[this.t-n-1]|=(this.s&r)<<o),e.t=this.t-n,e.clamp()}},Bs.prototype.subTo=function(t,e){for(var n=0,i=0,o=Math.min(t.t,this.t);n<o;)i+=this[n]-t[n],e[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;n<this.t;)i+=this[n],e[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i-=t[n],e[n++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[n++]=this.DV+i:i>0&&(e[n++]=i),e.t=n,e.clamp()},Bs.prototype.multiplyTo=function(t,e){var n=this.abs(),i=t.abs(),o=n.t;for(e.t=o+i.t;--o>=0;)e[o]=0;for(o=0;o<i.t;++o)e[o+n.t]=n.am(0,i[o],e,o,0,n.t);e.s=0,e.clamp(),this.s!=t.s&&Bs.ZERO.subTo(e,e)},Bs.prototype.squareTo=function(t){for(var e=this.abs(),n=t.t=2*e.t;--n>=0;)t[n]=0;for(n=0;n<e.t-1;++n){var i=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,i,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},Bs.prototype.divRemTo=function(t,e,n){var i=t.abs();if(!(i.t<=0)){var o=this.abs();if(o.t<i.t)return null!=e&&e.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=Ys());var r=Ys(),a=this.s,s=t.s,c=this.DB-$s(i[i.t-1]);c>0?(i.lShiftTo(c,r),o.lShiftTo(c,n)):(i.copyTo(r),o.copyTo(n));var l=r.t,u=r[l-1];if(0!=u){var d=u*(1<<this.F1)+(l>1?r[l-2]>>this.F2:0),h=this.FV/d,p=(1<<this.F1)/d,f=1<<this.F2,g=n.t,_=g-l,m=null==e?Ys():e;for(r.dlShiftTo(_,m),n.compareTo(m)>=0&&(n[n.t++]=1,n.subTo(m,n)),Bs.ONE.dlShiftTo(l,m),m.subTo(r,r);r.t<l;)r[r.t++]=0;for(;--_>=0;){var v=n[--g]==u?this.DM:Math.floor(n[g]*h+(n[g-1]+f)*p);if((n[g]+=r.am(0,v,n,_,0,l))<v)for(r.dlShiftTo(_,m),n.subTo(m,n);n[g]<--v;)n.subTo(m,n)}null!=e&&(n.drShiftTo(l,e),a!=s&&Bs.ZERO.subTo(e,e)),n.t=l,n.clamp(),c>0&&n.rShiftTo(c,n),a<0&&Bs.ZERO.subTo(n,n)}}},Bs.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},Bs.prototype.addTo=function(t,e){for(var n=0,i=0,o=Math.min(t.t,this.t);n<o;)i+=this[n]+t[n],e[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i+=t.s;n<this.t;)i+=this[n],e[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i+=t[n],e[n++]=i&this.DM,i>>=this.DB;i+=t.s}e.s=i<0?-1:0,i>0?e[n++]=i:i<-1&&(e[n++]=this.DV+i),e.t=n,e.clamp()},Bs.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");e=2}var n,i=(1<<e)-1,o=!1,r="",a=this.t,s=this.DB-a*this.DB%e;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(o=!0,r=Qs(n));a>=0;)s<e?(n=(this[a]&(1<<s)-1)<<e-s,n|=this[--a]>>(s+=this.DB-e)):(n=this[a]>>(s-=e)&i,s<=0&&(s+=this.DB,--a)),n>0&&(o=!0),o&&(r+=Qs(n));return o?r:"0"},Bs.prototype.negate=function(){var t=Ys();return Bs.ZERO.subTo(this,t),t},Bs.prototype.abs=function(){return this.s<0?this.negate():this},Bs.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0},Bs.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+$s(this[this.t-1]^this.s&this.DM)},Bs.prototype.mod=function(t){var e=Ys();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(Bs.ZERO)>0&&t.subTo(e,e),e},Bs.prototype.equals=function(t){return 0==this.compareTo(t)},Bs.prototype.add=function(t){var e=Ys();return this.addTo(t,e),e},Bs.prototype.subtract=function(t){var e=Ys();return this.subTo(t,e),e},Bs.prototype.multiply=function(t){var e=Ys();return this.multiplyTo(t,e),e},Bs.prototype.divide=function(t){var e=Ys();return this.divRemTo(t,e,null),e},Bs.prototype.modPow=function(t,e,n){var i,o=t.bitLength(),r=Xs(1),a=new tc(e);if(o<=0)return r;i=o<18?1:o<48?3:o<144?4:o<768?5:6;var s=new Array,c=3,l=i-1,u=(1<<i)-1;if(s[1]=a.convert(this),i>1){var d=Ys();for(a.sqrTo(s[1],d);c<=u;)s[c]=Ys(),a.mulTo(d,s[c-2],s[c]),c+=2}var h,p,f=t.t-1,g=!0,_=Ys();for(o=$s(t[f])-1;f>=0;){for(o>=l?h=t[f]>>o-l&u:(h=(t[f]&(1<<o+1)-1)<<l-o,f>0&&(h|=t[f-1]>>this.DB+o-l)),c=i;0==(1&h);)h>>=1,--c;if((o-=c)<0&&(o+=this.DB,--f),g)s[h].copyTo(r),g=!1;else{for(;c>1;)a.sqrTo(r,_),a.sqrTo(_,r),c-=2;c>0?a.sqrTo(r,_):(p=r,r=_,_=p),a.mulTo(_,s[h],r)}for(;f>=0&&0==(t[f]&1<<o);)a.sqrTo(r,_),p=r,r=_,_=p,--o<0&&(o=this.DB-1,--f)}var m=a.revert(r);return n(null,m),m},Bs.ZERO=Xs(0),Bs.ONE=Xs(1);var nc=/^[89a-f]/i,ic=function(){function t(t){this.N=new qs("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",16),this.g=new qs("2",16),this.k=new qs(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue(function(){}),this.infoBits=Ns.lW.from("Caldera Derived Key","utf8"),this.poolName=t}var e=t.prototype;return e.getSmallAValue=function(){return this.smallAValue},e.getLargeAValue=function(t){var e=this;this.largeAValue?t(null,this.largeAValue):this.calculateA(this.smallAValue,function(n,i){n&&t(n,null),e.largeAValue=i,t(null,e.largeAValue)})},e.generateRandomSmallA=function(){var t=ec(128).toString("hex");return new qs(t,16)},e.generateRandomString=function(){return ec(40).toString("base64")},e.getRandomPassword=function(){return this.randomPassword},e.getSaltDevices=function(){return this.SaltToHashDevices},e.getVerifierDevices=function(){return this.verifierDevices},e.generateHashDevice=function(t,e,n){var i=this;this.randomPassword=this.generateRandomString();var o=this.hash(""+t+e+":"+this.randomPassword),r=ec(16).toString("hex");this.SaltToHashDevices=this.padHex(new qs(r,16)),this.g.modPow(new qs(this.hexHash(this.SaltToHashDevices+o),16),this.N,function(t,e){t&&n(t,null),i.verifierDevices=i.padHex(e),n(null,null)})},e.calculateA=function(t,e){var n=this;this.g.modPow(t,this.N,function(t,i){t&&e(t,null),i.mod(n.N).equals(qs.ZERO)&&e(new Error("Illegal paramater. A mod N cannot be 0."),null),e(null,i)})},e.calculateU=function(t,e){return this.UHexHash=this.hexHash(this.padHex(t)+this.padHex(e)),new qs(this.UHexHash,16)},e.hash=function(t){var e=new zs.Sha256;e.update(t);var n=e.digestSync(),i=Ns.lW.from(n).toString("hex");return new Array(64-i.length).join("0")+i},e.hexHash=function(t){return this.hash(Ns.lW.from(t,"hex"))},e.computehkdf=function(t,e){var n=Ns.lW.concat([this.infoBits,Ns.lW.from(String.fromCharCode(1),"utf8")]),i=new zs.Sha256(e);i.update(t);var o=i.digestSync(),r=new zs.Sha256(o);return r.update(n),r.digestSync().slice(0,16)},e.getPasswordAuthenticationKey=function(t,e,n,i,o){var r=this;if(n.mod(this.N).equals(qs.ZERO))throw new Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,n),this.UValue.equals(qs.ZERO))throw new Error("U cannot be zero.");var a=this.hash(""+this.poolName+t+":"+e),s=new qs(this.hexHash(this.padHex(i)+a),16);this.calculateS(s,n,function(t,e){t&&o(t,null);var n=r.computehkdf(Ns.lW.from(r.padHex(e),"hex"),Ns.lW.from(r.padHex(r.UValue),"hex"));o(null,n)})},e.calculateS=function(t,e,n){var i=this;this.g.modPow(t,this.N,function(o,r){o&&n(o,null),e.subtract(i.k.multiply(r)).modPow(i.smallAValue.add(i.UValue.multiply(t)),i.N,function(t,e){t&&n(t,null),n(null,e.mod(i.N))})})},e.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return"userAttributes."},e.padHex=function(t){if(!(t instanceof qs))throw new Error("Not a BigInteger");var e=t.compareTo(qs.ZERO)<0,n=t.abs().toString(16);if(n=nc.test(n=n.length%2!=0?"0"+n:n)?"00"+n:n,e){var i=n.split("").map(function(t){var e=15&~parseInt(t,16);return"0123456789ABCDEF".charAt(e)}).join("");(n=new qs(i,16).add(qs.ONE).toString(16)).toUpperCase().startsWith("FF8")&&(n=n.substring(2))}return n},t}(),oc=function(){function t(t){this.jwtToken=t||"",this.payload=this.decodePayload()}var e=t.prototype;return e.getJwtToken=function(){return this.jwtToken},e.getExpiration=function(){return this.payload.exp},e.getIssuedAt=function(){return this.payload.iat},e.decodePayload=function(){var t=this.jwtToken.split(".")[1];try{return JSON.parse(Ns.lW.from(t,"base64").toString("utf8"))}catch(e){return{}}},t}();
1function rc(t,e){return(rc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ac=function(t){function e(e){return t.call(this,(void 0===e?{}:e).AccessToken||"")||this}return function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,rc(t,e)}(e,t),e}(oc);function sc(t,e){return(sc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var cc=function(t){function e(e){return t.call(this,(void 0===e?{}:e).IdToken||"")||this}return function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,sc(t,e)}(e,t),e}(oc),lc=function(){function t(t){this.token=(void 0===t?{}:t).RefreshToken||""}return t.prototype.getToken=function(){return this.token},t}(),uc="undefined"!=typeof navigator&&"ReactNative"===navigator.product,dc=function(){function t(t){var e=void 0===t?{}:t,n=e.IdToken,i=e.RefreshToken,o=e.AccessToken,r=e.ClockDrift;if(null==o||null==n)throw new Error("Id token and Access Token must be present.");this.idToken=n,this.refreshToken=i,this.accessToken=o,this.clockDrift=void 0===r?this.calculateClockDrift():r}var e=t.prototype;return e.getIdToken=function(){return this.idToken},e.getRefreshToken=function(){return this.refreshToken},e.getAccessToken=function(){return this.accessToken},e.getClockDrift=function(){return this.clockDrift},e.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())},e.isValid=function(){var t=Math.floor(new Date/1e3)-this.clockDrift;return t<this.accessToken.getExpiration()&&t<this.idToken.getExpiration()},t}(),hc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],fc=function(){function t(){}return t.prototype.getNowString=function(){var t=new Date,e=pc[t.getUTCDay()],n=hc[t.getUTCMonth()],i=t.getUTCDate(),o=t.getUTCHours();o<10&&(o="0"+o);var r=t.getUTCMinutes();r<10&&(r="0"+r);var a=t.getUTCSeconds();return a<10&&(a="0"+a),e+" "+n+" "+i+" "+o+":"+r+":"+a+" UTC "+t.getUTCFullYear()},t}(),gc=function(){function t(t){var e=void 0===t?{}:t,n=e.Value;this.Name=e.Name||"",this.Value=n||""}var e=t.prototype;return e.getValue=function(){return this.Value},e.setValue=function(t){return this.Value=t,this},e.getName=function(){return this.Name},e.setName=function(t){return this.Name=t,this},e.toString=function(){return JSON.stringify(this)},e.toJSON=function(){return{Name:this.Name,Value:this.Value}},t}(),_c={},mc=function(){function t(){}return t.setItem=function(t,e){return _c[t]=e,_c[t]},t.getItem=function(t){return Object.prototype.hasOwnProperty.call(_c,t)?_c[t]:void 0},t.removeItem=function(t){return delete _c[t]},t.clear=function(){return _c={}},t}(),vc=function(){function t(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch(_M){this.storageWindow=mc}}return t.prototype.getStorage=function(){return this.storageWindow},t}(),yc="undefined"!=typeof navigator?uc?"react-native":navigator.userAgent:"nodejs",Cc=function(){function t(t){if(null==t||null==t.Username||null==t.Pool)throw new Error("Username and Pool information are required.");this.username=t.Username||"",this.pool=t.Pool,this.Session=null,this.client=t.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=t.Storage||(new vc).getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var e=t.prototype;return e.setSignInUserSession=function(t){this.clearCachedUserData(),this.signInUserSession=t,this.cacheTokens()},e.getSignInUserSession=function(){return this.signInUserSession},e.getUsername=function(){return this.username},e.getAuthenticationFlowType=function(){return this.authenticationFlowType},e.setAuthenticationFlowType=function(t){this.authenticationFlowType=t},e.initiateAuth=function(t,e){var n=this,i=t.getAuthParameters();i.USERNAME=this.username;var o=0!==Object.keys(t.getValidationData()).length?t.getValidationData():t.getClientMetadata(),r={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:i,ClientMetadata:o};this.getUserContextData()&&(r.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",r,function(t,i){if(t)return e.onFailure(t);var o=i.ChallengeParameters;return"CUSTOM_CHALLENGE"===i.ChallengeName?(n.Session=i.Session,e.customChallenge(o)):(n.signInUserSession=n.getCognitoUserSession(i.AuthenticationResult),n.cacheTokens(),e.onSuccess(n.signInUserSession))})},e.authenticateUser=function(t,e){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(t,e):"USER_SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(t,e):e.onFailure(new Error("Authentication flow type is invali
1d."))},e.authenticateUserDefaultAuth=function(t,e){var n,i,o=this,r=new ic(this.pool.getUserPoolName()),a=new fc,s={};null!=this.deviceKey&&(s.DEVICE_KEY=this.deviceKey),s.USERNAME=this.username,r.getLargeAValue(function(c,l){c&&e.onFailure(c),s.SRP_A=l.toString(16),"CUSTOM_AUTH"===o.authenticationFlowType&&(s.CHALLENGE_NAME="SRP_A");var u=0!==Object.keys(t.getValidationData()).length?t.getValidationData():t.getClientMetadata(),d={AuthFlow:o.authenticationFlowType,ClientId:o.pool.getClientId(),AuthParameters:s,ClientMetadata:u};o.getUserContextData(o.username)&&(d.UserContextData=o.getUserContextData(o.username)),o.client.request("InitiateAuth",d,function(s,c){if(s)return e.onFailure(s);var l=c.ChallengeParameters;o.username=l.USER_ID_FOR_SRP,o.userDataKey=o.keyPrefix+"."+o.username+".userData",n=new qs(l.SRP_B,16),i=new qs(l.SALT,16),o.getCachedDeviceKeyAndPassword(),r.getPasswordAuthenticationKey(o.username,t.getPassword(),n,i,function(t,n){t&&e.onFailure(t);var i=a.getNowString(),s=Ns.lW.concat([Ns.lW.from(o.pool.getUserPoolName(),"utf8"),Ns.lW.from(o.username,"utf8"),Ns.lW.from(l.SECRET_BLOCK,"base64"),Ns.lW.from(i,"utf8")]),d=new zs.Sha256(n);d.update(s);var h=d.digestSync(),p=Ns.lW.from(h).toString("base64"),f={};f.USERNAME=o.username,f.PASSWORD_CLAIM_SECRET_BLOCK=l.SECRET_BLOCK,f.TIMESTAMP=i,f.PASSWORD_CLAIM_SIGNATURE=p,null!=o.deviceKey&&(f.DEVICE_KEY=o.deviceKey);var g={ChallengeName:"PASSWORD_VERIFIER",ClientId:o.pool.getClientId(),ChallengeResponses:f,Session:c.Session,ClientMetadata:u};o.getUserContextData()&&(g.UserContextData=o.getUserContextData()),function t(e,n){return o.client.request("RespondToAuthChallenge",e,function(i,r){return i&&"ResourceNotFoundException"===i.code&&-1!==i.message.toLowerCase().indexOf("device")?(f.DEVICE_KEY=null,o.deviceKey=null,o.randomPassword=null,o.deviceGroupKey=null,o.clearCachedDeviceKeyAndPassword(),t(e,n)):n(i,r)})}(g,function(t,n){return t?e.onFailure(t):o.authenticateUserInternal(n,r,e)})})})})},e.authenticateUserPlainUsernamePassword=function(t,e){var n=this,i={};if(i.USERNAME=this.username,i.PASSWORD=t.getPassword(),i.PASSWORD){var o=new ic(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(i.DEVICE_KEY=this.deviceKey);var r=0!==Object.keys(t.getValidationData()).length?t.getValidationData():t.getClientMetadata(),a={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:i,ClientMetadata:r};this.getUserContextData(this.username)&&(a.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",a,function(t,i){return t?e.onFailure(t):n.authenticateUserInternal(i,o,e)})}else e.onFailure(new Error("PASSWORD parameter is required"))},e.authenticateUserInternal=function(t,e,n){var i=this,o=t.ChallengeName,r=t.ChallengeParameters;if("SMS_MFA"===o)return this.Session=t.Session,n.mfaRequired(o,r);if("SELECT_MFA_TYPE"===o)return this.Session=t.Session,n.selectMFAType(o,r);if("MFA_SETUP"===o)return this.Session=t.Session,n.mfaSetup(o,r);if("SOFTWARE_TOKEN_MFA"===o)return this.Session=t.Session,n.totpRequired(o,r);if("CUSTOM_CHALLENGE"===o)return this.Session=t.Session,n.customChallenge(r);if("NEW_PASSWORD_REQUIRED"===o){this.Session=t.Session;var a=null,s=null,c=[],l=e.getNewPasswordRequiredChallengeUserAttributePrefix();if(r&&(a=JSON.parse(t.ChallengeParameters.userAttributes),s=JSON.parse(t.ChallengeParameters.requiredAttributes)),s)for(var u=0;u<s.length;u++)c[u]=s[u].substr(l.length);return n.newPasswordRequired(a,c)}if("DEVICE_SRP_AUTH"===o)return this.Session=t.Session,void this.getDeviceResponse(n);this.signInUserSession=this.getCognitoUserSession(t.AuthenticationResult),this.challengeName=o,this.cacheTokens();var d=t.AuthenticationResult.NewDeviceMetadata;if(null==d)return n.onSuccess(this.signInUserSession);e.generateHashDevice(t.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,t.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(o){if(o)return n.onFailure(o);var r={Salt:Ns.lW.from(e.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:Ns.lW.from(e.getVerifierDevices(),"hex").toString("base64")};i.verifierDevices=r.PasswordVerifier,i.deviceGroupKey=d.DeviceGroupKey,i.randomPassword=e.getRandomPassword(),i.client.request("ConfirmDevice",{DeviceKey:d.DeviceKey,AccessToken:i.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:r,DeviceName:yc},function(e,o){return e?n.onFailure(e):(i.deviceKey=t.AuthenticationResult.
1NewDeviceMetadata.DeviceKey,i.cacheDeviceKeyAndPassword(),!0===o.UserConfirmationNecessary?n.onSuccess(i.signInUserSession,o.UserConfirmationNecessary):n.onSuccess(i.signInUserSession))})})},e.completeNewPasswordChallenge=function(t,e,n,i){var o=this;if(!t)return n.onFailure(new Error("New password is required."));var r=new ic(this.pool.getUserPoolName()),a=r.getNewPasswordRequiredChallengeUserAttributePrefix(),s={};e&&Object.keys(e).forEach(function(t){s[a+t]=e[t]}),s.NEW_PASSWORD=t,s.USERNAME=this.username;var c={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:s,Session:this.Session,ClientMetadata:i};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",c,function(t,e){return t?n.onFailure(t):o.authenticateUserInternal(e,r,n)})},e.getDeviceResponse=function(t,e){var n=this,i=new ic(this.deviceGroupKey),o=new fc,r={};r.USERNAME=this.username,r.DEVICE_KEY=this.deviceKey,i.getLargeAValue(function(a,s){a&&t.onFailure(a),r.SRP_A=s.toString(16);var c={ChallengeName:"DEVICE_SRP_AUTH",ClientId:n.pool.getClientId(),ChallengeResponses:r,ClientMetadata:e,Session:n.Session};n.getUserContextData()&&(c.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",c,function(e,r){if(e)return t.onFailure(e);var a=r.ChallengeParameters,s=new qs(a.SRP_B,16),c=new qs(a.SALT,16);i.getPasswordAuthenticationKey(n.deviceKey,n.randomPassword,s,c,function(e,i){if(e)return t.onFailure(e);var s=o.getNowString(),c=Ns.lW.concat([Ns.lW.from(n.deviceGroupKey,"utf8"),Ns.lW.from(n.deviceKey,"utf8"),Ns.lW.from(a.SECRET_BLOCK,"base64"),Ns.lW.from(s,"utf8")]),l=new zs.Sha256(i);l.update(c);var u=l.digestSync(),d=Ns.lW.from(u).toString("base64"),h={};h.USERNAME=n.username,h.PASSWORD_CLAIM_SECRET_BLOCK=a.SECRET_BLOCK,h.TIMESTAMP=s,h.PASSWORD_CLAIM_SIGNATURE=d,h.DEVICE_KEY=n.deviceKey;var p={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:n.pool.getClientId(),ChallengeResponses:h,Session:r.Session};n.getUserContextData()&&(p.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",p,function(e,i){return e?t.onFailure(e):(n.signInUserSession=n.getCognitoUserSession(i.AuthenticationResult),n.cacheTokens(),t.onSuccess(n.signInUserSession))})})})})},e.confirmRegistration=function(t,e,n,i){var o={ClientId:this.pool.getClientId(),ConfirmationCode:t,Username:this.username,ForceAliasCreation:e,ClientMetadata:i};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",o,function(t){return t?n(t,null):n(null,"SUCCESS")})},e.sendCustomChallengeAnswer=function(t,e,n){var i=this,o={};o.USERNAME=this.username,o.ANSWER=t;var r=new ic(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(o.DEVICE_KEY=this.deviceKey);var a={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:o,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:n};this.getUserContextData()&&(a.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",a,function(t,n){return t?e.onFailure(t):i.authenticateUserInternal(n,r,e)})},e.sendMFACode=function(t,e,n,i){var o=this,r={};r.USERNAME=this.username,r.SMS_MFA_CODE=t;var a=n||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===a&&(r.SOFTWARE_TOKEN_MFA_CODE=t),null!=this.deviceKey&&(r.DEVICE_KEY=this.deviceKey);var s={ChallengeName:a,ChallengeResponses:r,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:i};this.getUserContextData()&&(s.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",s,function(t,n){if(t)return e.onFailure(t);if("DEVICE_SRP_AUTH"!==n.ChallengeName){if(o.signInUserSession=o.getCognitoUserSession(n.AuthenticationResult),o.cacheTokens(),null==n.AuthenticationResult.NewDeviceMetadata)return e.onSuccess(o.signInUserSession);var i=new ic(o.pool.getUserPoolName());i.generateHashDevice(n.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,n.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(t){if(t)return e.onFailure(t);var r={Salt:Ns.lW.from(i.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:Ns.lW.from(i.getVerifierDevices(),"hex").toString("base64")};o.verifierDevices=r.PasswordVerifier,o.deviceGroupKey=n.AuthenticationResult.
1NewDeviceMetadata.DeviceGroupKey,o.randomPassword=i.getRandomPassword(),o.client.request("ConfirmDevice",{DeviceKey:n.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:o.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:r,DeviceName:yc},function(t,i){return t?e.onFailure(t):(o.deviceKey=n.AuthenticationResult.NewDeviceMetadata.DeviceKey,o.cacheDeviceKeyAndPassword(),!0===i.UserConfirmationNecessary?e.onSuccess(o.signInUserSession,i.UserConfirmationNecessary):e.onSuccess(o.signInUserSession))})})}else o.getDeviceResponse(e)})},e.changePassword=function(t,e,n,i){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:t,ProposedPassword:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:i},function(t){return t?n(t,null):n(null,"SUCCESS")})},e.enableMFA=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);var e=[];e.push({DeliveryMedium:"SMS",AttributeName:"phone_number"}),this.client.request("SetUserSettings",{MFAOptions:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?t(e,null):t(null,"SUCCESS")})},e.setUserMfaPreference=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:t,SoftwareTokenMfaSettings:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?n(t,null):n(null,"SUCCESS")})},e.disableMFA=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("SetUserSettings",{MFAOptions:[],AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?t(e,null):t(null,"SUCCESS")})},e.deleteUser=function(t,e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:e},function(e){return e?t(e,null):(n.clearCachedUser(),t(null,"SUCCESS"))})},e.updateAttributes=function(t,e,n){var i=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:t,ClientMetadata:n},function(t,n){return t?e(t,null):i.getUserData(function(){return e(null,"SUCCESS",n)},{bypassCache:!0})})},e.getUserAttributes=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e,n){if(e)return t(e,null);for(var i=[],o=0;o<n.UserAttributes.length;o++){var r=new gc({Name:n.UserAttributes[o].Name,Value:n.UserAttributes[o].Value});i.push(r)}return t(null,i)})},e.getMFAOptions=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e,n){return e?t(e,null):t(null,n.MFAOptions)})},e.createGetUserRequest=function(){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()})},e.refreshSessionIfPossible=function(t){var e=this;return void 0===t&&(t={}),new Promise(function(n){var i=e.signInUserSession.getRefreshToken();i&&i.getToken()?e.refreshSession(i,n,t.clientMetadata):n()})},e.getUserData=function(t,e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return this.clearCachedUserData(),t(new Error("User is not authenticated"),null);
1var i=this.getUserDataFromCache();if(i)if(this.isFetchUserDataAndTokenRequired(e))this.fetchUserData().then(function(t){return n.refreshSessionIfPossible(e).then(function(){return t})}).then(function(e){return t(null,e)}).catch(t);else try{return void t(null,JSON.parse(i))}catch(o){return this.clearCachedUserData(),void t(o,null)}else this.fetchUserData().then(function(e){t(null,e)}).catch(t)},e.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)},e.isFetchUserDataAndTokenRequired=function(t){var e=(t||{}).bypassCache;return void 0!==e&&e},e.fetchUserData=function(){var t=this;return this.createGetUserRequest().then(function(e){return t.cacheUserData(e),e})},e.deleteAttributes=function(t,e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?e(t,null):n.getUserData(function(){return e(null,"SUCCESS")},{bypassCache:!0})})},e.resendConfirmationCode=function(t,e){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:e};this.client.request("ResendConfirmationCode",n,function(e,n){return e?t(e,null):t(null,n)})},e.getSession=function(t,e){if(void 0===e&&(e={}),null==this.username)return t(new Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return t(null,this.signInUserSession);var n="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,i=n+".idToken",o=n+".accessToken",r=n+".refreshToken",a=n+".clockDrift";if(this.storage.getItem(i)){var s=new cc({IdToken:this.storage.getItem(i)}),c=new ac({AccessToken:this.storage.getItem(o)}),l=new lc({RefreshToken:this.storage.getItem(r)}),u=parseInt(this.storage.getItem(a),0)||0,d=new dc({IdToken:s,AccessToken:c,RefreshToken:l,ClockDrift:u});if(d.isValid())return this.signInUserSession=d,t(null,this.signInUserSession);if(!l.getToken())return t(new Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(l,t,e.clientMetadata)}else t(new Error("Local storage is missing an ID Token, Please authenticate"),null)},e.refreshSession=function(t,e,n){var i=this,o=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(e):e,r={};r.REFRESH_TOKEN=t.getToken();var a="CognitoIdentityServiceProvider."+this.pool.getClientId(),s=a+".LastAuthUser";this.storage.getItem(s)&&(this.username=this.storage.getItem(s),this.deviceKey=this.storage.getItem(a+"."+this.username+".deviceKey"),r.DEVICE_KEY=this.deviceKey);var c={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:r,ClientMetadata:n};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",c,function(e,n){if(e)return"NotAuthorizedException"===e.code&&i.clearCachedUser(),o(e,null);if(n){var r=n.AuthenticationResult;return Object.prototype.hasOwnProperty.call(r,"RefreshToken")||(r.RefreshToken=t.getToken()),i.signInUserSession=i.getCognitoUserSession(r),i.cacheTokens(),o(null,i.signInUserSession)}})},e.cacheTokens=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId(),e=t+"."+this.username+".accessToken",n=t+"."+this.username+".refreshToken",i=t+"."+this.username+".clockDrift",o=t+".LastAuthUser";this.storage.setItem(t+"."+this.username+".idToken",this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(e,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(n,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(i,""+this.signInUserSession.getClockDrift()),this.storage.setItem(o,this.username)},e.cacheUserData=function(t){this.storage.setItem(this.userDataKey,JSON.stringify(t))},e.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},e.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()},e.cacheDeviceKeyAndPassword=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,e=t+".randomPasswordKey",n=t+".deviceGroupKey";this.storage.setItem(t+".deviceKey",this.deviceKey),this.storage.setItem(e,this.randomPassword),this.storage.setItem(n,this.deviceGroupKey)},e.getCachedDeviceKeyAndPassword=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,e=t+".deviceKey",n=t+".randomPasswordKey",i=t+".deviceGroupKey";this.storage.getItem(e)&&(this.deviceKey=this.storage.getItem(e),this.randomPassword=this.storage.getItem(n),this.deviceGroupKey=this.storage.getItem(i))},e.clearCachedDeviceKeyAndPassword=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,e=t+".randomPasswordKey",n=t+".deviceGroupKey";this.storage.removeItem(t+".deviceKey"),this.storage.removeItem(e),this.storage.removeItem(n)},e.clearCachedTokens=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId(),e=t+"."+this.username+".accessToken",n=t+"."+this.username+".refreshToken",
1i=t+".LastAuthUser",o=t+"."+this.username+".clockDrift";this.storage.removeItem(t+"."+this.username+".idToken"),this.storage.removeItem(e),this.storage.removeItem(n),this.storage.removeItem(i),this.storage.removeItem(o)},e.getCognitoUserSession=function(t){var e=new cc(t),n=new ac(t),i=new lc(t);return new dc({IdToken:e,AccessToken:n,RefreshToken:i})},e.forgotPassword=function(t,e){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:e};this.getUserContextData()&&(n.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",n,function(e,n){return e?t.onFailure(e):"function"==typeof t.inputVerificationCode?t.inputVerificationCode(n):t.onSuccess(n)})},e.confirmPassword=function(t,e,n,i){var o={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:t,Password:e,ClientMetadata:i};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",o,function(t){return t?n.onFailure(t):n.onSuccess("SUCCESS")})},e.getAttributeVerificationCode=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:n},function(t,n){return t?e.onFailure(t):"function"==typeof e.inputVerificationCode?e.inputVerificationCode(n):e.onSuccess("SUCCESS")})},e.verifyAttribute=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:t,Code:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?n.onFailure(t):n.onSuccess("SUCCESS")})},e.getDevice=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},function(e,n){return e?t.onFailure(e):t.onSuccess(n)})},e.forgetSpecificDevice=function(t,e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:t},function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")})},e.forgetDevice=function(t){var e=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:t.onFailure,onSuccess:function(n){return e.deviceKey=null,e.deviceGroupKey=null,e.randomPassword=null,e.clearCachedDeviceKeyAndPassword(),t.onSuccess(n)}})},e.setDeviceStatusRemembered=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")})},e.setDeviceStatusNotRemembered=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")})},e.listDevices=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));var i={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:t};e&&(i.PaginationToken=e),this.client.request("ListDevices",i,function(t,e){return t?n.onFailure(t):n.onSuccess(e)})},e.globalSignOut=function(t){var e=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n){return n?t.onFailure(n):(e.clearCachedUser(),t.onSuccess("SUCCESS"))})},e.signOut=function(t){var e=this;
1t&&"function"==typeof t?this.getSession(function(n,i){if(n)return t(n);e.revokeTokens(function(n){e.cleanClientData(),t(n)})}):this.cleanClientData()},e.revokeTokens=function(t){if(void 0===t&&(t=function(){}),"function"!=typeof t)throw new Error("Invalid revokeTokenCallback. It should be a function.");if(!this.signInUserSession)return t(new Error("User is not authenticated"));if(!this.signInUserSession.getAccessToken())return t(new Error("No Access token available"));var e=this.signInUserSession.getRefreshToken().getToken(),n=this.signInUserSession.getAccessToken();if(this.isSessionRevocable(n)&&e)return this.revokeToken({token:e,callback:t});t()},e.isSessionRevocable=function(t){if(t&&"function"==typeof t.decodePayload)try{return!!t.decodePayload().origin_jti}catch(e){}return!1},e.cleanClientData=function(){this.signInUserSession=null,this.clearCachedUser()},e.revokeToken=function(t){var e=t.callback;this.client.requestWithRetry("RevokeToken",{Token:t.token,ClientId:this.pool.getClientId()},function(t){if(t)return e(t);e()})},e.sendMFASelectionAnswer=function(t,e){var n=this,i={};i.USERNAME=this.username,i.ANSWER=t;var o={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:i,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",o,function(i,o){return i?e.onFailure(i):(n.Session=o.Session,"SMS_MFA"===t?e.mfaRequired(o.ChallengeName,o.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===t?e.totpRequired(o.ChallengeName,o.ChallengeParameters):void 0)})},e.getUserContextData=function(){return this.pool.getUserContextData(this.username)},e.associateSoftwareToken=function(t){var e=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e,n){return e?t.onFailure(e):t.associateSecretCode(n.SecretCode)}):this.client.request("AssociateSoftwareToken",{Session:this.Session},function(n,i){return n?t.onFailure(n):(e.Session=i.Session,t.associateSecretCode(i.SecretCode))})},e.verifySoftwareToken=function(t,e,n){var i=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:t,FriendlyDeviceName:e},function(t,e){return t?n.onFailure(t):n.onSuccess(e)}):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:t,FriendlyDeviceName:e},function(t,e){if(t)return n.onFailure(t);i.Session=e.Session;var o={};o.USERNAME=i.username;var r={ChallengeName:"MFA_SETUP",ClientId:i.pool.getClientId(),ChallengeResponses:o,Session:i.Session};i.getUserContextData()&&(r.UserContextData=i.getUserContextData()),i.client.request("RespondToAuthChallenge",r,function(t,e){return t?n.onFailure(t):(i.signInUserSession=i.getCognitoUserSession(e.AuthenticationResult),i.cacheTokens(),n.onSuccess(i.signInUserSession))})})},t}();function bc(){}bc.prototype.userAgent="aws-amplify/5.0.4";var Oc=function(t){bc.framework=t};function Pc(t){var e="function"==typeof Map?new Map:void 0;return Pc=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return wc(t,arguments,kc(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),xc(n,t)},Pc(t)}function wc(t,e,n){return(wc=Mc()?Reflect.construct.bind():function(t,e,n){var i=[null];i.push.apply(i,e);var o=new(Function.bind.apply(t,i));return n&&xc(o,n.prototype),o}).apply(null,arguments)}function Mc(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(c){return!1}}
1function xc(t,e){return(xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function kc(t){return(kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Sc=function(t){function e(e,n,i,o){var r;return(r=t.call(this,e)||this).code=n,r.name=i,r.statusCode=o,r}return function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,xc(t,e)}(e,t),e}(Pc(Error)),Ac=function(){function t(t,e,n){this.endpoint=e||"https://cognito-idp."+t+".amazonaws.com/";var i=(n||{}).credentials;this.fetchOptions=i?{credentials:i}:{}}var e=t.prototype;return e.promisifyRequest=function(t,e){var n=this;return new Promise(function(i,o){n.request(t,e,function(t,e){t?o(new Sc(t.message,t.code,t.name,t.statusCode)):i(e)})})},e.requestWithRetry=function(t,e,n){var i=this;(function(e,n,o){return void 0===o&&(o=3e5),Tc(function(e){return new Promise(function(n,o){i.request(t,e,function(t,e){t?o(t):n(e)})})},n,function(t){return function(e){var n=100*Math.pow(2,e)+100*Math.random();return!(n>t)&&n}}(o))})(0,[e],5e3).then(function(t){return n(null,t)}).catch(function(t){return n(t)})},e.request=function(t,e,n){var i,o=Object.assign({},this.fetchOptions,{headers:{"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+t,"X-Amz-User-Agent":bc.prototype.userAgent+(bc.category?" "+bc.category:"")+(bc.framework?" framework/"+bc.framework:""),"Cache-Control":"no-store"},method:"POST",mode:"cors",body:JSON.stringify(e)});fetch(this.endpoint,o).then(function(t){return i=t,t},function(t){throw t instanceof TypeError?new Error("Network error"):t}).then(function(t){return t.json().catch(function(){return{}})}).then(function(t){if(i.ok)return n(null,t);var e=(t.__type||t.code).split("#").pop(),o=new Error(t.message||t.Message||null);return o.name=e,o.code=e,n(o)}).catch(function(t){if(i&&i.headers&&i.headers.get("x-amzn-errortype"))try{var e=i.headers.get("x-amzn-errortype").split(":")[0],o=new Error(i.status?i.status.toString():null);return o.code=e,o.name=e,o.statusCode=i.status,n(o)}catch(r){return n(t)}else t instanceof Error&&"Network error"===t.message&&(t.code="NetworkError");return n(t)})},t}();function Tc(t,e,n,i){if(void 0===i&&(i=1),"function"!=typeof t)throw Error("functionToRetry must be a function");return JSON.stringify(e),t.apply(void 0,e).catch(function(o){if(function(t){return t&&t.nonRetryable}(o))throw o;var r=n(i,e,o);if(!1!==r)return new Promise(function(t){return setTimeout(t,r)}).then(function(){return Tc(t,e,n,i+1)});throw o})}Error;var Ic=function(){function t(t,e){var n=t||{},i=n.UserPoolId,o=n.ClientId,r=n.endpoint,a=n.fetchOptions,s=n.AdvancedSecurityDataCollectionFlag;if(!i||!o)throw new Error("Both UserPoolId and ClientId are required.");if(i.length>55||!/^[\w-]+_[0-9a-zA-Z]+$/.test(i))throw new Error("Invalid UserPoolId format.");var c=i.split("_")[0];this.userPoolId=i,this.clientId=o,this.client=new Ac(c,r,a),this.advancedSecurityDataCollectionFlag=!1!==s,this.storage=t.Storage||(new vc).getStorage(),e&&(this.wrapRefreshSessionCallback=e)}var e=t.prototype;return e.getUserPoolId=function(){return this.userPoolId},e.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},e.getClientId=function(){return this.clientId},e.signUp=function(t,e,n,i,o,r){var a=this,s={ClientId:this.clientId,Username:t,Password:e,UserAttributes:n,ValidationData:i,ClientMetadata:r};this.getUserContextData(t)&&(s.UserContextData=this.getUserContextData(t)),this.client.request("SignUp",s,function(e,n){if(e)return o(e,null);var i={user:new Cc({Username:t,Pool:a,Storage:a.storage}),userConfirmed:n.UserConfirmed,userSub:n.UserSub,codeDeliveryDetails:n.CodeDeliveryDetails};return o(null,i)})},e.getCurrentUser=function(){var t=this.storage.getItem("CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser");return t?new Cc({Username:t,Pool:this,Storage:this.storage}):null},e.getUserContextData=function(t){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){var e=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var n=e.getData(t,this.userPoolId,this.clientId);if(n)return{EncodedData:n}}return{}}},t}(),Ec=n(17530),Dc=function(){function t(t){if(void 0===t&&(t={}),t.domain&&(this.domain=t.domain),this.path=t.path?t.path:"/",this.expires=Object.prototype.hasOwnProperty.call(t,"expires")?t.expires:365,this.secure=!Object.prototype.hasOwnProperty.call(t,"secure")||t.secure,Object.prototype.hasOwnProperty.call(t,"sameSite")){if(!["strict","lax","none"].includes(t.sameSite))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===t.sameSite&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=t.sameSite}else this.sameSite=null}var e=t.prototype;return e.setItem=function(t,e){var n={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(n.sameSite=this.sameSite),Ec.set(t,e,n),Ec.get(t)},e.getItem=function(t){return Ec.get(t)},e.removeItem=function(t){var e={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(e.sameSite=this.sameSite),Ec.remove(t,e)},e.clear=function(){for(var t=Ec.get(),e=Object.keys(t).length,n=0;n<e;++n)this.removeItem(Object.keys(t)[n]);return{}},t}(),Rc=n(60944),Fc=function(t){var e=window.open(t,"_self");return e?Promise.resolve(e):Promise.reject()},Lc=n(64100),Zc=("undefined"!=typeof Symbol&&"function"==typeof Symbol.for&&Symbol.for("INT
1ERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER"),"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default"),Nc=function(t,e,n){Wr.dispatch("auth",{event:t,data:e,message:n},"Auth",Zc)},Uc=new zr("OAuth"),Vc=function(){function t(t){var e=t.config,n=t.cognitoClientId,i=t.scopes,o=void 0===i?[]:i;if(this._urlOpener=e.urlOpener||Fc,this._config=e,this._cognitoClientId=n,!this.isValidScopes(o))throw Error("scopes must be a String Array");this._scopes=o}return t.prototype.isValidScopes=function(t){return Array.isArray(t)&&t.every(function(t){return"string"==typeof t})},t.prototype.oauthSignIn=function(t,e,n,i,o,r){void 0===t&&(t="code"),void 0===o&&(o=Er.Cognito);var a=this._generateState(32),s=r?a+"-"+function(t){return t.split("").map(function(t){return t.charCodeAt(0).toString(16).padStart(2,"0")}).join("")}(r):a;!function(t){window.sessionStorage.setItem("oauth_state",t)}(s);var c=this._generateRandom(128);!function(t){window.sessionStorage.setItem("ouath_pkce_key",t)}(c);var l=this._generateChallenge(c),u=this._scopes.join(" "),d="https://"+e+"/oauth2/authorize?"+Object.entries(Sr(Sr({redirect_uri:n,response_type:t,client_id:i,identity_provider:o,scope:u,state:s},"code"===t?{code_challenge:l}:{}),"code"===t?{code_challenge_method:"S256"}:{})).map(function(t){var e=Ir(t,2),n=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(n)}).join("&");Uc.debug("Redirecting to "+d),this._urlOpener(d,n)},t.prototype._handleCodeFlow=function(t){return Ar(this,void 0,void 0,function(){var e,n,i,o,r,a,s,c,l,u,d,h,p,f,g;return Tr(this,function(_){switch(_.label){case 0:return e=((0,Rc.Qc)(t).query||"").split("&").map(function(t){return t.split("=")}).reduce(function(t,e){var n,i=Ir(e,2),o=i[0],r=i[1];return Sr(Sr({},t),((n={})[o]=r,n))},{code:void 0}).code,n=(0,Rc.Qc)(t).pathname||"/",i=(0,Rc.Qc)(this._config.redirectSignIn).pathname||"/",e&&n===i?(Nc("codeFlow",{},"Retrieving tokens from "+(o="https://"+this._config.domain+"/oauth2/token")),r=Rr(this._config)?this._cognitoClientId:this._config.clientID,a=Rr(this._config)?this._config.redirectSignIn:this._config.redirectUri,s=function(){var t=window.sessionStorage.getItem("ouath_pkce_key");return window.sessionStorage.removeItem("ouath_pkce_key"),t}(),c=Sr({grant_type:"authorization_code",code:e,client_id:r,redirect_uri:a},s?{code_verifier:s}:{}),Uc.debug("Calling token endpoint: "+o+" with",c),l=Object.entries(c).map(function(t){var e=Ir(t,2),n=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(n)}).join("&"),[4,fetch(o,{method:"POST",headers:(g={"Content-Type":"application/x-www-form-urlencoded"},g["x-amz-user-agent"]=cs({category:Ga.Auth,action:Ha.FederatedSignIn}),g),body:l})]):[2];case 1:return[4,_.sent().json()];case 2:if(u=_.sent(),d=u.access_token,h=u.refresh_token,p=u.id_token,f=u.error)throw new Error(f);return[2,{accessToken:d,refreshToken:h,idToken:p}]}})})},t.prototype._handleImplicitFlow=function(t){return Ar(this,void 0,void 0,function(){var e,n,i;return Tr(this,function(o){return e=((0,Rc.Qc)(t).hash||"#").substr(1).split("&").map(function(t){return t.split("=")}).reduce(function(t,e){var n,i=Ir(e,2),o=i[0],r=i[1];return Sr(Sr({},t),((n={})[o]=r,n))},{id_token:void 0,access_token:void 0}),n=e.id_token,i=e.access_token,Nc("implicitFlow",{},"Got tokens from "+t),Uc.debug("Retrieving implicit tokens from "+t+" with"),[2,{accessToken:i,idToken:n,refreshToken:null}]})})},t.prototype.handleAuthResponse=function(t){return Ar(this,void 0,void 0,function(){var e,n,i,o,r,a;return Tr(this,function(s){switch(s.label){case 0:if(s.trys.push([0,5,,6]),e=t?Sr(Sr({},((0,Rc.Qc)(t).hash||"#").substr(1).split("&").map(function(t){return t.split("=")}).reduce(function(t,e){var n=Ir(e,2);return t[n[0]]=n[1],t},{})),((0,Rc.Qc)(t).query||"").split("&").map(function(t){return t.split("=")}).reduce(function(t,e){var n=Ir(e,2);return t[n[0]]=n[1],t},{})):{},n=e.error_description,e.error)throw new Error(n);return i=this._validateState(e),Uc.debug("Starting "+this._config.responseType+" flow with "+t),"code"!==this._config.responseType?[3,2]:(o=[{}
1],[4,this._handleCodeFlow(t)]);case 1:return[2,Sr.apply(void 0,[Sr.apply(void 0,o.concat([s.sent()])),{state:i}])];case 2:return r=[{}],[4,this._handleImplicitFlow(t)];case 3:return[2,Sr.apply(void 0,[Sr.apply(void 0,r.concat([s.sent()])),{state:i}])];case 4:return[3,6];case 5:throw a=s.sent(),Uc.debug("Error handling auth response.",a),a;case 6:return[2]}})})},t.prototype._validateState=function(t){if(t){var e=function(){var t=window.sessionStorage.getItem("oauth_state");return window.sessionStorage.removeItem("oauth_state"),t}(),n=t.state;if(e&&e!==n)throw new Error("Invalid state in OAuth flow");return n}},t.prototype.signOut=function(){return Ar(this,void 0,void 0,function(){var t,e,n;return Tr(this,function(i){return t="https://"+this._config.domain+"/logout?",e=Rr(this._config)?this._cognitoClientId:this._config.oauth.clientID,n=Rr(this._config)?this._config.redirectSignOut:this._config.returnTo,t+=Object.entries({client_id:e,logout_uri:encodeURIComponent(n)}).map(function(t){var e=Ir(t,2);return e[0]+"="+e[1]}).join("&"),Nc("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+t),Uc.debug("Signing out from "+t),[2,this._urlOpener(t,n)]})})},t.prototype._generateState=function(t){for(var e="",n=t,i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";n>0;--n)e+=i[Math.round(Math.random()*(i.length-1))];return e},t.prototype._generateChallenge=function(t){var e=new zs.Sha256;e.update(t);var n=e.digestSync(),i=Lc.lW.from(n).toString("base64");return this._base64URL(i)},t.prototype._base64URL=function(t){return t.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},t.prototype._generateRandom=function(t){var e=new Uint8Array(t);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(e);else for(var n=0;n<t;n+=1)e[n]=Math.random()*"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~".length|0;return this._bufferToString(e)},t.prototype._bufferToString=function(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],i=0;i<t.byteLength;i+=1)n.push(e[t[i]%e.length]);return n.join("")},t}(),jc=Vc,zc=(function(t){t.DEFAULT_MSG="Authentication Error",t.EMPTY_EMAIL="Email cannot be empty",t.EMPTY_PHONE="Phone number cannot be empty",t.EMPTY_USERNAME="Username cannot be empty",t.INVALID_USERNAME="The username should either be a string or one of the sign in types",t.EMPTY_PASSWORD="Password cannot be empty",t.EMPTY_CODE="Confirmation code cannot be empty",t.SIGN_UP_ERROR="Error creating account",t.NO_MFA="No valid MFA method provided",t.INVALID_MFA="Invalid MFA type",t.EMPTY_CHALLENGE="Challenge response cannot be empty",t.NO_USER_SESSION="Failed to get the session because the user is empty",t.NETWORK_ERROR="Network Error",t.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",t.AUTOSIGNIN_ERROR="Please use your credentials to sign in"}(zc||(zc={})),zc),qc=new zr("AuthError"),Bc=function(t){function e(n){var i=this,o=Gc[n],r=o.message,a=o.log;return(i=t.call(this,r)||this).constructor=e,Object.setPrototypeOf(i,e.prototype),i.name="AuthError",i.log=a||r,qc.error(i.log),i}return kr(e,t),e}(Error),Yc=function(t){function e(n){var i=t.call(this,n)||this;return i.constructor=e,Object.setPrototypeOf(i,e.prototype),i.name="NoUserPoolError",i}return kr(e,t),e}(Bc),Gc={noConfig:{message:zc.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly.\n            This error is typically caused by one of the following scenarios:\n\n            1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n                See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n            \n            2. There might be multiple conflicting versions of amplify packages in your node_modules.\n\t\t\t\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n        "},missingAuthConfig:{message:zc.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly. \n            The configuration object is missing required auth properties.\n            This error is typically caused by one of the following scenarios:\n\n            1. Did you run `amplify push` after adding auth via `amplify add auth`?\n                See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n            2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n        "},emptyUsername:{message:zc.EMPTY_USERNAME},invalidUsername:{message:zc.INVALID_USERNAME},emptyPassword:{message:zc.EMPTY_PASSWORD},emptyCode:{message:zc.EMPTY_CODE},signUpError:{message:zc.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:zc.NO_MFA},invalidMFA:{message:zc.INVALID_MFA},emptyChallengeResponse:{message:zc.EMPTY_CHALLENGE},noUserSession:{message:zc.NO_USER_SESSION},deviceConfig:{message:zc.DEVICE_CONFIG}
1,networkError:{message:zc.NETWORK_ERROR},autoSignInError:{message:zc.AUTOSIGNIN_ERROR},default:{message:zc.DEFAULT_MSG}},Hc=new zr("AuthClass"),Jc="aws.cognito.signin.user.admin",Wc="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Qc=function(t,e,n){Wr.dispatch("auth",{event:t,data:e,message:n},"Auth",Wc)},Kc=function(){function t(t){var e=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.inflightSessionPromise=null,this.inflightSessionPromiseCounter=0,this.Credentials=ks,this.wrapRefreshSessionCallback=function(t){return function(e,n){return n?Qc("tokenRefresh",void 0,"New token retrieved"):Qc("tokenRefresh_failure",e,"Failed to retrieve new token"),t(e,n)}},this.configure(t),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),Wr.listen("auth",function(t){switch(t.payload.event){case"verify":case"signIn":e._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":e._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":e._storage.setItem("amplify-signin-with-hostedUI","true")}}),bc.category="auth",Oc(ss.framework),ss.observeFrameworkChanges(function(){Oc(ss.framework)})}return t.prototype.getModuleName=function(){return"Auth"},t.prototype.configure=function(t){var e=this;if(!t)return this._config||{};Hc.debug("configure Auth");var n=Object.assign({},this._config,Cs(t).Auth,t);this._config=n;var i=this._config,o=i.userPoolId,r=i.userPoolWebClientId,a=i.cookieStorage,s=i.oauth,c=i.region,l=i.identityPoolId,u=i.mandatorySignIn,d=i.refreshHandlers,h=i.identityPoolRegion,p=i.clientMetadata,f=i.endpoint,g=i.storage;if(g){if(!this._isValidAuthStorage(g))throw Hc.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=g}else this._storage=a?new Dc(a):t.ssr?new Ls:(new Xr).getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),o){var _={UserPoolId:o,ClientId:r,endpoint:f};_.Storage=this._storage,this.userPool=new Ic(_,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:u,region:c,userPoolId:o,identityPoolId:l,refreshHandlers:d,storage:this._storage,identityPoolRegion:h});var m=s?Rr(this._config.oauth)?s:s.awsCognito:void 0;if(m){var v=Object.assign({cognitoClientId:r,UserPoolId:o,domain:m.domain,scopes:m.scope,redirectSignIn:m.redirectSignIn,redirectSignOut:m.redirectSignOut,responseType:m.responseType,Storage:this._storage,urlOpener:m.urlOpener,clientMetadata:p},m.options);this._oAuthHandler=new jc({scopes:v.scopes,config:v,cognitoClientId:v.cognitoClientId});var y={};!function(t){if($r().isBrowser&&window.location)n={url:window.location.href},y[i=n.url]||(y[i]=!0,e._handleAuthResponse(i));else if(!$r().isNode)throw new Error("Not supported");var n,i}()}return Qc("configured",null,"The Auth category has been configured successfully"),this.autoSignInInitiated||"function"!=typeof this._storage.getItem||(this.isTrueStorageValue("amplify-polling-started")&&(Qc("autoSignIn_failure",null,Lr.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started")),this._config},t.prototype.signUp=function(t){for(var e=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o,r,a;
1if(!this.userPool)return this.rejectNoUserPool();var s,c=null,l=null,u=[],d=null,h={enabled:!1},p={},f={};if(t&&"string"==typeof t){c=t,l=n?n[0]:null;var g=n?n[1]:null,_=n?n[2]:null;g&&u.push(new gc({Name:"email",Value:g})),_&&u.push(new gc({Name:"phone_number",Value:_}))}else{if(!t||"object"!=typeof t)return this.rejectAuthError(Lr.SignUpError);c=t.username,l=t.password,t&&t.clientMetadata?s=t.clientMetadata:this._config.clientMetadata&&(s=this._config.clientMetadata);var m=t.attributes;m&&Object.keys(m).map(function(t){u.push(new gc({Name:t,Value:m[t]}))});var v=t.validationData;v&&(d=[],Object.keys(v).map(function(t){d.push(new gc({Name:t,Value:v[t]}))})),(h=null!==(o=t.autoSignIn)&&void 0!==o?o:{enabled:!1}).enabled&&(this._storage.setItem("amplify-auto-sign-in","true"),p=null!==(r=h.validationData)&&void 0!==r?r:{},f=null!==(a=h.clientMetaData)&&void 0!==a?a:{})}return c?l?(Hc.debug("signUp attrs:",u),Hc.debug("signUp validation data:",d),new Promise(function(t,n){e.userPool.signUp(c,l,u,d,function(i,o){i?(Qc("signUp_failure",i,c+" failed to signup"),n(i)):(Qc("signUp",o,c+" has signed up successfully"),h.enabled&&e.handleAutoSignIn(c,l,p,f,o),t(o))},s)})):this.rejectAuthError(Lr.EmptyPassword):this.rejectAuthError(Lr.EmptyUsername)}
1,t.prototype.handleAutoSignIn=function(t,e,n,i,o){this.autoSignInInitiated=!0;var r=new Zs({Username:t,Password:e,ValidationData:n,ClientMetadata:i});o.userConfirmed?this.signInAfterUserConfirmed(r):"link"===this._config.signUpVerificationMethod?this.handleLinkAutoSignIn(r):this.handleCodeAutoSignIn(r)},t.prototype.handleCodeAutoSignIn=function(t){var e=this;Wr.listen("auth",function n(i){"confirmSignUp"===i.payload.event&&e.signInAfterUserConfirmed(t,n)})},t.prototype.handleLinkAutoSignIn=function(t){var e=this;this._storage.setItem("amplify-polling-started","true");var n=Date.now(),i=setInterval(function(){Date.now()-n>18e4?(clearInterval(i),Qc("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),e._storage.removeItem("amplify-auto-sign-in")):e.signInAfterUserConfirmed(t,null,i)},5e3)},t.prototype.signInAfterUserConfirmed=function(t,e,n){return Ar(this,void 0,void 0,function(){var i,o,r=this;return Tr(this,function(a){switch(a.label){case 0:i=this.createCognitoUser(t.getUsername()),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,i.authenticateUser(t,this.authCallbacks(i,function(i){Qc("autoSignIn",i,t.getUsername()+" has signed in successfully"),e&&Wr.remove("auth",e),n&&(clearInterval(n),r._storage.removeItem("amplify-polling-started")),r._storage.removeItem("amplify-auto-sign-in")},function(t){Hc.error(t),r._storage.removeItem("amplify-auto-sign-in")}))];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),Hc.error(o),[3,4];case 4:return[2]}})})},t.prototype.confirmSignUp=function(t,e,n){var i=this;if(!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(Lr.EmptyUsername);if(!e)return this.rejectAuthError(Lr.EmptyCode);var o,r=this.createCognitoUser(t),a=!n||"boolean"!=typeof n.forceAliasCreation||n.forceAliasCreation;return n&&n.clientMetadata?o=n.clientMetadata:this._config.clientMetadata&&(o=this._config.clientMetadata),new Promise(function(n,s){r.confirmRegistration(e,a,function(e,o){e?s(e):(Qc("confirmSignUp",o,t+" has been confirmed successfully"),i.isTrueStorageValue("amplify-auto-sign-in")&&!i.autoSignInInitiated&&(Qc("autoSignIn_failure",null,Lr.AutoSignInError),i._storage.removeItem("amplify-auto-sign-in")),n(o))},o)})},t.prototype.isTrueStorageValue=function(t){var e=this._storage.getItem(t);return!!e&&"true"===e},t.prototype.resendSignUp=function(t,e){if(void 0===e&&(e=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(Lr.EmptyUsername);var n=this.createCognitoUser(t);return new Promise(function(t,i){n.resendConfirmationCode(function(e,n){e?i(e):t(n)},e)})},t.prototype.signIn=function(t,e,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var i=null,o=null,r={};if("string"==typeof t)i=t,o=e;else{if(!function(t){return!!t.username}(t))return this.rejectAuthError(Lr.InvalidUsername);void 0!==e&&Hc.warn("The password should be defined under the first parameter object!"),i=t.username,o=t.password,r=t.validationData}if(!i)return this.rejectAuthError(Lr.EmptyUsername);var a=new Zs({Username:i,Password:o,ValidationData:r,ClientMetadata:n});return o?this.signInWithPassword(a):this.signInWithoutPassword(a)},t.prototype.authCallbacks=function(t,e,n){var i=this,o=this;return{onSuccess:function(r){return Ar(i,void 0,void 0,function(){var i,a,s,c;return Tr(this,function(l){switch(l.label){case 0:Hc.debug(r),delete t.challengeName,delete t.challengeParam,l.label=1;case 1:return l.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return l.sent(),[4,this.Credentials.set(r,"session")];case 3:return i=l.sent(),Hc.debug("succeed to get cognito credentials",i),[3,9];case 4:return a=l.sent(),Hc.debug("cannot get cognito credentials",a),[3,9];case 5:return l.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return s=l.sent(),o.user=s,Qc("signIn",s,"A user "+t.getUsername()+" has been signed in"),e(s),[3,8];case 7:return c=l.sent(),Hc.error("Failed to get the signed in user",c),n(c),[3,8];case 8:return[7];case 9:return[2]}})})},onFailure:function(e){Hc.debug("signIn failure",e),Qc("signIn_failure",e,t.getUsername()+" failed to signin"),n(e)},customChallenge:function(n){Hc.debug("signIn custom challenge answer required"),t.challengeName="CUSTOM_CHALLENGE",t.challengeParam=n,e(t)},mfaRequired:function(n,i){Hc.debug("signIn MFA required"),t.challengeName=n,t.challengeParam=i,e(t)},mfaSetup:function(n,i){Hc.debug("signIn mfa setup",n),t.challengeName=n,t.challengeParam=i,e(t)},newPasswordRequired:function(n,i){Hc.debug("signIn new password"),t.challengeName="NEW_PASSWORD_REQUIRED",t.challengeParam={userAttributes:n,requiredAttributes:i},e(t)}
1,totpRequired:function(n,i){Hc.debug("signIn totpRequired"),t.challengeName=n,t.challengeParam=i,e(t)},selectMFAType:function(n,i){Hc.debug("signIn selectMFAType",n),t.challengeName=n,t.challengeParam=i,e(t)}}},t.prototype.signInWithPassword=function(t){var e=this;if(this.pendingSignIn)throw new Error("Pending sign-in attempt already in progress");var n=this.createCognitoUser(t.getUsername());return this.pendingSignIn=new Promise(function(i,o){n.authenticateUser(t,e.authCallbacks(n,function(t){e.pendingSignIn=null,i(t)},function(t){e.pendingSignIn=null,o(t)}))}),this.pendingSignIn},t.prototype.signInWithoutPassword=function(t){var e=this,n=this.createCognitoUser(t.getUsername());return n.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(i,o){n.initiateAuth(t,e.authCallbacks(n,i,o))})},t.prototype.getMFAOptions=function(t){return new Promise(function(e,n){t.getMFAOptions(function(t,i){if(t)return Hc.debug("get MFA Options failed",t),void n(t);Hc.debug("get MFA options success",i),e(i)})})},t.prototype.getPreferredMFA=function(t,e){var n=this,i=this;return new Promise(function(o,r){t.getUserData(function(e,a){return Ar(n,void 0,void 0,function(){var n,s;return Tr(this,function(c){switch(c.label){case 0:if(!e)return[3,5];if(Hc.debug("getting preferred mfa failed",e),!this.isSessionInvalid(e))return[3,4];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return c.sent(),[3,4];case 3:return n=c.sent(),r(new Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+n.message)),[2];case 4:return r(e),[2];case 5:return(s=i._getMfaTypeFromUserData(a))?(o(s),[2]):(r("invalid MFA Type"),[2])}})})},{bypassCache:!!e&&e.bypassCache,clientMetadata:n._config.clientMetadata})})},t.prototype._getMfaTypeFromUserData=function(t){var e=null,n=t.PreferredMfaSetting;if(n)e=n;else{var i=t.UserMFASettingList;i?0===i.length?e="NOMFA":Hc.debug("invalid case for getPreferredMFA",t):e=t.MFAOptions?"SMS_MFA":"NOMFA"}return e},t.prototype._getUserData=function(t,e){var n=this;return new Promise(function(i,o){t.getUserData(function(e,r){return Ar(n,void 0,void 0,function(){var n;return Tr(this,function(a){switch(a.label){case 0:if(!e)return[3,5];if(Hc.debug("getting user data failed",e),!this.isSessionInvalid(e))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return a.sent(),[3,4];case 3:return n=a.sent(),o(new Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+n.message)),[2];case 4:return o(e),[2];case 5:i(r),a.label=6;case 6:return[2]}})})},e)})},t.prototype.setPreferredMFA=function(t,e){return Ar(this,void 0,void 0,function(){var n,i,o,r,a,s,c=this;return Tr(this,function(l){switch(l.label){case 0:return[4,this._getUserData(t,{bypassCache:!0,clientMetadata:n=this._config.clientMetadata})];case 1:switch(i=l.sent(),o=null,r=null,e){case"TOTP":case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return r={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return o={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return a=i.UserMFASettingList,[4,this._getMfaTypeFromUserData(i)];case 5:if("NOMFA"===(s=l.sent()))return[2,Promise.resolve("No change for mfa type")];if("SMS_MFA"===s)o={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==s)return[2,this.rejectAuthError(Lr.InvalidMFA)];r={PreferredMfa:!1,Enabled:!1}}return a&&0!==a.length&&a.forEach(function(t){"SMS_MFA"===t?o={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===t&&(r={PreferredMfa:!1,Enabled:!1})}),[3,7];case 6:return Hc.debug("no validmfa method provided"),[2,this.rejectAuthError(Lr.NoMFA)];case 7:return[2,new Promise(function(e,i){t.setUserMfaPreference(o,r,function(o,r){if(o)return Hc.debug("Set user mfa preference error",o),i(o);Hc.debug("Set user mfa success",r),Hc.debug("Caching the latest user data into local"),t.getUserData(function(n,o){return Ar(c,void 0,void 0,function(){var o;return Tr(this,function(a){switch(a.label){case 0:if(!n)return[3,5];if(Hc.debug("getting user data failed",n),!this.isSessionInvalid(n))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return a.sent(),[3,4];
1case 3:return o=a.sent(),i(new Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,i(n)];case 5:return[2,e(r)]}})})},{bypassCache:!0,clientMetadata:n})})})]}})})},t.prototype.disableSMS=function(t){return new Promise(function(e,n){t.disableMFA(function(t,i){if(t)return Hc.debug("disable mfa failed",t),void n(t);Hc.debug("disable mfa succeed",i),e(i)})})},t.prototype.enableSMS=function(t){return new Promise(function(e,n){t.enableMFA(function(t,i){if(t)return Hc.debug("enable mfa failed",t),void n(t);Hc.debug("enable mfa succeed",i),e(i)})})},t.prototype.setupTOTP=function(t){return new Promise(function(e,n){t.associateSoftwareToken({onFailure:function(t){Hc.debug("associateSoftwareToken failed",t),n(t)},associateSecretCode:function(t){Hc.debug("associateSoftwareToken success",t),e(t)}})})},t.prototype.verifyTotpToken=function(t,e){var n;Hc.debug("verification totp token",t,e),t&&"function"==typeof t.getSignInUserSession&&(n=t.getSignInUserSession());var i=null==n?void 0:n.isValid();return new Promise(function(n,o){t.verifySoftwareToken(e,"My TOTP device",{onFailure:function(t){Hc.debug("verifyTotpToken failed",t),o(t)},onSuccess:function(e){i||Qc("signIn",t,"A user "+t.getUsername()+" has been signed in"),Qc("verify",t,"A user "+t.getUsername()+" has been verified"),Hc.debug("verifyTotpToken success",e),n(e)}})})},t.prototype.confirmSignIn=function(t,e,n,i){var o=this;if(void 0===i&&(i=this._config.clientMetadata),!e)return this.rejectAuthError(Lr.EmptyCode);var r=this;return new Promise(function(a,s){t.sendMFACode(e,{onSuccess:function(e){return Ar(o,void 0,void 0,function(){var n,i,o,s;return Tr(this,function(c){switch(c.label){case 0:Hc.debug(e),c.label=1;case 1:return c.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return c.sent(),[4,this.Credentials.set(e,"session")];case 3:return n=c.sent(),Hc.debug("succeed to get cognito credentials",n),[3,10];case 4:return i=c.sent(),Hc.debug("cannot get cognito credentials",i),[3,10];case 5:r.user=t,c.label=6;case 6:return c.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return o=c.sent(),t.attributes=o.attributes,[3,9];case 8:return s=c.sent(),Hc.debug("cannot get updated Cognito User",s),[3,9];case 9:return Qc("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 10:return[2]}})})},onFailure:function(t){Hc.debug("confirm signIn failure",t),s(t)}},n,i)})},t.prototype.completeNewPassword=function(t,e,n,i){var o=this;if(void 0===n&&(n={}),void 0===i&&(i=this._config.clientMetadata),!e)return this.rejectAuthError(Lr.EmptyPassword);var r=this;return new Promise(function(a,s){t.completeNewPasswordChallenge(e,n,{onSuccess:function(e){return Ar(o,void 0,void 0,function(){var n,i;return Tr(this,function(o){switch(o.label){case 0:Hc.debug(e),o.label=1;case 1:return o.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return o.sent(),[4,this.Credentials.set(e,"session")];case 3:return n=o.sent(),Hc.debug("succeed to get cognito credentials",n),[3,6];case 4:return i=o.sent(),Hc.debug("cannot get cognito credentials",i),[3,6];case 5:return r.user=t,Qc("signIn",t,"A user "+t.getUsername()+" has been signed in"),a(t),[7];case 6:return[2]}})})},onFailure:function(t){Hc.debug("completeNewPassword failure",t),Qc("completeNewPassword_failure",t,o.user+" failed to complete the new password flow"),s(t)},mfaRequired:function(e,n){Hc.debug("signIn MFA required"),t.challengeName=e,t.challengeParam=n,a(t)},mfaSetup:function(e,n){Hc.debug("signIn mfa setup",e),t.challengeName=e,t.challengeParam=n,a(t)},totpRequired:function(e,n){Hc.debug("signIn mfa setup",e),t.challengeName=e,t.challengeParam=n,a(t)}},i)})},t.prototype.sendCustomChallengeAnswer=function(t,e,n){var i=this;return void 0===n&&(n=this._config.clientMetadata),this.userPool?e?new Promise(function(o,r){t.sendCustomChallengeAnswer(e,i.authCallbacks(t,o,r),n)}):this.rejectAuthError(Lr.EmptyChallengeResponse):this.rejectNoUserPool()},t.prototype.deleteUserAttributes=function(t,e){var n=this;return new Promise(function(i,o){n.userSession(t).then(function(n){t.deleteAttributes(e,function(t,e){return t?o(t):i(e)})})})},t.prototype.deleteUser=function(){return Ar(this,void 0,void 0,function(){var t,e,n=this;return Tr(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this._storageSync];case 1:return i.sent(),[3,3];case 2:throw t=i.sent(),Hc.debug("Failed to sync cache info into memory",t),new Error(t);case 3:return e=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(t,i){return Ar(n,void 0,void 0,function(){var n,o=this;return Tr(this,function(r){if(this.userPool){if(!(n=this.userPool.getCurrentUser()))return Hc.debug("Failed to get user from user pool"),[2,i(new Error("No current user."))];n.getSession(function(r,a){return Ar(o,void 0,void 0,function(){var o,a=this;return Tr(this,function(s){switch(s.label){case 0:if(!r)return[3,5];if(Hc.debug("Failed to get the user session",r),!this.isSessionInvalid(r))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(n)];case 2:return s.sent(),[3,4];
1case 3:return o=s.sent(),i(new Error("Session is invalid due to: "+r.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,i(r)];case 5:n.deleteUser(function(o,r){if(o)i(o);else{Qc("userDeleted",r,"The authenticated user has been deleted."),n.signOut(),a.user=null;try{a.cleanCachedItems()}catch(s){Hc.debug("failed to clear cached items")}e?a.oAuthSignOutRedirect(t,i):(Qc("signOut",a.user,"A user has been signed out"),t(r))}}),s.label=6;case 6:return[2]}})})})}else Hc.debug("no Congito User pool"),i(new Error("Cognito User pool does not exist"));return[2]})})})]}})})},t.prototype.updateUserAttributes=function(t,e,n){var i=this;void 0===n&&(n=this._config.clientMetadata);var o=[],r=this;return new Promise(function(a,s){r.userSession(t).then(function(r){for(var c in e)"sub"!==c&&c.indexOf("_verified")<0&&o.push({Name:c,Value:e[c]});t.updateAttributes(o,function(t,n,o){if(t)return Qc("updateUserAttributes_failure",t,"Failed to update attributes"),s(t);var r=i.createUpdateAttributesResultList(e,null==o?void 0:o.CodeDeliveryDetailsList);return Qc("updateUserAttributes",r,"Attributes successfully updated"),a(n)},n)})})},t.prototype.createUpdateAttributesResultList=function(t,e){var n={};return Object.keys(t).forEach(function(t){n[t]={isUpdated:!0};var i=null==e?void 0:e.find(function(e){return e.AttributeName===t});i&&(n[t].isUpdated=!1,n[t].codeDeliveryDetails=i)}),n},t.prototype.userAttributes=function(t){var e=this;return new Promise(function(n,i){e.userSession(t).then(function(e){t.getUserAttributes(function(t,e){t?i(t):n(e)})})})},t.prototype.verifiedContact=function(t){var e=this;return this.userAttributes(t).then(function(t){var n=e.attributesToObject(t),i={},o={};return n.email&&(n.email_verified?o.email=n.email:i.email=n.email),n.phone_number&&(n.phone_number_verified?o.phone_number=n.phone_number:i.phone_number=n.phone_number),{verified:o,unverified:i}})},t.prototype.isErrorWithMessage=function(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"message")},t.prototype.isTokenRevokedError=function(t){return this.isErrorWithMessage(t)&&"Access Token has been revoked"===t.message},t.prototype.isRefreshTokenRevokedError=function(t){return this.isErrorWithMessage(t)&&"Refresh Token has been revoked"===t.message},t.prototype.isUserDisabledError=function(t){return this.isErrorWithMessage(t)&&"User is disabled."===t.message},t.prototype.isUserDoesNotExistError=function(t){return this.isErrorWithMessage(t)&&"User does not exist."===t.message},t.prototype.isRefreshTokenExpiredError=function(t){return this.isErrorWithMessage(t)&&"Refresh Token has expired"===t.message},t.prototype.isPasswordResetRequiredError=function(t){return this.isErrorWithMessage(t)&&"Password reset required for the user"===t.message},t.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI")},t.prototype.isSessionInvalid=function(t){return this.isUserDisabledError(t)||this.isUserDoesNotExistError(t)||this.isTokenRevokedError(t)||this.isRefreshTokenRevokedError(t)||this.isRefreshTokenExpiredError(t)||this.isPasswordResetRequiredError(t)},t.prototype.cleanUpInvalidSession=function(t){return Ar(this,void 0,void 0,function(){var e=this;return Tr(this,function(n){switch(n.label){case 0:t.signOut(),this.user=null,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return n.sent(),[3,4];case 3:return n.sent(),Hc.debug("failed to clear cached items"),[3,4];case 4:return this.isSignedInHostedUI()?[2,new Promise(function(t,n){e.oAuthSignOutRedirect(t,n)})]:(Qc("signOut",this.user,"A user has been signed out"),[2])}})})},t.prototype.currentUserPoolUser=function(t){var e=this;return this.userPool?new Promise(function(n,i){e._storageSync.then(function(){return Ar(e,void 0,void 0,function(){var e,o,r,a,s,c,l=this;return Tr(this,function(u){switch(u.label){case 0:return this.isOAuthInProgress()?(Hc.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise(function(t){var e=setTimeout(function(){Hc.debug("OAuth signIn in progress timeout"),Wr.remove("auth",n),t()},1e4);function n(i){var o=i.payload.event;("cognitoHostedUI"===o||"cognitoHostedUI_failure"===o)&&(Hc.debug("OAuth signIn resolved: "+o),clearTimeout(e),Wr.remove("auth",n),t())}Wr.listen("auth",n)})]):[3,2];case 1:u.sent(),u.label=2;case 2:if(!(e=this.userPool.getCurrentUser()))return Hc.debug("Failed to get user from user pool"),i("No current user"),[2];u.label=3;case 3:return u.trys.push([3,7,,8]),[4,this._userSession(e)];case 4:return o=u.sent(),(r=!!t&&t.bypassCache)?[4,this.Credentials.clear()]:[3,6];case 5:u.sent(),u.label=6;case 6:return a=this._config.clientMetadata,(void 0===(s=o.getAccessToken().decodePayload().scope)?""
1:s).split(" ").includes(Jc)?(e.getUserData(function(t,o){return Ar(l,void 0,void 0,function(){var r,a,s,c,l,u;return Tr(this,function(d){switch(d.label){case 0:if(!t)return[3,7];if(Hc.debug("getting user data failed",t),!this.isSessionInvalid(t))return[3,5];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return d.sent(),[3,4];case 3:return r=d.sent(),i(new Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+r.message)),[2];case 4:return i(t),[3,6];case 5:n(e),d.label=6;case 6:return[2];case 7:for(a=o.PreferredMfaSetting||"NOMFA",s=[],c=0;c<o.UserAttributes.length;c++)l=new gc({Name:o.UserAttributes[c].Name,Value:o.UserAttributes[c].Value}),s.push(l);return u=this.attributesToObject(s),Object.assign(e,{attributes:u,preferredMFA:a}),[2,n(e)]}})})},{bypassCache:r,clientMetadata:a}),[3,8]):(Hc.debug("Unable to get the user data because the "+Jc+" is not in the scopes of the access token"),[2,n(e)]);case 7:return c=u.sent(),i(c),[3,8];case 8:return[2]}})})}).catch(function(t){return Hc.debug("Failed to sync cache info into memory",t),i(t)})}):this.rejectNoUserPool()},t.prototype.isOAuthInProgress=function(){return this.oAuthFlowInProgress},t.prototype.currentAuthenticatedUser=function(t){return Ar(this,void 0,void 0,function(){var e,n,i,o,r;return Tr(this,function(a){switch(a.label){case 0:Hc.debug("getting current authenticated user"),e=null,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this._storageSync];case 2:return a.sent(),[3,4];case 3:throw n=a.sent(),Hc.debug("Failed to sync cache info into memory",n),n;case 4:try{(i=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")))&&(e=Sr(Sr({},i.user),{token:i.token}))}catch(s){Hc.debug("cannot load federated user from auth storage")}return e?(this.user=e,Hc.debug("get current authenticated federated user",this.user),[2,this.user]):[3,5];case 5:Hc.debug("get current authenticated userpool user"),o=null,a.label=6;case 6:return a.trys.push([6,8,,9]),[4,this.currentUserPoolUser(t)];case 7:return o=a.sent(),[3,9];case 8:return"No userPool"===(r=a.sent())&&Hc.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"),Hc.debug("The user is not authenticated by the error",r),[2,Promise.reject("The user is not authenticated")];case 9:return this.user=o,[2,this.user]}})})},t.prototype.currentSession=function(){var t=this;return Hc.debug("Getting current session"),this.userPool?new Promise(function(e,n){t.currentUserPoolUser().then(function(i){t.userSession(i).then(function(t){e(t)}).catch(function(t){Hc.debug("Failed to get the current session",t),n(t)})}).catch(function(t){Hc.debug("Failed to get the current user",t),n(t)})}):Promise.reject(new Error("No User Pool in the configuration."))},t.prototype._userSession=function(t){return Ar(this,void 0,void 0,function(){var e,n,i=this;return Tr(this,function(o){switch(o.label){case 0:if(!t)return Hc.debug("the user is null"),[2,this.rejectAuthError(Lr.NoUserSession)];e=this._config.clientMetadata,0===this.inflightSessionPromiseCounter&&(this.inflightSessionPromise=new Promise(function(n,o){t.getSession(function(e,r){return Ar(i,void 0,void 0,function(){var i;return Tr(this,function(a){switch(a.label){case 0:if(!e)return[3,5];if(Hc.debug("Failed to get the session from user",t),!this.isSessionInvalid(e))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return a.sent(),[3,4];case 3:return i=a.sent(),o(new Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+i.message)),[2];case 4:return o(e),[2];case 5:return Hc.debug("Succeed to get the user session",r),n(r),[2]}})})},{clientMetadata:e})})),this.inflightSessionPromiseCounter++,o.label=1;case 1:return o.trys.push([1,,3,4]),[4,this.inflightSessionPromise];case 2:return n=o.sent(),t.signInUserSession=n,[2,n];case 3:return this.inflightSessionPromiseCounter--,[7];case 4:return[2]}})})},t.prototype.userSession=function(t){return this._userSession(t)},t.prototype.currentUserCredentials=function(){return Ar(this,void 0,void 0,function(){var t,e,n=this;return Tr(this,function(i){switch(i.label){case 0:Hc.debug("Getting current user credentials"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._storageSync];case 2:return i.sent(),[3,4];case 3:throw t=i.sent(),Hc.debug("Failed to sync cache info into memory",t),t;case 4:e=null;try{e=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo"))}catch(o){Hc.debug("failed to get or parse item aws-amplify-federatedInfo",o)}return e?[2,this.Credentials.refreshFederatedToken(e)]:[2,this.currentSession().then(function(t){return Hc.debug("getting session success",t),n.Credentials.set(t,"session")}
1).catch(function(){return Hc.debug("getting guest credentials"),n.Credentials.set(null,"guest")})]}})})},t.prototype.currentCredentials=function(){return Hc.debug("getting current credentials"),this.Credentials.get()},t.prototype.verifyUserAttribute=function(t,e,n){return void 0===n&&(n=this._config.clientMetadata),new Promise(function(i,o){t.getAttributeVerificationCode(e,{onSuccess:function(t){return i(t)},onFailure:function(t){return o(t)}},n)})},t.prototype.verifyUserAttributeSubmit=function(t,e,n){return n?new Promise(function(i,o){t.verifyAttribute(e,n,{onSuccess:function(t){i(t)},onFailure:function(t){o(t)}})}):this.rejectAuthError(Lr.EmptyCode)},t.prototype.verifyCurrentUserAttribute=function(t){var e=this;return e.currentUserPoolUser().then(function(n){return e.verifyUserAttribute(n,t)})},t.prototype.verifyCurrentUserAttributeSubmit=function(t,e){var n=this;return n.currentUserPoolUser().then(function(i){return n.verifyUserAttributeSubmit(i,t,e)})},t.prototype.cognitoIdentitySignOut=function(t,e){return Ar(this,void 0,void 0,function(){var n,i,o=this;return Tr(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this._storageSync];case 1:return r.sent(),[3,3];case 2:throw n=r.sent(),Hc.debug("Failed to sync cache info into memory",n),n;case 3:return i=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(n,r){t&&t.global?(Hc.debug("user global sign out",e),e.getSession(function(t,a){return Ar(o,void 0,void 0,function(){var o,a=this;return Tr(this,function(s){switch(s.label){case 0:if(!t)return[3,5];if(Hc.debug("failed to get the user session",t),!this.isSessionInvalid(t))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return s.sent(),[3,4];case 3:return o=s.sent(),r(new Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,r(t)];case 5:return e.globalSignOut({onSuccess:function(t){if(Hc.debug("global sign out success"),!i)return n();a.oAuthSignOutRedirect(n,r)},onFailure:function(t){return Hc.debug("global sign out failed",t),r(t)}}),[2]}})})},{clientMetadata:o._config.clientMetadata})):(Hc.debug("user sign out",e),e.signOut(function(){if(!i)return n();o.oAuthSignOutRedirect(n,r)}))})]}})})},t.prototype.oAuthSignOutRedirect=function(t,e){$r().isBrowser?this.oAuthSignOutRedirectOrReject(e):this.oAuthSignOutAndResolve(t)},t.prototype.oAuthSignOutAndResolve=function(t){this._oAuthHandler.signOut(),t()},t.prototype.oAuthSignOutRedirectOrReject=function(t){this._oAuthHandler.signOut(),setTimeout(function(){return t(Error("Signout timeout fail"))},3e3)},t.prototype.signOut=function(t){return Ar(this,void 0,void 0,function(){var e;return Tr(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.cleanCachedItems()];case 1:return n.sent(),[3,3];case 2:return n.sent(),Hc.debug("failed to clear cached items"),[3,3];case 3:return this.userPool?(e=this.userPool.getCurrentUser())?[4,this.cognitoIdentitySignOut(t,e)]:[3,5]:[3,7];case 4:return n.sent(),[3,6];case 5:Hc.debug("no current Cognito user"),n.label=6;case 6:return[3,8];case 7:Hc.debug("no Cognito User pool"),n.label=8;case 8:return Qc("signOut",this.user,"A user has been signed out"),this.user=null,[2]}})})},t.prototype.cleanCachedItems=function(){return Ar(this,void 0,void 0,function(){return Tr(this,function(t){switch(t.label){case 0:return[4,this.Credentials.clear()];case 1:return t.sent(),[2]}})})},t.prototype.changePassword=function(t,e,n,i){var o=this;return void 0===i&&(i=this._config.clientMetadata),new Promise(function(r,a){o.userSession(t).then(function(o){t.changePassword(e,n,function(t,e){return t?(Hc.debug("change password failure",t),a(t)):r(e)},i)})})},t.prototype.forgotPassword=function(t,e){if(void 0===e&&(e=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(Lr.EmptyUsername);var n=this.createCognitoUser(t);return new Promise(function(i,o){n.forgotPassword({onSuccess:function(){i()},onFailure:function(e){Hc.debug("forgot password failure",e),Qc("forgotPassword_failure",e,t+" forgotPassword failed"),o(e)},inputVerificationCode:function(e){Qc("forgotPassword",n,t+" has initiated forgot password flow"),i(e)}},e)})},t.prototype.forgotPasswordSubmit=function(t,e,n,i){if(void 0===i&&(i=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(Lr.EmptyUsername);if(!e)return this.rejectAuthError(Lr.EmptyCode);if(!n)return this.rejectAuthError(Lr.EmptyPassword);var o=this.createCognitoUser(t);return new Promise(function(r,a){o.confirmPassword(e,n,{onSuccess:function(e){Qc("forgotPasswordSubmit",o,t+" forgotPasswordSubmit successful"),r(e)},onFailure:function(e){Qc("forgotPasswordSubmit_failure",e,t+" forgotPasswordSubmit failed"),a(e)}},i)})},t.prototype.currentUserInfo=function(){return Ar(this,void 0,void 0,function(){var t,e,n,i,o,r,a;return Tr(this,function(s){switch(s.label){case 0:return(t=this.Credentials.getCredSource())&&"aws"!==t&&"userPool"!==t?[3,9]:[4,this.currentUserPoolUser().catch(function(t){return Hc.error(t)})];case 1:if(!(a=s.sent()))return[2,null];s.label=2;case 2:return s.trys.push([2,8,,9]),[4,this.userAttributes(a)];case 3:e=s.sent(),n=this.attributesToObject(e),i=null,s.label=4;case 4:return s.trys.push([4,6,,7]),[4,this.currentCredentials()];case 5:return i=s.sent(),[3,7];case 6:return o=s.sent(),Hc.debug("Failed to retrieve credentials while getting current user info",o),[3,7];case 7:return[2,{id:i?i.identityId:void 0,username:a.getUsername(),attributes:n}];case 8:return r=s.sent(),Hc.error("currentUserInfo error",r),[2,{}];case 9:return"federated"===t?[2,(a=this.user)||{}]:[2]}})})},t.prototype.federatedSignIn=function(t,e,n){return Ar(this,void 0,void 0,function(){var i,o,r,a,s,c,l,u;return Tr(this,function(d){switch(d.label){case 0:if(!this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation requires either a User Pool or Identity Pool in config");if(void 0===t&&this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation with Identity Pools requires tokens passed as arguments");return Dr(t)||function(t){return t&&!!["customProvider"].find(function(e){return t.hasOwnProperty(e)})}(t)||function(t){return t&&!!["customState"].find(function(e){return t.hasOwnProperty(e)})}(t)||void 0===t?(s=Dr(i=t||{provider:Er.Cognito})?i.provider:i.customProvider,Dr(i),o=i.customState,this._config.userPoolId&&(r=Rr(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,a=Rr(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,a,r,s,o)),[3,4]):[3,1];case 1:s=t;try{(c=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user))&&Hc.warn("There is already a signed in user: "+c+" in y
1our app.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou should not call Auth.federatedSignIn method again as it may cause unexpected behavior.")}catch(h){}return[4,this.Credentials.set({provider:s,token:e.token,identity_id:e.identity_id,user:n,expires_at:e.expires_at},"federation")];case 2:return l=d.sent(),[4,this.currentAuthenticatedUser()];case 3:return u=d.sent(),Qc("signIn",u,"A user "+u.username+" has been signed in"),Hc.debug("federated sign in credentials",l),[2,l];case 4:return[2]}})})},t.prototype._handleAuthResponse=function(t){return Ar(this,void 0,void 0,function(){var e,n,i,o,r,a,s,c,l,u,d,h,p;return Tr(this,function(f){switch(f.label){case 0:if(this.oAuthFlowInProgress)return Hc.debug("Skipping URL "+t+" current flow in progress"),[2];f.label=1;case 1:if(f.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw new Error("OAuth responses require a User Pool defined in config");if(Qc("parsingCallbackUrl",{url:t},"The callback url is being parsed"),e=t||($r().isBrowser?window.location.href:""),n=!!((0,Rc.Qc)(e).query||"").split("&").map(function(t){return t.split("=")}).find(function(t){var e=Ir(t,1)[0];return"code"===e||"error"===e}),i=!!((0,Rc.Qc)(e).hash||"#").substr(1).split("&").map(function(t){return t.split("=")}).find(function(t){var e=Ir(t,1)[0];return"access_token"===e||"error"===e}),!n&&!i)return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),f.label=2;case 2:return f.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(e)];case 3:return o=f.sent(),r=o.accessToken,a=o.refreshToken,s=o.state,c=new dc({IdToken:new cc({IdToken:o.idToken}),RefreshToken:new lc({RefreshToken:a}),AccessToken:new ac({AccessToken:r})}),l=void 0,this._config.identityPoolId?[4,this.Credentials.set(c,"session")]:[3,5];case 4:l=f.sent(),Hc.debug("AWS credentials",l),f.label=5;case 5:return u=/-/.test(s),(d=this.createCognitoUser(c.getIdToken().decodePayload()["cognito:username"])).setSignInUserSession(c),window&&void 0!==window.history&&window.history.replaceState(window.history.state,"",this._config.oauth.redirectSignIn),Qc("signIn",d,"A user "+d.getUsername()+" has been signed in"),Qc("cognitoHostedUI",d,"A user "+d.getUsername()+" has been signed in via Cognito Hosted UI"),u&&(h=s.split("-").splice(1).join("-"),Qc("customOAuthState",function(t){return t.match(/.{2}/g).map(function(t){return String.fromCharCode(parseInt(t,16))}).join("")}(h),"State for user "+d.getUsername())),[2,l];case 6:return p=f.sent(),Hc.debug("Error in cognito hosted auth response",p),window&&void 0!==window.history&&window.history.replaceState(window.history.state,"",this._config.oauth.redirectSignIn),Qc("signIn_failure",p,"The OAuth response flow failed"),Qc("cognitoHostedUI_failure",p,"A failure occurred when returning to the Cognito Hosted UI"),Qc("customState_failure",p,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}})})},t.prototype.essentialCredentials=function(t){return{accessKeyId:t.accessKeyId,sessionToken:t.sessionToken,secretAccessKey:t.secretAccessKey,identityId:t.identityId,authenticated:t.authenticated}},t.prototype.attributesToObject=function(t){var e=this,n={};return t&&t.map(function(t){n[t.Name]="email_verified"===t.Name||"phone_number_verified"===t.Name?e.isTruthyString(t.Value)||!0===t.Value:t.Value}),n},t.prototype.isTruthyString=function(t){return"function"==typeof t.toLowerCase&&"true"===t.toLowerCase()},t.prototype.createCognitoUser=function(t){var e={Username:t,Pool:this.userPool};e.Storage=this._storage;var n=this._config.authenticationFlowType,i=new Cc(e);return n&&i.setAuthenticationFlowType(n),i},t.prototype._isValidAuthStorage=function(t){return!!t&&"function"==typeof t.getItem&&"function"==typeof t.setItem&&"function"==typeof t.removeItem&&"function"==typeof t.clear},t.prototype.noUserPoolErrorHandler=function(t){return!t||t.userPoolId&&t.identityPoolId?Lr.NoConfig:Lr.MissingAuthConfig},t.prototype.rejectAuthError=function(t){return Promise.reject(new Bc(t))},t.prototype.rejectNoUserPool=function(){var t=this.noUserPoolErrorHandler(this._config);return Promise.reject(new Yc(t))},t.prototype.rememberDevice=function(){return Ar(this,void 0,void 0,function(){var t,e;return Tr(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=n.sent(),[3,3];case 2:return e=n.sent(),Hc.debug("The user is not authenticated by the error",e),[2,Promise.reject("The user is not authenticated")];case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(e,n){t.setDeviceStatusRemembered({onSuccess:function(t){e(t)},onFailure:function(t){n("InvalidParameterException"===t.code?new Bc(Lr.DeviceConfig):"NetworkError"===t.code?new Bc(Lr.NetworkError):t)}})})]}})})},t.prototype.forgetDevice=function(){return Ar(this,void 0,void 0,function(){var t,e;return Tr(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=n.sent(),[3,3];case 2:return e=n.sent(),Hc.debug("The user is not authenticated by the error",e),[2,Promise.reject("The user is not authenticated")];case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(e,n){t.forgetDevice({onSuccess:function(t){e(t)},onFailure:function(t){n("InvalidParameterException"===t.code?new Bc(Lr.DeviceConfig):"NetworkError"===t.code?new Bc(Lr.NetworkError):t)}})})]}})})},t.prototype.fetchDevices=function(){return Ar(this,void 0,void 0,function(){var t,e;return Tr(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return t=n.sent(),[3,3];case 2:throw e=n.sent(),Hc.debug("The user is not authenticated by the error",e),new Error("The user is not authenticated");case 3:return t.getCachedDeviceKeyAndPassword(),[2,new Promise(function(e,n){t.listDevices(60,null,{onSuccess:function(t){var n=t.Devices.map(function(t){var e=t.DeviceAttributes.find(function(t){return"device_name"===t.Name})||{};return{id:t.DeviceKey,name:e.Value}});e(n)},onFailure:function(t){n("InvalidParameterException"===t.code?new Bc(Lr.DeviceConfig):"NetworkError"===t.code?new Bc(Lr.NetworkError):t)}})})]}})})},t}(),Xc=new Kc(null);function $c(t){this.message=t}ya.register(Xc),($c.prototype=new Error).name="InvalidCharacterError";var tl="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new $c("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,o=0,r=0,a="";i=e.charAt(r++);~i&&(n=o%4?64*n+i:i,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=".indexOf(i);return a};function el(t){this.message=t}(el.prototype=new Error).name="InvalidTokenError";var nl=function(t,e){if("string"!=typeof t)throw new el("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(tl(e).replace(/(.)/g,function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}catch(n){return tl(e)}}(t.split(".")[n]))}catch(i){throw new el("Invalid token specified: "+i.message)}},il=function(){function t(){_classCallCheck(this,t),this.defaultLdcGroupDetails={accessType:"PUBLIC",projectKeys:[],ldcAccessIdentifiersAreValid:!1},this.ldcAuthChecker=new rl}return _createClass(t,[{key:"getLdcGroupDetails",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var e,n;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.getDefaultLdcGroupDetails(),t.prev=1,t.next=4,this.getEncodedCognitoJwt();case 4:(n=t.sent)&&this.updateLdcGroupDetails(n,e),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),console.log("Error creating LDC group details");case 11:return t.abrupt("return",e);case 12:case"end":return t.stop()}},t,this,[[1,8]])}))}},{key:"getDefaultLdcGroupDetails",value:function(){return this.defaultLdcGroupDetails}},{key:"updateLdcGroupDetails",value:function(t,e){var n=this.getCognitoAccessGroups(t);e.ldcAccessIdentifiersAreValid=this.ldcAuthChecker.haveValidLdcAccessIdentifiers(n),e.ldcAccessIdentifiersAreValid&&this.getLdcProjectKeys(e,n)}},{key:"getLdcProjectKeys",value:function(t,e){if(t.ldcAccessIdentifiersAreValid){var n=this.ldcAuthChecker.getUnprefixedLdcIdentifiers(e);this.ldcAuthChecker.areValidLdcPublicationAccessGroups(e)?(t.accessType="PUBLICATION",t.projectKeys=this.ldcAuthChecker.getLdcProjectKeys(n,this.ldcAuthChecker.LDC_PUBLICATION_ACCESS_IDENTIFIER)):this.ldcAuthChecker.areValidLdcLegalAccessGroups(e)&&(t.accessType="LEGAL",t.projectKeys=this.ldcAuthChecker.getLdcProjectKeys(n,this.ldcAuthChecker.LDC_LEGAL_ACCESS_IDENTIFIER))}}},{key:"getServiceConnectionDetails",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var e,n;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.getDefaultServiceConnectionDetails(),t.prev=1,t.next=4,this.getEncodedCognitoJwt();case 4:(n=t.sent)&&this.updateServiceConnectionDetails(n,e),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),console.log("Error creating service-connection details");case 11:return t.abrupt("return",e);case 12:case"end":return t.stop()}},t,this,[[1,8]])}))}},{key:"getDefaultServiceConnectionDetails",value:function(){return{serviceUrl:this.ldcAuthChecker.getDefaultBaseUrl(),httpHeaders:void 0,ldcAccessIdentifiersAreValid:!1}}},{key:"updateServiceConnectionDetails",value:function(t,e){var n=this.getCognitoAccessGroups(t);e.ldcAccessIdentifiersAreValid=this.ldcAuthChecker.haveValidLdcAccessIdentifiers(n),e.serviceUrl=this.ldcAuthChecker.getServiceUrl(n),e.ldcAccessIdentifiersAreValid&&(e.httpHeaders=this.getHttpHeaderWithEncodedJwt(t))}},{key:"getEncodedCognitoJwt",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var e,n;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=void 0,t.prev=1,t.next=4,Xc.currentAuthenticatedUser();case 4:(n=t.sent)&&(e=n.signInUserSession.accessToken.jwtToken),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(1);case 10:return t.abrupt("return",e);case 11:case"end":return t.stop()}},t,null,[[1,8]])}))}},{key:"getCognitoAccessGroups",value:function(t){var e=[];try{e=nl(t)["cognito:groups"]}catch(n){console.log("Auth: error while decoding")}return e}},{key:"getHttpHeaderWithEncodedJwt",value:function(t){return new Jo({"Content-Type":"application/json",Authorization:"Bearer ".concat(t)})}},{key:"addIdTokenToConnectionDetails",value:function(t){var e;return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Xc.currentAuthenticatedUser();case 3:(i=n.sent)&&(o=null===(e=i.signInUserSession.idToken)||void 0===e?void 0:e.jwtToken)&&(t.idToken=o,t.httpHeaders||(t.httpHeaders=new Jo),t.httpHeaders=t.httpHeaders.set("X-ID-Token",o)),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),console.error("Unable to retrieve ID token:",n.t0);case 10:return n.abrupt("return",t);case 11:case"end":return n.stop()}},n,null,[[0,7]])}))}},{key:"updateHeadersForShapefileUpload",value:function(t){var e,n=null!==(e=t.httpHeaders)&&void 0!==e?e:new Jo;return n=n.delete("Content-Type"),t.httpHeaders=n,t}}]),t}(),ol=function(){function t(){_classCallCheck(this,t),this.primaryRoute="https://www.ldc-internal-01-z6mubxe02d.net/",this.primaryAuthRoute=this.primaryRoute+"v5/",this.primaryPublicAuthRoute=this.primaryAuthRoute+"pc/",this.primaryPublicationAuthRoute=this.primaryAuthRoute+"pn/",this.primaryLegalAuthRoute=this.primaryAuthRoute+"ll/"}return _createClass(t,[{key:"getPrimaryRoute",value:function(){return window.location.hostname.includes("localhost")?"http://localhost:8080/":"https://www.ldc-internal-01-z6mubxe02d.net/"}}]),t}(),rl=function(){function t(){_classCallCheck(this,t),this.apiEndpointCollection=new ol,this.LDC_PREFIX="LDC_",this.LDC_PUBLIC_ACCESS_IDENTIFIER="PUBLIC",this.LDC_PUBLICATION_ACCESS_IDENTIFIER="PUBLICATION",this.LDC_LEGAL_ACCESS_IDENTIFIER="LEGAL",this.LDC_RESTRICTED_ACCESS_IDENTIFIERS=[this.LDC_PUBLICATION_ACCESS_IDENTIFIER,this.LDC_LEGAL_ACCESS_IDENTIFIER],this.LDC_ACCESS_IDENTIFIERS=[this.LDC_PUBLIC_ACCESS_IDENTIFIER].concat(this.LDC_RESTRICTED_ACCESS_IDENTIFIERS),this.LDC_PUBLICATION_PROJECT_KEYS=["Jornada_DuRP","NWERN_Akron","NWERN_CPER","NWERN_ElReno","NWERN_HAFB","NWERN_JER","NWERN_Lordsburg","NWERN_Mandan","NWERN_Moab","NWERN_Morton","NWERN_Pullman","NWERN_RedHills","NWERN_SLV","NWERN_TwinValley","NWERN_BigSpring","NWERN_LowerSheep","NWERN_Manitoba","NWERN_NancyGulch","BLM_AIM_RW","Jornada_Ecotone","MSU_GRSG_SFA","NMDOT_DMP2","NMDOT_HSIP","TNC_DugoutCriollo"],this.LDC_LEGAL_PROJECT_KEYS=["NRI_MOCK","NPS_IM_MOJN","NPS_IM_NCPN","NPS_IM_SODN_CHDN"],this.LDC_LEGAL_AND_PUBLICATION_PROJECT_KEYS=this.LDC_LEGAL_PROJECT_KEYS.concat(this.LDC_PUBLICATION_PROJECT_KEYS),this.LDC_IDENTIFIERS=this.LDC_ACCESS_IDENTIFIERS.concat(this.LDC_LEGAL_AND_PUBLICATION_PROJECT_KEYS),this.DEFAULT_LDC_ACCESS_DENIED_ERROR={error:"LDC access denied"}}return _createClass(t,[{key:"isLdcIdentifier",value:function(t){var e=t.split(this.LDC_PREFIX);return 2===e.length&&""===e[0]}},{key:"getUnprefixedLdcIdentifier",value:function(t){return t.split(this.LDC_PREFIX)[1]}},{key:"getUnprefixedLdcIdentifiers",value:function(t){var e=[];
1if(t)for(var n=0;n<t.length;n++)this.isLdcIdentifier(t[n])&&e.push(this.getUnprefixedLdcIdentifier(t[n]));return e}},{key:"hasAnomalousLdcIdentifier",value:function(t){for(var e=0;e<t.length;e++)if(!this.LDC_IDENTIFIERS.includes(t[e]))return!0;return!1}},{key:"isLdcRestrictedAccessIdentifier",value:function(t){return!!this.LDC_RESTRICTED_ACCESS_IDENTIFIERS.includes(t)}},{key:"hasSingleLdcRestrictedAccessIdentifier",value:function(t,e){for(var n=!1,i=0;i<t.length;i++)if(this.isLdcRestrictedAccessIdentifier(t[i])&&t[i]===e){if(n)return!1;n=!0}return n}},{key:"hasLdcAccessIdentifier",value:function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}},{key:"hasRestrictedLdcAccessIdentifier",value:function(t){for(var e=0;e<t.length;e++);return!(!this.hasLdcAccessIdentifier(t,this.LDC_PUBLICATION_ACCESS_IDENTIFIER)&&!this.hasLdcAccessIdentifier(t,this.LDC_LEGAL_ACCESS_IDENTIFIER))}},{key:"hasLdcIdentifiers",value:function(t,e){for(var n=0;n<t.length;n++)if(e.includes(t[n]))return!0;return!1}},{key:"getLdcPublicationProjectKeys",value:function(t){var e=this,n=[],i=t.filter(function(t){return t!==e.LDC_PUBLICATION_ACCESS_IDENTIFIER});return i.every(function(t){return e.LDC_PUBLICATION_PROJECT_KEYS.includes(t)})&&(n=i),n}},{key:"getLdcLegalProjectKeys",value:function(t){var e=this,n=[],i=t.filter(function(t){return t!==e.LDC_LEGAL_ACCESS_IDENTIFIER}),o=i.filter(function(t){return e.LDC_LEGAL_PROJECT_KEYS.includes(t)});if(o.length>0){var r=i.filter(function(t){return!o.includes(t)});r.every(function(t){return e.LDC_PUBLICATION_PROJECT_KEYS.includes(t)})&&(n=o.concat(r))}return n}},{key:"getLdcProjectKeys",value:function(t,e){return e===this.LDC_PUBLICATION_ACCESS_IDENTIFIER?this.getLdcPublicationProjectKeys(t):e===this.LDC_LEGAL_ACCESS_IDENTIFIER?this.getLdcLegalProjectKeys(t):[]}},{key:"ldcIdentifiersAreWellFormed",value:function(t,e){return!(this.hasAnomalousLdcIdentifier(t)||!this.hasSingleLdcRestrictedAccessIdentifier(t,e)||0===this.getLdcProjectKeys(t,e).length)}},{key:"areValidLdcPublicAccessGroups",value:function(t){var e=this.getUnprefixedLdcIdentifiers(t);return!(0!==e.length||this.hasLdcIdentifiers(e,this.LDC_IDENTIFIERS))}},{key:"areValidLdcPublicationAccessGroups",value:function(t){var e=this.getUnprefixedLdcIdentifiers(t);return!(0===e.length||!this.ldcIdentifiersAreWellFormed(e,this.LDC_PUBLICATION_ACCESS_IDENTIFIER))}},{key:"areValidLdcLegalAccessGroups",value:function(t){var e=this.getUnprefixedLdcIdentifiers(t);return!(0===e.length||!this.ldcIdentifiersAreWellFormed(e,this.LDC_LEGAL_ACCESS_IDENTIFIER))}},{key:"getDefaultBaseUrl",value:function(){return this.apiEndpointCollection.primaryPublicAuthRoute}},{key:"haveValidLdcAccessIdentifiers",value:function(t){return!!(this.areValidLdcPublicationAccessGroups(t)||this.areValidLdcLegalAccessGroups(t)||this.areValidLdcPublicAccessGroups(t))}},{key:"getServiceUrl",value:function(t){return this.areValidLdcPublicationAccessGroups(t)?this.apiEndpointCollection.primaryPublicationAuthRoute:this.areValidLdcLegalAccessGroups(t)?this.apiEndpointCollection.primaryLegalAuthRoute:this.getDefaultBaseUrl()}}]),t}(),al=function(){var t=function(){function t(e){_classCallCheck(this,t),this.httpClient=e,this.configRoute="config/",this.pkCoordConfigEndpoint=this.configRoute+"plots/pk-lat-lon",this.filtersConfigEndpoint=this.configRoute+"filters/",this.selectorsConfigEndpoint=this.filtersConfigEndpoint+"selectors/",this.indicatorsConfigEndpoint=this.filtersConfigEndpoint+"indicators/",this.tablesConfigEndpoint=this.configRoute+"tables/",this.summaryCountsConfigEndpoint=this.configRoute+"summary/counts",this.rhemTestRoute="test/rhem/",this.rhemTestFiltersConfigEndpoint=this.rhemTestRoute+this.filtersConfigEndpoint,this.rhemTestIndicatorsConfigEndpoint=this.rhemTestFiltersConfigEndpoint+"indicators/",this.ldcJwtManager=new il,this.pkCoordConfigDataLoading=new _e.X({loading:!1,error:!1})}return _createClass(t,[{key:"handleError",value:function(t){return(0,zo._)(function(){return new Error("Sorry, something bad happened; please try again later.")})}},{key:"getResponse",value:function(t){var e=this;
1return(0,fe.D)(this.ldcJwtManager.getServiceConnectionDetails()).pipe((0,xe.w)(function(n){return n.httpHeaders?e.httpClient.get(n.serviceUrl+t,{headers:n.httpHeaders}):e.httpClient.get(n.serviceUrl+t)}),(0,Ie.K)(function(t){return console.error("Error in getResponse:",t),(0,zo._)(function(){return new Error("An error occurred while getting response")})}))}},{key:"getPkCoordConfigData",value:function(){return this.getResponse(this.pkCoordConfigEndpoint)}},{key:"getSummaryCounts",value:function(){return this.getResponse(this.summaryCountsConfigEndpoint)}},{key:"getDataTypeSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"data/type")}},{key:"getDateVisitedSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"date/visited")}},{key:"getEcologicalSiteIdSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"ecological-site-id")}},{key:"getEcologicalSiteIdMlraPrefixSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"ecological-site-id/mlra-prefix")}},{key:"getEcologicalSiteIdStateSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"ecological-site-id/state")}},{key:"getEcoregionISelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"ecoregion/level-1")}},{key:"getEcoregionIISelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"ecoregion/level-2")}},{key:"getEcoregionIIISelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"ecoregion/level-3")}},{key:"getEcoregionIVSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"ecoregion/level-4")}},{key:"getLandCoverModisIgbpNameSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"land-cover/modis-igbp/name")}},{key:"getLandCoverModisIgbpValueSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"land-cover/modis-igbp/value")}},{key:"getMlraNameSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"mlra/name")}},{key:"getMlraSymbolSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"mlra/symbol")}},{key:"getProjectSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"project")}},{key:"getStateSelectorConfigData",value:function(){return this.getResponse(this.selectorsConfigEndpoint+"state/us")}},{key:"getMeanHerbaceousHeightIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"mean-herbaceous-height")}},{key:"getMeanSoilStabilityProtectedIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"mean-soil-stability-protected")}},{key:"getMeanSoilStabilitySurfaceIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"mean-soil-stability-surface")}},{key:"getMeanSoilStabilityUnprotectedIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"mean-soil-stability-unprotected")}},{key:"getMeanWoodyHeightIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"mean-woody-height")}},{key:"getPercentBareGroundIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-bare-ground")}},{key:"getPercentCanopyGaps25to50IndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-canopy-gaps-25-50")}},{key:"getPercentCanopyGaps51to100IndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-canopy-gaps-51-100")}},{key:"getPercentCanopyGaps101to200IndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-canopy-gaps-101-200")}},{key:"getPercentCanopyGaps200PlusIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-canopy-gaps-200-plus")}},{key:"getPercentCyanobacteriaCoverIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-cyanobacteria-cover")}},{key:"getPercentFoliarCoverIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-foliar-cover")}},{key:"getPercentLichenCoverIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-lichen-cover")}},{key:"getPercentLitterCoverIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-litter-cover")}},{key:"getPercentMossCoverIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-moss-cover")}},{key:"getPercentRockFragmentCoverIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"percent-rock-fragment-cover")}},{key:"getTotalHorizontalFluxIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"total-horizontal-flux")}},{key:"getTotalVerticalFluxIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"total-vertical-flux")}},{key:"getPm2p5VerticalFluxIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"pm2p5-vertical-flux")}},{key:"getPm10VerticalFluxIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"pm10-vertical-flux")}},{key:"getPrecipitationLongTermMeanIndicatorConfigData",value:function(){return this.getResponse(this.rhemTestIndicatorsConfigEndpoint+"precipitation-long-term-mean")}},{key:"getRunoffLongTermMeanIndicatorConfigData",value:function(){return this.getResponse(this.rhemTestIndicatorsConfigEndpoint+"runoff-long-term-mean")}},{key:"getSedimentLongTermMeanIndicatorConfigData",value:function(){return this.getResponse(this.rhemTestIndicatorsConfigEndpoint+"sediment-long-term-mean")}},{key:"getSoilLossLongTermMeanIndicatorConfigData",value:function(){return this.getResponse(this.rhemTestIndicatorsConfigEndpoint+"soil-loss-long-term-mean")}},{key:"getSpeciesCodeConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"geospecies-species-code")}},{key:"getScientificNameConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"geospecies-scientific-name")}},{key:"getSpeciesCoverIndicatorConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"geospecies-species-cover")}},{key:"getSpeciesMeanSpeciesHeightConfigData",value:function(){return this.getResponse(this.indicatorsConfigEndpoint+"geospecies-mean-species-height")}},{key:"getDataGapTableHeaderConfigData",value:function(){return this.getResponse(this.tablesConfigEndpoint+"data-gap")}},{key:"getDataHeightTableHeaderConfigData",value:function(){return this.getResponse(this.tablesConfigEndpoint+"data-height")}},{key:"getDataLpiTableHeaderConfigData",value:function(){return this.getResponse(this.tablesConfigEndpoint+"data-lpi")}},{key:"getDataSoilStabilityTableHeaderConfigData",value:function(){return this.getResponse(this.tablesConfigEndpoint+"data-soil-stability")}},{key:"getDataSpeciesInventoryTableHeaderConfigData",value:function(){return this.getResponse(this.tablesConfigEndpoint+"data-species-inventory")}},{key:"getGeoindicatorsViewTableHeaderConfigData",value:function(){return this.getResponse(this.tablesConfigEndpoint+"geoindicators-view")}},{key:"getGeospeciesTableHeaderConfigData",value:function(){return this.getResponse(this.tablesConfigEndpoint+"geospecies")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(hr))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),sl=n(10826),cl=188;function ll(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.length?n.some(function(e){return t[e]}):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var ul,dl=n(54395),hl=n(13653),pl=n(87519),fl=n(46782);function gl(t){return null!=t&&"false"!="".concat(t)}function _l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ml(t)?Number(t):e}function ml(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function vl(t){return Array.isArray(t)?t:[t]}function yl(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function Cl(t){return t instanceof r.SBq?t.nativeElement:t}function bl(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,n=[];if(null!=t){var i,o=Array.isArray(t)?t:"".concat(t).split(e),r=_createForOfIteratorHelper(o);try{for(r.s();!(i=r.n()).done;){var a=i.value,s="".concat(a).trim();s&&n.push(s)}}catch(c){r.e(c)}finally{r.f()}}return n}try{ul="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(c){ul=!1}var Ol,Pl,wl,Ml,xl,kl=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this._platformId=e,this.isBrowser=this._platformId?function(t){return"browser"===t}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ul)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT});return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.Lbi))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.Lbi))},token:t,providedIn:"root"}),t}(),Sl=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),Al=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Tl(){if(Ol)return Ol;if("object"!=typeof document||!document)return Ol=new Set(Al);var t=document.createElement("input");return Ol=new Set(Al.filter(function(e){return t.setAttribute("type",e),t.type===e})),Ol}function Il(t){return function(){if(null==Pl&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Pl=!0}}))}finally{Pl=Pl||!1}return Pl}()?t:!!t.capture}function El(){if(null==Ml){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ml=!1;if("scrollBehavior"in document.documentElement.style)Ml=!0;else{var t=Element.prototype.scrollTo;Ml=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Ml}function Dl(){if("object"!=typeof document||!document)return 0;if(null==wl){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),wl=0,0===t.scrollLeft&&(t.scrollLeft=1,wl=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return wl}function Rl(t){if(function(){if(null==xl){var t="undefined"!=typeof document?document.head:null;xl=!(!t||!t.createShadowRoot&&!t.attachShadow)}return xl}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Fl(){for(var t="undefined"!=typeof document&&document?document.activeElement:null;t&&t.shadowRoot;){var e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Ll(t){return t.composedPath?t.composedPath()[0]:t.target}function Zl(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var Nl=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ul=function(){var t=function(){function t(e){_classCallCheck(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return _createClass(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})}},{key:"observe",value:function(t){var e=this,n=Cl(t);return new ve.y(function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}})}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new we.xQ,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Nl))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(Nl))},token:t,providedIn:"root"}),t}(),Vl=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new r.vpe,this._disabled=!1,this._currentSubscription=null}return _createClass(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=gl(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=_l(t),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe((0,dl.b)(t.debounce)):e).subscribe(t.event)})}},{key:"_unsubscribe",value:function(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(Ul),r.Y36(r.SBq),r.Y36(r.R0b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),jl=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[Nl]}),t}();function zl(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var ql="cdk-describedby-message-container",Bl="cdk-describedby-message",Yl="cdk-describedby-host",Gl=0,Hl=new Map,Jl=null,Wl=function(){var t=function(){function t(e){_classCallCheck(this,t),this._document=e}return _createClass(t,[{key:"describe",value:function(t,e,n){if(this._canBeDescribed(t,e)){var i=Ql(e,n);"string"!=typeof e?(Kl(e),Hl.set(i,{messageElement:e,referenceCount:0})):Hl.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}}},{key:"removeDescription",value:function(t,e,n){if(e&&this._isElementNode(t)){var i=Ql(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){var o=Hl.get(i);o&&0===o.referenceCount&&this._deleteMessageElement(i)}Jl&&0===Jl.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var t=this._document.querySelectorAll("[".concat(Yl,"]")),e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(Yl);Jl&&this._deleteMessagesContainer(),Hl.clear()}},{key:"_createMessageElement",value:function(t,e){var n=this._document.createElement("div");Kl(n),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),Jl.appendChild(n),Hl.set(Ql(t,e),{messageElement:n,referenceCount:0})}},{key:"_deleteMessageElement",value:function(t){var e=Hl.get(t),n=e&&e.messageElement;Jl&&n&&Jl.removeChild(n),Hl.delete(t)}},{key:"_createMessagesContainer",value:function(){if(!Jl){var t=this._document.getElementById(ql);t&&t.parentNode&&t.parentNode.removeChild(t),(Jl=this._document.createElement("div")).id=ql,Jl.style.visibility="hidden",Jl.classList.add("cdk-visually-hidden"),this._document.body.appendChild(Jl)}}},{key:"_deleteMessagesContainer",value:function(){Jl&&Jl.parentNode&&(Jl.parentNode.removeChild(Jl),Jl=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(t){var e=zl(t,"aria-describedby").filter(function(t){return 0!=t.indexOf(Bl)});t.setAttribute("aria-describedby",e.join(" "))}},{key:"_addMessageReference",value:function(t,e){var n=Hl.get(e);(function(t,e,n){var i=zl(t,e);i.some(function(t){return t.trim()==n.trim()})||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))})(t,"aria-describedby",n.messageElement.id),t.setAttribute(Yl,""),n.referenceCount++}},{key:"_removeMessageReference",value:function(t,e){var n=Hl.get(e);n.referenceCount--,function(t,e,n){var i=zl(t,e).filter(function(t){return t!=n.trim()});i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(Yl)}},{key:"_isElementDescribedByMessage",value:function(t,e){var n=zl(t,"aria-describedby"),i=Hl.get(e),o=i&&i.messageElement.id;return!!o&&-1!=n.indexOf(o)}},{key:"_canBeDescribed",value:function(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;var n=null==e?"":"".concat(e).trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(t){return t.nodeType===this._document.ELEMENT_NODE}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(l))},token:t,providedIn:"root"}),t}();function Ql(t,e){return"string"==typeof t?"".concat(e||"","/").concat(t):t}function Kl(t){t.id||(t.id="".concat(Bl,"-").concat(Gl++))}var Xl=function(){function t(e){var n=this;_classCallCheck(this,t),this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new we.xQ,this._typeaheadSub
1scription=sl.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new we.xQ,this.change=new we.xQ,e instanceof r.n_E&&e.changes.subscribe(function(t){if(n._activeItem){var e=t.toArray().indexOf(n._activeItem);e>-1&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}})}return _createClass(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Le.b)(function(e){return t._pressedLetters.push(e)}),(0,dl.b)(e),(0,Te.h)(function(){return t._pressedLetters.length>0}),(0,Me.U)(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),i=1;i<n.length+1;i++){var o=(t._activeItemIndex+i)%n.length,r=n[o];if(!t._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(o);break}}t._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var e=this,n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!t[n]||e._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||ll(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof r.n_E?this._items.toArray():this._items}}]),t}(),$l=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"setActiveItem",value:function(t){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(e.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.setActiveStyles()}}]),e}(Xl),tu=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._origin="program",t}return _inherits(e,t),_createClass(e,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){_get(_getPrototypeOf(e.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),e}(Xl),eu=function(){var t=function(){function t(e){_classCallCheck(this,t),this._platform=e}return _createClass(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(gM){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===iu(e)||!this.isVisible(e)))return!1;var n=t.nodeName.toLowerCase(),i=iu(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIRE
1FOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||nu(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(kl))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(kl))},token:t,providedIn:"root"}),t}();function nu(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function iu(t){if(!nu(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var ou=function(){function t(e,n,i,o){var r=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=function(){return r.focusLastTabbableElement()},this.endAnchorListener=function(){return r.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return _createClass(t,[{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"destroy",value:function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.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(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], [cdkFocusRegion").concat(t,"], [cdk-focus-").concat(t,"]")),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-".concat(t))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]):e[n].hasAttribute("cdk-focus-region-".concat(t))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(t){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(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),!this._checker.isFocusable(e)){var n=this._getFirstTabbableElement(e);return null==n||n.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}},{key:"focusFirstTabbableElement",value:function(t){var e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}},{key:"focusLastTabbableElement",value:function(t){var e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_getLastTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;n>=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(t)}}]),t}(),ru=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._checker=e,this._ngZone=n,this._document=i}return _createClass(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new ou(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(eu),r.LFG(r.R0b),r.LFG(l))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(eu),r.LFG(r.R0b),r.LFG(l))},token:t,providedIn:"root"}),t}
1(),au=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._elementRef=e,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return _createClass(t,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=gl(t)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(t){this._autoCapture=gl(t)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(t){var e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=Fl(),this.focusTrap.focusInitialElementWhenReady()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(ru),r.Y36(l))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.TTD]}),t}();function su(t){return 0===t.offsetX&&0===t.offsetY}function cu(t){var e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&&Element;var lu=new r.OlP("cdk-input-modality-detector-options"),uu={ignoreKeys:[18,17,224,91,16]},du=Il({passive:!0,capture:!0}),hu=function(){var t=function(){function t(e,n,i,o){var r=this;_classCallCheck(this,t),this._platform=e,this._mostRecentTarget=null,this._modality=new _e.X(null),this._lastTouchMs=0,this._onKeydown=function(t){var e,n;(null===(n=null===(e=r._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(function(e){return e===t.keyCode}))||(r._modality.next("keyboard"),r._mostRecentTarget=Ll(t))},this._onMousedown=function(t){Date.now()-r._lastTouchMs<650||(r._modality.next(su(t)?"keyboard":"mouse"),r._mostRecentTarget=Ll(t))},this._onTouchstart=function(t){cu(t)?r._modality.next("keyboard"):(r._lastTouchMs=Date.now(),r._modality.next("touch"),r._mostRecentTarget=Ll(t))},this._options=Object.assign(Object.assign({},uu),o),this.modalityDetected=this._modality.pipe((0,hl.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,pl.x)()),e.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",r._onKeydown,du),i.addEventListener("mousedown",r._onMousedown,du),i.addEventListener("touchstart",r._onTouchstart,du)})}return _createClass(t,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,du),document.removeEventListener("mousedown",this._onMousedown,du),document.removeEventListener("touchstart",this._onTouchstart,du))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(kl),r.LFG(r.R0b),r.LFG(l),r.LFG(lu,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(kl),r.LFG(r.R0b),r.LFG(l),r.LFG(lu,8))},token:t,providedIn:"root"}),t}(),pu=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),fu=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),gu=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._ngZone=n,this._defaultOptions=o,this._document=i,this._liveElement=e||this._createLiveElement()}return _createClass(t,[{key:"announce",value:function(t){for(var e,n,i,o=this,r=this._defaultOptions,a=arguments.length,s=new Array(a>1?a-1:0),c=1;c<a;c++)s[c-1]=arguments[c];return 1===s.length&&"number"==typeof s[0]?i=s[0]:(n=(e=_slicedToArray(s,2))[0],i=e[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=r&&r.politeness?r.politeness:"polite"),null==i&&r&&(i=r.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(function(){return new Promise(function(e){clearTimeout(o._previousTimeout),o._previousTimeout=setTimeout(function(){o._liveElement.textContent=t,e(),"number"==typeof i&&(o._previousTimeout=setTimeout(function(){return o.clear()},i))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div"),i=0;i<e.length;i++)e[i].parentNode.removeChild(e[i]);return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(pu,8),r.LFG(r.R0b),r.LFG(l),r.LFG(fu,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(pu,8),r.LFG(r.R0b),r.LFG(l),r.LFG(fu,8))},token:t,providedIn:"root"}),t}(),_u=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._elementRef=e,this._liveAnnouncer=n,this._contentObserver=i,this._ngZone=o,this._politeness="polite"}return _createClass(t,[{key:"politeness",get:function(){return this._politeness},set:function(t){var e=this;this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(function(){return e._contentObserver.observe(e._elementRef).subscribe(function(){var t=e._elementRef.nativeElement.textContent;t!==e._previousAnnouncedText&&(e._liveAnnouncer.announce(t,e._politeness),e._previousAnnouncedText=t)})}))}},{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(gu),r.Y36(Ul),r.Y36(r.R0b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t}(),mu=new r.OlP("cdk-focus-monitor-default-options"),vu=Il({passive:!0,capture:!0}),yu=function(){var t=function(){function t(e,n,i,o,r){var a=this;_classCallCheck(this,t),this._ngZone=e,this._platform=n,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){a._windowFocused=!0,a._windowFocusTimeoutId=setTimeout(function(){return a._windowFocused=!1})},this._stopInputModalityDetector=new we.xQ,this._rootNodeFocusAndBlurListener=function(t){for(var e=Ll(t),n="focus"===t.type?a._onFocus:a._onBlur,i=e;i;i=i.parentElement)n.call(a,t,i)},this._document=o,this._detectionMode=(null==r?void 0:r.detectionMode)||0}return _createClass(t,[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Cl(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,ge.of)(null);var i=Rl(n)||this._getDocument(),o=this._elementInfo.get(n);if(o)return e&&(o.checkChildren=!0),o.subject;
1var r={checkChildren:e,subject:new we.xQ,rootNode:i};return this._elementInfo.set(n,r),this._registerGlobalListeners(r),r.subject}},{key:"stopMonitoring",value:function(t){var e=Cl(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var i=this,o=Cl(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(function(t){var n=_slicedToArray(t,2),o=n[0],r=n[1];return i._originChanged(o,e,r)}):(this._setOrigin(e),"function"==typeof o.focus&&o.focus(n))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOrigin",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){e._origin=t,e._originFromTouchInteraction="touch"===t&&n,0===e._detectionMode&&(clearTimeout(e._originTimeoutId),e._originTimeoutId=setTimeout(function(){return e._origin=null},e._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e),i=Ll(t);!n||!n.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),n)}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run(function(){return t.next(e)})}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,vu),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,vu)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){e._getWindow().addEventListener("focus",e._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,fl.R)(this._stopInputModalityDetector)).subscribe(function(t){e._setOrigin(t,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,vu),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,vu),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}},{key:"_getClosestElementsInfo",value:function(t){var e=[];return this._elementInfo.forEach(function(n,i){(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b),r.LFG(kl),r.LFG(hu),r.LFG(l,8),r.LFG(mu,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.R0b),r.LFG(kl),r.LFG(hu),r.LFG(l,8),r.LFG(mu,8))},token:t,providedIn:"root"}),t}(),Cu=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._elementRef=e,this._focusMonitor=n,this.cdkFocusChange=new r.vpe}return _createClass(t,[{key:"ngAfterViewInit",value:function(){var t=this,e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(e){return t.cdkFocusChange.emit(e)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(yu))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),bu="cdk-high-contrast-black-on-white",Ou="cdk-high-contrast-white-on-black",Pu="cdk-high-contrast-active",wu=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._platform=e,this._document=n}return _createClass(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}}
1,{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove(Pu),t.remove(bu),t.remove(Ou),this._hasCheckedHighContrastMode=!0;var e=this.getHighContrastMode();1===e?(t.add(Pu),t.add(bu)):2===e&&(t.add(Pu),t.add(Ou))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(kl),r.LFG(l))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(kl),r.LFG(l))},token:t,providedIn:"root"}),t}(),Mu=function(){var t=_createClass(function t(e){_classCallCheck(this,t),e._applyBodyHighContrastModeCssClasses()});return t.\u0275fac=function(e){return new(e||t)(r.LFG(wu))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sl,jl]]}),t}(),xu=new r.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,r.f3M)(l)}}),ku=function(){var t=function(){function t(e){if(_classCallCheck(this,t),this.value="ltr",this.change=new r.vpe,e){var n=e.documentElement?e.documentElement.dir:null,i=(e.body?e.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return _createClass(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(xu,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(xu,8))},token:t,providedIn:"root"}),t}(),Su=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),Au=new r.GfV("12.2.13"),Tu=_createClass(function t(){_classCallCheck(this,t)}),Iu="*";function Eu(t,e){return{type:7,name:t,definitions:e,options:{}}}function Du(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function Ru(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function Fu(t){return{type:6,styles:t,offset:null}}function Lu(t,e,n){return{type:0,name:t,styles:e,options:n}}function Zu(t){return{type:5,steps:t}}function Nu(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function Uu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function Vu(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function ju(t){Promise.resolve(null).then(t)}var zu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}return _createClass(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{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 t=this;ju(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),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(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),qu=function(){function t(e){var n=this;_classCallCheck(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var i=0,o=0,r=0,a=this.players.length;0==a?ju(function(){return n._onFinish()}
1):this.players.forEach(function(t){t.onDone(function(){++i==a&&n._onFinish()}),t.onDestroy(function(){++o==a&&n._onDestroy()}),t.onStart(function(){++r==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return _createClass(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}();function Bu(){return"undefined"!=typeof window&&void 0!==window.document}function Yu(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Gu(t){switch(t.length){case 0:return new zu;case 1:return t[0];default:return new qu(t)}}function Hu(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],c=-1,l=null;if(i.forEach(function(t){var n=t.offset,i=n==c,u=i&&l||{};Object.keys(t).forEach(function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case"!":s=o[n];break;case Iu:s=r[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}u[i]=s}),i||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 Ju(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&Wu(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&Wu(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&Wu(n,"destroy",t))})}}function Wu(t,e,n){var i=n.totalTime,o=Qu(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(o._data=r),o}function Qu(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:o,totalTime:r,disabled:!!a}}function Ku(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function Xu(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var $u=function(t,e){return!1},td=function(t,e){return!1},ed=function(t,e,n){return[]},nd=Yu();(nd||"undefined"!=typeof Element)&&($u=Bu()?function(t,e){for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:function(t,e){return t.contains(e)},td=function(){if(nd||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:td}(),ed=function(t,e,n){var i=[];if(n)for(var o=t.querySelectorAll(e),r=0;r<o.length;r++)i.push(o[r]);else{var a=t.querySelector(e);a&&i.push(a)}return i});var id=null,od=!1;function rd(t){id||(id=("undefined"!=typeof document?document.body:null)||{},od=!!id.style&&"WebkitAppearance"in id.style);var e=!0;return id.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(!(e=t in id.style)&&od&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in id.style)),e}var ad=td,sd=$u,cd=ed;function ld(t){var e={};return Object.keys(t).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}var ud=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"validateStyleProperty",value:function(t){return rd(t)}},{key:"matchesElement",value:function(t,e){return ad(t,e)}},{key:"containsElement",value:function(t,e){return sd(t,e)}},{key:"query",value:function(t,e,n){return cd(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return n||""}},{key:"animate",value:function(t,e,n,i,o){return new zu(n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),dd=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.NOOP=new ud,t}(),hd="ng-enter",pd="ng-leave",fd="ng-trigger",gd=".ng-trigger",_d="ng-animating",md=".ng-animating";function vd(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:yd(parseFloat(e[1]),e[2])}function yd(t,e){return"s"===e?1e3*t:t}function Cd(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,o=0,r="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'.concat(t,'" is invali
1d.')),{duration:0,delay:0,easing:""};i=yd(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(o=yd(parseFloat(s),a[4]));var c=a[5];c&&(r=c)}else i=t;if(!n){var l=!1,u=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),l=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&e.splice(u,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:i,delay:o,easing:r}}(t,e,n)}function bd(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function Od(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else bd(t,n);return n}function Pd(t,e,n){return n?e+":"+n+";":""}function wd(t){for(var e="",n=0;n<t.style.length;n++){var i=t.style.item(n);e+=Pd(0,i,t.style.getPropertyValue(i))}for(var o in t.style)t.style.hasOwnProperty(o)&&!o.startsWith("_")&&(e+=Pd(0,Rd(o),t.style[o]));t.setAttribute("style",e)}function Md(t,e,n){t.style&&(Object.keys(e).forEach(function(i){var o=Dd(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[o]),t.style[o]=e[i]}),Yu()&&wd(t))}function xd(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=Dd(e);t.style[n]=""}),Yu()&&wd(t))}function kd(t){return Array.isArray(t)?1==t.length?t[0]:Ru(t):t}var Sd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ad(t){var e=[];if("string"==typeof t){for(var n;n=Sd.exec(t);)e.push(n[1]);Sd.lastIndex=0}return e}function Td(t,e,n){var i=t.toString(),o=i.replace(Sd,function(t,i){var o=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param ".concat(i)),o=""),o.toString()});return o==i?t:o}function Id(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var Ed=/-+([a-z0-9])/g;function Dd(t){return t.replace(Ed,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e[1].toUpperCase()})}function Rd(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fd(t,e){return 0===t||0===e}function Ld(t,e,n){var i=Object.keys(n);if(i.length&&e.length){var o=e[0],r=[];if(i.forEach(function(t){o.hasOwnProperty(t)||r.push(t),o[t]=n[t]}),r.length)for(var a=function(){var n=e[s];r.forEach(function(e){n[e]=Nd(t,e)})},s=1;s<e.length;s++)a()}return e}function Zd(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #".concat(e.type))}}function Nd(t,e){return window.getComputedStyle(t)[e]}function Ud(t,e){var n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'.concat(t,'" is not supported')),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var o=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var r=o[1],a=o[2],s=o[3];e.push(zd(r,s)),"<"==a[0]&&("*"!=r||"*"!=s)&&e.push(zd(s,r))}(t,n,e)}):n.push(t),n}var Vd=new Set(["true","1"]),jd=new Set(["false","0"]);function zd(t,e){var n=Vd.has(t)||jd.has(t),i=Vd.has(e)||jd.has(e);return function(o,r){var a="*"==t||t==o,s="*"==e||e==r;return!a&&n&&"boolean"==typeof o&&(a=o?Vd.has(t):jd.has(t)),!s&&i&&"boolean"==typeof r&&(s=r?Vd.has(e):jd.has(e)),a&&s}}var qd=new RegExp("s*:selfs*,?","g");function Bd(t,e,n){return new Yd(t).build(e,n)}var Yd=function(){function t(e){_classCallCheck(this,t),this._driver=e}return _createClass(t,[{key:"build",value:function(t,e){var n=new Gd(e);return this._resetContextStyleTimingState(n),Zd(this,kd(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,i=e.queryCount=0,o=e.depCount=0,r=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,c=s.name;
1c.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,r.push(n.visitState(s,e))}),s.name=c}else if(1==t.type){var l=n.visitTransition(t,e);i+=l.queryCount,o+=l.depCount,a.push(l)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:a,queryCount:i,depCount:o,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var o=new Set,r=i||{};if(n.styles.forEach(function(t){if(Hd(t)){var e=t;Object.keys(e).forEach(function(t){Ad(e[t]).forEach(function(t){r.hasOwnProperty(t)||o.add(t)})})}}),o.size){var a=Id(o.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n=Zd(this,kd(t.animation),e);return{type:1,matchers:Ud(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Jd(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return Zd(n,t,e)}),options:Jd(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,o=0,r=t.steps.map(function(t){e.currentTime=i;var r=Zd(n,t,e);return o=Math.max(o,e.currentTime),r});return e.currentTime=o,{type:3,steps:r,options:Jd(t.options)}}},{key:"visitAnimate",value:function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Wd(Cd(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var o=Wd(0,0,"");return o.dynamic=!0,o.strValue=i,o}return Wd((n=n||Cd(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var i,o=t.styles?t.styles:Fu({});if(5==o.type)i=this.visitKeyframes(o,e);else{var r=t.styles,a=!1;if(!r){a=!0;var s={};n.easing&&(s.easing=n.easing),r=Fu(s)}e.currentTime+=n.duration+n.delay;var c=this.visitStyle(r,e);c.isEmptyStep=a,i=c}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==Iu?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)}):n.push(t.styles);var i=!1,o=null;return n.forEach(function(t){if(Hd(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e)if(e[r].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a=e.collectedStyles[e.currentQuerySelector],s=a[i],c=!0;s&&(r!=o&&r>=s.startTime&&o<=s.endTime&&(e.errors.push('The CSS property "'.concat(i,'" 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(r,'ms" and "').concat(o,'ms"')),c=!1),r=s.startTime),c&&(a[i]={startTime:r,endTime:o}),e.options&&function(t,e,n){var i=e.params||{},o=Ad(t);o.length&&o.forEach(function(t){i.hasOwnProperty(t)||n.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})}(t[i],e.options,e.errors)}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var o=0,r=[],a=!1,s=!1,c=0,l=t.steps.map(function(t){var i=n._makeStyleAst(t,e),l=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(Hd(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(Hd(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),u=0;return null!=l&&(o++,u=i.offset=l),s=s||u<0||u>1,a=a||u<c,c=u,r.push(u),i});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");var u=t.steps.length,d=0;o>0&&o<u?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(d=1/(u-1));var h=u-1,p=e.currentTime,f=e.currentAnimateTimings,g=f.duration;return l.forEach(function(t,o){var a=d>0?o==h?1:d*o:r[o],s=a*g;e.currentTime=p+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,i.styles.push(t)}),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:Zd(this,kd(t.animation),e),options:Jd(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:Jd(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Jd(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var o=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(qd,"")),t=t.replace(/@\*/g,gd).replace(/@\w+/g,function(t){return gd+"-"+t.substr(1)}).replace(/:animating/g,md),[t,e]}(t.selector),r=_slicedToArray(o,2),a=r[0],s=r[1];e.currentQuerySelector=n.length?n+" "+a:a,Ku(e.collectedStyles,e.currentQuerySelector,{});var c=Zd(this,kd(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:c,originalSelector:t.selector,options:Jd(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Cd(t.timings,e.errors,!0);return{type:12,animation:Zd(this,kd(t.animation),e),timings:n,options:null}}}]),t}(),Gd=_createClass(function t(e){_classCallCheck(this,t),this.errors=e,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 Hd(t){return!Array.isArray(t)&&"object"==typeof t}function Jd(t){return t?(t=bd(t)).params&&(t.params=function(t){return t?bd(t):null}(t.params)):t={},t}function Wd(t,e,n){return{duration:t,delay:e,easing:n}}function Qd(t,e,n,i,o,r){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:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:a,subTimeline:s}}var Kd=function(){function t(){_classCallCheck(this,t),this._map=new Map}
1return _createClass(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,i=this._map.get(t);i||this._map.set(t,i=[]),(n=i).push.apply(n,_toConsumableArray(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),Xd=new RegExp(":enter","g"),$d=new RegExp(":leave","g");function th(t,e,n,i,o){var r=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 eh).buildKeyframes(t,e,n,i,o,r,a,s,c,l)}var eh=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"buildKeyframes",value:function(t,e,n,i,o,r,a,s,c){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new Kd;var u=new ih(t,e,c,i,o,l,[]);u.options=s,u.currentTimeline.setStyles([r],null,u.errors,s),Zd(this,n,u);var d=u.timelines.filter(function(t){return t.containsAnimation()});if(d.length&&Object.keys(a).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([a],null,u.errors,s)}return d.length?d.map(function(t){return t.buildKeyframes()}):[Qd(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),o=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);o!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,o=null!=n.duration?vd(n.duration):null,r=null!=n.delay?vd(n.delay):null;return 0!==o&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,o,r);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),Zd(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,o=e,r=t.options;if(r&&(r.params||r.delay)&&((o=e.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=nh);var a=vd(r.delay);o.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return Zd(n,t,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],o=e.currentTimeline.currentTime,r=t.options&&t.options.delay?vd(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);r&&s.delayNextStep(r),Zd(n,a,s),o=Math.max(o,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(o),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return Cd(e.params?Td(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,o=n.duration,r=e.createSubContext().currentTimeline;
1r.easing=n.easing,t.styles.forEach(function(t){r.forwardTime((t.offset||0)*o),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+o),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,o=t.options||{},r=o.delay?vd(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=nh);var a=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;var c=null;s.forEach(function(i,o){e.currentQueryIndex=o;var s=e.createSubContext(t.options,i);r&&s.delayNextStep(r),i===e.element&&(c=s.currentTimeline),Zd(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,o=t.timings,r=Math.abs(o.duration),a=r*(e.currentQueryTotal-1),s=r*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var c=e.currentTimeline;s&&c.delayNextStep(s);var l=c.currentTime;Zd(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),t}(),nh={},ih=function(){function t(e,n,i,o,r,a,s,c){_classCallCheck(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new oh(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,o=this.options;null!=i.duration&&(o.duration=vd(i.duration)),null!=i.delay&&(o.delay=vd(i.delay));var r=i.params;if(r){var a=o.params;a||(a=this.options.params={}),Object.keys(r).forEach(function(t){(!e||!a.hasOwnProperty(t))&&(a[t]=Td(r[t],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=n||this.element,r=new t(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=nh,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new rh(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,i,o,r){var a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(Xd,"."+this._enterClassName)).replace($d,"."+this._leaveClassName);var s=this._driver.query(this.element,t,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!o&&0==a.length&&r.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),a}}]),t}(),oh=function(){function t(e,n,i,o){_classCallCheck(this,t),this._driver=e,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=o,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()}
1return _createClass(t,[{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:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||Iu,e._currentKeyframe[t]=Iu}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var o=this;e&&(this._previousKeyframe.easing=e);var r=i&&i.params||{},a=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=Iu}):Od(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=Td(a[t],r,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:Iu),o._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var i=e._styleSummary[n],o=t._styleSummary[n];(!i||o.time>i.time)&&e._updateStyle(n,o.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(r,a){var s=Od(r,!0);Object.keys(s).forEach(function(t){var i=s[t];"!"==i?e.add(t):i==Iu&&n.add(t)}),i||(s.offset=a/t.duration),o.push(s)});var r=e.size?Id(e.values()):[],a=n.size?Id(n.values()):[];if(i){var s=o[0],c=bd(s);s.offset=0,c.offset=1,o=[s,c]}return Qd(this.element,o,r,a,this.duration,this.startTime,this.easing,!1)}}]),t}(),rh=function(t){function e(t,n,i,o,r,a){var s,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,e),(s=_callSuper(this,e,[t,n,a.delay])).keyframes=i,s.preStyleProps=o,s.postStyleProps=r,s._stretchStartingKeyframe=c,s.timings={duration:a.duration,delay:a.delay,easing:a.easing},s}return _inherits(e,t),_createClass(e,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&n){var r=[],a=i+n,s=n/a,c=Od(t[0],!1);c.offset=0,r.push(c);var l=Od(t[0],!1);l.offset=ah(s),r.push(l);for(var u=t.length-1,d=1;d<=u;d++){var h=Od(t[d],!1);h.offset=ah((n+h.offset*i)/a),r.push(h)}i=a,n=0,o="",t=r}return Qd(this.element,t,this.preStyleProps,this.postStyleProps,i,n,o,!0)}}]),e}(oh);function ah(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var sh=_createClass(function t(){_classCallCheck(this,t)}),ch=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"normalizePropertyName",value:function(t,e){return Dd(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var o="",r=n.toString().trim();if(lh[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return r+o}}]),e}(sh),lh=function(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}("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 uh(t,e,n,i,o,r,a,s,c,l,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:r,toState:i,toStyles:a,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}var dh={},hh=function(){function t(e,n,i){_classCallCheck(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return _createClass(t,[{key:"match",value:function(t,e,n,i){return function(t,e,n,i,o){return t.some(function(t){return t(e,n,i,o)})}(this.ast.matchers,t,e,n,i)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],o=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return o?o.buildStyles(e,n):r}},{key:"build",value:function(t,e,n,i,o,r,a,s,c,l){var u=[],d=this.ast.options&&this.ast.options.params||dh,h=this.buildStyles(n,a&&a.params||dh,u),p=s&&s.params||dh,f=this.buildStyles(i,p,u),g=new Set,_=new Map,m=new Map,v="void"===i,y={params:Object.assign(Object.assign({},d),p)},C=l?[]:th(t,e,this.ast.animation,o,r,h,f,y,c,u),b=0;if(C.forEach(function(t){b=Math.max(t.duration+t.delay,b)}),u.length)return uh(e,this._triggerName,n,i,v,h,f,[],[],_,m,b,u);
1C.forEach(function(t){var n=t.element,i=Ku(_,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var o=Ku(m,n,{});t.postStyleProps.forEach(function(t){return o[t]=!0}),n!==e&&g.add(n)});var O=Id(g.values());return uh(e,this._triggerName,n,i,v,h,f,C,O,_,m,b)}}]),t}(),ph=function(){function t(e,n,i){_classCallCheck(this,t),this.styles=e,this.defaultParams=n,this.normalizer=i}return _createClass(t,[{key:"buildStyles",value:function(t,e){var n=this,i={},o=bd(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(o[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach(function(t){var a=r[t];a.length>1&&(a=Td(a,o,e));var s=n.normalizer.normalizePropertyName(t,e);a=n.normalizer.normalizeStyleValue(t,s,a,e),i[s]=a})}}),i}}]),t}(),fh=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this.name=e,this.ast=n,this._normalizer=i,this.transitionFactories=[],this.states={},n.states.forEach(function(t){o.states[t.name]=new ph(t.style,t.options&&t.options.params||{},i)}),gh(this.states,"true","1"),gh(this.states,"false","0"),n.transitions.forEach(function(t){o.transitionFactories.push(new hh(e,t,o.states))}),this.fallbackTransition=function(t,e,n){return new hh(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},e)}(e,this.states)}
1return _createClass(t,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find(function(o){return o.match(t,e,n,i)})||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}]),t}();function gh(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var _h=new Kd,mh=function(){function t(e,n,i){_classCallCheck(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _createClass(t,[{key:"register",value:function(t,e){var n=[],i=Bd(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,o=Hu(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=[],a=this._animations[t],s=new Map;if(a?(n=th(this._driver,e,a,hd,pd,{},{},o,_h,r)).forEach(function(t){var e=Ku(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(r.push("The requested animation doesn't exist or has already been destroyed"),n=[]),r.length)throw new Error("Unable to create the animation due to the following errors: ".concat(r.join("\n")));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,Iu)})});var c=Gu(n.map(function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(function(){return i.destroy(t)}),this.players.push(c),c}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,i){var o=Qu(e,"","","");return Ju(this._getPlayer(t),n,o,i),function(){}}},{key:"command",value:function(t,e,n,i){if("register"!=n)if("create"!=n){var o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])}}]),t}(),vh="ng-animate-queued",yh="ng-animate-disabled",Ch=".ng-animate-disabled",bh=[],Oh={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ph={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},wh="__ng_removed",Mh=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,t),this.namespaceId=n;var i=e&&e.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(i?e.value:e),i){var o=bd(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(t,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}}}]),t}(),xh="void",kh=new Mh(xh),Sh=function(){function t(e,n,i){_classCallCheck(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+e,Lh(n,this._hostClassName)}return _createClass(t,[{key:"listen",value:function(t,e,n,i){var o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if(!function(t){return"start"==t||"done"==t}(n))throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var r=Ku(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};r.push(a);var s=Ku(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(Lh(t,fd),Lh(t,fd+"-"+e),s[e]=kh),function(){o._engine.afterFlush(function(){var t=r.indexOf(a);t>=0&&r.splice(t,1),o._triggers[e]||delete s[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this._getTrigger(e),a=new Th(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Lh(t,fd),Lh(t,fd+"-"+e),this._engine.statesByElement.set(t,s={}));var c=s[e],l=new Mh(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s[e]=l,c||(c=kh),l.value===xh||c.value!==l.value){var u=Ku(this._engine.playersByElement,t,[]);u.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var d=r.matchTransition(c.value,l.value,t,l.params),h=!1;if(!d){if(!o)return;d=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:c,toState:l,player:a,isFallbackTransition:h}),h||(Lh(t,vh),a.onStart(function(){Zh(t,vh)})),a.onDone(function(){var e=i.players.indexOf(a);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var o=n.indexOf(a);o>=0&&n.splice(o,1)}}),this.players.push(a),u.push(a),a}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var o=0;o<n.length;o++){var r=n[o];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(c.params,l.params)){var p=[],f=r.matchStyles(c.value,c.params,p),g=r.matchStyles(l.value,l.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush(function(){xd(t,f),Md(t,g)})}}},{key:"deregister",value:function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,i){e._elementListeners.set(i,n.filter(function(e){return e.name!=t}))})}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,e){var n=this,i=this._engine.driver.query(t,gd,!0);i.forEach(function(t){if(!t[wh]){var i=n._engine.fetchNamespacesByElement(t);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):n.clearElementCache(t)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(t){return n.clearElementCache(t)})})}},{key:"triggerLeaveAnimation",value:function(t,e,n,i){var o=this,r=this._engine.statesByElement.get(t);if(r){var a=[];if(Object.keys(r).forEach(function(e){if(o._triggers[e]){var n=o.trigger(t,e,xh,i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Gu(a).onDone(function(){return o._engine.processLeaveNode(t)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var e=this,n=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(n&&i){var o=new Set;n.forEach(function(n){var r=n.name;if(!o.has(r)){o.add(r);var a=e._triggers[r].fallbackTransition,s=i[r]||kh,c=new Mh(xh),l=new Th(e.id,r,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:r,transition:a,fromState:s,toState:c,player:l,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var o=!1;if(i.totalAnimations){var r=i.players.length?i.playersByQueriedElement.get(t):[];if(r&&r.length)o=!0;else for(var a=t;a=a.parentNode;)if(i.statesByElement.get(a)){o=!0;break}}if(this.prepareLeaveAnimationListeners(t),o)i.markElementAsRemoved(this.id,t,!1,e);else{var s=t[wh];(!s||s===Oh)&&(i.afterFlush(function(){return n.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}}},{key:"insertNode",value:function(t,e){Lh(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var e=this,n=[];return this._queue.forEach(function(i){var o=i.player;if(!o.destroyed){var r=i.element,a=e._elementListeners.get(r);a&&a.forEach(function(e){if(e.name==i.triggerName){var n=Qu(r,i.triggerName,i.fromState.value,i.toState.value);n._data=t,Ju(i.player,e.phase,n,e.callback)}}),o.markedForDestroy?e._engine.afterFlush(function(){o.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(t,n){var i=t.transition.ast.depCount,o=n.transition.ast.depCount;return 0==i||0==o?i-o:e._engine.driver.containsElement(t.element,n.element)?1:-1})}}
1,{key:"destroy",value:function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e}}]),t}(),Ah=function(){function t(e,n,i){_classCallCheck(this,t),this.bodyNode=e,this.driver=n,this._normalizer=i,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(t,e){}}return _createClass(t,[{key:"_onRemovalComplete",value:function(t,e){this.onRemovalComplete(t,e)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t}},{key:"createNamespace",value:function(t,e){var n=new Sh(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}},{key:"_balanceNamespaceList",value:function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),o=0;o<i.length;o++){var r=n[i[o]].namespaceId;if(r){var a=this._fetchNamespace(r);a&&e.add(a)}}return e}},{key:"trigger",value:function(t,e,n,i){if(Ih(e)){var o=this._fetchNamespace(t);if(o)return o.trigger(e,n,i),!0}return!1}},{key:"insertNode",value:function(t,e,n,i){if(Ih(e)){var o=e[wh];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var r=this.collectedLeaveElements.indexOf(e);r>=0&&this.collectedLeaveElements.splice(r,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Lh(t,yh)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Zh(t,yh))}},{key:"removeNode",value:function(t,e,n,i){if(Ih(e)){var o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var r=this.namespacesByHostElement.get(e);r&&r.id!==t&&r.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e[wh]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,o){return Ih(e)?this._fetchNamespace(t).listen(e,n,i,o):function(){}}},{key:"_buildInstruction",value:function(t,e,n,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,o)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,gd,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,md,!0)).forEac
1h(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return Gu(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t[wh];if(n&&n.setForRemoval){if(t[wh]=Oh,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,Ch)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Ch,!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)Lh(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,e)}finally{for(var r=0;r<o.length;r++)o[r]()}}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(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?Gu(n).onDone(function(){s.forEach(function(t){return t()})}):s.forEach(function(t){return t()})}}},{key:"reportError",value:function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(t.join("\n")))}},{key:"_flushAnimations",value:function(t,e){var n=this,i=new Kd,o=[],r=new Map,a=[],s=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(function(t){u.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),i=0;i<e.length;i++)u.add(e[i])});var d=this.bodyNode,h=Array.from(this.statesByElement.keys()),p=Rh(h,this.collectedEnterElements),f=new Map,g=0;p.forEach(function(t,e){var n=hd+g++;f.set(e,n),t.forEach(function(t){return Lh(t,n)})});for(var _=[],m=new Set,v=new Set,y=0;y<this.collectedLeaveElements.length;y++){var C=this.collectedLeaveElements[y],b=C[wh];b&&b.setForRemoval&&(_.push(C),m.add(C),b.hasAnimation?this.driver.query(C,".ng-star-inserted",!0).forEach(function(t){return m.add(t)}):v.add(C))}var O=new Map,P=Rh(h,Array.from(m));P.forEach(function(t,e){var n=pd+g++;O.set(e,n),t.forEach(function(t){return Lh(t,n)})}),t.push(function(){p.forEach(function(t,e){var n=f.get(e);t.forEach(function(t){return Zh(t,n)})}),P.forEach(function(t,e){var n=O.get(e);t.forEach(function(t){return Zh(t,n)})}),_.forEach(function(t){n.processLeaveNode(t)})});for(var w=[],M=[],x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(e).forEach(function(t){var e=t.player,r=t.element;if(w.push(e),n.collectedEnterElements.length){var u=r[wh];if(u&&u.setForMove)return void e.destroy()}var h=!d||!n.driver.containsElement(d,r),p=O.get(r),g=f.get(r),_=n._buildInstruction(t,i,g,p,h);if(_.errors&&_.errors.length)M.push(_);else{if(h)return e.onStart(function(){return xd(r,_.fromStyles)}),e.onDestroy(function(){return Md(r,_.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return xd(r,_.fromStyles)}),e.onDestroy(function(){return Md(r,_.toStyles)}),void o.push(e);_.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),i.append(r,_.timelines),a.push({instruction:_,player:e,element:r}),_.queriedElements.forEach(function(t){return Ku(s,t,[]).push(e)}),_.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=c.get(e);
1i||c.set(e,i=new Set),n.forEach(function(t){return i.add(t)})}}),_.postStyleProps.forEach(function(t,e){var n=Object.keys(t),i=l.get(e);i||l.set(e,i=new Set),n.forEach(function(t){return i.add(t)})})}});if(M.length){var k=[];M.forEach(function(t){k.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return k.push("- ".concat(t,"\n"))})}),w.forEach(function(t){return t.destroy()}),this.reportError(k)}var S=new Map,A=new Map;a.forEach(function(t){var e=t.element;i.has(e)&&(A.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){Ku(S,e,[]).push(t),t.destroy()})});var T=_.filter(function(t){return Vh(t,c,l)}),I=new Map;Dh(I,this.driver,v,l,Iu).forEach(function(t){Vh(t,c,l)&&T.push(t)});var E=new Map;p.forEach(function(t,e){Dh(E,n.driver,new Set(t),c,"!")}),T.forEach(function(t){var e=I.get(t),n=E.get(t);I.set(t,Object.assign(Object.assign({},e),n))});var D=[],R=[],F={};a.forEach(function(t){var e=t.element,a=t.player,s=t.instruction;if(i.has(e)){if(u.has(e))return a.onDestroy(function(){return Md(e,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void o.push(a);var c=F;if(A.size>1){for(var l=e,d=[];l=l.parentNode;){var h=A.get(l);if(h){c=h;break}d.push(l)}d.forEach(function(t){return A.set(t,c)})}var p=n._buildAnimation(a.namespaceId,s,S,r,E,I);if(a.setRealPlayer(p),c===F)D.push(a);else{var f=n.playersByElement.get(c);f&&f.length&&(a.parentPlayer=Gu(f)),o.push(a)}}else xd(e,s.fromStyles),a.onDestroy(function(){return Md(e,s.toStyles)}),R.push(a),u.has(e)&&o.push(a)}),R.forEach(function(t){var e=r.get(t.element);if(e&&e.length){var n=Gu(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var L=0;L<_.length;L++){var Z=_[L],N=Z[wh];if(Zh(Z,pd),!N||!N.hasAnimation){var U=[];if(s.size){var V=s.get(Z);V&&V.length&&U.push.apply(U,_toConsumableArray(V));for(var j=this.driver.query(Z,md,!0),z=0;z<j.length;z++){var q=s.get(j[z]);q&&q.length&&U.push.apply(U,_toConsumableArray(q))}}var B=U.filter(function(t){return!t.destroyed});B.length?Nh(this,Z,B):this.processLeaveNode(Z)}}return _.length=0,D.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),D}},{key:"elementContainsData",value:function(t,e){var n=!1,i=e[wh];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}},{key:"afterFlush",value:function(t){this._flushFns.push(t)}},{key:"afterFlushAnimationsDone",value:function(t){this._whenQuietFns.push(t)}},{key:"_getPreviousPlayers",value:function(t,e,n,i,o){var r=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(r=a)}else{var s=this.playersByElement.get(t);if(s){var c=!o||o==xh;s.forEach(function(t){t.queued||!c&&t.triggerName!=i||r.push(t)})}}return(n||i)&&(r=r.filter(function(t){return!(n&&n!=t.namespaceId||i&&i!=t.triggerName)})),r}},{key:"_beforeAnimationBuild",value:function(t,e,n){var i,o=this,r=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName,c=_createForOfIteratorHelper(e.timelines);try{var l=function(){var t=i.value.element,c=t!==r,l=Ku(n,t,[]);o._getPreviousPlayers(t,c,a,s,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})};for(c.s();!(i=c.n()).done;)l()}catch(u){c.e(u)}finally{c.f()}xd(r,e.fromStyles)}},{key:"_buildAnimation",value:function(t,e,n,i,o,r){var a=this,s=e.triggerName,c=e.element,l=[],u=new Set,d=new Set,h=e.timelines.map(function(e){var h=e.element;u.add(h);var p=h[wh];if(p&&p.removedBeforeQueried)return new zu(e.duration,e.delay);var f=h!==c,g=function(t){var e=[];return Uh(t,e),e}((n.get(h)||bh).map(function(t){return t.getRealPlayer()})).filter(function(t){return!!t.element&&t.element===h}),_=o.get(h),m=r.get(h),v=Hu(0,a._normalizer,0,e.keyframes,_,m),y=a._buildPlayer(e,v,g);if(e.subTimeline&&i&&d.add(h),f){var C=new Th(t,s,h);C.setRealPlayer(y),l.push(C)}return y});l.forEach(function(t){Ku(a.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var i;if(t instanceof Map){if(i=t.get(e)){if(i.length){var o=i.indexOf(n);i.splice(o,1)}0==i.length&&t.delete(e)}}else if(i=t[e]){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&delete t[e]}return i}(a.playersByQueriedElement,t.element,t)})}),u.forEach(function(t){return Lh(t,_d)});var p=Gu(h);return p.onDestroy(function(){u.forEach(function(t){return Zh(t,_d)}),Md(c,e.toStyles)}),d.forEach(function(t){Ku(i,t,[]).push(p)}),p}},{key:"_buildPlayer",value:function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new zu(t.duration,t.delay)}}]),t}(),Th=function(){function t(e,n,i){_classCallCheck(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new zu,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1h(function(n){e._queuedCallbacks[n].forEach(function(e){return Ju(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){Ku(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{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(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function Ih(t){return t&&1===t.nodeType}function Eh(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Dh(t,e,n,i,o){var r=[];n.forEach(function(t){return r.push(Eh(t))});var a=[];i.forEach(function(n,i){var r={};n.forEach(function(t){var n=r[t]=e.computeStyle(i,t,o);(!n||0==n.length)&&(i[wh]=Ph,a.push(i))}),t.set(i,r)});var s=0;return n.forEach(function(t){return Eh(t,r[s++])}),a}function Rh(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var i=new Set(e),o=new Map;function r(t){if(!t)return 1;var e=o.get(t);if(e)return e;var a=t.parentNode;return e=n.has(a)?a:i.has(a)?1:r(a),o.set(t,e),e}return e.forEach(function(t){var e=r(t);1!==e&&n.get(e).push(t)}),n}var Fh="$$classes";function Lh(t,e){if(t.classList)t.classList.add(e);else{var n=t[Fh];n||(n=t[Fh]={}),n[e]=!0}}function Zh(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Fh];n&&delete n[e]}}function Nh(t,e,n){Gu(n).onDone(function(){return t.processLeaveNode(e)})}function Uh(t,e){for(var n=0;n<t.length;n++){var i=t[n];i instanceof qu?Uh(i.players,e):e.push(i)}}function Vh(t,e,n){var i=n.get(t);if(!i)return!1;var o=e.get(t);return o?i.forEach(function(t){return o.add(t)}):e.set(t,i),n.delete(t),!0}var jh=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Ah(e,n,i),this._timelineEngine=new mh(e,n,i),this._transitionEngine.onRemovalComplete=function(t,e){return o.onRemovalComplete(t,e)}}return _createClass(t,[{key:"registerTrigger",value:function(t,e,n,i,o){var r=t+"-"+i,a=this._triggerCache[r];if(!a){var s=[],c=Bd(this._driver,o,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(t,e,n){return new fh(t,e,n)}(i,c,this._normalizer),this._triggerCache[r]=a}this._transitionEngine.registerTrigger(e,i,a)}},{key:"register",value:function(t,e){this._transitionEngine.register(t,e)}},{key:"destroy",value:function(t,e){this._transitionEngine.destroy(t,e)}},{key:"onInsert",value:function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}},{key:"onRemove",value:function(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}},{key:"disableAnimations",value:function(t,e){this._transitionEngine.markElementAsDisabled(t,e)}},{key:"process",value:function(t,e,n,i){if("@"==n.charAt(0)){var o=_slicedToArray(Xu(n),2),r=o[0],a=o[1];this._timelineEngine.command(r,e,a,i)}else this._transitionEngine.trigger(t,e,n,i)}},{key:"listen",value:function(t,e,n,i,o){if("@"==n.charAt(0)){var r=_slicedToArray(Xu(n),2),a=r[0],s=r[1];return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(t,e,n,i,o)}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),t}();function zh(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=Bh(e[0]),e.length>1&&(i=Bh(e[e.length-1]))):e&&(n=Bh(e)),n||i?new qh(t,n,i):null}var qh=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o={}),this._initialStyles=o}return _createClass(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Md(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Md(this._element,this._initialStyles),this._endStyles&&(Md(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(xd(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xd(this._element,this._endStyles),this._endStyles=null),Md(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function Bh(t){for(var e=null,n=Object.keys(t),i=0;i<n.length;i++){var o=n[i];Yh(o)&&((e=e||{})[o]=t[o])}return e}function Yh(t){return"display"===t||"position"===t}var Gh="animation",Hh="animationend",Jh=function(){function t(e,n,i,o,r,a,s){var c=this;_classCallCheck(this,t),this._element=e,this._name=n,this._duration=i,this._delay=o,this._easing=r,this._fillMode=a,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return c._handleCallback(t)}}return _createClass(t,[{key:"apply",value:function(){(function(t,e){var n=tp(t,"").trim();n.length&&(function(t,e){for(var n=0,i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e="".concat(n,", ").concat(e)),$h(t,"",e)})(this._element,"".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name)),Xh(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){Wh(this._element,this._name,"paused")}},{key:"resume",value:function(){Wh(this._element,this._name,"running")}},{key:"setPosition",value:function(t){var e=Qh(this._element,this._name);this._position=t*this._duration,$h(this._element,"Delay","-".concat(this._position,"ms"),e)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Xh(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){var n=tp(t,"").split(","),i=Kh(n,e);i>=0&&(n.splice(i,1),$h(t,"",n.join(",")))}(this._element,this._name))}}]),t}();function Wh(t,e,n){$h(t,"PlayState",n,Qh(t,e))}function Qh(t,e){var n=tp(t,"");return n.indexOf(",")>0?Kh(n.split(","),e):Kh([n],e)}function Kh(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Xh(t,e,n){n?t.removeEventListener(Hh,e):t.addEventListener(Hh,e)}function $h(t,e,n,i){var o=Gh+e;if(null!=i){var r=t.style[o];if(r.length){var a=r.split(",");a[i]=n,n=a.join(",")}}t.style[o]=n}function tp(t,e){return t.style[Gh+e]||""}var ep=function(){function t(e,n,i,o,r,a,s,c){_classCallCheck(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=o,this._delay=r,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=o+r,this._buildStyler()}return _createClass(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{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(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>
1=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{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._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new Jh(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:Nd(t.element,i))})}this.currentSnapshot=e}}]),t}(),np=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).element=t,i._startingStyles={},i.__initialized=!1,i._styles=ld(n),i}return _inherits(e,t),_createClass(e,[{key:"init",value:function(){var t=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),_get(_getPrototypeOf(e.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),_get(_getPrototypeOf(e.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,_get(_getPrototypeOf(e.prototype),"destroy",this).call(this))}}]),e}(zu),ip=function(){function t(){_classCallCheck(this,t),this._count=0}return _createClass(t,[{key:"validateStyleProperty",value:function(t){return rd(t)}},{key:"matchesElement",value:function(t,e){return ad(t,e)}},{key:"containsElement",value:function(t,e){return sd(t,e)}},{key:"query",value:function(t,e,n){return cd(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map(function(t){return ld(t)});var i="@keyframes ".concat(e," {\n"),o="";n.forEach(function(t){o=" ";var e=parseFloat(t.offset);i+="".concat(o).concat(100*e,"% {\n"),o+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+="".concat(o,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(o).concat(e,": ").concat(n,";\n"))}}),i+="".concat(o,"}\n")}),i+="}\n";var r=document.createElement("style");return r.textContent=i,r}},{key:"animate",value:function(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=r.filter(function(t){return t instanceof ep}),s={};Fd(n,i)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var c=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=Ld(t,e,s));if(0==n)return new np(t,c);var l="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(t,l,e);(function(t){var e,n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(u);var d=zh(t,e),h=new ep(t,e,l,n,i,o,c,d);return h.onDestroy(function(){return function(t){t.parentNode.removeChild(t)}(u)}),h}}]),t}(),op=function(){function t(e,n,i,o){_classCallCheck(this,t),this.element=e,this.keyframes=n,this.options=i,this._specialStyles=o,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _createClass(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),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(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Nd(t.element,n))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),rp=function(){function t(){_classCallCheck(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ap().toString()),this._cssKeyframesDriver=new ip}return _createClass(t,[{key:"validateStyleProperty",value:function(t){return rd(t)}},{key:"matchesElement",value:function(t,e){return ad(t,e)}},{key:"containsElement",value:function(t,e){return sd(t,e)}},{key:"query",value:function(t,e,n){return cd(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,o){var r=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(t,e,n,i,o,r);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};o&&(s.easing=o);var c={},l=r.filter(function(t){return t instanceof op});Fd(n,i)&&l.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return c[t]=e[t]})});var u=zh(t,e=Ld(t,e=e.map(function(t){return Od(t,!1)}),c));return new op(t,e,s,u)}}]),t}();function ap(){return Bu()&&Element.prototype.animate||{}}var sp=function(){var t=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e))._nextAnimationId=0,i._renderer=t.createRenderer(n.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}}),i}return _inherits(e,t),_createClass(e,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Ru(t):t;return up(this._renderer,null,e,"register",[n]),new cp(e,this._renderer)}}]),e}(Tu);return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.FYo),r.LFG(l))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),cp=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e))._id=t,i._renderer=n,i}return _inherits(e,t),_createClass(e,[{key:"create",value:function(t,e){return new lp(this._id,t,e||{},this._renderer)}}]),e}(function(){return _createClass(function t(){_classCallCheck(this,t)})}()),lp=function(){function t(e,n,i,o){_classCallCheck(this,t),this.id=e,this.element=n,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _createClass(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return up(this._renderer,this.element,this.id,t,n)}},{key:"onDone",value:function(t){this._listen("done",t)}},{key:"onStart",value:function(t){this._listen("start",t)}},{key:"onDestroy",value:function(t){this._listen("destroy",t)}},{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"),this._started=!1}},{key:"setPosition",value:function(t){this._command("setPosition",t)}},{key:"getPosition",value:function(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}]),t}();function up(t,e,n,i,o){return t.setProperty(e,"@@".concat(n,":").concat(i),o)}var dp="@.disabled",hp=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.delegate=e,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return _createClass(t,[{key:"createRenderer",value:function(t,e){var n=this,i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var o=this._rendererCache.get(i);return o||(o=new pp("",i,this.engine),this._rendererCache.set(i,o)),o}var r=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);return e.data.animation.forEach(function e(i){Array.isArray(i)?i.forEac
1h(e):n.engine.registerTrigger(r,a,t,i.name,i)}),new fp(this,a,i,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var t=this;this.promise.then(function(){t._microtaskId++})}},{key:"scheduleListenerCallback",value:function(t,e,n){var i=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(t){var e=_slicedToArray(t,2);(0,e[0])(e[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}},{key:"end",value:function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.FYo),r.LFG(jh),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),pp=function(){function t(e,n,i){_classCallCheck(this,t),this.namespaceId=e,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(t){return n.destroyNode(t)}:null}return _createClass(t,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(t,e){return this.delegate.createElement(t,e)}},{key:"createComment",value:function(t){return this.delegate.createComment(t)}},{key:"createText",value:function(t){return this.delegate.createText(t)}},{key:"appendChild",value:function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}},{key:"insertBefore",value:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,i){this.delegate.setStyle(t,e,n,i)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)&&e==dp?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}}]),t}(),fp=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[n,i,o])).factory=t,r.namespaceId=n,r}return _inherits(e,t),_createClass(e,[{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==dp?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,e,n){var i=this;if("@"==e.charAt(0)){var o,r,a=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),s=e.substr(1),c="";return"@"!=s.charAt(0)&&(o=function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s),s=(r=_slicedToArray(o,2))[0],c=r[1]),this.engine.listen(this.namespaceId,a,s,c,function(t){i.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}]),e}(pp),gp=function(){var t=function(t){function e(t,n,i){return _classCallCheck(this,e),_callSuper(this,e,[t.body,n,i])}return _inherits(e,t),_createClass(e,[{key:"ngOnDestroy",value:function(){this.flush()}}]),e}(jh);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(dd),r.LFG(sh))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),_p=new r.OlP("AnimationModuleType"),mp=[{provide:Tu,useClass:sp},{provide:sh,useFactory:function(){return new ch}},{provide:jh,useClass:gp},{provide:r.FYo,useFactory:function(t,e,n){return new hp(t,e,n)},deps:[$t,jh,r.R0b]}],vp=[{provide:dd,useFactory:function(){return"function"==typeof ap()?new rp:new ip}},{provide:_p,useValue:"BrowserAnimations"}].concat(mp),yp=[{provide:dd,useClass:ud},{provide:_p,useValue:"NoopAnimations"}].concat(mp),Cp=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?yp:vp}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:vp,imports:[pe]}),t}();function bp(t,e){if(1&t&&r._UZ(0,"mat-pseudo-checkbox",4),2&t){var n=r.oxw();r.Q6J("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}function Op(t,e){if(1&t&&(r.TgZ(0,"span",5),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij("(",n.group.label,")")}}var Pp=["*"],wp=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t}(),Mp=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),xp=new r.GfV("12.2.13"),kp=new r.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Sp=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasse
1s(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(t,[{key:"_checkIsEnabled",value:function(t){return!(!(0,r.X6Q)()||Zl())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.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(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&xp.full!==Au.full&&console.warn("The Angular Material version ("+xp.full+") does not match the Angular CDK version ("+Au.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(wu),r.LFG(kp,8),r.LFG(l))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Su],Su]}),t}();function Ap(t){return function(t){function e(){var t;_classCallCheck(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=_callSuper(this,e,[].concat(i)))._disabled=!1,t}return _inherits(e,t),_createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=gl(t)}}]),e}(t)}function Tp(t,e){return function(t){function n(){var t;_classCallCheck(this,n);for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return(t=_callSuper(this,n,[].concat(o))).defaultColor=e,t.color=e,t}return _inherits(n,t),_createClass(n,[{key:"color",get:function(){return this._color},set:function(t){var e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),e&&this._elementRef.nativeElement.classList.add("mat-".concat(e)),this._color=e)}}]),n}(t)}function Ip(t){return function(t){function e(){var t;_classCallCheck(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=_callSuper(this,e,[].concat(i)))._disableRipple=!1,t}return _inherits(e,t),_createClass(e,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=gl(t)}}]),e}(t)}function Ep(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(t){function n(){var t;_classCallCheck(this,n);for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return(t=_callSuper(this,n,[].concat(o)))._tabIndex=e,t.defaultTabIndex=e,t}return _inherits(n,t),_createClass(n,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?_l(t):this.defaultTabIndex}}]),n}(t)}function Dp(t){return function(t){function e(){var t;_classCallCheck(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=_callSuper(this,e,[].concat(i))).stateChanges=new we.xQ,t.errorState=!1,t}return _inherits(e,t),_createClass(e,[{key:"updateErrorState",value:function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}]),e}(t)}function Rp(t){return function(t){function e(){var t;_classCallCheck(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=_callSuper(this,e,[].concat(i)))._isInitialized=!1,t._pendingSubscribers=[],t.initialized=new ve.y(function(e){t._isInitialized?t._notifySubscriber(e):t._pendingSubscribers.push(e)}),t}return _inherits(e,t),_createClass(e,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEac
1h(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(t){t.next(),t.complete()}}]),e}(t)}var Fp,Lp=new r.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,r.f3M)(r.soG)}}),Zp=function(){function t(){_classCallCheck(this,t),this._localeChanges=new we.xQ,this.localeChanges=this._localeChanges}return _createClass(t,[{key:"getValidDateOrNull",value:function(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}},{key:"deserialize",value:function(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}},{key:"setLocale",value:function(t){this.locale=t,this._localeChanges.next()}},{key:"compareDate",value:function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}},{key:"sameDate",value:function(t,e){if(t&&e){var n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}},{key:"clampDate",value:function(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}]),t}(),Np=new r.OlP("mat-date-formats");try{Fp="undefined"!=typeof Intl}catch(c){Fp=!1}var Up={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Vp=qp(31,function(t){return String(t+1)}),jp={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},zp=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function qp(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e(i);return n}var Bp=function(){var t=function(t){function e(t,n){var i,o;return _classCallCheck(this,e),(o=_callSuper(this,e)).useUtcForDisplay=!0,_get((i=_assertThisInitialized(o),_getPrototypeOf(e.prototype)),"setLocale",i).call(i,t),o.useUtcForDisplay=!n.TRIDENT,o._clampDate=n.TRIDENT||n.EDGE,o}return _inherits(e,t),_createClass(e,[{key:"getYear",value:function(t){return t.getFullYear()}},{key:"getMonth",value:function(t){return t.getMonth()}},{key:"getDate",value:function(t){return t.getDate()}},{key:"getDayOfWeek",value:function(t){return t.getDay()}},{key:"getMonthNames",value:function(t){var e=this;if(Fp){var n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return qp(12,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,t,1)))})}return Up[t]}},{key:"getDateNames",value:function(){var t=this;if(Fp){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return qp(31,function(n){return t._stripDirectionalityCharacters(t._format(e,new Date(2017,0,n+1)))})}return Vp}},{key:"getDayOfWeekNames",value:function(t){var e=this;if(Fp){var n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return qp(7,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))})}return jp[t]}},{key:"getYearName",value:function(t){if(Fp){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}},{key:"clone",value:function(t){return new Date(t.getTime())}},{key:"createDate",value:function(t,e,n){var i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}},{key:"format",value:function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Fp){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}},{key:"addCalendarYears",value:function(t,e){return this.addCalendarMonths(t,12*e)}},{key:"addCalendarMonths",value:function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}},{key:"toIso8601",value:function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}},{key:"deserialize",value:function(t){if("string"==typeof t){if(!t)return null;if(zp.test(t)){var n=new Date(t);if(this.isValid(n))return n}}return _get(_getPrototypeOf(e.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return t instanceof Date}},{key:"isValid",value:function(t){return!isNaN(t.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(t,e,n){var i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}},{key:"_2digit",value:function(t){return("00"+t).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(t){return t.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(t,e){var n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}]),e}(Zp);return t.\u0275fac=function(e){return new(e||t)(r.LFG(Lp,8),r.LFG(kl))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Yp=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:Zp,useClass:Bp}],imports:[[Sl]]}),t}(),Gp={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Hp=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:Np,useValue:Gp}],imports:[[Yp]]}),t}(),Jp=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Wp=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp],Sp]}),t}(),Qp=function(){function t(e,n,i){_classCallCheck(this,t),this._renderer=e,this.element=n,this.config=i,this.state=3}return _createClass(t,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),t}(),Kp={enterDuration:225,exitDuration:150},Xp=Il({passive:!0}),$p=["mousedown","touchstart"],tf=["mouseup","mouseleave","touchend","touchcancel"],ef=function(){function t(e,n,i,o){_classCallCheck(this,t),this._target=e,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Cl(i))}return _createClass(t,[{key:"fadeInRipple",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},Kp),i.animation);i.centered&&(t=o.left+o.width/2,e=o.top+o.height/2);var a=i.radius||function(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),o=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+o*o)}(t,e,o),s=t-o.left,c=e-o.top,l=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=s-a+"px",u.style.top=c-a+"px",u.style.height=2*a+"px",u.style.width=2*a+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(u),function(t){window.getComputedStyle(t).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";var d=new Qp(this,u,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(function(){var t=d===n._mostRecentTransientRipple;d.state=1,!i.persistent&&(!t||!n._isPointerDown)&&d.fadeOut()},l),d}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},Kp),t.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}}
1,{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var e=Cl(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents($p))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(tf),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=su(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(t){if(!this._target.rippleDisabled&&!cu(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(function(t){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(t){e._triggerElement.addEventListener(t,e,Xp)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&($p.forEach(function(e){t._triggerElement.removeEventListener(e,t,Xp)}),this._pointerUpEventsRegistered&&tf.forEach(function(e){t._triggerElement.removeEventListener(e,t,Xp)}))}}]),t}(),nf=new r.OlP("mat-ripple-global-options"),of=function(){var t=function(){function t(e,n,i,o,r){_classCallCheck(this,t),this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new ef(this,n,e,i)}return _createClass(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(kl),r.Y36(nf,8),r.Y36(_p,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-ripple-unbounded",e.unbounded)}
1,inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t}(),rf=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp,Sl],Sp]}),t}(),af=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1});return t.\u0275fac=function(e){return new(e||t)(r.Y36(_p,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&r.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t}(),sf=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp]]}),t}(),cf=new r.OlP("MAT_OPTION_PARENT_COMPONENT"),lf=Ap(function(){return _createClass(function t(){_classCallCheck(this,t)})}()),uf=0,df=function(){var t=function(t){function e(t){var n,i;return _classCallCheck(this,e),(n=_callSuper(this,e))._labelId="mat-optgroup-label-"+uf++,n._inert=null!==(i=null==t?void 0:t.inertGroups)&&void 0!==i&&i,n}return _inherits(e,t),_createClass(e)}(lf);return t.\u0275fac=function(e){return new(e||t)(r.Y36(cf,8))},t.\u0275dir=r.lG2({type:t,inputs:{label:"label"},features:[r.qOj]}),t}(),hf=new r.OlP("MatOptgroup"),pf=0,ff=_createClass(function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,t),this.source=e,this.isUserInput=n}),gf=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._element=e,this._changeDetectorRef=n,this._parent=i,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+pf++,this.onSelectionChange=new r.vpe,this._stateChanges=new we.xQ}return _createClass(t,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=gl(t)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,e){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){(13===t.keyCode||32===t.keyCode)&&!ll(t)&&(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new ff(this,t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(void 0),r.Y36(df))},t.\u0275dir=r.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t}(),_f=function(){var t=function(t){function e(t,n,i,o){return _classCallCheck(this,e),_callSuper(this,e,[t,n,i,o])}return _inherits(e,t),_createClass(e)}(gf);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(cf,8),r.Y36(hf,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(r.Ikx("id",e.id),r.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),r.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[r.qOj],ngContentSelectors:Pp,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,bp,1,2,"mat-pseudo-checkbox",0),r.TgZ(1,"span",1),r.Hsn(2),r.qZA(),r.YNc(3,Op,2,1,"span",2),r._UZ(4,"div",3)),2&t&&(r.Q6J("ngIf",e.multiple),r.xp6(3),r.Q6J("ngIf",e.group&&e.group._inert),r.xp6(1),r.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[_t,of,af],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t}();function mf(t,e,n){if(n.length){for(var i=e.toArray(),o=n.toArray(),r=0,a=0;
1a<t+1;a++)i[a].group&&i[a].group===o[r]&&r++;return r}return 0}function vf(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}var yf=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[rf,It,Sp,sf]]}),t}();function Cf(t,e){if(1&t&&(r.O4$(),r._UZ(0,"circle",3)),2&t){var n=r.oxw();r.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}function bf(t,e){if(1&t&&(r.O4$(),r._UZ(0,"circle",3)),2&t){var n=r.oxw();r.Udp("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}function Of(t,e){if(1&t&&(r.O4$(),r._UZ(0,"circle",3)),2&t){var n=r.oxw();r.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}function Pf(t,e){if(1&t&&(r.O4$(),r._UZ(0,"circle",3)),2&t){var n=r.oxw();r.Udp("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}var wf=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",Mf=Tp(function(){return _createClass(function t(e){_classCallCheck(this,t),this._elementRef=e})}(),"primary"),xf=new r.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),kf=function(t){function e(t,n,i,o,r){var a;_classCallCheck(this,e),(a=_callSuper(this,e,[t]))._document=i,a._diameter=100,a._value=0,a._fallbackAnimation=!1,a.mode="determinate";var s=e._diameters;return a._spinnerAnimationLabel=a._getSpinnerAnimationLabel(),s.has(i.head)||s.set(i.head,new Set([100])),a._fallbackAnimation=n.EDGE||n.TRIDENT,a._noopAnimations="NoopAnimations"===o&&!!r&&!r._forceAnimations,r&&(r.diameter&&(a.diameter=r.diameter),r.strokeWidth&&(a.strokeWidth=r.strokeWidth)),a}return _inherits(e,t),_createClass(e,[{key:"diameter",get:function(){return this._diameter},set:function(t){this._diameter=_l(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=_l(t)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0}
1,set:function(t){this._value=Math.max(0,Math.min(100,_l(t)))}},{key:"ngOnInit",value:function(){var t=this._elementRef.nativeElement;this._styleRoot=Rl(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation"))}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var t=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(t," ").concat(t)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var t=this._styleRoot,n=this._diameter,i=e._diameters,o=i.get(t);if(!o||!o.has(n)){var r=this._document.createElement("style");r.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),r.textContent=this._getAnimationText(),t.appendChild(r),o||(o=new Set,i.set(t,o)),o.add(n)}}},{key:"_getAnimationText",value:function(){var t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),e}(Mf);kf.\u0275fac=function(t){return new(t||kf)(r.Y36(r.SBq),r.Y36(kl),r.Y36(l,8),r.Y36(_p,8),r.Y36(xf))},kf.\u0275cmp=r.Xpm({type:kf,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(r.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),r.Udp("width",e.diameter,"px")("height",e.diameter,"px"),r.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[r.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(r.O4$(),r.TgZ(0,"svg",0),r.YNc(1,Cf,1,9,"circle",1),r.YNc(2,bf,1,7,"circle",2),r.qZA()),2&t&&(r.Udp("width",e.diameter,"px")("height",e.diameter,"px"),r.Q6J("ngSwitch","indeterminate"===e.mode),r.uIk("viewBox",e._getViewBox()),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1))},directives:[Ct,bt],styles:[wf],encapsulation:2,changeDetection:0}),kf._diameters=new WeakMap;var Sf=function(){var t=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e,[t,n,i,o,r])).mode="indeterminate",a}return _inherits(e,t),_createClass(e)}(kf);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(kl),r.Y36(l,8),r.Y36(_p,8),r.Y36(xf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(r.Udp("width",e.diameter,"px")("height",e.diameter,"px"),r.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[r.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(r.O4$(),r.TgZ(0,"svg",0),r.YNc(1,Of,1,9,"circle",1),r.YNc(2,Pf,1,7,"circle",2),r.qZA()),2&t&&(r.Udp("width",e.diameter,"px")("height",e.diameter,"px"),r.Q6J("ngSwitch","indeterminate"===e.mode),r.uIk("viewBox",e._getViewBox()),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1))},directives:[Ct,bt],styles:[wf],encapsulation:2,changeDetection:0}),t}(),Af=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp,It],Sp]}),t}();function Tf(t,e){1&t&&r._UZ(0,"mat-spinner",19)}function If(t,e){if(1&t&&(r.TgZ(0,"span",20),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.plotsDisplay)}}function Ef(t,e){1&t&&r._UZ(0,"mat-spinner",19)}function Df(t,e){if(1&t&&(r.TgZ(0,"span",20),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.plantSpeciesDisplay)}}function Rf(t,e){1&t&&r._UZ(0,"mat-spinner",19)}function Ff(t,e){if(1&t&&(r.TgZ(0,"span",20),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.monitoringProgramsDisplay)}}function Lf(t,e){if(1&t&&(r.TgZ(0,"div",8),r.TgZ(1,"div",9),r._UZ(2,"img",10),r.TgZ(3,"div",11),r.YNc(4,Tf,1,0,"mat-spinner",12),r.YNc(5,If,2,1,"span",13),r.qZA(),r.TgZ(6,"div",14),r._uU(7,"plots"),r.qZA(),r.qZA(),r.TgZ(8,"div",9),r._UZ(9,"
1img",15),r.TgZ(10,"div",16),r.YNc(11,Ef,1,0,"mat-spinner",12),r.YNc(12,Df,2,1,"span",13),r.qZA(),r.TgZ(13,"div",14),r._uU(14,"plant species"),r.qZA(),r.qZA(),r.TgZ(15,"div",9),r._UZ(16,"img",17),r.TgZ(17,"div",18),r.YNc(18,Rf,1,0,"mat-spinner",12),r.YNc(19,Ff,2,1,"span",13),r.qZA(),r.TgZ(20,"div",14),r._uU(21,"monitoring programs"),r.qZA(),r.qZA(),r.qZA()),2&t){var n=r.oxw();r.xp6(4),r.Q6J("ngIf","loading"===n.statsState),r.xp6(1),r.Q6J("ngIf","loaded"===n.statsState),r.xp6(6),r.Q6J("ngIf","loading"===n.statsState),r.xp6(1),r.Q6J("ngIf","loaded"===n.statsState),r.xp6(6),r.Q6J("ngIf","loading"===n.statsState),r.xp6(1),r.Q6J("ngIf","loaded"===n.statsState)}}var Zf=function(){return["/ldc-map"]},Nf=function(){var t=function(){function t(e){_classCallCheck(this,t),this.configService=e,this.statsState="loading",this.plotsDisplay="0",this.plantSpeciesDisplay="0",this.monitoringProgramsDisplay="0",this.countUpDurationMs=1500,this.animationFrameHandles=[]}return _createClass(t,[{key:"ngOnInit",value:function(){this.retrieveSummaryCounts()}},{key:"ngOnDestroy",value:function(){this.animationFrameHandles.forEach(function(t){return cancelAnimationFrame(t)}),this.animationFrameHandles=[]}},{key:"retrieveSummaryCounts",value:function(){var t=this;this.configService.getSummaryCounts().subscribe(function(e){t.statsState="loaded",t.animateCount(e.plots,function(e){return t.plotsDisplay=e}),t.animateCount(e.plantSpecies,function(e){return t.plantSpeciesDisplay=e}),t.animateCount(e.monitoringPrograms,function(e){return t.monitoringProgramsDisplay=e})},function(){t.statsState="error"})}},{key:"animateCount",value:function(t,e){var n=this;if(Number.isFinite(t))if(this.prefersReducedMotion())e(this.formatCount(t));else{var i=performance.now();this.animationFrameHandles.push(requestAnimationFrame(function o(r){var a=Math.min((r-i)/n.countUpDurationMs,1),s=1-Math.pow(1-a,3);e(n.formatCount(Math.round(t*s))),a<1&&n.animationFrameHandles.push(requestAnimationFrame(o))}))}}},{key:"formatCount",value:function(t){return t.toLocaleString()}},{key:"prefersReducedMotion",value:function(){return window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-single-page-header"]],decls:13,vars:3,consts:[[1,"ldc-banner",2,"background-image","url('./assets/img/cmf/new-ldc-banner.jpg')"],[1,"ldc-banner-content"],[1,"ldc-hero-subheading"],[1,"ldc-explore-btn",3,"routerLink"],[1,"ldc-intro-section"],[1,"container"],["class","ldc-hero-stats",4,"ngIf"],[1,"overview"],[1,"ldc-hero-stats"],[1,"ldc-hero-stat"],["src","./assets/img/ldc/plots.svg","alt","",1,"ldc-hero-stat-icon"],[1,"ldc-hero-stat-num-cell","ldc-hero-stat-num-cell--plots"],["class","ldc-hero-stat-spinner","diameter","30",4,"ngIf"],["class","ldc-hero-stat-num",4,"ngIf"],[1,"ldc-hero-stat-label-cell"],["src","./assets/img/ldc/plant-species.svg","alt","",1,"ldc-hero-stat-icon"],[1,"ldc-hero-stat-num-cell","ldc-hero-stat-num-cell--species"],["src","./assets/img/ldc/monitoring-programs.svg","alt","",1,"ldc-hero-stat-icon"],[1,"ldc-hero-stat-num-cell","ldc-hero-stat-num-cell--programs"],["diameter","30",1,"ldc-hero-stat-spinner"],[1,"ldc-hero-stat-num"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"h1"),r._uU(3,"Landscape Data Commons"),r.qZA(),r.TgZ(4,"h2",2),r._uU(5,"Standardized land health indicators"),r.qZA(),r.TgZ(6,"a",3),r._uU(7,"Explore the Data"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(8,"div",4),r.TgZ(9,"div",5),r.YNc(10,Lf,22,6,"div",6),r.TgZ(11,"p",7),r._uU(12," The Landscape Data Commons is a collaborative platform for storing, sharing, and exploring rangeland and pastureland monitoring data. The Landscape Data Commons provides standard indicators of land health, biodiversity, and production along with tools to inform sustainable land management. "),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(6),r.Q6J("routerLink",r.DdM(2,Zf)),r.xp6(4),r.Q6J("ngIf","error"!==e.statsState))},directives:[bo,_t,Sf],styles:['@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse.in[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapsing[_ngcontent-%COMP%]{display:none!important}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}
1.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0;padding:0}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border:0 none;border-radius:12px;display:block;margin-top:10px;padding:0;position:absolute;visibility:hidden;opacity:0;filter:alpha(opacity=0);box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#f1eae0;margin:0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-header[_ngcontent-%COMP%]{color:#9a9a9a;font-size:12px;padding:10px 15px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .no-notification[_ngcontent-%COMP%]{color:#9a9a9a;font-size:1.2em;padding:30px;text-align:center}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#66615b;font-size:14px;padding:10px 45px 10px 15px;clear:both;white-space:nowrap;width:100%;display:block}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{color:#fff}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:-3px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:0!important}.btn-group.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{min-width:100%}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%CO
1MP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child{border-top-left-radius:12px;border-top-right-radius:12px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{border-radius:0;border-bottom:0 none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;opacity:1;text-decoration:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#66615b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6dd3d6}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6ec7e0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#86d9ab}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#fcd27b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f7765f}.dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{margin:0!important}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{opacity:1;filter:alpha(opacity=100);visibility:visible}.navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:12px!important;right:auto}.btn-group.select.open[_ngcontent-%COMP%]{overflow:visible}.dropdown-menu-right[_ngcontent-%COMP%]{right:-2px!important;left:auto!important}@media (min-width: 768px){.navbar-form[_ngcontent-%COMP%]{margin-top:21px;margin-bottom:21px;padding-left:5px;padding-right:5px}.navbar-search-form[_ngcontent-%COMP%]{display:none}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-40px);transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(15px);visibility:visible!important}.bootstrap-select[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{box-shadow:none;transition:all .15s linear}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible!important;opacity:1;filter:alpha(opacity=100)}.dropup.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-10px);opacity:1;visibility:visible}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translateY(30px);opacity:0;visibility:hidden;display:block}.bootstrap-select[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translate(0)}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;
1left:12px;top:-11px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:before{right:12px;left:auto}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;left:12px;top:-10px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:after{right:12px;left:auto}#dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{left:15px}.navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:auto;right:12px}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-left:0}body[_ngcontent-%COMP%] > .navbar-collapse.collapse[_ngcontent-%COMP%]{display:none!important}}#navbar[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:3px 1.5rem!important}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#66615b;font-size:14px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]{line-height:28px;padding:10px 20px 5px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:20px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .action-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .action-line[_ngcontent-%COMP%]{background-color:#fffcf5;color:#66615b;opacity:1;text-decoration:none}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]{margin-bottom:1px}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding:10px 15px}.show[_ngcontent-%COMP%]   .dropdown-actions[_ngcontent-%COMP%]{margin-bottom:1px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:-15px 35px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]{padding:5px 10px;line-height:24px;font-weight:bold}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:24px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .col-sm-9[_ngcontent-%COMP%]{line-height:34px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:hover, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:active, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:focus{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%]{color:#66615b;opacity:1;text-decoration:none}.dropdown-actions[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .icon-simple[_ngcontent-%COMP%]{margin-left:-15px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-top:11px solid #DCD9D1;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-12px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-top:11px solid #FFFCF5;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-11px}.dropup[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:1px solid #F1EAE0;color:#66615b;font-size:16px;padding:10px 5px;width:330px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#66615b;white-space:normal}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{padding-left:40px;position:relative}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:block;position:absolute;top:50%;margin-top:-12px;left:7px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{font-size:.9em;line-height:.7;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{color:#9a9a9a;font-size:.7em;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .read-notification[_ngcontent-%COMP%]{font-size:12px;opacity:0;position:absolute;right:5px;top:50%;margin-top:-12px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0efeb;color:#66615b;opacity:1;text-decoration:none}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .read-notification[_ngcontent-%COMP%]{opacity:1!important}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]{background-color:#e8e7e3;border-radius:0 0 8px 8px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]{list-style:outside none none;padding:0 5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:0 10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#9c9b99;font-size:.9em;line-height:35px}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.motto[_ngcontent-%COMP%]{padding-top:25px;margin-bottom:5px!important;border-radius:30px!important;background-color:#0000004d}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.h1[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:400;font-size:64px}.container[_ngcontent-%COMP%]{max-width:1400px}p.overview[_ngcontent-%COMP%]{max-width:900px;margin-left:auto;margin-right:auto;padding:2em 2em 0;font-size:1.4em;font-weight:500;text-align:left;color:#000}@media only screen and (max-width: 767px){h1[_ngcontent-%COMP%]{font-size:45px!important}.overview[_ngcontent-%COMP%]{max-height:400px;overflow:auto;font-size:14px!important}}.ldc-banner[_ngcontent-%COMP%]{min-height:calc(100vw * 1470 / 3401 - 1cm);background-size:cover;background-position:center top;background-repeat:no-repeat;padding:calc(50px + 3cm) 20px 1cm;display:flex;flex-direction:column;justify-content:flex-start;color:#fff}.ldc-banner-content[_ngcontent-%COMP%]{text-align:center}.ldc-banner-content[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], .ldc-banner-content[_ngcontent-%COMP%]   .ldc-hero-subheading[_ngcontent-%COMP%]{text-shadow:0 1px 3px rgba(0,0,0,.45)}.ldc-intro-section[_ngcontent-%COMP%]{padding:2.5em 0 .5em}.ldc-hero-subheading[_ngcontent-%COMP%]{color:#fff;font-weight:400;font-size:2em;margin:.656em 0 2.5em}.ldc-explore-btn[_ngcontent-%COMP%]{display:inline-block;padding:.8em 2em;background-color:#ff6700e6;color:#fff;font-family:inherit;font-weight:600;font-size:1.32em;border:none;border-radius:12px;text-decoration:none;transition:background-color .15s ease-in-out}.ldc-explore-btn[_ngcontent-%COMP%]:hover, .ldc-explore-btn[_ngcontent-%COMP%]:focus{background-color:#ff6700;color:#fff;text-decoration:none}.ldc-hero-stats[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);align-items:start;max-width:calc(960px + 3cm);margin:0 auto 2.5em}.ldc-hero-stat[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;grid-column-gap:.25em;-moz-column-gap:.25em;column-gap:.25em;font-size:1.1em;color:#000}.ldc-hero-stat-icon[_ngcontent-%COMP%]{width:75px;height:77px;-o-object-fit:contain;object-fit:contain;grid-column:1/-1;justify-self:center;margin-bottom:.6em}.ldc-hero-stat-num-cell[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;font-size:1.7em;font-weight:700;height:1.25em;line-height:1}.ldc-hero-stat-num-cell--plots[_ngcontent-%COMP%]{width:7ch}.ldc-hero-stat-num-cell--species[_ngcontent-%COMP%]{width:6ch}.ldc-hero-stat-num-cell--programs[_ngcontent-%COMP%]{width:3ch}.ldc-hero-stat-label-cell[_ngcontent-%COMP%]{text-align:left;white-space:nowrap;line-height:1}.ldc-hero-stat-num[_ngcontent-%COMP%]{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"tnum"}
1.ldc-hero-stat-spinner[_ngcontent-%COMP%]{flex:0 0 auto}@media only screen and (max-width: 767px){.ldc-hero-stats[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-row-gap:1.5em;row-gap:1.5em}.ldc-hero-stat-icon[_ngcontent-%COMP%]{width:52px;height:53px}.ldc-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 2cm);padding-bottom:1cm}}']}),t}(),Uf=function(){return["/ldc-map"]},Vf=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-single-page-main-content"]],decls:59,vars:2,consts:[[1,"main"],[1,"section","text-center","ldc-map-section"],[1,"container"],[1,"row"],[1,"ldc-section-box"],[3,"routerLink"],["src","./assets/img/cmf/map-screenshot.png","alt","Screenshot of LDC data-exploration map","width","94%","id","ldc-map-screenshot",1,"img-shadow","ldc-banner-inset-image"],[1,"section","section-gray","text-center","partners-section"],[1,"title","partners-title"],[1,"col-md-4"],[1,"card","card-profile","card-plain"],[1,"img-thumbnail","ldc-usda-img-thumbnail"],["href","https://www.ars.usda.gov/","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/usda-ars.png","alt","Logo for United States Department of Agriculture, Agricultural Research Service (USDA-ARS)",1,"ldc-usda-ars-logo"],[1,"img-thumbnail","ldc-jornada-img-thumbnail"],["href","https://jornada.nmsu.edu/","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/jornada.png","alt","Logo for the Jornada Experimental Range (JER)",1,"ldc-jornada-logo"],[1,"img-thumbnail","ldc-nmsu-img-thumbnail",2,"margin","-60px 0 20px 0","height","11em"],["href","https://www.nmsu.edu/","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/nmsu.png","alt","Logo for New Mexico State University (NMSU)",1,"ldc-nmsu-logo"],[1,"img-thumbnail",2,"margin","-60px 0 20px 0"],["href","https://www.nrcs.usda.gov/ceap/grazing-lands","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/nrcs-new-logo.jpg","alt","Logo for National Resources Conservation Service (NRCS)",1,"ldc-nrcs-logo"],[1,"img-thumbnail",2,"margin","-60px 0 20px 0","height","11em"],["href","https://www.blm.gov/","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/blm.png","alt","Logo for Bureau of Land Management (BLM)",1,"ldc-blm-logo"],["href","https://winderosionnetwork.org/","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/nwern.png","alt","Logo for National Wind Erosion Research Network (NWERN)",1,"ldc-nwern-logo"],["href","https://www.ars.usda.gov/natural-resources-and-sustainable-agricultural-systems/water-availability-and-watershed-management/docs/long-term-agroecosystem-research-ltar-network/","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/ltar.png","alt","Logo for Long-Term Agroecosystem Research (LTAR) network",1,"ldc-ltar-logo"],["href","https://www.usgs.gov/","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/usgs.png","alt","Logo for United States Geological Survey (USGS)",1,"ldc-usgs-logo"],["href","https://www.nps.gov/index.htm","target","_blank","rel","noopener noreferrer"],["src","./assets/img/cmf/national-park-service.png","alt","Logo for National Park Service (NPS)",1,"ldc-nps-logo"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"a",5),r._UZ(6,"img",6),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(7,"div",7),r.TgZ(8,"div",2),r.TgZ(9,"h1",8),r._uU(10,"Partners"),r.qZA(),r.TgZ(11,"div",3),r.TgZ(12,"div",9),r.TgZ(13,"div",10),r.TgZ(14,"div",11),r.TgZ(15,"a",12),r._UZ(16,"img",13),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(17,"div",9),r.TgZ(18,"div",10),r.TgZ(19,"div",14),r.TgZ(20,"a",15),r._UZ(21,"img",16),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(22,"div",9),r.TgZ(23,"div",10),r.TgZ(24,"div",17),r.TgZ(25,"a",18),r._UZ(26,"img",19),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(27,"div",3),r.TgZ(28,"div",9),r.TgZ(29,"div",10),r.TgZ(30,"div",20),r.TgZ(31,"a",21),r._UZ(32,"img",22),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(33,"div",9),r.TgZ(34,"div",10),r.TgZ(35,"div",23),r.TgZ(36,"a",24),r._UZ(37,"img",25),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(38,"div",9),r.TgZ(39,"div",10),r.TgZ(40,"div",23),r.TgZ(41,"a",26),r._UZ(42,"img",27),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(43,"div",3),r.TgZ(44,"div",9),r.TgZ(45,"div",10),r.TgZ(4
16,"div",23),r.TgZ(47,"a",28),r._UZ(48,"img",29),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(49,"div",9),r.TgZ(50,"div",10),r.TgZ(51,"div",23),r.TgZ(52,"a",30),r._UZ(53,"img",31),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(54,"div",9),r.TgZ(55,"div",10),r.TgZ(56,"div",23),r.TgZ(57,"a",32),r._UZ(58,"img",33),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(5),r.Q6J("routerLink",r.DdM(1,Uf)))},directives:[bo],styles:['@charset "UTF-8";h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%], p[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%], .brand[_ngcontent-%COMP%], a[_ngcontent-%COMP%], .td-name[_ngcontent-%COMP%], td[_ngcontent-%COMP%], button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:300}h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{margin:30px 0 0}h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:3.6em}h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:2.8em}h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-size:1.825em;line-height:1.4;margin:20px 0 0}h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{font-size:1.6em;line-height:1.2em}h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]{font-size:1.35em;line-height:1.4em}h6[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-size:.9em;font-weight:600;text-transform:uppercase;line-height:1.5em}p[_ngcontent-%COMP%]{font-size:15px;line-height:1.5em;margin-bottom:5px}h1[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%]{color:#9a9a9a;line-height:1.5em}h1[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]   .small[_ngcontent-%COMP%]{font-size:60%}.title[_ngcontent-%COMP%], .card-title[_ngcontent-%COMP%], .info-title[_ngcontent-%COMP%], .footer-brand[_ngcontent-%COMP%], .footer-big[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%], .footer-big[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%], .media[_ngcontent-%COMP%]   .media-heading[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif}.title[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .card-title[_ngcontent-%COMP%], .card-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .info-title[_ngcontent-%COMP%], .info-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .footer-brand[_ngcontent-%COMP%], .footer-brand[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .footer-big[_ng
1content-%COMP%]   h5[_ngcontent-%COMP%], .footer-big[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .footer-big[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%], .footer-big[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .media[_ngcontent-%COMP%]   .media-heading[_ngcontent-%COMP%], .media[_ngcontent-%COMP%]   .media-heading[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#333;text-decoration:none}.title-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.description[_ngcontent-%COMP%]{color:#9a9a9a}blockquote[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-style:normal}.text-muted[_ngcontent-%COMP%]{color:#ddd}.text-primary[_ngcontent-%COMP%], .text-primary[_ngcontent-%COMP%]:hover{color:#51cbce!important}.text-info[_ngcontent-%COMP%], .text-info[_ngcontent-%COMP%]:hover{color:#51bcda!important}.text-success[_ngcontent-%COMP%], .text-success[_ngcontent-%COMP%]:hover{color:#6bd098!important}.text-warning[_ngcontent-%COMP%], .text-warning[_ngcontent-%COMP%]:hover{color:#fbc658!important}.text-danger[_ngcontent-%COMP%], .text-danger[_ngcontent-%COMP%]:hover{color:#f5593d!important}.glyphicon[_ngcontent-%COMP%]{line-height:1}.heart[_ngcontent-%COMP%]{color:#eb5e28;animation:heathing 1s ease infinite}@keyframes heathing{0%{transform:scale(.75)}20%{transform:scale(1)}40%{transform:scale(.75)}60%{transform:scale(1)}80%{transform:scale(.75)}to{transform:scale(.75)}}.footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%], .footer-nav[_ngcontent-%COMP%]{line-height:85px}.footer[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-bottom:0}.blockquote[_ngcontent-%COMP%]{border-left:0 none;border-bottom:1px solid #CCC5B9;border-top:1px solid #CCC5B9;font-weight:300;margin:15px 0 10px;text-align:center}.title[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:25px;min-height:32px}.title.text-center[_ngcontent-%COMP%]{margin-bottom:50px}body[_ngcontent-%COMP%]{color:#66615b;font-size:14px;font-weight:300;font-family:"Montserrat","Helvetica",Arial,sans-serif}a[_ngcontent-%COMP%]{color:#51bcda}a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus{color:#2ba9cd;text-decoration:none}hr[_ngcontent-%COMP%]{border-color:#f1eae0}.icon[_ngcontent-%COMP%]{fill:#66615b}.fa-base[_ngcontent-%COMP%]{font-size:1.25em!important}a[_ngcontent-%COMP%]:focus, a[_ngcontent-%COMP%]:active, button[_ngcontent-%COMP%]::-moz-focus-inner, input[type=reset][_ngcontent-%COMP%]::-moz-focus-inner, input[type=button][_ngcontent-%COMP%]::-moz-focus-inner, input[type=submit][_ngcontent-%COMP%]::-moz-focus-inner, select[_ngcontent-%COMP%]::-moz-focus-inner, input[type=file][_ngcontent-%COMP%] > input[type=button][_ngcontent-%COMP%]::-moz-focus-inner{outline:0}.ui-slider-handle[_ngcontent-%COMP%]:focus, .navbar-toggle[_ngcontent-%COMP%]{outline:0!important}.form-control[_ngcontent-%COMP%], .input-group-addon[_ngcontent-%COMP%], .tagsinput[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%], .carousel-control.right[_ngcontent-%COMP%], .carousel-control.left[_ngcontent-%COMP%]{transition:all .3s linear}.tagsinput[_ngcontent-%COMP%]   .tag[_ngcontent-%COMP%], .tagsinput-remove-link[_ngcontent-%COMP%], .filter[_ngcontent-%COMP%], .btn-hover[_ngcontent-%COMP%], [data-toggle=collapse][_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .animation-transition-fast[_ngcontent-%COMP%], .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{transition:all .15s linear}.btn-morphing[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%], .btn-morphing[_ngcontent-%COMP%]   .circle[_ng
1content-%COMP%], .gsdk-collapse[_ngcontent-%COMP%]{transition:all .3s linear}.fa[_ngcontent-%COMP%]{width:18px;text-align:center}.margin-top[_ngcontent-%COMP%]{margin-top:50px}.iframe-container[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{box-shadow:0 16px 38px -12px #0000008f,0 4px 25px #0000001f,0 8px 10px -5px #0003}.ct-blue[_ngcontent-%COMP%]{color:#51cbce}.ct-azure[_ngcontent-%COMP%]{color:#51bcda}.ct-green[_ngcontent-%COMP%]{color:#6bd098}.ct-orange[_ngcontent-%COMP%]{color:#fbc658}.ct-red[_ngcontent-%COMP%]{color:#f5593d}.pagination[_ngcontent-%COMP%]   .page-item[_ngcontent-%COMP%]   .page-link[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{width:auto;font-weight:600}.bg-primary[_ngcontent-%COMP%]{background-color:#6dd3d6!important}.bg-info[_ngcontent-%COMP%]{background-color:#6ec7e0!important}.bg-success[_ngcontent-%COMP%]{background-color:#86d9ab!important}.bg-warning[_ngcontent-%COMP%]{background-color:#fcd27b!important}.bg-danger[_ngcontent-%COMP%]{background-color:#f7765f!important}.navbar-transparent[_ngcontent-%COMP%]{background-color:transparent!important;border-bottom:1px solid transparent}.btn[_ngcontent-%COMP%]{box-sizing:border-box;border-width:2px;font-size:12px;font-weight:600;padding:.5rem 18px;line-height:1.75;margin-right:3px;
1cursor:pointer;text-transform:uppercase;background-color:#66615b;border-color:#66615b;color:#fff;opacity:1;filter:alpha(opacity=100);transition:all .15s linear}.btn.btn-border[_ngcontent-%COMP%], .btn.btn-link[_ngcontent-%COMP%]{background-color:transparent}.btn[_ngcontent-%COMP%]:hover, .btn[_ngcontent-%COMP%]:focus, .btn[_ngcontent-%COMP%]:active, .btn.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn.dropdown-toggle[_ngcontent-%COMP%]{background-color:#403d39;color:#fff;border-color:#403d39}.btn.btn-link[_ngcontent-%COMP%]{color:#66615b}.btn.btn-link[_ngcontent-%COMP%]:hover, .btn.btn-link[_ngcontent-%COMP%]:focus, .btn.btn-link[_ngcontent-%COMP%]:active, .btn.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#403d39}.btn.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#66615b}.btn[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn[_ngcontent-%COMP%]:hover, .btn[_ngcontent-%COMP%]:focus{outline:0!important;box-shadow:none}.btn[_ngcontent-%COMP%]:active, .btn.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn.dropdown-toggle[_ngcontent-%COMP%]{box-shadow:none;outline:0!important}.btn[class*=btn-outline-][_ngcontent-%COMP%]{background-image:none;background-color:transparent}.btn-just-icon[_ngcontent-%COMP%]{border-radius:50px;height:40px;width:40px;min-width:40px;padding:8px}.btn-just-icon.btn-sm[_ngcontent-%COMP%]{padding:4px!important}.btn-just-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:16px;padding:2px 0}.upgrade-pro[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.btn-link.btn-just-icon[_ngcontent-%COMP%]{padding:8px}.btn-group[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%] + .btn[_ngcontent-%COMP%], .btn-group[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%] + .btn-group[_ngcontent-%COMP%], .btn-group[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%] + .btn[_ngcontent-%COMP%], .btn-group[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%] + .btn-group[_ngcontent-%COMP%]{margin-left:-2px}.btn-primary[_ngcontent-%COMP%]{background-color:#51cbce;border-color:#51cbce;color:#fff;opacity:1;filter:alpha(opacity=100)}.btn-primary[_ngcontent-%COMP%]:hover, .btn-primary[_ngcontent-%COMP%]:focus, .btn-primary[_ngcontent-%COMP%]:active, .btn-primary.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn-primary.dropdown-toggle[_ngcontent-%COMP%]{background-color:#34b5b8;color:#fff;border-color:#34b5b8}.btn-primary.btn-link[_ngcontent-%COMP%]{color:#51cbce}.btn-primary.btn-link[_ngcontent-%COMP%]:hover, .btn-primary.btn-link[_ngcontent-%COMP%]:focus, .btn-primary.btn-link[_ngcontent-%COMP%]:active, .btn-primary.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-primary.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#34b5b8}.btn-primary.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#51cbce}.btn-primary[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-success[_ngcontent-%COMP%]{background-color:#6bd098;border-color:#6bd098;color:#fff;opacity:1;filter:alpha(opacity=100)}.btn-success[_ngcontent-%COMP%]:hover, .btn-success[_ngcontent-%COMP%]:focus, .btn-success[_ngcontent-%COMP%]:active, .btn-success.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn-success.dropdown-toggle[_ngcontent-%COMP%]{background-color:#44c47d;color:#fff;border-color:#44c47d}.btn-success.btn-link[_ngcontent-%COMP%]{color:#6bd098}.btn-success.btn-link[_ngcontent-%COMP%]:hover, .btn-success.btn-link[_ngcontent-%COMP%]:focus, .btn-success.btn-link[_ngcontent-%COMP%]:active, .btn-success.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-success.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#44c47d}.btn-success.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#6bd098}.btn-success[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-info[_ngcontent-%COMP%]{background-color:#51bcda;border-color:#51bcda;color:#fff;opacity:1;filter:alpha(opacity=100)}.btn-info[_ngcontent-%COMP%]:hover, .btn-info[_ngcontent-%COMP%]:focus, .btn-info[_ngcontent-%COMP%]:active, .btn-info.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn-info.dropdown-toggle[_ngcontent-%COMP%]{background-color:#2ba9cd;color:#fff;border-color:#2ba9cd}.btn-info.btn-link[_ngcontent-%COMP%]{color:#51bcda}.btn-info.btn-link[_ngcontent-%COMP%]:hover, .btn-info.btn-link[_ngcontent-%COMP%]:focus, .btn-info.btn-link[_ngcontent-%COMP%]:active, .btn-info.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-info.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#2ba9cd}.btn-info.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#51bcda}.btn-info[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-warning[_ngcontent-%COMP%]{background-color:#fbc658;border-color:#fbc658;color:#fff;opacity:1;filter:alpha(opacity=100)}.btn-warning[_ngcontent-%COMP%]:hover, .btn-warning[_ngcontent-%COMP%]:focus, .btn-warning[_ngcontent-%COMP%]:active, .btn-warning.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn-warning.dropdown-toggle[_ngcontent-%COMP%]{background-color:#fab526;color:#fff;border-color:#fab526}.btn-warning.btn-link[_ngcontent-%COMP%]{color:#fbc658}.btn-warning.btn-link[_ngcontent-%COMP%]:hover, .btn-warning.btn-link[_ngcontent-%COMP%]:focus, .btn-warning.btn-link[_ngcontent-%COMP%]:active, .btn-warning.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-warning.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#fab526}.btn-warning.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fbc658}.btn-warning[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-danger[_ngcontent-%COMP%]{background-color:#f5593d;border-color:#f5593d;color:#fff;opacity:1;filter:alpha(opacity=100)}.btn-danger[_ngcontent-%COMP%]:hover, .btn-danger[_ngcontent-%COMP%]:focus, .btn-danger[_ngcontent-%COMP%]:active, .btn-danger.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn-danger.dropdown-toggle[_ngcontent-%COMP%]{background-color:#f33816;color:#fff;border-color:#f33816}.btn-danger.btn-link[_ngcontent-%COMP%]{color:#f5593d}.btn-danger.btn-link[_ngcontent-%COMP%]:hover, .btn-danger.btn-link[_ngcontent-%COMP%]:focus, .btn-danger.btn-link[_ngcontent-%COMP%]:active, .btn-danger.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-danger.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#f33816}.btn-danger.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#f5593d}.btn-danger[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-neutral[_ngcontent-%COMP%]{background-color:#fff;border-color:#fff;color:#fff;opacity:1;filter:alpha(opacity=100)}.btn-neutral[_ngcontent-%COMP%]:hover, .btn-neutral[_ngcontent-%COMP%]:focus, .btn-neutral[_ngcontent-%COMP%]:active, .btn-neutral.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn-neutral.dropdown-toggle[_ngcontent-%COMP%]{background-color:#403d39;color:#fff;border-color:#403d39}.btn-neutral.btn-link[_ngcontent-%COMP%]{color:#fff}.btn-neutral.btn-link[_ngcontent-%COMP%]:hover, .btn-neutral.btn-link[_ngcontent-%COMP%]:focus, .btn-neutral.btn-link[_ngcontent-%COMP%]:active, .btn-neutral.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-neutral.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#403d39}.btn-neutral.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-neutral[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-default[_ngcontent-%COMP%]{border-color:#66615b;color:#66615b;opacity:1;filter:alpha(opacity=100)}.btn-outline-default[_ngcontent-%COMP%]:hover, .btn-outline-default[_ngcontent-%COMP%]:focus, .btn-outline-default[_ngcontent-%COMP%]:active, .btn-outline-default.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-default.dropdown-toggle[_ngcontent-%COMP%]{background-color:#66615b;color:#fffc;border-color:#66615b}.btn-outline-default[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .btn-outline-default[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], .btn-outline-default[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%], .btn-outline-default.active[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-default.dropdown-toggle[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fffc}.btn-outline-default[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-default.disabled[_ngcontent-%COMP%], .btn-outline-default.disabled[_ngcontent-%COMP%]:hover, .btn-outline-default.disabled[_ngcontent-%COMP%]:focus, .btn-outline-default.disabled.focus[_ngcontent-%COMP%], .btn-outline-default.disabled[_ngcontent-%COMP%]:active, .btn-outline-default.disabled.active[_ngcontent-%COMP%], .btn-outline-default[_ngcontent-%COMP%]:disabled, .btn-outline-default[_ngcontent-%COMP%]:disabled:hover, .btn-outline-default[_ngcontent-%COMP%]:disabled:focus, .btn-outline-default[_ngcontent-%COMP%]:disabled.focus, .btn-outline-default[_ngcontent-%COMP%]:disabled:active, .btn-outline-default[_ngcontent-%COMP%]:disabled.active, .btn-outline-default[disabled][_ngcontent-%COMP%], .btn-outline-default[disabled][_ngcontent-%COMP%]:hover, .btn-outline-default[disabled][_ngcontent-%COMP%]:focus, .btn-outline-default[disabled].focus[_ngcontent-%COMP%], .btn-outline-default[disabled][_ngcontent-%COMP%]:active, .btn-outline-default[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-default[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-default[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-default[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-default.focu
1s[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-default[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-default.active[_ngcontent-%COMP%]{background-color:transparent;border-color:#66615b}.btn-outline-primary[_ngcontent-%COMP%]{border-color:#51cbce;color:#51cbce;opacity:1;filter:alpha(opacity=100)}.btn-outline-primary[_ngcontent-%COMP%]:hover, .btn-outline-primary[_ngcontent-%COMP%]:focus, .btn-outline-primary[_ngcontent-%COMP%]:active, .btn-outline-primary.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-primary.dropdown-toggle[_ngcontent-%COMP%]{background-color:#51cbce;color:#fffc;border-color:#51cbce}.btn-outline-primary[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .btn-outline-primary[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], .btn-outline-primary[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%], .btn-outline-primary.active[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-primary.dropdown-toggle[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fffc}.btn-outline-primary[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-primary.disabled[_ngcontent-%COMP%], .btn-outline-primary.disabled[_ngcontent-%COMP%]:hover, .btn-outline-primary.disabled[_ngcontent-%COMP%]:focus, .btn-outline-primary.disabled.focus[_ngcontent-%COMP%], .btn-outline-primary.disabled[_ngcontent-%COMP%]:active, .btn-outline-primary.disabled.active[_ngcontent-%COMP%], .btn-outline-primary[_ngcontent-%COMP%]:disabled, .btn-outline-primary[_ngcontent-%COMP%]:disabled:hover, .btn-outline-primary[_ngcontent-%COMP%]:disabled:focus, .btn-outline-primary[_ngcontent-%COMP%]:disabled.focus, .btn-outline-primary[_ngcontent-%COMP%]:disabled:active, .btn-outline-primary[_ngcontent-%COMP%]:disabled.active, .btn-outline-primary[disabled][_ngcontent-%COMP%], .btn-outline-primary[disabled][_ngcontent-%COMP%]:hover, .btn-outline-primary[disabled][_ngcontent-%COMP%]:focus, .btn-outline-primary[disabled].focus[_ngcontent-%COMP%], .btn-outline-primary[disabled][_ngcontent-%COMP%]:active, .btn-outline-primary[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-primary[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-primary[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-primary[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-primary.focus[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-primary[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-primary.active[_ngcontent-%COMP%]{background-color:transparent;border-color:#51cbce}.btn-outline-success[_ngcontent-%COMP%]{border-color:#6bd098;color:#6bd098;opacity:1;filter:alpha(opacity=100)}.btn-outline-success[_ngcontent-%COMP%]:hover, .btn-outline-success[_ngcontent-%COMP%]:focus, .btn-outline-success[_ngcontent-%COMP%]:active, .btn-outline-success.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-success.dropdown-toggle[_ngcontent-%COMP%]{background-color:#6bd098;color:#fffc;border-color:#6bd098}.btn-outline-success[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .btn-outline-success[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], .btn-outline-success[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%], .btn-outline-success.active[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-success.dropdown-toggle[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fffc}.btn-outline-success[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-success.disabled[_ngcontent-%COMP%], .btn-outline-success.disabled[_ngcontent-%COMP%]:hover, .btn-outline-success.disabled[_ngcontent-%COMP%]:focus, .btn-outline-success.disabled.focus[_ngcontent-%COMP%], .btn-outline-success.disabled[_ngcontent-%COMP%]:active, .btn-outline-success.disabled.active[_ngcontent-%COMP%], .btn-outline-success[_ngcontent-%COMP%]:disabled, .btn-outline-success[_ngcontent-%COMP%]:disabled:hover, .btn-outline-success[_ngcontent-%COMP%]:disabled:focus, .btn-outline-success[_ngcontent-%COMP%]:disabled.focus, .btn-outline-success[_ngcontent-%COMP%]:disabled:active, .btn-outline-success[_ngcontent-%COMP%]:disabled.active, .btn-outline-success[disabled][_ngcontent-%COMP%], .btn-outline-success[disabled][_ngcontent-%COMP%]:hover, .btn-outline-success[disabled][_ngcontent-%COMP%]:focus, .btn-outline-success[disabled].focus[_ngcontent-%COMP%], .btn-outline-success[disabled][_ngcontent-%COMP%]:active, .btn-outline-success[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-success[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-success[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-success[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-success.focus[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-success[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-success.active[_ngcontent-%COMP%]{background-color:transparent;border-color:#6bd098}.btn-outline-info[_ngcontent-%COMP%]{border-color:#51bcda;color:#51bcda;opacity:1;filter:alpha(opacity=100)}.btn-outline-info[_ngcontent-%COMP%]:hover, .btn-outline-info[_ngcontent-%COMP%]:focus, .btn-outline-info[_ngcontent-%COMP%]:active, .btn-outline-info.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-info.dropdown-toggle[_ngcontent-%COMP%]{background-color:#51bcda;color:#fffc;border-color:#51bcda}.btn-outline-info[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .btn-outline-info[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], .btn-outline-info[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%], .btn-outline-info.active[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-info.dropdown-toggle[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fffc}.btn-outline-info[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-info.disabled[_ngcontent-%COMP%], .btn-outline-info.disabled[_ngcontent-%COMP%]:hover, .btn-outline-info.disabled[_ngcontent-%COMP%]:focus, .btn-outline-info.disabled.focus[_ngcontent-%COMP%], .btn-outline-info.disabled[_ngcontent-%COMP%]:active, .btn-outline-info.disabled.active[_ngcontent-%COMP%], .btn-outline-info[_ngcontent-%COMP%]:disabled, .btn-outline-info[_ngcontent-%COMP%]:disabled:hover, .btn-outline-info[_ngcontent-%COMP%]:disabled:focus, .btn-outline-info[_ngcontent-%COMP%]:disabled.focus, .btn-outline-info[_ngcontent-%COMP%]:disabled:active, .btn-outline-info[_ngcontent-%COMP%]:disabled.active, .btn-outline-info[disabled][_ngcontent-%COMP%], .btn-outline-info[disabled][_ngcontent-%COMP%]:hover, .btn-outline-info[disabled][_ngcontent-%COMP%]:focus, .btn-outline-info[disabled].focus[_ngcontent-%COMP%], .btn-outline-info[disabled][_ngcontent-%COMP%]:active, .btn-outline-info[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-info[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-info[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-info[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-info.focus[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-info[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-info.active[_ngcontent-%COMP%]{background-color:transparent;border-color:#51bcda}.btn-outline-warning[_ngcontent-%COMP%]{border-color:#fbc658;color:#fbc658;opacity:1;filter:alpha(opacity=100)}.btn-outline-warning[_ngcontent-%COMP%]:hover, .btn-outline-warning[_ngcontent-%COMP%]:focus, .btn-outline-warning[_ngcontent-%COMP%]:active, .btn-outline-warning.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-warning.dropdown-toggle[_ngcontent-%COMP%]{background-color:#fbc658;color:#fffc;border-color:#fbc658}.btn-outline-warning[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .btn-outline-warning[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], .btn-outline-warning[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%], .btn-outline-warning.active[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-warning.dropdown-toggle[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fffc}.btn-outline-warning[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-warning.disabled[_ngcontent-%COMP%], .btn-outline-warning.disabled[_ngcontent-%COMP%]:hover, .btn-outline-warning.disabled[_ngcontent-%COMP%]:focus, .btn-outline-warning.disabled.focus[_ngcontent-%COMP%], .btn-outline-warning.disabled[_ngcontent-%COMP%]:active, .btn-outline-warning.disabled.active[_ngcontent-%COMP%], .btn-outline-warning[_ngcontent-%COMP%]:disabled, .btn-outline-warning[_ngcontent-%COMP%]:disabled:hover, .btn-outline-warning[_ngcontent-%COMP%]:disabled:focus, .btn-outline-warning[_ngcontent-%COMP%]:disabled.focus, .btn-outline-warning[_ngcontent-%COMP%]:disabled:active, .btn-outline-warning[_ngcontent-%COMP%]:disabled.active, .btn-outline-warning[disabled][_ngcontent-%COMP%], .btn-outline-warning[disabled][_ngcontent-%COMP%]:hover, .btn-outline-warning[disabled][_ngcontent-%COMP%]:focus, .btn-outline-warning[disabled].focus[_ngcontent-%COMP%], .btn-outline-warning[disabled][_ngcontent-%COMP%]:active, .btn-outline-warning[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-warning[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-warning[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-warning[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-warning.focus[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-warning[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-warning.active[_ngcontent-%COMP%]{background-color:transparent;border-color:#fbc658}.btn-outline-danger[_ngcontent-%COMP%]{border-color:#f5593d;color:#f5593d;opacity:1;filter:alpha(opacity=100)}.btn-outline-danger[_ngcontent-%COMP%]:hover, .btn-outline-danger[_ngcontent-%COMP%]:focus, .btn-outline-danger[_ngcontent-%COMP%]:active, .btn-outline-danger.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-danger.dropdown-toggle[_ngcontent-%COMP%]{background-color:#f5593d;color:#fffc;border-color:#f5593d}.btn-outline-danger[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .btn-outline-danger[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], .btn-outline-danger[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%], .btn-outline-danger.active[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-danger.dropdown-toggle[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fffc}.btn-outline-danger[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-danger.disabled[_ngcontent-%COMP%], .btn-outline-danger.disabled[_ngcontent-%COMP%]:hover, .btn-outline-danger.disabled[_ngcontent-%COMP%]:focus, .btn-outline-danger.disabled.focus[_ngcontent-%COMP%], .btn-outline-danger.disabled[_ngcontent-%COMP%]:active, .btn-outline-danger.disabled.active[_ngcontent-%COMP%], .btn-outline-danger[_ngcontent-%COMP%]:disabled, .btn-outline-danger[_ngcontent-%COMP%]:disabled:hover, .btn-outline-danger[_ngcontent-%COMP%]:disabled:focus, .btn-outline-danger[_ngcontent-%COMP%]:disabled.focus, .btn-outline-danger[_ngcontent-%COMP%]:disabled:active, .btn-outline-danger[_ngcontent-%COMP%]:disabled.active, .btn-outline-danger[disabled][_ngcontent-%COMP%], .btn-outline-danger[disabled][_ngcontent-%COMP%]:hover, .btn-outline-danger[disabled][_ngcontent-%COMP%]:focus, .btn-outline-danger[disabled].focus[_ngcontent-%COMP%], .btn-outline-danger[disabled][_ngcontent-%COMP%]:active, .btn-outline-danger[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-danger[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-danger[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-danger[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-danger.focus[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-danger[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-danger.active[_ngcontent-%COMP%]{background-color:transparent;border-color:#f5593d}.btn-outline-neutral[_ngcontent-%COMP%]{border-color:#fff;color:#fff;opacity:1;filter:alpha(opacity=100)}.btn-outline-neutral[_ngcontent-%COMP%]:hover, .btn-outline-neutral[_ngcontent-%COMP%]:focus, .btn-outline-neutral[_ngcontent-%COMP%]:active, .btn-outline-neutral.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-neutral.dropdown-toggle[_ngcontent-%COMP%]{background-color:#fff;color:#fffc;border-color:#fff}.btn-outline-neutral[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .btn-outline-neutral[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], .btn-outline-neutral[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%], .btn-outline-neutral.active[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-outline-neutral.dropdown-toggle[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fffc}.btn-outline-neutral[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-outline-neutral.disabled[_ngcontent-%COMP%], .btn-outline-neutral.disabled[_ngcontent-%COMP%]:hover, .btn-outline-neutral.disabled[_ngcontent-%COMP%]:focus, .btn-outline-neutral.disabled.focus[_ngcontent-%COMP%], .btn-outline-neutral.disabled[_ngcontent-%COMP%]:active, .btn-outline-neutral.disabled.active[_ngcontent-%COMP%], .btn-outline-neutral[_ngcontent-%COMP%]:disabled, .btn-outline-neutral[_ngcontent-%COMP%]:disabled:hover, .btn-outline-neutral[_ngcontent-%COMP%]:disabled:focus, .btn-outline-neutral[_ngcontent-%COMP%]:disabled.focus, .btn-outline-neutral[_ngcontent-%COMP%]:disabled:active, .btn-outline-neutral[_ngcontent-%COMP%]:disabled.active, .btn-outline-neutral[disabled][_ngcontent-%COMP%], .btn-outline-neutral[disabled][_ngcontent-%COMP%]:hover, .btn-outline-neutral[disabled][_ngcontent-%COMP%]:focus, .btn-outline-neutral[disabled].focus[_ngcontent-%COMP%], .btn-outline-neutral[disabled][_ngcontent-%COMP%]:active, .btn-outline-neutral[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-neutral[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-neutral[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-neutral[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-neutral.focus[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-neutral[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-outline-neutral.active[_ngcontent-%COMP%]{background-color:transparent;border-color:#fff}.btn-outline-neutral[_ngcontent-%COMP%]:hover, .btn-outline-neutral[_ngcontent-%COMP%]:focus{color:#403d39;background-color:#fff}.btn-neutral[_ngcontent-%COMP%]{background-color:#fff;border-color:#fff;color:#fff;opacity:1;filter:alpha(opacity=100);color:#66615b}.btn-neutral[_ngcontent-%COMP%]:hover, .btn-neutral[_ngcontent-%COMP%]:focus, .btn-neutral[_ngcontent-%COMP%]:active, .btn-neutral.active[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] > .btn-neutral.dropdown-toggle[_ngcontent-%COMP%]{background-color:#fff;color:#fff;border-color:#fff}.btn-neutral.btn-link[_ngcontent-%COMP%]{color:#fff}.btn-neutral.btn-link[_ngcontent-%COMP%]:hover, .btn-neutral.btn-link[_ngcontent-%COMP%]:focus, .btn-neutral.btn-link[_ngcontent-%COMP%]:active, .btn-neutral.btn-link.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-neutral.btn-link.dropdown-toggle[_ngcontent-%COMP%]{background-color:transparent;color:#fff}.btn-neutral.btn-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top-color:#fff}.btn-neutral[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-
1top-color:#fff}.btn-neutral[_ngcontent-%COMP%]:hover, .btn-neutral[_ngcontent-%COMP%]:focus{color:#403d39}.btn-neutral.btn-border[_ngcontent-%COMP%]:hover, .btn-neutral.btn-border[_ngcontent-%COMP%]:focus{color:#66615b}.btn-neutral.btn-border[_ngcontent-%COMP%]:active, .btn-neutral.btn-border.active[_ngcontent-%COMP%], .open[_ngcontent-%COMP%] > .btn-neutral.btn-border.dropdown-toggle[_ngcontent-%COMP%]{background-color:#fff;color:#66615b}.btn-neutral.btn-link[_ngcontent-%COMP%]:active, .btn-neutral.btn-link.active[_ngcontent-%COMP%]{background-color:transparent}.btn[_ngcontent-%COMP%]:disabled, .btn[disabled][_ngcontent-%COMP%], .btn.disabled[_ngcontent-%COMP%]{opacity:.5;filter:alpha(opacity=50)}.btn-link[_ngcontent-%COMP%]{border-color:transparent!important;padding:7px 18px}.btn-link[_ngcontent-%COMP%]:hover, .btn-link[_ngcontent-%COMP%]:focus, .btn-link[_ngcontent-%COMP%]:active{text-decoration:none;border-color:transparent}.btn-link.btn-icon[_ngcontent-%COMP%]{padding:7px}.btn-lg[_ngcontent-%COMP%]{font-size:14px;padding:11px 30px}.btn-lg.btn-simple[_ngcontent-%COMP%]{padding:13px 30px}.btn-sm[_ngcontent-%COMP%]{font-size:12px;padding:4px 10px}.btn-sm.btn-simple[_ngcontent-%COMP%]{padding:6px 10px}.btn-wd[_ngcontent-%COMP%]{min-width:140px}.btn-group.select[_ngcontent-%COMP%]{width:100%}.btn-group.select[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-align:left}.btn-group.select[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{position:absolute;top:50%;margin-top:-1px;right:8px}.btn-just-icon.btn-sm[_ngcontent-%COMP%]{height:30px;width:30px;min-width:30px;padding:0}.btn-just-icon.btn-sm[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px}.btn-just-icon.btn-lg[_ngcontent-%COMP%]{height:50px;width:50px;min-width:50px;padding:13px}.btn-just-icon.btn-lg[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:18px;padding:0}.btn-round[_ngcontent-%COMP%]{border-radius:30px}.btn.btn-link[_ngcontent-%COMP%]:focus{box-shadow:none!important;text-decoration:none}.column[_ngcontent-%COMP%]   .btn-link[_ngcontent-%COMP%]{padding:7px 0}.share-buttons[_ngcontent-%COMP%]   .btn-outline-default[_ngcontent-%COMP%]{margin-top:24px}#modals[_ngcontent-%COMP%]   .btn-outline-neutral[_ngcontent-%COMP%]{margin-bottom:10px}.btn-group.select[_ngcontent-%COMP%]{overflow:visible!important}.media[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]   .media-footer[_ngcontent-%COMP%]   .btn-neutral[_ngcontent-%COMP%]{margin:15px 3px;font-size:14px}.media[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]   .media-footer[_ngcontent-%COMP%]   .btn-neutral[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:0!important}.form-control[_ngcontent-%COMP%]::-moz-placeholder{color:#d2d2d2;opacity:1;filter:alpha(opacity=100)}.form-control[_ngcontent-%COMP%]:-moz-placeholder{color:#d2d2d2;opacity:1;filter:alpha(opacity=100)}.form-control[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#d2d2d2;opacity:1;filter:alpha(opacity=100)}.form-control[_ngcontent-%COMP%]:-ms-input-placeholder{color:#d2d2d2;opacity:1;filter:alpha(opacity=100)}.form-control[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #DDDDDD;border-radius:4px;color:#66615b;font-size:14px;padding:7px 12px;height:40px;box-shadow:none}.form-control[_ngcontent-%COMP%]:focus{background-color:#fff;border:1px solid #9A9A9A;box-shadow:none;outline:0!important}.form-control.no-border[_ngcontent-%COMP%]{border:medium none!important}.has-success[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%], .has-error[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%], .has-success[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus, .has-error[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{box-shadow:none}.has-success[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border:1px solid #ccc;color:#66615b}.has-success[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{border:1px solid #6bd098;color:#6bd098}.has-danger[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{background-color:#ffc0a4;border:1px solid #f5593d;color:#f5593d}.has-danger[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{background-color:#fff;border:1px solid #f5593d}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{border-radius:6px;font-size:14px;color:#f5593d;font-size:.8rem;position:absolute;top:100%;padding-left:12px;vertical-align:middle}.open[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border-radius:4px 4px 0 0;border-bottom-color:transparent}.input-lg[_ngcontent-%COMP%]{height:55px;padding:11px 30px}.has-error[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%], .has-error[_ngcontent-%COMP%]   .control-label[_ngcontent-%COMP%]{color:#f5593d}.has-success[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%], .has-success[_ngcontent-%COMP%]   .control-label[_ngcontent-%COMP%]{color:#6bd098}.input-group[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:first-child, .input-group-btn[_ngcontent-%COMP%]:first-child > .dropdown-toggle[_ngcontent-%COMP%], .input-group-btn[_ngcontent-%COMP%]:last-child > .btn[_ngcontent-%COMP%]:not(:last-child):not(.dropdown-toggle){border-right:0 none;padding-right:0}.input-group[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:last-child, .input-group-btn[_ngcontent-%COMP%]:last-child > .dropdown-toggle[_ngcontent-%COMP%], .input-group-btn[_ngcontent-%COMP%]:first-child > .btn[_ngcontent-%COMP%]:not(:first-child){border-left:0 none}.form-control[disabled][_ngcontent-%COMP%], .form-control[readonly][_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{background-color:#e3e3e3;color:#66615b;cursor:not-allowed}.input-group-btn[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{border-width:1px;padding:9px 18px}.input-group-btn[_ngcontent-%COMP%]   .btn-default[_ngcontent-%COMP%]:not(.btn-fill){border-color:#ddd}.input-group-btn[_ngcontent-%COMP%]:last-child > .btn[_ngcontent-%COMP%]{margin-left:0}textarea.form-control[_ngcontent-%COMP%]{padding:10px 18px;height:auto}.form-group[_ngcontent-%COMP%]{position:relative}.register-form[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border:1px solid transparent!important}#inputs[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-bottom:1rem}.card-form-horizontal[_ngcontent-%COMP%]   .card-block[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{margin-bottom:0}.input-group[_ngcontent-%COMP%]{background:#FFFFFF}.input-group[_ngcontent-%COMP%]   .input-group-append[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{background:transparent;border:1px solid #DDDDDD;border-left:none;transition:all .3s linear}.input-group[_ngcontent-%COMP%]   .input-group-prepend[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{margin-right:0;background:transparent;border:1px solid #DDDDDD;transition:all .3s linear}.input-group.input-group-focus[_ngcontent-%COMP%]   .input-group-prepend[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{border:1px solid #9A9A9A!important}.input-group.input-group-focus[_ngcontent-%COMP%]   .input-group-append[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{border:1px solid #9A9A9A!important}.input-group.form-group-no-border[_ngcontent-%COMP%]   .input-group-prepend[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{border-right:transparent!important;background:#FFFFFF!important;border:1px solid #FFFFFF!important;transition:all .3s linear}.input-group.form-group-no-border[_ngcontent-%COMP%]   .input-group-append[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{border-left:transparent!important;background:#FFFFFF!important;border:1px solid #FFFFFF!important;transition:all .3s linear}.progress[_ngcontent-%COMP%]{background-color:#ddd;border-radius:3px;box-shadow:none;height:15px}.progress-thin[_ngcontent-%COMP%]{height:4px}
1.progress-bar[_ngcontent-%COMP%]{background-color:#51cbce}.progress-bar-primary[_ngcontent-%COMP%]{background-color:#51cbce}.progress-bar-info[_ngcontent-%COMP%]{background-color:#51bcda}.progress-bar-success[_ngcontent-%COMP%]{background-color:#6bd098}.progress-bar-warning[_ngcontent-%COMP%]{background-color:#fbc658}.progress-bar-danger[_ngcontent-%COMP%]{background-color:#f5593d}.noUi-target[_ngcontent-%COMP%], .noUi-target[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;touch-action:none;-moz-user-select:none;user-select:none;box-sizing:border-box}.noUi-target[_ngcontent-%COMP%]{position:relative}.noUi-base[_ngcontent-%COMP%], .noUi-connects[_ngcontent-%COMP%]{width:100%;height:2px;margin-top:-1px;position:relative;z-index:1}.noUi-connects[_ngcontent-%COMP%]{overflow:hidden;z-index:0}.noUi-connect[_ngcontent-%COMP%], .noUi-origin[_ngcontent-%COMP%]{will-change:transform;position:absolute;z-index:1;top:0;right:0;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-connect[_ngcontent-%COMP%]{height:100%;width:100%;margin-right:-6px}.noUi-origin[_ngcontent-%COMP%]{height:10%;width:10%}.noUi-txt-dir-rtl.noUi-horizontal[_ngcontent-%COMP%]   .noUi-origin[_ngcontent-%COMP%]{left:0;right:auto}.noUi-vertical[_ngcontent-%COMP%]   .noUi-origin[_ngcontent-%COMP%]{width:0}.noUi-horizontal[_ngcontent-%COMP%]   .noUi-origin[_ngcontent-%COMP%]{height:0}.noUi-handle[_ngcontent-%COMP%]{backface-visibility:hidden;position:absolute}.noUi-touch-area[_ngcontent-%COMP%]{height:100%;width:100%}.noUi-touch-area[_ngcontent-%COMP%]:focus{outline:none}.noUi-state-tap[_ngcontent-%COMP%]   .noUi-connect[_ngcontent-%COMP%], .noUi-state-tap[_ngcontent-%COMP%]   .noUi-origin[_ngcontent-%COMP%]{transition:transform .3s}.noUi-state-drag[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{cursor:inherit!important}.noUi-horizontal[_ngcontent-%COMP%]{height:1px}.noUi-horizontal[_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{width:14px;height:14px;border-radius:100%;transition:all .2s ease-out;right:-17px;top:-6px}.noUi-vertical[_ngcontent-%COMP%]{width:18px}.noUi-vertical[_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{width:28px;height:34px;right:-6px;top:-17px}.noUi-txt-dir-rtl.noUi-horizontal[_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{left:-17px;right:auto}.noUi-target[_ngcontent-%COMP%]{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects[_ngcontent-%COMP%]{border-radius:3px}.noUi-connect[_ngcontent-%COMP%]{background:#3FB8AF}.noUi-draggable[_ngcontent-%COMP%]{cursor:ew-resize}.noUi-vertical[_ngcontent-%COMP%]   .noUi-draggable[_ngcontent-%COMP%]{cursor:ns-resize}.noUi-handle[_ngcontent-%COMP%]{border:1px solid #7ac29a;border-radius:3px;background:#FFF;cursor:default;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0003,0 1px 5px #0000001f}.noUi-handle[_ngcontent-%COMP%]:focus{outline:none}.noUi-active[_ngcontent-%COMP%]{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb;transform:scale(2)}[disabled][_ngcontent-%COMP%]   .noUi-connect[_ngcontent-%COMP%]{background:#B8B8B8}[disabled].noUi-target[_ngcontent-%COMP%], [disabled].noUi-handle[_ngcontent-%COMP%], [disabled][_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{cursor:not-allowed}.noUi-pips[_ngcontent-%COMP%], .noUi-pips[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}.noUi-pips[_ngcontent-%COMP%]{position:absolute;color:#999}.noUi-value[_ngcontent-%COMP%]{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub[_ngcontent-%COMP%]{color:#ccc;font-size:10px}.noUi-marker[_ngcontent-%COMP%]{position:absolute;background:#CCC}.noUi-marker-sub[_ngcontent-%COMP%]{background:#AAA}.noUi-marker-large[_ngcontent-%COMP%]{background:#AAA}.noUi-pips-horizontal[_ngcontent-%COMP%]{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal[_ngcontent-%COMP%]{transform:translate(-50%,50%)}.noUi-rtl[_ngcontent-%COMP%]   .noUi-value-horizontal[_ngcontent-%COMP%]{transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker[_ngcontent-%COMP%]{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub[_ngcontent-%COMP%]{height:10px}
1.noUi-marker-horizontal.noUi-marker-large[_ngcontent-%COMP%]{height:15px}.noUi-pips-vertical[_ngcontent-%COMP%]{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical[_ngcontent-%COMP%]{transform:translateY(-50%);padding-left:25px}.noUi-rtl[_ngcontent-%COMP%]   .noUi-value-vertical[_ngcontent-%COMP%]{transform:translateY(50%)}.noUi-marker-vertical.noUi-marker[_ngcontent-%COMP%]{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub[_ngcontent-%COMP%]{width:10px}.noUi-marker-vertical.noUi-marker-large[_ngcontent-%COMP%]{width:15px}.noUi-tooltip[_ngcontent-%COMP%]{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal[_ngcontent-%COMP%]   .noUi-tooltip[_ngcontent-%COMP%]{transform:translate(-50%);left:50%;bottom:120%}.noUi-vertical[_ngcontent-%COMP%]   .noUi-tooltip[_ngcontent-%COMP%]{transform:translateY(-50%);top:50%;right:120%}.noUi-horizontal[_ngcontent-%COMP%]   .noUi-origin[_ngcontent-%COMP%] > .noUi-tooltip[_ngcontent-%COMP%]{transform:translate(50%);left:auto;bottom:10px}.noUi-vertical[_ngcontent-%COMP%]   .noUi-origin[_ngcontent-%COMP%] > .noUi-tooltip[_ngcontent-%COMP%]{transform:translateY(-18px);top:auto;right:28px}.slider.slider-info[_ngcontent-%COMP%]   .noUi-origin[_ngcontent-%COMP%]{background-color:#51cbce}.slider.slider-info[_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{border-color:#51cbce}.slider.slider-success[_ngcontent-%COMP%]   .noUi-connect[_ngcontent-%COMP%], .slider.slider-success.noUi-connect[_ngcontent-%COMP%]{background-color:#51cbce}.slider.slider-success[_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{border-color:#51cbce}.slider.slider-warning[_ngcontent-%COMP%]   .noUi-connect[_ngcontent-%COMP%], .slider.slider-warning.noUi-connect[_ngcontent-%COMP%]{background-color:#ff9800}.slider.slider-warning[_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{border-color:#ff9800}.slider.slider-danger[_ngcontent-%COMP%]   .noUi-connect[_ngcontent-%COMP%], .slider.slider-danger.noUi-connect[_ngcontent-%COMP%]{background-color:#f44336}.slider.slider-danger[_ngcontent-%COMP%]   .noUi-handle[_ngcontent-%COMP%]{border-color:#f44336}.alert[_ngcontent-%COMP%]{border:0;border-radius:0;color:#fff;padding:10px 15px;font-size:14px}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{font-size:20px;color:#fff}.container[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{border-radius:4px}.navbar[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{border-radius:0;left:0;position:absolute;right:0;top:85px;width:100%;z-index:3}.navbar[_ngcontent-%COMP%]:not(.navbar-transparent)   .alert[_ngcontent-%COMP%]{top:70px}.alert[_ngcontent-%COMP%]   .alert-icon[_ngcontent-%COMP%]{display:block;font-size:30px;left:15px;position:absolute;top:50%;margin-top:-22px}.alert.message[_ngcontent-%COMP%]{padding-right:60px}.alert[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{position:relative;font-size:20px;top:5px;margin-top:-5px;font-weight:600}.alert-info[_ngcontent-%COMP%]{background-color:#6ec7e0}.alert-success[_ngcontent-%COMP%]{background-color:#86d9ab}.alert-warning[_ngcontent-%COMP%]{background-color:#fcd27b}.alert-danger[_ngcontent-%COMP%]{background-color:#f7765f}.label[_ngcontent-%COMP%]{padding:.2em .6em;border-radius:10px;color:#fff;font-weight:500;font-size:.75em;text-transform:uppercase;display:inline-block;margin-bottom:3px;line-height:17px}.label-primary[_ngcontent-%COMP%]{background-color:#51cbce}.label-info[_ngcontent-%COMP%]{background-color:#51bcda}.label-success[_ngcontent-%COMP%]{background-color:#6bd098}.label-warning[_ngcontent-%COMP%]{background-color:#fbc658}.label-danger[_ngcontent-%COMP%]{background-color:#f5593d}.label-default[_ngcontent-%COMP%]{background-color:#66615b}.tooltip[_ngcontent-%COMP%]{font-size:12px;font-weight:400}.tooltip-inner[_ngcontent-%COMP%]{background-color:#fff;border-radius:4px;box-shadow:0 1px 13px #00000024,0 0 0 1px #7347263b;color:#66615b;max-width:200px;padding:10px;text-align:center;text-decoration:none}.tooltip-inner[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute}.tooltip-inner[_ngcontent-%COMP%]:before{content:"";display:inline-block;position:absolute}.tooltip.bs-tooltip-left[_ngcontent-%COMP%], .tooltip.bs-tooltip-left.show[_ngcontent-%COMP%]{margin-right:5px}.tooltip.bs-tooltip-left[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-left.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-left:11px solid rgba(0,0,0,.2);border-top:11px solid transparent;border-bottom:11px solid transparent;right:-4px;left:auto;margin-left:0;top:8px!important}.tooltip.bs-tooltip-left[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-left.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-left:11px solid #FFFFFF;border-top:11px solid transparent;border-bottom:11px solid transparent;right:1px;left:auto;margin-left:0;top:-11px!important}.tooltip.bs-tooltip-right[_ngcontent-%COMP%], .tooltip.bs-tooltip-right.show[_ngcontent-%COMP%]{margin-left:6px}.tooltip.bs-tooltip-right[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-right.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-right:11px solid rgba(0,0,0,.2);border-top:11px solid transparent;border-bottom:11px solid transparent;left:-6px;right:auto;margin-right:0;top:9px!important}.tooltip.bs-tooltip-right[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-right.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-right:11px solid #FFFFFF;border-top:11px solid transparent;border-bottom:11px solid transparent;left:1px;right:auto;margin-right:0;top:-11px}.tooltip.bs-tooltip-top[_ngcontent-%COMP%], .tooltip.bs-tooltip-top.show[_ngcontent-%COMP%]{margin-top:-6px}.tooltip.bs-tooltip-top[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-top.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-top:11px solid rgba(0,0,0,.2);border-left:11px solid transparent;border-right:11px solid transparent;right:auto;margin-right:0;left:40px!important;top:45px}.tooltip.bs-tooltip-top[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-top.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-top:11px solid #FFFFFF;border-left:11px solid transparent;border-right:11px solid transparent;left:-11px;right:auto;top:-12px}.tooltip.bs-tooltip-bottom[_ngcontent-%COMP%], .tooltip.bs-tooltip-bottom.show[_ngcontent-%COMP%]{margin-top:6px}.tooltip.bs-tooltip-bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-bottom.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-bottom:11px solid rgba(0,0,0,.2);border-left:11px solid transparent;border-right:11px solid transparent;right:auto;margin-right:0;top:-4px;left:50px!important}.tooltip.bs-tooltip-bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-bottom.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-bottom:11px solid #FFFFFF;border-left:11px solid transparent;border-right:11px solid transparent;left:-11px;right:auto;top:1px}.tooltip.show[_ngcontent-%COMP%]{opacity:1!important}.popover[_ngcontent-%COMP%]{border-radius:6px;background-color:#fffcf5;color:#66615b;font-weight:400;padding:0;z-index:1031;box-shadow:none}.popover-header[_ngcontent-%COMP%]{background-color:#fff;border-bottom:0 none;font-size:15px;font-weight:normal;line-height:22px;padding:15px 15px 0;margin:0 0 -10px;color:#66615b;text-align:center;border-radius:6px 6px 0 0}.popover-body[_ngcontent-%COMP%]{background-color:#fff;padding:15px;text-align:center;border-radius:6px}.popover[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border:0}.popover.top[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-left:0}.popover.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#f7765f}.popover-filter[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000;opacity:0;filter:alpha(opacity=0);visibility:hidden;transition:visibility 0s linear .3s,opacity .3s linear}.popover.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#f7765f;bottom:-20px}.popover.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#f7765f}.popover.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#f7765f}.popover.left[_ngcontent-%COMP%]:before{border-left-color:#f7765f;bottom:-20px}.popover-filter.in[_ngcontent-%COMP%]{visibility:visible;opacity:.2;filter:alpha(opacity=20);transition-delay:0s}.popover-primary[_ngcontent-%COMP%]{background-color:#6dd3d6;color:#fff}.popover-primary[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#6dd3d6;color:#0000008f}.popover-primary.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#6dd3d6}.popover-primary.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#6dd3d6}.popover-primary.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#6dd3d6}.popover-primary.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#6dd3d6}.popover-info[_ngcontent-%COMP%]{background-color:#6ec7e0;color:#fff}.popover-info[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#6ec7e0;color:#0000008f}.popover-info.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#6ec7e0}.popover-info.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#6ec7e0}.popover-info.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#6ec7e0}.popover-info.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#6ec7e0}.popover-success[_ngcontent-%COMP%]{background-color:#86d9ab;color:#fff}.popover-success[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#86d9ab;color:#0000008f}.popover-success.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#86d9ab}.popover-success.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#86d9ab}.popover-success.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#86d9ab}.popover-success.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#86d9ab}.popover-warning[_ngcontent-%COMP%]{background-color:#fcd27b;color:#fff}.popover-warning[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#fcd27b;color:#0000008f}.popover-warning.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#fcd27b}.popover-warning.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#fcd27b}.popover-warning.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#fcd27b}.popover-warning.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#fcd27b}.popover-danger[_ngcontent-%COMP%]{background-color:#f7765f;color:#fff}.popover-danger[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#f7765f;color:#0000008f}.popover-danger.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#f7765f}.popover-danger.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#f7765f}.popover-danger.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#f7765f}.popover-danger.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#f7765f}.section[_ngcontent-%COMP%]{padding:70px 0;position:relative;background-color:#fff}.section-with-space[_ngcontent-%COMP%]{padding:60px 0}.section-gray[_ngcontent-%COMP%]{background-color:#eee}.section-nude[_ngcontent-%COMP%]{background-color:#fffcf5}.section-gold[_ngcontent-%COMP%]{background-color:#caac90;color:#fff}.section-brown[_ngcontent-%COMP%]{background-color:#a59e94;color:#fff}.section-light-blue[_ngcontent-%COMP%]{background-color:#51cbce;color:#fff}.section-dark-blue[_ngcontent-%COMP%]{background-color:#506367;color:#fff}.section-dark[_ngcontent-%COMP%]{background-color:#0b1011}.section-image[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]{position:relative}.section-image[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .section-image[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%], .section-image[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%]{color:#fff!important}.section-image[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%], .section-image[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%], .section-image[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-description[_ngcontent-%COMP%], .section-image[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-category[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-description[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-category[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-description[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   .card-plain[_ngcontent-%COMP%]   .card-category[_ngcontent-%COMP%]{color:#ffffffb3}.section-image[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%], .section-gold[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%], .section-dark[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border-color:#ffffff30}.page-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .page-header[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%], .carousel-caption[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .carousel-caption[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%]{color:#fff}[class*=features-][_ngcontent-%COMP%], [class*=team-][_ngcontent-%COMP%], [class*=projects-][_ngcontent-%COMP%], [class*=pricing-][_ngcontent-%COMP%], [class*=testimonials-][_ngcontent-%COMP%], [class*=contactus-][_ngcontent-%COMP%]{padding:80px 0}.section-image[_ngcontent-%COMP%]{background-position:center center;background-size:cover}.section-image[_ngcontent-%COMP%]:before{background-color:#00000080;content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.section-image[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative;z-index:2}.section-login[_ngcontent-%COMP%]{min-height:700px}.form-check[_ngcontent-%COMP%], .form-check-radio[_ngcontent-%COMP%]{padding:0;margin-bottom:12px;position:relative}.form-check[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]{display:inline-block;position:relative;cursor:pointer;padding-left:35px;line-height:26px;margin-bottom:0}.form-check[_ngcontent-%COMP%]   .form-check-sign[_ngcontent-%COMP%]:before, .form-check[_ngcontent-%COMP%]   .form-check-sign[_ngcontent-%COMP%]:after{content:" ";display:inline-block;position:absolute;width:24px;height:24px;left:0;cursor:pointer;border-radius:3px;top:0;background-color:#aaa7a4;border:1px solid #E3E3E3;transition:opacity .3s linear}.form-check[_ngcontent-%COMP%]   .form-check-sign[_ngcontent-%COMP%]:after{font-family:"FontAwesome";content:"\\f00c";top:0px;text-align:center;font-size:14px;opacity:0;color:#efe;border:0;background-color:inherit}.form-check.disabled[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]{color:#9a9a9a;opacity:.5;cursor:not-allowed}.form-check[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%], .form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]{opacity:0;position:absolute;visibility:hidden}.form-check[_ngcontent-%COMP%]   input[typ
1e=checkbox][_ngcontent-%COMP%]:checked + .form-check-sign[_ngcontent-%COMP%]:after{opacity:1}.form-control[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:disabled + .form-check-sign[_ngcontent-%COMP%]:before, .checkbox[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:disabled + .form-check-sign[_ngcontent-%COMP%]:after{cursor:not-allowed}.form-check[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:disabled + .form-check-sign[_ngcontent-%COMP%], .form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:disabled + .form-check-sign[_ngcontent-%COMP%]{pointer-events:none!important}.form-check-radio[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]{padding-left:2rem}.form-check-radio.disabled[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]{color:#9a9a9a;opacity:.5;cursor:not-allowed}.form-check-radio[_ngcontent-%COMP%]   .form-check-sign[_ngcontent-%COMP%]:before{font-family:"FontAwesome";content:"\\f10c";font-size:22px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;position:absolute;opacity:.5;left:5px;top:-5px}.form-check-label[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:checked + .form-check-sign[_ngcontent-%COMP%]:before{background-color:#66615b}.form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%] + .form-check-sign[_ngcontent-%COMP%]:after, .form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]{opacity:0;display:block;content:"";transition:opacity 1s linear}.form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked + .form-check-sign[_ngcontent-%COMP%]:after{font-family:"FontAwesome";content:"\\f192";top:-5px;position:absolute;left:5px;opacity:1;font-size:22px}.form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked + .form-check-sign[_ngcontent-%COMP%]:after{opacity:1}.form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:disabled + .form-check-sign[_ngcontent-%COMP%]:before, .form-check-radio[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:disabled + .form-check-sign[_ngcontent-%COMP%]:after{color:#9a9a9a}.nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, .nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus{background-color:transparent}.navbar[_ngcontent-%COMP%]{border:0;font-size:14px;transition:all .4s;-webkit-transition:all .4s;padding:0;background:#FFFFFF;box-shadow:0 6px 10px -4px #00000026}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{font-weight:600;margin:5px 0;padding:20px 15px;font-size:14px;color:#66615b;text-transform:uppercase}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:16px;position:relative;top:4px;right:3px}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   [class^=fa][_ngcontent-%COMP%]{top:2px}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:hover{color:#403d39!important}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{line-height:1.6;margin:15px 0;padding:10px 15px;opacity:.8;font-size:12px;text-transform:uppercase;font-weight:600;color:#66615b}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.btn[_ngcontent-%COMP%]{margin:15px 3px;padding:9px}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{border-radius:12px;margin-top:1px}.navbar[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:inline}.navbar[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin:0 10px 0 5px;font-size:18px;position:relative;top:3px}.navbar[_ngcontent-%COMP%]   .navbar-collapse.show[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{padding-right:10px}.navbar[_ngcontent-%COMP%]   .notification-bubble[_ngcontent-%COMP%]{right:72px;padding:.2em .6em;position:absolute;top:15px}.navbar[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:15px 3px;font-size:12px}.navbar[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:14px;line-height:13px}.navbar[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{font-size:16px}.navbar[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{left:0;right:0;margin-right:auto;margin-left:auto;position:absolute}.navbar.navbar-transparent[_ngcontent-%COMP%]{padding-top:25px}.navbar[_ngcontent-%COMP%]   .logo-container[_ngcontent-%COMP%]{margin-top:5px}.navbar[_ngcontent-%COMP%]   .logo-container[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{overflow:hidden;border-radius:50%;border:1px solid #333333;width:50px;float:left}.navbar[_ngcontent-%COMP%]   .logo-container[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.navbar[_ngcontent-%COMP%]   .logo-container[_ngcontent-%COMP%]   .brand[_ngcontent-%COMP%]{font-size:18px;color:#fff;line-height:20px;float:left;margin-left:10px;margin-top:5px;width:75px;height:50px}.navbar.fixed-top[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{top:4px}.navbar-absolute[_ngcontent-%COMP%]{position:absolute;width:100%;padding-top:10px;z-index:1029}.navbar-transparent[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{color:#fff;opacity:.9;filter:alpha(opacity=90)}.navbar-transparent[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]:focus, .navbar-transparent[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]:hover, [class*=bg][_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]:focus, [class*=bg][_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]:hover{background-color:transparent;opacity:1;filter:alpha(opacity=100);color:#fff}.navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn), [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn){color:#fff;border-color:#fff}.navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, .navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus, .navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, .navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus, [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus, [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus{background-color:transparent;color:#fff;opacity:1;filter:alpha(opacity=100)}.navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   a.btn[_ngcontent-%COMP%]:hover, [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   a.btn[_ngcontent-%COMP%]:hover{background-color:transparent}.navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], .navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, .navbar-transparent[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus, [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [class*=bg][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus{background-color:transparent;color:#66615b;opacity:1;filter:alpha(opacity=100)}.navbar-transparent[_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%]{color:#9a9a9a;background-color:#fff;opacity:.9;filter:alpha(opacity=90)}.navbar-transparent[_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%]:hover, .navbar-transparent[_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%]:focus, .navbar-transparent[_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%]:active, .navbar-transparent[_ngcontent-%COMP%]   .btn-default.btn-fill.active[_ngcontent-%COMP%], .navbar-transparent[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-toggle.btn-fill.btn-default[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%]:hover, [class*=bg][_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%]:focus, [class*=bg][_ngcontent-%COMP%]   .btn-default.btn-fill[_ngcontent-%COMP%]:active, [class*=bg][_ngcontent-%COMP%]   .btn-default.btn-fill.active[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-toggle.btn-fill.btn-default[_ngcontent-%COMP%]{border-color:#fff;opacity:1;filter:alpha(opacity=100)}.nav-open[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.navbar-default[_ngcontent-%COMP%]   .brand[_ngcontent-%COMP%]{color:#66615b!important}.navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn){color:#9a9a9a}.navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn):hover, .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn):focus, .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn):hover, .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn):focus{background-color:transparent;border-radius:3px;color:#51bcda;opacity:1;filter:alpha(opacity=100)}.navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%], .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus   .caret[_ngcontent-%COMP%]{border-bottom-color:#51bcda;border-top-color:#51bcda}.navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus{background-color:transparent;color:#51bcda}.navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-default[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent}.navbar-default[_ngcontent-%COMP%]:not(.navbar-transparent)   .btn-default[_ngcontent-%COMP%]:hover{color:#51bcda;border-color:#51bcda}.navbar-default[_ngcontent-%COMP%]:not(.navbar-transparent)   .btn-neutral[_ngcontent-%COMP%], .navbar-default[_ngcontent-%COMP%]:not(.navbar-transparent)   .btn-neutral[_ngcontent-%COMP%]:hover, .navbar-default[_ngcontent-%COMP%]:not(.navbar-transparent)   .btn-neutral[_ngcontent-%COMP%]:active{color:#9a9a9a}.navbar-icons.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin-top:12px;margin-bottom:12px}.navbar-icons[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{text-align:center;padding:6px 15px;margin:6px 3px}.navbar-icons[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   [class^=pe][_ngcontent-%COMP%]{font-size:30px;position:relative}.navbar-icons[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:3px 0 0}.navbar-form[_ngcontent-%COMP%]{box-shadow:none}.navbar-form[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border-radius:0;border:0;padding:0;background-color:transparent;height:22px;font-size:14px;line-height:1.5em;color:#e3e3e3}.navbar-transparent[_ngcontent-%COMP%]   .navbar-form[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%], [class*=bg][_ngcontent-%COMP%]   .navbar-form[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{color:#fff;border:0;border-bottom:1px solid rgba(255,255,255,.6)}.navbar-toggle[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:19px;border:0}
1.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{background-color:#fff}.navbar-toggle[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%], .navbar-toggle[_ngcontent-%COMP%]   .navbar-form[_ngcontent-%COMP%]{border-color:transparent}.navbar-toggle.navbar-default[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle.navbar-default[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent}.navbar-light[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#e3e3e3}.red[_ngcontent-%COMP%]{color:red}.collapse[_ngcontent-%COMP%]   .navbar-text[_ngcontent-%COMP%]{line-height:55px}.navbar-default[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{color:#66615b}.navbar-default[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]:hover, .navbar-default[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]:focus{color:#5e5e5e}.navbar-collapse.show[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{padding-right:100px}.nav-tabs-navigation[_ngcontent-%COMP%]:last-child{border-bottom:0 none}.nav-tabs-navigation[_ngcontent-%COMP%]:last-child   .nav-stacked[_ngcontent-%COMP%]{border-right:1px solid #F1EAE0;font-size:16px;font-weight:600;padding:20px 0}.nav-tabs-navigation[_ngcontent-%COMP%]:last-child   .nav-stacked[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{padding:7px 25px}.navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-toggler[_ngcontent-%COMP%]{outline:none!important;cursor:pointer}.navbar[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]   .navbar-toggler-bar[_ngcontent-%COMP%]{background:#66615b}.navbar[class*=bg-][_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]   .navbar-toggler-bar[_ngcontent-%COMP%], .navbar.navbar-transparent[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]   .navbar-toggler-bar[_ngcontent-%COMP%]{background:#fff}.navbar-toggler[_ngcontent-%COMP%]   .navbar-toggler-bar[_ngcontent-%COMP%]{display:block;position:relative;width:24px;height:2px;border-radius:1px;margin:0 auto}.navbar-toggler[_ngcontent-%COMP%]   .navbar-toggler-bar[_ngcontent-%COMP%] + .navbar-toggler-bar[_ngcontent-%COMP%], .navbar-toggler[_ngcontent-%COMP%]   .navbar-toggler-icon[_ngcontent-%COMP%] + .navbar-toggler-icon[_ngcontent-%COMP%]{margin-top:4px}.navbar-toggler-icon[_ngcontent-%COMP%]{display:block;position:relative;width:24px;height:2px;border-radius:1px;margin:0 auto;background:gray}.no-transition[_ngcontent-%COMP%]{transition:none}#description-areas[_ngcontent-%COMP%]   .nav-stacked[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:before, #navtabs-row[_ngcontent-%COMP%]   .nav-stacked[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:before{border-right:11px solid #F1EAE0;border-top:11px solid transparent;border-bottom:11px solid transparent;content:"";display:inline-block;position:absolute;right:0;bottom:7px}#description-areas[_ngcontent-%COMP%]   .nav-stacked[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:after, #navtabs-row[_ngcontent-%COMP%]   .nav-stacked[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:after{border-right:11px solid #FFFFFF;border-top:11px solid transparent;border-bottom:11px solid transparent;content:"";display:inline-block;position:absolute;right:-1px;bottom:7px}#second-tabs[_ngcontent-%COMP%]{margin-left:20px}.scroll-area[_ngcontent-%COMP%]{max-height:310px;overflow-y:scroll;list-style:outside none none;padding:0}.burger-menu[_ngcontent-%COMP%]   .collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#333}.navbar-transparent[_ngcontent-%COMP%]{background:transparent!important;border-bottom:1px solid transparent;box-shadow:none}.navbar-transparent[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#fff3}.section-navbars[_ngcontent-%COMP%]   #menu-dropdown[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]   .navbar-toggler-icon[_ngcontent-%COMP%]{background:#FFFFFF}.navbar-hidden[_ngcontent-%COMP%]{display:none}.card[_ngcontent-%COMP%]{border-radius:12px;box-shadow:0 6px 10px -4px #00000026;background-color:#fff;color:#333;margin-bottom:20px;position:relative;z-index:1;border:0 none;transition:transform .3s cubic-bezier(.34,2,.6,1),box-shadow .2s ease}.card[_ngcontent-%COMP%]:not(.card-plain):hover{box-shadow:0 12px 19px -7px #0000004d;transform:translateY(-10px);-webkit-transform:translateY(-10px);-ms-transform:translateY(-10px);-moz-transform:translateY(-10px)}.card.card-plain[_ngcontent-%COMP%]{background-color:transparent;box-shadow:none;border-radius:0}.card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]{padding:15px;background:transparent;border-top:0 none}.card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:first-child{border-radius:0 0 0 6px}.card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:last-child{border-radius:0 0 6px}.card[_ngcontent-%COMP%]   .card-block[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]{padding:0}.card[_ngcontent-%COMP%]   .card-block[_ngcontent-%COMP%]   .card-description[_ngcontent-%COMP%] + .card-footer[_ngcontent-%COMP%]{padding-top:10px}.card.no-transition[_ngcontent-%COMP%]:hover, .card.card-register[_ngcontent-%COMP%]:hover, .card.page-carousel[_ng
1content-%COMP%]:hover{box-shadow:0 6px 10px -4px #00000026;transform:none;-webkit-transform:none;-ms-transform:none;-moz-transform:none}.section-dark[_ngcontent-%COMP%]   .card-profile.card-plain[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%]{color:#fff!important}.section-dark[_ngcontent-%COMP%]   .card-profile.card-plain[_ngcontent-%COMP%]   .card-description[_ngcontent-%COMP%]{color:#ffffffb3}.card-profile[_ngcontent-%COMP%]{margin-top:30px;text-align:center}.card-profile[_ngcontent-%COMP%]   .card-cover[_ngcontent-%COMP%]{height:130px;background-position:center center;background-size:cover;border-radius:12px 12px 0 0}.card-profile[_ngcontent-%COMP%]   .card-block[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%]{margin-top:5px!important}.card-profile[_ngcontent-%COMP%]   .card-block[_ngcontent-%COMP%]   .card-category[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}.card-profile[_ngcontent-%COMP%]   .card-avatar[_ngcontent-%COMP%]{max-width:120px;max-height:120px;margin:-60px auto 0;border-radius:50%;overflow:hidden}.card-profile[_ngcontent-%COMP%]   .card-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;height:auto}.card-profile[_ngcontent-%COMP%]   .card-avatar.border-white[_ngcontent-%COMP%]{border:4px solid #FFFFFF}.card-profile[_ngcontent-%COMP%]   .card-avatar.border-gray[_ngcontent-%COMP%]{border:4px solid #ccc}.section[_ngcontent-%COMP%]   .card-profile[_ngcontent-%COMP%]{margin-top:100px}.card-register[_ngcontent-%COMP%]{background-color:#ff8f5e;border-radius:8px;color:#fff;max-width:350px;margin:120px 0 70px;min-height:400px;padding:30px;z-index:1}.card-register[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:0}.section-image[_ngcontent-%COMP%]   .card-register[_ngcontent-%COMP%]{margin-top:0}.card-register[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.card-register[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.card-register[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.card-register[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.footer[_ngcontent-%COMP%]{background-attachment:fixed;position:relative;line-height:20px}.footer[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;font-weight:normal}.footer[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block;padding:10px 15px;margin:15px 3px;line-height:20px;text-align:center}.footer[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn){color:#777;display:block;margin-bottom:3px;line-height:1.6;opacity:.8;font-size:12px;text-transform:uppercase;font-weight:600}.footer[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):hover, .footer[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):focus{color:#777;opacity:1}.footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{color:#777;padding:10px 0;font-size:14px;margin:15px 3px;line-height:20px;text-align:center}.footer[_ngcontent-%COMP%]   .heart[_ngcontent-%COMP%]{color:#eb5e28}.footer[_ngcontent-%COMP%]{background-color:#fff;line-height:36px}.footer.footer-black[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{color:#fff}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{display:inline-block}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;font-weight:600}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block;padding-right:20px}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{padding-right:0}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn){color:#66615b;display:block;font-size:.9em;margin-bottom:3px}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):hover, .footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):focus{color:#403d39}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul.uppercase-links[_ngcontent-%COMP%]{text-transform:uppercase}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul.stacked-links[_ngcontent-%COMP%]{margin-top:10px}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul.stacked-links[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:block;line-height:26px}.footer[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul.stacked-links[_ngcontent-%COMP%]   h4[_ng
1content-%COMP%]{margin-top:0}.footer[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border-color:#ddd;border-width:1px 0 0;margin-top:5px;margin-bottom:5px}.footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{color:#a49e9e;font-size:.9em}.footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-right:0}.footer[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#403d39}.footer-black[_ngcontent-%COMP%], .footer-transparent[_ngcontent-%COMP%], .subscribe-line-transparent[_ngcontent-%COMP%]{background-color:#252422;color:#ddd}.footer-black[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn), .footer-transparent[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn), .subscribe-line-transparent[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn){color:#a49e9e}.footer-black[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):hover, .footer-black[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):focus, .footer-transparent[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):hover, .subscribe-line-transparent[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):hover, .footer-transparent[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):focus, .subscribe-line-transparent[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn):focus{color:#f1eae0}.footer-black[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%], .footer-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%], .subscribe-line-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{color:#66615b}.footer-black[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn), .footer-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn), .subscribe-line-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn){color:#66615b}.footer-black[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%], .footer-transparent[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%], .subscribe-line-transparent[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border-color:#66615b}.footer-transparent[_ngcontent-%COMP%], .subscribe-line-transparent[_ngcontent-%COMP%]{background-size:cover;position:relative}.footer-transparent[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%], .subscribe-line-transparent[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{z-index:2;position:relative}.footer-transparent[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%], .subscribe-line-transparent[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border-color:#a49e9e}.footer-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%], .subscribe-line-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{color:#a49e9e}.footer-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn), .subscribe-line-transparent[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.btn){color:#a49e9e}.footer-transparent[_ngcontent-%COMP%]:after, .subscribe-line-transparent[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#11111180;display:block;content:"";z-index:1}.footer-gray[_ngcontent-%COMP%]{background-color:#f3f2ee}.footer-big[_ngcontent-%COMP%]{padding:30px 0}.footer-big[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:20px}.footer-big[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{margin:10px 0 20px}
1.footer-big[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{margin-top:15px}.subscribe-line[_ngcontent-%COMP%]{background-color:#fffcf5;padding:35px 0;background-position:center center;background-size:cover;background-attachment:fixed;margin-top:0}.subscribe-line[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{margin:0}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{height:auto;font-size:1.825em;border:0;padding:0;font-weight:300;line-height:54px;background-color:transparent}.subscribe-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:not(.btn-lg){margin-top:7px}.subscribe-line-black[_ngcontent-%COMP%]{background-color:#252422}.subscribe-line-black[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{color:#fff}.subscribe-line-transparent[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{color:#fff}.social-line-black[_ngcontent-%COMP%]{background-color:#252422;color:#fff}.bootstrap-switch[_ngcontent-%COMP%]{display:inline-block;direction:ltr;cursor:pointer;border-radius:30px;border:0;position:relative;text-align:left;overflow:hidden;margin-bottom:5px;line-height:8px;margin-right:3px;width:61px!important;height:26px;outline:none;z-index:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-container[_ngcontent-%COMP%]{display:inline-flex;top:0;height:26px;border-radius:4px;transform:translate(0);width:100px!important}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:inline-block!important;height:100%;color:#fff;padding:6px 12px;font-size:11px;text-indent:-5px;line-height:15px;transition:.25s ease-out}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%]{text-align:center;z-index:1;float:left;width:50%!important;background-color:#66615b}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on.bootstrap-switch-primary[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off.bootstrap-switch-primary[_ngcontent-%COMP%]{color:#fff;background:#51cbce}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on.bootstrap-switch-info[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off.bootstrap-switch-info[_ngcontent-%COMP%]{color:#fff;background:#447DF7}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on.bootstrap-switch-success[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off.bootstrap-switch-success[_ngcontent-%COMP%]{color:#fff;background:#7AC29A}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on.bootstrap-switch-warning[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off.bootstrap-switch-warning[_ngcontent-%COMP%]{background:#FFA534;color:#fff}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on.bootstrap-switch-danger[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off.bootstrap-switch-danger[_ngcontent-%COMP%]{color:#fff;background:#FB404B}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on.bootstrap-switch-default[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off.bootstrap-switch-default[_ngcontent-%COMP%]{color:#fff;background:#cfcfca}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%]{text-align:center;z-index:100;color:#333;background:#ffffff;width:22px!important;height:22px;margin:2px -11px;border-radius:12px;position:relative;float:left;padding:0;background-color:#fff;box-shadow:0 1px 1px #fff inset,0 1px 1px #00000040}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%]{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%]{text-indent:6px}.bootstrap-switch[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{position:absolute!important;top:0;left:0;opacity:0;filter:alpha(opacity=0);z-index:-1}.bootstrap-switch[_ngcontent-%COMP%]   input[type=radio].form-control[_ngcontent-%COMP%], .bootstrap-switch[_ngcontent-%COMP%]   input[type=checkbox].form-control[_ngcontent-%COMP%]{height:auto}.bootstrap-switch.bootstrap-switch-mini[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-mini[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-mini[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%]{padding:1px 5px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-small[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-small[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-small[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%]{padding:5px 10px;font-size:12px;line-height:1.5}
1.bootstrap-switch.bootstrap-switch-large[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-large[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-large[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%]{padding:6px 16px;font-size:18px;line-height:1.33}.bootstrap-switch.bootstrap-switch-disabled[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-readonly[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-indeterminate[_ngcontent-%COMP%]{cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-readonly[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-indeterminate[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-disabled[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-readonly[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-indeterminate[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-disabled[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-readonly[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-indeterminate[_ngcontent-%COMP%]   .bootstrap-switch-label[_ngcontent-%COMP%]{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-animate[_ngcontent-%COMP%]   .bootstrap-switch-container[_ngcontent-%COMP%]{transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-inverse[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%]{border-radius:0 3px 3px 0}.bootstrap-switch.bootstrap-switch-inverse[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%]{border-radius:3px 0 0 3px}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]   .bootstrap-switch-container[_ngcontent-%COMP%]{margin-left:-2px!important}.bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]   .bootstrap-switch-container[_ngcontent-%COMP%]{margin-left:-37px!important}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]:hover   .bootstrap-switch-label[_ngcontent-%COMP%]{width:26px!important;margin:2px -15px}.bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]:hover   .bootstrap-switch-label[_ngcontent-%COMP%]{width:26px!important;margin:2px -15px -13px -11px}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]   .bootstrap-switch-handle-off[_ngcontent-%COMP%]{background-color:#66615b}.bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]   .bootstrap-switch-handle-on[_ngcontent-%COMP%]{background-color:#cfcfca}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]   .bootstrap-switch-danger[_ngcontent-%COMP%] ~ .bootstrap-switch-default[_ngcontent-%COMP%]{background-color:#fb404b}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]   .bootstrap-switch-warning[_ngcontent-%COMP%] ~ .bootstrap-switch-default[_ngcontent-%COMP%]{background-color:#ffa534}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]   .bootstrap-switch-success[_ngcontent-%COMP%] ~ .bootstrap-switch-default[_ngcontent-%COMP%]{background-color:#7ac29a}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]   .bootstrap-switch-primary[_ngcontent-%COMP%] ~ .bootstrap-switch-default[_ngcontent-%COMP%]{background-color:#51cbce}.bootstrap-switch.bootstrap-switch-on[_ngcontent-%COMP%]   .bootstrap-switch-info[_ngcontent-%COMP%] ~ .bootstrap-switch-default[_ngcontent-%COMP%]{background-color:#447df7}.bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]   .bootstrap-switch-danger[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]   .bootstrap-switch-primary[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]   .bootstrap-switch-info[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]   .bootstrap-switch-warning[_ngcontent-%COMP%], .bootstrap-switch.bootstrap-switch-off[_ngcontent-%COMP%]   .bootstrap-switch-success[_ngcontent-%COMP%]{background-color:#cfcfca}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border:0 none;border-radius:12px;display:block;margin-top:10px;padding:0;position:absolute;visibility:hidden;opacity:0;filter:alpha(opacity=0);box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#f1eae0;margin:0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-header[_ngcontent-%COMP%]{color:#9a9a9a;font-size:12px;padding:10px 15px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .no-notification[_ngcontent-%COMP%]{color:#9a9a9a;font-size:1.2em;padding:30px;text-align:center}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#66615b;font-size:14px;padding:10px 45px 10px 15px;clear:both;white-space:nowrap;width:100%;display:block}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{color:#fff}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:-3px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:0!important}.btn-group.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{min-width:100%}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child{border-top-left-radius:12px;border-top-right-radius:12px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{border-radius:0;border-bottom:0 none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;opacity:1;text-decoration:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#66615b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6dd3d6}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6ec7e0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#86d9ab}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#fcd27b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f7765f}.dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{margin:0!important}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{opacity:1;filter:alpha(opacity=100);visibility:visible}.navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:12px!important;right:auto}.btn-group.select.open[_ngcontent-%COMP%]{overflow:visible}.dropdown-menu-right[_ngcontent-%COMP%]{right:-2px!important;left:auto!important}@media (min-width: 768px){.navbar-form[_ngcontent-%COMP%]{margin-top:21px;margin-bottom:21px;padding-left:5px;padding-right:5px}.navbar-search-form[_ngcontent-%COMP%]{display:none}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-40px);transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(15px);visibility:visible!important}.bootstrap-select[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{box-shadow:none;transition:all .15s linear}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible!important;opacity:1;filter:alpha(opacity=100)}.dropup.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-10px);opacity:1;visibility:visible}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translateY(30px);opacity:0;visibility:hidden;display:block}.bootstrap-select[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translate(0)}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;
1left:12px;top:-11px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:before{right:12px;left:auto}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;left:12px;top:-10px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:after{right:12px;left:auto}#dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{left:15px}.navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:auto;right:12px}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-left:0}body[_ngcontent-%COMP%] > .navbar-collapse.collapse[_ngcontent-%COMP%]{display:none!important}}#navbar[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:3px 1.5rem!important}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#66615b;font-size:14px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]{line-height:28px;padding:10px 20px 5px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:20px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .action-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .action-line[_ngcontent-%COMP%]{background-color:#fffcf5;color:#66615b;opacity:1;text-decoration:none}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]{margin-bottom:1px}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding:10px 15px}.show[_ngcontent-%COMP%]   .dropdown-actions[_ngcontent-%COMP%]{margin-bottom:1px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:-15px 35px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]{padding:5px 10px;line-height:24px;font-weight:bold}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:24px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .col-sm-9[_ngcontent-%COMP%]{line-height:34px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:hover, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:active, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:focus{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%]{color:#66615b;opacity:1;text-decoration:none}.dropdown-actions[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .icon-simple[_ngcontent-%COMP%]{margin-left:-15px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-top:11px solid #DCD9D1;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-12px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-top:11px solid #FFFCF5;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-11px}.dropup[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:1px solid #F1EAE0;color:#66615b;font-size:16px;padding:10px 5px;width:330px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#66615b;white-space:normal}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{padding-left:40px;position:relative}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:block;position:absolute;top:50%;margin-top:-12px;left:7px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{font-size:.9em;line-height:.7;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{color:#9a9a9a;font-size:.7em;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .read-notification[_ngcontent-%COMP%]{font-size:12px;opacity:0;position:absolute;right:5px;top:50%;margin-top:-12px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0efeb;color:#66615b;opacity:1;text-decoration:none}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .read-notification[_ngcontent-%COMP%]{opacity:1!important}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]{background-color:#e8e7e3;border-radius:0 0 8px 8px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]{list-style:outside none none;padding:0 5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:0 10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#9c9b99;font-size:.9em;line-height:35px}.section-nucleo-icons[_ngcontent-%COMP%]{padding:100px 0}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]{position:relative;max-width:450px;height:300px;max-height:300px;margin:0 auto}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:34px;position:absolute;top:0;left:0}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(1){to
1p:5%;left:7%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(2){top:28%;left:24%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(3){top:40%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(4){top:18%;left:62%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(5){top:74%;left:3%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(6){top:36%;left:44%;font-size:65px;color:#f5593d;padding:1px}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(7){top:59%;left:26%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(8){top:60%;left:69%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(9){top:72%;left:47%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(10){top:88%;left:27%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(11){top:31%;left:80%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(12){top:88%;left:68%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(13){top:5%;left:81%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(14){top:58%;left:90%}.section-nucleo-icons[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:nth-child(15){top:6%;left:40%}.section-dark[_ngcontent-%COMP%]   .icons-container[_ngcontent-%COMP%]{color:#fff}.info[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-top:0;font-size:3.4em}.icon-primary[_ngcontent-%COMP%]{color:#51cbce}.icon-info[_ngcontent-%COMP%]{color:#51bcda}.icon-success[_ngcontent-%COMP%]{color:#6bd098}.icon-warning[_ngcontent-%COMP%]{color:#fbc658}.icon-danger[_ngcontent-%COMP%]{color:#f5593d}.icon-neutral[_ngcontent-%COMP%]{color:#fff}.nav-tabs-navigation[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid #F1EAE0}.nav-tabs-navigation[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{padding-bottom:20px}.nav-tabs-wrapper[_ngcontent-%COMP%]{display:inline-block;margin-bottom:-6px;margin-left:1.25%;margin-right:1.25%;position:relative;width:100%}.nav-tabs[_ngcontent-%COMP%]{font-size:16px;font-weight:600;border-bottom:1px solid #F1EAE0;margin-bottom:30px}.nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border:0 none;color:#a49e93;background-color:transparent}.nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#66615b}.nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#66615b}.nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{color:#66615b;position:relative}.nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:hover, .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:focus{background-color:transparent;border:0 none}.nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:after, .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:hover:after, .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:focus:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;right:40%;bottom:0px}.nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:before, .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:hover:before, .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:focus:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;right:40%;bottom:1px}.nav-tabs[_ngcontent-%COMP%]   .nav-item.show[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{background-color:transparent}.nav-tabs[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{margin-top:-6px;margin-left:-46px;border-radius:8px}.nav-tabs[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .nav-tabs[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item.active[_ngcontent-%COMP%]{color:#fff;background-color:#68b3c8}.nav-tabs[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;right:12px;top:-11px}.nav-tabs[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFCF5;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;right:12px;top:-10px}.profile-content[_ngcontent-%COMP%]   .tab-content[_ngcontent-%COMP%]   .tab-pane[_ngcontent-%COMP%]{min-height:200px}.profile-content[_ngcontent-%COMP%]   .tab-content[_ngcontent-%COMP%]   #tweets[_ngcontent-%COMP%], .profile-content[_ngcontent-%COMP%]   .tab-content[_ngcontent-%COMP%]   #connections[_ngcontent-%COMP%], .profile-content[_ngcontent-%COMP%]   .tab-content[_ngcontent-%COMP%]   #media[_ngcontent-%COMP%]{height:100%}.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%] + .nav-link[_ngcontent-%COMP%]{margin-left:0}.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border:1px solid #66615B;border-radius:0;color:#66615b;font-weight:600;margin-left:-1px;padding:10px 25px}.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, .nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:focus{background-color:#66615b;color:#fff}.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:30px 0 0 30px!important;margin:0}.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 30px 30px 0!important}.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background-color:#66615b;color:#fff}.nav-pills-primary[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border:1px solid #51cbce!important;color:#51cbce!important}.nav-pills-primary[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{border:1px solid #51cbce!important;color:#fff!important}.nav-pills-danger[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border:1px solid #f5593d!important;color:#f5593d!important}.nav-pills-danger[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{border:1px solid #f5593d!important;color:#fff!important}.nav-pills-info[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border:1px solid #51bcda!important;color:#51bcda!important}.nav-pills-info[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{border:1px solid #51bcda!important;color:#fff!important}.nav-pills-success[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border:1px solid #6bd098
1!important;color:#6bd098!important}.nav-pills-success[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{border:1px solid #6bd098!important;color:#fff!important}.nav-pills-warning[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border:1px solid #fbc658!important;color:#fbc658!important}.nav-pills-warning[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{border:1px solid #fbc658!important;color:#fff!important}.pagination[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%], .pagination[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .pagination[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:first-child > .page-link[_ngcontent-%COMP%], .pagination[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:first-child > span[_ngcontent-%COMP%], .pagination[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:last-child > .page-link[_ngcontent-%COMP%], .pagination[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:last-child > span[_ngcontent-%COMP%]{background-color:transparent;border:2px solid #f5593d;border-radius:20px;color:#f5593d;height:36px;margin:0 2px;min-width:36px;font-weight:600}.nav-pills-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:first-child > .page-link[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:first-child > span[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:last-child > .page-link[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%]:last-child > span[_ngcontent-%COMP%]{border:2px solid #f5593d;color:#f5593d}.nav-pills-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%], .nav-pills-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%]:hover, .nav-pills-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%]:focus, .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%]:hover, .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%]:focus, .pagination-danger[_ngcontent-%COMP%] > .page-item[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%]:active, .pagination-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .pagination-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%]:hover, .pagination-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:hover, .pagination-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > .page-link[_ngcontent-%COMP%]:focus, .pagination-danger[_ngcontent-%COMP%] > .page-item.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:focus{background-color:#f5593d!important;border-color:#f5593d!important;color:#fff}.nav-text[_ngcontent-%COMP%], .nav-icons[_ngcontent-%COMP%]{margin:0 0 10px}.nav-text[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .nav-icons[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:block;padding:0 18px;color:#9a9a9a;text-align:center;opacity:.8;filter:alpha(opacity=80)}.nav-text[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .nav-text[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .nav-icons[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .nav-icons[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{background-color:transparent;opacity:1;filter:alpha(opacity=100)}.nav-text[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .nav-icons[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{padding-left:0}.nav-text[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .nav-icons[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#51bcda}.nav-icons[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block}.nav-icons[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:0 10px;margin-bottom:10px}.nav-icons[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.6em;margin-bottom:10px;width:1.6em}.nav-icons.nav-stacked[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:block}.nav-icons.nav-stacked[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{margin-bottom:20px}.nav-blue[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#51cbce}
1.nav-azure[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#51bcda}.nav-green[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#6bd098}.nav-orange[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fbc658}.nav-red[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#f5593d}.nav-text[_ngcontent-%COMP%]{margin:0 0 10px}.nav-text[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{font-size:.9em;text-transform:uppercase;padding:3px 0;text-align:left;font-weight:500}.nav-text[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding-top:0}.nav-text[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:0}.nav-text[_ngcontent-%COMP%]:not(.nav-stacked) > li[_ngcontent-%COMP%]{display:inline-block}.nav-text[_ngcontent-%COMP%]:not(.nav-stacked) > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{margin-right:15px}.page-item[_ngcontent-%COMP%]:first-child   .page-link[_ngcontent-%COMP%], .page-item[_ngcontent-%COMP%]:last-child   .page-link[_ngcontent-%COMP%]{border-radius:20px}.nav-pills-default[_ngcontent-%COMP%]   .nav-item.show[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .nav-pills-default[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background-color:#66615b!important}.nav-pills-primary[_ngcontent-%COMP%]   .nav-item.show[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .nav-pills-primary[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background-color:#51cbce!important}.nav-pills-info[_ngcontent-%COMP%]   .nav-item.show[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .nav-pills-info[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background-color:#51bcda!important}.nav-pills-warning[_ngcontent-%COMP%]   .nav-item.show[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .nav-pills-warning[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background-color:#fbc658!important}.nav-pills-success[_ngcontent-%COMP%]   .nav-item.show[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .nav-pills-success[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background-color:#6bd098!important}.nav-pills-danger[_ngcontent-%COMP%]   .nav-item.show[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .nav-pills-danger[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background-color:#f5593d!important}.pagination[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .pagination[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .pagination[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active, .pagination[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .pagination[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .pagination[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .pagination[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:hover, .pagination[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .pagination[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:focus{background-color:#f5593d;border-color:#f5593d;color:#fff}.page-item.active[_ngcontent-%COMP%]   .page-link[_ngcontent-%COMP%]{background-color:#f5593d;color:#fff;border-color:#f5593d}.nav-pills[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border-radius:0}.pagination[_ngcontent-%COMP%]{display:inline-block}.pagination[_ngcontent-%COMP%]   .page-item[_ngcontent-%COMP%]{display:inline-block}.panel[_ngcontent-%COMP%]{border:0;border-bottom:1px solid #DDDDDD;box-shadow:none}.panel-default[_ngcontent-%COMP%] > .panel-heading[_ngcontent-%COMP%]{background-color:#fff;border-color:#fff}.panel-group[_ngcontent-%COMP%]   .panel[_ngcontent-%COMP%]{border-radius:0}.panel-title[_ngcontent-%COMP%]{font-size:1.35em}.panel-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;padding:.75rem}.panel-title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{float:right;padding-top:5px}.panel-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .panel-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{text-decoration:none}.gsdk-collapse[_ngcontent-%COMP%]{display:block;height:0px;visibility:visible;overflow:hidden}#accordion[_ngcontent-%COMP%]   .panel-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, #accordion[_ngcontent-%COMP%]   .panel-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#f5593d}#accordion[_ngcontent-%COMP%]   .card-header[_ngcontent-%COMP%]{background-color:#fff}.card-collapse[_ngcontent-%COMP%]{padding:0!important}.panel-title[_ngcontent-%COMP%]   a[aria-expanded=true][_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{transform:rotate(180deg);transition:all .3s linear}.carousel-control-prev[_ngcontent-%COMP%], .carousel-control-next[_ngcontent-%COMP%]{background-color:#f5593d;border-radius:50%;opacity:1;text-shadow:none;font-size:12px}.carousel-control-prev[_ngcontent-%COMP%]:hover, .carousel-control-prev[_ngcontent-%COMP%]:focus, .carousel-control-next[_ngcontent-%COMP%]:hover, .carousel-control-next[_ngcontent-%COMP%]:focus{opacity:1;background-color:#f33816}.carousel-control-prev-icon[_ngcontent-%COMP%]{background-image:none!important;margin-top:-5px}.carousel-control-prev-icon[_ngcontent-%COMP%]:before{color:#fff;font-size:26px;margin:2px;padding-right:3px;font:normal normal normal 23px/1 FontAwesome!important;content:"\\f104"!important}.carousel-control-next-icon[_ngcontent-%COMP%]{background-image:none!important;margin-top:-5px}.carousel-control-next-icon[_ngcontent-%COMP%]:before{color:#fff;font-size:26px;margin:2px;padding-left:2px;font:normal normal normal 23px/1 FontAwesome!important;content:"\\f105"!important}.carousel-control-prev[_ngcontent-%COMP%]{height:30px;top:48%;width:30px;left:20px;opacity:0}
1.carousel-control-next[_ngcontent-%COMP%]{height:30px;right:20px;top:48%;width:30px;opacity:0}.carousel-control[_ngcontent-%COMP%]   .icon-prev[_ngcontent-%COMP%], .carousel-control[_ngcontent-%COMP%]   .icon-next[_ngcontent-%COMP%], .carousel-control[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%], .carousel-control[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{display:inline-block;z-index:5}.carousel-control-prev[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{font-size:26px;margin:2px;padding-right:3px}.carousel-control-next[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{font-size:26px;margin:2px;padding-left:3px}.carousel-control-prev[_ngcontent-%COMP%], .carousel-control-next[_ngcontent-%COMP%]{background-image:none}.page-carousel[_ngcontent-%COMP%]{border-radius:12px!important;border:none!important}.carousel-inner[_ngcontent-%COMP%]   .carousel-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:12px;box-shadow:0 2px 2px #ccc5b980;height:400px;width:100%}.carousel-indicators[_ngcontent-%COMP%]{bottom:0px}.carousel-indicators[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{background-color:#fff;border:0 none}.carousel-indicators[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{background-color:#f5593d}.page-carousel[_ngcontent-%COMP%]:hover   .carousel-control-prev[_ngcontent-%COMP%], .page-carousel[_ngcontent-%COMP%]:hover   .carousel-control-next[_ngcontent-%COMP%]{opacity:1;transition:all .3s linear}ngb-carousel[_ngcontent-%COMP%]:focus{outline:none!important}.modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #DDDDDD;padding:20px;text-align:center;display:block!important}.modal-header.no-border-header[_ngcontent-%COMP%]{border-bottom:0 none!important}.modal-header.no-border-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-top:20px}.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{color:#333}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{margin-top:-45px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:focus{outline:none}.modal-content[_ngcontent-%COMP%]{border:0 none;border-radius:10px;box-shadow:0 0 15px #00000026,0 0 1px 1px #0000001a}.modal-content[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:10px}.modal-dialog[_ngcontent-%COMP%]{padding-top:60px}.modal-body[_ngcontent-%COMP%]{padding:20px 50px;color:#000}.modal-footer[_ngcontent-%COMP%]{border-top:1px solid #DDDDDD;padding:0}.modal-footer.no-border-footer[_ngcontent-%COMP%]{border-top:0 none}.modal-footer[_ngcontent-%COMP%]   .left-side[_ngcontent-%COMP%], .modal
1-footer[_ngcontent-%COMP%]   .right-side[_ngcontent-%COMP%]{display:inline-block;text-align:center;width:48%}.modal-footer[_ngcontent-%COMP%]   .btn-link[_ngcontent-%COMP%]{padding:20px;width:100%}.modal-footer[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#ddd;display:inline-block;float:inherit;height:63px;margin:0 -3px;width:1px}.modal.fade[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{transform:none;-webkit-transform:none;-moz-transform:none}.modal.in[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{transform:none;-webkit-transform:none;-moz-transform:none}.modal-backdrop.in[_ngcontent-%COMP%]{opacity:.25}.modal-register[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]{text-align:center;margin-bottom:25px;padding:20px 0 15px}.modal-register[_ngcontent-%COMP%]   .modal-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:100%}.modal-header[_ngcontent-%COMP%]:after{display:table;content:" "}.modal-header[_ngcontent-%COMP%]:before{display:table;content:" "}@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}ngb-datepicker[_ngcontent-%COMP%]{border:0 none!important;border-radius:12px!important;display:block!important;margin-top:10px!important;padding:0!important;position:absolute!important;box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}ngb-datepicker[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]:focus{outline:none!important}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-header[_ngcontent-%COMP%]{border-bottom:none!important;background-color:#fff!important}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-header[_ngcontent-%COMP%]   ngb-datepicker-navigation[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:1px;text-align:center;z-index:1;line-height:31px}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-header[_ngcontent-%COMP%]   ngb-datepicker-navigation[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .ngb-dp-navigation-chevron[_ngcontent-%COMP%]{height:unset!important;width:unset!important;font-size:12px;margin-left:.15rem;border-radius:50%;text-align:center;border-width:0px;transform:none!important}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-header[_ngcontent-%COMP%]   ngb-datepicker-navigation[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .ngb-dp-navigation-chevron[_ngcontent-%COMP%]:before{content:"\\f053"!important;border:none!important;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:anitialised;transform:none!important;color:#000}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-header[_ngcontent-%COMP%]   ngb-datepicker-navigation[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .ngb-dp-navigation-chevron[_ngcontent-%COMP%]:before{content:"\\f054"!important}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-header[_ngcontent-%COMP%]   n
1gb-datepicker-navigation[_ngcontent-%COMP%]   ngb-datepicker-navigation-select[_ngcontent-%COMP%]   .custom-select[_ngcontent-%COMP%]{border:none!important;background:transparent!important;-webkit-appearance:menulist!important}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-month[_ngcontent-%COMP%]   ngb-datepicker-month[_ngcontent-%COMP%]   .ngb-dp-week[_ngcontent-%COMP%]   .ngb-dp-weekday[_ngcontent-%COMP%]{border-bottom:1px solid #E3E3E3;font-size:12px;text-transform:uppercase;color:#9a9a9a!important;font-weight:400;padding-top:0;font-style:normal!important}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-month[_ngcontent-%COMP%]   ngb-datepicker-month[_ngcontent-%COMP%]   .ngb-dp-week[_ngcontent-%COMP%]   .ngb-dp-day[_ngcontent-%COMP%]{padding:1px;text-align:center;z-index:1;cursor:pointer;-webkit-font-smoothing:antialiased;font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:300}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-month[_ngcontent-%COMP%]   ngb-datepicker-month[_ngcontent-%COMP%]   .ngb-dp-week[_ngcontent-%COMP%]   .ngb-dp-day[_ngcontent-%COMP%]   .btn-light[_ngcontent-%COMP%]{border-radius:50%!important}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-month[_ngcontent-%COMP%]   ngb-datepicker-month[_ngcontent-%COMP%]   .ngb-dp-week[_ngcontent-%COMP%]   .ngb-dp-day[_ngcontent-%COMP%]   .btn-light[_ngcontent-%COMP%]:hover{transition:all .15s linear}ngb-datepicker[_ngcontent-%COMP%]   .ngb-dp-month[_ngcontent-%COMP%]   ngb-datepicker-month[_ngcontent-%COMP%]   .ngb-dp-week[_ngcontent-%COMP%]   .ngb-dp-day[_ngcontent-%COMP%]   div[ng-reflect-selected=true][_ngcontent-%COMP%]{background-color:#51cbce!important}ngb-datepicker[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;left:12px;right:auto;top:-12px}ngb-datepicker[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;left:12px;right:auto;top:-11px}.btn-twitter[_ngcontent-%COMP%]{color:#55acee!important}.btn-twitter[_ngcontent-%COMP%]:hover, .btn-twitter[_ngcontent-%COMP%]:focus, .btn-twitter[_ngcontent-%COMP%]:active{color:#55acee!important}.btn-facebook[_ngcontent-%COMP%]{color:#3b5998!important}.btn-facebook[_ngcontent-%COMP%]:hover, .btn-facebook[_ngcontent-%COMP%]:focus, .btn-facebook[_ngcontent-%COMP%]:active{color:#3b5998!important}.btn-google[_ngcontent-%COMP%]{color:#dd4b39!important}.btn-google[_ngcontent-%COMP%]:hover, .btn-google[_ngcontent-%COMP%]:focus, .btn-google[_ngcontent-%COMP%]:active{color:#dd4b39!important}.btn-linkedin[_ngcontent-%COMP%]{color:#0976b4!important}.btn-linkedin[_ngcontent-%COMP%]:hover, .btn-linkedin[_ngcontent-%COMP%]:focus, .btn-linkedin[_ngcontent-%COMP%]:active{color:#0976b4!important}.btn-twitter-bg[_ngcontent-%COMP%]{background-color:#55acee!important;border-color:#55acee!important}.btn-twitter-bg[_ngcontent-%COMP%]:hover{background-color:#3ea1ec!important;border-color:#3ea1ec!important}.btn-facebook-bg[_ngcontent-%COMP%]{background-color:#3b5998!important;border-color:#3b5998!important}.btn-facebook-bg[_ngcontent-%COMP%]:hover{background-color:#344e86!important;border-color:#344e86!important}.btn-google-bg[_ngcontent-%COMP%]{background-color:#dd4b39!important;border-color:#dd4b39!important}.btn-google-bg[_ngcontent-%COMP%]:hover{background-color:#d73925!important;border-color:#d73925!important}.btn-github-bg[_ngcontent-%COMP%]{background-color:#767676!important;border-color:#767676!important}.btn-github-bg[_ngcontent-%COMP%]:hover{background-color:#696969!important;border-color:#696969!important}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-color:#b2afab;background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{background-color:#00000080;content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.img-rounded[_ngcontent-%COMP%]{border-radius:12px;transition:opacity .5s ease 0s;max-width:100%}.img-details[_ngcontent-%COMP%]{min-height:50px;padding:0 4px .5em}.img-details[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50px}.img-details[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{margin-left:10px;margin-top:-21px;width:40px}
1.img-circle[_ngcontent-%COMP%]{background-color:#fff;margin-bottom:10px;padding:4px;border-radius:50%!important;max-width:100%}.img-thumbnail[_ngcontent-%COMP%]{border:0 none;border-radius:12px;box-shadow:0 1px 2px #a49e9399;margin-bottom:10px}.img-no-padding[_ngcontent-%COMP%]{padding:0}.example-page[_ngcontent-%COMP%]   .img-rounded[_ngcontent-%COMP%]{margin:50px 0 20px}.img-shadow[_ngcontent-%COMP%]{box-shadow:0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f,0 5px 5px -3px #0003}.images-title[_ngcontent-%COMP%]{margin-bottom:20px;height:50px}.nav-link[_ngcontent-%COMP%]   .profile-photo-small[_ngcontent-%COMP%]{width:40px;height:30px;margin:-10px 0 0 -15px}.profile-picture[_ngcontent-%COMP%]{margin:0 auto}.profile-picture[_ngcontent-%COMP%]   .fileinput-new[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:150px;height:150px;border-radius:50%;margin-bottom:10px}.profile-picture[_ngcontent-%COMP%]   .fileinput-exists[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:150px;max-height:150px;border-radius:50%;margin-bottom:10px}.container[_ngcontent-%COMP%]{max-width:1400px}.ldc-section-box[_ngcontent-%COMP%]{padding:30px;margin-left:1px}.ldc-map-section[_ngcontent-%COMP%]{padding-top:19px}.ldc-banner-inset-image[_ngcontent-%COMP%]{border-radius:20px;padding:20px;margin-bottom:10px}#ldc-map-screenshot[_ngcontent-%COMP%]{padding:0 0 30px!important}.img-rounded[_ngcontent-%COMP%]{border:1px solid!important}.title[_ngcontent-%COMP%]{color:#000;font-weight:300;font-size:50px}.ldc-usda-ars-logo[_ngcontent-%COMP%], .ldc-blm-logo[_ngcontent-%COMP%], .ldc-nrcs-logo[_ngcontent-%COMP%], .ldc-nwern-logo[_ngcontent-%COMP%], .ldc-ltar-logo[_ngcontent-%COMP%], .ldc-lter-logo[_ngcontent-%COMP%], .ldc-usgs-logo[_ngcontent-%COMP%], .ldc-nps-logo[_ngcontent-%COMP%], .ldc-nmsu-logo[_ngcontent-%COMP%]{height:100px;margin:10px 0}.ldc-jornada-logo[_ngcontent-%COMP%]{height:120px;margin:10px 0}.ldc-nrcs-logo[_ngcontent-%COMP%]{height:120px;margin:10px 0}@media only screen and (max-width: 767px){.partners-section[_ngcontent-%COMP%]{max-height:400px;overflow:auto}h1[_ngcontent-%COMP%]{font-size:45px!important}.partners-title[_ngcontent-%COMP%]{margin-bottom:-30px}.img-thumbnail[_ngcontent-%COMP%]{height:150px!important}.ldc-jornada-img-thumbnail[_ngcontent-%COMP%]{margin-top:-52px!important}.ldc-nmsu-img-thumbnail[_ngcontent-%COMP%]{margin-top:-52px!important}.ldc-usda-ars-logo[_ngcontent-%COMP%]{margin-top:20px;height:110px!important}.ldc-blm-logo[_ngcontent-%COMP%]{margin-top:17px;height:110px!important}.ldc-nrcs-logo[_ngcontent-%COMP%]{margin-top:30px;height:90px!important}.ldc-nwern-logo[_ngcontent-%COMP%]{margin-top:40px;height:80px!important}.ldc-ltar-logo[_ngcontent-%COMP%]{margin:30px 0 0 5px;height:75px!important}.ldc-lter-logo[_ngcontent-%COMP%]{margin-top:20px;height:100px!important}.ldc-usgs-logo[_ngcontent-%COMP%]{margin-top:23px;height:100px!important}.ldc-nps-logo[_ngcontent-%COMP%]{margin-top:15px;height:115px!important}.ldc-nmsu-logo[_ngcontent-%COMP%]{margin-top:15px;height:115px!important}.ldc-jornada-logo[_ngcontent-%COMP%]{height:120px;margin:10px 0}}@media only screen and (min-width: 768px) and (max-width: 1999px){.img-thumbnail[_ngcontent-%COMP%]{height:150px!important}.ldc-usda-img-thumbnail[_ngcontent-%COMP%]{margin-top:-60px}.ldc-jornada-img-thumbnail[_ngcontent-%COMP%]{margin-top:-60px}.ldc-usda-ars-logo[_ngcontent-%COMP%]{margin:40px 0 0 6px;height:60px!important}.ldc-blm-logo[_ngcontent-%COMP%]{margin-top:28px;height:90px!important}.ldc-nrcs-logo[_ngcontent-%COMP%]{margin-top:45px;height:50px!important}.ldc-nwern-logo[_ngcontent-%COMP%]{margin-top:56px;height:35px!important}.ldc-ltar-logo[_ngcontent-%COMP%]{margin:36px 0 0 5px;height:60px!important}.ldc-lter-logo[_ngcontent-%COMP%]{margin-top:25px;height:90px!important}.ldc-usgs-logo[_ngcontent-%COMP%]{margin-top:40px;height:65px!important}.ldc-nps-logo[_ngcontent-%COMP%]{margin-top:17px;height:110px!important}.ldc-nmsu-logo[_ngcontent-%COMP%]{margin-top:17px;height:110px!important}.ldc-jornada-logo[_ngcontent-%COMP%]{margin:20px 0 10px;height:95px}}@media only screen and (min-width: 1200px){.img-thumbnail[_ngcontent-%COMP%]{height:150px!important}.ldc-usda-img-thumbnail[_ngcontent-%COMP%]{margin-top:-60px}.ldc-jornada-img-thumbnail[_ngcontent-%COMP%]{margin-top:-60px}
1.ldc-usda-ars-logo[_ngcontent-%COMP%]{margin:30px 0 0 6px;height:90px!important}.ldc-blm-logo[_ngcontent-%COMP%]{margin-top:17px;height:110px!important}.ldc-nrcs-logo[_ngcontent-%COMP%]{margin-top:30px;height:80px!important}.ldc-nwern-logo[_ngcontent-%COMP%]{margin-top:45px;height:60px!important}.ldc-ltar-logo[_ngcontent-%COMP%]{margin:25px 0 0 5px;height:85px!important}.ldc-lter-logo[_ngcontent-%COMP%]{margin-top:25px;height:90px!important}.ldc-usgs-logo[_ngcontent-%COMP%]{margin-top:33px;height:80px!important}.ldc-nps-logo[_ngcontent-%COMP%]{margin-top:12px;height:120px!important}.ldc-nmsu-logo[_ngcontent-%COMP%]{margin-top:12px;height:120px!important}.ldc-jornada-logo[_ngcontent-%COMP%]{margin:15px 0 10px;height:110px}}']}),t}(),jf=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-home-page"]],decls:2,vars:0,template:function(t,e){1&t&&(r._UZ(0,"app-single-page-header"),r._UZ(1,"app-single-page-main-content"))},directives:[Nf,Vf],styles:[""]}),t}(),zf=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-disclaimer"]],decls:9,vars:0,consts:[["data-parallax","true",1,"page-header",2,"background-image","url('./assets/img/cmf/new-ldc-banner.jpg')"],[1,"filter"],[1,"container"],[1,"motto","ldc-top-banner"],[1,"overview"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r._UZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"h1"),r._uU(5,"Disclaimer"),r.qZA(),r.TgZ(6,"p",4),r._uU(7," The Landscape Data Commons is freely available for use by the public. The USDA Agricultural Research Service (ARS) and the U.S. Government have not placed any restriction on its use or reproduction of its contents. Although all reasonable efforts have been taken to ensure the accuracy and reliability of the software and data, the ARS and the U.S. Government do not and cannot warrant the performance or results that may be obtained by their use. The ARS and the U.S. Government disclaim all warranties, expressed or implied, including warranties of performance, merchantability or fitness for any particular purpose. "),r.qZA(),r._UZ(8,"br"),r.qZA(),r.qZA(),r.qZA())},styles:['@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse.in[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapsing[_ngcontent-%COMP%]{display:none!important}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}
1.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0;padding:0}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border:0 none;border-radius:12px;display:block;margin-top:10px;padding:0;position:absolute;visibility:hidden;opacity:0;filter:alpha(opacity=0);box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#f1eae0;margin:0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-header[_ngcontent-%COMP%]{color:#9a9a9a;font-size:12px;padding:10px 15px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .no-notification[_ngcontent-%COMP%]{color:#9a9a9a;font-size:1.2em;padding:30px;text-align:center}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#66615b;font-size:14px;padding:10px 45px 10px 15px;clear:both;white-space:nowrap;width:100%;display:block}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{color:#fff}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:-3px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:0!important}.btn-group.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{min-width:100%}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%CO
1MP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child{border-top-left-radius:12px;border-top-right-radius:12px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{border-radius:0;border-bottom:0 none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;opacity:1;text-decoration:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#66615b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6dd3d6}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6ec7e0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#86d9ab}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#fcd27b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f7765f}.dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{margin:0!important}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{opacity:1;filter:alpha(opacity=100);visibility:visible}.navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:12px!important;right:auto}.btn-group.select.open[_ngcontent-%COMP%]{overflow:visible}.dropdown-menu-right[_ngcontent-%COMP%]{right:-2px!important;left:auto!important}@media (min-width: 768px){.navbar-form[_ngcontent-%COMP%]{margin-top:21px;margin-bottom:21px;padding-left:5px;padding-right:5px}.navbar-search-form[_ngcontent-%COMP%]{display:none}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-40px);transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(15px);visibility:visible!important}.bootstrap-select[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{box-shadow:none;transition:all .15s linear}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible!important;opacity:1;filter:alpha(opacity=100)}.dropup.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-10px);opacity:1;visibility:visible}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translateY(30px);opacity:0;visibility:hidden;display:block}.bootstrap-select[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translate(0)}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;
1left:12px;top:-11px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:before{right:12px;left:auto}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;left:12px;top:-10px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:after{right:12px;left:auto}#dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{left:15px}.navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:auto;right:12px}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-left:0}body[_ngcontent-%COMP%] > .navbar-collapse.collapse[_ngcontent-%COMP%]{display:none!important}}#navbar[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:3px 1.5rem!important}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#66615b;font-size:14px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]{line-height:28px;padding:10px 20px 5px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:20px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .action-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .action-line[_ngcontent-%COMP%]{background-color:#fffcf5;color:#66615b;opacity:1;text-decoration:none}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]{margin-bottom:1px}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding:10px 15px}.show[_ngcontent-%COMP%]   .dropdown-actions[_ngcontent-%COMP%]{margin-bottom:1px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:-15px 35px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]{padding:5px 10px;line-height:24px;font-weight:bold}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:24px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .col-sm-9[_ngcontent-%COMP%]{line-height:34px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:hover, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:active, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:focus{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%]{color:#66615b;opacity:1;text-decoration:none}.dropdown-actions[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .icon-simple[_ngcontent-%COMP%]{margin-left:-15px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-top:11px solid #DCD9D1;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-12px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-top:11px solid #FFFCF5;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-11px}.dropup[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:1px solid #F1EAE0;color:#66615b;font-size:16px;padding:10px 5px;width:330px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#66615b;white-space:normal}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{padding-left:40px;position:relative}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:block;position:absolute;top:50%;margin-top:-12px;left:7px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{font-size:.9em;line-height:.7;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{color:#9a9a9a;font-size:.7em;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .read-notification[_ngcontent-%COMP%]{font-size:12px;opacity:0;position:absolute;right:5px;top:50%;margin-top:-12px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0efeb;color:#66615b;opacity:1;text-decoration:none}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .read-notification[_ngcontent-%COMP%]{opacity:1!important}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]{background-color:#e8e7e3;border-radius:0 0 8px 8px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]{list-style:outside none none;padding:0 5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:0 10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#9c9b99;font-size:.9em;line-height:35px}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.motto[_ngcontent-%COMP%]{padding-top:25px;margin-bottom:5px!important;border-radius:30px!important;background-color:#0000004d}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.h1[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:400;font-size:64px;text-shadow:0 1px 3px rgba(0,0,0,.45)}p.overview[_ngcontent-%COMP%]{margin:2em 0 0;padding:0;font-size:1.5em;font-weight:400;text-align:left;text-shadow:0 1px 4px rgba(0,0,0,.55)}.container[_ngcontent-%COMP%]{max-width:1400px}.page-header[_ngcontent-%COMP%]{min-height:max(100vh,807px);background-size:auto 123%;background-position:center top;background-color:#8fb3d6;align-items:flex-start!important}.motto[_ngcontent-%COMP%]{background-color:transparent!important;border-radius:0!important}@media only screen and (max-width: 767px){h1[_ngcontent-%COMP%]{font-size:45px!important}.overview[_ngcontent-%COMP%]{font-size:20px!important;text-align:left}.ldc-top-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 2cm)}}@media (-webkit-min-device-pixel-ratio: 1.3125),(min-resolution: 126dpi){.page-header[_ngcontent-%COMP%]{max-height:1200px}}@media (-webkit-max-device-pixel-ratio: 1.3020833333333333),(max-resolution: 125dpi){.page-header[_ngcontent-%COMP%]{max-height:1150px}}.ldc-top-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 3cm);margin-top:0!important;text-align:left;padding-left:2em;padding-right:2em}']}),t}();function qf(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",11),r.TgZ(1,"a",12),r.NdJ("click",function(){var t=r.CHM(n).$implicit;return r.oxw(2).trackLinkClick(t.title,t.weblink)}),r.TgZ(2,"span",13),r._UZ(3,"img",14),r.qZA(),r.qZA(),r.TgZ(4,"a",15),r.NdJ("click",function(){var t=r.CHM(n).$implicit;return r.oxw(2).trackLinkClick(t.title,t.weblink)}),r._uU(5),r.qZA(),r.TgZ(6,"p",16),r._uU(7),r.qZA(),r.qZA()}if(2&t){var i=e.$implicit;
1r.xp6(1),r.Q6J("href",i.weblink,r.LSH),r.xp6(1),r.ekj("tools-tile-img-wrap--icon",i.icon),r.xp6(1),r.Q6J("src","./assets/img/ldc/"+i.image,r.LSH)("alt",i.title),r.xp6(1),r.Q6J("href",i.weblink,r.LSH),r.xp6(1),r.Oqu(i.title),r.xp6(2),r.Oqu(i.description)}}function Bf(t,e){if(1&t&&(r.TgZ(0,"div",7),r.TgZ(1,"h2",8),r._uU(2),r.qZA(),r.TgZ(3,"div",9),r.YNc(4,qf,8,8,"div",10),r.qZA(),r.qZA()),2&t){var n=e.$implicit;r.xp6(2),r.Oqu(n.name),r.xp6(2),r.Q6J("ngForOf",n.tools)}}var Yf=function(){var t=function(){function t(){_classCallCheck(this,t),this.toolSections=[{name:"Data",tools:[{title:"Landscape Data Commons API",description:"A standardized, RESTful interface that enables users to programmatically access rangeland monitoring data and metadata from the Landscape Data Commons platform.",weblink:"https://api.landscapedatacommons.org/docs",image:"api.png",icon:!0},{title:"trex R package",description:"This R package contains functions to assist with retrieving data from the Landscape Data Commons API by constructing the relevant API calls and downloading the data for the user.",weblink:"https://github.com/Landscape-Data-Commons/trex",image:"trex.png",icon:!0},{title:"terradactyl R package",description:"This R package can be used to gather core rangeland monitoring data into a standard format, calculate standardized indicators, custom indicators, and produce consistent data models.",weblink:"https://github.com/Landscape-Data-Commons/terradactyl",image:"terradactyl.png",icon:!0},{title:"Rangeland Indicator Calculator",description:"This application calculates environmental indicators from monitoring data collected following methods in the Monitoring Manual for Grassland, Shrubland, and Savannah Ecosystems using the R package terradactyl.",weblink:"https://jornada-data.shinyapps.io/rangeland-indicator-calculator/",image:"rangeland-indicator-calculator.png"}]},{name:"Analysis",tools:[{title:"Environmental Indicator Summary Tool (EIST)",description:"Application website for querying, graphing, and generating reports on wind erosion risk factors and other land health and biodiversity indicators from the Landscape Data Commons.",weblink:"https://eist.landscapedatacommons.org",image:"environmental-indicator-summary-tool.png"},{title:"Benchmark Exploration Tool",description:"Enables users to view the distribution of values for ecological indicators to help determine value ranges for categorical benchmarks or to see the consequences of applying categorical targets or benchmarks. Users can select data from the Landscape Data Commons, including modelled wind erosion and dust emission indicators, or upload their own data for visualization.",weblink:"https://jornada-data.shinyapps.io/benchmark-exploration-tool/",image:"benchmark-exploration-tool.png"}]},{name:"Monitoring",tools:[{title:"The Landscape Toolbox",description:"Organizes tools and methods for effective land health monitoring. It includes links to monitoring methods and manuals, training resources, monitoring design, and monitoring tools and databases.",weblink:"https://landscapetoolbox.org/",image:"landscape-toolbox.png"},{title:"Balanced Design Tool",description:"Enables users to draw spatially-balanced, statistically valid sampling designs within a specified area, with or without stratification.",weblink:"https://jornada-data.shinyapps.io/balanced-design-tool/",image:"balanced-design-tool.png"}]},{name:"Partner Tools",tools:[{title:"Rangeland Analysis Platform",description:"Combines satellite imagery with thousands of on-the-ground vegetation measurements to map vegetation and production across the United States at 30 m and 10 m spatial resolutions.",weblink:"https://rangelands.app",image:"rangeland-analysis-platform.png",icon:!0},{title:"SSURGO-Query Tool",description:"This query tool allows users to choose desired soil characteristics from current SSURGO and 30m gSSURGO data based on the most useful soil characteristics that influence vegetation and water dynamics needed for grazing land analysis.",weblink:"https://ssurgoqt.com/",image:"ssurgo-query-tool.png"},{title:"LandPKS",description:"The Land Potential Knowledge System (LandPKS) supports farmers, ranchers, gardeners, land-use planners, and other natural resource managers with open-source tools that allow them to easily access land potential knowledge and information, and collect, share, and interpret their own soil, vegetation cover, and management data.",weblink:"https://landpotential.org/",image:"landpks-logo.png",icon:!0},{title:"RHEM",description:"The RHEM Web Tool is a web-based interface for the Rangeland Hydrology and Erosion Model (RHEM). The interface allows users to predict risk of soil erosion by water with commonly known rangeland characteristics and use parameter estimation equations to construct model input files and run the RHEM model.",weblink:"https://dss.tucson.ars.ag.gov/rhem/",image:"rhem-web-tool-logo.png",icon:!0},{title:"Wind Erosion and Dust Mitigation Toolbox",description:"The Wind Erosion and Dust Mitigation Toolbox is a catalogue of monitoring and decision-support tools that can be used to inform wind erosion, sand encroachment, and sand and dust storm source mitigation. The toolbox emphasizes understanding land potential as a basis for prioritizing mitigation and assessing mitigation outcomes.",weblink:"https://toolbox.winderosionnetwork.org",image:"wind-erosion-toolbox.png"}]}]}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"trackLinkClick",value:function(t,e){"undefined"!=typeof gtag?gtag("event","select_tool",{event_category:"engagement",event_label:t,destination_url:e,transport_type:"beacon"}):console.warn("Google Analytics (gtag) is not defined.")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-tools-page"]],decls:15,vars:1,consts:[[1,"ldc-banner",2,"background-image","url('./assets/img/cmf/new-ldc-banner.jpg')"],[1,"container"],[1,"ldc-banner-content"],[1,"ldc-banner-intro"],[1,"ldc-tools-section"],[1,"tools-sections"],["class","tools-section",4,"ngFor","ngForOf"],[1,"tools-section"],[1,"tools-section-heading"],[1,"tools-grid"],["class","tools-tile",4,"ngFor","ngForOf"],[1,"tools-tile"],["target","_blank","rel","noopener noreferrer",3,"href","click"],[1,"tools-tile-img-wrap"],[1,"tools-tile-img",3,"src","alt"],["target","_blank","rel","noopener noreferrer",1,"tech-links","tools-tile-title",3,"href","click"],[1,"tools-tile-desc"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"h1"),r._uU(4,"Tools"),r.qZA(),r.TgZ(5,"p",3),r._uU(6,"Design, access, and use standardized monitoring data."),r._UZ(7,"br"),r._uU(8,"Many of these tools can be applied to any standardized monitoring data compatible with the Landscape Data"),r._UZ(9,"br"),r._uU(10,"Commons."),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(11,"div",4),r.TgZ(12,"div",1),r.TgZ(13,"div",5),r.YNc(14,Bf,5,2,"div",6),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(14),r.Q6J("ngForOf",e.toolSections))},directives:[ft],styles:['@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse.in[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapsing[_ngcontent-%COMP%]{display:none!important}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}
1.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0;padding:0}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border:0 none;border-radius:12px;display:block;margin-top:10px;padding:0;position:absolute;visibility:hidden;opacity:0;filter:alpha(opacity=0);box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#f1eae0;margin:0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-header[_ngcontent-%COMP%]{color:#9a9a9a;font-size:12px;padding:10px 15px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .no-notification[_ngcontent-%COMP%]{color:#9a9a9a;font-size:1.2em;padding:30px;text-align:center}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#66615b;font-size:14px;padding:10px 45px 10px 15px;clear:both;white-space:nowrap;width:100%;display:block}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{color:#fff}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:-3px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:0!important}.btn-group.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{min-width:100%}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%CO
1MP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child{border-top-left-radius:12px;border-top-right-radius:12px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{border-radius:0;border-bottom:0 none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;opacity:1;text-decoration:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#66615b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6dd3d6}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6ec7e0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#86d9ab}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#fcd27b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f7765f}.dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{margin:0!important}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{opacity:1;filter:alpha(opacity=100);visibility:visible}.navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:12px!important;right:auto}.btn-group.select.open[_ngcontent-%COMP%]{overflow:visible}.dropdown-menu-right[_ngcontent-%COMP%]{right:-2px!important;left:auto!important}@media (min-width: 768px){.navbar-form[_ngcontent-%COMP%]{margin-top:21px;margin-bottom:21px;padding-left:5px;padding-right:5px}.navbar-search-form[_ngcontent-%COMP%]{display:none}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-40px);transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(15px);visibility:visible!important}.bootstrap-select[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{box-shadow:none;transition:all .15s linear}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible!important;opacity:1;filter:alpha(opacity=100)}.dropup.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-10px);opacity:1;visibility:visible}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translateY(30px);opacity:0;visibility:hidden;display:block}.bootstrap-select[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translate(0)}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;
1left:12px;top:-11px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:before{right:12px;left:auto}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;left:12px;top:-10px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:after{right:12px;left:auto}#dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{left:15px}.navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:auto;right:12px}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-left:0}body[_ngcontent-%COMP%] > .navbar-collapse.collapse[_ngcontent-%COMP%]{display:none!important}}#navbar[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:3px 1.5rem!important}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#66615b;font-size:14px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]{line-height:28px;padding:10px 20px 5px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:20px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .action-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .action-line[_ngcontent-%COMP%]{background-color:#fffcf5;color:#66615b;opacity:1;text-decoration:none}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]{margin-bottom:1px}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding:10px 15px}.show[_ngcontent-%COMP%]   .dropdown-actions[_ngcontent-%COMP%]{margin-bottom:1px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:-15px 35px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]{padding:5px 10px;line-height:24px;font-weight:bold}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:24px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .col-sm-9[_ngcontent-%COMP%]{line-height:34px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:hover, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:active, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:focus{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%]{color:#66615b;opacity:1;text-decoration:none}.dropdown-actions[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .icon-simple[_ngcontent-%COMP%]{margin-left:-15px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-top:11px solid #DCD9D1;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-12px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-top:11px solid #FFFCF5;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-11px}.dropup[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:1px solid #F1EAE0;color:#66615b;font-size:16px;padding:10px 5px;width:330px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#66615b;white-space:normal}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{padding-left:40px;position:relative}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:block;position:absolute;top:50%;margin-top:-12px;left:7px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{font-size:.9em;line-height:.7;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{color:#9a9a9a;font-size:.7em;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .read-notification[_ngcontent-%COMP%]{font-size:12px;opacity:0;position:absolute;right:5px;top:50%;margin-top:-12px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0efeb;color:#66615b;opacity:1;text-decoration:none}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .read-notification[_ngcontent-%COMP%]{opacity:1!important}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]{background-color:#e8e7e3;border-radius:0 0 8px 8px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]{list-style:outside none none;padding:0 5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:0 10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#9c9b99;font-size:.9em;line-height:35px}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.motto[_ngcontent-%COMP%]{padding-top:25px;margin-bottom:5px!important;border-radius:30px!important;background-color:#0000004d}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.h1[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:400;font-size:64px}@media only screen and (max-width: 767px){h1[_ngcontent-%COMP%]{font-size:45px!important}}.ldc-banner[_ngcontent-%COMP%]{min-height:calc(100vw * 1470 / 3401 - 1cm);background-size:cover;background-position:center top;background-repeat:no-repeat;padding:calc(50px + 3cm) 20px 1cm;display:flex;flex-direction:column;justify-content:flex-start;color:#fff}.ldc-banner[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{width:100%}.ldc-banner-content[_ngcontent-%COMP%]{text-align:left}.ldc-banner-content[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], .ldc-banner-content[_ngcontent-%COMP%]   .ldc-banner-intro[_ngcontent-%COMP%]{text-shadow:0 1px 3px rgba(0,0,0,.45)}.ldc-banner-intro[_ngcontent-%COMP%]{max-width:1050px;margin:.5em 0 0;font-weight:400;font-size:2em}.ldc-tools-section[_ngcontent-%COMP%]{padding:1.5em 0 6.5em}.container[_ngcontent-%COMP%]{max-width:1400px}.tools-sections[_ngcontent-%COMP%]{margin:0 auto;padding:0 2em;text-align:left}.tools-section-heading[_ngcontent-%COMP%]{color:#000;font-weight:300;font-size:50px;width:100%;margin:1.3em 0 .6em;text-align:center}.tools-grid[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;grid-gap:1.5em;gap:1.5em;margin-bottom:1.5em}.tools-tile[_ngcontent-%COMP%]{width:300px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.25em 1em;background-color:#fff;border-radius:12px;box-shadow:0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f,0 5px 5px -3px #0003}.tools-tile-img-wrap[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:150px;max-width:100%;padding:.75em;background-color:#fff;border:1px solid #000;border-radius:8px;margin-bottom:1.25em}.tools-tile-img-wrap--icon[_ngcontent-%COMP%]{width:150px;height:150px}.tools-tile-img[_ngcontent-%COMP%]{height:100%;width:auto;max-width:100%;-o-object-fit:contain;object-fit:contain}.tools-tile-img-wrap--icon[_ngcontent-%COMP%]   .tools-tile-img[_ngcontent-%COMP%]{height:auto;max-height:100%}.tools-tile-title[_ngcontent-%COMP%]{color:#000;font-weight:600;display:block;margin-bottom:.4em}.tools-tile-title[_ngcontent-%COMP%]:hover, .tools-tile-title[_ngcontent-%COMP%]:focus{color:#000;text-decoration:underline}.tools-tile-desc[_ngcontent-%COMP%]{color:#000;text-align:left;font-size:1em;font-weight:400}@media only screen and (max-width: 767px){.ldc-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 2cm);padding-bottom:1cm}.tools-sections[_ngcontent-%COMP%]{padding:0 1.5em}.tools-section-heading[_ngcontent-%COMP%]{font-size:45px}}']}
1),t}(),Gf=function(){return["/contact"]},Hf=function(){return["/tools"]},Jf=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-about-page"]],decls:31,vars:4,consts:[[1,"ldc-banner",2,"background-image","url('./assets/img/cmf/new-ldc-banner.jpg')"],[1,"container"],[1,"ldc-banner-content"],[1,"ldc-banner-intro"],[1,"ldc-about-section"],[1,"ldc-platform-heading"],[1,"ldc-about-illustration"],["src","./assets/img/cmf/horrendogram-new.png","alt","Diagram of LDC data integration for ecosite analysis","width","72%",1,"img-shadow","ldc-banner-inset-image"],[1,"overview"],[1,"tech-links",3,"routerLink"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"h1"),r._uU(4,"About"),r.qZA(),r.TgZ(5,"p",3),r._uU(6,"Data Integration for Land Management and Research"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(7,"div",4),r.TgZ(8,"div",1),r.TgZ(9,"h2",5),r._uU(10,"Platform"),r.qZA(),r.TgZ(11,"div",6),r.TgZ(12,"a"),r._UZ(13,"img",7),r.qZA(),r.qZA(),r.TgZ(14,"p",8),r._uU(15," The Landscape Data Commons (LDC) is an inter-agency monitoring data repository and portal, led by the Jornada Experimental Range in collaboration with USDA-ARS and New Mexico State University, that connects standardized monitoring data to analysis tools to support land management and research. The LDC aggregates and harmonizes core methods data collected across agencies and monitoring programs (e.g., Bureau of Land Management Assessment, Inventory and Monitoring Program, the Natural Resources Conservation Service National Resources Inventory grazing land on-site program, the National Wind Erosion Research Network, and smaller research and monitoring efforts). With these aggregated data, the LDC supports natural-resource management, modeling, and research. Please feel free to "),r.TgZ(16,"a",9),r._uU(17,"contact us"),r.qZA(),r._uU(18," with questions, for technical support, or to get involved. "),r._UZ(19,"br"),r._UZ(20,"br"),r.TgZ(21,"span"),r.TgZ(22,"strong"),r._uU(23,"The Landscape Data Commons provides plot level information. Please consult the sample design information in the Project Table and/or with data owners before conducting analyses."),r.qZA(),r.qZA(),r._UZ(24,"br"),r._UZ(25,"br"),r.TgZ(26,"span"),r._uU(27," See our "),r.TgZ(28,"a",9),r._uU(29,"tools page"),r.qZA(),r._uU(30," to explore the suite of Landscape Data Commons tools that facilitate access to and use of standardized monitoring data. "),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(16),r.Q6J("routerLink",r.DdM(2,Gf)),r.xp6(12),r.Q6J("routerLink",r.DdM(3,Hf)))},directives:[bo],styles:['@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse.in[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapsing[_ngcontent-%COMP%]{display:none!important}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}
1.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0;padding:0}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border:0 none;border-radius:12px;display:block;margin-top:10px;padding:0;position:absolute;visibility:hidden;opacity:0;filter:alpha(opacity=0);box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#f1eae0;margin:0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-header[_ngcontent-%COMP%]{color:#9a9a9a;font-size:12px;padding:10px 15px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .no-notification[_ngcontent-%COMP%]{color:#9a9a9a;font-size:1.2em;padding:30px;text-align:center}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#66615b;font-size:14px;padding:10px 45px 10px 15px;clear:both;white-space:nowrap;width:100%;display:block}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{color:#fff}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:-3px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:0!important}.btn-group.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{min-width:100%}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%CO
1MP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child{border-top-left-radius:12px;border-top-right-radius:12px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{border-radius:0;border-bottom:0 none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;opacity:1;text-decoration:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#66615b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6dd3d6}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6ec7e0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#86d9ab}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#fcd27b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f7765f}.dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{margin:0!important}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{opacity:1;filter:alpha(opacity=100);visibility:visible}.navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:12px!important;right:auto}.btn-group.select.open[_ngcontent-%COMP%]{overflow:visible}.dropdown-menu-right[_ngcontent-%COMP%]{right:-2px!important;left:auto!important}@media (min-width: 768px){.navbar-form[_ngcontent-%COMP%]{margin-top:21px;margin-bottom:21px;padding-left:5px;padding-right:5px}.navbar-search-form[_ngcontent-%COMP%]{display:none}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-40px);transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(15px);visibility:visible!important}.bootstrap-select[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{box-shadow:none;transition:all .15s linear}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible!important;opacity:1;filter:alpha(opacity=100)}.dropup.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-10px);opacity:1;visibility:visible}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translateY(30px);opacity:0;visibility:hidden;display:block}.bootstrap-select[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translate(0)}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;
1left:12px;top:-11px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:before{right:12px;left:auto}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;left:12px;top:-10px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:after{right:12px;left:auto}#dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{left:15px}.navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:auto;right:12px}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-left:0}body[_ngcontent-%COMP%] > .navbar-collapse.collapse[_ngcontent-%COMP%]{display:none!important}}#navbar[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:3px 1.5rem!important}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#66615b;font-size:14px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]{line-height:28px;padding:10px 20px 5px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:20px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .action-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .action-line[_ngcontent-%COMP%]{background-color:#fffcf5;color:#66615b;opacity:1;text-decoration:none}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]{margin-bottom:1px}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding:10px 15px}.show[_ngcontent-%COMP%]   .dropdown-actions[_ngcontent-%COMP%]{margin-bottom:1px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:-15px 35px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]{padding:5px 10px;line-height:24px;font-weight:bold}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:24px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .col-sm-9[_ngcontent-%COMP%]{line-height:34px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:hover, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:active, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:focus{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%]{color:#66615b;opacity:1;text-decoration:none}.dropdown-actions[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .icon-simple[_ngcontent-%COMP%]{margin-left:-15px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-top:11px solid #DCD9D1;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-12px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-top:11px solid #FFFCF5;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-11px}.dropup[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:1px solid #F1EAE0;color:#66615b;font-size:16px;padding:10px 5px;width:330px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#66615b;white-space:normal}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{padding-left:40px;position:relative}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:block;position:absolute;top:50%;margin-top:-12px;left:7px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{font-size:.9em;line-height:.7;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{color:#9a9a9a;font-size:.7em;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .read-notification[_ngcontent-%COMP%]{font-size:12px;opacity:0;position:absolute;right:5px;top:50%;margin-top:-12px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0efeb;color:#66615b;opacity:1;text-decoration:none}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .read-notification[_ngcontent-%COMP%]{opacity:1!important}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]{background-color:#e8e7e3;border-radius:0 0 8px 8px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]{list-style:outside none none;padding:0 5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:0 10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#9c9b99;font-size:.9em;line-height:35px}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.motto[_ngcontent-%COMP%]{padding-top:25px;margin-bottom:5px!important;border-radius:30px!important;background-color:#0000004d}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.h1[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:400;font-size:64px}p.overview[_ngcontent-%COMP%]{max-width:900px;margin:0 auto;padding:2cm 2em 0;font-size:1.4em;font-weight:500;text-align:left;color:#000}.ldc-banner[_ngcontent-%COMP%]{min-height:calc(100vw * 1470 / 3401 - 1cm);background-size:cover;background-position:center top;background-repeat:no-repeat;padding:calc(50px + 3cm) 20px 1cm;display:flex;flex-direction:column;justify-content:flex-start;color:#fff}.ldc-banner[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{width:100%}.ldc-banner-content[_ngcontent-%COMP%]{text-align:left}.ldc-banner-content[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], .ldc-banner-content[_ngcontent-%COMP%]   .ldc-banner-intro[_ngcontent-%COMP%]{text-shadow:0 1px 3px rgba(0,0,0,.45)}.ldc-banner-intro[_ngcontent-%COMP%]{max-width:1050px;margin:.5em 0 0;font-weight:400;font-size:2em}.ldc-about-section[_ngcontent-%COMP%]{padding:2cm 0 3cm}.container[_ngcontent-%COMP%]{max-width:1400px}.ldc-about-illustration[_ngcontent-%COMP%]{text-align:center}.ldc-platform-heading[_ngcontent-%COMP%]{color:#000;font-weight:300;font-size:50px;text-align:center;margin-bottom:.75em}.ldc-banner-inset-image[_ngcontent-%COMP%]{border-radius:20px;padding:20px;margin-bottom:0;background-color:#fff}.img-shadow[_ngcontent-%COMP%]{box-shadow:0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f,0 5px 5px -3px #0003}@media only screen and (max-width: 767px){h1[_ngcontent-%COMP%]{font-size:45px!important}.overview[_ngcontent-%COMP%]{max-height:400px;overflow:auto;font-size:14px!important}.ldc-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 2cm);padding-bottom:1cm}.ldc-platform-heading[_ngcontent-%COMP%]{font-size:45px}}']}
1),t}(),Wf=function(){var t=function(){function t(e){var n=this;_classCallCheck(this,t),this.router=e,this.unsubscribe$=new we.xQ,this.deleteAccount$=new _e.X(!1),this.localStorageDeleteAccountVarName="deleteAccount",this.localStorageDeletedGoogleAccountVarName="deletedGoogleAccount",this.loggedIn$=new _e.X(!1),Wr.listen("auth",function(t){return Yo(n,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i,o=this;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("signIn"!==t.payload.event){e.next=9;break}return this.loggedIn$.next(!0),this.router.navigate(["/ldc-map"]),e.next=4,Xc.currentAuthenticatedUser();case 4:n=e.sent.signInUserSession.idToken.jwtToken,(i=1e3*nl(n).exp-(new Date).getTime())>0?setTimeout(function(){o.signOut()},i):this.signOut(),e.next=10;break;case 9:"signOut"===t.payload.event&&this.loggedIn$.next(!1);case 10:case"end":return e.stop()}},e,this)}))})}return _createClass(t,[{key:"getStoredDeleteAccountValue",value:function(){return"true"===localStorage.getItem(this.localStorageDeleteAccountVarName)}},{key:"setStoredDeleteAccountValue",value:function(t){localStorage.setItem(this.localStorageDeleteAccountVarName,t.toString())}},{key:"getStoredDeletedGoogleAccountValue",value:function(){return"true"===localStorage.getItem(this.localStorageDeletedGoogleAccountVarName)}},{key:"signOut",value:function(){var t=this;(0,fe.D)(Xc.signOut()).subscribe(function(){void 0!==t.loggedIn$&&t.loggedIn$.next(!1)})}},{key:"isAuthenticated",value:function(){var t=this;return(0,fe.D)(Xc.currentAuthenticatedUser()).pipe((0,Me.U)(function(){return t.loggedIn$.next(!0),!0}),(0,Ie.K)(function(e){return t.loggedIn$.next(!1),(0,ge.of)(!1)}))}},{key:"toggleDeleteAccount",value:function(t){this.deleteAccount$.next(t),this.setStoredDeleteAccountValue(t)}},{key:"signedInWithGoogle",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var e,n;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Xc.currentAuthenticatedUser();case 3:return e=t.sent.signInUserSession.idToken.payload.identities,n=!1,t.abrupt("return",(e.forEach(function(t){"Google"===t.providerType&&(n=!0)}),n));case 8:return t.prev=8,t.t0=t.catch(0),t.abrupt("return",(console.log("Error checking sign in provider: ",t.t0),!1));case 11:case"end":return t.stop()}},t,null,[[0,8]])}))}},{key:"deleteCurrentUser",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.signedInWithGoogle();case 3:return this.toggleDeleteAccount(!1),t.next=6,Xc.deleteUser();case 6:return t.next=8,Xc.signOut();case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(0),console.log("error deleting user",t.t0),t.t0;case 13:case"end":return t.stop()}},t,this,[[0,10]])}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(vo))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function Qf(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n}function Kf(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})}var Xf=function(){return Xf=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Xf.apply(this,arguments)};function $f(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n}function tg(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function eg(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function ng(t,e,n){if(n||2===arguments.length)for(var i,o=0,r=e.length;o<r;o++)(i||!(o in e))&&(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))}var ig,og=(function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(og||(og={})),og),rg=(function(t){t.Parent="#_parent",t.Internal="#_internal"}(rg||(rg={})),rg),ag=og.Start,sg=og.Stop,cg=og.Raise,lg=og.Send,ug=og.Cancel,dg=og.NullEvent,hg=og.Assign,pg=og.After,fg=og.DoneState,gg
vendor: 4,632 bytes, line 1
1=og.Log,_g=og.Init,mg=og.Invoke,vg=og.ErrorExecution,yg=og.ErrorPlatform,Cg=og.ErrorCustom,bg=og.Update,Og=og.Choose,Pg=og.Pure,wg={},Mg="xstate.guard";function xg(t,e,n){void 0===n&&(n=".");var i=Ag(t,n),o=Ag(e,n);return Yg(o)?!!Yg(i)&&o===i:Yg(i)?i in o:Object.keys(i).every(function(t){return t in o&&xg(i[t],o[t])})}function kg(t){try{return Yg(t)||"number"==typeof t?"".concat(t):t.type}catch(gM){throw new Error("Events must be strings or objects with a string event.type property.")}}function Sg(t,e){try{return qg(t)?t:t.toString().split(e)}catch(_M){throw new Error("'".concat(t,"' is not a valid state path."))}}function Ag(t,e){return function(t){return"object"==typeof t&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}(t)?t.value:qg(t)?Tg(t):"string"!=typeof t?t:Tg(Sg(t,e))}function Tg(t){if(1===t.length)return t[0];for(var e={},n=e,i=0;i<t.length-1;i++)i===t.length-2?n[t[i]]=t[i+1]:(n[t[i]]={},n=n[t[i]]);return e}function Ig(t,e){for(var n={},i=Object.keys(t),o=0;o<i.length;o++){var r=i[o];n[r]=e(t[r],r,t,o)}return n}function Eg(t,e,n){var i,o,r={};try{for(var a=tg(Object.keys(t)),s=a.next();!s.done;s=a.next()){var c=s.value,l=t[c];!n(l)||(r[c]=e(l,c,t))}}catch(u){i={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return r}var Dg=function(t){return function(e){var n,i,o=e;try{for(var r=tg(t),a=r.next();!a.done;a=r.next())o=o[a.value]}catch(s){n={error:s}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return o}};function Rg(t){return t?Yg(t)?[[t]]:Fg(Object.keys(t).map(function(e){var n=t[e];return"string"==typeof n||n&&Object.keys(n).length?Rg(t[e]).map(function(t){return[e].concat(t)}):[[e]]})):[[]]}function Fg(t){var e;return(e=[]).concat.apply(e,ng([],eg(t),!1))}function Lg(t){return qg(t)?t:[t]}function Zg(t){return void 0===t?[]:Lg(t)}function Ng(t,e,n){var i,o;if(Bg(t))return t(e,n.data);var r={};try{for(var a=tg(Object.keys(t)),s=a.next();!s.done;s=a.next()){var c=s.value,l=t[c];r[c]=Bg(l)?l(e,n.data):l}}catch(u){i={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return r}function Ug(t){return!!(t instanceof Promise||null!==t&&(Bg(t)||"object"==typeof t)&&Bg(t.then))}function Vg(t,e){return Ig(t.states,function(t,n){if(t){var i=(Yg(e)?void 0:e[n])||(t?t.current:void 0);if(i)return{current:i,states:Vg(t,i)}}})}function jg(t,e){return{current:e,states:Vg(t,e)}}function zg(t,e,n,i){return t&&n.reduce(function(t,n){var o,r,a=n.assignment,s={state:i,action:n,_event:e},c={};if(Bg(a))c=a(t,e.data,s);else try{for(var l=tg(Object.keys(a)),u=l.next();!u.done;u=l.next()){var d=u.value,h=a[d];c[d]=Bg(h)?h(t,e.data,s):h}}catch(p){o={error:p}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(o)throw o.error}}return Object.assign({},t,c)},t)}function qg(t){return Array.isArray(t)}function Bg(t){return"function"==typeof t}function Yg(t){return"string"==typeof t}function Gg(t,e){if(t)return Yg(t)?{type:Mg,name:t,predicate:e?e[t]:void 0}:Bg(t)?{type:Mg,name:t.name,predicate:t}:t}var Hg="function"==typeof Symbol&&Symbol.observable||"@@observable";function Jg(t){return!!t&&"__xstatenode"in t}(ig={})[Hg]=function(){return this},ig[Symbol.observable]=function(){return this};var Wg=function(){var t=0;return function(){return(++t).toString(16)}}();function Qg(t,e){return Yg(t)||"number"==typeof t?Xf({type:t},e):t}function Kg(t,e){if(!Yg(t)&&"$$type"in t&&"scxml"===t.$$type)return t;var n=Qg(t);return Xf({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function Xg(t,e){return Lg(e).map(function(e){return void 0===e||"string"==typeof e||Jg(e)?{target:e,event:t}:Xf(Xf({},e),{event:t})})}function $g(t,e,n,i,o){var r=t.options.guards,a={state:o,cond:e,_event:i};if(e.type===Mg)return((null==r?void 0:r[e.name])||e.predicate)(n,i.data,a);var s=null==r?void 0:r[e.type];if(!s)throw new Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return s(n,i.data,a)}function t_(t){return"string"==typeof t?{type:t}:t}function e_(t,e,n){var i=function(){},o="object"==typeof t,r=o?t:null;return{next:((o?t.next:t)||i).bind(r),error:((o?t.error:e)||i).bind(r),complete:((o?t.complete:n)||i).bind(r)}}function n_(t,e){return"".concat(t,":invocation[").concat(e,"]")}function i_(t){return(t.type===cg||t.type===lg&&t.to===rg.Internal)&&"number"!=typeof t.delay}var o_=Kg({type:_g});function r_(t,e){return e&&e[t]||void 0}function a_(t,e){var n;if(Yg(t)||"number"==typeof t)n=Bg(i=r_(t,e))?{type:t,exec:i}:i||{type:t,exec:void 0};else if(Bg(t))n={type:t.name||t.toString(),exec:t};else{var i;if(Bg(i=r_(t.type,e)))n=Xf(Xf({},t),{exec:i});
1else if(i){var o=i.type||t.type;n=Xf(Xf(Xf({},i),t),{type:o})}else n=t}return n}var s_=function(t,e){return t?(qg(t)?t:[t]).map(function(t){return a_(t,e)}):[]};function c_(t){var e=a_(t);return Xf(Xf({id:Yg(t)?t:e.id},e),{type:e.type})}function l_(t,e){return{type:cg,event:"function"==typeof t?t:Qg(t),delay:e?e.delay:void 0,id:null==e?void 0:e.id}}function u_(t,e,n,i){var o,r={_event:n},a=Kg(Bg(t.event)?t.event(e,n.data,r):t.event);if(Yg(t.delay)){var s=i&&i[t.delay];o=Bg(s)?s(e,n.data,r):s}else o=Bg(t.delay)?t.delay(e,n.data,r):t.delay;return Xf(Xf({},t),{type:cg,_event:a,delay:o})}function d_(t,e){return{to:e?e.to:void 0,type:lg,event:Bg(t)?t:Qg(t),delay:e?e.delay:void 0,id:e&&void 0!==e.id?e.id:Bg(t)?t.name:kg(t)}}function h_(t,e,n,i){var o,r={_event:n},a=Kg(Bg(t.event)?t.event(e,n.data,r):t.event);if(Yg(t.delay)){var s=i&&i[t.delay];o=Bg(s)?s(e,n.data,r):s}else o=Bg(t.delay)?t.delay(e,n.data,r):t.delay;var c=Bg(t.to)?t.to(e,n.data,r):t.to;return Xf(Xf({},t),{to:c,_event:a,event:a.data,delay:o})}function p_(t,e){return d_(t,Xf(Xf({},e),{to:rg.Parent}))}function f_(t,e,n){return d_(e,Xf(Xf({},n),{to:t}))}function g_(){return p_(bg)}function __(t,e){return d_(t,Xf(Xf({},e),{to:function(t,e,n){return n._event.origin}}))}var m_=function(t,e){return{context:t,event:e}};function v_(t,e){return void 0===t&&(t=m_),{type:gg,label:e,expr:t}}var y_=function(t,e,n){return Xf(Xf({},t),{value:Yg(t.expr)?t.expr:t.expr(e,n.data,{_event:n})})},C_=function(t){return{type:ug,sendId:t}};function b_(t){var e=c_(t);return{type:og.Start,activity:e,exec:void 0}}function O_(t){var e=Bg(t)?t:c_(t);return{type:og.Stop,activity:e,exec:void 0}}function P_(t,e,n){var i=Bg(t.activity)?t.activity(e,n.data):t.activity;return{type:og.Stop,activity:"string"==typeof i?{id:i}:i}}var w_=function(t){return{type:hg,assignment:t}};function M_(t){return"object"==typeof t&&"type"in t}function x_(t,e){var n=e?"#".concat(e):"";return"".concat(og.After,"(").concat(t,")").concat(n)}function k_(t,e){var n="".concat(og.DoneState,".").concat(t);return{type:n,data:e,toString:function(){return n}}}function S_(t,e){var n="".concat(og.DoneInvoke,".").concat(t);return{type:n,data:e,toString:function(){return n}}}function A_(t,e){var n="".concat(og.ErrorPlatform,".").concat(t);return{type:n,data:e,toString:function(){return n}}}function T_(t){return{type:og.Pure,get:t}}function I_(t,e){return d_(function(t,e){return e},Xf(Xf({},e),{to:t}))}function E_(t,e){return p_(function(e,n,i){return{type:Cg,data:Bg(t)?t(e,n,i):t}},Xf(Xf({},e),{to:rg.Parent}))}function D_(t){return{type:og.Choose,conds:t}}function R_(t,e,n,i,o,r,a){void 0===a&&(a=!1);var s=a?[]:function(t){var e,n,i=[];try{for(var o=tg(t),r=o.next();!r.done;r=o.next())for(var a=r.value,s=0;s<a.actions.length;)a.actions[s].type!==hg?s++:(i.push(a.actions[s]),a.actions.splice(s,1))}catch(c){e={error:c}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i}(o),c=s.length?zg(n,i,s,e):n,l=a?[n]:void 0,u=[];function d(o,s){var d;switch(s.type){case cg:var h=u_(s,c,i,t.options.delays);return r&&"number"==typeof h.delay&&r(h,c,i),h;case lg:var p=h_(s,c,i,t.options.delays);return r&&p.to!==rg.Internal&&("entry"===o?u.push(p):r(p,c,i)),p;case gg:var f=y_(s,c,i);return null==r||r(f,c,i),f;case Og:if(!(m=null===(d=s.conds.find(function(n){var o=Gg(n.cond,t.options.guards);return!o||$g(t,o,c,i,r?void 0:e)}))||void 0===d?void 0:d.actions))return[];var g=eg(R_(t,e,c,i,[{type:o,actions:s_(Zg(m),t.options.actions)}],r,a),2),_=g[0];return c=g[1],null==l||l.push(c),_;case Pg:var m;if(!(m=s.get(c,i.data)))return[];var v=eg(R_(t,e,c,i,[{type:o,actions:s_(Zg(m),t.options.actions)}],r,a),2),y=v[0];return c=v[1],null==l||l.push(c),y;case sg:return f=P_(s,c,i),null==r||r(f,n,i),f;case hg:c=zg(c,i,[s],r?void 0:e),null==l||l.push(c);break;default:var C=a_(s,t.options.actions),b=C.exec;if(r)r(C,c,i);else if(b&&l){var O=l.length-1,P=Xf(Xf({},C),{exec:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];b.apply(void 0,ng([l[O]],eg(e),!1))}});C=P}return C}}return[Fg(o.map(function(t){var e,n,o=[];try{for(var a=tg(t.actions),s=a.next();!s.done;s=a.next()){var l=d(t.type,s.value);l&&(o=o.concat(l))}}catch(h){e={error:h}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return u.forEach(function(t){r(t,c,i)}),u.length=0,o})),c]}var F_=w_,L_=g_,Z_=I_,N_=function(t){return"atomic"===t.type||"final"===t.type};function U_(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function V_(t){return U_(t).filter(function(t){return"history"!==t.type})}function j_(t){var e=[t];return N_(t)?e:e.concat(Fg(V_(t).map(j_)))}function z_(t,e){var n,i,o,r,a,s,c,l,u=B_(new Set(t)),d=new Set(e);try{for(var h=tg(d),p=h.next();!p.done;p=h.next())for(var f=(P=p.value).parent;f&&!d.has(f);)d.add(f),f=f.parent}catch(w){n={error:w}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}var g=B_(d);try{for(var _=tg(d),m=_.next();!m.done;m=_.next())if("compound"!==(P=m.value).type||g.get(P)&&g.get(P).length){if("parallel"===P.type)try{for(var v=(a=void 0,tg(V_(P))),y=v.next();!y.done;y=v.next()){var C=y.value;
vendor: 6,623 bytes, line 1
1d.has(C)||(d.add(C),u.get(C)?u.get(C).forEach(function(t){return d.add(t)}):C.initialStateNodes.forEach(function(t){return d.add(t)}))}}catch(M){a={error:M}}finally{try{y&&!y.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}}else u.get(P)?u.get(P).forEach(function(t){return d.add(t)}):P.initialStateNodes.forEach(function(t){return d.add(t)})}catch(w){o={error:w}}finally{try{m&&!m.done&&(r=_.return)&&r.call(_)}finally{if(o)throw o.error}}try{for(var b=tg(d),O=b.next();!O.done;O=b.next()){var P;for(f=(P=O.value).parent;f&&!d.has(f);)d.add(f),f=f.parent}}catch(w){c={error:w}}finally{try{O&&!O.done&&(l=b.return)&&l.call(b)}finally{if(c)throw c.error}}return d}function q_(t,e){var n=e.get(t);if(!n)return{};if("compound"===t.type){var i=n[0];if(!i)return{};if(N_(i))return i.key}var o={};return n.forEach(function(t){o[t.key]=q_(t,e)}),o}function B_(t){var e,n,i=new Map;try{for(var o=tg(t),r=o.next();!r.done;r=o.next()){var a=r.value;i.has(a)||i.set(a,[]),a.parent&&(i.has(a.parent)||i.set(a.parent,[]),i.get(a.parent).push(a))}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i}function Y_(t,e){return q_(t,B_(z_([t],e)))}function G_(t,e){return Array.isArray(t)?t.some(function(t){return t===e}):t instanceof Set&&t.has(e)}function H_(t,e){return"compound"===e.type?V_(e).some(function(e){return"final"===e.type&&G_(t,e)}):"parallel"===e.type&&V_(e).every(function(e){return H_(t,e)})}function J_(t){return new Set(Fg(t.map(function(t){return t.tags})))}function W_(t,e){if(t===e)return!0;if(void 0===t||void 0===e)return!1;if(Yg(t)||Yg(e))return t===e;var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){return W_(t[n],e[n])})}var Q_=function(){function t(t){var e,n=this;this.actions=[],this.activities=wg,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||wg,this.meta=function(t){return void 0===t&&(t=[]),t.reduce(function(t,e){return void 0!==e.meta&&(t[e.id]=e.meta),t},{})}(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=null!==(e=Array.isArray(t.tags)?new Set(t.tags):t.tags)&&void 0!==e?e:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return function(t){return ng([],eg(new Set(Fg(ng([],eg(t.map(function(t){return t.ownEvents})),!1)))),!1)}(n.configuration)}})}return t.from=function(e,n){return e instanceof t?e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e:new t({value:e,context:n,_event:o_,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){return e instanceof t?e.actions.length?new t({value:e.value,context:n,_event:o_,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}}):e:t.from(e,n)},t.prototype.toStrings=function(t,e){var n=this;if(void 0===t&&(t=this.value),void 0===e&&(e="."),Yg(t))return[t];var i=Object.keys(t);return i.concat.apply(i,ng([],eg(i.map(function(i){return n.toStrings(t[i],e).map(function(t){return i+e+t})})),!1))},t.prototype.toJSON=function(){var t=this.tags,e=$f(this,["configuration","transitions","tags","machine"]);return Xf(Xf({},e),{tags:Array.from(t)})},t.prototype.matches=function(t){return xg(t,this.value)},t.prototype.hasTag=function(t){return this.tags.has(t)},t.prototype.can=function(t){var e,n=null===(e=this.machine)||void 0===e?void 0:e.getTransitionData(this,t);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some(function(t){return void 0!==t.target||t.actions.length})},t}(),K_=[],X_=function(t,e){K_.push(t);var n=e(t);return K_.pop(),n};function $_(t){var e;return(e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}})[Hg]=function(){return this},e}function tm(t,e,n){var i=$_(e);if(i.deferred=!0,Jg(t)){var o=i.state=X_(void 0,function(){return(n?t.withContext(n):t).initialState});i.getSnapshot=function(){return o}}return i}function em(t){return"string"==typeof t?{type:t,toString:function(){return t}}:t}function nm(t){return Xf(Xf({type:mg},t),{toJSON:function(){var e=$f(t,["onDone","onError"]);return Xf(Xf({},e),{type:mg,src:em(t.src)})}})}var im={},om=function(t){return"#"===t[0]},rm=function(){function t(e,n,i,o){void 0===i&&(i="context"in e?e.context:void 0);var r,a=this;this.config=e,this._context=i,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null==o?void 0:o.parent,this.key=this.config.key||(null==o?void 0:o.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||ng([this.machine.key],eg(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(r=this.config.schema)&&void 0!==r?r:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?Ig(this.config.states,function(e,n){var i,o=new t(e,{},void 0,{parent:a,key:n});return Object.assign(a.idMap,Xf(((i={})[o.id]=o,i),o.idMap)),o}):im;var s=0;(function t(e){var n,i;e.order=s++;try{for(var o=tg(U_(e)),r=o.next();!r.done;r=o.next())t(r.value)}catch(a){n={error:a}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}})(this),this.history=!0===this.config.history?"shallow":this.config.history||
vendor: 4,373 bytes, line 1
1!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(t){return""===t.event}):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=Zg(this.config.entry||this.config.onEntry).map(function(t){return a_(t)}),this.onExit=Zg(this.config.exit||this.config.onExit).map(function(t){return a_(t)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=Zg(this.config.invoke).map(function(t,e){var n,i;if(Jg(t)){var o=n_(a.id,e);return a.machine.options.services=Xf(((n={})[o]=t,n),a.machine.options.services),nm({src:o,id:o})}if(Yg(t.src))return o=t.id||n_(a.id,e),nm(Xf(Xf({},t),{id:o,src:t.src}));if(Jg(t.src)||Bg(t.src))return o=t.id||n_(a.id,e),a.machine.options.services=Xf(((i={})[o]=t.src,i),a.machine.options.services),nm(Xf(Xf({id:o},t),{src:o}));var r=t.src;return nm(Xf(Xf({id:n_(a.id,e)},t),{src:r}))}),this.activities=Zg(this.config.activities).concat(this.invoke).map(function(t){return c_(t)}),this.transition=this.transition.bind(this),this.tags=Zg(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||j_(this).forEach(function(t){return t.on})},t.prototype.withConfig=function(e,n){var i=this.options,o=i.activities,r=i.guards,a=i.services,s=i.delays;return new t(this.config,{actions:Xf(Xf({},i.actions),e.actions),activities:Xf(Xf({},o),e.activities),guards:Xf(Xf({},r),e.guards),services:Xf(Xf({},a),e.services),delays:Xf(Xf({},s),e.delays)},null!=n?n:this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return Bg(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:Ig(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){return this.__cache.on?this.__cache.on:this.__cache.on=this.transitions.reduce(function(t,e){return t[e.eventType]=t[e.eventType]||[],t[e.eventType].push(e),t},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var e=""===t,n=this.transitions.filter(function(n){var i=n.eventType===t;return e?i:i||"*"===n.eventType});return this.__cache.candidates[t]=n,n},t.prototype.getDelayedTransitions=function(){var t=this,e=this.config.after;if(!e)return[];var n=function(e,n){var i=x_(Bg(e)?"".concat(t.id,":delay[").concat(n,"]"):e,t.id);return t.onEntry.push(d_(i,{delay:e})),t.onExit.push(C_(i)),i};return(qg(e)?e.map(function(t,e){var i=n(t.delay,e);return Xf(Xf({},t),{event:i})}):Fg(Object.keys(e).map(function(t,i){var o=e[t],r=Yg(o)?{target:o}:o,a=isNaN(+t)?t:+t,s=n(a,i);return Zg(r).map(function(t){return Xf(Xf({},t),{event:s,delay:a})})}))).map(function(e){var n=e.delay;return Xf(Xf({},t.formatTransition(e)),{delay:n})})},t.prototype.getStateNodes=function(t){var e,n=this;if(!t)return[];var i=t instanceof Q_?t.value:Ag(t,this.delimiter);if(Yg(i)){var o=this.getStateNode(i).initial;return void 0!==o?this.getStateNodes(((e={})[i]=o,e)):[this,this.states[i]]}var r=Object.keys(i),a=[this];return a.push.apply(a,ng([],eg(Fg(r.map(function(t){return n.getStateNode(t).getStateNodes(i[t])}))),!1)),a},t.prototype.handles=function(t){var e=kg(t);return this.events.includes(e)},t.prototype.resolveState=function(t){var e=t instanceof Q_?t:Q_.create(t),n=Array.from(z_([],this.get
1StateNodes(e.value)));return new Q_(Xf(Xf({},e),{value:this.resolve(e.value),configuration:n,done:H_(n,this),tags:J_(n),machine:this.machine}))},t.prototype.transitionLeafNode=function(t,e,n){var i=this.getStateNode(t).next(e,n);return i&&i.transitions.length?i:this.next(e,n)},t.prototype.transitionCompoundNode=function(t,e,n){var i=Object.keys(t),o=this.getStateNode(i[0])._transition(t[i[0]],e,n);return o&&o.transitions.length?o:this.next(e,n)},t.prototype.transitionParallelNode=function(t,e,n){var i,o,r={};try{for(var a=tg(Object.keys(t)),s=a.next();!s.done;s=a.next()){var c=s.value,l=t[c];if(l){var u=this.getStateNode(c)._transition(l,e,n);u&&(r[c]=u)}}}catch(f){i={error:f}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}var d=Object.keys(r).map(function(t){return r[t]}),h=Fg(d.map(function(t){return t.transitions}));if(!d.some(function(t){return t.transitions.length>0}))return this.next(e,n);var p=Fg(Object.keys(r).map(function(t){return r[t].configuration}));return{transitions:h,exitSet:Fg(d.map(function(t){return t.exitSet})),configuration:p,source:e,actions:Fg(Object.keys(r).map(function(t){return r[t].actions}))}},t.prototype._transition=function(t,e,n){return Yg(t)?this.transitionLeafNode(t,e,n):1===Object.keys(t).length?this.transitionCompoundNode(t,e,n):this.transitionParallelNode(t,e,n)},t.prototype.getTransitionData=function(t,e){return this._transition(t.value,t,Kg(e))},t.prototype.next=function(t,e){var n,i,o,r=this,a=e.name,s=[],c=[];try{for(var l=tg(this.getCandidates(a)),u=l.next();!u.done;u=l.next()){var d=u.value,h=d.cond,p=d.in,f=t.context,g=!p||(Yg(p)&&om(p)?t.matches(Ag(this.getStateNodeById(p).path,this.delimiter)):xg(Ag(p,this.delimiter),Dg(this.path.slice(0,-2))(t.value))),_=!1;try{_=!h||$g(this.machine,h,f,e,t)}catch(v){throw new Error("Unable to evaluate guard '".concat(h.name||h.type,"' in transition for event '").concat(a,"' in state node '").concat(this.id,"':\n").concat(v.message))}if(_&&g){void 0!==d.target&&(c=d.target),s.push.apply(s,ng([],eg(d.actions),!1)),o=d;break}}}catch(v){n={error:v}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}if(o){if(!c.length)return{transitions:[o],exitSet:[],configuration:t.value?[this]:[],source:t,actions:s};var m=Fg(c.map(function(e){return r.getRelativeStateNodes(e,t.historyValue)}));return{transitions:[o],exitSet:o.internal?[]:Fg(c.map(function(t){return r.getPotentiallyReenteringNodes(t)})),configuration:m,source:t,actions:s}}},t.prototype.getPotentiallyReenteringNodes=function(t){if(this.order<t.order)return[this];for(var e=[],n=this,i=t;n&&n!==i;)e.push(n),n=n.parent;return n!==i?[]:(e.push(i),e)},t.prototype.getActions=function(t,e,n,i,o,r,a){var s,c,l,u,d=this,h=r?z_([],this.getStateNodes(r.value)):[],p=new Set;try{for(var f=tg(Array.from(t).sort(function(t,e){return t.order-e.order})),g=f.next();!g.done;g=f.next())(!G_(h,v=g.value)||G_(n.exitSet,v)||v.parent&&p.has(v.parent))&&p.add(v)}catch(M){s={error:M}}finally{try{g&&!g.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}try{for(var _=tg(h),m=_.next();!m.done;m=_.next()){var v;(!G_(t,v=m.value)||G_(n.exitSet,v.parent))&&n.exitSet.push(v)}}catch(M){l={error:M}}finally{try{m&&!m.done&&(u=_.return)&&u.call(_)}finally{if(l)throw l.error}}n.exitSet.sort(function(t,e){return e.order-t.order});var y=Array.from(p).sort(function(t,e){return t.order-e.order}),C=new Set(n.exitSet),b=Fg(y.map(function(t){var e=[];if("final"!==t.type)return e;var r=t.parent;if(!r.parent)return e;e.push(k_(t.id,t.doneData),k_(r.id,t.doneData?Ng(t.doneData,i,o):void 0));var a=r.parent;return"parallel"===a.type&&V_(a).every(function(t){return H_(n.configuration,t)})&&e.push(k_(a.id)),e})),O=y.map(function(t){var e=t.onEntry,n=t.activities.map(function(t){return b_(t)});return{type:"entry",actions:s_(a?ng(ng([],eg(e),!1),eg(n),!1):ng(ng([],eg(n),!1),eg(e),!1),d.machine.options.actions)}}).concat({type:"state_done",actions:b.map(function(t){return l_(t)})}),P=Array.from(C).map(function(t){return{type:"exit",actions:s_(ng(ng([],eg(t.onExit),!1),eg(t.activities.map(function(t){return O_(t)})),!1),d.machine.options.actions)}}).concat({type:"transition",actions:s_(n.actions,this.machine.options.actions)}).concat(O);if(e){var w=s_(Fg(ng([],eg(t),!1).sort(function(t,e){return e.order-t.order}).map(function(t){return t.onExit})),this.machine.options.actions).filter(function(t){return!i_(t)});return P.concat({type:"stop",actions:w})}return P},t.prototype.transition=function(t,e,n,i){void 0===t&&(t=this.initialState);var o,r=Kg(e);if(t instanceof Q_)o=void 0===n?t:this.resolveState(Q_.from(t,n));else{var a=Yg(t)?this.resolve(Tg(this.getResolvedPath(t))):this.resolve(t);o=this.resolveState(Q_.from(a,null!=n?n:this.machine.context))}if(this.strict&&!this.events.includes(r.name)&&!function(t){return/^(done|error)\./.test(t)}(r.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(r.name,"'"));var s=this._transition(o.value,o,r)||{transitions:[],configuration:[],exitSet:[],source:o,actions:[]}
vendor: 1,575 bytes, line 1
1,c=z_([],this.getStateNodes(o.value)),l=s.configuration.length?z_(c,s.configuration):c;return s.configuration=ng([],eg(l),!1),this.resolveTransition(s,o,o.context,i,r)},t.prototype.resolveRaisedTransition=function(t,e,n,i){var o,r=t.actions;return(t=this.transition(t,e,void 0,i))._event=n,t.event=n.data,(o=t.actions).unshift.apply(o,ng([],eg(r),!1)),t},t.prototype.resolveTransition=function(t,e,n,i,o){var r,a,s,c,l=this;void 0===o&&(o=o_);var u=t.configuration,d=!e||t.transitions.length>0,h=d?t.configuration:e?e.configuration:[],p=H_(h,this),f=d?Y_(this.machine,u):void 0,g=e?e.historyValue?e.historyValue:t.source?this.machine.historyValue(e.value):void 0:void 0,_=this.getActions(new Set(h),p,t,n,o,e,i),m=e?Xf({},e.activities):{};try{for(var v=tg(_),y=v.next();!y.done;y=v.next()){var C=y.value;try{for(var b=(s=void 0,tg(C.actions)),O=b.next();!O.done;O=b.next()){var P=O.value;P.type===ag?m[P.activity.id||P.activity.type]=P:P.type===sg&&(m[P.activity.id||P.activity.type]=!1)}}catch(N){s={error:N}}finally{try{O&&!O.done&&(c=b.return)&&c.call(b)}finally{if(s)throw s.error}}}}catch(N){r={error:N}}finally{try{y&&!y.done&&(a=v.return)&&a.call(v)}finally{if(r)throw r.error}}var w=eg(R_(this,e,n,o,_,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),M=w[0],x=w[1],k=eg(function(t,e){var n,i,o=eg([[],[]],2),r=o[0],a=o[1];try{for(var s=tg(t),c=s.next();!c.done;c=s.next()){var u=c.value;e(u)?r.push(u):a.push(u)}}catch(l){n={error:l}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return[r,a]}
vendor: 4,088 bytes, line 1
1(M,i_),2),S=k[0],A=k[1],T=M.filter(function(t){var e;return t.type===ag&&(null===(e=t.activity)||void 0===e?void 0:e.type)===mg}).reduce(function(t,e){return t[e.activity.id]=function(t,e,n,i){var o,r=t_(t.src),a=null===(o=null==e?void 0:e.options.services)||void 0===o?void 0:o[r.type],s=t.data?Ng(t.data,n,i):void 0,c=a?tm(a,t.id,s):$_(t.id);return c.meta=t,c}(e.activity,l.machine,x,o),t},e?Xf({},e.children):{}),I=new Q_({value:f||e.value,context:x,_event:o,_sessionid:e?e._sessionid:null,historyValue:f?g?jg(g,f):void 0:e?e.historyValue:void 0,history:!f||t.source?e:void 0,actions:f?A:[],activities:f?m:e?e.activities:{},events:[],configuration:h,transitions:t.transitions,children:T,done:p,tags:J_(h),machine:this}),E=n!==x;I.changed=o.name===bg||E;var D=I.history;D&&delete D.history;var R=!p&&(this._transient||u.some(function(t){return t._transient}));if(!(d||R&&""!==o.name))return I;var F=I;if(!p)for(R&&(F=this.resolveRaisedTransition(F,{type:dg},o,i));S.length;){var L=S.shift();F=this.resolveRaisedTransition(F,L._event,o,i)}var Z=F.changed||(D?!!F.actions.length||E||typeof D.value!=typeof F.value||!W_(F.value,D.value):void 0);return F.changed=Z,F.history=D,F},t.prototype.getStateNode=function(t){if(om(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var e=this.states[t];if(!e)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return e},t.prototype.getStateNodeById=function(t){var e=om(t)?t.slice("#".length):t;if(e===this.id)return this;var n=this.machine.idMap[e];if(!n)throw new Error("Child state node '#".concat(e,"' does not exist on machine '").concat(this.id,"'"));return n},t.prototype.getStateNodeByPath=function(t){if("string"==typeof t&&om(t))try{return this.getStateNodeById(t.slice(1))}catch(o){}for(var e=Sg(t,this.delimiter).slice(),n=this;e.length;){var i=e.shift();if(!i.length)break;n=n.getStateNode(i)}return n},t.prototype.resolve=function(t){var e,n=this;if(!t)return this.initialStateValue||im;switch(this.type){case"parallel":return Ig(this.initialStateValue,function(e,i){return e?n.getStateNode(i).resolve(t[i]||e):im});case"compound":if(Yg(t)){var i=this.getStateNode(t);return"parallel"===i.type||"compound"===i.type?((e={})[t]=i.initialStateValue,e):t}return Object.keys(t).length?Ig(t,function(t,e){return t?n.getStateNode(e).resolve(t):im}):this.initialStateValue||{};default:return t||im}},t.prototype.getResolvedPath=function(t){if(om(t)){var e=this.machine.idMap[t.slice("#".length)];if(!e)throw new Error("Unable to find state node '".concat(t,"'"));return e.path}return Sg(t,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var t,e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)e=Eg(this.states,function(t){return t.initialStateValue||im},function(t){return"history"!==t.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));e=N_(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}else e={};return this.__cache.initialStateValue=e,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(t,e){this._init();var n=this.getStateNodes(t);return this.resolveTransition({configuration:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=e?e:this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var t;if("history"===this.type){var e=this.config;t=Yg(e.target)&&om(e.target)?Tg(this.machine.getStateNodeById(e.target).path.slice(this.path.length-1)):e.target}return t}
vendor: 4,130 bytes, line 1
1,enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(t,e,n){return void 0===n&&(n=!0),n?"history"===t.type?t.resolveHistory(e):t.initialStateNodes:[t]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var t=this;return N_(this)?[this]:"compound"!==this.type||this.initial?Fg(Rg(this.initialStateValue).map(function(e){return t.getFromRelativePath(e)})):[this]},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var e=eg(t),n=e[0],i=e.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var o=this.getStateNode(n);if("history"===o.type)return o.resolveHistory();if(!this.states[n])throw new Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(i)},t.prototype.historyValue=function(t){if(Object.keys(this.states).length)return{current:t||this.initialStateValue,states:Eg(this.states,function(e,n){if(!t)return e.historyValue();var i=Yg(t)?void 0:t[n];return e.historyValue(i||e.initialStateValue)},function(t){return!t.history})}},t.prototype.resolveHistory=function(t){var e=this;if("history"!==this.type)return[this];var n=this.parent;if(!t){var i=this.target;return i?Fg(Rg(i).map(function(t){return n.getFromRelativePath(t)})):n.initialStateNodes}var o=function(t,e){return function(e){var n,i,o=e;try{for(var r=tg(t),a=r.next();!a.done;a=r.next())o=o.states[a.value]}catch(s){n={error:s}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return o}}(n.path)(t).current;return Yg(o)?[n.getStateNode(o)]:Fg(Rg(o).map(function(t){return"deep"===e.history?n.getFromRelativePath(t):[n.states[t[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var t=this,e=Fg(Object.keys(this.states).map(function(e){return t.states[e].stateIds}));return[this.id].concat(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var t,e,n,i;if(this.__cache.events)return this.__cache.events;var o=this.states,r=new Set(this.ownEvents);if(o)try{for(var a=tg(Object.keys(o)),s=a.next();!s.done;s=a.next()){var c=o[s.value];if(c.states)try{for(var l=(n=void 0,tg(c.events)),u=l.next();!u.done;u=l.next())r.add("".concat(u.value))}catch(d){n={error:d}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}}catch(d){t={error:d}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(t){return!(!t.target&&!t.actions.length&&t.internal)}).map(function(t){return t.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(t){var e=this;if(void 0!==t)return t.map(function(t){if(!Yg(t))return t;var n=t[0]===e.delimiter;if(n&&!e.parent)return e.getStateNodeByPath(t.slice(1));var i=n?e.key+t:t;if(!e.parent)return e.getStateNodeByPath(i);try{return e.parent.getStateNodeByPath(i)}catch(o){throw new Error("Invalid transition definition for state node '".concat(e.id,"':\n").concat(o.message))}})},t.prototype.formatTransition=function(t){var e=this,n=function(t){if(void 0!==t&&""!==t)return Zg(t)}(t.target),i="internal"in t?t.internal:!n||n.some(function(t){return Yg(t)&&t[0]===e.delimiter}),o=this.machine.options.guards,r=this.resolveTarget(n),a=Xf(Xf({},t),{actions:s_(Zg(t.actions)),cond:Gg(t.cond,o),target:r,source:this,internal:i,eventType:t.event,toJSON:function(){return Xf(Xf({},a),{target:a.target?a.target.map(function(t){return"#".concat(t.id)}):void 0,source:"#".concat(e.id)})}});return a},t.prototype.formatTransitions=function(){var t,e,n,i=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var o=this.config.on,r=o["*"],a=void 0===r?[]:r,s=$f(o,["*"]);n=Fg(Object.keys(s).map(function(t){return Xg(t,s[t])}).concat(Xg("*",a)))}else n=[];var c=this.config.always?Xg("",this.config.always):[],l=this.config.onDone?Xg(String(k_(this.id
1)),this.config.onDone):[],u=Fg(this.invoke.map(function(t){var e=[];return t.onDone&&e.push.apply(e,ng([],eg(Xg(String(S_(t.id)),t.onDone)),!1)),t.onError&&e.push.apply(e,ng([],eg(Xg(String(A_(t.id)),t.onError)),!1)),e})),d=this.after,h=Fg(ng(ng(ng(ng([],eg(l),!1),eg(u),!1),eg(n),!1),eg(c),!1).map(function(t){return Zg(t).map(function(t){return i.formatTransition(t)})}));try{for(var p=tg(d),f=p.next();!f.done;f=p.next())h.push(f.value)}catch(g){t={error:g}}finally{try{f&&!f.done&&(e=p.return)&&e.call(p)}finally{if(t)throw t.error}}return h},t}();function am(t,e){return new rm(t,e)}var sm={deferEvents:!1},cm=function(){function t(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=Xf(Xf({},sm),t)}return t.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},t.prototype.schedule=function(t){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()}else this.queue.push(t)},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},t.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(_M){throw this.clear(),_M}finally{this.processingEvent=!1}},t}(),lm=new Map,um=0,dm=function(t){lm.delete(t)};function hm(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0}var pm={sync:!1,autoForward:!1},fm=(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"}(fm||(fm={})),fm),gm=function(){function t(e,n){void 0===n&&(n=t.defaultOptions);var i=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=fm.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(t,e){if(qg(t))return i.batch(t),i.state;var n=Kg(Qg(t,e));if(i.status===fm.Stopped)return i.state;if(i.status!==fm.Running&&!i.options.deferEvents)throw new Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(i.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return i.scheduler.schedule(function(){i.forward(n);var t=i._nextState(n);i.update(t,n)}),i._state},this.sendTo=function(t,e,n){var o=i.parent&&(e===rg.Parent||i.parent.id===e),r=o?i.parent:Yg(e)?e===rg.Internal?i:i.children.get(e)||function(t){return lm.get(t)}(e):function(t){return!!t&&"function"==typeof t.send}(e)?e:void 0;if(r)if("machine"in r){if(i.status!==fm.Stopped||i.parent!==r||i.state.done){var a=Xf(Xf({},t),{name:t.name===Cg?"".concat(A_(i.id)):t.name,origin:i.sessionId});!n&&i.machine.config.predictableActionArguments?i._outgoingQueue.push([r,a]):r.send(a)}}else!n&&i.machine.config.predictableActionArguments?i._outgoingQueue.push([r,t.data]):r.send(t.data);else if(!o)throw new Error("Unable to send event to child '".concat(e,"' from service '").concat(i.id,"'."))},this._exec=function(t,e,n,o){void 0===o&&(o=i.machine.options.actions);var r=t.exec||r_(t.type,o),a=Bg(r)?r:r?r.exec:t.exec;if(a)try{return a(e,n.data,i.machine.config.predictableActionArguments?{action:t,_event:n}:{action:t,state:i.state,_event:n})}catch(y){throw i.parent&&i.parent.send({type:"xstate.error",data:y}),y}switch(t.type){case cg:i.defer(t);break;case lg:var s=t;if("number"==typeof s.delay)return void i.defer(s);s.to?i.sendTo(s._event,s.to,n===o_):i.send(s._event);break;case ug:i.cancel(t.sendId);break;case ag:if(i.status!==fm.Running)return;var c=t.activity;if(!i.machine.config.predictableActionArguments&&!i.state.activities[c.id||c.type])break;if(c.type===og.Invoke){var l=t_(c.src),u=i.machine.options.services?i.machine.options.services[l.type]:void 0,d=c.id,h=c.data,p="autoForward"in c?c.autoForward:!!c.forward;if(!u)return;var f=h?Ng(h,e,n):void 0;if("string"==typeof u)return;var g=Bg(u)?u(e,n.data,{data:f,src:l,meta:c.meta}):u;if(!g)return;var _=void 0;
1Jg(g)&&(g=f?g.withContext(f):g,_={autoForward:p}),i.spawn(g,d,_)}else i.spawnActivity(c);break;case sg:i.stopChild(t.activity.id);break;case gg:var m=t.label,v=t.value;m?i.logger(m,v):i.logger(v)}};var o=Xf(Xf({},t.defaultOptions),n),r=o.clock,a=o.logger,s=o.parent,c=o.id;this.id=void 0!==c?c:e.id,this.logger=a,this.clock=r,this.parent=s,this.options=o,this.scheduler=new cm({deferEvents:this.options.deferEvents}),this.sessionId="x:".concat(um++)}return Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:X_(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(t,e){var n,i;try{for(var o=tg(t.actions),r=o.next();!r.done;r=o.next())this.exec(r.value,t,e)}catch(a){n={error:a}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},t.prototype.update=function(t,e){var n,i,o,r,a,s,c,l,u=this;if(t._sessionid=this.sessionId,this._state=t,this.machine.config.predictableActionArguments&&e!==o_||!this.options.execute)for(var d=void 0;d=this._outgoingQueue.shift();)d[0].send(d[1]);else this.execute(this.state);if(this.children.forEach(function(t){u.state.children[t.id]=t}),this.devTools&&this.devTools.send(e.data,t),t.event)try{for(var h=tg(this.eventListeners),p=h.next();!p.done;p=h.next())(0,p.value)(t.event)}catch(O){n={error:O}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}try{for(var f=tg(this.listeners),g=f.next();!g.done;g=f.next())(0,g.value)(t,t.event)}catch(O){o={error:O}}finally{try{g&&!g.done&&(r=f.return)&&r.call(f)}finally{if(o)throw o.error}}try{for(var _=tg(this.contextListeners),m=_.next();!m.done;m=_.next())(0,m.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(O){a={error:O}}finally{try{m&&!m.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}if(this.state.done){var v=t.configuration.find(function(t){return"final"===t.type&&t.parent===u.machine}),y=v&&v.doneData?Ng(v.doneData,t.context,e):void 0;this._doneEvent=S_(this.id,y);try{for(var C=tg(this.doneListeners),b=C.next();!b.done;b=C.next())(0,b.value)(this._doneEvent)}catch(O){c={error:O}}finally{try{b&&!b.done&&(l=C.return)&&l.call(C)}finally{if(c)throw c.error}}this._stop(),this._stopChildren(),dm(this.sessionId)}},t.prototype.onTransition=function(t){return this.listeners.add(t),this.status===fm.Running&&t(this.state,this.state.event),this},t.prototype.subscribe=function(t,e,n){var i=this,o=e_(t,e,n);this.listeners.add(o.next),this.status!==fm.NotStarted&&o.next(this.state);var r=function t(){i.doneListeners.delete(t),i.stopListeners.delete(t),o.complete()};return this.status===fm.Stopped?o.complete():(this.onDone(r),this.onStop(r)),{unsubscribe:function(){i.listeners.delete(o.next),i.doneListeners.delete(r),i.stopListeners.delete(r)}}},t.prototype.onEvent=function(t){return this.eventListeners.add(t),this},t.prototype.onSend=function(t){return this.sendListeners.add(t),this},t.prototype.onChange=function(t){return this.contextListeners.add(t),this},t.prototype.onStop=function(t){return this.stopListeners.add(t),this},t.prototype.onDone=function(t){return this.status===fm.Stopped&&this._doneEvent?t(this._doneEvent):this.doneListeners.add(t),this},t.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},t.prototype.start=function(t){var e=this;if(this.status===fm.Running)return this;this.machine._init(),function(t,e){lm.set(t,e)}(this.sessionId,this),this.initialized=!0,this.status=fm.Running;var n=void 0===t?this.initialState:X_(this,function(){return function(t){return"object"==typeof t&&null!==t&&"value"in t&&"_event"in t}(t)?e.machine.resolveState(t):e.machine.resolveState(Q_.from(t,e.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){e.update(n,o_)}),this}
1,t.prototype._stopChildren=function(){this.children.forEach(function(t){Bg(t.stop)&&t.stop()}),this.children.clear()},t.prototype._stop=function(){var t,e,n,i,o,r,a,s,c,l;try{for(var u=tg(this.listeners),d=u.next();!d.done;d=u.next())this.listeners.delete(v=d.value)}catch(b){t={error:b}}finally{try{d&&!d.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}try{for(var h=tg(this.stopListeners),p=h.next();!p.done;p=h.next())(v=p.value)(),this.stopListeners.delete(v)}catch(b){n={error:b}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}try{for(var f=tg(this.contextListeners),g=f.next();!g.done;g=f.next())this.contextListeners.delete(v=g.value)}catch(b){o={error:b}}finally{try{g&&!g.done&&(r=f.return)&&r.call(f)}finally{if(o)throw o.error}}try{for(var _=tg(this.doneListeners),m=_.next();!m.done;m=_.next()){var v;this.doneListeners.delete(v=m.value)}}catch(b){a={error:b}}finally{try{m&&!m.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=fm.Stopped,this._initialState=void 0;try{for(var y=tg(Object.keys(this.delayedEventsMap)),C=y.next();!C.done;C=y.next())this.clock.clearTimeout(this.delayedEventsMap[C.value])}catch(b){c={error:b}}finally{try{C&&!C.done&&(l=y.return)&&l.call(y)}finally{if(c)throw c.error}}this.scheduler.clear(),this.scheduler=new cm({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var t=this,e=this.scheduler;return this._stop(),e.schedule(function(){var e;if(!(null===(e=t._state)||void 0===e?void 0:e.done)){var n=Kg({type:"xstate.stop"}),i=X_(t,function(){var e=Fg(ng([],eg(t.state.configuration),!1).sort(function(t,e){return e.order-t.order}).map(function(e){return s_(e.onExit,t.machine.options.actions)})),i=eg(R_(t.machine,t.state,t.state.context,n,[{type:"exit",actions:e}],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),o=new Q_({value:t.state.value,context:i[1],_event:n,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:i[0].filter(function(t){return!i_(t)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return o.changed=!0,o});t.update(i,n),t._stopChildren(),dm(t.sessionId)}}),this},t.prototype.batch=function(t){var e=this;if(this.status===fm.NotStarted&&this.options.deferEvents);else if(this.status!==fm.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(t.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,o,r=e.state,a=!1,s=[],c=function(t){var i=Kg(t);e.forward(i),r=X_(e,function(){return e.machine.transition(r,i,void 0,n||void 0)}),s.push.apply(s,ng([],eg(e.machine.config.predictableActionArguments?r.actions:r.actions.map(function(t){return function(t,e){var n=t.exec;return Xf(Xf({},t),{exec:void 0!==n?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0})}(t,r)})),!1)),a=a||!!r.changed};try{for(var l=tg(t),u=l.next();!u.done;u=l.next())c(u.value)}catch(d){i={error:d}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}r.changed=a,r.actions=s,e.update(r,Kg(t[t.length-1]))})}},t.prototype.sender=function(t){return this.send.bind(this,t)},t.prototype._nextState=function(t,e){var n=this;void 0===e&&(e=!!this.machine.config.predictableActionArguments&&this._exec);var i=Kg(t);if(0===i.name.indexOf(yg)&&!this.state.nextEvents.some(function(t){return 0===t.indexOf(yg)}))throw i.data.data;return X_(this,function(){return n.machine.transition(n.state,i,void 0,e||void 0)})},t.prototype.nextState=function(t){return this._nextState(t,!1)},t.prototype.forward=function(t){var e,n;try{for(var i=tg(this.forwardTo),o=i.next();!o.done;o=i.next()){var r=o.value,a=this.children.get(r);if(!a)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(r,"'."));a.send(t)}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.defer=function(t){var e=this,n=this.clock.setTimeout(function(){"to"in t&&t.to?e.sendTo(t._event,t.to,!0):e.send(t._event)},t.delay);t.id&&(this.delayedEventsMap[t.id]=n)},t.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},t.prototype.exec=function(t,e,n){void 0===n&&(n=this.machine.options.actions),this._exec(t,e.context,e._event,n)},t.prototype.removeChild=function(t){var e;this.children.delete(t),this.forwardTo.delete(t),null===(e=this.state)||void 0===e||delete e.children[t]},t.prototype.stopChild=function(t){var e=this.children.get(t);!e||(this.removeChild(t),Bg(e.stop)&&e.stop())},t.prototype.spawn=function(t,e,n){if(this.status!==fm.Running)return tm(t,e);
vendor: 6,155 bytes, line 1
1if(Ug(t))return this.spawnPromise(Promise.resolve(t),e);if(Bg(t))return this.spawnCallback(t,e);if(function(e){return function(e){try{return"function"==typeof e.send}catch(t){return!1}}(e)&&"id"in e}(t))return this.spawnActor(t,e);if(function(e){try{return"subscribe"in e&&Bg(e.subscribe)}catch(t){return!1}}(t))return this.spawnObservable(t,e);if(Jg(t))return this.spawnMachine(t,Xf(Xf({},n),{id:e}));if(function(t){return null!==t&&"object"==typeof t&&"transition"in t&&"function"==typeof t.transition}(t))return this.spawnBehavior(t,e);throw new Error('Unable to spawn entity "'.concat(e,'" of type "').concat(typeof t,'".'))},t.prototype.spawnMachine=function(e,n){var i=this;void 0===n&&(n={});var o=new t(e,Xf(Xf({},this.options),{parent:this,id:n.id||e.id})),r=Xf(Xf({},pm),n);r.sync&&o.onTransition(function(t){i.send(bg,{state:t,id:o.id})});var a=o;return this.children.set(o.id,a),r.autoForward&&this.forwardTo.add(o.id),o.onDone(function(t){i.removeChild(o.id),i.send(Kg(t,{origin:o.id}))}).start(),a},t.prototype.spawnBehavior=function(t,e){var n=function(t,e){void 0===e&&(e={});var n=t.initialState,i=new Set,o=[],r=!1,a=function(t){var e;return Xf(((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[Hg]=function(){return this},e),t)}({id:e.id,send:function(e){o.push(e),function(){if(!r){for(r=!0;o.length>0;){var e=o.shift();n=t.transition(n,e,s),i.forEach(function(t){return t.next(n)})}r=!1}}()},getSnapshot:function(){return n},subscribe:function(t,e,o){var r=e_(t,e,o);return i.add(r),r.next(n),{unsubscribe:function(){i.delete(r)}}}}),s={parent:e.parent,self:a,id:e.id||"anonymous",observers:i};return n=t.start?t.start(s):n,a}(t,{id:e,parent:this});return this.children.set(e,n),n},t.prototype.spawnPromise=function(t,e){var n,i,o=this,r=!1;t.then(function(t){r||(i=t,o.removeChild(e),o.send(Kg(S_(e,t),{origin:e})))},function(t){if(!r){o.removeChild(e);var n=A_(e,t);try{o.send(Kg(n,{origin:e}))}catch(i){o.devTools&&o.devTools.send(n,o.state),o.machine.strict&&o.stop()}}});var a=((n={id:e,send:function(){},subscribe:function(e,n,i){var o=e_(e,n,i),r=!1;return t.then(function(t){r||(o.next(t),!r&&o.complete())},function(t){r||o.error(t)}),{unsubscribe:function(){return r=!0}}},stop:function(){r=!0},toJSON:function(){return{id:e}},getSnapshot:function(){return i}})[Hg]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnCallback=function(t,e){var n,i,o,r=this,a=!1,s=new Set,c=new Set;try{o=t(function(t){i=t,c.forEach(function(e){return e(t)}),!a&&r.send(Kg(t,{origin:e}))},function(t){s.add(t)})}catch(u){this.send(A_(e,u))}if(Ug(o))return this.spawnPromise(o,e);var l=((n={id:e,send:function(t){return s.forEach(function(e){return e(t)})},subscribe:function(t){var e=e_(t);return c.add(e.next),{unsubscribe:function(){c.delete(e.next)}}},stop:function(){a=!0,Bg(o)&&o()},toJSON:function(){return{id:e}},getSnapshot:function(){return i}})[Hg]=function(){return this},n);return this.children.set(e,l),l},t.prototype.spawnObservable=function(t,e){var n,i,o=this,r=t.subscribe(function(t){i=t,o.send(Kg(t,{origin:e}))},function(t){o.removeChild(e),o.send(Kg(A_(e,t),{origin:e}))},function(){o.removeChild(e),o.send(Kg(S_(e),{origin:e}))}),a=((n={id:e,send:function(){},subscribe:function(e,n,i){return t.subscribe(e,n,i)},stop:function(){return r.unsubscribe()},getSnapshot:function(){return i},toJSON:function(){return{id:e}}})[Hg]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnActor=function(t,e){return this.children.set(e,t),t},t.prototype.spawnActivity=function(t){var e=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(e){var n=e(this.state.context,t);this.spawnEffect(t.id,n)}},t.prototype.spawnEffect=function(t,e){var n;this.children.set(t,((n={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:e||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}})[Hg]=function(){return this},n))},t.prototype.attachDev=function(){var t=hm();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var e="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(Xf(Xf({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},e),{features:Xf({jump:!1,skip:!1},e?e.features:void 0)}),this.machine),this.devTools.init(this.state)}!function(t){if(hm()){var e=function(){var t=hm();if(t&&"__xstate__"in t)return t.__xstate__}();e&&e.register(t)}}(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[Hg]=function(){return this},t.prototype.getSnapshot=function(){return this.status===fm.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t){function e(e,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t,e){return setTimeout(t,e)}),clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){return clearTimeout(t)})},logger:console.log.bind(console),devTools:!1},t.interpret=mm,t}();function _m(t,e){var n=function(t){return Yg(t)?Xf(Xf({},pm),{name:t}):Xf(Xf(Xf({},pm),{name:Wg()}),t)}(e);return function(t){return t(K_[K_.length-1])}(function(e){return e?e.spawn(t,n.name,n):tm(t,n.name)})}function mm(t,e){return new gm(t,e)}var vm=n(74897),ym=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+29
11","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"],Cm={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:ym,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},bm=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],Om=function(t){var e;return null===(e=t.context.actorRef)||void 0===e?void 0:e.getSnapshot()},Pm=function(t){var e;return null===(e=Om(t))||void 0===e?void 0:e.context};function wm(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function Mm(t){if(null==t)return!0;if(wm(t)&&(function(t){return wm(t)&&"[object Map]"===Object.prototype.toString.call(t)}(t)||function(t){return wm(t)&&"[object Set]"===Object.prototype.toString.call(t)}(t)))return!t.size;if(wm(t)&&(function(t){return"string"==typeof t||"object"==typeof t&&"[object String]"===Object.prototype.toString.call(t)}(t)||Array.isArray(t)))return!t.length;for(var e in t)if(xm(t,e))return!1;return!0}function xm(t,e){return null!=t&&Object.prototype.hasOwnProperty.call(t,e)}function km(t){return"function"==typeof t}var Sm=function(t){return Kf(void 0,void 0,void 0,_regeneratorRuntime().mark(function e(){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,vm.x)(t,function(t){return Om(t).matches("autoSignIn")});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}},e,null,[[0,5]])}))},Am=function(t,e,n){var i=t.payload,o=i.data,r=i.event;return Kf(void 0,void 0,void 0,_regeneratorRuntime().mark(function t(){var i,a,s,c,l,u,d;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=e.send,a=e.getSnapshot(),c=(s=null!=n?n:{}).onSignIn,l=s.onSignOut,t.t0=r,t.next="tokenRefresh"===t.t0?4:"autoSignIn"===t.t0?6:"autoSignIn_failure"===t.t0?12:"signIn"===t.t0?17:"signOut"===t.t0||"tokenRefresh_failure"===t.t0?19:20;break;case 4:return a.matches("authenticated.idle")&&i("TOKEN_REFRESH"),t.abrupt("break",20);case 6:if(a.matches("authenticated")){t.next=11;break}return t.next=9,Sm(e);case 9:(null==(u=Om(e.getSnapshot()))?void 0:u.matches("autoSignIn"))&&i({type:"AUTO_SIGN_IN",data:o});case 11:return t.abrupt("break",20);case 12:return t.next=14,Sm(e);case 14:return(null==(d=Om(e.getSnapshot()))?void 0:d.matches("autoSignIn"))&&i({type:"AUTO_SIGN_IN_FAILURE",data:o}),t.abrupt("break",20);case 17:return km(c)&&c(),t.abrupt("break",20);case 19:km(l)&&l(),a.matches("authenticated.idle")&&i("SIGN_OUT");case 20:case"end":return t.stop()}},t)}))},Tm=o.assign,Im=o.stop,Em=function(t){return Im(t)},Dm=Tm({attributeToVerify:function(t){}}
1),Rm=Tm({challengeName:function(t){}}),Fm=Tm({requiredAttributes:function(t){}}),Lm=Tm({remoteError:function(t){return""}}),Zm=Tm({formValues:function(t){return{}}}),Nm=Tm({touched:function(t){return{}}}),Um=Tm({unverifiedContactMethods:function(t){}}),Vm=Tm({username:function(t){}}),jm=Tm({validationError:function(t){return{}}}),zm=Tm({totpSecretCode:function(t,e){return e.data}}),qm=Tm({challengeName:function(t,e){var n;return null===(n=e.data)||void 0===n?void 0:n.challengeName}}),Bm=Tm({requiredAttributes:function(t,e){var n,i;return null===(i=null===(n=e.data)||void 0===n?void 0:n.challengeParam)||void 0===i?void 0:i.requiredAttributes}}),Ym=Tm({redirectIntent:function(t){return"confirmPasswordReset"}}),Gm=Tm({redirectIntent:function(t){return"confirmSignUp"}}),Hm=Tm({authAttributes:function(t,e){var n,i,o=_slicedToArray(t.loginMechanisms,1)[0];return{username:null!==(n=t.formValues[o])&&void 0!==n?n:t.formValues.username,password:null===(i=t.formValues)||void 0===i?void 0:i.password}}}),Jm=Tm({validationError:function(t,e){return e.data}}),Wm=Tm({remoteError:function(t,e){var n;return"NoUserPoolError"===e.data.name?"Configuration error (see console) \u2013 please contact the administrator":(null===(n=e.data)||void 0===n?void 0:n.message)||e.data}}),Qm=Tm({unverifiedContactMethods:function(t,e){return e.data.unverified}}),Km=Tm({user:function(t,e){return e.data.user||e.data}}),Xm=Tm({username:function(t,e){var n=t.formValues,i=n.username,o=n.country_code;return o&&(i="".concat(o).concat(i)),i}}),$m=Tm({codeDeliveryDetails:function(t,e){return e.data.codeDeliveryDetails}}),tv=Tm({authAttributes:function(t,e){return{username:t.formValues.username}}}),ev=Tm({formValues:function(t,e){var n=e.data,i=n.name,o=n.value;return Object.assign(Object.assign({},t.formValues),_defineProperty({},i,o))}}),nv=Tm({formValues:function(t,e){return function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Object.entries(t).reduce(function(t,e){var i=_slicedToArray(e,2),o=i[0],r=i[1];return Object.assign(Object.assign({},t),_defineProperty({},o,n.includes(o)?r:null==r?void 0:r.trim()))},{})}(Object.assign(Object.assign({},t.formValues),e.data),"password")}}),iv=Tm({touched:function(t,e){var n=e.data.name;return Object.assign(Object.assign({},t.touched),_defineProperty({},"".concat(n),!0))}}),ov=function(t){return Kf(void 0,void 0,void 0,_regeneratorRuntime().mark(function e(){var n;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.username,e.next=3,Xc.forgotPassword(n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))},rv=Tm({formValues:function(t,e){var n,i=_slicedToArray(t.loginMechanisms,1)[0],o=void 0===i?"username":i;if(!t.formValues.phone_number&&"phone_number"!==o)return t.formValues;var r=t.formValues,a=t.country_code,s=r.phone_number?"phone_number":"username",c="".concat(null!==(n=r.country_code)&&void 0!==n?n:a).concat(r[s]).replace(/[^A-Z0-9+]/gi,""),l=Object.assign(Object.assign({},r),_defineProperty({},s,c));return delete l.country_code,l}}),av=n(58102),sv=n(3912),cv=function(t,e,n,i){return Kf(void 0,void 0,void 0,_regeneratorRuntime().mark(function o(){var r,a;return _regeneratorRuntime().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Promise.all(i.map(function(i){return i(t,e,n)}));case 2:return r=o.sent,a=sv.apply(void 0,[{}].concat(_toConsumableArray(r))),o.abrupt("return",Mm(a)?Promise.resolve():Promise.reject(a));case 5:case"end":return o.stop()}},o)}))},lv={getAmplifyConfig:function(){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ya.configure());case 1:case"end":return t.stop()}},t)}))},getCurrentUser:function(){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Xc.currentAuthenticatedUser());case 1:case"end":return t.stop()}},t)}))},handleSignUp:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Xc.signUp(Object.assign(Object.assign({},t),{autoSignIn:{enabled:!0}})));case 1:case"end":return e.stop()}},e)}))},handleSignIn:function(t){var e=t.username,n=t.password;return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Xc.signIn(e,n));case 1:case"end":return t.stop()}},t)}))},handleConfirmSignIn:function(t){var e=t.user,n=t.code,i=t.mfaType;return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Xc.confirmSignIn(e,n,i));case 1:case"end":return t.stop()}},t)}))},handleConfirmSignUp:function(t){var e=t.username,n=t.code;return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Xc.confirmSignUp(e,n);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)}))},handleForgotPasswordSubmit:function(t){var e=t.username,n=t.code,i=t.password;return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Xc.forgotPasswordSubmit(e,n,i));case 1:case"end":return t.stop()}},t)}))},handleForgotPassword:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Xc.forgotPassword(t));case 1:case"end":return e.stop()}},e)}))},validateCustomSignUp:function(t,e){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}},t)}))},validateFormPassword:function(t,e,n){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function i(){var o,r,a,s;return _regeneratorRuntime().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(o=t.password,e.password&&n){i.next=3;break}return i.abrupt("return",null);
1case 3:return r=[],a=+(null==n?void 0:n.passwordPolicyMinLength),o.length<a&&r.push("Password must have at least ".concat(a," characters")),s=null==n?void 0:n.passwordPolicyCharacters,i.abrupt("return",(null==s||s.forEach(function(t){switch(t){case"REQUIRES_LOWERCASE":/[a-z]/.test(o)||r.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(o)||r.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(o)||r.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":(function(t){return bm.some(function(e){return t.includes(e)})})(o)||r.push("Password must have special characters")}}),0!==r.length?{password:r}:null));case 7:case"end":return i.stop()}},i)}))},validateConfirmPassword:function(t,e){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.password,o=t.confirm_password,r=e.confirm_password,a=e.password,n.abrupt("return",i||o?(i||o)&&i!==o&&(r&&a||(null==i?void 0:i.length)>=6&&(null==o?void 0:o.length)>=6)?{confirm_password:"Your passwords must match"}:void 0:null);case 2:case"end":return n.stop()}},n)}))},validatePreferredUsername:function(t,e){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}},t)}))}},uv=["SMS_MFA","SOFTWARE_TOKEN_MFA"],dv=function(t){return av(t,"data.challengeName")},hv=function(t,e){return t===e},pv=function(t){return uv.includes(t)},fv=am({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:function(){return Xc.signOut()}}}),gv=n(74024),_v=o.choose;function mv(t){return t&&Object.keys(t).forEach(function(e){Object.keys(t[e]).forEach(function(n){var i=t[e][n];i.required=i.isRequired})}),t}var vv=function(){return vv=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},vv.apply(this,arguments)},yv=new zr("I18n"),Cv=function(){function t(t){this._options=null,this._lang=null,this._dict={},this._options=Object.assign({},t),this._lang=this._options.language,!this._lang&&"undefined"!=typeof window&&window&&window.navigator&&(this._lang=window.navigator.language),yv.debug(this._lang)}return t.prototype.setLanguage=function(t){this._lang=t},t.prototype.get=function(t,e){if(void 0===e&&(e=void 0),!this._lang)return void 0!==e?e:t;var n=this._lang,i=this.getByLanguage(t,n);return i||(n.indexOf("-")>0&&(i=this.getByLanguage(t,n.split("-")[0])),i)?i:void 0!==e?e:t},t.prototype.getByLanguage=function(t,e,n){if(void 0===n&&(n=null),!e)return n;var i=this._dict[e];return i?i[t]:n},t.prototype.putVocabulariesForLanguage=function(t,e){var n=this._dict[t];n||(n=this._dict[t]={}),this._dict[t]=vv(vv({},n),e)},t.prototype.putVocabularies=function(t){var e=this;Object.keys(t).map(function(n){e.putVocabulariesForLanguage(n,t[n])})},t}(),bv=new zr("I18n"),Ov=null,Pv=null,wv=function(){function t(){}return t.configure=function(e){return bv.debug("configure I18n"),e&&(Ov=Object.assign({},Ov,e.I18n||e),t.createInstance()),Ov},t.getModuleName=function(){return"I18n"},t.createInstance=function(){bv.debug("create I18n instance"),!Pv&&(Pv=new Cv(Ov))},t.setLanguage=function(e){return t.checkConfig(),Pv.setLanguage(e)},t.get=function(e,n){return t.checkConfig()?Pv.get(e,n):void 0===n?e:n},t.putVocabulariesForLanguage=function(e,n){return t.checkConfig(),Pv.putVocabulariesForLanguage(e,n)},t.putVocabularies=function(e){return t.checkConfig(),Pv.putVocabularies(e)},t.checkConfig=function(){return Pv||(Pv=new Cv(Ov)),!0},t}();ya.register(wv);var Mv=(Object.assign({},{"Account recovery requires verified contact information":"Zur\xfccksetzen des Account ben\xf6tigt einen verifizierten Account","Back to Sign In":"Zur\xfcck zur Anmeldung","Change Password":"Passwort \xe4ndern",Changing:"\xc4ndern von",Code:"Code","Confirm Password":"Passwort best\xe4tigen","Confirm Sign Up":"Registrierung best\xe4tigen","Confirm SMS Code":"SMS-Code best\xe4tigen","Confirm TOTP Code":"TOTP-Code best\xe4tigen",Confirm:"Best\xe4tigen","Confirmation Code":"Best\xe4tigungs-Code",Confirming:"Wird best\xe4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",
1Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your Email":"Geben Sie Ihre E-Mail","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot your password?":"Passwort vergessen? ","Hide password":"Passwort verbergen","It may take a minute to arrive":"Es kann eine Minute dauern, bis er ankommt",Loading:"Wird geladen","New password":"Neues Passwort",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xfccksetzen des Passwort","Reset your password":"Zur\xfccksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xdcberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xe4tigen","Confirm Sign In":"Anmeldung best\xe4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Enter your Password":"Geben Sie Ihre Passwort ein","Sign Up with Facebook":"Mit Facebook registrieren","Sign Up with Google":"Mit Google registrieren","Forgot Password":"Passwort vergessen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xfcltiges Passwort-Format","Invalid phone number format":"Ung\xfcltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es k\xf6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldever
1suche wurde erreicht","Reset password":"Passwort zur\xfccksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xe4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xe4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"}),Object.assign({},{"Account recovery requires verified contact information":"Account recovery requires verified contact information","Add your Profile":"Add your Profile","Add your Website":"Add your Website","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your Birthdate":"Enter your Birthdate","Enter your code":"Enter your code","Enter your Confirmation Code":"Enter your Confirmation Code","Enter your Email":"Enter your Email","Enter your Family Name":"Enter your Family Name","Enter your Given Name":"Enter your Given Name","Enter your Middle Name":"Enter your Middle Name","Enter your Name":"Enter your Name","Enter your Nickname":"Enter your Nickname","Enter your Password":"Enter your Password","Enter your phone number":"Enter your phone number","Enter your Preferred Username":"Enter your Preferred Username","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Please confirm your Password":"Please confirm your Password","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send code":"Send code","Send Code":"Send Code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in to your account":"Sign in to your account","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"Sign in","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"}),Object.assign({},{"Account recovery requires verified contact information":"La recuperaci\xf3n de la cuenta requiere informaci\xf3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xf3n","Change Password":"Cambiar contrase\xf1a",Changing:"Cambiando",Code:"C\xf3digo","Confirm Password":"Confirmar contrase\xf1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xf3digo de SMS","Confirm TOTP Code":"Confirmar c\xf3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xf3digo de confirmaci\xf3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your co
1de":"Ingrese el c\xf3digo","Enter your Email":"Escriba su Email","Enter your Password":"Escriba su Contrase\xf1a","Enter your phone number":"Ingrese el n\xfamero de tel\xe9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xbfOlvid\xf3 su contrase\xf1a?","Hide password":"Ocultar contrase\xf1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xf1a",or:"o",Password:"Contrase\xf1a","Phone Number":"N\xfamero de tel\xe9fono","Resend Code":"Reenviar c\xf3digo","Reset your password":"Restablecer su contrase\xf1a","Reset your Password":"Restablecer su Contrase\xf1a","Send code":"Enviar c\xf3digo","Send Code":"Enviar c\xf3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xf1a","Sign in to your account":"Iniciar sesi\xf3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xf3n con Amazon","Sign In with Apple":"Iniciar Sesi\xf3n con Apple","Sign In with Facebook":"Iniciar Sesi\xf3n con Facebook","Sign In with Google":"Iniciar Sesi\xf3n con Google","Sign in":"Iniciar sesi\xf3n","Sign In":"Iniciar Sesi\xf3n","Signing in":"Iniciando sesi\xf3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xf3nico","We Sent A Code":"Hemos enviado un c\xf3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que hemos enviado por correo electr\xf3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xf3digo","Confirm Sign In":"Confirmar inicio de sesi\xf3n","Forgot Password":"Olvid\xe9 mi contrase\xf1a","Incorrect username or password.":"Nombre de usuario o contrase\xf1a incorrecta","Invalid password format":"Formato de contrase\xf1a inv\xe1lido","Invalid phone number format":"Formato de n\xfamero de tel\xe9fono inv\xe1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xf1a","Resend a Code":"Reenviar un c\xf3digo","Sign Out":"Cerrar sesi\xf3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xedo","Your passwords must match":"Las contrase\xf1as deben coincidir"}),Object.assign({},{"Account recovery requires verified contact information":"La r\xe9cup\xe9ration du compte n\xe9cessite des informations de contact v\xe9rifi\xe9es","Back to Sign In":"Retour \xe0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xe9er un nouveau compte","Create Account":"Cr\xe9er un compte","Creating Account":"Cr\xe9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your Email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xe9ro de t\xe9l\xe9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xe9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xe9ro de t\xe9l\xe9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xe9initialiser votre mot de passe","Reset your password":"R\xe9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xe0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xe9rifier le contact",Verify:"V\xe9rifier","We Sent A Code":"Nous avons envoy\xe9 un code","We Texted You":"Nous vous avons envoy\xe9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xe9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xe9j\xe0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xe9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xe9","Have an account? ":"D\xe9j\xe0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xe9ro de t\xe9l\xe9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your co
1de? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xe9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xe9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xe9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xe9j\xe0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xeatre renseign\xe9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xe9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xe7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xe7u sur ce num\xe9ro de t\xe9l\xe9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."}),Object.assign({},{"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your Email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xe8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xe8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xe8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xe8 gi\xe0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xe0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your co
1de?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xe8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xe0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xf2 essere vuoto"}),Object.assign({},{"Account recovery requires verified contact information":"\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u5fa9\u65e7\u306b\u306f\u78ba\u8a8d\u6e08\u307f\u306e\u9023\u7d61\u5148\u304c\u5fc5\u8981\u3067\u3059","Back to Sign In":"\u30b5\u30a4\u30f3\u30a4\u30f3\u306b\u623b\u308b","Change Password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u3048\u308b ",Changing:"\u5909\u66f4\u4e2d",Code:"\u30b3\u30fc\u30c9","Confirm Password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u78ba\u8a8d","Confirm Sign Up":"\u767b\u9332\u3059\u308b","Confirm SMS Code":"SMS \u30b3\u30fc\u30c9\u3092\u78ba\u8a8d","Confirm TOTP Code":"TOTP \u30b3\u30fc\u30c9\u3092\u78ba\u8a8d",Confirm:"\u78ba\u5b9a","Confirmation Code":"\u78ba\u8a8d\u30b3\u30fc\u30c9",Confirming:"\u78ba\u8a8d\u4e2d","Create a new account":"\u65b0\u3057\u3044\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u308b","Create Account":"\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u308b","Creating Account":"\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210\u4e2d","Dismiss alert":"\u30a2\u30e9\u30fc\u30c8\u3092\u9589\u3058\u308b",Email:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9","Enter your code":"\u30b3\u30fc\u30c9\u3092\u5165\u529b","Enter your Email":"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b","Enter your phone number":"\u96fb\u8a71\u756a\u53f7\u3092\u5165\u529b","Enter your username":"\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u5165\u529b ","Forgot your password?":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u307e\u3057\u305f\u304b\uff1f ","Hide password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u975e\u8868\u793a","It may take a minute to arrive":"\u5230\u7740\u3059\u308b\u307e\u3067\u306b 1 \u5206\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002",Loading:"\u30ed\u30fc\u30c9\u4e2d","New password":"\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9",or:"\u53c8\u306f",Password:"\u30d1\u30b9\u30ef\u30fc\u30c9 ","Phone Number":"\u96fb\u8a71\u756a\u53f7","Resend Code":"\u30b3\u30fc\u30c9\u3092\u518d\u9001\u4fe1","Reset your Password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30ea\u30bb\u30c3\u30c8","Reset your password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b","Send code":"\u30b3\u30fc\u30c9\u3092\u9001\u4fe1","Send Code":"\u30b3\u30fc\u30c9\u3092\u9001\u4fe1",Sending:"\u9001\u4fe1\u4e2d","Setup TOTP":"TOTP \u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7","Show password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8868\u793a","Sign in to your account":"\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30b5\u30a4\u30f3\u30a4\u30f3 ","Sign In with Amazon":"Amazon\u3067\u30b5\u30a4\u30f3\u30a4\u30f3","Sign In with Apple":"Apple \u3067\u30b5\u30a4\u30f3\u30a4\u30f3","Sign In with Facebook":"Facebook\u3067\u30b5\u30a4\u30f3\u30a4\u30f3","Sign In with Google":"Google\u3067\u30b5\u30a4\u30f3\u30a4\u30f3","Sign In":"\u30b5\u30a4\u30f3\u30a4\u30f3 ","Sign in":"\u30b5\u30a4\u30f3\u30a4\u30f3","Signing in":"\u30b5\u30a4\u30f3\u30a4\u30f3\u4e2d",Skip:"\u30b9\u30ad\u30c3\u30d7",Submit:"\u9001\u4fe1",Submitting:"\u9001\u4fe1\u4e2d",Username:"\u30e6\u30fc\u30b6\u30fc\u540d ","Verify Contact":"\u9023\u7d61\u5148\u3092\u78ba\u8a8d",Verify:"\u78ba\u8a8d","We Sent A Code":"\u30b3\u30fc\u30c9\u304c\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f","We Texted You":"\u30c6\u30ad\u30b9\u30c8\u304c\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f","Your code is on the way. To log in, enter the code we sent you":"\u30b3\u30fc\u30c9\u304c\u9014\u4e2d\u3067\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u9001\u4fe1\u3057\u305f\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","An account with the given email already exists.":"\u5165\u529b\u3055\u308c\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u65e2\u306b\u5b58\u5728\u3057\u307e\u3059","Confirm a Code":"\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d","Confirm Sign In":"\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b","Create account":"\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u308b ","Enter your password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b ","Enter your Password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b","Please confirm your Password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b","Forgot Password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u305f ","Have an account? ":"\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u304b\uff1f","Incorrect username or password":"\u30e6\u30fc\u30b6\u30fc\u540d\u304b\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u7570\u306a\u308a\u307e\u3059 ","Invalid password format":"\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f62\u5f0f\u304c\u7121\u52b9\u3067\u3059 ","Invalid phone number format":"\u4e0d\u6b63\u306a\u96fb\u8a71\u756a\u53f7\u306e\u5f62\u5f0f\u3067\u3059\u3002\n+12345678900 \u306e\u5f62\u5f0f\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044","It may take a minute to arrive.":"\u30b3\u30fc\u30c9\u3092\u53d7\u4fe1\u3059\u308b\u307e\u3067\u6570\u5206\u304b\u304b\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002","Lost your co
1de? ":"\u30b3\u30fc\u30c9\u3092\u5931\u304f\u3057\u307e\u3057\u305f\u304b\uff1f","New Password":"\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9","No account? ":"\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u7121\u3044\u3068\u304d ","Password attempts exceeded":"\u30b5\u30a4\u30f3\u30a4\u30f3\u306e\u8a66\u884c\u56de\u6570\u304c\u4e0a\u9650\u306b\u9054\u3057\u307e\u3057\u305f","Reset password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30ea\u30bb\u30c3\u30c8 ","Reset Password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30ea\u30bb\u30c3\u30c8","Sign Out":"\u30b5\u30a4\u30f3\u30a2\u30a6\u30c8 ","Sign Up":"\u767b\u9332 ","User already exists":"\u65e2\u306b\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059 ","User does not exist":"\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u307e\u305b\u3093 ","Username cannot be empty":"\u30e6\u30fc\u30b6\u30fc\u540d\u306f\u5165\u529b\u5fc5\u9808\u3067\u3059","We Emailed You":"\u30b3\u30fc\u30c9\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f","Your code is on the way. To log in, enter the code we emailed to":"\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u30e1\u30fc\u30eb\u306b\u8a18\u8f09\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9001\u4fe1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u8a18\u8f09\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9001\u4fe1\u5148:"}),Object.assign({},{"Account recovery requires verified contact information":"\uacc4\uc815 \ubcf5\uad6c\ub97c \uc704\ud574 \uc5f0\ub77d\ucc98 \ud655\uc778\uc774 \ud544\uc694\ud569\ub2c8\ub2e4","Back to Sign In":"\ub85c\uadf8\uc778\uc73c\ub85c \ub3cc\uc544\uac00\uae30","Change Password":"\ube44\ubc00\ubc88\ud638 \ubcc0\uacbd\ud558\uae30",Changing:"\ubcc0\uacbd\uc911",Code:"\ucf54\ub4dc","Confirm Password":"\ube44\ubc00\ubc88\ud638 \uc7ac\ud655\uc778","Confirm Sign Up":"\ud68c\uc6d0\uac00\uc785 \ud655\uc778","Confirm SMS Code":"\ud734\ub300\ud3f0 \ubcf8\uc778 \ud655\uc778","Confirm TOTP Code":"TOTP \uc778\uc99d\ubc88\ud638 \ud655\uc778",Confirm:"\ud655\uc778","Confirmation Code":"\uc778\uc99d\ubc88\ud638",Confirming:"\ud655\uc778\uc911","Create a new account":"\ud68c\uc6d0\uac00\uc785","Create Account":"\ud68c\uc6d0\uac00\uc785","Creating Account":"\ud68c\uc6d0\uac00\uc785\uc911","Dismiss alert":"\uc54c\ub9bc \ubb34\uc2dc",Email:"\uc774\uba54\uc77c","Enter your code":"\uc778\uc99d\ubc88\ud638\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694","Enter your Email":"\uc774\uba54\uc77c \uc785\ub825","Enter your phone number":"\uc804\ud654\ubc88\ud638 \uc785\ub825","Enter your username":"\uc544\uc774\ub514\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694","Hide password":"\ube44\ubc00\ubc88\ud638 \uc228\uae30\uae30","It may take a minute to arrive":"\ub3c4\ucc29\ud558\ub294 \ub370 1\ubd84 \uc815\ub3c4 \uac78\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4",Loading:"\ub85c\ub529\uc911","New password":"\uc0c8 \ube44\ubc00\ubc88\ud638",or:"\ub610\ub294",Password:"\ube44\ubc00\ubc88\ud638","Phone Number":"\uc804\ud654\ubc88\ud638","Resend Code":"\uc778\uc99d\ubc88\ud638 \uc7ac\uc804\uc1a1","Reset your password":"\ube44\ubc00\ubc88\ud638 \uc7ac\uc124\uc815","Reset your Password":"\ube44\ubc00\ubc88\ud638 \uc7ac\uc124\uc815","Send code":"\uc778\uc99d\ucf54\ub4dc \ubcf4\ub0b4\uae30","Send Code":"\ucf54\ub4dc \uc804\uc1a1",Sending:"\uc804\uc1a1\uc911","Setup TOTP":"TOTP \uc124\uc815\ud558\uae30","Show password":"\ube44\ubc00\ubc88\ud638 \ubcf4\uc774\uae30","Sign in to your account":"\ub85c\uadf8\uc778","Sign In with Amazon":"Amazon \ub85c\uadf8\uc778","Sign In with Apple":"Apple \ub85c\uadf8\uc778","Sign In with Facebook":"Facebook \ub85c\uadf8\uc778","Sign In with Google":"Google \ub85c\uadf8\uc778","Sign in":"\ub85c\uadf8\uc778","Sign In":"\ub85c\uadf8\uc778","Signing in":"\ub85c\uadf8\uc778\uc911",Skip:"\ub2e4\uc74c\uc5d0 \ud558\uae30",Submit:"\ud655\uc778",Submitting:"\ud655\uc778\uc911",Username:"\uc544\uc774\ub514","Verify Contact":"\uc5f0\ub77d\ucc98 \ud655\uc778",Verify:"\uc778\uc99d","We Emailed You":"\uc774\uba54\uc77c\uc744 \ubcf4\ub0c4","We Sent A Code":"\ucf54\ub4dc\ub97c \ubcf4\ub0c4","We Texted You":"\ubb38\uc790 \uba54\uc2dc\uc9c0\ub97c \ubcf4\ub0c4","Your code is on the way. To log in, enter the code we emailed to":"\ucf54\ub4dc\uac00 \uc804\uc1a1 \uc911\uc785\ub2c8\ub2e4. \ub85c\uadf8\uc778\ud558\ub824\uba74 \uc774\uba54\uc77c\ub85c \uc804\uc1a1\ud55c \ucf54\ub4dc\ub97c \uc785\ub825\ud558\uc138\uc694","Your code is on the way. To log in, enter the code we sent you":"\ucf54\ub4dc\uac00 \uc804\uc1a1 \uc911\uc785\ub2c8\ub2e4. \ub85c\uadf8\uc778\ud558\ub824\uba74 \uc804\uc1a1\ud55c \ucf54\ub4dc\ub97c \uc785\ub825\ud558\uc138\uc694","Your code is on the way. To log in, enter the code we texted to":"\ucf54\ub4dc\uac00 \uc804\uc1a1 \uc911\uc785\ub2c8\ub2e4. \ub85c\uadf8\uc778\ud558\ub824\uba74 \ubb38\uc790 \uba54\uc2dc\uc9c0\ub85c \uc804\uc1a1\ud55c \ucf54\ub4dc\ub97c \uc785\ub825\ud558\uc138\uc694",Birthdate:"\uc0dd\ub144\uc6d4\uc77c","Family Name":"\uc131","Forgot your password?":"\ube44\ubc00\ubc88\ud638\ub97c \uc78a\uc73c\uc168\ub098\uc694?","Given Name":"\uc774\ub984",Name:"\uc131\ud568",Nickname:"\ub2c9\ub124\uc784","Preferred Username":"\ub2c9\ub124\uc784",Profile:"\ud504\ub85c\ud544","Reset Password":"\ube44\ubc00\ubc88\ud638 \uc7ac\uc124\uc815",Website:"\uc6f9\uc0ac\uc774\ud2b8"}),Object.assign({},{"Account recovery requires verified contact information":"Gjenoppretting av konto krever verifisert kontaktinformajson","Add your Profile":"Legg til profilen din","Add your Website":"Legg til nettsiden din","Back to Sign In":"Tilbake til innlogging","Change Password":"Bytt passord",Changing:"Endre",Code:"Kode","Confirm Password":"Bekreft passordet","Confirm Sign Up":"Bekreft registrering","Confirm SMS Code":"Bekreft SMS-kode","Confirm TOTP Code":"Bekreft TOTP-kode",Confirm:"Bekreft","Confirmation Code":"Bekreftelseskode",Confirming:"Bekrefter","Create a new account":"Opprett en ny konto","Create Account":"Opprett konto","Creating Account":"Oppretter konto","Dismiss alert":"Avvis varsel",Email:"E-post","Enter your Birthdate":"Skriv inn f\xf8dselsdatoen din","Enter your co
1de":"Skriv inn koden din","Enter your Confirmation Code":"Skriv inn bekreftelseskoden din","Enter your Email":"Skriv inn e-postadressen din","Enter your Family Name":"Skriv inn etternavnet ditt","Enter your Given Name":"Skriv inn fornavnet ditt","Enter your Middle Name":"Skriv inn mellomnavnet ditt","Enter your Name":"Skriv inn navnet ditt","Enter your Nickname":"Skriv inn kallenavnet ditt","Enter your Password":"Skriv inn passordet ditt","Enter your phone number":"Skriv inn telefonnummeret ditt","Enter your Preferred Username":"Skriv inn det foretrukne brukernavnet ditt","Enter your username":"Skriv inn brukernavnet ditt","Forgot password?":"Glemt passord?","Forgot your password?":"Glemt passordet ditt?","Hide password":"Skjul passordet","It may take a minute to arrive":"Det kan ta et minutt for \xe5 komme frem",Loading:"Laster inn","New password":"Nytt passord",or:"eller",Password:"Passord","Phone Number":"Telefonnummer","Please confirm your Password":"Vennligst bekreft passordet ditt","Resend Code":"Send koden p\xe5 nytt","Reset your password":"Nullstill passordet ditt","Reset your Password":"Nullstill passordet ditt","Send code":"Send kode","Send Code":"Send kode",Sending:"Sender","Setup TOTP":"Konfigurer TOTP","Show password":"Vis passordet","Sign in to your account":"Logg inn p\xe5 kontoen din","Sign In with Amazon":"Logg inn med Amazon","Sign In with Apple":"Logg inn med Apple","Sign In with Facebook":"Logg inn med Facebook","Sign In with Google":"Logg inn med Google","Sign in":"Logg inn","Sign In":"Logg inn","Signing in":"Logger inn",Skip:"Hopp over",Submit:"Send inn",Submitting:"Sender inn",Username:"Brukernavn","Verify Contact":"Bekreft kontakt",Verify:"Bekreft","We Emailed You":"Vi sendte deg en e-post","We Sent A Code":"Vi sendte en kode","We Texted You":"Vi sendte deg en tekstmelding","Your code is on the way. To log in, enter the code we emailed to":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte e-post til","Your code is on the way. To log in, enter the code we sent you":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte deg","Your code is on the way. To log in, enter the code we texted to":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte tekstmelding til","An account with the given email already exists.":"Det finnes allerede en konto med denne e-postadressen","Confirm a Code":"Bekreft koden","Confirm Sign In":"Bekreft innlogging","Create account":"Opprett konto","Enter your password":"Skriv inn passordet ditt","Forgot Password":"Glemt passordet","Have an account? ":"Har en konto allerede? ","Incorrect username or password":"Feil brukernavn eller passord","Invalid password format":"Ugyldig passordformat","Invalid phone number format":"Ugyldig telefonnummerformat","Lost your code? ":"Mistet koden? ","New Password":"Nytt passord","No account? ":"Ingen konto? ","Password attempts exceeded":"For mange mislykkede passordfors\xf8k","Reset password":"Nullstill passord","Sign Out":"Logg ut","Sign Up":"Registrering","User already exists":"Brukeren finnes allerede","User does not exist":"Brukeren finnes ikke","Username cannot be empty":"Brukernavnet kan ikke v\xe6re tomt"}),Object.assign({},{"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your Email":"Vul je e-mail in","Enter your Password":"Vul je wachtwoord in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Enter your Username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord","New Password":"Nieuw Wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Please confirm your Password":"Bevestig je wachtwoord","Resend Code":"Verstuur code nogmaals","Reset Password":"Wachtwoord resetten","Re
1set your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar","Your passwords must match":"Je wachtwoorden moeten overeenkomen"}),Object.assign({},{"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xf3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017a Has\u0142o","Confirm Sign Up":"Potwierd\u017a rejestracj\u0119","Confirm SMS Code":"Potwierd\u017a kod SMS","Confirm TOTP Code":"Potwierd\u017a has\u0142o jednorazowe",Confirm:"Potwierd\u017a","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xf3rz nowe konto","Create Account":"Utw\xf3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017a sw\xf3j kod","Enter your Email":"Wpisz sw\xf3j adres e-mail","Enter your phone number":"Wpisz sw\xf3j numer telefonu","Enter your username":"Wprowad\u017a swoj\u0105 nazw\u0119 u\u017cytkownika","Forgot your password?":"Zapomnia\u0142e\u015b has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017c has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015bmy Ci wiadomo\u015b\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015bmy kod","We Texted You":"Wys\u0142ali\u015bmy Ci wiadomo\u015b\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xf3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017a kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xf3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017a wys\u0142any do Ciebie k
1od","Your code is on the way. To log in, enter the code we texted to":"Tw\xf3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017a kod wys\u0142any do Ciebie w wiadomo\u015bci SMS pod numer"}),Object.assign({},{"Account recovery requires verified contact information":"A recupera\xe7\xe3o da conta requer informa\xe7\xf5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xf3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xe7\xe3o","Confirm SMS Code":"Confirme o c\xf3digo SMS","Confirm TOTP Code":"Confirme o c\xf3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xf3digo de confirma\xe7\xe3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xf3digo","Enter your Email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xfamero de telefone","Enter your username":"entre com seu nome de usu\xe1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xfamero de telefone","Resend Code":"Reenviar c\xf3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xf3digo","Send Code":"Enviar c\xf3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xe7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xe7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xe1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xea","We Sent A Code":"Enviamos um c\xf3digo","We Texted You":"Enviamos um SMS para voc\xea","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo que enviamos para voc\xea","Your code is on the way. To log in, enter the code we texted to":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo para o qual enviamos uma mensagem de texto"}),Object.assign({},{"Account recovery requires verified contact information":"\u8d26\u6237\u6062\u590d\u9700\u8981\u9a8c\u8bc1\u8fc7\u7684\u8054\u7cfb\u65b9\u5f0f","Back to Sign In":"\u56de\u5230\u767b\u5f55","Change Password":"\u66f4\u6539\u5bc6\u7801",Changing:"\u6b63\u5728\u4fee\u6539",Code:"\u786e\u8ba4\u7801","Confirm Password":"\u786e\u8ba4\u5bc6\u7801","Confirm Sign Up":"\u786e\u8ba4\u6ce8\u518c","Confirm SMS Code":"\u786e\u8ba4\u77ed\u4fe1\u9a8c\u8bc1\u7801","Confirm TOTP Code":"\u786e\u8ba4 TOTP \u4ee3\u7801",Confirm:"\u786e\u8ba4","Confirmation Code":"\u786e\u8ba4\u7801",Confirming:"\u6b63\u5728\u786e\u8ba4","Create a new account":"\u521b\u5efa\u65b0\u8d26\u6237","Create Account":"\u521b\u5efa\u8d26\u6237","Creating Account":"\u6b63\u5728\u521b\u5efa\u8d26\u6237","Dismiss alert":"\u5173\u95ed\u8b66\u62a5",Email:"\u90ae\u7bb1","Enter your code":"\u8f93\u5165\u9a8c\u8bc1\u7801","Enter your Email":"\u8f93\u5165\u7535\u5b50\u90ae\u4ef6","Enter your phone number":"\u8f93\u5165\u7535\u8bdd\u53f7\u7801","Enter your username":"\u8f93\u5165\u7528\u6237\u540d","Forgot your password?":"\u5fd8\u8bb0\u5bc6\u7801\u4e86\uff1f","Hide password":"\u9690\u85cf\u5bc6\u7801","It may take a minute to arrive":"\u53ef\u80fd\u9700\u8981\u4e00\u5206\u949f\u624d\u80fd\u5230\u8fbe",Loading:"\u6b63\u5728\u52a0\u8f7d","New password":"\u65b0\u5bc6\u7801",or:"\u6216\u8005",Password:"\u5bc6\u7801","Phone Number":"\u7535\u8bdd","Resend Code":"\u91cd\u53d1\u9a8c\u8bc1\u7801","Reset your password":"\u91cd\u7f6e\u5bc6\u7801","Reset your Password":"\u91cd\u7f6e\u5bc6\u7801","Send Code":"\u53d1\u9001\u786e\u8ba4\u7801","Send code":"\u53d1\u9001\u9a8c\u8bc1\u7801",Sending:"\u6b63\u5728\u53d1\u9001","Setup TOTP":"\u8bbe\u7f6e TOTP","Show password":"\u663e\u793a\u5bc6\u7801","Sign in to your account":"\u767b\u5f55\u8d26\u6237","Sign In with Amazon":"\u901a\u8fc7 Amazon \u767b\u5f55","Sign In with Apple":"\u901a\u8fc7 Apple \u767b\u5f55","Sign In with Facebook":"\u901a\u8fc7 Facebook \u767b\u5f55","Sign In with Google":"\u901a\u8fc7 Google \u767b\u5f55","Sign in":"\u767b\u5f55","Sign In":"\u767b\u5f55","Signing in":"\u6b63\u5728\u767b\u5f55",Skip:"\u8df3\u8fc7",Submit:"\u63d0\u4ea4",Submitting:"\u6b63\u5728\u63d0\u4ea4",Username:"\u7528\u6237\u540d","Verify Contact":"\u9a8c\u8bc1\u8054\u7cfb\u65b9\u5f0f",Verify:"\u9a8c\u8bc1","We Emailed You":"\u6211\u4eec\u7ed9\u60a8\u53d1\u9001\u4e86\u7535\u5b50\u90ae\u4ef6","We Sent A Code":"\u6211\u4eec\u53d1\u9001\u4e86\u4ee3\u7801","We Texted You":"\u6211\u4eec\u7ed9\u60a8\u53d1\u9001\u4e86\u77ed\u4fe1","Your code is on the way. To log in, enter the code we emailed to":"\u60a8\u7684\u4ee3\u7801\u6b63\u5728\u53d1\u9001\u4e2d\u3002\u8981\u767b\u5f55\uff0c\u8bf7\u8f93\u5165\u6211\u4eec\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u53d1\u9001\u7ed9\u4ee5\u4e0b\u4eba\u5458\u7684\u4ee3\u7801\uff1a","Your code is on the way. To log in, enter the code we sent you":"\u60a8\u7684\u4ee3\u7801\u6b63\u5728\u53d1\u9001\u4e2d\u3002\u8981\u767b\u5f55\uff0c\u8bf7\u8f93\u5165\u6211\u4eec\u53d1\u9001\u7ed9\u60a8\u7684\u4ee3\u7801","Your code is on the way. To log in, enter the code we texted to":"\u60a8\u7684\u4ee3\u7801\u6b63\u5728\u53d1\u9001\u4e2d\u3002\u8981\u767b\u5f55\uff0c\u8bf7\u8f93\u5165\u6211\u4eec\u901a\u8fc7\u77ed\u4fe1\u53d1\u9001\u7ed9\u4ee5\u4e0b\u4eba\u5458\u7684\u4ee3\u7801\uff1a","Confirm a Code":"\u786e\u8ba4\u7801","Confirm Sign In":"\u786e\u8ba4\u767b\u5f55","Forgot Password":"\u5fd8\u8bb0\u5bc6\u7801","Incorrect username or password":"\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef","Invalid password format":"\u5bc6\u7801\u683c\u5f0f\u9519\u8bef","Invalid phone number format":"\u7535\u8bdd\u683c\u5f0f\u9519\u8bef\uff0c\u8bf7\u4f7f\u7528\u683c\u5f0f +12345678900","New Password":"\u65b0\u5bc6\u7801","Resend a Code":"\u91cd\u53d1\u786e\u8ba4\u7801","Sign Out":"\u9000\u51fa","Sign Up":"\u6ce8\u518c","User already exists":"\u7528\u6237\u5df2\u7ecf\u5b58\u5728","User does not exist":"\u7528\u6237\u4e0d\u5b58\u5728"}),Object.assign({},{"Account recovery requires verified contact information":"F\xf6r att \xe5terst\xe4lla kontot beh\xf6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xf6senord",Changing:"\xc4ndra",Code:"Kod","Confirm Password":"Bekr\xe4fta l\xf6senord","Confirm Sign Up":"Bekr\xe4fta registrering","Confirm SMS Code":"Bekr\xe4fta SMS-kod","Confirm TOTP Code":"Bekr\xe4fta TOTP-kod",Confirm:"Bekr\xe4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xe4ftar","Create a new account":"Skapa ett nytt k
1onto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your Email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xe4ndarnamn","Forgot your password?":"Gl\xf6mt ditt l\xf6senord? ","Hide password":"D\xf6lj l\xf6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xf6senord",or:"eller",Password:"L\xf6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xc5terst\xe4ll ditt l\xf6senord","Reset your Password":"\xc5terst\xe4ll ditt l\xf6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xf6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xf6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xe4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xe4fta koden","Confirm Sign In":"Bekr\xe4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xf6senord","Forgot Password":"Gl\xf6mt l\xf6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xe4ndarnamn eller l\xf6senord","Invalid password format":"Ogiltigt l\xf6senordsformat","Invalid phone number format":"Ogiltigt format f\xf6r telefonnummer","Lost your code? ":"F\xf6rlorat koden? ","New Password":"Nytt l\xf6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xf6rs\xf6k har uppn\xe5tts","Reset password":"\xc5terst\xe4ll l\xf6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xe4ndaren finns redan","User does not exist":"Anv\xe4ndaren finns inte","Username cannot be empty":"Anv\xe4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"}),Object.assign({},{"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your Email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loa
1ding:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"}),Object.assign({},{"Account recovery requires verified contact information":"Hesap kurtarma, do\u011frulanm\u0131\u015f ileti\u015fim bilgilerini gerektirir","Back to Sign In":"Oturum A\xe7maya Geri D\xf6n","Change Password":"\u015eifreyi De\u011fi\u015ftir",Changing:"De\u011fi\u015ftiriliyor",Code:"Kod","Confirm Password":"\u015eifreyi Do\u011frula","Confirm Sign Up":"Kay\u0131t \u0130\u015flemini Do\u011frula","Confirm SMS Code":"SMS Kodunu Do\u011frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015eifreyi Do\u011frula",Confirm:"Do\u011frula","Confirmation Code":"Do\u011frulama Kodu",Confirming:"Do\u011frulan\u0131yor","Create a new account":"Yeni bir hesap olu\u015ftur","Create Account":"Hesap Olu\u015ftur","Creating Account":"Hesap Olu\u015fturuluyor","Dismiss alert":"Uyar\u0131y\u0131 reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your Email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Forgot your password?":"\u015eifrenizi mi unuttunuz?","Hide password":"\u015eifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xfcrebilir",Loading:"Y\xfckleniyor","New password":"Yeni \u015fifre",or:"veya",Password:"\u015eifre","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xf6nder","Reset your password":"\u015eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015eifrenizi S\u0131f\u0131rlay\u0131n","Send code":"Kod g\xf6nder","Send Code":"Kod G\xf6nder",Sending:"G\xf6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015fifre kurulumu yap","Show password":"\u015eifreyi g\xf6ster","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xe7\u0131n","Sign In with Amazon":"Amazon ile Oturum A\xe7","Sign In with Apple":"Apple ile Oturum A\xe7","Sign In with Facebook":"Facebook ile Oturum A\xe7","Sign In with Google":"Google ile Oturum A\xe7","Sign in":"Oturum a\xe7","Sign In":"Oturum A\xe7","Signing in":"Oturum a\xe7\u0131l\u0131yor",Skip:"Atla",Submit:"G\xf6nder",Submitting:"G\xf6nderiliyor",Username:"Kullan\u0131c\u0131 ad\u0131","Verify Contact":"Ki\u015fiyi Do\u011frula",Verify:"Do\u011frula","We Emailed You":"Size E-posta G\xf6nderdik","We Sent A Code":"Bir Kod G\xf6nderdik","We Texted You":"Size Mesaj G\xf6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, g\xf6nderdi\u011fimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, size g\xf6nderdi\u011fimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, g\xf6nderdi\u011fimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xe7may\u0131 Do\u011frula","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015f kullan\u0131c\u0131 ad\u0131 ya da \u015fifre","Invalid password format":"Ge\xe7ersiz parola format\u0131","Invalid phone number format":"Ge\xe7ersiz telefon numaras\u0131 format\u0131","Lost your co
1de? ":"Kodu mu kaybettiniz? ","No account? ":"Hesab\u0131n\u0131z yok mu? ","Password attempts exceeded":"Maksimum oturum a\xe7ma giri\u015fimi a\u015f\u0131ld\u0131","Sign Out":"\xc7\u0131k\u0131\u015f yap","Sign Up":"Kay\u0131t Ol","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xf6yle bir kullan\u0131c\u0131 mevcut de\u011fil","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015f olamaz"}),Object.assign({},{"Account recovery requires verified contact information":"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438","Back to Sign In":"\u041d\u0430\u0437\u0430\u0434, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c",Changing:"\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435",Code:"\u041a\u043e\u0434","Confirm Password":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u043e\u043b\u044f","Confirm Sign Up":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f","Confirm SMS Code":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 CMC-\u041a\u043e\u0434","Confirm TOTP Code":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 TOTP-\u041a\u043e\u0434",Confirm:"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044c","Confirmation Code":"\u043a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f",Confirming:"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435","Create a new account":"\u0421\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c","Create Account":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c","Creating Account":"\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c","Dismiss alert":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u0435",Email:"\u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041a\u043e\u0434","Enter your Email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","Forgot your password?":"\u0417\u0430\u0431\u044b\u043b\u0438 \u0432\u0430\u0448 \u043f\u0430\u0440\u043e\u043b\u044c?","Hide password":"\u0421\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c","It may take a minute to arrive":"\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430","New password":"\u041d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",or:"\u0438\u043b\u0438",Password:"\u041f\u0430\u0440\u043e\u043b\u044c","Phone Number":"\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430","Resend Code":"\u041e\u0442\u043f\u0440\u0430\u0432\u044c \u0435\u0449\u0435 \u0440\u0430\u0437 \u041a\u043e\u0434","Reset your password":"\u0441\u0431\u0440\u043e\u0441 \u0432\u0430\u0448 \u043f\u0430\u0440\u043e\u043b\u044c","Reset your Password":"\u0441\u0431\u0440\u043e\u0441 \u0432\u0430\u0448 \u041f\u0430\u0440\u043e\u043b\u044c","Send code":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u041a\u043e\u0434","Send Code":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u041a\u043e\u0434",Sending:"\u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430","Setup TOTP":"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c TOTP","Show password":"\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c","Sign in to your account":"\u0437\u043d\u0430\u043a \u0432 \u0441\u0432\u043e\u0439 \u0430\u043a\u043a\u0430\u0443\u043d\u0442","Sign In with Amazon":"\u0437\u043d\u0430\u043a \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043d\u0430\u043a \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043d\u0430\u043a \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043d\u0430\u043a \u0432 \u0441 Google","Sign in":"\u0437\u043d\u0430\u043a \u0432","Sign In":"\u0437\u043d\u0430\u043a \u0432","Signing in":"\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432",Skip:"\u041f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0442\u044c",Submit:"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0435",Submitting:"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","Verify Contact":"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0430\u043a\u0442",Verify:"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c","We Emailed You":"\u041c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0432\u0430\u043c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e","We Sent A Code":"\u041c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043a\u043e\u0434","We Texted You":"\u041c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0432\u0430\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043a\u043e\u0434 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d. \u0427\u0442\u043e\u0431\u044b \u0432\u043e\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043f\u043e \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043a\u043e\u0434 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d. \u0427\u0442\u043e\u0431\u044b \u0432\u043e\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u043e\u0441\u043b\u0430\u043b\u0438 \u0432\u0430\u043c","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043a\u043e\u0434 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d. \u0427\u0442\u043e\u0431\u044b \u0432\u043e\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c"}
1),Object.assign({},{"Account recovery requires verified contact information":"\u05e9\u05d7\u05d6\u05d5\u05e8 \u05dc\u05e7\u05d5\u05d7 \u05d3\u05d5\u05e8\u05e9 \u05e2\u05d5\u05d3 \u05de\u05d9\u05d3\u05e2","Back to Sign In":"\u05d7\u05d6\u05d5\u05e8 \u05dc\u05d4\u05e8\u05e9\u05de\u05d4","Change Password":"\u05e2\u05d3\u05db\u05d5\u05df \u05e1\u05d9\u05e1\u05de\u05d0",Changing:"\u05de\u05e2\u05d3\u05db\u05df",Code:"\u05e7\u05d5\u05d3","Confirm Password":"\u05d0\u05e9\u05e8 \u05e1\u05d9\u05e1\u05de\u05d0","Confirm Sign Up":"\u05d0\u05e9\u05e8 \u05d4\u05e8\u05e9\u05de\u05d4","Confirm SMS Code":"\u05d0\u05e9\u05e8 sms \u05e7\u05d5\u05d3","Confirm TOTP Code":"\u05d0\u05e9\u05e8 totp \u05e7\u05d5\u05d3",Confirm:"\u05d0\u05d9\u05e9\u05d5\u05e8","Confirmation Code":"\u05d0\u05d9\u05e9\u05d5\u05e8 \u05e7\u05d5\u05d3",Confirming:"\u05de\u05d0\u05e9\u05e8","Create a new account":"\u05e6\u05d5\u05e8 \u05de\u05e9\u05ea\u05de\u05e9 \u05d7\u05d3\u05e9","Create Account":"\u05e6\u05d5\u05e8 \u05de\u05e9\u05ea\u05de\u05e9","Creating Account":"\u05d9\u05e6\u05d9\u05e8\u05ea \u05de\u05e9\u05ea\u05de\u05e9","Dismiss alert":"\u05d4\u05e1\u05e8 \u05d4\u05ea\u05e8\u05d0\u05d4",Email:"\u05d0\u05d9\u05de\u05d9\u05d9\u05dc","Enter your code":"\u05d4\u05db\u05e0\u05e1 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3","Enter your Email":"\u05d4\u05db\u05e0\u05e1 \u05d0\u05ea \u05d4\u05de\u05d9\u05d9\u05dc \u05e9\u05dc\u05da","Enter your phone number":"\u05d4\u05db\u05e0\u05e1 \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05d8\u05dc\u05e4\u05d5\u05df \u05e9\u05dc\u05da","Enter your username":"\u05d4\u05db\u05e0\u05e1 \u05d0\u05ea \u05e9\u05dd \u05d4\u05de\u05ea\u05de\u05e9 \u05e9\u05dc\u05da","Forgot your password?":"\u05e9\u05d7\u05db\u05ea \u05e1\u05d9\u05e1\u05de\u05d0 ?","Hide password":"\u05d4\u05e1\u05ea\u05e8 \u05e1\u05d9\u05e1\u05de\u05d0",Loading:"\u05d8\u05d5\u05e2\u05df","New password":"\u05e1\u05d9\u05e1\u05de\u05d0 \u05d7\u05d3\u05e9\u05d4",or:"\u05d0\u05d5\u05b9",Password:"\u05e1\u05d9\u05e1\u05de\u05d0","Phone Number":"\u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df","Resend Code":"\u05e9\u05dc\u05d7 \u05e7\u05d5\u05d3 \u05e9\u05d5\u05d1","Reset your password":"\u05d0\u05e4\u05e1 \u05e1\u05d9\u05e1\u05de\u05d0","Reset your Password":"\u05d0\u05e4\u05e1 \u05e1\u05d9\u05e1\u05de\u05d0","Send code":"\u05e9\u05dc\u05d7 \u05e7\u05d5\u05d3","Send Code":"\u05e9\u05dc\u05d7 \u05e7\u05d5\u05d3",Sending:"\u05e9\u05d5\u05dc\u05d7","Setup TOTP":"Setup TOTP","Show password":"\u05d4\u05e6\u05d2 \u05e1\u05d9\u05e1\u05de\u05d0","Sign in to your account":"\u05d4\u05ea\u05d7\u05d1\u05e8 \u05dc\u05d7\u05e9\u05d1\u05d5\u05df \u05e9\u05dc\u05da","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"\u05d4\u05ea\u05d7\u05d1\u05e8","Sign In":"\u05d4\u05ea\u05d7\u05d1\u05e8","Signing in":"\u05de\u05ea\u05d7\u05d1\u05e8",Skip:"\u05d3\u05dc\u05d2",Submit:"\u05e9\u05dc\u05d7",Submitting:"\u05e9\u05d5\u05dc\u05d7",Username:"\u05e9\u05dd \u05de\u05e9\u05ea\u05de\u05e9","Verify Contact":"\u05d0\u05de\u05ea \u05d0\u05d9\u05e9 \u05e7\u05e9\u05e8",Verify:"\u05d0\u05de\u05ea"}),Object.assign({},{"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0438\u0441\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0454 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u043e\u0457 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457","Back to Sign In":"\u041d\u0430\u0437\u0430\u0434 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0432\u0445\u043e\u0434\u0443","Change Password":"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c",Changing:"\u0417\u043c\u0456\u043d\u044e\u0454\u043c\u043e",Code:"\u041a\u043e\u0434","Confirm Password":"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c","Confirm Sign Up":"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044c \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044e","Confirm SMS Code":"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044c SMS \u043a\u043e\u0434","Confirm TOTP Code":"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044c TOTP \u043a\u043e\u0434",Confirm:"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041a\u043e\u0434 \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043d\u043d\u044f",Confirming:"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043c\u043e","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043c\u043e","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043b\u0438\u0442\u0438 \u0441\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u043d\u044f",Email:"Email","Enter your co
1de":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043a\u043e\u0434","Enter your Email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0432\u0430\u0448 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0432\u0430\u0448\u0435 \u0456\u043c\u02bc\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043b\u0438 \u0432\u0430\u0448 \u043f\u0430\u0440\u043e\u043b\u044c?","Hide password":"\u0421\u0445\u043e\u0432\u0430\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","It may take a minute to arrive":"\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u043c\u043e\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043b\u0438\u043d\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043c\u043e","New password":"\u041d\u043e\u0432\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",or:"\u0430\u0431\u043e",Password:"\u041f\u0430\u0440\u043e\u043b\u044c","Phone Number":"\u041d\u043e\u043c\u0435\u0440 \u0422\u0435\u043b\u0435\u0444\u043e\u043d\u0443","Resend Code":"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u043a\u043e\u0434 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e","Reset your password":"\u0421\u043a\u0438\u043d\u0443\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","Reset your Password":"\u0421\u043a\u0438\u043d\u0443\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","Send code":"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u043a\u043e\u0434","Send Code":"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u043a\u043e\u0434",Sending:"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u043b\u044f\u0454\u043c\u043e","Setup TOTP":"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0438\u0439 \u0437\u0430\u043f\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043e\u0434\u0438\u043c\u043e",Skip:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u043b\u044f\u0454\u043c\u043e",Username:"\u0406\u043c\u02bc\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041a\u043e\u043d\u0442\u0430\u043a\u0442",Verify:"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041c\u0438 \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0432\u0430\u043c Email","We Sent A Code":"\u041c\u0438 \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043a\u043e\u0434","We Texted You":"\u041c\u0438 \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0432\u0430\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0435 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043a\u043e\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043e\u0440\u043e\u0437\u0456. \u0429\u043e\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u043a\u043e\u0434, \u0449\u043e \u043c\u0438 \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0432\u0430\u043c \u043d\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043a\u043e\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043e\u0440\u043e\u0437\u0456. \u0429\u043e\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u043a\u043e\u0434, \u0449\u043e \u043c\u0438 \u0432\u0430\u043c \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u043b\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043a\u043e\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043e\u0440\u043e\u0437\u0456. \u0429\u043e\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u043a\u043e\u0434, \u0449\u043e \u043c\u0438 \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0432\u0430\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0438\u043c \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f\u043c","An account with the given email already exists.":"\u
1041e\u0431\u043b\u0456\u043a\u043e\u0432\u0438\u0439 \u0437\u0430\u043f\u0438\u0441 \u0437 \u0446\u0438\u043c Email \u0432\u0436\u0435 \u0456\u0441\u043d\u0443\u0454.","Confirm a Code":"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044c \u043a\u043e\u0434","Confirm Sign In":"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044c \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","Incorrect username or password.":"\u041d\u0435\u0432\u0456\u0440\u043d\u0435 \u0456\u043c\u02bc\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043e \u043f\u0430\u0440\u043e\u043b\u044c","Invalid password format":"\u041d\u0435\u0432\u0456\u0440\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u0430\u0440\u043e\u043b\u044e","Invalid phone number format":"\u041d\u0435\u0432\u0456\u0440\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u043e\u043c\u0435\u0440\u0443 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043c\u043e...","New Password":"\u041d\u043e\u0432\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c","Resend a Code":"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u043a\u043e\u0434 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e","Reset Password":"\u0421\u043a\u0438\u043d\u0443\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f","User already exists":"\u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043d\u0443\u0454","User does not exist":"\u0422\u0430\u043a\u0438\u0439 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043d\u0435 \u0456\u0441\u043d\u0443\u0454","Username cannot be empty":"\u0406\u043c\u02bc\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u043f\u0443\u0441\u0442\u0438\u043c","Your passwords must match":"\u041f\u0430\u0440\u043e\u043b\u0456 \u043c\u0430\u044e\u0442\u044c \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044f"}),Object.assign({},{ADD_PROFILE:"Add your Profile",ADD_WEBSITE:"Add your Website",BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Please confirm your Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_BIRTHDATE:"Enter your Birthdate",ENTER_CODE:"Enter your code",ENTER_CONFIRMATION_CODE:"Enter your Confirmation Code",ENTER_EMAIL:"Enter your Email",ENTER_FAMILY_NAME:"Enter your Family Name",ENTER_GIVEN_NAME:"Enter your Given Name",ENTER_MIDDLE_NAME:"Enter your Middle Name",ENTER_NAME:"Enter your Name",ENTER_NICK_NAME:"Enter your Nickname",ENTER_PASSWORD:"Enter your Password",ENTER_PHONE_NUMBER:"Enter your Phone Number",ENTER_PREFERRED_USERNAME:"Enter your Preferred Username",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_PASSWORD:"Forgot Password?",FORGOT_YOUR_PASSWORD:"Forgot your password?",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",OR:"or",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",
1SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"})),xv=Object.assign({},Mv);function kv(t){return wv.get(t)}var Sv,Av,Tv,Iv={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},Ev=function(){return kv(xv.BACK_SIGN_IN)},Dv=function(){return kv(xv.CHANGE_PASSWORD)},Rv=function(){return kv(xv.CONFIRM)},Fv=function(){return kv(xv.UPPERCASE_COPY)},Lv=function(){return kv(xv.OR)},Zv=function(){return kv(xv.RESEND_CODE)},Nv=function(){return kv(xv.SEND_CODE)},Uv=function(){return kv(xv.SUBMIT)},Vv=function(){return kv(xv.SIGN_IN_TAB)},jv=function(){return kv(xv.CREATE_ACCOUNT)},zv=function(t){return kv(t?xv.FORGOT_PASSWORD:xv.FORGOT_YOUR_PASSWORD)},qv=function(){return kv(xv.SIGN_IN_BUTTON)},Bv=function(){return kv(xv.CREATE_ACCOUNT)},Yv=function(t){var e=null!=t?t:{},n=e.DeliveryMedium,i=e.Destination,o="EMAIL"===n,r="SMS"===n,a=kv(xv.CODE_ARRIVAL);return o||r?"".concat(kv(o?xv.CODE_EMAILED:xv.CODE_TEXTED)," ").concat(i,". ").concat(a,"."):"".concat(kv(xv.CODE_SENT),". ").concat(a,".")},Gv=function(t){var e=(null!=t?t:{}).DeliveryMedium,n="EMAIL"===e;return kv(n||"SMS"!==e?n?xv.WE_EMAILED:xv.WE_TEXTED:xv.WE_SENT_CODE)},Hv=function(t){switch(t){case"SMS_MFA":return kv(xv.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return kv(xv.CONFIRM_TOTP);default:throw new Error("".concat(kv("Unexpected challengeName encountered in ConfirmSignIn:")," ").concat(t))}},Jv=function(){return kv(xv.RESET_PASSWORD)},Wv=function(){return kv(xv.SETUP_TOTP)},Qv=function(){return kv("COPIED")},Kv=function(t,e){return kv("Sign ".concat("signIn"===t?"In":"Up"," with ").concat(Iv[e]))},Xv=function(){return kv(xv.SKIP)},$v=function(){return kv(xv.VERIFY)},ty=function(){return kv(xv.VERIFY_HEADING)};(function(t){t.Apple="SignInWithApple",t.Amazon="LoginWithAmazon",t.Facebook="Facebook",t.Google="Google"})(Sv||(Sv={})),function(t){t.Email="email",t.PhoneNumber="phone_number"}(Av||(Av={})),function(t){t.Alert="amplify-alert",t.AlertIcon="amplify-alert__icon",t.AlertHeading="amplify-alert__heading",t.AlertBody="amplify-alert__body",t.AlertDismiss="amplify-alert__dismiss",t.Autocomplete="amplify-autocomplete",t.AutocompleteMenu="amplify-autocomplete__menu",t.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",t.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",t.AutocompleteMenuHeader="amplify-autocomplete__menu__header",t.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",t.AutocompleteMenuOption="amplify-autocomplete__menu__option",t.AutocompleteMenuOptions="amplify-autocomplete__menu__options",t.Badge="amplify-badge",t.Button="amplify-button",t.ButtonGroup="amplify-buttongroup",t.ButtonLoaderWrapper="amplify-button__loader-wrapper",t.Card="amplify-card",t.Checkbox="amplify-checkbox",t.CheckboxButton="amplify-checkbox__button",t.CheckboxIcon="amplify-checkbox__icon",t.CheckboxInput="amplify-checkbox__input",t.CheckboxLabel="amplify-checkbox__label",t.CheckboxField="amplify-checkboxfield",t.Collection="amplify-collection",t.CollectionItems="amplify-collection-items",t.CollectionSearch="amplify-collection-search",t.CollectionPagination="amplify-collection-pagination",t.CountryCodeSelect="amplify-countrycodeselect",t.DialCodeSelect="amplify-dialcodeselect",t.Divider="amplify-divider",t.DividerLabel="amplify-divider--label",t.Expander="amplify-expander",t.ExpanderContent="amplify-expander__content",t.ExpanderContentText="amplify-expander__content__text",t.ExpanderHeader="amplify-expander__header",t.ExpanderIcon="amplify-expander__icon",t.ExpanderItem="amplify-expander__item",t.ExpanderTrigger="amplify-expander__trigger",t.Field="amplify-field",t.FieldDescription="amplify-field__description",t.FieldErrorMessage="amplify-field__error-message",t.FieldGroup="amplify-field-group",t.FieldGroupControl="amplify-field-group__control",t.FieldGroupOuterEnd="amplify-field-group__outer-end",t.FieldGroupOuterStart="amplify-field-group__outer-start",t.FieldGroupInnerEnd="amplify-field-group__inner-end",t.FieldGroupInnerStart="amplify-field-group__inner-start",t.FieldGroupIcon="amplify-field-group__icon",t.FieldGroupIconButton="amplify-field-group__icon-button",t.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",t.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",t.FieldShowPassword="amplify-field__show-password",t.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",t.FileUploaderDropZone="amplify-fileuploader__dropzone",t.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",t.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",t.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",t.FileUploaderFile="amplify-fileuploader__file",t.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",t.FileUploaderFileName="amplify-fileuploader__file__name",t.FileUploaderFileSize="amplify-fileuploader__file__size",t.FileUploaderFileInfo="amplify-fileuploader__file__info",t.FileUploaderFileImage="amplify-fileuploader__file__image",t.FileUploaderFileMain="amplify-fileuploader__file__main",t.FileUploaderFileStatus="amplify-fileuploader__file__status",t.FileUploaderL
1oader="amplify-fileuploader__loader",t.FileUploaderPreviewer="amplify-fileuploader__previewer",t.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",t.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",t.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",t.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",t.Flex="amplify-flex",t.Grid="amplify-grid",t.Heading="amplify-heading",t.HighlightMatch="amplify-highlightmatch",t.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",t.Icon="amplify-icon",t.Image="amplify-image",t.Input="amplify-input",t.Label="amplify-label",t.Link="amplify-link",t.Loader="amplify-loader",t.LoaderDeterminate="amplify-loader--determinate",t.LoaderPercentageText="amplify-loader__percentage-text",t.MenuContent="amplify-menu-content",t.MenuContentWrapper="amplify-menu-content-wrapper",t.MenuItem="amplify-menu-content__item",t.MenuTrigger="amplify-menu-trigger",t.Pagination="amplify-pagination",t.PaginationItemButton="amplify-pagination__item-button",t.PaginationItemCurrent="amplify-pagination__item-current",t.PaginationItemEllipsis="amplify-pagination__item-ellipsis",t.PasswordField="amplify-passwordfield",t.PhoneNumberField="amplify-phonenumberfield",t.Placeholder="amplify-placeholder",t.Radio="amplify-radio",t.RadioButton="amplify-radio__button",t.RadioInput="amplify-radio__input",t.RadioLabel="amplify-radio__label",t.RadioGroupField="amplify-radiogroupfield",t.RadioGroup="amplify-radiogroup",t.Rating="amplify-rating",t.ScrollView="amplify-scrollview",t.SearchField="amplify-searchfield",t.SearchFieldClear="amplify-searchfield__clear",t.SearchFieldSearch="amplify-searchfield__search",t.Select="amplify-select",t.SelectField="amplify-selectfield",t.SelectWrapper="amplify-select__wrapper",t.SelectIconWrapper="amplify-select__icon-wrapper",t.SliderField="amplify-sliderfield",t.SliderFieldGroup="amplify-sliderfield__group",t.SliderFieldLabel="amplify-sliderfield__label",t.SliderFieldRange="amplify-sliderfield__range",t.SliderFieldRoot="amplify-sliderfield__root",t.SliderFieldThumb="amplify-sliderfield__thumb",t.SliderFieldTrack="amplify-sliderfield__track",t.StepperField="amplify-stepperfield",t.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",t.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",t.StepperFieldInput="amplify-stepperfield__input",t.StorageManager="amplify-storagemanager",t.StorageManagerDropZone="amplify-storagemanager__dropzone",t.StorageManagerDropZoneIcon="amplify-storagemanager__dropzone__icon",t.StorageManagerDropZoneText="amplify-storagemanager__dropzone__text",t.StorageManagerFilePicker="amplify-storagemanager__file__picker",t.StorageManagerFile="amplify-storagemanager__file",t.StorageManagerFileWrapper="amplify-storagemanager__file__wrapper",t.StorageManagerFileList="amplify-storagemanager__file__list",t.StorageManagerFileName="amplify-storagemanager__file__name",t.StorageManagerFileSize="amplify-storagemanager__file__size",t.StorageManagerFileInfo="amplify-storagemanager__file__info",t.StorageManagerFileImage="amplify-storagemanager__file__image",t.StorageManagerFileMain="amplify-storagemanager__file__main",t.StorageManagerFileStatus="amplify-storagemanager__file__status",t.StorageManagerLoader="amplify-storagemanager__loader",t.StorageManagerPreviewer="amplify-storagemanager__previewer",t.StorageManagerPreviewerText="amplify-storagemanager__previewer__text",t.SwitchField="amplify-switchfield",t.SwitchLabel="amplify-switch-label",t.SwitchThumb="amplify-switch-thumb",t.SwitchTrack="amplify-switch-track",t.SwitchWrapper="amplify-switch__wrapper",t.Table="amplify-table",t.TableCaption="amplify-table__caption",t.TableBody="amplify-table__body",t.TableTd="amplify-table__td",t.TableTh="amplify-table__th",t.TableFoot="amplify-table__foot",t.TableHead="amplify-table__head",t.TableRow="amplify-table__row",t.Tabs="amplify-tabs",t.TabItems="amplify-tabs-item",t.Text="amplify-text",t.Textarea="amplify-textarea",t.TextAreaField="amplify-textareafield",t.TextField="amplify-textfield",t.ToggleButton="amplify-togglebutton",t.ToggleButtonGroup="amplify-togglebuttongroup",t.VisuallyHidden="amplify-visually-hidden"}(Tv||(Tv={}));var ey=["username","email","phone_number","birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website","confirmation_code","password","confirm_password"],ny=function(t){var e=new FormData(t.target);return Object.fromEntries(e)},iy=function(t){return ey.includes(t)},oy=function(t){var e,n=null===(e=null==t?void 0:t.context.config)||void 0===e?void 0:e.loginMechanisms;return _slicedToArray(null!=n?n:["username"],1)[0]},ry=function(t,e){var n=Pm(t).country_code,i=Cm[e];return"tel"===i.type&&(i=Object.assign(Object.assign({},i),{dialCode:n})),i},ay=function(t){var e=oy(t);return Object.assign(Object.assign({},ry(t,e)),{autocomplete:"username"})},sy=function(t){return{confirmation_code:Object.assign(Object.assign({},ry(t,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},cy={signIn:function(t){return{username:Object.assign({},ay(t)),password:Object.assign(Object.assign({},ry(t,"password")),{autocomplete:"current-password"})}},signUp:function(t){for(var e=t.context.config,n=e.loginMechanisms,i=e.signUpAttributes,o=oy(t),r={},a=0,s=Array.from(new Set([].concat(_toConsumableArray(n),["password","confirm_password"],_toConsumableArray(i))));a<s.length;a++){var c=s[a];if(iy(c)){var l=c===o?ay(t):ry(t,c);r[c]=Object.assign({},l)}else console.debug("Authenticator does not have a default implementation for ".concat(c,". Customize SignUp FormFields to add your own."))}return r},confirmSignUp:function(t){return{confirmation_code:Object.assign(Object.assign({}
1,ry(t,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:sy,forceNewPassword:function(t){for(var e=Om(t).context.requiredAttributes,n={},i=0,o=Array.from(new Set(["password","confirm_password"].concat(_toConsumableArray(e))));i<o.length;i++){var r=o[i];iy(r)?n[r]=Object.assign({},ry(t,r)):console.debug("Authenticator does not have a default implementation for ".concat(r,". Customize ForceNewPassword FormFields to add your own."))}return n},resetPassword:function(t){var e=oy(t),n=Cm[e].label;return{username:Object.assign(Object.assign({},ay(t)),{label:"Enter your ".concat(n.toLowerCase()),placeholder:"Enter your ".concat(n.toLowerCase())})}},confirmResetPassword:function(t){return Object.assign(Object.assign({},sy(t)),{password:Object.assign(Object.assign({},ry(t,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:Object.assign(Object.assign({},ry(t,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:sy,setupTOTP:sy};function ly(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})}var uy=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21,e="",n=crypto.getRandomValues(new Uint8Array(t));t--;){var i=63&n[t];e+=i<36?i.toString(36):i<62?(i-26).toString(36).toUpperCase():i<63?"_":"-"}return e},dy=n(82885),hy=n.n(dy),py=n(6877);function fy(t,e){1&t&&r.Hsn(0,0,["*ngIf","!isOverriden"])}function gy(t,e){if(1&t&&r.GkF(0,2),2&t){var n=r.oxw();r.Q6J("ngTemplateOutlet",n.overridingComponent)("ngTemplateOutletContext",n.context)}}var _y=["*"];function my(t,e){1&t&&r.Hsn(0,0,["*ngIf","active"])}function vy(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",3),r.NdJ("click",function(){var t=r.CHM(n).$implicit;return r.oxw().handleTabClick(t)}),r._uU(1),r.qZA()}if(2&t){var i=e.$implicit;r.Q6J("id",i.labelledById)("tabindex",i.active?"0":"1"),r.uIk("aria-selected",i.active)("aria-controls",i.id)("data-state",i.active?"active":"inactive"),r.xp6(1),r.hij(" ",i.title," ")}}var yy=["amplify-button",""];function Cy(t,e){if(1&t&&(r.TgZ(0,"amplify-federated-sign-in-button",5),r.O4$(),r.TgZ(1,"svg",6),r._UZ(2,"path",7),r.qZA(),r.kcU(),r.TgZ(3,"p",8),r._uU(4),r.qZA(),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("text",n.signInAmazonText)("provider",n.FederatedProviders.Amazon),r.xp6(4),r.hij(" ",n.signInAmazonText," ")}}function by(t,e){if(1&t&&(r.TgZ(0,"amplify-federated-sign-in-button",9),r.O4$(),r.TgZ(1,"svg",10),r._UZ(2,"path",11),r.qZA(),r.kcU(),r.TgZ(3,"p",8),r._uU(4),r.qZA(),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("provider",n.FederatedProviders.Apple),r.xp6(4),r.hij(" ",n.signInAppleText," ")}}function Oy(t,e){if(1&t&&(r.TgZ(0,"amplify-federated-sign-in-button",5),r.O4$(),r.TgZ(1,"svg",12),r._UZ(2,"path",13),r.qZA(),r.kcU(),r.TgZ(3,"p",8),r._uU(4),r.qZA(),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("text",n.signInFacebookText)("provider",n.FederatedProviders.Facebook),r.xp6(4),r.hij(" ",n.signInFacebookText," ")}}function Py(t,e){if(1&t&&(r.TgZ(0,"amplify-federated-sign-in-button",9),r.O4$(),r.TgZ(1,"svg",14),r._UZ(2,"path",15),r._UZ(3,"path",16),r._UZ(4,"path",17),r._UZ(5,"path",18),r.qZA(),r.kcU(),r.TgZ(6,"p",8),r._uU(7),r.qZA(),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("provider",n.FederatedProviders.Google),r.xp6(7),r.hij(" ",n.signInGoogleText," ")}}function wy(t,e){if(1&t&&(r.TgZ(0,"div",1),r.YNc(1,Cy,5,3,"amplify-federated-sign-in-button",2),r.YNc(2,by,5,2,"amplify-federated-sign-in-button",3),r.YNc(3,Oy,5,3,"amplify-federated-sign-in-button",2),r.YNc(4,Py,8,2,"amplify-federated-sign-in-button",3),r._UZ(5,"hr",4),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("ngIf",n.includeAmazon),r.xp6(1),r.Q6J("ngIf",n.includeApple),r.xp6(1),r.Q6J("ngIf",n.includeFacebook),r.xp6(1),r.Q6J("ngIf",n.includeGoogle),r.xp6(1),r.uIk("data-label",n.orText)}}function My(t,e){if(1&t&&(r.TgZ(0,"option",7),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw();r.Q6J("value",n)("selected",n===i.defaultValue),r.xp6(1),r.hij(" ",n," ")}}function xy(t,e){1&t&&(r.O4$(),r.TgZ(0,"svg",4),r._UZ(1,"path",5),r.qZA())}function ky(t,e){1&t&&(r.O4$(),r.TgZ(0,"svg",4),r._UZ(1,"path",6),r._UZ(2,"path",7),r.qZA())}function Sy(t,e){if(1&t&&r._UZ(0,"amplify-phone-number-field",5),2&t){var n=r.oxw();r.Q6J("name",n.name)("label",n.formField.label)("defaultCountryCode",n.formField.dialCode)("dialCodeList",n.formField.dialCodeList)("placeholder",n.formField.placeholder)("required",n.formField.isRequired)("labelHidden",n.formField.labelHidden)("autocomplete",n.formField.autocomplete)("hasError",n.hasError)("describedBy",n.ariaDescribedBy)}}function Ay(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"amplify-password-field",6),r.NdJ("setBlur",function(t){return r.CHM(n),r.oxw().onBlur(t)}),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("name",i.name)("label",i.formField.label)("placeholder",i.formField.placeholder)("required",i.formField.isRequired)("labelHidden",i.formField.labelHidden)("autocomplete",i.formField.autocomplete)("hasError",i.hasError)("describedBy",i.ariaDescribedBy)}}function Ty(t,e){if(1&t&&r._UZ(0,"amplify-text-field",7),2&t){var n=r.oxw();r.Q6J("name",n.name)("label",n.formField.label)("placeholder",n.formField.placeholder)("required",n.formField.isRequired)("labelHidden",n.formField.labelHidden)("autocomplete",n.formField.autocomplete)("type",n.formField.type)("hasError",n.hasError)("describedBy",n.ariaDescribedBy)}}function Iy(t,e){if(1&t&&(r.TgZ(0,"div",10),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw(2);r.xp6(1),r.hij(" ",i.translate(n)," ")}}function Ey(t,e){if(1&t&&(r.TgZ(0,"div",8),r.YNc(1,Iy,2,1,"div",9),r.qZA()),2&t){var n=r.oxw();r.Q6J("id",n.errorId),r.xp6(1),r.Q6J("ngForOf",n.errors)}}function Dy(t,e){if(1&t&&(r.ynx(0),r._UZ(1,"amplify-form-field",1),r.BQk()),2&t){var n=e.$implicit;r.xp6(1),r.Q6J("name",n[0])("formField",n[1])}}function Ry(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",1),r.TgZ(1,"div",2),r.O4$(),r.TgZ(2,"svg",3),r._UZ(3,"path",4),r.qZA(),r.kcU(),r.TgZ(4,"div"),r.Hsn(5),r.qZA(),r.qZA(),r.TgZ(6,"button",5),r.NdJ("click",function(){return r.CHM(n),r.oxw().close()}),r.O4$(),r.TgZ(7,"svg",3),r._UZ(8,"path",6),r.qZA(),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(2),r.uIk("aria-hidden",!0),r.xp6(4),r.Q6J("fullWidth",!1),r.uIk("aria-label",i.dismissAriaLabel),r.xp6(1),r.uIk("aria-hidden",!0)}}function Fy(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function Ly(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function Zy(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function Ny(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function Uy(t,e){1&t&&(r.TgZ(0,"p"),r._uU(1,"Loading..."),r.qZA())}function Vy(t,e){if(1&t&&r._UZ(0,"img",15),2&t){var n=r.oxw();r.Q6J("src",n.qrCodeSource,r.LSH)}}function jy(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function zy(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function qy(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function By(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function Yy(t,e){if(1&t&&(r.TgZ(0,"div"),r._UZ(1,"input",9),r.TgZ(2,"label",10),r._uU(3),r.qZA(),r.qZA()),2&t){var n=e.$implicit,i=r.oxw();r.xp6(1),r.Q6J("value",n.key)("id",i.labelId),r.xp6(1),r.Q6J("for",i.labelId),r.xp6(1),r.Oqu(i.getLabel(n.key))}}function Gy(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function Hy(t,e){if(1&t&&(r.TgZ(0,"amplify-error"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" ",n.authenticator.error," ")}}function Jy(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",20),r._UZ(1,"amplify-sign-in"),r.qZA()),2&t){var n=r.oxw(3);r.Q6J("context",n.context)}}function Wy(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",21),r._UZ(1,"amplify-sign-up"),r.qZA()),2&t){var n=r.oxw(3);r.Q6J("context",n.context)}}function Qy(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"amplify-tabs",17),r.NdJ("tabChange",function(){return r.CHM(n),r.oxw(2).onTabChange()}),r.TgZ(1,"amplify-tab-item",18),r.YNc(2,Jy,2,1,"amplify-slot",7),r.qZA(),r.TgZ(3,"amplify-tab-item",18),r.YNc(4,Wy,2,1,"amplify-slot",19),r.qZA(),r.qZA()}if(2&t){var i=r.oxw(2);
1r.xp6(1),r.Q6J("title",i.signInTitle)("active","signIn"===i.route),r.xp6(1),r.Q6J("ngIf","signIn"===i.route),r.xp6(1),r.Q6J("title",i.signUpTitle)("active","signUp"===i.route),r.xp6(1),r.Q6J("ngIf","signUp"===i.route)}}function Ky(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",20),r._UZ(1,"amplify-sign-in"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function Xy(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",22),r._UZ(1,"amplify-confirm-sign-up"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function $y(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",23),r._UZ(1,"amplify-confirm-sign-in"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function tC(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",24),r._UZ(1,"amplify-setup-totp"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function eC(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",25),r._UZ(1,"amplify-force-new-password"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function nC(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",26),r._UZ(1,"amplify-reset-password"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function iC(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",27),r._UZ(1,"amplify-confirm-reset-password"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function oC(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",28),r._UZ(1,"amplify-verify-user"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function rC(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",29),r._UZ(1,"amplify-confirm-verify-user"),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("context",n.context)}}function aC(t,e){if(1&t&&(r.TgZ(0,"div",2),r.TgZ(1,"div",3),r._UZ(2,"amplify-slot",4),r.TgZ(3,"div",5),r.YNc(4,Qy,5,6,"amplify-tabs",6),r.YNc(5,Ky,2,1,"amplify-slot",7),r.YNc(6,Xy,2,1,"amplify-slot",8),r.YNc(7,$y,2,1,"amplify-slot",9),r.YNc(8,tC,2,1,"amplify-slot",10),r.YNc(9,eC,2,1,"amplify-slot",11),r.YNc(10,nC,2,1,"amplify-slot",12),r.YNc(11,iC,2,1,"amplify-slot",13),r.YNc(12,oC,2,1,"amplify-slot",14),r.YNc(13,rC,2,1,"amplify-slot",15),r.qZA(),r._UZ(14,"amplify-slot",16),r.qZA(),r.qZA()),2&t){var n=r.oxw();r.uIk("data-variation",n.variation),r.xp6(2),r.Q6J("context",n.context),r.xp6(1),r.uIk("data-amplify-router-content",n.hasTabs()?void 0:""),r.xp6(1),r.Q6J("ngIf",("signIn"===n.route||"signUp"===n.route)&&!n.hideSignUp),r.xp6(1),r.Q6J("ngIf","signIn"===n.route&&n.hideSignUp),r.xp6(1),r.Q6J("ngIf","confirmSignUp"===n.route),r.xp6(1),r.Q6J("ngIf","confirmSignIn"===n.route),r.xp6(1),r.Q6J("ngIf","setupTOTP"===n.route),r.xp6(1),r.Q6J("ngIf","forceNewPassword"===n.route),r.xp6(1),r.Q6J("ngIf","resetPassword"===n.route),r.xp6(1),r.Q6J("ngIf","confirmResetPassword"===n.route),r.xp6(1),r.Q6J("ngIf","verifyUser"===n.route),r.xp6(1),r.Q6J("ngIf","confirmVerifyUser"===n.route),r.xp6(1),r.Q6J("context",n.context)}}function sC(t,e){if(1&t&&(r.TgZ(0,"amplify-slot",30),r.Hsn(1),r.qZA()),2&t){var n=r.oxw();r.Q6J("context",n.context)}}var cC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.template=e}return _createClass(t,[{key:"amplifySlot",set:function(t){this.name=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","amplifySlot",""]],inputs:{amplifySlot:"amplifySlot"}}),t}(),lC=function(){var t=function(){function t(){_classCallCheck(this,t),this._customComponents={}}return _createClass(t,[{key:"customComponents",get:function(){return this._customComponents},set:function(t){this._customComponents=Object.assign(Object.assign({},this._customComponents),t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),uC=new zr("state-machine"),dC=function(){var t=function(){function t(){_classCallCheck(this,t),this._authStatus="configuring";var e=am({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:lv,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setA
1ctorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:_v([{cond:"hasActor",actions:Z_(function(t){return t.actorRef})}]),setUser:F_({user:function(t,e){return e.data}}),setActorDoneData:F_({actorDoneData:function(t,e){var n,i;return{authAttributes:Object.assign({},null===(n=e.data)||void 0===n?void 0:n.authAttributes),intent:null===(i=e.data)||void 0===i?void 0:i.intent}},user:function(t,e){var n;return null===(n=e.data)||void 0===n?void 0:n.user}}),clearUser:F_({user:void 0}),clearActorDoneData:F_({actorDoneData:void 0}),applyAmplifyConfig:F_({config:function(t,e){var n,i,o,r,a,s,c,l,u,d=null!==(i=null===(n=e.data.aws_cognito_username_attributes)||void 0===n?void 0:n.map(function(t){return t.toLowerCase()}))&&void 0!==i?i:[],h=null!==(r=null===(o=e.data.aws_cognito_verification_mechanisms)||void 0===o?void 0:o.map(function(t){return t.toLowerCase()}))&&void 0!==r?r:[],p=null!==(s=null===(a=e.data.aws_cognito_signup_attributes)||void 0===a?void 0:a.map(function(t){return t.toLowerCase()}))&&void 0!==s?s:[],f=null!==(l=null===(c=e.data.aws_cognito_social_providers)||void 0===c?void 0:c.map(function(t){return t.toLowerCase()}))&&void 0!==l?l:[],g=e.data.aws_cognito_password_protection_settings||{};0===d.length&&d.push("username");var _=t.config,m=_.loginMechanisms,v=_.signUpAttributes,y=_.socialProviders,C=_.initialState;return{loginMechanisms:null!=m?m:d,formFields:null!==(u=mv(_.formFields))&&void 0!==u?u:{},passwordSettings:g,signUpAttributes:null!=v?v:Array.from(new Set([].concat(_toConsumableArray(h),_toConsumableArray(p)))),socialProviders:null!=y?y:f.sort(),initialState:C}}}),spawnSignInActor:F_({actorRef:function(t,e){var n,i,o,r,a,s,c,l=function(t){var e=t.services;return am({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}}
1,confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:function(t){return{user:t.user}}},rejected:{type:"final",data:function(t,e){return{intent:t.redirectIntent,authAttributes:t.authAttributes}}}}},{actions:{clearAttributeToVerify:Dm,clearChallengeName:Rm,clearRequiredAttributes:Fm,clearError:Lm,clearFormValues:Zm,clearTouched:Nm,clearUnverifiedContactMethods:Um,clearValidationError:jm,handleInput:ev,handleSubmit:nv,handleBlur:iv,parsePhoneNumber:rv,setChallengeName:qm,setConfirmResetPasswordIntent:Ym,setConfirmSignUpIntent:Gm,setRequiredAttributes:Bm,setCredentials:Hm,setFieldErrors:Jm,setRemoteError:Wm,setTotpSecretCode:zm,setUnverifiedContactMethods:Qm,setUser:Km,setUsernameAuthAttributes:tv,sendUpdate:L_()},guards:{shouldAutoSignIn:function(t){return"autoSignIn"===(null==t?void 0:t.intent)},shouldAutoSubmit:function(t){return"autoSignInSubmit"===(null==t?void 0:t.intent)},shouldConfirmSignIn:function(t,e){return pv(dv(e))},shouldForceChangePassword:function(t,e){return hv(dv(e),"NEW_PASSWORD_REQUIRED")}
1,shouldRedirectToConfirmResetPassword:function(t,e){return"PasswordResetRequiredException"===e.data.code},shouldRedirectToConfirmSignUp:function(t,e){return"UserNotConfirmedException"===e.data.code},shouldRequestVerification:function(t,e){var n=e.data,i=n.unverified;return Mm(n.verified)&&!Mm(i)},shouldSetupTOTP:function(t,e){return hv(dv(e),"MFA_SETUP")}},services:{signIn:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a,s,c,l;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.authAttributes,o=void 0===i?{}:i,r=t.formValues,a=void 0===r?{}:r,s=Object.assign(Object.assign({},o),a),c=s.username,l=s.password,n.next=3,e.handleSignIn({username:c,password:l});case 3:return n.abrupt("return",n.sent);case 4:case"end":return n.stop()}},n)}))},confirmSignIn:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.challengeName,o=t.user,r=t.formValues.confirmation_code,a=pv(i)?i:void 0,n.next=3,e.handleConfirmSignIn({user:o,code:r,mfaType:a});case 3:return n.next=5,Xc.currentAuthenticatedUser();case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}},n)}))},forceNewPassword:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i,o,r,a,s,c,l;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.user,i=t.formValues,r=i.password,a=i.phone_number,s=i.country_code,c=Qf(i,["password","confirm_password","phone_number","country_code"]),a&&(o="".concat(s).concat(a).replace(/[^A-Z0-9+]/gi,""),c=Object.assign(Object.assign({},c),{phone_number:o})),e.prev=3,e.next=6,Xc.completeNewPassword(n,r,c);case 6:return l=e.sent,e.abrupt("return",l.challengeName?l:Xc.currentAuthenticatedUser());case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",Promise.reject(e.t0));case 13:case"end":return e.stop()}},e,null,[[3,10]])}))},getTotpSecretCode:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.user,e.abrupt("return",Xc.setupTOTP(n));case 2:case"end":return e.stop()}},e)}))},verifyTotpToken:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i,o;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.formValues,i=t.user,o=n.confirmation_code,e.abrupt("return",Xc.verifyTotpToken(i,o));case 2:case"end":return e.stop()}},e)}))},federatedSignIn:function(t,e){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var n;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.data.provider,t.next=3,Xc.federatedSignIn({provider:n});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t)}))},checkVerifiedContact:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.user,e.next=3,Xc.verifiedContact(n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))},verifyUser:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.formValues.unverifiedAttr,e.next=3,Xc.verifyCurrentUserAttribute(n);case 3:return i=e.sent,e.abrupt("return",(t.attributeToVerify=n,i));case 5:case"end":return e.stop()}},e)}))},confirmVerifyUser:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.attributeToVerify,i=t.formValues.confirmation_code,e.next=3,Xc.verifyCurrentUserAttributeSubmit(n,i);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))},validateFields:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",cv(t.formValues,t.touched,t.passwordSettings,[lv.validateFormPassword,lv.validateConfirmPassword]));case 1:case"end":return e.stop()}},e)}))}}})}({services:t.services}).withContext({authAttributes:null!==(i=null===(n=t.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==i?i:{},user:t.user,intent:null===(o=t.actorDoneData)||void 0===o?void 0:o.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:null===(r=t.config)||void 0===r?void 0:r.passwordSettings,loginMechanisms:null===(a=t.config)||void 0===a?void 0:a.loginMechanisms,socialProviders:null===(s=t.config)||void 0===s?void 0:s.socialProviders,formFields:null===(c=t.config)||void 0===c?void 0:c.formFields});return _m(l,{name:"signInActor"})}}),spawnSignUpActor:F_({actorRef:function(t,e){var n,i,o,r,a,s,c,l=function(t){var e=t.services;return am({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]}
1,signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:function(t,e){var n=t.authAttributes,i=n.username,o=n.password;return{user:av(e,"data.user")||t.user,authAttributes:{username:i,password:o},intent:t.intent}}}}},{guards:{isUserAlreadyConfirmed:function(t,e){return"User is already confirmed."===e.data.message},shouldInitConfirmSignUp:function(t){return t.intent&&"confirmSignUp"===t.intent},shouldSkipConfirm:function(t,e){return e.data.userConfirmed}},actions:{clearError:Lm,clearFormValues:Zm,clearTouched:Nm,clearValidationError:jm,handleInput:ev,handleSubmit:nv,handleBlur:iv,parsePhoneNumber:rv,setCredentials:Hm,setFieldErrors:Jm,setRemoteError:Wm,setCodeDeliveryDetails:$m,setUser:Km,sendUpdate:L_(),setAutoSignInIntent:F_({intent:function(t){return"confirmSignUp"===(null==t?void 0:t.intent)?"autoSignInSubmit":"autoSignIn"}})},services:{confirmSignUp:function(t,n){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a,s;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.user,o=t.authAttributes,r=t.formValues,a=r.confirmation_code,s=av(i,"username")||av(o,"username"),n.next=3,e.handleConfirmSignUp({username:s,code:a});case 3:return n.abrupt("return",n.sent);case 4:case"end":return n.stop()}},n)}))},resendConfirmationCode:function(t,e){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i,o;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.user,i=t.authAttributes,o=av(n,"username")||av(i,"username"),e.abrupt("return",Xc.resendSignUp(o));case 2:case"end":return e.stop()}},e)}))},federatedSignIn:function(t,e){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var n;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.data.provider,t.next=3,Xc.federatedSignIn({provider:n});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t)}))},signUp:function(t,n){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a,s,c,l;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.formValues,o=t.loginMechanisms,r=_slicedToArray(o,1),a=r[0],s=i[void 0===a?"username":a],c=i.password,l=gv(i,function(t,e){switch(e){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return e.startsWith("custom:")}}),n.next=3,e.handleSignUp({username:s,password:c,attributes:l});case 3:return n.abrupt("return",n.sent);case 4:case"end":return n.stop()}},n)}))},validateSignUp:function(t,n){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",cv(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp]));case 1:case"end":return n.stop()}},n)}))}}})}({services:t.services}).withContext({authAttributes:null!==(i=null===(n=t.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==i?i:{},country_code:"+1",intent:null===(o=t.actorDoneData)||void 0===o?void 0:o.intent,formValues:{},touched:{},validationError:{},loginMechanisms:null===(r=t.config)||void 0===r?void 0:r.loginMechanisms,socialProviders:null===(a=t.config)||void 0===a?void 0:a.socialProviders,formFields:null===(s=t.config)||void 0===s?void 0:s.formFields,passwordSettings:null===(c=t.config)||void 0===c?void 0:c.passwordSettings});return _m(l,{name:"signUpActor"})}}),spawnResetPasswordActor:F_({actorRef:function(t,e){var n,i,o,r,a,s=function(t){var e=t.services;return am({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]}
1,resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:Lm,clearFormValues:Zm,clearTouched:Nm,clearUsername:Vm,clearValidationError:jm,handleInput:ev,handleSubmit:nv,handleBlur:iv,resendCode:ov,setFieldErrors:Jm,setRemoteError:Wm,setUsername:Xm,sendUpdate:L_()},guards:{shouldAutoConfirmReset:function(t,e){return!(!t.intent||"confirmPasswordReset"!==t.intent)}},services:{resetPassword:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.username,n.abrupt("return",e.handleForgotPassword(i));case 2:case"end":return n.stop()}},n)}))},confirmResetPassword:function(t){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.username,o=t.formValues,r=o.confirmation_code,a=o.password,n.abrupt("return",e.handleForgotPasswordSubmit({username:i,code:r,password:a}));case 2:case"end":return n.stop()}},n)}))},validateFields:function(t,e){return Kf(this,void 0,void 0,_regeneratorRuntime().mark(function e(){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",cv(t.formValues,t.touched,t.passwordSettings,[lv.validateFormPassword,lv.validateConfirmPassword]));case 1:case"end":return e.stop()}},e)}))}}})}({services:t.services}).withContext({formValues:{},touched:{},intent:null===(n=t.actorDoneData)||void 0===n?void 0:n.intent,username:null===(o=null===(i=t.actorDoneData)||void 0===i?void 0:i.authAttributes)||void 0===o?void 0:o.username,formFields:null===(r=t.config)||void 0===r?void 0:r.formFields,validationError:{},passwordSettings:null===(a=t.config)||void 0===a?void 0:a.passwordSettings});return _m(s,{name:"resetPasswordActor"})}}),spawnSignOutActor:F_({actorRef:function(t){return _m(fv.withContext({user:t.user}),{name:"signOutActor"})}}),stopSignInActor:Em("signInActor"),stopSignUpActor:Em("signUpActor"),stopResetPasswordActor:Em("resetPasswordActor"),stopSignOutActor:Em("signOutActor"),configure:F_(function(t,e){var n=e.data,i=n.services,o=Qf(n,["services"]);return{services:Object.assign(Object.assign({},lv),i),config:o}}),setHasSetup:F_({hasSetup:!0})},guards:{isInitialStateSignUp:function(t){return"signUp"===t.config.initialState},isInitialStateResetPassword:function(t){return"resetPassword"===t.config.initialState},shouldRedirectToSignUp:function(t,e){var n;return"confirmSignUp"===(null===(n=e.data)||void 0===n?void 0:n.intent)},shouldRedirectToResetPassword:function(t,e){var n;return"confirmPasswordReset"===(null===(n=e.data)||void 0===n?void 0:n.intent)},shouldAutoSignIn:function(t,e){var n,i;return"autoSignIn"===(null===(n=e.data)||void 0===n?void 0:n.intent)||"autoSignInSubmit"===(null===(i=e.data)||void 0===i?void 0:i.intent)},shouldSetup:function(t){return!1===t.hasSetup},hasActor:function(t){return!!t.actorRef}},services:{getCurrentUser:function(t,e){return t.services.getCurrentUser()},getAmplifyConfig:function(t,e){return t.services.getAmplifyConfig()}}});this._authService=mm(e).start(),this.setupMachineSubscription(),this.setupHubListener(),this.getInitialAuthStatus()}return _createClass(t,[{key:"error",get:function(){var t;return kv(null===(t=this._facade)||void 0===t?void 0:t.error)}},{key:"hasValidationErrors",get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.hasValidationErrors}},{key:"isPending",get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.isPending}},{key:"route",get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.route}},{key:"authStatus",get:function(){return this._authStatus}},{key:"user",get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.user}},{key:"validationErrors",get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.validationErrors}},{key:"codeDeliveryDetails",get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.codeDeliveryDetails}},{key:"totpSecretCode",get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.totpSecretCode}},{key:"initializeMachine",get:function(){return this._facade.initializeMachine}},{key:"updateForm",get:function(){return this._facade.updateForm}},{key:"updateBlur",get:function(){return this._facade.updateBlur}},{key:"resendCode",get:function(){return this._facade.resendCode}},{key:"signOut",get:function(){return this._facade.signOut}},{key:"submitForm",get:function(){return this._facade.submitForm}},{key:"toFederatedSignIn",get:function(){return this._facade.toFederatedSignIn}},{key:"toResetPassword",get:function(){return this._facade.toResetPassword}},{key:"toSignIn",get:function(){return this._facade.toSignIn}},{key:"toSignUp",get:function(){return this._facade.toSignUp}},{key:"skipVerification",get:function(){return this._facade.skipVerification}},{key:"authState",get:function(){return this._authState}},{key:"authService",get:function(){return this._authService}},{key:"context",get:function(){return this._authState.context}},{key:"slotContext",get:function(){return Object.assign(Object.assign({},this._facade),{$implicit:this._facade})}},{key:"hubSubject",get:function(){return this._hubSubject}},{key:"subscribe",value:function(t){var e=this;return this._authService||uC.error("Subscription attempted before machine was created. This is likely a bug on the library, please consider filing a bug."),this._authService.subscribe(function(){t(e._facade)})}},{key:"ngOnDestroy",value:function(){this._machineSubscription&&this._machineSubscription.unsubscribe(),this._unsubscribeHub&&this._unsubscribeHub()}},{key:"send",value:function(t){this.authService.send(t)}},{key:"getInitialAuthStatus",value:function(){return ly(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Xc.currentAuthenticatedUser();case 3:this._authStatus="authenticated",t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),this._authStatus="unauthenticated";case 9:case"end":return t.stop()}},t,this,[[0,6]])}))}},{key:"setupHubListener",value:function(){var t=this;
1this._hubSubject=new we.xQ;var e=function(){t._authStatus="authenticated"},n=function(){t._authStatus="unauthenticated"};this._unsubscribeHub=function(e){var n,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Am;return Wr.listen("auth",(n=t._authService,i=o,function(t){i(t,n)}),"authenticator-hub-handler")}(0,function(i,o){return ly(t,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Am(i,o,{onSignIn:e,onSignOut:n});case 2:this._hubSubject.next();case 3:case"end":return t.stop()}},t,this)}))})}},{key:"setupMachineSubscription",value:function(){var t=this;this._machineSubscription=this._authService.subscribe(function(e){var n=e;t._authState=n,t._facade=function(t){var e=t.state,n=function(t){var e=function(e){return function(n){return t({type:e,data:n})}};return{initializeMachine:e("INIT"),resendCode:e("RESEND"),signOut:e("SIGN_OUT"),submitForm:e("SUBMIT"),updateForm:e("CHANGE"),updateBlur:e("BLUR"),toFederatedSignIn:e("FEDERATED_SIGN_IN"),toResetPassword:e("RESET_PASSWORD"),toSignIn:e("SIGN_IN"),toSignUp:e("SIGN_UP"),skipVerification:e("SKIP")}}(t.send),i=function(t){var e,n,i,o,r,a=null!==(e=Pm(t))&&void 0!==e?e:{},s=a.codeDeliveryDetails,c=a.remoteError,l=a.unverifiedContactMethods,u=a.validationError,d=a.totpSecretCode,h=void 0===d?null:d,p=(null!==(i=null===(n=t.context)||void 0===n?void 0:n.config)&&void 0!==i?i:{}).socialProviders,f=null!==(o=null==a?void 0:a.user)&&void 0!==o?o:null===(r=t.context)||void 0===r?void 0:r.user,g=u&&Object.keys(u).length>0,_=Om(t),m=t.hasTag("pending")||(null==_?void 0:_.hasTag("pending")),v=function(){switch(!0){case t.matches("idle"):return"idle";case t.matches("setup"):return"setup";case t.matches("signOut"):return"signOut";case t.matches("authenticated"):return"authenticated";case null==_?void 0:_.matches("confirmSignUp"):return"confirmSignUp";case null==_?void 0:_.matches("confirmSignIn"):return"confirmSignIn";case null==_?void 0:_.matches("setupTOTP.edit"):case null==_?void 0:_.matches("setupTOTP.submit"):return"setupTOTP";case null==_?void 0:_.matches("signIn"):return"signIn";case null==_?void 0:_.matches("signUp"):return"signUp";case null==_?void 0:_.matches("forceNewPassword"):return"forceNewPassword";case null==_?void 0:_.matches("resetPassword"):return"resetPassword";case null==_?void 0:_.matches("confirmResetPassword"):return"confirmResetPassword";case null==_?void 0:_.matches("verifyUser"):return"verifyUser";case null==_?void 0:_.matches("confirmVerifyUser"):return"confirmVerifyUser";case null==_?void 0:_.matches("setupTOTP.getTotpSecretCode"):case t.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",t.value),null}}();return{authStatus:function(t){switch(t){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(v),codeDeliveryDetails:s,error:c,hasValidationErrors:g,isPending:m,route:v,socialProviders:p,totpSecretCode:h,unverifiedContactMethods:l,user:f,validationErrors:u}}(e);return Object.assign(Object.assign({},n),i)}({send:t._authService.send,state:n})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),hC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.propService=e,this.display="contents",this.isOverriden=!1}return _createClass(t,[{key:"ngAfterContentInit",value:function(){var t=this.propService.customComponents[this.name];t&&(this.overridingComponent=t,this.isOverriden=!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(lC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-slot"]],hostVars:2,hostBindings:function(t,e){2&t&&r.Udp("display",e.display)},inputs:{name:"name",context:"context"},ngContentSelectors:_y,decls:2,vars:2,consts:[[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,fy,1,0,"ng-content",0),r.YNc(1,gy,1,2,"ng-container",1)),2&t&&(r.Q6J("ngIf",!e.isOverriden),r.x
1p6(1),r.Q6J("ngIf",e.isOverriden))},directives:[_t,Pt],encapsulation:2}),t}(),pC=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.active=!1,this.display="block"});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-tab-item"]],hostVars:2,hostBindings:function(t,e){2&t&&r.Udp("display",e.display)},inputs:{title:"title",active:"active",id:"id",labelledById:"labelledById",tabIndex:"tabIndex"},ngContentSelectors:_y,decls:2,vars:5,consts:[["data-orientation","horizontal","role","tabpanel",3,"id"],[4,"ngIf"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.YNc(1,my,1,0,"ng-content",1),r.qZA()),2&t&&(r.Q6J("id",e.id),r.uIk("aria-labelledby",e.labelledById)("data-state",e.active?"active":"inactive")("tabindex",e.tabIndex),r.xp6(1),r.Q6J("ngIf",e.active))},directives:[_t],encapsulation:2}),t}(),fC=function(){var t=function(){function t(){_classCallCheck(this,t),this.tabChange=new r.vpe}return _createClass(t,[{key:"ngAfterContentInit",value:function(){this.tabs.forEac
1h(function(t,e){t.id="radix-id-".concat(uy(12),"-1-content-").concat(e),t.labelledById="radix-id-".concat(uy(12),"-1-trigger-").concat(e)}),1!==this.tabs.filter(function(t){return t.active}).length&&this.selectTab(this.tabs.first)}},{key:"selectTab",value:function(t){this.tabs.forEach(function(t){t.active=!1}),t.active=!0}},{key:"handleTabClick",value:function(t){t.active||(this.tabChange.emit(),this.selectTab(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-tabs"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,pC,4),2&t)&&(r.iGM(i=r.CRH())&&(e.tabs=i))},outputs:{tabChange:"tabChange"},ngContentSelectors:_y,decls:4,vars:1,consts:[["tabindex","0","aria-orientation","horizontal","data-orientation","horizontal","role","tablist",2,"outline","none"],["data-indicator-position","top",1,"amplify-flex","amplify-tabs",2,"gap","0px","justify-content","center"],["class","amplify-tabs-item","data-spacing","equal","data-orientation","horizontal","role","tab",3,"id","tabindex","click",4,"ngFor","ngForOf"],["data-spacing","equal","data-orientation","horizontal","role","tab",1,"amplify-tabs-item",3,"id","tabindex","click"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.YNc(2,vy,2,6,"div",2),r.qZA(),r.qZA(),r.Hsn(3)),2&t&&(r.xp6(2),r.Q6J("ngForOf",e.tabs))},directives:[ft],encapsulation:2}),t}(),gC=function(){var t=function(){function t(){_classCallCheck(this,t),this.type="button",this.fullWidth=!1,this.isDisabled=!1,this.size="medium",this.variation="default",this.fontWeight="normal"}return _createClass(t,[{key:"getDisabled",get:function(){return this.isDisabled?"":null}},{key:"classNames",get:function(){var t="amplify-button";return this.variation&&(t+=" amplify-button--".concat(this.variation)),this.size&&(t+=" amplify-button--".concat(this.size)),this.fullWidth&&(t+=" amplify-button--fullwidth"),this.isDisabled&&(t+=" amplify-button--disabled amplify-button--loading"),t}},{key:"ngOnInit",value:function(){this.typeAttr=this.type,this.fullWidthAttr=this.fullWidth,this.sizeAttr=this.size,this.variationAttr=this.variation,this.fontWeightAttr=this.fontWeight}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","amplify-button",""]],hostVars:9,hostBindings:function(t,e){2&t&&(r.Ikx("type",e.typeAttr),r.uIk("data-fullwidth",e.fullWidthAttr)("data-size",e.sizeAttr)("data-variation",e.variationAttr)("disabled",e.getDisabled),r.Tol(e.classNames),r.Udp("font-weight",e.fontWeightAttr))},inputs:{type:"type",fullWidth:"fullWidth",isDisabled:"isDisabled",size:"size",variation:"variation",fontWeight:"fontWeight"},attrs:yy,ngContentSelectors:_y,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},encapsulation:2}),t}(),_C=function(){var t=_createClass(function t(e){var n=this;_classCallCheck(this,t),this.authenticator=e,this.onClick=function(){n.authenticator.send({type:"FEDERATED_SIGN_IN",data:{provider:n.provider}})}});return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-federated-sign-in-button"]],inputs:{provider:"provider",text:"text"},ngContentSelectors:_y,decls:3,vars:0,consts:[["amplify-button","","fullWidth","true","fontWeight","normal",1,"amplify-field-group__control","federated-sign-in-button",3,"click"],[1,"amplify-flex","federated-sign-in-button-row"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onClick()}),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.qZA())},directives:[gC],encapsulation:2}),t}(),mC=Kv,vC=Lv,yC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.FederatedProviders=Sv,this.includeAmazon=!1,this.includeApple=!1,this.includeFacebook=!1,this.includeGoogle=!1,this.shouldShowFederatedSignIn=!1}return _createClass(t,[{key:"ngOnInit",value:function(){var t,e=(null===(t=this.authenticator.context)||void 0===t?void 0:t.config).socialProviders;this.setFederatedTexts(),this.includeAmazon=null==e?void 0:e.includes("amazon"),this.includeApple=null==e?void 0:e.includes("apple"),this.includeGoogle=null==e?void 0:e.includes("google"),this.includeFacebook=null==e?void 0:e.includes("facebook"),this.shouldShowFederatedSignIn=this.includeAmazon||this.includeApple||this.includeFacebook||this.includeGoogle}},{key:"setFederatedTexts",value:function(){var t=this.authenticator.route;this.orText=vC(),this.signInAmazonText=mC(t,"amazon"),this.signInAppleText=mC(t,"apple"),this.signInFacebookText=mC(t,"facebook"),this.signInGoogleText=mC(t,"google")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-federated-sign-in"]],decls:1,vars:1,consts:[["class","amplify-flex federated-sign-in-container","data-orientation","horizontal","data-size","small",4,"ngIf"],["data-orientation","horizontal","data-size","small",1,"amplify-flex","federated-sign-in-container"],[3,"text","provider",4,"ngIf"],[3,"provider",4,"ngIf"],["aria-orientation","horizontal","data-size","small",1,"amplify-divider","amplify-divider--label","amplify-divider--small"],[3,"text","provider"],["aria-label","Amazon icon","viewBox","0 0 248 268",1,"amplify-icon","federated-sign-in-icon"],["d","M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C2
117.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z","fill","#FF9900"],[1,"amplify-text","amplify-authenticator__federated-text"],[3,"provider"],["aria-label","Apple icon","fill","#000","preserveAspectRatio","xMidYMid","stroke","#000","strokeWidth","0","viewBox","0 0 1024 1024","xmlns","http://www.w3.org/2000/svg",1,"amplify-icon","federated-sign-in-icon"],["d","M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"],["aria-label","Facebook icon","viewBox","0 0 279 538",1,"amplify-icon","federated-sign-in-icon"],["d","M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z","fill","#1877F2"],["aria-label","Google icon","viewBox","0 0 256 262","xmlns","http://www.w3.org/2000/svg","preserveAspectRatio","xMidYMid",1,"amplify-icon","federated-sign-in-icon"],["d","M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027","fill","#4285F4"],["d","M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1","fill","#34A853"],["d","M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782","fill","#FBBC05"],["d","M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251","fill","#EB4335"]],template:function(t,e){1&t&&r.YNc(0,wy,6,5,"div",0),2&t&&r.Q6J("ngIf",e.shouldShowFederatedSignIn)},directives:[_t,_C],encapsulation:2}),t}(),CC=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-form-select"]],inputs:{items:"items",name:"name",label:"label",id:"id",defaultValue:"defaultValue"},decls:8,vars:5,consts:[[1,"amplify-label","amplify-visually-hidden",3,"for"],[1,"amplify-select__wrapper"],["autocomplete","tel-country-code",1,"amplify-select","amplify-field-group__control",3,"id","name"],[3,"value","selected",4,"ngFor","ngForOf"],[1,"amplify-flex","amplify-select__icon-wrapper",2,"align-items","center","justify-content","center"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","data-size","large","fill","currentColor",1,"amplify-icon","amplify-icon--large"],["d","M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"],[3,"value","selected"]],template:function(t,e){1&t&&(r.TgZ(0,"label",0),r._uU(1),r.qZA(),r.TgZ(2,"div",1),r.TgZ(3,"select",2),r.YNc(4,My,2,3,"option",3),r.qZA(),r.TgZ(5,"div",4),r.O4$(),r.TgZ(6,"svg",5),r._UZ(7,"path",6),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("for",e.id),r.xp6(1),r.Oqu(e.label),r.xp6(2),r.Q6J("id",e.id)("name",e.name),r.xp6(1),r.Q6J("ngForOf",e.items))},directives:[ft],encapsulation:2}),t}(),bC=function(){var t=function(){function t(){_classCallCheck(this,t),this.autocomplete="new-password",this.disabled=!1,this.selectFieldId="amplify-field-".concat(uy(12)),this.textFieldId="amplify-field-".concat(uy(12)),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents"}return _createClass(t,[{key:"ngOnInit",value:function(){var t;this.countryDialCodesValues=null!==(t=this.dialCodeList)&&void 0!==t?t:ym}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-phone-number-field"]],hostVars:2,hostBindings:function(t,e){2&t&&r.Udp("display",e.display)},inputs:{autocomplete:"autocomplete",disabled:"disabled",defaultCountryCode:"defaultCountryCode",selectFieldId:"selectFieldId",textFieldId:"textFieldId",initialValue:"initialValue",label:"label",name:"name",placeholder:"placeholder",required:"required",type:"type",labelHidden:"labelHidden",dialCodeList:"dialCodeList",hasError:"hasError",describedBy:"describedBy"},decls:7,vars:17,consts:[[1,"amplify-label",3,"for"],["amplify-field-group","",1,"amplify-flex","amplify-phonenumberfield",2,"gap","0px"],[1,"amplify-field-group__outer-start"],[1,"amplify-flex","amplify-field","amplify-selectfield","amplify-countrycodeselect","amplify-dialcodeselect",2,"flex-direction","column"],["name","country_code","label","Country Code",3,"id","items","defaultValue"],[1,"amplify-input",3,"id","type","name","placeholder","required","value","autocomplete"]],template:function(t,e){1&t&&(r.TgZ(0,"label",0),r._uU(1),r.qZA(),r.TgZ(2,"div",1),r.TgZ(3,"div",2),r.TgZ(4,"div",3),r._UZ(5,"amplify-form-select",4),r.qZA(),r.qZA(),r._UZ(6,"input",5),r.qZA()),2&t&&(r.ekj("amplify-visually-hidden",e.labelHidden),r.Q6J("for",e.textFieldId),r.x
1p6(1),r.hij(" ",e.label,"\n"),r.xp6(4),r.Q6J("id",e.selectFieldId)("items",e.countryDialCodesValues)("defaultValue",e.defaultCountryCode),r.xp6(1),r.Q6J("id",e.textFieldId)("type",e.type)("name",e.name)("placeholder",e.placeholder)("required",e.required)("value",e.initialValue)("autocomplete",e.autocomplete),r.uIk("disabled",e.disabled?"":null)("aria-invalid",e.hasError?"true":"false")("aria-describedby",e.describedBy))},directives:[CC],encapsulation:2}),t}(),OC=function(){var t=function(){function t(){_classCallCheck(this,t),this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-".concat(uy(12)),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.setBlur=new r.vpe,this.type="password",this.showPassword=!1,this.showPasswordButtonlabel=kv("Show password"),this.classnames=hy(),this.ComponentClassName=Tv}return _createClass(t,[{key:"togglePasswordText",value:function(){this.showPassword=!this.showPassword,this.showPasswordButtonlabel=kv(this.showPassword?"Hide password":"Show password"),this.type=this.showPassword?"text":"password"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-password-field"]],inputs:{autocomplete:"autocomplete",disabled:"disabled",fieldId:"fieldId",initialValue:"initialValue",label:"label",name:"name",placeholder:"placeholder",required:"required",labelHidden:"labelHidden",hasError:"hasError",describedBy:"describedBy"},outputs:{setBlur:"setBlur"},decls:10,vars:30,consts:[[1,"amplify-label",3,"for"],[3,"id","type","name","placeholder","required","value","autocomplete","blur"],["amplify-button","","role","switch",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24","class","amplify-icon",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"amplify-icon"],["d","M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"],["d","M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z","fill","none"],["d","M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"label",0),r._uU(2),r.qZA(),r.TgZ(3,"div"),r.TgZ(4,"div"),r.TgZ(5,"input",1),r.NdJ("blur",function(t){return e.setBlur.emit(t)}),r.qZA(),r.qZA(),r.TgZ(6,"div"),r.TgZ(7,"button",2),r.NdJ("click",function(){return e.togglePasswordText()}),r.YNc(8,xy,2,0,"svg",3),r.YNc(9,ky,3,0,"svg",3),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.classnames(e.ComponentClassName.Flex,e.ComponentClassName.Field,e.ComponentClassName.TextField,e.ComponentClassName.PasswordField)),r.xp6(1),r.ekj("amplify-visually-hidden",e.labelHidden),r.Q6J("for",e.fieldId),r.xp6(1),r.hij(" ",e.label," "),r.xp6(1),r.Tol(e.classnames(e.ComponentClassName.Flex,e.ComponentClassName.FieldGroup)),r.xp6(1),r.Tol(e.ComponentClassName.FieldGroupFieldWrapper),r.xp6(1),r.Tol(e.classnames(e.ComponentClassName.Input,e.ComponentClassName.FieldGroupControl,e.ComponentClassName.FieldShowPassword)),r.Q6J("id",e.fieldId)("type",e.type)("name",e.name)("placeholder",e.placeholder)("required",e.required)("value",e.initialValue)("autocomplete",e.autocomplete),r.uIk("disabled",e.disabled?"":null)("aria-invalid",e.hasError?"true":"false")("aria-describedby",e.describedBy),r.xp6(1),r.Tol(e.ComponentClassName.FieldGroupOuterEnd),r.xp6(1),r.Tol(e.classnames(e.ComponentClassName.Input,e.ComponentClassName.FieldGroupControl)),r.uIk("aria-checked","password"!==e.type)("aria-label",e.showPasswordButtonlabel),r.xp6(1),r.Q6J("ngIf",!e.showPassword),r.xp6(1),r.Q6J("ngIf",e.showPassword))},directives:[gC,_t],encapsulation:2}),t}(),PC=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-".concat(uy(12)),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents"});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-text-field"]],hostVars:2,hostBindings:function(t,e){2&t&&r.Udp("display",e.display)},inputs:{autocomplete:"autocomplete",disabled:"disabled",fieldId:"fieldId",initialValue:"initialValue",label:"label",name:"name",placeholder:"placeholder",required:"required",type:"type",labelHidden:"labelHidden",hasError:"hasError",describedBy:"describedBy"},decls:3,vars:14,consts:[[1,"amplify-label",3,"for"],[1,"amplify-input",3,"id","type","name","placeholder","required","value","autocomplete"]],template:function(t,e){1&t&&(r.TgZ(0,"label",0),r._uU(1),r.qZA(),r._UZ(2,"input",1)),2&t&&(r.ekj("amplify-visually-hidden",e.labelHidden),r.Q6J("for",e.fieldId),r.x
1p6(1),r.hij(" ",e.label,"\n"),r.xp6(1),r.Q6J("id",e.fieldId)("type",e.type)("name",e.name)("placeholder",e.placeholder)("required",e.required)("value",e.initialValue)("autocomplete",e.autocomplete),r.uIk("disabled",e.disabled?"":null)("aria-invalid",e.hasError?"true":"false")("aria-describedby",e.describedBy))},encapsulation:2}),t}(),wC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.countryDialCodesValue=ym,this.errorId=uy(12)}return _createClass(t,[{key:"ariaDescribedBy",get:function(){return this.hasError()?this.errorId:void 0}},{key:"errors",get:function(){var t,e=this.authenticator.validationErrors;return(t=e[this.name])?Array.isArray(t)?t:[t]:null}},{key:"onBlur",value:function(t){var e=t.target.name;this.authenticator.updateBlur({name:e})}},{key:"isPasswordField",value:function(){return"password"===this.formField.type}},{key:"isPhoneField",value:function(){return"tel"===this.formField.type}},{key:"hasError",value:function(){var t;return(null===(t=this.errors)||void 0===t?void 0:t.length)>0}},{key:"translate",value:function(t){return kv(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-form-field"]],inputs:{name:"name",formField:"formField"},decls:5,vars:4,consts:[[1,"amplify-flex","amplify-field","amplify-authenticator__column"],["type","tel",3,"name","label","defaultCountryCode","dialCodeList","placeholder","required","labelHidden","autocomplete","hasError","describedBy",4,"ngIf"],[3,"name","label","placeholder","required","labelHidden","autocomplete","hasError","describedBy","setBlur",4,"ngIf"],[3,"name","label","placeholder","required","labelHidden","autocomplete","type","hasError","describedBy",4,"ngIf"],["data-amplify-sign-up-errors","",3,"id",4,"ngIf"],["type","tel",3,"name","label","defaultCountryCode","dialCodeList","placeholder","required","labelHidden","autocomplete","hasError","describedBy"],[3,"name","label","placeholder","required","labelHidden","autocomplete","hasError","describedBy","setBlur"],[3,"name","label","placeholder","required","labelHidden","autocomplete","type","hasError","describedBy"],["data-amplify-sign-up-errors","",3,"id"],["class","amplify-text amplify-text--error","data-variation","error",4,"ngFor","ngForOf"],["data-variation","error",1,"amplify-text","amplify-text--error"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,Sy,1,10,"amplify-phone-number-field",1),r.YNc(2,Ay,1,8,"amplify-password-field",2),r.YNc(3,Ty,1,9,"amplify-text-field",3),r.YNc(4,Ey,2,2,"div",4),r.qZA()),2&t&&(r.xp6(1),r.Q6J("ngIf",e.isPhoneField()),r.xp6(1),r.Q6J("ngIf",e.isPasswordField()),r.xp6(1),r.Q6J("ngIf",!e.isPasswordField()&&!e.isPhoneField()),r.xp6(1),r.Q6J("ngIf",e.hasError()))},directives:[_t,bC,OC,PC,ft],encapsulation:2}),t}(),MC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.display="contents",this.formFields=[]}return _createClass(t,[{key:"ngOnInit",value:function(){this.formFields=function(t,e){return i=function(t,e){var n=function(t,e){return(0,cy[t])(e)}(t,e),i=function(t,e){var n,i,o=null===(i=null===(n=Pm(e))||void 0===n?void 0:n.formFields)||void 0===i?void 0:i[t];return o&&0!==Object.keys(o).length?Object.entries(o).reduce(function(n,i){var o=_slicedToArray(i,2),r=o[0],a=o[1];if("signIn"!==t&&"resetPassword"!==t||"username"!==r){if(function(t){return ey.includes(t)}(r)){var s=Object.assign(Object.assign({},Cm[r]),a);return Object.assign(Object.assign({},n),_defineProperty({},r,s))}return Object.assign(Object.assign({},n),_defineProperty({},r,a))}var c=ay(e),l=Object.assign(Object.assign({},c),a);return Object.assign(Object.assign({},n),_defineProperty({},r,l))},{}):{}}(t,e),o=Object.assign(Object.assign({},n),i);return delete o.QR,function(t){for(var e=Object.assign({},t),n=0,i=Object.entries(t);n<i.length;n++){var o=_slicedToArray(i[n],2),r=o[0],a=o[1],s=a.label,c=a.placeholder;e[r]=Object.assign(Object.assign({},a),{label:s?kv(s):void 0,placeholder:c?kv(c):void 0})}return e}(o)}(t,e),n=Object.entries(i).sort(function(t,e){return(t[1].order||Number.MAX_VALUE)-(e[1].order||Number.MAX_VALUE)}).filter(function(t){return void 0!==t[1]}
1),n.map(function(t){return[t[0],Object.assign(Object.assign({},t[1]),{order:void 0})]});var n,i}(this.route,this.authenticator.authState)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-base-form-fields"]],hostVars:2,hostBindings:function(t,e){2&t&&r.Udp("display",e.display)},inputs:{route:"route"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"name","formField"]],template:function(t,e){1&t&&r.YNc(0,Dy,2,2,"ng-container",0),2&t&&r.Q6J("ngForOf",e.formFields)},directives:[ft,wC],encapsulation:2}),t}(),xC=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!0,this.dismissAriaLabel=kv("Dismiss alert")}return _createClass(t,[{key:"close",value:function(){this.isVisible=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-error"]],ngContentSelectors:_y,decls:1,vars:1,consts:[["class","amplify-flex amplify-alert amplify-alert--error","data-variation","error","style","align-items: center; justify-content: space-between","role","alert",4,"ngIf"],["data-variation","error","role","alert",1,"amplify-flex","amplify-alert","amplify-alert--error",2,"align-items","center","justify-content","space-between"],[1,"amplify-flex",2,"align-items","center"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"amplify-icon"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"],["amplify-button","","variation","link",1,"amplify-field-group__control","amplify-alert__dismiss",3,"fullWidth","click"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Ry,9,4,"div",0)),2&t&&r.Q6J("ngIf",e.isVisible)},directives:[_t,gC],encapsulation:2}),t}(),kC=zv,SC=qv,AC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.forgotPasswordText=kC(),this.signInButtonText=SC()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-sign-in"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-signin",e.dataAttr)},decls:14,vars:7,consts:[["name","sign-in-header",3,"context"],["data-amplify-form","",3,"submit","input"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",2,"flex-direction","column",3,"disabled"],[1,"amplify-visually-hidden"],["route","signIn"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],[4,"ngIf"],["name","sign-in-footer",3,"context"],["data-amplify-footer",""],["amplify-button","","fontWeight","normal","size","small","variation","link","fullWidth","true",3,"click"]],template:function(t,e){1&t&&(r._UZ(0,"amplify-slot",0),r.TgZ(1,"form",1),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r._UZ(2,"amplify-federated-sign-in"),r.TgZ(3,"fieldset",2),r.TgZ(4,"legend",3),r._uU(5,"Sign in"),r.qZA(),r._UZ(6,"amplify-base-form-fields",4),r.TgZ(7,"button",5),r._uU(8),r.qZA(),r.YNc(9,Fy,2,1,"amplify-error",6),r.qZA(),r.qZA(),r.TgZ(10,"amplify-slot",7),r.TgZ(11,"div",8),r.TgZ(12,"button",9),r.NdJ("click",function(){return e.authenticator.toResetPassword()}),r._uU(13),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("context",e.context),r.xp6(3),r.Q6J("disabled",e.authenticator.isPending),r.xp6(4),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.signInButtonText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context),r.xp6(3),r.hij(" ",e.forgotPasswordText," "))},directives:[hC,yC,MC,gC,_t,xC],encapsulation:2}),t}(),TC=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-sign-up-form-fields"]],decls:2,vars:0,consts:[["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column"],["route","signUp"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r._UZ(1,"amplify-base-form-fields",1),r.qZA())},directives:[MC],encapsulation:2}),t}(),IC=Bv,EC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.createAccountText=IC()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"onInput",value:function(t){var e=t.target,n=e.checked,i=e.name,o=e.type,r=e.value;this.authenticator.updateForm({name:i,value:"checkbox"!==o||n?r:void 0})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-sign-up"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-signup",e.dataAttr)},decls:12,vars:7,consts:[["name","sign-up-header",3,"context"],["data-amplify-form","",3,"submit","input"],[1,"amplify-flex","amplify-authenticator__column"],["name","sign-up-form-fields",3,"context"],[4,"ngIf"],["name","sign-up-button",3,"context"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["name","sign-up-footer",3,"context"]],template:function(t,e){1&t&&(r._UZ(0,"amplify-slot",0),r.TgZ(1,"form",1),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r._UZ(2,"amplify-federated-sign-in"),r.TgZ(3,"div",2),r.TgZ(4,"div",2),r.TgZ(5,"amplify-slot",3),r._UZ(6,"amplify-sign-up-form-fields"),r.qZA(),r.YNc(7,Ly,2,1,"amplify-error",4),r.qZA(),r.TgZ(8,"amplify-slot",5),r.TgZ(9,"button",6),r._uU(10),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r._UZ(11,"amplify-slot",7)),2&t&&(r.Q6J("context",e.context),r.xp6(5),r.Q6J("context",e.context),r.xp6(2),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context),r.xp6(1),r.Q6J("isDisabled",e.authenticator.isPending||e.authenticator.hasValidationErrors),r.xp6(1),r.hij(" ",e.createAccountText," "),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,yC,TC,_t,gC,xC],encapsulation:2}),t}(),DC=Zv,RC=Rv,FC=Gv,LC=Yv,ZC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.resendCodeText=DC(),this.confirmText=RC()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"confirmSignUpHeading",get:function(){var t=this.authenticator.codeDeliveryDetails;return FC(t)}},{key:"subtitleText",get:function(){var t=this.authenticator.codeDeliveryDetails;return LC(t)}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-confirm-sign-up"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-confirmsignup",e.dataAttr)},decls:15,vars:9,consts:[["data-amplify-form","",3,"submit","input"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","confirm-sign-up-header",3,"context"],[1,"amplify-heading","amplify-authenticator__heading",2,"font-size","1.5rem"],[1,"amplify-authenticator__subtitle"],["route","confirmSignUp"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["amplify-button","","fontWeight","normal",3,"click"],[4,"ngIf"],["name","confirm-sign-up-footer",3,"context"]],template:function(t,e){1&t&&(r.ynx(0),r.TgZ(1,"form",0),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r.TgZ(2,"fieldset",1),r.TgZ(3,"amplify-slot",2),r.TgZ(4,"h3",3),r._uU(5),r.qZA(),r.qZA(),r.TgZ(6,"span",4),r._uU(7),r.qZA(),r._UZ(8,"amplify-base-form-fields",5),r.TgZ(9,"button",6),r._uU(10),r.qZA(),r.TgZ(11,"button",7),r.NdJ("click",function(){return e.authenticator.resendCode()}),r._uU(12),r.qZA(),r.qZA(),r.YNc(13,Zy,2,1,"amplify-error",8),r._UZ(14,"amplify-slot",9),r.qZA(),r.BQk()),2&t&&(r.xp6(2),r.Q6J("disabled",e.context.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.hij(" ",e.confirmSignUpHeading," "),r.xp6(2),r.hij(" ",e.subtitleText," "),r.xp6(2),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.confirmText," "),r.xp6(2),r.hij(" ",e.resendCodeText," "),r.xp6(1),r.Q6J("ngIf",e.context.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,MC,gC,_t,xC],encapsulation:2}),t}(),NC=Rv,UC=Ev,VC=Hv,jC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.confirmText=NC(),this.backToSignInText=UC()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"ngOnInit",value:function(){this.setHeaderText()}},{key:"setHeaderText",value:function(){var t=Pm(this.authenticator.authState).challengeName;this.headerText=VC(t)}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-confirm-sign-in"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-confirmsignin",e.dataAttr)},decls:12,vars:8,consts:[["data-amplify-form","",3,"submit","input"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","confirm-sign-in-header",3,"context"],[1,"amplify-heading","amplify-heading--3"],["route","confirmSignIn"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["amplify-button","","size","small","variation","link","fontWeight","normal","fullWidth","true",3,"click"],[4,"ngIf"],["name","confirm-sign-in-footer",3,"context"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r.TgZ(1,"fieldset",1),r.TgZ(2,"amplify-slot",2),r.TgZ(3,"h3",3),r._uU(4),r.qZA(),r.qZA(),r._UZ(5,"amplify-base-form-fields",4),r.TgZ(6,"button",5),r._uU(7),r.qZA(),r.TgZ(8,"button",6),r.NdJ("click",function(){return e.authenticator.toSignIn()}),r._uU(9),r.qZA(),r.YNc(10,Ny,2,1,"amplify-error",7),r.qZA(),r._UZ(11,"amplify-slot",8),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.authenticator.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.Oqu(e.headerText),r.xp6(2),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.confirmText," "),r.xp6(2),r.hij(" ",e.backToSignInText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,MC,gC,_t,xC],encapsulation:2}),t}(),zC=new zr("SetupTotp"),qC=Wv,BC=Fv,YC=Ev,GC=Rv,HC=Qv,JC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.headerText=qC(),this.qrCodeSource="",this.totpSecretCode="",this.copyTextLabel=BC(),this.backToSignInText=YC(),this.confirmText=GC()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"ngOnInit",value:function(){return ly(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.generateQRCode();case 2:case"end":return t.stop()}},t,this)}))}},{key:"generateQRCode",value:function(){var t,e;return ly(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a,s,c,l,u,d,h,p,f,g=this;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=this.authenticator,o=i.authState,r=i.totpSecretCode,a=i.user,s=Pm(o),c=s.formFields,l=null!==(e=null===(t=null==c?void 0:c.setupTOTP)||void 0===t?void 0:t.QR)&&void 0!==e?e:{},u=l.totpIssuer,d=void 0===u?"AWSCognito":u,h=l.totpUsername,p=void 0===h?null==a?void 0:a.username:h,this.totpSecretCode=r,n.prev=2,f=function(t,e,n){return encodeURI("otpauth://totp/".concat(t,":").concat(e,"?secret=").concat(g.totpSecretCode,"&issuer=").concat(t))}(d,p),zC.info("totp code was generated:",f),n.next=7,py.toDataURL(f);case 7:this.qrCodeSource=n.sent,n.next=13;break;case 10:n.prev=10,n.t0=n.catch(2),zC.error(n.t0);case 13:case"end":return n.stop()}},n,this,[[2,10]])}))}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}},{key:"copyText",value:function(){navigator.clipboard.writeText(this.totpSecretCode),this.copyTextLabel=HC()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-setup-totp"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-setup-totp",e.dataAttr)},decls:22,vars:12,consts:[["data-amplify-form","",3,"submit","input"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","setup-totp-header",3,"context"],[1,"amplify-heading","amplify-heading--3"],[4,"ngIf"],["alt","qr code","data-amplify-qrcode","","width","228","height","228",3,"src",4,"ngIf"],["data-amplify-copy","",1,"amplify-flex"],["data-amplify-copy-svg","",3,"click"],["data-amplify-copy-tooltip",""],["width","24","height","24","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg"],["d","M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"],["route","setupTOTP"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["amplify-button","","size","small","variation","link","fontWeight","normal","fullWidth","true",3,"click"],["name","setup-totp-footer",3,"context"],["alt","qr code","data-amplify-qrcode","","width","228","height","228",3,"src"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r.TgZ(1,"fieldset",1),r.TgZ(2,"amplify-slot",2),r.TgZ(3,"h3",3),r._uU(4),r.qZA(),r.qZA(),r.YNc(5,Uy,2,0,"p",4),r.YNc(6,Vy,1,1,"img",5),r.TgZ(7,"div",6),r.TgZ(8,"div"),r._uU(9),r.qZA(),r.TgZ(10,"div",7),r.NdJ("click",function(){return e.copyText()}),r.TgZ(11,"div",8),r._uU(12),r.qZA(),r.O4$(),r.TgZ(13,"svg",9),r._UZ(14,"path",10),r.qZA(),r.qZA(),r.qZA(),r.kcU(),r._UZ(15,"amplify-base-form-fields",11),r.TgZ(16,"button",12),r._uU(17),r.qZA(),r.TgZ(18,"button",13),r.NdJ("click",function(){return e.authenticator.toSignIn()}),r._uU(19),r.qZA(),r.YNc(20,jy,2,1,"amplify-error",4),r.qZA(),r._UZ(21,"amplify-slot",14),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.authenticator.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.Oqu(e.headerText),r.xp6(1),r.Q6J("ngIf",!e.qrCodeSource),r.xp6(1),r.Q6J("ngIf",e.qrCodeSource),r.xp6(3),r.Oqu(e.totpSecretCode),r.xp6(3),r.Oqu(e.copyTextLabel),r.xp6(4),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.confirmText," "),r.xp6(2),r.hij(" ",e.backToSignInText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,_t,MC,gC,xC],encapsulation:2}),t}(),WC=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-force-new-password-form-fields"]],decls:2,vars:0,consts:[["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column"],["route","forceNewPassword"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r._UZ(1,"amplify-base-form-fields",1),r.qZA())},directives:[MC],encapsulation:2}),t}(),QC=Dv,KC=Ev,XC=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.headerText=QC(),this.changePasswordText=QC(),this.backToSignInText=KC()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-force-new-password"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-forcenewpassword",e.dataAttr)},inputs:{headerText:"headerText"},decls:13,vars:8,consts:[["data-amplify-form","",3,"submit","input"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","force-new-password-header",3,"context"],[1,"amplify-heading","amplify-heading--3"],["name","force-new-form-fields",3,"context"],["amplify-button","","variation","primary","fullWidth","true","type","submit"],["amplify-button","","size","small","variation","link","fontWeight","normal","fullWidth","true",3,"click"],[4,"ngIf"],["name","force-new-password-footer",3,"context"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r.TgZ(1,"fieldset",1),r.TgZ(2,"amplify-slot",2),r.TgZ(3,"h3",3),r._uU(4),r.qZA(),r.qZA(),r.TgZ(5,"amplify-slot",4),r._UZ(6,"amplify-force-new-password-form-fields"),r.qZA(),r.TgZ(7,"button",5),r._uU(8),r.qZA(),r.TgZ(9,"button",6),r.NdJ("click",function(){return e.authenticator.toSignIn()}),r._uU(10),r.qZA(),r.YNc(11,zy,2,1,"amplify-error",7),r.qZA(),r._UZ(12,"amplify-slot",8),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.authenticator.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.Oqu(e.headerText),r.xp6(1),r.Q6J("context",e.context),r.xp6(3),r.hij(" ",e.changePasswordText," "),r.xp6(2),r.hij(" ",e.backToSignInText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,WC,gC,_t,xC],encapsulation:2}),t}(),$C=Jv,tb=Nv,eb=Ev,nb=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.headerText=$C(),this.sendCodeText=tb(),this.backToSignInText=eb()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-reset-password"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-resetPassword",e.dataAttr)},inputs:{headerText:"headerText"},decls:12,vars:8,consts:[["data-amplify-form","",3,"submit","input"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","reset-password-header",1,"amplify-flex",3,"context"],[1,"amplify-heading","amplify-heading--3"],["route","resetPassword"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["amplify-button","","size","small","variation","link","fontWeight","normal","fullWidth","true",3,"click"],[4,"ngIf"],["name","reset-password-footer",3,"context"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r.TgZ(1,"fieldset",1),r.TgZ(2,"amplify-slot",2),r.TgZ(3,"h3",3),r._uU(4),r.qZA(),r.qZA(),r._UZ(5,"amplify-base-form-fields",4),r.TgZ(6,"button",5),r._uU(7),r.qZA(),r.TgZ(8,"button",6),r.NdJ("click",function(){return e.authenticator.toSignIn()}),r._uU(9),r.qZA(),r.YNc(10,qy,2,1,"amplify-error",7),r.qZA(),r._UZ(11,"amplify-slot",8),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.authenticator.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.Oqu(e.headerText),r.xp6(2),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.sendCodeText," "),r.xp6(2),r.hij(" ",e.backToSignInText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,MC,gC,_t,xC],encapsulation:2}),t}(),ib=Ev,ob=Zv,rb=Uv,ab=Jv,sb=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.headerText=ab(),this.backToSignInText=ib(),this.resendCodeText=ob(),this.submitText=rb()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-confirm-reset-password"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-confirmsignin",e.dataAttr)},inputs:{headerText:"headerText"},decls:12,vars:8,consts:[["data-amplify-form","",3,"submit","input"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","confirm-reset-password-header",3,"context"],[1,"amplify-heading","amplify-heading--3"],["route","confirmResetPassword"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["amplify-button","","size","small","variation","link","fontWeight","normal","fullWidth","true","type","button",3,"click"],[4,"ngIf"],["name","confirm-reset-password-footer",3,"context"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.NdJ("submit",function(t){return e.onSubmit(t)})("input",function(t){return e.onInput(t)}),r.TgZ(1,"fieldset",1),r.TgZ(2,"amplify-slot",2),r.TgZ(3,"h3",3),r._uU(4),r.qZA(),r.qZA(),r._UZ(5,"amplify-base-form-fields",4),r.TgZ(6,"button",5),r._uU(7),r.qZA(),r.TgZ(8,"button",6),r.NdJ("click",function(){return e.authenticator.resendCode()}),r._uU(9),r.qZA(),r.YNc(10,By,2,1,"amplify-error",7),r.qZA(),r._UZ(11,"amplify-slot",8),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.authenticator.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.Oqu(e.headerText),r.xp6(2),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.submitText," "),r.xp6(2),r.hij(" ",e.resendCodeText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,MC,gC,_t,xC],encapsulation:2}),t}(),cb=Xv,lb=$v,ub=ty,db=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.headerText=ub(),this.unverifiedContactMethods={},this.labelId=uy(12),this.skipText=cb(),this.verifyText=lb()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"ngOnInit",value:function(){var t=Om(this.authenticator.authState);this.unverifiedContactMethods=t.context.unverifiedContactMethods}},{key:"getLabel",value:function(t){return kv(Cm[t].label)}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-verify-user"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-verifyuser",e.dataAttr)},inputs:{headerText:"headerText"},decls:13,vars:11,consts:[["data-amplify-form","",3,"input","submit"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","verify-user-header",3,"context"],[1,"amplify-heading","amplify-heading--3"],[4,"ngFor","ngForOf"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["amplify-button","","size","small","variation","link","fontWeight","normal","fullWidth","true",3,"click"],[4,"ngIf"],["name","verify-user-footer",3,"context"],["name","unverifiedAttr","type","radio",3,"value","id"],[3,"for"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.NdJ("input",function(t){return e.onInput(t)})("submit",function(t){return e.onSubmit(t)}),r.TgZ(1,"fieldset",1),r.TgZ(2,"amplify-slot",2),r.TgZ(3,"h3",3),r._uU(4),r.qZA(),r.qZA(),r.YNc(5,Yy,4,4,"div",4),r.ALo(6,"keyvalue"),r.TgZ(7,"button",5),r._uU(8),r.qZA(),r.TgZ(9,"button",6),r.NdJ("click",function(){return e.authenticator.skipVerification()}),r._uU(10),r.qZA(),r.YNc(11,Gy,2,1,"amplify-error",7),r.qZA(),r._UZ(12,"amplify-slot",8),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.authenticator.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.Oqu(e.headerText),r.xp6(1),r.Q6J("ngForOf",r.lcZ(6,9,e.unverifiedContactMethods)),r.xp6(2),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.verifyText," "),r.xp6(2),r.hij(" ",e.skipText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,ft,gC,_t,xC],pipes:[At],encapsulation:2}),t}(),hb=ty,pb=Xv,fb=Uv,gb=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authenticator=e,this.dataAttr="",this.headerText=hb(),this.skipText=pb(),this.submitText=fb()}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"onInput",value:function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})}},{key:"onSubmit",value:function(t){t.preventDefault(),this.authenticator.submitForm(ny(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-confirm-verify-user"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-amplify-authenticator-confirmverifyuser",e.dataAttr)},inputs:{headerText:"headerText"},decls:12,vars:8,consts:[["data-amplify-form","",3,"input","submit"],["data-amplify-fieldset","",1,"amplify-flex","amplify-authenticator__column",3,"disabled"],["name","confirm-verify-user-header",3,"context"],[1,"amplify-heading","amplify-heading--3"],["route","confirmVerifyUser"],["amplify-button","","variation","primary","fullWidth","true","type","submit",3,"isDisabled"],["amplify-button","","size","small","variation","link","fontWeight","normal","fullWidth","true",3,"click"],[4,"ngIf"],["name","confirm-verify-user-footer",3,"context"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.NdJ("input",function(t){return e.onInput(t)})("submit",function(t){return e.onSubmit(t)}),r.TgZ(1,"fieldset",1),r.TgZ(2,"amplify-slot",2),r.TgZ(3,"h3",3),r._uU(4),r.qZA(),r.qZA(),r._UZ(5,"amplify-base-form-fields",4),r.TgZ(6,"button",5),r._uU(7),r.qZA(),r.TgZ(8,"button",6),r.NdJ("click",function(){return e.authenticator.skipVerification()}),r._uU(9),r.qZA(),r.YNc(10,Hy,2,1,"amplify-error",7),r.qZA(),r._UZ(11,"amplify-slot",8),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.authenticator.isPending),r.xp6(1),r.Q6J("context",e.context),r.xp6(2),r.Oqu(e.headerText),r.xp6(2),r.Q6J("isDisabled",e.authenticator.isPending),r.xp6(1),r.hij(" ",e.submitText," "),r.xp6(2),r.hij(" ",e.skipText," "),r.xp6(1),r.Q6J("ngIf",e.authenticator.error),r.xp6(1),r.Q6J("context",e.context))},directives:[hC,MC,gC,_t,xC],encapsulation:2}),t}(),_b=Vv,mb=jv,vb=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.authenticator=e,this.contextService=n,this.changeDetector=i,this.customComponentQuery=null,this.signInTitle=_b(),this.signUpTitle=mb(),this.hasInitialized=!1,this.isHandlingHubEvent=!1}
1return _createClass(t,[{key:"context",get:function(){return this.authenticator.slotContext}},{key:"route",get:function(){return this.authenticator.route}},{key:"ngOnInit",value:function(){var t=this,e=this.initialState,n=this.loginMechanisms,i=this.services,o=this.signUpAttributes,r=this.socialProviders,a=this.formFields;!function(t){var e=t.version;!function(t){!t||(bc.prototype.userAgent&&!bc.prototype.userAgent.includes(t)&&(bc.prototype.userAgent=bc.prototype.userAgent.concat(" ",t)),(!bc.prototype.userAgent||""===bc.prototype.userAgent)&&(bc.prototype.userAgent=t))}("".concat(t.packageName,"/").concat(e))}({packageName:"@aws-amplify/ui-angular",version:"3.2.19"});var s=this.authenticator.initializeMachine;this.authenticator.hubSubject.subscribe(function(){t.changeDetector.detectChanges(),t.isHandlingHubEvent=!0}),this.unsubscribeMachine=this.authenticator.subscribe(function(){var c=t.authenticator.route;t.isHandlingHubEvent&&(t.changeDetector.detectChanges(),c===(null!=e?e:"signIn")&&(t.isHandlingHubEvent=!1)),!t.hasInitialized&&"setup"===c&&(s({initialState:e,loginMechanisms:n,services:i,signUpAttributes:o,socialProviders:r,formFields:a}),t.hasInitialized=!0)}).unsubscribe,this.signInTitle=_b(),this.signUpTitle=mb()}},{key:"ngAfterContentInit",value:function(){this.contextService.customComponents=this.mapCustomComponents(this.customComponentQuery)}},{key:"ngOnDestroy",value:function(){this.unsubscribeMachine&&this.unsubscribeMachine()}},{key:"onTabChange",value:function(){"signIn"===this.authenticator.route?this.authenticator.toSignUp():this.authenticator.toSignIn()}},{key:"hasTabs",value:function(){var t=this.authenticator.route;return"signIn"===t||"signUp"===t}},{key:"hasRouteComponent",value:function(){switch(this.authenticator.route){case"authenticated":case"idle":case"setup":case"signOut":case"transition":return!1;default:return!0}}},{key:"mapCustomComponents",value:function(t){if(!t)return{};var e={};return t.forEach(function(t){e[t.name]=t.template}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(dC),r.Y36(lC),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["amplify-authenticator"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,cC,4),2&t)&&(r.iGM(i=r.CRH())&&(e.customComponentQuery=i))},inputs:{formFields:"formFields",initialState:"initialState",loginMechanisms:"loginMechanisms",services:"services",signUpAttributes:"signUpAttributes",socialProviders:"socialProviders",variation:"variation",hideSignUp:"hideSignUp"},features:[r._Bn([lC])],ngContentSelectors:_y,decls:2,vars:2,consts:[["data-amplify-authenticator","",4,"ngIf"],["name","authenticated",3,"context",4,"ngIf"],["data-amplify-authenticator",""],["data-amplify-container",""],["name","header",3,"context"],["data-amplify-router",""],[3,"tabChange",4,"ngIf"],["name","sign-in",3,"context",4,"ngIf"],["name","confirm-sign-up",3,"context",4,"ngIf"],["name","confirm-sign-in",3,"context",4,"ngIf"],["name","setup-totp",3,"context",4,"ngIf"],["name","force-new-password",3,"context",4,"ngIf"],["name","reset-password",3,"context",4,"ngIf"],["name","confirm-reset-password",3,"context",4,"ngIf"],["name","verify-user",3,"context",4,"ngIf"],["name","confirm-verify-user",3,"context",4,"ngIf"],["name","footer",3,"context"],[3,"tabChange"],["data-amplify-router-content","",3,"title","active"],["name","sign-up",3,"context",4,"ngIf"],["name","sign-in",3,"context"],["name","sign-up",3,"context"],["name","confirm-sign-up",3,"context"],["name","confirm-sign-in",3,"context"],["name","setup-totp",3,"context"],["name","force-new-password",3,"context"],["name","reset-password",3,"context"],["name","confirm-reset-password",3,"context"],["name","verify-user",3,"context"],["name","confirm-verify-user",3,"context"],["name","authenticated",3,"context"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,aC,15,14,"div",0),r.YNc(1,sC,2,1,"amplify-slot",1)),2&t&&(r.Q6J("ngIf",e.hasRouteComponent()),r.xp6(1),r.Q6J("ngIf","authenticated"===e.route))},directives:[_t,hC,fC,pC,AC,EC,ZC,jC,JC,XC,nb,sb,db,gb],encapsulation:2}),t}(),yb=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),Cb=function(){var t=function(){function t(){_classCallCheck(this,t),this.isModalVisible=!0}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"navigateToLogin",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.isModalVisible=!1,location.reload();case 1:case"end":return t.stop()}},t,this)}))}},{key:"dismiss",value:function(){this.isModalVisible=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-ldc-create-account-modal"]],decls:35,vars:2,consts:[[1,"modal-backdrop","show",3,"hidden"],["tabindex","-1","role","dialog",1,"modal",2,"display","block",3,"hidden"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["href","https://support.google.com/accounts/answer/1066447","target","_blank","rel","noopener noreferrer"],["href","https://support.microsoft.com/en-us
1/account-billing/download-and-install-the-microsoft-authenticator-app-351498fc-850a-45da-b7b6-27e523b8702a","target","_blank","rel","noopener noreferrer"],["href","https://www.google.com/account/about/","target","_blank","rel","noopener noreferrer"],["href","mailto:[email protected]",1,"email"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-secondary",3,"click"]],template:function(t,e){1&t&&(r._UZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"h5",5),r._uU(6,"Account creation"),r.qZA(),r.TgZ(7,"button",6),r.NdJ("click",function(){return e.dismiss()}),r.TgZ(8,"span",7),r._uU(9,"\xd7"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(10,"div",8),r.TgZ(11,"p"),r._uU(12,"You will now be prompted to (1) set up a Landscape Data Commons (LDC) account and (2) verify that account via email. You will then be asked to set up multi-factor authentication (MFA), which requires an MFA authenticator. Please install either the "),r.TgZ(13,"a",9),r._uU(14,"Google Authenticator app"),r.qZA(),r._uU(15," or the "),r.TgZ(16,"a",10),r._uU(17,"Microsoft Authenticator app"),r.qZA(),r._uU(18," on a separate device (e.g., a smartphone). If you would prefer to create an account "),r.TgZ(19,"em"),r._uU(20,"without"),r.qZA(),r._uU(21," MFA, please use a "),r.TgZ(22,"a",11),r._uU(23,"Google account"),r.qZA(),r._uU(24," for account creation. "),r.qZA(),r.TgZ(25,"p"),r._uU(26," If you have any questions about the account-creation process, please contact "),r.TgZ(27,"a",12),r._uU(28,"Christopher Fraser"),r.qZA(),r._uU(29,". "),r.qZA(),r.qZA(),r.TgZ(30,"div",13),r.TgZ(31,"button",14),r.NdJ("click",function(){return e.dismiss()}),r._uU(32,"OK"),r.qZA(),r.TgZ(33,"button",15),r.NdJ("click",function(){return e.navigateToLogin()}),r._uU(34,"Cancel"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isModalVisible),r.xp6(1),r.Q6J("hidden",!e.isModalVisible))},styles:[""]}),t}(),bb=function(){var t=function(){function t(){_classCallCheck(this,t),this.isModalVisible=!0}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"navigateToLogin",value:function(){this.isModalVisible=!1,location.reload()}},{key:"dismiss",value:function(){this.isModalVisible=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-ldc-totp-modal"]],decls:27,vars:2,consts:[[1,"modal-backdrop","show",3,"hidden"],["tabindex","-1","role","dialog",1,"modal",2,"display","block",3,"hidden"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["href","https://datatracker.ietf.org/doc/html/rfc6238","target","_blank","rel","noopener noreferrer"],["href","https://support.google.com/accounts/answer/1066447","target","_blank","rel","noopener noreferrer"],["href","https://support.microsoft.com/en-us/account-billing/download-and-install-the-microsoft-authenticator-app-351498fc-850a-45da-b7b6-27e523b8702a","target","_blank","rel","noopener noreferrer"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-secondary",3,"click"]],template:function(t,e){1&t&&(r._UZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"h5",5),r._uU(6,"Enter TOTP code"),r.qZA(),r.TgZ(7,"button",6),r.NdJ("click",function(){return e.dismiss()}),r.TgZ(8,"span",7),r._uU(9,"\xd7"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(10,"div",8),r.TgZ(11,"p"),r._uU(12,"To log in, you will need to provide your "),r.TgZ(13,"a",9),r._uU(14,"TOTP"),r.qZA(),r._uU(15," code. To find this code, go to the "),r.TgZ(16,"a",10),r._uU(17,"Google Authenticator app"),r.qZA(),r._uU(18," or the "),r.TgZ(19,"a",11),r._uU(20,"Microsoft Authenticator app"),r.qZA(),r._uU(21,' you installed when you created your Landscape Data Commons (LDC) account. Type the six-digit code you see for "LDC Data Portal" in the input field (you will see the input field once you\'ve clicked the "OK" button to close this overlay panel; clicking the "Cancel" button will return you to the login page). After entering the six-digit code, click the "Confirm" button, and you will be logged into your account. '),r.qZA(),r.qZA(),r.TgZ(22,"div",12),r.TgZ(23,"button",13),r.NdJ("click",function(){return e.dismiss()}),r._uU(24,"OK"),r.qZA(),r.TgZ(25,"button",14),r.NdJ("click",function(){return e.navigateToLogin()}),r._uU(26,"Cancel"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isModalVisible),r.xp6(1),r.Q6J("hidden",!e.isModalVisible))},styles:[""]}),t}(),Ob=function(){var t=function(){function t(e){_classCallCheck(this,t),this.router=e,this.isModalVisible=!0}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"navigateToLogin",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.isModalVisible=!1,location.reload();case 1:case"end":return t.stop()}},t,this)}))}},{key:"dismiss",value:function(){this.isModalVisible=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(vo))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-ldc-qr-code-modal"]],decls:30,vars:2,consts:[[1,"modal-backdrop","show",3,"hidden"],["tabindex","-1","role","dialog",1,"modal",2,"display","block",3,"hidden"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["href","https://datatracker.ietf.org/doc/html/rfc6238","target","_blank","rel","noopener noreferrer"],["href","https://digital.gov/resources/introduction-to-qr-codes/","target","_blank","rel","noopener noreferrer"],["href","https://support.google.com/accounts/answer/1066447","target","_blank","rel","noopener noreferrer"],["href","https://support.microsoft.com/en-us
1/account-billing/download-and-install-the-microsoft-authenticator-app-351498fc-850a-45da-b7b6-27e523b8702a","target","_blank","rel","noopener noreferrer"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-secondary",3,"click"]],template:function(t,e){1&t&&(r._UZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"h5",5),r._uU(6,"Set up multi-factor authentication (MFA)"),r.qZA(),r.TgZ(7,"button",6),r.NdJ("click",function(){return e.dismiss()}),r.TgZ(8,"span",7),r._uU(9,"\xd7"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(10,"div",8),r.TgZ(11,"p"),r._uU(12,"Your account has been created and verified! In the next step, you will set up MFA ("),r.TgZ(13,"a",9),r._uU(14,"TOTP"),r.qZA(),r._uU(15," in this case) using a "),r.TgZ(16,"a",10),r._uU(17,"QR code"),r.qZA(),r._uU(18,". Please make sure you've already installed either the "),r.TgZ(19,"a",11),r._uU(20,"Google Authenticator app"),r.qZA(),r._uU(21," or the "),r.TgZ(22,"a",12),r._uU(23,"Microsoft Authenticator app"),r.qZA(),r._uU(24,'. If you would like to set up MFA later, click "Cancel" to return to the main login page (you will be prompted to set up MFA when you first log in). '),r.qZA(),r.qZA(),r.TgZ(25,"div",13),r.TgZ(26,"button",14),r.NdJ("click",function(){return e.dismiss()}),r._uU(27,"OK"),r.qZA(),r.TgZ(28,"button",15),r.NdJ("click",function(){return e.navigateToLogin()}),r._uU(29,"Cancel"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isModalVisible),r.xp6(1),r.Q6J("hidden",!e.isModalVisible))},styles:[""]}),t}();function Pb(t,e){1&t&&r._UZ(0,"app-ldc-create-account-modal")}function wb(t,e){1&t&&r._UZ(0,"app-ldc-totp-modal")}function Mb(t,e){1&t&&r._UZ(0,"app-ldc-qr-code-modal")}function xb(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",6),r.TgZ(1,"div",7),r.TgZ(2,"label"),r.TgZ(3,"input",8),r.NdJ("change",function(t){return r.CHM(n),r.oxw().toggleDeleteAccount(t)}),r.qZA(),r.TgZ(4,"span"),r._uU(5," Delete Account"),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(3),r.Q6J("checked",i.deleteAccount)}}var kb=function(){return["/disclaimer"]};function Sb(t,e){1&t&&(r.TgZ(0,"div",9),r.TgZ(1,"p",7),r._uU(2," By signing up and logging in, you are confirming that you have read, understand, and agree to the terms and conditions of the "),r.TgZ(3,"a",10),r._uU(4,"Landscape Data Commons Disclaimer"),r.qZA(),r._uU(5,". "),r.qZA(),r.qZA()),2&t&&(r.xp6(3),r.Q6J("routerLink",r.DdM(1,kb)))}var Ab=function(){return["google"]},Tb=function(){return["email"]},Ib=function(){return[]},Eb=function(){var t=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this.router=e,this.authService=n,this.authenticator=i,this.loggedIn=!1,this.subscription=null,this.deleteAccount=!1,this.signinTabSelected=!0,this.createAccountSelected=!1,this.qrCodeIsDisplayed=!1,this.totpCodeRequestIsDisplayed=!1,this.formFields={setupTOTP:{QR:{totpIssuer:"LDC Data Portal"}}},this.signOut=n.signOut,this.authService.deleteAccount$.subscribe(function(t){o.deleteAccount=t})}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.authService.isAuthenticated().subscribe(function(e){t.loggedIn=e,!1===t.loggedIn&&t.signOut()}),this.signinTabSelected=!0,this.createAccountSelected=!1,document.addEventListener("click",function(e){var n=e.target.innerHTML.trim();"Create Account"===n?(t.createAccountSelected=!0,t.signinTabSelected=!1):"Sign In"===n?(t.createAccountSelected=!1,t.signinTabSelected=!0):"Confirm"===n?t.createAccountSelected=!1:"Back to Sign In"===n&&(t.signinTabSelected=!0)})}},{key:"toggleDeleteAccount",value:function(t){t.target.checked?window.confirm("Checking this checkbox will allow you to delete your Landscape Data Commons (LDC) account after you log in. Are you sure you want to continue?")?this.authService.toggleDeleteAccount(!0):t.target.checked=!1:this.authService.toggleDeleteAccount(!1)}},{key:"ngAfterViewInit",value:function(){var t=this;this.observer=new MutationObserver(function(e){var n=document.querySelector("img[data-amplify-qrcode]"),i=Array.from(document.querySelectorAll("h3")).find(function(t){return"Confirm TOTP Code"===t.innerHTML});t.qrCodeIsDisplayed=!!n,t.totpCodeRequestIsDisplayed=!!i}),this.observer.observe(document.body,{childList:!0,subtree:!0})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe(),this.observer.disconnect()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(vo),r.Y36(Wf),r.Y36(dC))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-ldc-amplify-ui"]],decls:8,vars:12,consts:[[4,"ngIf"],["data-parallax","true",1,"page-header",2,"background-image","url('./assets/img/cmf/new-ldc-banner.jpg')"],[1,"ldc-amplify-login-panel"],[3,"formFields","socialProviders","loginMechanisms","signUpAttributes"],["style","padding: var(--amplify-space-large); text-align: center;","id","login-checkbox",4,"ngIf"],["style","padding: var(--amplify-space-large); text-align: center","id","disclaimer",4,"ngIf"],["id","login-checkbox",2,"padding","var(--amplify-space-large)","text-align","center"],[1,"amplify-text",2,"color","var(--amplify-colors-neutral-80)"],["type","checkbox",3,"checked","change"],["id","disclaimer",2,"padding","var(--amplify-space-large)","text-align","center"],[3,"routerLink"]],template:function(t,e){1&t&&(r.YNc(0,Pb,1,0,"app-ldc-create-account-modal",0),r.YNc(1,wb,1,0,"app-ldc-totp-modal",0),r.YNc(2,Mb,1,0,"app-ldc-qr-code-modal",0),r.TgZ(3,"div",1),r.TgZ(4,"div",2),r._UZ(5,"amplify-authenticator",3),r.YNc(6,xb,6,1,"div",4),r.YNc(7,Sb,6,2,"div",5),r.qZA(),r.qZA()),2&t&&(r.Q6J("ngIf",e.createAccountSelected),r.xp6(1),r.Q6J("ngIf",e.totpCodeRequestIsDisplayed),r.xp6(1),r.Q6J("ngIf",e.qrCodeIsDisplayed),r.xp6(3),r.Q6J("formFields",e.formFields)("socialProviders",r.DdM(9,Ab))("loginMechanisms",r.DdM(10,Tb))("signUpAttributes",r.DdM(11,Ib)),r.xp6(1),r.Q6J("ngIf",e.signinTabSelected&&!e.qrCodeIsDisplayed),r.xp6(1),r.Q6J("ngIf",e.signinTabSelected||e.createAccountSelected))},directives:[_t,vb,Cb,bb,Ob,bo],styles:['@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse.in[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapsing[_ngcontent-%COMP%]{display:none!important}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}
1.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0;padding:0}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border:0 none;border-radius:12px;display:block;margin-top:10px;padding:0;position:absolute;visibility:hidden;opacity:0;filter:alpha(opacity=0);box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#f1eae0;margin:0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-header[_ngcontent-%COMP%]{color:#9a9a9a;font-size:12px;padding:10px 15px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .no-notification[_ngcontent-%COMP%]{color:#9a9a9a;font-size:1.2em;padding:30px;text-align:center}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#66615b;font-size:14px;padding:10px 45px 10px 15px;clear:both;white-space:nowrap;width:100%;display:block}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{color:#fff}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:-3px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:0!important}.btn-group.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{min-width:100%}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%CO
1MP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child{border-top-left-radius:12px;border-top-right-radius:12px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{border-radius:0;border-bottom:0 none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;opacity:1;text-decoration:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#66615b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6dd3d6}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6ec7e0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#86d9ab}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#fcd27b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f7765f}.dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{margin:0!important}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{opacity:1;filter:alpha(opacity=100);visibility:visible}.navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:12px!important;right:auto}.btn-group.select.open[_ngcontent-%COMP%]{overflow:visible}.dropdown-menu-right[_ngcontent-%COMP%]{right:-2px!important;left:auto!important}@media (min-width: 768px){.navbar-form[_ngcontent-%COMP%]{margin-top:21px;margin-bottom:21px;padding-left:5px;padding-right:5px}.navbar-search-form[_ngcontent-%COMP%]{display:none}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-40px);transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(15px);visibility:visible!important}.bootstrap-select[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{box-shadow:none;transition:all .15s linear}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible!important;opacity:1;filter:alpha(opacity=100)}.dropup.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-10px);opacity:1;visibility:visible}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translateY(30px);opacity:0;visibility:hidden;display:block}.bootstrap-select[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translate(0)}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;
1left:12px;top:-11px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:before{right:12px;left:auto}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;left:12px;top:-10px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:after{right:12px;left:auto}#dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{left:15px}.navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:auto;right:12px}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-left:0}body[_ngcontent-%COMP%] > .navbar-collapse.collapse[_ngcontent-%COMP%]{display:none!important}}#navbar[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:3px 1.5rem!important}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#66615b;font-size:14px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]{line-height:28px;padding:10px 20px 5px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:20px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .action-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .action-line[_ngcontent-%COMP%]{background-color:#fffcf5;color:#66615b;opacity:1;text-decoration:none}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]{margin-bottom:1px}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding:10px 15px}.show[_ngcontent-%COMP%]   .dropdown-actions[_ngcontent-%COMP%]{margin-bottom:1px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:-15px 35px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]{padding:5px 10px;line-height:24px;font-weight:bold}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:24px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .col-sm-9[_ngcontent-%COMP%]{line-height:34px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:hover, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:active, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:focus{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%]{color:#66615b;opacity:1;text-decoration:none}.dropdown-actions[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .icon-simple[_ngcontent-%COMP%]{margin-left:-15px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-top:11px solid #DCD9D1;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-12px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-top:11px solid #FFFCF5;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-11px}.dropup[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:1px solid #F1EAE0;color:#66615b;font-size:16px;padding:10px 5px;width:330px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#66615b;white-space:normal}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{padding-left:40px;position:relative}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:block;position:absolute;top:50%;margin-top:-12px;left:7px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{font-size:.9em;line-height:.7;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{color:#9a9a9a;font-size:.7em;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .read-notification[_ngcontent-%COMP%]{font-size:12px;opacity:0;position:absolute;right:5px;top:50%;margin-top:-12px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0efeb;color:#66615b;opacity:1;text-decoration:none}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .read-notification[_ngcontent-%COMP%]{opacity:1!important}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]{background-color:#e8e7e3;border-radius:0 0 8px 8px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]{list-style:outside none none;padding:0 5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:0 10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#9c9b99;font-size:.9em;line-height:35px}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.motto[_ngcontent-%COMP%]{padding-top:25px;margin-bottom:5px!important;border-radius:30px!important;background-color:#0000004d}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.h1[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:300}p.overview[_ngcontent-%COMP%]{padding:2em 6em 1em;font-size:1.1em;font-weight:500;text-align:justify}a.email[_ngcontent-%COMP%]{color:#fff;font-weight:505}a.tech-links[_ngcontent-%COMP%]{color:#fff;font-weight:600}a.tools[_ngcontent-%COMP%]{text-align:center}@media only screen and (max-width: 767px){h1[_ngcontent-%COMP%]{font-size:45px!important}.overview[_ngcontent-%COMP%]{font-size:14px!important}}.page-header[_ngcontent-%COMP%]{height:950px;overflow:visible!important;background-size:auto 123%;background-position:center top;background-color:#8fb3d6}.ldc-top-banner[_ngcontent-%COMP%]{background-color:#fff}.ldc-amplify-login-panel[_ngcontent-%COMP%]{border-radius:30px;width:600px;height:800px;background-color:#fff;padding:48px 7px 0!important;margin-top:calc(80px - 2cm)!important;position:absolute}#login-checkbox[_ngcontent-%COMP%]{font-size:15px!important}#disclaimer[_ngcontent-%COMP%]{margin-top:-5px}']}),t}(),Db=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.router=e,this.ngZone=n}return _createClass(t,[{key:"canActivate",value:function(t,e){var n=this;return(0,fe.D)(Xc.currentAuthenticatedUser()).pipe((0,Me.U)(function(t){return!t||(n.ngZone.run(function(){n.router.navigate(["/"])}),!1)}),(0,Ie.K)(function(t){return(0,ge.of)(!0)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(vo),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),Rb=n(22759),Fb=n(61927),Lb=n(64581),Zb=n(95639),Nb=n(45697);function Ub(t){return t&&"function"==typeof t.connect}
1n(59328),n(47349);var Vb=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"applyChanges",value:function(t,e,n,i,o){t.forEachOperation(function(t,i,r){var a,s;if(null==t.previousIndex){var c=n(t,i,r);a=e.createEmbeddedView(c.templateRef,c.context,c.index),s=1}else null==r?(e.remove(i),s=3):(a=e.get(i),e.move(a,r),s=2);o&&o({context:null==a?void 0:a.context,operation:s,record:t})})}},{key:"detach",value:function(){}}]),t}(),jb=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,t),this._multiple=n,this._emitChanges=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new we.xQ,i&&i.length&&(n?i.forEach(function(t){return e._markSelected(t)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _createClass(t,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._markSelected(e)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._unmarkSelected(e)}),this._emitChangeEvent()}},{key:"toggle",value:function(t){this.isSelected(t)?this.deselect(t):this.select(t)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(t){return this._selection.has(t)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(t){this._multiple&&this.selected&&this._selected.sort(t)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}},{key:"_unmarkSelected",value:function(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}},{key:"_unmarkAll",value:function(){var t=this;this.isEmpty()||this._selection.forEach(function(e){return t._unmarkSelected(e)})}},{key:"_verifyValueAssignment",value:function(t){}}]),t}(),zb=function(){var t=function(){function t(){_classCallCheck(this,t),this._listeners=[]}return _createClass(t,[{key:"notify",value:function(t,e){var n,i=_createForOfIteratorHelper(this._listeners);try{for(i.s();!(n=i.n()).done;){(0,n.value)(t,e)}}catch(o){i.e(o)}finally{i.f()}}},{key:"listen",value:function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter(function(e){return t!==e})}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),qb=new r.OlP("_ViewRepeater"),Bb=["contentWrapper"],Yb=["*"],Gb=new r.OlP("VIRTUAL_SCROLL_STRATEGY"),Hb=function(){function t(e,n,i){_classCallCheck(this,t),this._scrolledIndexChange=new we.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,pl.x)()),this._viewport=null,this._itemSize=e,this._minBufferPx=n,this._maxBufferPx=i}return _createClass(t,[{key:"attach",value:function(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"detach",value:function(){this._scrolledIndexChange.complete(),this._viewport=null}},{key:"updateItemAndBufferSize",value:function(t,e,n){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentScrolled",value:function(){this._updateRenderedRange()}},{key:"onDataLengthChanged",value:function(){this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentRendered",value:function(){}},{key:"onRenderedOffsetChanged",value:function(){}},{key:"scrollToIndex",value:function(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)}},{key:"_updateTotalContentSize",value:function(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}},{key:"_updateRenderedRange",value:function(){if(this._viewport){var t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},n=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),r=this._itemSize>0?o/this._itemSize:0;if(e.end>i){var a=Math.ceil(n/this._itemSize),s=Math.max(0,Math.min(r,i-a));r!=s&&(r=s,o=s*this._itemSize,e.start=Math.floor(r)),e.end=Math.max(0,Math.min(i,e.start+a))}var c=o-e.start*this._itemSize;
1if(c<this._minBufferPx&&0!=e.start){var l=Math.ceil((this._maxBufferPx-c)/this._itemSize);e.start=Math.max(0,e.start-l),e.end=Math.min(i,Math.ceil(r+(n+this._minBufferPx)/this._itemSize))}else{var u=e.end*this._itemSize-(o+n);if(u<this._minBufferPx&&e.end!=i){var d=Math.ceil((this._maxBufferPx-u)/this._itemSize);d>0&&(e.end=Math.min(i,e.end+d),e.start=Math.max(0,Math.floor(r-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(r))}}}]),t}();function Jb(t){return t._scrollStrategy}var Wb=function(){var t=function(){function t(){_classCallCheck(this,t),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Hb(this.itemSize,this.minBufferPx,this.maxBufferPx)}return _createClass(t,[{key:"itemSize",get:function(){return this._itemSize},set:function(t){this._itemSize=_l(t)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(t){this._minBufferPx=_l(t)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(t){this._maxBufferPx=_l(t)}},{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r._Bn([{provide:Gb,useFactory:Jb,deps:[(0,r.Gpc)(function(){return t})]}]),r.TTD]}),t}(),Qb=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._ngZone=e,this._platform=n,this._scrolled=new we.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return _createClass(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new ve.y(function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe((0,Nb.e)(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):(0,ge.of)()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,Te.h)(function(t){return!t||n.indexOf(t)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach(function(i,o){e._scrollableContainsElement(o,t)&&n.push(o)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=Cl(e),i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var e=t._getWindow();return(0,Rb.R)(e.document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b),r.LFG(kl),r.LFG(l,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.R0b),r.LFG(kl),r.LFG(l,8))},token:t,providedIn:"root"}),t}(),Kb=function(){var t=function(){function t(e,n,i,o){var r=this;_classCallCheck(this,t),this.elementRef=e,this.scrollDispatcher=n,this.ngZone=i,this.dir=o,this._destroyed=new we.xQ,this._elementScrolled=new ve.y(function(t){return r.ngZone.runOutsideAngular(function(){return(0,Rb.R)(r.elementRef.nativeElement,"scroll").pipe((0,fl.R)(r._destroyed)).subscribe(t)})})}return _createClass(t,[{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(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Dl()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Dl()?t.left=t.right:1==Dl()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;El()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e="left",n="right",i=this.elementRef.nativeElement;if("top"==t)return i.scrollTop;if("bottom"==t)return i.scrollHeight-i.clientHeight-i.scrollTop;var o=this.dir&&"rtl"==this.dir.value;return"start"==t?t=o?n:e:"end"==t&&(t=o?e:n),o&&2==Dl()?t==e?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:o&&1==Dl()?t==e?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==e?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(Qb),r.Y36(r.R0b),r.Y36(ku,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t}(),Xb=function(){var t=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this._platform=e,this._change=new we.xQ,this._changeListener=function(t){o._change.next(t)},this._document=i,n.runOutsideAngular(function(){if(e.isBrowser){var t=o._getWindow();t.addEventListener("resize",o._changeListener),t.addEventListener("orientationchange",o._changeListener)}o.change().subscribe(function(){return o._viewportSize=null})})}return _createClass(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.he
1ight;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe((0,Nb.e)(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(kl),r.LFG(r.R0b),r.LFG(l,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(kl),r.LFG(r.R0b),r.LFG(l,8))},token:t,providedIn:"root"}),t}(),$b="undefined"!=typeof requestAnimationFrame?Fb.Z:Lb.E,tO=function(){var t=function(t){function e(t,n,i,o,r,a,s){var c;return _classCallCheck(this,e),(c=_callSuper(this,e,[t,a,i,r])).elementRef=t,c._changeDetectorRef=n,c._scrollStrategy=o,c._detachedSubject=new we.xQ,c._renderedRangeSubject=new we.xQ,c._orientation="vertical",c._appendOnly=!1,c.scrolledIndexChange=new ve.y(function(t){return c._scrollStrategy.scrolledIndexChange.subscribe(function(e){return Promise.resolve().then(function(){return c.ngZone.run(function(){return t.next(e)})})})}),c.renderedRangeStream=c._renderedRangeSubject,c._totalContentSize=0,c._totalContentWidth="",c._totalContentHeight="",c._renderedRange={start:0,end:0},c._dataLength=0,c._viewportSize=0,c._renderedContentOffset=0,c._renderedContentOffsetNeedsRewrite=!1,c._isChangeDetectionPending=!1,c._runAfterChangeDetection=[],c._viewportChanges=sl.w.EMPTY,c._viewportChanges=s.change().subscribe(function(){c.checkViewportSize()}),c}return _inherits(e,t),_createClass(e,[{key:"orientation",get:function(){return this._orientation},set:function(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}},{key:"appendOnly",get:function(){return this._appendOnly},set:function(t){this._appendOnly=gl(t)}},{key:"ngOnInit",value:function(){var t=this;_get(_getPrototypeOf(e.prototype),"ngOnInit",this).call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._measureViewportSize(),t._scrollStrategy.attach(t),t.elementScrolled().pipe((0,Se.O)(null),(0,Nb.e)(0,$b)).subscribe(function(){return t._scrollStrategy.onContentScrolled()}),t._markChangeDetectionNeeded()})})}},{key:"ngOnDestroy",value:function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),_get(_getPrototypeOf(e.prototype),"ngOnDestroy",this).call(this)}},{key:"attach",value:function(t){var e=this;this.ngZone.runOutsideAngular(function(){e._forOf=t,e._forOf.dataStream.pipe((0,fl.R)(e._detachedSubject)).subscribe(function(t){var n=t.length;n!==e._dataLength&&(e._dataLength=n,e._scrollStrategy.onDataLengthChanged()),e._doChangeDetection()})})}},{key:"detach",value:function(){this._forOf=null,this._detachedSubject.next()}},{key:"getDataLength",value:function(){return this._dataLength}},{key:"getViewportSize",value:function(){return this._viewportSize}},{key:"getRenderedRange",value:function(){return this._renderedRange}},{key:"setTotalContentSize",value:function(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}},{key:"setRenderedRange",value:function(t){var e=this;(function(t,e){return t.start==e.start&&t.end==e.end})(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(function(){return e._scrollStrategy.onContentRendered()}))}},{key:"getOffsetToRenderedContentStart",value:function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}},{key:"setRenderedContentOffset",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"to-start",i="horizontal"==this.orientation,o=i?"X":"Y",r="translate".concat(o,"(").concat(Number((i&&this.dir&&"rtl"==this.dir.value?-1:1)*t),"px)");this._renderedContentOffset=t,"to-end"===n&&(r+=" translate".concat(o,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=r&&(this._renderedContentTransform=r,this._markChangeDetectionNeeded(function(){e._renderedContentOffsetNeedsRewrite?(e._renderedContentOffset-=e.measureRenderedContentSize(),e._renderedContentOffsetNeedsRewrite=!1,e.setRenderedContentOffset(e._renderedContentOffset)):e._scrollStrategy.onRenderedOffsetChanged()}))}},{key:"scrollToOffset",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n={behavior:e};"horizontal"===this.orientation?n.start=t:n.top=t,this.scrollTo(n)}},{key:"scrollToIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";this._scrollStrategy.scrollToIndex(t,e)}},{key:"measureScrollOffset",value:function(t){return _get(_getPrototypeOf(e.prototype),"measureScrollOffset",this).call(this,t||("horizontal"===this.orientation?"start":"top"))}},{key:"measureRenderedContentSize",value:function(){var t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}},{key:"measureRangeSize",value:function(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}
1},{key:"checkViewportSize",value:function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}},{key:"_measureViewportSize",value:function(){var t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}},{key:"_markChangeDetectionNeeded",value:function(t){var e=this;t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._doChangeDetection()})}))}},{key:"_doChangeDetection",value:function(){var t=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(function(){return t._changeDetectorRef.markForCheck()});var e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];var n,i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){(0,n.value)()}}catch(o){i.e(o)}finally{i.f()}}},{key:"_calculateSpacerSize",value:function(){this._totalContentHeight="horizontal"===this.orientation?"":"".concat(this._totalContentSize,"px"),this._totalContentWidth="horizontal"===this.orientation?"".concat(this._totalContentSize,"px"):""}}]),e}(Kb);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(Gb,8),r.Y36(ku,8),r.Y36(Qb),r.Y36(Xb))},t.\u0275cmp=r.Xpm({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(Bb,7),2&t)&&(r.iGM(n=r.CRH())&&(e._contentWrapper=n.first))},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r._Bn([{provide:Kb,useExisting:t}]),r.qOj],ngContentSelectors:Yb,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0,1),r.Hsn(2),r.qZA(),r._UZ(3,"div",2)),2&t&&(r.xp6(3),r.Udp("width",e._totalContentWidth)("height",e._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),t}(),eO=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),nO=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Su,Sl,eO],Su,eO]}),t}(),iO=n(20945),oO=n(66682);function rO(t,e,n){for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];o?t.setProperty(i,o,(null==n?void 0:n.has(i))?"important":""):t.removeProperty(i)}return t}function aO(t,e){var n=e?"":"none";rO(t.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":n,"-ms-user-select":n,"-webkit-user-select":n,"-moz-user-select":n})}
1function sO(t,e,n){rO(t.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},n)}function cO(t,e){return e&&"none"!=e?t+" "+e:t}function lO(t){var e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function uO(t,e){return t.getPropertyValue(e).split(",").map(function(t){return t.trim()})}function dO(t){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function hO(t,e,n){var i=t.top,o=t.bottom,r=t.left,a=t.right;return n>=i&&n<=o&&e>=r&&e<=a}function pO(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function fO(t,e,n,i){var o=t.top,r=t.right,a=t.bottom,s=t.left,c=t.width*e,l=t.height*e;return i>o-l&&i<a+l&&n>s-c&&n<r+c}var gO=function(){function t(e,n){_classCallCheck(this,t),this._document=e,this._viewportRuler=n,this.positions=new Map}return _createClass(t,[{key:"clear",value:function(){this.positions.clear()}},{key:"cache",value:function(t){var e=this;this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),t.forEach(function(t){e.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:dO(t)})})}},{key:"handleScroll",value:function(t){var e=Ll(t),n=this.positions.get(e);if(!n)return null;var i,o,r=e===this._document?e.documentElement:e,a=n.scrollPosition;if(e===this._document){var s=this._viewportRuler.getViewportScrollPosition();i=s.top,o=s.left}else i=e.scrollTop,o=e.scrollLeft;var c=a.top-i,l=a.left-o;return this.positions.forEach(function(t,n){t.clientRect&&e!==n&&r.contains(n)&&pO(t.clientRect,c,l)}),a.top=i,a.left=o,{top:c,left:l}}}]),t}();function _O(t){var e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();e.removeAttribute("id");for(var o=0;o<n.length;o++)n[o].removeAttribute("id");return"canvas"===i?CO(t,e):("input"===i||"select"===i||"textarea"===i)&&yO(t,e),mO("canvas",t,e,CO),mO("input, textarea, select",t,e,yO),e}function mO(t,e,n,i){var o=e.querySelectorAll(t);if(o.length)for(var r=n.querySelectorAll(t),a=0;a<o.length;a++)i(o[a],r[a])}var vO=0;function yO(t,e){"file"!==e.type&&(e.value=t.value),"radio"===e.type&&e.name&&(e.name="mat-clone-".concat(e.name,"-").concat(vO++))}function CO(t,e){var n=e.getContext("2d");if(n)try{n.drawImage(t,0,0)}catch(i){}}var bO=Il({passive:!0}),OO=Il({passive:!1}),PO=new Set(["position"]),wO=function(){function t(e,n,i,o,r,a){var s=this;_classCallCheck(this,t),this._config=n,this._document=i,this._ngZone=o,this._viewportRuler=r,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new we.xQ,this._pointerMoveSubscription=sl.w.EMPTY,this._pointerUpSubscription=sl.w.EMPTY,this._scrollSubscription=sl.w.EMPTY,this._resizeSubscription=sl.w.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new we.xQ,this.started=new we.xQ,this.released=new we.xQ,this.ended=new we.xQ,this.entered=new we.xQ,this.exited=new we.xQ,this.dropped=new we.xQ,this.moved=this._moveEvents,this._pointerDown=function(t){if(s.beforeStarted.next(),s._handles.length){var e=s._handles.find(function(e){var n=Ll(t);return!!n&&(n===e||e.contains(n))});e&&!s._disabledHandles.has(e)&&!s.disabled&&s._initializeDragSequence(e,t)}else s.disabled||s._initializeDragSequence(s._rootElement,t)},this._pointerMove=function(t){var e=s._getPointerPositionOnPage(t);if(s._hasStartedDragging){s._boundaryElement&&(!s._previewRect||!s._previewRect.width&&!s._previewRect.height)&&(s._previewRect=(s._preview||s._rootElement).getBoundingClientRect()),t.preventDefault();var n=s._getConstrainedPointerPosition(e);if(s._hasMoved=!0,s._lastKnownPointerPosition=e,s._updatePointerDirectionDelta(n),s._dropContainer)s._updateActiveDropContainer(n,e);else{var i=s._activeTransform;i.x=n.x-s._pickupPositionOnPage.x+s._passiveTransform.x,i.y=n.y-s._pickupPositionOnPage.y+s._passiveTransform.y,s._applyRootElementTransform(i.x,i.y),"undefined"!=typeof SVGElement&&s._rootElement instanceof SVGElement&&s._rootElement.setAttribute("transform","translate(".concat(i.x," ").concat(i.y,")"))}s._moveEvents.observers.length&&s._ngZone.run(function(){s._moveEvents.next({source:s,pointerPosition:n,event:t,distance:s._getDragDistance(n),delta:s._pointerDirectionDelta})})}else if(Math.abs(e.x-s._pickupPositionOnPage.x)+Math.abs(e.y-s._pickupPositionOnPage.y)>=s._config.dragStartThreshold){var o=Date.now()>=s._dragStartTime+s._getDragStartDelay(t),r=s._dropContainer;if(!o)return void s._endDragSequence(t);
1(!r||!r.isDragging()&&!r.isReceiving())&&(t.preventDefault(),s._hasStartedDragging=!0,s._ngZone.run(function(){return s._startDragSequence(t)}))}},this._pointerUp=function(t){s._endDragSequence(t)},this.withRootElement(e).withParent(n.parentDragRef||null),this._parentPositions=new gO(i,r),a.registerDragItem(this)}return _createClass(t,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var e=gl(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(function(t){return aO(t,e)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(t){var e=this;this._handles=t.map(function(t){return Cl(t)}),this._handles.forEach(function(t){return aO(t,e.disabled)}),this._toggleNativeDragInteractions();var n=new Set;return this._disabledHandles.forEach(function(t){e._handles.indexOf(t)>-1&&n.add(t)}),this._disabledHandles=n,this}},{key:"withPreviewTemplate",value:function(t){return this._previewTemplate=t,this}},{key:"withPlaceholderTemplate",value:function(t){return this._placeholderTemplate=t,this}},{key:"withRootElement",value:function(t){var e=this,n=Cl(t);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){n.addEventListener("mousedown",e._pointerDown,OO),n.addEventListener("touchstart",e._pointerDown,bO)}),this._initialTransform=void 0,this._rootElement=n),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(t){var e=this;return this._boundaryElement=t?Cl(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return e._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(t){return this._parentDragRef=t,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&kO(this._rootElement),kO(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),aO(t,!0))}},{key:"enableHandle",value:function(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),aO(t,this.disabled))}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"_withDropContainer",value:function(t){this._dropContainer=t}},{key:"getFreeDragPosition",value:function(){var t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}},{key:"setFreeDragPosition",value:function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}},{key:"withPreviewContainer",value:function(t){return this._previewContainer=t,this}},{key:"_sortFromLastPointerPosition",value:function(){var t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&kO(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&
1kO(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var e=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){e._cleanupDragArtifacts(t),e._cleanupCachedDimensions(),e._dragDropRegistry.stopDragging(e)});else{this._passiveTransform.x=this._activeTransform.x;var n=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){e.ended.next({source:e,distance:e._getDragDistance(n),dropPoint:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(t){SO(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var e=this._dropContainer;if(e){var n=this._rootElement,i=n.parentNode,o=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();i.insertBefore(r,n),this._initialTransform=n.style.transform||"",this._preview=this._createPreviewElement(),sO(n,!1,PO),this._document.body.appendChild(i.replaceChild(o,n)),this._getPreviewInsertionPoint(i,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,e){var n=this;this._parentDragRef&&e.stopPropagation();var i=this.isDragging(),o=SO(e),r=!o&&0!==e.button,a=this._rootElement,s=Ll(e),c=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),l=o?cu(e):su(e);if(s&&s.draggable&&"mousedown"===e.type&&e.preventDefault(),!(i||r||c||l)){this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(t){return n._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=dO(this._boundaryElement));var u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);var d=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:d.x,y:d.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}}},{key:"_cleanupDragArtifacts",value:function(t){var e=this;sO(this._rootElement,!0,PO),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var n=e._dropContainer,i=n.getItemIndex(e),o=e._getPointerPositionOnPage(t),r=e._getDragDistance(o),a=n._isOverContainer(o.x,o.y);e.ended.next({source:e,distance:r,dropPoint:o}),e.dropped.next({item:e,currentIndex:i,previousIndex:e._initialIndex,container:n,previousContainer:e._initialContainer,isPointerOverContainer:a,distance:r,dropPoint:o}),n.drop(e,i,e._initialIndex,e._initialContainer,a,r,o),e._dropContainer=e._initialContainer})}},{key:"_updateActiveDropContainer",value:function(t,e){var n=this,i=t.x,o=t.y,r=e.x,a=e.y,s=this._initialContainer._getSiblingContainerFromPosition(this,i,o);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,o)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){n.exited.next({item:n,container:n._dropContainer}),n._dropContainer.exit(n),n._dropContainer=s,n._dropContainer.enter(n,i,o,s===n._initialContainer&&s.sortingDisabled?n._initialIndex:void 0),n.entered.next({item:n,container:s,currentIndex:s.getItemIndex(n)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(r,a),this._dropContainer._sortItem(this,i,o,this._pointerDirectionDelta),this._applyPreviewTransform(i-this._pickupPositionInElement.x,o-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var t,e=this._previewTemplate,n=this.previewClass,i=e?e.template:null;if(i&&e){var o=e.matchSize?this._rootElement.getBoundingClientRect():null,r=e.viewContainer.createEmbeddedView(i,e.context);r.detectChanges(),t=AO(r,this._document),this._previewRef=r,e.matchSize?TO(t,o):t.style.transform=MO(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var a=this._rootElement;TO(t=_O(a),a.getBoundingClientRect()),this._initialTransform&&(t.style.transform=this._initialTransform)}return rO(t.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":"".concat(this._config.zIndex||1e3)},PO),aO(t,!1),t.classList.add("cdk-drag-preview"),t.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEac
1h(function(e){return t.classList.add(e)}):t.classList.add(n)),t}},{key:"_animatePreviewToPlaceholder",value:function(){var t=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);var n=function(t){var e=getComputedStyle(t),n=uO(e,"transition-property"),i=n.find(function(t){return"transform"===t||"all"===t});if(!i)return 0;var o=n.indexOf(i),r=uO(e,"transition-duration"),a=uO(e,"transition-delay");return lO(r[o])+lO(a[o])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(e){var i=function n(i){var r;(!i||Ll(i)===t._preview&&"transform"===i.propertyName)&&(null===(r=t._preview)||void 0===r||r.removeEventListener("transitionend",n),e(),clearTimeout(o))},o=setTimeout(i,1.5*n);t._preview.addEventListener("transitionend",i)})})}},{key:"_createPlaceholderElement",value:function(){var t,e=this._placeholderTemplate,n=e?e.template:null;return n?(this._placeholderRef=e.viewContainer.createEmbeddedView(n,e.context),this._placeholderRef.detectChanges(),t=AO(this._placeholderRef,this._document)):t=_O(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}},{key:"_getPointerPositionInElement",value:function(t,e){var n=this._rootElement.getBoundingClientRect(),i=t===this._rootElement?null:t,o=i?i.getBoundingClientRect():n,r=SO(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:o.left-n.left+(r.pageX-o.left-a.left),y:o.top-n.top+(r.pageY-o.top-a.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var e=this._getViewportScrollPosition(),n=SO(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,i=n.pageX-e.left,o=n.pageY-e.top;if(this._ownerSVGElement){var r=this._ownerSVGElement.getScreenCTM();if(r){var a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=o,a.matrixTransform(r.inverse())}}return{x:i,y:o}}},{key:"_getConstrainedPointerPosition",value:function(t){var e=this._dropContainer?this._dropContainer.lockAxis:null,n=this.constrainPosition?this.constrainPosition(t,this):t,i=n.x,o=n.y;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){var r=this._pickupPositionInElement,a=r.x,s=r.y,c=this._boundaryRect,l=this._previewRect,u=c.top+s,d=c.bottom-(l.height-s);i=xO(i,c.left+a,c.right-(l.width-a)),o=xO(o,u,d)}return{x:i,y:o}}},{key:"_updatePointerDirectionDelta",value:function(t){var e=t.x,n=t.y,i=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-o.x),a=Math.abs(n-o.y);return r>this._config.pointerDirectionChangeThreshold&&(i.x=e>o.x?1:-1,o.x=e),a>this._config.pointerDirectionChangeThreshold&&(i.y=n>o.y?1:-1,o.y=n),i}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,aO(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,OO),t.removeEventListener("touchstart",this._pointerDown,bO)}},{key:"_applyRootElementTransform",value:function(t,e){var n=MO(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform&&"none"!=this._rootElement.style.transform?this._rootElement.style.transform:""),this._rootElement.style.transform=cO(n,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(t,e){var n,i=(null===(n=this._previewTemplate)||void 0===n?void 0:n.template)?void 0:this._initialTransform,o=MO(t,e);this._preview.style.transform=cO(o,i)}},{key:"_getDragDistance",value:function(t){var e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var t=this._passiveTransform,e=t.x,n=t.y;if(!(0===e&&0===n||this.isDragging())&&this._boundaryElement){var i=this._boundaryElement.getBoundingClientRect(),o=this._rootElement.getBoundingClientRect();if(!(0===i.width&&0===i.height||0===o.width&&0===o.height)){var r=i.left-o.left,a=o.right-i.right,s=i.top-o.top,c=o.bottom-i.bottom;i.width>o.width?(r>0&&(e+=r),a>0&&(e-=a)):e=0,i.height>o.height?(s>0&&(n+=s),c>0&&(n-=c)):n=0,(e!==this._passiveTransform.x||n!==this._passiveTransform.y)&&this.setFreeDragPosition({y:n,x:e})}}}},{key:"_getDragStartDelay",value:function(t){var e=this.dragStartDelay;return"number"==typeof e?e:SO(t)?e.touch:e?e.mouse:0}},{key:"_updateOnScroll",value:function(t){var e=this._parentPositions.handleScroll(t);if(e){var n=Ll(t);this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&pO(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Rl(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(t,e){var n=this._previewContainer||"global";if("parent"===n)return t;if("global"===n){var i=this._document;return e||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}return Cl(n)}}]),t}();function MO(t,e){return"translate3d(".concat(Math.round(t),"px, ").concat(Math.round(e),"px, 0)")}function xO(t,e,n){return Math.max(e,Math.min(n,t))}function kO(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function SO(t){return"t"===t.type[0]}function AO(t,e){var n=t.rootNodes;if(1===n.length&&n[0].nodeType===e.ELEMENT_NODE)return n[0];var i=e.createElement("div");
1return n.forEach(function(t){return i.appendChild(t)}),i}function TO(t,e){t.style.width="".concat(e.width,"px"),t.style.height="".concat(e.height,"px"),t.style.transform=MO(e.left,e.top)}function IO(t,e){return Math.max(0,Math.min(e,t))}var EO=function(){function t(e,n,i,o,r){var a=this;_classCallCheck(this,t),this._dragDropRegistry=n,this._ngZone=o,this._viewportRuler=r,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.beforeStarted=new we.xQ,this.entered=new we.xQ,this.exited=new we.xQ,this.dropped=new we.xQ,this.sorted=new we.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=sl.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new we.xQ,this._cachedShadowRoot=null,this._startScrollInterval=function(){a._stopScrolling(),(0,iO.F)(0,Fb.Z).pipe((0,fl.R)(a._stopScrollTimers)).subscribe(function(){var t=a._scrollNode,e=a.autoScrollStep;1===a._verticalScrollDirection?RO(t,-e):2===a._verticalScrollDirection&&RO(t,e),1===a._horizontalScrollDirection?FO(t,-e):2===a._horizontalScrollDirection&&FO(t,e)})},this.element=Cl(e),this._document=i,this.withScrollableParents([this.element]),n.registerDropContainer(this),this._parentPositions=new gO(i,r)}return _createClass(t,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(t,e,n,i){var o;this._draggingStarted(),null==i?-1===(o=this.sortingDisabled?this._draggables.indexOf(t):-1)&&(o=this._getItemIndexFromPointerPosition(t,e,n)):o=i;var r=this._activeDraggables,a=r.indexOf(t),s=t.getPlaceholderElement(),c=r[o];if(c===t&&(c=r[o+1]),a>-1&&r.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){var l=c.getRootElement();l.parentElement.insertBefore(s,l),r.splice(o,0,t)}else if(this._shouldEnterAsFirstChild(e,n)){var u=r[0].getRootElement();u.parentNode.insertBefore(s,u),r.unshift(t)}else Cl(this.element).appendChild(s),r.push(t);s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}},{key:"exit",value:function(t){this._reset(),this.exited.next({item:t,container:this})}},{key:"drop",value:function(t,e,n,i,o,r,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:o,distance:r,dropPoint:a})}},{key:"withItems",value:function(t){var e=this,n=this._draggables;return this._draggables=t,t.forEach(function(t){return t._withDropContainer(e)}),this.isDragging()&&(n.filter(function(t){return t.isDragging()}).every(function(e){return-1===t.indexOf(e)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"connectedTo",value:function(t){return this._siblings=t.slice(),this}},{key:"withOrientation",value:function(t){return this._orientation=t,this}},{key:"withScrollableParents",value:function(t){var e=Cl(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e].concat(_toConsumableArray(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?DO("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(e){return e.drag===t}):this._draggables.indexOf(t)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(t,e,n,i){if(!this.sortingDisabled&&this._clientRect&&fO(this._clientRect,.05,e,n)){var o=this._itemPositions,r=this._getItemIndexFromPointerPosition(t,e,n,i);if(!(-1===r&&o.length>0)){var a="horizontal"===this._orientation,s=DO(o,function(e){return e.drag===t}
1),c=o[r],l=c.clientRect,u=s>r?1:-1,d=this._getItemOffsetPx(o[s].clientRect,l,u),h=this._getSiblingOffsetPx(s,o,u),p=o.slice();(function(t,e,n){var i=IO(e,t.length-1),o=IO(n,t.length-1);if(i!==o){for(var r=t[i],a=o<i?-1:1,s=i;s!==o;s+=a)t[s]=t[s+a];t[o]=r}})(o,s,r),this.sorted.next({previousIndex:s,currentIndex:r,container:this,item:t}),o.forEach(function(e,n){if(p[n]!==e){var i=e.drag===t,o=i?d:h,r=i?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=o,a?(r.style.transform=cO("translate3d(".concat(Math.round(e.offset),"px, 0, 0)"),e.initialTransform),pO(e.clientRect,0,o)):(r.style.transform=cO("translate3d(0, ".concat(Math.round(e.offset),"px, 0)"),e.initialTransform),pO(e.clientRect,o,0))}}),this._previousSwap.overlaps=hO(l,e,n),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?i.x:i.y}}}},{key:"_startScrollingIfNecessary",value:function(t,e){var n=this;if(!this.autoScrollDisabled){var i,o=0,r=0;if(this._parentPositions.positions.forEach(function(a,s){var c,l;s===n._document||!a.clientRect||i||fO(a.clientRect,.05,t,e)&&(c=function(t,e,n,i){var o=LO(e,i),r=ZO(e,n),a=0,s=0;if(o){var c=t.scrollTop;1===o?c>0&&(a=1):t.scrollHeight-c>t.clientHeight&&(a=2)}if(r){var l=t.scrollLeft;1===r?l>0&&(s=1):t.scrollWidth-l>t.clientWidth&&(s=2)}return[a,s]}(s,a.clientRect,t,e),l=_slicedToArray(c,2),o=l[0],r=l[1],(o||r)&&(i=s))}),!o&&!r){var a=this._viewportRuler.getViewportSize(),s=a.width,c=a.height,l={width:s,height:c,top:0,right:s,bottom:c,left:0};o=LO(l,e),r=ZO(l,t),i=window}i&&(o!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=r,this._scrollNode=i,(o||r)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var t=Cl(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var t=Cl(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}},{key:"_cacheItemPositions",value:function(){var t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(t){var e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:dO(e)}}).sort(function(e,n){return t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top})}},{key:"_reset",value:function(){var t=this;this._isDragging=!1;var e=Cl(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(e){var n,i=e.getRootElement();if(i){var o=null===(n=t._itemPositions.find(function(t){return t.drag===e}))||void 0===n?void 0:n.initialTransform;i.style.transform=o||""}}),this._siblings.forEach(function(e){return e._stopReceiving(t)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(t,e,n){var i="horizontal"===this._orientation,o=e[t].clientRect,r=e[t+-1*n],a=o[i?"width":"height"]*n;if(r){var s=i?"left":"top",c=i?"right":"bottom";-1===n?a-=r.clientRect[s]-o[c]:a+=o[s]-r.clientRect[c]}return a}},{key:"_getItemOffsetPx",value:function(t,e,n){var i="horizontal"===this._orientation,o=i?e.left-t.left:e.top-t.top;return-1===n&&(o+=i?e.width-t.width:e.height-t.height),o}},{key:"_shouldEnterAsFirstChild",value:function(t,e){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var o=n[n.length-1].clientRect;return i?t>=o.right:e>=o.bottom}var r=n[0].clientRect;return i?t<=r.left:e<=r.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,e,n,i){var o=this,r="horizontal"===this._orientation,a=DO(this._itemPositions,function(a,s,c){var l=a.drag,u=a.clientRect;if(l===t)return c.length<2;if(i){var d=r?i.x:i.y;if(l===o._previousSwap.drag&&o._previousSwap.overlaps&&d===o._previousSwap.delta)return!1}return r?e>=Math.floor(u.left)&&e<Math.floor(u.right):n>=Math.floor(u.top)&&n<Math.floor(u.bottom)});return-1!==a&&this.sortPredicate(a,t,this)?a:-1}},{key:"_cacheItems",value:function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}},{key:"_isOverContainer",value:function(t,e){return null!=this._clientRect&&hO(this._clientRect,t,e)}},{key:"_getSiblingContainerFromPosition",value:function(t,e,n){return this._siblings.find(function(i){return i._canReceive(t,e,n)})}},{key:"_canReceive",value:function(t,e,n){if(!this._clientRect||!hO(this._clientRect,e,n)||!this.enterPredicate(t,this))return!1;var i=this._getShadowRoot().elementFromPoint(e,n);if(!i)return!1;var o=Cl(this.element);return i===o||o.contains(i)}},{key:"_startReceiving",value:function(t,e){var n=this,i=this._activeSiblings;!i.has(t)&&e.every(function(t){return n.enterPredicate(t,n)||n._draggables.indexOf(t)>-1}
1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var t=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(e){if(t.isDragging()){var n=t._parentPositions.handleScroll(e);n&&(t._itemPositions.forEach(function(t){pO(t.clientRect,n.top,n.left)}),t._itemPositions.forEach(function(e){var n=e.drag;t._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()}))}else t.isReceiving()&&t._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var t=Rl(Cl(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var t=this,e=this._activeDraggables.filter(function(t){return t.isDragging()});this._siblings.forEach(function(n){return n._startReceiving(t,e)})}}]),t}();function DO(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1}function RO(t,e){t===window?t.scrollBy(0,e):t.scrollTop+=e}function FO(t,e){t===window?t.scrollBy(e,0):t.scrollLeft+=e}function LO(t,e){var n=t.top,i=t.bottom,o=.05*t.height;return e>=n-o&&e<=n+o?1:e>=i-o&&e<=i+o?2:0}function ZO(t,e){var n=t.left,i=t.right,o=.05*t.width;return e>=n-o&&e<=n+o?1:e>=i-o&&e<=i+o?2:0}var NO=Il({passive:!1,capture:!0}),UO=function(){var t=function(){function t(e,n){var i=this;_classCallCheck(this,t),this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(t){return t.isDragging()},this.pointerMove=new we.xQ,this.pointerUp=new we.xQ,this.scroll=new we.xQ,this._preventDefaultWhileDragging=function(t){i._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=function(t){i._activeDragInstances.length>0&&(i._activeDragInstances.some(i._draggingPredicate)&&t.preventDefault(),i.pointerMove.next(t))},this._document=n}return _createClass(t,[{key:"registerDropContainer",value:function(t){this._dropInstances.has(t)||this._dropInstances.add(t)}},{key:"registerDragItem",value:function(t){var e=this;this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){e._document.addEventListener("touchmove",e._persistentTouchmoveListener,NO)})}},{key:"removeDropContainer",value:function(t){this._dropInstances.delete(t)}},{key:"removeDragItem",value:function(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,NO)}},{key:"startDragging",value:function(t,e){var n=this;if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){var i=e.type.startsWith("touch");this._globalListeners.set(i?"touchend":"mouseup",{handler:function(t){return n.pointerUp.next(t)},options:!0}).set("scroll",{handler:function(t){return n.scroll.next(t)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:NO}),i||this._globalListeners.set("mousemove",{handler:function(t){return n.pointerMove.next(t)},options:NO}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(t,e){n._document.addEventListener(e,t.handler,t.options)})})}}},{key:"stopDragging",value:function(t){var e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(t){return this._activeDragInstances.indexOf(t)>-1}},{key:"scrolled",value:function(t){var e=this,n=[this.scroll];return t&&t!==this._document&&n.push(new ve.y(function(n){return e._ngZone.runOutsideAngular(function(){var i=function(t){e._activeDragInstances.length&&n.next(t)};return t.addEventListener("scroll",i,!0),function(){t.removeEventListener("scroll",i,!0)}})})),oO.T.apply(void 0,n)}},{key:"ngOnDestroy",value:function(){var t=this;
1this._dragInstances.forEach(function(e){return t.removeDragItem(e)}),this._dropInstances.forEach(function(e){return t.removeDropContainer(e)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var t=this;this._globalListeners.forEach(function(e,n){t._document.removeEventListener(n,e.handler,e.options)}),this._globalListeners.clear()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b),r.LFG(l))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.R0b),r.LFG(l))},token:t,providedIn:"root"}),t}(),VO={dragStartThreshold:5,pointerDirectionChangeThreshold:5},jO=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._document=e,this._ngZone=n,this._viewportRuler=i,this._dragDropRegistry=o}return _createClass(t,[{key:"createDrag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:VO;return new wO(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(t){return new EO(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(r.R0b),r.LFG(Xb),r.LFG(UO))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(l),r.LFG(r.R0b),r.LFG(Xb),r.LFG(UO))},token:t,providedIn:"root"}),t}(),zO=new r.OlP("CDK_DRAG_PARENT"),qO=new r.OlP("CDK_DRAG_CONFIG"),BO=new r.OlP("CdkDropList"),YO=new r.OlP("CdkDragHandle"),GO=new r.OlP("CdkDragPlaceholder"),HO=new r.OlP("CdkDragPreview"),JO=function(){var t=function(){function t(e,n,i,o,a,s,c,l,u,d,h){var p=this;_classCallCheck(this,t),this.element=e,this.dropContainer=n,this._ngZone=o,this._viewContainerRef=a,this._dir=c,this._changeDetectorRef=u,this._selfHandle=d,this._parentDrag=h,this._destroyed=new we.xQ,this.started=new r.vpe,this.released=new r.vpe,this.ended=new r.vpe,this.entered=new r.vpe,this.exited=new r.vpe,this.dropped=new r.vpe,this.moved=new ve.y(function(t){var e=p._dragRef.moved.pipe((0,Me.U)(function(t){return{source:p,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}})).subscribe(t);return function(){e.unsubscribe()}}),this._dragRef=l.createDrag(e,{dragStartThreshold:s&&null!=s.dragStartThreshold?s.dragStartThreshold:5,pointerDirectionChangeThreshold:s&&null!=s.pointerDirectionChangeThreshold?s.pointerDirectionChangeThreshold:5,zIndex:null==s?void 0:s.zIndex}),this._dragRef.data=this,t._dragInstances.push(this),s&&this._assignDefaults(s),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return _createClass(t,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(t){this._disabled=gl(t),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe((0,ke.q)(1),(0,fl.R)(t._destroyed)).subscribe(function(){t._updateRootElement(),t._setupHandlesListener(),t.freeDragPosition&&t._dragRef.setFreeDragPosition(t.freeDragPosition)})})}},{key:"ngOnChanges",value:function(t){var e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){var e=this;this.dropContainer&&this.dropContainer.removeItem(this);var n=t._dragInstances.indexOf(this);n>-1&&t._dragInstances.splice(n,1),this._ngZone.runOutsideAngular(function(){e._destroyed.next(),e._destroyed.complete(),e._dragRef.dispose()})}},{key:"_updateRootElement",value:function(){var t=this.element.nativeElement,e=this.rootElementSelector?WO(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}},{key:"_getBoundaryElement",value:function(){var t=this.boundaryElement;return t?"string"==typeof t?WO(this.element.nativeElement,t):Cl(t):null}},{key:"_syncInputs",value:function(e){var n=this;e.beforeStarted.subscribe(function(){if(!e.isDragging()){var t=n._dir,i=n.dragStartDelay,o=n._placeholderTemplate?{template:n._placeholderTemplate.templateRef,context:n._placeholderTemplate.data,viewContainer:n._viewContainerRef}:null,r=n._previewTemplate?{template:n._previewTemplate.templateRef,context:n._previewTemplate.data,matchSize:n._previewTemplate.matchSize,viewContainer:n._viewContainerRef}:null;e.disabled=n.disabled,e.lockAxis=n.lockAxis,e.dragStartDelay="object"==typeof i&&i?i:_l(i),e.constrainPosition=n.constrainPosition,e.previewClass=n.previewClass,e.withBoundaryElement(n._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(r).withPreviewContainer(n.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,ke.q)(1)).subscribe(function(){var i,o;if(n._parentDrag)e.withParent(n._parentDrag._dragRef);else for(var r=n.element.nativeElement.parentElement;r;){if(null===(i=r.classList)||void 0===i?void 0:i.contains("cdk-drag")){e.withParent((null===(o=t._dragInstances.find(function(t){return t.element.nativeElement===r}))||void 0===o?void 0:o._dragRef)||null);break}r=r.parentElement}})}},{key:"_handleEvents",value:function(t){var e=this;t.started.subscribe(function(){e.started.emit({source:e}),e._changeDetectorRef.markForCheck()}
1),t.released.subscribe(function(){e.released.emit({source:e})}),t.ended.subscribe(function(t){e.ended.emit({source:e,distance:t.distance,dropPoint:t.dropPoint}),e._changeDetectorRef.markForCheck()}),t.entered.subscribe(function(t){e.entered.emit({container:t.container.data,item:e,currentIndex:t.currentIndex})}),t.exited.subscribe(function(t){e.exited.emit({container:t.container.data,item:e})}),t.dropped.subscribe(function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:e,distance:t.distance,dropPoint:t.dropPoint})})}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,n=t.dragStartDelay,i=t.constrainPosition,o=t.previewClass,r=t.boundaryElement,a=t.draggingDisabled,s=t.rootElementSelector,c=t.previewContainer;this.disabled=null!=a&&a,this.dragStartDelay=n||0,e&&(this.lockAxis=e),i&&(this.constrainPosition=i),o&&(this.previewClass=o),r&&(this.boundaryElement=r),s&&(this.rootElementSelector=s),c&&(this.previewContainer=c)}},{key:"_setupHandlesListener",value:function(){var t=this;this._handles.changes.pipe((0,Se.O)(this._handles),(0,Le.b)(function(e){var n=e.filter(function(e){return e._parentDrag===t}).map(function(t){return t.element});t._selfHandle&&t.rootElementSelector&&n.push(t.element),t._dragRef.withHandles(n)}),(0,xe.w)(function(t){return oO.T.apply(void 0,_toConsumableArray(t.map(function(t){return t._stateChanges.pipe((0,Se.O)(t))})))}),(0,fl.R)(this._destroyed)).subscribe(function(e){var n=t._dragRef,i=e.element.nativeElement;e.disabled?n.disableHandle(i):n.enableHandle(i)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(BO,12),r.Y36(l),r.Y36(r.R0b),r.Y36(r.s_b),r.Y36(qO,8),r.Y36(ku,8),r.Y36(jO),r.Y36(r.sBO),r.Y36(YO,10),r.Y36(zO,12))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,HO,5),r.Suo(n,GO,5),r.Suo(n,YO,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._previewTemplate=i.first),r.iGM(i=r.CRH())&&(e._placeholderTemplate=i.first),r.iGM(i=r.CRH())&&(e._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[r._Bn([{provide:zO,useExisting:t}]),r.TTD]}),t._dragInstances=[],t}();function WO(t,e){for(var n=t.parentElement;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}var QO=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[jO],imports:[eO]}),t}(),KO=["*",[["mat-card-footer"]]],XO=["*","mat-card-footer"],$O=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this._animationMode=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(_p,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:XO,decls:2,vars:0,template:function(t,e){1&t&&(r.F$t(KO),r.Hsn(0),r.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;
1left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}
1.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t}(),tP=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp],Sp]}),t}(),eP=["*"],nP=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\n",iP=function(){function t(){_classCallCheck(this,t),this.columnIndex=0,this.rowIndex=0}return _createClass(t,[{key:"rowCount",get:function(){return this.rowIndex+1}},{key:"rowspan",get:function(){var t=Math.max.apply(Math,_toConsumableArray(this.tracker));return t>1?this.rowCount+t-1:this.rowCount}},{key:"update",value:function(t,e){var n=this;this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(function(t){return n._trackTile(t)})}},{key:"_trackTile",value:function(t){var e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new oP(this.rowIndex,e)}},{key:"_findMatchingGap",value:function(t){var e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):-1!=(e=this.tracker.indexOf(0,this.columnIndex))?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e))}while(n-e<t||0==n);return Math.max(e,0)}},{key:"_nextRow",value:function(){this.columnIndex=0,this.rowIndex++;for(var t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)}},{key:"_findGapEndIndex",value:function(t){for(var e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length}},{key:"_markTilePosition",value:function(t,e){for(var n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan}}]),t}(),oP=_createClass(function t(e,n){_classCallCheck(this,t),this.row=e,this.col=n}),rP=new r.OlP("MAT_GRID_LIST"),aP=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._element=e,this._gridList=n,this._rowspan=1,this._colspan=1}return _createClass(t,[{key:"rowspan",get:function(){return this._rowspan}
1,set:function(t){this._rowspan=Math.round(_l(t))}},{key:"colspan",get:function(){return this._colspan},set:function(t){this._colspan=Math.round(_l(t))}},{key:"_setStyle",value:function(t,e){this._element.nativeElement.style[t]=e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(rP,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,e){2&t&&r.uIk("rowspan",e.rowspan)("colspan",e.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:eP,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},styles:[nP],encapsulation:2,changeDetection:0}),t}(),sP=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,cP=function(){function t(){_classCallCheck(this,t),this._rows=0,this._rowspan=0}return _createClass(t,[{key:"init",value:function(t,e,n,i){this._gutterSize=pP(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=i}},{key:"getBaseTileSize",value:function(t,e){return"(".concat(t,"% - (").concat(this._gutterSize," * ").concat(e,"))")}},{key:"getTilePosition",value:function(t,e){return 0===e?"0":hP("(".concat(t," + ").concat(this._gutterSize,") * ").concat(e))}},{key:"getTileSize",value:function(t,e){return"(".concat(t," * ").concat(e,") + (").concat(e-1," * ").concat(this._gutterSize,")")}},{key:"setStyle",value:function(t,e,n){var i=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(t,n,i,o),this.setRowStyles(t,e,i,o)}},{key:"setColStyles",value:function(t,e,n,i){var o=this.getBaseTileSize(n,i);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(o,e)),t._setStyle("width",hP(this.getTileSize(o,t.colspan)))}},{key:"getGutterSpan",value:function(){return"".concat(this._gutterSize," * (").concat(this._rowspan," - 1)")}},{key:"getTileSpan",value:function(t){return"".concat(this._rowspan," * ").concat(this.getTileSize(t,1))}},{key:"getComputedHeight",value:function(){return null}}]),t}(),lP=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e)).fixedRowHeight=t,n}return _inherits(e,t),_createClass(e,[{key:"init",value:function(t,n,i,o){_get(_getPrototypeOf(e.prototype),"init",this).call(this,t,n,i,o),this.fixedRowHeight=pP(this.fixedRowHeight),sP.test(this.fixedRowHeight)}},{key:"setRowStyles",value:function(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",hP(this.getTileSize(this.fixedRowHeight,t.rowspan)))}},{key:"getComputedHeight",value:function(){return["height",hP("".concat(this.getTileSpan(this.fixedRowHeight)," + ").concat(this.getGutterSpan()))]}},{key:"reset",value:function(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach(function(t){t._setStyle("top",null),t._setStyle("height",null)})}}]),e}(cP),uP=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._parseRatio(t),n}return _inherits(e,t),_createClass(e,[{key:"setRowStyles",value:function(t,e,n,i){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,i),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",hP(this.getTileSize(this.baseTileHeight,t.rowspan)))}},{key:"getComputedHeight",value:function(){return["paddingBottom",hP("".concat(this.getTileSpan(this.baseTileHeight)," + ").concat(this.getGutterSpan()))]}},{key:"reset",value:function(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(function(t){t._setStyle("marginTop",null),t._setStyle("paddingTop",null)})}},{key:"_parseRatio",value:function(t){var e=t.split(":");this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}]),e}(cP),dP=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"setRowStyles",value:function(t,e){var n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(n,e)),t._setStyle("height",hP(this.getTileSize(n,t.rowspan)))}}
1,{key:"reset",value:function(t){t._tiles&&t._tiles.forEach(function(t){t._setStyle("top",null),t._setStyle("height",null)})}}]),e}(cP);function hP(t){return"calc(".concat(t,")")}function pP(t){return t.match(/([A-Za-z%]+)$/)?t:"".concat(t,"px")}var fP=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._element=e,this._dir=n,this._gutter="1px"}return _createClass(t,[{key:"cols",get:function(){return this._cols},set:function(t){this._cols=Math.max(1,Math.round(_l(t)))}},{key:"gutterSize",get:function(){return this._gutter},set:function(t){this._gutter="".concat(null==t?"":t)}},{key:"rowHeight",get:function(){return this._rowHeight},set:function(t){var e="".concat(null==t?"":t);e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))}},{key:"ngOnInit",value:function(){this._checkCols(),this._checkRowHeight()}},{key:"ngAfterContentChecked",value:function(){this._layoutTiles()}},{key:"_checkCols",value:function(){}},{key:"_checkRowHeight",value:function(){this._rowHeight||this._setTileStyler("1:1")}},{key:"_setTileStyler",value:function(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===t?new dP:t&&t.indexOf(":")>-1?new uP(t):new lP(t)}},{key:"_layoutTiles",value:function(){var t=this;this._tileCoordinator||(this._tileCoordinator=new iP);var e=this._tileCoordinator,n=this._tiles.filter(function(e){return!e._gridList||e._gridList===t}),i=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,n),this._tileStyler.init(this.gutterSize,e,this.cols,i),n.forEach(function(n,i){var o=e.positions[i];t._tileStyler.setStyle(n,o.row,o.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}},{key:"_setListStyle",value:function(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(ku,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-grid-list"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,aP,5),2&t)&&(r.iGM(i=r.CRH())&&(e._tiles=i))},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("cols",e.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[r._Bn([{provide:rP,useExisting:t}])],ngContentSelectors:eP,decls:2,vars:0,template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div"),r.Hsn(1),r.qZA())},styles:[nP],encapsulation:2,changeDetection:0}),t}(),gP=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Wp,Sp],Wp,Sp]}),t}(),_P=function(){var t=function(){function t(){_classCallCheck(this,t),this._vertical=!1,this._inset=!1}return _createClass(t,[{key:"vertical",get:function(){return this._vertical},set:function(t){this._vertical=gl(t)}},{key:"inset",get:function(){return this._inset},set:function(t){this._inset=gl(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),r.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t}(),mP=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp],Sp]}),t}(),vP=["mat-button",""],yP=["*"],CP=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],bP=Tp(Ap(Ip(function(){return _createClass(function t(e){_classCallCheck(this,t),this._elementRef=e})}()))),OP=function(){var t=function(t){function e(t,n,i){var o;_classCallCheck(this,e),(o=_callSuper(this,e,[t]))._focusMonitor=n,o._animationMode=i,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var r,a=_createForOfIteratorHelper(CP);try{for(a.s();!(r=a.n()).done;){var s=r.value;o._hasHostAttributes(s)&&o._getHostElement().classList.add(s)}}catch(c){a.e(c)}finally{a.f()}return t.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return _inherits(e,t),_createClass(e,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.some(function(e){return t._getHostElement().hasAttribute(e)})}}]),e}(bP);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(yu),r.Y36(_p,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var n;(1&t&&r.Gf(of,5),2&t)&&(r.iGM(n=r.CRH())&&(e.ripple=n.first))},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("disabled",e.disabled||null),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.qOj],attrs:vP,ngContentSelectors:yP,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"
1span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[of],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t}(),PP=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[rf,Sp],Sp]}),t}(),wP=n(35758),MP=n(78345),xP=["*"];function kP(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function SP(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(t,'".'))}function AP(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var TP=_createClass(function t(e,n,i){_classCallCheck(this,t),this.url=e,this.svgText=n,this.options=i}),IP=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._httpClient=e,this._sanitizer=n,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClasse
1sByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}return _createClass(t,[{key:"addSvgIcon",value:function(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}},{key:"addSvgIconLiteral",value:function(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}},{key:"addSvgIconInNamespace",value:function(t,e,n,i){return this._addSvgIconConfig(t,e,new TP(n,null,i))}},{key:"addSvgIconResolver",value:function(t){return this._resolvers.push(t),this}},{key:"addSvgIconLiteralInNamespace",value:function(t,e,n,i){var o=this._sanitizer.sanitize(r.q3G.HTML,n);if(!o)throw AP(n);return this._addSvgIconConfig(t,e,new TP("",o,i))}},{key:"addSvgIconSet",value:function(t,e){return this.addSvgIconSetInNamespace("",t,e)}},{key:"addSvgIconSetLiteral",value:function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}},{key:"addSvgIconSetInNamespace",value:function(t,e,n){return this._addSvgIconSetConfig(t,new TP(e,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(t,e,n){var i=this._sanitizer.sanitize(r.q3G.HTML,e);if(!i)throw AP(e);return this._addSvgIconSetConfig(t,new TP("",i,n))}},{key:"registerFontClassAlias",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,e),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var e=this,n=this._sanitizer.sanitize(r.q3G.RESOURCE_URL,t);if(!n)throw SP(t);var i=this._cachedIconsByUrl.get(n);return i?(0,ge.of)(EP(i)):this._loadSvgIconFromConfig(new TP(t,null)).pipe((0,Le.b)(function(t){return e._cachedIconsByUrl.set(n,t)}),(0,Me.U)(function(t){return EP(t)}))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=DP(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(t,o):(0,zo._)(kP(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?(0,ge.of)(EP(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,Me.U)(function(t){return EP(t)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var n=this,i=this._extractIconWithNameFromAnySet(t,e);if(i)return(0,ge.of)(i);var o=e.filter(function(t){return!t.svgText}).map(function(t){return n._loadSvgIconSetFromConfig(t).pipe((0,Ie.K)(function(e){var i="Loading icon set URL: ".concat(n._sanitizer.sanitize(r.q3G.RESOURCE_URL,t.url)," failed: ").concat(e.message);return n._errorHandler.handleError(new Error(i)),(0,ge.of)(null)}))});return(0,wP.D)(o).pipe((0,Me.U)(function(){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw kP(t);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){var o=this._svgElementFromConfig(i),r=this._extractSvgIconFromSet(o,t,i.options);if(r)return r}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchIcon(t).pipe((0,Le.b)(function(e){return t.svgText=e}),(0,Me.U)(function(){return e._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?(0,ge.of)(null):this._fetchIcon(t).pipe((0,Le.b)(function(e){return t.svgText=e}))}},{key:"_extractSvgIconFromSet",value:function(t,e,n){var i=t.querySelector('[id="'.concat(e,'"]'));if(!i)return null;var o=i.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,n);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),n);var r=this._svgElementFromString("<svg></svg>");return r.appendChild(o),this._setSvgAttributes(r,n)}},{key:"_svgElementFromString",value:function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(t){for(var e=this._svgElementFromString("<svg></svg>"),n=t.attributes,i=0;i<n.length;i++){var o=n[i],r=o.name,a=o.value;"id"!==r&&e.setAttribute(r,a)}for(var s=0;s<t.childNodes.length;s++)t.childNodes[s].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[s].cloneNode(!0));return e}},{key:"_setSvgAttributes",value:function(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}}
1,{key:"_fetchIcon",value:function(t){var e,n=this,i=t.url,o=t.options,a=null!==(e=null==o?void 0:o.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==i)throw Error('Cannot fetch icon from URL "'.concat(i,'".'));var s=this._sanitizer.sanitize(r.q3G.RESOURCE_URL,i);if(!s)throw SP(i);var c=this._inProgressUrlFetches.get(s);if(c)return c;var l=this._httpClient.get(s,{responseType:"text",withCredentials:a}).pipe((0,Ue.x)(function(){return n._inProgressUrlFetches.delete(s)}),(0,MP.B)());return this._inProgressUrlFetches.set(s,l),l}},{key:"_addSvgIconConfig",value:function(t,e,n){return this._svgIconConfigs.set(DP(t,e),n),this}},{key:"_addSvgIconSetConfig",value:function(t,e){var n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}},{key:"_svgElementFromConfig",value:function(t){if(!t.svgElement){var e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}},{key:"_getIconConfigFromResolvers",value:function(t,e){for(var n=0;n<this._resolvers.length;n++){var i=this._resolvers[n](e,t);if(i)return RP(i)?new TP(i.url,null,i.options):new TP(i,null)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(hr,8),r.LFG(le),r.LFG(l,8),r.LFG(r.qLn))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(hr,8),r.LFG(le),r.LFG(l,8),r.LFG(r.qLn))},token:t,providedIn:"root"}),t}();function EP(t){return t.cloneNode(!0)}function DP(t,e){return t+":"+e}function RP(t){return!(!t.url||!t.options)}var FP=Tp(function(){return _createClass(function t(e){_classCallCheck(this,t),this._elementRef=e})}()),LP=new r.OlP("mat-icon-location",{providedIn:"root",factory:function(){var t=(0,r.f3M)(l),e=t?t.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),ZP=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],NP=ZP.map(function(t){return"[".concat(t,"]")}).join(", "),UP=/^url\(['"]?#(.*?)['"]?\)$/,VP=function(){var t=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e,[t]))._iconRegistry=n,a._location=o,a._errorHandler=r,a._inline=!1,a._currentIconFetch=sl.w.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true"),a}return _inherits(e,t),_createClass(e,[{key:"inline",get:function(){return this._inline},set:function(t){this._inline=gl(t)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}},{key:"fontSet",get:function(){return this._fontSet},set:function(t){var e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(t){var e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(t){if(!t)return["",""];var e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error('Invalid icon name: "'.concat(t,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var t=this._elementsWithExternalReferences;if(t&&t.size){var e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(t){this._clearSvgElement();for(var e=t.querySelectorAll("style"),n=0;n<e.length;n++)e[n].textContent+=" ";var i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}},{key:"_clearSvgElement",value:function(){var t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){var n=t.childNodes[e];(1!==n.nodeType||"svg"===n.nodeName.toLowerCase())&&t.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(t){return"string"==typeof t?t.trim().split(" ")[0]:t}},{key:"_prependPathToReferences",value:function(t){var e=this._elementsWithExternalReferences;e&&e.forEach(function(e,n){e.forEach(function(e){n.setAttribute(e.name,"url('".concat(t,"#").concat(e.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(t){for(var e=t.querySelectorAll(NP),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(t){ZP.forEach(function(i){var o=e[t],r=o.getAttribute(i),a=r?r.match(UP):null;if(a){var s=n.get(o);s||(s=[],n.set(o,s)),s.push({name:i,value:a[1]})}})},o=0;o<e.length;o++)i(o)}},{key:"_updateSvgIcon",value:function(t){var e=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){var n=_slicedToArray(this._splitIconName(t),2),i=n[0],o=n[1];i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe((0,ke.q)(1)).subscribe(function(t){return e._setSvgElement(t)},function(t){e._errorHandler.handleError(new Error("Error retrieving icon ".concat(i,":").concat(o,"! ").concat(t.message)))})}}}]),e}(FP);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(IP),r.$8M("aria-hidden"),r.Y36(LP),r.Y36(r.qLn))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),r.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[r.qOj],ngContentSelectors:xP,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t}(),jP=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp],Sp]}),t}(),zP=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.matIconRegistry=e,this.domSanitizer=n,this.isVisible=!1,this.currentDoc="unselectedPlots",this.activeDocsButton="unselectedPlots",this.docSelection={unselectedPlots:!1,selectedPlots:!1},this.matIconRegistry.addSvgIcon("custom_join_icon",this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/google-material-icons/join_icon.svg"))}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showUnselectedPlotsDoc",value:function(){this.currentDoc="unselectedPlots",this.activeDocsButton="unselectedPlots"}},{key:"showSelectedPlotsDoc",value:function(){this.currentDoc="selectedPlots",this.activeDocsButton="selectedPlots"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"unselectedPlots"!==t&&{unselectedPlots:!1}),"selectedPlots"!==t&&{selectedPlots:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IP),r.Y36(le))},t.\u0275cmp=r.Xpm({type:t,selectors:[["plots-doc"]],inputs:{isVisible:"isVisible"},decls:45,vars:8,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","2","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"unselected-plots-doc","doc-section",3,"hidden"],["src","assets/img/ldc/unselected-plot.png","alt","selected plot","width","12",1,"icon"],["src","assets/img/cmf/polygon-icon.svg","alt","Polygon icon","width","18",1,"doc-section__polygon-control-icon"],[1,"filter-icon"],[1,"selected-plots-doc","doc-section",3,"hidden"],["src","assets/img/ldc/selected-plot.png","alt","selected plot","width","12",1,"icon"],["svgIcon","table_rows_narrow",1,"tables-icon"],[1,"download-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showUnselectedPlotsDoc()}),r._uU(5,"Unselected plots"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showSelectedPlotsDoc()}),r._uU(8,"Selected plots"),r.qZA(),r.qZA(),r.qZA(),r._UZ(9,"mat-divider",4),r.TgZ(10,"div",5),r.TgZ(11,"h5"),r._uU(12,"Unselected plots"),r.qZA(),r.TgZ(13,"p"),r._uU(14,"Plots on the map appear in the unselected state "),r._UZ(15,"img",6),r._uU(16," by default and return to the unselected state when (a) plots are actively deselected using the polygon "),r._UZ(17,"img",7),r._uU(18," tool in "),r.TgZ(19,"i"),r._uU(20,"deselect mode"),r.qZA(),r._uU(21,", (b) plots are removed from a selection using a filter "),r.TgZ(22,"mat-icon",8),r._uU(23,"filter_alt"),r.qZA(),r._uU(24,", or (c) either reset button is clicked (click the Reset tab above for details)."),r.qZA(),r.qZA(),r.TgZ(25,"div",9),r.TgZ(26,"h5"),r._uU(27,"Selected plots"),r.qZA(),r.TgZ(28,"p"),r._uU(29,"Map plots enter the selected state "),r._UZ(30,"img",10),r._uU(31," when (a) plots are selected using the polygon "),r._UZ(32,"img",7),r._uU(33," tool in "),r.TgZ(34,"i"),r._uU(35,"select mode"),r.qZA(),r._uU(36,", or (b) plots are added to a selection by first using a filter "),r.TgZ(37,"mat-icon",8),r._uU(38,"filter_alt"),r.qZA(),r._uU(39,". When plots are selected, the data associated with those plots are displayed in the tables "),r._UZ(40,"mat-icon",11),r._uU(41,". Selector and indicator data can be downloaded via the download "),r.TgZ(42,"mat-icon",12),r._uU(43,"download"),r.qZA(),r._uU(44," panel."),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","unselectedPlots"===e.activeDocsButton),r.xp6(3),r.ekj("active","selectedPlots"===e.activeDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","unselectedPlots"!==e.currentDoc),r.xp6(15),r.Q6J("hidden","selectedPlots"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-list-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .download-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{margin-bottom:5px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-list-icon[_ngcontent-%COMP%]{margin-left:5px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section__polygon-control-icon[_ngcontent-%COMP%]{margin:0 1px 3px}']}),t}(),qP=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!1,this.currentDoc="zoomControl",this.activeDocsButton="zoomControl",this.docSelection={zoomControl:!1,polygonControl:!1,layersControl:!1,resetControl:!1}}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showZoomControlDoc",value:function(){this.currentDoc="zoomControl",this.activeDocsButton="zoomControl"}},{key:"showPolygonControlDoc",value:function(){this.currentDoc="polygonControl",this.activeDocsButton="pol
1ygonControl"}},{key:"showLayersControlDoc",value:function(){this.currentDoc="layersControl",this.activeDocsButton="layersControl"}},{key:"showResetControlDoc",value:function(){this.currentDoc="resetControl",this.activeDocsButton="resetControl"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"zoomControl"!==t&&{zoomControl:!1}),"polygonControl"!==t&&{polygonControl:!1}),"layersControl"!==t&&{layersControl:!1}),"resetControl"!==t&&{resetControl:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["controls-doc"]],inputs:{isVisible:"isVisible"},decls:57,vars:14,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","4","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"zoom-control-doc","doc-section",3,"hidden"],[1,"polygon-control-doc","doc-section",3,"hidden"],["src","assets/img/cmf/polygon-icon.svg","width","18",1,"doc-section__polygon-control-icon"],[1,"layers-control-doc","doc-section",3,"hidden"],["src","assets/img/cmf/map-layers-icon.svg","alt","Map-layers icon","width","20",1,"map-layers-icon"],[1,"reset-control-doc","doc-section",3,"hidden"],["src","assets/img/cmf/reset-icon.svg","alt","Reset icon","width","15",1,"reset-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showZoomControlDoc()}),r._uU(5,"Zoom"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showPolygonControlDoc()}),r._uU(8,"Polygon"),r.qZA(),r.qZA(),r.TgZ(9,"mat-grid-tile"),r.TgZ(10,"button",3),r.NdJ("click",function(){return e.showLayersControlDoc()}),r._uU(11,"Layers"),r.qZA(),r.qZA(),r.TgZ(12,"mat-grid-tile"),r.TgZ(13,"button",3),r.NdJ("click",function(){return e.showResetControlDoc()}),r._uU(14,"Reset"),r.qZA(),r.qZA(),r.qZA(),r._UZ(15,"mat-divider",4),r.TgZ(16,"div",5),r.TgZ(17,"h5"),r._uU(18,"Zoom"),r.qZA(),r.TgZ(19,"p"),r._uU(20,"The zoom (+/-) buttons allow users to incrementally zoom in and out by clicking the plus (+) button and the minus (-) button, respectively. Note that trackpad and mouse-wheel zooming are also enabled."),r.qZA(),r.qZA(),r.TgZ(21,"div",6),r.TgZ(22,"h5"),r._uU(23,"Polygon"),r.qZA(),r.TgZ(24,"p"),r._uU(25,"Clicking the polygon "),r._UZ(26,"img",7),r._uU(27," button shows a submenu with Select and Deselect options. Drawing a polygon with the Select option adds plots to the current plot selection. Drawing a polygon with the Deselect option removes plots from the current selection set."),r.qZA(),r.TgZ(28,"p"),r._uU(29,"Clicking either reset button on the map will clear the existing plot selections and hide the polygon submenu. Please click on the Reset help button above for detailed information about resetting the map. "),r.qZA(),r.qZA(),r.TgZ(30,"div",8),r.TgZ(31,"h5"),r._uU(32,"Layers"),r.qZA(),r.TgZ(33,"p"),r._uU(34,"Clicking the map-layer "),r._UZ(35,"img",9),r._uU(36," button shows a menu with four Google map-layer options:"),r.qZA(),r.TgZ(37,"ol"),r.TgZ(38,"li"),r._uU(39,"Terrain (default)"),r.qZA(),r.TgZ(40,"li"),r._uU(41,"Satellite"),r.qZA(),r.TgZ(42,"li"),r._uU(43,"Road"),r.qZA(),r.TgZ(44,"li"),r._uU(45,"Hybrid"),r.qZA(),r.qZA(),r.TgZ(46,"p"),r._uU(47,"Clicking either reset button on the map will reset the map layer to Google Terrain. Please click on the Reset help button above for detailed information about resetting the map."),r.qZA(),r.qZA(),r.TgZ(48,"div",10),r.TgZ(49,"h5"),r._uU(50,"Reset"),r.qZA(),r.TgZ(51,"p"),r._uU(52," The right-hand reset button "),r._UZ(53,"img",11),r._uU(54,", which appears directly below the layers "),r._UZ(55,"img",9),r._uU(56," button, returns the map to its default configuration\u2014as does the reset button on the left side of the map. More information on resetting the map can be found in the Reset help documentation."),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","zoomControl"
1===e.activeDocsButton),r.xp6(3),r.ekj("active","polygonControl"===e.activeDocsButton),r.xp6(3),r.ekj("active","layersControl"===e.activeDocsButton),r.xp6(3),r.ekj("active","resetControl"===e.activeDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","zoomControl"!==e.currentDoc),r.xp6(5),r.Q6J("hidden","polygonControl"!==e.currentDoc),r.xp6(9),r.Q6J("hidden","layersControl"!==e.currentDoc),r.xp6(18),r.Q6J("hidden","resetControl"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .reset-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .map-layers-icon[_ngcontent-%COMP%]{margin:0 3px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section__polygon-control-icon[_ngcontent-%COMP%]{margin:0 1px 3px}']}),t}(),BP=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!1,this.currentDoc="scaleLine",this.activeDocsButton="scaleLine",this.docSelection={scaleLine:!1,selectedPlots:!1,latLong:!1}}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showScaleLineDoc",value:function(){this.currentDoc="scaleLine",this.activeDocsButton="scaleLine"}},{key:"showSelectedPlotsDoc",value:function(){this.currentDoc="selectedPlots",this.activeDocsButton="selectedPlots"}},{key:"showLatLongDoc",value:function(){this.currentDoc="latLong",this.activeDocsButton="latLong"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"scaleLine"!==t&&{scaleLine:!1}),"selectedPlots"!==t&&{selectedPlots:!1}),"latLong"!==t&&{latLong:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["annotations-doc"]],inputs:{isVisible:"isVisible"},decls:33,vars:11,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","3","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"scale-line-doc","doc-section",3,"hidden"],[1,"selected-plots-doc","doc-section",3,"hidden"],["src","assets/img/cmf/polygon-icon.svg","width","18",1,"doc-section__polygon-control-icon"],[1,"filter-icon"],[1,"lat-long-doc","doc-section",3,"hidden"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showScaleLineDoc()}),r._uU(5,"Scale line"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showSelectedPlotsDoc()}),r._uU(8,"Selected plots"),r.qZA(),r.qZA(),r.TgZ(9,"mat-grid-tile"),r.TgZ(10,"button",3),r.NdJ("click",function(){return e.showLatLongDoc()}),r._uU(11,"Latitude, longitude"),r.qZA(),r.qZA(),r.qZA(),r._UZ(12,"mat-divider",4),r.TgZ(13,"div",5),r.TgZ(14,"h5"),r._uU(15,"Scale line"),r.qZA(),r.TgZ(16,"p"),r._uU(17,"The scale line, located just below the lower right-hand corner of the map, provides a metric distance scale that changes according to zoom level."),r.qZA(),r.qZA(),r.TgZ(18,"div",6),r.TgZ(19,"h5"),r._uU(20,"Selected plots"),r.qZA(),r.TgZ(21,"p"),r._uU(22,"The selected-plots annotation (below the map on the left) shows the current number of plots that have been selected using the polygon map control "),r._UZ(23,"img",7),r._uU(24," or the filter-panel "),r.TgZ(25,"mat-icon",8),r._uU(26,"filter_alt"),r.qZA(),r._uU(27," selectors and indicators."),r.qZA(),r.qZA(),r.TgZ(28,"div",9),r.TgZ(29,"h5"),r._uU(30,"Latitude, longitude"),r.qZA(),r.TgZ(31,"p"),r._uU(32,"The latitude/longitude annotation below the map on the right-hand side shows the coordinate values that correspond to the current position of the mouse pointer when hovering over the map."),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","scaleLine"===e.activeDocsButton),r.xp6(3),r.ekj("active","selectedPlots"===e.activeDocsButton),r.xp6(3),r.ekj("active","latLong"===e.activeDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","scaleLine"!==e.currentDoc),r.xp6(5),r.Q6J("hidden","selectedPlots"!==e.currentDoc),r.xp6(10),r.Q6J("hidden","latLong"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section__polygon-control-icon[_ngcontent-%COMP%]{margin:0 1px 3px}']}),t}();function YP(t,e){1&t&&(r.TgZ(0,"div",9),r.TgZ(1,"h5"),r._uU(2,"Indicators"),r.qZA(),r.TgZ(3,"p"),r._uU(4,"As described 
1in the second edition of the "),r.TgZ(5,"a",10),r._uU(6,"Monitoring Manual"),r.qZA(),r._uU(7,", indicators are environmental variables derived from plot measurements and observations. Indicators and selectors combine as "),r.TgZ(8,"em"),r._uU(9,"intersections"),r.qZA(),r._uU(10," \u2014 to continually narrow down plot selections. Indicators are measured by the following field methods: "),r.qZA(),r.TgZ(11,"ul"),r.TgZ(12,"li"),r._uU(13,"Line-Point Intercept"),r.qZA(),r.TgZ(14,"li"),r._uU(15,"Vegetation Height"),r.qZA(),r.TgZ(16,"li"),r._uU(17,"Canopy Gap"),r.qZA(),r.TgZ(18,"li"),r._uU(19,"Soil Stability"),r.qZA(),r.TgZ(20,"li"),r._uU(21,"Species"),r.qZA(),r.qZA(),r.TgZ(22,"p"),r._uU(23,"We also use soil erosion models to estimate potential erosion by wind and water:"),r.qZA(),r.TgZ(24,"ul"),r.TgZ(25,"li"),r._uU(26,"AERO"),r.qZA(),r.TgZ(27,"li"),r._uU(28,"RHEM"),r.qZA(),r.qZA(),r.TgZ(29,"p"),r._uU(30," Indicator values can be filtered by (1) clicking the filter "),r.TgZ(31,"mat-icon",6),r._uU(32,"filter_alt"),r.qZA(),r._uU(33," button, (2) clicking the Indicators tab, (3) clicking an indicators button, (4) clicking the dropdown for a subcategory indicator, and (5) using the dropdown indicator range slider to restrict the indicator values. "),r.qZA(),r.TgZ(34,"p"),r._uU(35,"Clicking on the button associated with one of the above indicators will show a panel with multiple dropdowns\u2014one for each subcategory; clicking on a dropdown shows the range slider associated with that subcategory indicator. "),r.qZA(),r.TgZ(36,"p"),r._uU(37," Choosing an Indicator value will automatically update (a) the plot selection shown on the map and (b) the list of filter selections on the Selections "),r.TgZ(38,"mat-icon",7),r._uU(39,"filter_list"),r.qZA(),r._uU(40," panel. "),r.qZA(),r.qZA())}var GP=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!1,this.currentDoc="selectors",this.activeFilterDocsButton="selectors",this.filterDocSelection={selectors:!1,indicators:!1}}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showSelectorsDoc",value:function(){this.currentDoc="selectors",this.activeFilterDocsButton="selectors"}},{key:"showIndicatorsDoc",value:function(){this.currentDoc="indicators",this.activeFilterDocsButton="indicators"}},{key:"togglePanel",value:function(t){this.filterDocSelection=Object.assign(Object.assign(Object.assign(Object.assign({},this.filterDocSelection),_defineProperty({},t,!this.filterDocSelection[t])),"selectors"!==t&&{selectors:!1}),"indicators"!==t&&{indicators:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["filters-doc"]],inputs:{isVisible:"isVisible"},decls:51,vars:8,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","2","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"selectors-doc","doc-section",3,"hidden"],[1,"filter-icon"],[1,"filter-list-icon"],["class","indicators-doc doc-section",4,"ngIf"],[1,"indicators-doc","doc-section"],["target","_blank","rel","noopener noreferrer","href","https://jornada.nmsu.edu/files/bibliography/05-008.pdf","target","_blank","rel","noopener noreferrer"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showSelectorsDoc()}),r._uU(5,"Selectors"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showIndicatorsDoc()}),r._uU(8,"Indicators"),r.qZA(),r.qZA(),r.qZA(),r._UZ(9,"mat-divider",4),r.TgZ(10,"div",5),r.TgZ(11,"h5"),r._uU(12,"Choosing a selector"),r.qZA(),r.TgZ(13,"p"),r._uU(14,"To access the selectors, click the filter button (that is, the button with the filter "),r.TgZ(15,"mat-icon",6),r._uU(16,"filter_alt"),r.qZA(),r._uU(17," icon) to the left of the map. The options on the Selectors and Indicators panels can be used to screen the plots on the map (see below). "),r.qZA(),r.TgZ(18,"p"),r._uU(19,"Selectors are plot-level metadata variables that describe attributes of the entire plot and can be used to provide context when interpreting indicators. Selectors and indicators comb
1ine as "),r.TgZ(20,"em"),r._uU(21,"intersections"),r.qZA(),r._uU(22," \u2014 to continually narrow down plot selections. Available selectors are as follows: "),r.qZA(),r.TgZ(23,"ul"),r.TgZ(24,"li"),r._uU(25,"Land Cover"),r.qZA(),r.TgZ(26,"li"),r._uU(27,"Ecoregion"),r.qZA(),r.TgZ(28,"li"),r._uU(29,"MLRA"),r.qZA(),r.TgZ(30,"li"),r._uU(31,"Ecological Site"),r.qZA(),r.TgZ(32,"li"),r._uU(33,"State"),r.qZA(),r.TgZ(34,"li"),r._uU(35,"Project"),r.qZA(),r.TgZ(36,"li"),r._uU(37,"Date"),r.qZA(),r.TgZ(38,"li"),r._uU(39,"Data Type"),r.qZA(),r.qZA(),r.TgZ(40,"p"),r._uU(41,"Choose a selector by (1) clicking the filter "),r.TgZ(42,"mat-icon",6),r._uU(43,"filter_alt"),r.qZA(),r._uU(44," button, (2) clicking a selector button on the selector button panel (open by default), (3) clicking a selector dropdown, and (4) clicking the input field and/or typing in input field to find and select the desired selector value. Note that the Date selector requires two date inputs (to provide a date range)."),r.qZA(),r.TgZ(45,"p"),r._uU(46," Choosing a Selector value will automatically update (a) the plot selection shown on the map and (b) the list of filter selections on the Selections "),r.TgZ(47,"mat-icon",7),r._uU(48,"filter_list"),r.qZA(),r._uU(49," panel. "),r.qZA(),r.qZA(),r.YNc(50,YP,41,0,"div",8),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","selectors"===e.activeFilterDocsButton),r.xp6(3),r.ekj("active","indicators"===e.activeFilterDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","selectors"!==e.currentDoc),r.xp6(40),r.Q6J("ngIf","indicators"===e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP,_t],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-list-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}']}
1),t}(),HP=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.matIconRegistry=e,this.domSanitizer=n,this.isVisible=!1,this.currentDoc="InteractionTogglingDescription",this.activeDocsButton="InteractionTogglingDescription",this.docSelection={InteractionTogglingDescription:!1,filterPlotInteractions:!1,filterPolygonInteractions:!1},this.matIconRegistry.addSvgIcon("custom_join_icon",this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/google-material-icons/join_icon.svg"))}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showInteractionButtonDescriptionDoc",value:function(){this.currentDoc="InteractionTogglingDescription",this.activeDocsButton="InteractionTogglingDescription"}},{key:"showFilterPlotInteractionsDescriptionDoc",value:function(){this.currentDoc="filterPlotInteractions",this.activeDocsButton="filterPlotInteractions"}},{key:"showFilterPolygonInteractionsDoc",value:function(){this.currentDoc="filterPolygonInteractions",this.activeDocsButton="filterPolygonInteractions"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"InteractionTogglingDescription"!==t&&{InteractionTogglingDescription:!1}),"filterPlotInteractions"!==t&&{filterPlotInteractions:!1}),"filterPolygonInteractions"!==t&&{filterPolygonInteractions:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IP),r.Y36(le))},t.\u0275cmp=r.Xpm({type:t,selectors:[["set-operations-doc"]],inputs:{isVisible:"isVisible"},decls:34,vars:11,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","3","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"interactions-button-description-doc","doc-section",3,"hidden"],[1,"filter-list-icon"],[1,"filter-icon"],[1,"filter-plot-interactions-doc","doc-section",3,"hidden"],[1,"filter-polygon-interactions-doc","doc-section",3,"hidden"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showInteractionButtonDescriptionDoc()}),r._uU(5,"Viewing selections"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showFilterPlotInteractionsDescriptionDoc()}),r._uU(8,"Modifying selections"),r.qZA(),r.qZA(),r.TgZ(9,"mat-grid-tile"),r.TgZ(10,"button",3),r.NdJ("click",function(){return e.showFilterPolygonInteractionsDoc()}),r._uU(11,"Removing selections"),r.qZA(),r.qZA(),r.qZA(),r._UZ(12,"mat-divider",4),r.TgZ(13,"div",5),r.TgZ(14,"h5"),r._uU(15,"Viewing selections"),r.qZA(),r.TgZ(16,"p"),r._uU(17,"Clicking the selections"),r.TgZ(18,"mat-icon",6),r._uU(19,"filter_list"),r.qZA(),r._uU(20," button will show your current filter selections. That is, the Selections panel shows all selectors and indicators activated via the filters "),r.TgZ(21,"mat-icon",7),r._uU(22,"filter_alt"),r.qZA(),r._uU(23," panel. Clicking on a selection will deselect that filter. Note that the selections button remains inactive until a filter selection has been made. "),r.qZA(),r.qZA(),r.TgZ(24,"div",8),r.TgZ(25,"h5"),r._uU(26,"Modifying selections"),r.qZA(),r.TgZ(27,"p"),r._uU(28,"To modify (i.e., reconfigure) an individual filter shown on the selections panel, click on the filter name. The subpanel associated with that filter will open. Making changes to a selector or indicator will update the selected map plots. "),r.qZA(),r.qZA(),r.TgZ(29,"div",9),r.TgZ(30,"h5"),r._uU(31,"Removing selections"),r.qZA(),r.TgZ(32,"p"),r._uU(33,'To remove a selection, click the "x" icon to the right of that filter\'s name; the filter will be removed from your selections and the map plots will be updated.'),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","InteractionTogglingDescription"===e.activeDocsButton),r.xp6(3),r.ekj("active","filterPlotInteractions"===e.activeDocsButton),r.xp6(3),r.ekj("active","filterPolygonInteractions"===e.activeDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","InteractionTogglingDescription"!==e.currentDoc),r.xp6(11),r.Q6J("hidden","filterPlotInteractions"!==e.currentDoc),r.xp6(5),r.Q6J("hidden","filterPolygonInteractions"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-list-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-list-icon[_ngcontent-%COMP%]{margin-left:5px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section__polygon-control-icon[_ngcontent-%COMP%]{margin:0 1px 3px}']}),t}(),JP=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!1,this.currentDoc="shapefileUpload",this.activeDocsButton="shapefileUpload",this.docSelection={shapefileUpload:!1}}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showShapefileUploadDoc",value:function(){this.currentDoc="shapefileUpload",this.activeDocsButton="shapefileUpload"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"shapefileUpload"!==t&&{indicatorsDownload:!0})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["upload-doc"]],inputs:{isVisible:"isVisible"},decls:31,vars:5,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","2","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"doc-section",3,"hidden"],[1,"upload-icon"],[1,"filter-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showShapefileUploadDoc()}
1),r._uU(5,"Shapefiles"),r.qZA(),r.qZA(),r._UZ(6,"mat-grid-tile"),r.qZA(),r._UZ(7,"mat-divider",4),r.TgZ(8,"div",5),r.TgZ(9,"h5"),r._uU(10,"Shapefile upload"),r.qZA(),r.TgZ(11,"p"),r._uU(12,"A shapefile can be uploaded to select map plots by (1) clicking the upload "),r.TgZ(13,"mat-icon",6),r._uU(14,"upload"),r.qZA(),r._uU(15," button (located below the filter "),r.TgZ(16,"mat-icon",7),r._uU(17,"filter_alt"),r.qZA(),r._uU(18," button on the left side of the map) and (2) clicking the Select shapefile button in the upload panel. A zipped shapefile containing a polygon may then be selected from a local folder; shapefiles must contain a polygon (single part or multipart), must contain the typical "),r.TgZ(19,"i"),r._uU(20,".shp"),r.qZA(),r._uU(21,", "),r.TgZ(22,"i"),r._uU(23,".shx"),r.qZA(),r._uU(24,", "),r.TgZ(25,"i"),r._uU(26,".prj"),r.qZA(),r._uU(27,", and "),r.TgZ(28,"i"),r._uU(29,".dbf"),r.qZA(),r._uU(30,"\xa0 files of a well-formed shapefile, and must be no larger than 10 megabytes. Large and/or complex shapefiles may require longer processing times. A shapefile may only be uploaded after logging in. "),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","shapefileUpload"===e.activeDocsButton),r.xp6(3),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","shapef
1ileUpload"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .upload-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}']}),t}(),WP=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!1,this.currentDoc="indicatorTables",this.activeDocsButton="indicatorTables",this.docSelection={indicatorTables:!1,rawDataTables:!1}}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showIndicatorTablesDoc",value:function(){this.currentDoc="indicatorTables",this.activeDocsButton="indicatorTables"}},{key:"showRawDataTablesDoc",value:function(){this.currentDoc="rawDataTables",this.activeDocsButton="rawDataTables"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"indicatorTables"!==t&&{indicatorTables:!1}),"rawDataTables"!==t&&{rawDataTables:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["tables-doc"]],inputs:{isVisible:"isVisible"},decls:57,vars:8,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","2","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"indicatorTables-doc","doc-section",3,"hidden"],["svgIcon","table_rows_narrow",1,"tables-icon"],[1,"download-icon"],[1,"rawDataTables-doc","doc-section",3,"hidden"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showIndicatorTablesDoc()}),r._uU(5,"Indicators"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showRawDataTablesDoc()}),r._uU(8,"Raw data"),r.qZA(),r.qZA(),r.qZA(),r._UZ(9,"mat-divider",4),r.TgZ(10,"div",5),r.TgZ(11,"h5"),r._uU(12,"Indicators"),r.qZA(),r.TgZ(13,"p"),r._uU(14,"The Indicators table is accessed by clicking the tables "),r._UZ(15,"mat-icon",6),r._uU(16," button on the left-hand side of the map (above the download "),r.TgZ(17,"mat-icon",7),r._uU(18,"download"),r.qZA(),r._uU(19," button); the tables button becomes active after a selection has been made. Data shown in the Indicators table can be saved via the download "),r.TgZ(20,"mat-icon",7),r._uU(21,"download"),r.qZA(),r._uU(22," panel."),r.qZA(),r.TgZ(23,"p"),r._uU(24,"Rows in the Indicators table can be (a) filtered by entering a search term in the "),r.TgZ(25,"i"),r._uU(26,"Filter"),r.qZA(),r._uU(27," line above each table and (b) sorted by (i) hovering over a column header and (ii) clicking the arrow that appears to the right of that column."),r.qZA(),r.TgZ(28,"p"),r._uU(29,"Table columns can be viewed by scrolling horizontally, and rows can be viewed by scrolling vertically. To advance through the rows in a table, use the next-page and previous-page arrows on the bottom right of each table. The number of rows viewed at any given time can be adju
1sted using the dropdown selection, also at the bottom right."),r.qZA(),r.qZA(),r.TgZ(30,"div",8),r.TgZ(31,"h5"),r._uU(32,"Raw data"),r.qZA(),r.TgZ(33,"p"),r._uU(34,"As with the Indicators table, the raw-data tables are accessed by clicking the tables "),r._UZ(35,"mat-icon",6),r._uU(36," button on the left side of the map. Each raw data table appears when its corresponding button on the tables panel is clicked; the button becomes active after a selection has been made. Currently, six tables with raw data are available:"),r.qZA(),r.TgZ(37,"ol"),r.TgZ(38,"li"),r._uU(39,"Species Indicators"),r.qZA(),r.TgZ(40,"li"),r._uU(41,"Line-Point Intercept"),r.qZA(),r.TgZ(42,"li"),r._uU(43,"Canopy Gap"),r.qZA(),r.TgZ(44,"li"),r._uU(45,"Vegetation Height"),r.qZA(),r.TgZ(46,"li"),r._uU(47,"Species Inventory"),r.qZA(),r.TgZ(48,"li"),r._uU(49,"Soil Stability"),r.qZA(),r.qZA(),r.TgZ(50,"p"),r._uU(51,"The raw data tables are only viewable after logging in. As with the Indicators table, rows in the raw-data tables can be (a) filtered by entering a search term in the "),r.TgZ(52,"i"),r._uU(53,"Filter"),r.qZA(),r._uU(54," line above each table and (b) sorted by (i) hovering over a column header and (ii) clicking the arrow that appears to the right of that column."),r.qZA(),r.TgZ(55,"p"),r._uU(56,"Columns can be viewed by scrolling horizontally, and rows can be viewed by scrolling vertically. To advance through the rows, use the next-page and previous-page arrows on the bottom right of each table. The number of rows viewed at any given time can be adjusted using the dropdown selection, also at the bottom right."),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","indicatorTables"===e.activeDocsButton),r.xp6(3),r.ekj("active","rawDataTables"===e.activeDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","indicatorTables"!==e.currentDoc),r.xp6(20),r.Q6J("hidden","rawDataTables"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .refresh-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .download-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{margin-bottom:5px}']}),t}(),QP=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!1,this.currentDoc="indicatorsDownload",this.activeDocsButton="indicatorsDownload",this.docSelection={indicatorsDownload:!1,dataPacketDownload:!1}}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showDownloadProcedureDoc",value:function(){this.currentDoc="indicatorsDownload",this.activeDocsButton="indicatorsDownload"}},{key:"showDownloadFilesDoc",value:function(){this.currentDoc="dataPacketDownload",this.activeDocsButton="dataPacketDownload"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"indicatorsDownload"!==t&&{indicatorsDownload:!1}),"dataPacketDownload"!==t&&{dataPacketDownload:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["download-doc"]],inputs:{isVisible:"isVisible"},decls:30,vars:8,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","2","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"indicators-download-doc","doc-section",3,"hidden"],[1,"download-icon"],["svgIcon","table_rows_narrow",1,"tables-icon"],[1,"metadata-download-doc","doc-section",3,"hidden"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showDownloadProcedureDoc()}),r._uU(5,"Indicator data"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showDownloadFilesDoc()}),r._uU(8,"Data packet"),r.qZA(),r.qZA(),r.qZA(),r._UZ(9,"mat-divider",4),r.TgZ(10,"div",5),r.TgZ(11,"h5"),r._uU(12,"Indicator data"),r.qZA(),r.TgZ(13,"p"),r._uU(14,"Indicator data corresponding to selected map plots (that appear in the Indicators table) may be downloaded by (1) clicking the download "),r.TgZ(15,"mat-icon",6),r._uU(16,"download"),r.qZA(),r._uU(17," button (located below the tables "),r._UZ(18,"mat-icon",7),r._uU(19," button on the left side of the map) and (2) clicking the Indicators button in the download panel. A download window will appear for a ZIP file; the file contains the indicator data in CSV (comma-separated value) format along with a corresponding metadata file in XML format; see the neighboring Metadata tab on this page for details. Note that data may only be downloaded after logging in and selecting at least one plot. "),r.qZA(),r.qZA(),r.TgZ(20,"div",8),r.TgZ(21,"h5"),r._uU(22,"Data packet"),r.qZA(),r.TgZ(23,"p"),r._uU(24,"A complete data packet with all table data (and a metadata file as described 
1in the neighboring panel) corresponding to selected map by (1) clicking the download "),r.TgZ(25,"mat-icon",6),r._uU(26,"download"),r.qZA(),r._uU(27," button (located below the tables "),r._UZ(28,"mat-icon",7),r._uU(29," button on the left side of the map) and (2) clicking the Data packet button in the download panel. The data packet includes both indicator data and raw data. A subscription-confirmation email is sent the first time a packet is requested. After subscribing, an email notification is sent once each requested packet is ready for download. Large download requests may require a significant amount of processing time. Data may only be downloaded after logging in and selecting at least one plot. "),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","indicatorsDownload"===e.activeDocsButton),r.xp6(3),r.ekj("active","dataPacketDownload"===e.activeDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","indicatorsDownload"!==e.currentDoc),r.xp6(10),r.Q6J("hidden","dataPacketDownload"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .download-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{margin-bottom:5px}']}),t}(),KP=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.matIconRegistry=e,this.domSanitizer=n,this.isVisible=!1,this.currentDoc="leftResetButtonDescription",this.activeDocsButton="leftResetButtonDescription",this.docSelection={leftResetButtonDescription:!1,rightResetButtonDescription:!1},this.matIconRegistry.addSvgIcon("custom_join_icon",this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/google-material-icons/join_icon.svg")),this.matIconRegistry.addSvgIcon("table_rows_narrow",this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/google-material-icons/table_rows_narrow.svg"))}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"showLeftResetDoc",value:function(){this.currentDoc="leftResetButtonDescription",this.activeDocsButton="leftResetButtonDescription"}},{key:"showRightResetDoc",value:function(){this.currentDoc="rightResetButtonDescription",this.activeDocsButton="rightResetButtonDescription"}},{key:"togglePanel",value:function(t){this.docSelection=Object.assign(Object.assign(Object.assign(Object.assign({},this.docSelection),_defineProperty({},t,!this.docSelection[t])),"leftResetButtonDescription"!==t&&{leftResetButtonDescription:!1}),"rightResetButtonDescription"!==t&&{rightResetButtonDescription:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IP),r.Y36(le))},t.\u0275cmp=r.Xpm({type:t,selectors:[["reset-doc"]],inputs:{isVisible:"isVisible"},decls:50,vars:8,consts:[["cdkDrag","",1,"doc-container",3,"hidden"],[1,"docs-card"],["cols","2","rowHeight","36px"],["mat-flat-button","",1,"doc-tab",3,"click"],[3,"inset"],[1,"left-reset-button-doc","doc-section",3,"hidden"],[1,"refresh-icon"],[1,"download-icon"],[1,"filter-list-icon"],["svgIcon","table_rows_narrow",1,"tables-icon"],[1,"right-reset-button-doc","doc-section",3,"hidden"],["src","assets/img/cmf/reset-icon.svg","alt","Reset icon","width","15",1,"reset-icon"],["src","assets/img/cmf/map-layers-icon.svg","alt","Map-layers icon","width","20",1,"map-layers-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showLeftResetDoc()}),r._uU(5,"Left reset button"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",3),r.NdJ("click",function(){return e.showRightResetDoc()}),r._uU(8,"Right reset button"),r.qZA(),r.qZA(),r.qZA(),r._UZ(9,"mat-divider",4),r.TgZ(10,"div",5),r.TgZ(11,"h5"),r._uU(12,"Left reset button"),r.qZA(),r.TgZ(13,"p"),r._uU(14,"The left reset button "),r.TgZ(15,"mat-icon",6),r._uU(16,"refresh"),r.qZA(),r._uU(17," is located on the left side of the map below the download "),r.TgZ(18,"mat-icon",7),r._uU(19,"download"),r.qZA(),r._uU(20," button. The left reset button resets all map components, as does the right reset button (see adjoining tab). When the reset button is clicked, the filters are reset to the default values, the tables are cleared, and the map layer is restored (with no plots selected). The selections "),r.TgZ(21,"mat-icon",8),r._uU(22,"filter_list"),r.qZA(),r._uU(23," button, the tables "),r._UZ(24,"mat-icon",9),r._uU(25,"button, and the download "),r.TgZ(26,"mat-icon",7),r._uU(27,"download"),r.qZA(),r._uU(28," button are also disabled (until another selection is made). Click the reset button(s) to start over."),r.qZA(),r.TgZ(29,"p"),r._uU(30,"Note that clicking either the left-hand or right-hand reset button will not affect your login status."),r.qZA(),r.qZA(),r.TgZ(31,"div",10),r.TgZ(32,"h5"),r._uU(33,"Right reset button"),r.qZA(),r.TgZ(34,"p"),r._uU(35,"The right reset button "),r._UZ(36,"img",11),r._uU(37," is located on the right side of the map below the layers "),r._UZ(38,"img",12),r._uU(39," button. Like the left-hand reset button, the right reset button resets all map components; when the reset button is clicked, the filters are reset to the default values, the tables are cleared, and the map layer is restored (with no plots selected). The selections "),r.TgZ(40,"mat-icon",8),r._uU(41,"filter_list"),r.qZA(),r._uU(42," button, the tables "),r._UZ(43,"mat-icon",9),r._uU(44,"button, and the download "),r.TgZ(45,"mat-icon",7),r._uU(46,"download"),r.qZA(),r._uU(47," button are also disabled (until another selection is made). Click the reset button(s) to start over."),r.qZA(),r.TgZ(48,"p"),r._uU(49,"Clicking either the left-hand or right-hand reset button will not affect your login status."),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","leftResetButtonDescription"===e.activeDocsButton),r.xp6(3),r.ekj("active","rightResetButtonDescription"===e.activeDocsButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("hidden","leftResetButtonDescription"!==e.currentDoc),r.xp6(21),r.Q6J("hidden","rightResetButtonDescription"!==e.currentDoc))},directives:[JO,$O,fP,aP,OP,_P,VP],styles:['.doc-container[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:.25cm 0 2cm}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .doc-tab[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]{text-align:left;font-size:18px;max-height:288px;overflow:auto}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1em;font-weight:400;margin-top:2%}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400;font-size:18px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .refresh-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .download-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .filter-list-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{margin-bottom:5px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .tables-icon[_ngcontent-%COMP%]{margin-right:4px}.doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .reset-icon[_ngcontent-%COMP%], .doc-container[_ngcontent-%COMP%]   .docs-card[_ngcontent-%COMP%]   .doc-section[_ngcontent-%COMP%]   .map-layers-icon[_ngcontent-%COMP%]{margin:0 3px}']}),t}();function XP(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",1),r.TgZ(1,"mat-card",2),r.TgZ(2,"mat-grid-list",3),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"span",4),r._uU(5,"Map Guide"),r.qZA(),r.qZA(),r._UZ(6,"mat-grid-tile"),r.qZA(),r._UZ(7,"mat-divider",5),r.TgZ(8,"mat-grid-list",3),r.TgZ(9,"mat-grid-tile"),r.TgZ(10,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("plotsDoc")}),r._uU(11,"Plots"),r.qZA(),r.qZA(),r.TgZ(12,"mat-grid-tile"),r.TgZ(13,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("controlsDoc")}),r._uU(14,"Controls"),r.qZA(),r.qZA(),r.TgZ(15,"mat-grid-tile"),r.TgZ(16,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("annotationsDoc")}),r._uU(17,"Annotations"),r.qZA(),r.qZA(),r.TgZ(18,"mat-grid-tile"),r.TgZ(19,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("filtersDoc")}),r._uU(20,"Filters"),r.qZA(),r.qZA(),r.TgZ(21,"mat-grid-tile"),r.TgZ(22,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("setOperationsDoc")}),r._uU(23,"Selections"),r.qZA(),r.qZA(),r.TgZ(24,"mat-grid-tile"),r.TgZ(25,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("uploadDoc")}),r._uU(26,"Upload"),r.qZA(),r.qZA(),r.TgZ(27,"mat-grid-tile"),r.TgZ(28,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("tablesDoc")}),r._uU(29,"Tables"),r.qZA(),r.qZA(),r.TgZ(30,"mat-grid-tile"),r.TgZ(31,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("downloadDoc")}),r._uU(32,"Download"),r.qZA(),r.qZA(),r.TgZ(33,"mat-grid-tile"),r.TgZ(34,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("resetDoc")}),r._uU(35,"Reset"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r._UZ(36,"plots-doc",7),r._UZ(37,"controls-doc",7),r._UZ(38,"annotations-doc",7),r._UZ(39,"filters-doc",7),r._UZ(40,"set-operations-doc",7),r._UZ(41,"upload-doc",7),r._UZ(42,"tables-doc",7),r._UZ(43,"download-doc",7),r._UZ(44,"reset-doc",7),r.qZA()}if(2&t){var i=r.oxw();
1r.xp6(2),r.Q6J("cols",i.gridCols),r.xp6(5),r.Q6J("inset",!0),r.xp6(1),r.Q6J("cols",i.gridCols),r.xp6(2),r.ekj("active",i.mapDocSelection.plotsDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.controlsDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.annotationsDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.filtersDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.setOperationsDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.uploadDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.tablesDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.downloadDoc),r.xp6(3),r.ekj("active",i.mapDocSelection.resetDoc),r.xp6(2),r.Q6J("isVisible",i.mapDocSelection.plotsDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.controlsDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.annotationsDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.filtersDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.setOperationsDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.uploadDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.tablesDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.downloadDoc),r.xp6(1),r.Q6J("isVisible",i.mapDocSelection.resetDoc)}}var $P=function(){var t=function(){function t(){_classCallCheck(this,t),this.isVisible=!0,this.mapDocSelection={plotsDoc:!1,controlsDoc:!1,annotationsDoc:!1,filtersDoc:!1,setOperationsDoc:!1,uploadDoc:!1,tablesDoc:!1,downloadDoc:!1,resetDoc:!1},this.gridCols=3}return _createClass(t,[{key:"ngOnInit",value:function(){this.adjustGridColumns(window.innerWidth)}},{key:"togglePanel",value:function(t){this.mapDocSelection=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.mapDocSelection),_defineProperty({},t,!this.mapDocSelection[t])),"plotsDoc"!==t&&{plotsDoc:!1}),"controlsDoc"!==t&&{controlsDoc:!1}),"annotationsDoc"!==t&&{annotationsDoc:!1}),"filtersDoc"!==t&&{filtersDoc:!1}),"setOperationsDoc"!==t&&{setOperationsDoc:!1}),"uploadDoc"!==t&&{uploadDoc:!1}),"tablesDoc"!==t&&{tablesDoc:!1}),"downloadDoc"!==t&&{downloadDoc:!1}),"resetDoc"!==t&&{resetDoc:!1})}},{key:"onResize",value:function(t){this.adjustGridColumns(t.target.innerWidth)}},{key:"adjustGridColumns",value:function(t){(t<1e3||t>=1e3)&&(this.gridCols=3)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["docs-button-panel"]],hostBindings:function(t,e){1&t&&r.NdJ("resize",function(t){return e.onResize(t)},!1,r.Jf7)},inputs:{isVisible:"isVisible"},decls:1,vars:1,consts:[["cdkDrag","","class","docs-button-panel",4,"ngIf"],["cdkDrag","",1,"docs-button-panel"],[1,"docs-button-card"],["rowHeight","36px",3,"cols"],["colSpan","2",1,"docs-title"],[3,"inset"],["mat-stroked-button","",1,"doc-button-font",3,"click"],[3,"isVisible"]],template:function(t,e){1&t&&r.YNc(0,XP,45,30,"div",0),2&t&&r.Q6J("ngIf",e.isVisible)},directives:[_t,JO,$O,fP,aP,_P,OP,zP,qP,BP,GP,HP,JP,WP,QP,KP],styles:['.docs-button-panel[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin:1.25cm 0 2cm}.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .doc-button-font[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:18px;font-weight:500}.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 999px){.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 7)}}.docs-button-panel[_ngcontent-%COMP%]   .docs-button-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.docs-title[_ngcontent-%COMP%]{font-family:"Montserrat","Helvetica",Arial,sans-serif;font-size:20px;font-weight:500;border-radius:4px 4px 0 0;overflow:auto;background-color:#e0e0e0;line-height:36px;width:100%}']}),t}(),tw=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-docs"]],decls:8,vars:0,consts:[["data-parallax","true",1,"page-header"],[1,"container"],[1,"motto","ldc-top-banner"],[1,"overview"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"h1"),r._uU(4,"Help"),r.qZA(),r.TgZ(5,"p",3),r._UZ(6,"docs-button-panel"),r.qZA(),r._UZ(7,"br"),r.qZA(),r.qZA(),r.qZA())},directives:[$P],styles:['@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse.in[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapsing[_ngcontent-%COMP%]{display:none!important}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}
1.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0;padding:0}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.motto[_ngcontent-%COMP%]{padding-top:25px;margin-bottom:5px!important;border-radius:30px!important;background-color:#0000004d}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.container[_ngcontent-%COMP%]{max-width:1400px;height:22cm}.page-header[_ngcontent-%COMP%]{background-image:url(new-ldc-banner.a3fa342ba698957cf8fb.jpg);background-size:cover;background-position:center top;background-repeat:no-repeat;background-color:#8fb3d6;align-items:flex-start!important}.h1[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:400;font-size:64px;text-shadow:0 1px 3px rgba(0,0,0,.45)}.motto[_ngcontent-%COMP%]{background-color:transparent!important;border-radius:0!important}p.overview[_ngcontent-%COMP%]{padding:0;font-size:1.1em;font-weight:500;text-align:center;margin-right:auto}@media (min-width: 576px){p.overview[_ngcontent-%COMP%]{max-width:540px}}@media (min-width: 768px){p.overview[_ngcontent-%COMP%]{max-width:720px}}@media (min-width: 992px){p.overview[_ngcontent-%COMP%]{max-width:960px}}@media (min-width: 1200px){p.overview[_ngcontent-%COMP%]{max-width:1140px}}a.email[_ngcontent-%COMP%]{color:#fff;font-weight:505}a.tech-links[_ngcontent-%COMP%]{color:#fff;font-weight:600}a.tools[_ngcontent-%COMP%]{text-align:center}@media only screen and (max-width: 767px){h1[_ngcontent-%COMP%]{font-size:45px!important}.overview[_ngcontent-%COMP%]{font-size:14px!important}.ldc-top-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 2cm)}}@media (-webkit-min-device-pixel-ratio: 1.3125),(min-resolution: 126dpi){.page-header[_ngcontent-%COMP%]{max-height:1200px}}@media (-webkit-max-device-pixel-ratio: 1.3020833333333333),(max-resolution: 125dpi){.page-header[_ngcontent-%COMP%]{max-height:1150px}}.ldc-top-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 3cm);margin-top:0!important;text-align:left;padding-left:2em;padding-right:2em}']}),t}();n(65972);var ew=function(){function t(){this.disposed=!1}return t.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}(),nw=ew;function iw(t,e){return t>e?1:t<e?-1:0}function ow(t,e,n){var i=t.length;if(t[0]<=e)return 0;if(e<=t[i-1])return i-1;var o=void 0;if(n>0){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(n<0){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function rw(t,e,n){for(;e<n;){var i=t[e];t[e]=t[n],t[n]=i,++e,--n}}function aw(t,e){for(var n=Array.isArray(e)?e:[e],i=n.length,o=0;o<i;o++)t[t.length]=n[o]}function sw(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function cw(){return!0}function lw(){return!1}function uw(){}function dw(){return function(){throw new Error("Unimplemented abstract method.")}()}var hw=0;function pw(t){return t.ol_uid||(t.ol_uid=String(++hw))}
vendor: 9,234 bytes, line 1
1var fw,gw=(fw=function(t,e){return(fw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}fw(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),_w=function(t){function e(e){var n=this,i="Assertion failed. See https://openlayers.org/en/v"+"6.5.0".split("-")[0]+"/doc/errors/#"+e+" for details.";return(n=t.call(this,i)||this).code=e,n.name="AssertionError",n.message=i,n}return gw(e,t),e}(Error),mw=_w;function vw(t,e){if(!t)throw new mw(e)}var yw=new Array(6);function Cw(t){return Ow(t,1,0,0,1,0,0)}function bw(t,e){var n=t[0],i=t[1],o=t[2],r=t[3],a=t[4],s=t[5],c=e[0],l=e[1],u=e[2],d=e[3],h=e[4],p=e[5];return t[0]=n*c+o*l,t[1]=i*c+r*l,t[2]=n*u+o*d,t[3]=i*u+r*d,t[4]=n*h+o*p+a,t[5]=i*h+r*p+s,t}function Ow(t,e,n,i,o,r,a){return t[0]=e,t[1]=n,t[2]=i,t[3]=o,t[4]=r,t[5]=a,t}function Pw(t,e){var n=e[0],i=e[1];return e[0]=t[0]*n+t[2]*i+t[4],e[1]=t[1]*n+t[3]*i+t[5],e}function ww(t,e,n,i,o,r,a,s){var c=Math.sin(r),l=Math.cos(r);return t[0]=i*l,t[1]=o*c,t[2]=-i*c,t[3]=o*l,t[4]=a*i*l-s*i*c+e,t[5]=a*o*c+s*o*l+n,t}function Mw(t,e){var n=function(t){return t[0]*t[3]-t[1]*t[2]}(e);vw(0!==n,32);var i=e[0],o=e[1],r=e[2],a=e[3],s=e[4],c=e[5];return t[0]=a/n,t[1]=-o/n,t[2]=-r/n,t[3]=i/n,t[4]=(r*c-a*s)/n,t[5]=-(i*c-o*s)/n,t}function xw(t){return"matrix("+t.join(", ")+")"}function kw(t){for(var e=[1/0,1/0,-1/0,-1/0],n=0,i=t.length;n<i;++n)Vw(e,t[n]);return e}function Sw(t,e,n){return n?(n[0]=t[0]-e,n[1]=t[1]-e,n[2]=t[2]+e,n[3]=t[3]+e,n):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function Aw(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function Tw(t,e,n){var i,o;return(i=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*i+(o=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0)*o}function Iw(t,e){return Dw(t,e[0],e[1])}function Ew(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function Dw(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function Rw(t,e){var n=e[0],i=e[1],o=0;return n<t[0]?o|=16:n>t[2]&&(o|=4),i<t[1]?o|=8:i>t[3]&&(o|=2),0===o&&(o=1),o}function Fw(t,e,n,i,o){return o?(o[0]=t,o[1]=e,o[2]=n,o[3]=i,o):[t,e,n,i]}function Lw(t){return Fw(1/0,1/0,-1/0,-1/0,t)}function Zw(t,e,n,i,o){return jw(Lw(o),t,e,n,i)}function Nw(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function Uw(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function Vw(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function jw(t,e,n,i,o){for(;n<i;n+=o)zw(t,e[n],e[n+1]);return t}function zw(t,e,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],n),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],n)}function qw(t,e){var n;return!!((n=e(Yw(t)))||(n=e(Gw(t)),n)||(n=e($w(t)),n)||(n=e(Xw(t)),n))&&n}function Bw(t){var e=0;return nM(t)||(e=tM(t)*Qw(t)),e}function Yw(t){return[t[0],t[1]]}function Gw(t){return[t[2],t[1]]}function Hw(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function Jw(t,e){var n;return"bottom-left"===e?n=Yw(t):"bottom-right"===e?n=Gw(t):"top-left"===e?n=Xw(t):"top-right"===e?n=$w(t):vw(!1,13),n}function Ww(t,e,n,i,o){var r=e*i[0]/2,a=e*i[1]/2,s=Math.cos(n),c=Math.sin(n),l=r*s,u=r*c,d=a*s,h=a*c,p=t[0],f=t[1],g=p-l+h,_=p-l-h,m=p+l-h,v=p+l+h,y=f-u-d,C=f-u+d,b=f+u+d,O=f+u-d;return Fw(Math.min(g,_,m,v),Math.min(y,C,b,O),Math.max(g,_,m,v),Math.max(y,C,b,O),o)}function Qw(t){return t[3]-t[1]}function Kw(t,e,n){var i=n||[1/0,1/0,-1/0,-1/0];return eM(t,e)?(i[0]=t[0]>e[0]?t[0]:e[0],i[1]=t[1]>e[1]?t[1]:e[1],i[2]=t[2]<e[2]?t[2]:e[2],i[3]=t[3]<e[3]?t[3]:e[3]):Lw(i),i}function Xw(t){return[t[0],t[3]]}function $w(t){return[t[2],t[3]]}function tM(t){return t[2]-t[0]}function eM(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function nM(t){return t[2]<t[0]||t[3]<t[1]}function iM(t,e,n){return Math.min(Math.max(t,e),n)}var oM="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2},rM="log2"in Math?Math.log2:function(t){return Math.log(t)*Math.LOG2E};function aM(t,e,n,i,o,r){var a=o-n,s=r-i;if(0!==a||0!==s){var c=((t-n)*a+(e-i)*s)/(a*a+s*s);c>1?(n=o,i=r):c>0&&(n+=a*c,i+=s*c)}return sM(t,e,n,i)}function sM(t,e,n,i){var o=n-t,r=i-e;return o*o+r*r}function cM(t){return t*Math.PI/180}function lM(t,e){var n=t%e;return n*e<0?n+e:n}function uM(t,e,n){return t+n*(e-t)}var dM=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,hM=/^([a-z]*)$|^hsla?\(.*\)$/i;function pM(t){return"string"==typeof t?t:CM(t)}function fM(t){var e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}return""}var gM,_M,mM=(gM={},_M=0,function(t){var e;if(gM.hasOwnProperty(t))e=gM[t];else{if(_M>=1024){var n=0;for(var i in gM)0==(3&n++)&&(delete gM[i],--_M)}e=function(t){var e,n,i,o,r;if(hM.exec(t)&&(t=fM(t)),dM.exec(t)){var a,s=t.length-1;a=s<=4?1:2;var c=4===s||8===s;e=parseInt(t.substr(1+0*a,a),16),n=parseInt(t.substr(1+1*a,a),16),i=parseInt(t.substr(1+2*a,a),16),o=c?parseInt(t.substr(1+3*a,a),16):255,1==a&&(e=(e<<4)+e,n=(n<<4)+n,i=(i<<4)+i,c&&(o=(o<<4)+o)),r=[e,n,i,o/255]}else 0==t.indexOf("rgba(")?yM(r=t.slice(5,-1).split(",").map(Number)):0==t.indexOf("rgb(")?((r=t.slice(4,-1).split(",").map(Number)).push(1),yM(r)):vw(!1,14);return r}(t),gM[t]=e,++_M}return e});function vM(t){return Array.isArray(t)?t:mM(t)}function yM(t){return t[0]=iM(t[0]+.5|0,0,255),t[1]=iM(t[1]+.5|0,0,255),t[2]=iM(t[2]+.5|0,0,255),t[3]=iM(t[3],0,1),t}function CM(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var n=t[1];n!=(0|n)&&(n=n+.5|0);var i=t[2];return i!=(0|i)&&(i=i+.5|0),"rgba("+e+","+n+","+i+","+(void 0===t[3]?1:t[3])+")"}var bM=function(){function t(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return t.prototype.clear=function(){this.cache_={},this.cacheSize_=0},t.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var t=0;for(var e in this.cache_)0==(3&t++)&&!this.cache_[e].hasListener()&&(delete this.cache_[e],--this.cacheSize_)}},t.prototype.get=function(t,e,n){var i=OM(t,e,n);return i in this.cache_?this.cache_[i]:null},t.prototype.set=function(t,e,n,i){var o=OM(t,e,n);this.cache_[o]=i,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}();function OM(t,e,n){return e+":"+t+":"+(n?pM(n):"null")}var PM=new bM,wM=function(){function t(t){this.type=t,this.target=null}return t.prototype.preventDefault=function(){this.propagationStopped=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}(),MM=wM,xM="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1,o=arguments.length;i<o;++i){var r=arguments[i];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(n[a]=r[a])}return n};function kM(t){for(var e in t)delete t[e]}var SM="function"==typeof Object.values?Object.values:function(t){var e=[];for(var n in t)e.push(t[n]);return e};function AM(t){var e;for(e in t)return!1;return!e}var TM,IM=(TM=function(t,e){return(TM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}TM(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),EM=function(t){function e(e){var n=t.call(this)||this;return n.eventTarget_=e,n.pendingRemovals_=null,n.dispatching_=null,n.listeners_=null,n}return IM(e,t),e.prototype.addEventListener=function(t,e){if(t&&e){var n=this.listeners_||(this.listeners_={}),i=n[t]||(n[t]=[]);-1===i.indexOf(e)&&i.push(e)}},e.prototype.dispatchEvent=function(t){var e="string"==typeof t?new MM(t):t,n=e.type;e.target||(e.target=this.eventTarget_||this);var i,o=this.listeners_&&this.listeners_[n];if(o){var r=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});n in r||(r[n]=0,a[n]=0),++r[n];for(var s=0,c=o.length;s<c;++s)if(!1===(i="handleEvent"in o[s]?o[s].handleEvent(e):o[s].call(this,e))||e.propagationStopped){i=!1;break}if(--r[n],0===r[n]){var l=a[n];for(delete a[n];l--;)this.removeEventListener(n,uw);delete r[n]}return i}},e.prototype.disposeInternal=function(){this.listeners_&&kM(this.listeners_)},e.prototype.getListeners=function(t){return this.listeners_&&this.listeners_[t]||void 0},e.prototype.hasListener=function(t){return!!this.listeners_&&(t?t in this.listeners_:Object.keys(this.listeners_).length>0)},e.prototype.removeEventListener=function(t,e){var n=this.listeners_&&this.listeners_[t];if(n){var i=n.indexOf(e);-1!==i&&(this.pendingRemovals_&&t in this.pendingRemovals_?(n[i]=uw,++this.pendingRemovals_[t]):(n.splice(i,1),0===n.length&&delete this.listeners_[t]))}},e}(nw),DM=EM;function RM(t,e,n,i,o){if(i&&i!==t&&(n=n.bind(i)),o){var r=n;n=function(){t.removeEventListener(e,n),r.apply(this,arguments)}}var a={target:t,type:e,listener:n};return t.addEventListener(e,n),a}function FM(t,e,n,i){return RM(t,e,n,i,!0)}function LM(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),kM(t))}
1var ZM,NM,UM=(NM=function(t,e){return(NM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}NM(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),VM=function(t){function e(){var e=t.call(this)||this;return e.revision_=0,e}return UM(e,t),e.prototype.changed=function(){++this.revision_,this.dispatchEvent("change")},e.prototype.getRevision=function(){return this.revision_},e.prototype.on=function(t,e){if(Array.isArray(t)){for(var n=t.length,i=new Array(n),o=0;o<n;++o)i[o]=RM(this,t[o],e);return i}return RM(this,t,e)},e.prototype.once=function(t,e){var n;if(Array.isArray(t)){var i=t.length;n=new Array(i);for(var o=0;o<i;++o)n[o]=FM(this,t[o],e)}else n=FM(this,t,e);return e.ol_key=n,n},e.prototype.un=function(t,e){var n=e.ol_key;if(n)!function(t){if(Array.isArray(t))for(var e=0,n=t.length;e<n;++e)LM(t[e]);else LM(t)}(n);else if(Array.isArray(t))for(var i=0,o=t.length;i<o;++i)this.removeEventListener(t[i],e);else this.removeEventListener(t,e)},e}
1(DM),jM=VM,zM=(ZM=function(t,e){return(ZM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ZM(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),qM=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.key=n,o.oldValue=i,o}return zM(e,t),e}(MM),BM=function(t){function e(e){var n=t.call(this)||this;return pw(n),n.values_=null,void 0!==e&&n.setProperties(e),n}return zM(e,t),e.prototype.get=function(t){var e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e},e.prototype.getKeys=function(){return this.values_&&Object.keys(this.values_)||[]},e.prototype.getProperties=function(){return this.values_&&xM({},this.values_)||{}},e.prototype.hasProperties=function(){return!!this.values_},e.prototype.notify=function(t,e){var n;n=GM(t),this.dispatchEvent(new qM(n,t,e)),this.dispatchEvent(new qM(n="propertychange",t,e))},e.prototype.set=function(t,e,n){var i=this.values_||(this.values_={});if(n)i[t]=e;else{var o=i[t];i[t]=e,o!==e&&this.notify(t,o)}},e.prototype.setProperties=function(t,e){for(var n in t)this.set(n,t[n],e)},e.prototype.applyProperties=function(t){!t.values_||xM(this.values_||(this.values_={}),t.values_)},e.prototype.unset=function(t,e){if(this.values_&&t in this.values_){var n=this.values_[t];delete this.values_[t],AM(this.values_)&&(this.values_=null),e||this.notify(t,n)}},e}(jM),YM={};function GM(t){return YM.hasOwnProperty(t)?YM[t]:YM[t]="change:"+t}var HM,JM,WM=BM,QM=(JM=function(t,e){return(JM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}JM(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),KM=function(t){function e(e){var n=t.call(this)||this,i=xM({},e);return i.opacity=void 0!==e.opacity?e.opacity:1,vw("number"==typeof i.opacity,64),i.visible=void 0===e.visible||e.visible,i.zIndex=e.zIndex,i.maxResolution=void 0!==e.maxResolution?e.maxResolution:1/0,i.minResolution=void 0!==e.minResolution?e.minResolution:0,i.minZoom=void 0!==e.minZoom?e.minZoom:-1/0,i.maxZoom=void 0!==e.maxZoom?e.maxZoom:1/0,n.className_=void 0!==i.className?e.className:"ol-layer",delete i.className,n.setProperties(i),n.state_=null,n}return QM(e,t),e.prototype.getClassName=function(){return this.className_},e.prototype.getLayerState=function(t){var e=this.state_||{layer:this,managed:void 0===t||t},n=this.getZIndex();return e.opacity=iM(Math.round(100*this.getOpacity())/100,0,1),e.sourceState=this.getSourceState(),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==n?n:!1===e.managed?1/0:0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e},e.prototype.getLayersArray=function(t){return dw()},e.prototype.getLayerStatesArray=function(t){return dw()},e.prototype.getExtent=function(){return this.get("extent")},e.prototype.getMaxResolution=function(){return this.get("maxResolution")},e.prototype.getMinResolution=function(){return this.get("minResolution")},e.prototype.getMinZoom=function(){return this.get("minZoom")},e.prototype.getMaxZoom=function(){return this.get("maxZoom")},e.prototype.getOpacity=function(){return this.get("opacity")},e.prototype.getSourceState=function(){return dw()},e.prototype.getVisible=function(){return this.get("visible")},e.prototype.getZIndex=function(){return this.get("zIndex")},e.prototype.setExtent=function(t){this.set("extent",t)},e.prototype.setMaxResolution=function(t){this.set("maxResolution",t)},e.prototype.setMinResolution=function(t){this.set("minResolution",t)},e.prototype.setMaxZoom=function(t){this.set("maxZoom",t)},e.prototype.setMinZoom=function(t){this.set("minZoom",t)},e.prototype.setOpacity=function(t){vw("number"==typeof t,64),this.set("opacity",t)},e.prototype.setVisible=function(t){this.set("visible",t)},e.prototype.setZIndex=function(t){this.set("zIndex",t)},e.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),t.prototype.disposeInternal.call(this)},e}
1(WM),XM=KM,$M=(HM=function(t,e){return(HM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}HM(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),tx=function(t){function e(e){var n=this,i=xM({},e);return delete i.source,(n=t.call(this,i)||this).mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,e.render&&(n.render=e.render),e.map&&n.setMap(e.map),n.addEventListener(GM("source"),n.handleSourcePropertyChange_),n.setSource(e.source?e.source:null),n}return $M(e,t),e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){return this.get("source")||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():"undefined"},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(LM(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=RM(t,"change",this.handleSourceChange_,this)),this.changed()},e.prototype.getFeatures=function(t){return this.renderer_.getFeatures(t)},e.prototype.render=function(t,e){var n=this.getRenderer();if(n.prepareFrame(t))return n.renderFrame(t,e)},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(LM(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(LM(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=RM(t,"precompose",function(t){var e=t.frameState.layerStatesArray,n=this.getLayerState(!1);vw(!e.some(function(t){return t.layer===n.layer}),67),e.push(n)},this),this.mapRenderKey_=RM(this,"change",t.render,t),this.changed())},e.prototype.setSource=function(t){this.set("source",t)},e.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},e.prototype.hasRenderer=function(){return!!this.renderer_},e.prototype.createRenderer=function(){return null},e.prototype.disposeInternal=function(){this.setSource(null),t.prototype.disposeInternal.call(this)},e}(XM);function ex(t,e){if(!t.visible)return!1;var n=e.resolution;if(n<t.minResolution||n>=t.maxResolution)return!1;var i=e.zoom;return i>t.minZoom&&i<=t.maxZoom}var nx=tx;function ix(t,e){for(var n=!0,i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function ox(t,e){var n=Math.cos(e),i=Math.sin(e),o=t[1]*n+t[0]*i;return t[0]=t[0]*n-t[1]*i,t[1]=o,t}function rx(t,e){if(e.canWrapX()){var n=tM(e.getExtent()),i=function(t,e,n){var i=e.getExtent(),o=0;if(e.canWrapX()&&(t[0]<i[0]||t[0]>i[2])){var r=n||tM(i);o=Math.floor((t[0]-i[0])/r)}return o}(t,e,n);i&&(t[0]-=i*n)}return t}var ax,sx=(ax=function(t,e){return(ax=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ax(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),cx=function(t){function e(e){var n=t.call(this)||this;return n.map_=e,n}return sx(e,t),e.prototype.dispatchRenderEvent=function(t,e){dw()},e.prototype.calculateMatrices2D=function(t){var e=t.viewState,n=t.coordinateToPixelTransform,i=t.pixelToCoordinateTransform;ww(n,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Mw(i,n)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,i,o,r,a,s){var c,l=e.viewState;function u(t,e,n,i){return o.call(r,e,t?n:null,i)}var d=l.projection,h=rx(t.slice(),d),p=[[0,0]];if(d.canWrapX()&&i){var f=tM(d.getExtent());p.push([-f,0],[f,0])}for(var g=e.layerStatesArray,_=g.length,m=[],v=[],y=0;y<p.length;y++)for(var C=_-1;C>=0;--C){var b=g[C],O=b.layer;if(O.hasRenderer()&&ex(b,l)&&a.call(s,O)){var P=O.getRenderer(),w=O.getSource();if(P&&w){var M=w.getWrapX()?h:t,x=u.bind(null,b.managed);v[0]=M[0]+p[y][0],v[1]=M[1]+p[y][1],c=P.forEachFeatureAtCoordinate(v,e,n,x,m)}if(c)return c}}if(0!==m.length){var k=1/m.length;return m.forEach(function(t,e){return t.distanceSq+=e*k}),m.sort(function(t,e){return t.distanceSq-e.distanceSq}),m.some(function(t){return c=t.callback(t.feature,t.layer,t.geometry)}),c}},e.prototype.forEachLayerAtPixel=function(t,e,n,i,o){return dw()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,i,o,r){return void 0!==this.forEachFeatureAtCoordinate(t,e,n,i,cw,this,o,r)},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(t){dw()},e.prototype.scheduleExpireIconCache=function(t){PM.canExpireCache()&&t.postRenderFunctions.push(lx)},e}(nw);function lx(t,e){PM.expire()}
1var ux,dx=cx,hx=(ux=function(t,e){return(ux=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ux(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),px=function(t){function e(e,n,i,o){var r=t.call(this,e)||this;return r.inversePixelTransform=n,r.frameState=i,r.context=o,r}return hx(e,t),e}(MM),fx=px,gx="ol-hidden",_x="ol-unselectable",mx="ol-control",vx="ol-collapsed",yx=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),Cx=["style","variant","weight","size","lineHeight","family"],bx=function(t){var e=t.match(yx);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},i=0,o=Cx.length;i<o;++i){var r=e[i+1];void 0!==r&&(n[Cx[i]]=r)}return n.families=n.family.split(/,\s?/),n},Ox="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",Px=-1!==Ox.indexOf("firefox"),wx=(-1!==Ox.indexOf("safari")&&Ox.indexOf("chrom"),-1!==Ox.indexOf("webkit")&&-1==Ox.indexOf("edge")),Mx=-1!==Ox.indexOf("macintosh"),xx="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,kx="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,Sx="undefined"!=typeof Image&&Image.prototype.decode,Ax=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(_M){}return t}();function Tx(t,e,n){var i=n&&n.length?n.shift():kx?new OffscreenCanvas(t||300,e||300):document.createElement("canvas");return t&&(i.width=t),e&&(i.height=e),i.getContext("2d")}function Ix(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function Ex(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}var Dx="10px sans-serif",Rx="#000",Fx="round",Lx=[],Zx="round",Nx="#000",Ux="center",Vx="middle",jx=[0,0,0,0],zx=new WM;(new DM).setSize=function(){console.warn("labelCache is deprecated.")};var qx,Bx=null,Yx={},Gx=function(){var t,e,n="32px ",i=["monospace","serif"],o=i.length,r="wmytzilWMYTZIL@#/&?$%10\uf013";function a(t,a,s){for(var c=!0,l=0;l<o;++l){var u=i[l];if(e=Wx(t+" "+a+" "+n+u,r),s!=u){var d=Wx(t+" "+a+" "+n+s+","+u,r);c=c&&d!=e}}return!!c}function s(){for(var e=!0,n=zx.getKeys(),i=0,o=n.length;i<o;++i){var r=n[i];zx.get(r)<100&&(a.apply(this,r.split("\n"))?(kM(Yx),Bx=null,qx=void 0,zx.set(r,100)):(zx.set(r,zx.get(r)+1,!0),e=!1))}e&&(clearInterval(t),t=void 0)}return function(e){var n=bx(e);if(n)for(var i=n.families,o=0,r=i.length;o<r;++o){var c=i[o],l=n.style+"\n"+n.weight+"\n"+c;void 0===zx.get(l)&&(zx.set(l,100,!0),a(n.style,n.weight,c)||(zx.set(l,0,!0),void 0===t&&(t=setInterval(s,32))))}}}(),Hx=function(){var t;return function(e){var n=Yx[e];if(null==n){if(kx){var i=bx(e),o=Jx(e,"\u017dg");n=(isNaN(Number(i.lineHeight))?1.2:Number(i.lineHeight))*(o.actualBoundingBoxAscent+o.actualBoundingBoxDescent)}else t||((t=document.createElement("div")).innerHTML="M",t.style.margin="0 !important",t.style.padding="0 !important",t.style.position="absolute !important",t.style.left="-99999px !important"),t.style.font=e,document.body.appendChild(t),n=t.offsetHeight,document.body.removeChild(t);Yx[e]=n}return n}}();function Jx(t,e){return Bx||(Bx=Tx(1,1)),t!=qx&&(Bx.font=t,qx=Bx.font),Bx.measureText(e)}function Wx(t,e){return Jx(t,e).width}function Qx(t,e,n){if(e in n)return n[e];var i=Wx(t,e);return n[e]=i,i}function Kx(t,e,n,i){0!==e&&(t.translate(n,i),t.rotate(e),t.translate(-n,-i))}var Xx,$x,tk,ek,nk,ik,ok,rk=null,ak=(ok=function(t,e){return(ok=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ok(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),sk=function(t){function e(e){var n=t.call(this,e)||this;n.fontChangeListenerKey_=RM(zx,"propertychange",e.redrawText.bind(e)),n.element_=document.createElement("div");var i=n.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",n.element_.className=_x+" ol-layers";var o=e.getViewport();return o.insertBefore(n.element_,o.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return ak(e,t),e.prototype.dispatchRenderEvent=function(t,e){var n=this.getMap();if(n.hasListener(t)){var i=new fx(t,void 0,e);n.dispatchEvent(i)}},e.prototype.disposeInternal=function(){LM(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(t){if(t){this.calculateMatrices2D(t),this.dispatchRenderEvent("precompose",t);var e=t.layerStatesArray.sort(function(t,e){return t.zIndex-e.zIndex}),n=t.viewState;this.children_.length=0;for(var i=[],o=null,r=0,a=e.length;r<a;++r){var s=e[r];if(t.layerIndex=r,ex(s,n)&&("ready"==s.sourceState||"undefined"==s.sourceState)){var c=s.layer,l=c.render(t,o);!l||(l!==o&&(this.children_.push(l),o=l),"getDeclutter"in c&&i.push(c))}}for(r=i.length-1;r>=0;--r)i[r].renderDeclutter(t);(function(t,e){for(var n=t.childNodes,i=0;;++i){var o=n[i],r=e[i];if(!o&&!r)break;
1if(o!==r){if(!o){t.appendChild(r);continue}if(!r){t.removeChild(o),--i;continue}t.insertBefore(r,o)}}})(this.element_,this.children_),this.dispatchRenderEvent("postcompose",t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},e.prototype.forEachLayerAtPixel=function(t,e,n,i,o){for(var r=e.viewState,a=e.layerStatesArray,s=a.length-1;s>=0;--s){var c=a[s],l=c.layer;if(l.hasRenderer()&&ex(c,r)&&o(l)){var u=l.getRenderer().getDataAtPixel(t,e,n);if(u){var d=i(l,u);if(d)return d}}}},e}(dx),ck=sk,lk=(ik=function(t,e){return(ik=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ik(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),uk=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.element=n,o.index=i,o}return lk(e,t),e}(MM),dk=function(t){function e(e,n){var i=t.call(this)||this;if(i.unique_=!!(n||{}).unique,i.array_=e||[],i.unique_)for(var o=0,r=i.array_.length;o<r;++o)i.assertUnique_(i.array_[o],o);return i.updateLength_(),i}return lk(e,t),e.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},e.prototype.extend=function(t){for(var e=0,n=t.length;e<n;++e)this.push(t[e]);return this},e.prototype.forEach=function(t){for(var e=this.array_,n=0,i=e.length;n<i;++n)t(e[n],n,e)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get("length")},e.prototype.insertAt=function(t,e){this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new uk("add",e,t))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var e=this.getLength();return this.insertAt(e,t),this.getLength()},e.prototype.remove=function(t){for(var e=this.array_,n=0,i=e.length;n<i;++n)if(e[n]===t)return this.removeAt(n)},e.prototype.removeAt=function(t){var e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new uk("remove",e,t)),e},e.prototype.setAt=function(t,e){var n=this.getLength();if(t<n){this.unique_&&this.assertUnique_(e,t);var i=this.array_[t];this.array_[t]=e,this.dispatchEvent(new uk("remove",i,t)),this.dispatchEvent(new uk("add",e,t))}else{for(var o=n;o<t;++o)this.insertAt(o,void 0);this.insertAt(t,e)}},e.prototype.updateLength_=function(){this.set("length",this.array_.length)},e.prototype.assertUnique_=function(t,e){for(var n=0,i=this.array_.length;n<i;++n)if(this.array_[n]===t&&n!==e)throw new mw(58)},e}(WM),hk=dk,pk=(nk=function(t,e){return(nk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}nk(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),fk=function(t){function e(e){var n=this,i=e||{},o=xM({},i);delete o.layers;var r=i.layers;return(n=t.call(this,o)||this).layersListenerKeys_=[],n.listenerKeys_={},n.addEventListener(GM("layers"),n.handleLayersChanged_),r?Array.isArray(r)?r=new hk(r.slice(),{unique:!0}):vw("function"==typeof r.getArray,43):r=new hk(void 0,{unique:!0}),n.setLayers(r),n}return pk(e,t),e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(LM),this.layersListenerKeys_.length=0;var t=this.getLayers();for(var e in this.layersListenerKeys_.push(RM(t,"add",this.handleLayersAdd_,this),RM(t,"remove",this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(LM);kM(this.listenerKeys_);for(var n=t.getArray(),i=0,o=n.length;i<o;i++){var r=n[i];this.listenerKeys_[pw(r)]=[RM(r,"propertychange",this.handleLayerChange_,this),RM(r,"change",this.handleLayerChange_,this)]}this.changed()},e.prototype.handleLayersAdd_=function(t){var e=t.element;this.listenerKeys_[pw(e)]=[RM(e,"propertychange",this.handleLayerChange_,this),RM(e,"change",this.handleLayerChange_,this)],this.changed()},e.prototype.handleLayersRemove_=function(t){var e=pw(t.element);this.listenerKeys_[e].forEach(LM),delete this.listenerKeys_[e],this.changed()},e.prototype.getLayers=function(){return this.get("layers")},e.prototype.setLayers=function(t){this.set("layers",t)},e.prototype.getLayersArray=function(t){var e=void 0!==t?t:[];
1return this.getLayers().forEach(function(t){t.getLayersArray(e)}),e},e.prototype.getLayerStatesArray=function(t){var e=void 0!==t?t:[],n=e.length;this.getLayers().forEach(function(t){t.getLayerStatesArray(e)});for(var i=this.getLayerState(),o=n,r=e.length;o<r;o++){var a=e[o];a.opacity*=i.opacity,a.visible=a.visible&&i.visible,a.maxResolution=Math.min(a.maxResolution,i.maxResolution),a.minResolution=Math.max(a.minResolution,i.minResolution),a.minZoom=Math.max(a.minZoom,i.minZoom),a.maxZoom=Math.min(a.maxZoom,i.maxZoom),void 0!==i.extent&&(a.extent=void 0!==a.extent?Kw(a.extent,i.extent):i.extent)}return e},e.prototype.getSourceState=function(){return"ready"},e}(XM),gk=fk,_k=(ek=function(t,e){return(ek=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ek(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),mk=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.map=n,o.frameState=void 0!==i?i:null,o}return _k(e,t),e}(MM),vk=mk,yk=(tk=function(t,e){return(tk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}tk(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Ck=function(t){function e(e,n,i,o,r){var a=t.call(this,e,n,r)||this;return a.originalEvent=i,a.pixel_=null,a.coordinate_=null,a.dragging=void 0!==o&&o,a}return yk(e,t),Object.defineProperty(e.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(t){this.pixel_=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(t){this.coordinate_=t},enumerable:!1,configurable:!0}),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){t.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()},e}(vk),bk=Ck,Ok={SINGLECLICK:"singleclick",CLICK:"click",DBLCLICK:"dblclick",POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},Pk=($x=function(t,e){return($x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}$x(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),wk=function(t){function e(e,n){var i=t.call(this,e)||this;i.map_=e,i.emulateClicks_=!1,i.dragging_=!1,i.dragListenerKeys_=[],i.moveTolerance_=n?n*xx:xx,i.down_=null;var o=i.map_.getViewport();return i.activePointers_=0,i.trackedTouches_={},i.element_=o,i.pointerdownListenerKey_=RM(o,"pointerdown",i.handlePointerDown_,i),i.relayedListenerKey_=RM(o,"pointermove",i.relayEvent_,i),i.boundHandleTouchMove_=i.handleTouchMove_.bind(i),i.element_.addEventListener("touchmove",i.boundHandleTouchMove_,!!Ax&&{passive:!1}),i}return Pk(e,t),e.prototype.emulateClick_=function(t){var e=new bk(Ok.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new bk(Ok.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout((function(){this.clickTimeoutId_=void 0;var e=new bk(Ok.SINGLECLICK,this.map_,t);this.dispatchEvent(e)}).bind(this),250)},e.prototype.updateActivePointers_=function(t){var e=t;e.type==Ok.POINTERUP||e.type==Ok.POINTERCANCEL?delete this.trackedTouches_[e.pointerId]:e.type==Ok.POINTERDOWN&&(this.trackedTouches_[e.pointerId]=!0),this.activePointers_=Object.keys(this.trackedTouches_).length},e.prototype.handlePointerUp_=function(t){this.updateActivePointers_(t);var e=new bk(Ok.POINTERUP,this.map_,t);this.dispatchEvent(e),this.emulateClicks_&&!e.propagationStopped&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_&&(this.dragListenerKeys_.forEach(LM),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)},e.prototype.isMouseActionButton_=function(t){return 0===t.button},e.prototype.handlePointerDown_=function(t){this.emulateClicks_=0===this.activePointers_,this.updateActivePointers_(t);var e=new bk(Ok.POINTERDOWN,this.map_,t);if(this.dispatchEvent(e),this.down_=t,0===this.dragListenerKeys_.length){var n=this.map_.getOwnerDocument();this.dragListenerKeys_.push(RM(n,Ok.POINTERMOVE,this.handlePointerMove_,this),RM(n,Ok.POINTERUP,this.handlePointerUp_,this),RM(this.element_,Ok.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==n&&this.dragListenerKeys_.push(RM(this.element_.getRootNode(),Ok.POINTERUP,this.handlePointerUp_,this))}},e.prototype.handlePointerMove_=function(t){if(this.isMoving_(t)){this.dragging_=!0;var e=new bk(Ok.POINTERDRAG,this.map_,t,this.dragging_);this.dispatchEvent(e)}},e.prototype.relayEvent_=function(t){this.originalPointerMoveEvent_=t;var e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new bk(t.type,this.map_,t,e))},e.prototype.handleTouchMove_=function(t){(!this.originalPointerMoveEvent_||this.originalPointerMoveEvent_.defaultPrevented)&&t.preventDefault()},e.prototype.isMoving_=function(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(LM(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener("touchmove",this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(LM(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(LM),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(DM),Mk=wk,xk=1/0,kk=function(){function t(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,kM(this.queuedElements_)},t.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var i=this.keyFunction_(n);return delete this.queuedElements_[i],n},t.prototype.enqueue=function(t){vw(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);
1return e!=xk&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(t){return 2*t+1},t.prototype.getRightChildIndex_=function(t){return 2*t+2},t.prototype.getParentIndex_=function(t){return t-1>>1},t.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},t.prototype.isEmpty=function(){return 0===this.elements_.length},t.prototype.isKeyQueued=function(t){return t in this.queuedElements_},t.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},t.prototype.siftUp_=function(t){for(var e=this.elements_,n=this.priorities_,i=e.length,o=e[t],r=n[t],a=t;t<i>>1;){var s=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),l=c<i&&n[c]<n[s]?c:s;e[t]=e[l],n[t]=n[l],t=l}e[t]=o,n[t]=r,this.siftDown_(a,t)},t.prototype.siftDown_=function(t,e){for(var n=this.elements_,i=this.priorities_,o=n[e],r=i[e];e>t;){var a=this.getParentIndex_(e);if(!(i[a]>r))break;n[e]=n[a],i[e]=i[a],e=a}n[e]=o,i[e]=r},t.prototype.reprioritize=function(){var t,e,n,i=this.priorityFunction_,o=this.elements_,r=this.priorities_,a=0,s=o.length;for(e=0;e<s;++e)(n=i(t=o[e]))==xk?delete this.queuedElements_[this.keyFunction_(t)]:(r[a]=n,o[a++]=t);o.length=a,r.length=a,this.heapify_()},t}(),Sk=(Xx=function(t,e){return(Xx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Xx(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Ak=function(t){function e(e,n){var i=t.call(this,function(t){return e.apply(null,t)},function(t){return t[0].getKey()})||this;return i.boundHandleTileChange_=i.handleTileChange.bind(i),i.tileChangeCallback_=n,i.tilesLoading_=0,i.tilesLoadingKeys_={},i}return Sk(e,t),e.prototype.enqueue=function(e){var n=t.prototype.enqueue.call(this,e);return n&&e[0].addEventListener("change",this.boundHandleTileChange_),n},e.prototype.getTilesLoading=function(){return this.tilesLoading_},e.prototype.handleTileChange=function(t){var e=t.target,n=e.getState();if(e.hifi&&2===n||3===n||4===n){e.removeEventListener("change",this.boundHandleTileChange_);var i=e.getKey();i in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[i],--this.tilesLoading_),this.tileChangeCallback_()}},e.prototype.loadMoreTiles=function(t,e){for(var n,i,o=0;this.tilesLoading_<t&&o<e&&this.getCount()>0;)i=(n=this.dequeue()[0]).getKey(),0===n.getState()&&!(i in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[i]=!0,++this.tilesLoading_,++o,n.load())},e}(kk),Tk=Ak,Ik={DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"},Ek={};Ek[Ik.DEGREES]=2*Math.PI*6370997/360,Ek[Ik.FEET]=.3048,Ek[Ik.METERS]=1,Ek[Ik.USFEET]=1200/3937;var Dk,Rk,Fk=Ik,Lk=function(){function t(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||Ek[this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(t){this.defaultTileGrid_=t},t.prototype.setExtent=function(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)},t.prototype.setWorldExtent=function(t){this.worldExtent_=t},t.prototype.setGetPointResolution=function(t){this.getPointResolutionFunc_=t},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}
1(),Zk=Lk,Nk=(Dk=function(t,e){return(Dk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Dk(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Uk=6378137,Vk=Math.PI*Uk,jk=[-Vk,-Vk,Vk,Vk],zk=[-180,-85,180,85],qk=Uk*Math.log(Math.tan(Math.PI/2)),Bk=function(t){function e(e){return t.call(this,{code:e,units:Fk.METERS,extent:jk,global:!0,worldExtent:zk,getPointResolution:function(t,e){return t/oM(e[1]/Uk)}})||this}return Nk(e,t),e}(Zk),Yk=[new Bk("EPSG:3857"),new Bk("EPSG:102100"),new Bk("EPSG:102113"),new Bk("EPSG:900913"),new Bk("http://www.opengis.net/gml/srs/epsg.xml#3857")],Gk=(Rk=function(t,e){return(Rk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Rk(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Hk=[-180,-90,180,90],Jk=6378137*Math.PI/180,Wk=function(t){function e(e,n){return t.call(this,{code:e,units:Fk.DEGREES,extent:Hk,axisOrientation:n,global:!0,metersPerUnit:Jk,worldExtent:Hk})||this}return Gk(e,t),e}(Zk),Qk=[new Wk("CRS:84"),new Wk("EPSG:4326","neu"),new Wk("urn:ogc:def:crs:OGC:1.3:CRS84"),new Wk("urn:ogc:def:crs:OGC:2:84"),new Wk("http://www.opengis.net/gml/srs/epsg.xml#4326","neu")],Kk={},Xk={};function $k(t,e,n){var i=t.getCode(),o=e.getCode();i in Xk||(Xk[i]={}),Xk[i][o]=n}function tS(t,e,n){var i=n||6371008.8,o=cM(t[1]),r=cM(e[1]),a=(r-o)/2,s=cM(e[0]-t[0])/2,c=Math.sin(a)*Math.sin(a)+Math.sin(s)*Math.sin(s)*Math.cos(o)*Math.cos(r);return 2*i*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))}function eS(t,e,n){var i;if(void 0!==e){for(var o=0,r=t.length;o<r;++o)e[o]=t[o];i=e}else i=t.slice();return i}function nS(t,e,n){if(void 0!==e&&t!==e){for(var i=0,o=t.length;i<o;++i)e[i]=t[i];t=e}return t}function iS(t){(function(t,e){Kk[t]=e})(t.getCode(),t),$k(t,t,eS)}function oS(t){return"string"==typeof t?function(t){return Kk[t]||Kk[t.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}(t):t||null}function rS(t,e,n,i){var o,r=(t=oS(t)).getPointResolutionFunc();if(r)o=r(e,n),i&&i!==t.getUnits()&&(s=t.getMetersPerUnit())&&(o=o*s/Ek[i]);else{var a=t.getUnits();if(a==Fk.DEGREES&&!i||i==Fk.DEGREES)o=e;else{var s,c=uS(t,oS("EPSG:4326"));if(c===nS&&a!==Fk.DEGREES)o=e*t.getMetersPerUnit();else{var l=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];o=(tS((l=c(l,l,2)).slice(0,2),l.slice(2,4))+tS(l.slice(4,6),l.slice(6,8)))/2}void 0!==(s=i?Ek[i]:t.getMetersPerUnit())&&(o/=s)}}return o}function aS(t){(function(t){t.forEach(iS)})(t),t.forEach(function(e){t.forEach(function(t){e!==t&&$k(e,t,eS)})})}function sS(t,e){return t?"string"==typeof t?oS(t):t:oS(e)}function cS(t,e){return hS(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function lS(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||uS(t,e)===eS)&&n}function uS(t,e){var n=function(t,e){var n;return t in Xk&&e in Xk[t]&&(n=Xk[t][e]),n}(t.getCode(),e.getCode());return n||(n=nS),n}function dS(t,e){return uS(oS(t),oS(e))}function hS(t,e,n){return dS(e,n)(t,void 0,t.length)}function pS(t,e){return t}function fS(t,e){return t}function gS(t,e){return t}function _S(t,e){return t}function mS(t,e,n){return function(i,o,r,a,s){if(i){var c=e?0:r[0]*o,l=e?0:r[1]*o,u=s?s[0]:0,d=s?s[1]:0,h=t[0]+c/2+u,p=t[2]-c/2+u,f=t[1]+l/2+d,g=t[3]-l/2+d;h>p&&(p=h=(p+h)/2),f>g&&(g=f=(g+f)/2);var _=iM(i[0],h,p),m=iM(i[1],f,g),v=30*o;return a&&n&&(_+=-v*Math.log(1+Math.max(0,h-i[0])/v)+v*Math.log(1+Math.max(0,i[0]-p)/v),m+=-v*Math.log(1+Math.max(0,f-i[1])/v)+v*Math.log(1+Math.max(0,i[1]-g)/v)),[_,m]}}}function vS(t){return t}function yS(t,e,n,i){var o=tM(e)/n[0],r=Qw(e)/n[1];return i?Math.min(t,Math.max(o,r)):Math.min(t,Math.min(o,r))}function CS(t,e,n){var i=Math.min(t,e);return i*=Math.log(1+50*Math.max(0,t/e-1))/50+1,n&&(i=Math.max(i,n),i/=Math.log(1+50*Math.max(0,n/t-1))/50+1),iM(i,n/2,2*e)}function bS(t,e,n,i,o){return function(r,a,s,c){if(void 0!==r){var l=i?yS(t,i,s,o):t;return(void 0===n||n)&&c?CS(r,l,e):iM(r,e,l)}}}function OS(t){if(void 0!==t)return 0}function PS(t){if(void 0!==t)return t}function wS(t){return Math.pow(t,3)}function MS(t){return 1-wS(1-t)}function xS(t){return 3*t*t-2*t*t*t}function kS(t){return t}function SS(t,e,n,i,o,r){for(var a=r||[],s=0,c=e;c<n;c+=i){var l=t[c],u=t[c+1];a[s++]=o[0]*l+o[2]*u+o[4],a[s++]=o[1]*l+o[3]*u+o[5]}return r&&a.length!=s&&(a.length=s),a}function AS(t,e,n,i,o,r,a){for(var s=a||[],c=Math.cos(o),l=Math.sin(o),u=r[0],d=r[1],h=0,p=e;p<n;p+=i){var f=t[p]-u,g=t[p+1]-d;s[h++]=u+f*c-g*l,s[h++]=d+f*l+g*c;for(var _=p+2;_<p+i;++_)s[h++]=t[_]}return a&&s.length!=h&&(s.length=h),s}function TS(t,e,n,i,o,r,a){for(var s=a||[],c=0,l=e;l<n;l+=i){s[c++]=t[l]+o,s[c++]=t[l+1]+r;for(var u=l+2;u<l+i;++u)s[c++]=t[u]}return a&&s.length!=c&&(s.length=c),s}aS(Yk),aS(Qk),function(t,e,n,i){t.forEach(function(t){e.forEach(function(e){$k(t,e,n),$k(e,t,i)})})}(Qk,Yk,function(t,e,n){var i=t.length,o=n>1?n:2,r=e;void 0===r&&(r=o>2?t.slice():new Array(i));for(var a=0;a<i;a+=o){r[a]=Vk*t[a]/180;var s=Uk*Math.log(Math.tan(Math.PI*(+t[a+1]+90)/360));s>qk?s=qk:s<-qk&&(s=-qk),r[a+1]=s}return r},function(t,e,n){var i=t.length,o=n>1?n:2,r=e;void 0===r&&(r=o>2?t.slice():new Array(i));for(var a=0;a<i;a+=o)r[a]=180*t[a]/Vk,r[a+1]=360*Math.atan(Math.exp(t[a+1]/Uk))/Math.PI-90;return r});
1var IS,ES,DS=(ES=function(t,e){return(ES=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ES(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),RS=[1,0,0,1,0,0],FS=function(t){function e(){var e=t.call(this)||this;return e.extent_=[1/0,1/0,-1/0,-1/0],e.extentRevision_=-1,e.simplifiedGeometryMaxMinSquaredTolerance=0,e.simplifiedGeometryRevision=0,e.simplifyTransformedInternal=function(t){var e,n,i,o=!1;return function(){var r=Array.prototype.slice.call(arguments);return(!o||this!==i||!sw(r,n))&&(o=!0,i=this,n=r,e=t.apply(this,arguments)),e}}(function(t,e,n){if(!n)return this.getSimplifiedGeometry(e);var i=this.clone();return i.applyTransform(n),i.getSimplifiedGeometry(e)}),e}return DS(e,t),e.prototype.simplifyTransformed=function(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)},e.prototype.clone=function(){return dw()},e.prototype.closestPointXY=function(t,e,n,i){return dw()},e.prototype.containsXY=function(t,e){var n=this.getClosestPoint([t,e]);return n[0]===t&&n[1]===e},e.prototype.getClosestPoint=function(t,e){var n=e||[NaN,NaN];return this.closestPointXY(t[0],t[1],n,1/0),n},e.prototype.intersectsCoordinate=function(t){return this.containsXY(t[0],t[1])},e.prototype.computeExtent=function(t){return dw()},e.prototype.getExtent=function(t){if(this.extentRevision_!=this.getRevision()){var e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&Lw(e),this.extentRevision_=this.getRevision()}return function(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}(this.extent_,t)},e.prototype.rotate=function(t,e){dw()},e.prototype.scale=function(t,e,n){dw()},e.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},e.prototype.getSimplifiedGeometry=function(t){return dw()},e.prototype.getType=function(){return dw()},e.prototype.applyTransform=function(t){dw()},e.prototype.intersectsExtent=function(t){return dw()},e.prototype.translate=function(t,e){dw()},e.prototype.transform=function(t,e){var n=oS(t),i=n.getUnits()==Fk.TILE_PIXELS?function(t,i,o){var r=n.getExtent(),a=n.getWorldExtent(),s=Qw(a)/Qw(r);return ww(RS,a[0],a[3],s,-s,0,0,0),SS(t,0,t.length,o,RS,i),dS(n,e)(t,i,o)}:dS(n,e);return this.applyTransform(i),this},e}(WM),LS=FS,ZS=(IS=function(t,e){return(IS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}IS(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),NS=function(t){function e(){var e=t.call(this)||this;return e.layout="XY",e.stride=2,e.flatCoordinates=null,e}return ZS(e,t),e.prototype.computeExtent=function(t){return Zw(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return dw()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},e.prototype.getSimplifiedGeometryInternal=function(t){return this},e.prototype.getStride=function(){return this.stride},e.prototype.setFlatCoordinates=function(t,e){this.stride=US(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){dw()},e.prototype.setLayout=function(t,e,n){var i;if(t)i=US(t);else{for(var o=0;o<n;++o){if(0===e.length)return this.layout="XY",void(this.stride=2);e=e[0]}t=function(t){var e;return 2==t?e="XY":3==t?e="XYZ":4==t&&(e="XYZM"),e}(i=e.length)}this.layout=t,this.stride=i},e.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},e.prototype.rotate=function(t,e){var n=this.getFlatCoordinates();if(n){var i=this.getStride();AS(n,0,n.length,i,t,e,n),this.changed()}},e.prototype.scale=function(t,e,n){var i=e;void 0===i&&(i=t);var o=n;o||(o=Hw(this.getExtent()));var r=this.getFlatCoordinates();if(r){var a=this.getStride();(function(t,e,n,i,o,r,a,s){for(var c=s||[],l=a[0],u=a[1],d=0,h=0;h<n;h+=i){var p=t[h+1]-u;c[d++]=l+o*(t[h]-l),c[d++]=u+r*p;for(var f=h+2;f<h+i;++f)c[d++]=t[f]}
vendor: 5,344 bytes, line 1
1s&&c.length!=d&&(c.length=d)})(r,0,r.length,a,t,i,o,r),this.changed()}},e.prototype.translate=function(t,e){var n=this.getFlatCoordinates();if(n){var i=this.getStride();TS(n,0,n.length,i,t,e,n),this.changed()}},e}(LS);function US(t){var e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}var VS=NS;function jS(t,e,n,i,o,r,a){var s,c=t[e],l=t[e+1],u=t[n]-c,d=t[n+1]-l;if(0===u&&0===d)s=e;else{var h=((o-c)*u+(r-l)*d)/(u*u+d*d);if(h>1)s=n;else{if(h>0){for(var p=0;p<i;++p)a[p]=uM(t[e+p],t[n+p],h);return void(a.length=i)}s=e}}for(p=0;p<i;++p)a[p]=t[s+p];a.length=i}function zS(t,e,n,i,o){var r=t[e],a=t[e+1];for(e+=i;e<n;e+=i){var s=t[e],c=t[e+1],l=sM(r,a,s,c);l>o&&(o=l),r=s,a=c}return o}function qS(t,e,n,i,o){for(var r=0,a=n.length;r<a;++r){var s=n[r];o=zS(t,e,s,i,o),e=s}return o}function BS(t,e,n,i,o,r,a,s,c,l,u){if(e==n)return l;var d,h;if(0===o){if((h=sM(a,s,t[e],t[e+1]))<l){for(d=0;d<i;++d)c[d]=t[e+d];return c.length=i,h}return l}for(var p=u||[NaN,NaN],f=e+i;f<n;)if(jS(t,f-i,f,i,a,s,p),(h=sM(a,s,p[0],p[1]))<l){for(l=h,d=0;d<i;++d)c[d]=p[d];c.length=i,f+=i}else f+=i*Math.max((Math.sqrt(h)-Math.sqrt(l))/o|0,1);if(r&&(jS(t,n-i,e,i,a,s,p),(h=sM(a,s,p[0],p[1]))<l)){for(l=h,d=0;d<i;++d)c[d]=p[d];c.length=i}return l}function YS(t,e,n,i,o,r,a,s,c,l,u){for(var d=u||[NaN,NaN],h=0,p=n.length;h<p;++h){var f=n[h];l=BS(t,e,f,i,o,r,a,s,c,l,d),e=f}return l}function GS(t,e,n,i){for(var o=0,r=n.length;o<r;++o)t[e++]=n[o];return e}function HS(t,e,n,i){for(var o=0,r=n.length;o<r;++o)for(var a=n[o],s=0;s<i;++s)t[e++]=a[s];return e}function JS(t,e,n,i,o){for(var r=o||[],a=0,s=0,c=n.length;s<c;++s){var l=HS(t,e,n[s],i);r[a++]=l,e=l}return r.length=a,r}function WS(t,e,n,i,o,r,a){var s=(n-e)/i;if(s<3){for(;e<n;e+=i)r[a++]=t[e],r[a++]=t[e+1];return a}var c=new Array(s);c[0]=1,c[s-1]=1;for(var l=[e,n-i],u=0;l.length>0;){for(var d=l.pop(),h=l.pop(),p=0,f=t[h],g=t[h+1],_=t[d],m=t[d+1],v=h+i;v<d;v+=i){var y=aM(t[v],t[v+1],f,g,_,m);y>p&&(u=v,p=y)}p>o&&(c[(u-e)/i]=1,h+i<u&&l.push(h,u),u+i<d&&l.push(u,d))}for(v=0;v<s;++v)c[v]&&(r[a++]=t[e+v*i],r[a++]=t[e+v*i+1]);return a}function QS(t,e){return e*Math.round(t/e)}function KS(t,e,n,i,o,r,a){if(e==n)return a;var s,c,l=QS(t[e],o),u=QS(t[e+1],o);e+=i,r[a++]=l,r[a++]=u;do{if(s=QS(t[e],o),c=QS(t[e+1],o),(e+=i)==n)return r[a++]=s,r[a++]=c,a}while(s==l&&c==u);for(;e<n;){var d=QS(t[e],o),h=QS(t[e+1],o);if(e+=i,d!=s||h!=c){var p=s-l,f=c-u,g=d-l,_=h-u;if(p*_==f*g&&(p<0&&g<p||p==g||p>0&&g>p)&&(f<0&&_<f||f==_||f>0&&_>f)){s=d,c=h;continue}r[a++]=s,r[a++]=c,l=s,u=c,s=d,c=h}}return r[a++]=s,r[a++]=c,a}function XS(t,e,n,i,o,r,a,s){for(var c=0,l=n.length;c<l;++c){var u=n[c];a=KS(t,e,u,i,o,r,a),s.push(a),e=u}return a}function $S(t,e,n,i,o){for(var r=void 0!==o?o:[],a=0,s=e;s<n;s+=i)r[a++]=t.slice(s,s+i);return r.length=a,r}function tA(t,e,n,i,o){for(var r=void 0!==o?o:[],a=0,s=0,c=n.length;s<c;++s){var l=n[s];r[a++]=$S(t,e,l,i,r[a]),e=l}return r.length=a,r}function eA(t,e,n,i,o){for(var r=void 0!==o?o:[],a=0,s=0,c=n.length;s<c;++s){var l=n[s];r[a++]=tA(t,e,l,i,r[a]),e=l[l.length-1]}return r.length=a,r}function nA(t,e,n,i){for(var o=0,r=t[n-i],a=t[n-i+1];e<n;e+=i){var s=t[e],c=t[e+1];o+=a*s-r*c,r=s,a=c}return o/2}function iA(t,e,n,i){for(var o=0,r=0,a=n.length;r<a;++r){var s=n[r];o+=nA(t,e,s,i),e=s}return o}var oA,rA,aA=(rA=function(t,e){return(rA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}rA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),sA=function(t){function e(e,n){var i=t.call(this)||this;return i.maxDelta_=-1,i.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?i.setCoordinates(e,n):i.setFlatCoordinates(n,e),i}return aA(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,i){return i<Tw(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(zS(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),BS(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,n,i))},e.prototype.getArea=function(){return nA(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinates=function(){return $S(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=WS(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,"XY")},e.prototype.getType=function(){return"LinearRing"},e.prototype.intersectsExtent=function(t){return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=HS(this.flatCoordinates,0,t,this.stride),this.changed()},e}(VS),cA=sA,lA=(oA=function(t,e){return(oA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}oA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),uA=function(t){function e(e,n){var i=t.call(this)||this;
1return i.setCoordinates(e,n),i}return lA(e,t),e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){var o=this.flatCoordinates,r=sM(t,e,o[0],o[1]);if(r<i){for(var a=this.stride,s=0;s<a;++s)n[s]=o[s];return n.length=a,r}return i},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return function(t,e){var n=t[0],i=t[1];return Fw(n,i,n,i,e)}(this.flatCoordinates,t)},e.prototype.getType=function(){return"Point"},e.prototype.intersectsExtent=function(t){return Dw(t,this.flatCoordinates[0],this.flatCoordinates[1])},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=GS(this.flatCoordinates,0,t),this.changed()},e}(VS),dA=uA;function hA(t,e,n,i,o){return!qw(o,function(o){return!pA(t,e,n,i,o[0],o[1])})}function pA(t,e,n,i,o,r){for(var a=0,s=t[n-i],c=t[n-i+1];e<n;e+=i){var l=t[e],u=t[e+1];c<=r?u>r&&(l-s)*(r-c)-(o-s)*(u-c)>0&&a++:u<=r&&(l-s)*(r-c)-(o-s)*(u-c)<0&&a--,s=l,c=u}return 0!==a}function fA(t,e,n,i,o,r){if(0===n.length||!pA(t,e,n[0],i,o,r))return!1;for(var a=1,s=n.length;a<s;++a)if(pA(t,n[a-1],n[a],i,o,r))return!1;return!0}function gA(t,e,n,i,o,r,a){for(var s,c,l,u,d,h,p,f=o[r+1],g=[],_=0,m=n.length;_<m;++_){var v=n[_];for(u=t[v-i],h=t[v-i+1],s=e;s<v;s+=i)d=t[s],p=t[s+1],(f<=h&&p<=f||h<=f&&f<=p)&&g.push(l=(f-h)/(p-h)*(d-u)+u),u=d,h=p}var y=NaN,C=-1/0;for(g.sort(iw),u=g[0],s=1,c=g.length;s<c;++s){d=g[s];var b=Math.abs(d-u);b>C&&fA(t,e,n,i,l=(u+d)/2,f)&&(y=l,C=b),u=d}return isNaN(y)&&(y=o[r]),a?(a.push(y,f,C),a):[y,f,C]}function _A(t,e,n,i,o){for(var r,a=[t[e],t[e+1]],s=[];e+i<n;e+=i){if(s[0]=t[e+i],s[1]=t[e+i+1],r=o(a,s))return r;a[0]=s[0],a[1]=s[1]}return!1}function mA(t,e,n,i,o){var r=jw([1/0,1/0,-1/0,-1/0],t,e,n,i);return!!eM(o,r)&&(!!(Ew(o,r)||r[0]>=o[0]&&r[2]<=o[2]||r[1]>=o[1]&&r[3]<=o[3])||_A(t,e,n,i,function(t,e){return function(t,e,n){var i=!1,o=Rw(t,e),r=Rw(t,n);if(1===o||1===r)i=!0;else{var a=t[0],s=t[1],c=t[2],l=t[3],u=n[0],d=n[1],h=(d-e[1])/(u-e[0]),p=void 0,f=void 0;!!(2&r)&&!(2&o)&&(i=(p=u-(d-l)/h)>=a&&p<=c),i||!(4&r)||4&o||(i=(f=d-(u-c)*h)>=s&&f<=l),i||!(8&r)||8&o||(i=(p=u-(d-s)/h)>=a&&p<=c),!i&&16&r&&!(16&o)&&(i=(f=d-(u-a)*h)>=s&&f<=l)}return i}(o,t,e)}))}function vA(t,e,n,i,o){if(!function(t,e,n,i,o){return!!(mA(t,e,n,i,o)||pA(t,e,n,i,o[0],o[1])||pA(t,e,n,i,o[0],o[3])||pA(t,e,n,i,o[2],o[1])||pA(t,e,n,i,o[2],o[3]))}(t,e,n[0],i,o))return!1;if(1===n.length)return!0;for(var r=1,a=n.length;r<a;++r)if(hA(t,n[r-1],n[r],i,o)&&!mA(t,n[r-1],n[r],i,o))return!1;return!0}function yA(t,e,n,i){for(;e<n-i;){for(var o=0;o<i;++o){var r=t[e+o];t[e+o]=t[n-i+o],t[n-i+o]=r}e+=i,n-=i}}function CA(t,e,n,i){for(var o=0,r=t[n-i],a=t[n-i+1];e<n;e+=i){var s=t[e],c=t[e+1];o+=(s-r)*(c+a),r=s,a=c}return 0===o?void 0:o>0}function bA(t,e,n,i,o){for(var r=void 0!==o&&o,a=0,s=n.length;a<s;++a){var c=n[a],l=CA(t,e,c,i);if(0===a){if(r&&l||!r&&!l)return!1}else if(r&&!l||!r&&l)return!1;e=c}return!0}function OA(t,e,n,i,o){for(var r=void 0!==o&&o,a=0,s=n.length;a<s;++a){var c=n[a],l=CA(t,e,c,i);(0===a?r&&l||!r&&!l:r&&!l||!r&&l)&&yA(t,e,c,i),e=c}return e}function PA(t,e,n,i,o){for(var r=0,a=n.length;r<a;++r)e=OA(t,e,n[r],i,o);return e}var wA,MA=(wA=function(t,e){return(wA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}wA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),xA=function(t){function e(e,n,i){var o=t.call(this)||this;return o.ends_=[],o.flatInteriorPointRevision_=-1,o.flatInteriorPoint_=null,o.maxDelta_=-1,o.maxDeltaRevision_=-1,o.orientedRevision_=-1,o.orientedFlatCoordinates_=null,void 0!==n&&i?(o.setFlatCoordinates(n,e),o.ends_=i):o.setCoordinates(e,n),o}return MA(e,t),e.prototype.appendLinearRing=function(t){this.flatCoordinates?aw(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){return i<Tw(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(qS(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),YS(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,i))},e.prototype.containsXY=function(t,e){return fA(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return iA(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?OA(e=this.getOrientedFlatCoordinates().slice(),0,this.ends_,this.stride,t):e=this.flatCoordinates,tA(e,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Hw(this.getExtent());this.flatInteriorPoint_=gA(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new dA(this.getFlatInteriorPoint(),"XYM")},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new cA(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLinearRings=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.ends_,i=[],o=0,r=0,a=n.length;r<a;++r){var s=n[r],c=new cA(e.slice(o,s),t);i.push(c),o=s}return i},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;bA(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=OA(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],i=[];return n.length=XS(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),n,0,i),new e(n,"XY",i)},e.prototype.getType=function(){return"Polygon"},e.prototype.intersectsExtent=function(t){return vA(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=JS(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(VS),kA=xA;function SA(t){var e=t[0],n=t[1],i=t[2],o=t[3],r=[e,n,e,o,i,o,i,n,e,n];return new xA(r,"XY",[r.length])}var AA,TA=(AA=function(t,e){return(AA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}AA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),IA=function(t){function e(e){var n=t.call(this)||this,i=xM({},e);return n.hints_=[0,0],n.animations_=[],n.projection_=sS(i.projection,"EPSG:3857"),n.viewportSize_=[100,100],n.targetCenter_=null,n.cancelAnchor_=void 0,i.center&&(i.center=fS(i.center)),i.extent&&(i.extent=_S(i.extent)),n.applyOptions_(i),n}return TA(e,t),e.prototype.applyOptions_=function(t){var e=function(t){var e,n,i,o=void 0!==t.minZoom?t.minZoom:0,r=void 0!==t.maxZoom?t.maxZoom:28,a=void 0!==t.zoomFactor?t.zoomFactor:2,s=void 0!==t.multiWorld&&t.multiWorld,c=void 0===t.smoothResolutionConstraint||t.smoothResolutionConstraint,l=void 0!==t.showFullExtent&&t.showFullExtent,u=sS(t.projection,"EPSG:3857"),d=u.getExtent(),h=t.constrainOnlyCenter,p=t.extent;if(!s&&!p&&u.isGlobal()&&(h=!1,p=d),void 0!==t.resolutions){var f=t.resolutions;n=f[o],i=void 0!==f[r]?f[r]:f[f.length-1],e=t.constrainResolution?function(t,e,n,i){return function(o,r,a,s){if(void 0!==o){var c=t[0],l=t[t.length-1],u=n?yS(c,n,a,i):c;if(s)return void 0===e||e?CS(o,u,l):iM(o,l,u);var d=Math.min(u,o),h=Math.floor(ow(t,d,r));return t[h]>u&&h<t.length-1?t[h+1]:t[h]}}}(f,c,!h&&p,l):bS(n,i,c,!h&&p,l)}else{var g=(d?Math.max(tM(d),Qw(d)):360*Ek[Fk.DEGREES]/u.getMetersPerUnit())/256/Math.pow(2,0),_=g/Math.pow(2,28);void 0!==(n=t.maxResolution)?o=0:n=g/Math.pow(a,o),void 0===(i=t.minResolution)&&(i=void 0!==t.maxZoom?void 0!==t.maxResolution?n/Math.pow(a,r):g/Math.pow(a,r):_),r=o+Math.floor(Math.log(n/i)/Math.log(a)),i=n/Math.pow(a,r-o),e=t.constrainResolution?function(t,e,n,i,o,r){return function(a,s,c,l){if(void 0!==a){var u=o?yS(e,o,c,r):e,d=void 0!==n?n:0;if(l)return void 0===i||i?CS(a,u,d):iM(a,d,u);var h=Math.ceil(Math.log(e/u)/Math.log(t)-1e-9),p=-s*(.5-1e-9)+.5,f=Math.min(u,a),g=Math.floor(Math.log(e/f)/Math.log(t)+p),_=Math.max(h,g);return iM(e/Math.pow(t,_),d,u)}}}(a,n,i,c,!h&&p,l):bS(n,i,c,!h&&p,l)}return{constraint:e,maxResolution:n,minResolution:i,minZoom:o,zoomFactor:a}}(t);this.maxResolution_=e.maxResolution,this.minResolution_=e.minResolution,this.zoomFactor_=e.zoomFactor,this.resolutions_=t.resolutions,this.padding=t.padding,this.minZoom_=e.minZoom;var n=function(t){if(void 0!==t.extent)return mS(t.extent,t.constrainOnlyCenter,void 0===t.smoothExtentConstraint||t.smoothExtentConstraint);var e=sS(t.projection,"EPSG:3857");if(!0!==t.multiWorld&&e.isGlobal()){var n=e.getExtent().slice();return n[0]=-1/0,n[2]=1/0,mS(n,!1,!1)}return vS}(t),i=e.constraint,o=function(t){if(void 0===t.enableRotation||t.enableRotation){var e=t.constrainRotation;return void 0===e||!0===e?function(t){var e=cM(5);return function(t,n){return n?t:void 0!==t?Math.abs(t)<=e?0:t:void 0}}():!1===e?PS:"number"==typeof e?function(t){var e=2*Math.PI/t;return function(t,n){return n?t:void 0!==t?t=Math.floor(t/e+.5)*e:void 0}}(e):PS}return OS}(t);this.constraints_={center:n,resolution:i,rotation:o},this.setRotation(void 0!==t.rotation?t.rotation:0),this.setCenterInternal(void 0!==t.center?t.center:null),void 0!==t.resolution?this.setResolution(t.resolution):void 0!==t.zoom&&this.setZoom(t.zoom),this.setProperties({}),this.options_=t},e.prototype.getUpdatedOptions_=function(t){var e=xM({},this.options_);return void 0!==e.resolution?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),xM({},e,t)},e.prototype.animate=function(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);for(var e=new Array(arguments.length),n=0;n<e.length;++n){var i=arguments[n];i.center&&((i=xM({},i)).center=fS(i.center,this.getProjection())),i.anchor&&((i=xM({},i)).anchor=fS(i.anchor,this.getProjection())),e[n]=i}this.animateInternal.apply(this,e)},e.prototype.animateInternal=function(t){var e,n=arguments.length;if(n>1&&"function"==typeof arguments[n-1]&&(e=arguments[n-1],--n),!this.isDef()){var i=arguments[n-1];return i.center&&this.setCenterInternal(i.center),void 0!==i.zoom&&this.setZoom(i.zoom),void 0!==i.rotation&&this.setRotation(i.rotation),void(e&&EA(e,!0))}for(var o=Date.now(),r=this.targetCenter_.slice(),a=this.targetResolution_,s=this.targetRotation_,c=[],l=0;l<n;++l){var u=arguments[l],d={start:o,complete:!1,anchor:u.anchor,duration:void 0!==u.duration?u.duration:1e3,easing:u.easing||xS,callback:e};if(u.center&&(d.sourceCenter=r,d.targetCenter=u.center.slice(),r=d.targetCenter),void 0!==u.zoom?(
1d.sourceResolution=a,d.targetResolution=this.getResolutionForZoom(u.zoom),a=d.targetResolution):u.resolution&&(d.sourceResolution=a,d.targetResolution=u.resolution,a=d.targetResolution),void 0!==u.rotation){d.sourceRotation=s;var h=lM(u.rotation-s+Math.PI,2*Math.PI)-Math.PI;d.targetRotation=s+h,s=d.targetRotation}DA(d)?d.complete=!0:o+=d.duration,c.push(d)}this.animations_.push(c),this.setHint(0,1),this.updateAnimations_()},e.prototype.getAnimating=function(){return this.hints_[0]>0},e.prototype.getInteracting=function(){return this.hints_[1]>0},e.prototype.cancelAnimations=function(){this.setHint(0,-this.hints_[0]);for(var t,e=0,n=this.animations_.length;e<n;++e){var i=this.animations_[e];if(i[0].callback&&EA(i[0].callback,!1),!t)for(var o=0,r=i.length;o<r;++o){var a=i[o];if(!a.complete){t=a.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t},e.prototype.updateAnimations_=function(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),this.getAnimating()){for(var t=Date.now(),e=!1,n=this.animations_.length-1;n>=0;--n){for(var i=this.animations_[n],o=!0,r=0,a=i.length;r<a;++r){var s=i[r];if(!s.complete){var c=s.duration>0?(t-s.start)/s.duration:1;c>=1?(s.complete=!0,c=1):o=!1;var l=s.easing(c);if(s.sourceCenter){var u=s.sourceCenter[0],d=s.sourceCenter[1];this.targetCenter_=[u+l*(s.targetCenter[0]-u),d+l*(s.targetCenter[1]-d)]}if(s.sourceResolution&&s.targetResolution){var h=1===l?s.targetResolution:s.sourceResolution+l*(s.targetResolution-s.sourceResolution);if(s.anchor){var p=this.getViewportSize_(this.getRotation()),f=this.constraints_.resolution(h,0,p,!0);this.targetCenter_=this.calculateCenterZoom(f,s.anchor)}this.targetResolution_=h,this.applyTargetState_(!0)}if(void 0!==s.sourceRotation&&void 0!==s.targetRotation){var g=1===l?lM(s.targetRotation+Math.PI,2*Math.PI)-Math.PI:s.sourceRotation+l*(s.targetRotation-s.sourceRotation);if(s.anchor){var _=this.constraints_.rotation(g,!0);this.targetCenter_=this.calculateCenterRotate(_,s.anchor)}this.targetRotation_=g}if(this.applyTargetState_(!0),e=!0,!s.complete)break}}if(o){this.animations_[n]=null,this.setHint(0,-1);var m=i[0].callback;m&&EA(m,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(t,e){var n,i=this.getCenterInternal();return void 0!==i&&(ox(n=[i[0]-e[0],i[1]-e[1]],t-this.getRotation()),function(t,e){t[0]+=+e[0],t[1]+=+e[1]}(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,i=this.getCenterInternal(),o=this.getResolution();return void 0!==i&&void 0!==o&&(n=[e[0]-t*(e[0]-i[0])/o,e[1]-t*(e[1]-i[1])/o]),n},e.prototype.getViewportSize_=function(t){var e=this.viewportSize_;if(t){var n=e[0],i=e[1];return[Math.abs(n*Math.cos(t))+Math.abs(i*Math.sin(t)),Math.abs(n*Math.sin(t))+Math.abs(i*Math.cos(t))]}return e},e.prototype.setViewportSize=function(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},e.prototype.getCenter=function(){var t=this.getCenterInternal();return t&&pS(t,this.getProjection())},e.prototype.getCenterInternal=function(){return this.get("center")},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.options_.constrainResolution},e.prototype.getHints=function(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()},e.prototype.calculateExtent=function(t){return gS(this.calculateExtentInternal(t),this.getProjection())},e.prototype.calculateExtentInternal=function(t){var e=t||this.getViewportSize_(),n=this.getCenterInternal();vw(n,1);var i=this.getResolution();vw(void 0!==i,2);var o=this.getRotation();return vw(void 0!==o,3),Ww(n,i,o,e)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}
1,e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))},e.prototype.setConstrainResolution=function(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get("resolution")},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){return this.getResolutionForExtentInternal(_S(t,this.getProjection()),e)},e.prototype.getResolutionForExtentInternal=function(t,e){var n=e||this.getViewportSize_(),i=tM(t)/n[0],o=Qw(t)/n[1];return Math.max(i,o)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.getConstrainedResolution(this.maxResolution_),i=Math.log(n/this.minResolution_)/Math.log(e);return function(t){return n/Math.pow(e,t*i)}},e.prototype.getRotation=function(){return this.get("rotation")},e.prototype.getValueForResolutionFunction=function(t){var e=Math.log(t||2),n=this.getConstrainedResolution(this.maxResolution_),i=Math.log(n/this.minResolution_)/e;return function(t){return Math.log(n/t)/e/i}},e.prototype.getViewportSizeMinusPadding_=function(t){var e=this.getViewportSize_(t),n=this.padding;return n&&(e=[e[0]-n[1]-n[3],e[1]-n[0]-n[2]]),e},e.prototype.getState=function(){var t=this.getProjection(),e=this.getResolution(),n=this.getRotation(),i=this.getCenterInternal(),o=this.padding;if(o){var r=this.getViewportSizeMinusPadding_();i=RA(i,this.getViewportSize_(),[r[0]/2+o[3],r[1]/2+o[0]],e,n)}return{center:i.slice(0),projection:void 0!==t?t:null,resolution:e,rotation:n,zoom:this.getZoom()}},e.prototype.getZoom=function(){var t,e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t},e.prototype.getZoomForResolution=function(t){var e,n,i=this.minZoom_||0;if(this.resolutions_){var o=ow(this.resolutions_,t,1);i=o,e=this.resolutions_[o],n=o==this.resolutions_.length-1?2:e/this.resolutions_[o+1]}else e=this.maxResolution_,n=this.zoomFactor_;return i+Math.log(e/t)/Math.log(n)},e.prototype.getResolutionForZoom=function(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var e=iM(Math.floor(t),0,this.resolutions_.length-2);return this.resolutions_[e]/Math.pow(this.resolutions_[e]/this.resolutions_[e+1],iM(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)},e.prototype.fit=function(t,e){var n;if(vw(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,24),Array.isArray(t))vw(!nM(t),25),n=SA(i=_S(t,this.getProjection()));else if("Circle"===t.getType()){var i;(n=SA(i=_S(t.getExtent(),this.getProjection()))).rotate(this.getRotation(),Hw(i))}else{n=t}this.fitInternal(n,e)},e.prototype.fitInternal=function(t,e){var n=e||{},i=n.size;i||(i=this.getViewportSizeMinusPadding_());var o,r=void 0!==n.padding?n.padding:[0,0,0,0],a=void 0!==n.nearest&&n.nearest;o=void 0!==n.minResolution?n.minResolution:void 0!==n.maxZoom?this.getResolutionForZoom(n.maxZoom):0;for(var s=t.getFlatCoordinates(),c=this.getRotation(),l=Math.cos(-c),u=Math.sin(-c),d=1/0,h=1/0,p=-1/0,f=-1/0,g=t.getStride(),_=0,m=s.length;_<m;_+=g){var v=s[_]*l-s[_+1]*u,y=s[_]*u+s[_+1]*l;d=Math.min(d,v),h=Math.min(h,y),p=Math.max(p,v),f=Math.max(f,y)}var C=this.getResolutionForExtentInternal([d,h,p,f],[i[0]-r[1]-r[3],i[1]-r[0]-r[2]]);C=isNaN(C)?o:Math.max(C,o),C=this.getConstrainedResolution(C,a?0:1);var b=(d+p)/2,O=(h+f)/2,P=this.getConstrainedCenter([(b+=(r[1]-r[3])/2*C)*l-(O+=(r[0]-r[2])/2*C)*(u=-u),O*l+b*u],C),w=n.callback?n.callback:uw;void 0!==n.duration?this.animateInternal({resolution:C,center:P,duration:n.duration,easing:n.easing},w):(this.targetResolution_=C,this.targetCenter_=P,this.applyTargetState_(!1,!0),EA(w,!0))},e.prototype.centerOn=function(t,e,n){this.centerOnInternal(fS(t,this.getProjection()),e,n)},e.prototype.centerOnInternal=function(t,e,n){this.setCenterInternal(RA(t,e,n,this.getResolution(),this.getRotation()))},e.prototype.calculateCenterShift=function(t,e,n,i){var o,r=this.padding;if(r&&t){var a=this.getViewportSizeMinusPadding_(-n),s=RA(t,i,[a[0]/2+r[3],a[1]/2+r[0]],e,n);o=[t[0]-s[0],t[1]-s[1]]}return o},e.prototype.isDef=function(){return!!this.getCenterInternal()&&void 0!==this.getResolution()},e.prototype.adjustCenter=function(t){var e=pS(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustCenterInternal=function(t){var e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustResolution=function(t,e){var n=e&&fS(e,this.getProjection());this.adjustResolutionInternal(t,n)},e.prototype.adjustResolutionInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),i=this.getViewportSize_(this.getRotation()),o=this.constraints_.resolution(this.targetResolution_*t,0,i,n);e&&(this.targetCenter_=this.calculateCenterZoom(o,e)),this.targetResolution_*=t,this.applyTargetState_()},e.prototype.adjustZoom=function(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)},e.prototype.adjustRotation=function(t,e){e&&(e=fS(e,this.getProjection())),this.adjustRotationInternal(t,e)},e.prototype.adjustRotationInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),i=this.constraints_.rotation(this.targetRotation_+t,n);e&&(this.targetCenter_=this.calculateCenterRotate(i,e)),this.targetRotation_+=t,this.applyTargetState_()},e.prototype.setCenter=function(t){this.setCenterInternal(fS(t,this.getProjection()))},e.prototype.setCenterInternal=function(t){this.targetCenter_=t,this.applyTargetState_()},e.prototype.setHint=function(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]},e.prototype.setResolution=function(t){this.targetResolution_=t,this.applyTargetState_()},e.prototype.setRotation=function(t){this.targetRotation_=t,this.applyTargetState_()},e.prototype.setZoom=function(t){this.setResolution(this.getResolutionForZoom(t))},e.prototype.applyTargetState_=function(t,e){var n=this.getAnimating()||this.getInteracting()||e,i=this.constraints_.rotation(this.targetRotation_,n),o=this.getViewportSize_(i),r=this.constraints_.resolution(this.targetResolution_,0,o,n),a=this.constraints_.center(this.targetCenter_,r,o,n,this.calculateCenterShift(this.targetCenter_,r,i,o));this.get("rotation")!==i&&this.set("rotation",i),this.get("resolution")!==r&&this.set("resolution",r),(!this.get("center")||!ix(this.get("center"),a))&&this.set("center",a),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0}
1,e.prototype.resolveConstraints=function(t,e,n){var i=void 0!==t?t:200,o=e||0,r=this.constraints_.rotation(this.targetRotation_),a=this.getViewportSize_(r),s=this.constraints_.resolution(this.targetResolution_,o,a),c=this.constraints_.center(this.targetCenter_,s,a,!1,this.calculateCenterShift(this.targetCenter_,s,r,a));if(0===i&&!this.cancelAnchor_)return this.targetResolution_=s,this.targetRotation_=r,this.targetCenter_=c,void this.applyTargetState_();var l=n||(0===i?this.cancelAnchor_:void 0);this.cancelAnchor_=void 0,(this.getResolution()!==s||this.getRotation()!==r||!this.getCenterInternal()||!ix(this.getCenterInternal(),c))&&(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:r,center:c,resolution:s,duration:i,easing:MS,anchor:l}))},e.prototype.beginInteraction=function(){this.resolveConstraints(0),this.setHint(1,1)},e.prototype.endInteraction=function(t,e,n){var i=n&&fS(n,this.getProjection());this.endInteractionInternal(t,e,i)},e.prototype.endInteractionInternal=function(t,e,n){this.setHint(1,-1),this.resolveConstraints(t,e,n)},e.prototype.getConstrainedCenter=function(t,e){var n=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),n)},e.prototype.getConstrainedZoom=function(t,e){var n=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(n,e))},e.prototype.getConstrainedResolution=function(t,e){var n=e||0,i=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,n,i)},e}(WM);function EA(t,e){setTimeout(function(){t(e)},0)}function DA(t){return!(t.sourceCenter&&t.targetCenter&&!ix(t.sourceCenter,t.targetCenter)||t.sourceResolution!==t.targetResolution||t.sourceRotation!==t.targetRotation)}function RA(t,e,n,i,o){var r=Math.cos(-o),a=Math.sin(-o),s=t[0]*r-t[1]*a,c=t[1]*r+t[0]*a;return[(s+=(e[0]/2-n[0])*i)*r-(c+=(n[1]-e[1]/2)*i)*(a=-a),c*r+s*a]}var FA=IA;function LA(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}var ZA,NA,UA,VA,jA,zA=(jA=function(t,e){return(jA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}jA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),qA=function(t){function e(e){var n=t.call(this)||this,i=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var n,i,o,r={},a=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new gk({layers:t.layers});return r.layergroup=a,r.target=t.target,r.view=void 0!==t.view?t.view:new FA,void 0!==t.controls&&(Array.isArray(t.controls)?n=new hk(t.controls.slice()):(vw("function"==typeof t.controls.getArray,47),n=t.controls)),void 0!==t.interactions&&(Array.isArray(t.interactions)?i=new hk(t.interactions.slice()):(vw("function"==typeof t.interactions.getArray,48),i=t.interactions)),void 0!==t.overlays?Array.isArray(t.overlays)?o=new hk(t.overlays.slice()):(vw("function"==typeof t.overlays.getArray,49),o=t.overlays):o=new hk,{controls:n,interactions:i,keyboardEventTarget:e,overlays:o,values:r}}(e);return n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,n.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:xx,n.animationDelay_=(function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}).bind(n),n.coordinateToPixelTransform_=[1,0,0,1,0,0],n.pixelToCoordinateTransform_=[1,0,0,1,0,0],n.frameIndex_=0,n.frameState_=null,n.previousExtent_=null,n.viewPropertyListenerKey_=null,n.viewChangeListenerKey_=null,n.layerGroupPropertyListenerKeys_=null,n.viewport_=document.createElement("div"),n.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),n.viewport_.style.position="relative",n.viewport_.style.overflow="hidden",n.viewport_.style.width="100%",n.viewport_.style.height="100%",n.overlayContainer_=document.createElement("div"),n.overlayContainer_.style.position="absolute",n.overlayContainer_.style.zIndex="0",n.overlayContainer_.style.width="100%",n.overlayContainer_.style.height="100%",
1n.overlayContainer_.style.pointerEvents="none",n.overlayContainer_.className="ol-overlaycontainer",n.viewport_.appendChild(n.overlayContainer_),n.overlayContainerStopEvent_=document.createElement("div"),n.overlayContainerStopEvent_.style.position="absolute",n.overlayContainerStopEvent_.style.zIndex="0",n.overlayContainerStopEvent_.style.width="100%",n.overlayContainerStopEvent_.style.height="100%",n.overlayContainerStopEvent_.style.pointerEvents="none",n.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",n.viewport_.appendChild(n.overlayContainerStopEvent_),n.mapBrowserEventHandler_=null,n.moveTolerance_=e.moveTolerance,n.keyboardEventTarget_=i.keyboardEventTarget,n.keyHandlerKeys_=null,n.controls=i.controls||new hk,n.interactions=i.interactions||new hk,n.overlays_=i.overlays,n.overlayIdIndex_={},n.renderer_=null,n.postRenderFunctions_=[],n.tileQueue_=new Tk(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addEventListener(GM("layergroup"),n.handleLayerGroupChanged_),n.addEventListener(GM("view"),n.handleViewChanged_),n.addEventListener(GM("size"),n.handleSizeChanged_),n.addEventListener(GM("target"),n.handleTargetChanged_),n.setProperties(i.values),n.controls.forEach((function(t){t.setMap(this)}).bind(n)),n.controls.addEventListener("add",(function(t){t.element.setMap(this)}).bind(n)),n.controls.addEventListener("remove",(function(t){t.element.setMap(null)}).bind(n)),n.interactions.forEach((function(t){t.setMap(this)}).bind(n)),n.interactions.addEventListener("add",(function(t){t.element.setMap(this)}).bind(n)),n.interactions.addEventListener("remove",(function(t){t.element.setMap(null)}).bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n.overlays_.addEventListener("add",(function(t){this.addOverlayInternal_(t.element)}).bind(n)),n.overlays_.addEventListener("remove",(function(t){var e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)}).bind(n)),n}return zA(e,t),e.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},e.prototype.addControl=function(t){this.getControls().push(t)},e.prototype.addInteraction=function(t){this.getInteractions().push(t)},e.prototype.addLayer=function(t){this.getLayerGroup().getLayers().push(t)},e.prototype.addOverlay=function(t){this.getOverlays().push(t)},e.prototype.addOverlayInternal_=function(t){var e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)},e.prototype.disposeInternal=function(){this.setTarget(null),t.prototype.disposeInternal.call(this)},e.prototype.forEachFeatureAtPixel=function(t,e,n){if(this.frameState_){var i=this.getCoordinateFromPixelInternal(t);return this.renderer_.forEachFeatureAtCoordinate(i,this.frameState_,void 0!==(n=void 0!==n?n:{}).hitTolerance?n.hitTolerance:0,!1!==n.checkWrapped,e,null,void 0!==n.layerFilter?n.layerFilter:cw,null)}},e.prototype.getFeaturesAtPixel=function(t,e){var n=[];return this.forEachFeatureAtPixel(t,function(t){n.push(t)},e),n},e.prototype.forEachLayerAtPixel=function(t,e,n){if(this.frameState_){var i=n||{};return this.renderer_.forEachLayerAtPixel(t,this.frameState_,void 0!==i.hitTolerance?i.hitTolerance:0,e,i.layerFilter||cw)}},e.prototype.hasFeatureAtPixel=function(t,e){if(!this.frameState_)return!1;var n=this.getCoordinateFromPixelInternal(t);return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,void 0!==(e=void 0!==e?e:{}).hitTolerance?e.hitTolerance:0,!1!==e.checkWrapped,void 0!==e.layerFilter?e.layerFilter:cw,null)},e.prototype.getEventCoordinate=function(t){return this.getCoordinateFromPixel(this.getEventPixel(t))},e.prototype.getEventCoordinateInternal=function(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))},e.prototype.getEventPixel=function(t){var e=this.viewport_.getBoundingClientRect(),n="changedTouches"in t?t.changedTouches[0]:t;return[n.clientX-e.left,n.clientY-e.top]},e.prototype.getTarget=function(){return this.get("target")},e.prototype.getTargetElement=function(){var t=this.getTarget();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},e.prototype.getCoordinateFromPixel=function(t){return pS(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())},e.prototype.getCoordinateFromPixelInternal=function(t){var e=this.frameState_;return e?Pw(e.pixelToCoordinateTransform,t.slice()):null},e.prototype.getControls=function(){return this.controls},e.prototype.getOverlays=function(){return this.overlays_},e.prototype.getOverlayById=function(t){var e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getInteractions=function(){return this.interactions},e.prototype.getLayerGroup=function(){return this.get("layergroup")},e.prototype.getLayers=function(){return this.getLayerGroup().getLayers()},e.prototype.getLoading=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var i=t[e].layer.getSource();if(i&&i.loading)return!0}return!1}
1,e.prototype.getPixelFromCoordinate=function(t){var e=fS(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)},e.prototype.getPixelFromCoordinateInternal=function(t){var e=this.frameState_;return e?Pw(e.coordinateToPixelTransform,t.slice(0,2)):null},e.prototype.getRenderer=function(){return this.renderer_},e.prototype.getSize=function(){return this.get("size")},e.prototype.getView=function(){return this.get("view")},e.prototype.getViewport=function(){return this.viewport_},e.prototype.getOverlayContainer=function(){return this.overlayContainer_},e.prototype.getOverlayContainerStopEvent=function(){return this.overlayContainerStopEvent_},e.prototype.getOwnerDocument=function(){return this.getTargetElement()?this.getTargetElement().ownerDocument:document},e.prototype.getTilePriority=function(t,e,n,i){return function(t,e,n,i,o){if(!t||!(n in t.wantedTiles)||!t.wantedTiles[n][e.getKey()])return xk;var r=t.viewState.center,a=i[0]-r[0],s=i[1]-r[1];return 65536*Math.log(o)+Math.sqrt(a*a+s*s)/o}(this.frameState_,t,e,n,i)},e.prototype.handleBrowserEvent=function(t,e){var n=new bk(e||t.type,this,t);this.handleMapBrowserEvent(n)},e.prototype.handleMapBrowserEvent=function(t){if(this.frameState_){var e=t.originalEvent,n=e.type;if("pointerdown"===n||"wheel"===n||"keydown"===n){var i=this.getOwnerDocument(),o=this.viewport_.getRootNode?this.viewport_.getRootNode():i,r="host"in o?o.elementFromPoint(e.clientX,e.clientY):e.target;if(this.overlayContainerStopEvent_.contains(r)||!(o===i?i.documentElement:o).contains(r))return}if(t.frameState=this.frameState_,!1!==this.dispatchEvent(t))for(var a=this.getInteractions().getArray().slice(),s=a.length-1;s>=0;s--){var c=a[s];if(c.getMap()===this&&c.getActive()&&this.getTargetElement()&&(!c.handleEvent(t)||t.propagationStopped))break}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,i=n;if(t){var o=t.viewHints;if(o[0]||o[1]){var r=!Sx&&Date.now()-t.time>8;n=r?0:8,i=r?0:2}}e.getTilesLoading()<n&&(e.reprioritize(),e.loadMoreTiles(n,i))}t&&this.hasListener("rendercomplete")&&!t.animate&&!this.tileQueue_.getTilesLoading()&&!this.getLoading()&&this.renderer_.dispatchRenderEvent("rendercomplete",t);for(var a=this.postRenderFunctions_,s=0,c=a.length;s<c;++s)a[s](this,t);a.length=0},e.prototype.handleSizeChanged_=function(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()},e.prototype.handleTargetChanged_=function(){var t;if(this.getTarget()&&(t=this.getTargetElement()),this.mapBrowserEventHandler_){for(var e=0,n=this.keyHandlerKeys_.length;e<n;++e)LM(this.keyHandlerKeys_[e]);this.keyHandlerKeys_=null,this.viewport_.removeEventListener("contextmenu",this.boundHandleBrowserEvent_),this.viewport_.removeEventListener("wheel",this.boundHandleBrowserEvent_),void 0!==this.handleResize_&&(removeEventListener("resize",this.handleResize_,!1),this.handleResize_=void 0),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,Ex(this.viewport_)}if(t){for(var i in t.appendChild(this.viewport_),this.renderer_||(this.renderer_=this.createRenderer()),this.mapBrowserEventHandler_=new Mk(this,this.moveTolerance_),Ok)this.mapBrowserEventHandler_.addEventListener(Ok[i],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener("contextmenu",this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener("wheel",this.boundHandleBrowserEvent_,!!Ax&&{passive:!1});var o=this.keyboardEventTarget_?this.keyboardEventTarget_:t;this.keyHandlerKeys_=[RM(o,"keydown",this.handleBrowserEvent,this),RM(o,"keypress",this.handleBrowserEvent,this)],this.handleResize_||(this.handleResize_=this.updateSize.bind(this),window.addEventListener("resize",this.handleResize_,!1))}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);this.updateSize()},e.prototype.handleTileChange_=function(){this.render()},e.prototype.handleViewPropertyChanged_=function(){this.render()},e.prototype.handleViewChanged_=function(){this.viewPropertyListenerKey_&&(LM(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(LM(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);var t=this.getView();t&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=RM(t,"propertychange",this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=RM(t,"change",this.handleViewPropertyChanged_,this),t.resolve
1Constraints(0)),this.render()},e.prototype.handleLayerGroupChanged_=function(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(LM),this.layerGroupPropertyListenerKeys_=null);var t=this.getLayerGroup();t&&(this.layerGroupPropertyListenerKeys_=[RM(t,"propertychange",this.render,this),RM(t,"change",this.render,this)]),this.render()},e.prototype.isRendered=function(){return!!this.frameState_},e.prototype.renderSync=function(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()},e.prototype.redrawText=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var i=t[e].layer;i.hasRenderer()&&i.getRenderer().handleFontsChanged()}},e.prototype.render=function(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))},e.prototype.removeControl=function(t){return this.getControls().remove(t)},e.prototype.removeInteraction=function(t){return this.getInteractions().remove(t)},e.prototype.removeLayer=function(t){return this.getLayerGroup().getLayers().remove(t)},e.prototype.removeOverlay=function(t){return this.getOverlays().remove(t)},e.prototype.renderFrame_=function(t){var e=this,n=this.getSize(),i=this.getView(),o=this.frameState_,r=null;if(void 0!==n&&function(t){return t[0]>0&&t[1]>0}(n)&&i&&i.isDef()){var a=i.getHints(this.frameState_?this.frameState_.viewHints:void 0),s=i.getState();r={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:Ww(s.center,s.resolution,s.rotation,n),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:n,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:s,viewHints:a,wantedTiles:{}}}this.frameState_=r,this.renderer_.renderFrame(r),r&&(r.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,r.postRenderFunctions),o&&(!this.previousExtent_||!nM(this.previousExtent_)&&!Nw(r.extent,this.previousExtent_))&&(this.dispatchEvent(new vk("movestart",this,o)),this.previousExtent_=Lw(this.previousExtent_)),this.previousExtent_&&!r.viewHints[0]&&!r.viewHints[1]&&!Nw(r.extent,this.previousExtent_)&&(this.dispatchEvent(new vk("moveend",this,r)),Aw(r.extent,this.previousExtent_))),this.dispatchEvent(new vk("postrender",this,r)),this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout(function(){e.postRenderTimeoutHandle_=void 0,e.handlePostRender()},0))},e.prototype.setLayerGroup=function(t){this.set("layergroup",t)},e.prototype.setSize=function(t){this.set("size",t)},e.prototype.setTarget=function(t){this.set("target",t)},e.prototype.setView=function(t){this.set("view",t)},e.prototype.updateSize=function(){var t=this.getTargetElement();if(t){var e=getComputedStyle(t);this.setSize([t.offsetWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderRightWidth),t.offsetHeight-parseFloat(e.borderTopWidth)-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderBottomWidth)])}else this.setSize(void 0);this.updateViewportSize_()},e.prototype.updateViewportSize_=function(){var t=this.getView();if(t){var e=void 0,n=getComputedStyle(this.viewport_);n.width&&n.height&&(e=[parseInt(n.width,10),parseInt(n.height,10)]),t.setViewportSize(e)}},e}(WM),BA=qA,YA=(VA=function(t,e){return(VA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}VA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),GA=function(t){function e(e){var n=t.call(this)||this,i=e.element;return i&&!e.target&&!i.style.pointerEvents&&(i.style.pointerEvents="auto"),n.element=i||null,n.target_=null,n.map_=null,n.listenerKeys=[],e.render&&(n.render=e.render),e.target&&n.setTarget(e.target),n}return YA(e,t),e.prototype.disposeInternal=function(){Ex(this.element),t.prototype.disposeInternal.call(this)},e.prototype.getMap=function(){return this.map_},e.prototype.setMap=function(t){this.map_&&Ex(this.element);for(var e=0,n=this.listenerKeys.length;e<n;++e)LM(this.listenerKeys[e]);this.listenerKeys.length=0,this.map_=t,this.map_&&((this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==uw&&this.listenerKeys.push(RM(t,"postrender",this.render,this)),t.render())},e.prototype.render=function(t){},e.prototype.setTarget=function(t){this.target_="string"==typeof t?document.getElementById(t):t},e}(WM),HA=GA,JA=(UA=function(t,e){return(UA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}UA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),WA=function(t){function e(e){var n=this,i=e||{};(n=t.call(this,{element:document.createElement("div"),render:i.render,target:i.target})||this).ulElement_=document.createElement("ul"),n.collapsed_=void 0===i.collapsed||i.collapsed,n.userCollapsed_=n.collapsed_,n.overrideCollapsible_=void 0!==i.collapsible,n.collapsible_=void 0===i.collapsible||i.collapsible,n.collapsible_||(n.collapsed_=!1);var o=void 0!==i.className?i.className:"ol-attribution",r=void 0!==i.tipLabel?i.tipLabel:"Attributions",a=void 0!==i.expandClassName?i.expandClassName:o+"-expand",s=void 0!==i.collapseLabel?i.collapseLabel:"\xbb",c=void 0!==i.collapseClassName?i.collapseClassName:o+"-collpase";"string"==typeof s?(n.collapseLabel_=document.createElement("span"),n.collapseLabel_.textContent=s,n.c
1ollapseLabel_.className=c):n.collapseLabel_=s;var l=void 0!==i.label?i.label:"i";"string"==typeof l?(n.label_=document.createElement("span"),n.label_.textContent=l,n.label_.className=a):n.label_=l;var u=n.collapsible_&&!n.collapsed_?n.collapseLabel_:n.label_,d=document.createElement("button");d.setAttribute("type","button"),d.title=r,d.appendChild(u),d.addEventListener("click",n.handleClick_.bind(n),!1);var h=n.element;return h.className=o+" "+_x+" "+mx+(n.collapsed_&&n.collapsible_?" "+vx:"")+(n.collapsible_?"":" ol-uncollapsible"),h.appendChild(n.ulElement_),h.appendChild(d),n.renderedAttributions_=[],n.renderedVisible_=!0,n}return JA(e,t),e.prototype.collectSourceAttributions_=function(t){for(var e={},n=[],i=!0,o=t.layerStatesArray,r=0,a=o.length;r<a;++r){var s=o[r];if(ex(s,t.viewState)){var c=s.layer.getSource();if(c){var l=c.getAttributions();if(l){var u=l(t);if(u)if(i=i&&!1!==c.getAttributionsCollapsible(),Array.isArray(u))for(var d=0,h=u.length;d<h;++d)u[d]in e||(n.push(u[d]),e[u[d]]=!0);else u in e||(n.push(u),e[u]=!0)}}}}return this.overrideCollapsible_||this.setCollapsible(i),n},e.prototype.updateElement_=function(t){if(t){var e=this.collectSourceAttributions_(t),n=e.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!sw(e,this.renderedAttributions_)){!function(t){for(;t.lastChild;)t.removeChild(t.lastChild)}(this.ulElement_);for(var i=0,o=e.length;i<o;++i){var r=document.createElement("li");r.innerHTML=e[i],this.ulElement_.appendChild(r)}this.renderedAttributions_=e}}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},e.prototype.handleClick_=function(t){t.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_},e.prototype.handleToggle_=function(){this.element.classList.toggle(vx),this.collapsed_?Ix(this.collapseLabel_,this.label_):Ix(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_},e.prototype.getCollapsible=function(){return this.collapsible_},e.prototype.setCollapsible=function(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())},e.prototype.setCollapsed=function(t){this.userCollapsed_=t,this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()},e.prototype.getCollapsed=function(){return this.collapsed_},e.prototype.render=function(t){this.updateElement_(t.frameState)},e}(HA),QA=WA,KA=(NA=function(t,e){return(NA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}NA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),XA=function(t){function e(e){var n=this,i=e||{};n=t.call(this,{element:document.createElement("div"),render:i.render,target:i.target})||this;var o=void 0!==i.className?i.className:"ol-rotate",r=void 0!==i.label?i.label:"\u21e7",a=void 0!==i.compassClassName?i.compassClassName:"ol-compass";n.label_=null,"string"==typeof r?(n.label_=document.createElement("span"),n.label_.className=a,n.label_.textContent=r):(n.label_=r,n.label_.classList.add(a));var s=i.tipLabel?i.tipLabel:"Reset rotation",c=document.createElement("button");c.className=o+"-reset",c.setAttribute("type","button"),c.title=s,c.appendChild(n.label_),c.addEventListener("click",n.handleClick_.bind(n),!1);var l=n.element;return l.className=o+" "+_x+" "+mx,l.appendChild(c),n.callResetNorth_=i.resetNorth?i.resetNorth:void 0,n.duration_=void 0!==i.duration?i.duration:250,n.autoHide_=void 0===i.autoHide||i.autoHide,n.rotation_=void 0,n.autoHide_&&n.element.classList.add(gx),n}return KA(e,t),e.prototype.handleClick_=function(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()},e.prototype.resetNorth_=function(){var t=this.getMap().getView();if(t){var e=t.getRotation();void 0!==e&&(this.duration_>0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:MS}):t.setRotation(0))}},e.prototype.render=function(t){var e=t.frameState;if(e){var n=e.viewState.rotation;if(n!=this.rotation_){var i="rotate("+n+"rad)";if(this.autoHide_){var o=this.element.classList.contains(gx);o||0!==n?o&&0!==n&&this.element.classList.remove(gx):this.element.classList.add(gx)}this.label_.style.transform=i}this.rotation_=n}},e}(HA),$A=XA,tT=(ZA=function(t,e){return(ZA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ZA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),eT=function(t){function e(e){var n=this,i=e||{};n=t.call(this,{element:document.createElement("div"),target:i.target})||this;var o=void 0!==i.className?i.className:"ol-zoom",r=void 0!==i.delta?i.delta:1,a=void 0!==i.zoomInClassName?i.zoomInClassName:o+"-in",s=void 0!==i.zoomOutClassName?i.zoomOutClassName:o+"-out",c=void 0!==i.zoomInLabel?i.zoomInLabel:"+",l=void 0!==i.zoomOutLabel?i.zoomOutLabel:"\u2212",u=void 0!==i.zoomInTipLabel?i.zoomInTipLabel:"Zoom in",d=void 0!==i.zoomOutTipLabel?i.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=a,h.setAttribute("type","button"),h.title=u,h.appendChild("string"==typeof c?document.createTextNode(c):c),h.addEventListener("click",n.handleClick_.bind(n,r),!1);var p=document.createElement("button");p.className=s,p.setAttribute("type","button"),p.title=d,p.appendChild("string"==typeof l?document.createTextNode(l):l),p.addEventListener("click",n.handleClick_.bind(n,-r),!1);var f=n.element;return f.className=o+" "+_x+" "+mx,f.appendChild(h),f.appendChild(p),n.duration_=void 0!==i.duration?i.duration:250,n}return tT(e,t),e.prototype.handleClick_=function(t,e){e.preventDefault(),this.zoomByDelta_(t)},e.prototype.zoomByDelta_=function(t){var e=this.getMap().getView();if(e){var n=e.getZoom();if(void 0!==n){var i=e.getConstrainedZoom(n+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:i,duration:this.duration_,easing:MS})):e.setZoom(i)}}},e}(HA),nT=eT;function iT(t){var e=t||{},n=new hk;return(void 0===e.zoom||e.zoom)&&n.push(new nT(e.zoomOptions)),(void 0===e.rotate||e.rotate)&&n.push(new $A(e.rotateOptions)),(void 0===e.attribution||e.attribution)&&n.push(new QA(e.attributionOptions)),n}var oT,rT=(oT=function(t,e){return(oT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}oT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),aT=function(t){function e(e){var n=t.call(this)||this;return e&&e.handleEvent&&(n.handleEvent=e.handleEvent),n.map_=null,n.setA
1ctive(!0),n}return rT(e,t),e.prototype.getActive=function(){return this.get("active")},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(t){return!0},e.prototype.setActive=function(t){this.set("active",t)},e.prototype.setMap=function(t){this.map_=t},e}(WM);function sT(t,e,n,i){var o=t.getZoom();if(void 0!==o){var r=t.getConstrainedZoom(o+e),a=t.getResolutionForZoom(r);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:void 0!==i?i:250,easing:MS})}}var cT,lT,uT=aT,dT=(lT=function(t,e){return(lT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}lT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),hT=function(t){function e(e){var n=t.call(this)||this,i=e||{};return n.delta_=i.delta?i.delta:1,n.duration_=void 0!==i.duration?i.duration:250,n}return dT(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==Ok.DBLCLICK){var n=t.originalEvent,i=t.coordinate,o=n.shiftKey?-this.delta_:this.delta_;sT(t.map.getView(),o,i,this.duration_),n.preventDefault(),e=!0}return!e},e}(uT),pT=hT,fT=(cT=function(t,e){return(cT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}cT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),gT=function(t){function e(e){var n=this,i=e||{};return n=t.call(this,i)||this,i.handleDownEvent&&(n.handleDownEvent=i.handleDownEvent),i.handleDragEvent&&(n.handleDragEvent=i.handleDragEvent),i.handleMoveEvent&&(n.handleMoveEvent=i.handleMoveEvent),i.handleUpEvent&&(n.handleUpEvent=i.handleUpEvent),i.stopDown&&(n.stopDown=i.stopDown),n.handlingDownUpSequence=!1,n.trackedPointers_={},n.targetPointers=[],n}return fT(e,t),e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.originalEvent)return!0;var e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==Ok.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==Ok.POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==Ok.POINTERDOWN){var i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==Ok.POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(function(t){var e=t.type;return e===Ok.POINTERDOWN||e===Ok.POINTERDRAG||e===Ok.POINTERUP}(t)){var e=t.originalEvent,n=e.pointerId.toString();t.type==Ok.POINTERUP?delete this.trackedPointers_[n]:(t.type==Ok.POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=e),this.targetPointers=SM(this.trackedPointers_)}},e}(uT);function _T(t){for(var e=t.length,n=0,i=0,o=0;o<e;o++)n+=t[o].clientX,i+=t[o].clientY;return[n/e,i/e]}var mT=gT;function vT(t){var e=arguments;return function(t){for(var n=!0,i=0,o=e.length;i<o&&(n=n&&e[i](t));++i);return n}}var yT,CT,bT,OT,PT,wT,MT,xT,kT,ST,AT,TT,IT=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},ET=function(t){return!t.map.getTargetElement().hasAttribute("tabindex")||function(t){return t.target.getTargetElement().contains(document.activeElement)}(t)},DT=cw,RT=function(t){var e=t.originalEvent;return 0==e.button&&!(wx&&Mx&&e.ctrlKey)},FT=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},LT=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},ZT=function(t){var e=t.originalEvent.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e},NT=function(t){var e=t.originalEvent;return vw(void 0!==e,56),"mouse"==e.pointerType},UT=function(t){var e=t.originalEvent;return vw(void 0!==e,56),e.isPrimary&&0===e.button},VT=(TT=function(t,e){return(TT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}TT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),jT=function(t){function e(e){var n=t.call(this,{stopDown:lw})||this,i=e||{};n.kinetic_=i.kinetic,n.lastCentroid=null,n.panning_=!1;var o=i.condition?i.condition:vT(FT,UT);return n.condition_=i.onFocusOnly?vT(ET,o):o,n.noKinetic_=!1,n}return VT(e,t),e.prototype.handleDragEvent=function(t){this.panning_||(this.panning_=!0,this.getMap().getView().beginInteraction());var e=this.targetPointers,n=_T(e);
1if(e.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var i=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],o=t.map.getView();(function(t,e){t[0]*=e,t[1]*=e})(i,o.getResolution()),ox(i,o.getRotation()),o.adjustCenterInternal(i)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=e.length,t.originalEvent.preventDefault()},e.prototype.handleUpEvent=function(t){var e=t.map,n=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var i=this.kinetic_.getDistance(),o=this.kinetic_.getAngle(),r=n.getCenterInternal(),a=e.getPixelFromCoordinateInternal(r),s=e.getCoordinateFromPixelInternal([a[0]-i*Math.cos(o),a[1]-i*Math.sin(o)]);n.animateInternal({center:n.getConstrainedCenter(s),duration:500,easing:MS})}return this.panning_&&(this.panning_=!1,n.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>0&&this.condition_(t)){var e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(mT),zT=jT,qT=(AT=function(t,e){return(AT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}AT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),BT=function(t){function e(e){var n=this,i=e||{};return(n=t.call(this,{stopDown:lw})||this).condition_=i.condition?i.condition:IT,n.lastAngle_=void 0,n.duration_=void 0!==i.duration?i.duration:250,n}return qT(e,t),e.prototype.handleDragEvent=function(t){if(NT(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==OS){var i=e.getSize(),o=t.pixel,r=Math.atan2(i[1]/2-o[1],o[0]-i[0]/2);void 0!==this.lastAngle_&&n.adjustRotationInternal(-(r-this.lastAngle_)),this.lastAngle_=r}}},e.prototype.handleUpEvent=function(t){return!NT(t)||(t.map.getView().endInteraction(this.duration_),!1)},e.prototype.handleDownEvent=function(t){return!(!NT(t)||!RT(t)||!this.condition_(t)||(t.map.getView().beginInteraction(),this.lastAngle_=void 0,0))},e}(mT),YT=BT,GT=(ST=function(t,e){return(ST=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ST(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),HT=function(t){function e(e){var n=t.call(this)||this;return n.geometry_=null,n.element_=document.createElement("div"),n.element_.style.position="absolute",n.element_.style.pointerEvents="auto",n.element_.className="ol-box "+e,n.map_=null,n.startPixel_=null,n.endPixel_=null,n}return GT(e,t),e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n="px",i=this.element_.style;i.left=Math.min(t[0],e[0])+n,i.top=Math.min(t[1],e[1])+n,i.width=Math.abs(e[0]-t[0])+n,i.height=Math.abs(e[1]-t[1])+n},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new kA([n])},e.prototype.getGeometry=function(){return this.geometry_},e}(nw),JT=HT,WT=(kT=function(t,e){return(kT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}kT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),QT=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.coordinate=n,o.mapBrowserEvent=i,o}return WT(e,t),e}(MM),KT=function(t){function e(e){var n=t.call(this)||this,i=e||{};return n.box_=new JT(i.className||"ol-dragbox"),n.minArea_=void 0!==i.minArea?i.minArea:64,i.onBoxEnd&&(n.onBoxEnd=i.onBoxEnd),n.startPixel_=null,n.condition_=i.condition?i.condition:RT,n.boxEndCondition_=i.boxEndCondition?i.boxEndCondition:n.defaultBoxEndCondition,n}return WT(e,t),e.prototype.defaultBoxEndCondition=function(t,e,n){var i=n[0]-e[0],o=n[1]-e[1];return i*i+o*o>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new QT("boxdrag",t.coordinate,t))},e.prototype.handleUpEvent=function(t){this.box_.setMap(null);var e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new QT(e?"boxend":"boxcancel",t.coordinate,t)),!1},e.prototype.handleDownEvent=function(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new QT("boxstart",t.coordinate,t)),!0)},e.prototype.onBoxEnd=function(t){},e}(mT),XT=(xT=function(t,e){return(xT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}xT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),$T=function(t){function e(e){var n=this,i=e||{};return(n=t.call(this,{condition:i.condition?i.condition:LT,className:i.className||"ol-dragzoom",minArea:i.minArea})||this).duration_=void 0!==i.duration?i.duration:200,n.out_=void 0!==i.out&&i.out,n}return XT(e,t),e.prototype.onBoxEnd=function(t){var e=this.getMap(),n=e.getView(),i=e.getSize(),o=this.getGeometry().getExtent();if(this.out_){var r=n.calculateExtentInternal(i),a=function(t,e){return function(t,e){for(var n=0,i=e.length;n<i;++n)Vw(t,e[n]);return t}(Lw(void 0),t)}
1([e.getPixelFromCoordinateInternal(Yw(o)),e.getPixelFromCoordinateInternal($w(o))]);(function(t,e){var n=(t[2]-t[0])/2*(e-1),i=(t[3]-t[1])/2*(e-1);t[0]-=n,t[2]+=n,t[1]-=i,t[3]+=i})(r,1/n.getResolutionForExtentInternal(a,i)),o=r}var s=n.getConstrainedResolution(n.getResolutionForExtentInternal(o,i)),c=n.getConstrainedCenter(Hw(o),s);n.animateInternal({resolution:s,center:c,duration:this.duration_,easing:MS})},e}(KT),tI=$T,eI=(MT=function(t,e){return(MT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}MT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),nI=function(t){function e(e){var n=t.call(this)||this,i=e||{};return n.defaultCondition_=function(t){return FT(t)&&ZT(t)},n.condition_=void 0!==i.condition?i.condition:n.defaultCondition_,n.duration_=void 0!==i.duration?i.duration:100,n.pixelDelta_=void 0!==i.pixelDelta?i.pixelDelta:128,n}return eI(e,t),e.prototype.handleEvent=function(t){var e=!1;if("keydown"==t.type){var n=t.originalEvent,i=n.keyCode;if(this.condition_(t)&&(40==i||37==i||39==i||38==i)){var o=t.map.getView(),r=o.getResolution()*this.pixelDelta_,a=0,s=0;40==i?s=-r:37==i?a=-r:39==i?a=r:s=r;var c=[a,s];ox(c,o.getRotation()),function(t,e,n){var i=t.getCenterInternal();i&&t.animateInternal({duration:void 0!==n?n:250,easing:kS,center:t.getConstrainedCenter([i[0]+e[0],i[1]+e[1]])})}(o,c,this.duration_),n.preventDefault(),e=!0}}return!e},e}(uT),iI=nI,oI=(wT=function(t,e){return(wT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}wT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),rI=function(t){function e(e){var n=t.call(this)||this,i=e||{};return n.condition_=i.condition?i.condition:ZT,n.delta_=i.delta?i.delta:1,n.duration_=void 0!==i.duration?i.duration:100,n}return oI(e,t),e.prototype.handleEvent=function(t){var e=!1;if("keydown"==t.type||"keypress"==t.type){var n=t.originalEvent,i=n.charCode;if(this.condition_(t)&&(i=="+".charCodeAt(0)||i=="-".charCodeAt(0))){var o=t.map,r=i=="+".charCodeAt(0)?this.delta_:-this.delta_;sT(o.getView(),r,void 0,this.duration_),n.preventDefault(),e=!0}}return!e},e}(uT),aI=rI,sI=function(){function t(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;for(var n=e-3;n>0&&this.points_[n+2]>t;)n-=3;var i=this.points_[e+2]-this.points_[n+2];if(i<1e3/60)return!1;var o=this.points_[e]-this.points_[n],r=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(r,o),this.initialVelocity_=Math.sqrt(o*o+r*r)/i,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),cI=sI,lI=(PT=function(t,e){return(PT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}PT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),uI=function(t){function e(e){var n=this,i=e||{};(n=t.call(this,i)||this).totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==i.maxDelta?i.maxDelta:1,n.duration_=void 0!==i.duration?i.duration:250,n.timeout_=void 0!==i.timeout?i.timeout:80,n.useAnchor_=void 0===i.useAnchor||i.useAnchor,n.constrainResolution_=void 0!==i.constrainResolution&&i.constrainResolution;var o=i.condition?i.condition:DT;return n.condition_=i.onFocusOnly?vT(ET,o):o,n.lastAnchor_=null,n.startTime_=void 0,n.mode_=void 0,n.trackpadEventGap_=400,n.deltaPerZoom_=300,n}return lI(e,t),e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0,this.getMap().getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;
1if("wheel"!==t.type)return!0;var e,n=t.map,i=t.originalEvent;if(i.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),"wheel"==t.type&&(e=i.deltaY,Px&&i.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(e/=xx),i.deltaMode===WheelEvent.DOM_DELTA_LINE&&(e*=40)),0===e)return!1;this.lastDelta_=e;var o=Date.now();void 0===this.startTime_&&(this.startTime_=o),(!this.mode_||o-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(e)<4?"trackpad":"wheel");var r=n.getView();if("trackpad"===this.mode_&&!r.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(r.getAnimating()&&r.cancelAnimations(),r.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),r.adjustZoom(-e/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=o,!1;this.totalDelta_+=e;var a=Math.max(this.timeout_-(o-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),a),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=-iM(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),sT(e,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(uT),dI=uI,hI=(OT=function(t,e){return(OT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}OT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),pI=function(t){function e(e){var n=this,i=e||{},o=i;return o.stopDown||(o.stopDown=lw),(n=t.call(this,o)||this).anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==i.threshold?i.threshold:.3,n.duration_=void 0!==i.duration?i.duration:250,n}return hI(e,t),e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],i=this.targetPointers[1],o=Math.atan2(i.clientY-n.clientY,i.clientX-n.clientX);if(void 0!==this.lastAngle_){var r=o-this.lastAngle_;this.rotationDelta_+=r,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=r}this.lastAngle_=o;var a=t.map,s=a.getView();if(s.getConstraints().rotation!==OS){var c=a.getViewport().getBoundingClientRect(),l=_T(this.targetPointers);l[0]-=c.left,l[1]-=c.top,this.anchor_=a.getCoordinateFromPixelInternal(l),this.rotating_&&(a.render(),s.adjustRotationInternal(e,this.anchor_))}},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(mT),fI=pI,gI=(bT=function(t,e){return(bT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}bT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),_I=function(t){function e(e){var n=this,i=e||{},o=i;return o.stopDown||(o.stopDown=lw),(n=t.call(this,o)||this).anchor_=null,n.duration_=void 0!==i.duration?i.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return gI(e,t),e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],i=this.targetPointers[1],o=n.clientX-i.clientX,r=n.clientY-i.clientY,a=Math.sqrt(o*o+r*r);void 0!==this.lastDistance_&&(e=this.lastDistance_/a),this.lastDistance_=a;var s=t.map,c=s.getView();1!=e&&(this.lastScaleDelta_=e);var l=s.getViewport().getBoundingClientRect(),u=_T(this.targetPointers);u[0]-=l.left,u[1]-=l.top,this.anchor_=s.getCoordinateFromPixelInternal(u),s.render(),c.adjustResolutionInternal(e,this.anchor_)},e.prototype.handleUpEvent=function(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_,this.lastScaleDelta_>1?1:-1),1))},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(mT),mI=_I,vI=(CT=function(t,e){return(CT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}CT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),yI=function(t){function e(e){return(e=xM({},e)).controls||(e.controls=iT()),e.interactions||(e.interactions=function(t){var e={onFocusOnly:!0}||{},n=new hk,i=new cI(-.005,.05,100);return(void 0===e.altShiftDragRotate||e.altShiftDragRotate)&&n.push(new YT),(void 0===e.doubleClickZoom||e.doubleClickZoom)&&n.push(new pT({delta:e.zoomDelta,duration:e.zoomDuration})),(void 0===e.dragPan||e.dragPan)&&n.push(new zT({onFocusOnly:e.onFocusOnly,kinetic:i})),(void 0===e.pinchRotate||e.pinchRotate)&&n.push(new fI),(void 0===e.pinchZoom||e.pinchZoom)&&n.push(new mI({duration:e.zoomDuration})),(void 0===e.keyboard||e.keyboard)&&(n.push(new iI),n.push(new aI({delta:e.zoomDelta,duration:e.zoomDuration}))),(void 0===e.mouseWheelZoom||e.mouseWheelZoom)&&n.push(new dI({onFocusOnly:e.onFocusOnly,duration:e.zoomDuration})),(void 0===e.shiftDragZoom||e.shiftDragZoom)&&n.push(new tI({duration:e.zoomDuration})),n}()),t.call(this,e)||this}return vI(e,t),e.prototype.createRenderer=function(){return new ck(this)},e}(BA),CI=yI,bI=n(3036),OI=n.n(bI),PI=function(){function t(t){this.rbush_=new(OI())(t),this.items_={}}return t.prototype.insert=function(t,e){var n={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(n),this.items_[pw(e)]=n},t.prototype.load=function(t,e){for(var n=new Array(e.length),i=0,o=e.length;i<o;i++){var r=t[i],a=e[i],s={minX:r[0],minY:r[1],maxX:r[2],maxY:r[3],value:a};n[i]=s,this.items_[pw(a)]=s}this.rbush_.load(n)},t.prototype.remove=function(t){var e=pw(t),n=this.items_[e];return delete this.items_[e],null!==this.rbush_.remove(n)},t.prototype.update=function(t,e){var n=this.items_[pw(e)];Nw([n.minX,n.minY,n.maxX,n.maxY],t)||(this.remove(e),this.insert(t,e))},t.prototype.getAll=function(){return this.rbush_.all().map(function(t){return t.value})},t.prototype.getInExtent=function(t){return this.rbush_.search({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}).map(function(t){return t.value})},t.prototype.forEach=function(t){return this.forEach_(this.getAll(),t)},t.prototype.forEachInExtent=function(t,e){return this.forEach_(this.getInExtent(t),e)},t.prototype.forEach_=function(t,e){for(var n,i=0,o=t.length;i<o;i++)if(n=e(t[i]))return n;return n},t.prototype.isEmpty=function(){return AM(this.items_)},t.prototype.clear=function(){this.rbush_.clear(),this.items_={}},t.prototype.getExtent=function(t){var e=this.rbush_.toJSON();return Fw(e.minX,e.minY,e.maxX,e.maxY,t)},t.prototype.concat=function(t){for(var e in this.rbush_.load(t.rbush_.all()),t.items_)this.items_[e]=t.items_[e]},t}(),wI=PI,MI=(yT=function(t,e){return(yT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}yT(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),xI=function(t){function e(e){var n=t.call(this)||this;return n.projection_=oS(e.projection),n.attributions_=kI(e.attributions),n.attributionsCollapsible_=void 0===e.attributionsCollapsible||e.attributionsCollapsible,n.loading=!1,n.state_=void 0!==e.state?e.state:"ready",n.wrapX_=void 0!==e.wrapX&&e.wrapX,n}return MI(e,t),e.prototype.getAttributions=function(){return this.attributions_},e.prototype.getAttributionsCollapsible=function(){return this.attributionsCollapsible_},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolutions=function(){return dw()},e.prototype.getState=function(){return this.state_},e.prototype.getWrapX=function(){return this.wrapX_},e.prototype.getContextOptions=function(){},e.prototype.refresh=function(){this.changed()},e.prototype.setAttributions=function(t){this.attributions_=kI(t),this.changed()},e.prototype.setState=function(t){this.state_=t,this.changed()},e}(WM);function kI(t){return t?Array.isArray(t)?function(e){return t}:"function"==typeof t?t:function(e){return[t]}:null}var SI=xI;function AI(t,e){return[[-1/0,-1/0,1/0,1/0]]}function TI(t,e){return function(n,i,o,r,a){var s=this;!function(t,e,n,i,o,r,a){var s=new XMLHttpRequest;s.open("GET","function"==typeof t?t(n,i,o):t,!0),"arraybuffer"==e.getType()&&(s.responseType="arraybuffer"),s.withCredentials=!1,s.onload=function(t){if(!s.status||s.status>=200&&s.status<300){var i=e.getType(),c=void 0;"json"==i||"text"==i?c=s.responseText:"xml"==i?(c=s.responseXML)||(c=(new DOMParser).parseFromString(s.responseText,"application/xml")):"arraybuffer"==i&&(c=s.response),c?r(e.readFeatures(c,{extent:n,featureProjection:o}),e.readProjection(c)):a()}else a()},s.onerror=a,s.send()}(t,e,n,i,o,function(t,e){void 0!==r&&r(t),s.addFeatures(t)},a||uw)}}
1var II,EI=(II=function(t,e){return(II=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}II(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),DI=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.feature=n,o.features=i,o}return EI(e,t),e}(MM),RI=function(t){function e(e){var n=this,i=e||{};(n=t.call(this,{attributions:i.attributions,projection:void 0,state:"ready",wrapX:void 0===i.wrapX||i.wrapX})||this).loader_=uw,n.format_=i.format,n.overlaps_=void 0===i.overlaps||i.overlaps,n.url_=i.url,void 0!==i.loader?n.loader_=i.loader:void 0!==n.url_&&(vw(n.format_,7),n.loader_=TI(n.url_,n.format_)),n.strategy_=void 0!==i.strategy?i.strategy:AI;var o,r,a=void 0===i.useSpatialIndex||i.useSpatialIndex;return n.featuresRtree_=a?new wI:null,n.loadedExtentsRtree_=new wI,n.nullGeometryFeatures_={},n.idIndex_={},n.uidIndex_
1={},n.featureChangeKeys_={},n.featuresCollection_=null,Array.isArray(i.features)?r=i.features:i.features&&(r=(o=i.features).getArray()),!a&&void 0===o&&(o=new hk(r)),void 0!==r&&n.addFeaturesInternal(r),void 0!==o&&n.bindFeaturesCollection_(o),n}return EI(e,t),e.prototype.addFeature=function(t){this.addFeatureInternal(t),this.changed()},e.prototype.addFeatureInternal=function(t){var e=pw(t);if(this.addToIndex_(e,t)){this.setupChangeEvents_(e,t);var n=t.getGeometry();if(n){var i=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(i,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new DI("addfeature",t))}else this.featuresCollection_&&this.featuresCollection_.remove(t)},e.prototype.setupChangeEvents_=function(t,e){this.featureChangeKeys_[t]=[RM(e,"change",this.handleFeatureChange_,this),RM(e,"propertychange",this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(t,e){var n=!0,i=e.getId();return void 0!==i&&(i.toString()in this.idIndex_?n=!1:this.idIndex_[i.toString()]=e),n&&(vw(!(t in this.uidIndex_),30),this.uidIndex_[t]=e),n},e.prototype.addFeatures=function(t){this.addFeaturesInternal(t),this.changed()},e.prototype.addFeaturesInternal=function(t){for(var e=[],n=[],i=[],o=0,r=t.length;o<r;o++){var a=pw(c=t[o]);this.addToIndex_(a,c)&&n.push(c)}o=0;for(var s=n.length;o<s;o++){var c;a=pw(c=n[o]),this.setupChangeEvents_(a,c);var l=c.getGeometry();if(l){var u=l.getExtent();e.push(u),i.push(c)}else this.nullGeometryFeatures_[a]=c}this.featuresRtree_&&this.featuresRtree_.load(e,i),o=0;for(var d=n.length;o<d;o++)this.dispatchEvent(new DI("addfeature",n[o]))},e.prototype.bindFeaturesCollection_=function(t){var e=!1;this.addEventListener("addfeature",function(n){e||(e=!0,t.push(n.feature),e=!1)}),this.addEventListener("removefeature",function(n){e||(e=!0,t.remove(n.feature),e=!1)}),t.addEventListener("add",(function(t){e||(e=!0,this.addFeature(t.element),e=!1)}).bind(this)),t.addEventListener("remove",(function(t){e||(e=!0,this.removeFeature(t.element),e=!1)}).bind(this)),this.featuresCollection_=t},e.prototype.clear=function(t){if(t){for(var e in this.featureChangeKeys_)this.featureChangeKeys_[e].forEach(LM);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_)for(var n in this.featuresRtree_.forEach(this.removeFeatureInternal.bind(this)),this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n]);this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};var i=new DI("clear");this.dispatchEvent(i),this.changed()},e.prototype.forEachFeature=function(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)},e.prototype.forEachFeatureAtCoordinateDirect=function(t,e){return this.forEachFeatureInExtent([t[0],t[1],t[0],t[1]],function(n){if(n.getGeometry().intersectsCoordinate(t))return e(n)})},e.prototype.forEachFeatureInExtent=function(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)},e.prototype.forEachFeatureIntersectingExtent=function(t,e){return this.forEachFeatureInExtent(t,function(n){if(n.getGeometry().intersectsExtent(t)){var i=e(n);if(i)return i}})},e.prototype.getFeaturesCollection=function(){return this.featuresCollection_},e.prototype.getFeatures=function(){var t;return this.featuresCollection_?t=this.featuresCollection_.getArray():this.featuresRtree_&&(t=this.featuresRtree_.getAll(),AM(this.nullGeometryFeatures_)||aw(t,SM(this.nullGeometryFeatures_))),t},e.prototype.getFeaturesAtCoordinate=function(t){var e=[];return this.forEachFeatureAtCoordinateDirect(t,function(t){e.push(t)}),e},e.prototype.getFeaturesInExtent=function(t){return this.featuresRtree_?this.featuresRtree_.getInExtent(t):this.featuresCollection_?this.featuresCollection_.getArray():[]},e.prototype.getClosestFeatureToCoordinate=function(t,e){var n=t[0],i=t[1],o=null,r=[NaN,NaN],a=1/0,s=[-1/0,-1/0,1/0,1/0],c=e||cw;return this.featuresRtree_.forEachInExtent(s,function(t){if(c(t)){var e=t.getGeometry(),l=a;if((a=e.closestPointXY(n,i,r,a))<l){o=t;var u=Math.sqrt(a);s[0]=n-u,s[1]=i-u,s[2]=n+u,s[3]=i+u}}}),o},e.prototype.getExtent=function(t){return this.featuresRtree_.getExtent(t)},e.prototype.getFeatureById=function(t){var e=this.idIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getFeatureByUid=function(t){var e=this.uidIndex_[t];return void 0!==e?e:null},e.prototype.getFormat=function(){return this.format_},e.prototype.getOverlaps=function(){return this.overlaps_},e.prototype.getUrl=function(){return this.url_},e.prototype.handleFeatureChange_=function(t){var e=t.target,n=pw(e),i=e.getGeometry();if(i){var o=i.getExtent();n in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[n],this.featuresRtree_&&this.featuresRtree_.insert(o,e)):this.featuresRtree_&&this.featuresRtree_.update(o,e)}else n in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[n]=e);var r=e.getId();if(void 0!==r){var a=r.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[n]=e;this.changed(),this.dispatchEvent(new DI("changefeature",e))},e.prototype.hasFeature=function(t){var e=t.getId();return void 0!==e?e in this.idIndex_:pw(t)in this.uidIndex_},e.prototype.isEmpty=function(){return this.featuresRtree_.isEmpty()&&AM(this.nullGeometryFeatures_)},e.prototype.loadFeatures=function(t,e,n){var i=this.loadedExtentsRtree_,o=this.strategy_(t,e);this.loading=!1;for(var r=function(t,r){var s=o[t];
1i.forEachInExtent(s,function(t){return Ew(t.extent,s)})||(a.dispatchEvent(new DI("featuresloadstart")),a.loader_.call(a,s,e,n,(function(t){this.dispatchEvent(new DI("featuresloadend",void 0,t))}).bind(a),(function(){this.dispatchEvent(new DI("featuresloaderror"))}).bind(a)),i.insert(s,{extent:s.slice()}),a.loading=a.loader_!==uw)},a=this,s=0,c=o.length;s<c;++s)r(s)},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(t){var e,n=this.loadedExtentsRtree_;n.forEachInExtent(t,function(n){if(Nw(n.extent,t))return e=n,!0}),e&&n.remove(e)},e.prototype.removeFeature=function(t){var e=pw(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t),this.changed()},e.prototype.removeFeatureInternal=function(t){var e=pw(t);this.featureChangeKeys_[e].forEach(LM),delete this.featureChangeKeys_[e];var n=t.getId();void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new DI("removefeature",t))},e.prototype.removeFromIdIndex_=function(t){var e=!1;for(var n in this.idIndex_)if(this.idIndex_[n]===t){delete this.idIndex_[n],e=!0;break}return e},e.prototype.setLoader=function(t){this.loader_=t},e.prototype.setUrl=function(t){vw(this.format_,7),this.setLoader(TI(t,this.format_))},e}(SI),FI=RI,LI=function(){function t(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=LA(t.scale),this.displacement_=t.displacement}return t.prototype.clone=function(){var e=this.getScale();return new t({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()})},t.prototype.getOpacity=function(){return this.opacity_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getScaleArray=function(){return this.scaleArray_},t.prototype.getDisplacement=function(){return this.displacement_},t.prototype.getAnchor=function(){return dw()},t.prototype.getImage=function(t){return dw()},t.prototype.getHitDetectionImage=function(){return dw()},t.prototype.getPixelRatio=function(t){return 1},t.prototype.getImageState=function(){return dw()},t.prototype.getImageSize=function(){return dw()},t.prototype.getHitDetectionImageSize=function(){return dw()},t.prototype.getOrigin=function(){return dw()},t.prototype.getSize=function(){return dw()},t.prototype.setOpacity=function(t){this.opacity_=t},t.prototype.setRotateWithView=function(t){this.rotateWithView_=t},t.prototype.setRotation=function(t){this.rotation_=t},t.prototype.setScale=function(t){this.scale_=t,this.scaleArray_=LA(t)},t.prototype.listenImageChange=function(t){dw()},t.prototype.load=function(){dw()},t.prototype.unlistenImageChange=function(t){dw()},t}(),ZI=LI;function NI(t){return Array.isArray(t)?CM(t):t}var UI,VI,jI=(VI=function(t,e){return(VI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}VI(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),zI=function(t){function e(e){var n=this;return(n=t.call(this,{opacity:1,rotateWithView:void 0!==e.rotateWithView&&e.rotateWithView,rotation:void 0!==e.rotation?e.rotation:0,scale:void 0!==e.scale?e.scale:1,displacement:void 0!==e.displacement?e.displacement:[0,0]})||this).canvas_={},n.hitDetectionCanvas_=null,n.fill_=void 0!==e.fill?e.fill:null,n.origin_=[0,0],n.points_=e.points,n.radius_=void 0!==e.radius?e.radius:e.radius1,n.radius2_=e.radius2,n.angle_=void 0!==e.angle?e.angle:0,n.stroke_=void 0!==e.stroke?e.stroke:null,n.anchor_=null,n.size_=null,n.imageSize_=null,n.hitDetectionImageSize_=null,n.render(),n}return jI(e,t),e.prototype.clone=function(){var t=this.getScale(),n=new e({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.get
1Stroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice()});return n.setOpacity(this.getOpacity()),n},e.prototype.getAnchor=function(){return this.anchor_},e.prototype.getAngle=function(){return this.angle_},e.prototype.getFill=function(){return this.fill_},e.prototype.getHitDetectionImage=function(){if(!this.hitDetectionCanvas_){var t=this.createRenderOptions();this.createHitDetectionCanvas_(t)}return this.hitDetectionCanvas_},e.prototype.getImage=function(t){if(!this.canvas_[t||1]){var e=this.createRenderOptions(),n=Tx(e.size*t||1,e.size*t||1);this.draw_(e,n,0,0,t||1),this.canvas_[t||1]=n.canvas}return this.canvas_[t||1]},e.prototype.getPixelRatio=function(t){return t},e.prototype.getImageSize=function(){return this.imageSize_},e.prototype.getHitDetectionImageSize=function(){return this.hitDetectionImageSize_},e.prototype.getImageState=function(){return 2},e.prototype.getOrigin=function(){return this.origin_},e.prototype.getPoints=function(){return this.points_},e.prototype.getRadius=function(){return this.radius_},e.prototype.getRadius2=function(){return this.radius2_},e.prototype.getSize=function(){return this.size_},e.prototype.getStroke=function(){return this.stroke_},e.prototype.listenImageChange=function(t){},e.prototype.load=function(){},e.prototype.unlistenImageChange=function(t){},e.prototype.createRenderOptions=function(){var t,e=Fx,n=Zx,i=0,o=null,r=0,a=0;return this.stroke_&&(null===(t=this.stroke_.getColor())&&(t=Nx),t=NI(t),void 0===(a=this.stroke_.getWidth())&&(a=1),o=this.stroke_.getLineDash(),r=this.stroke_.getLineDashOffset(),void 0===(n=this.stroke_.getLineJoin())&&(n=Zx),void 0===(e=this.stroke_.getLineCap())&&(e=Fx),void 0===(i=this.stroke_.getMiterLimit())&&(i=10)),{strokeStyle:t,strokeWidth:a,size:2*(this.radius_+a)+1,lineCap:e,lineDash:o,lineDashOffset:r,lineJoin:n,miterLimit:i}},e.prototype.render=function(){var t=this.createRenderOptions(),e=Tx(t.size,t.size);this.draw_(t,e,0,0,1),this.canvas_={},this.canvas_[1]=e.canvas;var n=e.canvas.width,i=n,o=this.getDisplacement();this.hitDetectionImageSize_=[t.size,t.size],this.createHitDetectionCanvas_(t),this.anchor_=[n/2-o[0],n/2+o[1]],this.size_=[n,n],this.imageSize_=[i,i]},e.prototype.draw_=function(t,e,n,i,o){var r,a,s;e.setTransform(o,0,0,o,0,0),e.translate(n,i),e.beginPath();var c=this.points_;if(c===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var l=void 0!==this.radius2_?this.radius2_:this.radius_;for(l!==this.radius_&&(c*=2),r=0;r<=c;r++)a=2*r*Math.PI/c-Math.PI/2+this.angle_,e.lineTo(t.size/2+(s=r%2==0?this.radius_:l)*Math.cos(a),t.size/2+s*Math.sin(a))}if(this.fill_){var u=this.fill_.getColor();null===u&&(u=Rx),e.fillStyle=NI(u),e.fill()}this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,e.setLineDash&&t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},e.prototype.createHitDetectionCanvas_=function(t){if(this.hitDetectionCanvas_=this.getImage(1),this.fill_){var e=this.fill_.getColor(),n=0;if("string"==typeof e&&(e=vM(e)),null===e?n=1:Array.isArray(e)&&(n=4===e.length?e[3]:1),0===n){var i=Tx(t.size,t.size);this.hitDetectionCanvas_=i.canvas,this.drawHitDetectionCanvas_(t,i,0,0)}}},e.prototype.drawHitDetectionCanvas_=function(t,e,n,i){e.translate(n,i),e.beginPath();var o=this.points_;if(o===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var r=void 0!==this.radius2_?this.radius2_:this.radius_;r!==this.radius_&&(o*=2);var a=void 0,s=void 0,c=void 0;for(a=0;a<=o;a++)c=2*a*Math.PI/o-Math.PI/2+this.angle_,e.lineTo(t.size/2+(s=a%2==0?this.radius_:r)*Math.cos(c),t.size/2+s*Math.sin(c))}e.fillStyle=Rx,e.fill(),this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.stroke()),e.closePath()},e}(ZI),qI=(UI=function(t,e){return(UI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}UI(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),BI=function(t){function e(e){var n=e||{};return t.call(this,{points:1/0,fill:n.fill,radius:n.radius,stroke:n.stroke,scale:void 0!==n.scale?n.scale:1,rotation:void 0!==n.rotation?n.rotation:0,rotateWithView:void 0!==n.rotateWithView&&n.rotateWithView,displacement:void 0!==n.displacement?n.displacement:[0,0]})||this}return qI(e,t),e.prototype.clone=function(){var t=this.getScale(),n=new e({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.get
1Stroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()});return n.setOpacity(this.getOpacity()),n},e.prototype.setRadius=function(t){this.radius_=t,this.render()},e}(zI),YI=BI,GI=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0})},t.prototype.getColor=function(){return this.color_},t.prototype.setColor=function(t){this.color_=t},t}(),HI=GI,JI=function(){function t(t){var e=t||{};this.color_=void 0!==e.color?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=void 0!==e.lineDash?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}return t.prototype.clone=function(){var e=this.getColor();return new t({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})},t.prototype.getColor=function(){return this.color_},t.prototype.getLineCap=function(){return this.lineCap_},t.prototype.getLineDash=function(){return this.lineDash_},t.prototype.getLineDashOffset=function(){return this.lineDashOffset_},t.prototype.getLineJoin=function(){return this.lineJoin_},t.prototype.getMiterLimit=function(){return this.miterLimit_},t.prototype.getWidth=function(){return this.width_},t.prototype.setColor=function(t){this.color_=t},t.prototype.setLineCap=function(t){this.lineCap_=t},t.prototype.setLineDash=function(t){this.lineDash_=t},t.prototype.setLineDashOffset=function(t){this.lineDashOffset_=t},t.prototype.setLineJoin=function(t){this.lineJoin_=t},t.prototype.setMiterLimit=function(t){this.miterLimit_=t},t.prototype.setWidth=function(t){this.width_=t},t}(),WI=JI,QI=function(){function t(t){var e=t||{};this.geometry_=null,this.geometryFunction_=$I,void 0!==e.geometry&&this.setGeometry(e.geometry),this.fill_=void 0!==e.fill?e.fill:null,this.image_=void 0!==e.image?e.image:null,this.renderer_=void 0!==e.renderer?e.renderer:null,this.stroke_=void 0!==e.stroke?e.stroke:null,this.text_=void 0!==e.text?e.text:null,this.zIndex_=e.zIndex}return t.prototype.clone=function(){var e=this.getGeometry();return e&&"object"==typeof e&&(e=e.clone()),new t({geometry:e,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},t.prototype.getRenderer=function(){return this.renderer_},t.prototype.setRenderer=function(t){this.renderer_=t},t.prototype.getGeometry=function(){return this.geometry_},t.prototype.getGeometryFunction=function(){return this.geometryFunction_},t.prototype.getFill=function(){return this.fill_},t.prototype.setFill=function(t){this.fill_=t},t.prototype.getImage=function(){return this.image_},t.prototype.setImage=function(t){this.image_=t},t.prototype.getStroke=function(){return this.stroke_},t.prototype.setStroke=function(t){this.stroke_=t},t.prototype.getText=function(){return this.text_},t.prototype.setText=function(t){this.text_=t},t.prototype.getZIndex=function(){return this.zIndex_},t.prototype.setGeometry=function(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=$I,this.geometry_=t},t.prototype.setZIndex=function(t){this.zIndex_=t},t}(),KI=null;function XI(t,e){if(!KI){var n=new HI({color:"rgba(255,255,255,0.4)"}),i=new WI({color:"#3399CC",width:1.25});KI=[new QI({image:new YI({fill:n,stroke:i,radius:5}),fill:n,stroke:i})]}return KI}function $I(t){return t.getGeometry()}var tE,eE,nE=QI,iE=(eE=function(t,e){return(eE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}eE(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),oE=function(t){function e(e){var n=this,i=e||{},o=xM({},i);return delete o.style,delete o.renderBuffer,delete o.updateWhileAnimating,delete o.updateWhileInteracting,(n=t.call(this,o)||this).declutter_=void 0!==i.declutter&&i.declutter,n.renderBuffer_=void 0!==i.renderBuffer?i.renderBuffer:100,n.style_=null,n.styleFunction_=void 0,n.setStyle(i.style),n.updateWhileAnimating_=void 0!==i.updateWhileAnimating&&i.updateWhileAnimating,
1n.updateWhileInteracting_=void 0!==i.updateWhileInteracting&&i.updateWhileInteracting,n}return iE(e,t),e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.getFeatures=function(e){return t.prototype.getFeatures.call(this,e)},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get("renderOrder")},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.renderDeclutter=function(t){t.declutterTree||(t.declutterTree=new(OI())(9)),this.getRenderer().renderDeclutter(t)},e.prototype.setRenderOrder=function(t){this.set("renderOrder",t)},e.prototype.setStyle=function(t){this.style_=void 0!==t?t:XI,this.styleFunction_=null===t?void 0:function(t){var e,n;return"function"==typeof t?e=t:(Array.isArray(t)?n=t:(vw("function"==typeof t.getZIndex,41),n=[t]),e=function(){return n}),e}(this.style_),this.changed()},e}(nx),rE=oE,aE=34962,sE=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function cE(t,e){for(var n=sE.length,i=0;i<n;++i)try{var o=t.getContext(sE[i],e);if(o)return o}catch(r){}return null}var lE=function(){function t(t,e){this.array=null,this.type=t,vw(t===aE||34963===t,62),this.usage=void 0!==e?e:35044}return t.prototype.ofSize=function(t){this.array=new(uE(this.type))(t)},t.prototype.fromArray=function(t){this.array=uE(this.type).from(t)},t.prototype.fromArrayBuffer=function(t){this.array=new(uE(this.type))(t)},t.prototype.getType=function(){return this.type},t.prototype.getArray=function(){return this.array},t.prototype.getUsage=function(){return this.usage},t.prototype.getSize=function(){return this.array?this.array.length:0},t}();function uE(t){switch(t){case aE:return Float32Array;case 34963:return Uint32Array;default:return Float32Array}}var dE,hE=lE,pE=(dE=function(t,e){return(dE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}dE(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),fE=function(t){function e(e){var n=t.call(this)||this;return n.boundHandleImageChange_=n.handleImageChange_.bind(n),n.layer_=e,n.declutterExecutorGroup=null,n}return pE(e,t),e.prototype.getFeatures=function(t){return dw()},e.prototype.prepareFrame=function(t){return dw()},e.prototype.renderFrame=function(t,e){return dw()},e.prototype.loadedTileCallback=function(t,e,n){t[e]||(t[e]={}),t[e][n.tileCoord.toString()]=n},e.prototype.createLoadedTileFinder=function(t,e,n){return(function(i,o){var r=this.loadedTileCallback.bind(this,n,i);return t.forEachLoadedTile(e,i,o,r)}).bind(this)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,i,o){},e.prototype.getDataAtPixel=function(t,e,n){return dw()},e.prototype.getLayer=function(){return this.layer_},e.prototype.handleFontsChanged=function(){},e.prototype.handleImageChange_=function(t){2===t.target.getState()&&this.renderIfReadyAndVisible()},e.prototype.loadImage=function(t){var e=t.getState();return 2!=e&&3!=e&&t.addEventListener("change",this.boundHandleImageChange_),0==e&&(t.load(),e=t.getState()),2==e},e.prototype.renderIfReadyAndVisible=function(){var t=this.getLayer();t.getVisible()&&"ready"==t.getSourceState()&&t.changed()},e}(jM),gE=fE,_E=function(){function t(t){this.gl_=t.webGlContext;var e=this.gl_;this.scaleRatio_=t.scaleRatio||1,this.renderTargetTexture_=e.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=e.createFramebuffer();var n=e.createShader(e.VERTEX_SHADER);e.shaderSource(n,t.vertexShader||"\n  precision mediump float;\n  \n  attribute vec2 a_position;\n  varying vec2 v_texCoord;\n  varying vec2 v_screenCoord;\n  \n  uniform vec2 u_screenSize;\n   \n  void main() {\n    v_texCoord = a_position * 0.5 + 0.5;\n    v_screenCoord = v_texCoord * u_screenSize;\n    gl_Position = vec4(a_position, 0.0, 1.0);\n  }\n"),e.compileShader(n);var i=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(i,t.fragmentShader||"\n  precision mediump float;
1\n   \n  uniform sampler2D u_image;\n   \n  varying vec2 v_texCoord;\n   \n  void main() {\n    gl_FragColor = texture2D(u_image, v_texCoord);\n  }\n"),e.compileShader(i),this.renderTargetProgram_=e.createProgram(),e.attachShader(this.renderTargetProgram_,n),e.attachShader(this.renderTargetProgram_,i),e.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=e.createBuffer(),e.bindBuffer(e.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,-1,1,1,-1,1]),e.STATIC_DRAW),this.renderTargetAttribLocation_=e.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetTextureLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],t.uniforms&&Object.keys(t.uniforms).forEach((function(n){this.uniforms_.push({value:t.uniforms[n],location:e.getUniformLocation(this.renderTargetProgram_,n)})}).bind(this))}return t.prototype.getGL=function(){return this.gl_},t.prototype.init=function(t){var e=this.getGL(),n=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.viewport(0,0,n[0],n[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==n[0]||this.renderTargetTextureSize_[1]!==n[1]){this.renderTargetTextureSize_=n;var i=e.RGBA,o=e.RGBA,r=e.UNSIGNED_BYTE;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,0,i,n[0],n[1],0,o,r,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0)}},t.prototype.apply=function(t,e){var n=this.getGL(),i=t.size;n.bindFramebuffer(n.FRAMEBUFFER,e?e.getFrameBuffer():null),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,this.renderTargetTexture_),n.clearColor(0,0,0,0),n.clear(n.COLOR_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,n.ONE_MINUS_SRC_ALPHA),n.viewport(0,0,n.drawingBufferWidth,n.drawingBufferHeight),n.bindBuffer(n.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),n.useProgram(this.renderTargetProgram_),n.enableVertexAttribArray(this.renderTargetAttribLocation_),n.vertexAttribPointer(this.renderTargetAttribLocation_,2,n.FLOAT,!1,0,0),n.uniform2f(this.renderTargetUniformLocation_,i[0],i[1]),n.uniform1i(this.renderTargetTextureLocation_,0),this.applyUniforms(t),n.drawArrays(n.TRIANGLES,0,6)},t.prototype.getFrameBuffer=function(){return this.frameBuffer_},t.prototype.applyUniforms=function(t){var e,n=this.getGL(),i=1;this.uniforms_.forEach(function(o){if((e="function"==typeof o.value?o.value(t):o.value)instanceof HTMLCanvasElement||e instanceof ImageData)o.texture||(o.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+i]),n.bindTexture(n.TEXTURE_2D,o.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.L
1INEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),e instanceof ImageData?n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,e.width,e.height,0,n.UNSIGNED_BYTE,new Uint8Array(e.data)):n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e),n.uniform1i(o.location,i++);else if(Array.isArray(e))switch(e.length){case 2:return void n.uniform2f(o.location,e[0],e[1]);case 3:return void n.uniform3f(o.location,e[0],e[1],e[2]);case 4:return void n.uniform4f(o.location,e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(o.location,e)})},t}(),mE=_E;function vE(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}var yE,CE=(yE=function(t,e){return(yE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}yE(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),bE={UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123,UNSIGNED_INT:5125,FLOAT:5126},OE=function(t){function e(e){var n=t.call(this)||this,i=e||{};n.boundHandleWebGLContextLost_=n.handleWebGLContextLost.bind(n),n.boundHandleWebGLContextRestored_=n.handleWebGLContextRestored.bind(n),n.canvas_=document.createElement("canvas"),n.canvas_.style.position="absolute",n.canvas_.style.left="0",n.gl_=cE(n.canvas_);var o=n.getGL();if(n.bufferCache_={},n.currentProgram_=null,vw(function(t,e){return t.indexOf("OES_element_index_uint")>=0}(function(){if(!tE){var t=cE(document.createElement("canvas"));t&&(tE=t.getSupportedExtensions())}return tE}()),63),o.getExtension("OES_element_index_uint"),n.canvas_.addEventListener("webglcontextlost",n.boundHandleWebGLContextLost_),n.canvas_.addEventListener("webglcontextrestored",n.boundHandleWebGLContextRestored_),n.offsetRotateMatrix_=[1,0,0,1,0,0],n.offsetScaleMatrix_=[1,0,0,1,0,0],n.tmpMat4_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],n.uniformLocations_={},n.attribLocations_={},n.uniforms_=[],i.uniforms)for(var r in i.uniforms)n.uniforms_.push({name:r,value:i.uniforms[r]});return n.postProcessPasses_=i.postProcesses?i.postProcesses.map(function(t){return new mE({webGlContext:o,scaleRatio:t.scaleRatio,vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms})}):[new mE({webGlContext:o})],n.shaderCompileErrors_=null,n.startTime_=Date.now(),n}return CE(e,t),e.prototype.bindBuffer=function(t){var e=this.getGL(),n=pw(t),i=this.bufferCache_[n];if(!i){var o=e.createBuffer();this.bufferCache_[n]=i={buffer:t,webGlBuffer:o}}e.bindBuffer(t.getType(),i.webGlBuffer)},e.prototype.flushBufferData=function(t){var e=this.getGL();this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())},e.prototype.deleteBuffer=function(t){var e=this.getGL(),n=pw(t),i=this.bufferCache_[n];e.isContextLost()||e.deleteBuffer(i.buffer),delete this.bufferCache_[n]},e.prototype.disposeInternal=function(){this.canvas_.removeEventListener("webglcontextlost",this.boundHandleWebGLContextLost_),this.canvas_.removeEventListener("webglcontextrestored",this.boundHandleWebGLContextRestored_)},e.prototype.prepareDraw=function(t){var e=this.getGL(),n=this.getCanvas(),i=t.size,o=t.pixelRatio;n.width=i[0]*o,n.height=i[1]*o,n.style.width=i[0]+"px",n.style.height=i[1]+"px",e.useProgram(this.currentProgram_);for(var r=this.postProcessPasses_.length-1;r>=0;r--)this.postProcessPasses_[r].init(t);e.bindTexture(e.TEXTURE_2D,null),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.enable(e.BLEND),e.blendFunc(e.ONE,e.ONE_MINUS_SRC_ALPHA),e.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.prepareDrawToRenderTarget=function(t,e,n){var i=this.getGL(),o=e.getSize();i.bindFramebuffer(i.FRAMEBUFFER,e.getFramebuffer()),i.viewport(0,0,o[0],o[1]),i.bindTexture(i.TEXTURE_2D,e.getTexture()),i.clearColor(0,0,0,0),i.clear(i.COLOR_BUFFER_BIT),i.enable(i.BLEND),i.blendFunc(i.ONE,n?i.ZERO:i.ONE_MINUS_SRC_ALPHA),i.useProgram(this.currentProgram_),this.applyFrameState(t),this.applyUniforms(t)},e.prototype.drawElements=function(t,e){var n=this.getGL();n.drawElements(n.TRIANGLES,e-t,n.UNSIGNED_INT,4*t)},e.prototype.finalizeDraw=function(t){for(var e=0;e<this.postProcessPasses_.length;e++)this.postProcessPasses_[e].apply(t,this.postProcessPasses_[e+1]||null)},e.prototype.getCanvas=function(){return this.canvas_},e.prototype.getGL=function(){return this.gl_},e.prototype.applyFrameState=function(t){var e=t.size,n=t.viewState.rotation,i=Cw(this.offsetScaleMatrix_);!function(t,e,n){bw(t,Ow(yw,e,0,0,n,0,0))}(i,2/e[0],2/e[1]);var o=Cw(this.offsetRotateMatrix_);0!==n&&function(t,e){var n=Math.cos(e),i=Math.sin(e);bw(t,Ow(yw,n,i,-i,n,0,0))}(o,-n),this.setUniformMatrixValue("u_offsetScaleMatrix",vE(this.tmpMat4_,i)),this.setUniformMatrixValue("u_offsetRotateMatrix",vE(this.tmpMat4_,o)),this.setUniformFloatValue("u_time",.001*(Date.now()-this.startTime_)),this.setUniformFloatValue("u_zoom",t.viewState.zoom),this.setUniformFloatValue("u_resolution",t.viewState.resolution)},e.prototype.applyUniforms=function(t){var e,n=this.getGL(),i=0;
1this.uniforms_.forEach((function(o){if((e="function"==typeof o.value?o.value(t):o.value)instanceof HTMLCanvasElement||e instanceof HTMLImageElement||e instanceof ImageData)o.texture||(o.prevValue=void 0,o.texture=n.createTexture()),n.activeTexture(n["TEXTURE"+i]),n.bindTexture(n.TEXTURE_2D,o.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(!(e instanceof HTMLImageElement)||e.complete)&&o.prevValue!==e&&(o.prevValue=e,n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,e)),n.uniform1i(this.getUniformLocation(o.name),i++);else if(Array.isArray(e)&&6===e.length)this.setUniformMatrixValue(o.name,vE(this.tmpMat4_,e));else if(Array.isArray(e)&&e.length<=4)switch(e.length){case 2:return void n.uniform2f(this.getUniformLocation(o.name),e[0],e[1]);case 3:return void n.uniform3f(this.getUniformLocation(o.name),e[0],e[1],e[2]);case 4:return void n.uniform4f(this.getUniformLocation(o.name),e[0],e[1],e[2],e[3]);default:return}else"number"==typeof e&&n.uniform1f(this.getUniformLocation(o.name),e)}).bind(this))},e.prototype.useProgram=function(t){return t!=this.currentProgram_&&(this.getGL().useProgram(t),this.currentProgram_=t,this.uniformLocations_={},this.attribLocations_={},!0)},e.prototype.compileShader=function(t,e){var n=this.getGL(),i=n.createShader(e);return n.shaderSource(i,t),n.compileShader(i),i},e.prototype.getProgram=function(t,e){var n=this.getGL(),i=this.compileShader(t,n.FRAGMENT_SHADER),o=this.compileShader(e,n.VERTEX_SHADER);this.shaderCompileErrors_=null,n.getShaderInfoLog(i)&&(this.shaderCompileErrors_="Fragment shader compilation failed:\n"+n.getShaderInfoLog(i)),n.getShaderInfoLog(o)&&(this.shaderCompileErrors_=(this.shaderCompileErrors_||"")+"Vertex shader compilation failed:\n"+n.getShaderInfoLog(o));var r=n.createProgram();return n.attachShader(r,i),n.attachShader(r,o),n.linkProgram(r),r},e.prototype.getShaderCompileErrors=function(){return this.shaderCompileErrors_},e.prototype.getUniformLocation=function(t){return void 0===this.uniformLocations_[t]&&(this.uniformLocations_[t]=this.getGL().getUniformLocation(this.currentProgram_,t)),this.uniformLocations_[t]},e.prototype.getAttributeLocation=function(t){return void 0===this.attribLocations_[t]&&(this.attribLocations_[t]=this.getGL().getAttribLocation(this.currentProgram_,t)),this.attribLocations_[t]},e.prototype.makeProjectionTransform=function(t,e){var n=t.size,i=t.viewState.rotation,o=t.viewState.resolution,r=t.viewState.center;return Cw(e),ww(e,0,0,2/(o*n[0]),2/(o*n[1]),-i,-r[0],-r[1]),e},e.prototype.setUniformFloatValue=function(t,e){this.getGL().uniform1f(this.getUniformLocation(t),e)},e.prototype.setUniformMatrixValue=function(t,e){this.getGL().uniformMatrix4fv(this.getUniformLocation(t),!1,e)},e.prototype.enableAttributeArray_=function(t,e,n,i,o){var r=this.getAttributeLocation(t);r<0||(this.getGL().enableVertexAttribArray(r),this.getGL().vertexAttribPointer(r,e,n,!1,i,o))},e.prototype.enableAttributes=function(t){for(var e=function(t){for(var e=0,n=0;n<t.length;n++){var i=t[n];e+=i.size*PE(i.type)}return e}(t),n=0,i=0;i<t.length;i++){var o=t[i];this.enableAttributeArray_(o.name,o.size,o.type||5126,e,n),n+=o.size*PE(o.type)}},e.prototype.handleWebGLContextLost=function(){kM(this.bufferCache_),this.currentProgram_=null},e.prototype.handleWebGLContextRestored=function(){},e.prototype.createTexture=function(t,e,n){var i=this.getGL(),o=n||i.createTexture(),r=i.RGBA,a=i.RGBA,s=i.UNSIGNED_BYTE;return i.bindTexture(i.TEXTURE_2D,o),e?i.texImage2D(i.TEXTURE_2D,0,r,a,s,e):i.texImage2D(i.TEXTURE_2D,0,r,t[0],t[1],0,a,s,null),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),o},e}(nw);function PE(t){switch(t){case bE.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case bE.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case bE.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;default:return Float32Array.BYTES_PER_ELEMENT}}
1var wE,ME=OE,xE=(wE=function(t,e){return(wE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}wE(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),kE=function(t){function e(e,n){var i=t.call(this,e)||this,o=n||{};return i.helper=new ME({postProcesses:o.postProcesses,uniforms:o.uniforms}),void 0!==o.className&&(i.helper.getCanvas().className=o.className),i}return xE(e,t),e.prototype.disposeInternal=function(){this.helper.dispose(),t.prototype.disposeInternal.call(this)},e.prototype.getShaderCompileErrors=function(){return this.helper.getShaderCompileErrors()},e.prototype.dispatchRenderEvent_=function(t,e){var n=this.getLayer();if(n.hasListener(t)){var i=new fx(t,null,e,null);n.dispatchEvent(i)}},e.prototype.preRender=function(t){this.dispatchRenderEvent_("prerender",t)},e.prototype.postRender=function(t){this.dispatchRenderEvent_("postrender",t)},e}(gE);function SE(t,e){var n=e||[],i=256,o=255;return n[0]=Math.floor(t/i/i/i)/o,n[1]=Math.floor(t/i/i)%i/o,n[2]=Math.floor(t/i)%i/o,n[3]=t%i/o,n}var AE,TE=kE,IE=new Uint8Array(4),EE=function(){function t(t,e){this.helper_=t;var n=t.getGL();this.texture_=n.createTexture(),this.framebuffer_=n.createFramebuffer(),this.size_=e||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}return t.prototype.setSize=function(t){sw(t,this.size_)||(this.size_[0]=t[0],this.size_[1]=t[1],this.updateSize_())},t.prototype.getSize=function(){return this.size_},t.prototype.clearCachedData=function(){this.dataCacheDirty_=!0},t.prototype.readAll=function(){if(this.dataCacheDirty_){var t=this.size_,e=this.helper_.getGL();e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.readPixels(0,0,t[0],t[1],e.RGBA,e.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_},t.prototype.readPixel=function(t,e){if(t<0||e<0||t>this.size_[0]||e>=this.size_[1])return IE[0]=0,IE[1]=0,IE[2]=0,IE[3]=0,IE;this.readAll();var n=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return IE[0]=this.data_[4*n],IE[1]=this.data_[4*n+1],IE[2]=this.data_[4*n+2],IE[3]=this.data_[4*n+3],IE},t.prototype.getTexture=function(){return this.texture_},t.prototype.getFramebuffer=function(){return this.framebuffer_},t.prototype.updateSize_=function(){var t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(t[0]*t[1]*4)},t}(),DE=EE,RE=new Blob(['var e="function"==typeof Object.assign?Object.assign:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(null!=i)for(var f in i)i.hasOwnProperty(f)&&(t[f]=i[f])}return t},n="GENERATE_BUFFERS",t=[],r={vertexPosition:0,indexPosition:0};function o(e,n,t,r,o){e[n+0]=t,e[n+1]=r,e[n+2]=o}function i(e,n,i,f,s,u){var a=3+s,l=e[n+0],v=e[n+1],c=t;c.length=s;for(var g=0;g<c.length;g++)c[g]=e[n+2+g];var b=u?u.vertexPosition:0,h=u?u.indexPosition:0,d=b/a;return o(i,b,l,v,0),c.length&&i.set(c,b+3),o(i,b+=a,l,v,1),c.length&&i.set(c,b+3),o(i,b+=a,l,v,2),c.length&&i.set(c,b+3),o(i,b+=a,l,v,3),c.length&&i.set(c,b+3),b+=a,f[h++]=d,f[h++]=d+1,f[h++]=d+3,f[h++]=d+1,f[h++]=d+2,f[h++]=d+3,r.vertexPosition=b,r.indexPosition=h,r}var f=self;f.onmessage=function(t){var r=t.data;if(r.type===n){for(var o=r.customAttributesCount,s=2+o,u=new Float32Array(r.renderInstructions),a=u.length/s,l=4*a*(o+3),v=new Uint32Array(6*a),c=new Float32Array(l),g=null,b=0;b<u.length;b+=s)g=i(u,b,c,v,o,g);var h=e({vertexBuffer:c.buffer,indexBuffer:v.buffer,renderInstructions:u.buffer},r);f.postMessage(h,[c.buffer,v.buffer,u.buffer])}};'],{type:"application/javascript"}),FE=URL.createObjectURL(RE),LE=(AE=function(t,e){return(AE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}AE(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ZE=function(t){function e(e,n){var i=this,o=n.uniforms||{},r=[1,0,0,1,0,0];o.u_projectionMatrix=r,(i=t.call(this,e,{className:n.className,uniforms:o,postProcesses:n.postProcesses}
1)||this).sourceRevision_=-1,i.verticesBuffer_=new hE(aE,35048),i.hitVerticesBuffer_=new hE(aE,35048),i.indicesBuffer_=new hE(34963,35048),i.program_=i.helper.getProgram(n.fragmentShader,n.vertexShader),i.hitDetectionEnabled_=!(!n.hitFragmentShader||!n.hitVertexShader),i.hitProgram_=i.hitDetectionEnabled_&&i.helper.getProgram(n.hitFragmentShader,n.hitVertexShader);var a=n.attributes?n.attributes.map(function(t){return{name:"a_"+t.name,size:1,type:bE.FLOAT}}):[];i.attributes=[{name:"a_position",size:2,type:bE.FLOAT},{name:"a_index",size:1,type:bE.FLOAT}].concat(a),i.hitDetectionAttributes=[{name:"a_position",size:2,type:bE.FLOAT},{name:"a_index",size:1,type:bE.FLOAT},{name:"a_hitColor",size:4,type:bE.FLOAT},{name:"a_featureUid",size:1,type:bE.FLOAT}].concat(a),i.customAttributes=n.attributes?n.attributes:[],i.previousExtent_=[1/0,1/0,-1/0,-1/0],i.currentTransform_=r,i.renderTransform_=[1,0,0,1,0,0],i.invertRenderTransform_=[1,0,0,1,0,0],i.renderInstructions_=new Float32Array(0),i.hitRenderInstructions_=new Float32Array(0),i.hitRenderTarget_=i.hitDetectionEnabled_&&new DE(i.helper),i.worker_=new Worker(FE),i.worker_.addEventListener("message",(function(t){var e=t.data;if("GENERATE_BUFFERS"===e.type){var n=e.projectionTransform;e.hitDetection?(this.hitVerticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.hitVerticesBuffer_)):(this.verticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_)),this.indicesBuffer_.fromArrayBuffer(e.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=n,Mw(this.invertRenderTransform_,this.renderTransform_),e.hitDetection?this.hitRenderInstructions_=new Float32Array(t.data.renderInstructions):this.renderInstructions_=new Float32Array(t.data.renderInstructions),this.getLayer().changed()}}).bind(i)),i.featureCache_={},i.featureCount_=0;var s=i.getLayer().getSource();return i.sourceListenKeys_=[RM(s,"addfeature",i.handleSourceFeatureAdded_,i),RM(s,"changefeature",i.handleSourceFeatureChanged_,i),RM(s,"removefeature",i.handleSourceFeatureDelete_,i),RM(s,"clear",i.handleSourceFeatureClear_,i)],s.forEachFeature((function(t){this.featureCache_[pw(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++}).bind(i)),i}return LE(e,t),e.prototype.handleSourceFeatureAdded_=function(t){var e=t.feature;this.featureCache_[pw(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++},e.prototype.handleSourceFeatureChanged_=function(t){var e=t.feature;this.featureCache_[pw(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}},e.prototype.handleSourceFeatureDelete_=function(t){delete this.featureCache_[pw(t.feature)],this.featureCount_--},e.prototype.handleSourceFeatureClear_=function(){this.featureCache_={},this.featureCount_=0},e.prototype.renderFrame=function(t){this.preRender(t);var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e),this.helper.finalizeDraw(t);var n=this.helper.getCanvas(),i=t.layerStatesArray[t.layerIndex].opacity;return i!==parseFloat(n.style.opacity)&&(n.style.opacity=String(i)),this.hitDetectionEnabled_&&(this.renderHitDetection(t),this.hitRenderTarget_.clearCachedData()),this.postRender(t),n},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource(),i=t.viewState,o=!t.viewHints[0]&&!t.viewHints[1],r=!Nw(this.previousExtent_,t.extent),a=this.sourceRevision_<n.getRevision();if(a&&(this.sourceRevision_=n.getRevision()),o&&(r||a)){var s=i.projection,c=i.resolution,l=e instanceof rE?e.getRenderBuffer():0,u=Sw(t.extent,l*c);n.loadFeatures(u,c,s),this.rebuildBuffers_(t),this.previousExtent_=t.extent.slice()}return this.helper.makeProjectionTransform(t,this.currentTransform_),bw(this.currentTransform_,this.invertRenderTransform_),this.helper.useProgram(this.program_),this.helper.prepareDraw(t),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0},e.prototype.rebuildBuffers_=function(t){var e=[1,0,0,1,0,0];this.helper.makeProjectionTransform(t,e);var n=(2+this.customAttributes.length)*this.featureCount_;if((!this.renderInstructions_||this.renderInstructions_.length!==n)&&(this.renderInstructions_=new Float32Array(n)),this.hitDetectionEnabled_){var i=(7+this.customAttributes.length)*this.featureCount_;(!this.hitRenderInstructions_||this.hitRenderInstructions_.length!==i)&&(this.hitRenderInstructions_=new Float32Array(i))}var o,r,a,s=[],c=[],l=0,u=0;for(var d in this.featureCache_)if((r=(o=this.featureCache_[d]).geometry)&&"Point"===r.getType()){s[0]=r.getFlatCoordinates()[0],s[1]=r.getFlatCoordinates()[1],Pw(e,s),a=SE(u+6,c),this.renderInstructions_[l++]=s[0],this.renderInstructions_[l++]=s[1],this.hitDetectionEnabled_&&(this.hitRenderInstructions_[u++]=s[0],this.hitRenderInstructions_[u++]=s[1],this.hitRenderInstructions_[u++]=a[0],this.hitRenderInstructions_[u++]=a[1],this.hitRenderInstructions_[u++]=a[2],this.hitRenderInstructions_[u++]=a[3],this.hitRenderInstructions_[u++]=Number(d));for(var h=void 0,p=0;p<this.customAttributes.length;p++)h=this.customAttributes[p].callback(o.feature,o.properties),this.renderInstructions_[l++]=h,this.hitDetectionEnabled_&&(this.hitRenderInstructions_[u++]=h)}var f={type:"GENERATE_BUFFERS",renderInstructions:this.renderInstructions_.buffer,customAttributesCount:this.customAttributes.length};if(f.projectionTransform=e,this.worker_.postMessage(f,[this.renderInstructions_.buffer]),this.renderInstructions_=null,this.hitDetectionEnabled_){var g={type:"GENERATE_BUFFERS",renderInstructions:this.hitRenderInstructions_.buffer,customAttributesCount:5+this.customAttributes.length};g.projectionTransform=e,g.hitDetection=!0,this.worker_.postMessage(g,[this.hitRenderInstructions_.buffer]),this.hitRenderInstructions_=null}},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,i,o){if(vw(this.hitDetectionEnabled_,66),this.hitRenderInstructions_){var r=Pw(e.coordinateToPixelTransform,t.slice()),a=this.hitRenderTarget_.readPixel(r[0]/2,r[1]/2),s=function(t){var e=0,n=256,i=255;return e+=Math.round(t[0]*n*n*n*i),e+=Math.round(t[1]*n*n*i),(e+=Math.round(t[2]*n*i))+Math.round(t[3]*i)}([a[0]/255,a[1]/255,a[2]/255,a[3]/255]),c=Math.floor(this.hitRenderInstructions_[s]).toString(),l=this.getLayer().getSource().getFeatureByUid(c);if(l)return i(l,this.getLayer(),null)}},e.prototype.renderHitDetection=function(t){if(this.hitVerticesBuffer_.getSize()){this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.useProgram(this.hitProgram_),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0),this.helper.bindBuffer(this.hitVerticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.hitDetectionAttributes);var e=this.indicesBuffer_.getSize();this.helper.drawElements(0,e)}},e.prototype.disposeInternal=function(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach(function(t){LM(t)}),this.sourceListenKeys_=null,t.prototype.disposeInternal.call(this)},e}(TE),NE=ZE,UE={};function VE(t){if("number"==typeof t)return 1;if("boolean"==typeof t)return 8;if("string"==typeof t)return function(t){return hM.test(t)&&(t=fM(t)),dM.test(t)||0===t.indexOf("rgba(")||0===t.indexOf("rgb(")}(t)?6:2;if(!Array.isArray(t))throw new Error("Unhandled value type: "+JSON.stringify(t));var e=t;if(e.every(function(t){return"number"==typeof t}))return 3===e.length||4===e.length?20:16;if("string"!=typeof e[0])throw new Error("Expected an expression o
1perator but received: "+JSON.stringify(e));var n=UE[e[0]];if(void 0===n)throw new Error("Unrecognized expression operator: "+JSON.stringify(e));return n.getReturnType(e.slice(1))}function jE(t){var e=t.toString();return-1===e.indexOf(".")?e+".0":e}function zE(t){if(t.length<2||t.length>4)throw new Error("`formatArray` can only output `vec2`, `vec3` or `vec4` arrays.");return"vec"+t.length+"("+t.map(jE).join(", ")+")"}function qE(t,e){return void 0===t.stringLiteralsMap[e]&&(t.stringLiteralsMap[e]=Object.keys(t.stringLiteralsMap).length),t.stringLiteralsMap[e]}function BE(t,e,n){if(Array.isArray(e)&&"string"==typeof e[0]){var i=UE[e[0]];if(void 0===i)throw new Error("Unrecognized expression operator: "+JSON.stringify(e));return i.toGlsl(t,e.slice(1),n)}var o=VE(e);return(1&o)>0?jE(e):(8&o)>0?e.toString():(2&o)>0&&(void 0===n||2==n)?function(t,e){return jE(qE(t,e))}(t,e.toString()):(4&o)>0&&(void 0===n||4==n)?function(t){var e=vM(t).slice();return e.length<4&&e.push(1),zE(e.map(function(t,e){return e<3?t/255:t}))}(e):(16&o)>0?zE(e):void 0}function YE(t){if(!(1&VE(t)))throw new Error("A numeric value was expected, got "+JSON.stringify(t)+" instead")}function GE(t){for(var e=0;e<t.length;e++)YE(t[e])}function HE(t){if(!(2&VE(t)))throw new Error("A string value was expected, got "+JSON.stringify(t)+" instead")}function JE(t){if(!(8&VE(t)))throw new Error("A boolean value was expected, got "+JSON.stringify(t)+" instead")}function WE(t,e){if(t.length!==e)throw new Error("Exactly "+e+" arguments were expected, got "+t.length+" instead")}function QE(t,e){if(t.length<e)throw new Error("At least "+e+" arguments were expected, got "+t.length+" instead")}function KE(t,e){if(t.length>e)throw new Error("At most "+e+" arguments were expected, got "+t.length+" instead")}function XE(t){if(t.length%2!=0)throw new Error("An even amount of arguments was expected, got "+t+" instead")}function $E(t,e){if(!function(t){return Math.log2(t)%1==0}(e))throw new Error("Could not infer only one type from the following expression: "+JSON.stringify(t))}function tD(t){return{getReturnType:function(t){return 8},toGlsl:function(e,n){WE(n,2);for(var i=31,o=0;o<n.length;o++)i&=VE(n[o]);if(0===i)throw new Error("All arguments should be of compatible type, got "+JSON.stringify(n)+" instead");return"("+BE(e,n[0],i)+" "+t+" "+BE(e,n[1],i)+")"}}}function eD(t){return{getReturnType:function(t){return 8},toGlsl:function(e,n){QE(n,2);for(var i=0;i<n.length;i++)JE(n[i]);return"("+n.map(function(t){return BE(e,t)}).join(" "+t+" ")+")"}}}UE.get={getReturnType:function(t){return 31},toGlsl:function(t,e){WE(e,1),HE(e[0]);var n=e[0].toString();return-1===t.attributes.indexOf(n)&&t.attributes.push(n),(t.inFragmentShader?"v_":"a_")+n}},UE.var={getReturnType:function(t){return 31},toGlsl:function(t,e){WE(e,1),HE(e[0]);var n=e[0].toString();return-1===t.variables.indexOf(n)&&t.variables.push(n),"u_"+n}},UE.time={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,0),"u_time"}},UE.zoom={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,0),"u_zoom"}},UE.resolution={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,0),"u_resolution"}},UE["*"]={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" * "+BE(t,e[1])+")"}},UE["/"]={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" / "+BE(t,e[1])+")"}},UE["+"]={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" + "+BE(t,e[1])+")"}},UE["-"]={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" - "+BE(t,e[1])+")"}},UE.clamp={getReturnType:function(t){return 1},toGlsl:function(t,e){WE(e,3),GE(e);var n=BE(t,e[1]),i=BE(t,e[2]);return"clamp("+BE(t,e[0])+", "+n+", "+i+")"}},UE["%"]={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,2),GE(e),"mod("+BE(t,e[0])+", "+BE(t,e[1])+")"}},UE["^"]={getReturnType:function(t){return 1},toGlsl:function(t,e){return WE(e,2),GE(e),"pow("+BE(t,e[0])+", "+BE(t,e[1])+")"}},UE[">"]={getReturnType:function(t){return 8},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" > "+BE(t,e[1])+")"}},UE[">="]={getReturnType:function(t){return 8},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" >= "+BE(t,e[1])+")"}},UE["<"]={getReturnType:function(t){return 8},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" < "+BE(t,e[1])+")"}},UE["<="]={getReturnType:function(t){return 8},toGlsl:function(t,e){return WE(e,2),GE(e),"("+BE(t,e[0])+" <= "+BE(t,e[1])+")"}},UE["=="]=tD("=="),UE["!="]=tD("!="),UE["!"]={getReturnType:function(t){return 8},toGlsl:function(t,e){return WE(e,1),JE(e[0]),"(!"+BE(t,e[0])+")"}},UE.all=eD("&&"),UE.any=eD("||"),UE.between={getReturnType:function(t){return 8},toGlsl:function(t,e){WE(e,3),GE(e);var n=BE(t,e[1]),i=BE(t,e[2]),o=BE(t,e[0]);return"("+o+" >= "+n+" && "+o+" <= "+i+")"}},UE.array={getReturnType:function(t){return 16},toGlsl:function(t,e){QE(e,2),KE(e,4),GE(e);var n=e.map(function(e){return BE(t,e,1)});return"vec"+e.length+"("+n.join(", ")+")"}},UE.color={getReturnType:function(t){return 4},toGlsl:function(t,e){QE(e,3),KE(e,4),GE(e),3===e.length&&e.push(1);var n=e.map(function(e,n){return BE(t,e,1)+(n<3?" / 255.0":"")});return"vec"+e.length+"("+n.join(", ")+")"}},UE.interpolate={getReturnType:function(t){for(var e=5,n=3;n<t.length;n+=2)e&=VE(t[n]);return e},toGlsl:function(t,e,n){XE(e),QE(e,6);var i,o=e[0];switch(o[0]){case"linear":i=1;break;case"exponential":i=o[1];break;default:i=null}if(!i)throw new Error('Invalid interpolation type for "interpolate" operator, received: '+JSON.stringify(o));var r=void 0!==n?n:31,a=UE.interpolate.getReturnType(e)&r;$E(e,a);for(var s=BE(t,e[1]),c=null,l=2;l<e.length-2;l+=2){var u=BE(t,e[l]),d=BE(t,e[l+1],a),h=BE(t,e[l+2]);c="mix("+(c||d)+", "+BE(t,e[l+3],a)+", pow(clamp(("+s+" - "+u+") / ("+h+" - "+u+"), 0.0, 1.0), "+jE(i)+"))"}return c}},UE.match={getReturnType:function(t){for(var e=31,n=2;n<t.length;n+=2)e&=VE(t[n]);return e&VE(t[t.length-1])},toGlsl:function(t,e,n){XE(e),QE(e,4);var i=void 0!==n?n:31,o=UE.match.getReturnType(e)&i;$E(e,o);for(var r=BE(t,e[0]),a=BE(t,e[e.length-1],o),s=null,c=e.length-3;c>=1;c-=2)s="("+r+" == "+BE(t,e[c])+" ? "+BE(t,e[c+1],o)+" : "+(s||a)+")";return s}},UE.case={getReturnType:function(t){for(var e=31,n=1;n<t.length;n+=2)e&=VE(t[n]);return e&VE(t[t.length-1])},toGlsl:function(t,e,n){(function(t){if(t.length%2==0)throw new Error("An odd amount of arguments was expected, got "+t+" instead")})(e),QE(e,3);var i=void 0!==n?n:31,o=UE.case.getReturnType(e)&i;$E(e,o);for(var r=0;r<e.length-1;r+=2)JE(e[r]);var a=BE(t,e[e.length-1],o),s=null;for(r=e.length-3;r>=0;r-=2)s="("+BE(t,e[r])+" ? "+BE(t,e[r+1],o)+" : "+(s||a)+")";return s}};var nD,iD,oD,rD,aD,sD=function(){function t(){this.uniforms=[],this.attributes=[],this.varyings=[],this.sizeExpression="vec2(1.0)",this.rotationExpression="0.0",this.offsetExpression="vec2(0.0)",this.colorExpression="vec4(1.0)",this.texCoordExpression="vec4(0.0, 0.0, 1.0, 1.0)",this.discardExpression="false",this.rotateWithView=!1}return t.prototype.addUniform=function(t){return this.uniforms.push(t),this},t.prototype.addAttribute=function(t){return this.attributes.push(t),this},t.prototype.addVarying=function(t,e,n){return this.varyings.push({name:t,type:e,expression:n}),this},t.prototype.setSizeExpression=function(t){return this.sizeExpression=t,this},t.prototype.setRotationExpression=function(t){return this.rotationExpression=t,this},t.prototype.setSymbolOffsetExpression=function(t){return this.offsetExpression=t,this},t.prototype.setColorExpression=function(t){return this.colorExpression=t,this}
1,t.prototype.setTextureCoordinateExpression=function(t){return this.texCoordExpression=t,this},t.prototype.setFragmentDiscardExpression=function(t){return this.discardExpression=t,this},t.prototype.setSymbolRotateWithView=function(t){return this.rotateWithView=t,this},t.prototype.getSizeExpression=function(){return this.sizeExpression},t.prototype.getOffsetExpression=function(){return this.offsetExpression},t.prototype.getColorExpression=function(){return this.colorExpression},t.prototype.getTextureCoordinateExpression=function(){return this.texCoordExpression},t.prototype.getFragmentDiscardExpression=function(){return this.discardExpression},t.prototype.getSymbolVertexShader=function(t){var e=this.rotateWithView?"u_offsetScaleMatrix * u_offsetRotateMatrix":"u_offsetScaleMatrix",n=this.attributes,i=this.varyings;return t&&(n=n.concat("vec4 a_hitColor"),i=i.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform mat4 u_projectionMatrix;\nuniform mat4 u_offsetScaleMatrix;\nuniform mat4 u_offsetRotateMatrix;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map(function(t){return"uniform "+t+";"}).join("\n")+"\nattribute vec2 a_position;\nattribute float a_index;\n"+n.map(function(t){return"attribute "+t+";"}).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+i.map(function(t){return"varying "+t.type+" "+t.name+";"}).join("\n")+"\nvoid main(void) {\n  mat4 offsetMatrix = "+e+";\n  vec2 halfSize = "+this.sizeExpression+" * 0.5;\n  vec2 offset = "+this.offsetExpression+";\n  float angle = "+this.rotationExpression+";\n  float offsetX;\n  float offsetY;\n  if (a_index == 0.0) {\n    offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n    offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n  } else if (a_index == 1.0) {\n    offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n    offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n  } else if (a_index == 2.0) {\n    offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n    offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n  } else {\n    offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n    offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n  }\n  vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n  gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n  vec4 texCoord = "+this.texCoordExpression+";\n  float u = a_index == 0.0 || a_index == 3.0 ? texCoord.s : texCoord.p;\n  float v = a_index == 2.0 || a_index == 3.0 ? texCoord.t : texCoord.q;\n  v_texCoord = vec2(u, v);\n  u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n  v = a_index == 2.0 || a_index == 3.0 ? 0.0 : 1.0;\n  v_quadCoord = vec2(u, v);\n"+i.map(function(t){return"  "+t.name+" = "+t.expression+";"}).join("\n")+"\n}"},t.prototype.getSymbolFragmentShader=function(t){var e=t?"  if (gl_FragColor.a < 0.1) { discard; } gl_FragColor = v_hitColor;":"",n=this.varyings;return t&&(n=n.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map(function(t){return"uniform "+t+";"}).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+n.map(function(t){return"varying "+t.type+" "+t.name+";"}).join("\n")+"\nvoid main(void) {\n  if ("+this.discardExpression+") { discard; }\n  gl_FragColor = "+this.colorExpression+";\n  gl_FragColor.rgb *= gl_FragColor.a;\n"+e+"\n}"},t}(),cD=(aD=function(t,e){return(aD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}aD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),lD=function(t){function e(e){var n=this,i=xM({},e);return(n=t.call(this,i)||this).parseResult_=function(t){var e=t.symbol,n=void 0!==e.size?e.size:1,i=e.color||"white",o=e.textureCoord||[0,0,1,1],r=e.offset||[0,0],a=void 0!==e.opacity?e.opacity:1,s=void 0!==e.rotation?e.rotation:0,
1c={inFragmentShader:!1,variables:[],attributes:[],stringLiteralsMap:{}},l=BE(c,n,17),u=BE(c,r,16),d=BE(c,o,16),h=BE(c,s,1),p={inFragmentShader:!0,variables:c.variables,attributes:[],stringLiteralsMap:c.stringLiteralsMap},f=BE(p,i,4),g=BE(p,a,1),_="1.0",m="vec2("+BE(p,n,17)+").x";switch(e.symbolType){case"square":case"image":break;case"circle":_="(1.0-smoothstep(1.-4./"+m+",1.,dot(v_quadCoord-.5,v_quadCoord-.5)*4.))";break;case"triangle":var v="(v_quadCoord*2.-1.)",y="(atan("+v+".x,"+v+".y))";_="(1.0-smoothstep(.5-3./"+m+",.5,cos(floor(.5+"+y+"/2.094395102)*2.094395102-"+y+")*length("+v+")))";break;default:throw new Error("Unexpected symbol type: "+e.symbolType)}var C=(new sD).setSizeExpression("vec2("+l+")").setRotationExpression(h).setSymbolOffsetExpression(u).setTextureCoordinateExpression(d).setSymbolRotateWithView(!!e.rotateWithView).setColorExpression("vec4("+f+".rgb, "+f+".a * "+g+" * "+_+")");if(t.filter){var b=BE(p,t.filter,8);C.setFragmentDiscardExpression("!"+b)}var O={};if(p.variables.forEach(function(e){C.addUniform("float u_"+e),O["u_"+e]=function(){if(!t.variables||void 0===t.variables[e])throw new Error("The following variable is missing from the style: "+e);var n=t.variables[e];return"string"==typeof n&&(n=qE(c,n)),void 0!==n?n:-9999999}}),"image"===e.symbolType&&e.src){var P=new Image;P.src=e.src,C.addUniform("sampler2D u_texture").setColorExpression(C.getColorExpression()+" * texture2D(u_texture, v_texCoord)"),O.u_texture=P}return p.attributes.forEach(function(t){-1===c.attributes.indexOf(t)&&c.attributes.push(t),C.addVarying("v_"+t,"float","a_"+t)}),c.attributes.forEach(function(t){C.addAttribute("float a_"+t)}),{builder:C,attributes:c.attributes.map(function(t){return{name:t,callback:function(e,n){var i=n[t];return"string"==typeof i&&(i=qE(c,i)),void 0!==i?i:-9999999}}}),uniforms:O}}(e.style),n.hitDetectionDisabled_=!!e.disableHitDetection,n}return cD(e,t),e.prototype.createRenderer=function(){return new NE(this,{className:this.getClassName(),vertexShader:this.parseResult_.builder.getSymbolVertexShader(),fragmentShader:this.parseResult_.builder.getSymbolFragmentShader(),hitVertexShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolVertexShader(!0),hitFragmentShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolFragmentShader(!0),uniforms:this.parseResult_.uniforms,attributes:this.parseResult_.attributes})},e.prototype.disposeInternal=function(){this.getRenderer().disposeInternal(),t.prototype.disposeInternal.call(this)},e}(nx),uD=lD,dD=(rD=function(t,e){return(rD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}rD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),hD=function(t){function e(e){var n=t.call(this)||this;return n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addEventListener(GM(n.geometryName_),n.handleGeometryChanged_),e&&("function"==typeof e.getSimplifiedGeometry?n.setGeometry(e):n.setProperties(e)),n}return dD(e,t),e.prototype.clone=function(){var t=new e(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&t.setGeometry(n.clone());var i=this.getStyle();return i&&t.setStyle(i),t},e.prototype.getGeometry=function(){return this.get(this.geometryName_)},e.prototype.getId=function(){return this.id_},e.prototype.getGeometryName=function(){return this.geometryName_},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.handleGeometryChange_=function(){this.changed()},e.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(LM(this.geometryChangeKey_),this.geometryChangeKey_=null);var t=this.getGeometry();t&&(this.geometryChangeKey_=RM(t,"change",this.handleGeometryChange_,this)),this.changed()},e.prototype.setGeometry=function(t){this.set(this.geometryName_,t)},e.prototype.setStyle=function(t){this.style_=t,this.styleFunction_=t?function(t){return"function"==typeof t?t:(Array.isArray(t)?e=t:(vw("function"==typeof t.getZIndex,41),e=[t]),function(){return e});var e}(t):void 0,this.changed()},e.prototype.setId=function(t){this.id_=t,this.changed()},e.prototype.setGeometryName=function(t){this.removeEventListener(GM(this.geometryName_),this.handleGeometryChanged_),this.geometryName_=t,this.addEventListener(GM(this.geometryName_),this.handleGeometryChanged_),this.handleGeometryChanged_()},e}
1(WM),pD=hD,fD=(oD=function(t,e){return(oD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}oD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),gD="projection",_D="coordinateFormat",mD=function(t){function e(e){var n=this,i=e||{},o=document.createElement("div");return o.className=void 0!==i.className?i.className:"ol-mouse-position",(n=t.call(this,{element:o,render:i.render,target:i.target})||this).addEventListener(GM(gD),n.handleProjectionChanged_),i.coordinateFormat&&n.setCoordinateFormat(i.coordinateFormat),i.projection&&n.setProjection(i.projection),n.undefinedHTML_=void 0!==i.undefinedHTML?i.undefinedHTML:"&#160;",n.renderOnMouseOut_=!!n.undefinedHTML_,n.renderedHTML_=o.innerHTML,n.mapProjection_=null,n.transform_=null,n}return fD(e,t),e.prototype.handleProjectionChanged_=function(){this.transform_=null},e.prototype.getCoordinateFormat=function(){return this.get(_D)},e.prototype.getProjection=function(){return this.get(gD)},e.prototype.handleMouseMove=function(t){var e=this.getMap();this.updateHTML_(e.getEventPixel(t))},e.prototype.handleMouseOut=function(t){this.updateHTML_(null)},e.prototype.setMap=function(e){if(t.prototype.setMap.call(this,e),e){var n=e.getViewport();this.listenerKeys.push(RM(n,"pointermove",this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push(RM(n,"pointerout",this.handleMouseOut,this))}},e.prototype.setCoordinateFormat=function(t){this.set(_D,t)},e.prototype.setProjection=function(t){this.set(gD,oS(t))},e.prototype.updateHTML_=function(t){var e=this.undefinedHTML_;if(t&&this.mapProjection_){if(!this.transform_){var n=this.getProjection();this.transform_=n?uS(this.mapProjection_,n):nS}var i=this.getMap().getCoordinateFromPixelInternal(t);if(i){this.transform_(i,i);var o=this.getCoordinateFormat();e=o?o(i):i.toString()}}(!this.renderedHTML_||e!==this.renderedHTML_)&&(this.element.innerHTML=e,this.renderedHTML_=e)},e.prototype.render=function(t){var e=t.frameState;e?this.mapProjection_!=e.viewState.projection&&(this.mapProjection_=e.viewState.projection,this.transform_=null):this.mapProjection_=null},e}(HA),vD=mD,yD=(iD=function(t,e){return(iD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}iD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),CD="units",bD=[1,2,5],OD=25.4/.28,PD=function(t){function e(e){var n=this,i=e||{},o=void 0!==i.className?i.className:i.bar?"ol-scale-bar":"ol-scale-line";return(n=t.call(this,{element:document.createElement("div"),render:i.render,target:i.target})||this).innerElement_=document.createElement("div"),n.innerElement_.className=o+"-inner",n.element.className=o+" "+_x,n.element.appendChild(n.innerElement_),n.viewState_=null,n.minWidth_=void 0!==i.minWidth?i.minWidth:64,n.renderedVisible_=!1,n.renderedWidth_=void 0,n.renderedHTML_="",n.addEventListener(GM(CD),n.handleUnitsChanged_),n.setUnits(i.units||"metric"),n.scaleBar_=i.bar||!1,n.scaleBarSteps_=i.steps||4,n.scaleBarText_=i.text||!1,n.dpi_=i.dpi||void 0,n}return yD(e,t),e.prototype.getUnits=function(){return this.get(CD)},e.prototype.handleUnitsChanged_=function(){this.updateElement_()},e.prototype.setUnits=function(t){this.set(CD,t)},e.prototype.setDpi=function(t){this.dpi_=t},e.prototype.updateElement_=function(){var t=this.viewState_;if(t){var e,n=t.center,i=t.projection,o=this.getUnits(),r=rS(i,t.resolution,n,"degrees"==o?Fk.DEGREES:Fk.METERS),a=this.minWidth_*(this.dpi_||OD)/OD,s=a*r,c="";if("degrees"==o){var l=Ek[Fk.DEGREES];(s*=l)<l/60?(c="\u2033",r*=3600):s<l?(c="\u2032",r*=60):c="\xb0"}else"imperial"==o?s<.9144?(c="in",r/=.0254):s<1609.344?(c="ft",r/=.3048):(c="mi",r/=1609.344):"nautical"==o?(r/=1852,c="nm"):"metric"==o?s<.001?(c="\u03bcm",r*=1e6):s<1?(c="mm",r*=1e3):s<1e3?c="m":(c="km",r/=1e3):"us"==o?s<.9144?(c="in",r*=39.37):s<1609.344?(c="ft",r/=.30480061):(c="mi",r/=1609.3472):vw(!1,33);for(var u,d,h,p=3*Math.floor(Math.log(a*r)/Math.log(10));;){h=Math.floor(p/3);var f=Math.pow(10,h);if(u=bD[(p%3+3)%3]*f,d=Math.round(u/r),isNaN(d))return this.element.style.display="none",void(this.renderedVisible_=!1);if(d>=a)break;++p}e=this.scaleBar_?this.createScaleBar(d,u,c):u.toFixed(h<0?-h:0)+" "+c,this.renderedHTML_!=e&&(this.innerElement_.innerHTML=e,this.renderedHTML_=e),this.renderedWidth_!=d&&(this.innerElement_.style.width=d+"px",this.renderedWidth_=d),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},e.prototype.createScaleBar=function(t,e,n){for(var i="1 : "+Math.round(this.getScaleForResolution()).toLocaleStr
1ing(),o=[],r=t/this.scaleBarSteps_,a="#ffffff",s=0;s<this.scaleBarSteps_;s++)0===s&&o.push(this.createMarker("absolute",s)),o.push('<div><div class="ol-scale-singlebar" style="width: '+r+"px;background-color: "+a+';"></div>'+this.createMarker("relative",s)+(s%2==0||2===this.scaleBarSteps_?this.createStepText(s,t,!1,e,n):"")+"</div>"),s===this.scaleBarSteps_-1&&o.push(this.createStepText(s+1,t,!0,e,n)),a="#ffffff"===a?"#000000":"#ffffff";return'<div style="display: flex;">'+(this.scaleBarText_?'<div class="ol-scale-text" style="width: '+t+'px;">'+i+"</div>":"")+o.join("")+"</div>"},e.prototype.createMarker=function(t,e){return'<div class="ol-scale-step-marker" style="position: '+t+";top: "+("absolute"===t?3:-10)+'px;"></div>'},e.prototype.createStepText=function(t,e,n,i,o){var r=0===t?0:Math.round(i/this.scaleBarSteps_*t*100)/100;return'<div class="ol-scale-step-text" style="margin-left: '+(0===t?-3:e/this.scaleBarSteps_*-1)+"px;text-align: "+(0===t?"left":"center")+"; min-width: "+(0===t?0:e/this.scaleBarSteps_*2)+"px;left: "+(n?e+"px":"unset")+';">'+r+(0===t?"":" "+o)+"</div>"},e.prototype.getScaleForResolution=function(){var t=rS(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center),e=this.dpi_||OD,n=this.viewState_.projection.getMetersPerUnit();return parseFloat(t.toString())*n*(1e3/25.4)*e},e.prototype.render=function(t){var e=t.frameState;this.viewState_=e?e.viewState:null,this.updateElement_()},e}(HA),wD=PD,MD=(nD=function(t,e){return(nD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}nD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),xD=function(t){function e(e,n,i){var o=t.call(this)||this;return void 0!==i&&void 0===n?o.setFlatCoordinates(i,e):o.setCenterAndRadius(e,n||0,i),o}return MD(e,t),e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),void 0,this.layout);return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){var o=this.flatCoordinates,r=t-o[0],a=e-o[1],s=r*r+a*a;if(s<i){if(0===s)for(var c=0;c<this.stride;++c)n[c]=o[c];else{var l=this.getRadius()/Math.sqrt(s);for(n[0]=o[0]+l*r,n[1]=o[1]+l*a,c=2;c<this.stride;++c)n[c]=o[c]}return n.length=this.stride,s}return i},e.prototype.containsXY=function(t,e){var n=this.flatCoordinates,i=t-n[0],o=e-n[1];return i*i+o*o<=this.getRadiusSquared_()},e.prototype.getCenter=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.computeExtent=function(t){var e=this.flatCoordinates,n=e[this.stride]-e[0];return Fw(e[0]-n,e[1]-n,e[0]+n,e[1]+n,t)},e.prototype.getRadius=function(){return Math.sqrt(this.getRadiusSquared_())},e.prototype.getRadiusSquared_=function(){var t=this.flatCoordinates[this.stride]-this.flatCoordinates[0],e=this.flatCoordinates[this.stride+1]-this.flatCoordinates[1];return t*t+e*e},e.prototype.getType=function(){return"Circle"},e.prototype.intersectsExtent=function(t){if(eM(t,this.getExtent())){var e=this.getCenter();return t[0]<=e[0]&&t[2]>=e[0]||t[1]<=e[1]&&t[3]>=e[1]||qw(t,this.intersectsCoordinate.bind(this))}return!1},e.prototype.setCenter=function(t){var e=this.stride,n=this.flatCoordinates[e]-this.flatCoordinates[0],i=t.slice();i[e]=i[0]+n;for(var o=1;o<e;++o)i[e+o]=t[o];this.setFlatCoordinates(this.layout,i),this.changed()},e.prototype.setCenterAndRadius=function(t,e,n){this.setLayout(n,t,0),this.flatCoordinates||(this.flatCoordinates=[]);var i=this.flatCoordinates,o=GS(i,0,t);i[o++]=i[0]+e;for(var r=1,a=this.stride;r<a;++r)i[o++]=i[r];i.length=o,this.changed()},e.prototype.getCoordinates=function(){return null},e.prototype.setCoordinates=function(t,e){},e.prototype.setRadius=function(t){this.flatCoordinates[this.stride]=this.flatCoordinates[0]+t,this.changed()},e.prototype.rotate=function(t,e){var n=this.getCenter(),i=this.getStride();this.setCenter(AS(n,0,n.length,i,t,e,n)),this.changed()},e.prototype.translate=function(t,e){var n=this.getCenter(),i=this.getStride();this.setCenter(TS(n,0,n.length,i,t,e,n)),this.changed()},e}(VS),kD=xD;function SD(t,e,n,i,o,r,a){var s,c,l=(n-e)/i;
1if(1===l)s=e;else if(2===l)s=e,c=o;else if(0!==l){for(var u=t[e],d=t[e+1],h=0,p=[0],f=e+i;f<n;f+=i){var g=t[f],_=t[f+1];h+=Math.sqrt((g-u)*(g-u)+(_-d)*(_-d)),p.push(h),u=g,d=_}var m=o*h,v=function(t,e,n){for(var i,o,r=iw,a=0,s=t.length,c=!1;a<s;)(o=+r(t[i=a+(s-a>>1)],e))<0?a=i+1:(s=i,c=!o);return c?a:~a}(p,m);v<0?(c=(m-p[-v-2])/(p[-v-1]-p[-v-2]),s=e+(-v-2)*i):s=e+v*i}var y=a>1?a:2,C=r||new Array(y);for(f=0;f<y;++f)C[f]=void 0===s?NaN:void 0===c?t[s+f]:uM(t[s+f],t[s+i+f],c);return C}function AD(t,e,n,i,o,r){if(n==e)return null;var a;if(o<t[e+i-1])return r?((a=t.slice(e,e+i))[i-1]=o,a):null;if(t[n-1]<o)return r?((a=t.slice(n-i,n))[i-1]=o,a):null;if(o==t[e+i-1])return t.slice(e,e+i);for(var s=e/i,c=n/i;s<c;){var l=s+c>>1;o<t[(l+1)*i-1]?c=l:s=l+1}var u=t[s*i-1];if(o==u)return t.slice((s-1)*i,(s-1)*i+i);var d=(o-u)/(t[(s+1)*i-1]-u);a=[];for(var h=0;h<i-1;++h)a.push(uM(t[(s-1)*i+h],t[s*i+h],d));return a.push(o),a}function TD(t,e,n,i){for(var o=t[e],r=t[e+1],a=0,s=e+i;s<n;s+=i){var c=t[s],l=t[s+1];a+=Math.sqrt((c-o)*(c-o)+(l-r)*(l-r)),o=c,r=l}return a}var ID,ED,DD,RD,FD,LD,ZD,ND,UD=(ND=function(t,e){return(ND=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ND(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),VD=function(t){function e(e,n){var i=t.call(this)||this;return i.flatMidpoint_=null,i.flatMidpointRevision_=-1,i.maxDelta_=-1,i.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?i.setCoordinates(e,n):i.setFlatCoordinates(n,e),i}return UD(e,t),e.prototype.appendCoordinate=function(t){this.flatCoordinates?aw(this.flatCoordinates,t):this.flatCoordinates=t.slice(),this.changed()},e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){return i<Tw(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(zS(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),BS(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,n,i))},e.prototype.forEachSegment=function(t){return _A(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinateAtM=function(t,e){return"XYM"!=this.layout&&"XYZM"!=this.layout?null:AD(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,void 0!==e&&e)},e.prototype.getCoordinates=function(){return $S(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinateAt=function(t,e){return SD(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,this.stride)},e.prototype.getLength=function(){return TD(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getFlatMidpoint=function(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=WS(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,"XY")},e.prototype.getType=function(){return"LineString"},e.prototype.intersectsExtent=function(t){return mA(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=HS(this.flatCoordinates,0,t,this.stride),this.changed()},e}(VS),jD=VD,zD=(ZD=function(t,e){return(ZD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ZD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),qD=function(t){function e(e,n,i){var o=t.call(this)||this;if(o.ends_=[],o.maxDelta_=-1,o.maxDeltaRevision_=-1,Array.isArray(e[0]))o.setCo
1ordinates(e,n);else if(void 0!==n&&i)o.setFlatCoordinates(n,e),o.ends_=i;else{for(var r=o.getLayout(),a=e,s=[],c=[],l=0,u=a.length;l<u;++l){var d=a[l];0===l&&(r=d.getLayout()),aw(s,d.getFlatCoordinates()),c.push(s.length)}o.setFlatCoordinates(r,s),o.ends_=c}return o}return zD(e,t),e.prototype.appendLineString=function(t){this.flatCoordinates?aw(this.flatCoordinates,t.getFlatCoordinates().slice()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){return i<Tw(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(qS(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),YS(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,n,i))},e.prototype.getCoordinateAtM=function(t,e,n){return"XYM"!=this.layout&&"XYZM"!=this.layout||0===this.flatCoordinates.length?null:function(t,e,n,i,o,r,a){if(a)return AD(t,e,n[n.length-1],i,o,r);var s;if(o<t[i-1])return r?((s=t.slice(0,i))[i-1]=o,s):null;if(t[t.length-1]<o)return r?((s=t.slice(t.length-i))[i-1]=o,s):null;for(var c=0,l=n.length;c<l;++c){var u=n[c];if(e!=u){if(o<t[e+i-1])return null;if(o<=t[u-1])return AD(t,e,u,i,o,!1);e=u}}return null}(this.flatCoordinates,0,this.ends_,this.stride,t,void 0!==e&&e,void 0!==n&&n)},e.prototype.getCoordinates=function(){return tA(this.flatCoordinates,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getLineString=function(t){return t<0||this.ends_.length<=t?null:new jD(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLineStrings=function(){for(var t=this.flatCoordinates,e=this.ends_,n=this.layout,i=[],o=0,r=0,a=e.length;r<a;++r){var s=e[r],c=new jD(t.slice(o,s),n);i.push(c),o=s}return i},e.prototype.getFlatMidpoints=function(){for(var t=[],e=this.flatCoordinates,n=0,i=this.ends_,o=this.stride,r=0,a=i.length;r<a;++r){var s=i[r];aw(t,SD(e,n,s,o,.5)),n=s}return t},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],i=[];return n.length=function(t,e,n,i,o,r,a,s){for(var c=0,l=n.length;c<l;++c){var u=n[c];a=WS(t,e,u,i,o,r,a),s.push(a),e=u}return a}(this.flatCoordinates,0,this.ends_,this.stride,t,n,0,i),new e(n,"XY",i)},e.prototype.getType=function(){return"MultiLineString"},e.prototype.intersectsExtent=function(t){return function(t,e,n,i,o){for(var r=0,a=n.length;r<a;++r){if(mA(t,e,n[r],i,o))return!0;e=n[r]}return!1}(this.flatCoordinates,0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=JS(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(VS),BD=qD,YD=(LD=function(t,e){return(LD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}LD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),GD=function(t){function e(e,n){var i=t.call(this)||this;return n&&!Array.isArray(e[0])?i.setFlatCoordinates(n,e):i.setCoordinates(e,n),i}return YD(e,t),e.prototype.appendPoint=function(t){this.flatCoordinates?aw(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.changed()},e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){if(i<Tw(this.getExtent(),t,e))return i;for(var o=this.flatCoordinates,r=this.stride,a=0,s=o.length;a<s;a+=r){var c=sM(t,e,o[a],o[a+1]);if(c<i){i=c;for(var l=0;l<r;++l)n[l]=o[a+l];n.length=r}}return i},e.prototype.getCoordinates=function(){return $S(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getPoint=function(t){return t<0||(this.flatCoordinates?this.flatCoordinates.length/this.stride:0)<=t?null:new dA(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)},e.prototype.getPoints=function(){for(var t=this.flatCoordinates,e=this.layout,n=this.stride,i=[],o=0,r=t.length;o<r;o+=n){var a=new dA(t.slice(o,o+n),e);i.push(a)}return i},e.prototype.getType=function(){return"MultiPoint"},e.prototype.intersectsExtent=function(t){for(var e=this.flatCoordinates,n=this.stride,i=0,o=e.length;i<o;i+=n)if(Dw(t,e[i],e[i+1]))return!0;return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=HS(this.flatCoordinates,0,t,this.stride),this.changed()},e}
1(VS),HD=GD,JD=(FD=function(t,e){return(FD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}FD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),WD=function(t){function e(e,n,i){var o=t.call(this)||this;if(o.endss_=[],o.flatInteriorPointsRevision_=-1,o.flatInteriorPoints_=null,o.maxDelta_=-1,o.maxDeltaRevision_=-1,o.orientedRevision_=-1,o.orientedFlatCoordinates_=null,!i&&!Array.isArray(e[0])){for(var r=o.getLayout(),a=e,s=[],c=[],l=0,u=a.length;l<u;++l){var d=a[l];0===l&&(r=d.getLayout());for(var h=s.length,p=d.getEnds(),f=0,g=p.length;f<g;++f)p[f]+=h;aw(s,d.getFlatCoordinates()),c.push(p)}n=r,e=s,i=c}return void 0!==n&&i?(o.setFlatCoordinates(n,e),o.endss_=i):o.setCoordinates(e,n),o}return JD(e,t),e.prototype.appendPolygon=function(t){var e;if(this.flatCoordinates){var n=this.flatCoordinates.length;aw(this.flatCoordinates,t.getFlatCoordinates());for(var i=0,o=(e=t.getEnds().slice()).length;i<o;++i)e[i]+=n}else this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();this.endss_.push(e),this.changed()},e.prototype.clone=function(){for(var t=this.endss_.length,n=new Array(t),i=0;i<t;++i)n[i]=this.endss_[i].slice();var o=new e(this.flatCoordinates.slice(),this.layout,n);return o.applyProperties(this),o},e.prototype.closestPointXY=function(t,e,n,i){return i<Tw(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(function(t,e,n,i,o){for(var r=0,a=n.length;r<a;++r){var s=n[r];o=qS(t,e,s,i,o),e=s[s.length-1]}return o}(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),function(t,e,n,i,o,r,a,s,c,l,u){for(var d=[NaN,NaN],h=0,p=n.length;h<p;++h){var f=n[h];l=YS(t,e,f,i,o,!0,a,s,c,l,d),e=f[f.length-1]}return l}(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,0,t,e,n,i))},e.prototype.containsXY=function(t,e){return function(t,e,n,i,o,r){if(0===n.length)return!1;for(var a=0,s=n.length;a<s;++a){var c=n[a];if(fA(t,e,c,i,o,r))return!0;e=c[c.length-1]}return!1}(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)},e.prototype.getArea=function(){return function(t,e,n,i){for(var o=0,r=0,a=n.length;r<a;++r){var s=n[r];o+=iA(t,e,s,i),e=s[s.length-1]}return o}(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?PA(e=this.getOrientedFlatCoordinates().slice(),0,this.endss_,this.stride,t):e=this.flatCoordinates,eA(e,0,this.endss_,this.stride)},e.prototype.getEndss=function(){return this.endss_},e.prototype.getFlatInteriorPoints=function(){if(this.flatInteriorPointsRevision_!=this.getRevision()){var t=function(t,e,n,i){for(var o=[],r=[1/0,1/0,-1/0,-1/0],a=0,s=n.length;a<s;++a){var c=n[a];r=Zw(t,e,c[0],i),o.push((r[0]+r[2])/2,(r[1]+r[3])/2),e=c[c.length-1]}return o}(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=function(t,e,n,i,o){for(var r=[],a=0,s=n.length;a<s;++a){var c=n[a];r=gA(t,e,c,i,o,2*a,r),e=c[c.length-1]}return r}(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_},e.prototype.getInteriorPoints=function(){return new HD(this.getFlatInteriorPoints().slice(),"XYM")},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;!function(t,e,n,i,o){for(var r=0,a=n.length;r<a;++r){var s=n[r];if(!bA(t,e,s,i,void 0))return!1;s.length&&(e=s[s.length-1])}return!0}(t,0,this.endss_,this.stride)?(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=PA(this.orientedFlatCoordinates_,0,this.endss_,this.stride)):this.orientedFlatCoordinates_=t,this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],i=[];return n.length=function(t,e,n,i,o,r,a,s){for(var c=0,l=n.length;c<l;++c){var u=n[c],d=[];a=XS(t,e,u,i,o,r,a,d),s.push(d),e=u[u.length-1]}return a}(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),n,0,i),new e(n,"XY",i)},e.prototype.getPolygon=function(t){if(t<0||this.endss_.length<=t)return null;var e;if(0===t)e=0;else{var n=this.endss_[t-1];e=n[n.length-1]}var i=this.endss_[t].slice(),o=i[i.length-1];if(0!==e)for(var r=0,a=i.length;r<a;++r)i[r]-=e;return new kA(this.flatCoordinates.slice(e,o),this.layout,i)},e.prototype.getPolygons=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.endss_,i=[],o=0,r=0,a=n.length;r<a;++r){var s=n[r].slice(),c=s[s.length-1];if(0!==o)for(var l=0,u=s.length;l<u;++l)s[l]-=o;var d=new kA(e.slice(o,c),t,s);i.push(d),o=c}return i},e.prototype.getType=function(){return"MultiPolygon"},e.prototype.intersectsExtent=function(t){return function(t,e,n,i,o){for(var r=0,a=n.length;r<a;++r){var s=n[r];if(vA(t,e,s,i,o))return!0;e=s[s.length-1]}return!1}(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);var n=function(t,e,n,i,o){for(var r=o||[],a=0,s=0,c=n.length;s<c;++s){var l=JS(t,e,n[s],i,r[a]);r[a++]=l,e=l[l.length-1]}return r.length=a,r}(this.flatCoordinates,0,t,this.stride,this.endss_);if(0===n.length)this.flatCoordinates.length=0;else{var i=n[n.length-1];this.flatCoordinates.length=0===i.length?0:i[i.length-1]}this.changed()},e}(VS),QD=WD,KD={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},XD=[KD.FILL],$D=[KD.STROKE],tR=[KD.BEGIN_PATH],eR=[KD.CLOSE_PATH],nR=KD,iR=function(){function t(){}return t.prototype.drawCustom=function(t,e,n){},t.prototype.drawGeometry=function(t){},t.prototype.setStyle=function(t){},t.prototype.drawCircle=function(t,e){},t.prototype.drawFeature=function(t,e){},t.prototype.drawGeometryCollection=function(t,e){},t.prototype.drawLineString=function(t,e){},t.prototype.drawMultiLineString=function(t,e){},t.prototype.drawMultiPoint=function(t,e){},t.prototype.drawMultiPolygon=function(t,e){},t.prototype.drawPoint=function(t,e){},t.prototype.drawPolygon=function(t,e){},t.prototype.drawText=function(t,e){},t.prototype.setFillStrokeStyle=function(t,e){},t.prototype.setImageStyle=function(t,e){},t.prototype.setTextStyle=function(t,e){},t}
1(),oR=iR,rR=(RD=function(t,e){return(RD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}RD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),aR=function(t){function e(e,n,i,o){var r=t.call(this)||this;return r.tolerance=e,r.maxExtent=n,r.pixelRatio=o,r.maxLineWidth=0,r.resolution=i,r.beginGeometryInstruction1_=null,r.beginGeometryInstruction2_=null,r.bufferedMaxExtent_=null,r.instructions=[],r.coordinates=[],r.tmpCoordinate_=[],r.hitDetectionInstructions=[],r.state={},r}return rR(e,t),e.prototype.applyPixelRatio=function(t){var e=this.pixelRatio;return 1==e?t:t.map(function(t){return t*e})},e.prototype.appendFlatPointCoordinates=function(t,e){for(var n=this.getBufferedMaxExtent(),i=this.tmpCoordinate_,o=this.coordinates,r=o.length,a=0,s=t.length;a<s;a+=e)i[0]=t[a],i[1]=t[a+1],Iw(n,i)&&(o[r++]=i[0],o[r++]=i[1]);return r},e.prototype.appendFlatLineCoordinates=function(t,e,n,i,o,r){var a=this.coordinates,s=a.length,c=this.getBufferedMaxExtent();r&&(e+=i);var l,u,d,h=t[e],p=t[e+1],f=this.tmpCoordinate_,g=!0;for(l=e+i;l<n;l+=i)f[0]=t[l],f[1]=t[l+1],(d=Rw(c,f))!==u?(g&&(a[s++]=h,a[s++]=p,g=!1),a[s++]=f[0],a[s++]=f[1]):1===d?(a[s++]=f[0],a[s++]=f[1],g=!1):g=!0,h=f[0],p=f[1],u=d;return(o&&g||l===e+i)&&(a[s++]=h,a[s++]=p),s},e.prototype.drawCustomCoordinates_=function(t,e,n,i,o){for(var r=0,a=n.length;r<a;++r){var s=n[r],c=this.appendFlatLineCoordinates(t,e,s,i,!1,!1);o.push(c),e=s}return e},e.prototype.drawCustom=function(t,e,n){this.beginGeometry(t,e);var i,o,r,a,s,c=t.getType(),l=t.getStride(),u=this.coordinates.length;if("MultiPolygon"==c){i=t.getOrientedFlatCoordinates(),a=[];var d=t.getEndss();s=0;for(var h=0,p=d.length;h<p;++h){var f=[];s=this.drawCustomCoordinates_(i,s,d[h],l,f),a.push(f)}this.instructions.push([nR.CUSTOM,u,a,t,n,eA])}else"Polygon"==c||"MultiLineString"==c?(r=[],i="Polygon"==c?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),s=this.drawCustomCoordinates_(i,0,t.getEnds(),l,r),this.instructions.push([nR.CUSTOM,u,r,t,n,tA])):"LineString"==c||"Circle"==c?(i=t.getFlatCoordinates(),o=this.appendFlatLineCoordinates(i,0,i.length,l,!1,!1),this.instructions.push([nR.CUSTOM,u,o,t,n,$S])):"MultiPoint"==c?(i=t.getFlatCoordinates(),(o=this.appendFlatPointCoordinates(i,l))>u&&this.instructions.push([nR.CUSTOM,u,o,t,n,$S])):"Point"==c&&(i=t.getFlatCoordinates(),this.coordinates.push(i[0],i[1]),this.instructions.push([nR.CUSTOM,u,o=this.coordinates.length,t,n]));this.endGeometry(e)},e.prototype.beginGeometry=function(t,e){this.beginGeometryInstruction1_=[nR.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[nR.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},e.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},e.prototype.reverseHitDetectionInstructions=function(){var t=this.hitDetectionInstructions;t.reverse();var e,n,i,o=t.length,r=-1;for(e=0;e<o;++e)(i=(n=t[e])[0])==nR.END_GEOMETRY?r=e:i==nR.BEGIN_GEOMETRY&&(n[2]=e,rw(this.hitDetectionInstructions,r,e),r=-1)},e.prototype.setFillStrokeStyle=function(t,e){var n=this.state;if(t){var i=t.getColor();n.fillStyle=NI(i||Rx)}else n.fillStyle=void 0;if(e){var o=e.getColor();n.strokeStyle=NI(o||Nx);var r=e.getLineCap();n.lineCap=void 0!==r?r:Fx;var a=e.getLineDash();n.lineDash=a?a.slice():Lx;var s=e.getLineDashOffset();n.lineDashOffset=s||0;var c=e.getLineJoin();n.lineJoin=void 0!==c?c:Zx;var l=e.getWidth();n.lineWidth=void 0!==l?l:1;var u=e.getMiterLimit();n.miterLimit=void 0!==u?u:10,n.lineWidth>this.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0},e.prototype.createFill=function(t){var e=t.fillStyle,n=[nR.SET_FILL_STYLE,e];return"string"!=typeof e&&n.push(!0),n},e.prototype.applyStroke=function(t){this.instructions.push(this.createStroke(t))},e.prototype.createStroke=function(t){return[nR.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(t,e){var n=t.fillStyle;("string"!=typeof n||t.currentFillStyle!=n)&&(void 0!==n&&this.instructions.push(e.call(this,t)),t.currentFillStyle=n)},e.prototype.updateStrokeStyle=function(t,e){var n=t.strokeStyle,i=t.lineCap,o=t.lineDash,r=t.lineDashOffset,a=t.lineJoin,s=t.lineWidth,c=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=i||o!=t.currentLineDash&&!sw(t.currentLineDash,o)||t.currentLineDashOffset!=r||t.currentLineJoin!=a||t.currentLineWidth!=s||t.currentMiterLimit!=c)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=i,t.currentLineDash=o,t.currentLineDashOffset=r,t.currentLineJoin=a,t.currentLineWidth=s,t.currentMiterLimit=c)},e.prototype.endGeometry=function(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var e=[nR.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)},e.prototype.getBufferedMaxExtent=function(){return!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Aw(this.maxExtent),this.maxLineWidth>0)&&Sw(this.bufferedMaxExtent_,this.resolution*(this.maxLineWidth+1)/2,this.bufferedMaxExtent_),this.bufferedMaxExtent_},e}
vendor: 5,545 bytes, line 1
1(oR),sR=aR,cR=(DD=function(t,e){return(DD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}DD(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),lR=function(t){function e(e,n,i,o){var r=t.call(this,e,n,i,o)||this;return r.hitDetectionImage_=null,r.image_=null,r.imagePixelRatio_=void 0,r.anchorX_=void 0,r.anchorY_=void 0,r.height_=void 0,r.opacity_=void 0,r.originX_=void 0,r.originY_=void 0,r.rotateWithView_=void 0,r.rotation_=void 0,r.scale_=void 0,r.width_=void 0,r.declutterImageWithText_=void 0,r}return cR(e,t),e.prototype.drawPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),i=t.getStride(),o=this.coordinates.length,r=this.appendFlatPointCoordinates(n,i);this.instructions.push([nR.DRAW_IMAGE,o,r,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterImageWithText_]),this.hitDetectionInstructions.push([nR.DRAW_IMAGE,o,r,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterImageWithText_]),this.endGeometry(e)}},e.prototype.drawMultiPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),i=t.getStride(),o=this.coordinates.length,r=this.appendFlatPointCoordinates(n,i);this.instructions.push([nR.DRAW_IMAGE,o,r,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterImageWithText_]),this.hitDetectionInstructions.push([nR.DRAW_IMAGE,o,r,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterImageWithText_]),this.endGeometry(e)}},e.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,t.prototype.finish.call(this)},e.prototype.setImageStyle=function(t,e){var n=t.getAnchor(),i=t.getSize(),o=t.getHitDetectionImage(),r=t.getImage(this.pixelRatio),a=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=n[0],this.anchorY_=n[1],this.hitDetectionImage_=o,this.image_=r,this.height_=i[1],this.opacity_=t.getOpacity(),this.originX_=a[0],this.originY_=a[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=i[0],this.declutterImageWithText_=e},e}(sR),uR=lR,dR=(ED=function(t,e){return(ED=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ED(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),hR=function(t){function e(e,n,i,o){return t.call(this,e,n,i,o)||this}return dR(e,t),e.prototype.drawFlatCoordinates_=function(t,e,n,i){var o=this.coordinates.length,r=this.appendFlatLineCoordinates(t,e,n,i,!1,!1),a=[nR.MOVE_TO_LINE_TO,o,r];return this.instructions.push(a),this.hitDetectionInstructions.push(a),n},e.prototype.drawLineString=function(t,e){var n=this.state;if(void 0!==n.strokeStyle&&void 0!==n.lineWidth){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([nR.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],tR);var i=t.getFlatCoordinates(),o=t.getStride();this.drawFlatCoordinates_(i,0,i.length,o),this.hitDetectionInstructions.push($D),this.endGeometry(e)}},e.prototype.drawMultiLineString=function(t,e){var n=this.state;if(void 0!==n.strokeStyle&&void 0!==n.lineWidth){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([nR.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],tR);for(var i=t.getEnds(),o=t.getFlatCoordinates(),r=t.getStride(),a=0,s=0,c=i.length;s<c;++s)a=this.drawFlatCoordinates_(o,a,i[s],r);this.hitDetectionInstructions.push($D),this.endGeometry(e)}},e.prototype.finish=function(){var e=this.state;return null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&this.instructions.push($D),this.reverseHitDetectionInstructions(),this.state=null,t.prototype.finish.call(this)},e.prototype.applyStroke=function(e){null!=e.lastStroke&&e.lastStroke!=this.coordinates.length&&(this.instructions.push($D),e.lastStroke=this.coordinates.length),e.lastStroke=0,t.prototype.applyStroke.call(this,e),this.instructions.push(tR)},e}
1(sR),pR=hR,fR=(ID=function(t,e){return(ID=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ID(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),gR=function(t){function e(e,n,i,o){return t.call(this,e,n,i,o)||this}return fR(e,t),e.prototype.drawFlatCoordinatess_=function(t,e,n,i){var o=this.state,r=void 0!==o.fillStyle,a=void 0!==o.strokeStyle,s=n.length;this.instructions.push(tR),this.hitDetectionInstructions.push(tR);for(var c=0;c<s;++c){var l=n[c],u=this.coordinates.length,d=this.appendFlatLineCoordinates(t,e,l,i,!0,!a),h=[nR.MOVE_TO_LINE_TO,u,d];this.instructions.push(h),this.hitDetectionInstructions.push(h),a&&(this.instructions.push(eR),this.hitDetectionInstructions.push(eR)),e=l}return r&&(this.instructions.push(XD),this.hitDetectionInstructions.push(XD)),a&&(this.instructions.push($D),this.hitDetectionInstructions.push($D)),e},e.prototype.drawCircle=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([nR.SET_FILL_STYLE,Rx]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([nR.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var i=t.getFlatCoordinates(),o=t.getStride(),r=this.coordinates.length;this.appendFlatLineCoordinates(i,0,i.length,o,!1,!1);var a=[nR.CIRCLE,r];this.instructions.push(tR,a),this.hitDetectionInstructions.push(tR,a),void 0!==n.fillStyle&&(this.instructions.push(XD),this.hitDetectionInstructions.push(XD)),void 0!==n.strokeStyle&&(this.instructions.push($D),this.hitDetectionInstructions.push($D)),this.endGeometry(e)}},e.prototype.drawPolygon=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([nR.SET_FILL_STYLE,Rx]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([nR.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);var i=t.getEnds(),o=t.getOrientedFlatCoordinates(),r=t.getStride();this.drawFlatCoordinatess_(o,0,i,r),this.endGeometry(e)}},e.prototype.drawMultiPolygon=function(t,e){var n=this.state;if(void 0!==n.fillStyle||void 0!==n.strokeStyle){this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([nR.SET_FILL_STYLE,Rx]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([nR.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);for(var i=t.getEndss(),o=t.getOrientedFlatCoordinates(),r=t.getStride(),a=0,s=0,c=i.length;s<c;++s)a=this.drawFlatCoordinatess_(o,a,i[s],r);this.endGeometry(e)}},e.prototype.finish=function(){this.reverseHitDetectionInstructions(),this.state=null;var e=this.tolerance;if(0!==e)for(var n=this.coordinates,i=0,o=n.length;i<o;++i)n[i]=QS(n[i],e);return t.prototype.finish.call(this)},e.prototype.setFillStrokeStyles_=function(){var t=this.state;void 0!==t.fillStyle&&this.updateFillStyle(t,this.createFill),void 0!==t.strokeStyle&&this.updateStrokeStyle(t,this.applyStroke)},e}(sR),_R=gR;function mR(t,e,n,i,o){var r,a,s,c,l,u,d,h,p,f=n,g=n,_=0,m=0,v=n;for(r=n;r<i;r+=o){var y=e[r],C=e[r+1];void 0!==c&&(h=y-c,p=C-l,s=Math.sqrt(h*h+p*p),void 0!==u&&(m+=a,Math.acos((u*h+d*p)/(a*s))>t&&(m>_&&(_=m,f=v,g=r),m=0,v=r-o)),a=s,u=h,d=p),c=y,l=C}return(m+=s)>_?[v,r]:[f,g]}var vR,yR,CR=(yR=function(t,e){return(yR=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}yR(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),bR={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},OR=function(t){function e(e,n,i,o){var r=t.call(this,e,n,i,o)||this;return r.labels_=null,r.text_="",r.textOffsetX_=0,r.textOffsetY_=0,r.textRotateWithView_=void 0,r.textRotation_=0,r.textFillState_=null,r.fillStates={},r.textStrokeState_=null,r.strokeStates={},r.textState_={},r.textStates={},r.textKey_="",r.fillKey_="",r.strokeKey_="",r.declutterImageWithText_=void 0,r}return CR(e,t),e.prototype.finish=function(){var e=t.prototype.finish.call(this);return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e},e.prototype.drawText=function(t,e){var n=this.textState_;if(""!==this.text_&&n&&(this.textFillState_||this.textStrokeState_)){var i=this.coordinates,o=i.length,r=t.getType(),a=null,s=t.getStride();if("line"!==n.placement||"LineString"!=r&&"MultiLineString"!=r&&"Polygon"!=r&&"MultiPolygon"!=r){var c=n.overflow?null:[];switch(r){case"Point":case"MultiPoint":a=t.getFlatCoordinates();break;case"LineString":a=t.getFlatMidpoint();break;case"Circle":a=t.getCenter();break;case"MultiLineString":a=t.getFlatMidpoints(),s=2;break;case"Polygon":a=t.getFlatInteriorPoint(),n.overflow||c.push(a[2]/this.resolution),s=3;break;case"MultiPolygon":var l=t.getFlatInteriorPoints();for(a=[],y=0,C=l.length;y<C;y+=3)n.overflow||c.push(l[y+2]/this.resolution),a.push(l[y],l[y+1]);if(0===a.length)return;s=2}if((k=this.appendFlatPointCoordinates(a,s))===o)return;this.saveTextStates_(),(n.backgroundFill||n.backgroundStroke)&&(this.setFillStrokeStyle(n.backgroundFill,n.backgroundStroke),n.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),n.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);var u=n.padding;if(u!=jx&&(n.scale[0]<0||n.scale[1]<0)){var d=n.padding[0],h=n.padding[1],p=n.padding[2],f=n.padding[3];n.scale[0]<0&&(h=-h,f=-f),n.scale[1]<0&&(d=-d,p=-p),u=[d,h,p,f]}var g=this.pixelRatio;this.instructions.push([nR.DRAW_IMAGE,o,k,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterImageWithText_,u==jx?jx:u.map(function(t){return t*g}),!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,c]);var _=1/g;this.hitDetectionInstructions.push([nR.DRAW_IMAGE,o,k,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[_,_],NaN,this.declutterImageWithText_,u,!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,c]),this.endGeometry(e)}else{if(!eM(this.getBufferedMaxExtent(),t.getExtent()))return;var m=void 0;if(a=t.getFlatCoordinates(),"LineString"==r)m=[a.length];else if("MultiLineString"==r)m=t.getEnds();else if("Polygon"==r)m=t.getEnds().slice(0,1);else if("MultiPolygon"==r){var v=t.getEndss();m=[];for(var y=0,C=v.length;y<C;++y)m.push(v[y][0])}this.beginGeometry(t,e);for(var b=n.textAlign,O=0,P=void 0,w=0,M=m.length;w<M;++w){if(null==b){var x=mR(n.maxAngle,a,O,m[w],s);O=x[0],P=x[1]}else P=m[w];for(y=O;y<P;y+=s)i.push(a[y],a[y+1]);var k;O=m[w],this.drawChars_(o,k=i.length),o=k}this.endGeometry(e)}}},e.prototype.saveTextStates_=function(){var t=this.textStrokeState_,e=this.textState_,n=this.textFillState_,i=this.strokeKey_;t&&(i in this.strokeStates||(this.strokeStates[i]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));var o=this.textKey_;o in this.textStates||(this.textStates[o]={font:e.font,textAlign:e.textAlign||Ux,textBaseline:e.textBaseline||Vx,scale:e.scale});var r=this.fillKey_;n&&(r in this.fillStates||(this.fillStates[r]={fillStyle:n.fillStyle}))},e.prototype.drawChars_=function(t,e){var n=this.textStrokeState_,i=this.textState_,o=this.strokeKey_,r=this.textKey_,a=this.fillKey_;this.saveTextStates_();var s=this.pixelRatio,c=bR[i.textBaseline],l=this.textOffsetY_*s,u=this.text_,d=n?n.lineWidth*Math.abs(i.scale[0])/2:0;this.instructions.push([nR.DRAW_CHARS,t,e,c,i.overflow,a,i.maxAngle,s,l,o,d*s,u,r,1]),this.hitDetectionInstructions.push([nR.DRAW_CHARS,t,e,c,i.overflow,a,i.maxAngle,1,l,o,d,u,r,1/s])},e.prototype.setTextStyle=function(t,e){var n,i,o;
1if(t){var r=t.getFill();r?((i=this.textFillState_)||(this.textFillState_=i={}),i.fillStyle=NI(r.getColor()||Rx)):this.textFillState_=i=null;var a=t.getStroke();if(a){(o=this.textStrokeState_)||(this.textStrokeState_=o={});var s=a.getLineDash(),c=a.getLineDashOffset(),l=a.getWidth(),u=a.getMiterLimit();o.lineCap=a.getLineCap()||Fx,o.lineDash=s?s.slice():Lx,o.lineDashOffset=void 0===c?0:c,o.lineJoin=a.getLineJoin()||Zx,o.lineWidth=void 0===l?1:l,o.miterLimit=void 0===u?10:u,o.strokeStyle=NI(a.getColor()||Nx)}else this.textStrokeState_=o=null;n=this.textState_;var d=t.getFont()||Dx;Gx(d);var h=t.getScaleArray();n.overflow=t.getOverflow(),n.font=d,n.maxAngle=t.getMaxAngle(),n.placement=t.getPlacement(),n.textAlign=t.getTextAlign(),n.textBaseline=t.getTextBaseline()||Vx,n.backgroundFill=t.getBackgroundFill(),n.backgroundStroke=t.getBackgroundStroke(),n.padding=t.getPadding()||jx,n.scale=void 0===h?[1,1]:h;var p=t.getOffsetX(),f=t.getOffsetY(),g=t.getRotateWithView(),_=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===p?0:p,this.textOffsetY_=void 0===f?0:f,this.textRotateWithView_=void 0!==g&&g,this.textRotation_=void 0===_?0:_,this.strokeKey_=o?("string"==typeof o.strokeStyle?o.strokeStyle:pw(o.strokeStyle))+o.lineCap+o.lineDashOffset+"|"+o.lineWidth+o.lineJoin+o.miterLimit+"["+o.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?")+(n.textBaseline||"?"),this.fillKey_=i?"string"==typeof i.fillStyle?i.fillStyle:"|"+pw(i.fillStyle):""}else this.text_="";this.declutterImageWithText_=e},e}(sR),PR={Circle:_R,Default:sR,Image:uR,LineString:pR,Polygon:_R,Text:OR},wR=function(){function t(t,e,n,i){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=i,this.resolution_=n,this.buildersByZIndex_={}}return t.prototype.finish=function(){var t={};for(var e in this.buildersByZIndex_){t[e]=t[e]||{};var n=this.buildersByZIndex_[e];for(var i in n){var o=n[i].finish();t[e][i]=o}}return t},t.prototype.getBuilder=function(t,e){var n=void 0!==t?t.toString():"0",i=this.buildersByZIndex_[n];void 0===i&&(this.buildersByZIndex_[n]=i={});var o=i[e];return void 0===o&&(o=new(0,PR[e])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),i[e]=o),o},t}(),MR=wR,xR=(vR=function(t,e){return(vR=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}vR(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),kR=function(t){function e(e){var n=t.call(this,e)||this;return n.container=null,n.tempTransform=[1,0,0,1,0,0],n.pixelTransform=[1,0,0,1,0,0],n.inversePixelTransform=[1,0,0,1,0,0],n.context=null,n.containerReused=!1,n}return xR(e,t),e.prototype.useContainer=function(t,e,n){var i,o,r=this.getLayer().getClassName();if(t&&""===t.style.opacity&&t.className===r&&(a=t.firstElementChild)instanceof HTMLCanvasElement&&(o=a.getContext("2d")),!o||0!==o.canvas.width&&o.canvas.style.transform!==e?this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1):(this.container=t,this.context=o,this.containerReused=!0),!this.container){(i=document.createElement("div")).className=r;var a,s=i.style;s.position="absolute",s.width="100%",s.height="100%",o=Tx(),i.appendChild(a=o.canvas),(s=a.style).position="absolute",s.left="0",s.transformOrigin="top left",this.container=i,this.context=o}},e.prototype.clip=function(t,e,n){var i=e.pixelRatio,o=e.size[0]*i/2,r=e.size[1]*i/2,a=e.viewState.rotation,s=Xw(n),c=$w(n),l=Gw(n),u=Yw(n);Pw(e.coordinateToPixelTransform,s),Pw(e.coordinateToPixelTransform,c),Pw(e.coordinateToPixelTransform,l),Pw(e.coordinateToPixelTransform,u),t.save(),Kx(t,-a,o,r),t.beginPath(),t.moveTo(s[0]*i,s[1]*i),t.lineTo(c[0]*i,c[1]*i),t.lineTo(l[0]*i,l[1]*i),t.lineTo(u[0]*i,u[1]*i),t.clip(),Kx(t,a,o,r)},e.prototype.clipUnrotated=function(t,e,n){var i=Xw(n),o=$w(n),r=Gw(n),a=Yw(n);Pw(e.coordinateToPixelTransform,i),Pw(e.coordinateToPixelTransform,o),Pw(e.coordinateToPixelTransform,r),Pw(e.coordinateToPixelTransform,a);var s=this.inversePixelTransform;Pw(s,i),Pw(s,o),Pw(s,r),Pw(s,a),t.save(),t.beginPath(),t.moveTo(Math.round(i[0]),Math.round(i[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])
1),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()},e.prototype.dispatchRenderEvent_=function(t,e,n){var i=this.getLayer();if(i.hasListener(t)){var o=new fx(t,this.inversePixelTransform,n,e);i.dispatchEvent(o)}},e.prototype.preRender=function(t,e){this.dispatchRenderEvent_("prerender",t,e)},e.prototype.postRender=function(t,e){this.dispatchRenderEvent_("postrender",t,e)},e.prototype.getRenderTransform=function(t,e,n,i,o,r,a){var s=i/e;return ww(this.tempTransform,o/2,r/2,s,-s,-n,-t[0]+a,-t[1])},e.prototype.getDataAtPixel=function(t,e,n){var i,o=Pw(this.inversePixelTransform,t.slice()),r=this.context,a=this.getLayer().getExtent();if(a&&!Iw(a,Pw(e.pixelToCoordinateTransform,t.slice())))return null;try{var s=Math.round(o[0]),c=Math.round(o[1]),l=document.createElement("canvas"),u=l.getContext("2d");l.width=1,l.height=1,u.clearRect(0,0,1,1),u.drawImage(r.canvas,s,c,1,1,0,0,1,1),i=u.getImageData(0,0,1,1).data}catch(d){return"SecurityError"===d.name?new Uint8Array:i}return 0===i[3]?null:i},e}(gE),SR=kR;function AR(t,e,n,i,o,r,a,s,c,l,u,d){var h=t[e],p=t[e+1],f=0,g=0,_=0,m=0;function v(){f=h,g=p,h=t[e+=i],p=t[e+1],m+=_,_=Math.sqrt((h-f)*(h-f)+(p-g)*(p-g))}do{v()}while(e<n-i&&m+_<r);for(var y=(r-m)/_,C=uM(f,h,y),b=uM(g,p,y),O=e-i,P=m,w=r+s*c(l,o,u);e<n-i&&m+_<w;)v();var M,x=uM(f,h,y=(w-m)/_),k=uM(g,p,y);if(d){var S=[C,b,x,k];AS(S,0,4,2,d,S,S),M=S[0]>S[2]}else M=C>x;var A=Math.PI,T=[],I=O+i===e;if(_=0,m=P,h=t[e=O],p=t[e+1],I){v();var E=Math.atan2(p-g,h-f);return M&&(E+=E>0?-A:A),T[0]=[z=(x+C)/2,q=(k+b)/2,(w-r)/2,E,o],T}for(var D,R=0,F=o.length;R<F;){v();var L=Math.atan2(p-g,h-f);if(M&&(L+=L>0?-A:A),void 0!==D){var Z=L-D;if(Z+=Z>A?-2*A:Z<-A?2*A:0,Math.abs(Z)>a)return null}D=L;for(var N=R,U=0;R<F;++R){var V=s*c(l,o[M?F-R-1:R],u);if(e+i<n&&m+_<r+U+V/2)break;U+=V}if(R!==N){var j=M?o.substring(F-N,F-R):o.substring(N,R),z=uM(f,h,y=(r+U/2-m)/_),q=uM(g,p,y);T.push([z,q,U/2,L,j]),r+=U}}return T}var TR=[1/0,1/0,-1/0,-1/0],IR=[],ER=[],DR=[],RR=[];function FR(t){return t[3].declutterBox}var LR=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function ZR(t,e){return("start"===e||"end"===e)&&!LR.test(t)&&(e="start"===e?"left":"right"),bR[e]}var NR,UR,VR,jR=function(){function t(t,e,n,i,o){this.overlaps=n,this.pixelRatio=e,this.resolution=t,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderBuffer_=o,this.renderedTransform_=[1,0,0,1,0,0],this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}return t.prototype.createLabel=function(t,e,n,i){var o=t+e+n+i;if(this.labels_[o])return this.labels_[o];var r=i?this.strokeStates[i]:null,a=n?this.fillStates[n]:null,s=this.textStates[e],c=this.pixelRatio,l=[s.scale[0]*c,s.scale[1]*c],u=ZR(t,s.textAlign||Ux),d=i&&r.lineWidth?r.lineWidth:0,h=t.split("\n"),p=h.length,f=[],g=function(t,e,n){for(var i=e.length,o=0,r=0;r<i;++r){var a=Wx(t,e[r]);o=Math.max(o,a),n.push(a)}return o}(s.font,h,f),_=Hx(s.font),m=g+d,v=[],y=(m+2)*l[0],C=(_*p+d)*l[1],b={width:y<0?Math.floor(y):Math.ceil(y),height:C<0?Math.floor(C):Math.ceil(C),contextInstructions:v};(1!=l[0]||1!=l[1])&&v.push("scale",l),v.push("font",s.font),i&&(v.push("strokeStyle",r.strokeStyle),v.push("lineWidth",d),v.push("lineCap",r.lineCap),v.push("lineJoin",r.lineJoin),v.push("miterLimit",r.miterLimit),(kx?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D).prototype.setLineDash&&(v.push("setLineDash",[r.lineDash]),v.push("lineDashOffset",r.lineDashOffset))),n&&v.push("fillStyle",a.fillStyle),v.push("textBaseline","middle"),v.push("textAlign","center");var O,P=.5-u,w=u*m+P*d;if(i)for(O=0;O<p;++O)v.push("strokeText",[h[O],w+P*f[O],.5*(d+_)+O*_]);if(n)for(O=0;O<p;++O)v.push("fillText",[h[O],w+P*f[O],.5*(d+_)+O*_]);return this.labels_[o]=b,b}
1,t.prototype.replayTextBackground_=function(t,e,n,i,o,r,a){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,n),t.lineTo.apply(t,i),t.lineTo.apply(t,o),t.lineTo.apply(t,e),r&&(this.alignFill_=r[2],this.fill_(t)),a&&(this.setStrokeStyle_(t,a),t.stroke())},t.prototype.calculateImageOrLabelDimensions_=function(t,e,n,i,o,r,a,s,c,l,u,d,h,p,f,g){var _,m=n-(a*=d[0]),v=i-(s*=d[1]),y=o+c>t?t-c:o,C=r+l>e?e-l:r,b=p[3]+y*d[0]+p[1],O=p[0]+C*d[1]+p[2],P=m-p[3],w=v-p[0];return(f||0!==u)&&(IR[0]=P,RR[0]=P,IR[1]=w,ER[1]=w,ER[0]=P+b,DR[0]=ER[0],DR[1]=w+O,RR[1]=DR[1]),0!==u?(Pw(_=ww([1,0,0,1,0,0],n,i,1,1,u,-n,-i),IR),Pw(_,ER),Pw(_,DR),Pw(_,RR),Fw(Math.min(IR[0],ER[0],DR[0],RR[0]),Math.min(IR[1],ER[1],DR[1],RR[1]),Math.max(IR[0],ER[0],DR[0],RR[0]),Math.max(IR[1],ER[1],DR[1],RR[1]),TR)):Fw(Math.min(P,P+b),Math.min(w,w+O),Math.max(P,P+b),Math.max(w,w+O),TR),h&&(m=Math.round(m),v=Math.round(v)),{drawImageX:m,drawImageY:v,drawImageW:y,drawImageH:C,originX:c,originY:l,declutterBox:{minX:TR[0],minY:TR[1],maxX:TR[2],maxY:TR[3],value:g},canvasTransform:_,scale:d}},t.prototype.replayImageOrLabel_=function(t,e,n,i,o,r,a){var s=i.declutterBox,c=t.canvas,l=a?a[2]*i.scale[0]/2:0;return s.minX-l<=c.width/e&&s.maxX+l>=0&&s.minY-l<=c.height/e&&s.maxY+l>=0&&(!(!r&&!a)&&this.replayTextBackground_(t,IR,ER,DR,RR,r,a),function(t,e,n,i,o,r,a,s,c,l,u){t.save(),1!==n&&(t.globalAlpha*=n),e&&t.setTransform.apply(t,e),i.contextInstructions?(t.translate(c,l),t.scale(u[0],u[1]),function(t,e){for(var n=t.contextInstructions,i=0,o=n.length;i<o;i+=2)Array.isArray(n[i+1])?e[n[i]].apply(e,n[i+1]):e[n[i]]=n[i+1]}(i,t)):u[0]<0||u[1]<0?(t.translate(c,l),t.scale(u[0],u[1]),t.drawImage(i,o,r,a,s,0,0,a,s)):t.drawImage(i,o,r,a,s,c,l,a*u[0],s*u[1]),t.restore()}(t,i.canvasTransform,o,n,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},t.prototype.fill_=function(t){if(this.alignFill_){var e=Pw(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;t.save(),t.translate(e[0]%n,e[1]%n),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()},t.prototype.setStrokeStyle_=function(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.setLineDash&&(t.lineDashOffset=e[7],t.setLineDash(e[6]))},t.prototype.drawLabelWithPointPlacement_=function(t,e,n,i){var o=this.textStates[e],r=this.createLabel(t,e,i,n),a=this.strokeStates[n],s=this.pixelRatio,c=ZR(t,o.textAlign||Ux),l=bR[o.textBaseline||Vx],u=a&&a.lineWidth?a.lineWidth:0;return{label:r,anchorX:c*(r.width/s-2*o.scale[0])+2*(.5-c)*u,anchorY:l*r.height/s+2*(.5-l)*u}},t.prototype.execute_=function(t,e,n,i,o,r,a,s){var c;this.pixelCoordinates_&&sw(n,this.renderedTransform_)?c=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),c=SS(this.coordinates,0,this.coordinates.length,2,n,this.pixelCoordinates_),function(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5]}(this.renderedTransform_,n));for(var l,u,d,h,p,f,g,_,m,v,y,C,b,O,P,w,M=0,x=i.length,k=0,S=0,A=0,T=null,I=null,E=this.coordinateCache_,D=this.viewRotation_,R=Math.round(1e12*Math.atan2(-n[1],n[0]))/1e12,F={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:D},L=this.instructions!=i||this.overlaps?0:200;M<x;){var Z=i[M];switch(Z[0]){case nR.BEGIN_GEOMETRY:w=Z[3],(b=Z[1]).getGeometry()?void 0===a||eM(a,w.getExtent())?++M:M=Z[2]+1:M=Z[2];break;case nR.BEGIN_PATH:S>L&&(this.fill_(t),S=0),A>L&&(t.stroke(),A=0),!S&&!A&&(t.beginPath(),h=NaN,p=NaN),++M;break;case nR.CIRCLE:var N=c[k=Z[1]],U=c[k+1],V=c[k+2]-N,j=c[k+3]-U,z=Math.sqrt(V*V+j*j);t.moveTo(N+z,U),t.arc(N,U,z,0,2*Math.PI,!0),++M;break;case nR.CLOSE_PATH:t.closePath(),++M;break;case nR.CUSTOM:k=Z[1],l=Z[2];var q=Z[4],B=6==Z.length?Z[5]:void 0;F.geometry=Z[3],F.feature=b,M in E||(E[M]=[]);var Y=E[M];B?B(c,k,l,2,Y):(Y[0]=c[k],Y[1]=c[k+1],Y.length=2),q(Y,F),++M;break;case nR.DRAW_IMAGE:k=Z[1],l=Z[2],u=Z[4],d=Z[5];var G=Z[6],H=Z[7],J=Z[8],W=Z[9],Q=Z[10],K=Z[11],X=Z[12],$=Z[13],tt=Z[14];if(!(_=Z[3])&&Z.length>=19){var et=this.drawLabelWithPointPlacement_(m=Z[18],v=Z[19],y=Z[20],C=Z[21]);
1Z[3]=_=et.label,Z[4]=u=(et.anchorX-Z[22])*this.pixelRatio,Z[5]=d=(et.anchorY-Z[23])*this.pixelRatio,Z[6]=G=_.height,Z[13]=$=_.width}var nt=void 0;Z.length>24&&(nt=Z[24]);var it=void 0,ot=void 0,rt=void 0;Z.length>16?(it=Z[15],ot=Z[16],rt=Z[17]):(it=jx,ot=!1,rt=!1),Q&&R?K+=D:!Q&&!R&&(K-=D);for(var at=0;k<l;k+=2)if(!(nt&&nt[at++]<$/this.pixelRatio)){var st=[t,e,_,It=this.calculateImageOrLabelDimensions_(_.width,_.height,c[k],c[k+1],$,G,u,d,J,W,K,X,o,it,ot||rt,b),H,ot?T:null,rt?I:null],ct=void 0,lt=void 0;if(s&&tt){if(!tt[k]){tt[k]=st;continue}if(ct=tt[k],delete tt[k],lt=FR(ct),s.collides(lt))continue}s&&s.collides(It.declutterBox)||(ct&&(s&&s.insert(lt),this.replayImageOrLabel_.apply(this,ct)),s&&s.insert(It.declutterBox),this.replayImageOrLabel_.apply(this,st))}++M;break;case nR.DRAW_CHARS:var ut=Z[1],dt=Z[2],ht=Z[3],pt=Z[4];C=Z[5];var ft=Z[6],gt=Z[7],_t=Z[8];y=Z[9];var mt=Z[10];m=Z[11];var vt=[Z[13],Z[13]],yt=this.textStates[v=Z[12]],Ct=yt.font,bt=[yt.scale[0]*gt,yt.scale[1]*gt],Ot=void 0;Ct in this.widths_?Ot=this.widths_[Ct]:this.widths_[Ct]=Ot={};var Pt=TD(c,ut,dt,2),wt=Math.abs(bt[0])*Qx(Ct,m,Ot);if(pt||wt<=Pt){var Mt=AR(c,ut,dt,2,m,(Pt-wt)*bR[this.textStates[v].textAlign],ft,Math.abs(bt[0]),Qx,Ct,Ot,R?0:this.viewRotation_);t:if(Mt){var xt=[],kt=void 0,St=void 0,At=void 0,Tt=void 0;if(y)for(kt=0,St=Mt.length;kt<St;++kt){At=this.createLabel((Tt=Mt[kt])[4],v,"",y);var It=this.calculateImageOrLabelDimensions_(At.width,At.height,Tt[0],Tt[1],At.width,At.height,u=Tt[2]+(bt[0]<0?-mt:mt),d=ht*At.height+2*(.5-ht)*mt*bt[1]/bt[0]-_t,0,0,Tt[3],vt,!1,jx,!1,b);if(s&&s.collides(It.declutterBox))break t;xt.push([t,e,At,It,1,null,null])}if(C)for(kt=0,St=Mt.length;kt<St;++kt){if(At=this.createLabel((Tt=Mt[kt])[4],v,C,""),It=this.calculateImageOrLabelDimensions_(At.width,At.height,Tt[0],Tt[1],At.width,At.height,u=Tt[2],d=ht*At.height-_t,0,0,Tt[3],vt,!1,jx,!1,b),s&&s.collides(It.declutterBox))break t;xt.push([t,e,At,It,1,null,null])}s&&s.load(xt.map(FR));for(var Et=0,Dt=xt.length;Et<Dt;++Et)this.replayImageOrLabel_.apply(this,xt[Et])}}++M;break;case nR.END_GEOMETRY:if(void 0!==r){var Rt=r(b=Z[1],w);if(Rt)return Rt}++M;break;case nR.FILL:L?S++:this.fill_(t),++M;break;case nR.MOVE_TO_LINE_TO:for(l=Z[2],g=(P=c[(k=Z[1])+1])+.5|0,((f=(O=c[k])+.5|0)!==h||g!==p)&&(t.moveTo(O,P),h=f,p=g),k+=2;k<l;k+=2)f=(O=c[k])+.5|0,g=(P=c[k+1])+.5|0,(k==l-2||f!==h||g!==p)&&(t.lineTo(O,P),h=f,p=g);++M;break;case nR.SET_FILL_STYLE:T=Z,this.alignFill_=Z[2],S&&(this.fill_(t),S=0,A&&(t.stroke(),A=0)),t.fillStyle=Z[1],++M;break;case nR.SET_STROKE_STYLE:I=Z,A&&(t.stroke(),A=0),this.setStrokeStyle_(t,Z),++M;break;case nR.STROKE:L?A++:t.stroke(),++M;break;default:++M}}S&&this.fill_(t),A&&t.stroke()},t.prototype.execute=function(t,e,n,i,o,r){this.viewRotation_=i,this.execute_(t,e,n,this.instructions,o,void 0,void 0,r)},t.prototype.executeHitDetection=function(t,e,n,i,o){return this.viewRotation_=n,this.execute_(t,1,e,this.hitDetectionInstructions,!0,i,o)},t}(),zR=jR,qR=["Polygon","Circle","LineString","Image","Text","Default"],BR=function(){function t(t,e,n,i,o,r){this.maxExtent_=t,this.overlaps_=i,this.pixelRatio_=n,this.resolution_=e,this.renderBuffer_=r,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=[1,0,0,1,0,0],this.createExecutors_(o)}return t.prototype.clip=function(t,e){var n=this.getClipCoords(e);t.beginPath(),t.moveTo(n[0],n[1]),t.lineTo(n[2],n[3]),t.lineTo(n[4],n[5]),t.lineTo(n[6],n[7]),t.clip()},t.prototype.createExecutors_=function(t){for(var e in t){var n=this.executorsByZIndex_[e];void 0===n&&(this.executorsByZIndex_[e]=n={});var i=t[e],o=[this.renderBuffer_||0,this.renderBuffer_||0];for(var r in i)n[r]=new zR(this.resolution_,this.pixelRatio_,this.overlaps_,i[r],o)}},t.prototype.hasExecutors=function(t){for(var e in this.executorsByZIndex_)for(var n=this.executorsByZIndex_[e],i=0,o=t.length;i<o;++i)if(t[i]in n)return!0;return!1},t.prototype.forEachFeatureAtCoordinate=function(t,e,n,i,o,r){var a=2*(i=Math.round(i))+1,s=ww(this.hitDetectionTransform_,i+.5,i+.5,1/e,-1/e,-n,-t[0],-t[1]),c=!this.hitDetectionContext_;c&&(this.hitDetectionContext_=Tx(a,a));var l,u=this.hitDetectionContext_;u.canvas.width!==a||u.canvas.height!==a?(u.canvas.width=a,u.canvas.height=a):c||u.clearRect(0,0,a,a),void 0!==this.renderBuffer_&&(Vw(l=[1/0,1/0,-1/0,-1/0],t),Sw(l,e*(this.renderBuffer_+i),l));var d,h=function(t){if(void 0!==YR[t])return YR[t];for(var e=2*t+1,n=t*t,i=new Array(n+1),o=0;o<=t;++o)for(var r=0;r<=t;++r){var a=o*o+r*r;if(a>n)break;var s=i[a];s||(i[a]=s=[]),s.push(4*((t+o)*e+(t+r))+3),o>0&&s.push(4*((t-o)*e+(t+r))+3),r>0&&(s.push(4*((t+o)*e+(t-r))+3),o>0&&s.push(4*((t-o)*e+(t-r))+3))}for(var c=[],l=(o=0,i.length);o<l;++o)i[o]&&c.push.apply(c,i[o]);return YR[t]=c,c}(i);function p(t,e){for(var n=u.getImageData(0,0,a,a).data,s=0,c=h.length;s<c;s++)if(n[h[s]]>0){if(!r||"Image"!==d&&"Text"!==d||-1!==r.indexOf(t)){var l=(h[s]-3)/4,p=i-l%a,f=i-(l/a|0),g=o(t,e,p*p+f*f);if(g)return g}u.clearRect(0,0,a,a);break}}var f,g,_,m,v,y=Object.keys(this.executorsByZIndex_).map(Number);for(y.sort(iw),f=y.length-1;f>=0;--f){var C=y[f].toString();for(_=this.executorsByZIndex_[C],g=qR.length-1;g>=0;
vendor: 4,727 bytes, line 1
1--g)if(void 0!==(m=_[d=qR[g]])&&(v=m.executeHitDetection(u,s,n,p,l)))return v}},t.prototype.getClipCoords=function(t){var e=this.maxExtent_;if(!e)return null;var n=e[0],i=e[1],o=e[2],r=e[3],a=[n,i,n,r,o,r,o,i];return SS(a,0,8,2,t,a),a},t.prototype.isEmpty=function(){return AM(this.executorsByZIndex_)},t.prototype.execute=function(t,e,n,i,o,r,a){var s=Object.keys(this.executorsByZIndex_).map(Number);s.sort(iw),this.maxExtent_&&(t.save(),this.clip(t,n));var c,l,u,d,h,p,f=r||qR;for(a&&s.reverse(),c=0,l=s.length;c<l;++c){var g=s[c].toString();for(h=this.executorsByZIndex_[g],u=0,d=f.length;u<d;++u)void 0!==(p=h[f[u]])&&p.execute(t,e,n,i,o,a)}this.maxExtent_&&t.restore()},t}(),YR={},GR=BR,HR=(VR=function(t,e){return(VR=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}VR(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),JR=function(t){function e(e,n,i,o,r,a,s){var c=t.call(this)||this;return c.context_=e,c.pixelRatio_=n,c.extent_=i,c.transform_=o,c.viewRotation_=r,c.squaredTolerance_=a,c.userTransform_=s,c.contextFillState_=null,c.contextStrokeState_=null,c.contextTextState_=null,c.fillState_=null,c.strokeState_=null,c.image_=null,c.imageAnchorX_=0,c.imageAnchorY_=0,c.imageHeight_=0,c.imageOpacity_=0,c.imageOriginX_=0,c.imageOriginY_=0,c.imageRotateWithView_=!1,c.imageRotation_=0,c.imageScale_=[0,0],c.imageWidth_=0,c.text_="",c.textOffsetX_=0,c.textOffsetY_=0,c.textRotateWithView_=!1,c.textRotation_=0,c.textScale_=[0,0],c.textFillState_=null,c.textStrokeState_=null,c.textState_=null,c.pixelCoordinates_=[],c.tmpLocalTransform_=[1,0,0,1,0,0],c}return HR(e,t),e.prototype.drawImages_=function(t,e,n,i){if(this.image_){var o=SS(t,e,n,2,this.transform_,this.pixelCoordinates_),r=this.context_,a=this.tmpLocalTransform_,s=r.globalAlpha;1!=this.imageOpacity_&&(r.globalAlpha=s*this.imageOpacity_);var c=this.imageRotation_;this.imageRotateWithView_&&(c+=this.viewRotation_);for(var l=0,u=o.length;l<u;l+=2){var d=o[l]-this.imageAnchorX_,h=o[l+1]-this.imageAnchorY_;if(0!==c||1!=this.imageScale_[0]||1!=this.imageScale_[1]){var p=d+this.imageAnchorX_,f=h+this.imageAnchorY_;ww(a,p,f,1,1,c,-p,-f),r.setTransform.apply(r,a),r.translate(p,f),r.scale(this.imageScale_[0],this.imageScale_[1]),r.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),r.setTransform(1,0,0,1,0,0)}else r.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,d,h,this.imageWidth_,this.imageHeight_)}1!=this.imageOpacity_&&(r.globalAlpha=s)}},e.prototype.drawText_=function(t,e,n,i){if(this.textState_&&""!==this.text_){this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);var o=SS(t,e,n,i,this.transform_,this.pixelCoordinates_),r=this.context_,a=this.textRotation_;for(this.textRotateWithView_&&(a+=this.viewRotation_);e<n;e+=i){var s=o[e]+this.textOffsetX_,c=o[e+1]+this.textOffsetY_;if(0!==a||1!=this.textScale_[0]||1!=this.textScale_[1]){var l=ww(this.tmpLocalTransform_,s,c,1,1,a,-s,-c);r.setTransform.apply(r,l),r.translate(s,c),r.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&r.strokeText(this.text_,0,0),this.textFillState_&&r.fillText(this.text_,0,0),r.setTransform(1,0,0,1,0,0)}else this.textStrokeState_&&r.strokeText(this.text_,s,c),this.textFillState_&&r.fillText(this.text_,s,c)}}},e.prototype.moveToLineTo_=function(t,e,n,i,o){var r=this.context_,a=SS(t,e,n,i,this.transform_,this.pixelCoordinates_);r.moveTo(a[0],a[1]);var s=a.length;o&&(s-=2);for(var c=2;c<s;c+=2)r.lineTo(a[c],a[c+1]);return o&&r.closePath(),n},e.prototype.drawRings_=function(t,e,n,i){for(var o=0,r=n.length;o<r;++o)e=this.moveToLineTo_(t,e,n[o],i,!0);return e},e.prototype.drawCircle=function(t){if(eM(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=function(t,e,n){var i=t.getFlatCoordinates();if(i){var o=t.getStride();return SS(i,0,i.length,o,e,n)}return null}(t,this.transform_,this.pixelCoordinates_),n=e[2]-e[0],i=e[3]-e[1],o=Math.sqrt(n*n+i*i),r=this.context_;r.beginPath(),r.arc(e[0],e[1],o,0,2*Math.PI),this.fillState_&&r.fill(),this.strokeState_&&r.stroke()}""!==this.text_&&this.drawText_(t.getCenter(),0,2,2)}},e.prototype.setStyle=function(t){this.setFillStrokeStyle(t.getFill
1(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())},e.prototype.setTransform=function(t){this.transform_=t},e.prototype.drawGeometry=function(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t)}},e.prototype.drawFeature=function(t,e){var n=e.getGeometryFunction()(t);!n||!eM(this.extent_,n.getExtent())||(this.setStyle(e),this.drawGeometry(n))},e.prototype.drawGeometryCollection=function(t){for(var e=t.getGeometriesArray(),n=0,i=e.length;n<i;++n)this.drawGeometry(e[n])},e.prototype.drawPoint=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getFlatCoordinates(),n=t.getStride();this.image_&&this.drawImages_(e,0,e.length,n),""!==this.text_&&this.drawText_(e,0,e.length,n)},e.prototype.drawMultiPoint=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getFlatCoordinates(),n=t.getStride();this.image_&&this.drawImages_(e,0,e.length,n),""!==this.text_&&this.drawText_(e,0,e.length,n)},e.prototype.drawLineString=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),eM(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var e=this.context_,n=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(n,0,n.length,t.getStride(),!1),e.stroke()}if(""!==this.text_){var i=t.getFlatMidpoint();this.drawText_(i,0,2,2)}}},e.prototype.drawMultiLineString=function(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var e=t.getExtent();if(eM(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var n=this.context_,i=t.getFlatCoordinates(),o=0,r=t.getEnds(),a=t.getStride();n.beginPath();for(var s=0,c=r.length;s<c;++s)o=this.moveToLineTo_(i,o,r[s],a,!1);n.stroke()}if(""!==this.text_){var l=t.getFlatMidpoints();this.drawText_(l,0,l.length,2)}}},e.prototype.drawPolygon=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),eM(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){var n=t.getFlatInteriorPoint();this.drawText_(n,0,2,2)}}},e.prototype.drawMultiPolygon=function(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),eM(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var e=this.context_,n=t.getOrientedFlatCoordinates(),i=0,o=t.getEndss(),r=t.getStride();e.beginPath();for(var a=0,s=o.length;a<s;++a)i=this.drawRings_(n,i,o[a],r);this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){var c=t.getFlatInteriorPoints();this.drawText_(c,0,c.length,2)}}},e.prototype.setContextFillState_=function(t){var e=this.context_,n=this.contextFillState_;n?n.fillStyle!=t.fillStyle&&(n.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})},e.prototype.setContextStrokeState_=function(t){var e=this.context_,n=this.contextStrokeState_;n?(n.lineCap!=t.lineCap&&(n.lineCap=t.lineCap,e.lineCap=t.lineCap),e.setLineDash&&(sw(n.lineDash,t.lineDash)||e.setLineDash(n.lineDash=t.lineDash),n.lineDashOffset!=t.lineDashOffset&&(n.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset)),n.lineJoin!=t.lineJoin&&(n.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),n.lineWidth!=t.lineWidth&&(n.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),n.miterLimit!=t.miterLimit&&(n.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),n.strokeStyle!=t.strokeStyle&&(n.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})},e.prototype.setContextTextState_=function(t){var e=this.context_,n=this.contextTextState_,i=t.textAlign?t.textAlign:Ux;n?(n.font!=t.font&&(n.font=t.font,e.font=t.font),n.textAlign!=i&&(n.textAlign=i,e.textAlign=i),n.textBaseline!=t.textBaseline&&(n.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=i,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:i,textBaseline:t.textBaseline})},e.prototype.setFillStrokeStyle=function(t,e){if(t){var n=t.getColor();this.fillState_={fillStyle:NI(n||Rx)}}else this.fillState_=null;if(e){var i=e.getColor(),o=e.getLineCap(),r=e.getLineDash(),a=e.getLineDashOffset(),s=e.getLineJoin(),c=e.getWidth(),l=e.getMiterLimit();this.strokeState_={lineCap:void 0!==o?o:Fx,lineDash:r||Lx,lineDashOffset:a||0,lineJoin:void 0!==s?s:Zx,lineWidth:this.pixelRatio_*(void 0!==c?c:1),miterLimit:void 0!==l?l:10,strokeStyle:NI(i||Nx)}}else this.strokeState_=null},e.prototype.setImageStyle=function(t){if(t){var e=t.getSize();if(e){var n=t.getAnchor(),i=t.getImage(1),o=t.getOrigin(),r=t.getScaleArray();this.imageAnchorX_=n[0],this.imageAnchorY_=n[1],this.imageHeight_=e[1],this.image_=i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=o[0],this.imageOriginY_=o[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation(),this.imageScale_=[this.pixelRatio_*r[0],this.pixelRatio_*r[1]],this.imageWidth_=e[0]}else this.image_=null}else this.image_=null}
1,e.prototype.setTextStyle=function(t){if(t){var e=t.getFill();if(e){var n=e.getColor();this.textFillState_={fillStyle:NI(n||Rx)}}else this.textFillState_=null;var i=t.getStroke();if(i){var o=i.getColor(),r=i.getLineCap(),a=i.getLineDash(),s=i.getLineDashOffset(),c=i.getLineJoin(),l=i.getWidth(),u=i.getMiterLimit();this.textStrokeState_={lineCap:void 0!==r?r:Fx,lineDash:a||Lx,lineDashOffset:s||0,lineJoin:void 0!==c?c:Zx,lineWidth:void 0!==l?l:1,miterLimit:void 0!==u?u:10,strokeStyle:NI(o||Nx)}}else this.textStrokeState_=null;var d=t.getFont(),h=t.getOffsetX(),p=t.getOffsetY(),f=t.getRotateWithView(),g=t.getRotation(),_=t.getScaleArray(),m=t.getText(),v=t.getTextAlign(),y=t.getTextBaseline();this.textState_={font:void 0!==d?d:Dx,textAlign:void 0!==v?v:Ux,textBaseline:void 0!==y?y:Vx},this.text_=void 0!==m?m:"",this.textOffsetX_=void 0!==h?this.pixelRatio_*h:0,this.textOffsetY_=void 0!==p?this.pixelRatio_*p:0,this.textRotateWithView_=void 0!==f&&f,this.textRotation_=void 0!==g?g:0,this.textScale_=[this.pixelRatio_*_[0],this.pixelRatio_*_[1]]}else this.text_=""},e}(oR),WR=JR,QR=(UR=function(t,e){return(UR=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}UR(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),KR=function(t){function e(e,n,i,o){var r=t.call(this)||this;return r.extent=e,r.pixelRatio_=i,r.resolution=n,r.state=o,r}return QR(e,t),e.prototype.changed=function(){this.dispatchEvent("change")},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return dw()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){dw()},e}(DM),XR=(NR=function(t,e){return(NR=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}NR(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function $R(t,e,n){var i=t;if(i.src&&Sx){var o=i.decode(),r=!0;return o.then(function(){r&&e()}).catch(function(t){r&&("EncodingError"===t.name&&"Invalid image type."===t.message?e():n())}),function(){r=!1}}var a=[FM(i,"load",e),FM(i,"error",n)];return function(){a.forEach(LM)}}!function(t){function e(e,n,i,o,r,a){var s=t.call(this,e,n,i,0)||this;return s.src_=o,s.image_=new Image,null!==r&&(s.image_.crossOrigin=r),s.unlisten_=null,s.state=0,s.imageLoadFunction_=a,s}XR(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=3,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Qw(this.extent)/this.image_.height),this.state=2,this.unlistenImage_(),this.changed()},e.prototype.load=function(){(0==this.state||3==this.state)&&(this.state=1,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=$R(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(t){this.image_=t},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}(KR);var tF,eF,nF=(eF=function(t,e){return(eF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}eF(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),iF=null,oF=function(t){function e(e,n,i,o,r,a){var s=t.call(this)||this;return s.hitDetectionImage_=null,s.image_=e||new Image,null!==o&&(s.image_.crossOrigin=o),s.canvas_={},s.color_=a,s.unlisten_=null,s.imageState_=r,s.size_=i,s.src_=n,s}return nF(e,t),e.prototype.isTainted_=function(){if(void 0===this.tainted_&&2===this.imageState_){iF||(iF=Tx(1,1)),iF.drawImage(this.image_,0,0
1);try{iF.getImageData(0,0,1,1),this.tainted_=!1}catch(_M){iF=null,this.tainted_=!0}}return!0===this.tainted_},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent("change")},e.prototype.handleImageError_=function(){this.imageState_=3,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=2,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(t){return this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_},e.prototype.getPixelRatio=function(t){return this.replaceColor_(t),this.canvas_[t]?t:1},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(){if(!this.hitDetectionImage_)if(this.isTainted_()){var t=this.size_[0],e=this.size_[1],n=Tx(t,e);n.fillRect(0,0,t,e),this.hitDetectionImage_=n.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(0==this.imageState_){this.imageState_=1;try{this.image_.src=this.src_}catch(_M){this.handleImageError_()}this.unlisten_=$R(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(t){if(this.color_&&!this.canvas_[t]){var e=document.createElement("canvas");this.canvas_[t]=e,e.width=Math.ceil(this.image_.width*t),e.height=Math.ceil(this.image_.height*t);var n=e.getContext("2d");if(n.scale(t,t),n.drawImage(this.image_,0,0),n.globalCompositeOperation="multiply","multiply"===n.globalCompositeOperation||this.isTainted_())n.fillStyle=pM(this.color_),n.fillRect(0,0,e.width,e.height),n.globalCompositeOperation="destination-in",n.drawImage(this.image_,0,0);else{for(var i=n.getImageData(0,0,e.width,e.height),o=i.data,r=this.color_[0]/255,a=this.color_[1]/255,s=this.color_[2]/255,c=this.color_[3],l=0,u=o.length;l<u;l+=4)o[l]*=r,o[l+1]*=a,o[l+2]*=s,o[l+3]*=c;n.putImageData(i,0,0)}}},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(DM),rF=(tF=function(t,e){return(tF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}tF(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),aF=function(t){function e(e){var n=this,i=e||{};(n=t.call(this,{opacity:void 0!==i.opacity?i.opacity:1,rotation:void 0!==i.rotation?i.rotation:0,scale:void 0!==i.scale?i.scale:1,displacement:void 0!==i.displacement?i.displacement:[0,0],rotateWithView:void 0!==i.rotateWithView&&i.rotateWithView})||this).anchor_=void 0!==i.anchor?i.anchor:[.5,.5],n.normalizedAnchor_=null,n.anchorOrigin_=void 0!==i.anchorOrigin?i.anchorOrigin:"top-left",n.anchorXUnits_=void 0!==i.anchorXUnits?i.anchorXUnits:"fraction",n.anchorYUnits_=void 0!==i.anchorYUnits?i.anchorYUnits:"fraction",n.crossOrigin_=void 0!==i.crossOrigin?i.crossOrigin:null;var o=void 0!==i.img?i.img:null,r=void 0!==i.imgSize?i.imgSize:null,a=i.src;vw(!(void 0!==a&&o),4),vw(!o||o&&r,5),(void 0===a||0===a.length)&&o&&(a=o.src||pw(o)),vw(void 0!==a&&a.length>0,6);var s=void 0!==i.src?0:2;return n.color_=void 0!==i.color?vM(i.color):null,n.iconImage_=function(t,e,n,i,o,r){var a=PM.get(e,i,r);return a||(a=new oF(t,e,n,i,o,r),PM.set(e,i,r,a)),a}(o,a,r,n.crossOrigin_,s,n.color_),n.offset_=void 0!==i.offset?i.offset:[0,0],n.offsetOrigin_=void 0!==i.offsetOrigin?i.offsetOrigin:"top-left",n.origin_=null,n.size_=void 0!==i.size?i.size:null,n}return rF(e,t),e.prototype.clone=function(){var t=this.getScale();return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,crossOrigin:this.crossOrigin_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,src:this.getSrc(),offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,size:null!==this.size_?this.size_.slice():void 0,opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},e.prototype.getAnchor=function(){if(this.normalizedAnchor_)return this.normalizedAnchor_;var t=this.anchor_,e=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!e)return null;t=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(t[0]*=e[0]),"fraction"==this.anchorYUnits_&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),("top-right"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[0]=-t[0]+e[0]),("bottom-left"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[1]=-t[1]+e[1])}return this.normalizedAnchor_=t,this.normalizedAnchor_},e.prototype.setAnchor=function(t){this.anchor_=t,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(t){return this.iconImage_.getImage(t)},e.prototype.getPixelRatio=function(t){return this.iconImage_.getPixelRatio(t)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getHitDetectionImageSize=function(){return this.getImageSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(){return this.iconImage_.getHitDetectionImage()},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var t=this.offset_,e=this.getDisplacement();if("top-left"!=this.offsetOrigin_){var n=this.getSize(),i=this.iconImage_.getSize();if(!n||!i)return null;t=t.slice(),("top-right"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[0]=i[0]-n[0]-t[0]),("bottom-left"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[1]=i[1]-n[1]-t[1])}return t[0]+=e[0],t[1]+=e[1],this.origin_=t,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(t){this.iconImage_.addEventListener("change",t)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(t){this.iconImage_.removeEventListener("change",t)},e}(ZI),sF=aF,cF={Point:function(t,e,n,i,o){var r,a=n.getImage(),s=n.getText();if(o&&(t=o,r=a&&s&&s.getText()?{}:void 0),a){if(2!=a.getImageState())return;var c=t.getBuilder(n.getZIndex(),"Image");c.setImageStyle(a,r),c.drawPoint(e,i)}if(s&&s.getText()){var l=t.getBuilder(n.getZIndex(),"Text");l.setTextStyle(s,r),l.drawText(e,i)}},LineString:function(t,e,n,i,o){var r=n.getStroke();if(r){var a=t.getBuilder(n.getZIndex(),"LineString");a.setFillStrokeStyle(null,r),a.drawLineString(e,i)}var s=n.getText();if(s&&s.getText()){var c=(o||t).getBuilder(n.getZIndex(),"Text");c.setTextStyle(s),c.drawText(e,i)}}
1,Polygon:function(t,e,n,i,o){var r=n.getFill(),a=n.getStroke();if(r||a){var s=t.getBuilder(n.getZIndex(),"Polygon");s.setFillStrokeStyle(r,a),s.drawPolygon(e,i)}var c=n.getText();if(c&&c.getText()){var l=(o||t).getBuilder(n.getZIndex(),"Text");l.setTextStyle(c),l.drawText(e,i)}},MultiPoint:function(t,e,n,i,o){var r,a=n.getImage(),s=n.getText();if(o&&(t=o,r=a&&s&&s.getText()?{}:void 0),a){if(2!=a.getImageState())return;var c=t.getBuilder(n.getZIndex(),"Image");c.setImageStyle(a,r),c.drawMultiPoint(e,i)}if(s&&s.getText()){var l=(o||t).getBuilder(n.getZIndex(),"Text");l.setTextStyle(s,r),l.drawText(e,i)}},MultiLineString:function(t,e,n,i,o){var r=n.getStroke();if(r){var a=t.getBuilder(n.getZIndex(),"LineString");a.setFillStrokeStyle(null,r),a.drawMultiLineString(e,i)}var s=n.getText();if(s&&s.getText()){var c=(o||t).getBuilder(n.getZIndex(),"Text");c.setTextStyle(s),c.drawText(e,i)}},MultiPolygon:function(t,e,n,i,o){var r=n.getFill(),a=n.getStroke();if(a||r){var s=t.getBuilder(n.getZIndex(),"Polygon");s.setFillStrokeStyle(r,a),s.drawMultiPolygon(e,i)}var c=n.getText();if(c&&c.getText()){var l=(o||t).getBuilder(n.getZIndex(),"Text");l.setTextStyle(c),l.drawText(e,i)}},GeometryCollection:function(t,e,n,i,o){var r,a,s=e.getGeometriesArray();for(r=0,a=s.length;r<a;++r)(0,cF[s[r].getType()])(t,s[r],n,i,o)},Circle:function(t,e,n,i,o){var r=n.getFill(),a=n.getStroke();if(r||a){var s=t.getBuilder(n.getZIndex(),"Circle");s.setFillStrokeStyle(r,a),s.drawCircle(e,i)}var c=n.getText();if(c&&c.getText()){var l=(o||t).getBuilder(n.getZIndex(),"Text");l.setTextStyle(c),l.drawText(e,i)}}};function lF(t,e){return parseInt(pw(t),10)-parseInt(pw(e),10)}function uF(t,e){return.5*t/e}function dF(t,e,n,i,o,r,a){var s=!1,c=n.getImage();if(c){var l=c.getImageState();2==l||3==l?c.unlistenImageChange(o):(0==l&&c.load(),l=c.getImageState(),c.listenImageChange(o),s=!0)}return function(t,e,n,i,o,r){var a=n.getGeometryFunction()(e);if(a){var s=a.simplifyTransformed(i,o);n.getRenderer()?hF(t,s,n,e):(0,cF[s.getType()])(t,s,n,e,r)}}(t,e,n,i,r,a),s}function hF(t,e,n,i){if("GeometryCollection"!=e.getType())t.getBuilder(n.getZIndex(),"Default").drawCustom(e,i,n.getRenderer());else for(var o=e.getGeometries(),r=0,a=o.length;r<a;++r)hF(t,o[r],n,i)}var pF,fF,gF,_F=(gF=function(t,e){return(gF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}gF(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),mF=function(t){function e(e){var n=t.call(this,e)||this;return n.boundHandleStyleImageChange_=n.handleStyleImageChange_.bind(n),n.dirty_=!1,n.hitDetectionImageData_=null,n.renderedFeatures_=null,n.renderedRevision_=-1,n.renderedResolution_=NaN,n.renderedExtent_=[1/0,1/0,-1/0,-1/0],n.renderedCenter_=null,n.renderedProjection_=null,n.renderedRenderOrder_=null,n.replayGroup_=null,n.replayGroupChanged=!0,n.declutterExecutorGroup=null,n.clipping=!0,n}return _F(e,t),e.prototype.useContainer=function(e,n,i){i<1&&(e=null),t.prototype.useContainer.call(this,e,n,i)},e.prototype.renderWorlds=function(t,e,n){var i=e.extent,o=e.viewState,r=o.center,a=o.resolution,s=o.projection,c=o.rotation,l=s.getExtent(),u=this.getLayer().getSource(),d=e.pixelRatio,h=e.viewHints,p=!(h[0]||h[1]),f=this.context,g=Math.round(e.size[0]*d),_=Math.round(e.size[1]*d),m=u.getWrapX()&&s.canWrapX(),v=m?tM(l):null,y=m?Math.ceil((i[2]-l[2])/v)+1:1,C=m?Math.floor((i[0]-l[0])/v):0;do{var b=this.getRenderTransform(r,a,c,d,g,_,C*v);t.execute(f,1,b,c,p,void 0,n)}while(++C<y)},e.prototype.renderDeclutter=function(t){this.declutterExecutorGroup&&this.renderWorlds(this.declutterExecutorGroup,t,t.declutterTree)},e.prototype.renderFrame=function(t,e){var n=t.pixelRatio,i=t.layerStatesArray[t.layerIndex];(function(t,e,n){Ow(t,e,0,0,n,0,0)})(this.pixelTransform,1/n,1/n),Mw(this.inversePixelTransform,this.pixelTransform);var o=xw(this.pixelTransform);this.useContainer(e,o,i.opacity);var r=this.context,a=r.canvas,s=this.replayGroup_,c=this.declutterExecutorGroup;if((!s||s.isEmpty())&&(!c||c.isEmpty()))return!this.containerReused&&a.width>0&&(a.width=0),this.container;var l=Math.round(t.size[0]*n),u=Math.round(t.size[1]*n);a.width!=l||a.height!=u?(a.width=l,a.height=u,a.style.transform!==o&&(a.style.transform=o)):this.containerReused||r.clearRect(0,0,l,u),this.preRender(r,t);var d=t.viewState,h=!1;if(i.extent&&this.clipping){var p=_S(i.extent);(h=!Ew(p,t.extent)&&eM(p,t.extent))&&this.clipUnrotated(r,t,p)}
1this.renderWorlds(s,t),h&&r.restore(),this.postRender(r,t);var f=i.opacity,g=this.container;return f!==parseFloat(g.style.opacity)&&(g.style.opacity=1===f?"":String(f)),this.renderedRotation_!==d.rotation&&(this.renderedRotation_=d.rotation,this.hitDetectionImageData_=null),this.container},e.prototype.getFeatures=function(t){return new Promise((function(e){if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){var n=[this.context.canvas.width,this.context.canvas.height];Pw(this.pixelTransform,n);var i=this.renderedCenter_,o=this.renderedResolution_,r=this.renderedRotation_,a=this.renderedProjection_,s=this.renderedExtent_,c=this.getLayer(),l=[],u=n[0]/2,d=n[1]/2;l.push(this.getRenderTransform(i,o,r,.5,u,d,0).slice());var h=c.getSource(),p=a.getExtent();if(h.getWrapX()&&a.canWrapX()&&!Ew(p,s)){for(var f=s[0],g=tM(p),_=0;f<p[0];)--_,l.push(this.getRenderTransform(i,o,r,.5,u,d,g*_).slice()),f+=g;for(_=0,f=s[2];f>p[2];)++_,l.push(this.getRenderTransform(i,o,r,.5,u,d,g*_).slice()),f-=g}this.hitDetectionImageData_=function(t,e,n,i,o,r,a){var s=Tx(t[0]/2,t[1]/2);s.imageSmoothingEnabled=!1;for(var c=s.canvas,l=new WR(s,.5,o,null,a),u=n.length,d=Math.floor(16777215/u),h={},p=1;p<=u;++p){var f=n[p-1],g=f.getStyleFunction()||i;if(i){var _=g(f,r);if(_){Array.isArray(_)||(_=[_]);for(var m="#"+("000000"+(p*d).toString(16)).slice(-6),v=0,y=_.length;v<y;
1++v){var C=_[v],b=C.clone(),O=b.getFill();O&&O.setColor(m);var P=b.getStroke();P&&P.setColor(m),b.setText(void 0);var w=C.getImage();if(w){var M=w.getImageSize();if(!M)continue;var x=document.createElement("canvas");x.width=M[0],x.height=M[1];var k=x.getContext("2d",{alpha:!1});k.fillStyle=m;var S=k.canvas;k.fillRect(0,0,S.width,S.height),Tx(M?M[0]:S.width,M?M[1]:S.height).drawImage(S,0,0),b.setImage(new sF({img:S,imgSize:M,anchor:w.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:w.getOrigin(),size:w.getSize(),opacity:w.getOpacity(),scale:w.getScale(),rotation:w.getRotation(),rotateWithView:w.getRotateWithView()}))}var A=Number(b.getZIndex());(D=h[A])||(h[A]=D={},D.Polygon=[],D.Circle=[],D.LineString=[],D.Point=[]);var T=b.getGeometryFunction()(f);T&&eM(o,T.getExtent())&&D[T.getType().replace("Multi","")].push(T,b)}}}}for(var I=Object.keys(h).map(Number).sort(iw),E=(p=0,I.length);p<E;++p){var D=h[I[p]];for(var R in D){var F=D[R];for(v=0,y=F.length;v<y;v+=2){l.setStyle(F[v+1]);for(var L=0,Z=e.length;L<Z;++L)l.setTransform(e[L]),l.drawGeometry(F[v])}}}return s.getImageData(0,0,c.width,c.height)}(n,l,this.renderedFeatures_,c.getStyleFunction(),s,o,r)}e(function(t,e,n){var i=[];if(n){var o=4*(Math.round(t[0]/2)+Math.round(t[1]/2)*n.width),r=n.data[o+2]+256*(n.data[o+1]+256*n.data[o]),a=Math.floor(16777215/e.length);r&&r%a==0&&i.push(e[r/a-1])}return i}(t,this.renderedFeatures_,this.hitDetectionImageData_))}).bind(this))},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,i,o){var r=this;if(this.replayGroup_){var a,s=e.viewState.resolution,c=e.viewState.rotation,l=this.getLayer(),u={},d=function(t,e,n){var r=pw(t),a=u[r];if(a){if(!0!==a&&n<a.distanceSq){if(0===n)return u[r]=!0,o.splice(o.lastIndexOf(a),1),i(t,l,e);a.geometry=e,a.distanceSq=n}}else{if(0===n)return u[r]=!0,i(t,l,e);o.push(u[r]={feature:t,layer:l,geometry:e,distanceSq:n,callback:i})}},h=[this.replayGroup_];return this.declutterExecutorGroup&&h.push(this.declutterExecutorGroup),h.some(function(i){return a=i.forEachFeatureAtCoordinate(t,s,c,n,d,i===r.declutterExecutorGroup?e.declutterTree.all().map(function(t){return t.value}):null)}),a}},e.prototype.handleFontsChanged=function(){var t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.prepareFrame=function(t){var e=this.getLayer(),n=e.getSource();if(!n)return!1;var i=t.viewHints[0],o=t.viewHints[1],r=e.getUpdateWhileAnimating(),a=e.getUpdateWhileInteracting();if(!this.dirty_&&!r&&i||!a&&o)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;var s=t.extent,c=t.viewState,l=c.projection,u=c.resolution,d=t.pixelRatio,h=e.getRevision(),p=e.getRenderBuffer(),f=e.getRenderOrder();void 0===f&&(f=lF);var g=c.center.slice(),_=Sw(s,p*u),m=[_.slice()],v=l.getExtent();if(n.getWrapX()&&l.canWrapX()&&!Ew(v,t.extent)){var y=tM(v),C=Math.max(tM(_)/2,y);_[0]=v[0]-C,_[2]=v[2]+C,rx(g,l);var b=function(t,e){var n=e.getExtent(),i=Hw(t);if(e.canWrapX()&&(i[0]<n[0]||i[0]>=n[2])){var o=tM(n),r=Math.floor((i[0]-n[0])/o)*o;t[0]-=r,t[2]-=r}return t}(m[0],l);b[0]<v[0]&&b[2]<v[2]?m.push([b[0]+y,b[1],b[2]+y,b[3]]):b[0]>v[0]&&b[2]>v[2]&&m.push([b[0]-y,b[1],b[2]-y,b[3]])}if(!this.dirty_&&this.renderedResolution_==u&&this.renderedRevision_==h&&this.renderedRenderOrder_==f&&Ew(this.renderedExtent_,_))return this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var O,P=new MR(uF(u,d),_,u,d);this.getLayer().getDeclutter()&&(O=new MR(uF(u,d),_,u,d));var w,M,x;for(M=0,x=m.length;M<x;++M)n.loadFeatures(m[M],u,l);var k=function(t,e){var n=uF(t,e);return n*n}(u,d),S=(function(t){var n,i=t.getStyleFunction()||e.getStyleFunction();if(i&&(n=i(t,u)),n){var o=this.renderFeature(t,k,n,P,w,O);this.dirty_=this.dirty_||o}}).bind(this),A=gS(_),T=n.getFeaturesInExtent(A);for(f&&T.sort(f),M=0,x=T.length;M<x;++M)S(T[M]);this.renderedFeatures_=T;var I=P.finish(),E=new GR(_,u,d,n.getOverlaps(),I,e.getRenderBuffer());return O&&(this.declutterExecutorGroup=new GR(_,u,d,n.getOverlaps(),O.finish(),e.getRenderBuffer())),this.renderedResolution_=u,this.renderedRevision_=h,this.renderedRenderOrder_=f,this.renderedExtent_=_,this.renderedCenter_=g,this.renderedProjection_=l,this.replayGroup_=E,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0},e.prototype.renderFeature=function(t,e,n,i,o,r){if(!n)return!1;var a=!1;if(Array.isArray(n))for(var s=0,c=n.length;s<c;++s)a=dF(i,t,n[s],e,this.boundHandleStyleImageChange_,o,r)||a;else a=dF(i,t,n,e,this.boundHandleStyleImageChange_,o,r);return a},e}
1(SR),vF=mF,yF=(fF=function(t,e){return(fF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}fF(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),CF=function(t){function e(e){return t.call(this,e)||this}return yF(e,t),e.prototype.createRenderer=function(){return new vF(this)},e}(rE),bF=CF,OF=(pF=function(t,e){return(pF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}pF(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),PF=function(t){function e(e,n){var i=t.call(this,e)||this;return i.feature=n,i}return OF(e,t),e}(MM),wF=function(t){function e(e){var n=this,i=e;i.stopDown||(i.stopDown=lw),(n=t.call(this,i)||this).shouldHandle_=!1,n.downPx_=null,n.freehand_=!1,n.source_=e.source?e.source:null,n.features_=e.features?e.features:null,n.snapTolerance_=e.snapTolerance?e.snapTolerance:12,n.type_=e.type,n.mode_=function(t){var e;return"Point"===t||"MultiPoint"===t?e="Point":"LineString"===t||"MultiLineString"===t?e="LineString":"Polygon"===t||"MultiPolygon"===t?e="Polygon":"Circle"===t&&(e="Circle"),e}(n.type_),n.stopClick_=!!e.stopClick,n.minPoints_=e.minPoints?e.minPoints:"Polygon"===n.mode_?3:2,n.maxPoints_="Circle"===n.mode_?2:e.maxPoints?e.maxPoints:1/0,n.finishCondition_=e.finishCondition?e.finishCondition:cw;var o=e.geometryFunction;if(!o){var r,a=n.mode_;"Circle"===a?o=function(t,e,n){var i=e||new kD([NaN,NaN]),o=fS(t[0]),r=function(t,e){var n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i}(o,fS(t[t.length-1]));i.setCenterAndRadius(o,Math.sqrt(r));return i}:("Point"===a?r=dA:"LineString"===a?r=jD:"Polygon"===a&&(r=kA),o=function(t,e,n){return e?e.setCoordinates("Polygon"===a?t[0].length?[t[0].concat([t[0][0]])]:[]:t):e=new r(t),e})}return n.geometryFunction_=o,n.dragVertexDelay_=void 0!==e.dragVertexDelay?e.dragVertexDelay:500,n.finishCoordinate_=null,n.sketchFeature_=null,n.sketchPoint_=null,n.sketchCoords_=null,n.sketchLine_=null,n.sketchLineCoords_=null,n.squaredClickTolerance_=e.clickTolerance?e.clickTolerance*e.clickTolerance:36,n.overlay_=new bF({source:new FI({useSpatialIndex:!1,wrapX:!!e.wrapX&&e.wrapX}),style:e.style?e.style:MF(),updateWhileInteracting:!0}),n.geometryName_=e.geometryName,n.condition_=e.condition?e.condition:FT,n.freehandCondition_=e.freehand?DT:e.freehandCondition?e.freehandCondition:LT,n.addEventListener(GM("active"),n.updateState_),n}return OF(e,t),e.prototype.setMap=function(e){t.prototype.setMap.call(this,e),this.updateState_()},e.prototype.getOverlay=function(){return this.overlay_},e.prototype.handleEvent=function(e){"contextmenu"===e.originalEvent.type&&e.originalEvent.preventDefault(),this.freehand_="Point"!==this.mode_&&this.freehandCondition_(e);var n=e.type===Ok.POINTERMOVE,i=!0;return!this.freehand_&&this.lastDragTime_&&e.type===Ok.POINTERDRAG&&(Date.now()-this.lastDragTime_>=this.dragVertexDelay_?(this.downPx_=e.pixel,this.shouldHandle_=!this.freehand_,n=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)),this.freehand_&&e.type===Ok.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(e.coordinate),i=!1):this.freehand_&&e.type===Ok.POINTERDOWN?i=!1:n&&this.getPointerCount()<2?(i=e.type===Ok.POINTERMOVE)&&this.freehand_?(this.handlePointerMove_(e),this.shouldHandle_&&e.originalEvent.preventDefault()):("mouse"===e.originalEvent.pointerType||e.type===Ok.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(e):e.type===Ok.DBLCLICK&&(i=!1),t.prototype.handleEvent.call(this,e)&&i},e.prototype.handleDownEvent=function(t){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=t.pixel,this.finishCoordinate_||this.startDrawing_(t.coordinate),!0):this.condition_(t)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout((function(){this.handlePointerMove_(new bk(Ok.POINTERMOVE,t.map,t.originalEvent,!1,t.frameState))}).bind(this),this.dragVertexDelay_),this.downPx_=t.pixel,!0):(this.lastDragTime_=void 0,!1)},e.prototype.handleUpEvent=function(t){var e=!0;if(0===this.getPointerCount())if(this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(t),this.shouldHandle_){switch(!0){case!this.finishCoordinate_:if(this.startDrawing_(t.coordinate),"Point"!==this.mode_)break;case this.freehand_||this.atFinish_(t.pixel)&&this.finishCondition_(t):this.finishDrawing();break;case!this.freehand_:this.addToDrawing_(t.coordinate)}e=!1}else this.freehand_&&this.abortDrawing();return!e&&this.stopClick_&&t.originalEvent.stopPropagation(),e},e.prototype.handlePointerMove_=function(t){if(this.pointerType_=t.originalEvent.pointerType,this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var e=this.downPx_,n=t.pixel,i=e[0]-n[0],o=e[1]-n[1],r=i*i+o*o;if(this.shouldHandle_=this.freehand_?r>this.squaredClickTolerance_:r<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(t.coordinate):this.createOrUpdateSketchPoint_(t)}
1,e.prototype.atFinish_=function(t){var e=!1;if(this.sketchFeature_){var n=!1,i=[this.finishCoordinate_],o=this.mode_;if("Point"===o)e=!0;else if("Circle"===o)e=2===this.sketchCoords_.length;else if("LineString"===o)n=this.sketchCoords_.length>this.minPoints_;else if("Polygon"===o){var r=this.sketchCoords_;n=r[0].length>this.minPoints_,i=[r[0][0],r[0][r[0].length-2]]}if(n)for(var a=this.getMap(),s=0,c=i.length;s<c;s++){var l=i[s],u=a.getPixelFromCoordinate(l),d=t[0]-u[0],h=t[1]-u[1],p=this.freehand_?1:this.snapTolerance_;if(e=Math.sqrt(d*d+h*h)<=p){this.finishCoordinate_=l;break}}}return e},e.prototype.createOrUpdateSketchPoint_=function(t){var e=t.coordinate.slice();this.sketchPoint_?this.sketchPoint_.getGeometry().setCoordinates(e):(this.sketchPoint_=new pD(new dA(e)),this.updateSketchFeatures_())},e.prototype.createOrUpdateCustomSketchLine_=function(t){this.sketchLine_||(this.sketchLine_=new pD);var e=t.getLinearRing(0),n=this.sketchLine_.getGeometry();n?(n.setFlatCoordinates(e.getLayout(),e.getFlatCoordinates()),n.changed()):(n=new jD(e.getFlatCoordinates(),e.getLayout()),this.sketchLine_.setGeometry(n))},e.prototype.startDrawing_=function(t){var e=this.getMap().getView().getProjection();this.finishCoordinate_=t,"Point"===this.mode_?this.sketchCoords_=t.slice():"Polygon"===this.mode_?(this.sketchCoords_=[[t.slice(),t.slice()]],this.sketchLineCoords_=this.sketchCoords_[0]):this.sketchCoords_=[t.slice(),t.slice()],this.sketchLineCoords_&&(this.sketchLine_=new pD(new jD(this.sketchLineCoords_)));var n=this.geometryFunction_(this.sketchCoords_,void 0,e);this.sketchFeature_=new pD,this.geometryName_&&this.sketchFeature_.setGeometryName(this.geometryName_),this.sketchFeature_.setGeometry(n),this.updateSketchFeatures_(),this.dispatchEvent(new PF("drawstart",this.sketchFeature_))},e.prototype.modifyDrawing_=function(t){var e,n,i=this.getMap(),o=this.sketchFeature_.getGeometry(),r=i.getView().getProjection();"Point"===this.mode_?n=this.sketchCoords_:"Polygon"===this.mode_?(n=(e=this.sketchCoords_[0])[e.length-1],this.atFinish_(i.getPixelFromCoordinate(t))&&(t=this.finishCoordinate_.slice())):n=(e=this.sketchCoords_)[e.length-1],n[0]=t[0],n[1]=t[1],this.geometryFunction_(this.sketchCoords_,o,r),this.sketchPoint_&&this.sketchPoint_.getGeometry().setCoordinates(t),"Polygon"===o.getType()&&"Polygon"!==this.mode_?this.createOrUpdateCustomSketchLine_(o):this.sketchLineCoords_&&this.sketchLine_.getGeometry().setCoordinates(this.sketchLineCoords_),this.updateSketchFeatures_()},e.prototype.addToDrawing_=function(t){var e,n,i=this.sketchFeature_.getGeometry(),o=this.getMap().getView().getProjection(),r=this.mode_;"LineString"===r||"Circle"===r?(this.finishCoordinate_=t.slice(),(n=this.sketchCoords_).length>=this.maxPoints_&&(this.freehand_?n.pop():e=!0),n.push(t.slice()),this.geometryFunction_(n,i,o)):"Polygon"===r&&((n=this.sketchCoords_[0]).length>=this.maxPoints_&&(this.freehand_?n.pop():e=!0),n.push(t.slice()),e&&(this.finishCoordinate_=n[0]),this.geometryFunction_(this.sketchCoords_,i,o)),this.updateSketchFeatures_(),e&&this.finishDrawing()},e.prototype.removeLastPoint=function(){if(this.sketchFeature_){var t,e=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),i=this.mode_;if("LineString"===i||"Circle"===i){if((t=this.sketchCoords_).splice(-2,1),t.length>=2){this.finishCoordinate_=t[t.length-2].slice();var o=this.finishCoordinate_.slice();t[t.length-1]=o,this.sketchPoint_.setGeometry(new dA(o))}this.geometryFunction_(t,e,n),"Polygon"===e.getType()&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(e)}else if("Polygon"===i){(t=this.sketchCoords_[0]).splice(-2,1);var r=this.sketchLine_.getGeometry();t.length>=2&&(o=t[t.length-2].slice(),t[t.length-1]=o,this.sketchPoint_.setGeometry(new dA(o))),r.setCoordinates(t),this.geometryFunction_(this.sketchCoords_,e,n)}1===t.length&&this.abortDrawing(),this.updateSketchFeatures_()}},e.prototype.finishDrawing=function(){var t=this.abortDrawing_();if(t){var e=this.sketchCoords_,n=t.getGeometry(),i=this.getMap().getView().getProjection();"LineString"===this.mode_?(e.pop(),this.geometryFunction_(e,n,i)
1):"Polygon"===this.mode_&&(e[0].pop(),this.geometryFunction_(e,n,i),e=n.getCoordinates()),"MultiPoint"===this.type_?t.setGeometry(new HD([e])):"MultiLineString"===this.type_?t.setGeometry(new BD([e])):"MultiPolygon"===this.type_&&t.setGeometry(new QD([e])),this.dispatchEvent(new PF("drawend",t)),this.features_&&this.features_.push(t),this.source_&&this.source_.addFeature(t)}},e.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var t=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),t},e.prototype.abortDrawing=function(){var t=this.abortDrawing_();t&&this.dispatchEvent(new PF("drawabort",t))},e.prototype.appendCoordinates=function(t){var e,n=this.mode_,i=!this.sketchFeature_;if(i&&this.startDrawing_(t[0]),"LineString"===n||"Circle"===n)e=this.sketchCoords_;else{if("Polygon"!==n)return;e=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}i&&e.shift(),e.pop();for(var o=0;o<t.length;o++)this.addToDrawing_(t[o]);var r=t[t.length-1];this.addToDrawing_(r),this.modifyDrawing_(r)},e.prototype.extend=function(t){var e=t.getGeometry();this.sketchFeature_=t,this.sketchCoords_=e.getCoordinates();var n=this.sketchCoords_[this.sketchCoords_.length-1];this.finishCoordinate_=n.slice(),this.sketchCoords_.push(n.slice()),this.sketchPoint_=new pD(new dA(n)),this.updateSketchFeatures_(),this.dispatchEvent(new PF("drawstart",this.sketchFeature_))},e.prototype.updateSketchFeatures_=function(){var t=[];this.sketchFeature_&&t.push(this.sketchFeature_),this.sketchLine_&&t.push(this.sketchLine_),this.sketchPoint_&&t.push(this.sketchPoint_);var e=this.overlay_.getSource();e.clear(!0),e.addFeatures(t)},e.prototype.updateState_=function(){var t=this.getMap(),e=this.getActive();(!t||!e)&&this.abortDrawing(),this.overlay_.setMap(e?t:null)},e}(mT);function MF(){var t=function(){var t={},e=[255,255,255,1],n=[0,153,255,1];return t.Polygon=[new QI({fill:new HI({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new QI({stroke:new WI({color:e,width:5})}),new QI({stroke:new WI({color:n,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new QI({image:new YI({radius:6,fill:new HI({color:n}),stroke:new WI({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}();return function(e,n){return t[e.getGeometry().getType()]}}var xF,kF=wF,SF=["interpolate",["linear"],["zoom"],5,5.3,20,34],AF=["interpolate",["linear"],["zoom"],5,6.35,20,40.6],TF=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"getSelectedCircleStyle",value:function(){return{symbol:{symbolType:"circle",size:AF,color:"#3399CC",rotateWithView:!1,offset:[0,0],opacity:.65}}}},{key:"getUnselectedCircleStyle",value:function(){return{symbol:{symbolType:"circle",size:AF,color:"#FF6700",rotateWithView:!1,offset:[0,0],opacity:.65}}}},{key:"getSelectedSquareStyle",value:function(){return{symbol:{symbolType:"square",size:SF,color:"#3399CC",rotateWithView:!1,offset:[0,0],opacity:.65}}}},{key:"getUnselectedSquareStyle",value:function(){return{symbol:{symbolType:"square",size:SF,color:"#FF6700",rotateWithView:!1,offset:[0,0],opacity:.65}}}},{key:"getDrawOverlaySelectStyle",value:function(){return new nE({fill:new HI({color:"rgba(255, 255, 255, 0.2)"}),stroke:new WI({color:"#3399CC",width:3}),image:new YI({radius:6,stroke:new WI({color:"#FFF",width:2}),fill:new HI({color:"#3399CC"})})})}},{key:"getDrawOverlayDeselectStyle",value:function(){return new nE({fill:new HI({color:"rgba(255, 255, 255, 0.2)"}),stroke:new WI({color:"#FFF",width:3}),image:new YI({radius:6,stroke:new WI({color:"#FFF",width:2}),fill:new HI({color:"#FF6700"})})})}},{key:"getDrawEventSelectEndStyle",value:function(){return new nE({fill:new HI({color:"rgba(255, 255, 255, 0.2)"}),stroke:new WI({color:"#3399CC",width:3})})}},{key:"getDrawEventDeselectEndStyle",value:function(){return new nE({fill:new HI({color:"rgba(255, 255, 255, 0.2)"}),stroke:new WI({color:"#FFF",width:3})})}}]),t}(),IF=n(86710),EF=(0,IF.PH)("[OL Map] Initialize State"),DF=(0,IF.PH)("[OL Map] Reset SelectedPks"),RF=(0,IF.PH)("[OL Map] Set PolygonOn",(0,IF.Ky)()),FF=(0,IF.PH)("[OL Map] Set IntersectionOn",(0,IF.Ky)()),LF=(0,IF.PH)("[OL Map] Add Primary Keys",(0,IF.Ky)()),ZF=(0,IF.PH)("[OL Map] Remove Primary Keys",(0,IF.Ky)()),NF=(0,IF.PH)("[OL Map] Add Plot Ids",(0,IF.Ky)()),UF=(0,IF.PH)("[OL Map] Remove Plot Ids",(0,IF.Ky)()),VF=(0,IF.PH)("[OL Map] Set ResetAll",(0,IF.Ky)()),jF=(0,IF.PH)("[OL Map] Revert ResetAll"),zF=(0,IF.PH)("[OL Map] Retrieve Selector PKs",(0,IF.Ky)()),qF=(0,IF.PH)("[OL Map] Retrieve Date Visited Selector PKs",(0,IF.Ky)()),BF=(0,IF.PH)("[OL Map] Retrieve Indicator PKs",(0,IF.Ky)()),YF=(0,IF.PH)("[OL Map] Upd
1ate With Selector PKs",(0,IF.Ky)()),GF=(0,IF.PH)("[OL Map] Set IdToPrimaryKey Object",(0,IF.Ky)()),HF=(0,IF.PH)("[OL Map] Set PrimaryKeyToId Object",(0,IF.Ky)()),JF=(0,IF.PH)("[OL Map] Retrieve Selector PKs 2",(0,IF.Ky)()),WF=(0,IF.PH)("[OL Map] Update With Selector PKs 2",(0,IF.Ky)()),QF=(0,IF.PH)("[OL Map] Add Active Filter",(0,IF.Ky)()),KF=(0,IF.PH)("[OL Map] Remove Active Filter",(0,IF.Ky)()),XF=(0,IF.PH)("[OL Map] Handle Empty Filter PlotId Selection",(0,IF.Ky)()),$F=(0,IF.PH)("[OL Map] Display Active Filter",(0,IF.Ky)()),tL=(0,IF.PH)("[OL Map] Retrieve Date Visited Selector PKs 2",(0,IF.Ky)()),eL=(0,IF.PH)("[OL Map] Retrieve Indicator PKs 2",(0,IF.Ky)()),nL=(0,IF.PH)("[OL Map] Update With Indicator PKs 2",(0,IF.Ky)()),iL=(0,IF.PH)("[OL Map] Update With Shapefile PKs",(0,IF.Ky)()),oL=(0,IF.PH)("[OL Map] Animate To Shapefile Selection"),rL=(0,IF.PH)("[OL Map] Reset Shapefile Animation"),aL=(0,IF.PH)("[OL MAP] Set Pending Shapefile Outline",(0,IF.Ky)()),sL=(0,IF.PH)("[OL MAP] Clear Shapefile Outline"),cL=(0,IF.PH)("[OL Map] Species Code Selection Updated",(0,IF.Ky)()),lL=(0,IF.PH)("[OL Map] Scientific Name Selection Updated",(0,IF.Ky)()),uL=(0,IF.PH)("[OL Map] Species Cover MinMax Selection Updated",(0,IF.Ky)()),dL=(0,IF.PH)("[OL Map] Mean Species Height MinMax Selection Updated",(0,IF.Ky)()),hL=(0,IF.PH)("[OL Map] Update Species Intersection PKs",(0,IF.Ky)()),pL=(0,IF.PH)("[OL Map] Clear Species Filter Plot Ids"),fL=function(t){return t.mapPlotState},gL=(0,IF.P1)(fL,function(t){return t.SelectedPks}),_L=(0,IF.P1)(fL,function(t){return t.SelectedPlotIds}),mL=(0,IF.P1)(fL,function(t){return t.ResetAll}),vL=(0,IF.P1)(fL,function(t){return t.ActiveFilters}),yL=(0,IF.P1)(fL,function(t){return t.DisplayedActiveFilter}),CL=(0,IF.P1)(fL,function(t){return t.ShouldAnimateToShapefileSelection}),bL=(0,IF.P1)(fL,function(t){return t.ShapefileOutlineGeoJson}),OL=(0,IF.P1)(fL,function(t){return t.ShapefileOutlineBbox}),PL=(0,IF.P1)(fL,function(t){return t.SpeciesFilterSelections}),wL=function(){var t=function(t){function e(t,n,i){var o;_classCallCheck(this,e);var r=document.createElement("div");r.id="ldc-polygon-element",(o=_callSuper(this,e,[{element:r}])).polygonElement=r,o.store=t,o.polygonSource=n,o.layerPairs=i,o.polygonButton=document.createElement("button"),o.polygonButton.id="ldc-polygon-button",o.polygonButton.innerHTML='<img src="assets/img/cmf/polygon-icon.svg" alt="Polygon icon" width="25" id="polygon-icon">',o.polygonButton.className="dropbtn",o.polygonButton.addEventListener("click",o.handlePolygon.bind(_assertThisInitialized(o)),!1),o.polygonElement.className="ldc-ol-polygon-control ol-unselectable ol-control dropdown",r.appendChild(o.polygonButton),o.styleGenerator=new TF,o.drawOverlaySelectStyle=o.styleGenerator.getDrawOverlaySelectStyle(),o.drawOverlayCurrentStyle=o.drawOverlaySelectStyle,o.drawOverlayDeselectStyle=o.styleGenerator.getDrawOverlayDeselectStyle(),o.drawEventSelectEndStyle=o.styleGenerator.getDrawEventSelectEndStyle(),o.drawEventDeselectEndStyle=o.styleGenerator.getDrawEventDeselectEndStyle(),o.drawEventCurrentEndStyle=o.drawEventSelectEndStyle,o.selectSites=!1,o.draw=new kF({source:o.polygonSource,type:"Polygon"}),o.draw.getOverlay().setStyle(o.drawOverlayCurrentStyle),o.polygonLayer=new bF({source:o.polygonSource}),o.dropdownDiv=document.createElement("div"),o.dropdownDiv.className="dropdown-content",o.dropdownDiv.style.visibility="hidden",o.dropdownDiv.id="ldc-polygon-dropdown";var a=document.createElement("a");a.className="dropdown-item",a.innerHTML="Select",a.href="#",a.id="ldc-polygon-select-anchor";var s=document.createElement("a");return s.className="dropdown-item",s.innerHTML="Deselect",s.href="#",s.id="ldc-polygon-deselect-anchor",o.dropdownDiv.appendChild(a),o.dropdownDiv.appendChild(s),o.polygonElement.appendChild(o.dropdownDiv),a.addEventListener("click",o.handleSelectAnchor.bind(_assertThisInitialized(o)),!1),s.addEventListener("click",o.handleDeselectAnchor.bind(_assertThisInitialized(o)),!1),o}return _inherits(e,t),_createClass(e,[{key:"initializeNgRxStoreSubscriptions",value:function(){var t=this;this.store.select(_L).subscribe(function(e){t.selectNewSites2(e)}),this.store.select(mL).subscribe(function(){t.inactivatePolygonControlButton()})}},{key:"inactivatePolygonControlButton",value:function(){this.polygonElement.classList.contains("active")&&this.polygonButton.click()}},{key:"addActiveStyling",value:function(t){t.style.backgroundColor="rgb(223, 223, 223)",t.style.borderRadius="4px"}},{key:"removeActiveStyling",value:function(t){t.style.backgroundColor="white",t.style.borderRadius="4px"}},{key:"handleSelectAnchor",value:function(t){t.preventDefault(),this.selectSites||(this.selectSites=!0,this.drawOverlayCurrentStyle=this.drawOverlaySelectStyle,this.draw.getOverlay().setStyle(this.drawOverlayCurrentStyle),this.drawEventCurrentEndStyle=this.drawEventSelectEndStyle,this.addActiveStyling(document.getElementById("ldc-polygon-select-anchor")),this.removeActiveStyling(document.getElementById("ldc-polygon-deselect-anchor")))}},{key:"handleDeselectAnchor",value:function(t){t.preventDefault(),this.selectSites&&(this.selectSites=!1,this.drawOverlayCurrentStyle=this.drawOverlayDeselectStyle,this.draw.getOverlay().setStyle(this.drawOverlayCurrentStyle),this.drawEventCurrentEndStyle=this.drawEventDeselectEndStyle,this.addActiveStyling(document.getElementById("ldc-polygon-deselect-anchor")),this.removeActiveStyling(document.getElementById("ldc-polygon-select-anchor")))}},{key:"updateSiteSelectionCounter",value:function(t,n){var i=document.getElementById("ldc-selected-sites"),o=Math.floor(n/e.WORLD_COPY_COUNT),r=Math.floor(t/e.WORLD_COPY_COUNT);i.innerHTML="".concat(o,"/").concat(o+r," plots selected")}},{key:"clearSelectedPrimaryKeys",value:function(){}},{key:"selectNewSites2",value:function(t){var e,n=new Set(t),i=0,o=0,r=_createForOfIteratorHelper(this.layerPairs);try{var a=function(){var t=e.value,r=t.unselected.getSource(),a=t.selected.getSource(),s=r.getFeatures().filter(function(t){return n.has(t.get("id"))});a.getFeatures().filter(function(t){return!n.has(t.get("id"))}
1).forEach(function(t){a.removeFeature(t),r.addFeature(t)}),s.forEach(function(t){r.removeFeature(t),a.addFeature(t)}),i+=r.getFeatures().length,o+=a.getFeatures().length};for(r.s();!(e=r.n()).done;)a()}catch(s){r.e(s)}finally{r.f()}this.updateSiteSelectionCounter(i,o)}},{key:"addDrawingInteraction2",value:function(){var t=this.getMap();t.addLayer(this.polygonLayer),t.addInteraction(this.draw);var e=this;this.draw.on("drawstart",function(t){e.polygonSource.clear();var n=new nE({fill:new HI({color:"rgba(255, 255, 255, 0.2)"})});t.feature.setStyle(n)}),this.draw.on("drawend",function(t){t.feature.setStyle(e.drawEventCurrentEndStyle);var n=t.feature.getGeometry(),i=tM(e.getMap().getView().getProjection().getExtent()),o=n.getExtent(),r=Math.round((o[0]+o[2])/2/i)*i,a=[];e.layerPairs.forEach(function(t){a=a.concat(t.unselected.getSource().getFeatures()).concat(t.selected.getSource().getFeatures())});var s,c=function(t){var e=_slicedToArray(t.getGeometry().getCoordinates(),2),i=e[0],o=e[1];return n.intersectsCoordinate([i+r,o])},l=function(){return Array.from(new Set(a.filter(c).map(function(t){return t.get("id")})))};e.selectSites?(s=l(),e.store.dispatch(NF({plotIds:s}))):(s=l(),e.store.dispatch(UF({plotIds:s}))),setTimeout(function(){return e.polygonSource.clear()},0)})}},{key:"removeDrawingInteraction",value:function(){var t=this.getMap();t.removeInteraction(this.draw),t.removeLayer(this.polygonLayer),this.polygonSource.clear(),this.draw=new kF({source:this.polygonSource,type:"Polygon"}),this.polygonLayer=new bF({source:this.polygonSource})}},{key:"adjustDropdownVisibility",value:function(){var t=document.getElementById("ldc-map-layers-dropdown");"visible"===t.style.visibility&&(t.style.visibility="hidden"),this.dropdownDiv.style.visibility="hidden"===this.dropdownDiv.style.visibility?"visible":"hidden"}},{key:"handlePolygon",value:function(t){t.preventDefault(),this.adjustDropdownVisibility(),this.polygonElement.classList.contains("active")?(this.handleDeselectAnchor(t),this.polygonElement.classList.remove("active"),this.removeDrawingInteraction(),this.store.dispatch(RF({polygonOn:!1}))):(this.handleSelectAnchor(t),this.addDrawingInteraction2(),this.polygonElement.classList.add("active"),this.store.dispatch(RF({polygonOn:!0})))}}]),e}(HA);return t.WORLD_COPY_COUNT=3,t}(),ML=(xF=function(t,e){return(xF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}xF(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),xL=function(t){function e(e){var n=this,i=e||{},o=xM({},i);return delete o.preload,delete o.useInterimTilesOnError,(n=t.call(this,o)||this).setPreload(void 0!==i.preload?i.preload:0),n.setUseInterimTilesOnError(void 0===i.useInterimTilesOnError||i.useInterimTilesOnError),n}return ML(e,t),e.prototype.getPreload=function(){return this.get("preload")},e.prototype.setPreload=function(t){this.set("preload",t)},e.prototype.getUseInterimTilesOnError=function(){return this.get("useInterimTilesOnError")},e.prototype.setUseInterimTilesOnError=function(t){this.set("useInterimTilesOnError",t)},e}(nx),kL=xL,SL=function(){function t(t,e,n,i){this.minX=t,this.maxX=e,this.minY=n,this.maxY=i}return t.prototype.contains=function(t){return this.containsXY(t[1],t[2])},t.prototype.containsTileRange=function(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY},t.prototype.containsXY=function(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY},t.prototype.equals=function(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY},t.prototype.extend=function(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY},t}();function AL(t,e,n,i,o){return void 0!==o?(o.minX=t,o.maxX=e,o.minY=n,o.maxY=i,o):new SL(t,e,n,i)}
1var TL,IL,EL,DL,RL,FL=SL,LL=(RL=function(t,e){return(RL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}RL(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ZL=function(t){function e(e){var n=t.call(this,e)||this;return n.extentChanged=!0,n.renderedExtent_=null,n.renderedProjection=null,n.renderedTiles=[],n.newTiles_=!1,n.tmpExtent=[1/0,1/0,-1/0,-1/0],n.tmpTileRange_=new FL(0,0,0,0),n}return LL(e,t),e.prototype.isDrawableTile=function(t){var e=this.getLayer(),n=t.getState(),i=e.getUseInterimTilesOnError();return 2==n||4==n||3==n&&!i},e.prototype.getTile=function(t,e,n,i){var o=i.pixelRatio,r=i.viewState.projection,a=this.getLayer(),s=a.getSource().getTile(t,e,n,o,r);return 3==s.getState()&&(a.getUseInterimTilesOnError()?a.getPreload()>0&&(this.newTiles_=!0):s.setState(2)),this.isDrawableTile(s)||(s=s.getInterimTile()),s},e.prototype.loadedTileCallback=function(e,n,i){return!!this.isDrawableTile(i)&&t.prototype.loadedTileCallback.call(this,e,n,i)},e.prototype.prepareFrame=function(t){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(t,e){var n=t.layerStatesArray[t.layerIndex],i=t.viewState,o=i.projection,r=i.resolution,a=i.center,s=i.rotation,c=t.pixelRatio,l=this.getLayer(),u=l.getSource(),d=u.getRevision(),h=u.getTileGridForProjection(o),p=h.getZForResolution(r,u.zDirection),f=h.getResolution(p),g=t.extent,_=n.extent&&_S(n.extent);_&&(g=Kw(g,_S(n.extent)));var m=u.getTilePixelRatio(c),v=Math.round(t.size[0]*m),y=Math.round(t.size[1]*m);if(s){var C=Math.round(Math.sqrt(v*v+y*y));v=C,y=C}var b=f*v/2/m,O=f*y/2/m,P=[a[0]-b,a[1]-O,a[0]+b,a[1]+O],w=h.getTileRangeForExtentAndZ(g,p),M={};M[p]={};var x=this.createLoadedTileFinder(u,o,M),k=this.tmpExtent,S=this.tmpTileRange_;this.newTiles_=!1;for(var A=w.minX;A<=w.maxX;++A)for(var T=w.minY;T<=w.maxY;++T){var I=this.getTile(p,A,T,t);if(this.isDrawableTile(I)){var E=pw(this);if(2==I.getState()){M[p][I.tileCoord.toString()]=I;var D=I.inTransition(E);!this.newTiles_&&(D||-1===this.renderedTiles.indexOf(I))&&(this.newTiles_=!0)}if(1===I.getAlpha(E,t.time))continue}var R=h.getTileCoordChildTileRange(I.tileCoord,S,k),F=!1;R&&(F=x(p+1,R)),F||h.forEachTileCoordParentTileRange(I.tileCoord,x,S,k)}var L=f/r;ww(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/m,1/m,s,-v/2,-y/2);var Z=function(t){return kx?xw(t):(rk||(rk=Tx(1,1).canvas),rk.style.transform=xw(t),rk.style.transform)}(this.pixelTransform);this.useContainer(e,Z,n.opacity);var N=this.context,U=N.canvas;Mw(this.inversePixelTransform,this.pixelTransform),ww(this.tempTransform,v/2,y/2,L,L,0,-v/2,-y/2),U.width!=v||U.height!=y?(U.width=v,U.height=y):this.containerReused||N.clearRect(0,0,v,y),_&&this.clipUnrotated(N,t,_),xM(N,u.getContextOptions()),this.preRender(N,t),this.renderedTiles.length=0;var V,j,z,q=Object.keys(M).map(Number);q.sort(iw),1!==n.opacity||this.containerReused&&!u.getOpaque(t.viewState.projection)?(V=[],j=[]):q=q.reverse();for(var B=q.length-1;B>=0;--B){var Y=q[B],G=u.getTilePixelSize(Y,c,o),H=h.getResolution(Y)/f,J=G[0]*H*L,W=G[1]*H*L,Q=h.getTileCoordForCoordAndZ(Xw(P),Y),K=h.getTileCoordExtent(Q),X=Pw(this.tempTransform,[m*(K[0]-P[0])/f,m*(P[3]-K[3])/f]),$=m*u.getGutterForProjection(o),tt=M[Y];for(var et in tt){var nt=(I=tt[et]).tileCoord,it=X[0]-(Q[1]-nt[1])*J,ot=Math.round(it+J),rt=X[1]-(Q[2]-nt[2])*W,at=Math.round(rt+W),st=ot-(A=Math.round(it)),ct=at-(T=Math.round(rt)),lt=p===Y;if(!(D=lt&&1!==I.getAlpha(pw(this),t.time)))if(V){N.save(),z=[A,T,A+st,T,A+st,T+ct,A,T+ct];for(var ut=0,dt=V.length;ut<dt;++ut)if(p!==Y&&Y<j[ut]){var ht=V[ut];N.beginPath(),N.moveTo(z[0],z[1]),N.lineTo(z[2],z[3]),N.lineTo(z[4],z[5]),N.lineTo(z[6],z[7]),N.moveTo(ht[6],ht[7]),N.lineTo(ht[4],ht[5]),N.lineTo(ht[2],ht[3]),N.lineTo(ht[0],ht[1]),N.clip()}V.push(z),j.push(Y)}else N.clearRect(A,T,st,ct);this.drawTileImage(I,t,A,T,st,ct,$,lt,n.opacity),V&&!D&&N.restore(),this.renderedTiles.push(I),this.updateUsedTiles(t.usedTiles,u,I)}}return this.renderedRevision=d,this.renderedResolution=f,this.extentChanged=!this.renderedExtent_||!Nw(this.renderedExtent_,P),this.renderedExtent_=P,this.renderedPixelRatio=c,this.renderedProjection=o,this.manageTilePyramid(t,u,h,c,o,g,p,l.getPreload()),this.scheduleExpireCache(t,u),this.postRender(N,t),n.extent&&N.restore(
1),Z!==U.style.transform&&(U.style.transform=Z),this.container},e.prototype.drawTileImage=function(t,e,n,i,o,r,a,s,c){var l=this.getTileImage(t);if(l){var u=pw(this),d=s?t.getAlpha(u,e.time):1,h=c*d,p=h!==this.context.globalAlpha;p&&(this.context.save(),this.context.globalAlpha=h),this.context.drawImage(l,a,a,l.width-2*a,l.height-2*a,n,i,o,r),p&&this.context.restore(),1!==d?e.animate=!0:s&&t.endTransition(u)}},e.prototype.getImage=function(){var t=this.context;return t?t.canvas:null},e.prototype.getTileImage=function(t){return t.getImage()},e.prototype.scheduleExpireCache=function(t,e){if(e.canExpireCache()){var n=(function(t,e,n){var i=pw(t);i in n.usedTiles&&t.expireCache(n.viewState.projection,n.usedTiles[i])}).bind(null,e);t.postRenderFunctions.push(n)}},e.prototype.updateUsedTiles=function(t,e,n){var i=pw(e);i in t||(t[i]={}),t[i][n.getKey()]=!0},e.prototype.manageTilePyramid=function(t,e,n,i,o,r,a,s,c){var l=pw(e);l in t.wantedTiles||(t.wantedTiles[l]={});var u,d,h,p,f,g,_=t.wantedTiles[l],m=t.tileQueue,v=0;for(g=n.getMinZoom();g<=a;++g)for(d=n.getTileRangeForExtentAndZ(r,g,d),h=n.getResolution(g),p=d.minX;p<=d.maxX;++p)for(f=d.minY;f<=d.maxY;++f)a-g<=s?(++v,0==(u=e.getTile(g,p,f,i,o)).getState()&&(_[u.getKey()]=!0,m.isKeyQueued(u.getKey())||m.enqueue([u,l,n.getTileCoordCenter(u.tileCoord),h])),void 0!==c&&c(u)):e.useTile(g,p,f,o);e.updateCacheSize(v,o)},e}(SR),NL=ZL,UL=(DL=function(t,e){return(DL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}DL(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),VL=function(t){function e(e){return t.call(this,e)||this}return UL(e,t),e.prototype.createRenderer=function(){return new NL(this)},e}(kL),jL=VL,zL=(EL=function(t,e){return(EL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}EL(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),qL=function(t){function e(e,n,i){var o=t.call(this)||this,r=i||{};return o.tileCoord=e,o.state=n,o.interimTile=null,o.hifi=!0,o.key="",o.transition_=void 0===r.transition?250:r.transition,o.transitionStarts_={},o}return zL(e,t),e.prototype.changed=function(){this.dispatchEvent("change")},e.prototype.release=function(){},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var t=this.interimTile;do{if(2==t.getState())return this.transition_=0,t;t=t.interimTile}while(t);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var t=this.interimTile,e=this;do{if(2==t.getState()){t.interimTile=null;break}1==t.getState()?e=t:0==t.getState()?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(t){if(3!==this.state&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()},e.prototype.load=function(){dw()},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else this.transitionStarts_[t]=n=e;var i=e-n+1e3/60;return i>=this.transition_?1:wS(i/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(DM),BL=qL,YL=(IL=function(t,e){return(IL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}IL(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),GL=function(t){function e(e,n,i,o,r,a){var s=t.call(this,e,n,a)||this;return s.crossOrigin_=o,s.src_=i,s.key=i,s.image_=new Image,null!==o&&(s.image_.crossOrigin=o),s.unlisten_=null,s.tileLoadFunction_=r,s}return YL(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=3,this.unlistenImage_(),this.image_=function(){var t=Tx(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}(),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;
1this.state=t.naturalWidth&&t.naturalHeight?2:4,this.unlistenImage_(),this.changed()},e.prototype.load=function(){3==this.state&&(this.state=0,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),0==this.state&&(this.state=1,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=$R(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(BL),HL=GL,JL=function(){function t(t,e,n,i,o,r){this.sourceProj_=t,this.targetProj_=e;var a={},s=dS(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){var e=t[0]+"/"+t[1];return a[e]||(a[e]=s(t)),a[e]},this.maxSourceExtent_=i,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!i&&!!this.sourceProj_.getExtent()&&tM(i)==tM(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?tM(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?tM(this.targetProj_.getExtent()):null;var c=Xw(n),l=$w(n),u=Gw(n),d=Yw(n),h=this.transformInv_(c),p=this.transformInv_(l),f=this.transformInv_(u),g=this.transformInv_(d),_=10+(r?Math.max(0,Math.ceil(rM(Bw(n)/(r*r*256*256)))):0);if(this.addQuad_(c,l,u,d,h,p,f,g,_),this.wrapsXInSource_){var m=1/0;this.triangles_.forEach(function(t,e,n){m=Math.min(m,t.source[0][0],t.source[1][0],t.source[2][0])}),this.triangles_.forEach((function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-m>this.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-m>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-m>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-m>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]);Math.max(e[0][0],e[1][0],e[2][0])-n<this.sourceWorldWidth_/2&&(t.source=e)}}).bind(this))}a={}}return t.prototype.addTriangle_=function(t,e,n,i,o,r){this.triangles_.push({source:[i,o,r],target:[t,e,n]})},t.prototype.addQuad_=function(t,e,n,i,o,r,a,s,c){var l=kw([o,r,a,s]),u=this.sourceWorldWidth_?tM(l)/this.sourceWorldWidth_:null,d=this.sourceWorldWidth_,h=this.sourceProj_.canWrapX()&&u>.5&&u<1,p=!1;if(c>0&&(this.targetProj_.isGlobal()&&this.targetWorldWidth_&&(p=tM(kw([t,e,n,i]))/this.targetWorldWidth_>.25||p),!h&&this.sourceProj_.isGlobal()&&u&&(p=u>.25||p)),!(!p&&this.maxSourceExtent_&&isFinite(l[0])&&isFinite(l[1])&&isFinite(l[2])&&isFinite(l[3]))||eM(l,this.maxSourceExtent_)){var f=0;if(!(p||isFinite(o[0])&&isFinite(o[1])&&isFinite(r[0])&&isFinite(r[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(s[0])&&isFinite(s[1])))if(c>0)p=!0;else if(1!=(f=(isFinite(o[0])&&isFinite(o[1])?0:8)+(isFinite(r[0])&&isFinite(r[1])?0:4)+(isFinite(a[0])&&isFinite(a[1])?0:2)+(isFinite(s[0])&&isFinite(s[1])?0:1))&&2!=f&&4!=f&&8!=f)return;if(c>0){if(!p){var g,_=this.transformInv_([(t[0]+n[0])/2,(t[1]+n[1])/2]);g=h?(lM(o[0],d)+lM(a[0],d))/2-lM(_[0],d):(o[0]+a[0])/2-_[0];var m=(o[1]+a[1])/2-_[1];p=g*g+m*m>this.errorThresholdSquared_}if(p){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){var v=[(e[0]+n[0])/2,(e[1]+n[1])/2],y=this.transformInv_(v),C=[(i[0]+t[0])/2,(i[1]+t[1])/2],b=this.transformInv_(C);this.addQuad_(t,e,v,C,o,r,y,b,c-1),this.addQuad_(C,v,n,i,b,y,a,s,c-1)}else{var O=[(t[0]+e[0])/2,(t[1]+e[1])/2],P=this.transformInv_(O),w=[(n[0]+i[0])/2,(n[1]+i[1])/2],M=this.transformInv_(w);this.addQuad_(t,O,w,i,o,P,M,s,c-1),this.addQuad_(O,e,n,w,P,r,a,M,c-1)}return}}if(h){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&f)&&this.addTriangle_(t,n,i,o,a,s),0==(14&f)&&this.addTriangle_(t,n,e,o,a,r),f&&(0==(13&f)&&this.addTriangle_(e,i,t,r,s,o),0==(7&f)&&this.addTriangle_(e,i,n,r,s,a))}},t.prototype.calculateSourceExtent=function(){var t=[1/0,1/0,-1/0,-1/0];return this.triangles_.forEach(function(e,n,i){var o=e.source;Vw(t,o[0]),Vw(t,o[1]),Vw(t,o[2])}),t},t.prototype.getTriangles=function(){return this.triangles_},t}(),WL=JL,QL={imageSmoothingEnabled:!1,msImageSmoothingEnabled:!1};function KL(t,e,n,i,o){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(i,o),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,i)+1,Math.max(n,o)),t.restore(
1)}function XL(t,e){return Math.abs(t[4*e]-210)>2||Math.abs(t[4*e+3]-191.25)>2}function $L(t,e,n,i){var o=hS(n,e,t),r=rS(e,i,n),a=e.getMetersPerUnit();void 0!==a&&(r*=a);var s=t.getMetersPerUnit();void 0!==s&&(r/=s);var c=t.getExtent();if(!c||Iw(c,o)){var l=rS(t,r,o)/r;isFinite(l)&&l>0&&(r/=l)}return r}var tZ,eZ=(tZ=function(t,e){return(tZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}tZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),nZ=function(t){function e(e,n,i,o,r,a,s,c,l,u,d,h){var p=t.call(this,r,0)||this;p.renderEdges_=void 0!==d&&d,p.contextOptions_=h,p.pixelRatio_=s,p.gutter_=c,p.canvas_=null,p.sourceTileGrid_=n,p.targetTileGrid_=o,p.wrappedTileCoord_=a||r,p.sourceTiles_=[],p.sourcesListenerKeys_=null,p.sourceZ_=0;var f=o.getTileCoordExtent(p.wrappedTileCoord_),g=p.targetTileGrid_.getExtent(),_=p.sourceTileGrid_.getExtent(),m=g?Kw(f,g):f;if(0===Bw(m))return p.state=4,p;var v=e.getExtent();v&&(_=_?Kw(_,v):v);var y=o.getResolution(p.wrappedTileCoord_[0]),C=function(t,e,n,i){var o=Hw(n),r=$L(t,e,o,i);return(!isFinite(r)||r<=0)&&qw(n,function(n){return r=$L(t,e,n,i),isFinite(r)&&r>0}),r}(e,i,m,y);if(!isFinite(C)||C<=0)return p.state=4,p;if(p.triangulation_=new WL(e,i,m,_,C*(void 0!==u?u:.5),y),0===p.triangulation_.getTriangles().length)return p.state=4,p;p.sourceZ_=n.getZForResolution(C);var b=p.triangulation_.calculateSourceExtent();if(_&&(e.canWrapX()?(b[1]=iM(b[1],_[1],_[3]),b[3]=iM(b[3],_[1],_[3])):b=Kw(b,_)),Bw(b)){for(var O=n.getTileRangeForExtentAndZ(b,p.sourceZ_),P=O.minX;P<=O.maxX;P++)for(var w=O.minY;w<=O.maxY;w++){var M=l(p.sourceZ_,P,w,s);M&&p.sourceTiles_.push(M)}0===p.sourceTiles_.length&&(p.state=4)}else p.state=4;return p}return eZ(e,t),e.prototype.getImage=function(){return this.canvas_},e.prototype.reproject_=function(){var t=[];if(this.sourceTiles_.forEach((function(e,n,i){e&&2==e.getState()&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}).bind(this)),this.sourceTiles_.length=0,0===t.length)this.state=3;else{var e=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(e),i="number"==typeof n?n:n[0],o="number"==typeof n?n:n[1],r=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),s=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=function(t,e,n,i,o,r,a,s,c,l,u,d){var h=Tx(Math.round(n*t),Math.round(n*e));if(xM(h,d),0===c.length)return h.canvas;function p(t){return Math.round(t*n)/n}h.scale(n,n),h.globalCompositeOperation="lighter";var f=[1/0,1/0,-1/0,-1/0];c.forEach(function(t,e,n){Uw(f,t.extent)});var g=tM(f),_=Qw(f),m=Tx(Math.round(n*g/i),Math.round(n*_/i));xM(m,d);var v=n/i;
vendor: 1,717 bytes, line 1
1c.forEach(function(t,e,n){var i=t.extent[0]-f[0],o=-(t.extent[3]-f[3]),r=tM(t.extent),a=Qw(t.extent);t.image.width>0&&t.image.height>0&&m.drawImage(t.image,l,l,t.image.width-2*l,t.image.height-2*l,i*v,o*v,r*v,a*v)});var y=Xw(a);return s.getTriangles().forEach(function(t,e,o){var a=t.source,s=t.target,c=a[0][0],l=a[0][1],u=a[1][0],g=a[1][1],_=a[2][0],v=a[2][1],C=p((s[0][0]-y[0])/r),b=p(-(s[0][1]-y[1])/r),O=p((s[1][0]-y[0])/r),P=p(-(s[1][1]-y[1])/r),w=p((s[2][0]-y[0])/r),M=p(-(s[2][1]-y[1])/r),x=c,k=l;c=0,l=0;var S=function(t){for(var e=t.length,n=0;n<e;n++){for(var i=n,o=Math.abs(t[n][n]),r=n+1;r<e;r++){var a=Math.abs(t[r][n]);a>o&&(o=a,i=r)}if(0===o)return null;var s=t[i];t[i]=t[n],t[n]=s;for(var c=n+1;c<e;c++)for(var l=-t[c][n]/t[n][n],u=n;u<e+1;u++)n==u?t[c][u]=0:t[c][u]+=l*t[n][u]}for(var d=new Array(e),h=e-1;h>=0;h--){d[h]=t[h][e]/t[h][h];for(var p=h-1;p>=0;p--)t[p][e]-=t[p][h]*d[h]}return d}([[u-=x,g-=k,0,0,O-C],[_-=x,v-=k,0,0,w-C],[0,0,u,g,P-b],[0,0,_,v,M-b]]);if(S){if(h.save(),h.beginPath(),function(){if(void 0===TL){var t=document.createElement("canvas").getContext("2d");t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",KL(t,4,5,4,0),KL(t,4,5,0,5);var e=t.getImageData(0,0,3,3).data;TL=XL(e,0)||XL(e,4)||XL(e,8)}return TL}()||d===QL){h.moveTo(O,P);for(var A=C-O,T=b-P,I=0;I<4;I++)h.lineTo(O+p((I+1)*A/4),P+p(I*T/3)),3!=I&&h.lineTo(O+p((I+1)*A/4),P+p((I+1)*T/3));h.lineTo(w,M)}else h.moveTo(O,P),h.lineTo(C,b),h.lineTo(w,M);h.clip(),h.transform(S[0],S[2],S[1],S[3],C,b),h.translate(f[0]-x,f[3]-k),h.scale(i/n,-i/n),h.drawImage(m.canvas,0,0),h.restore()}}),u&&(h.save(),h.globalCompositeOperation="source-over",h.strokeStyle="black",h.lineWidth=1,s.getTriangles().forEac
1h(function(t,e,n){var i=t.target,o=(i[0][0]-y[0])/r,a=-(i[0][1]-y[1])/r,s=(i[1][0]-y[0])/r,c=-(i[1][1]-y[1])/r,l=(i[2][0]-y[0])/r,u=-(i[2][1]-y[1])/r;h.beginPath(),h.moveTo(s,c),h.lineTo(o,a),h.lineTo(l,u),h.closePath(),h.stroke()}),h.restore()),h.canvas}(i,o,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),r,s,this.triangulation_,t,this.gutter_,this.renderEdges_,this.contextOptions_),this.state=2}this.changed()},e.prototype.load=function(){if(0==this.state){this.state=1,this.changed();var t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach((function(e,n,i){var o=e.getState();if(0==o||1==o){t++;var r=RM(e,"change",function(n){var i=e.getState();(2==i||3==i||4==i)&&(LM(r),0==--t&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(r)}}).bind(this)),this.sourceTiles_.forEach(function(t,e,n){0==t.getState()&&t.load()}),0===t&&setTimeout(this.reproject_.bind(this),0)}},e.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(LM),this.sourcesListenerKeys_=null},e}(BL),iZ=nZ,oZ=function(){function t(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return t.prototype.canExpireCache=function(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(t){return this.entries_.hasOwnProperty(t)},t.prototype.forEach=function(t){for(var e=this.oldest_;e;)t(e.value_,e.key_,this),e=e.newer},t.prototype.get=function(t,e){var n=this.entries_[t];return vw(void 0!==n,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_},t.prototype.remove=function(t){var e=this.entries_[t];return vw(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.key_;return e},t.prototype.getValues=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.pop=function(){var t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_},t.prototype.replace=function(t,e){this.get(t),this.entries_[t].value_=e},t.prototype.set=function(t,e){vw(!(t in this.entries_),16);var n={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[t]=n,++this.count_},t.prototype.setSize=function(t){this.highWaterMark=t},t}();function rZ(t,e,n,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=n,i):[t,e,n]}function aZ(t,e,n){return t+"/"+e+"/"+n}function sZ(t){return aZ(t[0],t[1],t[2])}var cZ,lZ=(cZ=function(t,e){return(cZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}cZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),uZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return lZ(e,t),e.prototype.expireCache=function(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=function(t){return t.split("/").map(Number)}(this.peekFirstKey()),e=t[0];this.forEach((function(t){t.tileCoord[0]!==e&&(this.remove(sZ(t.tileCoord)),t.release()
1)}).bind(this))}},e}(oZ),dZ=uZ,hZ=[0,0,0],pZ=function(){function t(t){var e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,vw(function(t,e,n){var i=function(t,e){return e-t}||iw;return t.every(function(e,n){if(0===n)return!0;var o=i(t[n-1],e);return!(o>0||0===o)})}(this.resolutions_),17),!t.origins)for(var n=0,i=this.resolutions_.length-1;n<i;++n)if(e){if(this.resolutions_[n]/this.resolutions_[n+1]!==e){e=void 0;break}}else e=this.resolutions_[n]/this.resolutions_[n+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,vw(this.origins_.length==this.resolutions_.length,20));var o=t.extent;void 0!==o&&!this.origin_&&!this.origins_&&(this.origin_=Xw(o)),vw(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,vw(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:256,vw(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=void 0!==o?o:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map(function(t,e){var n=new FL(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1));if(o){var i=this.getTileRangeForExtentAndZ(o,e);n.minX=Math.max(i.minX,n.minX),n.maxX=Math.min(i.maxX,n.maxX),n.minY=Math.max(i.minY,n.minY),n.maxY=Math.min(i.maxY,n.maxY)}return n},this):o&&this.calculateTileRanges_(o)}return t.prototype.forEachTileCoord=function(t,e,n){for(var i=this.getTileRangeForExtentAndZ(t,e),o=i.minX,r=i.maxX;o<=r;++o)for(var a=i.minY,s=i.maxY;a<=s;++a)n([e,o,a])},t.prototype.forEachTileCoordParentTileRange=function(t,e,n,i){var o,r,a=null,s=t[0]-1;for(2===this.zoomFactor_?(o=t[1],r=t[2]):a=this.getTileCoordExtent(t,i);s>=this.minZoom;){if(e(s,2===this.zoomFactor_?AL(o=Math.floor(o/2),o,r=Math.floor(r/2),r,n):this.getTileRangeForExtentAndZ(a,s,n)))return!0;--s}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(t){return this.origin_?this.origin_:this.origins_[t]},t.prototype.getResolution=function(t){return this.resolutions_[t]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(t,e,n){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){var i=2*t[1],o=2*t[2];return AL(i,i+1,o,o+1,e)}var r=this.getTileCoordExtent(t,n);return this.getTileRangeForExtentAndZ(r,t[0]+1,e)}return null},t.prototype.getTileRangeExtent=function(t,e,n){var i=this.getOrigin(t),o=this.getResolution(t),r=LA(this.getTileSize(t),this.tmpSize_);return Fw(i[0]+e.minX*r[0]*o,i[1]+e.minY*r[1]*o,i[0]+(e.maxX+1)*r[0]*o,i[1]+(e.maxY+1)*r[1]*o,n)},t.prototype.getTileRangeForExtentAndZ=function(t,e,n){var i=hZ;this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,i);var o=i[1],r=i[2];return this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,i),AL(o,i[1],r,i[2],n)},t.prototype.getTileCoordCenter=function(t){var e=this.getOrigin(t[0]),n=this.getResolution(t[0]),i=LA(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*i[0]*n,e[1]-(t[2]+.5)*i[1]*n]},t.prototype.getTileCoordExtent=function(t,e){var n=this.getOrigin(t[0]),i=this.getResolution(t[0]),o=LA(this.getTileSize(t[0]),this.tmpSize_),r=n[0]+t[1]*o[0]*i,a=n[1]-(t[2]+1)*o[1]*i;return Fw(r,a,r+o[0]*i,a+o[1]*i,e)},t.prototype.getTileCoordForCoordAndResolution=function(t,e,n){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordForXYAndResolution_=function(t,e,n,i,o){var r=this.getZForResolution(n),a=n/this.getResolution(r),s=this.getOrigin(r),c=LA(this.getTileSize(r),this.tmpSize_),l=i?.5:0,u=Math.floor((t-s[0])/n+(i?.5:0)),d=Math.floor((s[1]-e)/n+l),h=a*u/c[0],p=a*d/c[1];return i?(h=Math.ceil(h)-1,p=Math.ceil(p)-1):(h=Math.floor(h),p=Math.floor(p)),rZ(r,h,p,o)},t.prototype.getTileCoordForXYAndZ_=function(t,e,n,i,o){var r=this.getOrigin(n),a=this.getResolution(n),s=LA(this.getTileSize(n),this.tmpSize_),c=i?.5:0,l=Math.floor((t-r[0])/a+(i?.5:0)),u=Math.floor((r[1]-e)/a+c),d=l/s[0],h=u/s[1];return i?(d=Math.ceil(d)-1,h=Math.ceil(h)-1):(d=Math.floor(d),h=Math.floor(h)),rZ(n,d,h,o)},t.prototype.getTileCoordForCoordAndZ=function(t,e,n){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordResolution=function(t){return this.resolutions_[t[0]]},t.prototype.getTileSize=function(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]},t.prototype.getFullTileRange=function(t){return this.fullTileRanges_?this.fullTileRanges_[t]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,t):null},t.prototype.getZForResolution=function(t,e){return iM(ow(this.resolutions_,t,e||0),this.minZoom,this.maxZoom)},t.prototype.calculateTileRanges_=function(t){for(var e=this.resolutions_.length,n=new Array(e),i=this.minZoom;i<e;++i)n[i]=this.getTileRangeForExtentAndZ(t,i);this.fullTileRanges_=n},t}(),fZ=pZ;function gZ(t){var e=t.getDefaultTileGrid();return e||(e=function(t,e,n,i){return function(t,e,n,i){var o=_Z(t,void 0,n);return new fZ({extent:t,origin:Jw(t,"top-left"),resolutions:o,tileSize:n})}(mZ(t),0,void 0)}(t),t.setDefaultTileGrid(e)),e}function _Z(t,e,n,i){for(var o=void 0!==e?e:42,r=Qw(t),a=tM(t),s=LA(void 0!==n?n:256),c=i>0?i:Math.max(a/s[0],r/s[1]),l=o+1,u=new Array(l),d=0;d<l;++d)u[d]=c/Math.pow(2,d);return u}function mZ(t){var e=(t=oS(t)).getExtent();if(!e){var n=180*Ek[Fk.DEGREES]/t.getMetersPerUnit();e=Fw(-n,-n,n,n)}return e}
1var vZ,yZ=(vZ=function(t,e){return(vZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}vZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),CZ=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX})||this;n.opaque_=void 0!==e.opaque&&e.opaque,n.tilePixelRatio_=void 0!==e.tilePixelRatio?e.tilePixelRatio:1,n.tileGrid=void 0!==e.tileGrid?e.tileGrid:null;var i=e.tileGrid;return i&&LA(i.getTileSize(i.getMinZoom()),[256,256]),n.tileCache=new dZ(e.cacheSize||0),n.tmpSize=[0,0],n.key_=e.key||"",n.tileOptions={transition:e.transition},n.zDirection=e.zDirection?e.zDirection:0,n}return yZ(e,t),e.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},e.prototype.expireCache=function(t,e){var n=this.getTileCacheForProjection(t);n&&n.expireCache(e)},e.prototype.forEachLoadedTile=function(t,e,n,i){var o=this.getTileCacheForProjection(t);if(!o)return!1;for(var r,a,s,c=!0,l=n.minX;l<=n.maxX;++l)for(var u=n.minY;u<=n.maxY;++u)a=aZ(e,l,u),s=!1,o.containsKey(a)&&(s=2===(r=o.get(a)).getState())&&(s=!1!==i(r)),s||(c=!1);return c},e.prototype.getGutterForProjection=function(t){return 0},e.prototype.getKey=function(){return this.key_},e.prototype.setKey=function(t){this.key_!==t&&(this.key_=t,this.changed())},e.prototype.getOpaque=function(t){return this.opaque_},e.prototype.getResolutions=function(){return this.tileGrid.getResolutions()},e.prototype.getTile=function(t,e,n,i,o){return dw()},e.prototype.getTileGrid=function(){return this.tileGrid},e.prototype.getTileGridForProjection=function(t){return this.tileGrid?this.tileGrid:gZ(t)},e.prototype.getTileCacheForProjection=function(t){return vw(lS(this.getProjection(),t),68),this.tileCache},e.prototype.getTilePixelRatio=function(t){return this.tilePixelRatio_},e.prototype.getTilePixelSize=function(t,e,n){var i=this.getTileGridForProjection(n),o=this.getTilePixelRatio(e),r=LA(i.getTileSize(t),this.tmpSize);return 1==o?r:function(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}(r,o,this.tmpSize)},e.prototype.getTileCoordForTileUrlFunction=function(t,e){var n=void 0!==e?e:this.getProjection(),i=this.getTileGridForProjection(n);return this.getWrapX()&&n.isGlobal()&&(t=function(t,e,n){var i=e[0],o=t.getTileCoordCenter(e),r=mZ(n);if(Iw(r,o))return e;var a=tM(r),s=Math.ceil((r[0]-o[0])/a);return o[0]+=a*s,t.getTileCoordForCoordAndZ(o,i)}(i,t,n)),function(t,e){var n=t[0],i=t[1],o=t[2];if(e.getMinZoom()>n||n>e.getMaxZoom())return!1;var r=e.getFullTileRange(n);return!r||r.containsXY(i,o)}(t,i)?t:null},e.prototype.clear=function(){this.tileCache.clear()},e.prototype.refresh=function(){this.clear(),t.prototype.refresh.call(this)},e.prototype.updateCacheSize=function(t,e){var n=this.getTileCacheForProjection(e);t>n.highWaterMark&&(n.highWaterMark=t)},e.prototype.useTile=function(t,e,n,i){},e}(SI),bZ=function(t){function e(e,n){var i=t.call(this,e)||this;return i.tile=n,i}return yZ(e,t),e}(MM);function OZ(t,e){var n=/\{z\}/g,i=/\{x\}/g,o=/\{y\}/g,r=/\{-y\}/g;return function(a,s,c){if(a)return t.replace(n,a[0].toString()).replace(i,a[1].toString()).replace(o,a[2].toString()).replace(r,function(){var t=e.getFullTileRange(a[0]);return vw(t,55),(t.getHeight()-a[2]-1).toString()})}}var PZ,wZ,MZ=(wZ=function(t,e){return(wZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}wZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),xZ=function(t){function e(n){var i=t.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tilePixelRatio:n.tilePixelRatio,wrapX:n.wrapX,transition:n.transition,key:n.key,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this;return i.generateTileUrlFunction_=i.tileUrlFunction===e.prototype.tileUrlFunction,i.tileLoadFunction=n.tileLoadFunction,n.tileUrlFunction&&(i.tileUrlFunction=n.tileUrlFunction),i.urls=null,n.urls?i.setUrls(n.urls):n.url&&i.setUrl(n.url),i.tileLoadingKeys_={},i}return MZ(e,t),e.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},e.prototype.getTileUrlFunction=function(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction},e.prototype.getUrls=function(){return this.urls},e.prototype.handleTileChange=function(t){var e,n=t.target,i=pw(n),o=n.get
1State();1==o?(this.tileLoadingKeys_[i]=!0,e="tileloadstart"):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],e=3==o?"tileloaderror":2==o?"tileloadend":void 0),null!=e&&this.dispatchEvent(new bZ(e,n))},e.prototype.setTileLoadFunction=function(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()},e.prototype.setTileUrlFunction=function(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),void 0!==e?this.setKey(e):this.changed()},e.prototype.setUrl=function(t){var e=function(t){var e=[],n=/\{([a-z])-([a-z])\}/.exec(t);if(n){var i=n[1].charCodeAt(0),o=n[2].charCodeAt(0),r=void 0;for(r=i;r<=o;++r)e.push(t.replace(n[0],String.fromCharCode(r)));return e}if(n=/\{(\d+)-(\d+)\}/.exec(t)){for(var a=parseInt(n[2],10),s=parseInt(n[1],10);s<=a;s++)e.push(t.replace(n[0],s.toString()));return e}return e.push(t),e}(t);this.urls=e,this.setUrls(e)},e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(function(t,e){for(var n=t.length,i=new Array(n),o=0;o<n;++o)i[o]=OZ(t[o],e);return function(t){return 1===t.length?t[0]:function(e,n,i){if(e){var o=function(t){return(t[1]<<t[0])+t[2]}(e),r=lM(o,t.length);return t[r](e,n,i)}}}(i)}(t,this.tileGrid),e):this.setKey(e)},e.prototype.tileUrlFunction=function(t,e,n){},e.prototype.useTile=function(t,e,n){var i=aZ(t,e,n);this.tileCache.containsKey(i)&&this.tileCache.get(i)},e}(CZ),kZ=(PZ=function(t,e){return(PZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}PZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),SZ=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:AZ,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection})||this;return n.crossOrigin=void 0!==e.crossOrigin?e.crossOrigin:null,n.tileClass=void 0!==e.tileClass?e.tileClass:HL,n.tileCacheForProjection={},n.tileGridForProjection={},n.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,n.contextOptions_=!1===e.imageSmoothing?QL:void 0,n.renderReprojectionEdges_=!1,n}return kZ(e,t),e.prototype.canExpireCache=function(){if(this.tileCache.canExpireCache())return!0;for(var t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1},e.prototype.expireCache=function(t,e){var n=this.getTileCacheForProjection(t);for(var i in this.tileCache.expireCache(this.tileCache==n?e:{}),this.tileCacheForProjection){var o=this.tileCacheForProjection[i];o.expireCache(o==n?e:{})}},e.prototype.getContextOptions=function(){return this.contextOptions_},e.prototype.getGutterForProjection=function(t){return this.getProjection()&&t&&!lS(this.getProjection(),t)?0:this.getGutter()},e.prototype.getGutter=function(){return 0},e.prototype.getKey=function(){return t.prototype.getKey.call(this)+(this.contextOptions_?"\n"+JSON.stringify(this.contextOptions_):"")},e.prototype.getOpaque=function(e){return!(this.getProjection()&&e&&!lS(this.getProjection(),e))&&t.prototype.getOpaque.call(this,e)},e.prototype.getTileGridForProjection=function(t){var e=this.getProjection();if(this.tileGrid&&(!e||lS(e,t)))return this.tileGrid;var n=pw(t);return n in this.tileGridForProjection||(this.tileGridForProjection[n]=gZ(t)),this.tileGridForProjection[n]},e.prototype.getTileCacheForProjection=function(t){var e=this.getProjection();if(!e||lS(e,t))return this.tileCache;var n=pw(t);return n in this.tileCacheForProjection||(this.tileCacheForProjection[n]=new dZ(this.tileCache.highWaterMark)),this.tileCacheForProjection[n]},e.prototype.createTile_=function(t,e,n,i,o,r){var a=[t,e,n],s=this.getTileCoordForTileUrlFunction(a,o),c=s?this.tileUrlFunction(s,i,o):void 0,l=new this.tileClass(a,void 0!==c?0:4,void 0!==c?c:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return l.key=r,l.addEventListener("change",this.handleTileChange.bind(this)),l},e.prototype.getTile=function(t,e,n,i,o){var r=this.getProjection();if(!r||!o||lS(r,o))return this.getTileInternal(t,e,n,i,r||o);var a=this.getTileCacheForProjection(o),s=[t,e,n],c=void 0,l=sZ(s);a.containsKey(l)&&(c=a.get(l));var u=this.getKey();if(c&&c.key==u)return c;var d=this.getTileGridForProjection(r),h=this.getTileGridForProjection(o),p=this.getTileCoordForTileUrlFunction(s,o),f=new iZ(r,d,o,h,s,p,this.getTilePixelRatio(i),this.getGutter(),(function(t,e,n,i){return this.getTileInternal(t,e,n,i,r)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.contextOptions_);return f.key=u,c?(f.interimTile=c,f.refreshInterimChain(),a.replace(l,f)):a.set(l,f),f},e.prototype.getTileInternal=function(t,e,n,i,o){var r=null,a=aZ(t,e,n),s=this.getKey();if(this.tileCache.containsKey(a)){if((r=this.tileCache.get(a)).key!=s){var c=r;(r=this.createTile_(t,e,n,i,o,s)).interimTile=0==c.getState()?c.interimTile:c,r.refreshInterimChain(),this.tileCache.replace(a,r)}}else r=this.createTile_(t,e,n,i,o,s),this.tileCache.set(a,r);return r},e.prototype.setRenderReprojectionEdges=function(t){if(this.renderReprojectionEdges_!=t){for(var e in this.renderReprojectionEdges_=t,this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}},e.prototype.setTileGridForProjection=function(t,e){var n=oS(t);
1if(n){var i=pw(n);i in this.tileGridForProjection||(this.tileGridForProjection[i]=e)}},e}(xZ);function AZ(t,e){t.getImage().src=e}var TZ,IZ,EZ=(TZ=function(t,e){return(TZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}TZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),DZ=function(t){function e(e){var n=e||{},i=void 0!==n.projection?n.projection:"EPSG:3857",o=void 0!==n.tileGrid?n.tileGrid:function(t){var e=t||{},n=e.extent||oS("EPSG:3857").getExtent(),i={extent:n,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:_Z(n,e.maxZoom,e.tileSize,e.maxResolution)};return new fZ(i)}({extent:mZ(i),maxResolution:n.maxResolution,maxZoom:n.maxZoom,minZoom:n.minZoom,tileSize:n.tileSize});return t.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,imageSmoothing:n.imageSmoothing,opaque:n.opaque,projection:i,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:o,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:void 0===n.wrapX||n.wrapX,transition:n.transition,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this}return EZ(e,t),e}(SZ),RZ=DZ,FZ=function(){function t(){_classCallCheck(this,t),this.tilePixelRatio=2}return _createClass(t,[{key:"getGoogleTerrainLayer",value:function(){return new jL({source:new RZ({url:"http://mt0.google.com/vt/lyrs=p&hl=en&x={x}&y={y}&z={z}",tilePixelRatio:this.tilePixelRatio})})}},{key:"getGoogleSatelliteLayer",value:function(){return new jL({source:new RZ({url:"http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}",tilePixelRatio:2})})}},{key:"getGoogleRoadLayer",value:function(){return new jL({source:new RZ({url:"http://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}",tilePixelRatio:2})})}},{key:"getGoogleHybridLayer",value:function(){return new jL({source:new RZ({url:"http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}",tilePixelRatio:2})})}}]),t}(),LZ=function(t){function e(t,n){var i;_classCallCheck(this,e);var o=document.createElement("div");(i=_callSuper(this,e,[{element:o}])).store=t,o.className="ldc-ol-map-layer-control ol-unselectable ol-control dropdown";var r=document.createElement("button");r.innerHTML='<img src="assets/img/cmf/map-layers-icon.svg" alt="Map-layers icon" width="25" id="map-layers-icon">',r.className="dropbtn",r.id="map-layer-control-button",i.dropdownDiv=document.createElement("div"),i.dropdownDiv.className="dropdown-content",i.dropdownDiv.style.visibility="hidden",i.dropdownDiv.id="ldc-map-layers-dropdown",i.googleTerrainAnchor=document.createElement("a"),i.googleTerrainAnchor.className="dropdown-item",i.googleTerrainAnchor.setAttribute("href","#"),i.googleTerrainAnchor.innerHTML="Terrain",i.googleTerrainAnchor.id="ldc-google-terrain-anchor",i.googleSatelliteAnchor=document.createElement("a"),i.googleSatelliteAnchor.className="dropdown-item",i.googleSatelliteAnchor.innerHTML="Satellite",i.googleSatelliteAnchor.setAttribute("href","#"),i.googleRoadAnchor=document.createElement("a"),i.googleRoadAnchor.className="dropdown-item",i.googleRoadAnchor.innerHTML="Road",i.googleRoadAnchor.setAttribute("href","#"),i.googleHybridAnchor=document.createElement("a"),i.googleHybridAnchor.className="dropdown-item",i.googleHybridAnchor.innerHTML="Hybrid",i.googleHybridAnchor.setAttribute("href","#"),i.googleHybridAnchor.id="ldc-google-hybrid-anchor",i.dropdownAnchors=[i.googleTerrainAnchor,i.googleSatelliteAnchor,i.googleRoadAnchor,i.googleHybridAnchor];var a,s=_createForOfIteratorHelper(i.dropdownAnchors);try{for(s.s();!(a=s.n()).done;){var c=a.value;i.dropdownDiv.appendChild(c)}}catch(l){s.e(l)}finally{s.f()}return o.appendChild(r),o.appendChild(i.dropdownDiv),i.googleTerrainLayer=n,i.googleTerrainAnchor.style.backgroundColor="rgb(223, 223, 223)",i.googleTerrainAnchor.style.borderRadius="4px",i.mapLayerGenerator=new FZ,i.googleSatelliteLayer=i.mapLayerGenerator.getGoogleSatelliteLayer(),i.googleRoadLayer=i.mapLayerGenerator.getGoogleRoadLayer(),i.googleHybridLayer=i.mapLayerGenerator.getGoogleHybridLayer(),i.tileLayers=[i.googleTerrainLayer,i.googleSatelliteLayer,i.googleRoadLayer,i.googleHybridLayer],r.addEventListener("click",i.handleMapLayer.bind(_assertThisInitialized(i)),!1),i.googleTerrainAnchor.addEventListener("click",i.handleTerrainOption.bind(_assertThisInitialized(i)),!1),i.googleSatelliteAnchor.addEventListener("click",i.handleSatelliteOption.bind(_assertThisInitialized(i)),!1),i.googleRoadAnchor.addEventListener("click",i.handleRoadOption.bind(_assertThisInitialized(i)),!1),i.googleHybridAnc
1hor.addEventListener("click",i.handleHybridOption.bind(_assertThisInitialized(i)),!1),i}return _inherits(e,t),_createClass(e,[{key:"initializeNgRxStoreSubscriptions",value:function(){var t=this;this.store.select(mL).subscribe(function(){t.inactivateMapLayerMenu(),t.restoreDefaultLayer()})}},{key:"inactivateMapLayerMenu",value:function(){var t=document.getElementById("ldc-map-layers-dropdown");"visible"===t.style.visibility&&(t.style.visibility="hidden")}},{key:"restoreDefaultLayer",value:function(){this.googleTerrainAnchor.click()}},{key:"handleMapLayer",value:function(t){t.preventDefault();var e=document.getElementById("ldc-polygon-dropdown"),n=document.getElementById("ldc-polygon-button");"visible"===e.style.visibility&&n.click(),this.dropdownDiv.style.visibility="hidden"===this.dropdownDiv.style.visibility?"visible":"hidden"}},{key:"changeTileLayer",value:function(t){var e,n=_createForOfIteratorHelper(this.getMap().getLayers().getArray());try{for(n.s();!(e=n.n()).done;){var i,o=e.value,r=_createForOfIteratorHelper(this.tileLayers);try{for(r.s();!(i=r.n()).done;){var a=i.value;o!==t&&o===a&&(this.getMap().getLayers().insertAt(0,t),this.getMap().removeLayer(o))}}catch(s){r.e(s)}finally{r.f()}}}catch(s){n.e(s)}finally{n.f()}}},{key:"addActiveStyling",value:function(t){t.style.backgroundColor="rgb(223, 223, 223)",t.style.borderRadius="4px"}},{key:"removeActiveStyling",value:function(t){t.style.backgroundColor="white",t.style.borderRadius="4px"}},{key:"handleTerrainOption",value:function(t){t.preventDefault();var e,n=_createForOfIteratorHelper(this.dropdownAnchors);try{for(n.s();!(e=n.n()).done;){var i=e.value;i!==this.googleTerrainAnchor&&this.removeActiveStyling(i)}}catch(o){n.e(o)}finally{n.f()}this.addActiveStyling(this.googleTerrainAnchor),this.changeTileLayer(this.googleTerrainLayer)}},{key:"handleSatelliteOption",value:function(t){t.preventDefault();var e,n=_createForOfIteratorHelper(this.dropdownAnchors);try{for(n.s();!(e=n.n()).done;){var i=e.value;i!==this.googleSatelliteAnchor&&this.removeActiveStyling(i)}}catch(o){n.e(o)}finally{n.f()}this.addActiveStyling(this.googleSatelliteAnchor),this.changeTileLayer(this.googleSatelliteLayer)}},{key:"handleRoadOption",value:function(t){t.preventDefault();var e,n=_createForOfIteratorHelper(this.dropdownAnchors);try{for(n.s();!(e=n.n()).done;){var i=e.value;i!==this.googleRoadAnchor&&this.removeActiveStyling(i)}}catch(o){n.e(o)}finally{n.f()}this.addActiveStyling(this.googleRoadAnchor),this.changeTileLayer(this.googleRoadLayer)}},{key:"handleHybridOption",value:function(t){t.preventDefault();var e,n=_createForOfIteratorHelper(this.dropdownAnchors);try{for(n.s();!(e=n.n()).done;){var i=e.value;i!==this.googleHybridAnchor&&this.removeActiveStyling(i)}}catch(o){n.e(o)}finally{n.f()}this.addActiveStyling(this.googleHybridAnchor),this.changeTileLayer(this.googleHybridLayer)}}]),e}(HA),ZZ=function(t){function e(t){var n;_classCallCheck(this,e);var i=document.createElement("button");i.innerHTML='<img src="assets/img/cmf/reset-icon.svg" alt="Reset icon" width="21.5" id="reset-icon">',i.id="ldc-reset-button";var o=document.createElement("div");return o.className="ldc-ol-reset-control ol-unselectable ol-control",o.appendChild(i),(n=_callSuper(this,e,[{element:o}])).store=t,i.addEventListener("click",n.handleReset.bind(_assertThisInitialized(n)),!1),n}return _inherits(e,t),_createClass(e,[{key:"handleReset",value:function(t){t.preventDefault(),this.store.dispatch(VF({resetAll:!0}))}}]),e}(HA),NZ=function(t){function e(){_classCallCheck(this,e);var t=document.createElement("div");return t.className="ldc-ol-legend-control ol-unselectable ol-control",t.innerHTML='\n      <div class="ldc-legend-title">Location</div>\n      <div class="ldc-legend-row">\n        <span class="ldc-legend-swatch ldc-legend-circle"></span>\n        <span class="ldc-legend-label">Reported</span>\n      </div>\n      <div class="ldc-legend-row">\n        <span class="ldc-legend-swatch ldc-legend-square"></span>\n        <span class="ldc-legend-label">Obscured</span>\n      </div>\n    ',_callSuper(this,e,[{element:t}])}return _inherits(e,t),_createClass(e)}
1(HA),UZ=(IZ=function(t,e){return(IZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}IZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),VZ=function(t){function e(e){var n=t.call(this)||this;return n.geometries_=e||null,n.changeEventsKeys_=[],n.listenGeometriesChange_(),n}return UZ(e,t),e.prototype.unlistenGeometriesChange_=function(){this.changeEventsKeys_.forEach(LM),this.changeEventsKeys_.length=0},e.prototype.listenGeometriesChange_=function(){if(this.geometries_)for(var t=0,e=this.geometries_.length;t<e;++t)this.changeEventsKeys_.push(RM(this.geometries_[t],"change",this.changed,this))},e.prototype.clone=function(){var t=new e(null);return t.setGeometries(this.geometries_),t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){if(i<Tw(this.getExtent(),t,e))return i;for(var o=this.geometries_,r=0,a=o.length;r<a;++r)i=o[r].closestPointXY(t,e,n,i);return i},e.prototype.containsXY=function(t,e){for(var n=this.geometries_,i=0,o=n.length;i<o;++i)if(n[i].containsXY(t,e))return!0;return!1},e.prototype.computeExtent=function(t){Lw(t);for(var e=this.geometries_,n=0,i=e.length;n<i;++n)Uw(t,e[n].getExtent());return t},e.prototype.getGeometries=function(){return jZ(this.geometries_)},e.prototype.getGeometriesArray=function(){return this.geometries_},e.prototype.getGeometriesArrayRecursive=function(){for(var t=[],e=this.geometries_,n=0,i=e.length;n<i;++n)e[n].getType()===this.getType()?t=t.concat(e[n].getGeometriesArrayRecursive()):t.push(e[n]);return t},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;for(var n=[],i=this.geometries_,o=!1,r=0,a=i.length;r<a;++r){var s=i[r],c=s.getSimplifiedGeometry(t);n.push(c),c!==s&&(o=!0)}if(o){var l=new e(null);return l.setGeometriesArray(n),l}return this.simplifiedGeometryMaxMinSquaredTolerance=t,this},e.prototype.getType=function(){return"GeometryCollection"},e.prototype.intersectsExtent=function(t){for(var e=this.geometries_,n=0,i=e.length;n<i;++n)if(e[n].intersectsExtent(t))return!0;return!1},e.prototype.isEmpty=function(){return 0===this.geometries_.length},e.prototype.rotate=function(t,e){for(var n=this.geometries_,i=0,o=n.length;i<o;++i)n[i].rotate(t,e);this.changed()},e.prototype.scale=function(t,e,n){var i=n;i||(i=Hw(this.getExtent()));for(var o=this.geometries_,r=0,a=o.length;r<a;++r)o[r].scale(t,e,i);this.changed()},e.prototype.setGeometries=function(t){this.setGeometriesArray(jZ(t))},e.prototype.setGeometriesArray=function(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()},e.prototype.applyTransform=function(t){for(var e=this.geometries_,n=0,i=e.length;n<i;++n)e[n].applyTransform(t);this.changed()},e.prototype.translate=function(t,e){for(var n=this.geometries_,i=0,o=n.length;i<o;++i)n[i].translate(t,e);this.changed()},e.prototype.disposeInternal=function(){this.unlistenGeometriesChange_(),t.prototype.disposeInternal.call(this)},e}(LS);function jZ(t){for(var e=[],n=0,i=t.length;n<i;++n)e.push(t[n].clone());return e}var zZ=VZ,qZ=function(){function t(){this.dataProjection=null,this.defaultFeatureProjection=null}return t.prototype.getReadOptions=function(t,e){var n;if(e){var i=e.dataProjection?oS(e.dataProjection):this.readProjection(t);e.extent&&i&&i.getUnits()===Fk.TILE_PIXELS&&(i=oS(i)).setWorldExtent(e.extent),n={dataProjection:i,featureProjection:e.featureProjection}}return this.adaptOptions(n)},t.prototype.adaptOptions=function(t){return xM({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)},t.prototype.getType=function(){return dw()},t.prototype.readFeature=function(t,e){return dw()},t.prototype.readFeatures=function(t,e){return dw()},t.prototype.readGeometry=function(t,e){return dw()},t.prototype.readProjection=function(t){return dw()},t.prototype.writeFeature=function(t,e){return dw()},t.prototype.writeFeatures=function(t,e){return dw()},t.prototype.writeGeometry=function(t,e){return dw()},t}();function BZ(t,e,n){var i,o=n?oS(n.featureProjection):null,r=n?oS(n.dataProjection):null;if(i=o&&r&&!lS(o,r)?(e?t.clone():t).transform(e?o:r,e?r:o):t,e&&n&&void 0!==n.decimals){var a=Math.pow(10,n.decimals);i===t&&(i=t.clone()),i.applyTransform(function(t){for(var e=0,n=t.length;e<n;++e)t[e]=Math.round(t[e]*a)/a;return t})}return i}
1var YZ,GZ=(YZ=function(t,e){return(YZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}YZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),HZ=function(t){function e(){return t.call(this)||this}return GZ(e,t),e.prototype.getType=function(){return"json"},e.prototype.readFeature=function(t,e){return this.readFeatureFromObject(JZ(t),this.getReadOptions(t,e))},e.prototype.readFeatures=function(t,e){return this.readFeaturesFromObject(JZ(t),this.getReadOptions(t,e))},e.prototype.readFeatureFromObject=function(t,e){return dw()},e.prototype.readFeaturesFromObject=function(t,e){return dw()},e.prototype.readGeometry=function(t,e){return this.readGeometryFromObject(JZ(t),this.getReadOptions(t,e))},e.prototype.readGeometryFromObject=function(t,e){return dw()},e.prototype.readProjection=function(t){return this.readProjectionFromObject(JZ(t))},e.prototype.readProjectionFromObject=function(t){return dw()},e.prototype.writeFeature=function(t,e){return JSON.stringify(this.writeFeatureObject(t,e))},e.prototype.writeFeatureObject=function(t,e){return dw()},e.prototype.writeFeatures=function(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))},e.prototype.writeFeaturesObject=function(t,e){return dw()},e.prototype.writeGeometry=function(t,e){return JSON.stringify(this.writeGeometryObject(t,e))},e.prototype.writeGeometryObject=function(t,e){return dw()},e}(qZ);function JZ(t){return"string"==typeof t?JSON.parse(t)||null:null!==t?t:null}var WZ,QZ=(WZ=function(t,e){return(WZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}WZ(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),KZ=function(t){function e(e){var n=this,i=e||{};return(n=t.call(this)||this).dataProjection=oS(i.dataProjection?i.dataProjection:"EPSG:4326"),i.featureProjection&&(n.defaultFeatureProjection=oS(i.featureProjection)),n.geometryName_=i.geometryName,n.extractGeometryName_=i.extractGeometryName,n}return QZ(e,t),e.prototype.readFeatureFromObject=function(t,e){var n,i=XZ((n="Feature"===t.type?t:{type:"Feature",geometry:t,properties:null}).geometry,e),o=new pD;return this.geometryName_?o.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in n!==void 0&&o.setGeometryName(n.geometry_name),o.setGeometry(i),"id"in n&&o.setId(n.id),n.properties&&o.setProperties(n.properties,!0),o},e.prototype.readFeaturesFromObject=function(t,e){var n=null;if("FeatureCollection"===t.type){n=[];for(var i=t.features,o=0,r=i.length;o<r;++o)n.push(this.readFeatureFromObject(i[o],e))}else n=[this.readFeatureFromObject(t,e)];return n},e.prototype.readGeometryFromObject=function(t,e){return XZ(t,e)},e.prototype.readProjectionFromObject=function(t){var e,n=t.crs;return n?"name"==n.type?e=oS(n.properties.name):"EPSG"===n.type?e=oS("EPSG:"+n.properties.code):vw(!1,36):e=this.dataProjection,e},e.prototype.writeFeatureObject=function(t,e){e=this.adaptOptions(e);var n={type:"Feature",geometry:null,properties:null},i=t.getId();if(void 0!==i&&(n.id=i),!t.hasProperties())return n;var o=t.getProperties(),r=t.getGeometry();return r&&(n.geometry=$Z(r,e),delete o[t.getGeometryName()]),AM(o)||(n.properties=o),n},e.prototype.writeFeaturesObject=function(t,e){e=this.adaptOptions(e);for(var n=[],i=0,o=t.length;i<o;++i)n.push(this.writeFeatureObject(t[i],e));return{type:"FeatureCollection",features:n}},e.prototype.writeGeometryObject=function(t,e){return $Z(t,this.adaptOptions(e))},e}(HZ);function XZ(t,e){if(!t)return null;var n;switch(t.type){case"Point":n=function(t){return new dA(t.coordinates)}(t);break;case"LineString":n=function(t){return new jD(t.coordinates)}(t);break;case"Polygon":n=function(t){return new kA(t.coordinates)}(t);break;case"MultiPoint":n=function(t){return new HD(t.coordinates)}(t);break;case"MultiLineString":n=function(t){return new BD(t.coordinates)}(t);break;case"MultiPolygon":n=function(t){return new QD(t.coordinates)}(t);break;case"GeometryCollection":n=function(t,e){var n=t.geometries.map(function(t){return XZ(t,void 0)});return new zZ(n)}(t);break;default:throw new Error("Unsupported GeoJSON type: "+t.type)}return BZ(n,!1,e)}function $Z(t,e){var n,i=(t=BZ(t,!0,e)).getType();switch(i){case"Point":n=function(t,e){return{type:"Point",coordinates:t.getCoordinates()}}(t);break;case"LineString":n=function(t,e){return{type:"LineString",coordinates:t.getCoordinates()}}(t);break;case"Polygon":n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"Polygon",coordinates:t.getCoordinates(n)}}(t,e);break;case"MultiPoint":n=function(t,e){return{type:"MultiPoint",coordinates:t.getCoordinates()}}(t);break;case"MultiLineString":n=function(t,e){return{type:"MultiLineString",coordinates:t.getCoordinates()}}(t);break;case"MultiPolygon":n=function(t,e){var n;return e&&(n=e.rightHanded),{type:"MultiPolygon",coordinates:t.getCoordinates(n)}}(t,e);break;case"GeometryCollection":n=function(t,e){var n=t.getGeometriesArray().map(function(t){var n=xM({},e);return delete n.featureProjection,$Z(t,n)});return{type:"GeometryCollection",geometries:n}}(t,e);break;case"Circle":n={type:"GeometryCollection",geometries:[]};break;default:throw new Error("Unsupported geometry type: "+i)}return n}var tN=KZ,eN=n(46797),nN=function(){var t=function(){function t(){_classCallCheck(this,t),this.pendingCount=new _e.X(0),this.isLoading$=this.pendingCount.pipe((0,Me.U)(function(t){return t>0}),(0,pl.x)()),this.isSpinnerVisible$=this.isLoading$.pipe((0,xe.w
1)(function(e){return e?(0,eN.H)(t.SHOW_DELAY_MS).pipe((0,Me.U)(function(){return!0})):(0,ge.of)(!1)}),(0,pl.x)())}return _createClass(t,[{key:"start",value:function(){this.pendingCount.next(this.pendingCount.value+1)}},{key:"end",value:function(){this.pendingCount.next(Math.max(0,this.pendingCount.value-1))}}]),t}();return t.SHOW_DELAY_MS=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function iN(t,e){1&t&&(r.ynx(0),r._UZ(1,"div",1),r.TgZ(2,"div",2),r._UZ(3,"mat-spinner",3),r.qZA(),r.BQk())}var oN=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.loadingService=e,this.isVisible$=this.loadingService.isSpinnerVisible$});return t.\u0275fac=function(e){return new(e||t)(r.Y36(nN))},t.\u0275cmp=r.Xpm({type:t,selectors:[["portal-map-loading-spinner"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"map-spinner-backdrop"],[1,"map-spinner-disc"],["diameter","40"]],template:function(t,e){1&t&&(r.YNc(0,iN,4,0,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.isVisible$))},directives:[_t,Sf],pipes:[St],styles:[".map-spinner-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;opacity:.5;z-index:1040;pointer-events:none}.map-spinner-disc[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1051;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(255,255,255,.95);border-radius:50%;box-shadow:0 1px 4px #0000004d;pointer-events:none}"]}),t}(),rN=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return _createClass(t,[{key:"setProperty",value:function(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"setDisabledState",value:function(t){this.setProperty("disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Qsj),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t}),t}(),aN=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(rN);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t}(),sN=new r.OlP("NgValueAccessor"),cN={provide:sN,useExisting:(0,r.Gpc)(function(){return uN}),multi:!0},lN=new r.OlP("CompositionEventMode"),uN=function(){var t=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t,n]))._compositionMode=i,o._composing=!1,null==o._compositionMode&&(o._compositionMode=!function(){var t=s()?s().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}()),o}return _inherits(e,t),_createClass(e,[{key:"writeValue",value:function(t){this.setProperty("value",null==t?"":t)}},{key:"_handleInput",value:function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}]),e}(rN);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(lN,8))},t.\u0275dir=r.lG2({type:t,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(t,e){1&t&&r.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[r._Bn([cN]),r.qOj]}),t}();function dN(t){return null==t||0===t.length}function hN(t){return null!=t&&"number"==typeof t.length}var pN=new r.OlP("NgValidators"),fN=new r.OlP("NgAsyncValidators"),gN=/^(?=.{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])?)*$/,_N=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"min",value:function(t){return function(t){return function(e){if(dN(e.value)||dN(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}(t)}},{key:"max",value:function(t){return function(t){return function(e){if(dN(e.value)||dN(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}},{key:"required",value:function(t){return function(t){return dN(t.value)?{required:!0}:null}(t)}},{key:"requiredTrue",value:function(t){return function(t){return!0===t.value?null:{required:!0}}(t)}},{key:"email",value:function(t){return function(t){return dN(t.value)||gN.test(t.value)?null:{email:!0}}(t)}},{key:"minLength",value:function(t){return function(t){return function(e){return dN(e.value)||!hN(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}}(t)}},{key:"maxLength",value:function(t){return function(t){return function(e){return hN(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}(t)}},{key:"pattern",value:function(t){return function(t){return t?("string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),function(t){if(dN(t.value))return null;var i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):mN;var e,n}(t)}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){return PN(t)}},{key:"composeAsync",value:function(t){return MN(t)}}]),t}();function mN(t){return null}function vN(t){return null!=t}function yN(t){var e=(0,r.QGY)(t)?(0,fe.D)(t):t;return(0,r.CqO)(e),e}function CN(t){var e={};return t.forEach(function(t){e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function bN(t,e){return e.map(function(e){return e(t)})}function ON(t){return t.map(function(t){return function(t){return!t.validate}(t)?t:function(e){return t.validate(e)}})}function PN(t){if(!t)return null;var e=t.filter(vN);return 0==e.length?null:function(t){return CN(bN(t,e))}}function wN(t){return null!=t?PN(ON(t)):null}function MN(t){if(!t)return null;var e=t.filter(vN);return 0==e.length?null:function(t){var n=bN(t,e).map(yN);return(0,wP.D)(n).pipe((0,Me.U)(CN))}}function xN(t){return null!=t?MN(ON(t)):null}function kN(t,e){return null===t?[e]:Array.isArray(t)?[].concat(_toConsumableArray(t),[e]):[t,e]}function SN(t){return t._rawValidators}function AN(t){return t._rawAsyncValidators}function TN(t){return t?Array.isArray(t)?t:[t]:[]}function IN(t,e){return Array.isArray(t)?t.includes(e):t===e}function EN(t,e){var n=TN(e);return TN(t).forEach(function(t){IN(n,t)||n.push(t)}),n}function DN(t,e){return TN(e).filter(function(e){return!IN(t,e)})}var RN=function(){var t=function(){function t(){_classCallCheck(this,t),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return _createClass(t,[{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}},{key:"_setValidators",value:function(t){this._rawValidators=t||[],this._composedValidatorFn=wN(this._rawValidators)}},{key:"_setAsyncValidators",value:function(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=xN(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(t){this._onDestroyCallbacks.push(t)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(t){return t()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(t){this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t}(),FN=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),e}(RN);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t}(),LN=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return _inherits(e,t),_createClass(e)}(RN),ZN=function(){var t=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[t])}return _inherits(e,t),_createClass(e)}(function(){function t(e){_classCallCheck(this,t),this._cd=e}return _createClass(t,[{key:"is",value:function(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}]),t}());return t.\u0275fac=function(e){return new(e||t)(r.Y36(LN,2))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&r.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[r.qOj]}),t}();function NN(t,e){jN(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&qN(t,e)})}(t,e),function(t,e){var n=function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(function(){t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&qN(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){var n=function(t){e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(function(){t._unregisterOnDisabledChange(n)})}}(t,e)}function UN(t,e){var n=function(){};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),zN(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(function(){}))}function VN(t,e){t.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}
1)}function jN(t,e){var n=SN(t);null!==e.validator?t.setValidators(kN(n,e.validator)):"function"==typeof n&&t.setValidators([n]);var i=AN(t);null!==e.asyncValidator?t.setAsyncValidators(kN(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);var o=function(){return t.updateValueAndValidity()};VN(e._rawValidators,o),VN(e._rawAsyncValidators,o)}function zN(t,e){var n=!1;if(null!==t){if(null!==e.validator){var i=SN(t);if(Array.isArray(i)&&i.length>0){var o=i.filter(function(t){return t!==e.validator});o.length!==i.length&&(n=!0,t.setValidators(o))}}if(null!==e.asyncValidator){var r=AN(t);if(Array.isArray(r)&&r.length>0){var a=r.filter(function(t){return t!==e.asyncValidator});a.length!==r.length&&(n=!0,t.setAsyncValidators(a))}}}var s=function(){};return VN(e._rawValidators,s),VN(e._rawAsyncValidators,s),n}function qN(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function BN(t,e){jN(t,e)}function YN(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function GN(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function HN(t,e){return e?(Array.isArray(e),e.forEach(function(t){t.constructor===uN?n=t:function(t){return Object.getPrototypeOf(t.constructor)===aN}(t)?i=t:o=t}),o||i||n||null):null;var n,i,o}function JN(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var WN="VALID",QN="INVALID",KN="PENDING",XN="DISABLED";function $N(t){return(iU(t)?t.validators:t)||null}function tU(t){return Array.isArray(t)?wN(t):t||null}function eU(t,e){return(iU(e)?e.asyncValidators:t)||null}function nU(t){return Array.isArray(t)?xN(t):t||null}function iU(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var oU=function(){function t(e,n){_classCallCheck(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=tU(this._rawValidators),this._composedAsyncValidatorFn=nU(this._rawAsyncValidators)}return _createClass(t,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===WN}},{key:"invalid",get:function(){return this.status===QN}},{key:"pending",get:function(){return this.status==KN}},{key:"disabled",get:function(){return this.status===XN}},{key:"enabled",get:function(){return this.status!==XN}},{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:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=tU(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nU(t)}},{key:"addValidators",value:function(t){this.setValidators(EN(t,this._rawValidators))}},{key:"addAsyncValidators",value:function(t){this.setAsyncValidators(EN(t,this._rawAsyncValidators))}},{key:"removeValidators",value:function(t){this.setValidators(DN(t,this._rawValidators))}},{key:"removeAsyncValidators",value:function(t){this.setAsyncValidators(DN(t,this._rawAsyncValidators))}},{key:"hasValidator",value:function(t){return IN(this._rawValidators,t)}},{key:"hasAsyncValidator",value:function(t){return IN(this._rawAsyncValidators,t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}
1),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=KN,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=XN,this.errors=null,this._forEachChild(function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=WN,this._forEachChild(function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=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(),(this.status===WN||this.status===KN)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?XN:WN}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status=KN,this._hasOwnPendingAsyncValidator=!0;var n=yN(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){e._hasOwnPendingAsyncValidator=!1,e.setErrors(n,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;var i=t;return e.forEach(function(t){i=i instanceof aU?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof sU&&i.at(t)||null}),i}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}}
1,{key:"_initObservables",value:function(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?XN:this.errors?QN:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(KN)?KN:this._anyControlsHaveStatus(QN)?QN:WN}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(e){return e.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){iU(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),t}(),rU=function(t){function e(){var t,n=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,e),(t=_callSuper(this,e,[$N(i),eU(o,i)]))._onChange=[],t._applyFormState(n),t._setUpdateStrategy(i),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),t}return _inherits(e,t),_createClass(e,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(t){return t(e.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_unregisterOnChange",value:function(t){JN(this._onChange,t)}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_unregisterOnDisabledChange",value:function(t){JN(this._onDisabledChange,t)}},{key:"_forEachChild",value:function(t){}},{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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),e}(oU),aU=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[$N(n),eU(i,n)])).controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _inherits(e,t),_createClass(e,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};
1this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach(function(i){e._throwIfControlMissing(i),e.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(Object.keys(t).forEach(function(i){e.controls[i]&&e.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof rU?e.value:e.getRawValue(),t})}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach(function(n){var i=e.controls[n];i&&t(i,n)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e<n.length;e++){var i=n[e],o=this.controls[i];if(this.contains(i)&&t(o))return!0}return!1}},{key:"_reduceValue",value:function(){var t=this;return this._reduceChildren({},function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e})}},{key:"_reduceChildren",value:function(t,e){var n=t;return this._forEachChild(function(t,i){n=e(n,t,i)}),n}},{key:"_allControlsDisabled",value:function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Mu
1st supply a value for form control with name: '".concat(n,"'."))})}}]),e}(oU),sU=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[$N(n),eU(i,n)])).controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _inherits(e,t),_createClass(e,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach(function(t,i){e._throwIfControlMissing(i),e.at(i).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(t.forEach(function(t,i){e.at(i)&&e.at(i).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map(function(t){return t instanceof rU?t.value:t.getRawValue()})}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error("Cannot find form control at index ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach(function(e,n){t(e,n)})}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})}},{key:"_anyControls",value:function(t){return this.controls.some(function(e){return e.enabled&&t(e)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Mu
1st supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var t,e=_createForOfIteratorHelper(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}]),e}(oU),cU={provide:FN,useExisting:(0,r.Gpc)(function(){return uU})},lU=Promise.resolve(null),uU=function(){var t=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).submitted=!1,i._directives=[],i.ngSubmit=new r.vpe,i.form=new aU({},wN(t),xN(n)),i}return _inherits(e,t),_createClass(e,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(t){var e=this;lU.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),NN(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;lU.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),JN(e._directives,t)})}},{key:"addFormGroup",value:function(t){var e=this;lU.then(function(){var n=e._findContainer(t.path),i=new aU({});BN(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(t){var e=this;lU.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;lU.then(function(){n.form.get(t.path).setValue(e)})}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,GN(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}}]),e}(FN);return t.\u0275fac=function(e){return new(e||t)(r.Y36(pN,10),r.Y36(fN,10))},t.\u0275dir=r.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&r.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([cU]),r.qOj]}),t}(),dU={provide:LN,useExisting:(0,r.Gpc)(function(){return pU})},hU=Promise.resolve(null),pU=function(){var t=function(t){function e(t,n,i,o){var a;return _classCallCheck(this,e),(a=_callSuper(this,e)).control=new rU,a._registered=!1,a.update=new r.vpe,a._parent=t,a._setValidators(n),a._setAsyncValidators(i),a.valueAccessor=HN(0,o),a}return _inherits(e,t),_createClass(e,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),YN(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?function(t,e){return[].concat(_toConsumableArray(e.path),[t])}(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){NN(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}}
1,{key:"_updateValue",value:function(t){var e=this;hU.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;hU.then(function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()})}}]),e}(LN);return t.\u0275fac=function(e){return new(e||t)(r.Y36(FN,9),r.Y36(pN,10),r.Y36(fN,10),r.Y36(sN,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([dU]),r.qOj,r.TTD]}),t}(),fU={provide:sN,useExisting:(0,r.Gpc)(function(){return gU}),multi:!0},gU=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"writeValue",value:function(t){this.setProperty("value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}}]),e}(aN);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&r.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[r._Bn([fU]),r.qOj]}),t}(),_U=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),mU=new r.OlP("NgModelWithFormControlWarning"),vU={provide:LN,useExisting:(0,r.Gpc)(function(){return yU})},yU=function(){var t=function(t){function e(t,n,i,o){var a;return _classCallCheck(this,e),(a=_callSuper(this,e))._ngModelWarningConfig=o,a.update=new r.vpe,a._ngModelWarningSent=!1,a._setValidators(t),a._setAsyncValidators(n),a.valueAccessor=HN(0,i),a}return _inherits(e,t),_createClass(e,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){if(this._isControlChanged(t)){var e=t.form.previousValue;e&&UN(e,this,!1),NN(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}YN(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&UN(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}}]),e}(LN);return t.\u0275fac=function(e){return new(e||t)(r.Y36(pN,10),r.Y36(fN,10),r.Y36(sN,10),r.Y36(mU,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([vU]),r.qOj,r.TTD]}),t._ngModelWarningSentOnce=!1,t}(),CU={provide:FN,useExisting:(0,r.Gpc)(function(){return bU})},bU=function(){var t=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).validators=t,i.asyncValidators=n,i.submitted=!1,i._onCollectionChange=function(){return i._updateDomValue()},i.directives=[],i.form=null,i.ngSubmit=new r.vpe,i._setValidators(t),i._setAsyncValidators(n),i}return _inherits(e,t),_createClass(e,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(zN(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return NN(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){UN(t.control||null,t,!1),JN(this.directives,t)}},{key:"addFormGroup",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormGroup",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormArray",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,GN(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;
1this.directives.forEach(function(e){var n=e.control,i=t.form.get(e.path);n!==i&&(UN(n||null,e),i instanceof rU&&(NN(i,e),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(t){var e=this.form.get(t.path);BN(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(t){if(this.form){var e=this.form.get(t.path);e&&function(t,e){return zN(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){jN(this.form,this),this._oldForm&&zN(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),e}(FN);return t.\u0275fac=function(e){return new(e||t)(r.Y36(pN,10),r.Y36(fN,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&r.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([CU]),r.qOj,r.TTD]}),t}(),OU={provide:sN,useExisting:(0,r.Gpc)(function(){return wU}),multi:!0};function PU(t,e){return null==t?"".concat(e):(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var wU=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._optionMap=new Map,t._idCounter=0,t._compareWith=Object.is,t}return _inherits(e,t),_createClass(e,[{key:"compareWith",set:function(t){this._compareWith=t}},{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this.setProperty("selectedIndex",-1);var n=PU(e,t);this.setProperty("value",n)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var i=n[e];if(this._compareWith(this._optionMap.get(i),t))return i}return null}},{key:"_getOptionValue",value:function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}]),e}(aN);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&r.NdJ("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([OU]),r.qOj]}),t}(),MU=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._element=e,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption())}return _createClass(t,[{key:"ngValue",set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(PU(this.id,t)),this._select.writeValue(this._select.value))}},{key:"value",set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}},{key:"_setElementValue",value:function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(wU,9))},t.\u0275dir=r.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t}(),xU={provide:sN,useExisting:(0,r.Gpc)(function(){return SU}),multi:!0};function kU(t,e){return null==t?"".concat(e):("string"==typeof e&&(e="'".concat(e,"'")),e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var SU=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._optionMap=new Map,t._idCounter=0,t._
1compareWith=Object.is,t}return _inherits(e,t),_createClass(e,[{key:"compareWith",set:function(t){this._compareWith=t}},{key:"writeValue",value:function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var i=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(i.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var o=n.selectedOptions,r=0;r<o.length;r++){var a=o.item(r),s=e._getOptionValue(a.value);i.push(s)}else for(var c=n.options,l=0;l<c.length;l++){var u=c.item(l);if(u.selected){var d=e._getOptionValue(u.value);i.push(d)}}e.value=i,t(i)}}},{key:"_registerOption",value:function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var i=n[e];if(this._compareWith(this._optionMap.get(i)._value,t))return i}return null}},{key:"_getOptionValue",value:function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}]),e}(aN);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&r.NdJ("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([xU]),r.qOj]}),t}(),AU=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._element=e,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption(this))}return _createClass(t,[{key:"ngValue",set:function(t){null!=this._select&&(this._value=t,this._setElementValue(kU(this.id,t)),this._select.writeValue(this._select.value))}},{key:"value",set:function(t){this._select?(this._value=t,this._setElementValue(kU(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}},{key:"_setElementValue",value:function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}},{key:"_setSelected",value:function(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(SU,9))},t.\u0275dir=r.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t}(),TU=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_U]]}),t}(),IU=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[TU]}),t}(),EU=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:mU,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[TU]}),t}();n(17757);var DU=n(98085),RU=n(57057),FU=n(65792),LU=["*"],ZU=["defaultDayTemplate"],NU=["content"];function UU(t,e){if(1&t&&r._UZ(0,"div",7),2&t){var n=e.currentMonth,i=e.selected,o=e.disabled,a=e.focused;r.Q6J("date",e.date)("currentMonth",n)("selected",i)("disabled",o)("focused",a)}}function VU(t,e){if(1&t&&(r.TgZ(0,"div",12),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit,i=r.oxw(2);r.xp6(1),r.AsE(" ",i.i18n.getMonthFullName(n.number,n.year)," ",i.i18n.getYearNumerals(n.year)," ")}}function jU(t,e){if(1&t&&(r.TgZ(0,"div",9),r.YNc(1,VU,2,2,"div",10),r._UZ(2,"ngb-datepicker-month",11),r.qZA()),2&t){var n=e.$implicit,i=r.oxw(2);r.xp6(1),r.Q6J("ngIf","none"===i.navigation||i.displayMonths>1&&"select"===i.navigation),r.xp6(1),r.Q6J("month",n.firstDate)}}function zU(t,e){if(1&t&&r.YNc(0,jU,3,2,"div",8),2&t){var n=r.oxw();r.Q6J("ngForOf",n.model.months)}}function qU(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"ngb-datepicker-navigation",13),r.NdJ("navigate",function(t){return r.CHM(n),r.oxw().onNavigateEvent(t)})("select",function(t){return r.CHM(n),r.oxw().onNavigateDateSelect(t)}),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("date",i.model.firstDate)("months",i.model.months)("disabled",i.model.disabled)("showSelect","select"===i.model.navigation)("prevDisabled",i.model.prevDisabled)("nextDisabled",i.model.nextDisabled)("selectBoxes",i.model.selectBoxes)}}function BU(t,e){}function YU(t,e){}function GU(t,e){1&t&&r._UZ(0,"div",5)}function HU(t,e){if(1&t&&(r.TgZ(0,"div",6),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw(2);r.xp6(1),r.hij(" ",i.i18n.getWeekdayShortName(n)," ")}}function JU(t,e){if(1&t&&(r.TgZ(0,"div",2),r.YNc(1,GU,1,0,"div",3),r.YNc(2,HU,2,1,"div",4),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("ngIf",n.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",n.viewModel.weekdays)}}function WU(t,e){if(1&t&&(r.TgZ(0,"div",11),r._uU(1),r.qZA()),2&t){var n=r.oxw(2).$implicit,i=r.oxw();
1r.xp6(1),r.Oqu(i.i18n.getWeekNumerals(n.number))}}function QU(t,e){}function KU(t,e){if(1&t&&r.YNc(0,QU,0,0,"ng-template",14),2&t){var n=r.oxw().$implicit,i=r.oxw(3);r.Q6J("ngTemplateOutlet",i.datepicker.dayTemplate)("ngTemplateOutletContext",n.context)}}function XU(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",12),r.NdJ("click",function(t){var e=r.CHM(n).$implicit;return r.oxw(3).doSelect(e),t.preventDefault()}),r.YNc(1,KU,1,2,"ng-template",13),r.qZA()}if(2&t){var i=e.$implicit;r.ekj("disabled",i.context.disabled)("hidden",i.hidden)("ngb-dp-today",i.context.today),r.Q6J("tabindex",i.tabindex),r.uIk("aria-label",i.ariaLabel),r.xp6(1),r.Q6J("ngIf",!i.hidden)}}function $U(t,e){if(1&t&&(r.TgZ(0,"div",8),r.YNc(1,WU,2,1,"div",9),r.YNc(2,XU,2,9,"div",10),r.qZA()),2&t){var n=r.oxw().$implicit,i=r.oxw();r.xp6(1),r.Q6J("ngIf",i.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",n.days)}}function tV(t,e){1&t&&r.YNc(0,$U,3,2,"div",7),2&t&&r.Q6J("ngIf",!e.$implicit.collapsed)}function eV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"ngb-datepicker-navigation-select",7),r.NdJ("select",function(t){return r.CHM(n),r.oxw().select.emit(t)}),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("date",i.date)("disabled",i.disabled)("months",i.selectBoxes.months)("years",i.selectBoxes.years)}}function nV(t,e){1&t&&r._UZ(0,"div",0)}function iV(t,e){1&t&&r._UZ(0,"div",0)}function oV(t,e){if(1&t&&(r.YNc(0,nV,1,0,"div",9),r.TgZ(1,"div",10),r._uU(2),r.qZA(),r.YNc(3,iV,1,0,"div",9)),2&t){var n=e.$implicit,i=e.index,o=r.oxw(2);r.Q6J("ngIf",i>0),r.xp6(2),r.AsE(" ",o.i18n.getMonthFullName(n.number,n.year)," ",o.i18n.getYearNumerals(n.year)," "),r.xp6(1),r.Q6J("ngIf",i!==o.months.length-1)}}function rV(t,e){if(1&t&&r.YNc(0,oV,4,4,"ng-template",8),2&t){var n=r.oxw();r.Q6J("ngForOf",n.months)}}var aV=["ngbDatepickerDayView",""],sV=["month"],cV=["year"];function lV(t,e){if(1&t&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw();r.Q6J("value",n),r.uIk("aria-label",i.i18n.getMonthFullName(n,null==i.date?null:i.date.year)),r.xp6(1),r.Oqu(i.i18n.getMonthShortName(n,null==i.date?null:i.date.year))}}function uV(t,e){if(1&t&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw();r.Q6J("value",n),r.xp6(1),r.Oqu(i.i18n.getYearNumerals(n))}}var dV=["dialog"];function hV(t,e){if(1&t&&r._uU(0),2&t){var n=r.oxw(2);r.Oqu(n.title)}}function pV(t,e){}function fV(t,e){if(1&t&&(r.TgZ(0,"h3",3),r.YNc(1,hV,1,1,"ng-template",null,4,r.W1O),r.YNc(3,pV,0,0,"ng-template",5),r.qZA()),2&t){var n=r.MAs(2),i=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",i.isTitleTemplate()?i.title:n)("ngTemplateOutletContext",i.context)}}function gV(t,e){1&t&&r._uU(0),2&t&&r.Oqu(100===e.fill?"\u2605":"\u2606")}function _V(t,e){}function mV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"span",2),r._uU(1),r.qZA(),r.TgZ(2,"span",3),r.NdJ("mouseenter",function(){var t=r.CHM(n).index;return r.oxw().enter(t+1)})("click",function(){var t=r.CHM(n).index;return r.oxw().handleClick(t+1)}),r.YNc(3,_V,0,0,"ng-template",4),r.qZA()}if(2&t){var i=e.index,o=r.oxw(),a=r.MAs(1);r.xp6(1),r.hij("(",i<o.nextRate?"*":" ",")"),r.xp6(1),r.Udp("cursor",o.readonly||o.disabled?"default":"pointer"),r.xp6(1),r.Q6J("ngTemplateOutlet",o.starTemplate||o.starTemplateFromContent||a)("ngTemplateOutletContext",o.contexts[i])}}function vV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(n);var t=r.oxw();return t.changeHour(t.hourStep)}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,14),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.ekj("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),r.Q6J("disabled",i.disabled)}}function yV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(n);var t=r.oxw();
1return t.changeHour(-t.hourStep)}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,16),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.ekj("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),r.Q6J("disabled",i.disabled)}}function CV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(n);var t=r.oxw();return t.changeMinute(t.minuteStep)}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,17),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.ekj("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),r.Q6J("disabled",i.disabled)}}function bV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(n);var t=r.oxw();return t.changeMinute(-t.minuteStep)}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,18),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.ekj("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),r.Q6J("disabled",i.disabled)}}function OV(t,e){1&t&&(r.TgZ(0,"div",5),r._uU(1,":"),r.qZA())}function PV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(n);var t=r.oxw(2);return t.changeSecond(t.secondStep)}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,21),r.qZA(),r.qZA()}if(2&t){var i=r.oxw(2);r.ekj("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),r.Q6J("disabled",i.disabled)}}function wV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(n);var t=r.oxw(2);return t.changeSecond(-t.secondStep)}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,22),r.qZA(),r.qZA()}if(2&t){var i=r.oxw(2);r.ekj("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),r.Q6J("disabled",i.disabled)}}function MV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",19),r.YNc(1,PV,4,7,"button",3),r.TgZ(2,"input",20),r.NdJ("change",function(t){return r.CHM(n),r.oxw().updateSecond(t.target.value)})("input",function(t){return r.CHM(n),r.oxw().formatInput(t.target)})("keydown.ArrowUp",function(t){r.CHM(n);var e=r.oxw();return e.changeSecond(e.secondStep),t.preventDefault()})("keydown.ArrowDown",function(t){r.CHM(n);var e=r.oxw();return e.changeSecond(-e.secondStep),t.preventDefault()}),r.qZA(),r.YNc(3,wV,4,7,"button",3),r.qZA()}if(2&t){var i=r.oxw();r.xp6(1),r.Q6J("ngIf",i.spinners),r.xp6(1),r.ekj("form-control-sm",i.isSmallSize)("form-control-lg",i.isLargeSize),r.Q6J("value",i.formatMinSec(null==i.model?null:i.model.second))("readOnly",i.readonlyInputs)("disabled",i.disabled),r.xp6(1),r.Q6J("ngIf",i.spinners)}}function xV(t,e){1&t&&r._UZ(0,"div",5)}function kV(t,e){if(1&t&&(r.ynx(0),r.SDv(1,27),r.BQk()),2&t){var n=r.oxw(2);r.xp6(1),r.pQV(n.i18n.getAfternoonPeriod()),r.QtT(1)}}function SV(t,e){if(1&t&&r.SDv(0,28),2&t){var n=r.oxw(2);r.pQV(n.i18n.getMorningPeriod()),r.QtT(0)}}function AV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",23),r.TgZ(1,"button",24),r.NdJ("click",function(){return r.CHM(n),r.oxw().toggleMeridian()}),r.YNc(2,kV,2,1,"ng-container",25),r.YNc(3,SV,1,1,"ng-template",null,26,r.W1O),r.qZA(),r.qZA()}if(2&t){var i=r.MAs(4),o=r.oxw();r.xp6(1),r.ekj("btn-sm",o.isSmallSize)("btn-lg",o.isLargeSize)("disabled",o.disabled),r.Q6J("disabled",o.disabled),r.xp6(1),r.Q6J("ngIf",o.model&&o.model.hour>=12)("ngIfElse",i)}}function TV(t,e){if(1&t&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit,i=r.oxw();r.Tol(i.highlightClass),r.xp6(1),r.Oqu(n)}}function IV(t,e){if(1&t&&r._uU(0),2&t){var n=r.oxw().$implicit;r.Oqu(n)}}function EV(t,e){if(1&t&&(r.YNc(0,TV,2,3,"span",1),r.YNc(1,IV,1,1,"ng-template",null,2,r.W1O)),2&t){var n=e.odd,i=r.MAs(2);r.Q6J("ngIf",n)("ngIfElse",i)}}function DV(t,e){if(1&t&&r._UZ(0,"ngb-highlight",2),2&t){var n=e.term;r.Q6J("result",(0,e.formatter)(e.result))("term",n)}}function RV(t,e){}var FV=function(t,e,n){return{result:t,term:e,formatter:n}};function LV(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",3),r.NdJ("mouseenter",function(){var t=r.CHM(n).index;return r.oxw().markActive(t)})("click",function(){var t=r.CHM(n).$implicit;return r.oxw().select(t)}),r.YNc(1,RV,0,0,"ng-template",4),r.qZA()}if(2&t){var i=e.$implicit,o=e.index,a=r.oxw(),s=r.MAs(1);r.ekj("active",o===a.activeIdx),r.Q6J("id",a.id+"-"+o),r.xp6(1),r.Q6J("ngTemplateOutlet",a.resultTemplate||s)("ngTemplateOutletContext",r.kEZ(5,FV,i,a.term,a.formatter))}}function ZV(t){return parseInt("".concat(t),10)}function NV(t){return null!=t?"".concat(t):""}function UV(t){return"string"==typeof t}function VV(t){return!isNaN(ZV(t))}function jV(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function zV(t){return null!=t}function qV(t){return VV(t)?"0".concat(t).slice(-2):""}function BV(t,e){return t&&t.className&&t.className.split&&t.className.split(/\s+/).indexOf(e)>=0}"undefined"!=typeof Element&&!Element.prototype.closest&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var YV=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),GV=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),HV=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbButtonLabel",""]],hostVars:8,hostBindings:function(t,e){2&t&&r.ekj("btn",!0)("active",e.active)("disabled",e.disabled)("focus",e.focused)}}),t}(),JV={provide:sN,useExisting:(0,r.Gpc)(function(){return WV}),multi:!0},WV=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._label=e,this._cd=n,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=function(t){},this.onTouched=function(){}}return _createClass(t,[{key:"focused",set:function(t){this._label.focused=t,t||this.onTouched()}},{key:"onInputChange",value:function(t){var e=t.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(e),this.onTouched(),this.writeValue(e)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._label.disabled=t}},{key:"writeValue",value:function(t){this.checked=t===this.valueChecked,this._label.active=this.checked,this._cd.markForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(HV),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbButton","","type","checkbox"]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("change",function(t){return e.onInputChange(t)}
1)("focus",function(){return e.focused=!0})("blur",function(){return e.focused=!1}),2&t&&r.Ikx("checked",e.checked)("disabled",e.disabled)},inputs:{disabled:"disabled",valueChecked:"valueChecked",valueUnChecked:"valueUnChecked"},features:[r._Bn([JV])]}),qo([(0,r.IIB)()],t.prototype,"disabled",void 0),qo([(0,r.IIB)()],t.prototype,"valueChecked",void 0),qo([(0,r.IIB)()],t.prototype,"valueUnChecked",void 0),t}(),QV={provide:sN,useExisting:(0,r.Gpc)(function(){return XV}),multi:!0},KV=0,XV=function(){var t=function(){function t(){_classCallCheck(this,t),this._radios=new Set,this._value=null,this.name="ngb-radio-"+KV++,this.onChange=function(t){},this.onTouched=function(){}}return _createClass(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){this.setDisabledState(t)}},{key:"onRadioChange",value:function(t){this.writeValue(t.value),this.onChange(t.value)}},{key:"onRadioValueUpdate",value:function(){this._updateRadiosValue()}},{key:"register",value:function(t){this._radios.add(t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._disabled=t,this._updateRadiosDisabled()}},{key:"unregister",value:function(t){this._radios.delete(t)}},{key:"writeValue",value:function(t){this._value=t,this._updateRadiosValue()}},{key:"_updateRadiosValue",value:function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})}},{key:"_updateRadiosDisabled",value:function(){this._radios.forEach(function(t){return t.updateDisabled()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbRadioGroup",""]],hostAttrs:["role","radiogroup"],inputs:{name:"name"},features:[r._Bn([QV])]}),qo([(0,r.IIB)()],t.prototype,"name",void 0),t}(),$V=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),tj=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),ej=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),nj=function(){function t(e,n,i){_classCallCheck(this,t),this.year=jV(e)?e:null,this.month=jV(n)?n:null,this.day=jV(i)?i:null}return _createClass(t,[{key:"equals",value:function(t){return null!=t&&this.year===t.year&&this.month===t.month&&this.day===t.day}},{key:"before",value:function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)}},{key:"after",value:function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)}}],[{key:"from",value:function(e){return e instanceof t?e:e?new t(e.year,e.month,e.day):null}}]),t}();function ij(t){return new nj(t.getFullYear(),t.getMonth()+1,t.getDate())}function oj(t){var e=new Date(t.year,t.month-1,t.day,12);return isNaN(e.getTime())||e.setFullYear(t.year),e}function rj(){return new sj}var aj=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:rj,token:t,providedIn:"root"}),t}(),sj=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"getDaysPerWeek",value:function(){return 7}},{key:"getMonths",value:function(){return[1,2,3,4,5,6,7,8,9,10,11,12]}},{key:"getWeeksPerMonth",value:function(){return 6}},{key:"getNext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=oj(t),o=!0,r=i.getMonth();switch(e){case"y":i.setFullYear(i.getFullYear()+n);break;case"m":r+=n,i.setMonth(r),(r%=12)<0&&(r+=12);break;case"d":i.setDate(i.getDate()+n),o=!1;break;default:return t}return o&&i.getMonth()!==r&&i.setDate(0),ij(i)}},{key:"getPrev",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return this.getNext(t,e,-n)}},{key:"getWeekday",value:function(t){var e=oj(t).getDay();return 0===e?7:e}},{key:"getWeekNumber",value:function(t,e){7===e&&(e=0);var n=oj(t[(11-e)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));var i=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((i-n.getTime())/864e5)/7)+1}},{key:"getToday",value:function(){return ij(new Date)}},{key:"isValid",value:function(t){if(!(t&&jV(t.year)&&jV(t.month)&&jV(t.day)&&0!==t.year))return!1;var e=oj(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day}}]),e}(aj);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function cj(t,e){return!function(t,e){return!t&&!e||!!t&&!!e&&t.equals(e)}(t,e)}function lj(t,e){return!(!t&&!e||t&&e&&t.year===e.year&&t.month===e.month)}function uj(t,e,n){return t&&e&&t.before(e)?e:t&&n&&t.after(n)?n:t||null}function dj(t,e){var n=e.minDate,i=e.maxDate,o=e.disabled,r=e.markDisabled;return!(null==t||o||r&&r(t,{year:t.year,month:t.month})||n&&t.before(n)||i&&t.after(i))}var hj=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"getDayNumerals",value:function(t){return"".concat(t.day)}}
1,{key:"getWeekNumerals",value:function(t){return"".concat(t)}},{key:"getYearNumerals",value:function(t){return"".concat(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return function(t){return new pj(t)}((0,r.LFG)(r.soG))},token:t,providedIn:"root"}),t}(),pj=function(){var t=function(t){function e(t){var n;_classCallCheck(this,e),(n=_callSuper(this,e))._locale=t;var i=D(t,S.Standalone,A.Short);return n._weekdaysShort=i.map(function(t,e){return i[(e+1)%7]}),n._monthsShort=R(t,S.Standalone,A.Abbreviated),n._monthsFull=R(t,S.Standalone,A.Wide),n}return _inherits(e,t),_createClass(e,[{key:"getWeekdayShortName",value:function(t){return this._weekdaysShort[t-1]||""}},{key:"getMonthShortName",value:function(t){return this._monthsShort[t-1]||""}},{key:"getMonthFullName",value:function(t){return this._monthsFull[t-1]||""}},{key:"getDayAriaLabel",value:function(t){return W(new Date(t.year,t.month-1,t.day),"fullDate",this._locale)}}]),e}(hj);return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.soG))},t.\u0275prov=r.Yz7({token:t,factory:function(e){return t.\u0275fac(e)}}),t=qo([Bo(0,(0,r.tBr)(r.soG))],t)}(),fj=function(){var t=function(){function t(e,n){var i=this;_classCallCheck(this,t),this._calendar=e,this._i18n=n,this._VALIDATORS={dayTemplateData:function(t){if(i._state.dayTemplateData!==t)return{dayTemplateData:t}},displayMonths:function(t){if(jV(t=ZV(t))&&t>0&&i._state.displayMonths!==t)return{displayMonths:t}},disabled:function(t){if(i._state.disabled!==t)return{disabled:t}},firstDayOfWeek:function(t){if(jV(t=ZV(t))&&t>=0&&i._state.firstDayOfWeek!==t)return{firstDayOfWeek:t}},focusVisible:function(t){if(i._state.focusVisible!==t&&!i._state.disabled)return{focusVisible:t}},markDisabled:function(t){if(i._state.markDisabled!==t)return{markDisabled:t}},maxDate:function(t){var e=i.toValidDate(t,null);if(cj(i._state.maxDate,e))return{maxDate:e}},minDate:function(t){var e=i.toValidDate(t,null);if(cj(i._state.minDate,e))return{minDate:e}},navigation:function(t){if(i._state.navigation!==t)return{navigation:t}},outsideDays:function(t){if(i._state.outsideDays!==t)return{outsideDays:t}}},this._model$=new we.xQ,this._dateSelect$=new we.xQ,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]}}}return _createClass(t,[{key:"model$",get:function(){return this._model$.pipe((0,Te.h)(function(t){return t.months.length>0}))}},{key:"dateSelect$",get:function(){return this._dateSelect$.pipe((0,Te.h)(function(t){return null!==t}))}},{key:"set",value:function(t){var e=this,n=Object.keys(t).map(function(n){return e._VALIDATORS[n](t[n])}).reduce(function(t,e){return Object.assign(Object.assign({},t),e)},{});Object.keys(n).length>0&&this._nextState(n)}},{key:"focus",value:function(t){var e=this.toValidDate(t,null);null!=e&&!this._state.disabled&&cj(this._state.focusDate,e)&&this._nextState({focusDate:t})}},{key:"focusSelect",value:function(){dj(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}},{key:"open",value:function(t){var e=this.toValidDate(t,this._calendar.getToday());null!=e&&!this._state.disabled&&(!this._state.firstDate||lj(this._state.firstDate,e))&&this._nextState({firstDate:e})}},{key:"select",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.toValidDate(t,null);null!=n&&!this._state.disabled&&(cj(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),e.emitEvent&&dj(n,this._state)&&this._dateSelect$.next(n))}},{key:"toValidDate",value:function(t,e){var n=nj.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e}},{key:"getMonth",value:function(t){var e,n=_createForOfIteratorHelper(this._state.months);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(t.month===i.number&&t.year===i.year)return i}}catch(o){n.e(o)}finally{n.f()}throw new Error("month ".concat(t.month," of year ").concat(t.year," not found"))}},{key:"_nextState",value:function(t){var e=this._updateState(t);this._patchContexts(e),this._state=e,this._model$.next(this._state)}},{key:"_patchContexts",value:function(t){var e=t.months,n=t.displayMonths,i=t.selectedDate,o=t.focusDate,r=t.focusVisible,a=t.disabled,s=t.outsideDays;t.months.forEach(function(t){t.weeks.forEach(function(c){c.days.forEach(function(c){o&&(c.context.focused=o.equals(c.date)&&r),c.tabindex=!a&&o&&c.date.equals(o)&&o.month===t.number?0:-1,!0===a&&(c.context.disabled=!0),void 0!==i&&(c.context.selected=null!==i&&i.equals(c.date)),t.number!==c.date.month&&(c.hidden="hidden"===s||"collapsed"===s||n>1&&c.date.after(e[0].firstDate)&&c.date.before(e[n-1].lastDate))})})})}},{key:"_updateState",value:function(t){var e=Object.assign({},this._state,t),n=e.firstDate;if(("minDate"in t||"maxDate"in t)&&(function(t,e){if(e&&t&&e.before(t))throw new Error("'maxDate' ".concat(e," should be greater than 'minDate' ").concat(t))}(e.minDate,e.maxDate),e.focusDate=uj(e.focusDate,e.minDate,e.maxDate),e.firstDate=uj(e.firstDate,e.minDate,e.maxDate),n=e.focusDate),"disabled"in t&&(e.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(n=e.selectedDate),"focu
1sVisible"in t||"focusDate"in t&&(e.focusDate=uj(e.focusDate,e.minDate,e.maxDate),n=e.focusDate,0!==e.months.length&&e.focusDate&&!e.focusDate.before(e.firstDate)&&!e.focusDate.after(e.lastDate)))return e;if("firstDate"in t&&(e.firstDate=uj(e.firstDate,e.minDate,e.maxDate),n=e.firstDate),n){var i=function(t,e,n,i,o){var r=n.displayMonths,a=n.months,s=a.splice(0,a.length);return Array.from({length:r},function(n,i){var r=Object.assign(t.getNext(e,"m",i),{day:1});if(a[i]=null,!o){var c=s.findIndex(function(t){return t.firstDate.equals(r)});-1!==c&&(a[i]=s.splice(c,1)[0])}return r}).forEach(function(e,o){null===a[o]&&(a[o]=function(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=n.dayTemplateData,a=n.minDate,s=n.maxDate,c=n.firstDayOfWeek,l=n.markDisabled,u=n.outsideDays,d=t.getToday();o.firstDate=null,o.lastDate=null,o.number=e.month,o.year=e.year,o.weeks=o.weeks||[],o.weekdays=o.weekdays||[],e=function(t,e,n){var i=t.getDaysPerWeek(),o=new nj(e.year,e.month,1),r=t.getWeekday(o)%i;return t.getPrev(o,"d",(i+r-n)%i)}(t,e,c);for(var h=0;h<t.getWeeksPerMonth();h++){var p=o.weeks[h];p||(p=o.weeks[h]={number:0,days:[],collapsed:!0});for(var f=p.days,g=0;g<t.getDaysPerWeek();g++){0===h&&(o.weekdays[g]=t.getWeekday(e));var _=new nj(e.year,e.month,e.day),m=t.getNext(_),v=i.getDayAriaLabel(_),y=!!(a&&_.before(a)||s&&_.after(s));!y&&l&&(y=l(_,{month:o.number,year:o.year}));var C=_.equals(d),b=r?r(_,{month:o.number,year:o.year}):void 0;null===o.firstDate&&_.month===o.number&&(o.firstDate=_),_.month===o.number&&m.month!==o.number&&(o.lastDate=_);var O=f[g];O||(O=f[g]={}),O.date=_,O.context=Object.assign(O.context||{},{$implicit:_,date:_,data:b,currentMonth:o.number,currentYear:o.year,disabled:y,focused:!1,selected:!1,today:C}),O.tabindex=-1,O.ariaLabel=v,O.hidden=!1,e=m}p.number=t.getWeekNumber(f.map(function(t){return t.date}),c),p.collapsed="collapsed"===u&&f[0].date.month!==o.number&&f[f.length-1].date.month!==o.number}return o}(t,e,n,i,s.shift()||{}))}),a}(this._calendar,n,e,this._i18n,"dayTemplateData"in t||"firstDayOfWeek"in t||"markDisabled"in t||"minDate"in t||"maxDate"in t||"disabled"in t||"outsideDays"in t);e.months=i,e.firstDate=i[0].firstDate,e.lastDate=i[i.length-1].lastDate,"selectedDate"in t&&!dj(e.selectedDate,e)&&(e.selectedDate=null),"firstDate"in t&&(!e.focusDate||e.focusDate.before(e.firstDate)||e.focusDate.after(e.lastDate))&&(e.focusDate=n);var o=!this._state.firstDate||this._state.firstDate.year!==e.firstDate.year,r=!this._state.firstDate||this._state.firstDate.month!==e.firstDate.month;"select"===e.navigation?(("minDate"in t||"maxDate"in t||0===e.selectBoxes.years.length||o)&&(e.selectBoxes.years=function(t,e,n){if(!t)return[];for(var i=e?Math.max(e.year,t.year-500):t.year-10,o=(n?Math.min(n.year,t.year+500):t.year+10)-i+1,r=Array(o),a=0;a<o;a++)r[a]=i+a;return r}(e.firstDate,e.minDate,e.maxDate)),("minDate"in t||"maxDate"in t||0===e.selectBoxes.months.length||o)&&(e.selectBoxes.months=function(t,e,n,i){if(!e)return[];var o=t.getMonths(e.year);if(n&&e.year===n.year){var r=o.findIndex(function(t){return t===n.month});o=o.slice(r)}if(i&&e.year===i.year){var a=o.findIndex(function(t){return t===i.month});o=o.slice(0,a+1)}return o}(this._calendar,e.firstDate,e.minDate,e.maxDate))):e.selectBoxes={years:[],months:[]},("arrows"===e.navigation||"select"===e.navigation)&&(r||o||"minDate"in t||"maxDate"in t||"disabled"in t)&&(e.prevDisabled=e.disabled||function(t,e,n){var i=Object.assign(t.getPrev(e,"m"),{day:1});return null!=n&&(i.year===n.year&&i.month<n.month||i.year<n.year&&1===n.month)}(this._calendar,e.firstDate,e.minDate),e.nextDisabled=e.disabled||function(t,e,n){var i=Object.assign(t.getNext(e,"m"),{day:1});return null!=n&&i.after(n)}(this._calendar,e.lastDate,e.maxDate))}return e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(aj),r.LFG(hj))},t.\u0275prov=r.Yz7({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),gj=(function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(gj||(gj={})),gj),_j=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}();function mj(){return new yj}var vj=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:mj,token:t,providedIn:"root"}),t}(),yj=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"fromModel",value:function(t){return t&&jV(t.year)&&jV(t.month)&&jV(t.day)?{year:t.year,month:t.month,day:t.day}
1:null}},{key:"toModel",value:function(t){return t&&jV(t.year)&&jV(t.month)&&jV(t.day)?{year:t.year,month:t.month,day:t.day}:null}}]),e}(vj);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Cj={provide:sN,useExisting:(0,r.Gpc)(function(){return Oj}),multi:!0},bj=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.templateRef=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","ngbDatepickerContent",""]]}),t}(),Oj=function(){var t=function(){function t(e,n,i,o,a,s,c,l){var u=this;_classCallCheck(this,t),this._service=e,this._calendar=n,this.i18n=i,this._elementRef=s,this._ngbDateAdapter=c,this._ngZone=l,this._controlValue=null,this._destroyed$=new we.xQ,this._publicState={},this.navigate=new r.vpe,this.dateSelect=new r.vpe,this.select=this.dateSelect,this.onChange=function(t){},this.onTouched=function(){},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekdays","showWeekNumbers","startDate"].forEach(function(t){return u[t]=o[t]}),e.dateSelect$.pipe((0,fl.R)(this._destroyed$)).subscribe(function(t){u.dateSelect.emit(t)}),e.model$.pipe((0,fl.R)(this._destroyed$)).subscribe(function(t){var e=t.firstDate,n=u.model?u.model.firstDate:null;u._publicState={maxDate:t.maxDate,minDate:t.minDate,firstDate:t.firstDate,lastDate:t.lastDate,focusedDate:t.focusDate,months:t.months.map(function(t){return t.firstDate})};var i=!1;if(e.equals(n)||(u.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:e.year,month:e.month},preventDefault:function(){return i=!0}}),!i||null===n)){var o=t.selectedDate,r=t.focusDate,s=u.model?u.model.focusDate:null;u.model=t,cj(o,u._controlValue)&&(u._controlValue=o,u.onTouched(),u.onChange(u._ngbDateAdapter.toModel(o))),cj(r,s)&&s&&t.focusVisible&&u.focus(),a.markForCheck()}else u._service.open(n)})}return _createClass(t,[{key:"state",get:function(){return this._publicState}},{key:"calendar",get:function(){return this._calendar}},{key:"focusDate",value:function(t){this._service.focus(nj.from(t))}},{key:"focusSelect",value:function(){this._service.focusSelect()}},{key:"focus",value:function(){var t=this;this._ngZone.onStable.asObservable().pipe((0,ke.q)(1)).subscribe(function(){var e=t._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');e&&e.focus()})}},{key:"navigateTo",value:function(t){this._service.open(nj.from(t?t.day?t:Object.assign(Object.assign({},t),{day:1}):null))}},{key:"ngAfterViewInit",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=(0,Rb.R)(t._contentEl.nativeElement,"focusin"),n=(0,Rb.R)(t._contentEl.nativeElement,"focusout"),i=t._elementRef.nativeElement;(0,oO.T)(e,n).pipe((0,Te.h)(function(t){var e=t.target,n=t.relatedTarget;return!(BV(e,"ngb-dp-day")&&BV(n,"ngb-dp-day")&&i.contains(e)&&i.contains(n))}),(0,fl.R)(t._destroyed$)).subscribe(function(e){var n=e.type;return t._ngZone.run(function(){return t._service.set({focusVisible:"focusin"===n})})})})}},{key:"ngOnDestroy",value:function(){this._destroyed$.next()}},{key:"ngOnInit",value:function(){var t=this;if(void 0===this.model){var e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].forEach(function(n){return e[n]=t[n]}),this._service.set(e),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}},{key:"ngOnChanges",value:function(t){var e=this,n={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].filter(function(e){return e in t}).forEach(function(t){return n[t]=e[t]}),this._service.set(n),"startDate"in t){var i=t.startDate,o=i.currentValue;lj(i.previousValue,o)&&this.navigateTo(this.startDate)}}},{key:"onDateSelect",value:function(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})}},{key:"onNavigateDateSelect",value:function(t){this._service.open(t)}},{key:"onNavigateEvent",value:function(t){switch(t){case gj.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case gj.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._service.set({disabled:t})}},{key:"writeValue",value:function(t){this._controlValue=nj.from(this._ngbDateAdapter.fromModel(t)),this._service.select(this._controlValue)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(fj),r.Y36(aj),r.Y36(hj),r.Y36(_j),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(vj),r.Y36(r.R0b))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-datepicker"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,bj,7),2&t)&&(r.iGM(i=r.CRH())&&(e.contentTemplate=i.first))},viewQuery:function(t,e){var n;(1&t&&(r.Gf(ZU,7),r.Gf(NU,7)),2&t)&&(r.iGM(n=r.CRH())&&(e._defaultDayTemplate=n.first),r.iGM(n=r.CRH())&&(e._contentEl=n.first))},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},outputs:{navigate:"navigate",dateSelect:"dateSelect",select:"select"},exportAs:["ngbDatepicker"],features:[r._Bn([Cj,fj]),r.TTD],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(t,e){if(1&t&&(r.YNc(0,UU,1,5,"ng-template",null,0,r.W1O),r.YNc(2,zU,1,1,"ng-template",null,1,r.W1O),r.TgZ(4,"div",2),r.YNc(5,qU,1,7,"ngb-datepicker-navigation",3),r.qZA(),r.TgZ(6,"div",4,5),r.YNc(8,BU,0,0,"ng-template",6),r.qZA(),r.YNc(9,YU,0,0,"ng-template",6)),2&t){var n=r.MAs(3);r.xp6(5),r.Q6J("ngIf","none"!==e.navigation),r.xp6(1),r.ekj("ngb-dp-months",!e.contentTemplate),r.xp6(2),r.Q6J("ngTemplateOutlet",(null==e.contentTemplate?null:e.contentTemplate.templateRef)||n),r.xp6(1),r.Q6J("ngTemplateOutlet",e.footerTemplate)}},directives:function(){return[_t,Pt,Bj,ft,Mj,xj]},styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}
1.ngb-dp-body{z-index:1050}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-months{display:-ms-flexbox;display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}"],encapsulation:2,changeDetection:0}),qo([(0,r.i9L)("defaultDayTemplate",{static:!0})],t.prototype,"_defaultDayTemplate",void 0),qo([(0,r.i9L)("content",{static:!0})],t.prototype,"_contentEl",void 0),qo([(0,r.aQ5)(bj,{static:!0})],t.prototype,"contentTemplate",void 0),qo([(0,r.IIB)()],t.prototype,"dayTemplate",void 0),qo([(0,r.IIB)()],t.prototype,"dayTemplateData",void 0),qo([(0,r.IIB)()],t.prototype,"displayMonths",void 0),qo([(0,r.IIB)()],t.prototype,"firstDayOfWeek",void 0),qo([(0,r.IIB)()],t.prototype,"footerTemplate",void 0),qo([(0,r.IIB)()],t.prototype,"markDisabled",void 0),qo([(0,r.IIB)()],t.prototype,"maxDate",void 0),qo([(0,r.IIB)()],t.prototype,"minDate",void 0),qo([(0,r.IIB)()],t.prototype,"navigation",void 0),qo([(0,r.IIB)()],t.prototype,"outsideDays",void 0),qo([(0,r.IIB)()],t.prototype,"showWeekdays",void 0),qo([(0,r.IIB)()],t.prototype,"showWeekNumbers",void 0),qo([(0,r.IIB)()],t.prototype,"startDate",void 0),qo([(0,r.r_U)()],t.prototype,"navigate",void 0),qo([(0,r.r_U)()],t.prototype,"dateSelect",void 0),qo([(0,r.r_U)()],t.prototype,"select",void 0),t}(),Pj=(function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(Pj||(Pj={})),Pj),wj=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"processKey",value:function(t,e){var n=e.state,i=e.calendar;switch(t.which){case Pj.PageUp:e.focusDate(i.getPrev(n.focusedDate,t.shiftKey?"y":"m",1));break;case Pj.PageDown:e.focusDate(i.getNext(n.focusedDate,t.shiftKey?"y":"m",1));break;case Pj.End:e.focusDate(t.shiftKey?n.maxDate:n.lastDate);break;case Pj.Home:e.focusDate(t.shiftKey?n.minDate:n.firstDate);break;case Pj.ArrowLeft:e.focusDate(i.getPrev(n.focusedDate,"d",1));break;case Pj.ArrowUp:e.focusDate(i.getPrev(n.focusedDate,"d",i.getDaysPerWeek()));break;case Pj.ArrowRight:e.focusDate(i.getNext(n.focusedDate,"d",1));break;case Pj.ArrowDown:e.focusDate(i.getNext(n.focusedDate,"d",i.getDaysPerWeek()));break;case Pj.Enter:case Pj.Space:e.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Mj=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this.i18n=e,this.datepicker=n,this._keyboardService=i,this._service=o}return _createClass(t,[{key:"month",set:function(t){this.viewModel=this._service.getMonth(t)}},{key:"onKeyDown",value:function(t){this._keyboardService.processKey(t,this.datepicker)}},{key:"doSelect",value:function(t){!t.context.disabled&&!t.hidden&&this.datepicker.onDateSelect(t.date)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(hj),r.Y36(Oj),r.Y36(wj),r.Y36(fj))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e.onKeyDown(t)})},inputs:{month:"month"},decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(r.YNc(0,JU,3,2,"div",0),r.YNc(1,tV,1,1,"ng-template",1)),2&t&&(r.Q6J("ngIf",e.datepicker.showWeekdays),r.xp6(1),r.Q6J("ngForOf",e.viewModel.weeks))},directives:[_t,ft,Pt],styles:['ngb-datepicker-month{display:block}.ngb-dp-week-number,.ngb-dp-weekday{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:#5bc0de;color:var(--info)}.ngb-dp-week{border-radius:.25rem;display:-ms-flexbox;display:flex}.ngb-dp-weekdays{border-bottom:1px solid rgba(0,0,0,.125);border-radius:0;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-day,.ngb-dp-week-number,.ngb-dp-weekday{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}'],encapsulation:2}),qo([(0,r.IIB)()],t.prototype,"month",null),t}(),xj=function(){var t=function(){function t(e){_classCallCheck(this,t),this.i18n=e,this.navigation=gj,this.months=[],this.navigate=new r.vpe,this.select=new r.vpe}return _createClass(t,[{key:"onClickPrev",value:function(t){t.currentTarget.focu
1s(),this.navigate.emit(this.navigation.PREV)}},{key:"onClickNext",value:function(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(hj))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-datepicker-navigation"]],inputs:{months:"months",date:"date",disabled:"disabled",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:8,vars:4,consts:function(){return[[1,"ngb-dp-arrow"],["type","button","aria-label",$localize(_templateObject||(_templateObject=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]))),"title",$localize(_templateObject2||(_templateObject2=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]))),1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",$localize(_templateObject3||(_templateObject3=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]))),"title",$localize(_templateObject4||(_templateObject4=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]))),1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"button",1),r.NdJ("click",function(t){return e.onClickPrev(t)}),r._UZ(2,"span",2),r.qZA(),r.qZA(),r.YNc(3,eV,1,4,"ngb-datepicker-navigation-select",3),r.YNc(4,rV,1,1,void 0,4),r.TgZ(5,"div",5),r.TgZ(6,"button",6),r.NdJ("click",function(t){return e.onClickNext(t)}),r._UZ(7,"span",2),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.prevDisabled),r.xp6(2),r.Q6J("ngIf",e.showSelect),r.xp6(1),r.Q6J("ngIf",!e.showSelect),r.xp6(2),r.Q6J("disabled",e.nextDisabled))},directives:function(){return[_t,Yj,ft]},styles:["ngb-datepicker-navigation{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.right .ngb-dp-navigation-chevron{-webkit-transform:rotate(45deg);transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{-ms-flex-pack:end;justify-content:flex-end}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:-ms-flexbox;display:flex;-ms-flex:1 1 9rem;flex:1 1 9rem}"],encapsulation:2,changeDetection:0}),qo([(0,r.IIB)()],t.prototype,"date",void 0),qo([(0,r.IIB)()],t.prototype,"disabled",void 0),qo([(0,r.IIB)()],t.prototype,"months",void 0),qo([(0,r.IIB)()],t.prototype,"showSelect",void 0),qo([(0,r.IIB)()],t.prototype,"prevDisabled",void 0),qo([(0,r.IIB)()],t.prototype,"nextDisabled",void 0),qo([(0,r.IIB)()],t.prototype,"selectBoxes",void 0),qo([(0,r.r_U)()],t.prototype,"navigate",void 0),qo([(0,r.r_U)()],t.prototype,"select",void 0),t}(),kj=function(t,e){return!!e&&e.some(function(e){return e.contains(t)})},Sj=function(t,e){return!e||null!=function(t,e){return e&&void 0!==t.closest?t.closest(e):null}(t,e)},Aj="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Tj(t,e,n,i,o,r,a,s){n&&t.runOutsideAngular(function(t){return Aj?function(){return setTimeout(function(){return t()},100)}:t}(function(){var c=(0,Rb.R)(e,"keydown").pipe((0,fl.R)(o),(0,Te.h)(function(t){return t.which===Pj.Escape}),(0,Le.b)(function(t){return t.preventDefault()})),l=(0,Rb.R)(e,"mousedown").pipe((0,Me.U)(function(t){var e=t.target;return 2!==t.button&&!kj(e,a)&&("inside"===n?kj(e,r)&&Sj(e,s):"outside"===n?!kj(e,r):Sj(e,s)||!kj(e,r))}),(0,fl.R)(o)),u=(0,Rb.R)(e,"mouseup").pipe((0,RU.M)(l),(0,Te.h)(function(t){var e=_slicedToArray(t,2);e[0];return e[1]}),(0,FU.g)(0),(0,fl.R)(o));(0,DU.S3)([c.pipe((0,Me.U)(function(t){return 0})),u.pipe((0,Me.U)(function(t){return 1}))]).subscribe(function(e){return t.run(function(){return i(e)})})}))}var Ij=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not
1([tabindex="-1"])'].join(", ");function Ej(t){var e=Array.from(t.querySelectorAll(Ij)).filter(function(t){return-1!==t.tabIndex});return[e[0],e[e.length-1]]}var Dj=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.runOutsideAngular(function(){var t=(0,Rb.R)(e,"focusin").pipe((0,fl.R)(n),(0,Me.U)(function(t){return t.target}));(0,Rb.R)(e,"keydown").pipe((0,fl.R)(n),(0,Te.h)(function(t){return t.which===Pj.Tab}),(0,RU.M)(t)).subscribe(function(t){var n=_slicedToArray(t,2),i=n[0],o=n[1],r=_slicedToArray(Ej(e),2),a=r[0],s=r[1];(o===a||o===e)&&i.shiftKey&&(s.focus(),i.preventDefault()),o===s&&!i.shiftKey&&(a.focus(),i.preventDefault())}),i&&(0,Rb.R)(e,"click").pipe((0,fl.R)(n),(0,RU.M)(t),(0,Me.U)(function(t){return t[1]})).subscribe(function(t){return t.focus()})})},Rj=/\s+/,Fj=new(function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"getAllStyles",value:function(t){return window.getComputedStyle(t)}},{key:"getStyle",value:function(t,e){return this.getAllStyles(t)[e]}},{key:"isStaticPositioned",value:function(t){return"static"===(this.getStyle(t,"position")||"static")}},{key:"offsetParent",value:function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}},{key:"position",value:function(t){var e,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))e={top:(e=t.getBoundingClientRect()).top,bottom:e.bottom,left:e.left,right:e.right,height:e.height,width:e.width};else{var o=this.offsetParent(t);e=this.offset(t,!1),o!==document.documentElement&&(i=this.offset(o,!1)),i.top+=o.clientTop,i.left+=o.clientLeft}return e.top-=i.top,e.bottom-=i.top,e.left-=i.left,e.right-=i.left,n&&(e.top=Math.round(e.top),e.bottom=Math.round(e.bottom),e.left=Math.round(e.left),e.right=Math.round(e.right)),e}},{key:"offset",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.getBoundingClientRect(),i=window.pageYOffset-document.documentElement.clientTop,o=window.pageXOffset-document.documentElement.clientLeft,r={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+i,bottom:n.bottom+i,left:n.left+o,right:n.right+o};return e&&(r.height=Math.round(r.height),r.width=Math.round(r.width),r.top=Math.round(r.top),r.bottom=Math.round(r.bottom),r.left=Math.round(r.left),r.right=Math.round(r.right)),r}},{key:"positionElements",value:function(t,e,n,i){var o=_slicedToArray(n.split("-"),2),r=o[0],a=void 0===r?"top":r,s=o[1],c=void 0===s?"center":s,l=i?this.offset(t,!1):this.position(t,!1),u=this.getAllStyles(e),d=parseFloat(u.marginTop),h=parseFloat(u.marginBottom),p=parseFloat(u.marginLeft),f=parseFloat(u.marginRight),g=0,_=0;switch(a){case"top":g=l.top-(e.offsetHeight+d+h);break;case"bottom":g=l.top+l.height;break;case"left":_=l.left-(e.offsetWidth+p+f);break;case"right":_=l.left+l.width}switch(c){case"top":g=l.top;break;case"bottom":g=l.top+l.height-e.offsetHeight;break;case"left":_=l.left;break;case"right":_=l.left+l.width-e.offsetWidth;break;case"center":"top"===a||"bottom"===a?_=l.left+l.width/2-e.offsetWidth/2:g=l.top+l.height/2-e.offsetHeight/2}e.style.transform="translate(".concat(Math.round(_),"px, ").concat(Math.round(g),"px)");var m=e.getBoundingClientRect(),v=document.documentElement,y=window.innerHeight||v.clientHeight,C=window.innerWidth||v.clientWidth;return m.left>=0&&m.top>=0&&m.right<=C&&m.bottom<=y}}]),t}());function Lj(t,e,n,i,o){var r=Array.isArray(n)?n:n.split(Rj),a=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],s=e.classList,c=function(t){var e=_slicedToArray(t.split("-"),2),n=e[0],i=e[1],r=[];return o&&(r.push("".concat(o,"-").concat(n)),i&&r.push("".concat(o,"-").concat(n,"-").concat(i)),r.forEach(function(t){s.add(t)})),r};o&&a.forEach(function(t){s.remove("".concat(o,"-").concat(t))});var l=r.findIndex(function(t){return"auto"===t});l>=0&&a.forEach(function(t){null==r.find(function(e){return-1!==e.search("^"+t)})&&r.splice(l++,1,t)}
1);var u=e.style;u.position="absolute",u.top="0",u.left="0",u["will-change"]="transform";var d,h=null,p=!1,f=_createForOfIteratorHelper(r);try{for(f.s();!(d=f.n()).done;){var g=c(h=d.value);if(Fj.positionElements(t,e,h,i)){p=!0;break}o&&g.forEach(function(t){s.remove(t)})}}catch(_){f.e(_)}finally{f.f()}return p||(c(h=r[0]),Fj.positionElements(t,e,h,i)),h}function Zj(){return new Uj}var Nj=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:Zj,token:t,providedIn:"root"}),t}(),Uj=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"parse",value:function(t){if(null!=t){var e=t.trim().split("-");if(1===e.length&&VV(e[0]))return{year:ZV(e[0]),month:null,day:null};if(2===e.length&&VV(e[0])&&VV(e[1]))return{year:ZV(e[0]),month:ZV(e[1]),day:null};if(3===e.length&&VV(e[0])&&VV(e[1])&&VV(e[2]))return{year:ZV(e[0]),month:ZV(e[1]),day:ZV(e[2])}}return null}},{key:"format",value:function(t){return t?"".concat(t.year,"-").concat(VV(t.month)?qV(t.month):"","-").concat(VV(t.day)?qV(t.day):""):""}}]),e}(Nj);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Vj=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments)).autoClose=!0,t.placement=["bottom-left","bottom-right","top-left","top-right"],t.restoreFocus=!0,t}return _inherits(e,t),_createClass(e)}(_j);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),jj={provide:sN,useExisting:(0,r.Gpc)(function(){return qj}),multi:!0},zj={provide:pN,useExisting:(0,r.Gpc)(function(){return qj}),multi:!0},qj=function(){var t=function(){function t(e,n,i,o,a,s,c,l,u,d,h){var p=this;_classCallCheck(this,t),this._parserFormatter=e,this._elRef=n,this._vcRef=i,this._renderer=o,this._cfr=a,this._ngZone=s,this._calendar=c,this._dateAdapter=l,this._document=u,this._changeDetector=d,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this.dateSelect=new r.vpe,this.navigate=new r.vpe,this.closed=new r.vpe,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},["autoClose","container","positionTarget","placement"].forEach(function(t){return p[t]=h[t]}),this._zoneSubscription=s.onStable.subscribe(function(){return p._updatePopupPosition()})}return _createClass(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=""===t||t&&"false"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"registerOnValidatorChange",value:function(t){this._validatorChange=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"validate",value:function(t){var e=t.value;if(null!=e){var n=this._fromDateStruct(this._dateAdapter.fromModel(e));if(!n)return{ngbDate:{invalid:e}};if(this.minDate&&n.before(nj.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:e}}};if(this.maxDate&&n.after(nj.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:e}}}}return null}},{key:"writeValue",value:function(t){this._model=this._fromDateStruct(this._dateAdapter.fromModel(t)),this._writeModelValue(this._model)}},{key:"manualDateChange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t!==this._inputValue;n&&(this._inputValue=t,this._model=this._fromDateStruct(this._parserFormatter.parse(t))),(n||!e)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===t?null:t),e&&this._model&&this._writeModelValue(this._model)}},{key:"isOpen",value:function(){return!!this._cRef}},{key:"open",value:function(){var t=this;
1if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(Oj);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,Dj(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),this._cRef.instance.focus(),Tj(this._ngZone,this._document,this.autoClose,function(){return t.close()},this.closed,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}},{key:"close",value:function(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this.closed.emit(),this._changeDetector.markForCheck();var t=this._elWithFocus;UV(this.restoreFocus)?t=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(t=this.restoreFocus),t&&t.focus?t.focus():this._document.body.focus()}}},{key:"toggle",value:function(){this.isOpen()?this.close():this.open()}},{key:"navigateTo",value:function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)}},{key:"onBlur",value:function(){this._onTouched()}},{key:"onFocus",value:function(){this._elWithFocus=this._elRef.nativeElement}},{key:"ngOnChanges",value:function(t){(t.minDate||t.maxDate)&&(this._validatorChange(),this.isOpen()&&(t.minDate&&(this._cRef.instance.minDate=this.minDate),t.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(t)))}},{key:"ngOnDestroy",value:function(){this.close(),this._zoneSubscription.unsubscribe()}},{key:"_applyDatepickerInputs",value:function(t){var e=this;["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model}},{key:"_applyPopupStyling",value:function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.addClass(t,"show"),"body"===this.container&&this._renderer.addClass(t,"ngb-dp-body")}},{key:"_subscribeForDatepickerOutputs",value:function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)}),t.dateSelect.subscribe(function(t){e.dateSelect.emit(t),(!0===e.autoClose||"inside"===e.autoClose)&&e.close()})}},{key:"_writeModelValue",value:function(t){var e=this._parserFormatter.format(t);this._inputValue=e,this._renderer.setProperty(this._elRef.nativeElement,"value",e),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(t)),this._onTouched())}},{key:"_fromDateStruct",value:function(t){var e=t?new nj(t.year,t.month,t.day):null;return this._calendar.isValid(e)?e:null}},{key:"_updatePopupPosition",value:function(){if(this._cRef){var t;if(t=UV(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!t)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");Lj(t,this._cRef.location.nativeElement,this.placement,"body"===this.container)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(Nj),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r._Vd),r.Y36(r.R0b),r.Y36(aj),r.Y36(vj),r.Y36(l),r.Y36(r.sBO),r.Y36(Vj))},t.\u0275dir=r.lG2({type:t,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(t,e){1&t&&r.NdJ("input",function(t){return e.manualDateChange(t.target.value)})("change",function(t){return e.manualDateChange(t.target.value,!0)})("focus",function(){return e.onFocus()})("blur",function(){return e.onBlur()}),2&t&&r.Ikx("disabled",e.disabled)},inputs:{disabled:"disabled",autoClose:"autoClose",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",restoreFocus:"restoreFocus",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[r._Bn([jj,zj,{provide:_j,useExisting:Vj}]),r.TTD]}),qo([(0,r.IIB)()],t.prototype,"autoClose",void 0),qo([(0,r.IIB)()],t.prototype,"dayTemplate",void 0),qo([(0,r.IIB)()],t.prototype,"dayTemplateData",void 0),qo([(0,r.IIB)()],t.prototype,"displayMonths",void 0),qo([(0,r.IIB)()],t.prototype,"firstDayOfWeek",void 0),qo([(0,r.IIB)()],t.prototype,"footerTemplate",void 0),qo([(0,r.IIB)()],t.prototype,"markDisabled",void 0),qo([(0,r.IIB)()],t.prototype,"minDate",void 0),qo([(0,r.IIB)()],t.prototype,"maxDate",void 0),qo([(0,r.IIB)()],t.prototype,"navigation",void 0),qo([(0,r.IIB)()],t.prototype,"outsideDays",void 0),qo([(0,r.IIB)()],t.prototype,"placement",void 0),qo([(0,r.IIB)()],t.prototype,"restoreFocus",void 0),qo([(0,r.IIB)()],t.prototype,"showWeekdays",void 0),qo([(0,r.IIB)()],t.prototype,"showWeekNumbers",void 0),qo([(0,r.IIB)()],t.prototype,"startDate",void 0),qo([(0,r.IIB)()],t.prototype,"container",void 0),qo([(0,r.IIB)()],t.prototype,"positionTarget",void 0),qo([(0,r.r_U)()],t.prototype,"dateSelect",void 0),qo([(0,r.r_U)()],t.prototype,"navigate",void 0),qo([(0,r.r_U)()],t.prototype,"closed",void 0),qo([(0,r.IIB)()],t.prototype,"disabled",null),t=qo([Bo(8,(0,r.tBr)(l))],t)}(),Bj=function(){var t=function(){function t(e){_classCallCheck(this,t),this.i18n=e}return _createClass(t,[{key:"isMuted",value:function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(hj))},t.\u0275cmp=r.Xpm({type:t,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(t,e){2&t&&r.ekj("bg-primary",e.selected)("text-white",e.selected)("text-muted",e.isMuted())("outside",e.isMuted())("active",e.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:aV,decls:1,vars:1,template:function(t,e){1&t&&r._uU(0),2&t&&r.Oqu(e.i18n.getDayNumerals(e.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:0 0}[ngbDatepickerDayView].outside{opacity:.5}"],encapsulation:2,changeDetection:0}),qo([(0,r.IIB)()],t.prototype,"currentMonth",void 0),qo([(0,r.IIB)()],t.prototype,"date",void 0),qo([(0,r.IIB)()],t.prototype,"disabled",void 0),qo([(0,r.IIB)()],t.prototype,"focused",void 0),qo([(0,r.IIB)()],t.prototype,"selected",void 0),t}(),Yj=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.i18n=e,this._renderer=n,this.select=new r.vpe,this._month=-1,this._year=-1}return _createClass(t,[{key:"changeMonth",value:function(t){this.select.emit(new nj(this.date.year,ZV(t),1))}},{key:"changeYear",value:function(t){this.select.emit(new nj(ZV(t),this.date.month,1))}},{key:"ngAfterViewChecked",value:function(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(hj),r.Y36(r.Qsj))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(sV,7,r.SBq),r.Gf(cV,7,r.SBq)),2&t)&&(r.iGM(n=r.CRH())&&(e.monthSelect=n.first),r.iGM(n=r.CRH())&&(e.yearSelect=n.first))},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:6,vars:4,consts:function(){return[["aria-label",$localize(_templateOb
1ject5||(_templateObject5=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]))),"title",$localize(_templateObject6||(_templateObject6=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]))),1,"custom-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",$localize(_templateObject7||(_templateObject7=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]))),"title",$localize(_templateObject8||(_templateObject8=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]))),1,"custom-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(t,e){1&t&&(r.TgZ(0,"select",0,1),r.NdJ("change",function(t){return e.changeMonth(t.target.value)}),r.YNc(2,lV,2,3,"option",2),r.qZA(),r.TgZ(3,"select",3,4),r.NdJ("change",function(t){return e.changeYear(t.target.value)}),r.YNc(5,uV,2,2,"option",2),r.qZA()),2&t&&(r.Q6J("disabled",e.disabled),r.xp6(2),r.Q6J("ngForOf",e.months),r.xp6(1),r.Q6J("disabled",e.disabled),r.xp6(2),r.Q6J("ngForOf",e.years))},directives:[ft,MU,AU],styles:["ngb-datepicker-navigation-select>.custom-select{-ms-flex:1 1 auto;flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.custom-select:focus{z-index:1}ngb-datepicker-navigation-select>.custom-select::-ms-value{background-color:transparent!important}"],encapsulation:2,changeDetection:0}),qo([(0,r.IIB)()],t.prototype,"date",void 0),qo([(0,r.IIB)()],t.prototype,"disabled",void 0),qo([(0,r.IIB)()],t.prototype,"months",void 0),qo([(0,r.IIB)()],t.prototype,"years",void 0),qo([(0,r.r_U)()],t.prototype,"select",void 0),qo([(0,r.i9L)("month",{static:!0,read:r.SBq})],t.prototype,"monthSelect",void 0),qo([(0,r.i9L)("year",{static:!0,read:r.SBq})],t.prototype,"yearSelect",void 0),t}();new Date(1882,10,12),new Date(2174,10,25);var Gj,Hj=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It,IU]]}),t}(),Jj=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Wj=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["",8,"navbar"]]}),t}(),Qj=function(){var t=function(){function t(e){_classCallCheck(this,t),this.elementRef=e,this._disabled=!1}return _createClass(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=""===t||!0===t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("disabled",e.disabled)},inputs:{disabled:"disabled"}}),qo([(0,r.IIB)()],t.prototype,"disabled",null),t}(),Kj=function(){var t=_createClass(function t(e,n){_classCallCheck(this,t),this.dropdown=e,this.placement="bottom",this.isOpen=!1,this.nativeElement=n.nativeElement});return t.\u0275fac=function(e){return new(e||t)(r.Y36((0,r.Gpc)(function(){return tz})),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,Qj,4),2&t)&&(r.iGM(i=r.CRH())&&(e.menuItems=i))},hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("keydown.ArrowUp",function(t){return e.dropdown.onKeyDown(t)})("keydown.ArrowDown",function(t){return e.dropdown.onKeyDown(t)})("keydown.Home",function(t){return e.dropdown.onKeyDown(t)})("keydown.End",function(t){return e.dropdown.onKeyDown(t)})("keydown.Enter",function(t){return e.dropdown.onKeyDown(t)})("keydown.Space",function(t){return e.dropdown.onKeyDown(t)})("keydown.Tab",function(t){return e.dropdown.onKeyDown(t)})("keydown.Shift.Tab",function(t){return e.dropdown.onKeyDown(t)}),2&t&&(r.uIk("x-placement",e.placement),r.ekj("dropdown-menu",!0)("show",e.dropdown.isOpen()))}}),qo([(0,r.AcB)(Qj)],t.prototype,"menuItems",void 0),t=qo([Bo(0,(0,r.tBr)((0,r.Gpc)(function(){return tz})))],t)}(),Xj=function(){var t=_createClass(function t(e,n){_classCallCheck(this,t),this.dropdown=e,this.nativeElement=n.nativeElement});return t.\u0275fac=function(e){return new(e||t)(r.Y36((0,r.Gpc)(function(){return tz})),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:["aria-haspopup","true",1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("aria-expanded",e.dropdown.isOpen())}}),t=qo([Bo(0,(0,r.tBr)((0,r.Gpc)(function(){return tz})))],t)}(),$j=Gj=function(t){function e(t,n){return _classCallCheck(this,e),_callSuper(this,e,[t,n])}return _inherits(e,t),_createClass(e)}(Xj);$j.\u0275fac=function(t){return new(t||$j)(r.Y36((0,r.Gpc)(function(){return tz})),r.Y36(r.SBq))},$j.\u0275dir=r.lG2({type:$j,selectors:[["","ngbDropdownToggle",""]],hostAttrs:["aria-haspopup","true",1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.dropdown.toggle()})("keydown.ArrowUp",function(t){return e.dropdown.onKeyDown(t)})("keydown.ArrowDown",function(t){return e.dropdown.onKeyDown(t)})("keydown.Home",function(t){return e.dropdown.onKeyDown(t)})("keydown.End",function(t){return e.dropdown.onKeyDown(t)})("keydown.Tab",function(t){return e.dropdown.onKeyDown(t)})("keydown.Shift.Tab",function(t){return e.dropdown.onKeyDown(t)}),2&t&&r.uIk("aria-expanded",e.dropdown.isOpen())},features:[r._Bn([{provide:Xj,useExisting:(0,r.Gpc)(function(){return Gj})}]),r.qOj]}),$j.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.tBr,args:[(0,r.Gpc)(function(){return tz})]}]},{type:r.SBq}]},$j=Gj=qo([Bo(0,(0,r.tBr)((0,r.Gpc)(function(){return tz})))],$j);var tz=function(){var t=function(){function t(e,n,i,o,a,s,c){var l=this;_classCallCheck(this,t),this._changeDetector=e,this._document=i,this._ngZone=o,this._elementRef=a,this._renderer=s,this._closed$=new we.xQ,this._bodyContainer=null,this._open=!1,this.openChange=new r.vpe,this.placement=n.placement,this.container=n.container,this.autoClose=n.autoClose,this.display=c?"static":"dynamic",this._zoneSubscription=o.onStable.subscribe(function(){l._positionMenu()})}return _createClass(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(function(){t._applyPlacementClasses(),t._open&&t._setCloseHandlers()})}},{key:"ngOnChanges",value:function(t){t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.isFirstChange&&this._applyPlacementClasses()}},{key:"isOpen",value:function(){return this._open}},{key:"open",value:function(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&this._anchor.nativeElement.focus())}},{key:"_setCloseHandlers",value:function(){var t=this;Tj(this._ngZone,this._document,this.autoClose,function(e){t.close(),0===e&&t._anchor.nativeElement.focus()},this._closed$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}},{key:"close",value:function(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}},{key:"toggle",value:function(){this.isOpen()?this.close():this.open()}},{key:"ngOnDestroy",value:function(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()}},{key:"onKeyDown",value:function(t){var e=this,n=t.which,i=this._getMenuElements(),o=-1,r=null,a=this._isEventFromToggle(t);
1if(!a&&i.length&&i.forEach(function(n,i){n.contains(t.target)&&(r=n),n===e._document.activeElement&&(o=i)}),n!==Pj.Space&&n!==Pj.Enter){if(n!==Pj.Tab){if(a||r){if(this.open(),i.length){switch(n){case Pj.ArrowDown:o=Math.min(o+1,i.length-1);break;case Pj.ArrowUp:if(this._isDropup()&&-1===o){o=i.length-1;break}o=Math.max(o-1,0);break;case Pj.Home:o=0;break;case Pj.End:o=i.length-1}i[o].focus()}t.preventDefault()}}else if(t.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===t.target)return void("body"!==this.container||t.shiftKey?t.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){var s=this._menu.nativeElement.querySelectorAll(Ij);t.shiftKey&&t.target===s[0]?(this._anchor.nativeElement.focus(),t.preventDefault()):!t.shiftKey&&t.target===s[s.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,Rb.R)(t.target,"focusout").pipe((0,ke.q)(1)).subscribe(function(t){var n=t.relatedTarget;e._elementRef.nativeElement.contains(n)||e.close()})}}else r&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,Rb.R)(r,"click").pipe((0,ke.q)(1)).subscribe(function(){return e.close()})}},{key:"_isDropup",value:function(){return this._elementRef.nativeElement.classList.contains("dropup")}},{key:"_isEventFromToggle",value:function(t){return this._anchor.nativeElement.contains(t.target)}},{key:"_getMenuElements",value:function(){var t=this._menu;return null==t?[]:t.menuItems.filter(function(t){return!t.disabled}).map(function(t){return t.elementRef.nativeElement})}},{key:"_positionMenu",value:function(){var t=this._menu;this.isOpen()&&t&&this._applyPlacementClasses("dynamic"===this.display?Lj(this._anchor.nativeElement,this._bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))}},{key:"_getFirstPlacement",value:function(t){return Array.isArray(t)?t[0]:t.split(" ")[0]}},{key:"_resetContainer",value:function(){var t=this._renderer;if(this._menu){var e=this._menu.nativeElement;t.appendChild(this._elementRef.nativeElement,e),t.removeStyle(e,"position"),t.removeStyle(e,"transform")}this._bodyContainer&&(t.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}},{key:"_applyContainer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this._resetContainer(),"body"===t){var e=this._renderer,n=this._menu.nativeElement,i=this._bodyContainer=this._bodyContainer||e.createElement("div");e.setStyle(i,"position","absolute"),e.setStyle(n,"position","static"),e.setStyle(i,"z-index","1050"),e.appendChild(i,n),e.appendChild(this._document.body,i)}}},{key:"_applyPlacementClasses",value:function(t){var e=this._menu;if(e){t||(t=this._getFirstPlacement(this.placement));var n=this._renderer,i=this._elementRef.nativeElement;n.removeClass(i,"dropup"),n.removeClass(i,"dropdown"),e.placement="static"===this.display?null:t;var o=-1!==t.search("^top")?"dropup":"dropdown";n.addClass(i,o);var r=this._bodyContainer;r&&(n.removeClass(r,"dropup"),n.removeClass(r,"dropdown"),n.addClass(r,o))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(Jj),r.Y36(l),r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Wj,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbDropdown",""]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,Kj,5),r.Suo(n,Xj,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._menu=i.first),r.iGM(i=r.CRH())&&(e._anchor=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("show",e.isOpen())},inputs:{_open:["open","_open"],placement:"placement",container:"container",autoClose:"autoClose",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[r.TTD]}),qo([(0,r.aQ5)(Kj,{static:!1})],t.prototype,"_menu",void 0),qo([(0,r.aQ5)(Xj,{static:!1})],t.prototype,"_anchor",void 0),qo([(0,r.IIB)()],t.prototype,"autoClose",void 0),qo([(0,r.IIB)("open")],t.prototype,"_open",void 0),qo([(0,r.IIB)()],t.prototype,"placement",void 0),qo([(0,r.IIB)()],t.prototype,"container",void 0),qo([(0,r.IIB)()],t.prototype,"display",void 0),qo([(0,r.r_U)()],t.prototype,"openChange",void 0),t=qo([Bo(2,(0,r.tBr)(l)),Bo(6,(0,r.FiY)())],t)}(),ez=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),nz=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.backdrop=!0,this.keyboard=!0});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),iz=_createClass(function t(e,n,i){_classCallCheck(this,t),this.nodes=e,this.viewRef=n,this.componentRef=i}),oz=function(){function t(e,n,i,o,r,a){_classCallCheck(this,t),this._type=e,this._injector=n,this._viewContainerRef
1=i,this._renderer=o,this._componentFactoryResolver=r,this._applicationRef=a,this._windowRef=null,this._contentRef=null}return _createClass(t,[{key:"open",value:function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),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 t;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,(null===(t=this._contentRef)||void 0===t?void 0:t.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))}},{key:"_getContentRef",value:function(t,e){if(t){if(t instanceof r.Rgc){var n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new iz([n.rootNodes],n)}return new iz([[this._renderer.createText("".concat(t))]])}return new iz([])}}]),t}(),rz=function(){},az=function(){var t=function(){function t(e){_classCallCheck(this,t),this._document=e}
1return _createClass(t,[{key:"compensate",value:function(){var t=this._getWidth();return this._isPresent(t)?this._adjustBody(t):rz}},{key:"_adjustBody",value:function(t){var e=this._document.body,n=e.style.paddingRight,i=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]="".concat(i+t,"px"),function(){return e.style["padding-right"]=n}}},{key:"_isPresent",value:function(t){var e=this._document.body.getBoundingClientRect();return window.innerWidth-(e.left+e.right)>=t-.1*t}},{key:"_getWidth",value:function(){var t=this._document.createElement("div");t.className="modal-scrollbar-measure";var e=this._document.body;e.appendChild(t);var n=t.getBoundingClientRect().width-t.clientWidth;return e.removeChild(t),n}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(l))},token:t,providedIn:"root"}),t=qo([Bo(0,(0,r.tBr)(l))],t)}(),sz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(t,e){2&t&&r.Tol("modal-backdrop fade show"+(e.backdropClass?" "+e.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),qo([(0,r.IIB)()],t.prototype,"backdropClass",void 0),t}(),cz=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"close",value:function(t){}},{key:"dismiss",value:function(t){}}]),t}(),lz=function(){function t(e,n,i,o){var r=this;_classCallCheck(this,t),this._windowCmptRef=e,this._contentRef=n,this._backdropCmptRef=i,this._beforeDismiss=o,e.instance.dismissEvent.subscribe(function(t){r.dismiss(t)}),this.result=new Promise(function(t,e){r._resolve=t,r._reject=e}),this.result.then(null,function(){})}
1return _createClass(t,[{key:"componentInstance",get:function(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}},{key:"close",value:function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())}},{key:"_dismiss",value:function(t){this._reject(t),this._removeModalElements()}},{key:"dismiss",value:function(t){var e=this;if(this._windowCmptRef)if(this._beforeDismiss){var n=this._beforeDismiss();n&&n.then?n.then(function(n){!1!==n&&e._dismiss(t)},function(){}):!1!==n&&this._dismiss(t)}else this._dismiss(t)}},{key:"_removeModalElements",value:function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null}}]),t}(),uz=(function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(uz||(uz={})),uz),dz=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._document=e,this._elRef=n,this._zone=i,this._closed$=new we.xQ,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.vpe}return _createClass(t,[{key:"dismiss",value:function(t){this.dismissEvent.emit(t)}},{key:"ngOnInit",value:function(){this._elWithFocus=this._document.activeElement}},{key:"ngAfterViewInit",value:function(){var t=this,e=this._elRef.nativeElement;if(this._zone.runOutsideAngular(function(){(0,Rb.R)(e,"keydown").pipe((0,fl.R)(t._closed$),(0,Te.h)(function(e){return e.which===Pj.Escape&&t.keyboard})).subscribe(function(e){return requestAnimationFrame(function(){e.defaultPrevented||t._zone.run(function(){return t.dismiss(uz.ESC)})})});var n=!1;(0,Rb.R)(t._dialogEl.nativeElement,"mousedown").pipe((0,fl.R)(t._closed$),(0,Le.b)(function(){return n=!1}),(0,xe.w)(function(){return(0,Rb.R)(e,"mouseup").pipe((0,fl.R)(t._closed$),(0,ke.q)(1))}),(0,Te.h)(function(t){var n=t.target;return e===n})).subscribe(function(){n=!0}),(0,Rb.R)(e,"click").pipe((0,fl.R)(t._closed$)).subscribe(function(i){var o=i.target;!0===t.backdrop&&e===o&&!n&&t._zone.run(function(){return t.dismiss(uz.BACKDROP_CLICK)}),n=!1})}),!e.contains(document.activeElement)){var n=e.querySelector("[ngbAutofocus]"),i=Ej(e)[0];(n||i||e).focus()}}},{key:"ngOnDestroy",value:function(){var t,e=this,n=this._document.body,i=this._elWithFocus;t=i&&i.focus&&n.contains(i)?i:n,this._zone.runOutsideAngular(function(){setTimeout(function(){return t.focus()}),e._elWithFocus=null}),this._closed$.next()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(l),r.Y36(r.SBq),r.Y36(r.R0b))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(dV,7),2&t)&&(r.iGM(n=r.CRH())&&(e._dialogEl=n.first))},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("aria-modal",!0)("aria-labelledby",e.ariaLabelledBy)("aria-describedby",e.ariaDescribedBy),r.Tol("modal fade show d-block"+(e.windowClass?" "+e.windowClass:"")))},inputs:{backdrop:"backdrop",keyboard:"keyboard",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:LU,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0,1),r.TgZ(2,"div",2),r.Hsn(3),r.qZA(),r.qZA()),2&t&&r.Tol("modal-dialog"+(e.size?" modal-"+e.size:"")+(e.centered?" modal-dialog-centered":"")+(e.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}),qo([(0,r.i9L)("dialog",{static:!0})],t.prototype,"_dialogEl",void 0),qo([(0,r.IIB)()],t.prototype,"ariaLabelledBy",void 0),qo([(0,r.IIB)()],t.prototype,"ariaDescribedBy",void 0),qo([(0,r.IIB)()],t.prototype,"backdrop",void 0),qo([(0,r.IIB)()],t.prototype,"centered",void 0),qo([(0,r.IIB)()],t.prototype,"keyboard",void 0),qo([(0,r.IIB)()],t.prototype,"scrollable",void 0),qo([(0,r.IIB)()],t.prototype,"size",void 0),qo([(0,r.IIB)()],t.prototype,"windowClass",void 0),qo([(0,r.r_U)("dism
1iss")],t.prototype,"dismissEvent",void 0),t=qo([Bo(0,(0,r.tBr)(l))],t)}(),hz=function(){var t=function(){function t(e,n,i,o,a,s){var c=this;_classCallCheck(this,t),this._applicationRef=e,this._injector=n,this._document=i,this._scrollBar=o,this._rendererFactory=a,this._ngZone=s,this._activeWindowCmptHasChanged=new we.xQ,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new r.vpe,this._activeWindowCmptHasChanged.subscribe(function(){if(c._windowCmpts.length){var t=c._windowCmpts[c._windowCmpts.length-1];Dj(c._ngZone,t.location.nativeElement,c._activeWindowCmptHasChanged),c._revertAriaHidden(),c._setAriaHidden(t.location.nativeElement)}})}return _createClass(t,[{key:"open",value:function(t,e,n,i){var o=this,r=i.container instanceof HTMLElement?i.container:zV(i.container)?this._document.querySelector(i.container):this._document.body,a=this._rendererFactory.createRenderer(null,null),s=this._scrollBar.compensate(),c=function(){o._modalRefs.length||(a.removeClass(o._document.body,"modal-open"),o._revertAriaHidden())};if(!r)throw new Error('The specified modal container "'.concat(i.container||"body",'" was not found in the DOM.'));var l=new cz,u=this._getContentRef(t,i.injector||e,n,l,i),d=!1!==i.backdrop?this._attachBackdrop(t,r):void 0,h=this._attachWindowComponent(t,r,u),p=new lz(h,u,d,i.beforeDismiss);return this._registerModalRef(p),this._registerWindowCmpt(h),p.result.then(s,s),p.result.then(c,c),l.close=function(t){p.close(t)},l.dismiss=function(t){p.dismiss(t)},this._applyWindowOptions(h.instance,i),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),d&&d.instance&&this._applyBackdropOptions(d.instance,i),p}},{key:"activeInstances",get:function(){return this._activeInstances}},{key:"dismissAll",value:function(t){this._modalRefs.forEach(function(e){return e.dismiss(t)})}},{key:"hasOpenModals",value:function(){return this._modalRefs.length>0}},{key:"_attachBackdrop",value:function(t,e){var n=t.resolveComponentFactory(sz).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}},{key:"_attachWindowComponent",value:function(t,e,n){var i=t.resolveComponentFactory(dz).create(this._injector,n.nodes);return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}},{key:"_applyWindowOptions",value:function(t,e){this._windowAttributes.forEach(function(n){zV(e[n])&&(t[n]=e[n])})}},{key:"_applyBackdropOptions",value:function(t,e){this._backdropAttributes.forEach(function(n){zV(e[n])&&(t[n]=e[n])})}},{key:"_getContentRef",value:function(t,e,n,i,o){return n?n instanceof r.Rgc?this._createFromTemplateRef(n,i):UV(n)?this._createFromString(n):this._createFromComponent(t,e,n,i,o):new iz([])}},{key:"_createFromTemplateRef",value:function(t,e){var n=t.createEmbeddedView({$implicit:e,close:function(t){e.close(t)},dismiss:function(t){e.dismiss(t)}});return this._applicationRef.attachView(n),new iz([n.rootNodes],n)}},{key:"_createFromString",value:function(t){var e=this._document.createTextNode("".concat(t));return new iz([[e]])}},{key:"_createFromComponent",value:function(t,e,n,i,o){var a=t.resolveComponentFactory(n),s=r.zs3.create({providers:[{provide:cz,useValue:i}],parent:e}),c=a.create(s),l=c.location.nativeElement;return o.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new iz([[l]],c.hostView,c)}},{key:"_setAriaHidden",value:function(t){var e=this,n=t.parentElement;n&&t!==this._document.body&&(Array.from(n.children).forEach(function(n){n!==t&&"SCRIPT"!==n.nodeName&&(e._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),this._setAriaHidden(n))}},{key:"_revertAriaHidden",value:function(){this._ariaHiddenValues.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}},{key:"_registerModalRef",value:function(t){var e=this,n=function(){var n=e._modalRef
1s.indexOf(t);n>-1&&(e._modalRefs.splice(n,1),e._activeInstances.emit(e._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(n,n)}},{key:"_registerWindowCmpt",value:function(t){var e=this;this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(function(){var n=e._windowCmpts.indexOf(t);n>-1&&(e._windowCmpts.splice(n,1),e._activeWindowCmptHasChanged.next())})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.z2F),r.LFG(r.zs3),r.LFG(l),r.LFG(az),r.LFG(r.FYo),r.LFG(r.R0b))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(r.z2F),(0,r.LFG)(r.gxx),(0,r.LFG)(l),(0,r.LFG)(az),(0,r.LFG)(r.FYo),(0,r.LFG)(r.R0b))},token:t,providedIn:"root"}),t=qo([Bo(2,(0,r.tBr)(l))],t)}(),pz=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._moduleCFR=e,this._injector=n,this._modalStack=i,this._config=o}return _createClass(t,[{key:"open",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},this._config,e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)}},{key:"activeInstances",get:function(){return this._modalStack.activeInstances}},{key:"dismissAll",value:function(t){this._modalStack.dismissAll(t)}},{key:"hasOpenModals",value:function(){return this._modalStack.hasOpenModals()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r._Vd),r.LFG(r.zs3),r.LFG(hz),r.LFG(nz))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(r._Vd),(0,r.LFG)(r.gxx),(0,r.LFG)(hz),(0,r.LFG)(nz))},token:t,providedIn:"root"}),t}(),fz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[pz]}),t}(),gz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),_z=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),mz=function(){function t(e,n){_classCallCheck(this,t),this.open=e,this.close=n,n||(this.close=e)}return _createClass(t,[{key:"isManual",value:function(){return"manual"===this.open||"manual"===this.close}}]),t}(),vz={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},yz=function(t){return t>0?(0,FU.g)(t):function(t){return t}},Cz=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),bz=0,Oz=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"isTitleTemplate",value:function(){return this.title instanceof r.Rgc}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(t,e){2&t&&(r.Ikx("id",e.id),r.Tol("popover"+(e.popoverClass?" "+e.popoverClass:"")))},inputs:{title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:LU,decls:4,vars:1,consts:[[1,"arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r._UZ(0,"div",0),r.YNc(1,fV,4,2,"h3",1),r.TgZ(2,"div",2),r.Hsn(3),r.qZA()),2&t&&(r.xp6(1),r.Q6J("ngIf",null!=e.title))},directives:[_t,Pt],styles:["ngb-popover-window.bs-popover-bottom>.arrow,ngb-popover-window.bs-popover-top>.arrow{left:50%;margin-left:-.5rem}ngb-popover-window.bs-popover-bottom-left>.arrow,ngb-popover-window.bs-popover-top-left>.arrow{left:2em}ngb-popover-window.bs-popover-bottom-right>.arrow,ngb-popover-window.bs-popover-top-right>.arrow{left:auto;right:2em}ngb-popover-window.bs-popover-left>.arrow,ngb-popover-window.bs-popover-right>.arrow{top:50%;margin-top:-.5rem}ngb-popover-window.bs-popover-left-top>.arrow,ngb-popover-window.bs-popover-right-top>.arrow{top:.7em}ngb-popover-window.bs-popover-left-bottom>.arrow,ngb-popover-window.bs-popover-right-bottom>.arrow{top:auto;bottom:.7em}"],encapsulation:2,changeDetection:0}),qo([(0,r.IIB)()],t.prototype,"title",void 0),qo([(0,r.IIB)()],t.prototype,"id",void 0),qo([(0,r.IIB)()],t.prototype,"popoverClass",void 0),qo([(0,r.IIB)()],t.prototype,"context",void 0),t}(),Pz=function(){var t=function(){function t(e,n,i,o,a,s,c,l,u,d){var h=this;_classCallCheck(this,t),this._elementRef=e,this._renderer=n,this._ngZone=c,this._document=l,this._changeDetector=u,this.shown=new r.vpe,this.hidden=new r.vpe,this._ngbPopoverWindowId="ngb-popover-"+bz++,this._windowRef=null,this.autoClose=s.autoClose,this.placement=s.placement,this.triggers=s.triggers,this.container=s.container,this.disablePopover=s.disablePopover,this.popoverClass=s.popoverClass,this.openDelay=s.openDelay,this.closeDelay=s.closeDelay,this._popupService=new oz(Oz,i,a,n,o,d),this._zoneSubscription=c.onStable.subscribe(function(){h._windowRef&&Lj(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,"body"===h.container,"bs-popover")})}return _createClass(t,[{key:"_isDisabled",value:function(){return!(!this.disablePopover&&(this.ngbPopover||this.popoverTitle))}},{key:"open",value:function(t){var e=this;!this._windowRef&&!this._isDisabled()&&(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=t,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),Tj(this._ngZone,this._document,this.autoClose,function(){return e.close()},this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())}},{key:"close",value:function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())}},{key:"toggle",value:function(){this._windowRef?this.close():this.open()}},{key:"isOpen",value:function(){return null!=this._windowRef}},{key:"ngOnInit",value:function(){this._unregisterListenersFn=function(t,e,n,i,o,r){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vz,n=(t||"").trim();if(0===n.length)return[];var i=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new mz(n[0],n[1])}),o=i.filter(function(t){return t.isManual()});if(o.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===o.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}(n);if(1===c.length&&c[0].isManual())return function(){};var l=function(t,e,n,i){return new ve.y(function(o){var r=[],a=function(){return o.next(!0)},s=function(){return o.next(!1)},c=function(){return o.next(!i())};
1return n.forEach(function(n){n.open===n.close?r.push(t.listen(e,n.open,c)):r.push(t.listen(e,n.open,a),t.listen(e,n.close,s))}),function(){r.forEach(function(t){return t()})}})}(t,e,c,i).pipe(function(t,e,n){return function(i){var o=null,r=i.pipe((0,Me.U)(function(t){return{open:t}}),(0,Te.h)(function(t){var e=n();return e===t.open||o&&o.open!==e?(o&&o.open!==t.open&&(o=null),!1):(o=t,!0)}),(0,MP.B)()),a=r.pipe((0,Te.h)(function(t){return t.open}),yz(t)),s=r.pipe((0,Te.h)(function(t){return!t.open}),yz(e));return(0,oO.T)(a,s).pipe((0,Te.h)(function(t){return t===o&&(o=null,t.open!==n())}),(0,Me.U)(function(t){return t.open}))}}(a,s,i)).subscribe(function(t){return t?o():r()});return function(){return l.unsubscribe()}}(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}},{key:"ngOnChanges",value:function(t){var e=t.ngbPopover,n=t.popoverTitle,i=t.disablePopover,o=t.popoverClass;o&&this.isOpen()&&(this._windowRef.instance.popoverClass=o.currentValue),(e||n||i)&&this._isDisabled()&&this.close()}},{key:"ngOnDestroy",value:function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r._Vd),r.Y36(r.s_b),r.Y36(Cz),r.Y36(r.R0b),r.Y36(l),r.Y36(r.sBO),r.Y36(r.z2F))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngbPopover",""]],inputs:{autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[r.TTD]}),qo([(0,r.IIB)()],t.prototype,"autoClose",void 0),qo([(0,r.IIB)()],t.prototype,"ngbPopover",void 0),qo([(0,r.IIB)()],t.prototype,"popoverTitle",void 0),qo([(0,r.IIB)()],t.prototype,"placement",void 0),qo([(0,r.IIB)()],t.prototype,"triggers",void 0),qo([(0,r.IIB)()],t.prototype,"container",void 0),qo([(0,r.IIB)()],t.prototype,"disablePopover",void 0),qo([(0,r.IIB)()],t.prototype,"popoverClass",void 0),qo([(0,r.IIB)()],t.prototype,"openDelay",void 0),qo([(0,r.IIB)()],t.prototype,"closeDelay",void 0),qo([(0,r.r_U)()],t.prototype,"shown",void 0),qo([(0,r.r_U)()],t.prototype,"hidden",void 0),t=qo([Bo(7,(0,r.tBr)(l))],t)}(),wz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),Mz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),xz=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.max=10,this.readonly=!1,this.resettable=!1});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),kz={provide:sN,useExisting:(0,r.Gpc)(function(){return Sz}),multi:!0},Sz=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._changeDetectorRef=n,this.contexts=[],this.disabled=!1,this.hover=new r.vpe,this.leave=new r.vpe,this.rateChange=new r.vpe(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=e.max,this.readonly=e.readonly}return _createClass(t,[{key:"ariaValueText",value:function(){return"".concat(this.nextRate," out of ").concat(this.max)}},{key:"enter",value:function(t){!this.readonly&&!this.disabled&&this._updateState(t),this.hover.emit(t)}},{key:"handleBlur",value:function(){this.onTouched()}},{key:"handleClick",value:function(t){!this.readonly&&!this.disabled&&this.update(this.resettable&&this.rate===t?0:t)}},{key:"handleKeyDown",value:function(t){switch(t.which){case Pj.ArrowDown:case Pj.ArrowLeft:this.update(this.rate-1);break;case Pj.ArrowUp:case Pj.ArrowRight:this.update(this.rate+1);break;case Pj.Home:this.update(0);break;case Pj.End:this.update(this.max);break;default:return}t.preventDefault()}},{key:"ngOnChanges",value:function(t){t.rate&&this.update(this.rate)}},{key:"ngOnInit",value:function(){this.contexts=Array.from({length:this.max},function(t,e){return{fill:0,index:e}}),this._updateState(this.rate)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"reset",value:function(){this.leave.emit(this.nextRate),this._updateState(this.rate)}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"update",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(Math.min(t,e),n)}(t,this.max,0);!this.readonly&&!this.disabled&&this.rate!==n&&(this.rate=n,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}},{key:"writeValue",value:function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()}},{key:"_getFillValue",value:function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?parseInt((100*e).toFixed(2),10):0}},{key:"_updateState",value:function(t){var e=this;
1this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(xz),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-rating"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,r.Rgc,5),2&t)&&(r.iGM(i=r.CRH())&&(e.starTemplateFromContent=i.first))},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("blur",function(){return e.handleBlur()})("keydown",function(t){return e.handleKeyDown(t)})("mouseleave",function(){return e.reset()}),2&t&&(r.Ikx("tabindex",e.disabled?-1:0),r.uIk("aria-valuemax",e.max)("aria-valuenow",e.nextRate)("aria-valuetext",e.ariaValueText())("aria-disabled",!!e.readonly||null))},inputs:{max:"max",readonly:"readonly",rate:"rate",resettable:"resettable",starTemplate:"starTemplate"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},features:[r._Bn([kz]),r.TTD],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"sr-only"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(r.YNc(0,gV,1,1,"ng-template",null,0,r.W1O),r.YNc(2,mV,4,5,"ng-template",1)),2&t&&(r.xp6(2),r.Q6J("ngForOf",e.contexts))},directives:[ft,Pt],encapsulation:2,changeDetection:0}),qo([(0,r.IIB)()],t.prototype,"max",void 0),qo([(0,r.IIB)()],t.prototype,"rate",void 0),qo([(0,r.IIB)()],t.prototype,"readonly",void 0),qo([(0,r.IIB)()],t.prototype,"resettable",void 0),qo([(0,r.IIB)()],t.prototype,"starTemplate",void 0),qo([(0,r.aQ5)(r.Rgc,{static:!1})],t.prototype,"starTemplateFromContent",void 0),qo([(0,r.r_U)()],t.prototype,"hover",void 0),qo([(0,r.r_U)()],t.prototype,"leave",void 0),qo([(0,r.r_U)()],t.prototype,"rateChange",void 0),t}(),Az=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),Tz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),Iz=function(){function t(e,n,i){_classCallCheck(this,t),this.hour=ZV(e),this.minute=ZV(n),this.second=ZV(i)}return _createClass(t,[{key:"changeHour",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.updateHour((isNaN(this.hour)?0:this.hour)+t)}},{key:"updateHour",value:function(t){this.hour=VV(t)?(t<0?24+t:t)%24:NaN}},{key:"changeMinute",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.updateMinute((isNaN(this.minute)?0:this.minute)+t)}},{key:"updateMinute",value:function(t){VV(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN}},{key:"changeSecond",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.updateSecond((isNaN(this.second)?0:this.second)+t)}},{key:"updateSecond",value:function(t){VV(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN}},{key:"isValid",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return VV(this.hour)&&VV(this.minute)&&(!t||VV(this.second))}},{key:"toString",value:function(){return"".concat(this.hour||0,":").concat(this.minute||0,":").concat(this.second||0)}}]),t}(),Ez=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}();function Dz(){return new Fz}var Rz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:Dz,token:t,providedIn:"root"}),t}(),Fz=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"fromModel",value:function(t){return t&&jV(t.hour)&&jV(t.minute)?{hour:t.hour,minute:t.minute,second:jV(t.second)?t.second:null}:null}},{key:"toModel",value:function(t){return t&&jV(t.hour)&&jV(t.minute)?{hour:t.hour,minute:t.minute,second:jV(t.second)?t.second:null}:null}}]),e}(Rz);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Lz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return function(t){return new Zz(t)}((0,r.LFG)(r.soG))},token:t,providedIn:"root"}),t}(),Zz=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._periods=E(t,S.Standalone,A.Narrow),n}
1return _inherits(e,t),_createClass(e,[{key:"getMorningPeriod",value:function(){return this._periods[0]}},{key:"getAfternoonPeriod",value:function(){return this._periods[1]}}]),e}(Lz);return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.soG))},t.\u0275prov=r.Yz7({token:t,factory:function(e){return t.\u0275fac(e)}}),t=qo([Bo(0,(0,r.tBr)(r.soG))],t)}(),Nz=/[^0-9]/g,Uz={provide:sN,useExisting:(0,r.Gpc)(function(){return Vz}),multi:!0},Vz=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._config=e,this._ngbTimeAdapter=n,this._cd=i,this.i18n=o,this.onChange=function(t){},this.onTouched=function(){},this.meridian=e.meridian,this.spinners=e.spinners,this.seconds=e.seconds,this.hourStep=e.hourStep,this.minuteStep=e.minuteStep,this.secondStep=e.secondStep,this.disabled=e.disabled,this.readonlyInputs=e.readonlyInputs,this.size=e.size}return _createClass(t,[{key:"hourStep",get:function(){return this._hourStep},set:function(t){this._hourStep=jV(t)?t:this._config.hourStep}},{key:"minuteStep",get:function(){return this._minuteStep},set:function(t){this._minuteStep=jV(t)?t:this._config.minuteStep}},{key:"secondStep",get:function(){return this._secondStep},set:function(t){this._secondStep=jV(t)?t:this._config.secondStep}},{key:"writeValue",value:function(t){var e=this._ngbTimeAdapter.fromModel(t);this.model=e?new Iz(e.hour,e.minute,e.second):new Iz,!this.seconds&&(!e||!VV(e.second))&&(this.model.second=0),this._cd.markForCheck()}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"changeHour",value:function(t){this.model.changeHour(t),this.propagateModelChange()}},{key:"changeMinute",value:function(t){this.model.changeMinute(t),this.propagateModelChange()}},{key:"changeSecond",value:function(t){this.model.changeSecond(t),this.propagateModelChange()}},{key:"updateHour",value:function(t){var e=this.model.hour>=12,n=ZV(t);this.model.updateHour(this.meridian&&(e&&n<12||!e&&12===n)?n+12:n),this.propagateModelChange()}},{key:"updateMinute",value:function(t){this.model.updateMinute(ZV(t)),this.propagateModelChange()}},{key:"updateSecond",value:function(t){this.model.updateSecond(ZV(t)),this.propagateModelChange()}},{key:"toggleMeridian",value:function(){this.meridian&&this.changeHour(12)}},{key:"formatInput",value:function(t){t.value=t.value.replace(Nz,"")}},{key:"formatHour",value:function(t){return VV(t)?qV(this.meridian?t%12==0?12:t%12:t%24):qV(NaN)}},{key:"formatMinSec",value:function(t){return qV(VV(t)?t:NaN)}},{key:"isSmallSize",get:function(){return"small"===this.size}},{key:"isLargeSize",get:function(){return"large"===this.size}},{key:"ngOnChanges",value:function(t){t.seconds&&!this.seconds&&this.model&&!VV(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}},{key:"propagateModelChange",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(Ez),r.Y36(Rz),r.Y36(r.sBO),r.Y36(Lz))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},features:[r._Bn([Uz]),r.TTD],decls:16,vars:25,consts:function(){return[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",$localize(_templateObject9||(_templateObject9=_taggedTemplateLiteral([":@@ngb.timepicker.HH\u241fce676ab1d6d98f85c836381cf100a4a91ef95a1f\u241f4043638465245303811:HH"]))),"aria-label",$localize(_templateObject10||(_templateObject10=_taggedTemplateLiteral([":@@ngb.timepicker.hours\u241f3bbce5fef7e1151da052a4e529453edb340e3912\u241f8070396816726827304:Hours"]))),1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",$localize(_templateOb
1ject11||(_templateObject11=_taggedTemplateLiteral([":@@ngb.timepicker.MM\u241f72c8edf6a50068a05bde70991e36b1e881f4ca54\u241f1647282246509919852:MM"]))),"aria-label",$localize(_templateObject12||(_templateObject12=_taggedTemplateLiteral([":@@ngb.timepicker.minutes\u241f41e62daa962947c0d23ded0981975d1bddf0bf38\u241f5531237363767747080:Minutes"]))),1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"sr-only"],$localize(_templateObject13||(_templateObject13=_taggedTemplateLiteral([":@@ngb.timepicker.increment-hours\u241fcb74bc1d625a6c1742f0d7d47306cf495780c218\u241f5939278348542933629:Increment hours"]))),[1,"chevron","ngb-tp-chevron","bottom"],$localize(_templateObject14||(_templateObject14=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-hours\u241f147c7a19429da7d999e247d22e33fee370b1691b\u241f3651829882940481818:Decrement hours"]))),$localize(_templateObject15||(_templateObject15=_taggedTemplateLiteral([":@@ngb.timepicker.increment-minutes\u241ff5a4a3bc05e053f6732475d0e74875ec01c3a348\u241f180147720391025024:Increment minutes"]))),$localize(_templateObject16||(_templateObject16=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-minutes\u241fc1a6899e529c096da5b660385d4e77fe1f7ad271\u241f7447789825403243588:Decrement minutes"]))),[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",$localize(_templateObject17||(_templateObject17=_taggedTemplateLiteral([":@@ngb.timepicker.SS\u241febe38d36a40a2383c5fefa9b4608ffbda08bd4a3\u241f3628127143071124194:SS"]))),"aria-label",$localize(_templateObject18||(_templateObject18=_taggedTemplateLiteral([":@@ngb.timepicker.seconds\u241f4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c\u241f8874012390997067175:Seconds"]))),1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","input","keydown.ArrowUp","keydown.ArrowDown"],$localize(_templateObject19||(_templateObject19=_taggedTemplateLiteral([":@@ngb.timepicker.increment-seconds\u241f912322ecee7d659d04dcf494a70e22e49d334b26\u241f5364772110539092174:Increment seconds"]))),$localize(_templateObject20||(_templateObject20=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-seconds\u241f5db47ac104294243a70eb9124fbea9d0004ddf69\u241f753633511487974857:Decrement seconds"]))),[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],$localize(_templateObject21||(_templateObject21=_taggedTemplateLiteral([":@@ngb.timepicker.PM\u241f8d6e691e10306c1b34c6b26805151aaea320ef7f\u241f3564199131264287502:",":INTERPOLATION:"])),"\ufffd0\ufffd"),$localize(_templateObject22||(_templateObject22=_taggedTemplateLiteral([":@@ngb.timepicker.AM\u241f69a1f176a93998876952adac57c3bc3863b6105e\u241f4592818992509942761:",":INTERPOLATION:"])),"\ufffd0\ufffd")]},template:function(t,e){1&t&&(r.TgZ(0,"fieldset",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.YNc(3,vV,4,7,"button",3),r.TgZ(4,"input",4),r.NdJ("change",function(t){return e.updateHour(t.target.value)})("input",function(t){return e.formatInput(t.target)})("keydown.ArrowUp",function(t){return e.changeHour(e.hourStep),t.preventDefault()})("keydown.ArrowDown",function(t){return e.changeHour(-e.hourStep),t.preventDefault()}),r.qZA(),r.YNc(5,yV,4,7,"button",3),r.qZA(),r.TgZ(6,"div",5),r._uU(7,":"),r.qZA(),r.TgZ(8,"div",6),r.YNc(9,CV,4,7,"button",3),r.TgZ(10,"input",7),r.NdJ("change",function(t){return e.updateMinute(t.target.value)})("input",function(t){return e.formatInput(t.target)})("keydown.ArrowUp",function(t){return e.changeMinute(e.minuteStep),t.preventDefault()})("keydown.ArrowDown",function(t){return e.changeMinute(-e.minuteStep),t.preventDefault()}),r.qZA(),r.YNc(11,bV,4,7,"button",3),r.qZA(),r.YNc(12,OV,2,0,"div",8),r.YNc(13,MV,4,9,"div",9),r.YNc(14,xV,1,0,"div",8),r.YNc(15,AV,5,9,"div",10),r.qZA(),r.qZA()),2&t&&(r.ekj("disabled",e.disabled),r.Q6J("disabled",e.disabled),r.xp6(3),r.Q6J("ngIf",e.spinners),r.x
1p6(1),r.ekj("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),r.Q6J("value",e.formatHour(null==e.model?null:e.model.hour))("readOnly",e.readonlyInputs)("disabled",e.disabled),r.xp6(1),r.Q6J("ngIf",e.spinners),r.xp6(4),r.Q6J("ngIf",e.spinners),r.xp6(1),r.ekj("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),r.Q6J("value",e.formatMinSec(null==e.model?null:e.model.minute))("readOnly",e.readonlyInputs)("disabled",e.disabled),r.xp6(1),r.Q6J("ngIf",e.spinners),r.xp6(1),r.Q6J("ngIf",e.seconds),r.xp6(1),r.Q6J("ngIf",e.seconds),r.xp6(1),r.Q6J("ngIf",e.meridian),r.xp6(1),r.Q6J("ngIf",e.meridian))},directives:[_t],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron::before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-meridian,.ngb-tp-minute,.ngb-tp-second{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}'],encapsulation:2}),qo([(0,r.IIB)()],t.prototype,"meridian",void 0),qo([(0,r.IIB)()],t.prototype,"spinners",void 0),qo([(0,r.IIB)()],t.prototype,"seconds",void 0),qo([(0,r.IIB)()],t.prototype,"hourStep",null),qo([(0,r.IIB)()],t.prototype,"minuteStep",null),qo([(0,r.IIB)()],t.prototype,"secondStep",null),qo([(0,r.IIB)()],t.prototype,"readonlyInputs",void 0),qo([(0,r.IIB)()],t.prototype,"size",void 0),t}(),jz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),zz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),qz=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),Bz=function(){var t=function(){function t(){_classCallCheck(this,t),this.highlightClass="ngb-highlight"}return _createClass(t,[{key:"ngOnChanges",value:function(t){var e=NV(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map(function(t){return function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(NV(t))}).filter(function(t){return t});this.parts=n.length?e.split(new RegExp("(".concat(n.join("|"),")"),"gmi")):[e]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[r.TTD],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(t,e){1&t&&r.YNc(0,EV,3,2,"ng-template",0),2&t&&r.Q6J("ngForOf",e.parts)},directives:[ft,_t],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}),qo([(0,r.IIB)()],t.prototype,"highlightClass",void 0),qo([(0,r.IIB)()],t.prototype,"result",void 0),qo([(0,r.IIB)()],t.prototype,"term",void 0),t}(),Yz=function(){var t=function(){function t(){_classCallCheck(this,t),this.activeIdx=0,this.focusFirst=!0,this.formatter=NV,this.selectEvent=new r.vpe,this.activeChangeEvent=ne
1w r.vpe}return _createClass(t,[{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(t){this.activeIdx=t,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(t){this.selectEvent.emit(t)}},{key:"ngOnInit",value:function(){this.resetActive()}},{key:"_activeChanged",value:function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(t,e){1&t&&r.NdJ("mousedown",function(t){return t.preventDefault()}),2&t&&r.Ikx("id",e.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(t,e){1&t&&(r.YNc(0,DV,1,2,"ng-template",null,0,r.W1O),r.YNc(2,LV,2,9,"ng-template",1)),2&t&&(r.xp6(2),r.Q6J("ngForOf",e.results))},directives:[ft,Bz,Pt],encapsulation:2}),qo([(0,r.IIB)()],t.prototype,"id",void 0),qo([(0,r.IIB)()],t.prototype,"focusFirst",void 0),qo([(0,r.IIB)()],t.prototype,"results",void 0),qo([(0,r.IIB)()],t.prototype,"term",void 0),qo([(0,r.IIB)()],t.prototype,"formatter",void 0),qo([(0,r.IIB)()],t.prototype,"resultTemplate",void 0),qo([(0,r.r_U)("select")],t.prototype,"selectEvent",void 0),qo([(0,r.r_U)("activeChange")],t.prototype,"activeChangeEvent",void 0),t}(),Gz=new r.OlP("live announcer delay",{providedIn:"root",factory:function(){return 100}});function Hz(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.body.querySelector("#ngb-live");return null==n&&e&&((n=t.createElement("div")).setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),t.body.appendChild(n)),n}var Jz=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._document=e,this._delay=n}return _createClass(t,[{key:"ngOnDestroy",value:function(){var t=Hz(this._document);t&&t.parentElement.removeChild(t)}},{key:"say",value:function(t){var e=Hz(this._document,!0),n=this._delay;if(null!=e){e.textContent="";var i=function(){return e.textContent=t};null===n?i():setTimeout(i,n)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(Gz))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(l),(0,r.LFG)(Gz))},token:t,providedIn:"root"}),t=qo([Bo(0,(0,r.tBr)(l)),Bo(1,(0,r.tBr)(Gz))],t)}(),Wz=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Qz={provide:sN,useExisting:(0,r.Gpc)(function(){return Xz}),multi:!0},Kz=0,Xz=function(){var t=function(){function t(e,n,i,o,a,s,c,l,u,d,h,p){var f=this;_classCallCheck(this,t),this._elementRef=e,this._renderer=i,this._live=l,this._document=u,this._ngZone=d,this._changeDetector=h,this._subscription=null,this._closed$=new we.xQ,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new r.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+Kz++,this._onTouched=function(){},this._onChange=function(t){},this.container=s.container,this.editable=s.editable,this.focusFirst=s.focusFirst,this.showHint=s.showHint,this.placement=s.placement,this._valueChanges=(0,Rb.R)(e.nativeElement,"input").pipe((0,Me.U)(function(t){return t.target.value})),this._resubscribeTypeahead=new _e.X(null),this._popupService=new oz(Yz,o,n,i,a,p),this._zoneSubscription=c.onStable.subscribe(function(){f.isPopupOpen()&&Lj(f._elementRef.nativeElement,f._windowRef.location.nativeElement,f.placement,"body"===f.container)})}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this,e=this._valueChanges.pipe((0,Le.b)(function(e){t._inputValueBackup=t.showHint?e:null,t._onChange(t.editable?e:void 0)})).pipe(this.ngbTypeahead),n=this._resubscribeTypeahead.pipe((0,xe.w
1)(function(){return e}));this._subscription=this._subscribeToUserInput(n)}},{key:"ngOnDestroy",value:function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"writeValue",value:function(t){this._writeInputValue(this._formatItemForInput(t)),this.showHint&&(this._inputValueBackup=t)}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{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(t){if(this.isPopupOpen())switch(t.which){case Pj.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case Pj.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case Pj.Enter:case Pj.Tab:var e=this._windowRef.instance.getActive();zV(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup()}}},{key:"_openPopup",value:function(){var t=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(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),Tj(this._ngZone,this._document,"outside",function(){return t.dismissPopup()},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(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))}},{key:"_selectResultClosePopup",value:function(t){this._selectResult(t),this._closePopup()}},{key:"_showHint",value:function(){var t;if(this.showHint&&(null===(t=this._windowRef)||void 0===t?void 0:t.instance.hasActive())&&null!=this._inputValueBackup){var e=this._inputValueBackup.toLowerCase(),n=this._formatItemForInput(this._windowRef.instance.getActive());e===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(t){return null!=t&&this.inputFormatter?this.inputFormatter(t):NV(t)}},{key:"_writeInputValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",NV(t))}},{key:"_subscribeToUserInput",value:function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._windowRef.instance.resetActive(),e._windowRef.changeDetectorRef.detectChanges(),e._showHint()):e._closePopup();var n=t?t.length:0;e._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}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r._Vd),r.Y36(Wz),r.Y36(r.R0b),r.Y36(Jz),r.Y36(l),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.z2F))},t.\u0275dir=r.lG2({type:t,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("blur",function(){return e.handleBlur()})("keydown",function(t){return e.handleKeyDown(t)}),2&t&&(r.Ikx("autocomplete",e.autocomplete),r.uIk("aria-autocomplete",e.showHint?"both":"list")("aria-activedescendant",e.activeDescendant)("aria-owns",e.isPopupOpen()?e.popupId:null)("aria-expanded",e.isPopupOpen()),r.ekj("open",e.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:[r._Bn([Qz])]}),qo([(0,r.IIB)()],t.prototype,"autocomplete",void 0),qo([(0,r.IIB)()],t.prototype,"container",void 0),qo([(0,r.IIB)()],t.prototype,"editable",void 0),qo([(0,r.IIB)()],t.prototype,"focusFirst",void 0),qo([(0,r.IIB)()],t.prototype,"inputFormatter",void 0),qo([(0,r.IIB)()],t.prototype,"ngbTypeahead",void 0),qo([(0,r.IIB)()],t.prototype,"resultFormatter",void 0),qo([(0,r.IIB)()],t.prototype,"resultTemplate",void 0),qo([(0,r.IIB)()],t.prototype,"showHint",void 0),qo([(0,r.IIB)()],t.prototype,"placement",void 0),qo([(0,r.r_U)()],t.prototype,"selectItem",void 0),t=qo([Bo(8,(0,r.tBr)(l))],t)}(),$z=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It]]}),t}(),tq=[YV,GV,$V,tj,ej,Hj,ez,fz,gz,_z,wz,Mz,Az,jz,zz,qz,$z,Tz],eq=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[tq,YV,GV,$V,tj,ej,Hj,ez,fz,gz,_z,wz,Mz,Az,jz,zz,qz,$z,Tz]}),t}(),nq=function(){var t=function(){function t(){_classCallCheck(this,t),this.toggleInfoPanel=new r.vpe,this.isClicked=!0,this.isHovered=!1}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"onButtonClick",value:function(){this.toggleInfoPanel.emit(),this.isClicked=!this.isClicked}},{key:"onMouseEnter",value:function(){this.isHovered=!0}},{key:"onMouseLeave",value:function(){this.isHovered=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["info-panel-button"]],outputs:{toggleInfoPanel:"toggleInfoPanel"},decls:3,vars:0,consts:[["mat-fab","",1,"info-panel-button",3,"click"],[1,"info-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onButtonClick()}),r.TgZ(1,"mat-icon",1),r._uU(2,"info"),r.qZA(),r.qZA())},directives:[OP,VP],styles:[".info-panel-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:4px;width:1.25cm;height:1.25cm;background-color:#fff;margin-right:.25cm;box-shadow:0 2px 4px #0003}.info-panel-button[_ngcontent-%COMP%]:focus{outline:none}.info-icon[_ngcontent-%COMP%]{width:30px;height:30px;font-size:30px;color:gray;display:inline-flex;align-items:center;justify-content:center}.info-icon[_ngcontent-%COMP%]:hover{color:#36454f}"]}),t}(),iq=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"onButtonClick",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["filters-panel-button"]],decls:3,vars:0,consts:[["mat-fab","",1,"filters-panel-button",3,"click"],[1,"filters-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onButtonClick()}),r.TgZ(1,"mat-icon",1),r._uU(2,"filter_alt"),r.qZA(),r.qZA())},directives:[OP,VP],styles:[".filters-panel-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:4px;width:1.25cm;height:1.25cm;background-color:#fff;margin-right:.25cm;box-shadow:0 2px 4px #0003}.filters-panel-button[_ngcontent-%COMP%]:focus{outline:none}.filters-icon[_ngcontent-%COMP%]{width:30px;height:30px;font-size:30px;color:gray;display:inline-flex;align-items:center;justify-content:center}.filters-icon[_ngcontent-%COMP%]:hover{color:#36454f}"]}),t}(),oq=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.toggleUploadPanel=new r.vpe,this.isDisabled=!1}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"onButtonClick",value:function(){this.toggleUploadPanel.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["portal-upload-panel-button"]],outputs:{toggleUploadPanel:"toggleUploadPanel"},decls:3,vars:1,consts:[["mat-fab","",1,"upload-panel-button",3,"disabled","click"],[1,"upload-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onButtonClick()}),r.TgZ(1,"mat-icon",1),r._uU(2,"upload"),r.qZA(),r.qZA()),2&t&&r.Q6J("disabled",e.isDisabled)},directives:[OP,VP],styles:[".upload-panel-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:4px;width:1.25cm;height:1.25cm;background-color:#fff;margin-right:.25cm;box-shadow:0 2px 4px #0003}.upload-panel-button[_ngcontent-%COMP%]:focus{outline:none}.upload-icon[_ngcontent-%COMP%]{width:30px;height:30px;font-size:30px;color:gray;display:inline-flex;align-items:center;justify-content:center}.upload-icon[_ngcontent-%COMP%]:hover{color:#36454f}"]}),t}(),rq=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.toggleSelectionsPanel=new r.vpe,this.isDisabled=!0}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(vL).subscribe(function(e){t.isDisabled=!(e.length>=1)})}},{key:"onButtonClick",value:function(){this.toggleSelectionsPanel.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["selections-panel-button"]],outputs:{toggleSelectionsPanel:"toggleSelectionsPanel"},decls:3,vars:1,consts:[["mat-fab","",1,"selections-panel-button",3,"disabled","click"],[1,"filter-list-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onButtonClick()}),r.TgZ(1,"mat-icon",1),r._uU(2," filter_list "),r.qZA(),r.qZA()),2&t&&r.Q6J("disabled",e.isDisabled)},directives:[OP,VP],styles:[".selections-panel-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:4px;width:1.25cm;height:1.25cm;background-color:#fff;margin-right:.25cm;box-shadow:0 2px 4px #0003}.selections-panel-button[_ngcontent-%COMP%]:focus{outline:none}.selections-panel-button[_ngcontent-%COMP%]:hover{color:#000}.filter-list-icon[_ngcontent-%COMP%]{width:35px;height:35px;font-size:35px;color:gray;display:inline-flex;align-items:center;justify-content:center}.filter-list-icon[_ngcontent-%COMP%]:hover{color:#36454f}"]}),t}(),aq=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.store=e,this.matIconRegistry=n,this.domSanitizer=i,this.toggleTables=new r.vpe,this.isDisabled=!0,this.matIconRegistry.addSvgIcon("table_rows_narrow",this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/google-material-icons/table_rows_narrow.svg"))}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(gL).subscribe(function(){t.enableButton()}),this.store.select(mL).subscribe(function(){t.disableButton()})}},{key:"disableButton",value:function(){this.isDisabled=!0}},{key:"enableButton",value:function(){this.isDisabled=!1}},{key:"onButtonClick",value:function(){this.toggleTables.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(IP),r.Y36(le))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tables-button"]],outputs:{toggleTables:"toggleTables"},decls:2,vars:1,consts:[["mat-fab","",1,"tables-button",3,"disabled","click"],["svgIcon","table_rows_narrow",1,"tables-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onButtonClick()}),r._UZ(1,"mat-icon",1),r.qZA()),2&t&&r.Q6J("disabled",e.isDisabled)},directives:[OP,VP],styles:[".tables-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:4px;width:1.25cm;height:1.25cm;background-color:#fff;margin-right:.25cm;box-shadow:0 2px 4px #0003}.tables-button[_ngcontent-%COMP%]:focus{outline:none}.tables-icon[_ngcontent-%COMP%]{width:30px;height:30px;font-size:30px;color:gray;display:inline-flex;align-items:center;justify-content:center}.tables-icon[_ngcontent-%COMP%]:hover{color:#36454f}"]}),t}(),sq=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.toggleDownloadPanel=new r.vpe,this.isDisabled=!0,this.initializeStoreSubscriptions()}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(gL).subscribe(function(){t.enableButton()}),this.store.select(mL).subscribe(function(){t.disableButton()})}},{key:"disableButton",value:function(){this.isDisabled=!0}},{key:"enableButton",value:function(){this.isDisabled=!1}},{key:"onButtonClick",value:function(){this.toggleDownloadPanel.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["download-panel-button"]],outputs:{toggleDownloadPanel:"toggleDownloadPanel"},decls:3,vars:1,consts:[["mat-fab","",1,"download-panel-button",3,"disabled","click"],[1,"download-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onButtonClick()}),r.TgZ(1,"mat-icon",1),r._uU(2,"download"),r.qZA(),r.qZA()),2&t&&r.Q6J("disabled",e.isDisabled)},directives:[OP,VP],styles:[".download-panel-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:4px;width:1.25cm;height:1.25cm;background-color:#fff;margin-right:.25cm;box-shadow:0 2px 4px #0003}.download-panel-button[_ngcontent-%COMP%]:focus{outline:none}.download-icon[_ngcontent-%COMP%]{width:30px;height:30px;font-size:30px;color:gray;display:inline-flex;align-items:center;justify-content:center}.download-icon[_ngcontent-%COMP%]:hover{color:#36454f}"]}),t}(),cq=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"onButtonClick",value:function(){this.store.dispatch(VF({resetAll:!0}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["reset-button"]],decls:3,vars:0,consts:[["mat-fab","",1,"reset-button",3,"click"],[1,"refresh-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onButtonClick()}),r.TgZ(1,"mat-icon",1),r._uU(2,"refresh"),r.qZA(),r.qZA())},directives:[OP,VP],styles:[".reset-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:4px;width:1.25cm;height:1.25cm;background-color:#fff;margin-right:.25cm;box-shadow:0 2px 4px #0003}.reset-button[_ngcontent-%COMP%]:focus{outline:none}.refresh-icon[_ngcontent-%COMP%]{width:30px;height:30px;font-size:30px;color:gray;display:inline-flex;align-items:center;justify-content:center}.refresh-icon[_ngcontent-%COMP%]:hover{color:#36454f}"]}),t}(),lq=function(){return["/help"]},uq=function(){var t=function(){function t(e){_classCallCheck(this,t),this.router=e,this.isVisible=!1}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(vo))},t.\u0275cmp=r.Xpm({type:t,selectors:[["info-panel"]],inputs:{isVisible:"isVisible"},decls:41,vars:6,consts:[["cdkDrag","",1,"info-panel-cdkdrag",3,"hidden"],[1,"info-panel-card"],["href","","target","_blank","rel","noopener norefe
1rrer",1,"ldc-link",3,"routerLink"],["src","assets/img/cmf/open-in-new-window-icon.svg","width","18",1,"in-text-icon"],["id","ldc-user-guide-top-link-text"],[3,"inset"],["src","assets/img/cmf/polygon-icon.svg","width","20",1,"in-text-icon"],[1,"filter-icon"],[1,"upload-icon"],[1,"refresh-icon"],[1,"info-icon"],["href","https://github.com/Landscape-Data-Commons/terradactyl","target","_blank","rel","noopener noreferrer",1,"ldc-link"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"div"),r.TgZ(3,"a",2),r._UZ(4,"img",3),r.TgZ(5,"span",4),r._uU(6,"Map user guide"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(7,"h2"),r._uU(8,"Welcome to the LDC Portal"),r.qZA(),r._UZ(9,"mat-divider",5),r.TgZ(10,"p"),r._uU(11,"The Landscape Data Commons (LDC) portal offers data visualization and inspection tools for ecological plot analysis. For an overview of portal features, please see the "),r.TgZ(12,"a",2),r._uU(13,"map user guide"),r.qZA(),r._uU(14,"."),r.qZA(),r.TgZ(15,"p"),r._uU(16,"To get started, (a) click the polygon button "),r._UZ(17,"img",6),r._uU(18," on the right side of the map, or (b) click the filter button "),r.TgZ(19,"mat-icon",7),r._uU(20,"filter_alt"),r.qZA(),r._uU(21," on the left, or (c) click the upload button "),r.TgZ(22,"mat-icon",8),r._uU(23,"upload"),r.qZA(),r._uU(24," to upload a zipped shapefile. Use the refresh "),r.TgZ(25,"mat-icon",9),r._uU(26,"refresh"),r.qZA(),r._uU(27," buttons to reset/remove your current selection and start over. The intersection of map-polygon selections, filter selections, and/or a shapefile selections produce your final selection. "),r.qZA(),r.TgZ(28,"p"),r._uU(29,"Note that you must "),r.TgZ(30,"b"),r._uU(31,"log in"),r.qZA(),r._uU(32," before selecting any plots, reviewing all available tables, and/or downloading data. To collapse this panel, click the information "),r.TgZ(33,"mat-icon",10),r._uU(34,"info"),r.qZA(),r._uU(35," button. "),r.qZA(),r.TgZ(36,"p"),r._uU(37,"For comprehensive analysis of raw LDC data, please use the "),r.TgZ(38,"a",11),r._uU(39,"terradactyl"),r.qZA(),r._uU(40," R package available on GitHub."),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("routerLink",r.DdM(4,lq)),r.xp6(6),r.Q6J("inset",!0),r.xp6(3),r.Q6J("routerLink",r.DdM(5,lq)))},directives:[JO,$O,bo,_P,VP],styles:[".info-panel-cdkdrag[_ngcontent-%COMP%]{border-radius:4px;width:9.5cm;margin-left:1.5cm}.info-panel-cdkdrag[_ngcontent-%COMP%]   .info-panel-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003;height:435px;overflow:auto}.info-panel-cdkdrag[_ngcontent-%COMP%]   .info-panel-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{margin-bottom:20px}.info-panel-cdkdrag[_ngcontent-%COMP%]   .info-panel-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#323232;margin:20px 0 10px;font-size:21px}.info-panel-cdkdrag[_ngcontent-%COMP%]   .info-panel-card[_ngcontent-%COMP%]   .filter-icon[_ngcontent-%COMP%], .info-panel-cdkdrag[_ngcontent-%COMP%]   .info-panel-card[_ngcontent-%COMP%]   .upload-icon[_ngcontent-%COMP%], .info-panel-cdkdrag[_ngcontent-%COMP%]   .info-panel-card[_ngcontent-%COMP%]   .refresh-icon[_ngcontent-%COMP%], .info-panel-cdkdrag[_ngcontent-%COMP%]   .info-panel-card[_ngcontent-%COMP%]   .info-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}"]}),t}(),dq=["state","data-type","date-visited","ecological-site-id","ecological-site-id-mlra-prefix","ecological-site-id-state","ecoregion-level-1","ecoregion-level-2","ecoregion-level-3","ecoregion-level-4","land-cover-modis-igbp-name","land-cover-modis-igbp-value","mlra-name","mlra-symbol","project","percent-bare-ground","percent-cyanobacteria-cover","percent-foliar-cover","percent-lichen-cover","percent-litter-cover","percent-moss-cover","percent-rock-fragment-cover","mean-herbaceous-height","mean-woody-height","percent-canopy-gaps-25-50","percent-canopy-gaps-51-100","percent-canopy-gaps-101-200","percent-canopy-gaps-200-plus","mean-soil-stability","mean-soil-stability-protected","mean-soil-stability-unprotected","total-horizontal-flux","total-vertical-flux","pm2p5-vertical-flux","pm10-vertical-flux","precipitation-long-term-mean","runoff-long-term-mean","sediment-long-term-mean","soil-loss-long-term-mean","geospecies-species-code","geospecies-scientific-name","geospecies-species-cover","geospecies-mean-species-height"],hq=["state","data-type","date-visited","ecological-site-id","ecological-site-id-mlra-prefix","ecological-site-id-state","ecoregion-level-1","ecoregion-level-2","ecoregion-level-3","ecoregion-level-4","land-cover-modis-igbp-name","land-cover-modis-igbp-value","mlra-name","mlra-symbol","project"],pq=["percent-bare-ground","percent-cyanobacteria-cover","percent-foliar-cover","percent-lichen-cover","percent-litter-cover","percent-moss-cover","percent-rock-fragment-cover","mean-herbaceous-height","mean-woody-height","percent-canopy-gaps-25-50","percent-canopy-gaps-51-100","percent-canopy-gaps-101-200","percent-canopy-gaps-200-plus","mean-soil-stability","mean-soil-stability-protected","mean-soil-stability-unprotected","total-horizontal-flux","total-vertical-flux","pm2p5-vertical-flux","pm10-vertical-flux","precipitation-long-term-mean","runoff-long-term-mean","sediment-long-term-mean","soil-loss-long-term-mean","geospecies-species-code","geospecies-scientific-name","geospecies-species-cover","geospecies-mean-species-height"],fq=["land-cover-modis-igbp-name","land-cover-modis-igbp-value"],gq=["ecoregion-level-1","ecoregion-level-2","ecoregion-level-3","ecoregion-level-4"],_q=["mlra-name","mlra-symbol"],mq=["ecological-site-id","ecological-site-id-mlra-prefix","ecological-site-id-state"],vq=["state"],yq=["project"],Cq=["date-visited"],bq=["data-type"],Oq=["total-horizontal-flux","total-vertical-flux","pm2p5-vertical-flux","pm10-vertical-flux"],Pq=["percent-canopy-gaps-25-50","percent-canopy-gaps-51-100","percent-canopy-gaps-101-200","percent-canopy-gaps-200-plus"],wq=["percent-bare-ground","percent-cyanobacteria-cover","percent-foliar-cover","percent-lichen-cover","percent-litter-cover","percent-moss-cover","percent-rock-fragment-cover"],Mq=["precipitation-long-term-mean","runoff-long-term-mean","sediment-long-term-mean","soil-loss-long-term-mean"],xq=["geospecies-species-code","geospecies-scientific-name","geospecies-species-cover","geospecies-mean-species-height"];function kq(t){var e={};return t.speciesCode.length>0&&(e.speciesCode=t.speciesCode),t.scientificName.length>
10&&(e.scientificName=t.scientificName),null!==t.speciesCoverMinMax&&(e.speciesCoverMinMax=t.speciesCoverMinMax),null!==t.meanSpeciesHeightMinMax&&(e.meanSpeciesHeightMinMax=t.meanSpeciesHeightMinMax),e}var Sq=["mean-soil-stability","mean-soil-stability-protected","mean-soil-stability-unprotected"],Aq=["mean-herbaceous-height","mean-woody-height"],Tq=0,Iq=new r.OlP("CdkAccordion"),Eq=function(){var t=function(){function t(){_classCallCheck(this,t),this._stateChanges=new we.xQ,this._openCloseAllActions=new we.xQ,this.id="cdk-accordion-"+Tq++,this._multi=!1}return _createClass(t,[{key:"multi",get:function(){return this._multi},set:function(t){this._multi=gl(t)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(t){this._stateChanges.next(t)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[r._Bn([{provide:Iq,useExisting:t}]),r.TTD]}),t}(),Dq=0,Rq=function(){var t=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this.accordion=e,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=sl.w.EMPTY,this.closed=new r.vpe,this.opened=new r.vpe,this.destroyed=new r.vpe,this.expandedChange=new r.vpe,this.id="cdk-accordion-child-"+Dq++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(t,e){o.accordion&&!o.accordion.multi&&o.accordion.id===e&&o.id!==t&&(o.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return _createClass(t,[{key:"expanded",get:function(){return this._expanded},set:function(t){t=gl(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=gl(t)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var t=this;return this.accordion._openCloseAllActions.subscribe(function(e){t.disabled||(t.expanded=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(Iq,12),r.Y36(r.sBO),r.Y36(zb))},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[r._Bn([{provide:Iq,useValue:void 0}])]}),t}(),Fq=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),Lq=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),t}(),Zq=function(t){function e(t,n,i,o){var r;return _classCallCheck(this,e),(r=_callSuper(this,e)).component=t,r.viewContainerRef=n,r.injector=i,r.componentFactoryResolver=o,r}return _inherits(e,t),_createClass(e)}(Lq),Nq=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e)).templateRef=t,o.viewContainerRef
1=n,o.context=i,o}return _inherits(e,t),_createClass(e,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=n,_get(_getPrototypeOf(e.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(e.prototype),"detach",this).call(this)}}]),e}(Lq),Uq=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e)).element=t instanceof r.SBq?t.nativeElement:t,n}return _inherits(e,t),_createClass(e)}(Lq),Vq=function(){function t(){_classCallCheck(this,t),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof Zq?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Nq?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Uq?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),jq=function(t){function e(t,n,i,o,r){var a,s;return _classCallCheck(this,e),(s=_callSuper(this,e)).outletElement=t,s._componentFactoryResolver=n,s._appRef=i,s._defaultInjector=o,s.attachDomPortal=function(t){var n=t.element,i=s._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),s.outletElement.appendChild(n),s._attachedPortal=t,_get((a=_assertThisInitialized(s),_getPrototypeOf(e.prototype)),"setDisposeFn",a).call(a,function(){i.parentNode&&i.parentNode.replaceChild(n,i)})},s._document=r,s}return _inherits(e,t),_createClass(e,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),i.detectChanges(),this.setDisposeFn(function(){var t=n.indexOf(i);-1!==t&&n.remove(t)}),this._attachedPortal=t,i}},{key:"dispose",value:function(){_get(_getPrototypeOf(e.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),e}(Vq),zq=function(){var t=function(t){function e(t,n,i){var o,a;return _classCallCheck(this,e),(a=_callSuper(this,e))._componentFactoryResolver=t,a._viewContainerRef=n,a._isInitialized=!1,a.attached=new r.vpe,a.attachDomPortal=function(t){var n=t.element,i=a._document.createComment("dom-portal");t.setAttachedHost(_assertThisInitialized(a)),n.parentNode.insertBefore(i,n),a._getRootNode().appendChild(n),a._attachedPortal=t,_get((o=_assertThisInitialized(a),_getPrototypeOf(e.prototype)),"setDisposeFn",o).call(o,function(){i.parentNode&&i.parentNode.replaceChild(n,i)})},a._document=i,a}return _inherits(e,t),_createClass(e,[{key:"portal",get:function(){return this._attachedPortal},set:function(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&_get(_getPrototypeOf(e.prototype),"detach",this).call(this),t&&_get(_getPrototypeOf(e.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(e.prototype),"dis
1pose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),o=n.createComponent(i,n.length,t.injector||n.injector);return n!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),_get(_getPrototypeOf(e.prototype),"setDisposeFn",this).call(this,function(){return o.destroy()}),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(t){var n=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return _get(_getPrototypeOf(e.prototype),"setDisposeFn",this).call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}]),e}(Vq);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r._Vd),r.Y36(r.s_b),r.Y36(l))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.qOj]}),t}(),qq=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),Bq=["body"];function Yq(t,e){}var Gq=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Hq=["mat-expansion-panel-header","*","mat-action-row"];function Jq(t,e){if(1&t&&r._UZ(0,"span",2),2&t){var n=r.oxw();r.Q6J("@indicatorRotate",n._getExpandedState())}}var Wq=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Qq=["mat-panel-title","mat-panel-description","*"],Kq=new r.OlP("MAT_ACCORDION"),Xq="225ms cubic-bezier(0.4,0.0,0.2,1)",$q={indicatorRotate:Eu("indicatorRotate",[Lu("collapsed, void",Fu({transform:"rotate(0deg)"})),Lu("expanded",Fu({transform:"rotate(180deg)"})),Nu("expanded <=> collapsed, void => collapsed",Du(Xq))]),bodyExpansion:Eu("bodyExpansion",[Lu("collapsed, void",Fu({height:"0px",visibility:"hidden"})),Lu("expanded",Fu({height:"*",visibility:"visible"})),Nu("expanded <=> collapsed, void => collapsed",Du(Xq))])},tB=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this._template=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t}(),eB=0,nB=new r.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),iB=function(){var t=function(t){function e(t,n,i,o,a,s,c){var l;return _classCallCheck(this,e),(l=_callSuper(this,e,[t,n,i]))._viewContainerRef=o,l._animationMode=s,l._hideToggle=!1,l.afterExpand=new r.vpe,l.afterCollapse=new r.vpe,l._inputChanges=new we.xQ,l._headerId="mat-expansion-panel-header-"+eB++,l._bodyAnimationDone=new we.xQ,l.accordion=t,l._document=a,l._bodyAnimationDone.pipe((0,pl.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){"void"!==t.fromState&&("expanded"===t.toState?l.afterExpand.emit():"collapsed"===t.toState&&l.afterCollapse.emit())}),c&&(l.hideToggle=c.hideToggle),l}return _inherits(e,t),_createClass(e,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=gl(t)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(t){this._togglePosition=t}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var t=this;this._lazyContent&&this.opened.pipe((0,Se.O)(null),(0,Te.h)(function(){return t.expanded&&!t._portal}),(0,ke.q)(1)).subscribe(function(){t._portal=new Nq(t._lazyContent._template,t._viewContainerRef)})}},{key:"ngOnChanges",value:function(t){this._inputChanges.next(t)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(e.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}]),e}(Rq);return t.\u0275fac=function(e){return new(e||t)(r.Y36(Kq,12),r.Y36(r.sBO),r.Y36(zb),r.Y36(r.s_b),r.Y36(l),r.Y36(_p,8),r.Y36(nB,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,tB,5),2&t)&&(r.iGM(i=r.CRH())&&(e._lazyContent=i.first))},viewQuery:function(t,e){var n;(1&t&&r.Gf(Bq,5),2&t)&&(r.iGM(n=r.CRH())&&(e._body=n.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&r.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[r._Bn([{provide:Kq,useValue:void 0}]),r.qOj,r.TTD],ngContentSelectors:Hq,decls:7,vars:4,consts:[["role","regi
1on",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(r.F$t(Gq),r.Hsn(0),r.TgZ(1,"div",0,1),r.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),r.TgZ(3,"div",2),r.Hsn(4,1),r.YNc(5,Yq,0,0,"ng-template",3),r.qZA(),r.Hsn(6,2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),r.uIk("aria-labelledby",e._headerId),r.xp6(4),r.Q6J("cdkPortalOutlet",e._portal))},directives:[zq],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[$q.bodyExpansion]},changeDetection:0}),t}(),oB=Ep(_createClass(function t(){_classCallCheck(this,t)})),rB=function(){var t=function(t){function e(t,n,i,o,r,a,s){var c;_classCallCheck(this,e),(c=_callSuper(this,e)).panel=t,c._element=n,c._focusMonitor=i,c._changeDetectorRef=o,c._animationMode=a,c._parentChangeSubscription=sl.w.EMPTY;var l=t.accordion?t.accordion._stateChanges.pipe((0,Te.h)(function(t){return!(!t.hideToggle&&!t.togglePosition)})):Oe.E;return c.tabIndex=parseInt(s||"")||0,c._parentChangeSubscription=(0,oO.T)(t.opened,t.closed,l,t._inputChanges.pipe((0,Te.h)(function(t){return!!(t.hideToggle||t.disabled||t.togglePosition)}))).subscribe(function(){return c._changeDetectorRef.markForCheck()}),t.closed.pipe((0,Te.h)(function(){return t._containsFocus()})).subscribe(function(){return i.focusVia(n,"program")}),r&&(c.expandedHeight=r.expandedHeight,c.collapsedHeight=r.collapsedHeight),c}return _inherits(e,t),_createClass(e,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(t){switch(t.keyCode){case 32:case 13:ll(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._element).subscribe(function(e){e&&t.panel.accordion&&t.panel.accordion._handleHeaderFocus(t)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),e}(oB);
1return t.\u0275fac=function(e){return new(e||t)(r.Y36(iB,1),r.Y36(r.SBq),r.Y36(yu),r.Y36(r.sBO),r.Y36(nB,8),r.Y36(_p,8),r.$8M("tabindex"))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(r.uIk("id",e.panel._headerId)("tabindex",e.tabIndex)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),r.Udp("height",e._getHeaderHeight()),r.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[r.qOj],ngContentSelectors:Qq,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(r.F$t(Wq),r.TgZ(0,"span",0),r.Hsn(1),r.Hsn(2,1),r.Hsn(3,2),r.qZA(),r.YNc(4,Jq,1,1,"span",1)),2&t&&(r.xp6(4),r.Q6J("ngIf",e._showToggle()))},directives:[_t],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[$q.indicatorRotate]},changeDetection:0}),t}(),aB=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t}(),sB=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._ownHeaders=new r.n_E,t._hideToggle=!1,t.displayMode="default",t.togglePosition="after",t}return _inherits(e,t),_createClass(e,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(t){this._hideToggle=gl(t)}},{key:"ngAfterContentInit",value:function(){var t=this;this._headers.changes.pipe((0,Se.O)(this._headers)).subscribe(function(e){t._ownHeaders.reset(e.filter(function(e){return e.panel.accordion===t})),t._ownHeaders.notifyOnChanges()}),this._keyManager=new tu(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(t){this._keyManager.onKeydown(t)}},{key:"_handleHeaderFocus",value:function(t){this._keyManager.updateActiveItem(t)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(e.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),e}(Eq);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,rB,5),2&t)&&(r.iGM(i=r.CRH())&&(e._headers=i))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[r._Bn([{provide:Kq,useExisting:t}]),r.qOj]}),t}(),cB=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It,Sp,Fq,qq]]}),t}(),lB=["underline"],uB=["connectionContainer"],dB=["inputContainer"],hB=["label"];function pB(t,e){1&t&&(r.ynx(0),r.TgZ(1,"div",14),r._UZ(2,"div",15),r._UZ(3,"div",16),r._UZ(4,"div",17),r.qZA(),r.TgZ(5,"div",18),r._UZ(6,"div",15),r._UZ(7,"div",16),r._UZ(8,"div",17),r.qZA(),r.BQk())}function fB(t,e){1&t&&(r.TgZ(0,"div",19),r.Hsn(1,1),r.qZA())}function gB(t,e){if(1&t&&(r.ynx(0),r.Hsn(1,2),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.BQk()),2&t){var n=r.oxw(2);
1r.xp6(3),r.Oqu(n._control.placeholder)}}function _B(t,e){1&t&&r.Hsn(0,3,["*ngSwitchCase","true"])}function mB(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1," *"),r.qZA())}function vB(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"label",20,21),r.NdJ("cdkObserveContent",function(){return r.CHM(n),r.oxw().updateOutlineGap()}),r.YNc(2,gB,4,1,"ng-container",12),r.YNc(3,_B,1,0,"ng-content",12),r.YNc(4,mB,2,0,"span",22),r.qZA()}if(2&t){var i=r.oxw();r.ekj("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),r.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),r.uIk("for",i._control.id)("aria-owns",i._control.id),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function yB(t,e){1&t&&(r.TgZ(0,"div",24),r.Hsn(1,4),r.qZA())}function CB(t,e){if(1&t&&(r.TgZ(0,"div",25,26),r._UZ(2,"span",27),r.qZA()),2&t){var n=r.oxw();r.xp6(2),r.ekj("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function bB(t,e){if(1&t&&(r.TgZ(0,"div"),r.Hsn(1,5),r.qZA()),2&t){var n=r.oxw();r.Q6J("@transitionMessages",n._subscriptAnimationState)}}function OB(t,e){if(1&t&&(r.TgZ(0,"div",31),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.Q6J("id",n._hintLabelId),r.xp6(1),r.Oqu(n.hintLabel)}}function PB(t,e){if(1&t&&(r.TgZ(0,"div",28),r.YNc(1,OB,2,2,"div",29),r.Hsn(2,6),r._UZ(3,"div",30),r.Hsn(4,7),r.qZA()),2&t){var n=r.oxw();r.Q6J("@transitionMessages",n._subscriptAnimationState),r.xp6(1),r.Q6J("ngIf",n.hintLabel)}}var wB=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],MB=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],xB=new r.OlP("MatError"),kB={transitionMessages:Eu("transitionMessages",[Lu("enter",Fu({opacity:1,transform:"translateY(0%)"})),Nu("void => enter",[Fu({opacity:0,transform:"translateY(-5px)"}),Du("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},SB=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t}(),AB=0,TB=new r.OlP("MatHint"),IB=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.align="start",this.id="mat-hint-"+AB++});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(r.uIk("id",e.id)("align",null),r.ekj("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[r._Bn([{provide:TB,useExisting:t}])]}),t}(),EB=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-label"]]}),t}(),DB=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-placeholder"]]}),t}(),RB=new r.OlP("MatPrefix"),FB=new r.OlP("MatSuffix"),LB=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","matSuffix",""]],features:[r._Bn([{provide:FB,useExisting:t}])]}),t}(),ZB=0,NB=Tp(function(){return _createClass(function t(e){_classCallCheck(this,t),this._elementRef=e})}(),"primary"),UB=new r.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),VB=new r.OlP("MatFormField"),jB=function(){var t=function(t){function e(t,n,i,o,r,a,s,c){var l;return _classCallCheck(this,e),(l=_callSuper(this,e,[t]))._changeDetectorRef=n,l._dir=o,l._defaults=r,l._platform=a,l._ngZone=s,l._outlineGapCalculationNeededImmediately=!1,l._outlineGapCalculationNeededOnStable=!1,l._destroyed=new we.xQ,l._showAlwaysAnimate=!1,l._subscriptAnimationState="",l._hintLabel="",l._hintLabelId="mat-hint-"+ZB++,l._labelId="mat-form-field-label-"+ZB++,l.floatLabel=l._getDefaultFloatLabelState(),l._animationsEnabled="NoopAnimations"!==c,l.a
1ppearance=r&&r.appearance?r.appearance:"legacy",l._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker,l}return _inherits(e,t),_createClass(e,[{key:"appearance",get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=gl(t)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(t){this._explicitFormFieldControl=t}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(e.controlType)),e.stateChanges.pipe((0,Se.O)(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe((0,fl.R)(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe((0,fl.R)(t._destroyed)).subscribe(function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()})}),(0,oO.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,Se.O)(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,Se.O)(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,fl.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?t._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t.updateOutlineGap()})}):t.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var t=this;
1this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,Rb.R)(this._label.nativeElement,"transitionend").pipe((0,ke.q)(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push.apply(t,_toConsumableArray(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push.apply(t,_toConsumableArray(this._errorChildren.map(function(t){return t.id})));this._control.setDescribedByIds(t)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var e=0,n=0,i=this._connectionContainerRef.nativeElement,o=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),c=t.children,l=this._getStartEnd(c[0].getBoundingClientRect()),u=0,d=0;d<c.length;d++)u+=c[d].offsetWidth;e=Math.abs(l-s)-5,n=u>0?.75*u+10:0}for(var h=0;h<o.length;h++)o[h].style.width="".concat(e,"px");for(var p=0;p<r.length;p++)r[p].style.width="".concat(n,"px");this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}},{key:"_isAttachedToDOM",value:function(){var t=this._elementRef.nativeElement;if(t.getRootNode){var e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}]),e}(NB);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(ku,8),r.Y36(UB,8),r.Y36(kl),r.Y36(r.R0b),r.Y36(_p,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,SB,5),r.Suo(n,SB,7),r.Suo(n,EB,5),r.Suo(n,EB,7),r.Suo(n,DB,5),r.Suo(n,xB,5),r.Suo(n,TB,5),r.Suo(n,RB,5),r.Suo(n,FB,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._controlNonStatic=i.first),r.iGM(i=r.CRH())&&(e._controlStatic=i.first),r.iGM(i=r.CRH())&&(e._labelChildNonStatic=i.first),r.iGM(i=r.CRH())&&(e._labelChildStatic=i.first),r.iGM(i=r.CRH())&&(e._placeholderChild=i.first),r.iGM(i=r.CRH())&&(e._errorChildren=i),r.iGM(i=r.CRH())&&(e._hintChildren=i),r.iGM(i=r.CRH())&&(e._prefixChildren=i),r.iGM(i=r.CRH())&&(e._suffixChildren=i))},viewQuery:function(t,e){var n;(1&t&&(r.Gf(lB,5),r.Gf(uB,7),r.Gf(dB,5),r.Gf(hB,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.underlineRef=n.first),r.iGM(n=r.CRH())&&(e._connectionContainerRef=n.first),r.iGM(n=r.CRH())&&(e._inputContainerRef=n.first),r.iGM(n=r.CRH())&&(e._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(t,e){2&t&&r.ekj("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[r._Bn([{provide:VB,useExisting:t}]),r.qOj],ngContentSelectors:MB,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(r.F$t(wB),r.TgZ(0,"div",0),r.TgZ(1,"div",1,2),r.NdJ("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),r.YNc(3,pB,9,0,"ng-container",3),r.YNc(4,fB,2,0,"div",4),r.TgZ(5,"div",5,6),r.Hsn(7),r.TgZ(8,"span",7),r.YNc(9,vB,5,16,"label",8),r.qZA(),r.qZA(),r.YNc(10,yB,2,0,"div",9),r.qZA(),r.YNc(11,CB,3,4,"div",10),r.TgZ(12,"div",11),r.YNc(13,bB,2,1,"div",12),r.YNc(14,PB,5,2,"div",13),r.qZA(),r.qZA()),2&t&&(r.xp6(3),r.Q6J("ngIf","outline"==e.appearance),r.xp6(1),r.Q6J("ngIf",e._prefixChildren.length),r.xp6(5),r.Q6J("ngIf",e._hasFloatingLabel()),r.xp6(1),r.Q6J("ngIf",e._suffixChildren.length),r.xp6(1),r.Q6J("ngIf","outline"!=e.appearance),r.xp6(1),r.Q6J("ngSwitch",e._getDisplayedMessages()),r.xp6(1),r.Q6J("ngSwitchCase","error"),r.xp6(1),r.Q6J("ngSwitchCase","hint"))}
1,directives:[_t,Ct,bt,Vl],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;
1left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[kB.transitionMessages]},changeDetection:0}),t}(),zB=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It,Sp,jl],Sp]}),t}(),qB=["*"],BB=new r.OlP("MatChipRemove"),YB=new r.OlP("MatChipAvatar"),GB=new r.OlP("MatChipTrailingIcon"),HB=_createClass(function t(e){_classCallCheck(this,t),this._elementRef=e}),JB=Ep(Tp(Ip(HB),"primary"),-1),WB=function(){var t=function(t){function e(t,n,i,o,a,s,c,l){var u;return _classCallCheck(this,e),(u=_callSuper(this,e,[t]))._ngZone=n,u._changeDetectorRef=a,u._hasFocus=!1,u.chipListSelectable=!0,u._chipListMultiple=!1,u._chipListDisabled=!1,u._selected=!1,u._selectable=!0,u._disabled=!1,u._removable=!0,u._onFocus=new we.xQ,u._onBlur=new we.xQ,u.selectionChange=new r.vpe,u.destroyed=new r.vpe,u.removed=new r.vpe,u._addHostClassName(),u._chipRippleTarget=s.createElement("div"),u._chipRippleTarget.classList.add("mat-chip-ripple"),u._elementRef.nativeElement.appendChild(u._chipRippleTarget),u._chipRipple=new ef(_assertThisInitialized(u),n,u._chipRippleTarget,i),u._chipRipple.setupTriggerEvents(t),u.rippleConfig=o||{},u._animationsDisabled="NoopAnimations"===c,u.tabIndex=null!=l&&parseInt(l)||-1,u}return _inherits(e,t),_createClass(e,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(t){var e=gl(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(t){this._value=t}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(t){this._selectable=gl(t)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(t){this._disabled=gl(t)}},{key:"removable",get:function(){return this._removable},set:function(t){this._removable=gl(t)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var t="mat-basic-chip",e=this._elementRef.nativeElement;e.hasAttribute(t)||e.tagName.toLowerCase()===t?e.classList.add(t):e.classList.add("mat-standard-chip")}}
1,{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(t),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(t){this.disabled?t.preventDefault():t.stopPropagation()}},{key:"_handleKeydown",value:function(t){if(!this.disabled)switch(t.keyCode){case 46:case 8:this.remove(),t.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}},{key:"_blur",value:function(){var t=this;this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(function(){t._ngZone.run(function(){t._hasFocus=!1,t._onBlur.next({chip:t})})})}},{key:"_dispatchSelectionChange",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}]),e}(JB);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(kl),r.Y36(nf,8),r.Y36(r.sBO),r.Y36(l),r.Y36(_p,8),r.$8M("tabindex"))},t.\u0275dir=r.lG2({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,YB,5),r.Suo(n,GB,5),r.Suo(n,BB,5)),2&t)&&(r.iGM(i=r.CRH())&&(e.avatar=i.first),r.iGM(i=r.CRH())&&(e.trailingIcon=i.first),r.iGM(i=r.CRH())&&(e.removeIcon=i.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(r.uIk("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),r.ekj("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[r.qOj]}),t}(),QB=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._parentChip=e,"BUTTON"===n.nativeElement.nodeName&&n.nativeElement.setAttribute("type","button")}return _createClass(t,[{key:"_handleClick",value:function(t){var e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(WB),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._handleClick(t)})},features:[r._Bn([{provide:BB,useExisting:t}])]}),t}(),KB=new r.OlP("mat-chips-default-options"),XB=Dp(function(){return _createClass(function t(e,n,i,o){_classCallCheck(this,t),this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=o})}()),$B=0,tY=_createClass(function t(e,n){_classCallCheck(this,t),this.source=e,this.value=n}),eY=function(){var t=function(t){function e(t,n,i,o,a,s,c){var l;return _classCallCheck(this,e),(l=_callSuper(this,e,[s,o,a,c]))._elementRef=t,l._changeDetectorRef=n,l._dir=i,l.controlType="mat-chip-list",l._lastDestroyedChipIndex=null,l._destroyed=new we.xQ,l._uid="mat-chip-list-"+$B++,l._tabIndex=0,l._userTabIndex=null,l._onTouched=function(){},l._onChange=function(){},l._multiple=!1,l._compareWith=function(t,e){return t===e},l._required=!1,l._disabled=!1,l.ariaOrientation="horizontal",l._selectable=!0,l.change=new r.vpe,l.valueChange=new r.vpe,l.ngControl&&(l.ngControl.valueAccessor=_assertThisInitialized(l)),l}return _inherits(e,t),_createClass(e,[{key:"selected",get:function(){var t,e;return this.multiple?(null===(t=this._selectionModel)||void 0===t?void 0:t.selected)||[]:null===(e=this._selectionModel)||void 0===e?void 0:e.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(t){this._multiple=gl(t),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith}
1,set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){this.writeValue(t),this._value=t}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=gl(t),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(t){this._disabled=gl(t),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(t){var e=this;this._selectable=gl(t),this.chips&&this.chips.forEach(function(t){return t.chipListSelectable=e._selectable})}},{key:"tabIndex",set:function(t){this._userTabIndex=t,this._tabIndex=t}},{key:"chipSelectionChanges",get:function(){return oO.T.apply(void 0,_toConsumableArray(this.chips.map(function(t){return t.selectionChange})))}},{key:"chipFocusChanges",get:function(){return oO.T.apply(void 0,_toConsumableArray(this.chips.map(function(t){return t._onFocus}
1)))}},{key:"chipBlurChanges",get:function(){return oO.T.apply(void 0,_toConsumableArray(this.chips.map(function(t){return t._onBlur})))}},{key:"chipRemoveChanges",get:function(){return oO.T.apply(void 0,_toConsumableArray(this.chips.map(function(t){return t.destroyed})))}},{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new tu(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,fl.R)(this._destroyed)).subscribe(function(e){return t._keyManager.withHorizontalOrientation(e)}),this._keyManager.tabOut.pipe((0,fl.R)(this._destroyed)).subscribe(function(){t._allowFocusEscape()}),this.chips.changes.pipe((0,Se.O)(null),(0,fl.R)(this._destroyed)).subscribe(function(){t.disabled&&Promise.resolve().then(function(){t._syncChipsState()}),t._resetChips(),t._initializeSelection(),t._updateTabIndex(),t._updateFocusForDestroyedChips(),t.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new jb(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"writeValue",value:function(t){this.chips&&this._setSelectionByValue(t,!1)}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this.stateChanges.next()}},{key:"onContainerClick",value:function(t){this._originatesFromChip(t)||this.focus()}},{key:"focus",value:function(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}},{key:"_focusInput",value:function(t){this._chipInput&&this._chipInput.focus(t)}},{key:"_keydown",value:function(t){var e=t.target;e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(t){return t>=0&&t<this.chips.length}},{key:"_setSelectionByValue",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(t){return t.deselect()}),Array.isArray(t))t.forEach(function(t){return e._selectValue(t,n)}),this._sortValues();else{var i=this._selectValue(t,n);i&&n&&this._keyManager.setActiveItem(i)}}},{key:"_selectValue",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.chips.find(function(n){return null!=n.value&&e._compareWith(n.value,t)});return i&&(n?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then(function(){(t.ngControl||t._value)&&(t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value,!1),t.stateChanges.next())})}},{key:"_clearSelection",value:function(t){this._selectionModel.clear(),this.chips.forEach(function(e){e!==t&&e.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(e){e.selected&&t._selectionModel.select(e)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(t){var e;e=Array.isArray(this.selected)?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.change.emit(new tY(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var t=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){t.focused||t._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var t=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){t._tabIndex=t._userTabIndex||0,t._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var t=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(e){e.source.selected?t._selectionModel.select(e.source):t._selectionModel.deselect(e.source),t.multiple||t.chips.forEach(function(e){!t._selectionModel.isSelected(e)&&e.selected&&e.deselect()}
1),e.isUserInput&&t._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var t=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(e){var n=t.chips.toArray().indexOf(e.chip);t._isValidIndex(n)&&t._keyManager.updateActiveItem(n),t.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){t._blur(),t.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var t=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(e){var n=e.chip,i=t.chips.toArray().indexOf(e.chip);t._isValidIndex(i)&&n._hasFocus&&(t._lastDestroyedChipIndex=i)})}},{key:"_originatesFromChip",value:function(t){for(var e=t.target;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(t){return t._hasFocus})}},{key:"_syncChipsState",value:function(){var t=this;this.chips&&this.chips.forEach(function(e){e._chipListDisabled=t._disabled,e._chipListMultiple=t.multiple})}}]),e}(XB);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(ku,8),r.Y36(uU,8),r.Y36(bU,8),r.Y36(Jp),r.Y36(LN,10))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,WB,5),2&t)&&(r.iGM(i=r.CRH())&&(e.chips=i))},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&r.NdJ("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(r.Ikx("id",e._uid),r.uIk("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),r.ekj("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[r._Bn([{provide:SB,useExisting:t}]),r.qOj],ngContentSelectors:qB,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;
1cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t}(),nY=0,iY=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._elementRef=e,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new r.vpe,this.placeholder="",this.id="mat-chip-list-input-"+nY++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}return _createClass(t,[{key:"chipList",set:function(t){t&&(this._chipList=t,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(t){this._addOnBlur=gl(t)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(t){this._disabled=gl(t)}},{key:"empty",get:function(){return!this.inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.chipEnd.complete()}},{key:"ngAfterContentInit",value:function(){this._focusLastChipOnBackspace=this.empty}},{key:"_keydown",value:function(t){if(t){if(9===t.keyCode&&!ll(t,"shiftKey")&&this._chipList._allowFocusEscape(),8===t.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}},{key:"_keyup",value:function(t){!this._focusLastChipOnBackspace&&8===t.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,t.preventDefault())}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(t){!this.inputElement.value&&!!t&&this._chipList._keydown(t),(!t||this._isSeparatorKey(t))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==t||t.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(t){this.inputElement.focus(t)}},{key:"clear",value:function(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}},{key:"_isSeparatorKey",value:function(t){return!ll(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(KB))},t.\u0275dir=r.lG2({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e._keydown(t)})("keyup",function(t){return e._keyup(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(r.Ikx("id",e.id),r.uIk("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOn
1Blur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[r.TTD]}),t}(),oY={separatorKeyCodes:[13]},rY=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[Jp,{provide:KB,useValue:oY}],imports:[[Sp]]}),t}(),aY=n(70409),sY=El(),cY=function(){function t(e,n){_classCallCheck(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return _createClass(t,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=yl(-this._previousScrollPosition.left),t.style.top=yl(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),sY&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),sY&&(e.scrollBehavior=i,n.scrollBehavior=o)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}]),t}(),lY=function(){function t(e,n,i,o){var r=this;_classCallCheck(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run(function(){return r._overlayRef.detach()})}}return _createClass(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),uY=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function dY(t,e){return e.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function hY(t,e){return e.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var pY=function(){function t(e,n,i,o){_classCallCheck(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=o,this._scrollSubscription=null}return _createClass(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,o=n.height;dY(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),fY=function(){var t=_createClass(function t(e,n,i,o){var r=this;_classCallCheck(this,t),this._scrollDispatcher=e,this._viewportRuler
1=n,this._ngZone=i,this.noop=function(){return new uY},this.close=function(t){return new lY(r._scrollDispatcher,r._ngZone,r._viewportRuler,t)},this.block=function(){return new cY(r._viewportRuler,r._document)},this.reposition=function(t){return new pY(r._scrollDispatcher,r._viewportRuler,r._ngZone,t)},this._document=o});return t.\u0275fac=function(e){return new(e||t)(r.LFG(Qb),r.LFG(Xb),r.LFG(r.R0b),r.LFG(l))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(Qb),r.LFG(Xb),r.LFG(r.R0b),r.LFG(l))},token:t,providedIn:"root"}),t}(),gY=_createClass(function t(e){if(_classCallCheck(this,t),this.scrollStrategy=new uY,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e)for(var n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];void 0!==e[o]&&(this[o]=e[o])}}),_Y=_createClass(function t(e,n,i,o,r){_classCallCheck(this,t),this.offsetX=i,this.offsetY=o,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY}),mY=_createClass(function t(e,n){_classCallCheck(this,t),this.connectionPair=e,this.scrollableViewProperties=n}),vY=function(){var t=function(){function t(e){_classCallCheck(this,t),this._attachedOverlays=[],this._document=e}return _createClass(t,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(l))},token:t,providedIn:"root"}),t}(),yY=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e,[t]))._keydownListener=function(t){for(var e=n._attachedOverlays,i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}},n}return _inherits(e,t),_createClass(e,[{key:"add",value:function(t){_get(_getPrototypeOf(e.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),e}(vY);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(l))},token:t,providedIn:"root"}),t}(),CY=function(){var t=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t]))._platform=n,i._cursorStyleIsSet=!1,i._pointerDownListener=function(t){i._pointerDownEventTarget=Ll(t)},i._clickListener=function(t){var e=Ll(t),n="click"===t.type&&i._pointerDownEventTarget?i._pointerDownEventTarget:e;i._pointerDownEventTarget=null;for(var o=i._attachedOverlays.slice(),r=o.length-1;r>-1;r--){var a=o[r];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e)||a.overlayElement.contains(n))break;a._outsidePointerEvents.next(t)}}},i}return _inherits(e,t),_createClass(e,[{key:"add",value:function(t){if(_get(_getPrototypeOf(e.prototype),"add",this).call(this,t),!this._isAttached){var n=this._document.body;n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),e}(vY);return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(kl))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(l),r.LFG(kl))},token:t,providedIn:"root"}),t}(),bY=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._platform=n,this._document=e}return _createClass(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var t="cdk-overlay-container";if(this._platform.isBrowser||Zl())for(var e=this._document.querySelectorAll(".".concat(t,'[platform="server"], .').concat(t,'[platform="test"]')),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);var i=this._document.createElement("div");i.classList.add(t),Zl()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(kl))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(l),r.LFG(kl))},token:t,providedIn:"root"}),t}(),OY=function(){function t(e,n,i,o,r,a,s,c,l){var u=this;_classCallCheck(this,t),this._portalOutlet=e,this._host=n,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new we.xQ,this._attachments=new we.xQ,this._detachments=new we.xQ,this._locationChanges=sl.w.EMPTY,this._backdropClickHandler=function(t){return u._backdropClick.next(t)}
1,this._keydownEvents=new we.xQ,this._outsidePointerEvents=new we.xQ,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}return _createClass(t,[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(t){var e=this,n=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),this._outsideClickDispatcher.add(this),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}}},{key:"dispose",value:function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}},{key:"setDirection",value:function(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}},{key:"addPanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!0)}},{key:"removePanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!1)}},{key:"getDirection",value:function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}},{key:"updateScrollStrategy",value:function(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var t=this._pane.style;t.width=yl(this._config.width),t.height=yl(this._config.height),t.minWidth=yl(this._config.minWidth),t.minHeight=yl(this._config.minHeight),t.maxWidth=yl(this._config.maxWidth),t.maxHeight=yl(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(t){this._pane.style.pointerEvents=t?"":"none"}},{key:"_attachBackdrop",value:function(){var t=this,e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var t=this,e=this._backdropElement;if(e){var n,i=function i(){e&&(e.removeEventListener("click",t._backdropClickHandler),e.removeEventListener("transitionend",i),t._disposeBackdrop(e)),t._config.backdropClass&&t._toggleClasses(e,t._config.backdropClass,!1),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}}},{key:"_toggleClasses",value:function(t,e,n){var i=t.classList;vl(e).forEach(function(t){t&&(n?i.add(t):i.remove(t))})}},{key:"_detachContentWhenStable",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.pipe((0,fl.R)((0,oO.T)(t._attachments,t._detachments))).subscribe(function(){(!t._pane||!t._host||0===t._pane.children.length)&&(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}},{key:"_disposeBackdrop",value:function(t){t&&(t.parentNode&&t.parentNode.removeChild(t),this._backdropElement===t&&(this._backdropElement=null))}}]),t}(),PY="cdk-overlay-connected-position-bounding-box",wY=/([A-Za-z%]+)$/,MY=function(){function t(e,n,i,o,r){_classCallCheck(this,t),this._viewportRuler
1=n,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new we.xQ,this._resizeSubscription=sl.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}return _createClass(t,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(t){var e=this;this._validatePositions(),t.hostElement.classList.add(PY),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var t,e,n=this._originRect,i=this._overlayRect,o=this._viewportRect,r=[],a=_createForOfIteratorHelper(this._preferredPositions);try{for(a.s();!(e=a.n()).done;){var s=e.value,c=this._getOriginPoint(n,s),l=this._getOverlayPoint(c,i,s),u=this._getOverlayFit(l,i,o,s);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,c);this._canFitWithFlexibleDimensions(u,l,o)?r.push({position:s,origin:c,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(c,s)}):(!t||t.overlayFit.visibleArea<u.visibleArea)&&(t={overlayFit:u,overlayPoint:l,originPoint:c,position:s,overlayRect:i})}}catch(m){a.e(m)}finally{a.f()}if(r.length){var d,h=null,p=-1,f=_createForOfIteratorHelper(r);try{for(f.s();!(d=f.n()).done;
1){var g=d.value,_=g.boundingBoxRect.width*g.boundingBoxRect.height*(g.position.weight||1);_>p&&(p=_,h=g)}}catch(m){f.e(m)}finally{f.f()}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&xY(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(PY),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,o=this._isRtl()?t.left:t.right;n="start"==e.originX?i:o}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,n){var i,o;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+o}}},{key:"_getOverlayFit",value:function(t,e,n,i){var o=SY(e),r=t.x,a=t.y,s=this._getOffset(i,"x"),c=this._getOffset(i,"y");s&&(r+=s),c&&(a+=c);var l=0-a,u=a+o.height-n.height,d=this._subtractOverflows(o.width,0-r,r+o.width-n.width),h=this._subtractOverflows(o.height,l,u),p=d*h;return{visibleArea:p,isCompletelyWithinViewport:o.width*o.height===p,fitsInViewportVertically:h===o.height,fitsInViewportHorizontally:d==o.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,o=n.right-e.x,r=kY(this._overlayRef.getConfig().minHeight),a=kY(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=r&&r<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,o,r=SY(e),a=this._viewportRect,s=Math.max(t.x+r.width-a.width,0),c=Math.max(t.y+r.height-a.height,0),l=Math.max(a.top-n.top-t.y,0),u=Math.max(a.left-n.left-t.x,0);return i=r.width<=a.width?u||-s:t.x<this._viewportMargin?a.left-n.left-t.x:0,o=r.height<=a.height?l||-c:t.y<this._viewportMargin?a.top-n.top-t.y:0,this._previousPushAmount={x:i,y:o},{x:t.x+i,y:t.y+o}}},{key:"_applyPosition",value:function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){var n=this._getScrollVisibility(),i=new mY(t,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var o=0;o<n.length;o++)n[o].style.transformOrigin="".concat(e," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(t,e){var n,i,o,r,a,s,c=this._viewportRect,l=this._isRtl();if("top"===e.overlayY)i=t.y,n=c.height-i+this._viewportMargin;else if("bottom"===e.overlayY)o=c.height-t.y+2*this._viewportMargin,n=c.height-o+this._viewportMargin;else{var u=Math.min(c.bottom-t.y+c.top,t.y),d=this._lastBoundingBoxSize.height;n=2*u,i=t.y-u,n>d&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-d/2)}if("end"===e.overlayX&&!l||"start"===e.overlayX&&l)s=c.width-t.x+this._viewportMargin,r=t.x-this._viewportMargin;else if("start"===e.overlayX&&!l||"end"===e.overlayX&&l)a=t.x,r=c.right-t.x;else{var h=Math.min(c.right-t.x+c.left,t.x),p=this._lastBoundingBoxSize.width;r=2*h,a=t.x-h,r>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-p/2)}return{top:i,left:a,bottom:o,right:s,width:r,height:n}}},{key:"_setBoundingBoxStyles",value:function(t,e){var n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=yl(n.height),i.top=yl(n.top),i.bottom=yl(n.bottom),i.width=yl(n.width),i.left=yl(n.left),i.right=yl(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=yl(o)),r&&(i.maxWidth=yl(r))}this._lastBoundingBoxSize=n,xY(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){xY(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){xY(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();xY(n,this._getExactOverlayY(e,t,a)),xY(n,this._getExactOverlayX(e,t,a))}else n.position="static";var s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+="translateX(".concat(c,"px) ")),l&&(s+="translateY(".concat(l,"px)")),n.transform=s.trim(),r.maxHeight&&(i?n.maxHeight=yl(r.maxHeight):o&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=yl(r.maxWidth):o&&(n.maxWidth="")),xY(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));var r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=yl(o.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"===(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=yl(o.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:hY(t,n),isOriginOutsideView:dY(t,n),isOverlayClipped:hY(e,n),isOverlayOutsideView:dY(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.reduce(function(t,e){return t-Math.max(e,0)},t)}},{key:"_getNarrowedViewportRect",value:function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(t){var e=this;this._pane&&vl(t).forEach(function(t){""!==t&&-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))})}},{key:"_clearPanelClasses",value:function(){var t=this;
1this._pane&&(this._appliedPanelClasses.forEach(function(e){t._pane.classList.remove(e)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var t=this._origin;if(t instanceof r.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();var e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}]),t}();function xY(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function kY(t){if("number"!=typeof t&&null!=t){var e=_slicedToArray(t.split(wY),2),n=e[0],i=e[1];return i&&"px"!==i?null:parseFloat(n)}return t||null}function SY(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}var AY=function(){function t(e,n,i,o,r,a,s){_classCallCheck(this,t),this._preferredPositions=[],this._positionStrategy=new MY(i,o,r,a,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,n),this.onPositionChange=this._positionStrategy.positionChanges}return _createClass(t,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(t){this._positionStrategy.withScrollableContainers(t)}},{key:"withFallbackPosition",value:function(t,e,n,i){var o=new _Y(t,e,n,i);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}},{key:"withOffsetX",value:function(t){return this._positionStrategy.withDefaultOffsetX(t),this}},{key:"withOffsetY",value:function(t){return this._positionStrategy.withDefaultOffsetY(t),this}},{key:"withLockedPosition",value:function(t){return this._positionStrategy.withLockedPosition(t),this}},{key:"withPositions",value:function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(t){return this._positionStrategy.setOrigin(t),this}}]),t}(),TY="cdk-global-overlay-wrapper",IY=function(){function t(){_classCallCheck(this,t),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return _createClass(t,[{key:"attach",value:function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(TY),this._isDisposed=!1}},{key:"top",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,o=n.height,r=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center"
1:"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(TY),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),EY=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=o}return _createClass(t,[{key:"global",value:function(){return new IY}},{key:"connectedTo",value:function(t,e,n){return new AY(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new MY(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Xb),r.LFG(l),r.LFG(kl),r.LFG(bY))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(Xb),r.LFG(l),r.LFG(kl),r.LFG(bY))},token:t,providedIn:"root"}),t}(),DY=0,RY=function(){var t=function(){function t(e,n,i,o,r,a,s,c,l,u,d){_classCallCheck(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=r,this._injector=a,this._ngZone=s,this._document=c,this._directionality=l,this._location=u,this._outsideClickDispatcher=d}return _createClass(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),o=new gY(t);return o.direction=o.direction||this._directionality.value,new OY(i,e,n,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+DY++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new jq(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(fY),r.LFG(bY),r.LFG(r._Vd),r.LFG(EY),r.LFG(yY),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(l),r.LFG(ku),r.LFG(w),r.LFG(CY))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),FY=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],LY=new r.OlP("cdk-connected-overlay-scroll-strategy"),ZY=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.elementRef=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),NY=function(){var t=function(){function t(e,n,i,o,a){_classCallCheck(this,t),this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=sl.w.EMPTY,this._attachSubscription=sl.w.EMPTY,this._detachSubscription=sl.w.EMPTY,this._positionSubscription=sl.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.vpe,this.positionChange=new r.vpe,this.attach=new r.vpe,this.detach=new r.vpe,this.overlayKeydown=new r.vpe,this.overlayOutsideClick=new r.vpe,this._templatePortal=new Nq(n,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(t,[{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=gl(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=gl(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions}
1,set:function(t){this._flexibleDimensions=gl(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=gl(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=gl(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;(!this.positions||!this.positions.length)&&(this.positions=FY);var e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(function(){return t.attach.emit()}),this._detachSubscription=e.detachments().subscribe(function(){return t.detach.emit()}),e.keydownEvents().subscribe(function(e){t.overlayKeydown.next(e),27===e.keyCode&&!t.disableClose&&!ll(e)&&(e.preventDefault(),t._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(e){t.overlayOutsideClick.next(e)})}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new gY({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}},{key:"_updatePositionStrategy",value:function(t){var e=this,n=this.positions.map(function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY,panelClass:t.panelClass||void 0}});return t.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}},{key:"_attachOverlay",value:function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(e){t.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,aY.o)(function(){return t.positionChange.observers.length>0})).subscribe(function(e){t.positionChange.emit(e),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(RY),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(LY),r.Y36(ku,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.TTD]}),t}(),UY={provide:LY,deps:[RY],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},VY=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[RY,UY],imports:[[Su,qq,nO],nO]}),t}(),jY=["panel"];function zY(t,e){if(1&t&&(r.TgZ(0,"div",0,1),r.Hsn(2),r.qZA()),2&t){var n=e.id,i=r.oxw();r.Q6J("id",i.id)("ngClass",i._classList),r.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(n))}}var qY=["*"],BY=0,YY=_createClass(function t(e,n){_classCallCheck(this,t),this.source=e,this.option=n}),GY=Ip(function(){return _createClass(function t(){_classCallCheck(this,t)})}()),HY=new r.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),JY=function(){var t=function(t){function e(t,n,i,o){var a;return _classCallCheck(this,e),(a=_callSuper(this,e))._changeDetectorRef=t,a._elementRef=n,a._activeOptionChanges=sl.w.EMPTY,a.showPanel=!1,a._isOpen=!1,a.displayWith=null,a.optionSelected=new r.vpe,a.opened=new r.vpe,a.closed=new r.vpe,a.optionActivated=new r.vpe,a._classList={},a.id="mat-autocomplete-"+BY++,a.inertGroups=(null==o?void 0:o.SAFARI)||!1,a._autoActiveFirstOption=!!i.autoActiveFirstOption,a}return _inherits(e,t),_createClass(e,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(t){this._autoActiveFirstOption=gl(t)}},{key:"classList",set:function(t){this._classList=t&&t.length?bl
1(t).reduce(function(t,e){return t[e]=!0,t},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new $l(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(e){t.isOpen&&t.optionActivated.emit({source:t,option:t.options.toArray()[e]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(t){var e=new YY(this,t);this.optionSelected.emit(e)}},{key:"_getPanelAriaLabelledby",value:function(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_setVisibilityClasses",value:function(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}]),e}(GY);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(HY),r.Y36(kl))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){var n;(1&t&&(r.Gf(r.Rgc,7),r.Gf(jY,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.template=n.first),r.iGM(n=r.CRH())&&(e.panel=n.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[r.qOj]}),t}(),WY=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._visibleClass="mat-autocomplete-visible",t._hiddenClass="mat-autocomplete-hidden",t}return _inherits(e,t),_createClass(e)}(JY);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,hf,5),r.Suo(n,_f,5)),2&t)&&(r.iGM(i=r.CRH())&&(e.optionGroups=i),r.iGM(i=r.CRH())&&(e.options=i))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[r._Bn([{provide:cf,useExisting:t}]),r.qOj],ngContentSelectors:qY,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,zY,3,4,"ng-template"))},directives:[ht],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),t}(),QY=new r.OlP("mat-autocomplete-scroll-strategy"),KY={provide:QY,deps:[RY],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},XY={provide:sN,useExisting:(0,r.Gpc)(function(){return tG}),multi:!0},$Y=function(){var t=function(){function t(e,n,i,o,r,a,s,c,l,u,d){var h=this;_classCallCheck(this,t),this._element=e,this._overlay=n,this._viewContainerRef=i,this._zone=o,this._changeDetectorRef=r,this._dir=s,this._formField=c,this._document=l,this._viewportRuler=u,this._defaults=d,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=sl.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new we.xQ,this._windowBlurHandler=function(){h._canOpenOnNextFocus=h._document.activeElement!==h._element.nativeElement||h.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,be.P)(function(){return h.autocomplete&&h.autocomplete.options?oO.T.apply(void 0,_toConsumableArray(h.autocomplete.options.map(function(t){return t.onSelectionChange}
1))):h._zone.onStable.pipe((0,ke.q)(1),(0,xe.w)(function(){return h.optionSelections}))}),this._scrollStrategy=a}return _createClass(t,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(t){this._autocompleteDisabled=gl(t)}},{key:"ngAfterViewInit",value:function(){var t=this,e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(function(){return e.addEventListener("blur",t._windowBlurHandler)})}},{key:"ngOnChanges",value:function(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var t=this;return(0,oO.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Te.h)(function(){return t._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Te.h)(function(){return t._overlayAttached})):(0,ge.of)()).pipe((0,Me.U)(function(t){return t instanceof ff?t:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var t=this;return(0,oO.T)((0,Rb.R)(this._document,"click"),(0,Rb.R)(this._document,"auxclick"),(0,Rb.R)(this._document,"touchend")).pipe((0,Te.h)(function(e){var n=Ll(e),i=t._formField?t._formField._elementRef.nativeElement:null,o=t.connectedTo?t.connectedTo.elementRef.nativeElement:null;return t._overlayAttached&&n!==t._element.nativeElement&&(!i||!i.contains(n))&&(!o||!o.contains(n))&&!!t._overlayRef&&!t._overlayRef.overlayElement.contains(n)}))}},{key:"writeValue",value:function(t){var e=this;Promise.resolve(null).then(function(){return e._setTriggerValue(t)})}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this._element.nativeElement.disabled=t}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;if(27===e&&!ll(t)&&t.preventDefault(),this.activeOption&&13===e&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,i=38===e||40===e;this.panelOpen||9===e?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(t){var e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var t=this,e=this._zone.onStable.pipe((0,ke.q)(1)),n=this.autocomplete.options.changes.pipe((0,Le.b)(function(){return t._positionStrategy.reapplyLastPosition()}),(0,FU.g)(0));
1return(0,oO.T)(e,n).pipe((0,xe.w)(function(){var e=t.panelOpen;return t._resetActiveItem(),t.autocomplete._setVisibility(),t.panelOpen&&(t._overlayRef.updatePosition(),e!==t.panelOpen&&t.autocomplete.opened.emit()),t.panelClosingActions}),(0,ke.q)(1)).subscribe(function(e){return t._setValueAndClose(e)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(t){var e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}},{key:"_setValueAndClose",value:function(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(t){this.autocomplete.options.forEach(function(e){e!==t&&e.selected&&e.deselect()})}},{key:"_attachOverlay",value:function(){var t,e=this,n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new Nq(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,n.keydownEvents().subscribe(function(t){(27===t.keyCode&&!ll(t)||38===t.keyCode&&ll(t,"altKey"))&&(e._closeKeyEventStream.next(),e._resetActiveItem(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){e.panelOpen&&n&&n.updateSize({width:e._getPanelWidth()})})),n&&!n.hasAttached()&&(n.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var t;return new gY({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}},{key:"_setStrategyPositions",value:function(t){var e,n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];e="above"===this.position?o:"below"===this.position?n:[].concat(n,o),t.withPositions(e)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}},{key:"_scrollToOption",value:function(t){var e=this.autocomplete,n=mf(t,e.options,e.optionGroups);if(0===t&&1===n)e._setScrollTop(0);else if(e.panel){var i=e.options.toArray()[t];if(i){var o=i._getHostElement(),r=vf(o.offsetTop,o.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(r)}}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(RY),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(QY),r.Y36(ku,8),r.Y36(VB,9),r.Y36(l,8),r.Y36(Xb),r.Y36(HY,8))},t.\u0275dir=r.lG2({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[r.TTD]}),t}(),tG=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._aboveClass="mat-autocomplete-panel-above",t}return _inherits(e,t),_createClass(e)}($Y);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&r.uIk("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[r._Bn([XY]),r.qOj]}),t}(),eG=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[KY],imports:[[VY,yf,Sp,It],eO,yf,Sp]}),t}(),nG=["modisIgbpNameInput"];function iG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function oG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,iG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function rG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var aG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.modisIgbpNamesCtrl=new rU,this.modisIgbpNames=[],this.allModisIgbpNames=[],this.selectorName="land-cover-modis-igbp-name"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getLandCoverModisIgbpNameSelectorConfigData().subscribe(function(e){t.allModisIgbpNames=e.map(function(t){return t.modis_landcover}),t.filteredModisIgbpNames=t.modisIgbpNamesCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allModisIgbpNames.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedModisIgbpNames()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedModisIgbpNames()})}},{key:"resetSelectedModisIgbpNames",value:function(){this.modisIgbpNames=[],this.modisIgbpNamesCtrl.reset()}},{key:"updateSelectedModisIgbpNames",value:function(){this.modisIgbpNames.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.modisIgbpNames)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.modisIgbpNames.push(e),t.chipInput.clear(),this.modisIgbpNamesCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.modisIgbpNames.indexOf(t);e>=0&&this.modisIgbpNames.splice(e,1),this.updateSelectedModisIgbpNames()}},{key:"selected",value:function(t){this.modisIgbpNames.push(t.option.viewValue),this.modisIgbpNameInput.nativeElement.value="",this.modisIgbpNameInput.nativeElement.blur(),this.modisIgbpNamesCtrl.setValue(null),this.updateSelectedModisIgbpNames()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allModisIgbpNames.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["modis-igbp-name-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(nG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.modisIgbpNameInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"modis-igbp-name-selector-dropdown"],["aria-label","MODIS IGBP name selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New MODIS IGBP name...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["modisIgbpNameInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a MODIS IGBP name:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,oG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,rG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.modisIgbpNames),r.xp6(1),r.Q6J("formControl",e.modisIgbpNamesCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredModisIgbpNames))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".modis-igbp-name-selector-dropdown[_ngcontent-%COMP%]{width:100%}.modis-igbp-name-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),sG=["modisIgbpValueInput"];function cG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function lG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,cG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function uG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var dG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.modisIgbpValuesCtrl=new rU,this.modisIgbpValues=[],this.allModisIgbpValues=[],this.selectorName="land-cover-modis-igbp-value"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getLandCoverModisIgbpValueSelectorConfigData().subscribe(function(e){t.allModisIgbpValues=e.map(function(t){return Number(t.modis_landcover_value).toString()}),t.filteredModisIgbpValues=t.modisIgbpValuesCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allModisIgbpValues.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedModisIgbpValues()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedModisIgbpValues()})}},{key:"resetSelectedModisIgbpValues",value:function(){this.modisIgbpValues=[],this.modisIgbpValuesCtrl.reset()}},{key:"updateSelectedModisIgbpValues",value:function(){this.modisIgbpValues.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.modisIgbpValues)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.modisIgbpValues.push(e),t.chipInput.clear(),this.modisIgbpValuesCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.modisIgbpValues.indexOf(t);e>=0&&this.modisIgbpValues.splice(e,1),this.updateSelectedModisIgbpValues()}},{key:"selected",value:function(t){this.modisIgbpValues.push(t.option.viewValue),this.modisIgbpValueInput.nativeElement.value="",this.modisIgbpValueInput.nativeElement.blur(),this.modisIgbpValuesCtrl.setValue(null),this.updateSelectedModisIgbpValues()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allModisIgbpValues.filter(function(t){return t.toString().toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["modis-igbp-value-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(sG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.modisIgbpValueInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"modis-igbp-value-selector-dropdown"],["aria-label","MODIS IGBP value selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New MODIS IGBP value...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["modisIgbpValueInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a MODIS IGBP value:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,lG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,uG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.modisIgbpValues),r.xp6(1),r.Q6J("formControl",e.modisIgbpValuesCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredModisIgbpValues))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".modis-igbp-value-selector-dropdown[_ngcontent-%COMP%]{width:100%}.modis-igbp-value-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),hG=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.landCoverSelectorFilters=fq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.landCoverSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["land-cover-panel"]],inputs:{isVisible:"isVisible"},decls:15,vars:3,consts:[["cdkDrag","",1,"land-cover-selector-panel",3,"hidden"],[1,"land-cover-selector-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"],[1,"obscured-location-note"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"MODIS IGBP Name"),r.qZA(),r.qZA(),r._UZ(7,"modis-igbp-name-selector"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"MODIS IGBP Value"),r.qZA(),r.qZA(),r._UZ(12,"modis-igbp-value-selector"),r.qZA(),r.qZA(),r.TgZ(13,"p",4),r._uU(14,"Plots with obscured locations will not be returned with this filter."),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","land-cover-modis-igbp-name"===e.activePanel),r.xp6(5),r.Q6J("expanded","land-cover-modis-igbp-value"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,aG,dG],styles:[".land-cover-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.land-cover-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.land-cover-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.land-cover-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.land-cover-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.land-cover-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .obscured-location-note[_ngcontent-%COMP%]{margin:8px 0 0;font-size:12px;color:#757575}"]}),t}(),pG=["ecoregionLevelIAreaInput"];function fG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function gG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,fG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function _G(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var mG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.ecoregionLevelIAreasCtrl=new rU,this.ecoregionLevelIAreas=[],this.allEcoregionLevelIAreas=[],this.selectorName="ecoregion-level-1"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getEcoregionISelectorConfigData().subscribe(function(e){t.allEcoregionLevelIAreas=e.map(function(t){return t.na_l1name}),t.filteredEcoregionLevelIAreas=t.ecoregionLevelIAreasCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allEcoregionLevelIAreas.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedEcoregionLevelIAreas()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedEcoregionLevelIAreas()})}},{key:"resetSelectedEcoregionLevelIAreas",value:function(){this.ecoregionLevelIAreas=[],this.ecoregionLevelIAreasCtrl.reset()}},{key:"updateSelectedEcoregionLevelIAreas",value:function(){this.ecoregionLevelIAreas.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.ecoregionLevelIAreas)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.ecoregionLevelIAreas.push(e),t.chipInput.clear(),this.ecoregionLevelIAreasCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.ecoregionLevelIAreas.indexOf(t);e>=0&&this.ecoregionLevelIAreas.splice(e,1),this.updateSelectedEcoregionLevelIAreas()}},{key:"selected",value:function(t){this.ecoregionLevelIAreas.push(t.option.viewValue),this.ecoregionLevelIAreaInput.nativeElement.value="",this.ecoregionLevelIAreaInput.nativeElement.blur(),this.ecoregionLevelIAreasCtrl.setValue(null),this.updateSelectedEcoregionLevelIAreas()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allEcoregionLevelIAreas.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecoregion-level-i-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(pG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.ecoregionLevelIAreaInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"ecoregion-level-i-selector-dropdown"],["aria-label","Level I Ecoregion selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New Level I Ecoregion...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["ecoregionLevelIAreaInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a Level I Ecoregion:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,gG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,_G,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.ecoregionLevelIAreas),r.xp6(1),r.Q6J("formControl",e.ecoregionLevelIAreasCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredEcoregionLevelIAreas))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".ecoregion-level-i-selector-dropdown[_ngcontent-%COMP%]{width:100%}.ecoregion-level-i-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),vG=["ecoregionLevelIIAreaInput"];function yG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function CG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,yG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function bG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var OG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.ecoregionLevelIIAreasCtrl=new rU,this.ecoregionLevelIIAreas=[],this.allEcoregionLevelIIAreas=[],this.selectorName="ecoregion-level-2"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getEcoregionIISelectorConfigData().subscribe(function(e){t.allEcoregionLevelIIAreas=e.map(function(t){return t.na_l2name}),t.filteredEcoregionLevelIIAreas=t.ecoregionLevelIIAreasCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allEcoregionLevelIIAreas.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedEcoregionLevelIIAreas()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedEcoregionLevelIIAreas()})}},{key:"resetSelectedEcoregionLevelIIAreas",value:function(){this.ecoregionLevelIIAreas=[],this.ecoregionLevelIIAreasCtrl.reset()}},{key:"updateSelectedEcoregionLevelIIAreas",value:function(){this.ecoregionLevelIIAreas.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.ecoregionLevelIIAreas)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.ecoregionLevelIIAreas.push(e),t.chipInput.clear(),this.ecoregionLevelIIAreasCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.ecoregionLevelIIAreas.indexOf(t);e>=0&&this.ecoregionLevelIIAreas.splice(e,1),this.updateSelectedEcoregionLevelIIAreas()}},{key:"selected",value:function(t){this.ecoregionLevelIIAreas.push(t.option.viewValue),this.ecoregionLevelIIAreaInput.nativeElement.value="",this.ecoregionLevelIIAreaInput.nativeElement.blur(),this.ecoregionLevelIIAreasCtrl.setValue(null),this.updateSelectedEcoregionLevelIIAreas()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allEcoregionLevelIIAreas.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecoregion-level-ii-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(vG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.ecoregionLevelIIAreaInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"ecoregion-level-ii-selector-dropdown"],["aria-label","Level II Ecoregion selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New Level II Ecoregion...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["ecoregionLevelIIAreaInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a Level II Ecoregion:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,CG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,bG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.ecoregionLevelIIAreas),r.xp6(1),r.Q6J("formControl",e.ecoregionLevelIIAreasCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredEcoregionLevelIIAreas))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".ecoregion-level-ii-selector-dropdown[_ngcontent-%COMP%]{width:100%}.ecoregion-level-ii-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),PG=["ecoregionLevelIIIAreaInput"];function wG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function MG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,wG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function xG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var kG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.ecoregionLevelIIIAreasCtrl=new rU,this.ecoregionLevelIIIAreas=[],this.allEcoregionLevelIIIAreas=[],this.selectorName="ecoregion-level-3"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getEcoregionIIISelectorConfigData().subscribe(function(e){t.allEcoregionLevelIIIAreas=e.map(function(t){return t.us_l3name}),t.filteredEcoregionLevelIIIAreas=t.ecoregionLevelIIIAreasCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allEcoregionLevelIIIAreas.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedEcoregionLevelIIIAreas()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedEcoregionLevelIIIAreas()})}},{key:"resetSelectedEcoregionLevelIIIAreas",value:function(){this.ecoregionLevelIIIAreas=[],this.ecoregionLevelIIIAreasCtrl.reset()}},{key:"updateSelectedEcoregionLevelIIIAreas",value:function(){this.ecoregionLevelIIIAreas.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.ecoregionLevelIIIAreas)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.ecoregionLevelIIIAreas.push(e),t.chipInput.clear(),this.ecoregionLevelIIIAreasCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.ecoregionLevelIIIAreas.indexOf(t);e>=0&&this.ecoregionLevelIIIAreas.splice(e,1),this.updateSelectedEcoregionLevelIIIAreas()}},{key:"selected",value:function(t){this.ecoregionLevelIIIAreas.push(t.option.viewValue),this.ecoregionLevelIIIAreaInput.nativeElement.value="",this.ecoregionLevelIIIAreaInput.nativeElement.blur(),this.ecoregionLevelIIIAreasCtrl.setValue(null),this.updateSelectedEcoregionLevelIIIAreas()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allEcoregionLevelIIIAreas.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecoregion-level-iii-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(PG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.ecoregionLevelIIIAreaInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"ecoregion-level-iii-selector-dropdown"],["aria-label","Level III Ecoregion selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New Level III Ecoregion...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["ecoregionLevelIIIAreaInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a Level III Ecoregion:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,MG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,xG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.ecoregionLevelIIIAreas),r.xp6(1),r.Q6J("formControl",e.ecoregionLevelIIIAreasCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredEcoregionLevelIIIAreas))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".ecoregion-level-iii-selector-dropdown[_ngcontent-%COMP%]{width:100%}.ecoregion-level-iii-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),SG=["ecoregionLevelIVAreaInput"];function AG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function TG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,AG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function IG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var EG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.ecoregionLevelIVAreasCtrl=new rU,this.ecoregionLevelIVAreas=[],this.allEcoregionLevelIVAreas=[],this.selectorName="ecoregion-level-4"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getEcoregionIVSelectorConfigData().subscribe(function(e){t.allEcoregionLevelIVAreas=e.map(function(t){return t.us_l4name}),t.filteredEcoregionLevelIVAreas=t.ecoregionLevelIVAreasCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allEcoregionLevelIVAreas.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedEcoregionLevelIVAreas()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedEcoregionLevelIVAreas()})}},{key:"resetSelectedEcoregionLevelIVAreas",value:function(){this.ecoregionLevelIVAreas=[],this.ecoregionLevelIVAreasCtrl.reset()}},{key:"updateSelectedEcoregionLevelIVAreas",value:function(){this.ecoregionLevelIVAreas.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.ecoregionLevelIVAreas)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.ecoregionLevelIVAreas.push(e),t.chipInput.clear(),this.ecoregionLevelIVAreasCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.ecoregionLevelIVAreas.indexOf(t);e>=0&&this.ecoregionLevelIVAreas.splice(e,1),this.updateSelectedEcoregionLevelIVAreas()}},{key:"selected",value:function(t){this.ecoregionLevelIVAreas.push(t.option.viewValue),this.ecoregionLevelIVAreaInput.nativeElement.value="",this.ecoregionLevelIVAreaInput.nativeElement.blur(),this.ecoregionLevelIVAreasCtrl.setValue(null),this.updateSelectedEcoregionLevelIVAreas()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allEcoregionLevelIVAreas.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecoregion-level-iv-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(SG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.ecoregionLevelIVAreaInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"ecoregion-level-iv-selector-dropdown"],["aria-label","Level IV Ecoregion selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New Level IV Ecoregion...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["ecoregionLevelIVAreaInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a Level IV Ecoregion:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,TG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,IG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.ecoregionLevelIVAreas),r.xp6(1),r.Q6J("formControl",e.ecoregionLevelIVAreasCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredEcoregionLevelIVAreas))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".ecoregion-level-iv-selector-dropdown[_ngcontent-%COMP%]{width:100%}.ecoregion-level-iv-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),DG=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.ecoregionSelectorFilters=gq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.ecoregionSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecoregion-panel"]],inputs:{isVisible:"isVisible"},decls:25,vars:5,consts:[["cdkDrag","",1,"ecoregion-selector-panel",3,"hidden"],[1,"ecoregion-selector-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"],[1,"obscured-location-note"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Ecoregion Level I"),r.qZA(),r.qZA(),r._UZ(7,"ecoregion-level-i-selector"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"Ecoregion Level II"),r.qZA(),r.qZA(),r._UZ(12,"ecoregion-level-ii-selector"),r.qZA(),r.TgZ(13,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(14,"mat-expansion-panel-header"),r.TgZ(15,"mat-panel-title",3),r._uU(16,"Ecoregion Level III"),r.qZA(),r.qZA(),r._UZ(17,"ecoregion-level-iii-selector"),r.qZA(),r.TgZ(18,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(19,"mat-expansion-panel-header"),r.TgZ(20,"mat-panel-title",3),r._uU(21,"Ecoregion Level IV"),r.qZA(),r.qZA(),r._UZ(22,"ecoregion-level-iv-selector"),r.qZA(),r.qZA(),r.TgZ(23,"p",4),r._uU(24,"Plots with obscured locations will not be returned with this filter."),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","ecoregion-level-1"===e.activePanel),r.xp6(5),r.Q6J("expanded","ecoregion-level-2"===e.activePanel),r.xp6(5),r.Q6J("expanded","ecoregion-level-3"===e.activePanel),r.xp6(5),r.Q6J("expanded","ecoregion-level-4"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,mG,OG,kG,EG],styles:[".ecoregion-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.ecoregion-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.ecoregion-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.ecoregion-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.ecoregion-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.ecoregion-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .obscured-location-note[_ngcontent-%COMP%]{margin:8px 0 0;font-size:12px;color:#757575}"]}),t}(),RG=["mlraNameInput"];function FG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function LG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,FG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function ZG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var NG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.mlraNamesCtrl=new rU,this.mlraNames=[],this.allMlraNames=[],this.selectorName="mlra-name"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getMlraNameSelectorConfigData().subscribe(function(e){t.allMlraNames=e.map(function(t){return t.mlra_name}),t.filteredMlraNames=t.mlraNamesCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allMlraNames.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedMlraNames()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedMlraNames()})}},{key:"resetSelectedMlraNames",value:function(){this.mlraNames=[],this.mlraNamesCtrl.reset()}},{key:"updateSelectedMlraNames",value:function(){this.mlraNames.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.mlraNames)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.mlraNames.push(e),t.chipInput.clear(),this.mlraNamesCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.mlraNames.indexOf(t);e>=0&&this.mlraNames.splice(e,1),this.updateSelectedMlraNames()}},{key:"selected",value:function(t){this.mlraNames.push(t.option.viewValue),this.mlraNameInput.nativeElement.value="",this.mlraNameInput.nativeElement.blur(),this.mlraNamesCtrl.setValue(null),this.updateSelectedMlraNames()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allMlraNames.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mlra-name-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(RG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.mlraNameInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"mlra-name-selector-dropdown"],["aria-label","MLRA name selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New MLRA name...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["mlraNameInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select an MLRA name:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,LG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,ZG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.mlraNames),r.xp6(1),r.Q6J("formControl",e.mlraNamesCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredMlraNames))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".mlra-name-selector-dropdown[_ngcontent-%COMP%]{width:100%}.mlra-name-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),UG=["mlraSymbolInput"];function VG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function jG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,VG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function zG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var qG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.mlraSymbolsCtrl=new rU,this.mlraSymbols=[],this.allMlraSymbols=[],this.selectorName="mlra-symbol"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getMlraSymbolSelectorConfigData().subscribe(function(e){t.allMlraSymbols=e.map(function(t){return t.mlrarsym}),t.filteredMlraSymbols=t.mlraSymbolsCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allMlraSymbols.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedMlraSymbols()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedMlraSymbols()})}},{key:"resetSelectedMlraSymbols",value:function(){this.mlraSymbols=[],this.mlraSymbolsCtrl.reset()}}
1,{key:"updateSelectedMlraSymbols",value:function(){this.mlraSymbols.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.mlraSymbols)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.mlraSymbols.push(e),t.chipInput.clear(),this.mlraSymbolsCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.mlraSymbols.indexOf(t);e>=0&&this.mlraSymbols.splice(e,1),this.updateSelectedMlraSymbols()}},{key:"selected",value:function(t){this.mlraSymbols.push(t.option.viewValue),this.mlraSymbolInput.nativeElement.value="",this.mlraSymbolInput.nativeElement.blur(),this.mlraSymbolsCtrl.setValue(null),this.updateSelectedMlraSymbols()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allMlraSymbols.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mlra-symbol-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(UG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.mlraSymbolInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"mlra-symbol-selector-dropdown"],["aria-label","MLRA symbol selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New MLRA symbol...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["mlraSymbolInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select an MLRA symbol:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,jG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,zG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.mlraSymbols),r.xp6(1),r.Q6J("formControl",e.mlraSymbolsCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredMlraSymbol
1s))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".mlra-symbol-selector-dropdown[_ngcontent-%COMP%]{width:100%}.mlra-symbol-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),BG=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.mlraSelectorFilters=_q}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.mlraSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mlra-panel"]],inputs:{isVisible:"isVisible"},decls:15,vars:3,consts:[["cdkDrag","",1,"mlra-selector-panel",3,"hidden"],[1,"mlra-selector-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"],[1,"obscured-location-note"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"MLRA Name"),r.qZA(),r.qZA(),r._UZ(7,"mlra-name-selector"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"MLRA Symbol"),r.qZA(),r.qZA(),r._UZ(12,"mlra-symbol-selector"),r.qZA(),r.qZA(),r.TgZ(13,"p",4),r._uU(14,"Plots with obscured locations will not be returned with this filter."),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","mlra-name"===e.activePanel),r.xp6(5),r.Q6J("expanded","mlra-symbol"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,NG,qG],styles:[".mlra-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.mlra-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.mlra-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.mlra-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.mlra-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.mlra-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .obscured-location-note[_ngcontent-%COMP%]{margin:8px 0 0;font-size:12px;color:#757575}"]}),t}(),YG=["ecologicalSiteIdInput"];function GG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function HG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,GG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function JG(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var WG=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.ecologicalSiteIdCtrl=new rU,this.ecologicalSiteIds=[],this.allEcologicalSiteIds=[],this.selectorName="ecological-site-id"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getEcologicalSiteIdSelectorConfigData().subscribe(function(e){t.allEcologicalSiteIds=e.map(function(t){return t.ecological_site_id}),t.filteredEcologicalSiteIds=t.ecologicalSiteIdCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allEcologicalSiteIds.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedEcologicalSiteIds()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedEcologicalSiteIds()})}},{key:"resetSelectedEcologicalSiteIds",value:function(){this.ecologicalSiteIds=[],this.ecologicalSiteIdCtrl.reset()}},{key:"updateSelectedEcologicalSiteIds",value:function(){this.ecologicalSiteIds.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.ecologicalSiteIds)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.ecologicalSiteIds.push(e),t.chipInput.clear(),this.ecologicalSiteIdCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.ecologicalSiteIds.indexOf(t);e>=0&&this.ecologicalSiteIds.splice(e,1),this.updateSelectedEcologicalSiteIds()}},{key:"selected",value:function(t){this.ecologicalSiteIds.push(t.option.viewValue),this.ecologicalSiteIdInput.nativeElement.value="",this.ecologicalSiteIdInput.nativeElement.blur(),this.ecologicalSiteIdCtrl.setValue(null),this.updateSelectedEcologicalSiteIds()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allEcologicalSiteIds.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecological-site-id-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(YG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.ecologicalSiteIdInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"ecological-site-id-selector-dropdown"],["aria-label","Ecological site ID selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New ecological site ID...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["ecologicalSiteIdInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select an ecological site ID:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,HG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.N
1dJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,JG,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.ecologicalSiteIds),r.xp6(1),r.Q6J("formControl",e.ecologicalSiteIdCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredEcologicalSiteIds))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".ecological-site-id-selector-dropdown[_ngcontent-%COMP%]{width:100%}.ecological-site-id-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),QG=["mlraPrefixInput"];function KG(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function XG(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,KG,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function $G(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var tH=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.mlraPrefixCtrl=new rU,this.mlraPrefixes=[],this.allMlraPrefixes=[],this.selectorName="ecological-site-id-mlra-prefix"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getEcologicalSiteIdMlraPrefixSelectorConfigData().subscribe(function(e){t.allMlraPrefixes=e.map(function(t){return t.ecological_site_id_mlra_prefix}),t.filteredMlraPrefixes=t.mlraPrefixCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allMlraPrefixes.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedMlraPrefixes()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedMlraPrefixes()})}},{key:"resetSelectedMlraPrefixes",value:function(){this.mlraPrefixes=[],this.mlraPrefixCtrl.reset()}},{key:"updateSelectedMlraPrefixes",value:function(){this.mlraPrefixes.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.mlraPrefixes)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.mlraPrefixes.push(e),t.chipInput.clear(),this.mlraPrefixCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.mlraPrefixes.indexOf(t);e>=0&&this.mlraPrefixes.splice(e,1),this.updateSelectedMlraPrefixes()}},{key:"selected",value:function(t){this.mlraPrefixes.push(t.option.viewValue),this.mlraPrefixInput.nativeElement.value="",this.mlraPrefixInput.nativeElement.blur(),this.mlraPrefixCtrl.setValue(null),this.updateSelectedMlraPrefixes()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allMlraPrefixes.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecological-site-id-mlra-prefix-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(QG,5),2&t)&&(r.iGM(n=r.CRH())&&(e.mlraPrefixInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"mlra-prefix-selector-dropdown"],["aria-label","MLRA prefix selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New MLRA prefix...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["mlraPrefixInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select an MLRA prefix:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,XG,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.N
1dJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,$G,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.mlraPrefixes),r.xp6(1),r.Q6J("formControl",e.mlraPrefixCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredMlraPrefixes))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".mlra-prefix-selector-dropdown[_ngcontent-%COMP%]{width:100%}.mlra-prefix-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),eH=["stateInput"];function nH(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function iH(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,nH,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function oH(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var rH=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.stateCtrl=new rU,this.states=[],this.allStates=[],this.selectorName="ecological-site-id-state"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getEcologicalSiteIdStateSelectorConfigData().subscribe(function(e){t.allStates=e.map(function(t){return t.ecological_site_id_state}),t.filteredStates=t.stateCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allStates.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedStates()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedStates()})}},{key:"resetSelectedStates",value:function(){this.states=[],this.stateCtrl.reset()}},{key:"updateSelectedStates",value:function(){this.states.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.states)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.states.push(e),t.chipInput.clear(),this.stateCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.states.indexOf(t);e>=0&&this.states.splice(e,1),this.updateSelectedStates()}},{key:"selected",value:function(t){this.states.push(t.option.viewValue),this.stateInput.nativeElement.value="",this.stateInput.nativeElement.blur(),this.stateCtrl.setValue(null),this.updateSelectedStates()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allStates.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecological-site-id-state-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(eH,5),2&t)&&(r.iGM(n=r.CRH())&&(e.stateInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"state-selector-dropdown"],["aria-label","State selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New state...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["stateInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a state:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,iH,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.N
1dJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,oH,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.states),r.xp6(1),r.Q6J("formControl",e.stateCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredStates))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".state-selector-dropdown[_ngcontent-%COMP%]{width:100%}.state-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),aH=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.ecologicalSiteSelectorFilters=mq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.ecologicalSiteSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ecological-site-panel"]],inputs:{isVisible:"isVisible"},decls:18,vars:4,consts:[["cdkDrag","",1,"ecological-site-selector-panel",3,"hidden"],[1,"ecological-site-selector-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Ecological Site ID"),r.qZA(),r.qZA(),r._UZ(7,"ecological-site-id-selector"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"MLRA Prefix"),r.qZA(),r.qZA(),r._UZ(12,"ecological-site-id-mlra-prefix-selector"),r.qZA(),r.TgZ(13,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(14,"mat-expansion-panel-header"),r.TgZ(15,"mat-panel-title",3),r._uU(16,"State"),r.qZA(),r.qZA(),r._UZ(17,"ecological-site-id-state-selector"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","ecological-site-id"===e.activePanel),r.xp6(5),r.Q6J("expanded","ecological-site-id-mlra-prefix"===e.activePanel),r.xp6(5),r.Q6J("expanded","ecological-site-id-state"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,WG,tH,rH],styles:[".ecological-site-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.ecological-site-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.ecological-site-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.ecological-site-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.ecological-site-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),sH=["stateInput"];function cH(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function lH(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,cH,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function uH(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var dH=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.stateCtrl=new rU,this.states=[],this.allStates=[],this.selectorName="state"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getStateSelectorConfigData().subscribe(function(e){t.allStates=e.map(function(t){return t.state}),t.filteredStates=t.stateCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allStates.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedStates()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedStates()})}},{key:"resetSelectedStates",value:function(){this.states=[],this.stateCtrl.reset()}},{key:"updateSelectedStates",value:function(){console.log("in updateSelectedStates (in state-selector)"),this.states.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.states)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.states.push(e),t.chipInput.clear(),this.stateCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.states.indexOf(t);e>=0&&this.states.splice(e,1),this.updateSelectedStates()}},{key:"selected",value:function(t){this.states.push(t.option.viewValue),this.stateInput.nativeElement.value="",this.stateInput.nativeElement.blur(),this.stateCtrl.setValue(null),this.updateSelectedStates()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allStates.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["state-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(sH,5),2&t)&&(r.iGM(n=r.CRH())&&(e.stateInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"state-selector-dropdown"],["aria-label","State selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New state...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["stateInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a state:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,lH,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,uH,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.states),r.xp6(1),r.Q6J("formControl",e.stateCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredStates))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".state-selector-dropdown[_ngcontent-%COMP%]{width:100%}.state-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),hH=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.stateSelectorFilters=vq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.stateSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["state-panel"]],inputs:{isVisible:"isVisible"},decls:8,vars:2,consts:[["cdkDrag","",1,"state-selector-panel",3,"hidden"],[1,"state-selector-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"State"),r.qZA(),r.qZA(),r._UZ(7,"state-selector"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","state"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,dH],styles:[".state-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.state-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.state-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.state-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.state-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),pH=["projectInput"];function fH(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function gH(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,fH,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function _H(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var mH=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.projectsCtrl=new rU,this.projects=[],this.allProjects=[],this.selectorName="project"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getProjectSelectorConfigData().subscribe(function(e){t.allProjects=e.map(function(t){return t.project_key}),t.filteredProjects=t.projectsCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allProjects.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedProjects()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedProjects()})}},{key:"resetSelectedProjects",value:function(){this.projects=[],this.projectsCtrl.reset()}},{key:"updateSelectedProjects",value:function(){this.projects.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.projects)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.projects.push(e),t.chipInput.clear(),this.projectsCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.projects.indexOf(t);e>=0&&this.projects.splice(e,1),this.updateSelectedProjects()}},{key:"selected",value:function(t){this.projects.push(t.option.viewValue),this.projectInput.nativeElement.value="",this.projectInput.nativeElement.blur(),this.projectsCtrl.setValue(null),this.updateSelectedProjects()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allProjects.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["project-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(pH,5),2&t)&&(r.iGM(n=r.CRH())&&(e.projectInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"project-selector-dropdown"],["aria-label","Project selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New project...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["projectInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a project:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,gH,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,_H,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.projects),r.xp6(1),r.Q6J("formControl",e.projectsCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredProjects))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".project-selector-dropdown[_ngcontent-%COMP%]{width:100%}.project-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),vH=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.projectSelectorFilters=yq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.projectSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["project-panel"]],inputs:{isVisible:"isVisible"},decls:8,vars:1,consts:[["cdkDrag","",1,"project-selector-panel",3,"hidden"],[1,"project-selector-panel-card"],[3,"opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Project"),r.qZA(),r.qZA(),r._UZ(7,"project-selector"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&r.Q6J("hidden",!e.isVisible)},directives:[JO,$O,sB,iB,rB,aB,mH],styles:[".project-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.project-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.project-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.project-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.project-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),yH=n(93137),CH=Il({passive:!0}),bH=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._platform=e,this._ngZone=n,this._monitoredElements=new Map}return _createClass(t,[{key:"monitor",value:function(t){var e=this;if(!this._platform.isBrowser)return Oe.E;var n=Cl(t),i=this._monitoredElements.get(n);if(i)return i.subject;var o=new we.xQ,r="cdk-text-field-autofilled",a=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(r)&&(n.classList.remove(r),e._ngZone.run(function(){return o.next({target:t.target,isAutofilled:!1})})):(n.classList.add(r),e._ngZone.run(function(){return o.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",a,CH),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:o,unlisten:function(){n.removeEventListener("animationstart",a,CH)}}),o}},{key:"stopMonitoring",value:function(t){var e=Cl(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}},{key:"ngOnDestroy",value:function(){var t=this;
1this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(kl),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(kl),r.LFG(r.R0b))},token:t,providedIn:"root"}),t}(),OH=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sl]]}),t}(),PH=new r.OlP("MAT_INPUT_VALUE_ACCESSOR"),wH=["button","checkbox","file","hidden","image","radio","range","reset","submit"],MH=0,xH=Dp(function(){return _createClass(function t(e,n,i,o){_classCallCheck(this,t),this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=o})}()),kH=function(){var t=function(t){function e(t,n,i,o,r,a,s,c,l,u){var d;_classCallCheck(this,e),(d=_callSuper(this,e,[a,o,r,i]))._elementRef=t,d._platform=n,d._autofillMonitor=c,d._formField=u,d._uid="mat-input-"+MH++,d.focused=!1,d.stateChanges=new we.xQ,d.controlType="mat-input",d.autofilled=!1,d._disabled=!1,d._required=!1,d._type="text",d._readonly=!1,d._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return Tl().has(t)});var h=d._elementRef.nativeElement,p=h.nodeName.toLowerCase();return d._inputValueAccessor=s||h,d._previousNativeValue=d.value,d.id=d.id,n.IOS&&l.runOutsideAngular(function(){t.nativeElement.addEventListener("keyup",function(t){var e=t.target;!e.value&&0===e.selectionStart&&0===e.selectionEnd&&(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),d._isServer=!d._platform.isBrowser,d._isNativeSelect="select"===p,d._isTextarea="textarea"===p,d._isInFormField=!!u,d._isNativeSelect&&(d.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),d}return _inherits(e,t),_createClass(e,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=gl(t),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=gl(t)}},{key:"type",get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Tl().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(t){this._readonly=gl(t)}},{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_focusChanged",value:function(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var t,e,n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){var i=this._elementRef.nativeElement;this._previousPlaceholder=n,n?i.setAttribute("placeholder",n):i.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}},{key:"_validateType",value:function(){wH.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"_isInlineSelect",value:function(){var t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}}]),e}(xH);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(kl),r.Y36(LN,10),r.Y36(uU,8),r.Y36(bU,8),r.Y36(Jp),r.Y36(PH,10),r.Y36(bH),r.Y36(r.R0b),r.Y36(VB,8))},t.\u0275dir=r.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(t,e){1&t&&r.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(r.Ikx("disabled",e.disabled)("required",e.required),r.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),r.ekj("mat-input-server",e._isServer)("mat-native-select-inline",e._isInlineSelect()))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r._Bn([{provide:SB,useExisting:t}]),r.qOj,r.TTD]}),t}(),SH=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[Jp],imports:[[OH,zB,Sp],OH,zB]}),t}(),AH=["mat-calendar-body",""];function TH(t,e){if(1&t&&(r.TgZ(0,"tr",2),r.TgZ(1,"td",3),r._uU(2),r.qZA(),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Udp("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),r.uIk("colspan",n.numCols),r.x
1p6(1),r.hij(" ",n.label," ")}}function IH(t,e){if(1&t&&(r.TgZ(0,"td",3),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.Udp("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),r.uIk("colspan",n._firstRowOffset),r.xp6(1),r.hij(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function EH(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"td",7),r.NdJ("click",function(t){var e=r.CHM(n).$implicit;return r.oxw(2)._cellClicked(e,t)}),r.TgZ(1,"div",8),r._uU(2),r.qZA(),r._UZ(3,"div",9),r.qZA()}if(2&t){var i=e.$implicit,o=e.index,a=r.oxw().index,s=r.oxw();r.Udp("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),r.ekj("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",s._isActiveCell(a,o))("mat-calendar-body-range-start",s._isRangeStart(i.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(i.compareValue))("mat-calendar-body-in-range",s._isInRange(i.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(i.compareValue,a,o))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(i.compareValue,a,o))("mat-calendar-body-comparison-start",s._isComparisonStart(i.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(i.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(i.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(i.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(i.compareValue))("mat-calendar-body-in-preview",s._isInPreview(i.compareValue)),r.Q6J("ngClass",i.cssClasses)("tabindex",s._isActiveCell(a,o)?0:-1),r.uIk("data-mat-row",a)("data-mat-col",o)("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-selected",s._isSelected(i.compareValue)),r.xp6(1),r.ekj("mat-calendar-body-selected",s._isSelected(i.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(i.compareValue))("mat-calendar-body-today",s.todayValue===i.compareValue),r.xp6(1),r.hij(" ",i.displayValue," ")}}function DH(t,e){if(1&t&&(r.TgZ(0,"tr",4),r.YNc(1,IH,2,6,"td",5),r.YNc(2,EH,4,46,"td",6),r.qZA()),2&t){var n=e.$implicit,i=e.index,o=r.oxw();r.xp6(1),r.Q6J("ngIf",0===i&&o._firstRowOffset),r.xp6(1),r.Q6J("ngForOf",n)}}function RH(t,e){if(1&t&&(r.TgZ(0,"th",5),r.TgZ(1,"abbr",6),r._uU(2),r.qZA(),r.qZA()),2&t){var n=e.$implicit;r.uIk("aria-label",n.long),r.xp6(1),r.uIk("title",n.long),r.xp6(1),r.Oqu(n.narrow)}}var FH=["*"];function LH(t,e){}function ZH(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-month-view",5),r.NdJ("activeDateChange",function(t){return r.CHM(n),r.oxw().activeDate=t})("_userSelection",function(t){return r.CHM(n),r.oxw()._dateSelected(t)}),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)}}function NH(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-year-view",6),r.NdJ("activeDateChange",function(t){return r.CHM(n),r.oxw().activeDate=t})("monthSelected",function(t){return r.CHM(n),r.oxw()._monthSelectedInYearView(t)})("selectedChange",function(t){return r.CHM(n),r.oxw()._goToDateInView(t,"month")}),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function UH(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-multi-year-view",7),r.NdJ("activeDateChange",function(t){return r.CHM(n),r.oxw().activeDate=t})("yearSelected",function(t){return r.CHM(n),r.oxw()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return r.CHM(n),r.oxw()._goToDateInView(t,"year")}),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function VH(t,e){}var jH=["button"];function zH(t,e){1&t&&(r.O4$(),r.TgZ(0,"svg",3),r._UZ(1,"path",4),r.qZA())}var qH=[[["","matDatepickerToggleIcon",""]]],BH=["[matDatepickerToggleIcon]"],YH=[[["input","matStartDate",""]],[["input","matEndDate",""]]],GH=["input[matStartDate]","input[matEndDate]"],HH=function(){var t=function(){function t(){_classCallCheck(this,t),this.changes=new we.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Cho
1ose date",this.switchToMultiYearViewLabel="Choose month and year"}return _createClass(t,[{key:"formatYearRange",value:function(t,e){return"".concat(t," \u2013 ").concat(e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),JH=_createClass(function t(e,n,i,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,s=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,t),this.value=e,this.displayValue=n,this.ariaLabel=i,this.enabled=o,this.cssClasses=r,this.compareValue=a,this.rawValue=s}),WH=function(){var t=function(){function t(e,n){var i=this;_classCallCheck(this,t),this._elementRef=e,this._ngZone=n,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new r.vpe,this.previewChange=new r.vpe,this._enterHandler=function(t){if(i._skipNextFocus&&"focus"===t.type)i._skipNextFocus=!1;else if(t.target&&i.isRange){var e=i._getCellFromElement(t.target);e&&i._ngZone.run(function(){return i.previewChange.emit({value:e.enabled?e:null,event:t})})}},this._leaveHandler=function(t){null!==i.previewEnd&&i.isRange&&t.target&&QH(t.target)&&i._ngZone.run(function(){return i.previewChange.emit({value:null,event:t})})},n.runOutsideAngular(function(){var t=e.nativeElement;t.addEventListener("mouseenter",i._enterHandler,!0),t.addEventListener("focus",i._enterHandler,!0),t.addEventListener("mouseleave",i._leaveHandler,!0),t.addEventListener("blur",i._leaveHandler,!0)})}return _createClass(t,[{key:"_cellClicked",value:function(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}},{key:"_isSelected",value:function(t){return this.startValue===t||this.endValue===t}},{key:"ngOnChanges",value:function(t){var e=t.numCols,n=this.rows,i=this.numCols;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),(e||!this._cellWidth)&&(this._cellWidth=100/i+"%")}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}},{key:"_isActiveCell",value:function(t,e){var n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(function(){var n=t._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(t._skipNextFocus=!0),n.focus())})})}},{key:"_isRangeStart",value:function(t){return KH(t,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(t){return XH(t,this.startValue,this.endValue)}},{key:"_isInRange",value:function(t){return $H(t,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(t){return KH(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;var i=this.rows[e][n-1];if(!i){var o=this.rows[e-1];i=o&&o[o.length-1]}return i&&!this._isRangeEnd(i.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;var i=this.rows[e][n+1];if(!i){var o=this.rows[e+1];i=o&&o[0]}return i&&!this._isRangeStart(i.compareValue)}},{key:"_isComparisonEnd",value:function(t){return XH(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(t){return $H(t,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isComparisonIdentical",value:function(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}},{key:"_isPreviewStart",value:function(t){return KH(t,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(t){return XH(t,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(t){return $H(t,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getCellFromElement",value:function(t){var e;if(QH(t)?e=t:QH(t.parentNode)&&(e=t.parentNode),e){var n=e.getAttribute("data-mat-row"),i=e.getAttribute("data-mat-col");if(n&&i)return this.rows[parseInt(n)][parseInt(i)]}return null}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b))},t.\u0275cmp=r.Xpm({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[r.TTD],attrs:AH,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-e
1nd","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(r.YNc(0,TH,3,6,"tr",0),r.YNc(1,DH,3,2,"tr",1)),2&t&&(r.Q6J("ngIf",e._firstRowOffset<e.labelMinRequiredCells),r.xp6(1),r.Q6J("ngForOf",e.rows))},directives:[_t,ft,ht],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}
1.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t}();function QH(t){return"TD"===t.nodeName}function KH(t,e,n){return null!==n&&e!==n&&t<n&&t===e}function XH(t,e,n){return null!==e&&e!==n&&t>=e&&t===n}function $H(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}var tJ=_createClass(function t(e,n){_classCallCheck(this,t),this.start=e,this.end=n}),eJ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.selection=e,this._adapter=n,this._selectionChanged=new we.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}return _createClass(t,[{key:"updateSelection",value:function(t,e){var n=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:n})}},{key:"ngOnDestroy",value:function(){this._selectionChanged.complete()}},{key:"_isValidDateInstance",value:function(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(void 0),r.LFG(Zp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),nJ=function(){var t=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[null,t])}return _inherits(e,t),_createClass(e,[{key:"add",value:function(t){_get(_getPrototypeOf(e.prototype),"updateSelection",this).call(this,t,this)}},{key:"isValid",value:function(){return null!=this.selection&&this._isValidDateInstance(this.selection)}},{key:"isComplete",value:function(){return null!=this.selection}},{key:"clone",value:function(){var t=new e(this._adapter);return t.updateSelection(this.selection,this),t}}]),e}(eJ);return t.\u0275fac=function(e){return new(e||t)(r.LFG(Zp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),iJ=function(){var t=function(t){function e(t){return _classCallCheck(this,e),_callSuper(this,e,[new tJ(null,null),t])}return _inherits(e,t),_createClass(e,[{key:"add",value:function(t){var n=this.selection,i=n.start,o=n.end;null==i?i=t:null==o?o=t:(i=t,o=null),_get(_getPrototypeOf(e.prototype),"updateSelection",this).call(this,new tJ(i,o),this)}},{key:"isValid",value:function(){var t=this.selection,e=t.start,n=t.end;return null==e&&null==n||(null!=e&&null!=n?this._isValidDateInstance(e)&&this._isValidDateInstance(n)&&this._adapter.compareDate(e,n)<=0:(null==e||this._isValidDateInstance(e))&&(null==n||this._isValidDateInstance(n)))}},{key:"isComplete",value:function(){return null!=this.selection.start&&null!=this.selection.end}},{key:"clone",value:function(){var t=new e(this._adapter);return t.updateSelection(this.selection,this),t}}]),e}(eJ);return t.\u0275fac=function(e){return new(e||t)(r.LFG(Zp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),oJ={provide:eJ,deps:[[new r.FiY,new r.tp0,eJ],Zp],useFactory:function(t,e){return t||new nJ(e)}},rJ={provide:eJ,deps:[[new r.FiY,new r.tp0,eJ],Zp],useFactory:function(t,e){return t||new iJ(e)}},aJ=new r.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY"),sJ=function(){var t=function(){function t(e){_classCallCheck(this,t),this._dateAdapter=e}return _createClass(t,[{key:"selectionFinished",value:function(t,e){var n=e.start,i=e.end;return null==n?n=t:null==i&&t&&this._dateAdapter.compareDate(t,n)>=0?i=t:(n=t,i=null),new tJ(n,i)}},{key:"createPreview",value:function(t,e){var n=null,i=null;return e.start&&!e.end&&t&&(n=e.start,i=t),new tJ(n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Zp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),cJ={provide:aJ,deps:[[new r.FiY,new r.tp0,aJ],Zp],useFactory:function(t,e){return t||new sJ(e)}},lJ=function(){var t=function(){function t(e,n,i,o,a){_classCallCheck(this,t),this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=i,this._dir=o,this._rangeStrategy=a,this._rerenderSubscription=sl.w.E
1MPTY,this.selectedChange=new r.vpe,this._userSelection=new r.vpe,this.activeDateChange=new r.vpe,this._activeDate=this._dateAdapter.today()}return _createClass(t,[{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof tJ?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Se.O)(null)).subscribe(function(){return t._init()})}},{key:"ngOnChanges",value:function(t){var e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(t){var e,n,i=t.value,o=this._dateAdapter.getYear(this.activeDate),r=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.createDate(o,r,i);this._selected instanceof tJ?(e=this._getDateInCurrentMonth(this._selected.start),n=this._getDateInCurrentMonth(this._selected.end)):e=n=this._getDateInCurrentMonth(this._selected),(e!==i||n!==i)&&this.selectedChange.emit(a),this._userSelection.emit({value:a,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&t.preventDefault());case 27:return void(null!=this._previewEnd&&!ll(t)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(t){(32===t.keyCode||13===t.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}},{key:"_init",value:function(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeek
1days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(t){this._matCalendarBody._focusActiveCell(t)}},{key:"_previewChanged",value:function(t){var e=t.event,n=t.value;if(this._rangeStrategy){var i=this._rangeStrategy.createPreview(n?n.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}},{key:"_initWeekdays",value:function(){var t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map(function(t,n){return{long:t,narrow:e[n]}});this._weekdays=n.slice(t).concat(n.slice(0,t))}},{key:"_createWeekCells",value:function(){var t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);var o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),r=this._shouldEnableDate(o),a=this._dateAdapter.format(o,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(o,"month"):void 0;this._weeks[this._weeks.length-1].push(new JH(n+1,e[n],a,r,s,this._getCellCompareValue(o),o))}}},{key:"_shouldEnableDate",value:function(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}},{key:"_getDateInCurrentMonth",value:function(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}},{key:"_hasSameMonthAndYear",value:function(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}},{key:"_getCellCompareValue",value:function(t){if(t){var e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(t){t instanceof tJ?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}},{key:"_canSelect",value:function(t){return!this.dateFilter||this.dateFilter(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(Np,8),r.Y36(Zp,8),r.Y36(ku,8),r.Y36(aJ,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(WH,5),2&t)&&(r.iGM(n=r.CRH())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[r.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"mat-calendar-abbr"]],template:function(t,e){1&t&&(r.TgZ(0,"table",0),r.TgZ(1,"thead",1),r.TgZ(2,"tr"),r.YNc(3,RH,3,3,"th",2),r.qZA(),r.TgZ(4,"tr"),r._UZ(5,"th",3),r.qZA(),r.qZA(),r.TgZ(6,"tbody",4),r.NdJ("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keyup",function(t){return e._handleCalendarBodyKeyup(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),r.qZA(),r.qZA()),2&t&&(r.xp6(3),r.Q6J("ngForOf",e._weekdays),r.xp6(3),r.Q6J("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[ft,WH],encapsulation:2,changeDetection:0}),t}(),uJ=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._changeDetectorRef=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=sl.w.E
1MPTY,this.selectedChange=new r.vpe,this.yearSelected=new r.vpe,this.activeDateChange=new r.vpe,this._activeDate=this._dateAdapter.today()}return _createClass(t,[{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),dJ(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof tJ?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Se.O)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate)-hJ(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<24;n++)i.push(e+n),4==i.length&&(this._years.push(i.map(function(e){return t._createCellForYear(e)})),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(t){var e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-hJ(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-hJ(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(t){(32===t.keyCode||13===t.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}},{key:"_getActiveCell",value:function(){return hJ(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(t){var e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new JH(t,n,n,this._shouldEnableYear(t),i)}},{key:"_shouldEnableYear",value:function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedYear",value:function(t){if(this._selectedYear=null,t instanceof tJ){var e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(Zp,8),r.Y36(ku,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(WH,5),2&t)&&(r.iGM(n=r.CRH())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(t,e){1&t&&(r.TgZ(0,"table",0),r.TgZ(1,"thead",1),r.TgZ(2,"tr"),r._UZ(3,"th",2),r.qZA(),r.qZA(),r.TgZ(4,"tbody",3),r.NdJ("selectedValueChange",function(t){return e._yearSelected(t)})("keyup",function(t){return e._handleCalendarBodyKeyup(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),r.qZA(),r.qZA()),2&t&&(r.xp6(4),r.Q6J("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},directives:[WH],encapsulation:2,changeDetection:0}),t}();function dJ(t,e,n,i,o){var r=t.getYear(e),a=t.getYear(n),s=pJ(t,i,o);return Math.floor((r-s)/24)===Math.floor((a-s)/24)}function hJ(t,e,n,i){return function(t,e){return(t%24+24)%24}(t.getYear(e)-pJ(t,n,i))}function pJ(t,e,n){var i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}var fJ=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=i,this._dir=o,this._rerenderSubscription=sl.w.E
1MPTY,this.selectedChange=new r.vpe,this.monthSelected=new r.vpe,this.activeDateChange=new r.vpe,this._activeDate=this._dateAdapter.today()}return _createClass(t,[{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof tJ?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Se.O)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_monthSelected",value:function(t){var e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);var i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(t){(32===t.keyCode||13===t.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}},{key:"_init",value:function(){var t=this;this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(n){return n.map(function(n){return t._createCellForMonth(n,e[n])})}),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_getMonthInCurrentYear",value:function(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}},{key:"_createCellForMonth",value:function(t,e){var n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),o=this.dateClass?this.dateClass(n,"year"):void 0;return new JH(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),o)}},{key:"_shouldEnableMonth",value:function(t){var e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(t,e){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(t,e){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedMonth",value:function(t){this._selectedMonth=t instanceof tJ?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(Np,8),r.Y36(Zp,8),r.Y36(ku,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-year-view"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(WH,5),2&t)&&(r.iGM(n=r.CRH())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(t,e){1&t&&(r.TgZ(0,"table",0),r.TgZ(1,"thead",1),r.TgZ(2,"tr"),r._UZ(3,"th",2),r.qZA(),r.qZA(),r.TgZ(4,"tbody",3),r.NdJ("selectedValueChange",function(t){return e._monthSelected(t)})("keyup",function(t){return e._handleCalendarBodyKeyup(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),r.qZA(),r.qZA()),2&t&&(r.xp6(4),r.Q6J("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},directives:[WH],encapsulation:2,changeDetection:0}),t}(),gJ=0,_J=function(){var t=function(){function t(e,n,i,o,r){_classCallCheck(this,t),this._intl=e,this.calendar=n,this._dateAdapter=i,this._dateFormats=o,this._buttonDescriptionId="mat-calendar-button-"+gJ++,this.calendar.stateChanges.subscribe(function(){return r.markForCheck()})}return _createClass(t,[{key:"periodButtonText",get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var t=this._dateAdapter.getYear(this.calendar.activeDate)-hJ(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1
1));return this._intl.formatYearRange(n,i)}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}},{key:"currentPeriodClicked",value:function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):dJ(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(HH),r.Y36((0,r.Gpc)(function(){return mJ})),r.Y36(Zp,8),r.Y36(Np,8),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:FH,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"button",2),r.NdJ("click",function(){return e.currentPeriodClicked()}),r.TgZ(3,"span"),r._uU(4),r.qZA(),r._UZ(5,"div",3),r.qZA(),r._UZ(6,"div",4),r.Hsn(7),r.TgZ(8,"button",5),r.NdJ("click",function(){return e.previousClicked()}),r.qZA(),r.TgZ(9,"button",6),r.NdJ("click",function(){return e.nextClicked()}),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.uIk("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),r.xp6(1),r.uIk("id",e._buttonDescriptionId),r.xp6(1),r.Oqu(e.periodButtonText),r.xp6(1),r.ekj("mat-calendar-invert","month"!==e.calendar.currentView),r.xp6(3),r.Q6J("disabled",!e.previousEnabled()),r.uIk("aria-label",e.prevButtonLabel),r.xp6(1),r.Q6J("disabled",!e.nextEnabled()),r.uIk("aria-label",e.nextButtonLabel))},directives:[OP,_u],encapsulation:2,changeDetection:0}),t}(),mJ=function(){var t=function(){function t(e,n,i,o){var a=this;_classCallCheck(this,t),this._dateAdapter=n,this._dateFormats=i,this._changeDetectorRef=o,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new r.vpe,this.yearSelected=new r.vpe,this.monthSelected=new r.vpe,this.viewChanged=new r.vpe(!0),this._userSelection=new r.vpe,this.stateChanges=new we.xQ,this._intlChanges=e.changes.subscribe(function(){o.markForCheck(),a.stateChanges.next()})}return _createClass(t,[{key:"startAt",get:function(){return this._startAt},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof tJ?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(t){var e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}},{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new Zq(this.headerComponent||_J),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(t){var e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell(!1)}},{key:"updateTodaysDate",value:function(){this._getCurrentViewComponent()._init()}},{key:"_dateSelected",value:function(t){var e=t.value;(this.selected instanceof tJ||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}},{key:"_yearSelectedInMultiYearView",value:function(t){this.yearSelected.emit(t)}},{key:"_monthSelectedInYearView",value:function(t){this.monthSelected.emit(t)}},{key:"_goToDateInView",value:function(t,e){this.activeDate=t,this.currentView=e}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(HH),r.Y36(Zp,8),r.Y36(Np,8),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(lJ,5),r.Gf(fJ,5),r.Gf(uJ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.monthView=n.first),r.iGM(n=r.CRH())&&(e.year
1View=n.first),r.iGM(n=r.CRH())&&(e.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[r._Bn([oJ]),r.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(r.YNc(0,LH,0,0,"ng-template",0),r.TgZ(1,"div",1),r.YNc(2,ZH,1,8,"mat-month-view",2),r.YNc(3,NH,1,6,"mat-year-view",3),r.YNc(4,UH,1,6,"mat-multi-year-view",4),r.qZA()),2&t&&(r.Q6J("cdkPortalOutlet",e._calendarHeaderPortal),r.xp6(1),r.Q6J("ngSwitch",e.currentView),r.xp6(1),r.Q6J("ngSwitchCase","month"),r.xp6(1),r.Q6J("ngSwitchCase","year"),r.xp6(1),r.Q6J("ngSwitchCase","multi-year"))},directives:[zq,Cu,Ct,bt,lJ,fJ,uJ],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-abbr{text-decoration:none}\n'],encapsulation:2,changeDetection:0}),t}(),vJ={transformPanel:Eu("transformPanel",[Nu("void => enter-dropdown",Du("120ms cubic-bezier(0, 0, 0.2, 1)",Zu([Fu({opacity:0,transform:"scale(1, 0.8)"}),Fu({opacity:1,transform:"scale(1, 1)"})]))),Nu("void => enter-dialog",Du("150ms cubic-bezier(0, 0, 0.2, 1)",Zu([Fu({opacity:0,transform:"scale(0.7)"}),Fu({transform:"none",opacity:1})]))),Nu("* => void",Du("100ms linear",Fu({opacity:0})))]),fadeInCalendar:Eu("fadeInCalendar",[Lu("void",Fu({opacity:0})),Lu("enter",Fu({opacity:1})),Nu("void => *",Du("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},yJ=0,CJ=new r.OlP("mat-datepicker-scroll-strategy"),bJ={provide:CJ,deps:[RY],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},OJ=Tp(function(){return _createClass(function t(e){_classCallCheck(this,t),this._elementRef=e})}()),PJ=function(){var t=function(t){function e(t,n,i,o,r,a){var s;return _classCallCheck(this,e),(s=_callSuper(this,e,[t]))._changeDetectorRef=n,s._globalModel=i,s._dateAdapter=o,s._rangeSelectionStrategy=r,s._subscriptions=new sl.w,s._animationDone=new we.xQ,s._actionsPortal=null,s._closeButtonText=a.closeCalendarLabel,s}return _inherits(e,t),_createClass(e,[{key:"ngOnInit",value:function(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}},{key:"ngAfterViewInit",value:function(){var t=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),this._animationDone.complete()}},{key:"_handleUserSelection",value:function(t){var e=this._model.selection,n=t.value,i=e instanceof tJ;if(i&&this._rangeSelectionStrategy){var o=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(o,this)}else n&&(i||!this._dateAdapter.sameDate(n,e))&&this._model.add(n);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef.markForCheck()}},{key:"_getSelected",value:function(){return this._model.selection}},{key:"_applyPendingSelection",value:function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}]),e}(OJ);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(eJ),r.Y36(Zp),r.Y36(aJ,8),r.Y36(HH))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(mJ,5),2&t)&&(r.iGM(n=r.CRH())&&(e._calendar=n.first))},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&r.WFA("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(r.d8E("@transformPanel",e._animationState),r.ekj("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[r.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-calendar",1),r.NdJ("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),r.qZA(),r.YNc(2,VH,0,0,"ng-template",2),r.TgZ(3,"button",3),r.NdJ("focus",function(){return e._closeButtonF
1ocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),r._uU(4),r.qZA(),r.qZA()),2&t&&(r.ekj("mat-datepicker-content-container-with-actions",e._actionsPortal),r.xp6(1),r.Q6J("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),r.xp6(1),r.Q6J("cdkPortalOutlet",e._actionsPortal),r.xp6(1),r.ekj("cdk-visually-hidden",!e._closeButtonFocused),r.Q6J("color",e.color||"primary"),r.xp6(1),r.Oqu(e._closeButtonText))},directives:[au,mJ,ht,zq,OP],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[vJ.transformPanel,vJ.fadeInCalendar]},changeDetection:0}),t}(),wJ=function(){var t=function(){function t(e,n,i,o,a,s,c,l,u){_classCallCheck(this,t),this._overlay=n,this._ngZone=i,this._viewContainerRef=o,this._dateAdapter=s,this._dir=c,this._model=u,this._inputStateChanges=sl.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new r.vpe,this.monthSelected=new r.vpe,this.viewChanged=new r.vpe(!0),this.openedStream=new r.vpe,this.closedStream
1=new r.vpe,this._opened=!1,this.id="mat-datepicker-"+yJ++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass="".concat(this.id,"-backdrop"),this.stateChanges=new we.xQ,this._scrollStrategy=a}return _createClass(t,[{key:"startAt",get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"color",get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(t){this._color=t}},{key:"touchUi",get:function(){return this._touchUi},set:function(t){this._touchUi=gl(t)}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(t){var e=gl(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}},{key:"restoreFocus",get:function(){return this._restoreFocus},set:function(t){this._restoreFocus=gl(t)}},{key:"panelClass",get:function(){return this._panelClass},set:function(t){this._panelClass=bl(t)}},{key:"opened",get:function(){return this._opened},set:function(t){gl(t)?this.open():this.close()}},{key:"_getMinDate",value:function(){return this.datepickerInput&&this.datepickerInput.min}},{key:"_getMaxDate",value:function(){return this.datepickerInput&&this.datepickerInput.max}},{key:"_getDateFilter",value:function(){return this.datepickerInput&&this.datepickerInput.dateFilter}},{key:"ngOnChanges",value:function(t){var e=t.xPosition||t.yPosition;if(e&&!e.firstChange&&this._overlayRef){var n=this._overlayRef.getConfig().positionStrategy;n instanceof MY&&(this._setConnectedPositions(n),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}},{key:"select",value:function(t){this._model.add(t)}},{key:"_selectYear",value:function(t){this.yearSelected.emit(t)}},{key:"_selectMonth",value:function(t){this.monthSelected.emit(t)}},{key:"_viewChanged",value:function(t){this.viewChanged.emit(t)}},{key:"registerInput",value:function(t){var e=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(function(){return e.stateChanges.next(void 0)}),this._model}},{key:"registerActions",value:function(t){this._actionsPortal=t}},{key:"removeActions",value:function(t){t===this._actionsPortal&&(this._actionsPortal=null)}},{key:"open",value:function(){this._opened||this.disabled||(this._focusedElementBeforeOpen=Fl(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}},{key:"close",value:function(){var t=this;if(this._opened){if(this._componentRef){var e=this._componentRef.instance;e._startExitAnimation(),e._animationDone.pipe((0,ke.q)(1)).subscribe(function(){return t._destroyOverlay()})}var n=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(n)):n()}}},{key:"_applyPendingSelection",value:function(){var t,e;null===(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===e||e._applyPendingSelection()}},{key:"_forwardContentValues",value:function(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}},{key:"_openOverlay",value:function(){var t=this;this._destroyOverlay();var e=this.touchUi,n=this.datepickerInput.getOverlayLabelId(),i=new Zq(PJ,this._viewContainerRef),o=this._overlayRef=this._overlay.create(new gY({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")})),r=o.overlayElement;r.setAttribute("role","dialog"),n&&r.setAttribute("aria-labelledby",n),e&&r.setAttribute("aria-modal","true"),this._getCloseStream(o).subscribe(function(e){e&&e.preventDefault(),t.close()}),this._componentRef=o.attach(i),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(function(){return o.updatePosition()})}},{key:"_destroyOverlay",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}},{key:"_getDialogStrategy",value:function(){return this._overlay.position().global().centerHorizontally().centerVertically()}},{key:"_getDropdownStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}},{key:"_setConnectedPositions",value:function(t){var e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",o="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:o,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:o},{originX:n,originY:o,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:o}])}},{key:"_getCloseStream",value:function(t){var e=this;return(0,oO.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,Te.h)(function(t){return 27===t.keyCode&&!ll(t)||e.datepickerInput&&ll(t,"altKey")&&38===t.keyCode})))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(RY),r.Y36(r.R0b),r.Y36(r.s_b),r.Y36(CJ),r.Y36(Zp,8),r.Y36(ku,8),r.Y36(l,8),r.Y36(eJ))},t.\u0275dir=r.lG2({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"
1calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[r.TTD]}),t}(),MJ=_createClass(function t(e,n){_classCallCheck(this,t),this.target=e,this.targetElement=n,this.value=this.target.value}),xJ=function(){var t=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this._elementRef=e,this._dateAdapter=n,this._dateFormats=i,this.dateChange=new r.vpe,this.dateInput=new r.vpe,this.stateChanges=new we.xQ,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=sl.w.EMPTY,this._localeSubscription=sl.w.EMPTY,this._parseValidator=function(){return o._lastValueValid?null:{matDatepickerParse:{text:o._elementRef.nativeElement.value}}},this._filterValidator=function(t){var e=o._dateAdapter.getValidDateOrNull(o._dateAdapter.deserialize(t.value));return!e||o._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=function(t){var e=o._dateAdapter.getValidDateOrNull(o._dateAdapter.deserialize(t.value)),n=o._getMinDate();return!n||!e||o._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=function(t){var e=o._dateAdapter.getValidDateOrNull(o._dateAdapter.deserialize(t.value)),n=o._getMaxDate();return!n||!e||o._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(function(){o._assignValueProgrammatically(o.value)})}return _createClass(t,[{key:"value",get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(t){this._assignValueProgrammatically(t)}},{key:"disabled",get:function(){return!!this._disabled||this._parentDisabled()},set:function(t){var e=gl(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}},{key:"_getValidators",value:function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}},{key:"_registerModel",value:function(t){var e=this;this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(t){if(e._shouldHandleChangeEvent(t)){var n=e._getValueFromModel(t.selection);e._lastValueValid=e._isValidValue(n),e._cvaOnChange(n),e._onTouched(),e._formatValue(n),e.dateInput.emit(new MJ(e,e._elementRef.nativeElement)),e.dateChange.emit(new MJ(e,e._elementRef.nativeElement))}})}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnChanges",value:function(t){kJ(t,this._dateAdapter)&&this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}},{key:"registerOnValidatorChange",value:function(t){this._validatorOnChange=t}},{key:"validate",value:function(t){return this._validator?this._validator(t):null}},{key:"writeValue",value:function(t){this._assignValueProgrammatically(t)}},{key:"registerOnChange",value:function(t){this._cvaOnChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_onKeydown",value:function(t){t.altKey&&40===t.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}},{key:"_onInput",value:function(t){var e=this._lastValueValid,n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this.dateInput.emit(new MJ(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new MJ(this,this._elementRef.nativeElement))}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}},{key:"_assignValue",value:function(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pe
1ndingValue=t}},{key:"_isValidValue",value:function(t){return!t||this._dateAdapter.isValid(t)}},{key:"_parentDisabled",value:function(){return!1}},{key:"_assignValueProgrammatically",value:function(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}},{key:"_matchesFilter",value:function(t){var e=this._getDateFilter();return!e||e(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(Zp,8),r.Y36(Np,8))},t.\u0275dir=r.lG2({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.TTD]}),t}();function kJ(t,e){for(var n=0,i=Object.keys(t);n<i.length;n++){var o=t[i[n]],r=o.previousValue,a=o.currentValue;if(!e.isDateInstance(r)||!e.isDateInstance(a))return!0;if(!e.sameDate(r,a))return!0}return!1}var SJ=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t}(),AJ=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._intl=e,this._changeDetectorRef=n,this._stateChanges=sl.w.EMPTY;var o=Number(i);this.tabIndex=o||0===o?o:null}return _createClass(t,[{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(t){this._disabled=gl(t)}},{key:"ngOnChanges",value:function(t){t.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}},{key:"_watchStateChanges",value:function(){var t=this,e=this.datepicker?this.datepicker.stateChanges:(0,ge.of)(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ge.of)(),i=this.datepicker?(0,oO.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ge.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,oO.T)(this._intl.changes,e,n,i).subscribe(function(){return t._changeDetectorRef.markForCheck()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(HH),r.Y36(r.sBO),r.$8M("tabindex"))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,SJ,5),2&t)&&(r.iGM(i=r.CRH())&&(e._customIcon=i.first))},viewQuery:function(t,e){var n;(1&t&&r.Gf(jH,5),2&t)&&(r.iGM(n=r.CRH())&&(e._button=n.first))},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._open(t)}),2&t&&(r.uIk("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),r.ekj("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[r.TTD],ngContentSelectors:BH,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,e){1&t&&(r.F$t(qH),r.TgZ(0,"button",0,1),r.YNc(2,zH,2,0,"svg",2),r.Hsn(3),r.qZA()),2&t&&(r.Q6J("disabled",e.disabled)("disableRipple",e.disableRipple),r.uIk("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),r.xp6(2),r.Q6J("ngIf",!e._customIcon))},directives:[OP,_t],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),t}(),TJ=new r.OlP("MAT_DATE_RANGE_INPUT_PARENT"),IJ=Dp(function(){var t=function(t){function e(t,n,i,o,r,a,s,c){var l;return _classCallCheck(this,e),(l=_callSuper(this,e,[n,s,c]))._rangeInput=t,l._defaultErrorStateMatcher=i,l._injector=o,l._parentForm=r,l._parentFormGroup=a,l}return _inherits(e,t),_createClass(e,[{key:"ngOnInit",value:function(){var t=this._injector.get(LN,null,r.XFs.Self|r.XFs.Optional);t&&(this.ngControl=t)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"isEmpty",value:function(){return 0===this._elementRef.nativeElement.value.length}},{key:"_getPlaceholder",value:function(){return this._elementRef.nativeElement.placeholder}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"_onInput",value:function(t){_get(_getPrototypeOf(e.prototype),"_onInput",this).call(this,t),this._rangeInput._handleChildValueChange()}},{key:"_openPopup",value:function(){this._rangeInput._openDatepicker()}},{key:"_getMinDate",value:function(){return this._rangeInput.min}},{key:"_getMaxDate",value:function(){return this._rangeInput.max}},{key:"_getDateFilter",value:function(){return this._rangeInput.dateFilter}},{key:"_parentDisabled",value:function(){return this._rangeInput._groupDisabled}},{key:"_shouldHandleChangeEvent",value:function(t){var e=t.source;return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}},{key:"_assignValueProgrammatically",value:function(t){_get(_getPrototypeOf(e.prototype),"_assignValueProgrammatically",this).call(this,t);var n=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==n||n._validatorOnChange()}}]),e}(xJ);return t.\u0275fac=function(e){return new(e||t)(r.Y36(TJ),r.Y36(r.SBq),r.Y36(Jp),r.Y36(r.zs3),r.Y36(uU,8),r.Y36(bU,8),r.Y36(Zp,8),r.Y36(Np,8))},t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t}()),EJ=function(){var t=function(t){function e(t,n,i,o,r,a,s,c){var l,u;return _classCallCheck(this,e),(u=_callSuper(this,e,[t,n,i,o,r,a,s,c]))._startValidator=function(t){var e=u._dateAdapter.getValidDateOrNull(u._dateAdapter.deserialize(t.value)),n=u._model?u._model.selection.end:null;return!e||!n||u._dateAdapter.compareDate(e,n)<=0?null:{matStartDateInvalid:{end:n,actual:e}}},u._validator=_N.compose([].concat(_toConsumableArray(_get((l=_assertThisInitialized(u),_getPrototypeOf(e.prototype)),"_getValidators",l).call(l)),[u._startValidator])),u}return _inherits(e,t),_createClass(e,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(e.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){_get(_getPrototypeOf(e.prototype),"ngDoC
1heck",this).call(this)}},{key:"_getValueFromModel",value:function(t){return t.start}},{key:"_shouldHandleChangeEvent",value:function(t){var n;return!(!_get(_getPrototypeOf(e.prototype),"_shouldHandleChangeEvent",this).call(this,t)||((null===(n=t.oldValue)||void 0===n?void 0:n.start)?t.selection.start&&!this._dateAdapter.compareDate(t.oldValue.start,t.selection.start):!t.selection.start))}},{key:"_assignValueToModel",value:function(t){if(this._model){var e=new tJ(t,this._model.selection.end);this._model.updateSelection(e,this)}}},{key:"_formatValue",value:function(t){_get(_getPrototypeOf(e.prototype),"_formatValue",this).call(this,t),this._rangeInput._handleChildValueChange()}},{key:"getMirrorValue",value:function(){var t=this._elementRef.nativeElement,e=t.value;return e.length>0?e:t.placeholder}}]),e}(IJ);return t.\u0275fac=function(e){return new(e||t)(r.Y36(TJ),r.Y36(r.SBq),r.Y36(Jp),r.Y36(r.zs3),r.Y36(uU,8),r.Y36(bU,8),r.Y36(Zp,8),r.Y36(Np,8))},t.\u0275dir=r.lG2({type:t,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(t,e){1&t&&r.NdJ("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("keydown",function(t){return e._onKeydown(t)})("blur",function(){return e._onBlur()}),2&t&&(r.Ikx("disabled",e.disabled),r.uIk("id",e._rangeInput.id)("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r._Bn([{provide:sN,useExisting:t,multi:!0},{provide:pN,useExisting:t,multi:!0}]),r.qOj]}),t}(),DJ=function(){var t=function(t){function e(t,n,i,o,r,a,s,c){var l,u;return _classCallCheck(this,e),(u=_callSuper(this,e,[t,n,i,o,r,a,s,c]))._endValidator=function(t){var e=u._dateAdapter.getValidDateOrNull(u._dateAdapter.deserialize(t.value)),n=u._model?u._model.selection.start:null;return!e||!n||u._dateAdapter.compareDate(e,n)>=0?null:{matEndDateInvalid:{start:n,actual:e}}},u._validator=_N.compose([].concat(_toConsumableArray(_get((l=_assertThisInitialized(u),_getPrototypeOf(e.prototype)),"_getValidators",l).call(l)),[u._endValidator])),u}return _inherits(e,t),_createClass(e,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(e.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){_get(_getPrototypeOf(e.prototype),"ngDoCheck",this).call(this)}},{key:"_getValueFromModel",value:function(t){return t.end}},{key:"_shouldHandleChangeEvent",value:function(t){var n;return!(!_get(_getPrototypeOf(e.prototype),"_shouldHandleChangeEvent",this).call(this,t)||((null===(n=t.oldValue)||void 0===n?void 0:n.end)?t.selection.end&&!this._dateAdapter.compareDate(t.oldValue.end,t.selection.end):!t.selection.end))}},{key:"_assignValueToModel",value:function(t){if(this._model){var e=new tJ(this._model.selection.start,t);this._model.updateSelection(e,this)}}},{key:"_onKeydown",value:function(t){8===t.keyCode&&!this._elementRef.nativeElement.value&&this._rangeInput._startInput.focus(),_get(_getPrototypeOf(e.prototype),"_onKeydown",this).call(this,t)}}]),e}(IJ);return t.\u0275fac=function(e){return new(e||t)(r.Y36(TJ),r.Y36(r.SBq),r.Y36(Jp),r.Y36(r.zs3),r.Y36(uU,8),r.Y36(bU,8),r.Y36(Zp,8),r.Y36(Np,8))},t.\u0275dir=r.lG2({type:t,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("keydown",function(t){return e._onKeydown(t)})("blur",function(){return e._onBlur()}),2&t&&(r.Ikx("disabled",e.disabled),r.uIk("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r._Bn([{provide:sN,useExisting:t,multi:!0},{provide:pN,useExisting:t,multi:!0}]),r.qOj]}),t}(),RJ=0,FJ=function(){var t=function(){function t(e,n,i,o,r){if(_classCallCheck(this,t),this._changeDetectorRef=e,this._elementRef=n,this._dateAdapter=o,this._formField=r,this._closedSubscription=sl.w.E
1MPTY,this.id="mat-date-range-input-"+RJ++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new we.xQ,null==r?void 0:r._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){var a=n.nativeElement.classList;a.add("mat-mdc-input-element"),a.add("mat-mdc-form-field-input-control")}this.ngControl=i}return _createClass(t,[{key:"value",get:function(){return this._model?this._model.selection:null}},{key:"shouldLabelFloat",get:function(){return this.focused||!this.empty}},{key:"placeholder",get:function(){var t,e,n=(null===(t=this._startInput)||void 0===t?void 0:t._getPlaceholder())||"",i=(null===(e=this._endInput)||void 0===e?void 0:e._getPlaceholder())||"";return n||i?"".concat(n," ").concat(this.separator," ").concat(i):""}},{key:"rangePicker",get:function(){return this._rangePicker},set:function(t){var e=this;t&&(this._model=t.registerInput(this),this._rangePicker=t,this._closedSubscription.unsubscribe(),this._closedSubscription=t.closedStream.subscribe(function(){var t,n;null===(t=e._startInput)||void 0===t||t._onTouched(),null===(n=e._endInput)||void 0===n||n._onTouched()}),this._registerModel(this._model))}},{key:"required",get:function(){return!!this._required},set:function(t){this._required=gl(t)}},{key:"dateFilter",get:function(){return this._dateFilter},set:function(t){var e=this._startInput,n=this._endInput,i=e&&e._matchesFilter(e.value),o=n&&n._matchesFilter(e.value);this._dateFilter=t,e&&e._matchesFilter(e.value)!==i&&e._validatorOnChange(),n&&n._matchesFilter(n.value)!==o&&n._validatorOnChange()}},{key:"min",get:function(){return this._min},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._revalidate())}},{key:"max",get:function(){return this._max},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._revalidate())}},{key:"disabled",get:function(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled},set:function(t){var e=gl(t);e!==this._groupDisabled&&(this._groupDisabled=e,this.stateChanges.next(void 0))}},{key:"errorState",get:function(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}},{key:"empty",get:function(){var t=!!this._startInput&&this._startInput.isEmpty(),e=!!this._endInput&&this._endInput.isEmpty();return t&&e}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedBy=t.length?t.join(" "):null}},{key:"onContainerClick",value:function(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}},{key:"ngAfterContentInit",value:function(){var t=this;this._model&&this._registerModel(this._model),(0,oO.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(function(){t.stateChanges.next(void 0)})}},{key:"ngOnChanges",value:function(t){kJ(t,this._dateAdapter)&&this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}},{key:"getStartValue",value:function(){return this.value?this.value.start:null}},{key:"getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"getOverlayLabelId",value:function(){return this._formField?this._formField.getLabelId():null}},{key:"_getInputMirrorValue",value:function(){return this._startInput?this._startInput.getMirrorValue():""}},{key:"_shouldHidePlaceholders",value:function(){return!!this._startInput&&!this._startInput.isEmpty()}},{key:"_handleChildValueChange",value:function(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}},{key:"_openDatepicker",value:function(){this._rangePicker&&this._rangePicker.open()}},{key:"_shouldHideSeparator",value:function(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}},{key:"_getAriaLabelledby",value:function(){var t=this._formField;return t&&t._hasFloatingLabel()?t._labelId:null}},{key:"_updateFocus",value:function(t){this.focused=null!==t,this.stateChanges.next()}},{key:"_revalidate",value:function(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}},{key:"_registerModel",value:function(t){this._startInput&&this._startInput._registerModel(t),this._endInput&&this._endInput._registerModel(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(FN,
110),r.Y36(Zp,8),r.Y36(VB,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-date-range-input"]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,EJ,5),r.Suo(n,DJ,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._startInput=i.first),r.iGM(i=r.CRH())&&(e._endInput=i.first))},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(t,e){2&t&&(r.uIk("id",null)("aria-labelledby",e._getAriaLabelledby())("aria-describedby",e._ariaDescribedBy)("data-mat-calendar",e.rangePicker?e.rangePicker.id:null),r.ekj("mat-date-range-input-hide-placeholders",e._shouldHidePlaceholders())("mat-date-range-input-required",e.required))},inputs:{separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled"},exportAs:["matDateRangeInput"],features:[r._Bn([{provide:SB,useExisting:t},{provide:TJ,useExisting:t}]),r.TTD],ngContentSelectors:GH,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(t,e){1&t&&(r.F$t(YH),r.TgZ(0,"div",0),r.NdJ("cdkFocusChange",function(t){return e._updateFocus(t)}),r.TgZ(1,"div",1),r.Hsn(2),r.TgZ(3,"span",2),r._uU(4),r.qZA(),r.qZA(),r.TgZ(5,"span",3),r._uU(6),r.qZA(),r.TgZ(7,"div",4),r.Hsn(8,1),r.qZA(),r.qZA()),2&t&&(r.xp6(4),r.Oqu(e._getInputMirrorValue()),r.xp6(1),r.ekj("mat-date-range-input-separator-hidden",e._shouldHideSeparator()),r.xp6(1),r.Oqu(e.separator))},directives:[Cu],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner::-ms-clear,.mat-date-range-input-inner::-ms-reveal{display:none}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}.mat-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),t}(),LJ=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"_forwardContentValues",value:function(t){_get(_getPrototypeOf(e.prototype),"_forwardContentValues",this).call(this,t);var n=this.datepickerInput;n&&(t.comparisonStart=n.comparisonStart,t.comparisonEnd=n.comparisonEnd)}}]),e}(wJ);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r._Bn([rJ,cJ,{provide:wJ,useExisting:t}]),r.qOj],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t}(),ZJ=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[HH,bJ],imports:[[It,PP,VY,Mu,qq,Sp],eO]}),t}(),NJ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.currentDateValuesSubject=new we.xQ,this.resetDetected=!1,this.selectorName="date-visited"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getDateVisitedSelectorConfigData().subscribe(function(e){e&&e.length>0&&(t.dateMin=new Date(e[0].min),t.dateMax=new Date(e[0].max),t.selectedStartDate=t.dateMin,t.selectedEndDate=t.dateMax)},function(t){console.error("Error fetching date range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetDates())}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||(t.resetDetected=!0,t.resetDates())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentDateValues$=this.currentDateValuesSubject.pipe((0,dl.b)(300),(0,pl.x)(function(t,e){return t.dateMinValue===e.dateMinValue&&t.dateMaxValue===e.dateMaxValue}),(0,xe.w)(function(t){return(0,ge.of)(t)}),(0,yH.p)(300)),this.currentDateValues$.subscribe(function(e){var n=e.dateMinValue,i=e.dateMaxValue;!t.resetDetected&&n&&i?(t.dateVisitedSelectorData={dateMin:t.getIsoDate(n),dateMax:t.getIsoDate(i)},t.store.dispatch(tL(t.dateVisitedSelectorData))):t.resetDetected=!1})}},{key:"resetDates",value:function(){this.selectedStartDate=this.dateMin,this.selectedEndDate=this.dateMax,this.currentDateValuesSubject.next({dateMinValue:this.selectedStartDate,dateMaxValue:this.selectedEndDate})}},{key:"getIsoDate",value:function(t){return t.toISOString().split("T")[0]}},{key:"updateSelectedDates",value:function(){this.currentDateValuesSubject.next({dateMinValue:this.selectedStartDate,dateMaxValue:this.selectedEndDate})}},{key:"onDateChange",value:function(){this.selectedStartDate<this.dateMin&&(this.selectedStartDate=this.dateMin),this.selectedEndDate>this.dateMax&&(this.selectedEndDate=this.dateMax),this.updateSelectedDates()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["date-selector"]],decls:9,vars:6,consts:[["appearance","fill"],[3,"rangePicker","min","max"],["matStartDate","","placeholder","MM/DD/YYYY",3,"ngModel","ngModelChange","dateChange"],["matEndDate","","placeholder","MM/DD/YYYY",3,"ngModel","ngModelChange","dateChange"],["matSuffix","",3,"for"],["picker",""]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Enter a date range"),r.qZA(),r.TgZ(3,"mat-date-range-input",1),r.TgZ(4,"input",2),r.NdJ("ngModelChange",function(t){return e.selectedStartDate=t})("dateChange",function(){return e.onDateChange()}),r.qZA(),r.TgZ(5,"input",3),r.NdJ("ngModelChange",function(t){return e.selectedEndDate=t})("dateChange",function(){return e.onDateChange()}),r.qZA(),r.qZA(),r._UZ(6,"mat-datepicker-toggle",4),r._UZ(7,"mat-date-range-picker",null,5),r.qZA()),2&t){var n=r.MAs(8);r.xp6(3),r.Q6J("rangePicker",n)("min",e.dateMin)("max",e.dateMax),r.xp6(1),r.Q6J("ngModel",e.selectedStartDate),r.xp6(1),r.Q6J("ngModel",e.selectedEndDate),r.xp6(1),r.Q6J("for",n)}},directives:[jB,EB,FJ,EJ,uN,ZN,pU,DJ,AJ,LB,LJ],styles:[""]}),t}(),UJ=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.dateVisitedSelectorFilters=Cq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.dateVisitedSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["date-panel"]],inputs:{isVisible:"isVisible"},decls:8,vars:2,consts:[["cdkDrag","",1,"date-selector-panel",3,"hidden"],[1,"date-selector-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Date Visited"),r.qZA(),r.qZA(),r._UZ(7,"date-selector"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","date-visited"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,NJ],styles:[".date-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.date-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.date-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.date-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.date-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),VJ=["dataTypeInput"];function jJ(t,e){1&t&&(r.TgZ(0,"button",11),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function zJ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",9),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,jJ,3,0,"button",10),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function qJ(t,e){if(1&t&&(r.TgZ(0,"mat-option",12),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}var BJ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.dataTypeCtrl=new rU,this.dataTypes=[],this.allDataTypes=[],this.selectorName="data-type"}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.configService.getDataTypeSelectorConfigData().subscribe(function(e){t.allDataTypes=e.map(function(t){return t.data_type}),t.filteredDataTypes=t.dataTypeCtrl.valueChanges.pipe((0,Se.O)(null),(0,Me.U)(function(e){return e?t._filter(e):t.allDataTypes.slice()}))}),this.store.select(mL).subscribe(function(e){e&&t.resetSelectedDataTypes()}),this.store.select(vL).subscribe(function(e){e.includes(t.selectorName)||t.resetSelectedDataTypes()})}},{key:"resetSelectedDataTypes",value:function(){this.dataTypes=[],this.dataTypeCtrl.reset()}},{key:"updateSelectedDataTypes",value:function(){this.dataTypes.length>0?(this.selectorData={selector:this.selectorName,selection:_toConsumableArray(this.dataTypes)},this.store.dispatch(JF(this.selectorData))):this.store.dispatch(XF({filterName:this.selectorName}))}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&this.dataTypes.push(e),t.chipInput.clear(),this.dataTypeCtrl.setValue(null)}},{key:"remove",value:function(t){var e=this.dataTypes.indexOf(t);e>=0&&this.dataTypes.splice(e,1),this.updateSelectedDataTypes()}},{key:"selected",value:function(t){this.dataTypes.push(t.option.viewValue),this.dataTypeInput.nativeElement.value="",this.dataTypeInput.nativeElement.blur(),this.dataTypeCtrl.setValue(null),this.updateSelectedDataTypes()}},{key:"_filter",value:function(t){var e=t.toLowerCase();return this.allDataTypes.filter(function(t){return t.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["data-type-selector"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(VJ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.dataTypeInput=n.first))},decls:12,vars:8,consts:[["appearance","fill",1,"data-type-selector-dropdown"],["aria-label","Data type selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New data type...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["dataTypeInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a data type:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,zJ,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.NdJ("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,qJ,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.dataTypes),r.xp6(1),r.Q6J("formControl",e.dataTypeCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,6,e.filteredDataTypes))}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,WB,_t,QB,VP,_f],pipes:[St],styles:[".data-type-selector-dropdown[_ngcontent-%COMP%]{width:100%}.data-type-selector-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),YJ=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.dataTypeSelectorFilters=bq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.dataTypeSelectorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["data-type-panel"]],inputs:{isVisible:"isVisible"},decls:8,vars:2,consts:[["cdkDrag","",1,"data-type-selector-panel",3,"hidden"],[1,"data-type-selector-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Data Type"),r.qZA(),r.qZA(),r._UZ(7,"data-type-selector"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","data-type"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,BJ],styles:[".data-type-selector-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.data-type-selector-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.data-type-selector-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.data-type-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.data-type-selector-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),GJ=n(84323),HJ=n.n(GJ),JJ=["rangeSlider"],WJ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Percent Bare Ground",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-bare-ground"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentBareGroundIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Percent Bare Ground range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["percent-bare-ground-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(JJ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"percent-bare-ground-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".percent-bare-ground-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.percent-bare-ground-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.percent-bare-ground-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.percent-bare-ground-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .percent-bare-ground-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.percent-bare-ground-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.percent-bare-ground-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),QJ=["rangeSlider"],KJ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Percent Foliar Cover",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-foliar-cover"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentFoliarCoverIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Percent Foliar Cover range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["percent-foliar-cover-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(QJ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"percent-foliar-cover-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".percent-foliar-cover-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.percent-foliar-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.percent-foliar-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.percent-foliar-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .percent-foliar-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.percent-foliar-cover-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.percent-foliar-cover-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),XJ=["rangeSlider"],$J=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3}
1,this.title="Percent Litter Cover",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=new we.xQ,this.resetDetected=!1,this.sliderName="percent-litter-cover"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentLitterCoverIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Percent Litter Cover range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["percent-litter-cover-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(XJ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"percent-litter-cover-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".percent-litter-cover-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.percent-litter-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.percent-litter-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.percent-litter-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .percent-litter-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.percent-litter-cover-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.percent-litter-cover-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),tW=["rangeSlider"],eW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Percent Rock Fragment Cover",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-rock-fragment-cover"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentRockFragmentCoverIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Percent Rock Fragment Cover range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["percent-rock-fragment-cover-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(tW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"percent-rock-fragment-cover-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".percent-rock-fragment-cover-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.percent-rock-fragment-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.percent-rock-fragment-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.percent-rock-fragment-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .percent-rock-fragment-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.percent-rock-fragment-cover-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.percent-rock-fragment-cover-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),nW=["rangeSlider"],iW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Percent Lichen Cover",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-lichen-cover"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentLichenCoverIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Percent Lichen Cover range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["percent-lichen-cover-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(nW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"percent-lichen-cover-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".percent-lichen-cover-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.percent-lichen-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.percent-lichen-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.percent-lichen-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .percent-lichen-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.percent-lichen-cover-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.percent-lichen-cover-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),oW=["rangeSlider"],rW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3}
1,this.title="Percent Cyanobacteria Cover",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=new we.xQ,this.resetDetected=!1,this.sliderName="percent-cyanobacteria-cover"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentCyanobacteriaCoverIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Percent Cyanobacteria Cover range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["percent-cyanobacteria-cover-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(oW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"percent-cyanobacteria-cover-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".percent-cyanobacteria-cover-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.percent-cyanobacteria-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.percent-cyanobacteria-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.percent-cyanobacteria-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .percent-cyanobacteria-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.percent-cyanobacteria-cover-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.percent-cyanobacteria-cover-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),aW=["rangeSlider"],sW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Percent Moss Cover",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-moss-cover"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentMossCoverIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Percent Moss Cover range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["percent-moss-cover-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(aW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"percent-moss-cover-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".percent-moss-cover-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.percent-moss-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.percent-moss-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.percent-moss-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .percent-moss-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.percent-moss-cover-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.percent-moss-cover-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),cW=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.linePointInterceptIndicatorFilters=wq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.linePointInterceptIndicatorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["line-point-intercept-panel"]],inputs:{isVisible:"isVisible"},decls:38,vars:8,consts:[["cdkDrag","",1,"line-point-intercept-indicator-panel",3,"hidden"],[1,"line-point-intercept-indicator-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Percent Bare Ground"),r.qZA(),r.qZA(),r._UZ(7,"percent-bare-ground-range-slider"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"Percent Foliar Cover"),r.qZA(),r.qZA(),r._UZ(12,"percent-foliar-cover-range-slider"),r.qZA(),r.TgZ(13,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(14,"mat-expansion-panel-header"),r.TgZ(15,"mat-panel-title",3),r._uU(16,"Percent Litter C
1over"),r.qZA(),r.qZA(),r._UZ(17,"percent-litter-cover-range-slider"),r.qZA(),r.TgZ(18,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(19,"mat-expansion-panel-header"),r.TgZ(20,"mat-panel-title",3),r._uU(21,"Percent Rock Fragment Cover"),r.qZA(),r.qZA(),r._UZ(22,"percent-rock-fragment-cover-range-slider"),r.qZA(),r.TgZ(23,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(24,"mat-expansion-panel-header"),r.TgZ(25,"mat-panel-title",3),r._uU(26,"Percent Lichen Cover"),r.qZA(),r.qZA(),r._UZ(27,"percent-lichen-cover-range-slider"),r.qZA(),r.TgZ(28,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(29,"mat-expansion-panel-header"),r.TgZ(30,"mat-panel-title",3),r._uU(31,"Percent Cyanobacteria Cover"),r.qZA(),r.qZA(),r._UZ(32,"percent-cyanobacteria-cover-range-slider"),r.qZA(),r.TgZ(33,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(34,"mat-expansion-panel-header"),r.TgZ(35,"mat-panel-title",3),r._uU(36,"Percent Moss Cover"),r.qZA(),r.qZA(),r._UZ(37,"percent-moss-cover-range-slider"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","percent-bare-ground"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-foliar-cover"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-litter-cover"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-rock-fragment-cover"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-lichen-cover"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-cyanobacteria-cover"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-moss-cover"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,WJ,KJ,$J,eW,iW,rW,sW],styles:[".line-point-intercept-indicator-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.line-point-intercept-indicator-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.line-point-intercept-indicator-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.line-point-intercept-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.line-point-intercept-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),lW=n(80211),uW=n.n(lW),dW=["rangeSlider"],hW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=7324,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3,format:uW()({decimals:1})},this.title="Mean Woody Height",this.units="cm",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=new we.xQ,this.resetDetected=!1,this.sliderName="mean-woody-height"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getMeanWoodyHeightIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.sliderMinimum=e[0].min,t.sliderMaximum=e[0].max,t.leftSliderValue=t.sliderMinimum,t.rightSliderValue=t.sliderMaximum,t.createSlider())},function(t){console.error("Error fetching Mean Woody Height range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:1}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mean-woody-height-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(dW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"mean-woody-height-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".mean-woody-height-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.mean-woody-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.mean-woody-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.mean-woody-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .mean-woody-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mean-woody-height-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.mean-woody-height-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),pW=["rangeSlider"],fW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=625,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3,format:uW()({decimals:1})},this.title="Mean Herbaceous Height",this.units="cm",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="mean-herbaceous-height"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getMeanHerbaceousHeightIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.sliderMinimum=e[0].min,t.sliderMaximum=e[0].max,t.leftSliderValue=t.sliderMinimum,t.rightSliderValue=t.sliderMaximum,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Mean Herbaceous Height range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:1}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mean-herbaceous-height-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(pW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"mean-herbaceous-height-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".mean-herbaceous-height-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.mean-herbaceous-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.mean-herbaceous-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.mean-herbaceous-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .mean-herbaceous-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mean-herbaceous-height-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.mean-herbaceous-height-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),gW=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.vegetationHeightIndicatorFilters=Aq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.vegetationHeightIndicatorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["vegetation-height-panel"]],inputs:{isVisible:"isVisible"},decls:13,vars:3,consts:[["cdkDrag","",1,"vegetation-height-indicator-panel",3,"hidden"],[1,"vegetation-height-indicator-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Mean Woody Height"),r.qZA(),r.qZA(),r._UZ(7,"mean-woody-height-range-slider"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"Mean Herbaceous Height"),r.qZA(),r.qZA(),r._UZ(12,"mean-herbaceous-height-range-slider"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","mean-woody-height"===e.activePanel),r.xp6(5),r.Q6J("expanded","mean-herbaceous-height"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,hW,fW],styles:[".vegetation-height-indicator-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.vegetation-height-indicator-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.vegetation-height-indicator-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.vegetation-height-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.vegetation-height-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),_W=["rangeSlider"],mW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Canopy Gaps 25 - 50 cm",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-canopy-gaps-25-50"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentCanopyGaps25to50IndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Canopy Gaps 25 - 50 cm range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["canopy-gaps-pct25to50-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(_W,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"canopy-gaps-pct25to50-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".canopy-gaps-pct25to50-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.canopy-gaps-pct25to50-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.canopy-gaps-pct25to50-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.canopy-gaps-pct25to50-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .canopy-gaps-pct25to50-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.canopy-gaps-pct25to50-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.canopy-gaps-pct25to50-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),vW=["rangeSlider"],yW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Canopy Gaps 51 - 100 cm",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-canopy-gaps-51-100"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentCanopyGaps51to100IndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Canopy Gaps 25 - 50 range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["canopy-gaps-pct51to100-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(vW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"canopy-gaps-pct51to100-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".canopy-gaps-pct51to100-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.canopy-gaps-pct51to100-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.canopy-gaps-pct51to100-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.canopy-gaps-pct51to100-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .canopy-gaps-pct51to100-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.canopy-gaps-pct51to100-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.canopy-gaps-pct51to100-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),CW=["rangeSlider"],bW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Canopy Gaps 101 - 200 cm",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-canopy-gaps-101-200"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentCanopyGaps101to200IndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Canopy Gaps 101 - 200 range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["canopy-gaps-pct101to200-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(CW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"canopy-gaps-pct101to200-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".canopy-gaps-pct101to200-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.canopy-gaps-pct101to200-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.canopy-gaps-pct101to200-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.canopy-gaps-pct101to200-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .canopy-gaps-pct101to200-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.canopy-gaps-pct101to200-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.canopy-gaps-pct101to200-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),OW=["rangeSlider"],PW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3},this.title="Canopy Gaps > 200 cm",this.units="%",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="percent-canopy-gaps-200-plus"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPercentCanopyGaps200PlusIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.createSlider())},function(t){console.error("Error fetching Canopy Gaps > 200 range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["canopy-gaps-pct200plus-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(OW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"canopy-gaps-pct200plus-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".canopy-gaps-pct200plus-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.canopy-gaps-pct200plus-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.canopy-gaps-pct200plus-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.canopy-gaps-pct200plus-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .canopy-gaps-pct200plus-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.canopy-gaps-pct200plus-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.canopy-gaps-pct200plus-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),wW=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.canopyGapIndicatorFilters=Pq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.canopyGapIndicatorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["canopy-gap-panel"]],inputs:{isVisible:"isVisible"},decls:23,vars:5,consts:[["cdkDrag","",1,"canopy-gap-indicator-panel",3,"hidden"],[1,"canopy-gap-indicator-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Canopy Gaps 25 - 50 cm (%)"),r.qZA(),r.qZA(),r._UZ(7,"canopy-gaps-pct25to50-range-slider"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"Canopy Gaps 51 - 100 cm (%)"),r.qZA(),r.qZA(),r._UZ(12,"canopy-gaps-pct51to100-range-slider"),r.qZA(),r.TgZ(13,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(14,"mat-expansion-panel-header"),r.TgZ(15,"mat-panel-title",3),r._uU(16,"Canopy Gaps 101 - 200 cm (%)"),r.qZA(),r.qZA(),r._UZ(17,"canopy-gaps-pct101to200-range-slider"),r.qZA(),r.TgZ(18,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(19,"mat-expansion-panel-header"),r.TgZ(20,"mat-panel-title",3),r._uU(21,"Canopy Gaps > 200 cm (%)"),r.qZA(),r.qZA(),r._UZ(22,"canopy-gaps-pct200plus-range-slider"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","percent-canopy-gaps-25-50"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-canopy-gaps-51-100"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-canopy-gaps-101-200"===e.activePanel),r.xp6(5),r.Q6J("expanded","percent-canopy-gaps-200-plus"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,mW,yW,bW,PW],styles:[".canopy-gap-indicator-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.canopy-gap-indicator-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.canopy-gap-indicator-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.canopy-gap-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.canopy-gap-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),MW=["rangeSlider"],xW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=1,this.sliderMaximum=6,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",values:[1,2,3,4,5,6],filter:function(t,e){return 0===e?0:1},density:20},this.title="Mean Soil Stability",this.units="SSV",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="mean-soil-stability",this.filterIsActive=!1}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getMeanSoilStabilitySurfaceIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Mean Soil Stability range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)?t.filterIsActive=!0:t.filterIsActive&&(t.filterIsActive=!1,t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,dl.b)(300),(0,hl.T)(1),(0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)}),(0,yH.p)(300)),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:1}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mean-soil-stability-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(MW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"mean-soil-stability-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".mean-soil-stability-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.mean-soil-stability-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.mean-soil-stability-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.mean-soil-stability-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .mean-soil-stability-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mean-soil-stability-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.mean-soil-stability-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),kW=["rangeSlider"],SW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=1,this.sliderMaximum=6,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",values:[1,2,3,4,5,6],filter:function(t,e){return 0===e?0:1},density:20},this.title="Mean Soil Stability: Protected",this.units="SSV",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="mean-soil-stability-protected",this.filterIsActive=!1}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getMeanSoilStabilityProtectedIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Mean Soil Stability: Protected range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)?t.filterIsActive=!0:t.filterIsActive&&(t.filterIsActive=!1,t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,dl.b)(300),(0,hl.T)(1),(0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)}),(0,yH.p)(300)),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:1}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mean-soil-stability-protected-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(kW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"mean-soil-stability-protected-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".mean-soil-stability-protected-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.mean-soil-stability-protected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.mean-soil-stability-protected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.mean-soil-stability-protected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .mean-soil-stability-protected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mean-soil-stability-protected-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.mean-soil-stability-protected-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),AW=["rangeSlider"],TW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=1,this.sliderMaximum=6,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",values:[1,2,3,4,5,6],filter:function(t,e){return 0===e?0:1},density:20},this.title="Mean Soil Stability: Unprotected",this.units="SSV",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="mean-soil-stability-unprotected",this.filterIsActive=!1}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getMeanSoilStabilityUnprotectedIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Mean Soil Stability: Unprotected range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)?t.filterIsActive=!0:t.filterIsActive&&(t.filterIsActive=!1,t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,dl.b)(300),(0,hl.T)(1),(0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)}),(0,yH.p)(300)),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:1}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mean-soil-stability-unprotected-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(AW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"mean-soil-stability-unprotected-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".mean-soil-stability-unprotected-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.mean-soil-stability-unprotected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.mean-soil-stability-unprotected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.mean-soil-stability-unprotected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .mean-soil-stability-unprotected-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mean-soil-stability-unprotected-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.mean-soil-stability-unprotected-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),IW=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.soilStabilityIndicatorFilters=Sq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.soilStabilityIndicatorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["soil-stability-panel"]],inputs:{isVisible:"isVisible"},decls:18,vars:4,consts:[["cdkDrag","",1,"soil-stability-indicator-panel",3,"hidden"],[1,"soil-stability-indicator-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Mean Soil Stability"),r.qZA(),r.qZA(),r._UZ(7,"mean-soil-stability-range-slider"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"Mean Soil Stability: Protected"),r.qZA(),r.qZA(),r._UZ(12,"mean-soil-stability-protected-range-slider"),r.qZA(),r.TgZ(13,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(14,"mat-expansion-panel-header"),r.TgZ(15,"mat-panel-title",3),r._uU(16,"Mean Soil Stability: Unprotected"),r.qZA(),r.qZA(),r._UZ(17,"mean-soil-stability-unprotected-range-slider"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","mean-soil-stability"===e.activePanel),r.xp6(5),r.Q6J("expanded","mean-soil-stability-protected"===e.activePanel),r.xp6(5),r.Q6J("expanded","mean-soil-stability-unprotected"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,xW,SW,TW],styles:[".soil-stability-indicator-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.soil-stability-indicator-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.soil-stability-indicator-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.soil-stability-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.soil-stability-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),EW=["rangeSlider"],DW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=1e5,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",filter:function(t,e){return 0===e&&t%10?2:1},density:20},this.title="Total Horizontal Flux",this.units="g&sdot;m<sup>-1</sup>d<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="total-horizontal-flux"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getTotalHorizontalFluxIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Total Horizontal Flux range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[10],"40%":[100],"60%":[1e3],"80%":[1e4],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:3})}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["total-horizontal-flux-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(EW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"total-horizontal-flux-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".total-horizontal-flux-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.total-horizontal-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.total-horizontal-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.total-horizontal-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .total-horizontal-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.total-horizontal-flux-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.total-horizontal-flux-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),RW=["rangeSlider"],FW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=10,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",density:20,format:uW()({decimals:3})},this.title="Total Vertical Flux",this.units="g&sdot;m<sup>-2</sup>d<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="total-vertical-flux"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getTotalVerticalFluxIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Total Vertical Flux range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[.001],"40%":[.01],"60%":[.1],"80%":[1],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:6}),step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["total-vertical-flux-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(RW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"total-vertical-flux-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".total-vertical-flux-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.total-vertical-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.total-vertical-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.total-vertical-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .total-vertical-flux-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.total-vertical-flux-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.total-vertical-flux-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),LW=["rangeSlider"],ZW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=10,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",density:20,format:uW()({decimals:3})},this.title="PM2.5",this.units="g&sdot;m<sup>-2</sup>d<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.resetDetected=!1,this.sliderName="pm2p5-vertical-flux",this.currentSliderValuesSubject=ne
1w we.xQ}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPm2p5VerticalFluxIndicatorConfigData().subscribe(function(e){e&&e.length>0?(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider()):(0,zo._)(function(){return new Error("Empty config data array")})},function(t){console.error("Error fetching PM2.5 range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[.001],"40%":[.01],"60%":[.1],"80%":[1],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:6}),step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}},{key:"ngOnDestroy",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["pm2p5-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(LW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"pm2p5-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".pm2p5-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.pm2p5-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.pm2p5-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.pm2p5-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .pm2p5-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.pm2p5-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.pm2p5-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),NW=["rangeSlider"],UW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=10,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",density:20,format:uW()({decimals:3})},this.title="PM10",this.units="g&sdot;m<sup>-2</sup>d<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="pm10-vertical-flux"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPm10VerticalFluxIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching PM10 range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[.001],"40%":[.01],"60%":[.1],"80%":[1],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:6}),step:.01}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["pm10-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(NW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"pm10-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".pm10-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.pm10-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.pm10-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.pm10-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .pm10-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.pm10-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.pm10-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),VW=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.aeroIndicatorFilters=Oq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.aeroIndicatorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["aero-panel"]],inputs:{isVisible:"isVisible"},decls:23,vars:5,consts:[["cdkDrag","",1,"aero-indicator-panel","filter-dropdown",3,"hidden"],[1,"aero-indicator-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Total Horizontal Flux"),r.qZA(),r.qZA(),r._UZ(7,"total-horizontal-flux-range-slider"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"Total Vertical Flux"),r.qZA(),r.qZA(),r._UZ(12,"total-vertical-flux-range-slider"),r.qZA(),r.TgZ(13,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(14,"mat-expansion-panel-header"),r.TgZ(15,"mat-panel-title",3),r._uU(16,"PM2.5"),r.qZA(),r.qZA(),r._UZ(17,"pm2p5-range-slider"),r.qZA(),r.TgZ(18,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(19,"mat-expansion-panel-header"),r.TgZ(20,"mat-panel-title",3),r._uU(21,"PM10"),r.qZA(),r.qZA(),r._UZ(22,"pm10-range-slider"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","total-horizontal-flux"===e.activePanel),r.xp6(5),r.Q6J("expanded","total-vertical-flux"===e.activePanel),r.xp6(5),r.Q6J("expanded","pm2p5-vertical-flux"===e.activePanel),r.xp6(5),r.Q6J("expanded","pm10-vertical-flux"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,DW,FW,ZW,UW],styles:[".aero-indicator-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.aero-indicator-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.aero-indicator-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.aero-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.aero-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),jW=["rangeSlider"],zW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=1e4,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",filter:function(t,e){return 0===e&&t%10?2:1},density:20},this.title="Precipitation",this.units="mm&sdot;yr<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="precipitation-long-term-mean"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getPrecipitationLongTermMeanIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Precipitation Long-Term Mean range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[1],"40%":[10],"60%":[100],"80%":[1e3],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:3})}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["precipitation-long-term-mean-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(jW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"precipitation-long-term-mean-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".precipitation-long-term-mean-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.precipitation-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.precipitation-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.precipitation-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .precipitation-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.precipitation-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.precipitation-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),qW=["rangeSlider"],BW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=1e4,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",filter:function(t,e){return 0===e&&t%10?2:1},density:20},this.title="Runoff",this.units="mm&sdot;yr<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="runoff-long-term-mean"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getRunoffLongTermMeanIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Runoff Long-Term Mean range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[1],"40%":[10],"60%":[100],"80%":[1e3],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:3})}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["runoff-long-term-mean-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(qW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"runoff-long-term-mean-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".runoff-long-term-mean-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.runoff-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.runoff-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.runoff-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .runoff-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.runoff-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.runoff-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),YW=["rangeSlider"],GW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=1e4,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",filter:function(t,e){return 0===e&&t%10?2:1},density:20},this.title="Sediment Yield",this.units="Mg&sdot;ha<sup>-1</sup>&sdot;yr<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="sediment-long-term-mean"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getSedimentLongTermMeanIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Sediment Long-Term Mean range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[1],"40%":[10],"60%":[100],"80%":[1e3],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:3})}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["sediment-long-term-mean-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(YW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"sediment-long-term-mean-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".sediment-long-term-mean-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.sediment-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.sediment-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.sediment-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .sediment-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.sediment-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.sediment-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),HW=["rangeSlider"],JW=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=1e4,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"steps",filter:function(t,e){return 0===e&&t%10?2:1},density:20},this.title="Soil Loss",this.units="Mg&sdot;ha<sup>-1</sup>&sdot;yr<sup>-1</sup>",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.resetDetected=!1,this.sliderName="soil-loss-long-term-mean"}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getSoilLossLongTermMeanIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.leftSliderValue=e[0].min,t.rightSliderValue=e[0].max,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.createSlider())},function(t){console.error("Error fetching Soil Loss Long-Term Mean range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.resetDetected=!0,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)||(t.resetDetected=!0,t.resetSliders())})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.resetDetected?t.resetDetected=!1:(t.sliderData={indicator:t.sliderName,min:n,max:i},t.store.dispatch(eL(t.sliderData)))})}},{key:"resetSliders",value:function(){this.leftSliderValue=this.leftSliderResetValue,this.onLeftInputChange(),this.rightSliderValue=this.rightSliderResetValue,this.onRightInputChange()}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,"20%":[1],"40%":[10],"60%":[100],"80%":[1e3],max:[this.sliderMaximum]},pips:this.pipEntries,format:uW()({decimals:3})}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["soil-loss-long-term-mean-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(HW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"soil-loss-long-term-mean-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".soil-loss-long-term-mean-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.soil-loss-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.soil-loss-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.soil-loss-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .soil-loss-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.soil-loss-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.soil-loss-long-term-mean-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),WW=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.rhemIndicatorFilters=Mq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.rhemIndicatorFilters.includes(e)&&(t.activePanel=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["rhem-panel"]],inputs:{isVisible:"isVisible"},decls:23,vars:5,consts:[["cdkDrag","",1,"rhem-indicator-panel","filter-dropdown",3,"hidden"],[1,"rhem-indicator-panel-card"],[3,"expanded","opened","closed"],[1,"dropdown-text-color"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(4,"mat-expansion-panel-header"),r.TgZ(5,"mat-panel-title",3),r._uU(6,"Long-Term Mean Precipitation"),r.qZA(),r.qZA(),r._UZ(7,"precipitation-long-term-mean-range-slider"),r.qZA(),r.TgZ(8,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(9,"mat-expansion-panel-header"),r.TgZ(10,"mat-panel-title",3),r._uU(11,"Long-Term Mean Runoff"),r.qZA(),r.qZA(),r._UZ(12,"runoff-long-term-mean-range-slider"),r.qZA(),r.TgZ(13,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(14,"mat-expansion-panel-header"),r.TgZ(15,"mat-panel-title",3),r._uU(16,"Long-Term Mean Sediment Yield"),r.qZA(),r.qZA(),r._UZ(17,"sediment-long-term-mean-range-slider"),r.qZA(),r.TgZ(18,"mat-expansion-panel",2),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(19,"mat-expansion-panel-header"),r.TgZ(20,"mat-panel-title",3),r._uU(21,"Long-Term Mean Soil Loss"),r.qZA(),r.qZA(),r._UZ(22,"soil-loss-long-term-mean-range-slider"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(3),r.Q6J("expanded","precipitation-long-term-mean"===e.activePanel),r.xp6(5),r.Q6J("expanded","runoff-long-term-mean"===e.activePanel),r.xp6(5),r.Q6J("expanded","sediment-long-term-mean"===e.activePanel),r.xp6(5),r.Q6J("expanded","soil-loss-long-term-mean"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,zW,BW,GW,JW],styles:[".rhem-indicator-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.rhem-indicator-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.rhem-indicator-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.rhem-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.rhem-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}"]}),t}(),QW=["identifierInput"];function KW(t,e){if(1&t&&(r.TgZ(0,"mat-option",8),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n.label," ")}}var XW=function(){var t=function(){function t(){var e=this;_classCallCheck(this,t),this.identifierSelected=new r.vpe,this.options=[{value:"species-code",label:"Species Code"},{value:"scientific-name",label:"Scientific Name"}],this.identifierCtrl=new rU,this.filteredOptions=this.identifierCtrl.valueChanges.pipe((0,Se.O)(""),(0,Me.U)(function(t){return e.filterOptions(t)}))}return _createClass(t,[{key:"displayBlank",value:function(){return""}},{key:"selected",value:function(t){var e=t.option.value;this.identifierInput&&(this.identifierInput.nativeElement.value="",this.identifierInput.nativeElement.blur()),this.identifierCtrl.setValue(null),this.identifierSelected.emit(e.value)}},{key:"filterOptions",value:function(t){var e="string"==typeof t?t.trim().toLowerCase():"";return e?this.options.filter(function(t){return t.label.toLowerCase().includes(e)}):this.options}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["species-identifier-dropdown"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(QW,5),2&t)&&(r.iGM(n=r.CRH())&&(e.identifierInput=n.first))},outputs:{identifierSelected:"identifierSelected"},decls:11,vars:7,consts:[["appearance","fill",1,"species-identifier-dropdown"],["aria-label","Species identifier selection"],["chipList",""],["placeholder","Species Code or Scientific Name...",3,"formControl","matAutocomplete","matChipInputFor"],["identifierInput",""],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a species identifier:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r._UZ(5,"input",3,4),r.qZA(),r.TgZ(7,"mat-autocomplete",5,6),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(9,KW,2,2,"mat-option",7),r.ALo(10,"async"),r.qZA(),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(8);r.xp6(5),r.Q6J("formControl",e.identifierCtrl)("matAutocomplete",i)("matChipInputFor",n),r.xp6(2),r.Q6J("displayWith",e.displayBlank),r.xp6(2),r.Q6J("ngForOf",r.lcZ(10,5,e.filteredOptions))}},directives:[jB,EB,eY,uN,tG,iY,ZN,yU,WY,ft,_f],pipes:[St],styles:[".species-identifier-dropdown[_ngcontent-%COMP%]{width:100%}.species-identifier-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),$W=["speciesCodeInput"];function tQ(t,e){1&t&&(r.TgZ(0,"button",13),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function eQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",11),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,tQ,3,0,"button",12),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function nQ(t,e){if(1&t&&(r.TgZ(0,"mat-option",14),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}function iQ(t,e){1&t&&(r.TgZ(0,"mat-hint"),r._uU(1," Loading species codes... "),r.qZA())}function oQ(t,e){if(1&t&&(r.TgZ(0,"mat-hint"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" Type at least ",n.minimumSearchLength," characters ")}}function rQ(t,e){if(1&t&&(r.TgZ(0,"mat-hint",15),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" Showing first ",n.maxRenderedOptions," matches ")}}var aQ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.minimumSearchLength=2,this.maxRenderedOptions=100,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.speciesCodesCtrl=new rU,this.speciesCodes=[],this.showMinimumSearchHint=!1,this.showResultLimitHint=!1,this.isWorkerLoading=!1,this.indicatorName="geospecies-species-code",this.filteredSpeciesCodesSubject=new _e.X([]),this.filteredSpeciesCodes=this.filteredSpeciesCodesSubject.asObservable(),this.subscriptions=new sl.w,this.worker=null,this.workerStatus="idle",this.latestRequestedQuery=""}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions(),this.initializeSpeciesCodeFiltering()}},{key:"ngOnDestroy",value:function(){this.subscriptions.unsubscribe(),this.worker&&(this.worker.terminate(),this.worker=null)}},{key:"initializeWorkerIfNeeded",value:function(){var t=this;if("idle"===this.workerStatus){try{this.worker=new Worker(n.tu(new 
1URL(n.p+n.u(381),n.b)),{type:void 0})}catch(i){return void this.handleWorkerError()}this.workerStatus="loading",this.isWorkerLoading=!0,this.worker.onmessage=function(e){var n=e.data;if("ready"!==n.type){if("results"===n.type){if(n.query!==t.latestRequestedQuery)return;return t.filteredSpeciesCodesSubject.next(n.matches),void(t.showResultLimitHint=n.truncated)}t.handleWorkerError()}else{t.workerStatus="ready",t.isWorkerLoading=!1;var i="string"==typeof t.speciesCodesCtrl.value?t.speciesCodesCtrl.value.trim():"";i.length>=t.minimumSearchLength&&t.searchWithWorker(i)}},this.worker.onerror=function(){t.handleWorkerError()};var e=this.configService.getSpeciesCodeConfigData().subscribe({next:function(e){var n,i=e.map(function(t){return t.species}).filter(function(t){return"string"==typeof t&&t.trim().length>0});null===(n=t.worker)||void 0===n||n.postMessage({type:"initialize",values:i,minimumSearchLength:t.minimumSearchLength,maxResults:t.maxRenderedOptions})},error:function(){t.handleWorkerError()}});this.subscriptions.add(e)}}},{key:"initializeStoreSubscriptions",value:function(){var t=this,e=this.store.select(mL).subscribe(function(e){e&&t.resetSelectedSpeciesCodes()}),n=this.store.select(vL).subscribe(function(e){if(!e.includes(t.indicatorName)){var n=t.speciesCodes.length>0;t.resetSelectedSpeciesCodes(),n&&t.store.dispatch(cL({speciesCode:[]}))}});this.subscriptions.add(e),this.subscriptions.add(n)}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&(this.speciesCodes.push(e),this.updateSelectedSpeciesCodes()),t.chipInput.clear(),this.latestRequestedQuery="",this.speciesCodesCtrl.setValue(null),this.filteredSpeciesCodesSubject.next([]),this.resetFilterHints()}},{key:"remove",value:function(t){var e=this.speciesCodes.indexOf(t);e>=0&&this.speciesCodes.splice(e,1),this.updateSelectedSpeciesCodes()}},{key:"selected",value:function(t){this.speciesCodes.push(t.option.viewValue),this.speciesCodeInput.nativeElement.value="",this.speciesCodeInput.nativeElement.blur(),this.latestRequestedQuery="",this.speciesCodesCtrl.setValue(null),this.filteredSpeciesCodesSubject.next([]),this.resetFilterHints(),this.updateSelectedSpeciesCodes()}},{key:"initializeSpeciesCodeFiltering",value:function(){var t=this,e=this.speciesCodesCtrl.valueChanges.pipe((0,Se.O)(""),(0,Me.U)(function(t){return t||""}),(0,dl.b)(125),(0,pl.x)()).subscribe(function(e){var n=e.trim().toLowerCase();return t.latestRequestedQuery=n,n.length?n.length<t.minimumSearchLength?(t.filteredSpeciesCodesSubject.next([]),t.showMinimumSearchHint=!0,void(t.showResultLimitHint=!1)):(t.showMinimumSearchHint=!1,t.showResultLimitHint=!1,t.initializeWorkerIfNeeded(),void("ready"===t.workerStatus&&t.searchWithWorker(e))):(t.filteredSpeciesCodesSubject.next([]),void t.resetFilterHints())});this.subscriptions.add(e)}},{key:"searchWithWorker",value:function(t){var e;this.latestRequestedQuery=t.trim().toLowerCase(),null===(e=this.worker)||void 0===e||e.postMessage({type:"search",query:t})}},{key:"resetSelectedSpeciesCodes",value:function(){this.speciesCodes=[],this.speciesCodesCtrl.reset(),this.filteredSpeciesCodesSubject.next([]),this.latestRequestedQuery="",this.resetFilterHints()}},{key:"updateSelectedSpeciesCodes",value:function(){this.store.dispatch(cL({speciesCode:_toConsumableArray(this.speciesCodes)}))}},{key:"handleWorkerError",value:function(){this.workerStatus="error",this.isWorkerLoading=!1,this.filteredSpeciesCodesSubject.next([]),this.showResultLimitHint=!1}},{key:"resetFilterHints",value:function(){this.showMinimumSearchHint=!1,this.showResultLimitHint=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["species-code-dropdown"]],viewQuery:function(t,e){var n;(1&t&&r.Gf($W,5),2&t)&&(r.iGM(n=r.CRH())&&(e.speciesCodeInput=n.first))},decls:15,vars:11,consts:[["appearance","fill",1,"species-code-dropdown"],["aria-label","Species code selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New species code...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","focus","matChipInputTokenEnd"],["speciesCodeInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["align","end",4,"ngIf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"],["align","end"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a species code:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,eQ,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.N
1dJ("focus",function(){return e.initializeWorkerIfNeeded()})("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,nQ,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.YNc(12,iQ,2,0,"mat-hint",9),r.YNc(13,oQ,2,1,"mat-hint",9),r.YNc(14,rQ,2,1,"mat-hint",10),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.speciesCodes),r.xp6(1),r.Q6J("formControl",e.speciesCodesCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,9,e.filteredSpeciesCodes)),r.xp6(2),r.Q6J("ngIf",e.isWorkerLoading),r.xp6(1),r.Q6J("ngIf",e.showMinimumSearchHint),r.xp6(1),r.Q6J("ngIf",e.showResultLimitHint)}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,_t,WB,QB,VP,_f,IB],pipes:[St],styles:[".species-code-dropdown[_ngcontent-%COMP%]{width:100%}.species-code-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),sQ=["scientificNameInput"];function cQ(t,e){1&t&&(r.TgZ(0,"button",13),r.TgZ(1,"mat-icon"),r._uU(2,"cancel"),r.qZA(),r.qZA())}function lQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",11),r.NdJ("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,cQ,3,0,"button",12),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.Q6J("selectable",o.selectable)("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function uQ(t,e){if(1&t&&(r.TgZ(0,"mat-option",14),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}function dQ(t,e){1&t&&(r.TgZ(0,"mat-hint"),r._uU(1," Loading scientific names... "),r.qZA())}function hQ(t,e){if(1&t&&(r.TgZ(0,"mat-hint"),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" Type at least ",n.minimumSearchLength," characters ")}}function pQ(t,e){if(1&t&&(r.TgZ(0,"mat-hint",15),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.hij(" Showing first ",n.maxRenderedOptions," matches ")}}var fQ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.minimumSearchLength=2,this.maxRenderedOptions=100,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[13,cl],this.scientificNamesCtrl=new rU,this.scientificNames=[],this.showMinimumSearchHint=!1,this.showResultLimitHint=!1,this.isWorkerLoading=!1,this.indicatorName="geospecies-scientific-name",this.filteredScientificNamesSubject=new _e.X([]),this.filteredScientificNames=this.filteredScientificNamesSubject.asObservable(),this.subscriptions=new sl.w,this.worker=null,this.workerStatus="idle",this.latestRequestedQuery=""}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions(),this.initializeScientificNameFiltering()}},{key:"ngOnDestroy",value:function(){this.subscriptions.unsubscribe(),this.worker&&(this.worker.terminate(),this.worker=null)}},{key:"initializeWorkerIfNeeded",value:function(){var t=this;if("idle"===this.workerStatus){try{this.worker=new Worker(n.tu(new URL(n.p+n.u(78),n.b)),{type:void 0})}catch(i){return void this.handleWorkerError()}this.workerStatus="loading",this.isWorkerLoading=!0,this.worker.onmessage=function(e){var n=e.data;if("ready"!==n.type){if("results"===n.type){if(n.query!==t.latestRequestedQuery)return;return t.filteredScientificNamesSubject.next(n.matches),void(t.showResultLimitHint=n.truncated)}t.handleWorkerError()}else{t.workerStatus="ready",t.isWorkerLoading=!1;var i="string"==typeof t.scientificNamesCtrl.value?t.scientificNamesCtrl.value.trim():"";i.length>=t.minimumSearchLength&&t.searchWithWorker(i)}},this.worker.onerror=function(){t.handleWorkerError()};var e=this.configService.getScientificNameConfigData().subscribe({next:function(e){var n,i=e.map(function(t){return t.scientific_name}).filter(function(t){return"string"==typeof t&&t.trim().length>0});null===(n=t.worker)||void 0===n||n.postMessage({type:"initialize",values:i,minimumSearchLength:t.minimumSearchLength,maxResults:t.maxRenderedOptions})},error:function(){t.handleWorkerError()}});this.subscriptions.add(e)}}},{key:"initializeStoreSubscriptions",value:function(){var t=this,e=this.store.select(mL).subscribe(function(e){e&&t.resetSelectedScientificNames()}),n=this.store.select(vL).subscribe(function(e){if(!e.includes(t.indicatorName)){var n=t.scientificNames.length>0;t.resetSelectedScientificNames(),n&&t.store.dispatch(lL({scientificName:[]}))}});this.subscriptions.add(e),this.subscriptions.add(n)}},{key:"add",value:function(t){var e=(t.value||"").trim();e&&(this.scientificNames.push(e),this.updateSelectedScientificNames()),t.chipInput.clear(),this.latestRequestedQuery="",this.scientificNamesCtrl.setValue(null),this.filteredScientificNamesSubject.next([]),this.resetFilterHints()}},{key:"remove",value:function(t){var e=this.scientificNames.indexOf(t);e>=0&&this.scientificNames.splice(e,1),this.updateSelectedScientificNames()}},{key:"selected",value:function(t){this.scientificNames.push(t.option.viewValue),this.scientificNameInput.nativeElement.value="",this.scientificNameInput.nativeElement.blur(),this.latestRequestedQuery="",this.scientificNamesCtrl.setValue(null),this.filteredScientificNamesSubject.next([]),this.resetFilterHints(),this.updateSelectedScientificNames()}},{key:"initializeScientificNameFiltering",value:function(){var t=this,e=this.scientificNamesCtrl.valueChanges.pipe((0,Se.O)(""),(0,Me.U)(function(t){return t||""}),(0,dl.b)(125),(0,pl.x)()).subscribe(function(e){var n=e.trim().toLowerCase();return t.latestRequestedQuery=n,n.length?n.length<t.minimumSearchLength?(t.filteredScientificNamesSubject.next([]),t.showMinimumSearchHint=!0,void(t.showResultLimitHint=!1)):(t.showMinimumSearchHint=!1,t.showResultLimitHint=!1,t.initializeWorkerIfNeeded(),void("ready"===t.workerStatus&&t.searchWithWorker(e))):(t.filteredScientificNamesSubject.next([]),void t.resetFilterHints())});this.subscriptions.add(e)}},{key:"searchWithWorker",value:function(t){var e;this.latestRequestedQuery=t.trim().toLowerCase(),null===(e=this.worker)||void 0===e||e.postMessage({type:"search",query:t})}},{key:"resetSelectedScientificNames",value:function(){this.scientificNames=[],this.scientificNamesCtrl.reset(),this.filteredScientificNamesSubject.next([]),this.latestRequestedQuery="",this.resetFilterHints()}},{key:"updateSelectedScientificNames",value:function(){this.store.dispatch(lL({scientificName:_toConsumableArray(this.scientificNames)}))}},{key:"handleWorkerError",value:function(){this.workerStatus="error",this.isWorkerLoading=!1,this.filteredScientificNamesSubject.next([]),this.showResultLimitHint=!1}},{key:"resetFilterHints",value:function(){this.showMinimumSearchHint=!1,this.showResultLimitHint=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["scientific-name-dropdown"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(sQ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.scientificNameInput=n.first))},decls:15,vars:11,consts:[["appearance","fill",1,"scientific-name-dropdown"],["aria-label","Scientific name selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New scientific name...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","focus","matChipInputTokenEnd"],["scientificNameInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["align","end",4,"ngIf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"],["align","end"]],template:function(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",0),r.TgZ(1,"mat-label"),r._uU(2,"Click to select a scientific name:"),r.qZA(),r.TgZ(3,"mat-chip-list",1,2),r.YNc(5,lQ,3,4,"mat-chip",3),r.TgZ(6,"input",4,5),r.N
1dJ("focus",function(){return e.initializeWorkerIfNeeded()})("matChipInputTokenEnd",function(t){return e.add(t)}),r.qZA(),r.qZA(),r.TgZ(8,"mat-autocomplete",6,7),r.NdJ("optionSelected",function(t){return e.selected(t)}),r.YNc(10,uQ,2,2,"mat-option",8),r.ALo(11,"async"),r.qZA(),r.YNc(12,dQ,2,0,"mat-hint",9),r.YNc(13,hQ,2,1,"mat-hint",9),r.YNc(14,pQ,2,1,"mat-hint",10),r.qZA()),2&t){var n=r.MAs(4),i=r.MAs(9);r.xp6(5),r.Q6J("ngForOf",e.scientificNames),r.xp6(1),r.Q6J("formControl",e.scientificNamesCtrl)("matAutocomplete",i)("matChipInputFor",n)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),r.xp6(4),r.Q6J("ngForOf",r.lcZ(11,9,e.filteredScientificNames)),r.xp6(2),r.Q6J("ngIf",e.isWorkerLoading),r.xp6(1),r.Q6J("ngIf",e.showMinimumSearchHint),r.xp6(1),r.Q6J("ngIf",e.showResultLimitHint)}},directives:[jB,EB,eY,ft,uN,tG,iY,ZN,yU,WY,_t,WB,QB,VP,_f,IB],pipes:[St],styles:[".scientific-name-dropdown[_ngcontent-%COMP%]{width:100%}.scientific-name-dropdown[_ngcontent-%COMP%]   mat-chip.mat-chip[_ngcontent-%COMP%]{max-width:100%;height:auto;min-height:32px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;justify-content:space-between;padding-top:6px;padding-bottom:6px}"]}),t}(),gQ=["rangeSlider"],_Q=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=100,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3,format:uW()({decimals:1})},this.title="Species Cover",this.units="% Any Hit",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=new we.xQ,this.sliderName="geospecies-species-cover",this.filterIsActive=!1,this.suppressedSliderValues=null}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getSpeciesCoverIndicatorConfigData().subscribe(function(e){e&&e.length>0&&(t.sliderMinimum=e[0].min,t.sliderMaximum=e[0].max,t.leftSliderValue=t.sliderMinimum,t.rightSliderValue=t.sliderMaximum,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.suppressedSliderValues={left:t.leftSliderValue,right:t.rightSliderValue},t.createSlider())},function(t){console.error("Error fetching Species Cover range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.filterIsActive=!1,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)?t.filterIsActive=!0:t.filterIsActive&&(t.filterIsActive=!1,t.resetSliders(),t.store.dispatch(uL({speciesCoverMinMax:null})))})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.suppressedSliderValues&&t.suppressedSliderValues.left===n&&t.suppressedSliderValues.right===i?t.suppressedSliderValues=null:t.store.dispatch(uL({speciesCoverMinMax:{min:n,max:i}}))})}},{key:"resetSliders",value:function(){var t=this.leftSliderResetValue,e=this.rightSliderResetValue,n=this.leftSliderValue===t&&this.rightSliderValue===e;this.leftSliderValue=t,this.rightSliderValue=e,this.slider&&!n?(this.suppressedSliderValues={left:t,right:e},this.slider.set([t,e])):this.suppressedSliderValues=null}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:1}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["species-cover-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(gQ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"species-cover-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".species-cover-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.species-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.species-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.species-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .species-cover-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.species-cover-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.species-cover-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),mQ=["rangeSlider"],vQ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.configService=n,this.sliderMinimum=0,this.sliderMaximum=18e3,this.leftSliderValue=this.sliderMinimum,this.rightSliderValue=this.sliderMaximum,this.pipEntries={mode:"positions",values:[0,25,50,75,100],density:3,format:uW()({decimals:1})},this.title="Mean Species Height",this.units="cm",this.leftSliderResetValue=this.leftSliderValue,this.rightSliderResetValue=this.rightSliderValue,this.currentSliderValuesSubject=ne
1w we.xQ,this.sliderName="geospecies-mean-species-height",this.filterIsActive=!1,this.suppressedSliderValues=null}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.configService.getSpeciesMeanSpeciesHeightConfigData().subscribe(function(e){e&&e.length>0&&(t.sliderMinimum=e[0].min,t.sliderMaximum=e[0].max,t.leftSliderValue=t.sliderMinimum,t.rightSliderValue=t.sliderMaximum,t.leftSliderResetValue=t.leftSliderValue,t.rightSliderResetValue=t.rightSliderValue,t.suppressedSliderValues={left:t.leftSliderValue,right:t.rightSliderValue},t.createSlider())},function(t){console.error("Error fetching Mean Species Height range data:",t)}),this.store.select(mL).subscribe(function(e){e&&(t.filterIsActive=!1,t.resetSliders())}),this.store.select(vL).subscribe(function(e){e.includes(t.sliderName)?t.filterIsActive=!0:t.filterIsActive&&(t.filterIsActive=!1,t.resetSliders(),t.store.dispatch(dL({meanSpeciesHeightMinMax:null})))})}},{key:"ngAfterViewInit",value:function(){var t=this;this.currentSliderValues$=this.currentSliderValuesSubject.pipe((0,pl.x)(function(t,e){return t.currentLeftSliderValue===e.currentLeftSliderValue&&t.currentRightSliderValue===e.currentRightSliderValue}),(0,xe.w)(function(t){return(0,ge.of)(t)})),this.currentSliderValues$.subscribe(function(e){var n=e.currentLeftSliderValue,i=e.currentRightSliderValue;t.suppressedSliderValues&&t.suppressedSliderValues.left===n&&t.suppressedSliderValues.right===i?t.suppressedSliderValues=null:t.store.dispatch(dL({meanSpeciesHeightMinMax:{min:n,max:i}}))})}},{key:"resetSliders",value:function(){var t=this.leftSliderResetValue,e=this.rightSliderResetValue,n=this.leftSliderValue===t&&this.rightSliderValue===e;this.leftSliderValue=t,this.rightSliderValue=e,this.slider&&!n?(this.suppressedSliderValues={left:t,right:e},this.slider.set([t,e])):this.suppressedSliderValues=null}},{key:"updateSliderSubject",value:function(t,e){this.currentSliderValuesSubject.next({currentLeftSliderValue:t,currentRightSliderValue:e})}},{key:"createSlider",value:function(){this.slider&&this.slider.destroy();var t=this;this.slider=HJ().create(this.rangeSlider.nativeElement,{start:[this.leftSliderValue,this.rightSliderValue],connect:!0,range:{min:this.sliderMinimum,max:this.sliderMaximum},pips:this.pipEntries,step:1}),this.slider.on("update",function(e){t.leftSliderValue=parseFloat(e[0]),t.rightSliderValue=parseFloat(e[1]),t.updateSliderSubject(t.leftSliderValue,t.rightSliderValue)})}},{key:"onLeftInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([this.leftSliderValue,null])}},{key:"onRightInputChange",value:function(){var t;null===(t=this.slider)||void 0===t||t.set([null,this.rightSliderValue])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mean-species-height-range-slider"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(mQ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.rangeSlider=n.first))},decls:10,vars:4,consts:[[1,"mean-species-height-range-slider-container"],[1,"input-group"],["type","number",3,"ngModel","ngModelChange","input"],[1,"slider"],["rangeSlider",""],[1,"slider-title"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("ngModelChange",function(t){return e.leftSliderValue=t})("input",function(){return e.onLeftInputChange()}),r.qZA(),r.TgZ(3,"input",2),r.NdJ("ngModelChange",function(t){return e.rightSliderValue=t})("input",function(){return e.onRightInputChange()}),r.qZA(),r.qZA(),r._UZ(4,"div",3,4),r.TgZ(6,"div",5),r._uU(7),r._UZ(8,"span",6),r._uU(9,")"),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngModel",e.leftSliderValue),r.xp6(1),r.Q6J("ngModel",e.rightSliderValue),r.xp6(4),r.hij("",e.title," ("),r.xp6(1),r.Q6J("innerHTML",e.units,r.oJD))},directives:[gU,uN,ZN,pU],styles:[".mean-species-height-range-slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:20px}.mean-species-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:10px}.mean-species-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{text-align:center;margin:0 .25cm;width:80px;-moz-appearance:textfield}.mean-species-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, .mean-species-height-range-slider-container[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mean-species-height-range-slider-container[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:7cm}.mean-species-height-range-slider-container[_ngcontent-%COMP%]   .slider-title[_ngcontent-%COMP%]{margin-top:1.5cm;color:gray}"]}),t}(),yQ=["identifierPanel"],CQ=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.panelOpenState=!1,this.activePanel=null,this.speciesIndicatorFilters=xq,this.selectedIdentifier=null}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.speciesIndicatorFilters.includes(e)&&(t.activePanel=e,"geospecies-species-code"===e?t.selectedIdentifier="species-code":"geospecies-scientific-name"===e&&(t.selectedIdentifier="scientific-name"))}),this.store.select(mL).subscribe(function(e){e&&(t.selectedIdentifier=null,t.activePanel=null)})}},{key:"onIdentifierSelected",value:function(t){var e;this.selectedIdentifier&&this.selectedIdentifier!==t&&this.clearIdentifierSelection(this.selectedIdentifier),this.selectedIdentifier=t,this.activePanel="species-code"===t?"geospecies-species-code":"geospecies-scientific-name",null===(e=this.identifierPanel)||void 0===e||e.close()}},{key:"clearIdentifierSelection",value:function(t){this.store.dispatch("species-code"===t?cL({speciesCode:[]}):lL({scientificName:[]}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["species-panel"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(yQ,5),2&t)&&(r.iGM(n=r.CRH())&&(e.identifierPanel=n.first))},inputs:{isVisible:"isVisible"},decls:33,vars:9,consts:[["cdkDrag","",1,"species-indicator-panel","filter-dropdown",3,"hidden"],[1,"species-indicator-panel-card"],[3,"opened","closed"],["
1identifierPanel",""],[1,"dropdown-text-color"],[3,"identifierSelected"],[1,"species-panel-note"],[3,"expanded","opened","closed"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-accordion"),r.TgZ(3,"mat-expansion-panel",2,3),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(5,"mat-expansion-panel-header"),r.TgZ(6,"mat-panel-title",4),r._uU(7,"Species Identifier"),r.qZA(),r.qZA(),r.TgZ(8,"species-identifier-dropdown",5),r.NdJ("identifierSelected",function(t){return e.onIdentifierSelected(t)}),r.qZA(),r.TgZ(9,"p",6),r._uU(10,"Select either Species Code or Scientific Name. Switching between species identifiers will reset the filter."),r.qZA(),r.qZA(),r.TgZ(11,"mat-expansion-panel",7),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(12,"mat-expansion-panel-header"),r.TgZ(13,"mat-panel-title",4),r._uU(14,"Species Code"),r.qZA(),r.qZA(),r._UZ(15,"species-code-dropdown"),r.qZA(),r.TgZ(16,"mat-expansion-panel",7),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(17,"mat-expansion-panel-header"),r.TgZ(18,"mat-panel-title",4),r._uU(19,"Scientific Name"),r.qZA(),r.qZA(),r._UZ(20,"scientific-name-dropdown"),r.qZA(),r.TgZ(21,"mat-expansion-panel",7),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(22,"mat-expansion-panel-header"),r.TgZ(23,"mat-panel-title",4),r._uU(24,"Species Cover"),r.qZA(),r.qZA(),r._uU(25," Species cover slider "),r._UZ(26,"species-cover-range-slider"),r.qZA(),r.TgZ(27,"mat-expansion-panel",7),r.NdJ("opened",function(){return e.panelOpenState=!0})("closed",function(){return e.panelOpenState=!1}),r.TgZ(28,"mat-expansion-panel-header"),r.TgZ(29,"mat-panel-title",4),r._uU(30,"Mean Species Height"),r.qZA(),r.qZA(),r._uU(31," Mean species height slider "),r._UZ(32,"mean-species-height-range-slider"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(11),r.ekj("species-selector-hidden","species-code"!==e.selectedIdentifier),r.Q6J("expanded","geospecies-species-code"===e.activePanel),r.xp6(5),r.ekj("species-selector-hidden","scientific-name"!==e.selectedIdentifier),r.Q6J("expanded","geospecies-scientific-name"===e.activePanel),r.xp6(5),r.Q6J("expanded","geospecies-species-cover"===e.activePanel),r.xp6(6),r.Q6J("expanded","geospecies-mean-species-height"===e.activePanel))},directives:[JO,$O,sB,iB,rB,aB,XW,aQ,fQ,_Q,vQ],styles:[".species-indicator-panel[_ngcontent-%COMP%]{width:9.5cm;position:absolute;border-radius:4px}@media (max-width: 999px){.species-indicator-panel[_ngcontent-%COMP%]{margin-left:0;margin-top:.25cm}}@media (min-width: 1000px){.species-indicator-panel[_ngcontent-%COMP%]{margin-left:9.75cm;top:0}}.species-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.species-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.species-indicator-panel[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]   .species-panel-note[_ngcontent-%COMP%]{margin:-2px 0 5px;font-size:12px;color:#757575}.species-selector-hidden[_ngcontent-%COMP%]{display:none!important}"]}),t}();function bQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-grid-list",9),r.TgZ(1,"mat-grid-tile"),r.TgZ(2,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("landCoverSelector")}),r._uU(3,"Land Cover"),r.qZA(),r.qZA(),r.TgZ(4,"mat-grid-tile"),r.TgZ(5,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("ecoregionSelector")}),r._uU(6,"Ecoregion"),r.qZA(),r.qZA(),r.TgZ(7,"mat-grid-tile"),r.TgZ(8,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("mlraSelector")}),r._uU(9,"MLRA"),r.qZA(),r.qZA(),r.TgZ(10,"mat-grid-tile"),r.TgZ(11,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("ecologicalSiteSelector")}),r._uU(12,"Ecological Site"),r.qZA(),r.qZA(),r.TgZ(13,"mat-grid-tile"),r.TgZ(14,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("stateSelector")}),r._uU(15,"State"),r.qZA(),r.qZA(),r.TgZ(16,"mat-grid-tile"),r.TgZ(17,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("projectSelector")}),r._uU(18,"Project"),r.qZA(),r.qZA(),r.TgZ(19,"mat-grid-tile"),r.TgZ(20,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("dateSelector")}),r._uU(21,"Date"),r.qZA(),r.qZA(),r.TgZ(22,"mat-grid-tile"),r.TgZ(23,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("dataTypeSelector")}),r._uU(24,"Data Type"),r.qZA(),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(2),r.ekj("active",i.filterSelection.landCoverSelector),r.xp6(3),r.ekj("active",i.filterSelection.ecoregionSelector),r.xp6(3),r.ekj("active",i.filterSelection.mlraSelector),r.xp6(3),r.ekj("active",i.filterSelection.ecologicalSiteSelector),r.xp6(3),r.ekj("active",i.filterSelection.stateSelector),r.xp6(3),r.ekj("active",i.filterSelection.projectSelector),r.xp6(3),r.ekj("active",i.filterSelection.dateSelector),r.xp6(3),r.ekj("active",i.filterSelection.dataTypeSelector)}}function OQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-grid-list",11),r.TgZ(1,"mat-grid-tile"),r.TgZ(2,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("linePointInterceptIndicator")}
1),r._uU(3,"Line-Point Intercept"),r.qZA(),r.qZA(),r.TgZ(4,"mat-grid-tile"),r.TgZ(5,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("vegetationHeightIndicator")}),r._uU(6,"Vegetation Height"),r.qZA(),r.qZA(),r.TgZ(7,"mat-grid-tile"),r.TgZ(8,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("canopyGapIndicator")}),r._uU(9,"Canopy Gap"),r.qZA(),r.qZA(),r.TgZ(10,"mat-grid-tile"),r.TgZ(11,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("soilStabilityIndicator")}),r._uU(12,"Soil Stability"),r.qZA(),r.qZA(),r.TgZ(13,"mat-grid-tile"),r.TgZ(14,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("aeroIndicator")}),r._uU(15,"AERO"),r.qZA(),r.qZA(),r.TgZ(16,"mat-grid-tile"),r.TgZ(17,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("rhemIndicator")}),r._uU(18,"RHEM"),r.qZA(),r.qZA(),r.TgZ(19,"mat-grid-tile",12),r.TgZ(20,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("speciesIndicator")}),r._uU(21,"Species"),r.qZA(),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(2),r.ekj("active",i.filterSelection.linePointInterceptIndicator),r.xp6(3),r.ekj("active",i.filterSelection.vegetationHeightIndicator),r.xp6(3),r.ekj("active",i.filterSelection.canopyGapIndicator),r.xp6(3),r.ekj("active",i.filterSelection.soilStabilityIndicator),r.xp6(3),r.ekj("active",i.filterSelection.aeroIndicator),r.xp6(3),r.ekj("active",i.filterSelection.rhemIndicator),r.xp6(3),r.ekj("active",i.filterSelection.speciesIndicator)}}var PQ=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.currentButtonGrid="selectors",this.activeFilterPanelButton="selectors",this.filterSelection={landCoverSelector:!1,ecoregionSelector:!1,mlraSelector:!1,ecologicalSiteSelector:!1,projectSelector:!1,stateSelector:!1,dateSelector:!1,dataTypeSelector:!1,linePointInterceptIndicator:!1,vegetationHeightIndicator:!1,canopyGapIndicator:!1,soilStabilityIndicator:!1,aeroIndicator:!1,rhemIndicator:!1,speciesIndicator:!1},this.selectorNames=hq,this.indicatorNames=pq,this.landCoverSelectorFilters=fq,this.ecoregionSelectorFilters=gq,this.mlraSelectorFilters=_q,this.ecologicalSiteSelectorFilters=mq,this.stateSelectorFilters=vq,this.projectSelectorFilters=yq,this.dataTypeSelectorFilters=bq,this.dateVisitedSelectorFilters=Cq,this.linePointInterceptIndicatorFilters=wq,this.vegetationHeightIndicatorFilters=Aq,this.canopyGapIndicatorFilters=Pq,this.soilStabilityIndicatorFilters=Sq,this.aeroIndicatorFilters=Oq,this.rhemIndicatorFilters=Mq,this.speciesIndicatorFilters=xq}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(yL).subscribe(function(e){t.toggleDisplayedActiveFilter(e)})}},{key:"toggleDisplayedActiveFilter",value:function(t){this.selectorNames.includes(t)?this.toggleDisplayedActiveSelectorFilter(t):this.indicatorNames.includes(t)&&this.toggleDisplayedActiveIndicatorFilter(t)}},{key:"toggleDisplayedActiveSelectorFilter",value:function(t){this.landCoverSelectorFilters.includes(t)&&!this.filterSelection.landCoverSelector?this.togglePanel("landCoverSelector"):this.ecoregionSelectorFilters.includes(t)&&!this.filterSelection.ecoregionSelector?this.togglePanel("ecoregionSelector"):this.mlraSelectorFilters.includes(t)&&!this.filterSelection.mlraSelector?this.togglePanel("mlraSelector"):this.ecologicalSiteSelectorFilters.includes(t)&&!this.filterSelection.ecologicalSiteSelector?this.togglePanel("ecologicalSiteSelector"):this.stateSelectorFilters.includes(t)&&!this.filterSelection.stateSelector?this.togglePanel("stateSelector"):this.projectSelectorFilters.includes(t)&&!this.filterSelection.projectSelector?this.togglePanel("projectSelector"):this.dateVisitedSelectorFilters.includes(t)&&!this.filterSelection.dateSelector?this.togglePanel("dateSelector"):this.dataTypeSelectorFilters.includes(t)&&!this.filterSelection.dataTypeSelector&&this.togglePanel("dataTypeSelector")}},{key:"toggleDisplayedActiveIndicatorFilter",value:function(t){this.linePointInterceptIndicatorFilters.includes(t)&&!this.filterSelection.linePointInterceptIndicator?this.togglePanel("linePointInterceptIndicator"):this.vegetationHeightIndicatorFilters.includes(t)&&!this.filterSelection.vegetationHeightIndicator?this.togglePanel("vegetationHeightIndicator"):this.canopyGapIndicatorFilters.includes(t)&&!this.filterSelection.canopyGapIndicator?this.togglePanel("canopyGapIndicator"):this.soilStabilityIndicatorFilters.includes(t)&&!this.filterSelection.soilStabilityIndicator?this.togglePanel("soilStabilityIndicator"):this.aeroIndicatorFilters.includes(t)&&!this.filterSelection.aeroIndicator?this.togglePanel("aeroIndicator"):this.aeroIndicatorFilters.includes(t)&&!this.filterSelection.rhemIndicator?this.togglePanel("rhemIndicator"):this.speciesIndicatorFilters.includes(t)&&!this.filterSelection.speciesIndicator&&this.togglePanel("speciesIndicator")}},{key:"showSelectors",value:function(){this.currentButtonGrid="selectors",this.activeFilterPanelButton="selectors"}},{key:"showIndicators",value:function(){this.currentButtonGrid="indicators",this.activeFilterPanelButton="indicators"}},{key:"togglePanel",value:function(t){this.filterSelection=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.filterSelection),_defineProperty({},t,!this.filterSelection[t])),"landCoverSelector"!==t&&{landCoverSelector:!1}),"ecoregionSelector"!==t&&{ecoregionSelector:!1}),"mlraSelector"!==t&&{mlraSelector:!1}),"ecologicalSiteSelector"!==t&&{ecologicalSiteSelector:!1}),"projectSelector"!==t&&{projectSelector:!1}),"stateSelector"!==t&&{stateSelector:!1}),"dateSelector"!==t&&{dateSelector:!1}),"dataTypeSelector"!==t&&{dataTypeSelector:!1}),"linePointInterceptIndicator"!==t&&{linePointInterceptIndicator:!1}),"vegetationHeightIndicator"!==t&&{vegetationHeightIndicator:!1}),"canopyGapIndicator"!==t&&{canopyGapIndicator:!1}),"soilStabilityIndicator"!==t&&{soilStabilityIndicator:!1}),"aeroIndicator"!==t&&{aeroIndicator:!1}),"rhemIndicator"!==t&&{rhemIndicator:!1}),"speciesIndicator"!==t&&{speciesIndicator:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["filters-panel"]],inputs:{isVisible:"isVisible"},decls:27,vars:23,consts:[["cdkDrag","",1,"filter-button-panel",3,"hidden"],[1,"filter-button-card"],["cols","2","rowHeight","36px"],["mat-flat-button","","id","selectors-toggle",3,"click"],["mat-flat-button","","id","indicators-toggle",3,"click"],[3,"inset"],["cols","2","rowHeight","36px","class","selectors-button-grid",4,"ngIf"],["cols","2","rowHeight","36px","class","indicators-button-grid",4,"ngIf"],[3,"isVisible"],["cols","2","rowHeight","36px",1,"selectors-button-grid"],["mat-stroked-button","",3,"click"],["cols","2","rowHeight","36px",1,"indicators-button-grid"],[1,"singleton",2,"margin-left","25%"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"mat-grid-list",2),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"button",3),r.NdJ("click",function(){return e.showSelectors()}),r._uU(5,"Selectors"),r.qZA(),r.qZA(),r.TgZ(6,"mat-grid-tile"),r.TgZ(7,"button",4),r.NdJ("click",function(){return e.showIndicators()}),r._uU(8,"Indicators"),r.qZA(),r.qZA(),r.qZA(),r._UZ(9,"mat-divider",5),r.YNc(10,bQ,25,16,"mat-grid-list",6),r.YNc(11,OQ,22,14,"mat-grid-list",7),r.qZA(),r._UZ(12,"land-cover-panel",8),r._UZ(13,"ecoregion-panel",8),r._UZ(14,"mlra-panel",8),r._UZ(15,"ecological-site-panel",8),r._UZ(16,"state-panel",8),r._UZ(17,"project-panel",8),r._UZ(18,"date-panel",8),r._UZ(19,"data-type-panel",8),r._UZ(20,"line-point-intercept-panel",8),r._UZ(21,"vegetation-height-panel",8),r._UZ(22,"canopy-gap-panel",8),r._UZ(23,"soil-stability-panel",8),r._UZ(24,"aero-panel",8),r._UZ(25,"rhem-panel",8),r._UZ(26,"species-panel",8),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.ekj("active","selectors"===e.activeFilterPanelButton),r.xp6(3),r.ekj("active","indicators"===e.activeFilterPanelButton),r.xp6(2),r.Q6J("inset",!0),r.xp6(1),r.Q6J("ngIf","selectors"===e.currentButtonGrid),r.xp6(1),r.Q6J("ngIf","indicators"===e.currentButtonGrid),r.xp6(1),r.Q6J("isVisible",e.filterSelection.landCoverSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.ecoregionSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.mlraSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.ecologicalSiteSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.stateSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.projectSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.dateSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.dataTypeSelector),r.xp6(1),r.Q6J("isVisible",e.filterSelection.linePointInterceptIndicator),r.xp6(1),r.Q6J("isVisible",e.filterSelection.vegetationHeightIndicator),r.xp6(1),r.Q6J("isVisible",e.filterSelection.canopyGapIndicator),r.xp6(1),r.Q6J("isVisible",e.filterSelection.soilStabilityIndicator),r.xp6(1),r.Q6J("isVisible",e.filterSelection.aeroIndicator),r.xp6(1),r.Q6J("isVisible",e.filterSelection.rhemIndicator),r.xp6(1),r.Q6J("isVisible",e.filterSelection.speciesIndicator))},directives:[JO,$O,fP,aP,OP,_P,_t,hG,DG,BG,aH,hH,vH,UJ,YJ,cW,gW,wW,IW,VW,WW,CQ],styles:[".filter-button-panel[_ngcontent-%COMP%]{border-radius:4px;width:9.5cm;position:absolute;margin-left:1.5cm;z-index:1}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   #selectors-toggle[_ngcontent-%COMP%], .filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   #indicators-toggle[_ngcontent-%COMP%]{border-radius:4px 4px 0 0}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:50%}.filter-button-panel[_ngcontent-%COMP%]   .filter-button-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}"]}),t}(),wQ=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.http=e,this.loading=n,this.uploadProgress=new _e.X({progress:null,isUploading:!1}),this.primaryKeys$=new _e.X([]),this.errorMessage$=new _e.X(null),this.MAX_ZIP_SIZE=10485760,this.endpoint="gis/shapefile",this.jwtMgr=new il}return _createClass(t,[{key:"uploadShapefile",value:function(t){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i,o,r,a=this;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.size>this.MAX_ZIP_SIZE)){e.next=2;break}return e.abrupt("return",void this.emitError("Your ZIP file is larger than 10\u202fMiB.  Please upload a smaller shapefile."));case 2:if(0!==t.size){e.next=4;break}return e.abrupt("return",void this.emitError("The ZIP file is empty.  Please choose a shapef
1ile that contains data."));case 4:return(n=new FormData).append("shapefile",t,t.name),e.next=8,this.jwtMgr.getServiceConnectionDetails();case 8:return i=e.sent,e.next=11,this.jwtMgr.updateHeadersForShapefileUpload(i);case 11:i=e.sent,o=i.serviceUrl+this.endpoint,r={headers:i.httpHeaders,reportProgress:!0,observe:"events",responseType:"json"},this.loading.start(),this.uploadProgress.next({progress:0,isUploading:!0}),this.errorMessage$.next(null),this.http.put(o,n,r).subscribe(function(t){return a.handleEvent(t)},function(t){return a.handleHttpError(t)});case 14:case"end":return e.stop()}},e,this)}))}},{key:"handleEvent",value:function(t){var e,n;if(t.type===ar.UploadProgress&&t.total){var i=Math.round(t.loaded/t.total*100);this.uploadProgress.next({progress:i,isUploading:!0})}else if(t.type===ar.Response){var o=null!==(n=null===(e=t.body)||void 0===e?void 0:e.primaryKeys)&&void 0!==n?n:[];this.primaryKeys$.next(o),this.uploadProgress.next({progress:100,isUploading:!1}),this.loading.end()}}},{key:"handleHttpError",value:function(t){this.loading.end();var e=this.mapErrorToMessage("string"==typeof t.error?t.error:t.error&&"string"==typeof t.error.error?t.error.error:t.error&&"string"==typeof t.error.detail?t.error.detail:"",t.status);this.emitError(e)}},{key:"emitError",value:function(t){this.uploadProgress.next({progress:null,isUploading:!1}),this.primaryKeys$.next([]),this.errorMessage$.next(t)}},{key:"mapErrorToMessage",value:function(t,e){return t.includes("exceeds max")?"Your ZIP file is larger than 10\u202fMiB.  Please upload a smaller shapefile.":t.includes("missing")?"Your ZIP file appears to be missing one or more required shapefile components (.shp, .dbf, etc.).":t.includes("PostGIS error")?"Your shapefile contains a polygon with geometry errors that cannot be repaired. Please try again with a different shapefile.":"We're very sorry, but something went wrong while processing your shapefile. Please try again later. If the problem persists, please contact [email protected] for assistance."}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(hr),r.LFG(nN))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),MQ=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"parseZippedShapefile",value:function(t){return new ve.y(function(e){var i=null,o=null,r=!1,a=function(){if(!r){r=!0;try{o&&o.readyState===FileReader.LOADING&&o.abort()}catch(t){}try{i&&i.terminate()}catch(t){}o=null,i=null}};return t?((i=new Worker(n.tu(new URL(n.p+n.u(927),n.b)),{type:void 0})).onmessage=function(t){var n=t.data;if(n&&!0===n.ok)return e.next({geojson:n.geojson,bbox:n.bbox}),e.complete(),void a();e.error(new Error(n&&!1===n.ok&&n.error?n.error:"Unknown shapefile parsing error (worker returned an unexpected payload).")),a()},i.onerror=function(t){e.error(t),a()},(o=new FileReader).onload=function(){var t=null==o?void 0:o.result;if(!(t instanceof ArrayBuffer))return e.error(new Error("Failed to read shapefile as an ArrayBuffer.")),void a();null==i||i.postMessage(t)},o.onerror=function(){e.error(new Error("Failed to read the shapefile in the browser.")),a()},o.readAsArrayBuffer(t),function(){a()}):(e.error(new Error("No shapefile was provided.")),a(),function(){return a()})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function xQ(t,e){if(1&t&&(r.TgZ(0,"div",15),r.TgZ(1,"mat-icon",16),r._uU(2,"error"),r.qZA(),r._uU(3),r.qZA()),2&t){var n=r.oxw(2);r.xp6(3),r.hij(" ",n.errorMsg," ")}}function kQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div"),r.ynx(1),r.TgZ(2,"div"),r.TgZ(3,"div",4),r.TgZ(4,"button",5),r.NdJ("click",function(){r.CHM(n);var t=r.MAs(7);return r.oxw().chooseFile(t)}),r._uU(5," Select shapefile "),r.qZA(),r.TgZ(6,"input",6,7),r.NdJ("change",function(t){return r.CHM(n),r.oxw().onFileChosen(t)}),r.qZA(),r.qZA(),r.YNc(8,xQ,4,1,"div",8),r.TgZ(9,"section",9),r.TgZ(10,"p",10),r._uU(11," Click the "),r.TgZ(12,"u"),r._uU(13,"Select shapefile"),r.qZA(),r._uU(14," button above to upload a "),r.TgZ(15,"b"),r._uU(16,"zipped"),r.qZA(),r._uU(17," shapefile containing a polygon. The map will highlight plots whose coordinates fall inside that polygon. "),r.qZA(),r.TgZ(18,"p"),r._uU(19,"Note that (1) uploading another shapefile will replace the previous shapefile selection and (2) shapef
1ile selections are intersected with existing map polygon "),r._UZ(20,"img",11),r._uU(21," and filter "),r.TgZ(22,"mat-icon",12),r._uU(23,"filter_alt"),r.qZA(),r._uU(24," selections. Use the refresh "),r.TgZ(25,"mat-icon",13),r._uU(26,"refresh"),r.qZA(),r._uU(27," buttons to reset/remove your current selection and start over. "),r.TgZ(28,"i"),r._uU(29,"Large"),r.qZA(),r._uU(30," and/or "),r.TgZ(31,"i"),r._uU(32,"complex"),r.qZA(),r._uU(33," shapefiles may require additional processing time. For support, please contact "),r.TgZ(34,"a",14),r._uU(35,"Christopher Fraser"),r.qZA(),r._uU(36,". "),r.qZA(),r.qZA(),r.qZA(),r.BQk(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(4),r.Q6J("disabled",i.isUploading),r.xp6(4),r.Q6J("ngIf",i.errorMsg)}}function SQ(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"section",9),r.TgZ(2,"p"),r._uU(3,"To access the shapefile upload option, please log in; see the login "),r.TgZ(4,"mat-icon",17),r._uU(5,"login"),r.qZA(),r._uU(6," link in the navigation bar at the top of the page."),r.qZA(),r.qZA(),r.qZA())}var AQ=function(){var t=function(){function t(e,n,i,o){_classCallCheck(this,t),this.store=e,this.uploadSvc=n,this.authSvc=i,this.polygonOutlineParser=o,this.isVisible=!1,this.isLoggedIn=!1,this.isUploading=!1,this.errorMsg=null}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.authSub=this.authSvc.loggedIn$.subscribe(function(e){return t.isLoggedIn=e}),this.progressSub=this.uploadSvc.uploadProgress.subscribe(function(e){return t.isUploading=e.isUploading}),this.pkSub=this.uploadSvc.primaryKeys$.pipe((0,hl.T)(1)).subscribe(function(e){(function(t){return Array.isArray(t)&&t.every(function(t){return"string"==typeof t})})(e)&&e.length&&t.store.dispatch(iL({ldc_primary_keys:e}))}),this.errSub=this.uploadSvc.errorMessage$.subscribe(function(e){return t.errorMsg=e})}},{key:"chooseFile",value:function(t){t.click()}},{key:"onFileChosen",value:function(t){var e,n=this,i=null===(e=t.target.files)||void 0===e?void 0:e[0];i&&(this.store.dispatch(sL()),this.polygonOutlineParser.parseZippedShapefile(i).subscribe({next:function(t){var e=t.geojson,i=t.bbox;n.store.dispatch(aL({geojson:e,bbox:i}))},error:function(t){console.error("[UPLOAD PANEL] Parser error:",t)}}),this.uploadSvc.uploadShapefile(i))}},{key:"ngOnDestroy",value:function(){var t,e,n,i;null===(t=this.authSub)||void 0===t||t.unsubscribe(),null===(e=this.progressSub)||void 0===e||e.unsubscribe(),null===(n=this.pkSub)||void 0===n||n.unsubscribe(),null===(i=this.errSub)||void 0===i||i.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(wQ),r.Y36(Wf),r.Y36(MQ))},t.\u0275cmp=r.Xpm({type:t,selectors:[["portal-upload-panel"]],inputs:{isVisible:"isVisible"},decls:7,vars:3,consts:[["cdkDrag","",1,"upload-panel",3,"hidden"],[1,"upload-panel-card"],["inset","true"],[4,"ngIf"],[1,"upload-button-container"],["mat-stroked-button","",3,"disabled","click"],["type","file","accept",".zip","hidden","",3,"change"],["fileInput",""],["class","error-banner",4,"ngIf"],[1,"__comments"],[1,"button-directions"],["src","assets/img/cmf/polygon-icon.svg","width","20",1,"in-text-icon"],[1,"filter-icon"],[1,"refresh-icon"],["href","mailto:[email protected]","aria-label","Email Christopher Fraser",1,"ldc-support-link"],[1,"error-banner"],["aria-hidden","true"],[1,"login-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"h2"),r._uU(3,"Upload shapefile"),r.qZA(),r._UZ(4,"mat-divider",2),r.YNc(5,kQ,37,2,"div",3),r.YNc(6,SQ,7,0,"div",3),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(5),r.Q6J("ngIf",e.isLoggedIn),r.xp6(1),r.Q6J("ngIf",!e.isLoggedIn))},directives:[JO,$O,_P,_t,OP,VP],styles:[".upload-panel[_ngcontent-%COMP%]{border-radius:4px;width:9.5cm;margin-left:1.5cm}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003;height:435px;overflow:auto}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{justify-content:center;color:#323232;margin:10px 0;font-size:21px}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{margin-bottom:20px}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .__comments[_ngcontent-%COMP%], .upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .__alternate-options[_ngcontent-%COMP%]{align-items:center;justify-content:center;padding:0 10%}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .upload-button-container[_ngcontent-%COMP%], .upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .multitable-upload-button-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .upload-button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .multitable-upload-button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:80%;align-items:center;justify-content:center;margin:10px}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .upload-button-container[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%], .upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .multitable-upload-button-container[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .multitable-upload-button-container[_ngcontent-%COMP%]{margin-top:2px}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .button-directions[_ngcontent-%COMP%]{margin-bottom:30px}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .login-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .mat-spinner-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%;margin-top:20px}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .loading-text[_ngcontent-%COMP%]{margin-top:20px;text-align:center}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .ldc-support-link[_ngcontent-%COMP%]{color:#7e057ee3!important;font-size:14px;font-weight:400!important}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .error-banner[_ngcontent-%COMP%]{margin:12px 16px;padding:8px;border-radius:4px;background:#fdecea;color:#b00020;display:flex;align-items:center}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .error-banner[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:6px}.upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .filter-icon[_ngcontent-%COMP%], .upload-panel[_ngcontent-%COMP%]   .upload-panel-card[_ngcontent-%COMP%]   .refresh-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}"]}),t}();function TQ(t,e){1&t&&(r.TgZ(0,"mat-icon",7),r._uU(1,"cancel"),r.qZA())}function IQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",5),r.NdJ("click",function(){var t=r.CHM(n).$implicit;return r.oxw().onClick(t)})("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,TQ,2,0,"mat-icon",6),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.ekj("clicked",o.activeChip===i),r.Q6J("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}function EQ(t,e){1&t&&(r.TgZ(0,"mat-icon",7),r._uU(1,"cancel"),r.qZA())}function DQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-chip",5),r.NdJ("click",function(){var t=r.CHM(n).$implicit;return r.oxw().onClick(t)})("removed",function(){var t=r.CHM(n).$implicit;return r.oxw().remove(t)}),r._uU(1),r.YNc(2,EQ,2,0,"mat-icon",6),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.ekj("clicked",o.activeChip===i),r.Q6J("removable",o.removable),r.xp6(1),r.hij(" ",i," "),r.xp6(1),r.Q6J("ngIf",o.removable)}}var RQ=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.isVisible=!1,this.selectable=!0,this.removable=!0,this.filterNames=dq,this.activeSelectorFilters=[],this.activeIndicatorFilters=[],this.selectorNames=hq,this.indicatorNames=pq,this.activeChip=null}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(mL).subscribe(function(e){e&&(t.activeSelectorFilters=[],t.activeIndicatorFilters=[])}),this.store.select(vL).subscribe(function(e){t.activeSelectorFilters=e.filter(function(e){return t.selectorNames.includes(e)}),t.activeIndicatorFilters=e.filter(function(e){return t.indicatorNames.includes(e)})})}},{key:"haveSameElements",value:function(t,e){var n=new Set(t),i=new Set(e);if(n.size!==i.size)return!1;var o,r=_createForOfIteratorHelper(n);try{for(r.s();!(o=r.n()).done;){var a=o.value;if(!i.has(a))return!1}}catch(s){r.e(s)}finally{r.f()}return!0}},{key:"onClick",value:function(t){this.activeChip=this.activeChip===t?t="":t,this.store.dispatch($F({filterName:t}))}},{key:"remove",value:function(t){var e;this.selectorNames.includes(t)?(e=this.activeSelectorFilters.indexOf(t))>=0&&this.activeSelectorFilters.splice(e,1):this.indicatorNames.includes(t)&&(e=this.activeIndicatorFilters.indexOf(t))>=0&&this.activeIndicatorFilters.splice(e,1),this.activeChip=null,this.store.dispatch(KF({filterName:t}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["selections-panel"]],inputs:{isVisible:"isVisible"},decls:10,vars:4,consts:[["cdkDrag","",1,"selections-panel-cdkdrag",3,"hidden"],[1,"selections-panel-card"],[3,"inset"],[1,"mat-chip-list-stacked"],[3,"removable","clicked","click","removed",4,"ngFor","ngForOf"],[3,"removable","click","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"h2"),r._uU(3,"Selections"),r.qZA(),r._UZ(4,"mat-divider",2),r.TgZ(5,"p"),r.TgZ(6,"mat-chip-list",3),r.YNc(7,IQ,3,5,"mat-chip",4),r.qZA(),r.TgZ(8,"mat-chip-list",3),r.YNc(9,DQ,3,5,"mat-chip",4),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.Q6J("inset",!0),r.xp6(3),r.Q6J("ngForOf",e.activeSelectorFilters),r.xp6(2),r.Q6J("ngForOf",e.activeIndicatorFilters))},directives:[JO,$O,_P,eY,ft,WB,_t,VP,QB],styles:[".selections-panel-cdkdrag[_ngcontent-%COMP%]{border-radius:4px;width:9.5cm;position:relative;margin-left:1.5cm;z-index:2}.selections-panel-cdkdrag[_ngcontent-%COMP%]   .selections-panel-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003;height:435px;overflow:auto}.selections-panel-cdkdrag[_ngcontent-%COMP%]   .selections-panel-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{margin-bottom:20px}.selections-panel-cdkdrag[_ngcontent-%COMP%]   .selections-panel-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#323232;margin:10px 0;font-size:21px}.selections-panel-cdkdrag[_ngcontent-%COMP%]   mat-chip[_ngcontent-%COMP%]{max-width:328px;justify-content:space-between;color:#000}.selections-panel-cdkdrag[_ngcontent-%COMP%]   .mat-chip.clicked[_ngcontent-%COMP%]{background-color:#85acff;color:#fff;font-weight:600}"]}
1),t}(),FQ=["mat-sort-header",""];function LQ(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",3),r.NdJ("@arrowPosition.start",function(){return r.CHM(n),r.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return r.CHM(n),r.oxw()._disableViewStateAnimation=!1}),r._UZ(1,"div",4),r.TgZ(2,"div",5),r._UZ(3,"div",6),r._UZ(4,"div",7),r._UZ(5,"div",8),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),r.xp6(2),r.Q6J("@indicator",i._getArrowDirectionState()),r.xp6(1),r.Q6J("@leftPointer",i._getArrowDirectionState()),r.xp6(1),r.Q6J("@rightPointer",i._getArrowDirectionState())}}var ZQ=["*"],NQ=new r.OlP("MAT_SORT_DEFAULT_OPTIONS"),UQ=Rp(Ap(function(){return _createClass(function t(){_classCallCheck(this,t)})}())),VQ=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._defaultOptions=t,n.sortables=new Map,n._stateChanges=new we.xQ,n.start="asc",n._direction="",n.sortChange=new r.vpe,n}return _inherits(e,t),_createClass(e,[{key:"direction",get:function(){return this._direction},set:function(t){this._direction=t}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=gl(t)}},{key:"register",value:function(t){this.sortables.set(t.id,t)}},{key:"deregister",value:function(t){this.sortables.delete(t.id)}},{key:"sort",value:function(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(t){var e,n,i;if(!t)return"";var o=null!==(n=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear),r=function(t,e){var n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,o),a=r.indexOf(this.direction)+1;return a>=r.length&&(a=0),r[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),e}(UQ);return t.\u0275fac=function(e){return new(e||t)(r.Y36(NQ,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[r.qOj,r.TTD]}),t}(),jQ=Mp.ENTERING+" "+wp.STANDARD_CURVE,zQ={indicator:Eu("indicator",[Lu("active-asc, asc",Fu({transform:"translateY(0px)"})),Lu("active-desc, desc",Fu({transform:"translateY(10px)"})),Nu("active-asc <=> active-desc",Du(jQ))]),leftPointer:Eu("leftPointer",[Lu("active-asc, asc",Fu({transform:"rotate(-45deg)"})),Lu("active-desc, desc",Fu({transform:"rotate(45deg)"})),Nu("active-asc <=> active-desc",Du(jQ))]),rightPointer:Eu("rightPointer",[Lu("active-asc, asc",Fu({transform:"rotate(45deg)"})),Lu("active-desc, desc",Fu({transform:"rotate(-45deg)"})),Nu("active-asc <=> active-desc",Du(jQ))]),arrowOpacity:Eu("arrowOpacity",[Lu("desc-to-active, asc-to-active, active",Fu({opacity:1})),Lu("desc-to-hint, asc-to-hint, hint",Fu({opacity:.54})),Lu("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Fu({opacity:0})),Nu("* => asc, * => desc, * => active, * => hint, * => void",Du("0ms")),Nu("* <=> *",Du(jQ))]),arrowPosition:Eu("arrowPosition",[Nu("* => desc-to-hint, * => desc-to-active",Du(jQ,Zu([Fu({transform:"translateY(-25%)"}),Fu({transform:"translateY(0)"})]))),Nu("* => hint-to-desc, * => active-to-desc",Du(jQ,Zu([Fu({transform:"translateY(0)"}),Fu({transform:"translateY(25%)"})]))),Nu("* => asc-to-hint, * => asc-to-active",Du(jQ,Zu([Fu({transform:"translateY(25%)"}),Fu({transform:"translateY(0)"})]))),Nu("* => hint-to-asc, * => active-to-asc",Du(jQ,Zu([Fu({transform:"translateY(0)"}),Fu({transform:"translateY(-25%)"})]))),Lu("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Fu({transform:"translateY(0)"})),Lu("hint-to-desc, active-to-desc, desc",Fu({transform:"translateY(-25%)"})),Lu("hint-to-asc, active-to-asc, asc",Fu({transform:"translateY(25%)"}))]),allowChildren:Eu("allowChildren",[Nu("* <=> *",[Vu("@*",Uu(),{optional:!0})])])},qQ=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.changes=new we.xQ});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),BQ={provide:qQ,deps:[[new r.FiY,new r.tp0,qQ]],useFactory:function(t){return t||new qQ}},YQ=Ap(function(){return _createClass(function t(){_classCallCheck(this,t)})}()),GQ=function(){var t=function(t){function e(t,n,i,o,r,a,s){var c;return _classCallCheck(this,e),(c=_callSuper(this,e))._intl=t,c._changeDetectorRef=n,c._sort=i,c._columnDef=o,c._focusMonitor=r,c._elementRef=a,c._ariaDescriber=s,c._showIndicatorHint=!1,c._viewState={},c._arrowDirection="",c._disableViewStateAnimation=!1,c.arrowPosition="after",c._sortActionDescription="Sort",c._handleStateChanges(),c}return _inherits(e,t),_createClass(e,[{key:"sortActionDescription",get:function(){return this._sortActionDescription},set:function(t){this._updateSortActionDescription(t)}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=gl(t)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){var n=!!e;n!==t._showIndicatorHint&&(t._setIndicatorHintVisible(n),t._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(t){!this._isDisabled()&&(32===t.keyCode||13===t.keyCode)&&(t.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var t=this._viewState.fromState;return(t?"".concat(t,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_updateSortActionDescription",value:function(t){var e,n;this._sortButton&&(null===(e=this._ariaDescriber)||void 0===e||e.removeDescription(this._sortButton,this._sortActionDescription),null===(n=this._ariaDescriber)||void 0===n||n.describe(this._sortButton,t)),this._sortActionDescription=t}},{key:"_handleStateChanges",value:function(){var t=this;this._rerenderSubscription=(0,oO.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){t._isSorted()&&(t._updateArrowDirection(),("hint"===t._viewState.toState||"active"===t._viewState.toState)&&(t._disableViewStateAnimation=!0),t._setAnimationTransitionState({fromState:t._arrowDirection,toState:"active"}),t._showIndicatorHint=!1),!t._isSorted()&&t._viewState&&"active"===t._viewState.toState&&(t._disableViewStateAnimation=!1,t._setAnimationTransitionState({fromState:"active",toState:t._arrowDirection})),t._changeDetectorRef.markForCheck()})}}]),e}(YQ);return t.\u0275fac=function(e){return new(e||t)(r.Y36(qQ),r.Y36(r.sBO),r.Y36(VQ,8),r.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),r.Y36(yu),r.Y36(r.SBq),r.Y36(Wl,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(r.uIk("aria-sort",e._getAriaSortAttribute()),r.ekj("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",sortActionDescription:"sortActionDescription",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[r.qOj],attrs:FQ,ngContentSelectors:ZQ,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,LQ,6,6,"div",2),r.qZA()),2&t&&(r.ekj("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),r.uIk("tabindex",e._isDisabled()?null:0),r.xp6(3),r.Q6J("ngIf",e._renderArrow()))},directives:[_t],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}
1.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[zQ.indicator,zQ.leftPointer,zQ.rightPointer,zQ.arrowOpacity,zQ.arrowPosition,zQ.allowChildren]},changeDetection:0}),t}(),HQ=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[BQ],imports:[[It,Sp]]}),t}(),JQ=[[["caption"]],[["colgroup"],["col"]]],WQ=["caption","colgroup, col"];function QQ(t){return function(t){function e(){var t;_classCallCheck(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=_callSuper(this,e,[].concat(i)))._sticky=!1,t._hasStickyChanged=!1,t}return _inherits(e,t),_createClass(e,[{key:"sticky",get:function(){return this._sticky},set:function(t){var e=this._sticky;this._sticky=gl(t),this._hasStickyChanged=e!==this._sticky}},{key:"hasStickyChanged",value:function(){var t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}}]),e}(t)}var KQ=new r.OlP("CDK_TABLE"),XQ=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.template=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkCellDef",""]]}),t}(),$Q=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.template=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t}(),tK=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.template=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkFooterCellDef",""]]}),t}(),eK=QQ(_createClass(function t(){_classCallCheck(this,t)})),nK=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_callSuper(this,e))._table=t,n._stickyEnd=!1,n}return _inherits(e,t),_createClass(e,[{key:"name",get:function(){return this._name},set:function(t){this._setNameInput(t)}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(t){var e=this._stickyEnd;this._stickyEnd=gl(t),this._hasStickyChanged=e!==this._stickyEnd}},{key:"_updateColumnCssClassName",value:function(){this._columnCssClassName=["cdk-column-".concat(this.cssClassFriendlyName)]}},{key:"_setNameInput",value:function(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}]),e}(eK);return t.\u0275fac=function(e){return new(e||t)(r.Y36(KQ,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,XQ,5),r.Suo(n,$Q,5),r.Suo(n,tK,5)),2&t)&&(r.iGM(i=r.CRH())&&(e.cell=i.first),r.iGM(i=r.CRH())&&(e.headerCell=i.first),r.iGM(i=r.CRH())&&(e.footerCell=i.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[r._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.qOj]}),t}(),iK=_createClass(function t(e,n){_classCallCheck(this,t);var i,o=n.nativeElement.classList,r=_createForOfIteratorHelper(e._columnCssClassName);try{for(r.s();!(i=r.n()).done;){var a=i.value;o.add(a)}}catch(s){r.e(s)}finally{r.f()}}),oK=function(){var t=function(t){function e(t,n){return _classCallCheck(this,e),_callSuper(this,e,[t,n])}return _inherits(e,t),_createClass(e)}(iK);return t.\u0275fac=function(e){return new(e||t)(r.Y36(nK),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[r.qOj]}),t}(),rK=function(){var t=function(t){function e(t,n){var i,o;if(_classCallCheck(this,e),i=_callSuper(this,e,[t,n]),1===(null===(o=t._table)||void 0===o?void 0:o._elementRef.nativeElement.nodeType)){var r=t._table._elementRef.nativeElement.getAttribute("role");n.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}return _possibleConstructorReturn(i)}return _inherits(e,t),_createClass(e)}(iK);return t.\u0275fac=function(e){return new(e||t)(r.Y36(nK),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[r.qOj]}),t}(),aK=_createClass(function t(){_classCallCheck(this,t),this.tasks=[],this.endTasks=[]}),sK=new r.OlP("_COALESCED_STYLE_SCHEDULER"),cK=function(){var t=function(){function t(e){_classCallCheck(this,t),this._ngZone=e,this._currentSchedule=null,this._destroyed=new we.xQ}return _createClass(t,[{key:"schedule",value:function(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}},{key:"scheduleEnd",value:function(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_createScheduleIfNeeded",value:function(){var t=this;this._currentSchedule||(this._currentSchedule=new aK,this._getScheduleObservable().pipe((0,fl.R)(this._destroyed)).subscribe(function(){for(;t._currentSchedule.tasks.length||t._currentSchedule.endTasks.length;){var e=t._currentSchedule;t._currentSchedule=new aK;var n,i=_createForOfIteratorHelper(e.tasks);try{for(i.s();!(n=i.n()).done;){(0,n.value)()}}catch(a){i.e(a)}finally{i.f()}var o,r=_createForOfIteratorHelper(e.endTasks);try{for(r.s();!(o=r.n()).done;){(0,o.value)()}}catch(a){r.e(a)}finally{r.f()}}t._currentSchedule=null}))}},{key:"_getScheduleObservable",value:function(){return this._ngZone.isStable?(0,fe.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,ke.q)(1))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),lK=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.template=e,this._differs=n}return _createClass(t,[{key:"ngOnChanges",value:function(t){if(!this._columnsDiffer){var e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(t){return this instanceof hK?t.headerCell.template:this instanceof gK?t.footerCell.template:t.cell.template}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4))},t.\u0275dir=r.lG2({type:t,features:[r.TTD]}),t}(),uK=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(lK),dK=QQ(uK),hK=function(){var t=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t,n]))._table=i,o}
1return _inherits(e,t),_createClass(e,[{key:"ngOnChanges",value:function(t){_get(_getPrototypeOf(e.prototype),"ngOnChanges",this).call(this,t)}}]),e}(dK);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(KQ,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[r.qOj,r.TTD]}),t}(),pK=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(lK),fK=QQ(pK),gK=function(){var t=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t,n]))._table=i,o}return _inherits(e,t),_createClass(e,[{key:"ngOnChanges",value:function(t){_get(_getPrototypeOf(e.prototype),"ngOnChanges",this).call(this,t)}}]),e}(fK);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(KQ,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[r.qOj,r.TTD]}),t}(),_K=function(){var t=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),(o=_callSuper(this,e,[t,n]))._table=i,o}return _inherits(e,t),_createClass(e)}(lK);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(KQ,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[r.qOj]}),t}(),mK=function(){var t=function(){function t(e){_classCallCheck(this,t),this._viewContainer=e,t.mostRecentCellOutlet=this}return _createClass(t,[{key:"ngOnDestroy",value:function(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t}(),vK=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[mK],encapsulation:2}),t}(),yK=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[mK],encapsulation:2}),t}(),CK=function(){var t=_createClass(function t(e){_classCallCheck(this,t),this.templateRef=e});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t}(),bK=["top","bottom","left","right"],OK=function(){function t(e,n,i,o){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,t),this._isNativeHtmlTable=e,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler
1=o,this._isBrowser=r,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(n,"-border-elem-top"),bottom:"".concat(n,"-border-elem-bottom"),left:"".concat(n,"-border-elem-left"),right:"".concat(n,"-border-elem-right")}}return _createClass(t,[{key:"clearStickyPositioning",value:function(t,e){var n,i=this,o=[],r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.nodeType===a.ELEMENT_NODE){o.push(a);for(var s=0;s<a.children.length;s++)o.push(a.children[s])}}}catch(c){r.e(c)}finally{r.f()}this._coalescedStyleScheduler.schedule(function(){for(var t=0,n=o;t<n.length;t++){var r=n[t];i._removeStickyStyle(r,e)}})}},{key:"updateStickyColumns",value:function(t,e,n){var i=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.length&&this._isBrowser&&(e.some(function(t){return t})||n.some(function(t){return t}))){var r=t[0],a=r.children.length,s=this._getCellWidths(r,o),c=this._getStickyStartColumnPositions(s,e),l=this._getStickyEndColumnPositions(s,n),u=e.lastIndexOf(!0),d=n.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var o,r="rtl"===i.direction,h=r?"right":"left",p=r?"left":"right",f=_createForOfIteratorHelper(t);try{for(f.s();!(o=f.n()).done;)for(var g=o.value,_=0;_<a;_++){var m=g.children[_];e[_]&&i._addStickyStyle(m,h,c[_],_===u),n[_]&&i._addStickyStyle(m,p,l[_],_===d)}}catch(v){f.e(v)}finally{f.f()}i._positionListener&&(i._positionListener.stickyColumnsUpdated({sizes:-1===u?[]:s.slice(0,u+1).map(function(t,n){return e[n]?t:null})}),i._positionListener.stickyEndColumnsUpdated({sizes:-1===d?[]:s.slice(d).map(function(t,e){return n[e+d]?t:null}).reverse()}))})}else this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}},{key:"stickRows",value:function(t,e,n){var i=this;if(this._isBrowser){for(var o="bottom"===n?t.slice().reverse():t,r="bottom"===n?e.slice().reverse():e,a=[],s=[],c=[],l=0,u=0;l<o.length;l++)if(r[l]){a[l]=u;var d=o[l];c[l]=this._isNativeHtmlTable?Array.from(d.children):[d];var h=d.getBoundingClientRect().height;u+=h,s[l]=h}var p=r.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(function(){for(var t,e,l=0;l<o.length;l++)if(r[l]){var u,d=a[l],h=l===p,f=_createForOfIteratorHelper(c[l]);try{for(f.s();!(u=f.n()).done;){var g=u.value;i._addStickyStyle(g,n,d,h)}}catch(_){f.e(_)}finally{f.f()}}"top"===n?null===(t=i._positionListener)||void 0===t||t.stickyHeaderRowsUpdated({sizes:s,offsets:a,elements:c}):null===(e=i._positionListener)||void 0===e||e.stickyFooterRowsUpdated({sizes:s,offsets:a,elements:c})})}}},{key:"updateStickyFooterContainer",value:function(t,e){var n=this;if(this._isNativeHtmlTable){var i=t.querySelector("tfoot");this._coalescedStyleScheduler.schedule(function(){e.some(function(t){return!t})?n._removeStickyStyle(i,["bottom"]):n._addStickyStyle(i,"bottom",0,!1)})}}},{key:"_removeStickyStyle",value:function(t,e){var n,i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;t.style[o]="",t.classList.remove(this._borderCellCss[o])}}catch(r){i.e(r)}finally{i.f()}bK.some(function(n){return-1===e.indexOf(n)&&t.style[n]})?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(t,e,n,i){t.classList.add(this._stickCellCss),i&&t.classList.add(this._borderCellCss[e]),t.style[e]="".concat(n,"px"),t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}},{key:"_getCalculatedZIndex",value:function(t){for(var e={top:100,bottom:10,left:1,right:1},n=0,i=0,o=bK;i<o.length;i++){var r=o[i];t.style[r]&&(n+=e[r])}return n?"".concat(n):""}},{key:"_getCellWidths",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var n=[],i=t.children,o=0;o<i.length;o++)n.push(i[o].getBoundingClientRect().width);return this._cachedCellWidths=n,n}},{key:"_getStickyStartColumnPositions",value:function(t,e){for(var n=[],i=0,o=0;o<t.length;o++)e[o]&&(n[o]=i,i+=t[o]);return n}},{key:"_getStickyEndColumnPositions",value:function(t,e){for(var n=[],i=0,o=t.length;o>0;o--)e[o]&&(n[o]=i,i+=t[o]);return n}}]),t}(),PK=new r.OlP("CDK_SPL"),wK=function(){var t=_createClass(function t(e,n){_classCallCheck(this,t),this.viewContainer=e,this.elementRef=n});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","rowOutlet",""]]}),t}(),MK=function(){var t=_createClass(function t(e,n){_classCallCheck(this,t),this.viewContainer=e,this.elementRef=n});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","headerRowOutlet",""]]}),t}(),xK=function(){var t=_createClass(function t(e,n){_classCallCheck(this,t),this.viewContainer=e,this.elementRef=n});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","footerRowOutlet",""]]}),t}(),kK=function(){var t=_createClass(function t(e,n){_classCallCheck(this,t),this.viewContainer=e,this.elementRef=n});return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","noDataRowOutlet",""]]}),t}(),SK=function(){var t=function(){function t(e,n,i,o,a,s,c,l,u,d,h){_classCallCheck(this,t),this._differs=e,this._changeDetectorRef=n,this._elementRef=i,this._dir=a,this._platform=c,this._viewRepeater=l,this._coalescedStyleScheduler
1=u,this._viewportRuler=d,this._stickyPositioningListener=h,this._onDestroy=new we.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new r.vpe,this.viewChange=new _e.X({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return _createClass(t,[{key:"trackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"dataSource",get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=gl(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(t){this._fixedLayout=gl(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n}),this._viewportRuler.change().pipe((0,fl.R)(this._onDestroy)).subscribe(function(){t._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Ub(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();var n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,n,function(e,n,i){return t._getEmbeddedViewArgs(e.item,i)},function(t){return t.item.data},function(e){1===e.operation&&e.context&&t._renderCellTemplateForItem(e.record.item.rowDef,e.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(function(t){n.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}},{key:"addColumnDef",value:function(t){this._customColumnDefs.add(t)}},{key:"removeColumnDef",value:function(t){this._customColumnDefs.delete(t)}},{key:"addRowDef",value:function(t){this._customRowDefs.add(t)}},{key:"removeRowDef",value:function(t){this._customRowDefs.delete(t)}},{key:"addHeaderRowDef",value:function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(t){this._customNoDataRow=t}},{key:"updateStickyHeaderRowStyles",value:function(){var t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");var n=this._headerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEac
1h(function(t){return t.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");var n=this._footerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(function(t){return t.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(_toConsumableArray(e),_toConsumableArray(n),_toConsumableArray(i)),["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach(function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])}),this._rowDefs.forEach(function(e){for(var i=[],o=0;o<n.length;o++)t._renderRows[o].rowDef===e&&i.push(n[o]);t._addStickyColumnStyles(i,e)}),i.forEach(function(e,n){t._addStickyColumnStyles([e],t._footerRowDefs[n])}),Array.from(this._columnDefsByName.values()).forEach(function(t){return t.resetStickyChanged()})}},{key:"_getAllRenderRows",value:function(){var t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var i=this._data[n],o=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(var r=0;r<o.length;r++){var a=o[r],s=this._cachedRenderRowsMap.get(a.data);s.has(a.rowDef)?s.get(a.rowDef).push(a):s.set(a.rowDef,[a]),t.push(a)}}return t}},{key:"_getRenderRowsForData",value:function(t,e,n){return this._getRowDefs(t,e).map(function(i){var o=n&&n.has(i)?n.get(i):[];if(o.length){var r=o.shift();return r.dataIndex=e,r}return{data:t,rowDef:i,dataIndex:e}})}},{key:"_cacheColumnDefs",value:function(){var t=this;this._columnDefsByName.clear(),AK(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(e){t._columnDefsByName.has(e.name),t._columnDefsByName.set(e.name,e)})}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=AK(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=AK(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=AK(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var t=this._rowDefs.filter(function(t){return!t.when});this._defaultRowDef=t[0]}},{key:"_renderUpdatedColumns",value:function(){var t=function(t,e){return t||!!e.getColumnsDiff()},e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();var n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();var i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}},{key:"_switchDataSource",value:function(t){this._data=[],Ub(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}},{key:"_observeRenderChanges",value:function(){var t,e=this;this.dataSource&&(Ub(this.dataSource)?t=this.dataSource.connect(this):(0,Zb.b)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,ge.of)(this.dataSource)),this._renderChangeSubscription=t.pipe((0,fl.R)(this._onDestroy)).subscribe(function(t){e._data=t||[],e.renderRows()}))}},{key:"_forceRenderHeaderRows",value:function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,n){return t._renderRow(t._headerRowOutlet,e,n)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEac
1h(function(e,n){return t._renderRow(t._footerRowOutlet,e,n)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(t,e){var n=this,i=Array.from(e.columns||[]).map(function(t){return n._columnDefsByName.get(t)}),o=i.map(function(t){return t.sticky}),r=i.map(function(t){return t.stickyEnd});this._stickyStyler.updateStickyColumns(t,o,r,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(t){for(var e=[],n=0;n<t.viewContainer.length;n++){var i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}},{key:"_getRowDefs",value:function(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(function(n){return!n.when||n.when(e,t)});else{var i=this._rowDefs.find(function(n){return n.when&&n.when(e,t)})||this._defaultRowDef;i&&n.push(i)}return n}},{key:"_getEmbeddedViewArgs",value:function(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}},{key:"_renderRow",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),o}},{key:"_renderCellTemplateForItem",value:function(t,e){var n,i=_createForOfIteratorHelper(this._getCellTemplates(t));try{for(i.s();!(n=i.n()).done;){var o=n.value;mK.mostRecentCellOutlet&&mK.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,e)}}catch(r){i.e(r)}finally{i.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var t=this._rowOutlet.viewContainer,e=0,n=t.length;e<n;e++){var i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}},{key:"_getCellTemplates",value:function(t){var e=this;return t&&t.columns?Array.from(t.columns,function(n){var i=e._columnDefsByName.get(n);return t.extractCellTemplate(i)}):[]}},{key:"_applyNativeTableSections",value:function(){for(var t=this._document.createDocumentFragment(),e=0,n=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];e<n.length;e++){var i=n[e],o=this._document.createElement(i.tag);o.setAttribute("role","rowgroup");var r,a=_createForOfIteratorHelper(i.outlets);try{for(a.s();!(r=a.n()).done;){var s=r.value;o.appendChild(s.elementRef.nativeElement)}}catch(c){a.e(c)}finally{a.f()}t.appendChild(o)}this._elementRef.nativeElement.appendChild(t)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}},{key:"_checkStickyStates",value:function(){var t=function(t,e){return t||e.hasStickyChanged()};this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}},{key:"_setupStickyStyler",value:function(){var t=this;this._stickyStyler=new OK(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,ge.of)()).pipe((0,fl.R)(this._onDestroy)).subscribe(function(e){t._stickyStyler.direction=e,t.updateStickyColumnStyles()})}},{key:"_getOwnDefs",value:function(t){var e=this;return t.filter(function(t){return!t._table||t._table===e})}},{key:"_updateNoDataRow",value:function(){var t=this._customNoDataRow||this._noDataRow;if(t){var e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){var n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.ZZ4),r.Y36(r.sBO),r.Y36(r.SBq),r.$8M("role"),r.Y36(ku,8),r.Y36(l),r.Y36(kl),r.Y36(qb),r.Y36(sK),r.Y36(Xb),r.Y36(PK,12))},t.\u0275cmp=r.Xpm({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,CK,5),r.Suo(n,nK,5),r.Suo(n,_K,5),r.Suo(n,hK,5),r.Suo(n,gK,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._noDataRow=i.first),r.iGM(i=r.CRH())&&(e._contentColumnDefs=i),r.iGM(i=r.CRH())&&(e._contentRowDefs=i),r.iGM(i=r.CRH())&&(e._contentHeaderRowDefs=i),r.iGM(i=r.CRH())&&(e._contentFooterRowDefs=i))},viewQuery:function(t,e){var n;(1&t&&(r.Gf(wK,7),r.Gf(MK,7),r.Gf(xK,7),r.Gf(kK,7)),2&t)&&(r.iGM(n=r.CRH())&&(e._rowOutlet=n.first),r.iGM(n=r.CRH())&&(e._headerRowOutlet=n.first),r.iGM(n=r.CRH())&&(e._footerRowOutlet=n.first),r.iGM(n=r.CRH())&&(e._noDataRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[r._Bn([{provide:KQ,useExisting:t},{provide:qb,useClass:Vb},{provide:sK,useClass:cK},{provide:PK,useValue:null}])],ngContentSelectors:WQ,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.F$t(JQ),r.Hsn(0),r.Hsn(1,1),r.GkF(2,0),r.GkF(3,1),r.GkF(4,2),r.GkF(5,3))},directives:[MK,wK,kK,xK],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t}();function AK(t,e){return t.concat(Array.from(e))}var TK=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[nO]]}),t}(),IK=[[["caption"]],[["colgroup"],["col"]]],EK=["caption","colgroup, col"],DK=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments)).stickyCssClass="mat-table-sticky",t.needsPositionStickyOnElement=!1,t}return _inherits(e,t),_createClass(e)}(SK);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[r._Bn([{provide:qb,useClass:Vb},{provide:SK,useExisting:t},{provide:KQ,useExisting:t},{provide:sK,useClass:cK},{provide:PK,useValue:null}]),r.qOj],ngContentSelectors:EK,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.F$t(IK),r.Hsn(0),r.Hsn(1,1),r.GkF(2,0),r.GkF(3,1),r.GkF(4,2),r.GkF(5,3))},directives:[MK,wK,kK,xK],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t}(),RK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(XQ);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matCellDef",""]],features:[r._Bn([{provide:XQ,useExisting:t}]),r.qOj]}),t}(),FK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}($Q);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matHeaderCellDef",""]],features:[r._Bn([{provide:$Q,useExisting:t}]),r.qOj]}),t}(),LK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"name",get:function(){return this._name},set:function(t){this._setNameInput(t)}},{key:"_updateColumnCssClassName",value:function(){_get(_getPrototypeOf(e.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-".concat(this.cssClassFriendlyName))}}]),e}(nK);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[r._Bn([{provide:nK,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.qOj]}),t}(),ZK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(oK);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[r.qOj]}),t}(),NK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(rK);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[r.qOj]}),t}(),UK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(hK);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[r._Bn([{provide:hK,useExisting:t}]),r.qOj]}),t}(),VK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(_K);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[r._Bn([{provide:_K,useExisting:t}]),r.qOj]}),t}(),jK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(vK);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[r._Bn([{provide:vK,useExisting:t}]),r.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[mK],encapsulation:2}),t}(),zK=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(yK);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[r._Bn([{provide:yK,useExisting:t}]),r.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[mK],encapsulation:2}),t}(),qK=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[TK,Sp],Sp]}),t}(),BK=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return _classCallCheck(this,e),(t=_callSuper(this,e))._renderData=new _e.X([]),t._filter=new _e.X(""),t._internalPageChanges=new we.xQ,t._renderChangesSubscription=null,t.sortingDataAccessor=function(t,e){var n=t[e];if(ml(n)){var i=Number(n);return i<9007199254740991?i:n}return n},t.sortData=function(e,n){var i=n.active,o=n.direction;return i&&""!=o?e.sort(function(e,n){var r=t.sortingDataAccessor(e,i),a=t.sortingDataAccessor(n,i),s=typeof r,c=typeof a;s!==c&&("number"===s&&(r+=""),"number"===c&&(a+=""));var l=0;return null!=r&&null!=a?r>a?l=1:r<a&&(l=-1):null!=r?l=1:null!=a&&(l=-1),l*("asc"==o?1:-1)}):e},t.filterPredicate=function(t,e){var n=Object.keys(t).reduce(function(e,n){return e+t[n]+"\u25ec"},"").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},t._data=new _e.X(n),t._updateChangeSubscription(),t}return _inherits(e,t),_createClass(e,[{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t),this._renderChangesSubscription||this._filterData(t)}},{key:"filter",get:function(){return this._filter.value},set:function(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}},{key:"sort",get:function(){return this._sort},set:function(t){this._sort=t,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(t){this._paginator=t,this._updateChangeSubscription()}},{key:"_updateChangeSubscription",value:function(){var t,e=this,n=this._sort?(0,oO.T)(this._sort.sortChange,this._sort.initialized):(0,ge.of)(null),i=this._paginator?(0,oO.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,ge.of)(null),o=(0,me.aj)([this._data,this._filter]).pipe((0,Me.U)(function(t){var n=_slicedToArray(t,1)[0];return e._filterData(n)})),r=(0,me.aj)([o,n]).pipe((0,Me.U)(function(t){var n=_slicedToArray(t,1)[0];return e._orderData(n)})),a=(0,me.aj)([r,i]).pipe((0,Me.U)(function(t){var n=_slicedToArray(t,1)[0];return e._pageData(n)}));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=a.subscribe(function(t){return e._renderData.next(t)})}},{key:"_filterData",value:function(t){var e=this;return this.filteredData=null==this.filter||""===this.filter?t:t.filter(function(t){return e.filterPredicate(t,e.filter)}),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(t){return this.sort?this.sortData(t.slice(),this.sort):t}},{key:"_pageData",value:function(t){if(!this.paginator)return t;var e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}
1},{key:"_updatePaginator",value:function(t){var e=this;Promise.resolve().then(function(){var n=e.paginator;if(n&&(n.length=t,n.pageIndex>0)){var i=Math.ceil(n.length/n.pageSize)-1||0,o=Math.min(n.pageIndex,i);o!==n.pageIndex&&(n.pageIndex=o,e._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}]),e}(function(){return _createClass(function t(){_classCallCheck(this,t)})}())),YK=["trigger"],GK=["panel"];function HK(t,e){if(1&t&&(r.TgZ(0,"span",8),r._uU(1),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Oqu(n.placeholder)}}function JK(t,e){if(1&t&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.triggerValue)}}function WK(t,e){1&t&&r.Hsn(0,0,["*ngSwitchCase","true"])}function QK(t,e){if(1&t&&(r.TgZ(0,"span",9),r.YNc(1,JK,2,1,"span",10),r.YNc(2,WK,1,0,"ng-content",11),r.qZA()),2&t){var n=r.oxw();r.Q6J("ngSwitch",!!n.customTrigger),r.xp6(2),r.Q6J("ngSwitchCase",!0)}}function KK(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",13),r.TgZ(1,"div",14,15),r.NdJ("@transformPanel.done",function(t){return r.CHM(n),r.oxw()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return r.CHM(n),r.oxw()._handleKeydown(t)}),r.Hsn(3,1),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("@transformPanelWrap",void 0),r.xp6(1),r.Gre("mat-select-panel ",i._getPanelTheme(),""),r.Udp("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),r.Q6J("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),r.uIk("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var XK,$K=[[["mat-select-trigger"]],"*"],tX=["mat-select-trigger","*"],eX={transformPanelWrap:Eu("transformPanelWrap",[Nu("* => void",Vu("@transformPanel",[Uu()],{optional:!0}))]),transformPanel:Eu("transformPanel",[Lu("void",Fu({transform:"scaleY(0.8)",minWidth:"100%",opacity:0}
1)),Lu("showing",Fu({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Lu("showing-multiple",Fu({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Nu("void => *",Du("120ms cubic-bezier(0, 0, 0.2, 1)")),Nu("* => void",Du("100ms 25ms linear",Fu({opacity:0})))])},nX=0,iX=new r.OlP("mat-select-scroll-strategy"),oX=new r.OlP("MAT_SELECT_CONFIG"),rX={provide:iX,deps:[RY],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},aX=_createClass(function t(e,n){_classCallCheck(this,t),this.source=e,this.value=n}),sX=Ip(Ep(Ap(Dp(function(){return _createClass(function t(e,n,i,o,r){_classCallCheck(this,t),this._elementRef=e,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=o,this.ngControl=r})}())))),cX=new r.OlP("MatSelectTrigger"),lX=function(){var t=function(t){function e(t,n,i,o,a,s,c,l,u,d,h,p,f,g){var _,m,v,y;return _classCallCheck(this,e),(_=_callSuper(this,e,[a,o,c,l,d]))._viewportRuler=t,_._changeDetectorRef=n,_._ngZone=i,_._dir=s,_._parentFormField=u,_._liveAnnouncer=f,_._defaultOptions=g,_._panelOpen=!1,_._compareWith=function(t,e){return t===e},_._uid="mat-select-"+nX++,_._triggerAriaLabelledBy=null,_._destroy=new we.xQ,_._onChange=function(){},_._onTouched=function(){},_._valueId="mat-select-value-"+nX++,_._panelDoneAnimatingStream=new we.xQ,_._overlayPanelClass=(null===(m=_._defaultOptions)||void 0===m?void 0:m.overlayPanelClass)||"",_._focused=!1,_.controlType="mat-select",_._required=!1,_._multiple=!1,_._disableOptionCentering=null!==(y=null===(v=_._defaultOptions)||void 0===v?void 0:v.disableOptionCentering)&&void 0!==y&&y,_.ariaLabel="",_.optionSelectionChanges=(0,be.P)(function(){var t=_.options;return t?t.changes.pipe((0,Se.O)(t),(0,xe.w)(function(){return oO.T.apply(void 0,_toConsumableArray(t.map(function(t){return t.onSelectionChange})))})):_._ngZone.onStable.pipe((0,ke.q)(1),(0,xe.w)(function(){return _.optionSelectionChanges}))}),_.openedChange=new r.vpe,_._openedStream=_.openedChange.pipe((0,Te.h)(function(t){return t}),(0,Me.U)(function(){}
1)),_._closedStream=_.openedChange.pipe((0,Te.h)(function(t){return!t}),(0,Me.U)(function(){})),_.selectionChange=new r.vpe,_.valueChange=new r.vpe,_.ngControl&&(_.ngControl.valueAccessor=_assertThisInitialized(_)),null!=(null==g?void 0:g.typeaheadDebounceInterval)&&(_._typeaheadDebounceInterval=g.typeaheadDebounceInterval),_._scrollStrategyFactory=p,_._scrollStrategy=_._scrollStrategyFactory(),_.tabIndex=parseInt(h)||0,_.id=_.id,_}return _inherits(e,t),_createClass(e,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(t){this._required=gl(t),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(t){this._multiple=gl(t)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=gl(t)}},{key:"compareWith",get:function(){return this._compareWith},set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(t){this._typeaheadDebounceInterval=_l(t)}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var t=this;this._selectionModel=new jb(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,pl.x)(),(0,fl.R)(this._destroy)).subscribe(function(){return t._panelDoneAnimating(t.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var t=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,fl.R)(this._destroy)).subscribe(function(t){t.added.forEach(function(t){return t.select()}),t.removed.forEach(function(t){return t.deselect()})}),this.options.changes.pipe((0,Se.O)(null),(0,fl.R)(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})}},{key:"ngDoCheck",value:function(){var t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){var e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var t,e;return this.multiple?(null===(t=this._selectionModel)||void 0===t?void 0:t.selected)||[]:null===(e=this._selectionModel)||void 0===e?void 0:e.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}},{key:"_handleClosedKeydown",value:function(t){var e=t.keyCode,n=40===e||38===e||37===e||39===e,i=13===e||32===e,o=this._keyManager;if(!o.isTyping()&&i&&!ll(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var r=this.selected;o.onKeydown(t);var a=this.selected;a&&r!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(t){var e=this._keyManager,n=t.keyCode,i=40===n||38===n,o=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(o||13!==n&&32!==n||!e.activeItem||ll(t))if(!o&&this._multiple&&65===n&&t.ctrlKey){t.preventDefault();var r=this.options.some(function(t){return!t.disabled&&!t.selected});this.options.forEach(function(t){t.disabled||(r?t.select():t.deselect())})}else{var a=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==a&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var t=this;this._overlayDir.positionChange.pipe((0,ke.q)(1)).subscribe(function(){t._changeDetectorRef.detectChanges(),t._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(t){var e=this;if(this._selectionModel.selected.forEach(function(t){return t.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(function(t){return e._selectValue(t)}),this._sortValues();else{var n=this._selectValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(t){var e=this,n=this.options.find(function(n){if(e._selectionModel.isSelected(n))return!1;try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var t=this;this._keyManager=new $l(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,fl.R)(this._destroy)).subscribe(function(){t.panelOpen&&(!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction(),t.focus(),t.close())}),this._keyManager.change.pipe((0,fl.R)(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollOptionIntoView(t._keyManager.activeItemIndex||0):!t._panelOpen&&!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var t=this,e=(0,oO.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,fl.R)(e)).subscribe(function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),oO.T.apply(void 0,_toConsumableArray(this.options.map(function(t){return t._stateChanges}))).pipe((0,fl.R)(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})}},{key:"_onSelect",value:function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort(function(n,i){return t.sortComparator?t.sortComparator(n,i,e):e.indexOf(n)-e.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(t){var e;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_getPanelAriaLabelledby",value:function(){var t;if(this.ariaLabel)return null;var e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var t;if(this.ariaLabel)return null;var e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId(),n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(t){this.openedChange.emit(t)}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),e}(sX);return t.\u0275fac=function(e){return new(e||t)(r.Y36(Xb),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(Jp),r.Y36(r.SBq),r.Y36(ku,8),r.Y36(uU,8),r.Y36(bU,8),r.Y36(VB,8),r.Y36(LN,10),r.$8M("tabindex"),r.Y36(iX),r.Y36(gu),r.Y36(oX,8))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){var n;(1&t&&(r.Gf(YK,5),r.Gf(GK,5),r.Gf(NY,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.trigger=n.first),r.iGM(n=r.CRH())&&(e.panel=n.first),r.iGM(n=r.CRH())&&(e._overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[r.qOj,r.TTD]}),t}(),uX=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._scrollTop=0,t._triggerFontSize=0,t._transformOrigin="top",t._offsetY=0,t._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],t}return _inherits(e,t),_createClass(e,[{key:"_calculateOverlayScroll",value:function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}},{key:"ngOnInit",value:function(){var t=this;_get(_getPrototypeOf(e.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,fl.R)(this._destroy)).subscribe(function(){t.panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var t=this;_get(_getPrototypeOf(e.prototype),"_canOpen",this).call(this)&&(_get(_getPrototypeOf(e.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(function(){t._triggerFontSize&&t._overlayDir.overlayRef&&t._overlayDir.overlayRef.overlayElement&&(t._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(t._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(t){var e=mf(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=0===t&&1===e?0:vf((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),_get(_getPrototypeOf(e.prototype),"_panelDoneAnimating",this).call(this,t)}},{key:"_getChangeEvent",value:function(t){return new aX(this,t)}},{key:"_calculateOverlayOffsetX",value:function(){var t,e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),o=this.multiple?56:32;if(this.multiple)t=40;else if(this.disableOptionCentering)t=16;else{var r=this._selectionModel.selected[0]||this.options.first;t=r&&r.group?32:16}i||(t*=-1);var a=0-(e.left+t-(i?o:0)),s=e.right+t-n.width+(i?0:o);a>0?t+=a+8:s>0&&(t-=s+8),this._overlayDir.offsetX=Math.round(t),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(t,e,n){var i,o=this._getItemHeight(),r=(o-this._triggerRect.height)/2,a=Math.floor(256/o);return this.disableOptionCentering?0:(i=0===this._scrollTop?t*o:this._scrollTop===n?(t-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):e-o/2,Math.round(-1*i-r))}},{key:"_checkOverlayWithinViewport",value:function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,o=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;a>o?this._adjustPanelUp(a,o):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(t,e,n){var i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var t,e=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*e,256),o=n*e-i;t=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),t+=mf(t,this.options,this.optionGroups);var r=i/2;this._scrollTop=this._calculateOverlayScroll(t,r,o),this._offsetY=this._calculateOverlayOffsetY(t,r,o),this._checkOverlayWithinViewport(o)}},{key:"_getOriginBasedOnOption",value:function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-e+t/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),e}(lX);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,cX,5),r.Suo(n,_f,5),r.Suo(n,hf,5)),2&t)&&(r.iGM(i=r.CRH())&&(e.customTrigger=i.first),r.iGM(i=r.CRH())&&(e.options=i),r.iGM(i=r.CRH())&&(e.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBi
1ndings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(r.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),r.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[r._Bn([{provide:SB,useExisting:t},{provide:cf,useExisting:t}]),r.qOj],ngContentSelectors:tX,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(r.F$t($K),r.TgZ(0,"div",0,1),r.NdJ("click",function(){return e.toggle()}),r.TgZ(3,"div",2),r.YNc(4,HK,2,1,"span",3),r.YNc(5,QK,3,2,"span",4),r.qZA(),r.TgZ(6,"div",5),r._UZ(7,"div",6),r.qZA(),r.qZA(),r.YNc(8,KK,4,14,"ng-template",7),r.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){var n=r.MAs(1);r.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),r.xp6(3),r.Q6J("ngSwitch",e.empty),r.uIk("id",e._valueId),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1),r.xp6(3),r.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[ZY,Ct,bt,NY,Ot,ht],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}
1\n'],encapsulation:2,data:{animation:[eX.transformPanelWrap,eX.transformPanel]},changeDetection:0}),t}(),dX=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[rX],imports:[[It,VY,yf,Sp],eO,zB,yf,Sp]}),t}(),hX=new Set,pX=function(){var t=function(){function t(e){_classCallCheck(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fX}return _createClass(t,[{key:"matchMedia",value:function(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function(t){if(!hX.has(t))try{XK||((XK=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(XK)),XK.sheet&&(XK.sheet.insertRule("@media ".concat(t," {body{ }}"),0),hX.add(t))}catch(gM){console.error(gM)}}(t),this._matchMedia(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(kl))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(kl))},token:t,providedIn:"root"}),t}();function fX(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var gX=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new we.xQ}return _createClass(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return _X(vl(t)).some(function(t){return e._registerQuery(t).mql.matches})}},{key:"observe",value:function(t){var e=this,n=_X(vl(t)).map(function(t){return e._registerQuery(t).observable}),i=(0,me.aj)(n);return(i=(0,Ce.z)(i.pipe((0,ke.q)(1)),i.pipe((0,hl.T)(1),(0,dl.b)(0)))).pipe((0,Me.U)(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){var n=t.matches,i=t.query;e.matches=e.matches||n,e.breakpoints[i]=n}),e}))}},{key:"_registerQuery",value:function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new ve.y(function(t){var i=function(n){return e._zone.run(function(){return t.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe((0,Se.O)(n),(0,Me.U)(function(e){var n=e.matches;return{query:t,matches:n}}),(0,fl.R)(this._destroySubject)),mql:n};return this._queries.set(t,i),i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(pX),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(pX),r.LFG(r.R0b))},token:t,providedIn:"root"}),t}();function _X(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var mX={tooltipState:Eu("state",[Lu("initial, void, hidden",Fu({opacity:0,transform:"scale(0)"})),Lu("visible",Fu({transform:"scale(1)"})),Nu("* => visible",Du("200ms cubic-bezier(0, 0, 0.2, 1)",Zu([Fu({opacity:0,transform:"scale(0)",offset:0}),Fu({opacity:.5,transform:"scale(0.99)",offset:.5}),Fu({opacity:1,transform:"scale(1)",offset:1})]))),Nu("* => hidden",Du("100ms cubic-bezier(0, 0, 0.2, 1)",Fu({opacity:0})))])},vX="tooltip-panel",yX=Il({passive:!0}),CX=new r.OlP("mat-tooltip-scroll-strategy"),bX={provide:CX,deps:[RY],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},OX=new r.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),PX=function(){var t=function(){function t(e,n,i,o,r,a,s,c,l,u,d,h){var p=this;_classCallCheck(this,t),this._overlay=e,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=o,this._ngZone=r,this._platform=a,this._ariaDescriber=s,this._focusMonitor=c,this._dir=u,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new we.xQ,this._handleKeydown=function(t){p._isTooltipVisible()&&27===t.keyCode&&!ll(t)&&(t.preventDefault(),t.stopPropagation(),p._ngZone.run(function(){return p.hide(0)}))},this._scrollStrategy=l,this._document=h,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),u.change.pipe((0,fl.R)(this._destroyed)).subscribe(function(){p._overlayRef&&p._updatePosition(p._overlayRef)}),r.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",p._handleKeydown)})}return _createClass(t,[{key:"position",get:function(){return this._position},set:function(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=gl(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,fl.R)(this._destroyed)).subscribe(function(e){e?"keyboard"===e&&t._ngZone.run(function(){return t.show()}):t._ngZone.run(function(){return t.hide(0)})})}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEac
1h(function(e){var n=_slicedToArray(e,2),i=n[0],o=n[1];t.removeEventListener(i,o,yX)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new Zq(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,fl.R)(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return n.positionChanges.pipe((0,fl.R)(this._destroyed)).subscribe(function(e){t._updateCurrentPositionClass(e.connectionPair),t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-").concat(vX),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,fl.R)(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef.outsidePointerEvents().pipe((0,fl.R)(this._destroyed)).subscribe(function(){var e;return null===(e=t._tooltipInstance)||void 0===e?void 0:e._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(t){var e=t.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(t){return t}},{key:"_getOrigin",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?t={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&e||"right"==n&&!e?t={originX:"start",originY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(t={originX:"end",originY:"center"});var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?t={overlayX:"center",overlayY:"bottom"}:"below"==n?t={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&e||"right"==n&&!e?t={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(t={overlayX:"start",overlayY:"center"});var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,ke.q)(1),(0,fl.R)(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}},{key:"_updateCurrentPositionClass",value:function(t){var e,n=t.overlayY,i=t.originX,o=t.originY;if((e="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===o?"above":"below")!==this._currentPosition){var r=this._overlayRef;if(r){var a="".concat(this._cssClassPrefix,"-").concat(vX,"-");r.removePanelClass(a+this._currentPosition),r.addPanelClass(a+e)}this._currentPosition=e}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsM
1ouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var t,e=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return e.hide()}],["wheel",function(t){return e._wheelListener(t)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(t=this._passiveListeners).push.apply(t,n)}}},{key:"_addListeners",value:function(t){var e=this;t.forEach(function(t){var n=_slicedToArray(t,2),i=n[0],o=n[1];e._elementRef.nativeElement.addEventListener(i,o,yX)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(t){if(this._isTooltipVisible()){var e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e!==n&&!n.contains(e)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),("on"===t||!e.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(RY),r.Y36(r.SBq),r.Y36(Qb),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(kl),r.Y36(Wl),r.Y36(yu),r.Y36(void 0),r.Y36(ku),r.Y36(void 0),r.Y36(l))},t.\u0275dir=r.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t}(),wX=function(){var t=function(t){function e(t,n,i,o,r,a,s,c,l,u,d,h){var p;return _classCallCheck(this,e),(p=_callSuper(this,e,[t,n,i,o,r,a,s,c,l,u,d,h]))._tooltipComponent=xX,p}return _inherits(e,t),_createClass(e)}(PX);return t.\u0275fac=function(e){return new(e||t)(r.Y36(RY),r.Y36(r.SBq),r.Y36(Qb),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(kl),r.Y36(Wl),r.Y36(yu),r.Y36(CX),r.Y36(ku,8),r.Y36(OX,8),r.Y36(l))},t.\u0275dir=r.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[r.qOj]}),t}(),MX=function(){var t=function(){function t(e){_classCallCheck(this,t),this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new we.xQ}return _createClass(t,[{key:"show",value:function(t){var e=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=void 0,e._onShow(),e._markForCheck()},t)}},{key:"hide",value:function(t){var e=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=void 0,e._markForCheck()},t)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var e=t.toState;"hidden"===e&&!this.isVisible()&&this._onHide.next(),("visible"===e||"hidden"===e)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t}),t}(),xX=function(){var t=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e,[t]))._breakpointObserver=n,i._isHandset=i._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),i}return _inherits(e,t),_createClass(e)}(MX);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(gX))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){2&t&&r.Udp("zoom","visible"===e._visibility?1:null)},features:[r.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var n;(1&t&&(r.TgZ(0,"div",0),r.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),r.ALo(1,"async"),r._uU(2),r.qZA()),2&t)&&(r.ekj("mat-tooltip-handset",null==(n=r.lcZ(1,5,e._isHandset))?null:n.matches),r.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),r.xp6(2),r.Oqu(e.message))},directives:[ht],pipes:[St],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[mX.tooltipState]},changeDetection:0}),t}(),kX=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[bX],imports:[[Mu,It,VY,Sp],Sp,eO]}),t}();function SX(t,e){if(1&t&&(r.TgZ(0,"mat-option",19),r._uU(1),r.qZA()),2&t){var n=e.$implicit;
1r.Q6J("value",n),r.xp6(1),r.hij(" ",n," ")}}function AX(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-form-field",16),r.TgZ(1,"mat-select",17),r.NdJ("selectionChange",function(t){return r.CHM(n),r.oxw(2)._changePageSize(t.value)}),r.YNc(2,SX,2,2,"mat-option",18),r.qZA(),r.qZA()}if(2&t){var i=r.oxw(2);r.Q6J("appearance",i._formFieldAppearance)("color",i.color),r.xp6(1),r.Q6J("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),r.xp6(1),r.Q6J("ngForOf",i._displayedPageSizeOptions)}}function TX(t,e){if(1&t&&(r.TgZ(0,"div",20),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.pageSize)}}function IX(t,e){if(1&t&&(r.TgZ(0,"div",12),r.TgZ(1,"div",13),r._uU(2),r.qZA(),r.YNc(3,AX,3,6,"mat-form-field",14),r.YNc(4,TX,2,1,"div",15),r.qZA()),2&t){var n=r.oxw();r.xp6(2),r.hij(" ",n._intl.itemsPerPageLabel," "),r.xp6(1),r.Q6J("ngIf",n._displayedPageSizeOptions.length>1),r.xp6(1),r.Q6J("ngIf",n._displayedPageSizeOptions.length<=1)}}function EX(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",21),r.NdJ("click",function(){return r.CHM(n),r.oxw().firstPage()}),r.O4$(),r.TgZ(1,"svg",7),r._UZ(2,"path",22),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),r.uIk("aria-label",i._intl.firstPageLabel)}}function DX(t,e){if(1&t){var n=r.EpF();r.O4$(),r.kcU(),r.TgZ(0,"button",23),r.NdJ("click",function(){return r.CHM(n),r.oxw().lastPage()}),r.O4$(),r.TgZ(1,"svg",7),r._UZ(2,"path",24),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),r.uIk("aria-label",i._intl.lastPageLabel)}}var RX=function(){var t=_createClass(function t(){_classCallCheck(this,t),this.changes=new we.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,e,n){if(0==n||0==e)return"0 of ".concat(n);var i=t*e;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+e,n):i+e," of ").concat(n)}});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),FX={provide:RX,deps:[[new r.FiY,new r.tp0,RX]],useFactory:function(t){return t||new RX}},LX=new r.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),ZX=Ap(Rp(function(){return _createClass(function t(){_classCallCheck(this,t)})}())),NX=function(){var t=function(t){function e(t,n,i){var o;if(_classCallCheck(this,e),(o=_callSuper(this,e))._intl=t,o._changeDetectorRef=n,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new r.vpe,o._intlChanges=t.changes.subscribe(function(){return o._changeDetectorRef.markForCheck()}),i){var a=i.pageSize,s=i.pageSizeOptions,c=i.hidePageSize,l=i.showFirstLastButtons;null!=a&&(o._pageSize=a),null!=s&&(o._pageSizeOptions=s),null!=c&&(o._hidePageSize=c),null!=l&&(o._showFirstLastButtons=l)}return _possibleConstructorReturn(o)}return _inherits(e,t),_createClass(e,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(t){this._pageIndex=Math.max(_l(t),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(t){this._length=_l(t),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(t){this._pageSize=Math.max(_l(t),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(t){this._pageSizeOptions=(t||[]).map(function(t){return _l(t)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(t){this._hidePageSize=gl(t)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(t){this._showFirstLastButtons=gl(t)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(t){var e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(t,e){return t-e}),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}]),e}(ZX);return t.\u0275fac=function(e){return new(e||t)(r.Y36(RX),r.Y36(r.sBO),r.Y36(void 0))},t.\u0275dir=r.lG2({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[r.qOj]}),t}(),UX=function(){var t=function(t){function e(t,n,i){var o;return _classCallCheck(this,e),o=_callSuper(this,e,[t,n,i]),i&&null!=i.formFieldAppearance&&(o._formFieldAppearance=i.formFieldAppearance),o}return _inherits(e,t),_createClass(e)}(NX);return t.\u0275fac=function(e){return new(e||t)(r.Y36(RX),r.Y36(r.sBO),r.Y36(LX,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[r.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.YNc(2,IX,5,3,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r._uU(5),r.qZA(),r.YNc(6,EX,3,5,"button",5),r.TgZ(7,"button",6),r.NdJ("click",function(){return e.previousPage()}),r.O4$(),r.TgZ(8,"svg",7),r._UZ(9,"path",8),r.qZA(),r.qZA(),r.kcU(),r.TgZ(10,"button",9),r.NdJ("click",function(){return e.nextPage()}),r.O4$(),r.TgZ(11,"svg",7),r._UZ(12,"path",10),r.qZA(),r.qZA(),r.YNc(13,DX,3,5,"button",11),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngIf",!e.hidePageSize),r.xp6(3),r.hij(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),r.xp6(1),r.Q6J("ngIf",e.showFirstLastButtons),r.xp6(1),r.Q6J("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),r.uIk("aria-label",e._intl.previousPageLabel),r.xp6(3),r.Q6J("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),r.uIk("aria-label",e._intl.nextPageLabel),r.xp6(3),r.Q6J("ngIf",e.showFirstLastButtons))},directives:[_t,OP,wX,jB,uX,ft,_f],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),t}(),VX=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[FX],imports:[[It,PP,dX,kX,Sp]]}),t}(),jX={"Total Horizontal Flux":"g&sdot;m<sup>-1</sup>d<sup>-1</sup>","Total Vertical Flux":"g&sdot;m<sup>-2</sup>d<sup>-1</sup>","PM 2.5 Vertical Flux":"g&sdot;m<sup>-2</sup>d<sup>-1</sup>","PM 10 Vertical Flux":"g&sdot;m<sup>-2</sup>d<sup>-1</sup>","Long-Term Mean Precipitation":"mm&sdot;yr<sup>-1</sup>","Long-Term Mean Runoff":"mm&sdot;yr<sup>-1</sup>","Long-Term Mean Sediment Yield":"Mg&sdot;ha<sup>-1</sup>&sdot;yr<sup>-1</sup>","Long-Term Mean Soil Loss":"Mg&sdot;ha<sup>-1</sup>&sdot;yr<sup>-1</sup>"},zX=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.httpClient=e,this.loading=n,this.dataTablesRoute="data/tables/",this.rowLimit=100,this.ldcJwtManager=new il}return _createClass(t,[{key:"handleError",value:function(t){return(0,zo._)(function(){return new Error("Sorry, something bad happened; please try again later.")})}},{key:"getResponse",value:function(t,e,n){var i=this,o=this.dataTablesRoute+e+"?limit="+this.rowLimit+"&offset=0";"geo-indicators"===e&&(o="test/rhem/"+this.dataTablesRoute+e+"?limit="+this.rowLimit+"&offset=0");var r={data:Object.assign({primaryKeys:t},null!=n?n:{})};return(0,be.P)(function(){return i.loading.start(),(0,fe.D)(i.ldcJwtManager.getServiceConnectionDetail
1s())}).pipe((0,xe.w)(function(t){return t.httpHeaders?i.httpClient.put(t.serviceUrl+o,r,{headers:t.httpHeaders}):i.httpClient.put(t.serviceUrl+o,r)}),(0,Me.U)(function(t){return Array.isArray(t)&&t.length>0?t:[{}]}),(0,Ie.K)(function(t){return console.error("Error in getResponse:",t),(0,zo._)(function(){return new Error("An error occurred while getting response")})}),(0,Ue.x)(function(){return i.loading.end()}))}},{key:"getGeoIndicatorsRows",value:function(t){return this.getResponse(t,"geo-indicators")}},{key:"getDataLpiRows",value:function(t){return this.getResponse(t,"data-lpi")}},{key:"getCanopyGapTableRows",value:function(t){return this.getResponse(t,"data-gap")}},{key:"getDataSoilStabilityRows",value:function(t){return this.getResponse(t,"data-soil-stability")}},{key:"getGeoSpeciesRows",value:function(t,e){var n=e?kq(e):void 0;return this.getResponse(t,"geo-species",n)}},{key:"getDataSpeciesInventoryRows",value:function(t){return this.getResponse(t,"data-species-inventory")}},{key:"getDataVegetationHeightRows",value:function(t){return this.getResponse(t,"data-height")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(hr),r.LFG(nN))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function qX(t,e){if(1&t&&r._UZ(0,"th",15),2&t){var n=r.oxw().$implicit;r.Q6J("innerHTML",n.header,r.oJD)}}function BX(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw().$implicit;r.xp6(1),r.hij(" ",i.cell(n)," ")}}function YX(t,e){1&t&&(r.ynx(0,13),r.YNc(1,qX,1,1,"th",14),r.YNc(2,BX,2,1,"td",9),r.BQk()),2&t&&r.Q6J("matColumnDef",e.$implicit.columnDef)}function GX(t,e){1&t&&r._UZ(0,"th",17)}function HX(t,e){1&t&&(r.TgZ(0,"td",16),r.TgZ(1,"mat-icon"),r._uU(2,"more_vert"),r.qZA(),r.qZA())}function JX(t,e){1&t&&r._UZ(0,"tr",18)}function WX(t,e){1&t&&r._UZ(0,"tr",19)}var QX=function(){return[5,10,20]},KX=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.store=e,this.tableService=n,this.sanitizer=i,this.isVisible=!1,this.INDICATOR_DATA=[{}],this.dataSource=new BK(this.INDICATOR_DATA),this.columns=[],this.displayedColumns=[],this.indicatorsColumnHeaderUnits=jX}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.store.select(gL).subscribe(function(e){e&&e.length>0?t.tableService.getGeoIndicatorsRows(e).subscribe(function(e){t.INDICATOR_DATA=e,t.dataSource.data=t.INDICATOR_DATA,t.initializeColumns()}):(t.INDICATOR_DATA=[],t.dataSource.data=t.INDICATOR_DATA,t.initializeColumns())})}},{key:"capitalizeFirstLetter",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"isColumnHeaderNeedingUnits",value:function(t){return t in this.indicatorsColumnHeaderUnits}},{key:"getFormattedUnits",value:function(t){var e="("+this.indicatorsColumnHeaderUnits[t]+")";return"Long-Term Mean Soil Loss"===t?"<br/>"+e:" "+e}},{key:"getColumnHeaderWithUnits",value:function(t){var e=this.getFormattedUnits(t);return this.sanitizer.bypassSecurityTrustHtml("".concat(t).concat(e))}},{key:"getUpdatedColumnHeader",value:function(t){var e=this.capitalizeFirstLetter(t),n=e;return this.isColumnHeaderNeedingUnits(t)&&(n=this.getColumnHeaderWithUnits(e)),n}},{key:"initializeColumns",value:function(){var t=this;this.columns=Object.keys(this.INDICATOR_DATA[0]).map(function(e){var n=t.getUpdatedColumnHeader(e);return{columnDef:e,header:n,cell:function(t){return"".concat(t[e])}}}),this.displayedColumns=this.columns.map(function(t){return t.columnDef})}},{key:"applyFilter",value:function(t){this.dataSource.filter=t.target.value.trim().toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(zX),r.Y36(le))},t.\u0275cmp=r.Xpm({type:t,selectors:[["indicators-table"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(UX,5),r.Gf(VQ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.paginator=n.first),r.iGM(n=r.CRH())&&(e.sort=n.first))},inputs:{isVisible:"isVisible"},decls:16,vars:10,consts:[["cdkDrag","",1,"table-container",3,"hidden"],[1,"table-wrapper"],["appearance","standard"],["matInput","","placeholder","Ex. ium","id","indicators-table-filter",3,"keyup"],["input",""],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","star","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageSizeOptions"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",3,"innerHTML",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","",3,"innerHTML"],["mat-cell",""],["mat-header-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card"),r.TgZ(2,"div",1),r.TgZ(3,"mat-form-field",2),r.TgZ(4,"mat-label"),r._uU(5,"Filter"),r.qZA(),r.TgZ(6,"input",3,4),r.NdJ("keyup",function(t){return e.applyFilter(t)}),r.qZA(),r.qZA(),r.TgZ(8,"table",5),r.YNc(9,YX,3,1,"ng-container",6),r.ynx(10,7),r.YNc(11,GX,1,0,"th",8),r.YNc(12,HX,3,0,"td",9),r.BQk(),r.YNc(13,JX,1,0,"tr",10),r.YNc(14,WX,1,0,"tr",11),r.qZA(),r.qZA(),r._UZ(15,"mat-paginator",12),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(8),r.Q6J("dataSource",e.dataSource),r.xp6(1),r.Q6J("ngForOf",e.columns),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("length",100)("pageSize",10)("pageSizeOptions",r.DdM(9,QX)))},directives:[JO,$O,jB,EB,kH,DK,VQ,ft,LK,FK,RK,UK,VK,UX,ZK,GQ,NK,VP,jK,zK],styles:['.table-container[_ngcontent-%COMP%]{margin-top:.2cm;border-radius:4px;box-shadow:0 2px 4px #0003;overflow:auto}.table-container[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;overflow:auto;max-height:400px}.table-container[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:600px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2mm;min-width:120px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-name[_ng
1content-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-name[_ngcontent-%COMP%]{width:8cm;min-width:8cm;max-width:8cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-star[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-star[_ngcontent-%COMP%]{width:1cm;min-width:1cm;max-width:1cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .mat-cell[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;color:#000000a3;font-size:12px}']}),t}();function XX(t,e){if(1&t&&(r.TgZ(0,"th",15),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit;r.xp6(1),r.hij(" ",n.header," ")}}function $X(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw().$implicit;r.xp6(1),r.hij(" ",i.cell(n)," ")}}function t$(t,e){1&t&&(r.ynx(0,13),r.YNc(1,XX,2,1,"th",14),r.YNc(2,$X,2,1,"td",9),r.BQk()),2&t&&r.Q6J("matColumnDef",e.$implicit.columnDef)}function e$(t,e){1&t&&r._UZ(0,"th",17)}function n$(t,e){1&t&&(r.TgZ(0,"td",16),r.TgZ(1,"mat-icon"),r._uU(2,"more_vert"),r.qZA(),r.qZA())}function i$(t,e){1&t&&r._UZ(0,"tr",18)}function o$(t,e){1&t&&r._UZ(0,"tr",19)}var r$=function(){return[5,10,20]},a$=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.tableService=n,this.isVisible=!1,this.GEO_SPECIES_DATA=[{}],this.dataSource=new BK(this.GEO_SPECIES_DATA),this.columns=[],this.displayedColumns=[]}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,(0,me.aj)([this.store.select(gL),this.store.select(PL)]).pipe((0,xe.w)(function(e){var n=_slicedToArray(e,2),i=n[0],o=n[1];return i&&0!==i.length?t.tableService.getGeoSpeciesRows(i,o):(0,ge.of)([])})).subscribe(function(e){t.GEO_SPECIES_DATA=e,t.dataSource.data=t.GEO_SPECIES_DATA,t.GEO_SPECIES_DATA.length>0&&t.initializeColumns()})}},{key:"capitalizeFirstLetter",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"initializeColumns",value:function(){var t=this;this.columns=Object.keys(this.GEO_SPECIES_DATA[0]).map(function(e){return{columnDef:e,header:t.capitalizeFirstLetter(e),cell:function(t){return"".concat(t[e])}}}),this.displayedColumns=this.columns.map(function(t){return t.columnDef})}},{key:"applyFilter",value:function(t){this.dataSource.filter=t.target.value.trim().toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(zX))},t.\u0275cmp=r.Xpm({type:t,selectors:[["species-indicators-table"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(UX,5),r.Gf(VQ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.paginator=n.first),r.iGM(n=r.CRH())&&(e.sort=n.first))},inputs:{isVisible:"isVisible"},decls:16,vars:10,consts:[["cdkDrag","",1,"table-container",3,"hidden"],[1,"table-wrapper"],["appearance","standard"],["matInput","","placeholder","Ex. ium","id","species-indicators-table-filter",3,"keyup"],["input",""],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","star","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageSizeOptions"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card"),r.TgZ(2,"div",1),r.TgZ(3,"mat-form-field",2),r.TgZ(4,"mat-label"),r._uU(5,"Filter"),r.qZA(),r.TgZ(6,"input",3,4),r.NdJ("keyup",function(t){return e.applyFilter(t)}),r.qZA(),r.qZA(),r.TgZ(8,"table",5),r.YNc(9,t$,3,1,"ng-container",6),r.ynx(10,7),r.YNc(11,e$,1,0,"th",8),r.YNc(12,n$,3,0,"td",9),r.BQk(),r.YNc(13,i$,1,0,"tr",10),r.YNc(14,o$,1,0,"tr",11),r.qZA(),r.qZA(),r._UZ(15,"mat-paginator",12),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(8),r.Q6J("dataSource",e.dataSource),r.xp6(1),r.Q6J("ngForOf",e.columns),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("length",100)("pageSize",10)("pageSizeOptions",r.DdM(9,r$)))},directives:[JO,$O,jB,EB,kH,DK,VQ,ft,LK,FK,RK,UK,VK,UX,ZK,GQ,NK,VP,jK,zK],styles:['.table-container[_ngcontent-%COMP%]{margin-top:.2cm;border-radius:4px;box-shadow:0 2px 4px #0003;overflow:auto}.table-container[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;overflow:auto;max-height:400px}.table-container[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:600px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2mm;min-width:120px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-name[_ng
1content-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-name[_ngcontent-%COMP%]{width:8cm;min-width:8cm;max-width:8cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-star[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-star[_ngcontent-%COMP%]{width:1cm;min-width:1cm;max-width:1cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .mat-cell[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;color:#000000a3;font-size:12px}']}),t}();function s$(t,e){if(1&t&&(r.TgZ(0,"th",15),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit;r.xp6(1),r.hij(" ",n.header," ")}}function c$(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw().$implicit;r.xp6(1),r.hij(" ",i.cell(n)," ")}}function l$(t,e){1&t&&(r.ynx(0,13),r.YNc(1,s$,2,1,"th",14),r.YNc(2,c$,2,1,"td",9),r.BQk()),2&t&&r.Q6J("matColumnDef",e.$implicit.columnDef)}function u$(t,e){1&t&&r._UZ(0,"th",17)}function d$(t,e){1&t&&(r.TgZ(0,"td",16),r.TgZ(1,"mat-icon"),r._uU(2,"more_vert"),r.qZA(),r.qZA())}function h$(t,e){1&t&&r._UZ(0,"tr",18)}function p$(t,e){1&t&&r._UZ(0,"tr",19)}var f$=function(){return[5,10,20]},g$=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.tableService=n,this.isVisible=!1,this.LPI_DATA=[{}],this.dataSource=new BK(this.LPI_DATA),this.columns=[],this.displayedColumns=[]}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.store.select(gL).subscribe(function(e){e&&e.length>0?t.tableService.getDataLpiRows(e).subscribe(function(e){t.LPI_DATA=e,t.dataSource.data=t.LPI_DATA,t.initializeColumns()}):(t.LPI_DATA=[],t.dataSource.data=t.LPI_DATA)})}},{key:"capitalizeFirstLetter",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"initializeColumns",value:function(){var t=this;this.columns=Object.keys(this.LPI_DATA[0]).map(function(e){return{columnDef:e,header:t.capitalizeFirstLetter(e),cell:function(t){return"".concat(t[e])}}}),this.displayedColumns=this.columns.map(function(t){return t.columnDef})}},{key:"applyFilter",value:function(t){this.dataSource.filter=t.target.value.trim().toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(zX))},t.\u0275cmp=r.Xpm({type:t,selectors:[["line-point-intercept-table"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(UX,5),r.Gf(VQ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.paginator=n.first),r.iGM(n=r.CRH())&&(e.sort=n.first))},inputs:{isVisible:"isVisible"},decls:16,vars:10,consts:[["cdkDrag","",1,"table-container",3,"hidden"],[1,"table-wrapper"],["appearance","standard"],["matInput","","placeholder","Ex. ium","id","line-point-intercept-table-filter",3,"keyup"],["input",""],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","star","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageSizeOptions"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card"),r.TgZ(2,"div",1),r.TgZ(3,"mat-form-field",2),r.TgZ(4,"mat-label"),r._uU(5,"Filter"),r.qZA(),r.TgZ(6,"input",3,4),r.NdJ("keyup",function(t){return e.applyFilter(t)}),r.qZA(),r.qZA(),r.TgZ(8,"table",5),r.YNc(9,l$,3,1,"ng-container",6),r.ynx(10,7),r.YNc(11,u$,1,0,"th",8),r.YNc(12,d$,3,0,"td",9),r.BQk(),r.YNc(13,h$,1,0,"tr",10),r.YNc(14,p$,1,0,"tr",11),r.qZA(),r.qZA(),r._UZ(15,"mat-paginator",12),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(8),r.Q6J("dataSource",e.dataSource),r.xp6(1),r.Q6J("ngForOf",e.columns),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("length",100)("pageSize",10)("pageSizeOptions",r.DdM(9,f$)))},directives:[JO,$O,jB,EB,kH,DK,VQ,ft,LK,FK,RK,UK,VK,UX,ZK,GQ,NK,VP,jK,zK],styles:['.table-container[_ngcontent-%COMP%]{margin-top:.2cm;border-radius:4px;box-shadow:0 2px 4px #0003;overflow:auto}.table-container[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;overflow:auto;max-height:400px}.table-container[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:600px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2mm;min-width:120px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-name[_ng
1content-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-name[_ngcontent-%COMP%]{width:8cm;min-width:8cm;max-width:8cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-star[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-star[_ngcontent-%COMP%]{width:1cm;min-width:1cm;max-width:1cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .mat-cell[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;color:#000000a3;font-size:12px}']}),t}();function _$(t,e){if(1&t&&(r.TgZ(0,"th",15),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit;r.xp6(1),r.hij(" ",n.header," ")}}function m$(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw().$implicit;r.xp6(1),r.hij(" ",i.cell(n)," ")}}function v$(t,e){1&t&&(r.ynx(0,13),r.YNc(1,_$,2,1,"th",14),r.YNc(2,m$,2,1,"td",9),r.BQk()),2&t&&r.Q6J("matColumnDef",e.$implicit.columnDef)}function y$(t,e){1&t&&r._UZ(0,"th",17)}function C$(t,e){1&t&&(r.TgZ(0,"td",16),r.TgZ(1,"mat-icon"),r._uU(2,"more_vert"),r.qZA(),r.qZA())}function b$(t,e){1&t&&r._UZ(0,"tr",18)}function O$(t,e){1&t&&r._UZ(0,"tr",19)}var P$=function(){return[5,10,20]},w$=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.tableService=n,this.isVisible=!1,this.CANOPY_GAP_DATA=[{}],this.dataSource=new BK(this.CANOPY_GAP_DATA),this.columns=[],this.displayedColumns=[]}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.store.select(gL).subscribe(function(e){e&&e.length>0?t.tableService.getCanopyGapTableRows(e).subscribe(function(e){t.CANOPY_GAP_DATA=e,t.dataSource.data=t.CANOPY_GAP_DATA,t.initializeColumns()}):(t.CANOPY_GAP_DATA=[],t.dataSource.data=t.CANOPY_GAP_DATA)})}},{key:"capitalizeFirstLetter",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"initializeColumns",value:function(){var t=this;this.columns=Object.keys(this.CANOPY_GAP_DATA[0]).map(function(e){return{columnDef:e,header:t.capitalizeFirstLetter(e),cell:function(t){return"".concat(t[e])}}}),this.displayedColumns=this.columns.map(function(t){return t.columnDef})}},{key:"applyFilter",value:function(t){this.dataSource.filter=t.target.value.trim().toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(zX))},t.\u0275cmp=r.Xpm({type:t,selectors:[["canopy-gap-table"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(UX,5),r.Gf(VQ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.paginator=n.first),r.iGM(n=r.CRH())&&(e.sort=n.first))},inputs:{isVisible:"isVisible"},decls:16,vars:10,consts:[["cdkDrag","",1,"table-container",3,"hidden"],[1,"table-wrapper"],["appearance","standard"],["matInput","","placeholder","Ex. ium","id","canopy-gap-table-filter",3,"keyup"],["input",""],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","star","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageSizeOptions"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card"),r.TgZ(2,"div",1),r.TgZ(3,"mat-form-field",2),r.TgZ(4,"mat-label"),r._uU(5,"Filter"),r.qZA(),r.TgZ(6,"input",3,4),r.NdJ("keyup",function(t){return e.applyFilter(t)}),r.qZA(),r.qZA(),r.TgZ(8,"table",5),r.YNc(9,v$,3,1,"ng-container",6),r.ynx(10,7),r.YNc(11,y$,1,0,"th",8),r.YNc(12,C$,3,0,"td",9),r.BQk(),r.YNc(13,b$,1,0,"tr",10),r.YNc(14,O$,1,0,"tr",11),r.qZA(),r.qZA(),r._UZ(15,"mat-paginator",12),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(8),r.Q6J("dataSource",e.dataSource),r.xp6(1),r.Q6J("ngForOf",e.columns),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("length",100)("pageSize",10)("pageSizeOptions",r.DdM(9,P$)))},directives:[JO,$O,jB,EB,kH,DK,VQ,ft,LK,FK,RK,UK,VK,UX,ZK,GQ,NK,VP,jK,zK],styles:['.table-container[_ngcontent-%COMP%]{margin-top:.2cm;border-radius:4px;box-shadow:0 2px 4px #0003;overflow:auto}.table-container[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;overflow:auto;max-height:400px}.table-container[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:600px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2mm;min-width:120px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-name[_ng
1content-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-name[_ngcontent-%COMP%]{width:8cm;min-width:8cm;max-width:8cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-star[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-star[_ngcontent-%COMP%]{width:1cm;min-width:1cm;max-width:1cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .mat-cell[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;color:#000000a3;font-size:12px}']}),t}();function M$(t,e){if(1&t&&(r.TgZ(0,"th",15),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit;r.xp6(1),r.hij(" ",n.header," ")}}function x$(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw().$implicit;r.xp6(1),r.hij(" ",i.cell(n)," ")}}function k$(t,e){1&t&&(r.ynx(0,13),r.YNc(1,M$,2,1,"th",14),r.YNc(2,x$,2,1,"td",9),r.BQk()),2&t&&r.Q6J("matColumnDef",e.$implicit.columnDef)}function S$(t,e){1&t&&r._UZ(0,"th",17)}function A$(t,e){1&t&&(r.TgZ(0,"td",16),r.TgZ(1,"mat-icon"),r._uU(2,"more_vert"),r.qZA(),r.qZA())}function T$(t,e){1&t&&r._UZ(0,"tr",18)}function I$(t,e){1&t&&r._UZ(0,"tr",19)}var E$=function(){return[5,10,20]},D$=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.tableService=n,this.isVisible=!1,this.VEGETATION_HEIGHT_DATA=[{}],this.dataSource=new BK(this.VEGETATION_HEIGHT_DATA),this.columns=[],this.displayedColumns=[]}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.store.select(gL).subscribe(function(e){e&&e.length>0?t.tableService.getDataVegetationHeightRows(e).subscribe(function(e){t.VEGETATION_HEIGHT_DATA=e,t.dataSource.data=t.VEGETATION_HEIGHT_DATA,t.initializeColumns()}):(t.VEGETATION_HEIGHT_DATA=[],t.dataSource.data=t.VEGETATION_HEIGHT_DATA)})}},{key:"capitalizeFirstLetter",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"initializeColumns",value:function(){var t=this;this.columns=Object.keys(this.VEGETATION_HEIGHT_DATA[0]).map(function(e){return{columnDef:e,header:t.capitalizeFirstLetter(e),cell:function(t){return"".concat(t[e])}}}),this.displayedColumns=this.columns.map(function(t){return t.columnDef})}},{key:"applyFilter",value:function(t){this.dataSource.filter=t.target.value.trim().toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(zX))},t.\u0275cmp=r.Xpm({type:t,selectors:[["vegetation-height-table"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(UX,5),r.Gf(VQ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.paginator=n.first),r.iGM(n=r.CRH())&&(e.sort=n.first))},inputs:{isVisible:"isVisible"},decls:16,vars:10,consts:[["cdkDrag","",1,"table-container",3,"hidden"],[1,"table-wrapper"],["appearance","standard"],["matInput","","placeholder","Ex. ium","id","vegetation-height-table-filter",3,"keyup"],["input",""],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","star","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageSizeOptions"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card"),r.TgZ(2,"div",1),r.TgZ(3,"mat-form-field",2),r.TgZ(4,"mat-label"),r._uU(5,"Filter"),r.qZA(),r.TgZ(6,"input",3,4),r.NdJ("keyup",function(t){return e.applyFilter(t)}),r.qZA(),r.qZA(),r.TgZ(8,"table",5),r.YNc(9,k$,3,1,"ng-container",6),r.ynx(10,7),r.YNc(11,S$,1,0,"th",8),r.YNc(12,A$,3,0,"td",9),r.BQk(),r.YNc(13,T$,1,0,"tr",10),r.YNc(14,I$,1,0,"tr",11),r.qZA(),r.qZA(),r._UZ(15,"mat-paginator",12),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(8),r.Q6J("dataSource",e.dataSource),r.xp6(1),r.Q6J("ngForOf",e.columns),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("length",100)("pageSize",10)("pageSizeOptions",r.DdM(9,E$)))},directives:[JO,$O,jB,EB,kH,DK,VQ,ft,LK,FK,RK,UK,VK,UX,ZK,GQ,NK,VP,jK,zK],styles:['.table-container[_ngcontent-%COMP%]{margin-top:.2cm;border-radius:4px;box-shadow:0 2px 4px #0003;overflow:auto}.table-container[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;overflow:auto;max-height:400px}.table-container[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:600px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2mm;min-width:120px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-name[_ng
1content-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-name[_ngcontent-%COMP%]{width:8cm;min-width:8cm;max-width:8cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-star[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-star[_ngcontent-%COMP%]{width:1cm;min-width:1cm;max-width:1cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .mat-cell[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;color:#000000a3;font-size:12px}']}),t}();function R$(t,e){if(1&t&&(r.TgZ(0,"th",15),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit;r.xp6(1),r.hij(" ",n.header," ")}}function F$(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw().$implicit;r.xp6(1),r.hij(" ",i.cell(n)," ")}}function L$(t,e){1&t&&(r.ynx(0,13),r.YNc(1,R$,2,1,"th",14),r.YNc(2,F$,2,1,"td",9),r.BQk()),2&t&&r.Q6J("matColumnDef",e.$implicit.columnDef)}function Z$(t,e){1&t&&r._UZ(0,"th",17)}function N$(t,e){1&t&&(r.TgZ(0,"td",16),r.TgZ(1,"mat-icon"),r._uU(2,"more_vert"),r.qZA(),r.qZA())}function U$(t,e){1&t&&r._UZ(0,"tr",18)}function V$(t,e){1&t&&r._UZ(0,"tr",19)}var j$=function(){return[5,10,20]},z$=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.tableService=n,this.isVisible=!1,this.SPECIES_INVENTORY_DATA=[{}],this.dataSource=new BK(this.SPECIES_INVENTORY_DATA),this.columns=[],this.displayedColumns=[]}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.store.select(gL).subscribe(function(e){e&&e.length>0?t.tableService.getDataSpeciesInventoryRows(e).subscribe(function(e){t.SPECIES_INVENTORY_DATA=e,t.dataSource.data=t.SPECIES_INVENTORY_DATA,t.initializeColumns()}):(t.SPECIES_INVENTORY_DATA=[],t.dataSource.data=t.SPECIES_INVENTORY_DATA)})}},{key:"capitalizeFirstLetter",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"initializeColumns",value:function(){var t=this;this.columns=Object.keys(this.SPECIES_INVENTORY_DATA[0]).map(function(e){return{columnDef:e,header:t.capitalizeFirstLetter(e),cell:function(t){return"".concat(t[e])}}}),this.displayedColumns=this.columns.map(function(t){return t.columnDef})}},{key:"applyFilter",value:function(t){this.dataSource.filter=t.target.value.trim().toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(zX))},t.\u0275cmp=r.Xpm({type:t,selectors:[["species-inventory-table"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(UX,5),r.Gf(VQ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.paginator=n.first),r.iGM(n=r.CRH())&&(e.sort=n.first))},inputs:{isVisible:"isVisible"},decls:16,vars:10,consts:[["cdkDrag","",1,"table-container",3,"hidden"],[1,"table-wrapper"],["appearance","standard"],["matInput","","placeholder","Ex. ium","id","species-inventory-table-filter",3,"keyup"],["input",""],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","star","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageSizeOptions"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card"),r.TgZ(2,"div",1),r.TgZ(3,"mat-form-field",2),r.TgZ(4,"mat-label"),r._uU(5,"Filter"),r.qZA(),r.TgZ(6,"input",3,4),r.NdJ("keyup",function(t){return e.applyFilter(t)}),r.qZA(),r.qZA(),r.TgZ(8,"table",5),r.YNc(9,L$,3,1,"ng-container",6),r.ynx(10,7),r.YNc(11,Z$,1,0,"th",8),r.YNc(12,N$,3,0,"td",9),r.BQk(),r.YNc(13,U$,1,0,"tr",10),r.YNc(14,V$,1,0,"tr",11),r.qZA(),r.qZA(),r._UZ(15,"mat-paginator",12),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(8),r.Q6J("dataSource",e.dataSource),r.xp6(1),r.Q6J("ngForOf",e.columns),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("length",100)("pageSize",10)("pageSizeOptions",r.DdM(9,j$)))},directives:[JO,$O,jB,EB,kH,DK,VQ,ft,LK,FK,RK,UK,VK,UX,ZK,GQ,NK,VP,jK,zK],styles:['.table-container[_ngcontent-%COMP%]{margin-top:.2cm;border-radius:4px;box-shadow:0 2px 4px #0003;overflow:auto}.table-container[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;overflow:auto;max-height:400px}.table-container[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:600px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2mm;min-width:120px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-name[_ng
1content-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-name[_ngcontent-%COMP%]{width:8cm;min-width:8cm;max-width:8cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-star[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-star[_ngcontent-%COMP%]{width:1cm;min-width:1cm;max-width:1cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .mat-cell[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;color:#000000a3;font-size:12px}']}),t}();function q$(t,e){if(1&t&&(r.TgZ(0,"th",15),r._uU(1),r.qZA()),2&t){var n=r.oxw().$implicit;r.xp6(1),r.hij(" ",n.header," ")}}function B$(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){var n=e.$implicit,i=r.oxw().$implicit;r.xp6(1),r.hij(" ",i.cell(n)," ")}}function Y$(t,e){1&t&&(r.ynx(0,13),r.YNc(1,q$,2,1,"th",14),r.YNc(2,B$,2,1,"td",9),r.BQk()),2&t&&r.Q6J("matColumnDef",e.$implicit.columnDef)}function G$(t,e){1&t&&r._UZ(0,"th",17)}function H$(t,e){1&t&&(r.TgZ(0,"td",16),r.TgZ(1,"mat-icon"),r._uU(2,"more_vert"),r.qZA(),r.qZA())}function J$(t,e){1&t&&r._UZ(0,"tr",18)}function W$(t,e){1&t&&r._UZ(0,"tr",19)}var Q$=function(){return[5,10,20]},K$=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.store=e,this.tableService=n,this.isVisible=!1,this.SOIL_STABILITY_DATA=[{}],this.dataSource=new BK(this.SOIL_STABILITY_DATA),this.columns=[],this.displayedColumns=[]}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.store.select(gL).subscribe(function(e){e&&e.length>0?t.tableService.getDataSoilStabilityRows(e).subscribe(function(e){t.SOIL_STABILITY_DATA=e,t.dataSource.data=t.SOIL_STABILITY_DATA,t.initializeColumns()}):(t.SOIL_STABILITY_DATA=[],t.dataSource.data=t.SOIL_STABILITY_DATA)})}},{key:"capitalizeFirstLetter",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"initializeColumns",value:function(){var t=this;this.columns=Object.keys(this.SOIL_STABILITY_DATA[0]).map(function(e){return{columnDef:e,header:t.capitalizeFirstLetter(e),cell:function(t){return"".concat(t[e])}}}),this.displayedColumns=this.columns.map(function(t){return t.columnDef})}},{key:"applyFilter",value:function(t){this.dataSource.filter=t.target.value.trim().toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(zX))},t.\u0275cmp=r.Xpm({type:t,selectors:[["soil-stability-table"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(UX,5),r.Gf(VQ,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.paginator=n.first),r.iGM(n=r.CRH())&&(e.sort=n.first))},inputs:{isVisible:"isVisible"},decls:16,vars:10,consts:[["cdkDrag","",1,"table-container",3,"hidden"],[1,"table-wrapper"],["appearance","standard"],["matInput","","placeholder","Ex. ium","id","soil-stability-table-filter",3,"keyup"],["input",""],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","star","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageSizeOptions"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card"),r.TgZ(2,"div",1),r.TgZ(3,"mat-form-field",2),r.TgZ(4,"mat-label"),r._uU(5,"Filter"),r.qZA(),r.TgZ(6,"input",3,4),r.NdJ("keyup",function(t){return e.applyFilter(t)}),r.qZA(),r.qZA(),r.TgZ(8,"table",5),r.YNc(9,Y$,3,1,"ng-container",6),r.ynx(10,7),r.YNc(11,G$,1,0,"th",8),r.YNc(12,H$,3,0,"td",9),r.BQk(),r.YNc(13,J$,1,0,"tr",10),r.YNc(14,W$,1,0,"tr",11),r.qZA(),r.qZA(),r._UZ(15,"mat-paginator",12),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(8),r.Q6J("dataSource",e.dataSource),r.xp6(1),r.Q6J("ngForOf",e.columns),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("length",100)("pageSize",10)("pageSizeOptions",r.DdM(9,Q$)))},directives:[JO,$O,jB,EB,kH,DK,VQ,ft,LK,FK,RK,UK,VK,UX,ZK,GQ,NK,VP,jK,zK],styles:['.table-container[_ngcontent-%COMP%]{margin-top:.2cm;border-radius:4px;box-shadow:0 2px 4px #0003;overflow:auto}.table-container[_ngcontent-%COMP%]   .table-wrapper[_ngcontent-%COMP%]{display:block;overflow:auto;max-height:400px}.table-container[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:600px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2mm;min-width:120px}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-name[_ng
1content-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-name[_ngcontent-%COMP%]{width:8cm;min-width:8cm;max-width:8cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th.mat-column-star[_ngcontent-%COMP%], .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td.mat-column-star[_ngcontent-%COMP%]{width:1cm;min-width:1cm;max-width:1cm}.table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .mat-cell[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;color:#000000a3;font-size:12px}']}),t}();function X$(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-grid-tile",11),r.TgZ(1,"button",12),r.NdJ("click",function(){return r.CHM(n),r.oxw(2).togglePanel("soilStabilityTable")}),r._uU(2,"Soil Stability"),r.qZA(),r.qZA()}if(2&t){var i=r.oxw(2);r.Q6J("colspan",i.gridCols),r.xp6(1),r.ekj("active",i.tableSelection.soilStabilityTable),r.Q6J("disabled",i.isDisabled)}}function $$(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"mat-grid-tile"),r.TgZ(1,"button",7),r.NdJ("click",function(){return r.CHM(n),r.oxw(2).togglePanel("soilStabilityTable")}),r._uU(2,"Soil Stability"),r.qZA(),r.qZA()}if(2&t){var i=r.oxw(2);r.xp6(1),r.ekj("active",i.tableSelection.soilStabilityTable),r.Q6J("disabled",i.isDisabled)}}function t0(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div",1),r.TgZ(1,"mat-card",2),r.TgZ(2,"mat-grid-list",3),r.TgZ(3,"mat-grid-tile"),r.TgZ(4,"span",4),r._uU(5,"Tables"),r.qZA(),r.qZA(),r._UZ(6,"mat-grid-tile"),r.qZA(),r._UZ(7,"mat-divider",5),r.TgZ(8,"mat-grid-list",3),r.TgZ(9,"mat-grid-tile"),r.TgZ(10,"button",6),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("indicatorsTable")}),r._uU(11,"Indicators"),r.qZA(),r.qZA(),r.TgZ(12,"mat-grid-tile"),r.TgZ(13,"button",7),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("speciesIndicatorsTable")}),r._uU(14,"Species Indicators"),r.qZA(),r.qZA(),r.TgZ(15,"mat-grid-tile"),r.TgZ(16,"button",7),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("linePointInterceptTable")}),r._uU(17,"Line-point Intercept"),r.qZA(),r.qZA(),r.TgZ(18,"mat-grid-tile"),r.TgZ(19,"button",7),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("canopyGapTable")}),r._uU(20,"Canopy Gap"),r.qZA(),r.qZA(),r.TgZ(21,"mat-grid-tile"),r.TgZ(22,"button",7),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("vegetationHeightTable")}),r._uU(23,"Vegetation Height"),r.qZA(),r.qZA(),r.TgZ(24,"mat-grid-tile"),r.TgZ(25,"button",7),r.NdJ("click",function(){return r.CHM(n),r.oxw().togglePanel("speciesInventoryTable")}),r._uU(26,"Species Inventory"),r.qZA(),r.qZA(),r.YNc(27,X$,3,4,"mat-grid-tile",8),r.YNc(28,$$,3,3,"mat-grid-tile",9),r.qZA(),r.qZA(),r._UZ(29,"indicators-table",10),r._UZ(30,"species-indicators-table",10),r._UZ(31,"line-point-intercept-table",10),r._UZ(32,"canopy-gap-table",10),r._UZ(33,"vegetation-height-table",10),r._UZ(34,"species-inventory-table",10),r._UZ(35,"soil-stability-table",10),r.qZA()}if(2&t){var i=r.oxw();r.xp6(2),r.Q6J("cols",i.gridCols),r.xp6(5),r.Q6J("inset",!0),r.xp6(1),r.Q6J("cols",i.gridCols),r.xp6(2),r.ekj("active",i.tableSelection.indicatorsTable),r.xp6(3),r.ekj("active",i.tableSelection.speciesIndicatorsTable),r.Q6J("disabled",i.isDisabled),r.xp6(3),r.ekj("active",i.tableSelection.linePointInterceptTable),r.Q6J("disabled",i.isDisabled),r.xp6(3),r.ekj("active",i.tableSelection.canopyGapTable),r.Q6J("disabled",i.isDisabled),r.xp6(3),r.ekj("active",i.tableSelection.vegetationHeightTable),r.Q6J("disabled",i.isDisabled),r.xp6(3),r.ekj("active",i.tableSelection.speciesInventoryTable),r.Q6J("disabled",i.isDisabled),r.xp6(2),r.Q6J("ngIf",i.gridCols<7),r.xp6(1),r.Q6J("ngIf",7===i.gridCols),r.xp6(1),r.Q6J("isVisible",i.tableSelection.indicatorsTable),r.xp6(1),r.Q6J("isVisible",i.tableSelection.speciesIndicatorsTable),r.xp6(1),r.Q6J("isVisible",i.tableSelection.linePointInterceptTable),r.xp6(1),r.Q6J("isVisible",i.tableSelection.canopyGapTable),r.xp6(1),r.Q6J("isVisible",i.tableSelection.vegetationHeightTable),r.xp6(1),r.Q6J("isVisible",i.tableSelection.speciesInventoryTable),r.xp6(1),r.Q6J("isVisible",i.tableSelection.soilStabilityTable)}}var e0=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authService=e,this.isVisible=!0,this.tableSelection={indicatorsTable:!1,speciesIndicatorsTable:!1,linePointInterceptTable:!1,
1canopyGapTable:!1,vegetationHeightTable:!1,speciesInventoryTable:!1,soilStabilityTable:!1},this.gridCols=6,this.isDisabled=!0}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.adjustGridColumns(window.innerWidth),this.authSubscription=this.authService.loggedIn$.subscribe(function(e){return t.isDisabled=!e})}},{key:"togglePanel",value:function(t){this.tableSelection=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.tableSelection),_defineProperty({},t,!this.tableSelection[t])),"indicatorsTable"!==t&&{indicatorsTable:!1}),"speciesIndicatorsTable"!==t&&{speciesIndicatorsTable:!1}),"linePointInterceptTable"!==t&&{linePointInterceptTable:!1}),"canopyGapTable"!==t&&{canopyGapTable:!1}),"vegetationHeightTable"!==t&&{vegetationHeightTable:!1}),"speciesInventoryTable"!==t&&{speciesInventoryTable:!1}),"soilStabilityTable"!==t&&{soilStabilityTable:!1})}},{key:"onResize",value:function(t){this.adjustGridColumns(t.target.innerWidth)}},{key:"adjustGridColumns",value:function(t){t<767?this.gridCols=2:(t<1e3||t>=1e3)&&(this.gridCols=3)}},{key:"ngOnDestroy",value:function(){this.authSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(Wf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["table-button-panel"]],hostBindings:function(t,e){1&t&&r.NdJ("resize",function(t){return e.onResize(t)},!1,r.Jf7)},inputs:{isVisible:"isVisible"},decls:1,vars:1,consts:[["cdkDrag","","class","table-button-panel",4,"ngIf"],["cdkDrag","",1,"table-button-panel"],[1,"table-button-card"],["rowHeight","36px",3,"cols"],[1,"tables-title"],[3,"inset"],["mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click"],[3,"colspan",4,"ngIf"],[4,"ngIf"],[3,"isVisible"],[3,"colspan"],["mat-stroked-button","",1,"singleton",3,"disabled","click"]],template:function(t,e){1&t&&r.YNc(0,t0,36,29,"div",0),2&t&&r.Q6J("ngIf",e.isVisible)},directives:[_t,JO,$O,fP,aP,_P,OP,KX,a$,g$,w$,D$,z$,K$],styles:['.table-button-panel[_ngcontent-%COMP%]{border-radius:4px;position:relative;margin-left:1.5cm;width:75vw}.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003}.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]{width:100%}.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]{display:flex;justify-content:center}.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;align-items:center;justify-content:center}.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}@media (max-width: 767px){.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 2)}}@media (min-width: 999px){.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}@media (min-width: 1000px){.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-grid-list[_ngcontent-%COMP%]   .mat-grid-tile[_ngcontent-%COMP%]   .singleton[_ngcontent-%COMP%]{width:calc(100% / 3)}}.table-button-panel[_ngcontent-%COMP%]   .table-button-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{padding:5px 0}.tables-title[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000;padding:0 5px;border-radius:4px 4px 0 0;font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;text-align:center;line-height:36px;margin:0;width:100%;align-items:center;justify-content:center}']}),t}();function n0(t,e){}n(86351);var i0=_createClass(function t(){_classCallCheck(this,t),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}),o0={dialogContainer:Eu("dialogContainer",[Lu("void, exit",Fu({o
1pacity:0,transform:"scale(0.7)"})),Lu("enter",Fu({transform:"none"})),Nu("* => enter",Du("150ms cubic-bezier(0, 0, 0.2, 1)",Fu({transform:"none",opacity:1}))),Nu("* => void, * => exit",Du("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Fu({opacity:0})))])},r0=function(){var t=function(t){function e(t,n,i,o,a,s){var c;return _classCallCheck(this,e),(c=_callSuper(this,e))._elementRef=t,c._focusTrapFactory=n,c._changeDetectorRef=i,c._config=a,c._focusMonitor=s,c._animationStateChanged=new r.vpe,c._elementFocusedBeforeDialogWasOpened=null,c._closeInteractionType=null,c.attachDomPortal=function(t){return c._portalOutlet.hasAttached(),c._portalOutlet.attachDomPortal(t)},c._ariaLabelledBy=a.ariaLabelledBy||null,c._document=o,c}return _inherits(e,t),_createClass(e,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=Fl(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Fl())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=Fl();return t===e||t.contains(e)}}]),e}(Vq);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(ru),r.Y36(r.sBO),r.Y36(l,8),r.Y36(i0),r.Y36(yu))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){var n;(1&t&&r.Gf(zq,7),2&t)&&(r.iGM(n=r.CRH())&&(e._portalOutlet=n.first))},features:[r.qOj]}),t}(),a0=function(){var t=function(t){function e(){var t;return _classCallCheck(this,e),(t=_callSuper(this,e,arguments))._state="enter",t}return _inherits(e,t),_createClass(e,[{key:"_onAnimationDone",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),e}(r0);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Ikx("id",e._id),r.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.d8E("@dialogContainer",e._state))},features:[r.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.YNc(0,n0,0,0,"ng-template",0)},directives:[zq],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[o0.dialogContainer]}}),t}(),s0=0,c0=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+s0++;_classCallCheck(this,t),this._overlayRef=e,this._containerInstance=n,this.id=o,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new we.xQ,this._afterClosed=new we.xQ,this._beforeClosed=new we.xQ,this._state=0,n._id=o,n._animationStateChanged.pipe((0,Te.h)(function(t){return"opened"===t.state}),(0,ke.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe((0,Te.h)(function(t){return"closed"===t.state}),(0,ke.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),e.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),e.keydownEvents().pipe((0,Te.h)(function(t){return 27===t.keyCode&&!i.disableClose&&!ll(t)})).subscribe(function(t){t.preventDefault(),l0(i,"keyboard")}),e.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():l0(i,"mouse")})}return _createClass(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe((0,Te.h)(function(t){return"closing"===t.state}),(0,ke.q)(1)).subscribe(function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout(function(){return e._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),t}();function l0(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var u0=new r.OlP("MatDialogData"),d0=new r.OlP("mat-dialog-default-options"),h0=new r.OlP("mat-dialog-scroll-strategy"),p0={provide:h0,deps:[RY],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},f0=function(){var t=function(){function t(e,n,i,o,r,a,s,c,l){var u=this;_classCallCheck(this,t),this._overlay=e,this._injector=n,this._defaultOptions=i,this._parentDialog=o,this._overlayContainer=r,this._dialogRefConstructor=s,this._dialogContainerType=c,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new we.xQ,this._afterOpenedAtThisLevel=new we.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,be.P)(function(){return u.openDialogs.length?u._getAfterAllClosed():u._getAfterAllClosed().pipe((0,Se.O)(void 0))}),this._scrollStrategy=a}return _createClass(t,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,e){var n=this;e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new i0),e.id&&this.getDialogById(e.id);var i=this._createOverlay(e),o=this._attachDialogContainer(i,e),r=this._attachDialogContent(t,o,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(function(){return n._removeOpenDialog(r)}),this.afterOpened.next(r),o._initializeWithAttachedContent(),r}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(e){return e.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new gY({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}},{key:"_attachDialogContainer",value:function(t,e){var n=r.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:i0,useValue:e}]}),i=new Zq(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}},{key:"_attachDialogContent",value:function(t,e,n,i){var o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.Rgc)e.attachTemplatePortal(new Nq(t,null,{$implicit:i.data,dialogRef:o}));else{var a=this._createInjector(i,o,e),s=e.attachComponentPortal(new Zq(t,i.viewContainerRef,a));o.componentInstance=s.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}},{key:"_createInjector",value:function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,o=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return t.direction&&(!i||!i.get(ku,null,r.XFs.Optional))&&o.push({provide:ku,useValue:{value:t.direction,change:(0,ge.of)()}}),r.zs3.create({parent:i||this._injector,providers:o})}},{key:"_removeOpenDialog",value:function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i!==t&&"SCRIPT"!==i.nodeName&&"STYLE"!==i.nodeName&&!i.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(RY),r.Y36(r.zs3),r.Y36(void 0),r.Y36(void 0),r.Y36(bY),r.Y36(void 0),r.Y36(r.DyG),r.Y36(r.DyG),r.Y36(r.OlP))},t.\u0275dir=r.lG2({type:t}),t}(),g0=function(){var t=function(t){function e(t,n,i,o,r,a,s){return _classCallCheck(this,e),_callSuper(this,e,[t,n,o,a,s,r,c0,a0,u0])}return _inherits(e,t),_createClass(e)}(f0);return t.\u0275fac=function(e){return new(e||t)(r.LFG(RY),r.LFG(r.zs3),r.LFG(w,8),r.LFG(d0,8),r.LFG(h0),r.LFG(t,12),r.LFG(bY))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),_0=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[g0,p0],imports:[[VY,qq,Sp],Sp]}),t}(),m0=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.httpClient=e,this.dialog=n,this.loading=i,this.geoindicatorsDownloadEndpoint="test/rhem/data/download/geo-indicators",this.primaryKeysAreEmpty=new _e.X(!1),this.ldcJwtManager=new il,this.geoIndicatorsDownloadProgress=new _e.X({progress:null,isDownloading:!1}),this.multitableDownloadProgress=new _e.X({progress:null,isDownloading:!1})}return _createClass(t,[{key:"requestIndicatorsDownload",value:function(t){this.downloadWithoutStreaming(t)}},{key:"togglePrimaryKeysAreEmpty",value:function(t){this.primaryKeysAreEmpty.next(t)}},{key:"getFileNameWithDate",value:function(t){var e=new Date;return"ldc-".concat(t,"-").concat(e.getFullYear(),"-").concat(String(e.getMonth()+1).padStart(2,"0"),"-").concat(String(e.getDate()).padStart(2,"0"),".zip")}},{key:"downloadWithoutStreaming",value:function(t){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var n,i,o,r=this;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.length){e.next=2;break}return e.abrupt("return",(console.error("Error: primaryKeys array is empty."),void this.primaryKeysAreEmpty.next(!0)));case 2:return e.next=4,this.ldcJwtManager.getServiceConnectionDetails();case 4:n=e.sent,i={observe:"response",responseType:"blob"},n.httpHeaders&&(i.headers=n.httpHeaders),o=n.serviceUrl+this.geoindicatorsDownloadEndpoint,this.geoIndicatorsDownloadProgress.next({progress:0,isDownloading:!0}),this.loading.start(),this.httpClient.put(o,{data:{primaryKeys:t}},i).subscribe(function(t){if(null!==t.body){var e=new Blob([t.body],{type:"application/zip"}),n=window.URL.createObjectURL(e),i=document.createElement("a");i.href=n,i.download=r.getFileNameWithDate("data"),i.click(),r.geoIndicatorsDownloadProgress.next({progress:100,isDownloading:!1}),r.loading.end()}else console.error("Response body is null"),r.geoIndicatorsDownloadProgress.next({progress:null,isDownloading:!1}),r.loading.end()},function(t){console.error("Error downloading the file.",t),r.geoIndicatorsDownloadProgress.next({progress:null,isDownloading:!1}),r.loading.end()});case 9:case"end":return e.stop()}},e,this)}))}},{key:"requestMultitableDownload",value:function(t,e){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function n(){var i,o,r,a,s,c=this;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(t&&0!==t.length){n.next=2;break}return n.abrupt("return",void console.error("Error: primaryKeys array is empty."));case 2:return this.multitableDownloadProgress.next({progress:0,isDownloading:!0}),this.loading.start(),n.next=5,this.ldcJwtManager.getServiceConnectionDetails();case 5:return i=n.sent,n.next=8,this.ldcJwtManager.addIdTokenToConnectionDetail
1s(i);case 8:i=n.sent,o=i.serviceUrl+"data-xs/download",r={observe:"response",responseType:"json"},i.httpHeaders&&(r.headers=i.httpHeaders),a=e?kq(e):{},s={data:Object.assign({primaryKeys:t},a)},this.httpClient.put(o,s,r).subscribe({next:function(t){c.multitableDownloadProgress.next({progress:100,isDownloading:!1}),c.loading.end()},error:function(t){console.error("Multi-table download error:",t),c.multitableDownloadProgress.next({progress:null,isDownloading:!1}),c.loading.end()}});case 13:case"end":return n.stop()}},n,this)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(hr),r.LFG(g0),r.LFG(nN))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function v0(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"div"),r.TgZ(2,"div",6),r.TgZ(3,"div",7),r.TgZ(4,"button",8),r.NdJ("click",function(){return r.CHM(n),r.oxw().submitIndicatorsDownloadRequest()}),r._uU(5,"Indicators"),r.qZA(),r.qZA(),r.TgZ(6,"div",9),r.TgZ(7,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().submitMultitableDownloadRequest()}),r._uU(8,"Data packet"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(9,"div"),r.TgZ(10,"section",3),r.TgZ(11,"p",4),r._uU(12," Click the "),r.TgZ(13,"u"),r._uU(14,"Indicators"),r.qZA(),r._uU(15," button above to download tabular indicator data directly. "),r.qZA(),r.qZA(),r.qZA(),r.TgZ(16,"div"),r.TgZ(17,"section",3),r.TgZ(18,"p",4),r._uU(19,"Click the "),r.TgZ(20,"u"),r._uU(21,"Data packet"),r.qZA(),r._uU(22," button above to request a data packet that includes indicator data and raw data. A subscription-confirmation "),r.TgZ(23,"i"),r._uU(24,"email"),r.qZA(),r._uU(25," will be sent to your login email address the first time you download a packet. After subscribing, an email notification will be sent once each requested packet is ready for download. Note that "),r.TgZ(26,"i"),r._uU(27,"large"),r.qZA(),r._uU(28," download requests may require a significant amount of processing time. For support, please contact "),r.TgZ(29,"a",11),r._uU(30,"Christopher Fraser"),r.qZA(),r._uU(31,". "),r.qZA(),r.TgZ(32,"p"),r.TgZ(33,"i"),r._uU(34," For comprehensive analysis of raw LDC data, please use the "),r.TgZ(35,"a",12),r._uU(36,"terradactyl"),r.qZA(),r._uU(37," R package available on GitHub. "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(4),r.Q6J("disabled",i.indicatorsTableIsDownloading||i.multitableIsDownloading||!(null!=i.currentSelectedPks&&i.currentSelectedPks.length)),r.xp6(3),r.Q6J("disabled",i.indicatorsTableIsDownloading||i.multitableIsDownloading||!(null!=i.currentSelectedPks&&i.currentSelectedPks.length))}}function y0(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"section",3),r.TgZ(2,"p"),r._uU(3,"To access the download option, please log in; see the login "),r.TgZ(4,"mat-icon",13),r._uU(5,"login"),r.qZA(),r._uU(6," link in the navigation bar at the top of the page."),r.qZA(),r.qZA(),r.qZA())}var C0=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.store=e,this.downloadService=n,this.authService=i,this.isVisible=!1,this.isLoggedIn=!1,this.indicatorsTableIsDownloading=!1,this.multitableIsDownloading=!1,this.currentSelectedPks=[]}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.authSubscription=this.authService.loggedIn$.subscribe(function(e){return t.isLoggedIn=e}),this.indicatorsTableDownloadProgressSubscription=this.downloadService.geoIndicatorsDownloadProgress.subscribe(function(e){return t.indicatorsTableIsDownloading=e.isDownloading}),this.multitableDownloadSubscription=this.downloadService.multitableDownloadProgress.subscribe(function(e){return t.multitableIsDownloading=e.isDownloading})}},{key:"ngAfterViewInit",value:function(){var t=this;this.store.select(gL).subscribe(function(e){t.currentSelectedPks=e&&e.length>0?e:[]}),this.store.select(PL).subscribe(function(e){t.currentSpeciesFilterSelections=e})}},{key:"submitIndicatorsDownloadRequest",value:function(){this.currentSelectedPks&&this.currentSelectedPks.length>0&&this.downloadService.requestIndicatorsDownload(this.currentSelectedPks)}},{key:"submitMultitableDownloadRequest",value:function(){this.currentSelectedPks&&this.currentSelectedPks.length>0&&this.downloadService.requestMultitableDownload(this.currentSelectedPks,this.currentSpeciesFilterSelections)}},{key:"ngOnDestroy",value:function(){this.indicatorsTableDownloadProgressSubscription.unsubscribe(),this.multitableDownloadSubscription.unsubscribe(),this.authSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(m0),r.Y36(Wf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["download-panel"]],inputs:{isVisible:"isVisible"},decls:11,vars:4,consts:[["cdkDrag","",1,"download-panel",3,"hidden"],[1,"download-panel-card"],[3,"inset"],[1,"__comments"],[1,"button-directions"],[4,"ngIf"],[1,"download-actions-group"],[1,"download-button-container"],["mat-stroked-button","","id","indicators-toggle",3,"disabled","click"],[1,"multitable-download-button-container"],["mat-stroked-button","","id","multitable-toggle",3,"disabled","click"],["href","mailto:[email protected]","aria-label","Email Christopher Fraser",1,"ldc-support-link"],["href","https://github.com/Landscape-Data-Commons/terradactyl","target","_blank","rel","noopener noreferrer",1,"ldc-link"],[1,"login-icon"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"mat-card",1),r.TgZ(2,"h2"),r._uU(3,"Download"),r.qZA(),r._UZ(4,"mat-divider",2),r.TgZ(5,"section",3),r.TgZ(6,"p",4),r.TgZ(7,"strong"),r._uU(8,"The Landscape Data Commons provides plot level information. Please consult the sample design information in the Project Table and/or with data owners before conducting analyses."),r.qZA(),r.qZA(),r.qZA(),r.YNc(9,v0,38,2,"div",5),r.YNc(10,y0,7,0,"div",5),r.qZA(),r.qZA()),2&t&&(r.Q6J("hidden",!e.isVisible),r.xp6(4),r.Q6J("inset",!0),r.xp6(5),r.Q6J("ngIf",e.isLoggedIn),r.xp6(1),r.Q6J("ngIf",!e.isLoggedIn))},directives:[JO,$O,_P,_t,OP,VP],styles:[".download-panel[_ngcontent-%COMP%]{border-radius:4px;width:9.5cm;margin-left:1.5cm}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0003;height:435px;overflow:auto}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{justify-content:center;color:#323232;margin:10px 0;font-size:21px}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{margin-bottom:20px}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .__comments[_ngcontent-%COMP%], .download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .__alternate-options[_ngcontent-%COMP%]{align-items:center;justify-content:center;padding:0 10%}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .download-actions-group[_ngcontent-%COMP%]{border-radius:4px;border:1px solid rgba(0,0,0,.24);padding:10px;margin:-8px 10% 22px}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .download-button-container[_ngcontent-%COMP%], .download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .multitable-download-button-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .download-button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .multitable-download-button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:80%;align-items:center;justify-content:center;margin:10px}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .download-button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(.mat-button-disabled), .download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .multitable-download-button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(.mat-button-disabled){border-color:#00000073}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .download-button-container[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%], .download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .multitable-download-button-container[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .multitable-download-button-container[_ngcontent-%COMP%]{margin-top:2px}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .button-directions[_ngcontent-%COMP%]{margin-bottom:30px}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .login-icon[_ngcontent-%COMP%]{width:22px;height:22px;font-size:22px;color:gray;vertical-align:middle;display:inline-block}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .mat-spinner-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%;margin-top:20px}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .loading-text[_ngcontent-%COMP%]{margin-top:20px;text-align:center}.download-panel[_ngcontent-%COMP%]   .download-panel-card[_ngcontent-%COMP%]   .ldc-support-link[_ngcontent-%COMP%]{color:#7e057ee3!important;font-size:14px;font-weight:400!important}"]}),t}(),b0=function(){var t=function(){function t(e){_classCallCheck(this,t),this.store=e,this.panelVisibility={info:!0,filters:!1,selections:!1,tables:!1,download:!1,upload:!1},this.noActiveFilter="",this.filterIsActive=!1,this.filterButtonClicked=!1,this.selectionButtonClicked=!1}return _createClass(t,[{key:"ngOnInit",value:function(){this.initializeStoreSubscriptions()}},{key:"initializeStoreSubscriptions",value:function(){var t=this;this.store.select(mL).subscribe(function(){t.panelVisibility.selections=!1,t.panelVisibility.download=!1,t.panelVisibility.tables=!1,t.panelVisibility.upload=!1}),this.store.select(yL).subscribe(function(e){e===t.noActiveFilter?(t.filterIsActive=!1,t.panelVisibility.filters=!1):(t.filterIsActive=!0,t.panelVisibility.filters=!0)})}},{key:"togglePanel",value:function(t){if(this.filterIsActive){if("filters"===t||"selections"===t)return this.panelVisibility.info&&(this.panelVisibility.info=!1),this.panelVisibility.tables&&(this.panelVisibility.tables=!1),this.panelVisibility.download&&(this.panelVisibility.download=!1),this.panelVisibility.upload&&(this.panelVisibility.upload=!1),void("filters"===t?this.panelVisibility.selections?this.panelVisibility.selections=!1:this.panelVisibility.filters=!this.panelVisibility.filters:"selections"===t&&(this.panelVisibility.filters?this.panelVisibility.selections=!this.panelVisibility.selections:this.panelVisibility.selections?this.panelVisibility.selections=!1:(this.panelVisibility.filters=!0,this.panelVisibility.selections=!0)));this.panelVisibility.filters=!1,this.panelVisibility.selections=!1}this.panelVisibility=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.panelVisibility),_defineProperty({},t,!this.panelVisibility[t])),"info"!==t&&{info:!1}),"filters"!==t&&{filters:!1}),"selections"!==t&&{selections:!1}),"tables"!==t&&{tables:!1}),"download"!==t&&{download:!1}),"upload"!==t&&{upload:!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh))},t.\u0275cmp=r.Xpm({type:t,selectors:[["panels"]],decls:15,vars:6,consts:[[1,"panels-container"],[1,"buttons-container"],[3,"click"],[3,"isVisible"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"info-panel-button",2),r.NdJ("click",function(){return e.togglePanel("info")}),r.qZA(),r.TgZ(3,"filters-panel-button",2),r.NdJ("click",function(){return e.togglePanel("filters")}),r.qZA(),r.TgZ(4,"portal-upload-panel-button",2),r.NdJ("click",function(){return e.togglePanel("upload")}),r.qZA(),r.TgZ(5,"selections-panel-button",2),r.NdJ("click",function(){return e.togglePanel("selections")}),r.qZA(),r.TgZ(6,"tables-button",2),r.NdJ("click",function(){return e.togglePanel("tables")}),r.qZA(),r.TgZ(7,"download-panel-button",2),r.NdJ("click",function(){return e.togglePanel("download")}
1),r.qZA(),r._UZ(8,"reset-button"),r.qZA(),r._UZ(9,"info-panel",3),r._UZ(10,"filters-panel",3),r._UZ(11,"portal-upload-panel",3),r._UZ(12,"selections-panel",3),r._UZ(13,"table-button-panel",3),r._UZ(14,"download-panel",3),r.qZA()),2&t&&(r.xp6(9),r.Q6J("isVisible",e.panelVisibility.info),r.xp6(1),r.Q6J("isVisible",e.panelVisibility.filters),r.xp6(1),r.Q6J("isVisible",e.panelVisibility.upload),r.xp6(1),r.Q6J("isVisible",e.panelVisibility.selections),r.xp6(1),r.Q6J("isVisible",e.panelVisibility.tables),r.xp6(1),r.Q6J("isVisible",e.panelVisibility.download))},directives:[nq,iq,oq,rq,aq,sq,cq,uq,PQ,AQ,RQ,e0,C0],styles:[".panels-container[_ngcontent-%COMP%]{top:4cm;position:absolute;display:flex;align-items:flex-start;margin-left:.25cm}.panels-container[_ngcontent-%COMP%]   .buttons-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;grid-gap:.25cm;gap:.25cm}"]}),t}();function O0(t,e){1&t&&(r.TgZ(0,"a",5),r._uU(1,"[email protected]"),r.qZA())}function P0(t,e){1&t&&(r.TgZ(0,"a",6),r._uU(1,"[email protected]"),r.qZA())}function w0(t,e){1&t&&r._UZ(0,"span")}function M0(t,e){1&t&&r._UZ(0,"span")}function x0(t,e){if(1&t&&(r.TgZ(0,"div"),r.TgZ(1,"span",7),r._uU(2,"please contact Sarah McCord or Nick Webb."),r.qZA(),r._UZ(3,"br"),r.YNc(4,w0,1,0,"span",8),r._UZ(5,"br"),r.YNc(6,M0,1,0,"span",8),r.qZA()),2&t){r.oxw();var n=r.MAs(1),i=r.MAs(3);r.xp6(4),r.Q6J("ngTemplateOutlet",n),r.xp6(2),r.Q6J("ngTemplateOutlet",i)}}function k0(t,e){1&t&&r._UZ(0,"span")}function S0(t,e){if(1&t&&(r.TgZ(0,"div"),r._uU(1),r.qZA(),r._UZ(2,"br"),r.TgZ(3,"div"),r.TgZ(4,"span",7),r._uU(5,"To resolve the issue, please contact Sarah McCord"),r.qZA(),r.YNc(6,k0,1,0,"span",8),r.qZA()),2&t){var n=r.oxw(),i=r.MAs(1);r.xp6(1),r.Oqu(n.authErrorMessage),r.xp6(5),r.Q6J("ngTemplateOutlet",i)}}function A0(t,e){if(1&t&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.pageLoadingMessage)}}function T0(t,e){if(1&t&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.errorLoadingDataMessage)}}function I0(t,e){1&t&&(r.TgZ(0,"div",18),r._UZ(1,"mat-spinner",19),r.qZA())}function E0(t,e){if(1&t&&(r.TgZ(0,"p",20),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.pageLoadFailureMessage)}}function D0(t,e){if(1&t&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.TgZ(2,"div",10),r.TgZ(3,"div",11),r.TgZ(4,"div",12),r.TgZ(5,"div",13),r.TgZ(6,"span",14),r.YNc(7,A0,2,1,"span",4),r.YNc(8,T0,2,1,"span",4),r.qZA(),r.qZA(),r.TgZ(9,"div",15),r.YNc(10,I0,2,0,"div",16),r.TgZ(11,"div"),r.YNc(12,E0,2,1,"p",17),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t){var n=r.oxw();r.xp6(7),r.Q6J("ngIf",!n.pageLoadFailure),r.xp6(1),r.Q6J("ngIf",n.pageLoadFailure),r.xp6(2),r.Q6J("ngIf",!n.pageLoadFailure),r.xp6(2),r.Q6J("ngIf",n.pageLoadFailure)}}function R0(t,e){if(1&t&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.pageLoadingMessage)}}function F0(t,e){if(1&t&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.errorLoadingDataMessage)}}function L0(t,e){if(1&t&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.welcomeMessage)}}function Z0(t,e){1&t&&(r.TgZ(0,"div",18),r._UZ(1,"mat-spinner",25),r.qZA())}function N0(t,e){if(1&t&&(r.TgZ(0,"div"),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n)}}function U0(t,e){1&t&&r._UZ(0,"span")}function V0(t,e){if(1&t&&(r.TgZ(0,"div"),r._uU(1),r._UZ(2,"br"),r._UZ(3,"br"),r.TgZ(4,"cdk-virtual-scroll-viewport",29),r.YNc(5,N0,2,1,"div",30),r.qZA(),r._UZ(6,"br"),r.TgZ(7,"div"),r._uU(8,"For access to additional project data, "),r.YNc(9,U0,1,0,"span",8),r.qZA(),r.qZA()),2&t){var n=r.oxw(5),i=r.MAs(5);r.xp6(1),r.hij(" ",n.restrictedAccessAuthMessage," "),r.xp6(3),r.Udp("min-height",24*n.ldcGroupDetails.projectKeys.length<=242?24*n.ldcGroupDetails.projectKeys.length+"px":"242px"),r.ekj("border-visible",n.ldcGroupDetails.projectKeys.length>1),r.xp6(1),r.Q6J("ngForOf",n.ldcGroupDetails.projectKeys),r.xp6(4),r.Q6J("ngTemplateOutlet",i)}}function j0(t,e){1&t&&r._UZ(0,"div")}function z0(t,e){if(1&t&&r.YNc(0,j0,1,0,"div",8),2&t){r.oxw(5);var n=r.MAs(7);r.Q6J("ngTemplateOutlet",n)}}function q0(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,V0,10,7,"div",26),r.YNc(2,z0,1,1,"ng-template",null,28,r.W1O),r._UZ(4,"br"),r.qZA()),2&t){var n=r.MAs(3),i=r.oxw(4);
1r.xp6(1),r.Q6J("ngIf",i.ldcGroupDetails.projectKeys&&i.ldcGroupDetails.projectKeys.length>0)("ngIfElse",n)}}function B0(t,e){1&t&&r._UZ(0,"span")}function Y0(t,e){if(1&t&&(r._uU(0),r._UZ(1,"br"),r._UZ(2,"br"),r.TgZ(3,"div"),r._uU(4,"For access to restricted project data, "),r.YNc(5,B0,1,0,"span",8),r.qZA(),r._UZ(6,"br")),2&t){var n=r.oxw(4),i=r.MAs(5);r.hij(" ",n.publicAccessAuthMessage," "),r.xp6(5),r.Q6J("ngTemplateOutlet",i)}}function G0(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,q0,5,2,"div",26),r.YNc(2,Y0,7,2,"ng-template",null,27,r.W1O),r.qZA()),2&t){var n=r.MAs(3),i=r.oxw(3);r.xp6(1),r.Q6J("ngIf","PUBLIC"!==i.ldcGroupDetails.accessType)("ngIfElse",n)}}function H0(t,e){1&t&&r._UZ(0,"div")}function J0(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,H0,1,0,"div",8),r.qZA()),2&t){r.oxw(3);var n=r.MAs(7);r.xp6(1),r.Q6J("ngTemplateOutlet",n)}}function W0(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,G0,4,2,"div",4),r.YNc(2,J0,2,1,"div",4),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Q6J("ngIf",n.ldcGroupDetails.ldcAccessIdentifiersAreValid),r.xp6(1),r.Q6J("ngIf",!n.ldcGroupDetails.ldcAccessIdentifiersAreValid)}}function Q0(t,e){if(1&t&&(r.TgZ(0,"p",20),r._uU(1),r.qZA()),2&t){var n=r.oxw(2);r.xp6(1),r.Oqu(n.pageLoadFailureMessage)}}function K0(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"div",31),r.TgZ(2,"button",32),r.NdJ("click",function(){return r.CHM(n),r.oxw(2).dismiss()}),r._uU(3,"OK"),r.qZA(),r.qZA(),r.qZA()}}function X0(t,e){if(1&t&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.TgZ(2,"div",10),r.TgZ(3,"div",21),r.TgZ(4,"div",12),r.TgZ(5,"div",22),r.TgZ(6,"span",23),r.YNc(7,R0,2,1,"span",4),r.YNc(8,F0,2,1,"span",4),r.YNc(9,L0,2,1,"span",4),r.qZA(),r.qZA(),r.TgZ(10,"div",24),r.YNc(11,Z0,2,0,"div",16),r.YNc(12,W0,3,2,"div",4),r.TgZ(13,"div"),r.YNc(14,Q0,2,1,"p",17),r.qZA(),r.qZA(),r.YNc(15,K0,4,0,"div",4),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t){var n=r.oxw();r.xp6(7),r.Q6J("ngIf",n.isLoading&&!n.pageLoadFailure),r.xp6(1),r.Q6J("ngIf",n.pageLoadFailure),r.xp6(1),r.Q6J("ngIf",!n.isLoading&&!n.pageLoadFailure),r.xp6(2),r.Q6J("ngIf",n.isLoading&&!n.pageLoadFailure),r.xp6(1),r.Q6J("ngIf",!n.isLoading&&!n.pageLoadFailure&&n.ldcGroupDetails),r.xp6(2),r.Q6J("ngIf",n.pageLoadFailure),r.xp6(1),r.Q6J("ngIf",!n.isLoading&&!n.pageLoadFailure&&n.loggedIn&&n.modalIsVisible)}}var $0=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.configService=e,this.authService=n,this.isLoading=!1,this.pageLoadFailure=!1,this.loggedIn=!1,this.modalIsVisible=!0,this.ldcJwtManager=new il,this.pageLoadingMessage="Loading map data...",this.errorLoadingDataMessage="Error loading data...",this.pageLoadFailureMessage="Apologies\u2014we've encountered an issue. Please try again later.",this.welcomeMessage="Greetings!",this.publicAccessAuthMessage="You currently have access to publicly available data.",this.restrictedAccessAuthMessage="You have access to (1) public data and (2) restricted data for the following projects:",this.authErrorMessage="Apologies! We've encountered an error processing your data-access privileges; \n                      you've been granted access to publicly available data for now."}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.combinedSubscription=(0,me.aj)([this.authService.isAuthenticated(),this.configService.pkCoordConfigDataLoading.pipe((0,FU.g)(0))]).pipe((0,xe.w)(function(e){var n=_slicedToArray(e,2),i=n[0],o=n[1];return t.loggedIn=i,t.isLoading=o.loading,t.pageLoadFailure=o.error,!i||o.loading||o.error?t.getDefaultLdcGroupDetails():t.ldcJwtManager.getLdcGroupDetails()})).subscribe({next:function(e){t.ldcGroupDetails=e},error:function(e){console.error("Error getting LDC group details:",e),t.pageLoadFailure=!0}})}},{key:"getDefaultLdcGroupDetails",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.ldcJwtManager.getDefaultLdcGroupDetails());case 1:case"end":return t.stop()}},t,this)}))}},{key:"ngOnDestroy",value:function(){this.combinedSubscription&&this.combinedSubscription.unsubscribe()}},{key:"dismiss",value:function(){this.modalIsVisible=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(al),r.Y36(Wf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["page-loading-modal"]],decls:10,vars:2,consts:[["smEmail",""],["nwEmail",""],["authAccessContact",""],["authErrorContact",""],[4,"ngIf"],["href","mailto:[email protected]",1,"email"],["href","mailto:[email protected]",1,"email"],[1,"email-lead-in"],[4,"ngTemplateOutlet"],[1,"modal-backdrop","show"],["tabindex","-1","role","dialog",1,"modal"],["role","document",1,"modal-dialog","modal
1-dialog-not-logged-in"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],[1,"modal-body"],["class","mat-spinner-container",4,"ngIf"],["class","error-message",4,"ngIf"],[1,"mat-spinner-container"],["diameter","30"],[1,"error-message"],["role","document",1,"modal-dialog","modal-dialog-logged-in"],[1,"modal-header","justify-content-center"],[1,"modal-title",2,"text-align","center"],[1,"modal-body",2,"text-align","center"],["diameter","40"],[4,"ngIf","ngIfElse"],["userHasPublicAccess",""],["noProjectKeys",""],["itemSize","10",1,"project-list-viewport"],[4,"ngFor","ngForOf"],[1,"modal-footer","justify-content-center"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(t,e){1&t&&(r.YNc(0,O0,2,0,"ng-template",null,0,r.W1O),r.YNc(2,P0,2,0,"ng-template",null,1,r.W1O),r.YNc(4,x0,7,2,"ng-template",null,2,r.W1O),r.YNc(6,S0,7,2,"ng-template",null,3,r.W1O),r.YNc(8,D0,13,4,"div",4),r.YNc(9,X0,16,7,"div",4)),2&t&&(r.xp6(8),r.Q6J("ngIf",!e.loggedIn&&(e.isLoading||e.pageLoadFailure)),r.xp6(1),r.Q6J("ngIf",e.loggedIn&&(e.isLoading||e.pageLoadFailure||e.modalIsVisible)))},directives:[_t,Pt,Sf,tO,Wb,ft],styles:[".modal[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;overflow:hidden}.modal-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:500px;overflow:hidden}.modal-dialog-not-logged-in[_ngcontent-%COMP%]{width:5cm}.modal-dialog-logged-in[_ngcontent-%COMP%]{width:10cm}.mat-spinner-container[_ngcontent-%COMP%]{margin:10px 0 40px;display:flex;justify-content:center;align-items:center;flex-direction:column;height:90%}.email-lead-in[_ngcontent-%COMP%]{display:inline-block;padding-bottom:10px}.error-message[_ngcontent-%COMP%]{margin-top:20px;text-align:center}.project-list-viewport[_ngcontent-%COMP%]{overflow-y:auto;width:90%;display:block;margin:0 auto}.border-visible[_ngcontent-%COMP%]{border:1px solid #ccc;border-radius:8px}
1.modal-header[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%]{flex-shrink:0}.modal-body[_ngcontent-%COMP%]{flex-grow:1;overflow-y:auto}"]}),t}(),t1=function(){var t=function(){function t(e){_classCallCheck(this,t),this.authService=e,this.loggedIn=!1}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.authService.loggedIn$.subscribe(function(e){return t.loggedIn=e})}},{key:"deleteAccount",value:function(){return Yo(this,void 0,void 0,_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!this.loggedIn){t.next=7;break}return t.next=4,this.authService.deleteCurrentUser();case 4:window.alert("Your account was successfully deleted"),t.next=8;break;case 7:window.alert("You must be authenticated to delete your account");case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),console.error("Error deleting user account",t.t0),window.alert("Something went wrong, please contact the website manager");case 13:case"end":return t.stop()}},t,this,[[0,10]])}))}},{key:"dismiss",value:function(){this.authService.toggleDeleteAccount(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(Wf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["confirm-delete-modal"]],decls:19,vars:0,consts:[[1,"modal-backdrop","show"],["tabindex","-1","role","dialog",1,"modal"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header","justify-content-center"],[1,"modal-title"],[1,"modal-body"],["href","mailto:[email protected]"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-secondary",3,"click"]],template:function(t,e){1&t&&(r._UZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"h5",5),r._uU(6,"Confirm account deletion"),r.qZA(),r.qZA(),r.TgZ(7,"div",6),r.TgZ(8,"p"),r._uU(9,'You are about to delete your Landscape Data Commons (LDC) account. Click "Delete" to delete your account or "Cancel" to keep your account. If you have any questions about the account-deletion process, please contact '),r.TgZ(10,"a",7),r._uU(11,"Christopher Fraser"),r.qZA(),r._uU(12,". "),r._UZ(13,"br"),r.qZA(),r.qZA(),r.TgZ(14,"div",8),r.TgZ(15,"button",9),r.NdJ("click",function(){return e.deleteAccount()}),r._uU(16,"Delete"),r.qZA(),r.TgZ(17,"button",10),r.NdJ("click",function(){return e.dismiss()}),r._uU(18,"Cancel"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA())},styles:[".modal[_ngcontent-%COMP%]{display:block}
1.modal-title[_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%]{text-align:center}.modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%}.email[_ngcontent-%COMP%]{text-align:center}"]}),t}(),e1=["mapContainer"];function n1(t,e){1&t&&r._UZ(0,"page-loading-modal")}function i1(t,e){1&t&&r._UZ(0,"confirm-delete-modal")}var o1=[{path:"",component:jf},{path:"home",component:jf},{path:"disclaimer",component:zf},{path:"tools",component:Yf},{path:"help",component:tw},{path:"ldc-map",component:function(){var t=function(){function t(e,n,i){var o=this;_classCallCheck(this,t),this.store=e,this.configService=n,this.authService=i,this.tileLayerGenerator=new FZ,this.styleGenerator=new TF,this.googleTerrainLayer=this.tileLayerGenerator.getGoogleTerrainLayer(),this.unselectedCircleFeatures=[],this.unselectedSquareFeatures=[],this.deleteAccount=!1,this.loggedIn=!1,this.mapInitialized=!1,this.animationFrameId=null,this.subscription=new sl.w,this.destroy$=new we.xQ,this.defaultZoom=1.7,this.defaultCenter=cS([-60,22]),this.shapefileOutlineSource=new FI({wrapX:!0}),this.shapefileOutlineLayer=new bF({source:this.shapefileOutlineSource,style:new nE({stroke:new WI({color:"#3399CC",width:3}),fill:new HI({color:"rgba(51, 153, 204, 0.1)"})})}),this.authService.deleteAccount$.subscribe(function(t){o.deleteAccount=t})}return _createClass(t,[{key:"ngOnInit",value:function(){this.store.dispatch(VF({resetAll:!0}));var t=this.authService.getStoredDeleteAccountValue();t&&this.authService.deleteAccount$.next(t)}},{key:"ngAfterViewInit",value:function(){var t=this;if(!this.mapInitialized){var e=this.createMap();this.mapInitialized=!0,this.configService.pkCoordConfigDataLoading.next({loading:!0,error:!1}),this.subscription.add(this.configService.getPkCoordConfigData().subscribe(function(n){try{t.processMapPlotData(n,e),t.configService.pkCoordConfigDataLoading.next({loading:!1,error:!1})}catch(i){console.error("Error processing map plot data:",i),t.configService.pkCoordConfigDataLoading.next({loading:!1,error:!0})}},function(e){t.configService.pkCoordConfigDataLoading.next({loading:!1,error:!0}),console.error("Error fetching map plot data:",e)}))}}},{key:"processMapPlotData",value:function(t,e){var n=this,i=tM(e.getView().getProjection().getExtent()),o=[-1,0,1];this.unselectedCircleFeatures=[],this.unselectedSquareFeatures=[],t.forEach(function(t,e){var r=e+1,a=_slicedToArray(cS([t.longitude_nad83,t.latitude_nad83]),2),s=a[0],c=a[1],l="Obscured"===t.location_status?n.unselectedSquareFeatures:n.unselectedCircleFeatures;o.forEach(function(e){var n=new pD({geometry:new dA([s+e*i,c])});n.set("id",r),n.set("primary_key",t.primary_key),n.set("project_key",t.project_key),n.set("location_status",t.location_status),l.push(n)})}),this.initializeNgRxIdToPrimaryKey(),this.initializeNgRxPrimaryKeyToId();var r=this.buildPointsLayer(this.unselectedCircleFeatures,this.styleGenerator.getUnselectedCircleStyle()),a=this.buildPointsLayer(this.unselectedSquareFeatures,this.styleGenerator.getUnselectedSquareStyle()),s=this.buildPointsLayer([],this.styleGenerator.getSelectedCircleStyle()),c=this.buildPointsLayer([],this.styleGenerator.getSelectedSquareStyle());e.addLayer(r),e.addLayer(a),e.addLayer(s),e.addLayer(c),e.addLayer(this.shapefileOutlineLayer),this.addMapControls(e,[{unselected:r,selected:s},{unselected:a,selected:c}]),e.render(),e.on("movestart",function(){return n.startRenderLoop(e)}),e.on("moveend",function(){return n.stopRenderLoop(e)}),this.polygonControl.initializeNgRxStoreSubscriptions(),this.mapLayerControl.initializeNgRxStoreSubscriptions(),this.store.select(bL).pipe((0,pl.x)(),(0,fl.R)(this.destroy$)).subscribe(function(t){if(n.shapefileOutlineSource.clear(),t){var i=e.getView().getProjection(),o=(new tN).readFeatures(t,{dataProjection:"EPSG:4326",featureProjection:i});n.shapefileOutlineSource.addFeatures(o)}}),this.store.select(CL).pipe((0,pl.x)(),(0,Te.h)(function(t){return t}),(0,fl.R)(this.destroy$)).subscribe(function(){n.store.select(OL).pipe((0,ke.q)(1)).subscribe(function(t){var i,o=e.getView(),r=o.getProjection(),a=tM(r.getExtent()),s=o.getCenter()||n.defaultCenter,c=null!==(i=o.getZoom())&&void 0!==i?i:n.defaultZoom,l=Math.round(s[0]/a)*a,u=function(t){return[t[0]+l,t[1],t[2]+l,t[3]]},d=null;if(t&&4===t.length&&Number.isFinite(t[0])&&Number.isFinite(t[1])&&Number.isFinite(t[2])&&Number.isFinite(t[3]))d=u(function(t,e,n,i){return function(t,e,n,i){var o=[];if(i>1)for(var r=t[2]-t[0],a=t[3]-t[1],s=0;s<i;++s)o.push(t[0]+r*s/i,t[1],t[2],t[1]+a*s/i,t[2]-r*s/i,t[3],t[0],t[3]-a*s/i);else o=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(o,o,2);for(var c=[],l=[],u=(s=0,o.length);s<u;s+=2)c.push(o[s]),l.push(o[s+1]);return function(t,e,n){return Fw(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),void 0)}(c,l)}(t,dS(e,n),0,i)}(t,"EPSG:4326",r));else{var h=n.shapefileOutlineSource.getExtent();h&&!nM(h)&&(d=u(h))}if(d)if(Math.abs(c-n.defaultZoom)>.1){var p=d;o.animate({zoom:n.defaultZoom+1,center:s,duration:850},function(){return o.fit(p,{duration:850,padding:[35,35,35,35],maxZoom:12})})}else o.fit(d,{duration:1700,padding:[35,35,35,35],maxZoom:12});else n.animateToRandomSelectedPlot(e);n.store.dispatch(rL())})})}},{key:"allPlotFeatures",value:function(){return this.unselectedCircleFeatures.concat(this.unselectedSquareFeatures)}}
1,{key:"initializeNgRxIdToPrimaryKey",value:function(){var t={};this.allPlotFeatures().forEach(function(e){var n=e.get("id"),i=e.get("primary_key");t[n]=i}),this.store.dispatch(GF({idToPrimaryKey:t}))}},{key:"initializeNgRxPrimaryKeyToId",value:function(){var t={};this.allPlotFeatures().forEach(function(e){var n=e.get("id"),i=e.get("primary_key");t[i]=n}),this.store.dispatch(HF({primaryKeyToId:t}))}},{key:"createMap",value:function(){return new CI({controls:iT().extend([new wD]),layers:[this.googleTerrainLayer],target:this.mapContainer.nativeElement,view:new FA({center:this.defaultCenter,zoom:this.defaultZoom,maxZoom:21})})}},{key:"buildPointsLayer",value:function(t,e){return new uD({source:new FI({features:t}),style:e,disableHitDetection:!0})}},{key:"addMapControls",value:function(t,e){this.polygonControl=new wL(this.store,new FI({wrapX:!1}),e),this.mapLayerControl=new LZ(this.store,this.googleTerrainLayer),this.addMousePositionControl(t),t.addControl(this.mapLayerControl),t.addControl(this.polygonControl),t.addControl(new ZZ(this.store)),t.addControl(new NZ)}},{key:"addMousePositionControl",value:function(t){var e=new vD({coordinateFormat:function(t){return t?function(t,e,n){return t?"{y}, {x}".replace("{x}",t[0].toFixed(4)).replace("{y}",t[1].toFixed(4)):""}(t):""},projection:"EPSG:4326",className:"custom-mouse-position",target:document.getElementById("mouse-position"),undefinedHTML:"Latitude/Longitude"});t.addControl(e)}},{key:"startRenderLoop",value:function(t){var e=this;if(null===this.animationFrameId){this.animationFrameId=window.requestAnimationFrame(function n(){t.render(),e.animationFrameId=window.requestAnimationFrame(n)})}}},{key:"stopRenderLoop",value:function(t){null!==this.animationFrameId&&(window.cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null,t.render())}},{key:"animateToRandomSelectedPlot",value:function(t){var e=this;this.store.select(_L).pipe((0,ke.q)(1),(0,Te.h)(function(t){return t.length>0})).subscribe(function(n){var i,o=n[Math.floor(Math.random()*n.length)],r=t.getView(),a=r.getCenter()||e.defaultCenter,s=null!==(i=r.getZoom())&&void 0!==i?i:e.defaultZoom,c=e.allPlotFeatures().filter(function(t){return t.get("id")===o});if(0!==c.length){var l=c.reduce(function(t,e){var n=e.getGeometry().getCoordinates()[0],i=t.getGeometry().getCoordinates()[0];return Math.abs(n-a[0])<Math.abs(i-a[0])?e:t},c[0]);if(l){var u=l.getGeometry().getCoordinates();Math.abs(s-e.defaultZoom)>.1?r.animate({zoom:e.defaultZoom+1,center:a,duration:1700},{zoom:7,center:u,duration:1700}):r.animate({center:u,zoom:7,duration:1700})}}})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe(),null!==this.animationFrameId&&(window.cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null),this.destroy$.next(),this.destroy$.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(al),r.Y36(Wf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["ol-map"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(e1,5),2&t)&&(r.iGM(n=r.CRH())&&(e.mapContainer=n.first))},decls:12,vars:8,consts:[[4,"ngIf"],["id","ol-map",1,"map-container"],["mapContainer",""],["id","ldc-map-footers"],["ngbPopover","The ratio of selected plots to total plots will appear here once plots have been selected (using the polygon tool or the side-panel filters)","placement","top","triggers","mouseenter:mouseleave","id","ldc-selected-sites",3,"openDelay","closeDelay"],["ngbPopover","Latitude and longitude positions corresponding to the mouse pointer will appear here when hovering over the map","placement","top","triggers","mouseenter:mouseleave","id","mouse-position",3,"openDelay","closeDelay"],[1,"__vertical-spacer"]],template:function(t,e){1&t&&(r.YNc(0,n1,1,0,"page-loading-modal",0),r.YNc(1,i1,1,0,"confirm-delete-modal",0),r.ALo(2,"async"),r._UZ(3,"div",1,2),r._UZ(5,"portal-map-loading-spinner"),r.TgZ(6,"div",3),r.TgZ(7,"span",4),r._uU(8,"Selected/Total Plots\xa0"),r.qZA(),r._UZ(9,"span",5),r.qZA(),r._UZ(10,"panels"),r._UZ(11,"div",6)),2&t&&(r.Q6J("ngIf",!e.deleteAccount),r.xp6(1),r.Q6J("ngIf",e.deleteAccount&&r.lcZ(2,6,e.authService.loggedIn$)),r.xp6(6),r.Q6J("openDelay",200)("closeDelay",200),r.xp6(2),r.Q6J("openDelay",200)("closeDelay",200))},directives:[_t,oN,Pz,b0,$0,t1],pipes:[St],styles:['.tooltip[_ngcontent-%COMP%]{font-size:12px;font-weight:400}.tooltip-inner[_ngcontent-%COMP%]{background-color:#fff;border-radius:4px;box-shadow:0 1px 13px #00000024,0 0 0 1px #7347263b;color:#66615b;
1max-width:200px;padding:10px;text-align:center;text-decoration:none}.tooltip-inner[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute}.tooltip-inner[_ngcontent-%COMP%]:before{content:"";display:inline-block;position:absolute}.tooltip.bs-tooltip-left[_ngcontent-%COMP%], .tooltip.bs-tooltip-left.show[_ngcontent-%COMP%]{margin-right:5px}.tooltip.bs-tooltip-left[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-left.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-left:11px solid rgba(0,0,0,.2);border-top:11px solid transparent;border-bottom:11px solid transparent;right:-4px;left:auto;margin-left:0;top:8px!important}.tooltip.bs-tooltip-left[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-left.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-left:11px solid #FFFFFF;border-top:11px solid transparent;border-bottom:11px solid transparent;right:1px;left:auto;margin-left:0;top:-11px!important}.tooltip.bs-tooltip-right[_ngcontent-%COMP%], .tooltip.bs-tooltip-right.show[_ngcontent-%COMP%]{margin-left:6px}.tooltip.bs-tooltip-right[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-right.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-right:11px solid rgba(0,0,0,.2);border-top:11px solid transparent;border-bottom:11px solid transparent;left:-6px;right:auto;margin-right:0;top:9px!important}.tooltip.bs-tooltip-right[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-right.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-right:11px solid #FFFFFF;border-top:11px solid transparent;border-bottom:11px solid transparent;left:1px;right:auto;margin-right:0;top:-11px}.tooltip.bs-tooltip-top[_ngcontent-%COMP%], .tooltip.bs-tooltip-top.show[_ngcontent-%COMP%]{margin-top:-6px}.tooltip.bs-tooltip-top[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-top.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-top:11px solid rgba(0,0,0,.2);border-left:11px solid transparent;border-right:11px solid transparent;right:auto;margin-right:0;left:40px!important;top:45px}.tooltip.bs-tooltip-top[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-top.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-top:11px solid #FFFFFF;border-left:11px solid transparent;border-right:11px solid transparent;left:-11px;right:auto;top:-12px}.tooltip.bs-tooltip-bottom[_ngcontent-%COMP%], .tooltip.bs-tooltip-bottom.show[_ngcontent-%COMP%]{margin-top:6px}.tooltip.bs-tooltip-bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .tooltip.bs-tooltip-bottom.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border-bottom:11px solid rgba(0,0,0,.2);border-left:11px solid transparent;border-right:11px solid transparent;right:auto;margin-right:0;top:-4px;left:50px!important}.tooltip.bs-tooltip-bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before, .tooltip.bs-tooltip-bottom.show[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:before{border-bottom:11px solid #FFFFFF;border-left:11px solid transparent;border-right:11px solid transparent;left:-11px;right:auto;top:1px}.tooltip.show[_ngcontent-%COMP%]{opacity:1!important}.popover[_ngcontent-%COMP%]{border-radius:6px;background-color:#fffcf5;color:#66615b;font-weight:400;padding:0;z-index:1031;box-shadow:none}.popover-header[_ngcontent-%COMP%]{background-color:#fff;border-bottom:0 none;font-size:15px;font-weight:normal;line-height:22px;padding:15px 15px 0;margin:0 0 -10px;color:#66615b;text-align:center;border-radius:6px 6px 0 0}.popover-body[_ngcontent-%COMP%]{background-color:#fff;padding:15px;text-align:center;border-radius:6px}.popover[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{border:0}.popover.top[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-left:0}.popover.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#f7765f}.popover-filter[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000;opacity:0;filter:alpha(opacity=0);visibility:hidden;transition:visibility 0s linear .3s,opacity .3s linear}.popover-filter.in[_ngcontent-%COMP%]{visibility:visible;opacity:.2;filter:alpha(opacity=20);transition-delay:0s}.popover.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#f7765f;bottom:-20px}.popover.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#f7765f}.popover.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#f7765f}.popover.left[_ngcontent-%COMP%]:before{border-left-color:#f7765f;bottom:-20px}.popover-filter.in[_ngcontent-%COMP%]{visibility:visible;opacity:.2;filter:alpha(opacity=20);transition-delay:0s}.popover-primary[_ngcontent-%COMP%]{background-color:#6dd3d6;color:#fff}.popover-primary[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#6dd3d6;color:#0000008f}.popover-primary.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#6dd3d6}.popover-primary.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#6dd3d6}.popover-primary.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#6dd3d6}.popover-primary.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#6dd3d6}.popover-info[_ngcontent-%COMP%]{background-color:#6ec7e0;color:#fff}.popover-info[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#6ec7e0;color:#0000008f}.popover-info.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#6ec7e0}.popover-info.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#6ec7e0}.popover-info.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#6ec7e0}.popover-info.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#6ec7e0}.popover-success[_ngcontent-%COMP%]{background-color:#86d9ab;color:#fff}.popover-success[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#86d9ab;color:#0000008f}.popover-success.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#86d9ab}.popover-success.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#86d9ab}.popover-success.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#86d9ab}.popover-success.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#86d9ab}.popover-warning[_ngcontent-%COMP%]{background-color:#fcd27b;color:#fff}.popover-warning[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#fcd27b;color:#0000008f}.popover-warning.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#fcd27b}.popover-warning.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#fcd27b}.popover-warning.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#fcd27b}.popover-warning.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#fcd27b}.popover-danger[_ngcontent-%COMP%]{background-color:#f7765f;color:#fff}.popover-danger[_ngcontent-%COMP%]   .popover-title[_ngcontent-%COMP%]{background-color:#f7765f;color:#0000008f}.popover-danger.bottom[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]:after{border-bottom-color:#f7765f}.popover-danger.left[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-left-color:#f7765f}.popover-danger.top[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-top-color:#f7765f}.popover-danger.right[_ngcontent-%COMP%] > .arrow[_ngcontent-%COMP%]:after{border-right-color:#f7765f}.map-container[_ngcontent-%COMP%]{position:relative;margin-top:0}.sidebar-header[_ngcontent-%COMP%], .ldc-tablinks[_ngcontent-%COMP%], .ldc-panel-button[_ngcontent-%COMP%], .ldc-filter-panel-button-center[_ngcontent-%COMP%], .ldc-accordion-button[_ngcontent-%COMP%], #ldc-selected-sites[_ngcontent-%COMP%], #mouse-position[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:"Montserrat","Helvetica",Arial,sans-serif;font-weight:400}.ldc-panel-button[_ngcontent-%COMP%]{font-size:13px}.ldc-panel-button[_ngcontent-%COMP%]:hover{border:2px solid}#ldc-aero-indicator-panel-button[_ngcontent-%COMP%]:hover{border:1px solid!important}@media (-webkit-min-device-pixel-ratio: 1.3125),(min-resolution: 126dpi){#ol-map[_ngcontent-%COMP%]{height:95vh;min-height:725px}}@media (-webkit-max-device-pixel-ratio: 1.3020833333333333),(max-resolution: 125dpi){#ol-map[_ngcontent-%COMP%]{height:75vh;min-height:535px}}#ldc-selected-sites[_ngcontent-%COMP%]{color:#323232;float:left;margin-right:-20px;padding-left:5px}#mouse-position[_ngcontent-%COMP%]{color:#323232;float:right;padding-right:4px}.ldc-profile-tab-content[_ngcontent-%COMP%]{outline:none;border:1px solid #787878;border-radius:4px;
1height:190px;width:310px;padding:5px;margin:15px 10px 0 12px}#ldc-sidebar-profile-content[_ngcontent-%COMP%]{height:700px;margin-left:-5px}.ldc-download-tab-content[_ngcontent-%COMP%]{outline:none;border-radius:4px;height:270px;width:310px;padding:5px;margin:15px 10px 0 12px;text-align:center}#ldc-sidebar-download-content[_ngcontent-%COMP%]{height:700px;margin-left:-5px}#ldc-user-guide-top-link-text[_ngcontent-%COMP%]{padding:20px 0 0 10px;margin-top:10px;font-size:18px;text-align:center}.ldc-user-guide-introduction[_ngcontent-%COMP%]{outline:none;width:335px;padding:0 5px 0 8px;margin:15px 10px 0 0}.ldc-user-guide-introduction-heading[_ngcontent-%COMP%]{color:#323232;padding:10px 0 25 5px;margin:30px 0 0;font-size:21px}.ldc-user-guide-introduction-description[_ngcontent-%COMP%]{display:inline-block;width:325px;margin:0 25px 10px 0;font-size:16px;padding:5px 20px 5px 5px;color:#505050}.ldc-download-item[_ngcontent-%COMP%]{margin-top:10px;padding-left:45px;text-align:left}#ldc-map-footers[_ngcontent-%COMP%]{margin-bottom:-2px}.__vertical-spacer[_ngcontent-%COMP%]{height:1cm}']}),t}()},{path:"contact",component:function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-contact-page"]],decls:26,vars:0,consts:[["data-parallax","true",1,"page-header",2,"background-image","url('./assets/img/cmf/new-ldc-banner.jpg')"],[1,"filter"],[1,"container"],[1,"motto","ldc-top-banner"],[1,"overview"],["href","mailto:[email protected]",1,"email-top"],["href","mailto:[email protected]",1,"email-bottom"],[1,"email"],["href","mailto:[email protected]",1,"email"],[1,"overview","last"],["href","mailto:[email protected]",1,"email"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r._UZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"h1"),r._uU(5,"Contact Us"),r.qZA(),r.TgZ(6,"p",4),r._uU(7," To get involved with the Landscape Data Commons, please contact Sarah McCord or Nicholas Webb. "),r._UZ(8,"br"),r.TgZ(9,"a",5),r._uU(10,"[email protected]"),r.qZA(),r._UZ(11,"br"),r.TgZ(12,"a",6),r._uU(13,"[email protected]"),r.qZA(),r.qZA(),r.TgZ(14,"p",4),r._uU(15," For questions about AERO wind erosion indicators, please contact Brandon Edwards. "),r._UZ(16,"br"),r.TgZ(17,"span",7),r.TgZ(18,"a",8),r._uU(19,"[email protected]"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(20,"p",9),r._uU(21," For website support, English language support, general website questions, and accessibility options, please contact Christopher Fraser. "),r._UZ(22,"br"),r.TgZ(23,"a",10),r._uU(24,"[email protected]"),r.qZA(),r.qZA(),r._UZ(25,"br"),r.qZA(),r.qZA(),r.qZA())},styles:['@media (max-width: 767px){.navbar-transparent[_ngcontent-%COMP%]{background-color:#00000073}body[_ngcontent-%COMP%]{position:relative;font-size:12px}h6[_ngcontent-%COMP%]{font-size:1em}.navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{left:0;width:100%;transition:all .33s cubic-bezier(.685,.0473,.346,1);position:relative}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapse.in[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   .navbar-collapse.collapsing[_ngcontent-%COMP%]{display:none!important}.demo-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{padding-top:30%!important}.navbar-toggle[_ngcontent-%COMP%]   .icon-bar[_ngcontent-%COMP%]{display:block;position:relative;background:#fff;width:24px;height:2px;border-radius:1px;margin:0 auto}.fog-low[_ngcontent-%COMP%]{margin-bottom:-35px}.presentation-title[_ngcontent-%COMP%]{font-size:5em}.presentation-subtitle[_ngcontent-%COMP%]{margin-top:40px}.title-brand[_ngcontent-%COMP%]{max-width:450px}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:16px}.navbar-header[_ngcontent-%COMP%]   .navbar-toggle[_ngcontent-%COMP%]{margin-top:12px;width:40px;height:40px}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{outline:1px solid transparent}.bar1[_ngcontent-%COMP%]{top:0px;animation:topbar-back .5s 0s;animation-fill-mode:forwards}.bar2[_ngcontent-%COMP%]{opacity:1}.bar3[_ngcontent-%COMP%]{bottom:0px;animation:bottombar-back .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{top:6px;animation:topbar-x .5s 0s;animation-fill-mode:forwards}.toggled[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}
1.toggled[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{bottom:6px;animation:bottombar-x .5s 0s;animation-fill-mode:forwards}@keyframes topbar-x{0%{top:0px;transform:rotate(0)}45%{top:6px;transform:rotate(145deg)}75%{transform:rotate(130deg)}to{transform:rotate(135deg)}}@keyframes topbar-back{0%{top:6px;transform:rotate(135deg)}45%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}to{top:0px;transform:rotate(0)}}@keyframes bottombar-x{0%{bottom:0px;transform:rotate(0)}45%{bottom:6px;transform:rotate(-145deg)}75%{transform:rotate(-130deg)}to{transform:rotate(-135deg)}}@keyframes bottombar-back{0%{bottom:6px;transform:rotate(-135deg)}45%{transform:rotate(10deg)}75%{transform:rotate(-5deg)}to{bottom:0px;transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.navbar-nav[_ngcontent-%COMP%]{margin:1px -15px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding:5px 15px 5px 50px}.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding:15px 15px 25px 50px}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{color:#fff}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(.btn), [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, [class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus{opacity:.7;background:transparent}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav.navbar-nav[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active{opacity:1}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover   .caret[_ngcontent-%COMP%]{border-bottom-color:#777;border-top-color:#777}[class*=navbar-][_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   .caret[_ngcontent-%COMP%]{border-bottom-color:#fff;border-top-color:#fff}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible}.dropdown-menu[_ngcontent-%COMP%]{display:none}.navbar-fixed-top[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden}.social-line[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 0 10px}.subscribe-line[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{margin:0 0 10px}.social-line.pull-right[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   nav.pull-left[_ngcontent-%COMP%]{float:none!important}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{float:none}.footer[_ngcontent-%COMP%]   .footer-nav[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]   .credits[_ngcontent-%COMP%]{margin:0 auto}.section-buttons[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{margin-top:15px}.section-buttons[_ngcontent-%COMP%]   .form-group.has-danger[_ngcontent-%COMP%]   .form-control-feedback[_ngcontent-%COMP%]{margin-top:5px}.social-area.pull-right[_ngcontent-%COMP%]{float:none!important}.form-control[_ngcontent-%COMP%] + .form-control-feedback[_ngcontent-%COMP%]{margin-top:-8px}.navbar-toggle[_ngcontent-%COMP%]:hover, .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:transparent!important}.btn.dropdown-toggle[_ngcontent-%COMP%]{margin-bottom:0}.media-post[_ngcontent-%COMP%]   .author[_ngcontent-%COMP%]{width:20%;float:none!important;display:block;margin:0 auto 10px}.media-post[_ngcontent-%COMP%]   .media-body[_ngcontent-%COMP%]{width:100%}.modal-footer[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:15px}.table-responsive[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #dddddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.typography-line[_ngcontent-%COMP%]{padding-left:100px!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]{display:block!important}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]:first-child   .nav-link[_ngcontent-%COMP%]{border-radius:12px 12px 0 0!important;margin-left:-1px}.projects-1[_ngcontent-%COMP%]   .project-pills[_ngcontent-%COMP%]   .nav.nav-pills[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child   .nav-link[_ngcontent-%COMP%]{border-radius:0 0 12px 12px!important;margin-left:-1px}
1.testimonials-2[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .section-testimonials[_ngcontent-%COMP%]   .testimonials-people[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]{overflow:hidden}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]{top:750px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .first-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]{top:940px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fourth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]{top:950px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .fifth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]{top:1335px!important;left:220px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .sixth-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]{top:1155px!important}.presentation-page[_ngcontent-%COMP%]   .section-cards[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .seventh-card[_ngcontent-%COMP%]   .grid__link[_ngcontent-%COMP%]{width:200px!important}.presentation-page[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .add-animation[_ngcontent-%COMP%]{height:250px!important;width:180px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .components-macbook[_ngcontent-%COMP%]{width:580px!important;height:400px!important}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .social-img[_ngcontent-%COMP%], .presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .share-btn-img[_ngcontent-%COMP%]{display:none}.presentation-page[_ngcontent-%COMP%]   .section-components[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:-100px!important}.presentation-page[_ngcontent-%COMP%]   .section-examples[_ngcontent-%COMP%]{padding-top:0!important;margin-top:10px!important}.presentation-page[_ngcontent-%COMP%]   .section-icons[_ngcontent-%COMP%]   .icons-nucleo[_ngcontent-%COMP%]   .nc-icon[_ngcontent-%COMP%]:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){display:none!important}#typography[_ngcontent-%COMP%]   .typography-line[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{margin-left:7px!important}.section-nucleo-icons[_ngcontent-%COMP%]   [class*=col-lg][_ngcontent-%COMP%]{text-align:center!important;margin-bottom:2em}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0;padding:0}}@media screen and (max-width: 991px){.navbar-collapse[_ngcontent-%COMP%]{display:block;position:fixed;top:0;height:100%;width:230px;right:0;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.navbar-collapse[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative;z-index:3;height:95%}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{margin:0;color:#9a9a9a!important;text-transform:uppercase;font-weight:600;font-size:12px;line-height:1.5em;padding:15px 0}.navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:hover, .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%] > .nav-item[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]:active{color:#403d39!important}.navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.nav-open[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{transform:translate(0);display:block}.nav-open[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.wrapper[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none}.fixed-top[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#ff8f5e;float:left}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}.navbar-translate[_ngcontent-%COMP%]{justify-content:space-between;display:flex;align-items:center;width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}}@media screen and (min-width: 767px){.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]{position:relative;z-index:1}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-of-type{margin-top:50px;margin-right:-120px;margin-left:-15px;transform:translate(-80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(2){margin-left:-100px;margin-right:-15px;transform:translate(80px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(3){margin-right:-120px;margin-left:0;transform:translate(-120px)}.section-sections[_ngcontent-%COMP%]   .section-cols[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:nth-of-type(4){margin-right:-100px;margin-left:-15px;transform:translate(-50px)}}@media screen and (min-width: 991px){.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{position:fixed;display:block;top:0;height:100%;width:230px;right:0px;z-index:1032;visibility:visible;background-color:#999;overflow-y:visible;border-top:none;text-align:left;border-left:1px solid #CCC5B9;padding-right:0;padding-left:40px;padding-top:15px;transform:translate(230px);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{height:100%;z-index:2;position:relative;display:flex;flex-direction:column}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#fffcf5;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(112,112,112,0) 60%,rgba(186,186,186,.15) 100%);display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse.has-image[_ngcontent-%COMP%]:after{top:0;left:0;height:100%;width:100%;position:absolute;background-color:#111c;display:block;content:"";z-index:1}.burger-menu[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:block;margin-top:20px}.burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{width:100%;position:relative;transform:translate(0);transition:all .33s cubic-bezier(.685,.0473,.346,1)}.burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{transition:all .33s cubic-bezier(.685,.0473,.346,1);left:0;background-color:#fff}.burger-menu[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{height:100vh!important}.burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]:after{display:table;content:" "}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-collapse.collapse[_ngcontent-%COMP%]{transform:translate(0)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{left:0;transform:translate(-230px)}.nav-open[_ngcontent-%COMP%]   .burger-menu[_ngcontent-%COMP%]   .navbar-translate[_ngcontent-%COMP%]{transform:translate(-230px)}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:transparent;border:0;transition:none;box-shadow:none;width:auto;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;border-radius:0}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#403d39}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:none}.burger-menu[_ngcontent-%COMP%]   .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 1025px){.input-group[_ngcontent-%COMP%]   .input-group-addon[_ngcontent-%COMP%]{padding-right:10px}}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border:0 none;border-radius:12px;display:block;margin-top:10px;padding:0;position:absolute;visibility:hidden;opacity:0;filter:alpha(opacity=0);box-shadow:0 2px #11100f1a,0 2px 10px #11100f1a}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{background-color:#f1eae0;margin:0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-header[_ngcontent-%COMP%]{color:#9a9a9a;font-size:12px;padding:10px 15px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .no-notification[_ngcontent-%COMP%]{color:#9a9a9a;font-size:1.2em;padding:30px;text-align:center}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#66615b;font-size:14px;padding:10px 45px 10px 15px;clear:both;white-space:nowrap;width:100%;display:block}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{color:#fff}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:-3px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:0!important}.btn-group.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{min-width:100%}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%CO
1MP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child{border-top-left-radius:12px;border-top-right-radius:12px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.select[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{border-radius:0;border-bottom:0 none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;opacity:1;text-decoration:none}.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#66615b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-primary[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6dd3d6}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-info[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#6ec7e0}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-success[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#86d9ab}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-warning[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#fcd27b}.dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-danger[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f7765f}.dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{margin:0!important}.dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{opacity:1;filter:alpha(opacity=100);visibility:visible}.navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.mr-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.ml-auto[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:12px!important;right:auto}.btn-group.select.open[_ngcontent-%COMP%]{overflow:visible}.dropdown-menu-right[_ngcontent-%COMP%]{right:-2px!important;left:auto!important}@media (min-width: 768px){.navbar-form[_ngcontent-%COMP%]{margin-top:21px;margin-bottom:21px;padding-left:5px;padding-right:5px}.navbar-search-form[_ngcontent-%COMP%]{display:none}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-40px);transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s}.navbar-nav[_ngcontent-%COMP%]   .dropdown-item.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%], .dropdown-btn.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(15px);visibility:visible!important}.bootstrap-select[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{box-shadow:none;transition:all .15s linear}.bootstrap-datetimepicker-widget[_ngcontent-%COMP%]{visibility:visible!important;opacity:1;filter:alpha(opacity=100)}.dropup.show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transform:translateY(-10px);opacity:1;visibility:visible}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translateY(30px);opacity:0;visibility:hidden;display:block}.bootstrap-select[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.215,.61,.355,1) 0s,opacity .3s ease 0s,height 0s linear .35s;transform:translate(0)}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-bottom:11px solid #F1EAE0;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;
1left:12px;top:-11px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:before{right:12px;left:auto}.navbar-nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, #dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card.card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .card-just-text[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after, .dropdown-btn[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-bottom:11px solid #FFFFFF;border-left:11px solid rgba(0,0,0,0);border-right:11px solid rgba(0,0,0,0);content:"";display:inline-block;position:absolute;left:12px;top:-10px}.dropdown[_ngcontent-%COMP%]   .dropdown-menu-right.dropdown-menu[_ngcontent-%COMP%]:after{right:12px;left:auto}#dropdown-row[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{left:15px}.navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before, .navbar-nav.navbar-right[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{left:auto;right:12px}.footer[_ngcontent-%COMP%]:not(.footer-big)   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-left:0}body[_ngcontent-%COMP%] > .navbar-collapse.collapse[_ngcontent-%COMP%]{display:none!important}}#navbar[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:3px 1.5rem!important}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#66615b;font-size:14px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]{line-height:28px;padding:10px 20px 5px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .social-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:20px}.dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .action-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .social-line[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%], .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .action-line[_ngcontent-%COMP%]{background-color:#fffcf5;color:#66615b;opacity:1;text-decoration:none}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]{margin-bottom:1px}.show[_ngcontent-%COMP%]   .dropdown-sharing[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding:10px 15px}.show[_ngcontent-%COMP%]   .dropdown-actions[_ngcontent-%COMP%]{margin-bottom:1px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:-15px 35px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]{padding:5px 10px;line-height:24px;font-weight:bold}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   [class*=icon-][_ngcontent-%COMP%]{font-size:24px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .col-sm-9[_ngcontent-%COMP%]{line-height:34px}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:hover, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:active, .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .link-danger[_ngcontent-%COMP%]:focus{color:#f5593d}.dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .dropdown-actions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   a[_ngcontent-%COMP%]{color:#66615b;opacity:1;text-decoration:none}.dropdown-actions[_ngcontent-%COMP%]   .action-line[_ngcontent-%COMP%]   .icon-simple[_ngcontent-%COMP%]{margin-left:-15px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:before{border-top:11px solid #DCD9D1;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-12px}.dropup[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]:after{border-top:11px solid #FFFCF5;border-left:11px solid transparent;border-right:11px solid transparent;content:"";display:inline-block;position:absolute;right:12px;bottom:-11px}.dropup[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after, .dropdown[_ngcontent-%COMP%]   .dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:1px solid #F1EAE0;color:#66615b;font-size:16px;padding:10px 5px;width:330px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#66615b;white-space:normal}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{padding-left:40px;position:relative}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:block;position:absolute;top:50%;margin-top:-12px;left:7px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{font-size:.9em;line-height:.7;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{color:#9a9a9a;font-size:.7em;margin-left:10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .read-notification[_ngcontent-%COMP%]{font-size:12px;opacity:0;position:absolute;right:5px;top:50%;margin-top:-12px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0efeb;color:#66615b;opacity:1;text-decoration:none}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-notification-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .read-notification[_ngcontent-%COMP%]{opacity:1!important}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]{background-color:#e8e7e3;border-radius:0 0 8px 8px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]{list-style:outside none none;padding:0 5px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;text-align:left;padding:0 10px}.dropdown-notification[_ngcontent-%COMP%]   .dropdown-footer[_ngcontent-%COMP%]   .dropdown-footer-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#9c9b99;font-size:.9em;line-height:35px}.landing-alert[_ngcontent-%COMP%]{margin-bottom:0}.page-header[_ngcontent-%COMP%]{background-position:center center;background-size:cover;min-height:100vh;max-height:999px;overflow:hidden;position:relative;width:100%;z-index:1;display:flex;align-items:center;justify-content:center;-ms-flex-pack:center}.page-header[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]:after{content:"";display:block;height:100%;left:0;top:0;position:absolute;width:100%;z-index:1}.page-header.page-header-small[_ngcontent-%COMP%]{min-height:65vh!important;max-height:700px}.page-header.page-header-xs[_ngcontent-%COMP%]{min-height:40vh!important}.page-header.section-dark[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%], .page-header.section-dark[_ngcontent-%COMP%]   .category-absolute[_ngcontent-%COMP%]{z-index:1}.page-header[_ngcontent-%COMP%]   .motto[_ngcontent-%COMP%]{text-align:left;z-index:3;color:#fff;position:relative}.motto[_ngcontent-%COMP%]{padding-top:25px;margin-bottom:5px!important;border-radius:30px!important;background-color:#0000004d}.landing-section[_ngcontent-%COMP%]{padding:100px 0;z-index:1}.section-buttons[_ngcontent-%COMP%]{z-index:1}.landing-section[_ngcontent-%COMP%]   .btn-simple[_ngcontent-%COMP%]{padding:0}.landing-section[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{padding:0 75px 0 25px}
1.team-player[_ngcontent-%COMP%]   .img-circle[_ngcontent-%COMP%], .team-player[_ngcontent-%COMP%]   .img-thumbnail[_ngcontent-%COMP%]{display:block;margin-top:50px;margin-left:auto;margin-right:auto;width:120px}.contact-form[_ngcontent-%COMP%]{margin-top:30px}.contact-form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.contact-form[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.navbar-relative[_ngcontent-%COMP%]{position:relative;z-index:2}#register-navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.register-background[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin-top:11%;position:relative;z-index:3}.register-footer[_ngcontent-%COMP%]{bottom:20px;position:absolute;z-index:1;width:100%;background:transparent;color:#fff;left:0}.register-footer[_ngcontent-%COMP%]   .fa-heart[_ngcontent-%COMP%]{color:#eb5e28}.register-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:15px}.register-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b33c12;text-align:center}.register-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:30px}.register-card[_ngcontent-%COMP%]   .forgot[_ngcontent-%COMP%]{text-align:center}.profile-content[_ngcontent-%COMP%]{position:relative}.owner[_ngcontent-%COMP%]{text-align:center}.owner[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{padding:15px;max-width:180px;margin:-85px auto 0;display:inline-block}.owner[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:10px}.profile-tabs[_ngcontent-%COMP%]{margin:50px 0;min-height:300px}#following[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 40px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .unfollow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-top:-15px}#follows[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-top:15px}.follows[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-top:10px}.title-brand[_ngcontent-%COMP%]{max-width:730px;margin:0 auto;position:relative;text-align:center;color:#fff;display:block}.title-brand[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{position:absolute;font-size:20px;background:#132026;padding:6px 10px;border-radius:4px;top:0;font-weight:600;margin-top:10px;right:-15px}.presentation-title[_ngcontent-%COMP%]{font-size:8em;font-weight:700;margin:0;color:#fff;background:linear-gradient(to bottom,#FFFFFF 35%,#4e6773 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.presentation-subtitle[_ngcontent-%COMP%]{font-size:1.7em;color:#fff}.category-absolute[_ngcontent-%COMP%]{position:absolute;text-align:center;top:100vh;margin-top:-60px;padding:0 15px;width:100%;color:#ffffff80}.category-absolute[_ngcontent-%COMP%]   .creative-tim-logo[_ngcontent-%COMP%]{max-width:140px;top:-2px;left:3px;position:relative}.fog-low[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;margin-left:-35%;margin-bottom:-50px;width:110%;opacity:.85}.fog-low[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.fog-low.right[_ngcontent-%COMP%]{margin-left:30%;opacity:1}.angular-logo[_ngcontent-%COMP%]{max-width:90px;margin:-50px auto 45px}.angular-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.moving-clouds[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:0;left:0;width:250.625em;height:43.75em;animation:cloudLoop 80s linear infinite}@keyframes cloudLoop{0%{transform:translate(0)}to{transform:translate(-50%)}}.following[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:70px}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]{top:50%;left:50%;position:absolute;-ms-transform:translate(-50%,-75%)}.ie-background[_ngcontent-%COMP%]   .page-header[_ngcontent-%COMP%]   .content-center[_ngcontent-%COMP%]   .title-brand[_ngcontent-%COMP%]   .presentation-title[_ngcontent-%COMP%]{background:none}@media (max-width: 500px){.presentation-title[_ngcontent-%COMP%]{font-size:5em}}.h1[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:400;font-size:64px;text-shadow:0 1px 3px rgba(0,0,0,.45)}p.overview[_ngcontent-%COMP%]{margin:2em 0 0;padding:0;font-size:1.5em;font-weight:400;text-align:left;text-shadow:0 1px 4px rgba(0,0,0,.55)}.container[_ngcontent-%COMP%]{max-width:1400px}.page-header[_ngcontent-%COMP%]{background-size:auto 123%;background-position:center top;background-color:#8fb3d6;align-items:flex-start!important}.motto[_ngcontent-%COMP%]{background-color:transparent!important;border-radius:0!important}p.last[_ngcontent-%COMP%]{padding-bottom:20px}a.email[_ngcontent-%COMP%], a.email-top[_ngcontent-%COMP%], a.email-bottom[_ngcontent-%COMP%]{display:inline-block;color:#fff;font-weight:700;padding:10px 0}a.email-top[_ngcontent-%COMP%]{padding-bottom:0}a.email-bottom[_ngcontent-%COMP%]{padding:0}a.tools[_ngcontent-%COMP%]{text-align:center}@media only screen and (max-width: 767px){h1[_ngcontent-%COMP%]{font-size:45px!important}.overview[_ngcontent-%COMP%]{font-size:20px!important;text-align:left}.ldc-top-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 2cm)}}@media (-webkit-min-device-pixel-ratio: 1.3125),(min-resolution: 126dpi){.page-header[_ngcontent-%COMP%]{max-height:1200px}}@media (-webkit-max-device-pixel-ratio: 1.3020833333333333),(max-resolution: 125dpi){.page-header[_ngcontent-%COMP%]{max-height:1150px}}.ldc-top-banner[_ngcontent-%COMP%]{padding-top:calc(50px + 3cm);margin-top:0!important;text-align:left;padding-left:2em;padding-right:2em}']}),t}()},{path:"about",component:Jf},{path:"login",component:Eb,canActivate:[Db]},{path:"**",component:jf}],r1=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It,pe,Do.forRoot(o1,{})]]}),t}();n(37125);var a1=["mat-menu-item",""];function s1(t,e){1&t&&(r.O4$(),r.TgZ(0,"svg",2),r._UZ(1,"polygon",3),r.qZA())}var c1=["*"],l1=new r.OlP("MatMenuContent"),u1=new r.OlP("MAT_MENU_PANEL"),d1=Ip(Ap(function(){return _createClass(function t(){_classCallCheck(this,t)})}())),h1=function(){var t=function(t){function e(t,n,i,o,r){var a;return _classCallCheck(this,e),(a=_callSuper(this,e))._elementRef=t,a._focusMonitor=i,a._parentMenu=o,a._changeDetectorRef=r,a.role="menuitem",a._hovered=new we.xQ,a._focused=new we.xQ,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(_assertThisInitialized(a)),a}return _inherits(e,t),_createClass(e,[{key:"focus",value:function(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var t,e,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),o=0;o<i.length;o++){var r=i[o];null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return(null===(e=n.textContent)||void 0===e?void 0:e.trim())||""}},{key:"_setHighlighted",value:function(t){var e;this._highlighted=t,null===(e=this._changeDetectorRef)||void 0===e||e.markForCheck()}}]),e}(d1);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(l),r.Y36(yu),r.Y36(u1,8),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._checkDisabled(t)})("mouseenter",function(){return e._handleMouseEnter()}),2&t&&(r.uIk("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),r.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[r.qOj],attrs:a1,ngContentSelectors:c1,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(t,e){1&t&&(r.F$t(),r.Hsn(0),r._UZ(1,"div",0),r.YNc(2,s1,2,0,"svg",1)),2&t&&(r.xp6(1),r.Q6J("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()),r.xp6(1),r.Q6J("ngIf",e._triggersSubmenu))},directives:[of,_t],encapsulation:2,changeDetection:0}),t}(),p1=new r.OlP("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),f1=0,g1=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this._elementRef=e,this._ngZone=n,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new r.n_E,this._tabSubscription=sl.w.E
1MPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new we.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new r.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+f1++}return _createClass(t,[{key:"xPosition",get:function(){return this._xPosition},set:function(t){this._xPosition=t,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(t){this._yPosition=t,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=gl(t)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=gl(t)}},{key:"panelClass",set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(function(t){e._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(function(t){e._classList[t]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(t){this.panelClass=t}},{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var t=this;this._updateDirectDescendants(),this._keyManager=new tu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return t.closed.emit("tab")}),this._directDescendantItems.changes.pipe((0,Se.O)(this._directDescendantItems),(0,xe.w)(function(t){return oO.T.apply(void 0,_toConsumableArray(t.map(function(t){return t._focused})))})).subscribe(function(e){return t._keyManager.updateActiveItem(e)})}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe((0,Se.O)(this._directDescendantItems),(0,xe.w)(function(t){return oO.T.apply(void 0,_toConsumableArray(t.map(function(t){return t._hovered})))}))}},{key:"addItem",value:function(t){}},{key:"removeItem",value:function(t){}},{key:"_handleKeydown",value:function(t){var e=t.keyCode,n=this._keyManager;switch(e){case 27:ll(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(38===e||40===e)&&n.setFocusOrigin("keyboard"),n.onKeydown(t)}}},{key:"focusFirstItem",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(function(){return t._focusFirstItem(e)}):this._focusFirstItem(e)}},{key:"_focusFirstItem",value:function(t){var e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var e=this,n=Math.min(this._baseElevation+t,24),i="".concat(this._elevationPrefix).concat(n),o=Object.keys(this._classList).find(function(t){return t.startsWith(e._elevationPrefix)});(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[i]=!0,this._previousElevation=i)}},{key:"setPositionClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"
1===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe((0,Se.O)(this._allItems)).subscribe(function(e){t._directDescendantItems.reset(e.filter(function(e){return e._parentMenu===t})),t._directDescendantItems.notifyOnChanges()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(p1))},t.\u0275dir=r.lG2({type:t,contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,l1,5),r.Suo(n,h1,5),r.Suo(n,h1,4)),2&t)&&(r.iGM(i=r.CRH())&&(e.lazyContent=i.first),r.iGM(i=r.CRH())&&(e._allItems=i),r.iGM(i=r.CRH())&&(e.items=i))},viewQuery:function(t,e){var n;(1&t&&r.Gf(r.Rgc,5),2&t)&&(r.iGM(n=r.CRH())&&(e.templateRef=n.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t}(),_1=new r.OlP("mat-menu-scroll-strategy"),m1={provide:_1,deps:[RY],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},v1=Il({passive:!0}),y1=function(){var t=function(){function t(e,n,i,o,a,s,c,l){var u=this;_classCallCheck(this,t),this._overlay=e,this._element=n,this._viewContainerRef=i,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=sl.w.EMPTY,this._hoverSubscription=sl.w.EMPTY,this._menuCloseSubscription=sl.w.EMPTY,this._handleTouchStart=function(t){cu(t)||(u._openedBy="touch")},this._openedBy=void 0,this._ariaHaspopup=!0,this.restoreFocus=!0,this.menuOpened=new r.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof g1?a:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,v1),s&&(s._triggersSubmenu=this.triggersSubmenu())}return _createClass(t,[{key:"_ariaExpanded",get:function(){return this.menuOpen||null}},{key:"_ariaControl",get:function(){return this.menuOpen?this.menu.panelId:null}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(function(t){e._destroyMenu(t),("click"===t||"tab"===t)&&e._parentMaterialMenu&&e._parentMaterialMenu.closed.emit(t)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,v1),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof g1&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"updatePosition",value:function(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}},{key:"_destroyMenu",value:function(t){var e=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof g1?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,Te.h)(function(t){return"void"===t.toState}),(0,ke.q)(1),(0,fl.R)(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit
1(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new gY({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(t){var e=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=e[0],i=e[1],o=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),r=o[0],a=o[1],s=r,c=a,l=n,u=i,d=0;this.triggersSubmenu()?(u=n="before"===this.menu.xPosition?"start":"end",i=l="end"===n?"start":"end",d="bottom"===r?8:-8):this.menu.overlapTrigger||(s="top"===r?"bottom":"top",c="top"===a?"bottom":"top"),t.withPositions([{originX:n,originY:s,overlayX:l,overlayY:r,offsetY:d},{originX:i,originY:s,overlayX:u,overlayY:r,offsetY:d},{originX:n,originY:c,overlayX:l,overlayY:a,offsetY:-d},{originX:i,originY:c,overlayX:u,overlayY:a,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,ge.of)(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Te.h)(function(e){return e!==t._menuItemInstance}),(0,Te.h)(function(){return t._menuOpen})):(0,ge.of)();return(0,oO.T)(e,i,o,n)}},{key:"_handleMousedown",value:function(t){su(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;(13===e||32===e)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Te.h)(function(e){return e===t._menuItemInstance&&!e.disabled}),(0,FU.g)(0,Lb.E)).subscribe(function(){t._openedBy="mouse",t.menu instanceof g1&&t.menu._isAnimating?t.menu._animationDone.pipe((0,ke.q)(1),(0,FU.g)(0,Lb.E),(0,fl.R)(t._parentMaterialMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Nq(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(RY),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(_1),r.Y36(u1,8),r.Y36(h1,10),r.Y36(ku,8),r.Y36(yu))},t.\u0275dir=r.lG2({type:t,hostVars:3,hostBindings:function(t,e){1&t&&r.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&r.uIk("aria-haspopup",e._ariaHaspopup)("aria-expanded",e._ariaExpanded)("aria-controls",e._ariaControl)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t}(),C1=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e)}(y1);return t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[r.qOj]}),t}(),b1=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[m1],imports:[[It,Sp,rf,VY],eO,Sp]}),t}(),O1=function(){return["/login"]};function P1(t,e){1&t&&(r.TgZ(0,"span"),r.TgZ(1,"button",1),r._uU(2,"Log in"),r.qZA(),r.TgZ(3,"button",2),r.TgZ(4,"mat-icon",3),r._uU(5,"login"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Q6J("routerLink",r.DdM(2,O1)),r.x
1p6(2),r.Q6J("routerLink",r.DdM(3,O1)))}function w1(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"span"),r.TgZ(1,"button",4),r.NdJ("click",function(){return r.CHM(n),r.oxw().signOut()}),r._uU(2,"Log out"),r.qZA(),r.TgZ(3,"button",5),r.NdJ("click",function(){return r.CHM(n),r.oxw().signOut()}),r.TgZ(4,"mat-icon",6),r._uU(5,"logout"),r.qZA(),r.qZA(),r.qZA()}}var M1=function(){var t=function(){function t(e){_classCallCheck(this,t),this.auth=e,this.subscription=null,this.signOut=e.signOut}return _createClass(t,[{key:"ngOnInit",value:function(){this.subscription=this.auth.isAuthenticated().subscribe(function(t){})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(Wf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["login-button"]],decls:4,vars:6,consts:[[4,"ngIf"],["id","loginButton","role","button","name","text login button",1,"navbar-brand","ldc-login-button",3,"routerLink"],["mat-icon-button","",1,"navbar-brand","ldc-login-icon-btn",3,"routerLink"],["id","login-icon","role","button","name","icon login button"],["role","button","name","text log-out button",1,"navbar-brand","ldc-logout-button",3,"click"],["mat-icon-button","","role","button","name","icon log-out button",1,"navbar-brand","ldc-logout-icon-btn",3,"click"],["id","logout-icon"]],template:function(t,e){1&t&&(r.YNc(0,P1,6,4,"span",0),r.ALo(1,"async"),r.YNc(2,w1,6,0,"span",0),r.ALo(3,"async")),2&t&&(r.Q6J("ngIf",!r.lcZ(1,2,e.auth.loggedIn$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(3,4,e.auth.loggedIn$)))},directives:[_t,Co,OP,VP],pipes:[St],styles:[".ldc-login-button[_ngcontent-%COMP%]{background:none;border:none;outline:none;padding:20px 15px;margin:0;cursor:pointer;border-color:transparent}.ldc-logout-button[_ngcontent-%COMP%]{background:none;border:none;outline:none;padding:20px 15px;margin:0;cursor:pointer;border-color:transparent}.ldc-login-button.focus[_ngcontent-%COMP%], .ldc-login-button.active[_ngcontent-%COMP%], .ldc-login-button.hover[_ngcontent-%COMP%]   .ldc-login-button.visited[_ngcontent-%COMP%]   .ldc-login-button.link[_ngcontent-%COMP%]   .ldc-login-button.clicked[_ngcontent-%COMP%]{border-color:transparent;background-color:transparent;border:none;background:none;outline:none;box-shadow:none;outline-style:none;outline-width:0;cursor:pointer}.ldc-logout-button.focus[_ngcontent-%COMP%], .ldc-logout-button.active[_ngcontent-%COMP%], .ldc-logout-button.hover[_ngcontent-%COMP%]   .ldc-login-button.visited[_ngcontent-%COMP%]   .ldc-login-button.link[_ngcontent-%COMP%]{background:none;outline:none}.ldc-login-icon-btn[_ngcontent-%COMP%], .ldc-logout-icon-btn[_ngcontent-%COMP%]{padding:0!important}#login-icon[_ngcontent-%COMP%], #logout-icon[_ngcontent-%COMP%]{margin-bottom:2px}#login-icon[_ngcontent-%COMP%], #logout-icon[_ngcontent-%COMP%]{margin-left:25px}@media (max-width: 991px){.ldc-login-button[_ngcontent-%COMP%], .ldc-logout-button[_ngcontent-%COMP%]{display:none;visibility:hidden}}@media (min-width: 992px){.ldc-login-icon-btn[_ngcontent-%COMP%], .ldc-logout-icon-btn[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),t}(),x1=function(){return["/"]},k1=function(){return["/ldc-map"]},S1=function(){return["/tools"]},A1=function(){return["/about"]},T1=function(){var t=function(){function t(e,n,i){_classCallCheck(this,t),this.location=e,this.element=n,this.router=i}return _createClass(t,[{key:"ngOnInit",value:function(){}},{key:"onResize",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(w),r.Y36(r.SBq),r.Y36(vo))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-navbar"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(C1,5),2&t)&&(r.iGM(n=r.CRH())&&(e.trigger=n))},decls:45,vars:26,consts:[["id","ldc-navbar","aria-label","Site navigation bar",1,"navbar","navbar-expand-sm","fixed-top","navbar-transparent"],[1,"container","ldc-navbar-large","navbar__ldc-home"],["id","navbar__ldc-logo","aria-label","Go to Landscape Data Commons home page",3,"routerLink"],["src","assets/img/ldc/logo.png","width","21px","alt","LDC Logo"],["id","navbar__ldc-name",1,"navbar-brand","ldc-navbar-home-link","ldc-navbar-text",3,"routerLink"],[1,"mid-spacer"],[1,"right-navbar-elements"],[1,"ldc-login-slot"],["id","navbar__data-link-name","aria-label","View data maps",1,"navbar-brand","ldc-navbar-text",3,"routerLink"],["aria-label","View data maps",1,"navbar-brand","ldc-navbar-text","navbar__data-mat-icon",3,"routerLink"],[1,"navbar__data-link-icon"],["href","","target","_blank","rel","noopener noreferrer","id","navbar__tools-name","aria-label","Access tools for data analysis",1,"navbar-brand","ldc-navbar-text",3,"routerLink"],["href","","target","_blank","rel","noopener noreferrer","aria-label","Access tools for data analysis",1,"navbar-brand","ldc-navbar-text","navbar__tools-mat-icon",3,"routerLink"],[1,"navbar__tools-icon"],["id","navbar__about-name","aria-label","About the Landscape Data Commons",1,"navbar-brand","ldc-navbar-text",3,"routerLink"],["aria-label","About the Landscape Data Commons",1,"navbar-brand","ldc-navbar-text","navbar__about-mat-icon",3,"routerLink"],[1,"navbar__about-icon"],[1,"container","ldc-navbar-small"],["id","navbar__ldc-logo",3,"routerLink"],["aria-label","View data maps",1,"navbar-brand","ldc-navbar-map-link","ldc-navbar-text",3,"routerLink"]],template:function(t,e){1&t&&(r.TgZ(0,"nav",0),r.TgZ(1,"div",1),r.TgZ(2,"a",2),r._UZ(3,"img",3),r.qZA(),r.TgZ(4,"a",4),r._uU(5,"Landscape Data Commons "),r.qZA(),r._UZ(6,"span",5),r._UZ(7,"span",5),r._UZ(8,"span",5),r.TgZ(9,"div",6),r.TgZ(10,"span",7),r._UZ(11,"login-button"),r.qZA(),r.TgZ(12,"a",8),r._uU(13," Data "),r.qZA(),r.TgZ(14,"a",9),r.TgZ(15,"mat-icon",10),r._uU(16,"image_search"),r.qZA(),r.qZA(),r.TgZ(17,"a",11),r._uU(18," Tools "),r.qZA(),r.TgZ(19,"a",12),r.TgZ(20,"mat-icon",13),r._uU(21,"construction"),r.qZA(),r.qZA(),r.TgZ(22,"a",14),r._uU(23," About "),r.qZA(),r.TgZ(24,"a",15),r.TgZ(25,"mat-icon",16),r._uU(26,"info"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(27,"div",17),r.TgZ(28,"a",18),r._UZ(29,"img",3),r.qZA(),r.TgZ(30,"a",4),r._uU(31,"Landscape Data Commons"),r.qZA(),r._UZ(32,"span",5),r.TgZ(33,"div",6),r.TgZ(34,"span",7),r._UZ(35,"login-button"),r.qZA(),r.TgZ(36,"a",19),r.TgZ(37,"mat-icon",10),r._uU(38,"image_search"),r.qZA(),r.qZA(),r.TgZ(39,"a",12),r.TgZ(40,"mat-icon",13),r._uU(41,"construction"),r.qZA(),r.qZA(),r.TgZ(42,"a",15),r.TgZ(43,"mat-icon",16),r._uU(44,"info"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Q6J("routerLink",r.DdM(13,x1)),r.xp6(2),r.Q6J("routerLink",r.DdM(14,x1)),r.xp6(8),r.Q6J("routerLink",r.DdM(15,k1)),r.xp6(2),r.Q6J("routerLink",r.DdM(16,k1)),r.xp6(3),r.Q6J("routerLink",r.DdM(17,S1)),r.xp6(2),r.Q6J("routerLink",r.DdM(18,S1)),r.xp6(3),r.Q6J("routerLink",r.DdM(19,A1)),r.xp6(2),r.Q6J("routerLink",r.DdM(20,A1)),r.xp6(4),r.Q6J("routerLink",r.DdM(21,x1)),r.xp6(2),r.Q6J("routerLink",r.DdM(22,x1)),r.xp6(6),r.Q6J("routerLink",r.DdM(23,k1)),r.xp6(3),r.Q6J("routerLink",r.DdM(24,S1)),r.xp6(3),r.Q6J("routerLink",r.DdM(25,A1)))},directives:[Wj,bo,M1,VP],styles:[".ldc-navbar-home-link[_ngcontent-%COMP%]{padding-right:0!important}.right-navbar-elements[_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:1.5rem;gap:1.5rem}.right-navbar-elements[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:0}
1.ldc-navbar-large[_ngcontent-%COMP%]   .ldc-login-slot[_ngcontent-%COMP%]{margin-right:24px}.ldc-navbar-small[_ngcontent-%COMP%]   .ldc-login-slot[_ngcontent-%COMP%]{margin-right:9px}.navbar[_ngcontent-%COMP%]{height:50px!important}@media (max-width: 510px){.ldc-navbar-large[_ngcontent-%COMP%]{display:none;visibility:hidden}#navbar__ldc-name[_ngcontent-%COMP%]{display:none;visibility:hidden}}@media (min-width: 511px){.ldc-navbar-small[_ngcontent-%COMP%]{display:none;visibility:hidden}}@media (max-width: 991px){#navbar__ldc-name[_ngcontent-%COMP%]{margin-left:10px}#navbar__data-link-name[_ngcontent-%COMP%], #navbar__tools-name[_ngcontent-%COMP%], #navbar__about-name[_ngcontent-%COMP%]{display:none;visibility:hidden}}@media (min-width: 992px){#navbar__ldc-logo[_ngcontent-%COMP%]{margin-left:40px}#navbar__ldc-name[_ngcontent-%COMP%]{margin-left:0}.navbar__data-mat-icon[_ngcontent-%COMP%], .navbar__data-link-icon[_ngcontent-%COMP%], .navbar__tools-mat-icon[_ngcontent-%COMP%], .navbar__tools-icon[_ngcontent-%COMP%], .navbar__about-mat-icon[_ngcontent-%COMP%], .navbar__about-icon[_ngcontent-%COMP%]{display:none;visibility:hidden}}.navbar__ldc-home[_ngcontent-%COMP%]   #navbar__ldc-logo[_ngcontent-%COMP%]{height:33px}#navbar__ldc-logo[_ngcontent-%COMP%]{height:33px;width:33px;border-radius:20%;background-color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;transition:1s ease-out}#navbar__ldc-logo[_ngcontent-%COMP%]:hover{transform:translateY(-.25rem);box-shadow:0 3px 15px #0003}mat-icon[_ngcontent-%COMP%]{vertical-align:middle}mat-icon.navbar__data-link-icon[_ngcontent-%COMP%]{margin-bottom:3px}mat-icon.navbar__tools-icon[_ngcontent-%COMP%]{color:#fff}mat-icon.navbar__about-icon[_ngcontent-%COMP%]{color:#fff}.mid-spacer[_ngcontent-%COMP%]{flex:3 3 auto}.right-navbar-elements.ldc-navbar-text[_ngcontent-%COMP%]{margin-bottom:30px}"]}),t}(),I1=function(){var t=function(){function t(){_classCallCheck(this,t),this.test=new Date}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-footer"]],decls:74,vars:0,consts:[["aria-label","Site footer",1,"footer"],["id","ldc-footer",1,"container","ldc-footer-container"],[1,"row","text-center"],[1,"col-md-12"],[1,"ldc-footer-note"],[1,"col-md-3"],[1,"row","ldc-footer-row-title"],["aria-labelledby","footer-partners-title",1,"row"],[1,"col-md-6"],["href","https://www.ars.usda.gov/","target","_blank","rel","noopener noreferrer","aria-label","Visit the United States Department of Agriculture (USDA) Agricultural Research Service (ARS) website",1,"ldc-footer-link"],["href","https://www.nmsu.edu/","target","_blank","rel","noopener noreferrer","aria-label","Visit the New Mexico State University (NMSU) website",1,"ldc-footer-link"],["href","https://www.blm.gov/","target","_blank","rel","noopener noreferrer","aria-label","Visit the Bureau of Land Management (BLM) website",1,"ldc-footer-link"],["href","https://www.ars.usda.gov/natural-resources-and-sustainable-agricultural-systems/water-availability-and-watershed-management/docs/long-term-agroecosystem-research-ltar-network/","target","_blank","rel","noopener noreferrer","aria-label","Visit the Long-Term Agroecosystem Research (LTAR) Network website",1,"ldc-footer-link"],["href","https://www.nps.gov/index.htm","target","_blank","rel","noopener noreferrer","aria-label","Visit the National Park Service (NPS) website",1,"ldc-footer-link"],["href","https://jornada.nmsu.edu/","target","_blank","rel","noopener noreferrer","aria-label","Visit the Jornada Experimental Range website",1,"ldc-footer-link"],["href","https://www.nrcs.usda.gov/ceap/grazing-lands","target","_blank","rel","noopener noreferrer","aria-label","Visit the National Resources Conservation Service (NRCS) website",1,"ldc-footer-link"],["href","https://winderosionnetwork.org/","target","_blank","rel","noopener noreferrer","aria-label","Visit the National Wind Erosion Research Network (NWERN) website",1,"ldc-footer-link"],["href","https://www.usgs.gov/","target","_blank","rel","noopener noreferrer","aria-label","Visit the United States Geological Survey (USGS) website",1,"ldc-footer-link"],[1,"col-md-12","ldc-footer-row-title"],["aria-labelledby","footer-resources-title"],["href","https://www.landscapetoolbox.org/","target","_blank","rel","noopener noreferrer","aria-label","Visit the Landscape Toolbox website",1,"ldc-footer-link"],["href","https://jornada.nmsu.edu/monit-assess/dima","target","_blank","rel","noopener noreferrer","aria-label","Visit the Database for Inventory, Monitoring and Assessment (DIMA) website",1,"ldc-footer-link"],["href","https://jornada.nmsu.edu/aim","target","_blank","rel","noopener noreferrer","aria-label","Visit the Bureau of Land Management's Assessment, Inventory and Monitoring (AIM) website",1,"ldc-footer-link"],["href","https://edit.sc.egov.usda.gov/","target","_blank","rel","noopener noreferrer","aria-label","Visit the Ecosystem Dynamics Interpretive Tool (EDIT) website",1,"ldc-footer-link"],["aria-labelledby","footer-contact-title"],["href","mailto:[email protected]","aria-label","Email Sarah McCord",1,"ldc-footer-link"],["href","mailto:[email protected]","aria-label","Email Nick Webb",1,"ldc-footer-link"],["href","mailto:[email protected]","aria-label","Email Brandon Edwards",1,"ldc-footer-link"],["aria-labelledby","footer-support-title",1,"col-md-12"],["href","mailto:[email protected]","aria-label","Email Christopher Fraser",1,"ldc-footer-link"]],template:function(t,e){1&t&&(r.TgZ(0,"footer",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"p",4),r._uU(5," We recommend using the latest versions of Chrome running on Windows 11 or macOS 10 and above. Website maintenance is generally performed on weekends. "),r.qZA(),r.qZA(),r.qZA(),r.TgZ(6,"div",2),r.TgZ(7,"div",5),r.TgZ(8,"div",6),r.TgZ(9,"div",3),r._uU(10," PARTNERS "),r.qZA(),r.qZA(),r.TgZ(11,"div",7),r.TgZ(12,"div",8),r.TgZ(13,"div"),r.TgZ(14,"a",9),r._uU(15," USDA-ARS "),r.qZA(),r.qZA(),r.TgZ(16,"div"),r.TgZ(17,"a",10),r._uU(18," NMSU "),r.qZA(),r.qZA(),r.TgZ(19,"div"),r.TgZ(20,"a",11),r._uU(21," BLM "),r.qZA(),r.qZA(),r.TgZ(22,"div"),r.TgZ(23,"a",12),r._uU(24," LTAR "),r.qZA(),r.qZA(),r.TgZ(25,"div"),r.TgZ(26,"a",13),r._uU(27," NPS "),r.qZA(),r.qZA(),r.qZA(),r.TgZ(28,"div",8),r.TgZ(29,"div"),r.TgZ(30,"a",14),r._uU(31," Jornada "),r.qZA(),r.qZA(),r.TgZ(32,"div"),r.TgZ(33,"a",15),r._uU(34," NRCS "),r.qZA(),r.qZA(),r.TgZ(35,"div"),r.TgZ(36,"a",16),r._uU(37," NWERN "),r.qZA(),r.qZA(),r.TgZ(38,"div"),r.TgZ(39,"a",17),r._uU(40," USGS "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(41,"div",5),r.TgZ(42,"div",18),r._uU(43," RESOURCES "),r.qZA(),r.TgZ(44,"div",19),r.TgZ(45,"a",20),r._uU(46," Landscape Toolbox "),r.qZA(),r.qZA(),r.TgZ(47,"div"),r.TgZ(48,"a",21),r._uU(49," DIMA "),r.qZA(),r.qZA(),r.TgZ(50,"div"),r.TgZ(51,"a",22),r._uU(52," AIM "),r.qZA(),r.qZA(),r.TgZ(53,"div"),r.TgZ(54,"a",23),r._uU(55," EDIT "),r.qZA(),r.qZA(),r.qZA(),r.TgZ(56,"div",5),r.TgZ(57,"div",18),r._uU(58," CONTACT US "),r.qZA(),r.TgZ(59,"div",24),r.TgZ(60,"a",25),r._uU(61," [email protected] "),r.qZA(),r.qZA(),r.TgZ(62,"div"),r.TgZ(63,"a",26),r._uU(64," [email protected] "),r.qZA(),r.qZA(),r.TgZ(65,"div"),r.TgZ(66,"a",27),r._uU(67," [email protected] "),r.qZA(),r.qZA(),r.qZA(),r.TgZ(68,"div",5),r.TgZ(69,"div",18),r._uU(70," SUPPORT "),r.qZA(),r.TgZ(71,"div",28),r.TgZ(72,"a",29),r._uU(73," [email protected] "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA())},styles:['@media (-webkit-max-device-pixel-ratio: 1.3020833333333333),(max-resolution: 125dpi){.footer[_ngcontent-%COMP%]{margin-top:25px}}.footer[_ngcontent-%COMP%]{max-height:400px;overflow:auto;margin-top:25px}.ldc-footer-container[_ngcontent-%COMP%]{margin-bottom:15px;color:#7e057ee3;font-family:"Montserrat","Helvetica",Arial,sans-serif}.ldc-footer-row-title[_ngcontent-%COMP%]{margin-top:15px!important;margin-bottom:5px!important}#ldc-footer[_ngcontent-%COMP%]{line-height:1.3}.ldc-footer-link[_ngcontent-%COMP%]{color:#7e057ee3!important;font-size:13px;font-weight:400!important}.ldc-footer-note[_ngcontent-%COMP%]{margin-top:15px;font-size:13px;font-style:italic;text-align:center}']}),t}(),E1=function(){var t=function(){function t(e,n,i,o,r,a){_classCallCheck(this,t),this.store=e,this.renderer=n,this.router=i,this.document=o,this.element=r,this.location=a,this.routerEvents=null,this.show
1Footer=!0}return _createClass(t,[{key:"ngOnInit",value:function(){var t=this;this.store.dispatch(EF());var e=this.element.nativeElement.children[0].children[0];location.href.split("ldc-map"),this.routerEvents=this.router.events.subscribe(function(t){t instanceof ze&&("/user-guide"===t.url?(document.getElementById("ldc-navbar").style.display="none",document.getElementById("ldc-footer").style.display="none",console.log(t.url)):(document.getElementById("ldc-navbar").style.display="",document.getElementById("ldc-footer").style.display=""))}),this._router=this.router.events.filter(function(t){return t instanceof qe}).subscribe(function(e){t.showFooter=!e.urlAfterRedirects.startsWith("/ldc-map"),window.outerWidth>991?window.document.children[0].scrollTop=0:window.document.activeElement.scrollTop=0}),this.renderer.listen("window","scroll",function(t){window.scrollY>150||window.pageYOffset>150?e.classList.remove("navbar-transparent"):e.classList.add("navbar-transparent")});var n,i=window.navigator.userAgent;if(i.indexOf("Trident/")>0){var o=i.indexOf("rv:");n=parseInt(i.substring(o+3,i.indexOf(".",o)),10)}n&&document.getElementsByTagName("body")[0].classList.add("ie-background")}},{key:"removeFooter",value:function(){var t=this.location.prepareExternalUrl(this.location.path());return!("signup"===(t=t.slice(1))||"nucleoicons"===t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(IF.yh),r.Y36(r.Qsj),r.Y36(vo),r.Y36(l),r.Y36(r.SBq),r.Y36(w))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-root"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(T1,5),2&t)&&(r.iGM(n=r.CRH())&&(e.navbar=n.first))},decls:3,vars:0,template:function(t,e){1&t&&(r._UZ(0,"app-navbar"),r._UZ(1,"router-outlet"),r._UZ(2,"app-footer"))},directives:[T1,Po,I1],styles:[""]}),t}(),D1=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It,Sp,qq,rf,jl,Mu],Sp]}),t}(),R1=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[It,Sp],Sp]}),t}(),F1=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp,rf],Sp]}),t}(),L1=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[Sp],Sp]}),t}();function Z1(t,e){var n,i=[],o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){var r=n.value;i.push(t[r])}}catch(a){o.e(a)}finally{o.f()}return i}function N1(t,e,n){var i;return n?i=new Set([].concat(_toConsumableArray(t.ActiveFilters),[e])):(i=new Set(t.ActiveFilters)).delete(e),Object.assign(Object.assign({},t),{ActiveFilters:Array.from(i)})}function U1(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="";return n||(i=e),Object.assign(Object.assign({},t),{DisplayedActiveFilter:i})}function V1(t,e){return Array.from(new Set(t.filter(function(t){return e.includes(t)})))}function j1(t){if(0===t.length)return[];for(var e=t[0],n=1;n<t.length;n++)e=V1(e,t[n]);return e}function z1(t){var e,n,i=[];return(e=_toConsumableArray(t.SelectedShapefilePlotIds)).length>0&&i.push(e),(e=_toConsumableArray(t.SelectedPolygonPlotIds)).length>0&&i.push(e),e=function(t){var e=[];return t.SelectedLandCoverModisIgbpNameFilterPlotIds.length>0&&e.push(t.SelectedLandCoverModisIgbpNameFilterPlotIds),t.SelectedLandCoverModisIgbpValueFilterPlotIds.length>0&&e.push(t.SelectedLandCoverModisIgbpValueFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedEcoregionLevelIFilterPlotIds.length>0&&e.push(t.SelectedEcoregionLevelIFilterPlotIds),t.SelectedEcoregionLevelIIFilterPlotIds.length>0&&e.push(t.SelectedEcoregionLevelIIFilterPlotIds),t.SelectedEcoregionLevelIIIFilterPlotIds.length>0&&e.push(t.SelectedEcoregionLevelIIIFilterPlotIds),t.SelectedEcoregionLevelIVFilterPlotIds.length>0&&e.push(t.SelectedEcoregionLevelIVFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedMlraNameFilterPlotIds.length>0&&e.push(t.SelectedMlraNameFilterPlotIds),t.SelectedMlraSymbolFilterPlotIds.length>0&&e.push(t.SelectedMlraSymbolFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedEcologicalSiteIdFilterPlotIds.length>0&&e.push(t.SelectedEcologicalSiteIdFilterPlotIds),t.SelectedEcologicalSiteMlraPrefixFilterPlotIds.length>0&&e.push(t.SelectedEcologicalSiteMlraPrefixFilterPlotIds),t.SelectedEcologicalSiteStateFilterPlotIds.length>0&&e.push(t.SelectedEcologicalSiteStateFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){return _toConsumableArray(t.SelectedStateFilterPlotIds)}(t),e.length>0&&i.push(e),e=function(t){return _toConsumableArray(t.SelectedProjectFilterPlotIds)}(t),e.length>0&&i.push(e),e=function(t){return _toConsumableArray(t.SelectedDateVisitedFilterPlotIds)}(t),e.length>0&&i.push(e),e=function(t){return _toConsumableArray(t.SelectedDataTypeFilterPlotIds)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedLpiPercentBareGroundFilterPlotIds.length>0&&e.push(t.SelectedLpiPercentBareGroundFilterPlotIds),t.SelectedLpiPercentFoliarCoverFilterPlotIds.length>0&&e.push(t.SelectedLpiPercentFoliarCoverFilterPlotIds),t.SelectedLpiPercentLitterCoverFilterPlotIds.length>0&&e.push(t.SelectedLpiPercentLitterCoverFilterPlotIds),t.SelectedLpiPercentRockFragmentCoverFilterPlotIds.length>0&&e.push(t.SelectedLpiPercentRockFragmentCoverFilterPlotIds),t.SelectedLpiPercentLichenCoverFilterPlotIds.length>0&&e.push(t.SelectedLpiPercentLichenCoverFilterPlotIds),t.SelectedLpiPercentCyanobacteriaCoverFilterPlotIds.length>0&&e.push(t.SelectedLpiPercentCyanobacteriaCoverFilterPlotIds),t.SelectedLpiPercentMossCoverFilterPlotIds.length>0&&e.push(t.SelectedLpiPercentMossCoverFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedVegetationHeightMeanWoodyFilterPlotIds.length>0&&e.push(t.SelectedVegetationHeightMeanWoodyFilterPlotIds),t.SelectedVegetationHeightMeanHerbaceousFilterPlotIds.length>0&&e.push(t.SelectedVegetationHeightMeanHerbaceousFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedCanopyGap25to50FilterPlotIds.length>0&&e.push(t.SelectedCanopyGap25to50FilterPlotIds),t.SelectedCanopyGap51to100FilterPlotIds.length>0&&e.push(t.SelectedCanopyGap51to100FilterPlotIds),t.SelectedCanopyGap101to200FilterPlotIds.length>0&&e.push(t.SelectedCanopyGap101to200FilterPlotIds),t.SelectedCanopyGap200plusFilterPlotIds.length>0&&e.push(t.SelectedCanopyGap200plusFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedSoilStabilityMeanFilterPlotIds.length>0&&e.push(t.SelectedSoilStabilityMeanFilterPlotIds),t.SelectedSoilStabilityProtectedFilterPlotIds.length>0&&e.push(t.SelectedSoilStabilityProtectedFilterPlotIds),t.SelectedSoilStabilityUnProtectedFilterPlotIds.length>0&&e.push(t.SelectedSoilStabilityUnProtectedFilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedAeroTotalHorizontalFluxFilterPlotIds.length>0&&e.push(t.SelectedAeroTotalHorizontalFluxFilterPlotIds),t.SelectedAeroTotalVerticalFluxFilterPlotIds.length>0&&e.push(t.SelectedAeroTotalVerticalFluxFilterPlotIds),t.SelectedAeroPm2p5FilterPlotIds.length>0&&e.push(t.SelectedAeroPm2p5FilterPlotIds),t.SelectedAeroPm10FilterPlotIds.length>0&&e.push(t.SelectedAeroPm10FilterPlotIds),j1(e)}(t),e.length>0&&i.push(e),e=function(t){var e=[];return t.SelectedRhemPrecipitationLongTermMeanPlotIds.length>0&&e.push(t.SelectedRhemPrecipitationLongTermMeanPlotIds),t.SelectedRhemRunoffLongTermMeanPlotIds.length>0&&e.push(t.SelectedRhemRunoffLongTermMeanPlotIds),t.SelectedRhemSedimentLongTermMeanPlotIds.length>0&&e.push(t.SelectedRhemSedimentLongTermMeanPlotIds),t.SelectedRhemSoilLossLongTermMeanPlotIds.length>0&&e.push(t.SelectedRhemSoilLossLongTermMeanPlotIds),j1(e)}(t),e.length>0&&i.push(e),function(t){var e=t.SpeciesFilterSelections;return e.speciesCode.length>0||e.scientificName.length>0||null!==e.speciesCoverMinMax||null!==e.meanSpeciesHeightMinMax}(t)&&i.push(_toConsumableArray(t.SelectedSpeciesFilterPlotIds)),n=j1(i),Object.assign(Object.assign({},t),{SelectedPlotIds:n})}function q1(t){var e=function(t,e){var n,i=[],o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){var r=n.value;i.push(t[r])}}catch(a){o.e(a)}finally{o.f()}return i}(t.IdToPrimaryKey,t.SelectedPlotIds);return Object.assign(Object.assign({},t),{SelectedPks:e})}function B1(t,e){var n=[];switch(e){case"land-cover-modis-igbp-name":t=Object.assign(Object.assign({},t),{SelectedLandCoverModisIgbpNameFilterPlotIds:n});break;case"land-cover-modis-igbp-value":t=Object.assign(Object.assign({},t),{SelectedLandCoverModisIgbpValueFilterPlotIds:n});break;case"ecoregion-level-1":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIFilterPlotIds:n});break;case"ecoregion-level-2":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIIFilterPlotIds:n});break;case"ecoregion-level-3":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIIIFilterPlotIds:n});break;case"ecoregion-level-4":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIVFilterPlotIds:n});break;case"mlra-name":t=Object.assign(Object.assign({},t),{SelectedMlraNameFilterPlotIds:n});break;case"mlra-symbol":t=Object.assign(Object.assign({},t),{SelectedMlraSymbolFilterPlotIds:n});break;case"ecological-site-id":t=Object.assign(Object.assign({},t),{SelectedEcologicalSiteIdFilterPlotIds:n});break;case"ecological-site-id-mlra-prefix":t=Object.assign(Object.assign({},t),{SelectedEcologicalSiteMlraPrefixFilterPlotIds:n});break;case"ecological-site-id-state":t=Object.assign(Object.assign({},t),{SelectedEcologicalSiteStateFilterPlotIds:n});break;case"state":t=Object.assign(Object.assign({},t),{SelectedStateFilterPlotIds:n});break;case"project":t=Object.assign(Object.assign({},t),{SelectedProjectFilterPlotIds:n});break;case"date-visited":t=Object.assign(Object.assign({},t),{SelectedDateVisitedFilterPlotIds:n});break;case"data-type":t=Object.assign(Object.assign({},t),{SelectedDataTypeFilterPlotIds:n});break;case"percent-bare-ground":t=Object.assign(Object.assign({},t),{SelectedLpiPercentBareGroundFilterPlotIds:n});break;case"percent-foliar-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentFoliarCoverFilterPlotIds:n});break;case"percent-litter-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentLitterCoverFilterPlotIds:n});break;case"percent-rock-fragment-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentRockFragmentCoverFilterPlotIds:n});break;case"percent-lichen-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentLichenCoverFilterPlotIds:n});break;case"percent-cyanobacteria-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentCyanobacteriaCoverFilterPlotIds:n});break;case"percent-moss-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentMossCoverFilterPlotIds:n});break;case"mean-herbaceous-height":t=Object.assign(Object.assign({},t),{SelectedVegetationHeightMeanHerbaceousFilterPlotIds:n});break;case"mean-woody-height":t=Object.assign(Object.assign({},t),{SelectedVegetationHeightMeanWoodyFilterPlotIds:n});break;case"percent-canopy-gaps-25-50":t=Object.assign(Object.assign({},t),{SelectedCanopyGap25to50FilterPlotIds:n});break;case"percent-canopy-gaps-51-100":t=Object.assign(Object.assign({},t),{SelectedCanopyGap51to100FilterPlotIds:n});break;case"percent-canopy-gaps-101-200":t=Object.assign(Object.assign({},t),{SelectedCanopyGap101to200FilterPlotIds:n});break;case"percent-canopy-gaps-200-plus":t=Object.assign(Object.assign({},t),{SelectedCanopyGap200plusFilterPlotIds:n});break;case"mean-soil-stability":t=Object.assign(Object.assign({},t),{SelectedSoilStabilityMeanFilterPlotIds:n});break;case"mean-soil-stability-protected":t=Object.assign(Object.assign({},t),{SelectedSoilStabilityProtectedFilterPlotIds:n});break;case"mean-soil-stability-unprotected":t=Object.assign(Object.assign({},t),{SelectedSoilStabilityUnProtectedFilterPlotIds:n});break;case"total-horizontal-flux":t=Object.assign(Object.assign({},t),{SelectedAeroTotalHorizontalFluxFilterPlotIds:n});break;case"total-vertical-flux":t=Object.assign(Object.assign({},t),{SelectedAeroTotalVerticalFluxFilterPlotIds:n});break;case"pm2p5-vertical-flux":t=Object.assign(Object.assign({},t),{SelectedAeroPm2p5FilterPlotIds:n});break;case"pm10-vertical-flux":t=Object.assign(Object.assign({},t),{SelectedAeroPm10FilterPlotIds:n});break;case"precipitation-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemPrecipitationLongTermMeanPlotIds:n});break;case"runoff-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemRunoffLongTermMeanPlotIds:n});break;case"sediment-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemSedimentLongTermMeanPlotIds:n});break;case"soil-loss-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemSoilLossLongTermMeanPlotIds:n})}return t}function Y1(t,e,n){var i;return i=n?function(t,e){return Array.from(new Set([].concat(_toConsumableArray(t),_toConsumableArray(e))))}(t.SelectedPolygonPlotIds,e):function(t,e){var n=new Set(t);return e.forEach(function(t){return n.delete(t)}),Array.from(n)}(t.SelectedPolygonPlotIds,e),Object.assign(Object.assign({},t),{SelectedPolygonPlotIds:i})}var G1={SelectedPks:[],SelectedPlotIds:[],ResetAll:!1,PolygonOn:!1,IntersectionOn:!1,IdToPrimaryKey:{},PrimaryKeyToId:{},SelectedPolygonPlotIds:[],FilterPolygonPlotIdIntersection:[],SelectionPanelIsActive:!1,ActiveFilters:[],DisplayedActiveFilter:"",SelectedLandCoverModisIgbpNameFilterPlotIds:[],SelectedLandCoverModisIgbpValueFilterPlotIds:[],SelectedEcoregionLevelIFilterPlotIds:[],SelectedEcoregionLevelIIFilterPlotIds:[],SelectedEcoregionLevelIIIFilterPlotIds:[],SelectedEcoregionLevelIVFilterPlotIds:[],SelectedMlraNameFilterPlotIds:[],SelectedMlraSymbolFilterPlotIds:[],SelectedEcologicalSiteIdFilterPlotIds:[],SelectedEcologicalSiteMlraPrefixFilterPlotIds:[],SelectedEcologicalSiteStateFilterPlotIds:[],SelectedStateFilterPlotIds:[],SelectedProjectFilterPlotIds:[],SelectedDateVisitedFilterPlotIds:[],SelectedDataTypeFilterPlotIds:[],SelectedLpiPercentBareGroundFilterPlotIds:[],SelectedLpiPercentFoliarCoverFilterPlotIds:[],SelectedLpiPercentLitterCoverFilterPlotIds:[],SelectedLpiPercentRockFragmentCoverFilterPlotIds:[],SelectedLpiPercentLichenCoverFilterPlotIds:[],SelectedLpiPercentCyanobacteriaCoverFilterPlotIds:[],SelectedLpiPercentMossCoverFilterPlotIds:[],SelectedVegetationHeightMeanWoodyFilterPlotIds:[],SelectedVegetationHeightMeanHerbaceousFilterPlotIds:[],SelectedCanopyGap25to50FilterPlotIds:[],SelectedCanopyGap51to100FilterPlotIds:[],SelectedCanopyGap101to200FilterPlotIds:[],SelectedCanopyGap200plusFilterPlotIds:[],SelectedSoilStabilityMeanFilterPlotIds:[],SelectedSoilStabilityProtectedFilterPlotIds:[],SelectedSoilStabilityUnProtectedFilterPlotIds:[],SelectedAeroTotalHorizontalFluxFilterPlotIds:[],SelectedAeroTotalVerticalFluxFilterPlotIds:[],SelectedAeroPm2p5FilterPlotIds:[],SelectedAeroPm10FilterPlotIds:[],SelectedRhemPrecipitationLongTermMeanPlotIds:[],SelectedRhemRunoffLongTermMeanPlotIds:[],SelectedRhemSedimentLongTermMeanPlotIds:[],SelectedRhemSoilLossLongTermMeanPlotIds:[],SelectedShapefilePlotIds:[],ShouldAnimateToShapefileSelection:!1,ShapefilePkResponseReceived:!1,PendingShapefileOutlineGeoJson:null,PendingShapefileOutlineBbox:null,ShapefileOutlineGeoJson:null,ShapefileOutlineBbox:null,SpeciesFilterSelections:{speciesCode:[],scientificName:[],speciesCoverMinMax:null,meanSpeciesHeightMinMax:null},SelectedSpeciesFilterPlotIds:[]},H1={mapPlotState:(0,IF.Lq)(G1,(0,IF.on)(EF,function(t){return Object.assign({},t)}),(0,IF.on)(DF,function(t){return Object.assign(Object.assign({},t),{SelectedPks:[]})}),(0,IF.on)(RF,function(t,e){var n=e.polygonOn;return Object.assign(Object.assign({},t),{PolygonOn:n})}),(0,IF.on)(FF,function(t,e){var n=e.intersectionOn;return Object.assign(Object.assign({},t),{IntersectionOn:n}
1)}),(0,IF.on)(LF,function(t,e){var n=e.primaryKeys,i=new Set([].concat(_toConsumableArray(t.SelectedPks),_toConsumableArray(n)));return Object.assign(Object.assign({},t),{SelectedPks:Array.from(i)})}),(0,IF.on)(ZF,function(t,e){var n=e.primaryKeys,i=new Set(t.SelectedPks);return n.forEach(function(t){return i.delete(t)}),Object.assign(Object.assign({},t),{SelectedPks:Array.from(i)})}),(0,IF.on)(VF,function(t,e){var n=e.resetAll;return Object.assign(Object.assign({},G1),{IdToPrimaryKey:t.IdToPrimaryKey,PrimaryKeyToId:t.PrimaryKeyToId,ResetAll:n})}),(0,IF.on)(jF,function(t){return Object.assign(Object.assign({},t),{ResetAll:!1})}),(0,IF.on)(zF,function(t,e){return _objectDestructuringEmpty(e),t}),(0,IF.on)(qF,function(t,e){return _objectDestructuringEmpty(e),t}),(0,IF.on)(BF,function(t,e){return _objectDestructuringEmpty(e),t}),(0,IF.on)(YF,function(t,e){var n=e.ldc_primary_keys,i=new Set;return i=t.IntersectionOn?new Set(t.SelectedPks.filter(function(t){return n.includes(t)})):new Set([].concat(_toConsumableArray(t.SelectedPks),_toConsumableArray(n))),Object.assign(Object.assign({},t),{SelectedPks:Array.from(i)})}),(0,IF.on)(GF,function(t,e){var n=e.idToPrimaryKey;return Object.assign(Object.assign({},t),{IdToPrimaryKey:n})}),(0,IF.on)(HF,function(t,e){var n=e.primaryKeyToId;return Object.assign(Object.assign({},t),{PrimaryKeyToId:n})}),(0,IF.on)(JF,function(t,e){return _objectDestructuringEmpty(e),t}),(0,IF.on)(eL,function(t,e){var n=e.indicator,i=e.min,o=e.max;return console.log("Received ".concat(n," indicator min, max:"),i,o),t}),(0,IF.on)(WF,function(t,e){return t=function(t,e){var n=e.selector,i=Z1(t.PrimaryKeyToId,e.ldc_primary_keys);switch(n){case"land-cover-modis-igbp-name":t=Object.assign(Object.assign({},t),{SelectedLandCoverModisIgbpNameFilterPlotIds:i});break;case"land-cover-modis-igbp-value":t=Object.assign(Object.assign({},t),{SelectedLandCoverModisIgbpValueFilterPlotIds:i});break;case"ecoregion-level-1":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIFilterPlotIds:i});break;case"ecoregion-level-2":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIIFilterPlotIds:i});break;case"ecoregion-level-3":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIIIFilterPlotIds:i});break;case"ecoregion-level-4":t=Object.assign(Object.assign({},t),{SelectedEcoregionLevelIVFilterPlotIds:i});break;case"mlra-name":t=Object.assign(Object.assign({},t),{SelectedMlraNameFilterPlotIds:i});break;case"mlra-symbol":t=Object.assign(Object.assign({},t),{SelectedMlraSymbolFilterPlotIds:i});break;case"ecological-site-id":t=Object.assign(Object.assign({},t),{SelectedEcologicalSiteIdFilterPlotIds:i});break;case"ecological-site-id-mlra-prefix":t=Object.assign(Object.assign({},t),{SelectedEcologicalSiteMlraPrefixFilterPlotIds:i});break;case"ecological-site-id-state":t=Object.assign(Object.assign({},t),{SelectedEcologicalSiteStateFilterPlotIds:i});break;case"state":t=Object.assign(Object.assign({},t),{SelectedStateFilterPlotIds:i});break;case"project":t=Object.assign(Object.assign({},t),{SelectedProjectFilterPlotIds:i});break;case"date-visited":t=Object.assign(Object.assign({},t),{SelectedDateVisitedFilterPlotIds:i});break;case"data-type":t=Object.assign(Object.assign({},t),{SelectedDataTypeFilterPlotIds:i})}return t}(t,e),N1(t=q1(t=z1(t)),e.selector,!0)}),(0,IF.on)(nL,function(t,e){return t=function(t,e){var n=e.indicator,i=Z1(t.PrimaryKeyToId,e.ldc_primary_keys);switch(n){case"percent-bare-ground":t=Object.assign(Object.assign({},t),{SelectedLpiPercentBareGroundFilterPlotIds:i});break;case"percent-foliar-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentFoliarCoverFilterPlotIds:i});break;case"percent-litter-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentLitterCoverFilterPlotIds:i});break;case"percent-rock-fragment-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentRockFragmentCoverFilterPlotIds:i});break;case"percent-lichen-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentLichenCoverFilterPlotIds:i});break;case"percent-cyanobacteria-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentCyanobacteriaCoverFilterPlotIds:i});break;case"percent-moss-cover":t=Object.assign(Object.assign({},t),{SelectedLpiPercentMossCoverFilterPlotIds:i});break;case"mean-herbaceous-height":t=Object.assign(Object.assign({},t),{SelectedVegetationHeightMeanHerbaceousFilterPlotIds:i});break;case"mean-woody-height":t=Object.assign(Object.assign({},t),{SelectedVegetationHeightMeanWoodyFilterPlotIds:i});break;case"percent-canopy-gaps-25-50":t=Object.assign(Object.assign({},t),{SelectedCanopyGap25to50FilterPlotIds:i});break;case"percent-canopy-gaps-51-100":t=Object.assign(Object.assign({},t),{SelectedCanopyGap51to100FilterPlotIds:i});break;case"percent-canopy-gaps-101-200":t=Object.assign(Object.assign({},t),{SelectedCanopyGap101to200FilterPlotIds:i});break;case"percent-canopy-gaps-200-plus":t=Object.assign(Object.assign({},t),{SelectedCanopyGap200plusFilterPlotIds:i});break;case"mean-soil-stability":t=Object.assign(Object.assign({},t),{SelectedSoilStabilityMeanFilterPlotIds:i});break;case"mean-soil-stability-protected":t=Object.assign(Object.assign({},t),{SelectedSoilStabilityProtectedFilterPlotIds:i});break;case"mean-soil-stability-unprotected":t=Object.assign(Object.assign({},t),{SelectedSoilStabilityUnProtectedFilterPlotIds:i});break;case"total-horizontal-flux":t=Object.assign(Object.assign({},t),{SelectedAeroTotalHorizontalFluxFilterPlotIds:i});break;case"total-vertical-flux":t=Object.assign(Object.assign({},t),{SelectedAeroTotalVerticalFluxFilterPlotIds:i});break;case"pm2p5-vertical-flux":t=Object.assign(Object.assign({},t),{SelectedAeroPm2p5FilterPlotIds:i});break;case"pm10-vertical-flux":t=Object.assign(Object.assign({},t),{SelectedAeroPm10FilterPlotIds:i});break;case"precipitation-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemPrecipitationLongTermMeanPlotIds:i});break;case"runoff-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemRunoffLongTermMeanPlotIds:i});break;case"sediment-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemSedimentLongTermMeanPlotIds:i});break;case"soil-loss-long-term-mean":t=Object.assign(Object.assign({},t),{SelectedRhemSoilLossLongTermMeanPlotIds:i})}return t}(t,e),N1(t=q1(t=z1(t)),e.indicator,!0)}),(0,IF.on)(NF,function(t,e){return q1(t=z1(t=Y1(t,e.plotIds,!0)))}),(0,IF.on)(UF,function(t,e){return q1(t=z1(t=Y1(t,e.plotIds,!1)))}),(0,IF.on)(QF,function(t,e){return N1(t,e.filterName,!0)}),(0,IF.on)(KF,function(t,e){var n=e.filterName;
1return q1(t=z1(t=B1(t=U1(t=N1(t,n,!1),n,!0),n)))}),(0,IF.on)(XF,function(t,e){var n=e.filterName;return N1(t=q1(t=z1(t=B1(t,n))),n,!1)}),(0,IF.on)($F,function(t,e){return U1(t,e.filterName,!1)}),(0,IF.on)(iL,function(t,e){t=function(t,e){var n=Z1(t.PrimaryKeyToId,e.ldc_primary_keys);return Object.assign(Object.assign({},t),{SelectedShapefilePlotIds:n})}(t,e);var n=(t=q1(t=z1(t))).PendingShapefileOutlineGeoJson,i=t.PendingShapefileOutlineBbox;return Object.assign(Object.assign(Object.assign({},t),{ShapefilePkResponseReceived:!0}),n?{ShapefileOutlineGeoJson:n,ShapefileOutlineBbox:null!=i?i:null,PendingShapefileOutlineGeoJson:null,PendingShapefileOutlineBbox:null,ShouldAnimateToShapefileSelection:!0}:{})}),(0,IF.on)(oL,function(t){return Object.assign(Object.assign({},t),{ShouldAnimateToShapefileSelection:!0})}),(0,IF.on)(rL,function(t){return Object.assign(Object.assign({},t),{ShouldAnimateToShapefileSelection:!1})}),(0,IF.on)(aL,function(t,e){var n=e.geojson,i=e.bbox;return Object.assign(Object.assign(Object.assign({},t),{PendingShapefileOutlineGeoJson:n,PendingShapefileOutlineBbox:null!=i?i:null}),t.ShapefilePkResponseReceived&&n?{ShapefileOutlineGeoJson:n,ShapefileOutlineBbox:null!=i?i:null,PendingShapefileOutlineGeoJson:null,PendingShapefileOutlineBbox:null,ShouldAnimateToShapefileSelection:!0}
1:{})}),(0,IF.on)(sL,function(t){return Object.assign(Object.assign({},t),{PendingShapefileOutlineGeoJson:null,PendingShapefileOutlineBbox:null,ShapefileOutlineGeoJson:null,ShapefileOutlineBbox:null,ShouldAnimateToShapefileSelection:!1,ShapefilePkResponseReceived:!1})}),(0,IF.on)(cL,function(t,e){var n=e.speciesCode;return N1(t=Object.assign(Object.assign({},t),{SpeciesFilterSelections:Object.assign(Object.assign({},t.SpeciesFilterSelections),{speciesCode:n})}),"geospecies-species-code",n.length>0)}),(0,IF.on)(lL,function(t,e){var n=e.scientificName;return N1(t=Object.assign(Object.assign({},t),{SpeciesFilterSelections:Object.assign(Object.assign({},t.SpeciesFilterSelections),{scientificName:n})}),"geospecies-scientific-name",n.length>0)}),(0,IF.on)(uL,function(t,e){var n=e.speciesCoverMinMax;return N1(t=Object.assign(Object.assign({},t),{SpeciesFilterSelections:Object.assign(Object.assign({},t.SpeciesFilterSelections),{speciesCoverMinMax:n})}),"geospecies-species-cover",null!==n)}),(0,IF.on)(dL,function(t,e){var n=e.meanSpeciesHeightMinMax;return N1(t=Object.assign(Object.assign({},t),{SpeciesFilterSelections:Object.assign(Object.assign({},t.SpeciesFilterSelections),{meanSpeciesHeightMinMax:n})}),"geospecies-mean-species-height",null!==n)}),(0,IF.on)(hL,function(t,e){return t=function(t,e){var n=Z1(t.PrimaryKeyToId,e);return Object.assign(Object.assign({},t),{SelectedSpeciesFilterPlotIds:n})}(t,e.ldc_primary_keys),q1(t=z1(t))}),(0,IF.on)(pL,function(t){return q1(t=z1(t=Object.assign(Object.assign({},t),{SelectedSpeciesFilterPlotIds:[]})))}))},J1=[],W1=n(15829),Q1=n(25037),K1=n(304),X1=n(87479),$1=n(31560),t2={dispatch:!0,useEffectsErrorHandler:!0},e2="__@ngrx/effects_create__";function n2(t,e){var n=t(),i=Object.assign(Object.assign({},t2),e);return Object.defineProperty(n,e2,{value:i}),n}function i2(t){return Object.getOwnPropertyNames(t).filter(function(e){return!(!t[e]||!t[e].hasOwnProperty(e2))&&t[e][e2].hasOwnProperty("dispatch")}).map(function(e){return Object.assign({propertyName:e},t[e][e2])})}function o2(t){return Object.getPrototypeOf(t)}var r2="__@ngrx/effects__";function a2(t){return(0,IF.qC)(s2,o2)(t)}function s2(t){return function(t){return t.constructor.hasOwnProperty(r2)}(t)?t.constructor[r2]:[]}function c2(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;return t.pipe((0,Ie.K)(function(i){return e&&e.handleError(i),n<=1?t:c2(t,e,n-1)}))}var l2=function(){var t=function(t){function e(t){var n;return _classCallCheck(this,e),n=_callSuper(this,e),t&&(n.source=t),n}return _inherits(e,t),_createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}}]),e}(ve.y);return t.\u0275fac=function(e){return new(e||t)(r.LFG(IF.Y$))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function u2(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,Te.h)(function(t){return e.some(function(e){return"string"==typeof e?e===t.type:e.type===t.type})})}function d2(t){return h2(t,"ngrxOnInitEffects")}function h2(t,e){return t&&e in t&&"function"==typeof t[e]}var p2=new r.OlP("@ngrx/effects Internal Root Guard"),f2=new r.OlP("@ngrx/effects User Provided Effects"),g2=new r.OlP("@ngrx/effects Internal Root Effects"),_2=new r.OlP("@ngrx/effects Root Effects"),m2=new r.OlP("@ngrx/effects Internal Feature Effects"),v2=new r.OlP("@ngrx/effects Feature Effects"),y2=new r.OlP("@ngrx/effects Effects Error Handler"),C2=function(){var t=function(t){function e(t,n){var i;return _classCallCheck(this,e),(i=_callSuper(this,e)).errorHandler=t,i.effectsErrorHandler=n,i}return _inherits(e,t),_createClass(e,[{key:"addEffects",value:function(t){this.next(t)}},{key:"toActions",value:function(){var t=this;return this.pipe((0,K1.v)(o2),(0,Fe.zg)(function(t){return t.pipe((0,K1.v)(b2))}),(0,Fe.zg)(function(e){var n=e.pipe((0,X1.z)(function(e){return function(t,e){return function(n){var i=function(t,e,n){var i=o2(t).constructor.name,o=function(t){return[a2,i2].reduce(function(e,n){return e.concat(n(t))},[])}(t).map(function(o){var r=o.propertyName,a=o.dispatch,s=o.useEffectsErrorHandler,c="function"==typeof t[r]?t[r]():t[r],l=s?n(c,e):c;return!1===a?l.pipe((0,W1.l)()):l.pipe((0,Q1.i)()).pipe((0,Me.U)(function(e){return{effect:t[r],notification:e,propertyName:r,sourceName:i,sourceInstance:t}}))});return oO.T.apply(void 0,_toConsumableArray(o))}(n,t,e);return function(t){return h2(t,"ngrxOnRunEffects")}(n)?n.ngrxOnRunEffects(i):i}}(t.errorHandler,t.effectsErrorHandler)(e)}),(0,Me.U)(function(e){return function(t,e){if("N"===t.notification.kind){var n=t.notification.value;!function(t){return"function"!=typeof t&&t&&t.type&&"string"==typeof t.type}(n)&&e.handleError(new Error("Effect ".concat(function(t){var e=t.propertyName,n=t.sourceInstance,i=t.sourceName,o="function"==typeof n[e];return'"'.concat(i,".").concat(String(e)).concat(o?"()":"",'"')}
1(t)," dispatched an invalid action: ").concat(function(t){try{return JSON.stringify(t)}catch(e){return t}}(n))))}}(e,t.errorHandler),e.notification}),(0,Te.h)(function(t){return"N"===t.kind&&null!=t.value}),(0,$1.D)()),i=e.pipe((0,ke.q)(1),(0,Te.h)(d2),(0,Me.U)(function(t){return t.ngrxOnInitEffects()}));return(0,oO.T)(n,i)}))}}]),e}(we.xQ);return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.qLn),r.LFG(y2))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function b2(t){return function(t){return h2(t,"ngrxOnIdentifyEffects")}(t)?t.ngrxOnIdentifyEffects():""}var O2=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this.effectSources=e,this.store=n,this.effectsSubscription=null}return _createClass(t,[{key:"start",value:function(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}},{key:"ngOnDestroy",value:function(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(C2),r.LFG(IF.yh))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),P2="@ngrx/effects/init";(0,IF.PH)(P2);var w2=function(){var t=function(){function t(e,n,i,o,r,a,s){_classCallCheck(this,t),this.sources=e,n.start(),o.forEach(function(t){return e.addEffects(t)}),i.dispatch({type:P2})}return _createClass(t,[{key:"addEffects",value:function(t){this.sources.addEffects(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(C2),r.LFG(O2),r.LFG(IF.yh),r.LFG(_2),r.LFG(IF.cr,8),r.LFG(IF.CK,8),r.LFG(p2,8))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),M2=function(){var t=_createClass(function t(e,n,i,o){_classCallCheck(this,t),n.forEach(function(t){return t.forEach(function(t){return e.addEffects(t)})})});return t.\u0275fac=function(e){return new(e||t)(r.LFG(w2),r.LFG(v2),r.LFG(IF.cr,8),r.LFG(IF.CK,8))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),x2=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"forFeature",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{ngModule:M2,providers:[t,{provide:m2,multi:!0,useValue:t},{provide:f2,multi:!0,useValue:[]},{provide:v2,multi:!0,useFactory:k2,deps:[r.zs3,m2,f2]}]}}},{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{ngModule:w2,providers:[{provide:y2,useValue:c2},O2,C2,l2,t,{provide:g2,useValue:[t]},{provide:p2,useFactory:S2,deps:[[O2,new r.FiY,new r.tp0],[g2,new r.PiD]]},{provide:f2,multi:!0,useValue:[]},{provide:_2,useFactory:k2,deps:[r.zs3,g2,f2]}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}();function k2(t,e,n){var i,o=[],r=_createForOfIteratorHelper(e);try{for(r.s();!(i=r.n()).done;){var a=i.value;o.push.apply(o,_toConsumableArray(a))}}catch(u){r.e(u)}finally{r.f()}var s,c=_createForOfIteratorHelper(n);try{for(c.s();!(s=c.n()).done;){var l=s.value;o.push.apply(o,_toConsumableArray(l))}}catch(u){c.e(u)}finally{c.f()}return function(t,e){return e.map(function(e){return t.get(e)})}(t,o)}function S2(t,e){if((1!==e.length||0!==e[0].length)&&t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}var A2="@ngrx/router-store/request",T2=((0,IF.PH)(A2,(0,IF.Ky)()),"@ngrx/router-store/navigation"),I2=((0,IF.PH)(T2,(0,IF.Ky)()),"@ngrx/router-store/cancel"),E2=((0,IF.PH)(I2,(0,IF.Ky)()),"@ngrx/router-store/error"),D2=((0,IF.PH)(E2,(0,IF.Ky)()),"@ngrx/router-store/navigated");(0,IF.PH)(D2,(0,IF.Ky)());var R2=_createClass(function t(){_classCallCheck(this,t)}),F2=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"serialize",value:function(t){return{root:this.serializeRoute(t.root),url:t.url}}},{key:"serializeRoute",value:function(t){var e=this,n=t.children.map(function(t){return e.serializeRoute(t)});return{params:t.params,paramMap:t.paramMap,data:t.data,url:t.url,outlet:t.outlet,routeConfig:t.routeConfig?{component:t.routeConfig.component,path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet}:null,queryParams:t.queryParams,queryParamMap:t.queryParamMap,fragment:t.fragment,component:t.routeConfig?t.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:n[0],pathFromRoot:void 0,children:n}}}]),t}(),L2=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"serialize",value:function(t){return{root:this.serializeRoute(t.root),url:t.url}}},{key:"serializeRoute",value:function(t){var e=this,n=t.children.map(function(t){return e.serializeRoute(t)});return{params:t.params,data:t.data,url:t.url,outlet:t.outlet,routeConfig:t.routeConfig?{path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet}:null,queryParams:t.queryParams,fragment:t.fragment,firstChild:n[0],children:n}}}]),t}(),Z2=(function(t){t[t.PreActivation=1]="PreActivation",t[t.PostActivation=2]="PostActivation"}(Z2||(Z2={}
1)),Z2),N2=new r.OlP("@ngrx/router-store Internal Configuration"),U2=new r.OlP("@ngrx/router-store Configuration");function V2(t){return Object.assign({stateKey:"router",serializer:L2,navigationActionTiming:Z2.PreActivation},t)}var j2=(function(t){t[t.NONE=1]="NONE",t[t.ROUTER=2]="ROUTER",t[t.STORE=3]="STORE"}(j2||(j2={})),j2),z2=function(){var t=function(){function t(e,n,i,o,a,s){_classCallCheck(this,t),this.store=e,this.router=n,this.serializer=i,this.errorHandler=o,this.config=a,this.activeRuntimeChecks=s,this.lastEvent=null,this.routerState=null,this.trigger=j2.NONE,this.stateKey=this.config.stateKey,!(0,IF.rM)()&&(0,r.X6Q)()&&((null==s?void 0:s.strictActionSerializability)||(null==s?void 0:s.strictStateSerializability))&&this.serializer instanceof F2&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the DefaultRouterStateSerializer. The default serializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer. This also applies to Ivy with immutability runtime checks."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}return _createClass(t,[{key:"setUpStoreStateListener",value:function(){var t=this;this.store.pipe((0,IF.Ys)(this.stateKey),(0,RU.M)(this.store)).subscribe(function(e){var n=_slicedToArray(e,2),i=n[0],o=n[1];t.navigateIfNeeded(i,o)})}},{key:"navigateIfNeeded",value:function(t,e){var n=this;if(t&&t.state&&this.trigger!==j2.ROUTER&&!(this.lastEvent instanceof ze)){var i=t.state.url;(function(t,e){return q2(t)===q2(e)})(this.router.url,i)||(this.storeState=e,this.trigger=j2.STORE,this.router.navigateByUrl(i).catch(function(t){n.errorHandler.handleError(t)}))}}},{key:"setUpRouterEventsListener",value:function(){var t,e=this,n=this.config.navigationActionTiming===Z2.PostActivation;this.router.events.pipe((0,RU.M)(this.store)).subscribe(function(i){var o=_slicedToArray(i,2),r=o[0],a=o[1];e.lastEvent=r,r instanceof ze?(e.routerState=e.serializer.serialize(e.router.routerState.snapshot),e.trigger!==j2.STORE&&(e.storeState=a,e.dispatchRouterRequest(r))):r instanceof Ge?(t=r,!n&&e.trigger!==j2.STORE&&e.dispatchRouterNavigation(r)):r instanceof Be?(e.dispatchRouterCancel(r),e.reset()):r instanceof Ye?(e.dispatchRouterError(r),e.reset()):r instanceof qe&&(e.trigger!==j2.STORE&&(n&&e.dispatchRouterNavigation(t),e.dispatchRouterNavigated(r)),e.reset())})}},{key:"dispatchRouterRequest",value:function(t){this.dispatchRouterAction(A2,{event:t})}},{key:"dispatchRouterNavigation",value:function(t){var e=this.serializer.serialize(t.state);this.dispatchRouterAction(T2,{routerState:e,event:new Ge(t.id,t.url,t.urlAfterRedirects,e)})}},{key:"dispatchRouterCancel",value:function(t){this.dispatchRouterAction(I2,{storeState:this.storeState,event:t})}},{key:"dispatchRouterError",value:function(t){this.dispatchRouterAction(E2,{storeState:this.storeState,event:new Ye(t.id,t.url,"".concat(t))})}},{key:"dispatchRouterNavigated",value:function(t){var e=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(D2,{event:t,routerState:e})}},{key:"dispatchRouterAction",value:function(t,e){this.trigger=j2.ROUTER;try{this.store.dispatch({type:t,payload:Object.assign(Object.assign({routerState:this.routerState},e),{event:0===this.config.routerState?e.event:{id:e.event.id,url:e.event.url,urlAfterRedirects:e.event.urlAfterRedirects}})})}finally{this.trigger=j2.NONE}}},{key:"reset",value:function(){this.trigger=j2.NONE,this.storeState=null,this.routerState=null}}],[{key:"forRoot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[{provide:N2,useValue:e},{provide:U2,useFactory:V2,deps:[N2]},{provide:R2,useClass:e.serializer?e.serializer:0===e.routerState?F2:L2}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(IF.yh),r.LFG(vo),r.LFG(R2),r.LFG(r.qLn),r.LFG(U2),r.LFG(IF.hg))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}();function q2(t){return(null==t?void 0:t.length)>0&&"/"===t[t.length-1]?t.substring(0,t.length-1):t}var B2,Y2,G2=n(93572),H2=function(){var t=function(){function t(e){_classCallCheck(this,t),this.httpClient=e,this.primaryRoute="https://www.ldc-internal-01-z6mubxe02d.net/",this.olMapPkRoute=this.primaryRoute+"map/pk/",this.olMapFiltersPkRoute=this.olMapPkRoute+"filters/",this.olMapSelectorsPkRoute=this.olMapFiltersPkRoute+"selectors/",this.olMapIndicatorsPkRoute=this.olMapFiltersPkRoute+"indicators/",this.pkRoute="pk/",this.filtersPkRoute=this.pkRoute+"filters/",this.selectorsPkRoute=this.filtersPkRoute+"selectors/",this.indicatorsPkRoute=this.filtersPkRoute+"indicators/",this.selectorUrlElements={state:{endpoint:"state/us",queryParamName:"code"},"data-type":{endpoint:"data/type",queryParamName:"code"},"date-visited":{endpoint:"date/visited",queryParamName:"code"},"ecological-site-id":{endpoint:"ecological-site-id",queryParamName:"code"},"ecological-site-id-mlra-prefix":{endpoint:"ecological-site-id/mlra-prefix",queryParamName:"code"},"ecological-site-id-state":{endpoint:"ecological-site-id/state",queryParamName:"code"},"ecoregion-level-1":{endpoint:"ecoregion/level-1",queryParamName:"name"},"ecoregion-level-2":{endpoint:"ecoregion/level-2",queryParamName:"name"},"ecoregion-level-3":{endpoint:"ecoregion/level-3",queryParamName:"name"},"ecoregion-level-4":{endpoint:"ecoregion/level-4",queryParamName:"name"},"land-cover-modis-igbp-name":{endpoint:"land-cover/modis-igbp/name",queryParamName:"name"},"land-cover-modis-igbp-value":{endpoint:"land-cover/modis-igbp/value",queryParamName:"code"},"mlra-name":{endpoint:"mlra/name",queryParamName:"name"},"mlra-symbol":{endpoint:"mlra/symbol",queryParamName:"code"},project:{endpoint:"project",queryParamName:"code"}},this.indicatorEndpoints={"mean-herbaceous-height":{endpoint:"mean-herbaceous-height"},"mean-soil-stability":{endpoint:"mean-soil-stability-surface"},"mean-soil-stability-protected":{endpoint:"mean-soil-stability-protected"},"mean-soil-stability-unprotected":{endpoint:"mean-soil-stability-unprotected"},"mean-woody-height":{endpoint:"mean-woody-height"},"percent-bare-ground":{endpoint:"percent-bare-ground"},"percent-canopy-gaps-25-50":{endpoint:"percent-canopy-gaps-25-50"},"percent-canopy-gaps-51-100":{endpoint:"percent-canopy-gaps-51-100"},"percent-canopy-gaps-101-200":{endpoint:"percent-canopy-gaps-101-200"},"percent-canopy-gaps-200-plus":{endpoint:"percent-canopy-gaps-200-plus"},"percent-cyanobacteria-cover":{endpoint:"percent-cyanobacteria-cover"},"percent-foliar-cover":{endpoint:"percent-foliar-cover"},"percent-lichen-cover":{endpoint:"percent-lichen-cover"},"percent-litter-cover":{endpoint:"percent-litter-cover"},"percent-moss-cover":{endpoint:"percent-moss-cover"},"percent-rock-fragment-cover":{endpoint:"percent-rock-fragment-cover"},"total-horizontal-flux":{endpoint:"total-horizontal-flux"},"total-vertical-flux":{endpoint:"total-vertical-flux"},"pm2p5-vertical-flux":{endpoint:"pm2p5-vertical-flux"},"pm10-vertical-flux":{endpoint:"pm10-vertical-flux"},"precipitation-long-term-mean":{endpoint:"precipitation-long-term-mean"},"runoff-long-term-mean":{endpoint:"runoff-long-term-mean"},"sediment-long-term-mean":{endpoint:"sediment-long-term-mean"},"soil-loss-long-term-mean":{endpoint:"soil-loss-long-term-mean"}},this.rhemIndicators=["precipitation-long-term-mean","runoff-long-term-mean","sediment-long-term-mean","soil-loss-long-term-mean"],this.ldcJwtManager=new il}return _createClass(t,[{key:"handleError",value:function(t){return(0,zo._)(function(){return new Error("Sorry, something bad happened; please try again later.")})}},{key:"getResponse",value:function(t){var e=this;
1return(0,fe.D)(this.ldcJwtManager.getServiceConnectionDetails()).pipe((0,xe.w)(function(n){return n.httpHeaders?e.httpClient.get(n.serviceUrl+t,{headers:n.httpHeaders}):e.httpClient.get(n.serviceUrl+t)}),(0,Me.U)(function(t){return Array.isArray(t)&&t.length>0?t[0]:{ldc_primary_keys:[]}}),(0,Ie.K)(function(t){return console.error("Error in getResponse:",t),(0,zo._)(function(){return new Error("An error occurred while getting response")})}))}},{key:"getSelectorPkEndpoint",value:function(t,e){var n=e.map(function(t){return encodeURIComponent(t)}).join(","),i=this.selectorUrlElements[t];return"".concat(this.selectorsPkRoute).concat(i.endpoint,"?").concat(i.queryParamName,"=").concat(n)}},{key:"getSelectorPks2",value:function(t,e){var n=this.getSelectorPkEndpoint(t,e);return this.getResponse(n).pipe((0,Me.U)(function(e){return{selector:t,ldc_primary_keys:e.ldc_primary_keys}}))}},{key:"getDateVisitedSelectorPks",value:function(t){return this.getResponse("".concat(this.selectorsPkRoute).concat(this.selectorUrlElements["date-visited"].endpoint,"?dateMin=").concat(t.dateMin,"&dateMax=").concat(t.dateMax))}},{key:"getIndicatorPkEndpoint",value:function(t,e,n){var i="".concat(this.indicatorEndpoints[t].endpoint,"?min=").concat(e,"&max=").concat(n);return this.rhemIndicators.includes(t)?"test/rhem/".concat(this.indicatorsPkRoute).concat(i):"".concat(this.indicatorsPkRoute).concat(i)}},{key:"getIndicatorPks2",value:function(t,e,n){var i=this.getIndicatorPkEndpoint(t,e,n);return this.getResponse(i).pipe((0,Me.U)(function(e){return{indicator:t,ldc_primary_keys:e.ldc_primary_keys}}))}},{key:"getGeospeciesIntersectionPks",value:function(t){var e=this,n={data:kq(t)};return(0,fe.D)(this.ldcJwtManager.getServiceConnectionDetails()).pipe((0,xe.w)(function(t){var i=t.serviceUrl+"pk/filters/indicators/geospecies-intersection-pks";return t.httpHeaders?e.httpClient.put(i,n,{headers:t.httpHeaders}):e.httpClient.put(i,n)}),(0,Me.U)(function(t){return Array.isArray(t)&&t.length>0?t[0]:{ldc_primary_keys:[]}}),(0,Ie.K)(function(t){return console.error("Error in getGeospeciesIntersectionPks:",t),(0,zo._)(function(){return new Error("An error occurred while getting Species intersection PKs")})}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(hr))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),J2=function(){var t=function(){function t(e,n,i,o){var r=this;_classCallCheck(this,t),this.actions$=e,this.pkService=n,this.store=i,this.loading=o,this.revertResetAll$=n2(function(){return r.actions$.pipe(u2(VF),(0,Ee.b)(function(){return(0,ge.of)(jF())}))}),this.retrieveSelectorPks2$=n2(function(){return r.actions$.pipe(u2(JF),(0,xe.w)(function(t){return(0,be.P)(function(){return r.loading.start(),r.pkService.getSelectorPks2(t.selector,t.selection)}).pipe((0,Me.U)(function(t){return WF(t)}),(0,Ie.K)(function(t){return(0,ge.of)(t)}),(0,Ue.x)(function(){return r.loading.end()}))}))}),this.retrieveDateVisitedSelectorPks2$=n2(function(){return r.actions$.pipe(u2(tL),(0,xe.w)(function(t){return(0,be.P)(function(){return r.loading.start(),r.pkService.getDateVisitedSelectorPks(t)}).pipe((0,Me.U)(function(t){return WF({selector:"date-visited",ldc_primary_keys:t.ldc_primary_keys})}),(0,Ie.K)(function(t){return(0,ge.of)(t)}),(0,Ue.x)(function(){return r.loading.end()}))}))}),this.retrieveIndicatorPks2$=n2(function(){return r.actions$.pipe(u2(eL),(0,xe.w)(function(t){return(0,be.P)(function(){return r.loading.start(),r.pkService.getIndicatorPks2(t.indicator,t.min,t.max)}).pipe((0,Me.U)(function(t){return nL(t)}),(0,Ie.K)(function(t){return(0,ge.of)(t)}),(0,Ue.x)(function(){return r.loading.end()}))}))}),this.animateAfterShapefileUpload$=n2(function(){return r.actions$.pipe(u2(iL),(0,Me.U)(function(){return oL()}))}),this.speciesFilterSelectionUpdated$=n2(function(){return r.actions$.pipe(u2(cL,lL,uL,dL),(0,RU.M)(r.store.select(PL)),(0,xe.w)(function(t){var e=_slicedToArray(t,2),n=(e[0],e[1]);return 0===n.speciesCode.length&&0===n.scientificName.length&&null===n.speciesCoverMinMax&&null===n.meanSpeciesHeightMinMax?(0,ge.of)(pL()):(0,be.P)(function(){return r.loading.start(),r.pkService.getGeospeciesIntersectionPks(n)}).pipe((0,Me.U)(function(t){var e=t.ldc_primary_keys;return hL({ldc_primary_keys:e})}),(0,Ie.K)(function(t){return(0,ge.of)(t)}),(0,Ue.x)(function(){return r.loading.end()}))}))})}return _createClass(t,[{key:"secs",value:function(){return(new Date).getSeconds()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(l2),r.LFG(H2),r.LFG(IF.yh),r.LFG(nN))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),W2=function(){var t=_createClass(function t(){_classCallCheck(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t,bootstrap:[E1]}),t.\u0275inj=r.cJS({providers:[{provide:b,useValue:"/"}],imports:[[pe,r1,Do,Mr,Cp,D1,PP,eq,yb,b1,jP,tP,gP,F1,mP,Af,_0,R1,QO,cB,rY,dX,eG,IU,EU,ZJ,zB,SH,Hp,qK,VX,HQ,L1,nO,IF.Aw.forRoot(H1,{metaReducers:J1,runtimeChecks:{strictStateImmutability:!0,strictActionImmutability:!0,strictStateSeri
1alizability:!0,strictActionSerializability:!0}}),z2.forRoot(),x2.forRoot([J2]),z2.forRoot(),G2.FT.instrument({maxAge:25,logOnly:!0})]]}),t}(),Q2=window.location.hostname;Q2.includes("localhost")?(B2="http://localhost:5321/ldc-map",Y2="http://localhost:5321/"):Q2.includes("test")?(B2="https://test.duzubbei8tob7.amplifyapp.com/ldc-map",Y2="https://test.duzubbei8tob7.amplifyapp.com/"):Q2.includes("dev")?(B2="https://dev.duzubbei8tob7.amplifyapp.com/ldc-map",Y2="https://dev.duzubbei8tob7.amplifyapp.com/"):Q2.includes("main")?(B2="https://main.duzubbei8tob7.amplifyapp.com/ldc-map",Y2="https://main.duzubbei8tob7.amplifyapp.com/"):Q2.includes("www")?(B2="https://www.landscapedatacommons.org/ldc-map",Y2="https://www.landscapedatacommons.org/"):(B2="https://landscapedatacommons.org/ldc-map",Y2="https://landscapedatacommons.org/"),ya.configure({aws_project_region:"us-west-2",aws_cognito_identity_pool_id:"us-west-2:9f6eba0f-f788-48c7-b9a4-e557fc226eb0",aws_cognito_region:"us-west-2",aws_user_pools_id:"us-west-2_1sBPFf6dJ",aws_user_pools_web_client_id:"5o9qupjit49bij8u417o5ofsdv",oauth:{domain:"ldcportal3e40ba7e-3e40ba7e-dev.auth.us-west-2.amazoncognito.com",scope:["phone","email","openid","profile","aws.cognito.signin.user.admin"],redirectSignIn:B2,redirectSignOut:Y2,responseType:"code"},federationTarget:"COGNITO_USER_POOLS",aws_cognito_username_attributes:["EMAIL"],aws_cognito_social_providers:[],aws_cognito_signup_attributes:["EMAIL"],aws_cognito_mfa_configuration:"ON",aws_cognito_mfa_types:["SMS","TOTP"],aws_cognito_password_protection_settings:{passwordPolicyMinLength:8,passwordPolicyCharacters:[]},aws_cognito_verification_mechanisms:["EMAIL"]}),(0,r.G48)(),de().bootstrapModule(W2).catch(function(t){return console.error(t)})},53933:function(t,e,n){"use strict";n.r(e),n.d(e,{__extends:function(){return o},__assign:function(){return r},__rest:function(){return a},__decorate:function(){return s},__param:function(){return c},__metadata:function(){return l},__awaiter:function(){return u},__generator:function(){return d},__createBinding:function(){return h},__exportStar:function(){return p},__values:function(){return f},__read:function(){return g},__spread:function(){return _},__spreadArrays:function(){return m},__await:function(){return v},__asyncGenerator:function(){return y},__asyncDelegator:function(){return C},__asyncValues:function(){return b}
1,__makeTemplateObject:function(){return O},__importStar:function(){return P},__importDefault:function(){return w},__classPrivateFieldGet:function(){return M},__classPrivateFieldSet:function(){return x}});var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};function a(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n}function s(t,e,n,i){var o,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,n,a):o(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function c(t,e){return function(n,i){e(n,i,t)}}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,n,i){return new(n||(n=Promise))(function(o,r){function a(t){try{c(i.next(t))}catch(e){r(e)}}function s(t){try{c(i.throw(t))}catch(e){r(e)}}function c(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())})}function d(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(s){r=[6,s],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}function h(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}function p(t,e){for(var n in t)"default"!==n&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function _(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(g(arguments[e]));return t}function m(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<n;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i}function v(t){return this instanceof v?(this.v=t,this):new v(t)}function y(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(t,e||[]),r=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){o[t]&&(i[t]=function(e){return new Promise(function(n,i){r.push([t,e,n,i])>1||s(t,e)})})}function s(t,e){try{!function(t){t.value instanceof v?Promise.resolve(t.value.v).then(c,l):u(r[0][2],t)}(o[t](e))}catch(n){u(r[0][3],n)}}function c(t){s("next",t)}function l(t){s("throw",t)}function u(t,e){t(e),r.shift(),r.length&&s(r[0][0],r[0][1])}}function C(t){var e,n;return e={},i("next"),i("throw",function(t){throw t}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,o){e[i]=t[i]?function(e){return(n=!n)?{value:v(t[i](e)),done:"return"===i}:o?o(e):e}:o}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=f(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise(function(i,o){!function(t,e,n,i){Promise.resolve(i).then(function(e){t({value:e,done:n})},e)}(i,o,(e=t[n](e)).done,e.value)})}}}function O(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function P(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function w(t){return t&&t.__esModule?t:{default:t}}function M(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function x(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},65972:function(t){"use strict";
1t.exports='.ol-box {\n  box-sizing: border-box;\n  border-radius: 2px;\n  border: 2px solid blue;\n}\n\n.ol-mouse-position {\n  top: 8px;\n  right: 8px;\n  position: absolute;\n}\n\n.ol-scale-line {\n  background: rgba(0,60,136,0.3);\n  border-radius: 4px;\n  bottom: 8px;\n  left: 8px;\n  padding: 2px;\n  position: absolute;\n}\n\n.ol-scale-line-inner {\n  border: 1px solid #eee;\n  border-top: none;\n  color: #eee;\n  font-size: 10px;\n  text-align: center;\n  margin: 1px;\n  will-change: contents, width;\n  transition: all 0.25s;\n}\n\n.ol-scale-bar {\n  position: absolute;\n  bottom: 8px;\n  left: 8px;\n}\n\n.ol-scale-step-marker {\n  width: 1px;\n  height: 15px;\n  background-color: #000000;\n  float: right;\n  z-Index: 10;\n}\n\n.ol-scale-step-text {\n  position: absolute;\n  bottom: -5px;\n  font-size: 12px;\n  z-Index: 11;\n  color: #000000;\n  text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF;\n}\n\n.ol-scale-text {\n  position: absolute;\n  font-size: 14px;\n  text-align: center;\n  bottom: 25px;\n  color: #000000;\n  text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF;\n}\n\n.ol-scale-singlebar {\n  position: relative;\n  height: 10px;\n  z-Index: 9;\n  box-sizing: border-box;\n  border: 1px solid black;\n}\n\n.ol-unsupported {\n  display: none;\n}\n\n.ol-viewport, .ol-unselectable {\n  -webkit-touch-callout: none;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  user-select: none;\n  -webkit-tap-highlight-color: rgba(0,0,0,0);\n}\n\n.ol-selectable {\n  -webkit-touch-callout: default;\n  -webkit-user-select: text;\n  -moz-user-select: text;\n  user-select: text;\n}\n\n.ol-grabbing {\n  cursor: grabbing;\n}\n\n.ol-grab {\n  cursor: move;\n  cursor: grab;\n}\n\n.ol-control {\n  position: absolute;\n  background-color: rgba(255,255,255,0.4);\n  border-radius: 4px;\n  padding: 2px;\n}\n\n.ol-control:hover {\n  background-color: rgba(255,255,255,0.6);\n}\n\n.ol-zoom {\n  top: .5em;\n  left: .5em;\n}\n\n.ol-rotate {\n  top: .5em;\n  right: .5em;\n  transition: opacity .25s linear, visibility 0s linear;\n}\n\n.ol-rotate.ol-hidden {\n  opacity: 0;\n  visibility: hidden;\n  transition: opacity .25s linear, visibility 0s linear .25s;\n}\n\n.ol-zoom-extent {\n  top: 4.643em;\n  left: .5em;\n}\n\n.ol-full-screen {\n  right: .5em;\n  top: .5em;\n}\n\n.ol-control button {\n  display: block;\n  margin: 1px;\n  padding: 0;\n  color: white;\n  font-size: 1.14em;\n  font-weight: bold;\n  text-decoration: none;\n  text-align: center;\n  height: 1.375em;\n  width: 1.375em;\n  line-height: .4em;\n  background-color: rgba(0,60,136,0.5);\n  border: none;\n  border-radius: 2px;\n}\n\n.ol-control button::-moz-focus-inner {\n  border: none;\n  padding: 0;\n}\n\n.ol-zoom-extent button {\n  line-height: 1.4em;\n}\n\n.ol-compass {\n  display: block;\n  font-weight: normal;\n  font-size: 1.2em;\n  will-change: transform;\n}\n\n.ol-touch .ol-control button {\n  font-size: 1.5em;\n}\n\n.ol-touch .ol-zoom-extent {\n  top: 5.5em;\n}\n\n.ol-control button:hover,\n.ol-control button:focus {\n  text-decoration: none;\n  background-color: rgba(0,60,136,0.7);\n}\n\n.ol-zoom .ol-zoom-in {\n  border-radius: 2px 2px 0 0;\n}\n\n.ol-zoom .ol-zoom-out {\n  border-radius: 0 0 2px 2px;\n}\n\n.ol-attribution {\n  text-align: right;\n  bottom: .5em;\n  right: .5em;\n  max-width: calc(100% - 1.3em);\n}\n\n.ol-attribution ul {\n  margin: 0;\n  padding: 0 .5em;\n  color: #000;\n  text-shadow: 0 0 2px #fff;\n}\n\n.ol-attribution li {\n  display: inline;\n  list-style: none;\n}\n\n.ol-attribution li:not(:last-child):after {\n  content: " ";\n}\n\n.ol-attribution img {\n  max-height: 2em;\n  max-width: inherit;\n  vertical-align: middle;\n}\n\n.ol-attribution ul, .ol-attribution button {\n  display: inline-block;\n}\n\n.ol-attribution.ol-collapsed ul {\n  display: none;\n}\n\n.ol-attribution:not(.ol-collapsed) {\n  background: rgba(255,255,255,0.8);\n}\n\n.ol-attribution.ol-uncollapsible {\n  bottom: 0;\n  right: 0;\n  border-radius: 4px 0 0;\n}\n\n.ol-attribution.ol-uncollapsible img {\n  margin-top: -.2em;\n  max-height: 1.6em;\n}\n\n.ol-attribution.ol-uncollapsible button {\n  display: none;\n}\n\n.ol-zoomslider {\n  top: 4.5em;\n  left: .5em;\n  height: 200px;\n}\n\n.ol-zoomslider button {\n  position: relative;\n  height: 10px;\n}\n\n.ol-touch .ol-zoomslider {\n  top: 5.5em;\n}\n\n.ol-overviewmap {\n  left: 0.5em;\n  bottom: 0.5em;\n}\n\n.ol-overviewmap.ol-uncollapsible {\n  bottom: 0;\n  left: 0;\n  border-radius: 0 4px 0 0;\n}\n\n.ol-overviewmap .ol-overviewmap-map,\n.ol-overviewmap button {\n  display: inline-block;\n}\n\n.ol-overviewmap .ol-overviewmap-map {\n  border: 1px solid #7b98bc;\n  height: 150px;\n  margin: 2px;\n  width: 150px;\n}
1\n\n.ol-overviewmap:not(.ol-collapsed) button{\n  bottom: 1px;\n  left: 2px;\n  position: absolute;\n}\n\n.ol-overviewmap.ol-collapsed .ol-overviewmap-map,\n.ol-overviewmap.ol-uncollapsible button {\n  display: none;\n}\n\n.ol-overviewmap:not(.ol-collapsed) {\n  background: rgba(255,255,255,0.8);\n}\n\n.ol-overviewmap-box {\n  border: 2px dotted rgba(0,60,136,0.7);\n}\n\n.ol-overviewmap .ol-overviewmap-box:hover {\n  cursor: move;\n}\n'},56249:function(){}},function(t){t(t.s=44989)}])})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.