(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",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.closed||e.complete()}}},"+umK":function(t,e,n){"use strict";function i(){}n.d(e,"a",function(){return i})},"/PVf":function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i=function(t){var e=("; "+document.cookie).split("; "+t+"=");return 2===e.length?e.pop().split(";").shift():null},r=function(t){document.cookie=t+"=; Max-Age=-99999999;"}},"/Vy8":function(t,e,n){"use strict";var i;n.d(e,"a",function(){return i}),function(t){t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right",t.Center="center"}(i||(i={}))},"/WFX":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.getQuote=function(){return this.httpClient.get(this.constants.apiURL()+"/website/quote/")},t.prototype.getFAQ=function(){return this.httpClient.get(this.constants.apiURL()+"/dashboard/faq/")},t.prototype.getTermsAndConditions=function(){return this.httpClient.get(this.constants.apiURL()+"/website/term/")},t}()},"/WYv":function(t,e,n){"use strict";function i(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},"/mbx":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("VnD/"),r=function(){function t(t,e,n,i){this.websiteService=t,this.bsModalEventsEmitter=e,this.changeDetectorRef=n,this.bsModalRef=i,this.mobileWidth=576,this.loading=!0,this.subscriptions=[]}return t.prototype.ngOnInit=function(){var t=this;this.subscriptions.push(this.bsModalEventsEmitter.bsModalStateChanged$.pipe(Object(i.a)(function(e){return e===t.bsModalRef})).subscribe(function(){t.websiteService.getTermsAndConditions().subscribe(function(e){t.termsAndConditions=e,t.loading=!1,t.changeDetectorRef.markForCheck()})}))},t.prototype.ngAfterViewInit=function(){window.innerWidth<=this.mobileWidth&&this.toFullscreen()},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.prototype.toFullscreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement.parentElement,n=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.display="flex",t.style.margin="0",t.style.padding="0",t.style.width="100%",t.style.maxWidth="unset",t.style.minHeight="100%",t.style.height="100%",e.style.borderRadius="0",n.style.display="block",n.style.height="100%"},t}()},0:function(t,e,n){t.exports=n("zUnb")},"0/uQ":function(t,e,n){"use strict";var i=n("6blF"),r=n("/WYv"),o=n("2ePl"),a=n("xTla"),s=n("En8+"),l=n("IUTb"),u=n("pugT"),c=n("S5XQ"),d=n("u67D"),p=n("JcRv"),h=n("Fxb1");function f(t,e){if(!e)return t instanceof i.a?t:new i.a(Object(h.a)(t));if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new i.a(e?function(n){var i=new u.a;return i.add(e.schedule(function(){var r=t[a.a]();i.add(r.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}:Object(p.a)(t))}(t,e);if(Object(r.a)(t))return function(t,e){return new i.a(e?function(n){var i=new u.a;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}:Object(c.a)(t))}(t,e);if(Object(o.a)(t))return Object(l.a)(t,e);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(e?function(n){var i,r=new u.a;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(function(){i=t[s.a](),r.add(e.schedule(function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}}))})),r}:Object(d.a)(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}n.d(e,"a",function(){return f})},"0JBz":function(t,e,n){t.exports=function(){"use strict";var t="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,e="undefined"==typeof window?{document:t,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,n=function(t){for(var e=0;e<t.length;e+=1)this[e]=t[e];return this.length=t.length,this};function i(i,r){var o=[],a=0;if(i&&!r&&i instanceof n)return i;if(i)if("string"==typeof i){var s,l,u=i.trim();if(u.indexOf("<")>=0&&u.indexOf(">")>=0){var c="div";for(0===u.indexOf("<li")&&(c="ul"),0===u.indexOf("<tr")&&(c="tbody"),0!==u.indexOf("<td")&&0!==u.indexOf("<th")||(c="tr"),0===u.indexOf("<tbody")&&(c="table"),0===u.indexOf("<option")&&(c="select"),(l=t.createElement(c)).innerHTML=u,a=0;a<l.childNodes.length;a+=1)o.push(l.childNodes[a])}else for(s=r||"#"!==i[0]||i.match(/[ .<>:~]/)?(r||t).querySelectorAll(i.trim()):[t.getElementById(i.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&o.push(s[a])}else if(i.nodeType||i===e||i===t)o.push(i);else if(i.length>0&&i[0].nodeType)for(a=0;a<i.length;a+=1)o.push(i[a]);return new n(o)}function r(t){for(var e=[],n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}i.fn=n.prototype,i.Class=n,i.Dom7=n;var o={addClass:function(t){if(void 0===t)return this;for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(e[n]);return this},removeClass:function(t){for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(e[n]);return this},hasClass:function(t){return!!this[0]&&this[0].classList.contains(t)},toggleClass:function(t){for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(e[n]);return this},attr:function(t,e){var n=arguments;if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(var i=0;i<this.length;i+=1)if(2===n.length)this[i].setAttribute(t,e);else for(var r in t)this[i][r]=t[r],this[i].setAttribute(r,t[r]);return this},removeAttr:function(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this},data:function(t,e){var n;if(void 0!==e){for(var i=0;i<this.length;i+=1)(n=this[i]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[t]=e;return this}if(n=this[0])return n.dom7ElementDataStorage&&t in n.dom7ElementDataStorage?n.dom7ElementDataStorage[t]:n.getAttribute("data-"+t)||void 0},transform:function(t){for(var e=0;e<this.length;e+=1){var n=this[e].style;n.webkitTransform=t,n.transform=t}return this},transition:function(t){"string"!=typeof t&&(t+="ms");for(var e=0;e<this.length;e+=1){var n=this[e].style;n.webkitTransitionDuration=t,n.transitionDuration=t}return this},on:function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=e[0],o=e[1],a=e[2],s=e[3];function l(t){var e=t.target;if(e){var n=t.target.dom7EventData||[];if(n.indexOf(t)<0&&n.unshift(t),i(e).is(o))a.apply(e,n);else for(var r=i(e).parents(),s=0;s<r.length;s+=1)i(r[s]).is(o)&&a.apply(r[s],n)}}function u(t){var e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),a.apply(this,e)}"function"==typeof e[1]&&(r=(t=e)[0],a=t[1],s=t[2],o=void 0),s||(s=!1);for(var c,d=r.split(" "),p=0;p<this.length;p+=1){var h=this[p];if(o)for(c=0;c<d.length;c+=1){var f=d[c];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[f]||(h.dom7LiveListeners[f]=[]),h.dom7LiveListeners[f].push({listener:a,proxyListener:l}),h.addEventListener(f,l,s)}else for(c=0;c<d.length;c+=1){var m=d[c];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[m]||(h.dom7Listeners[m]=[]),h.dom7Listeners[m].push({listener:a,proxyListener:u}),h.addEventListener(m,u,s)}}return this},off:function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=e[0],r=e[1],o=e[2],a=e[3];"function"==typeof e[1]&&(i=(t=e)[0],o=t[1],a=t[2],r=void 0),a||(a=!1);for(var s=i.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var d=this[c],p=void 0;if(!r&&d.dom7Listeners?p=d.dom7Listeners[u]:r&&d.dom7LiveListeners&&(p=d.dom7LiveListeners[u]),p&&p.length)for(var h=p.length-1;h>=0;h-=1){var f=p[h];o&&f.listener===o?(d.removeEventListener(u,f.proxyListener,a),p.splice(h,1)):o&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===o?(d.removeEventListener(u,f.proxyListener,a),p.splice(h,1)):o||(d.removeEventListener(u,f.proxyListener,a),p.splice(h,1))}}return this},trigger:function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];for(var r=n[0].split(" "),o=n[1],a=0;a<r.length;a+=1)for(var s=r[a],l=0;l<this.length;l+=1){var u=this[l],c=void 0;try{c=new e.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0})}catch(d){(c=t.createEvent("Event")).initEvent(s,!0,!0),c.detail=o}u.dom7EventData=n.filter(function(t,e){return e>0}),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}return this},transitionEnd:function(t){var e,n=["webkitTransitionEnd","transitionend"],i=this;function r(o){if(o.target===this)for(t.call(this,o),e=0;e<n.length;e+=1)i.off(n[e],r)}if(t)for(e=0;e<n.length;e+=1)i.on(n[e],r);return this},outerWidth:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var n=this[0],i=n.getBoundingClientRect(),r=t.body;return{top:i.top+(n===e?e.scrollY:n.scrollTop)-(n.clientTop||r.clientTop||0),left:i.left+(n===e?e.scrollX:n.scrollLeft)-(n.clientLeft||r.clientLeft||0)}}return null},css:function(t,n){var i;if(1===arguments.length){if("string"!=typeof t){for(i=0;i<this.length;i+=1)for(var r in t)this[i].style[r]=t[r];return this}if(this[0])return e.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(i=0;i<this.length;i+=1)this[i].style[t]=n;return this}return this},each:function(t){if(!t)return this;for(var e=0;e<this.length;e+=1)if(!1===t.call(this[e],e,this[e]))return this;return this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:void 0;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this},text:function(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this},is:function(r){var o,a,s=this[0];if(!s||void 0===r)return!1;if("string"==typeof r){if(s.matches)return s.matches(r);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(r);if(s.msMatchesSelector)return s.msMatchesSelector(r);for(o=i(r),a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}if(r===t)return s===t;if(r===e)return s===e;if(r.nodeType||r instanceof n){for(o=r.nodeType?[r]:r,a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}return!1},index:function(){var t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(t){if(void 0===t)return this;var e,i=this.length;return new n(t>i-1?[]:t<0?(e=i+t)<0?[]:[this[e]]:[this[t]])},append:function(){for(var e,i=[],r=arguments.length;r--;)i[r]=arguments[r];for(var o=0;o<i.length;o+=1){e=i[o];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var s=t.createElement("div");for(s.innerHTML=e;s.firstChild;)this[a].appendChild(s.firstChild)}else if(e instanceof n)for(var l=0;l<e.length;l+=1)this[a].appendChild(e[l]);else this[a].appendChild(e)}return this},prepend:function(e){var i,r;for(i=0;i<this.length;i+=1)if("string"==typeof e){var o=t.createElement("div");for(o.innerHTML=e,r=o.childNodes.length-1;r>=0;r-=1)this[i].insertBefore(o.childNodes[r],this[i].childNodes[0])}else if(e instanceof n)for(r=0;r<e.length;r+=1)this[i].insertBefore(e[r],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&i(this[0].nextElementSibling).is(t)?new n([this[0].nextElementSibling]):new n([]):new n(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):new n([])},nextAll:function(t){var e=[],r=this[0];if(!r)return new n([]);for(;r.nextElementSibling;){var o=r.nextElementSibling;t?i(o).is(t)&&e.push(o):e.push(o),r=o}return new n(e)},prev:function(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&i(e.previousElementSibling).is(t)?new n([e.previousElementSibling]):new n([]):new n(e.previousElementSibling?[e.previousElementSibling]:[])}return new n([])},prevAll:function(t){var e=[],r=this[0];if(!r)return new n([]);for(;r.previousElementSibling;){var o=r.previousElementSibling;t?i(o).is(t)&&e.push(o):e.push(o),r=o}return new n(e)},parent:function(t){for(var e=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?i(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return i(r(e))},parents:function(t){for(var e=[],n=0;n<this.length;n+=1)for(var o=this[n].parentNode;o;)t?i(o).is(t)&&e.push(o):e.push(o),o=o.parentNode;return i(r(e))},closest:function(t){var e=this;return void 0===t?new n([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){for(var e=[],i=0;i<this.length;i+=1)for(var r=this[i].querySelectorAll(t),o=0;o<r.length;o+=1)e.push(r[o]);return new n(e)},children:function(t){for(var e=[],o=0;o<this.length;o+=1)for(var a=this[o].childNodes,s=0;s<a.length;s+=1)t?1===a[s].nodeType&&i(a[s]).is(t)&&e.push(a[s]):1===a[s].nodeType&&e.push(a[s]);return new n(r(e))},remove:function(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this},add:function(){for(var t,e,n=[],r=arguments.length;r--;)n[r]=arguments[r];for(t=0;t<n.length;t+=1){var o=i(n[t]);for(e=0;e<o.length;e+=1)this[this.length]=o[e],this.length+=1}return this},styles:function(){return this[0]?e.getComputedStyle(this[0],null):{}}};Object.keys(o).forEach(function(t){i.fn[t]=i.fn[t]||o[t]});var a,s,l,u={deleteProps:function(t){var e=t;Object.keys(e).forEach(function(t){try{e[t]=null}catch(n){}try{delete e[t]}catch(n){}})},nextTick:function(t,e){return void 0===e&&(e=0),setTimeout(t,e)},now:function(){return Date.now()},getTranslate:function(t,n){var i,r,o;void 0===n&&(n="x");var a=e.getComputedStyle(t,null);return e.WebKitCSSMatrix?((r=a.transform||a.webkitTransform).split(",").length>6&&(r=r.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),o=new e.WebKitCSSMatrix("none"===r?"":r)):i=(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===n&&(r=e.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===n&&(r=e.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0},parseUrlQuery:function(t){var n,i,r,o,a={},s=t||e.location.href;if("string"==typeof s&&s.length)for(o=(i=(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"").split("&").filter(function(t){return""!==t})).length,n=0;n<o;n+=1)r=i[n].replace(/#\S+/g,"").split("="),a[decodeURIComponent(r[0])]=void 0===r[1]?void 0:decodeURIComponent(r[1])||"";return a},isObject:function(t){return"object"==typeof t&&null!==t&&t.constructor&&t.constructor===Object},extend:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var n=Object(t[0]),i=1;i<t.length;i+=1){var r=t[i];if(null!=r)for(var o=Object.keys(Object(r)),a=0,s=o.length;a<s;a+=1){var l=o[a],c=Object.getOwnPropertyDescriptor(r,l);void 0!==c&&c.enumerable&&(u.isObject(n[l])&&u.isObject(r[l])?u.extend(n[l],r[l]):!u.isObject(n[l])&&u.isObject(r[l])?(n[l]={},u.extend(n[l],r[l])):n[l]=r[l])}}return n}},c=(l=t.createElement("div"),{touch:e.Modernizr&&!0===e.Modernizr.touch||!!(e.navigator.maxTouchPoints>0||"ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!(e.navigator.pointerEnabled||e.PointerEvent||"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>0),prefixedPointerEvents:!!e.navigator.msPointerEnabled,transition:(s=l.style,"transition"in s||"webkitTransition"in s||"MozTransition"in s),transforms3d:e.Modernizr&&!0===e.Modernizr.csstransforms3d||function(){var t=l.style;return"webkitPerspective"in t||"MozPerspective"in t||"OPerspective"in t||"MsPerspective"in t||"perspective"in t}(),flexbox:function(){for(var t=l.style,e="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<e.length;n+=1)if(e[n]in t)return!0;return!1}(),observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(i){}return t}(),gestures:"ongesturestart"in e}),d={isIE:!!e.navigator.userAgent.match(/Trident/g)||!!e.navigator.userAgent.match(/MSIE/g),isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:(a=e.navigator.userAgent.toLowerCase(),a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)},p=function(t){void 0===t&&(t={});var e=this;e.params=t,e.eventsListeners={},e.params&&e.params.on&&Object.keys(e.params.on).forEach(function(t){e.on(t,e.params.on[t])})},h={components:{configurable:!0}};p.prototype.on=function(t,e,n){var i=this;if("function"!=typeof e)return i;var r=n?"unshift":"push";return t.split(" ").forEach(function(t){i.eventsListeners[t]||(i.eventsListeners[t]=[]),i.eventsListeners[t][r](e)}),i},p.prototype.once=function(t,e,n){var i=this;if("function"!=typeof e)return i;function r(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];e.apply(i,n),i.off(t,r),r.f7proxy&&delete r.f7proxy}return r.f7proxy=e,i.on(t,r,n)},p.prototype.off=function(t,e){var n=this;return n.eventsListeners?(t.split(" ").forEach(function(t){void 0===e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].length&&n.eventsListeners[t].forEach(function(i,r){(i===e||i.f7proxy&&i.f7proxy===e)&&n.eventsListeners[t].splice(r,1)})}),n):n},p.prototype.emit=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,i,r,o=this;return o.eventsListeners?("string"==typeof t[0]||Array.isArray(t[0])?(n=t[0],i=t.slice(1,t.length),r=o):(n=t[0].events,i=t[0].data,r=t[0].context||o),(Array.isArray(n)?n:n.split(" ")).forEach(function(t){if(o.eventsListeners&&o.eventsListeners[t]){var e=[];o.eventsListeners[t].forEach(function(t){e.push(t)}),e.forEach(function(t){t.apply(r,i)})}}),o):o},p.prototype.useModulesParams=function(t){var e=this;e.modules&&Object.keys(e.modules).forEach(function(n){var i=e.modules[n];i.params&&u.extend(t,i.params)})},p.prototype.useModules=function(t){void 0===t&&(t={});var e=this;e.modules&&Object.keys(e.modules).forEach(function(n){var i=e.modules[n],r=t[n]||{};i.instance&&Object.keys(i.instance).forEach(function(t){var n=i.instance[t];e[t]="function"==typeof n?n.bind(e):n}),i.on&&e.on&&Object.keys(i.on).forEach(function(t){e.on(t,i.on[t])}),i.create&&i.create.bind(e)(r)})},h.components.set=function(t){this.use&&this.use(t)},p.installModule=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this;i.prototype.modules||(i.prototype.modules={});var r=t.name||Object.keys(i.prototype.modules).length+"_"+u.now();return i.prototype.modules[r]=t,t.proto&&Object.keys(t.proto).forEach(function(e){i.prototype[e]=t.proto[e]}),t.static&&Object.keys(t.static).forEach(function(e){i[e]=t.static[e]}),t.install&&t.install.apply(i,e),i},p.use=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this;return Array.isArray(t)?(t.forEach(function(t){return i.installModule(t)}),i):i.installModule.apply(i,[t].concat(e))},Object.defineProperties(p,h);var f={updateSize:function(){var t,e,n=this.$el;e=void 0!==this.params.height?this.params.height:n[0].clientHeight,0===(t=void 0!==this.params.width?this.params.width:n[0].clientWidth)&&this.isHorizontal()||0===e&&this.isVertical()||(t=t-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),e=e-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),u.extend(this,{width:t,height:e,size:this.isHorizontal()?t:e}))},updateSlides:function(){var t=this.params,n=this.$wrapperEl,i=this.size,r=this.rtlTranslate,o=this.wrongRTL,a=this.virtual&&t.virtual.enabled,s=a?this.virtual.slides.length:this.slides.length,l=n.children("."+this.params.slideClass),p=a?this.virtual.slides.length:l.length,h=[],f=[],m=[],g=t.slidesOffsetBefore;"function"==typeof g&&(g=t.slidesOffsetBefore.call(this));var v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(this));var y,b,_=this.snapGrid.length,w=this.snapGrid.length,C=t.spaceBetween,x=-g,E=0,S=0;if(void 0!==i){"string"==typeof C&&C.indexOf("%")>=0&&(C=parseFloat(C.replace("%",""))/100*i),this.virtualSize=-C,l.css(r?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(y=Math.floor(p/t.slidesPerColumn)===p/this.params.slidesPerColumn?p:Math.ceil(p/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(y=Math.max(y,t.slidesPerView*t.slidesPerColumn)));for(var O,k=t.slidesPerColumn,T=y/k,P=Math.floor(p/t.slidesPerColumn),I=0;I<p;I+=1){b=0;var M=l.eq(I);if(t.slidesPerColumn>1){var R=void 0,D=void 0,A=void 0;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)A=I-(D=Math.floor(I/k))*k,(D>P||D===P&&A===k-1)&&(A+=1)>=k&&(A=0,D+=1);else{var j=Math.floor(I/t.slidesPerGroup);D=I-(A=Math.floor(I/t.slidesPerView)-j*t.slidesPerColumn)*t.slidesPerView-j*t.slidesPerView}M.css({"-webkit-box-ordinal-group":R=D+A*y/k,"-moz-box-ordinal-group":R,"-ms-flex-order":R,"-webkit-order":R,order:R})}else D=I-(A=Math.floor(I/T))*T;M.css("margin-"+(this.isHorizontal()?"top":"left"),0!==A&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",A)}if("none"!==M.css("display")){if("auto"===t.slidesPerView){var L=e.getComputedStyle(M[0],null),N=M[0].style.transform,V=M[0].style.webkitTransform;if(N&&(M[0].style.transform="none"),V&&(M[0].style.webkitTransform="none"),t.roundLengths)b=this.isHorizontal()?M.outerWidth(!0):M.outerHeight(!0);else if(this.isHorizontal()){var F=parseFloat(L.getPropertyValue("width")),H=parseFloat(L.getPropertyValue("padding-left")),U=parseFloat(L.getPropertyValue("padding-right")),z=parseFloat(L.getPropertyValue("margin-left")),B=parseFloat(L.getPropertyValue("margin-right")),W=L.getPropertyValue("box-sizing");b=W&&"border-box"===W&&!d.isIE?F+z+B:F+H+U+z+B}else{var G=parseFloat(L.getPropertyValue("height")),q=parseFloat(L.getPropertyValue("padding-top")),Y=parseFloat(L.getPropertyValue("padding-bottom")),$=parseFloat(L.getPropertyValue("margin-top")),K=parseFloat(L.getPropertyValue("margin-bottom")),Z=L.getPropertyValue("box-sizing");b=Z&&"border-box"===Z&&!d.isIE?G+$+K:G+q+Y+$+K}N&&(M[0].style.transform=N),V&&(M[0].style.webkitTransform=V),t.roundLengths&&(b=Math.floor(b))}else b=(i-(t.slidesPerView-1)*C)/t.slidesPerView,t.roundLengths&&(b=Math.floor(b)),l[I]&&(this.isHorizontal()?l[I].style.width=b+"px":l[I].style.height=b+"px");l[I]&&(l[I].swiperSlideSize=b),m.push(b),t.centeredSlides?(x=x+b/2+E/2+C,0===E&&0!==I&&(x=x-i/2-C),0===I&&(x=x-i/2-C),Math.abs(x)<.001&&(x=0),t.roundLengths&&(x=Math.floor(x)),S%t.slidesPerGroup==0&&h.push(x),f.push(x)):(t.roundLengths&&(x=Math.floor(x)),S%t.slidesPerGroup==0&&h.push(x),f.push(x),x=x+b+C),this.virtualSize+=b+C,E=b,S+=1}}if(this.virtualSize=Math.max(this.virtualSize,i)+v,r&&o&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:this.virtualSize+t.spaceBetween+"px"}),c.flexbox&&!t.setWrapperSize||(this.isHorizontal()?n.css({width:this.virtualSize+t.spaceBetween+"px"}):n.css({height:this.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(this.virtualSize=(b+t.spaceBetween)*y,this.virtualSize=Math.ceil(this.virtualSize/t.slidesPerColumn)-t.spaceBetween,this.isHorizontal()?n.css({width:this.virtualSize+t.spaceBetween+"px"}):n.css({height:this.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){O=[];for(var Q=0;Q<h.length;Q+=1){var X=h[Q];t.roundLengths&&(X=Math.floor(X)),h[Q]<this.virtualSize+h[0]&&O.push(X)}h=O}if(!t.centeredSlides){O=[];for(var J=0;J<h.length;J+=1){var tt=h[J];t.roundLengths&&(tt=Math.floor(tt)),h[J]<=this.virtualSize-i&&O.push(tt)}h=O,Math.floor(this.virtualSize-i)-Math.floor(h[h.length-1])>1&&h.push(this.virtualSize-i)}if(0===h.length&&(h=[0]),0!==t.spaceBetween&&(this.isHorizontal()?l.css(r?{marginLeft:C+"px"}:{marginRight:C+"px"}):l.css({marginBottom:C+"px"})),t.centerInsufficientSlides){var et=0;if(m.forEach(function(e){et+=e+(t.spaceBetween?t.spaceBetween:0)}),(et-=t.spaceBetween)<i){var nt=(i-et)/2;h.forEach(function(t,e){h[e]=t-nt}),f.forEach(function(t,e){f[e]=t+nt})}}u.extend(this,{slides:l,snapGrid:h,slidesGrid:f,slidesSizesGrid:m}),p!==s&&this.emit("slidesLengthChange"),h.length!==_&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),f.length!==w&&this.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(t){var e,n=[],i=0;if("number"==typeof t?this.setTransition(t):!0===t&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(e=0;e<Math.ceil(this.params.slidesPerView);e+=1){var r=this.activeIndex+e;if(r>this.slides.length)break;n.push(this.slides.eq(r)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(e=0;e<n.length;e+=1)if(void 0!==n[e]){var o=n[e].offsetHeight;i=o>i?o:i}i&&this.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){for(var t=this.slides,e=0;e<t.length;e+=1)t[e].swiperSlideOffset=this.isHorizontal()?t[e].offsetLeft:t[e].offsetTop},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);var e=this.params,n=this.slides,r=this.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();var o=-t;r&&(o=t),n.removeClass(e.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var a=0;a<n.length;a+=1){var s=n[a],l=(o+(e.centeredSlides?this.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+e.spaceBetween);if(e.watchSlidesVisibility){var u=-(o-s.swiperSlideOffset),c=u+this.slidesSizesGrid[a];(u>=0&&u<this.size-1||c>1&&c<=this.size||u<=0&&c>=this.size)&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(a),n.eq(a).addClass(e.slideVisibleClass))}s.progress=r?-l:l}this.visibleSlides=i(this.visibleSlides)}},updateProgress:function(t){void 0===t&&(t=this&&this.translate||0);var e=this.params,n=this.maxTranslate()-this.minTranslate(),i=this.progress,r=this.isBeginning,o=this.isEnd,a=r,s=o;0===n?(i=0,r=!0,o=!0):(r=(i=(t-this.minTranslate())/n)<=0,o=i>=1),u.extend(this,{progress:i,isBeginning:r,isEnd:o}),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesProgress(t),r&&!a&&this.emit("reachBeginning toEdge"),o&&!s&&this.emit("reachEnd toEdge"),(a&&!r||s&&!o)&&this.emit("fromEdge"),this.emit("progress",i)},updateSlidesClasses:function(){var t,e=this.slides,n=this.params,i=this.$wrapperEl,r=this.activeIndex,o=this.realIndex,a=this.virtual&&n.virtual.enabled;e.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(t=a?this.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+r+'"]'):e.eq(r)).addClass(n.slideActiveClass),n.loop&&(t.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass));var s=t.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===s.length&&(s=e.eq(0)).addClass(n.slideNextClass);var l=t.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===l.length&&(l=e.eq(-1)).addClass(n.slidePrevClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),l.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(t){var e,n=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,r=this.snapGrid,o=this.params,a=this.activeIndex,s=this.realIndex,l=this.snapIndex,c=t;if(void 0===c){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?n>=i[d]&&n<i[d+1]-(i[d+1]-i[d])/2?c=d:n>=i[d]&&n<i[d+1]&&(c=d+1):n>=i[d]&&(c=d);o.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((e=r.indexOf(n)>=0?r.indexOf(n):Math.floor(c/o.slidesPerGroup))>=r.length&&(e=r.length-1),c!==a){var p=parseInt(this.slides.eq(c).attr("data-swiper-slide-index")||c,10);u.extend(this,{snapIndex:e,realIndex:p,previousIndex:a,activeIndex:c}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),s!==p&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else e!==l&&(this.snapIndex=e,this.emit("snapIndexChange"))},updateClickedSlide:function(t){var e=this.params,n=i(t.target).closest("."+e.slideClass)[0],r=!1;if(n)for(var o=0;o<this.slides.length;o+=1)this.slides[o]===n&&(r=!0);if(!n||!r)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=n,this.clickedIndex=this.virtual&&this.params.virtual.enabled?parseInt(i(n).attr("data-swiper-slide-index"),10):i(n).index(),e.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},m={getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");var e=this.rtlTranslate,n=this.translate;if(this.params.virtualTranslate)return e?-n:n;var i=u.getTranslate(this.$wrapperEl[0],t);return e&&(i=-i),i||0},setTranslate:function(t,e){var n=this.rtlTranslate,i=this.params,r=this.$wrapperEl,o=this.progress,a=0,s=0;this.isHorizontal()?a=n?-t:t:s=t,i.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),i.virtualTranslate||r.transform(c.transforms3d?"translate3d("+a+"px, "+s+"px, 0px)":"translate("+a+"px, "+s+"px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:s;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(t-this.minTranslate())/l)!==o&&this.updateProgress(t),this.emit("setTranslate",this.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},g={slideTo:function(t,e,n,i){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0);var r=this,o=t;o<0&&(o=0);var a=r.params,s=r.snapGrid,l=r.slidesGrid,u=r.previousIndex,d=r.activeIndex,p=r.rtlTranslate;if(r.animating&&a.preventInteractionOnTransition)return!1;var h=Math.floor(o/a.slidesPerGroup);h>=s.length&&(h=s.length-1),(d||a.initialSlide||0)===(u||0)&&n&&r.emit("beforeSlideChangeStart");var f,m=-s[h];if(r.updateProgress(m),a.normalizeSlideIndex)for(var g=0;g<l.length;g+=1)-Math.floor(100*m)>=Math.floor(100*l[g])&&(o=g);if(r.initialized&&o!==d){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(d||0)!==o)return!1}return f=o>d?"next":o<d?"prev":"reset",p&&-m===r.translate||!p&&m===r.translate?(r.updateActiveIndex(o),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(m),"reset"!==f&&(r.transitionStart(n,f),r.transitionEnd(n,f)),!1):(0!==e&&c.transition?(r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(n,f),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,f))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))):(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(n,f),r.transitionEnd(n,f)),!0)},slideToLoop:function(t,e,n,i){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0);var r=t;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,e,n,i)},slideNext:function(t,e,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var i=this.params;return i.loop?!this.animating&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+i.slidesPerGroup,t,e,n)):this.slideTo(this.activeIndex+i.slidesPerGroup,t,e,n)},slidePrev:function(t,e,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var i=this.snapGrid,r=this.slidesGrid,o=this.rtlTranslate;if(this.params.loop){if(this.animating)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function a(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}var s,l=a(o?this.translate:-this.translate),u=i.map(function(t){return a(t)}),c=(r.map(function(t){return a(t)}),u.indexOf(l),i[u.indexOf(l)-1]);return void 0!==c&&(s=r.indexOf(c))<0&&(s=this.activeIndex-1),this.slideTo(s,t,e,n)},slideReset:function(t,e,n){return void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),this.slideTo(this.activeIndex,t,e,n)},slideToClosest:function(t,e,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var i=this.activeIndex,r=Math.floor(i/this.params.slidesPerGroup);if(r<this.snapGrid.length-1){var o=this.snapGrid[r];(this.rtlTranslate?this.translate:-this.translate)-o>(this.snapGrid[r+1]-o)/2&&(i=this.params.slidesPerGroup)}return this.slideTo(i,t,e,n)},slideToClickedSlide:function(){var t,e=this,n=e.params,r=e.$wrapperEl,o="auto"===n.slidesPerView?e.slidesPerViewDynamic():n.slidesPerView,a=e.clickedIndex;if(n.loop){if(e.animating)return;t=parseInt(i(e.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<e.loopedSlides-o/2||a>e.slides.length-e.loopedSlides+o/2?(e.loopFix(),a=r.children("."+n.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),u.nextTick(function(){e.slideTo(a)})):e.slideTo(a):a>e.slides.length-o?(e.loopFix(),a=r.children("."+n.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),u.nextTick(function(){e.slideTo(a)})):e.slideTo(a)}else e.slideTo(a)}},v={loopCreate:function(){var e=this,n=e.params,r=e.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var o=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var a=n.slidesPerGroup-o.length%n.slidesPerGroup;if(a!==n.slidesPerGroup){for(var s=0;s<a;s+=1){var l=i(t.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(l)}o=r.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=parseInt(n.loopedSlides||n.slidesPerView,10),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&(e.loopedSlides=o.length);var u=[],c=[];o.each(function(t,n){var r=i(n);t<e.loopedSlides&&c.push(n),t<o.length&&t>=o.length-e.loopedSlides&&u.push(n),r.attr("data-swiper-slide-index",t)});for(var d=0;d<c.length;d+=1)r.append(i(c[d].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var p=u.length-1;p>=0;p-=1)r.prepend(i(u[p].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var t,e=this.params,n=this.activeIndex,i=this.slides,r=this.loopedSlides,o=this.allowSlidePrev,a=this.allowSlideNext,s=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var u=-s[n]-this.getTranslate();n<r?(t=i.length-3*r+n,this.slideTo(t+=r,0,!1,!0)&&0!==u&&this.setTranslate((l?-this.translate:this.translate)-u)):("auto"===e.slidesPerView&&n>=2*r||n>=i.length-r)&&(t=-i.length+n+r,this.slideTo(t+=r,0,!1,!0)&&0!==u&&this.setTranslate((l?-this.translate:this.translate)-u)),this.allowSlidePrev=o,this.allowSlideNext=a},loopDestroy:function(){var t=this.params,e=this.slides;this.$wrapperEl.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),e.removeAttr("data-swiper-slide-index")}},y={setGrabCursor:function(t){if(!(c.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var e=this.el;e.style.cursor="move",e.style.cursor=t?"-webkit-grabbing":"-webkit-grab",e.style.cursor=t?"-moz-grabbin":"-moz-grab",e.style.cursor=t?"grabbing":"grab"}},unsetGrabCursor:function(){c.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},b={appendSlide:function(t){var e=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"==typeof t&&"length"in t)for(var i=0;i<t.length;i+=1)t[i]&&e.append(t[i]);else e.append(t);n.loop&&this.loopCreate(),n.observer&&c.observer||this.update()},prependSlide:function(t){var e=this.params,n=this.$wrapperEl,i=this.activeIndex;e.loop&&this.loopDestroy();var r=i+1;if("object"==typeof t&&"length"in t){for(var o=0;o<t.length;o+=1)t[o]&&n.prepend(t[o]);r=i+t.length}else n.prepend(t);e.loop&&this.loopCreate(),e.observer&&c.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(t,e){var n=this.$wrapperEl,i=this.params,r=this.activeIndex;i.loop&&(r-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+i.slideClass));var o=this.slides.length;if(t<=0)this.prependSlide(e);else if(t>=o)this.appendSlide(e);else{for(var a=r>t?r+1:r,s=[],l=o-1;l>=t;l-=1){var u=this.slides.eq(l);u.remove(),s.unshift(u)}if("object"==typeof e&&"length"in e){for(var d=0;d<e.length;d+=1)e[d]&&n.append(e[d]);a=r>t?r+e.length:r}else n.append(e);for(var p=0;p<s.length;p+=1)n.append(s[p]);i.loop&&this.loopCreate(),i.observer&&c.observer||this.update(),this.slideTo(i.loop?a+this.loopedSlides:a,0,!1)}},removeSlide:function(t){var e=this.params,n=this.$wrapperEl,i=this.activeIndex;e.loop&&(i-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+e.slideClass));var r,o=i;if("object"==typeof t&&"length"in t){for(var a=0;a<t.length;a+=1)this.slides[r=t[a]]&&this.slides.eq(r).remove(),r<o&&(o-=1);o=Math.max(o,0)}else this.slides[r=t]&&this.slides.eq(r).remove(),r<o&&(o-=1),o=Math.max(o,0);e.loop&&this.loopCreate(),e.observer&&c.observer||this.update(),this.slideTo(e.loop?o+this.loopedSlides:o,0,!1)},removeAllSlides:function(){for(var t=[],e=0;e<this.slides.length;e+=1)t.push(e);this.removeSlide(t)}},_=function(){var n=e.navigator.userAgent,i={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:e.cordova||e.phonegap,phonegap:e.cordova||e.phonegap},r=n.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),o=n.match(/(Android);?[\s\/]+([\d.]+)?/),a=n.match(/(iPad).*OS\s([\d_]+)/),s=n.match(/(iPod)(.*OS\s([\d_]+))?/),l=!a&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(r&&(i.os="windows",i.osVersion=r[2],i.windows=!0),o&&!r&&(i.os="android",i.osVersion=o[2],i.android=!0,i.androidChrome=n.toLowerCase().indexOf("chrome")>=0),(a||l||s)&&(i.os="ios",i.ios=!0),l&&!s&&(i.osVersion=l[2].replace(/_/g,"."),i.iphone=!0),a&&(i.osVersion=a[2].replace(/_/g,"."),i.ipad=!0),s&&(i.osVersion=s[3]?s[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&n.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=n.toLowerCase().split("version/")[1].split(" ")[0]),i.desktop=!(i.os||i.android||i.webView),i.webView=(l||a||s)&&n.match(/.*AppleWebKit(?!.*Safari)/i),i.os&&"ios"===i.os){var u=i.osVersion.split("."),c=t.querySelector('meta[name="viewport"]');i.minimalUi=!i.webView&&(s||l)&&(1*u[0]==7?1*u[1]>=1:1*u[0]>7)&&c&&c.getAttribute("content").indexOf("minimal-ui")>=0}return i.pixelRatio=e.devicePixelRatio||1,i}();function w(){var t=this.params,e=this.el;if(!e||0!==e.offsetWidth){t.breakpoints&&this.setBreakpoint();var n=this.allowSlideNext,i=this.allowSlidePrev,r=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),t.freeMode){var o=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses(),t.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),this.slideTo(("auto"===t.slidesPerView||t.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slides.length-1:this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=i,this.allowSlideNext=n,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}var C={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},x={update:f,translate:m,transition:{setTransition:function(t,e){this.$wrapperEl.transition(t),this.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);var n=this.activeIndex,i=this.previousIndex;this.params.autoHeight&&this.updateAutoHeight();var r=e;if(r||(r=n>i?"next":n<i?"prev":"reset"),this.emit("transitionStart"),t&&n!==i){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),this.emit("next"===r?"slideNextTransitionStart":"slidePrevTransitionStart")}},transitionEnd:function(t,e){void 0===t&&(t=!0);var n=this.activeIndex,i=this.previousIndex;this.animating=!1,this.setTransition(0);var r=e;if(r||(r=n>i?"next":n<i?"prev":"reset"),this.emit("transitionEnd"),t&&n!==i){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),this.emit("next"===r?"slideNextTransitionEnd":"slidePrevTransitionEnd")}}},slide:g,loop:v,grabCursor:y,manipulation:b,events:{attachEvents:function(){var n=this.params,r=this.touchEvents,o=this.el,a=this.wrapperEl;this.onTouchStart=(function(n){var r=this.touchEventsData,o=this.params,a=this.touches;if(!this.animating||!o.preventInteractionOnTransition){var s=n;if(s.originalEvent&&(s=s.originalEvent),r.isTouchEvent="touchstart"===s.type,(r.isTouchEvent||!("which"in s)||3!==s.which)&&!(!r.isTouchEvent&&"button"in s&&s.button>0||r.isTouched&&r.isMoved))if(o.noSwiping&&i(s.target).closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])this.allowClick=!0;else if(!o.swipeHandler||i(s).closest(o.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var l=a.currentX,c=a.currentY,d=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(!o.edgeSwipeDetection&&!o.iOSEdgeSwipeDetection||!(l<=d||l>=e.screen.width-d)){if(u.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=l,a.startY=c,r.touchStartTime=u.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==s.type){var p=!0;i(s.target).is(r.formElements)&&(p=!1),t.activeElement&&i(t.activeElement).is(r.formElements)&&t.activeElement!==s.target&&t.activeElement.blur(),(o.touchStartForcePreventDefault||p&&this.allowTouchMove&&o.touchStartPreventDefault)&&s.preventDefault()}this.emit("touchStart",s)}}}}).bind(this),this.onTouchMove=(function(e){var n=this.touchEventsData,r=this.params,o=this.touches,a=this.rtlTranslate,s=e;if(s.originalEvent&&(s=s.originalEvent),n.isTouched){if(!n.isTouchEvent||"mousemove"!==s.type){var l="touchmove"===s.type?s.targetTouches[0].pageX:s.pageX,c="touchmove"===s.type?s.targetTouches[0].pageY:s.pageY;if(s.preventedByNestedSwiper)return o.startX=l,void(o.startY=c);if(!this.allowTouchMove)return this.allowClick=!1,void(n.isTouched&&(u.extend(o,{startX:l,startY:c,currentX:l,currentY:c}),n.touchStartTime=u.now()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(this.isVertical()){if(c<o.startY&&this.translate<=this.maxTranslate()||c>o.startY&&this.translate>=this.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(l<o.startX&&this.translate<=this.maxTranslate()||l>o.startX&&this.translate>=this.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&s.target===t.activeElement&&i(s.target).is(n.formElements))return n.isMoved=!0,void(this.allowClick=!1);if(n.allowTouchCallbacks&&this.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){o.currentX=l,o.currentY=c;var d,p=o.currentX-o.startX,h=o.currentY-o.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(h,2))<this.params.threshold))if(void 0===n.isScrolling&&(this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:p*p+h*h>=25&&(d=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,n.isScrolling=this.isHorizontal()?d>r.touchAngle:90-d>r.touchAngle)),n.isScrolling&&this.emit("touchMoveOpposite",s),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){this.allowClick=!1,s.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&s.stopPropagation(),n.isMoved||(r.loop&&this.loopFix(),n.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",s)),this.emit("sliderMove",s),n.isMoved=!0;var f=this.isHorizontal()?p:h;o.diff=f,f*=r.touchRatio,a&&(f=-f),this.swipeDirection=f>0?"prev":"next",n.currentTranslate=f+n.startTranslate;var m=!0,g=r.resistanceRatio;if(r.touchReleaseOnEdges&&(g=0),f>0&&n.currentTranslate>this.minTranslate()?(m=!1,r.resistance&&(n.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+n.startTranslate+f,g))):f<0&&n.currentTranslate<this.maxTranslate()&&(m=!1,r.resistance&&(n.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-n.startTranslate-f,g))),m&&(s.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===n.velocities.length&&n.velocities.push({position:o[this.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:o[this.isHorizontal()?"currentX":"currentY"],time:u.now()})),this.updateProgress(n.currentTranslate),this.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&this.emit("touchMoveOpposite",s)}).bind(this),this.onTouchEnd=(function(t){var e=this,n=e.touchEventsData,i=e.params,r=e.touches,o=e.rtlTranslate,a=e.$wrapperEl,s=e.slidesGrid,l=e.snapGrid,c=t;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);var d,p=u.now(),h=p-n.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(c),e.emit("tap",c),h<300&&p-n.lastClickTime>300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),n.clickTimeout=u.nextTick(function(){e&&!e.destroyed&&e.emit("click",c)},300)),h<300&&p-n.lastClickTime<300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),e.emit("doubleTap",c))),n.lastClickTime=u.now(),u.nextTick(function(){e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=i.followFinger?o?e.translate:-e.translate:-n.currentTranslate,i.freeMode){if(d<-e.minTranslate())return void e.slideTo(e.activeIndex);if(d>-e.maxTranslate())return void e.slideTo(e.slides.length<l.length?l.length-1:e.slides.length-1);if(i.freeModeMomentum){if(n.velocities.length>1){var f=n.velocities.pop(),m=n.velocities.pop(),g=f.time-m.time;e.velocity=(f.position-m.position)/g,e.velocity/=2,Math.abs(e.velocity)<i.freeModeMinimumVelocity&&(e.velocity=0),(g>150||u.now()-f.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var v=1e3*i.freeModeMomentumRatio,y=e.translate+e.velocity*v;o&&(y=-y);var b,_,w=!1,C=20*Math.abs(e.velocity)*i.freeModeMomentumBounceRatio;if(y<e.maxTranslate())i.freeModeMomentumBounce?(y+e.maxTranslate()<-C&&(y=e.maxTranslate()-C),b=e.maxTranslate(),w=!0,n.allowMomentumBounce=!0):y=e.maxTranslate(),i.loop&&i.centeredSlides&&(_=!0);else if(y>e.minTranslate())i.freeModeMomentumBounce?(y-e.minTranslate()>C&&(y=e.minTranslate()+C),b=e.minTranslate(),w=!0,n.allowMomentumBounce=!0):y=e.minTranslate(),i.loop&&i.centeredSlides&&(_=!0);else if(i.freeModeSticky){for(var x,E=0;E<l.length;E+=1)if(l[E]>-y){x=E;break}y=-(y=Math.abs(l[x]-y)<Math.abs(l[x-1]-y)||"next"===e.swipeDirection?l[x]:l[x-1])}if(_&&e.once("transitionEnd",function(){e.loopFix()}),0!==e.velocity)v=o?Math.abs((-y-e.translate)/e.velocity):Math.abs((y-e.translate)/e.velocity);else if(i.freeModeSticky)return void e.slideToClosest();i.freeModeMomentumBounce&&w?(e.updateProgress(b),e.setTransition(v),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,a.transitionEnd(function(){e&&!e.destroyed&&n.allowMomentumBounce&&(e.emit("momentumBounce"),e.setTransition(i.speed),e.setTranslate(b),a.transitionEnd(function(){e&&!e.destroyed&&e.transitionEnd()}))})):e.velocity?(e.updateProgress(y),e.setTransition(v),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,a.transitionEnd(function(){e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(i.freeModeSticky)return void e.slideToClosest();(!i.freeModeMomentum||h>=i.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}else{for(var S=0,O=e.slidesSizesGrid[0],k=0;k<s.length;k+=i.slidesPerGroup)void 0!==s[k+i.slidesPerGroup]?d>=s[k]&&d<s[k+i.slidesPerGroup]&&(S=k,O=s[k+i.slidesPerGroup]-s[k]):d>=s[k]&&(S=k,O=s[s.length-1]-s[s.length-2]);var T=(d-s[S])/O;if(h>i.longSwipesMs){if(!i.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&e.slideTo(T>=i.longSwipesRatio?S+i.slidesPerGroup:S),"prev"===e.swipeDirection&&e.slideTo(T>1-i.longSwipesRatio?S+i.slidesPerGroup:S)}else{if(!i.shortSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&e.slideTo(S+i.slidesPerGroup),"prev"===e.swipeDirection&&e.slideTo(S)}}}).bind(this),this.onClick=(function(t){this.allowClick||(this.params.preventClicks&&t.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))}).bind(this);var s="container"===n.touchEventsTarget?o:a,l=!!n.nested;if(c.touch||!c.pointerEvents&&!c.prefixedPointerEvents){if(c.touch){var d=!("touchstart"!==r.start||!c.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(r.start,this.onTouchStart,d),s.addEventListener(r.move,this.onTouchMove,c.passiveListener?{passive:!1,capture:l}:l),s.addEventListener(r.end,this.onTouchEnd,d)}(n.simulateTouch&&!_.ios&&!_.android||n.simulateTouch&&!c.touch&&_.ios)&&(s.addEventListener("mousedown",this.onTouchStart,!1),t.addEventListener("mousemove",this.onTouchMove,l),t.addEventListener("mouseup",this.onTouchEnd,!1))}else s.addEventListener(r.start,this.onTouchStart,!1),t.addEventListener(r.move,this.onTouchMove,l),t.addEventListener(r.end,this.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&s.addEventListener("click",this.onClick,!0),this.on(_.ios||_.android?"resize orientationchange observerUpdate":"resize observerUpdate",w,!0)},detachEvents:function(){var e=this.params,n=this.touchEvents,i="container"===e.touchEventsTarget?this.el:this.wrapperEl,r=!!e.nested;if(c.touch||!c.pointerEvents&&!c.prefixedPointerEvents){if(c.touch){var o=!("onTouchStart"!==n.start||!c.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(n.start,this.onTouchStart,o),i.removeEventListener(n.move,this.onTouchMove,r),i.removeEventListener(n.end,this.onTouchEnd,o)}(e.simulateTouch&&!_.ios&&!_.android||e.simulateTouch&&!c.touch&&_.ios)&&(i.removeEventListener("mousedown",this.onTouchStart,!1),t.removeEventListener("mousemove",this.onTouchMove,r),t.removeEventListener("mouseup",this.onTouchEnd,!1))}else i.removeEventListener(n.start,this.onTouchStart,!1),t.removeEventListener(n.move,this.onTouchMove,r),t.removeEventListener(n.end,this.onTouchEnd,!1);(e.preventClicks||e.preventClicksPropagation)&&i.removeEventListener("click",this.onClick,!0),this.off(_.ios||_.android?"resize orientationchange observerUpdate":"resize observerUpdate",w)}},breakpoints:{setBreakpoint:function(){var t=this.activeIndex,e=this.initialized,n=this.loopedSlides;void 0===n&&(n=0);var i=this.params,r=i.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=this.getBreakpoint(r);if(o&&this.currentBreakpoint!==o){var a=o in r?r[o]:void 0;a&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(function(t){var e=a[t];void 0!==e&&(a[t]="slidesPerView"!==t||"AUTO"!==e&&"auto"!==e?"slidesPerView"===t?parseFloat(e):parseInt(e,10):"auto")});var s=a||this.originalParams,l=s.direction&&s.direction!==i.direction,c=i.loop&&(s.slidesPerView!==i.slidesPerView||l);l&&e&&this.changeDirection(),u.extend(this.params,s),u.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=o,c&&e&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(t-n+this.loopedSlides,0,!1)),this.emit("breakpoint",s)}}},getBreakpoint:function(t){if(t){var n=!1,i=[];Object.keys(t).forEach(function(t){i.push(t)}),i.sort(function(t,e){return parseInt(t,10)-parseInt(e,10)});for(var r=0;r<i.length;r+=1){var o=i[r];this.params.breakpointsInverse?o<=e.innerWidth&&(n=o):o>=e.innerWidth&&!n&&(n=o)}return n||"max"}}},checkOverflow:{checkOverflow:function(){var t=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,e=this.params,n=this.rtl,i=this.$el,r=[];r.push("initialized"),r.push(e.direction),e.freeMode&&r.push("free-mode"),c.flexbox||r.push("no-flexbox"),e.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),e.slidesPerColumn>1&&r.push("multirow"),_.android&&r.push("android"),_.ios&&r.push("ios"),(d.isIE||d.isEdge)&&(c.pointerEvents||c.prefixedPointerEvents)&&r.push("wp8-"+e.direction),r.forEach(function(n){t.push(e.containerModifierClass+n)}),i.addClass(t.join(" "))},removeClasses:function(){this.$el.removeClass(this.classNames.join(" "))}},images:{loadImage:function(t,n,i,r,o,a){var s;function l(){a&&a()}t.complete&&o?l():n?((s=new e.Image).onload=l,s.onerror=l,r&&(s.sizes=r),i&&(s.srcset=i),n&&(s.src=n)):l()},preloadImages:function(){var t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(var n=0;n<t.imagesToLoad.length;n+=1){var i=t.imagesToLoad[n];t.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,e)}}}},E={},S=function(t){function e(){for(var n,r,o,a=[],s=arguments.length;s--;)a[s]=arguments[s];1===a.length&&a[0].constructor&&a[0].constructor===Object?o=a[0]:(r=(n=a)[0],o=n[1]),o||(o={}),o=u.extend({},o),r&&!o.el&&(o.el=r),t.call(this,o),Object.keys(x).forEach(function(t){Object.keys(x[t]).forEach(function(n){e.prototype[n]||(e.prototype[n]=x[t][n])})});var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach(function(t){var e=l.modules[t];if(e.params){var n=Object.keys(e.params)[0],i=e.params[n];if("object"!=typeof i||null===i)return;if(!(n in o&&"enabled"in i))return;!0===o[n]&&(o[n]={enabled:!0}),"object"!=typeof o[n]||"enabled"in o[n]||(o[n].enabled=!0),o[n]||(o[n]={enabled:!1})}});var d=u.extend({},C);l.useModulesParams(d),l.params=u.extend({},d,E,o),l.originalParams=u.extend({},l.params),l.passedParams=u.extend({},o),l.$=i;var p=i(l.params.el);if(r=p[0]){if(p.length>1){var h=[];return p.each(function(t,n){var i=u.extend({},o,{el:n});h.push(new e(i))}),h}r.swiper=l,p.data("swiper",l);var f,m,g=p.children("."+l.params.wrapperClass);return u.extend(l,{$el:p,el:r,$wrapperEl:g,wrapperEl:g[0],classNames:[],slides:i(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===p.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===p.css("direction")),wrongRTL:"-webkit-box"===g.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(f=["touchstart","touchmove","touchend"],m=["mousedown","mousemove","mouseup"],c.pointerEvents?m=["pointerdown","pointermove","pointerup"]:c.prefixedPointerEvents&&(m=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:f[0],move:f[1],end:f[2]},l.touchEventsDesktop={start:m[0],move:m[1],end:m[2]},c.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:u.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return e.prototype.slidesPerViewDynamic=function(){var t=this.slides,e=this.slidesGrid,n=this.size,i=this.activeIndex,r=1;if(this.params.centeredSlides){for(var o,a=t[i].swiperSlideSize,s=i+1;s<t.length;s+=1)t[s]&&!o&&(r+=1,(a+=t[s].swiperSlideSize)>n&&(o=!0));for(var l=i-1;l>=0;l-=1)t[l]&&!o&&(r+=1,(a+=t[l].swiperSlideSize)>n&&(o=!0))}else for(var u=i+1;u<t.length;u+=1)e[u]-e[i]<n&&(r+=1);return r},e.prototype.update=function(){var t=this;if(t&&!t.destroyed){var e=t.snapGrid,n=t.params;n.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode?(i(),t.params.autoHeight&&t.updateAutoHeight()):t.slideTo(("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slides.length-1:t.activeIndex,0,!1,!0)||i(),n.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}function i(){var e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}},e.prototype.changeDirection=function(t,e){void 0===e&&(e=!0);var n=this.params.direction;return t||(t="horizontal"===n?"vertical":"horizontal"),t===n||"horizontal"!==t&&"vertical"!==t?this:(this.$el.removeClass(""+this.params.containerModifierClass+n+" wp8-"+n).addClass(""+this.params.containerModifierClass+t),(d.isIE||d.isEdge)&&(c.pointerEvents||c.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+t),this.params.direction=t,this.slides.each(function(e,n){"vertical"===t?n.style.width="":n.style.height=""}),this.emit("changeDirection"),e&&this.update(),this)},e.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.slideTo(this.params.loop?this.params.initialSlide+this.loopedSlides:this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},e.prototype.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);var n=this,i=n.params,r=n.$el,o=n.$wrapperEl,a=n.slides;return void 0===n.params||n.destroyed?null:(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),e&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(t){n.off(t)}),!1!==t&&(n.$el[0].swiper=null,n.$el.data("swiper",null),u.deleteProps(n)),n.destroyed=!0,null)},e.extendDefaults=function(t){u.extend(E,t)},n.extendedDefaults.get=function(){return E},n.defaults.get=function(){return C},n.Class.get=function(){return t},n.$.get=function(){return i},Object.defineProperties(e,n),e}(p),O={name:"device",proto:{device:_},static:{device:_}},k={name:"support",proto:{support:c},static:{support:c}},T={name:"browser",proto:{browser:d},static:{browser:d}},P={name:"resize",create:function(){var t=this;u.extend(t,{resize:{resizeHandler:function(){t&&!t.destroyed&&t.initialized&&(t.emit("beforeResize"),t.emit("resize"))},orientationChangeHandler:function(){t&&!t.destroyed&&t.initialized&&t.emit("orientationchange")}}})},on:{init:function(){e.addEventListener("resize",this.resize.resizeHandler),e.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){e.removeEventListener("resize",this.resize.resizeHandler),e.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},I={func:e.MutationObserver||e.WebkitMutationObserver,attach:function(t,n){void 0===n&&(n={});var i=this,r=new(0,I.func)(function(t){if(1!==t.length){var n=function(){i.emit("observerUpdate",t[0])};e.requestAnimationFrame?e.requestAnimationFrame(n):e.setTimeout(n,0)}else i.emit("observerUpdate",t[0])});r.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),i.observer.observers.push(r)},init:function(){if(c.observer&&this.params.observer){if(this.params.observeParents)for(var t=this.$el.parents(),e=0;e<t.length;e+=1)this.observer.attach(t[e]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(t){t.disconnect()}),this.observer.observers=[]}},M={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){u.extend(this,{observer:{init:I.init.bind(this),attach:I.attach.bind(this),destroy:I.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},R={update:function(t){var e=this,n=e.params,i=n.slidesPerView,r=n.slidesPerGroup,o=n.centeredSlides,a=e.params.virtual,s=a.addSlidesBefore,l=a.addSlidesAfter,c=e.virtual,d=c.from,p=c.to,h=c.slides,f=c.slidesGrid,m=c.renderSlide,g=c.offset;e.updateActiveIndex();var v,y,b,_=e.activeIndex||0;v=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",o?(y=Math.floor(i/2)+r+s,b=Math.floor(i/2)+r+l):(y=i+(r-1)+s,b=r+l);var w=Math.max((_||0)-b,0),C=Math.min((_||0)+y,h.length-1),x=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function E(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load()}if(u.extend(e.virtual,{from:w,to:C,offset:x,slidesGrid:e.slidesGrid}),d===w&&p===C&&!t)return e.slidesGrid!==f&&x!==g&&e.slides.css(v,x+"px"),void e.updateProgress();if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:x,from:w,to:C,slides:function(){for(var t=[],e=w;e<=C;e+=1)t.push(h[e]);return t}()}),void E();var S=[],O=[];if(t)e.$wrapperEl.find("."+e.params.slideClass).remove();else for(var k=d;k<=p;k+=1)(k<w||k>C)&&e.$wrapperEl.find("."+e.params.slideClass+'[data-swiper-slide-index="'+k+'"]').remove();for(var T=0;T<h.length;T+=1)T>=w&&T<=C&&(void 0===p||t?O.push(T):(T>p&&O.push(T),T<d&&S.push(T)));O.forEach(function(t){e.$wrapperEl.append(m(h[t],t))}),S.sort(function(t,e){return e-t}).forEach(function(t){e.$wrapperEl.prepend(m(h[t],t))}),e.$wrapperEl.children(".swiper-slide").css(v,x+"px"),E()},renderSlide:function(t,e){var n=this.params.virtual;if(n.cache&&this.virtual.cache[e])return this.virtual.cache[e];var r=i(n.renderSlide?n.renderSlide.call(this,t,e):'<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+e+'">'+t+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",e),n.cache&&(this.virtual.cache[e]=r),r},appendSlide:function(t){if("object"==typeof t&&"length"in t)for(var e=0;e<t.length;e+=1)t[e]&&this.virtual.slides.push(t[e]);else this.virtual.slides.push(t);this.virtual.update(!0)},prependSlide:function(t){var e=this.activeIndex,n=e+1,i=1;if(Array.isArray(t)){for(var r=0;r<t.length;r+=1)t[r]&&this.virtual.slides.unshift(t[r]);n=e+t.length,i=t.length}else this.virtual.slides.unshift(t);if(this.params.virtual.cache){var o=this.virtual.cache,a={};Object.keys(o).forEach(function(t){a[parseInt(t,10)+i]=o[t]}),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(n,0)},removeSlide:function(t){if(null!=t){var e=this.activeIndex;if(Array.isArray(t))for(var n=t.length-1;n>=0;n-=1)this.virtual.slides.splice(t[n],1),this.params.virtual.cache&&delete this.virtual.cache[t[n]],t[n]<e&&(e-=1),e=Math.max(e,0);else this.virtual.slides.splice(t,1),this.params.virtual.cache&&delete this.virtual.cache[t],t<e&&(e-=1),e=Math.max(e,0);this.virtual.update(!0),this.slideTo(e,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},D={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){u.extend(this,{virtual:{update:R.update.bind(this),appendSlide:R.appendSlide.bind(this),prependSlide:R.prependSlide.bind(this),removeSlide:R.removeSlide.bind(this),removeAllSlides:R.removeAllSlides.bind(this),renderSlide:R.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};u.extend(this.params,t),u.extend(this.originalParams,t),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},A={handle:function(n){var i=this.rtlTranslate,r=n;r.originalEvent&&(r=r.originalEvent);var o=r.keyCode||r.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===o||this.isVertical()&&40===o||34===o))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===o||this.isVertical()&&38===o||33===o))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||t.activeElement&&t.activeElement.nodeName&&("input"===t.activeElement.nodeName.toLowerCase()||"textarea"===t.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===o||34===o||37===o||39===o||38===o||40===o)){var a=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var s=e.innerWidth,l=e.innerHeight,u=this.$el.offset();i&&(u.left-=this.$el[0].scrollLeft);for(var c=[[u.left,u.top],[u.left+this.width,u.top],[u.left,u.top+this.height],[u.left+this.width,u.top+this.height]],d=0;d<c.length;d+=1){var p=c[d];p[0]>=0&&p[0]<=s&&p[1]>=0&&p[1]<=l&&(a=!0)}if(!a)return}this.isHorizontal()?(33!==o&&34!==o&&37!==o&&39!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),(34!==o&&39!==o||i)&&(33!==o&&37!==o||!i)||this.slideNext(),(33!==o&&37!==o||i)&&(34!==o&&39!==o||!i)||this.slidePrev()):(33!==o&&34!==o&&38!==o&&40!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),34!==o&&40!==o||this.slideNext(),33!==o&&38!==o||this.slidePrev()),this.emit("keyPress",o)}},enable:function(){this.keyboard.enabled||(i(t).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(i(t).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},j={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){u.extend(this,{keyboard:{enabled:!1,enable:A.enable.bind(this),disable:A.disable.bind(this),handle:A.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},L={lastScrollTime:u.now(),event:e.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in t;if(!e){var n=t.createElement("div");n.setAttribute("onwheel","return;"),e="function"==typeof n.onwheel}return!e&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")&&(e=t.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel",normalize:function(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=10*e,r=10*n,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||r)&&t.deltaMode&&(1===t.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(t){var n=t,i=this,r=i.params.mousewheel;if(!i.mouseEntered&&!r.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);var o=0,a=i.rtlTranslate?-1:1,s=L.normalize(n);if(r.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(r.invert&&(o=-o),i.params.freeMode){i.params.loop&&i.loopFix();var l=i.getTranslate()+o*r.sensitivity,c=i.isBeginning,d=i.isEnd;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),i.setTransition(0),i.setTranslate(l),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!c&&i.isBeginning||!d&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=u.nextTick(function(){i.slideToClosest()},300)),i.emit("scroll",n),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),l===i.minTranslate()||l===i.maxTranslate())return!0}else{if(u.now()-i.mousewheel.lastScrollTime>60)if(o<0)if(i.isEnd&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",n);else if(i.isBeginning&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",n);i.mousewheel.lastScrollTime=(new e.Date).getTime()}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1},enable:function(){if(!L.event)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=i(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(L.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!L.event)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=i(this.params.mousewheel.eventsTarged)),t.off(L.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},N={update:function(){var t=this.params.navigation;if(!this.params.loop){var e=this.navigation,n=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(this.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(t){t.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(t){t.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var t,e,n=this.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(t=i(n.nextEl),this.params.uniqueNavElements&&"string"==typeof n.nextEl&&t.length>1&&1===this.$el.find(n.nextEl).length&&(t=this.$el.find(n.nextEl))),n.prevEl&&(e=i(n.prevEl),this.params.uniqueNavElements&&"string"==typeof n.prevEl&&e.length>1&&1===this.$el.find(n.prevEl).length&&(e=this.$el.find(n.prevEl))),t&&t.length>0&&t.on("click",this.navigation.onNextClick),e&&e.length>0&&e.on("click",this.navigation.onPrevClick),u.extend(this.navigation,{$nextEl:t,nextEl:t&&t[0],$prevEl:e,prevEl:e&&e[0]}))},destroy:function(){var t=this.navigation,e=t.$nextEl,n=t.$prevEl;e&&e.length&&(e.off("click",this.navigation.onNextClick),e.removeClass(this.params.navigation.disabledClass)),n&&n.length&&(n.off("click",this.navigation.onPrevClick),n.removeClass(this.params.navigation.disabledClass))}},V={update:function(){var t=this.rtl,e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var n,r=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,o=this.pagination.$el,a=this.params.loop?Math.ceil((r-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((n=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>r-1-2*this.loopedSlides&&(n-=r-2*this.loopedSlides),n>a-1&&(n-=a),n<0&&"bullets"!==this.params.paginationType&&(n=a+n)):n=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===e.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var s,l,u,c=this.pagination.bullets;if(e.dynamicBullets&&(this.pagination.bulletSize=c.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(e.dynamicMainBullets+4)+"px"),e.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=n-this.previousIndex,this.pagination.dynamicBulletIndex>e.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=e.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),u=((l=(s=n-this.pagination.dynamicBulletIndex)+(Math.min(c.length,e.dynamicMainBullets)-1))+s)/2),c.removeClass(e.bulletActiveClass+" "+e.bulletActiveClass+"-next "+e.bulletActiveClass+"-next-next "+e.bulletActiveClass+"-prev "+e.bulletActiveClass+"-prev-prev "+e.bulletActiveClass+"-main"),o.length>1)c.each(function(t,r){var o=i(r),a=o.index();a===n&&o.addClass(e.bulletActiveClass),e.dynamicBullets&&(a>=s&&a<=l&&o.addClass(e.bulletActiveClass+"-main"),a===s&&o.prev().addClass(e.bulletActiveClass+"-prev").prev().addClass(e.bulletActiveClass+"-prev-prev"),a===l&&o.next().addClass(e.bulletActiveClass+"-next").next().addClass(e.bulletActiveClass+"-next-next"))});else if(c.eq(n).addClass(e.bulletActiveClass),e.dynamicBullets){for(var d=c.eq(s),p=c.eq(l),h=s;h<=l;h+=1)c.eq(h).addClass(e.bulletActiveClass+"-main");d.prev().addClass(e.bulletActiveClass+"-prev").prev().addClass(e.bulletActiveClass+"-prev-prev"),p.next().addClass(e.bulletActiveClass+"-next").next().addClass(e.bulletActiveClass+"-next-next")}if(e.dynamicBullets){var f=Math.min(c.length,e.dynamicMainBullets+4),m=(this.pagination.bulletSize*f-this.pagination.bulletSize)/2-u*this.pagination.bulletSize,g=t?"right":"left";c.css(this.isHorizontal()?g:"top",m+"px")}}if("fraction"===e.type&&(o.find("."+e.currentClass).text(e.formatFractionCurrent(n+1)),o.find("."+e.totalClass).text(e.formatFractionTotal(a))),"progressbar"===e.type){var v;v=e.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var y=(n+1)/a,b=1,_=1;"horizontal"===v?b=y:_=y,o.find("."+e.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+b+") scaleY("+_+")").transition(this.params.speed)}"custom"===e.type&&e.renderCustom?(o.html(e.renderCustom(this,n+1,a)),this.emit("paginationRender",this,o[0])):this.emit("paginationUpdate",this,o[0]),o[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)}},render:function(){var t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var e=this.pagination.$el,n="";if("bullets"===t.type){for(var i=this.params.loop?Math.ceil(((this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length)-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<i;r+=1)n+=t.renderBullet?t.renderBullet.call(this,r,t.bulletClass):"<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";e.html(n),this.pagination.bullets=e.find("."+t.bulletClass)}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(this,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',e.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(this,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',e.html(n)),"custom"!==t.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var t=this,e=t.params.pagination;if(e.el){var n=i(e.el);0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&n.length>1&&1===t.$el.find(e.el).length&&(n=t.$el.find(e.el)),"bullets"===e.type&&e.clickable&&n.addClass(e.clickableClass),n.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&(n.addClass(""+e.modifierClass+e.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.addClass(e.progressbarOppositeClass),e.clickable&&n.on("click","."+e.bulletClass,function(e){e.preventDefault();var n=i(this).index()*t.params.slidesPerGroup;t.params.loop&&(n+=t.loopedSlides),t.slideTo(n)}),u.extend(t.pagination,{$el:n,el:n[0]}))}},destroy:function(){var t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var e=this.pagination.$el;e.removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),this.pagination.bullets&&this.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&e.off("click","."+t.bulletClass)}}},F={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var t=this.scrollbar,e=t.dragSize,n=t.trackSize,i=t.$dragEl,r=t.$el,o=this.params.scrollbar,a=e,s=(n-e)*this.progress;this.rtlTranslate?(s=-s)>0?(a=e-s,s=0):-s+e>n&&(a=n+s):s<0?(a=e+s,s=0):s+e>n&&(a=n-s),this.isHorizontal()?(i.transform(c.transforms3d?"translate3d("+s+"px, 0, 0)":"translateX("+s+"px)"),i[0].style.width=a+"px"):(i.transform(c.transforms3d?"translate3d(0px, "+s+"px, 0)":"translateY("+s+"px)"),i[0].style.height=a+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),r[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){r[0].style.opacity=0,r.transition(400)},1e3))}},setTransition:function(t){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(t)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var t=this.scrollbar,e=t.$dragEl,n=t.$el;e[0].style.width="",e[0].style.height="";var i,r=this.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,o=this.size/this.virtualSize,a=o*(r/this.size);i="auto"===this.params.scrollbar.dragSize?r*o:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?e[0].style.width=i+"px":e[0].style.height=i+"px",n[0].style.display=o>=1?"none":"",this.params.scrollbar.hide&&(n[0].style.opacity=0),u.extend(t,{trackSize:r,divider:o,moveDivider:a,dragSize:i}),t.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(t){return this.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].pageX:t.pageX||t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].pageY:t.pageY||t.clientY},setDragPosition:function(t){var e,n=this.scrollbar,i=this.rtlTranslate,r=n.$el,o=n.dragSize,a=n.trackSize,s=n.dragStartPos;e=(n.getPointerPosition(t)-r.offset()[this.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(a-o),e=Math.max(Math.min(e,1),0),i&&(e=1-e);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*e;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(t){var e=this.params.scrollbar,n=this.scrollbar,i=this.$wrapperEl,r=n.$el,o=n.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=t.target===o[0]||t.target===o?n.getPointerPosition(t)-t.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),i.transition(100),o.transition(100),n.setDragPosition(t),clearTimeout(this.scrollbar.dragTimeout),r.transition(0),e.hide&&r.css("opacity",1),this.emit("scrollbarDragStart",t)},onDragMove:function(t){var e=this.scrollbar,n=this.$wrapperEl,i=e.$el,r=e.$dragEl;this.scrollbar.isTouched&&(t.preventDefault?t.preventDefault():t.returnValue=!1,e.setDragPosition(t),n.transition(0),i.transition(0),r.transition(0),this.emit("scrollbarDragMove",t))},onDragEnd:function(t){var e=this.params.scrollbar,n=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,e.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=u.nextTick(function(){n.css("opacity",0),n.transition(400)},1e3)),this.emit("scrollbarDragEnd",t),e.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.touchEventsTouch,n=this.touchEventsDesktop,i=this.params,r=this.scrollbar.$el[0],o=!(!c.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},a=!(!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};c.touch?(r.addEventListener(e.start,this.scrollbar.onDragStart,o),r.addEventListener(e.move,this.scrollbar.onDragMove,o),r.addEventListener(e.end,this.scrollbar.onDragEnd,a)):(r.addEventListener(n.start,this.scrollbar.onDragStart,o),t.addEventListener(n.move,this.scrollbar.onDragMove,o),t.addEventListener(n.end,this.scrollbar.onDragEnd,a))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.touchEventsTouch,n=this.touchEventsDesktop,i=this.params,r=this.scrollbar.$el[0],o=!(!c.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},a=!(!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};c.touch?(r.removeEventListener(e.start,this.scrollbar.onDragStart,o),r.removeEventListener(e.move,this.scrollbar.onDragMove,o),r.removeEventListener(e.end,this.scrollbar.onDragEnd,a)):(r.removeEventListener(n.start,this.scrollbar.onDragStart,o),t.removeEventListener(n.move,this.scrollbar.onDragMove,o),t.removeEventListener(n.end,this.scrollbar.onDragEnd,a))}},init:function(){if(this.params.scrollbar.el){var t=this.scrollbar,e=this.$el,n=this.params.scrollbar,r=i(n.el);this.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===e.find(n.el).length&&(r=e.find(n.el));var o=r.find("."+this.params.scrollbar.dragClass);0===o.length&&(o=i('<div class="'+this.params.scrollbar.dragClass+'"></div>'),r.append(o)),u.extend(t,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),n.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},H={setTransform:function(t,e){var n=this.rtl,r=i(t),o=n?-1:1,a=r.attr("data-swiper-parallax")||"0",s=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y"),u=r.attr("data-swiper-parallax-scale"),c=r.attr("data-swiper-parallax-opacity");if(s||l?(s=s||"0",l=l||"0"):this.isHorizontal()?(s=a,l="0"):(l=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*e*o+"%":s*e*o+"px",l=l.indexOf("%")>=0?parseInt(l,10)*e+"%":l*e+"px",null!=c){var d=c-(c-1)*(1-Math.abs(e));r[0].style.opacity=d}if(null==u)r.transform("translate3d("+s+", "+l+", 0px)");else{var p=u-(u-1)*(1-Math.abs(e));r.transform("translate3d("+s+", "+l+", 0px) scale("+p+")")}},setTranslate:function(){var t=this,e=t.slides,n=t.progress,r=t.snapGrid;t.$el.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,i){t.parallax.setTransform(i,n)}),e.each(function(e,o){var a=o.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(e/2)-n*(r.length-1)),a=Math.min(Math.max(a,-1),1),i(o).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,n){t.parallax.setTransform(n,a)})})},setTransition:function(t){void 0===t&&(t=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,n){var r=i(n),o=parseInt(r.attr("data-swiper-parallax-duration"),10)||t;0===t&&(o=0),r.transition(o)})}},U={getDistanceBetweenTouches:function(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageY,n=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(t.targetTouches[1].pageX-t.targetTouches[0].pageX,2)+Math.pow(n-e,2))},onGestureStart:function(t){var e=this.params.zoom,n=this.zoom,r=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!c.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;n.fakeGestureTouched=!0,r.scaleStart=U.getDistanceBetweenTouches(t)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=i(t.target).closest(".swiper-slide"),0===r.$slideEl.length&&(r.$slideEl=this.slides.eq(this.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+e.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||e.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),this.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(t){var e=this.params.zoom,n=this.zoom,i=n.gesture;if(!c.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=U.getDistanceBetweenTouches(t)}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=c.gestures?t.scale*n.currentScale:i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scale<e.minRatio&&(n.scale=e.minRatio+1-Math.pow(e.minRatio-n.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")"))},onGestureEnd:function(t){var e=this.params.zoom,n=this.zoom,i=n.gesture;if(!c.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!_.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),e.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+n.scale+")"),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart:function(t){var e=this.zoom,n=e.gesture,i=e.image;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(_.android&&t.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,i.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(t){var e=this.zoom,n=e.gesture,i=e.image,r=e.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(this.allowClick=!1,i.isTouched&&n.$slideEl)){i.isMoved||(i.width=n.$imageEl[0].offsetWidth,i.height=n.$imageEl[0].offsetHeight,i.startX=u.getTranslate(n.$imageWrapEl[0],"x")||0,i.startY=u.getTranslate(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),this.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var o=i.width*e.scale,a=i.height*e.scale;if(!(o<n.slideWidth&&a<n.slideHeight)){if(i.minX=Math.min(n.slideWidth/2-o/2,0),i.maxX=-i.minX,i.minY=Math.min(n.slideHeight/2-a/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,i.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!i.isMoved&&!e.isScaling){if(this.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}t.preventDefault(),t.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=i.touchesCurrent.x,r.prevPositionY=i.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}}},onTouchEnd:function(){var t=this.zoom,e=t.gesture,n=t.image,i=t.velocity;if(e.$imageEl&&0!==e.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var r=300,o=300,a=n.currentX+i.x*r,s=n.currentY+i.y*o;0!==i.x&&(r=Math.abs((a-n.currentX)/i.x)),0!==i.y&&(o=Math.abs((s-n.currentY)/i.y));var l=Math.max(r,o);n.currentX=a,n.currentY=s;var u=n.height*t.scale;n.minX=Math.min(e.slideWidth/2-n.width*t.scale/2,0),n.maxX=-n.minX,n.minY=Math.min(e.slideHeight/2-u/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),e.$imageWrapEl.transition(l).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var t=this.zoom,e=t.gesture;e.$slideEl&&this.previousIndex!==this.activeIndex&&(e.$imageEl.transform("translate3d(0,0,0) scale(1)"),e.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,e.$slideEl=void 0,e.$imageEl=void 0,e.$imageWrapEl=void 0)},toggle:function(t){var e=this.zoom;e.scale&&1!==e.scale?e.out():e.in(t)},in:function(t){var e,n,r,o,a,s,l,u,c,d,p,h,f,m=this.zoom,g=this.params.zoom,v=m.gesture,y=m.image;v.$slideEl||(v.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),v.$imageEl=v.$slideEl.find("img, svg, canvas"),v.$imageWrapEl=v.$imageEl.parent("."+g.containerClass)),v.$imageEl&&0!==v.$imageEl.length&&(v.$slideEl.addClass(""+g.zoomedSlideClass),void 0===y.touchesStart.x&&t?(e="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(e=y.touchesStart.x,n=y.touchesStart.y),m.scale=v.$imageWrapEl.attr("data-swiper-zoom")||g.maxRatio,m.currentScale=v.$imageWrapEl.attr("data-swiper-zoom")||g.maxRatio,t?(h=v.$slideEl[0].offsetWidth,f=v.$slideEl[0].offsetHeight,r=v.$slideEl.offset().left+h/2-e,o=v.$slideEl.offset().top+f/2-n,l=v.$imageEl[0].offsetHeight*m.scale,u=Math.min(h/2-v.$imageEl[0].offsetWidth*m.scale/2,0),c=Math.min(f/2-l/2,0),(a=r*m.scale)<u&&(a=u),a>(d=-u)&&(a=d),(s=o*m.scale)<c&&(s=c),s>(p=-c)&&(s=p)):(a=0,s=0),v.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+s+"px,0)"),v.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+m.scale+")"))},out:function(){var t=this.zoom,e=this.params.zoom,n=t.gesture;n.$slideEl||(n.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+e.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+e.zoomedSlideClass),n.$slideEl=void 0)},enable:function(){var t=this.zoom;if(!t.enabled){t.enabled=!0;var e=!("touchstart"!==this.touchEvents.start||!c.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};c.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,e),this.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,e),this.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,e)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",t.onGestureStart,e),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",t.onGestureChange,e),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",t.onGestureEnd,e)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var t=this.zoom;if(t.enabled){this.zoom.enabled=!1;var e=!("touchstart"!==this.touchEvents.start||!c.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};c.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,e),this.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,e),this.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,e)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",t.onGestureStart,e),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",t.onGestureChange,e),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",t.onGestureEnd,e)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,t.onTouchMove)}}},z={loadInSlide:function(t,e){void 0===e&&(e=!0);var n=this,r=n.params.lazy;if(void 0!==t&&0!==n.slides.length){var o=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):n.slides.eq(t),a=o.find("."+r.elementClass+":not(."+r.loadedClass+"):not(."+r.loadingClass+")");!o.hasClass(r.elementClass)||o.hasClass(r.loadedClass)||o.hasClass(r.loadingClass)||(a=a.add(o[0])),0!==a.length&&a.each(function(t,a){var s=i(a);s.addClass(r.loadingClass);var l=s.attr("data-background"),u=s.attr("data-src"),c=s.attr("data-srcset"),d=s.attr("data-sizes");n.loadImage(s[0],u||l,c,d,!1,function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(l?(s.css("background-image",'url("'+l+'")'),s.removeAttr("data-background")):(c&&(s.attr("srcset",c),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),u&&(s.attr("src",u),s.removeAttr("data-src"))),s.addClass(r.loadedClass).removeClass(r.loadingClass),o.find("."+r.preloaderClass).remove(),n.params.loop&&e){var t=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){var i=n.$wrapperEl.children('[data-swiper-slide-index="'+t+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(i.index(),!1)}else{var a=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');n.lazy.loadInSlide(a.index(),!1)}}n.emit("lazyImageReady",o[0],s[0])}}),n.emit("lazyImageLoad",o[0],s[0])})}},load:function(){var t=this,e=t.$wrapperEl,n=t.params,r=t.slides,o=t.activeIndex,a=t.virtual&&n.virtual.enabled,s=n.lazy,l=n.slidesPerView;function u(t){if(a){if(e.children("."+n.slideClass+'[data-swiper-slide-index="'+t+'"]').length)return!0}else if(r[t])return!0;return!1}function c(t){return a?i(t).attr("data-swiper-slide-index"):i(t).index()}if("auto"===l&&(l=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)e.children("."+n.slideVisibleClass).each(function(e,n){var r=a?i(n).attr("data-swiper-slide-index"):i(n).index();t.lazy.loadInSlide(r)});else if(l>1)for(var d=o;d<o+l;d+=1)u(d)&&t.lazy.loadInSlide(d);else t.lazy.loadInSlide(o);if(s.loadPrevNext)if(l>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var p=s.loadPrevNextAmount,h=l,f=Math.min(o+h+Math.max(p,h),r.length),m=Math.max(o-Math.max(h,p),0),g=o+l;g<f;g+=1)u(g)&&t.lazy.loadInSlide(g);for(var v=m;v<o;v+=1)u(v)&&t.lazy.loadInSlide(v)}else{var y=e.children("."+n.slideNextClass);y.length>0&&t.lazy.loadInSlide(c(y));var b=e.children("."+n.slidePrevClass);b.length>0&&t.lazy.loadInSlide(c(b))}}},B={LinearSpline:function(t,e){var n,i,r,o,a;return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(a=function(t,e){for(i=-1,n=t.length;n-i>1;)t[r=n+i>>1]<=e?i=r:n=r;return n}(this.x,t),(t-this.x[o=a-1])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this},getInterpolateFunction:function(t){this.controller.spline||(this.controller.spline=this.params.loop?new B.LinearSpline(this.slidesGrid,t.slidesGrid):new B.LinearSpline(this.snapGrid,t.snapGrid))},setTranslate:function(t,e){var n,i,r=this,o=r.controller.control;function a(t){var e=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(t),i=-r.controller.spline.interpolate(-e)),i&&"container"!==r.params.controller.by||(n=(t.maxTranslate()-t.minTranslate())/(r.maxTranslate()-r.minTranslate()),i=(e-r.minTranslate())*n+t.minTranslate()),r.params.controller.inverse&&(i=t.maxTranslate()-i),t.updateProgress(i),t.setTranslate(i,r),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s<o.length;s+=1)o[s]!==e&&o[s]instanceof S&&a(o[s]);else o instanceof S&&e!==o&&a(o)},setTransition:function(t,e){var n,i=this,r=i.controller.control;function o(e){e.setTransition(t,i),0!==t&&(e.transitionStart(),e.params.autoHeight&&u.nextTick(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){r&&(e.params.loop&&"slide"===i.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==e&&r[n]instanceof S&&o(r[n]);else r instanceof S&&e!==r&&o(r)}},W={makeElFocusable:function(t){return t.attr("tabIndex","0"),t},addElRole:function(t,e){return t.attr("role",e),t},addElLabel:function(t,e){return t.attr("aria-label",e),t},disableEl:function(t){return t.attr("aria-disabled",!0),t},enableEl:function(t){return t.attr("aria-disabled",!1),t},onEnterKey:function(t){var e=this.params.a11y;if(13===t.keyCode){var n=i(t.target);this.navigation&&this.navigation.$nextEl&&n.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.a11y.notify(this.isEnd?e.lastSlideMessage:e.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&n.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.a11y.notify(this.isBeginning?e.firstSlideMessage:e.prevSlideMessage)),this.pagination&&n.is("."+this.params.pagination.bulletClass)&&n[0].click()}},notify:function(t){var e=this.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},updateNavigation:function(){if(!this.params.loop){var t=this.navigation,e=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(this.isBeginning?this.a11y.disableEl(n):this.a11y.enableEl(n)),e&&e.length>0&&(this.isEnd?this.a11y.disableEl(e):this.a11y.enableEl(e))}},updatePagination:function(){var t=this,e=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(n,r){var o=i(r);t.a11y.makeElFocusable(o),t.a11y.addElRole(o,"button"),t.a11y.addElLabel(o,e.paginationBulletMessage.replace(/{{index}}/,o.index()+1))})},init:function(){this.$el.append(this.a11y.liveRegion);var t,e,n=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(t=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(e=this.navigation.$prevEl),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,n.nextSlideMessage),t.on("keydown",this.a11y.onEnterKey)),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,n.prevSlideMessage),e.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var t,e;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(t=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(e=this.navigation.$prevEl),t&&t.off("keydown",this.a11y.onEnterKey),e&&e.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},G={init:function(){if(this.params.history){if(!e.history||!e.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var t=this.history;t.initialized=!0,t.paths=G.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||e.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=G.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var t=e.location.pathname.slice(1).split("/").filter(function(t){return""!==t}),n=t.length;return{key:t[n-2],value:t[n-1]}},setHistory:function(t,n){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(n),r=G.slugify(i.attr("data-history"));e.location.pathname.includes(t)||(r=t+"/"+r);var o=e.history.state;o&&o.value===r||(this.params.history.replaceState?e.history.replaceState({value:r},null,r):e.history.pushState({value:r},null,r))}},slugify:function(t){return t.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(t,e,n){if(e)for(var i=0,r=this.slides.length;i<r;i+=1){var o=this.slides.eq(i);if(G.slugify(o.attr("data-history"))===e&&!o.hasClass(this.params.slideDuplicateClass)){var a=o.index();this.slideTo(a,t,n)}}else this.slideTo(0,t,n)}},q={onHashCange:function(){var e=t.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var n=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index();if(void 0===n)return;this.slideTo(n)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&e.history&&e.history.replaceState)e.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var n=this.slides.eq(this.activeIndex),i=n.attr("data-hash")||n.attr("data-history");t.location.hash=i||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var n=t.location.hash.replace("#","");if(n)for(var r=0,o=this.slides.length;r<o;r+=1){var a=this.slides.eq(r);if((a.attr("data-hash")||a.attr("data-history"))===n&&!a.hasClass(this.params.slideDuplicateClass)){var s=a.index();this.slideTo(s,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&i(e).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&i(e).off("hashchange",this.hashNavigation.onHashCange)}},Y={run:function(){var t=this,e=t.slides.eq(t.activeIndex),n=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=u.nextTick(function(){t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(t.slideNext(t.params.speed,!0,!0),t.emit("autoplay"))},n)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(t){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==t&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},$={setTranslate:function(){for(var t=this.slides,e=0;e<t.length;e+=1){var n=this.slides.eq(e),i=-n[0].swiperSlideOffset;this.params.virtualTranslate||(i-=this.translate);var r=0;this.isHorizontal()||(r=i,i=0);var o=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0);n.css({opacity:o}).transform("translate3d("+i+"px, "+r+"px, 0px)")}},setTransition:function(t){var e=this,n=e.slides,i=e.$wrapperEl;if(n.transition(t),e.params.virtualTranslate&&0!==t){var r=!1;n.transitionEnd(function(){if(!r&&e&&!e.destroyed){r=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],n=0;n<t.length;n+=1)i.trigger(t[n])}})}}},K={setTranslate:function(){var t,e=this.$el,n=this.$wrapperEl,r=this.slides,o=this.width,a=this.height,s=this.rtlTranslate,l=this.size,u=this.params.cubeEffect,c=this.isHorizontal(),p=this.virtual&&this.params.virtual.enabled,h=0;u.shadow&&(c?(0===(t=n.find(".swiper-cube-shadow")).length&&(t=i('<div class="swiper-cube-shadow"></div>'),n.append(t)),t.css({height:o+"px"})):0===(t=e.find(".swiper-cube-shadow")).length&&(t=i('<div class="swiper-cube-shadow"></div>'),e.append(t)));for(var f=0;f<r.length;f+=1){var m=r.eq(f),g=f;p&&(g=parseInt(m.attr("data-swiper-slide-index"),10));var v=90*g,y=Math.floor(v/360);s&&(v=-v,y=Math.floor(-v/360));var b=Math.max(Math.min(m[0].progress,1),-1),_=0,w=0,C=0;if(g%4==0?(_=4*-y*l,C=0):(g-1)%4==0?(_=0,C=4*-y*l):(g-2)%4==0?(_=l+4*y*l,C=l):(g-3)%4==0&&(_=-l,C=3*l+4*l*y),s&&(_=-_),c||(w=_,_=0),b<=1&&b>-1&&(h=90*g+90*b,s&&(h=90*-g-90*b)),m.transform("rotateX("+(c?0:-v)+"deg) rotateY("+(c?v:0)+"deg) translate3d("+_+"px, "+w+"px, "+C+"px)"),u.slideShadows){var x=m.find(c?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),E=m.find(c?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===x.length&&(x=i('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),m.append(x)),0===E.length&&(E=i('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),m.append(E)),x.length&&(x[0].style.opacity=Math.max(-b,0)),E.length&&(E[0].style.opacity=Math.max(b,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),u.shadow)if(c)t.transform("translate3d(0px, "+(o/2+u.shadowOffset)+"px, "+-o/2+"px) rotateX(90deg) rotateZ(0deg) scale("+u.shadowScale+")");else{var S=Math.abs(h)-90*Math.floor(Math.abs(h)/90),O=1.5-(Math.sin(2*S*Math.PI/360)/2+Math.cos(2*S*Math.PI/360)/2),k=u.shadowScale/O;t.transform("scale3d("+u.shadowScale+", 1, "+k+") translate3d(0px, "+(a/2+u.shadowOffset)+"px, "+-a/2/k+"px) rotateX(-90deg)")}n.transform("translate3d(0px,0,"+(d.isSafari||d.isUiWebView?-l/2:0)+"px) rotateX("+(this.isHorizontal()?0:h)+"deg) rotateY("+(this.isHorizontal()?-h:0)+"deg)")},setTransition:function(t){var e=this.$el;this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),this.params.cubeEffect.shadow&&!this.isHorizontal()&&e.find(".swiper-cube-shadow").transition(t)}},Z={setTranslate:function(){for(var t=this.slides,e=this.rtlTranslate,n=0;n<t.length;n+=1){var r=t.eq(n),o=r[0].progress;this.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r[0].progress,1),-1));var a=-180*o,s=0,l=-r[0].swiperSlideOffset,u=0;if(this.isHorizontal()?e&&(a=-a):(u=l,l=0,s=-a,a=0),r[0].style.zIndex=-Math.abs(Math.round(o))+t.length,this.params.flipEffect.slideShadows){var c=this.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),d=this.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===c.length&&(c=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),r.append(c)),0===d.length&&(d=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),r.append(d)),c.length&&(c[0].style.opacity=Math.max(-o,0)),d.length&&(d[0].style.opacity=Math.max(o,0))}r.transform("translate3d("+l+"px, "+u+"px, 0px) rotateX("+s+"deg) rotateY("+a+"deg)")}},setTransition:function(t){var e=this,n=e.slides,i=e.activeIndex,r=e.$wrapperEl;if(n.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.virtualTranslate&&0!==t){var o=!1;n.eq(i).transitionEnd(function(){if(!o&&e&&!e.destroyed){o=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],n=0;n<t.length;n+=1)r.trigger(t[n])}})}}},Q={setTranslate:function(){for(var t=this.width,e=this.height,n=this.slides,r=this.$wrapperEl,o=this.slidesSizesGrid,a=this.params.coverflowEffect,s=this.isHorizontal(),l=this.translate,u=s?t/2-l:e/2-l,d=s?a.rotate:-a.rotate,p=a.depth,h=0,f=n.length;h<f;h+=1){var m=n.eq(h),g=o[h],v=(u-m[0].swiperSlideOffset-g/2)/g*a.modifier,y=s?d*v:0,b=s?0:d*v,_=-p*Math.abs(v),w=s?0:a.stretch*v,C=s?a.stretch*v:0;if(Math.abs(C)<.001&&(C=0),Math.abs(w)<.001&&(w=0),Math.abs(_)<.001&&(_=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),m.transform("translate3d("+C+"px,"+w+"px,"+_+"px)  rotateX("+b+"deg) rotateY("+y+"deg)"),m[0].style.zIndex=1-Math.abs(Math.round(v)),a.slideShadows){var x=m.find(s?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),E=m.find(s?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===x.length&&(x=i('<div class="swiper-slide-shadow-'+(s?"left":"top")+'"></div>'),m.append(x)),0===E.length&&(E=i('<div class="swiper-slide-shadow-'+(s?"right":"bottom")+'"></div>'),m.append(E)),x.length&&(x[0].style.opacity=v>0?v:0),E.length&&(E[0].style.opacity=-v>0?-v:0)}}(c.pointerEvents||c.prefixedPointerEvents)&&(r[0].style.perspectiveOrigin=u+"px 50%")},setTransition:function(t){this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}},X={init:function(){var t=this.params.thumbs,e=this.constructor;t.swiper instanceof e?(this.thumbs.swiper=t.swiper,u.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),u.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):u.isObject(t.swiper)&&(this.thumbs.swiper=new e(u.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var t=this.thumbs.swiper;if(t){var e=t.clickedIndex,n=t.clickedSlide;if(!(n&&i(n).hasClass(this.params.thumbs.slideThumbActiveClass)||null==e)){var r;if(r=t.params.loop?parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10):e,this.params.loop){var o=this.activeIndex;this.slides.eq(o).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,o=this.activeIndex);var a=this.slides.eq(o).prevAll('[data-swiper-slide-index="'+r+'"]').eq(0).index(),s=this.slides.eq(o).nextAll('[data-swiper-slide-index="'+r+'"]').eq(0).index();r=void 0===a?s:void 0===s?a:s-o<o-a?s:a}this.slideTo(r)}}},update:function(t){var e=this.thumbs.swiper;if(e){var n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():e.params.slidesPerView;if(this.realIndex!==e.realIndex){var i,r=e.activeIndex;if(e.params.loop){e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var o=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),a=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();i=void 0===o?a:void 0===a?o:a-r==r-o?r:a-r<r-o?a:o}else i=this.realIndex;e.visibleSlidesIndexes&&e.visibleSlidesIndexes.indexOf(i)<0&&(e.params.centeredSlides?i=i>r?i-Math.floor(n/2)+1:i+Math.floor(n/2)-1:i>r&&(i=i-n+1),e.slideTo(i,t?0:void 0))}var s=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(s=this.params.slidesPerView),e.slides.removeClass(l),e.params.loop||e.params.virtual)for(var u=0;u<s;u+=1)e.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+u)+'"]').addClass(l);else for(var c=0;c<s;c+=1)e.slides.eq(this.realIndex+c).addClass(l)}}},J=[O,k,T,P,M,D,j,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){u.extend(this,{mousewheel:{enabled:!1,enable:L.enable.bind(this),disable:L.disable.bind(this),handle:L.handle.bind(this),handleMouseEnter:L.handleMouseEnter.bind(this),handleMouseLeave:L.handleMouseLeave.bind(this),lastScrollTime:u.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){u.extend(this,{navigation:{init:N.init.bind(this),update:N.update.bind(this),destroy:N.destroy.bind(this),onNextClick:N.onNextClick.bind(this),onPrevClick:N.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(t){var e,n=this.navigation,r=n.$nextEl,o=n.$prevEl;!this.params.navigation.hideOnClick||i(t.target).is(o)||i(t.target).is(r)||(r?e=r.hasClass(this.params.navigation.hiddenClass):o&&(e=o.hasClass(this.params.navigation.hiddenClass)),this.emit(!0===e?"navigationShow":"navigationHide",this),r&&r.toggleClass(this.params.navigation.hiddenClass),o&&o.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(t){return t},formatFractionTotal:function(t){return t},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){u.extend(this,{pagination:{init:V.init.bind(this),render:V.render.bind(this),update:V.update.bind(this),destroy:V.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(t){if(this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!i(t.target).hasClass(this.params.pagination.bulletClass)){var e=this.pagination.$el.hasClass(this.params.pagination.hiddenClass);this.emit(!0===e?"paginationShow":"paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){u.extend(this,{scrollbar:{init:F.init.bind(this),destroy:F.destroy.bind(this),updateSize:F.updateSize.bind(this),setTranslate:F.setTranslate.bind(this),setTransition:F.setTransition.bind(this),enableDraggable:F.enableDraggable.bind(this),disableDraggable:F.disableDraggable.bind(this),setDragPosition:F.setDragPosition.bind(this),getPointerPosition:F.getPointerPosition.bind(this),onDragStart:F.onDragStart.bind(this),onDragMove:F.onDragMove.bind(this),onDragEnd:F.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(t){this.scrollbar.setTransition(t)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){u.extend(this,{parallax:{setTransform:H.setTransform.bind(this),setTranslate:H.setTranslate.bind(this),setTransition:H.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(t){this.params.parallax.enabled&&this.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t=this,e={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(n){e[n]=U[n].bind(t)}),u.extend(t,{zoom:e});var n=1;Object.defineProperty(t.zoom,"scale",{get:function(){return n},set:function(e){n!==e&&t.emit("zoomChange",e,t.zoom.gesture.$imageEl?t.zoom.gesture.$imageEl[0]:void 0,t.zoom.gesture.$slideEl?t.zoom.gesture.$slideEl[0]:void 0),n=e}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(t){this.zoom.enabled&&this.zoom.onTouchStart(t)},touchEnd:function(t){this.zoom.enabled&&this.zoom.onTouchEnd(t)},doubleTap:function(t){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(t)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){u.extend(this,{lazy:{initialImageLoaded:!1,load:z.load.bind(this),loadInSlide:z.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){u.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:B.getInterpolateFunction.bind(this),setTranslate:B.setTranslate.bind(this),setTransition:B.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(t,e){this.controller.control&&this.controller.setTranslate(t,e)},setTransition:function(t,e){this.controller.control&&this.controller.setTransition(t,e)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;u.extend(t,{a11y:{liveRegion:i('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(W).forEach(function(e){t.a11y[e]=W[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){u.extend(this,{history:{init:G.init.bind(this),setHistory:G.setHistory.bind(this),setHistoryPopState:G.setHistoryPopState.bind(this),scrollToSlide:G.scrollToSlide.bind(this),destroy:G.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){u.extend(this,{hashNavigation:{initialized:!1,init:q.init.bind(this),destroy:q.destroy.bind(this),setHash:q.setHash.bind(this),onHashCange:q.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;u.extend(t,{autoplay:{running:!1,paused:!1,run:Y.run.bind(t),start:Y.start.bind(t),stop:Y.stop.bind(t),pause:Y.pause.bind(t),onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(t,e){this.autoplay.running&&(e||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(t):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){u.extend(this,{fadeEffect:{setTranslate:$.setTranslate.bind(this),setTransition:$.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,t),u.extend(this.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(t){"fade"===this.params.effect&&this.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){u.extend(this,{cubeEffect:{setTranslate:K.setTranslate.bind(this),setTransition:K.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};u.extend(this.params,t),u.extend(this.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(t){"cube"===this.params.effect&&this.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){u.extend(this,{flipEffect:{setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,t),u.extend(this.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(t){"flip"===this.params.effect&&this.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){u.extend(this,{coverflowEffect:{setTranslate:Q.setTranslate.bind(this),setTransition:Q.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(t){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){u.extend(this,{thumbs:{swiper:null,init:X.init.bind(this),update:X.update.bind(this),onThumbClick:X.onThumbClick.bind(this)}})},on:{beforeInit:function(){var t=this.params.thumbs;t&&t.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(t){var e=this.thumbs.swiper;e&&e.setTransition(t)},beforeDestroy:function(){var t=this.thumbs.swiper;t&&this.thumbs.swiperCreated&&t&&t.destroy()}}}];return void 0===S.use&&(S.use=S.Class.use,S.installModule=S.Class.installModule),S.use(J),S}()},"0luw":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("K9Ia"),r=function(){function t(){this.appIsLoading=new i.a,this.isLoading=!1,this.isDisable=!1,this.appIsLoading$=this.appIsLoading.asObservable()}return t.prototype.broadcastAppIsLoading=function(t){!0!==this.isDisable&&(this.isLoading=t,this.appIsLoading.next(t))},t.prototype.changeIsDisable=function(t){this.isDisable=t},t.prototype.isAppLoading=function(){return this.isLoading},t}()},"15JJ":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("mrSG"),r=n("MGBS"),o=n("rPjj"),a=n("zotm"),s=n("67Y/"),l=n("0/uQ");function u(t,e){return"function"==typeof e?function(n){return n.pipe(u(function(n,i){return Object(l.a)(t(n,i)).pipe(Object(s.a)(function(t,r){return e(n,t,i,r)}))}))}:function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.project))},t}(),d=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.index=0,i}return i.d(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new o.a(this,void 0,void 0);this.destination.add(r),this.innerSubscription=Object(a.a)(this,t,e,n,r)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e}(r.a)},"26FU":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("mrSG"),r=n("K9Ia"),o=n("8g8A"),a=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i.d(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(r.a)},"2Bdj":function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},"2ePl":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},"3OAB":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("6blF"),r=function(){function t(t,e,n){this.usersService=t,this.router=e,this.authEventsEmitter=n}return t.prototype.canActivate=function(t,e){var n=this;return this.usersService.userProfile?!this.usersService.userProfile.is_wizard_complete&&!0!==this.usersService.userProfile.is_master_profile||this.router.navigate(["dashboard"]):new i.a(function(t){n.userProfileSubscription=n.authEventsEmitter.userProfileChanged$.subscribe(function(){if(n.usersService.userProfile.is_wizard_complete||!0===n.usersService.userProfile.is_master_profile)return n.router.navigate(["dashboard"]),t.next(!1),t.complete(),n.userProfileSubscription.unsubscribe();t.next(!0),t.complete(),n.userProfileSubscription.unsubscribe()})})},t}()},"3fWJ":function(t,e,n){"use strict";function i(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}n.d(e,"a",function(){return r}),i.prototype=Object.create(Error.prototype);var r=i},"3iRJ":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("CcnG"),r=(n("gIcY"),Object(i.forwardRef)(function(){return r}),function(){function t(){this.onDateSelect=new i.EventEmitter,this.popover=!1,this.cal_days_in_month=[31,28,31,30,31,30,31,31,30,31,30,31],this.timeViewDate=new Date(this.date),this.hourValue=0,this.minValue=0,this.timeViewMeridian="",this.timeView=!1,this.yearView=!1,this.yearsList=[],this.monthDays=[],this.monthsView=!1,this.today=new Date,this.defaultSettings={defaultOpen:!1,bigBanner:!0,timePicker:!1,format:"dd-MMM-yyyy hh:mm a",cal_days_labels:["Su","Mo","Tu","We","Th","Fr","Sa"],cal_full_days_lables:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],cal_months_labels:["January","February","March","April","May","June","July","August","September","October","November","December"],cal_months_labels_short:["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"],closeOnSelect:!0}}return t.prototype.ngOnInit=function(){this.settings=Object.assign(this.defaultSettings,this.settings),this.settings.defaultOpen&&(this.popover=!0)},t.prototype.writeValue=function(t){null!=t?this.initDate(t):this.date=new Date,this.generateDays()},t.prototype.registerOnChange=function(t){this.onChangeCallback=t},t.prototype.registerOnTouched=function(t){this.onTouchedCallback=t},t.prototype.initDate=function(t){this.date=new Date(t),this.date.getHours()<=11?(this.hourValue=this.date.getHours(),this.timeViewMeridian="AM"):(this.hourValue=this.date.getHours()-12,this.timeViewMeridian="PM"),0!=this.date.getHours()&&12!=this.date.getHours()||(this.hourValue=12),this.minValue=this.date.getMinutes()},t.prototype.generateDays=function(){this.monthDays=[];for(var t=this.date.getFullYear(),e=this.date.getMonth(),n=(this.date.getDate(),new Date),i=new Date(t,e,1).getDay(),r=this.getMonthLength(e,t),o=1,a=[],s=[],l=0;l<9;l++){s=[];for(var u=0;u<=6;u++){var c=null;o<=r&&(l>0||u>=i)&&(c=o,o==this.today.getDate()&&this.date.getMonth()==n.getMonth()&&(this.date.getFullYear(),n.getFullYear()),o++),s.push(c)}if(o>r){a.push(s);break}a.push(s)}this.monthDays=a},t.prototype.generateYearList=function(t){var e=null;"next"==t?(e=this.yearsList[8]+1,this.date.getFullYear()):"prev"==t?(e=this.yearsList[0]-9,this.date.getFullYear()):(e=this.date.getFullYear()-4,this.yearView=!this.yearView,this.monthsView=!1);for(var n=0;n<9;n++)this.yearsList[n]=e+n},t.prototype.getMonthLength=function(t,e){var n=this.cal_days_in_month[t];return 1==t&&(e%4==0&&e%100!=0||e%400==0)&&(n=29),n},t.prototype.toggleMonthView=function(){this.yearView=!1,this.monthsView=!this.monthsView},t.prototype.toggleMeridian=function(t){this.timeViewMeridian=t},t.prototype.setTimeView=function(){"AM"==this.timeViewMeridian?(this.date.setHours(12==this.hourValue?0:this.hourValue),this.date.setMinutes(this.minValue)):(this.date.setHours(12==this.hourValue?this.hourValue:this.hourValue+12),this.date.setMinutes(this.minValue)),this.date=new Date(this.date),this.timeView=!this.timeView},t.prototype.setDay=function(t){if(t.target.innerHTML){var e=parseInt(t.target.innerHTML);this.date=new Date(this.date.setDate(e)),console.log(this.date),this.onChangeCallback(this.date.toString()),this.settings.closeOnSelect&&(this.popover=!1,this.onDateSelect.emit(this.date))}},t.prototype.setYear=function(t){console.log(t.target);var e=parseInt(t.target.getAttribute("id"));this.date=new Date(this.date.setFullYear(e)),this.yearView=!this.yearView,this.generateDays()},t.prototype.setMonth=function(t){if(t.target.getAttribute("id")){var e=this.settings.cal_months_labels_short.indexOf(t.target.getAttribute("id"));this.date=new Date(this.date.setMonth(e)),this.monthsView=!this.monthsView,this.generateDays()}},t.prototype.prevMonth=function(t){if(t.stopPropagation(),0==this.date.getMonth())this.date.setMonth(11),this.date.setFullYear(this.date.getFullYear()-1);else{var e=this.getMonthLength(this.date.getMonth()-1,this.date.getFullYear());this.date.getDate()>e&&this.date.setDate(e),this.date.setMonth(this.date.getMonth()-1)}this.date=new Date(this.date),this.generateDays()},t.prototype.nextMonth=function(t){if(t.stopPropagation(),11==this.date.getMonth())this.date.setMonth(0),this.date.setFullYear(this.date.getFullYear()+1);else{var e=this.getMonthLength(this.date.getMonth()+1,this.date.getFullYear());this.date.getDate()>e&&this.date.setDate(e),this.date.setMonth(this.date.getMonth()+1)}this.date=new Date(this.date),this.generateDays()},t.prototype.onChange=function(t){console.log(t)},t.prototype.incHour=function(){this.hourValue<12&&(this.hourValue+=1,console.log(this.hourValue))},t.prototype.decHour=function(){this.hourValue>1&&(this.hourValue-=1,console.log(this.hourValue))},t.prototype.incMinutes=function(){this.minValue<59&&(this.minValue+=1,console.log(this.minValue))},t.prototype.decMinutes=function(){this.minValue>0&&(this.minValue-=1,console.log(this.minValue))},t.prototype.done=function(){this.onChangeCallback(this.date.toString()),this.popover=!1,this.onDateSelect.emit(this.date)},t}())},"4El1":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("F/XL"),r=n("67Y/"),o=n("9Z1F"),a=n("dCpw"),s=function(){function t(t,e){this.usersService=t,this.router=e}return t.prototype.canActivate=function(){var t=this;return this.usersService.getUserSubscription().pipe(Object(r.a)(function(e){return e.status===a.a.CANCELLED||(t.router.navigate(["dashboard"]),!1)}),Object(o.a)(function(){return Object(i.a)(!0)}))},t}()},"4GxJ":function(t,e,n){"use strict";var i=n("CcnG"),r=n("Ip0R"),o=(n("gIcY"),n("K9Ia")),a=n("gI3B"),s=n("p0ib"),l=n("bne5"),u=n("W0Ae"),c=n("6blF"),d=(n("26FU"),n("67Y/")),p=n("VnD/"),h=n("15JJ"),f=n("ny24"),m=n("t9fZ"),g=n("mrSG"),v=n("MGBS"),y=n("zotm");function b(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new _(t,n))}}var _=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new w(t,this.observables,this.project))},t}(),w=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.observables=n,r.project=i,r.toRespond=[];var o=n.length;r.values=new Array(o);for(var a=0;a<o;a++)r.toRespond.push(a);for(a=0;a<o;a++){var s=n[a];r.add(Object(y.a)(r,s,s,a))}return r}return g.d(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values[n]=e;var o=this.toRespond;if(o.length>0){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(v.a),C=n("vubp"),x=n("S1nX");function E(t){return parseInt(""+t,10)}function S(t){return null!=t?""+t:""}function O(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function k(t){return"string"==typeof t}function T(t){return!isNaN(E(t))}function P(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function I(t){return null!=t}function M(t){return T(t)?("0"+t).slice(-2):""}function R(t,e){return t&&t.className&&t.className.split&&t.className.split(/\s+/).indexOf(e)>=0}n("xMyE"),n.d(e,"c",function(){return H}),n.d(e,"b",function(){return D}),n.d(e,"a",function(){return F}),n.d(e,"C",function(){return V}),n.d(e,"D",function(){return N}),n.d(e,"E",function(){return L}),n.d(e,"F",function(){return j}),n.d(e,"f",function(){return B}),n.d(e,"e",function(){return U}),n.d(e,"d",function(){return z}),n.d(e,"g",function(){return W}),n.d(e,"k",function(){return $}),n.d(e,"j",function(){return G}),n.d(e,"i",function(){return q}),n.d(e,"l",function(){return K}),n.d(e,"h",function(){return tt}),n.d(e,"q",function(){return Pt}),n.d(e,"p",function(){return ot}),n.d(e,"o",function(){return dt}),n.d(e,"m",function(){return ht}),n.d(e,"n",function(){return mt}),n.d(e,"t",function(){return Rt}),n.d(e,"s",function(){return It}),n.d(e,"r",function(){return Mt}),n.d(e,"x",function(){return Gt}),n.d(e,"v",function(){return Wt}),n.d(e,"w",function(){return Dt}),n.d(e,"B",function(){return $t}),n.d(e,"A",function(){return qt}),n.d(e,"z",function(){return Yt}),n.d(e,"G",function(){return Jt}),n.d(e,"J",function(){return ne}),n.d(e,"I",function(){return te}),n.d(e,"H",function(){return ee}),n.d(e,"M",function(){return oe}),n.d(e,"L",function(){return ie}),n.d(e,"K",function(){return re}),n.d(e,"R",function(){return de}),n.d(e,"Q",function(){return ae}),n.d(e,"P",function(){return ce}),n.d(e,"N",function(){return ue}),n.d(e,"O",function(){return le}),n.d(e,"V",function(){return ye}),n.d(e,"U",function(){return he}),n.d(e,"T",function(){return ve}),n.d(e,"S",function(){return me}),n.d(e,"Y",function(){return xe}),n.d(e,"X",function(){return be}),n.d(e,"W",function(){return Ce}),n.d(e,"u",function(){return Ee}),n.d(e,"Z",function(){return Oe}),n.d(e,"y",function(){return ke}),n.d(e,"bb",function(){return kt}),n.d(e,"ib",function(){return ut}),n.d(e,"ab",function(){return gt}),n.d(e,"cb",function(){return vt}),n.d(e,"db",function(){return Tt}),n.d(e,"hb",function(){return st}),n.d(e,"jb",function(){return Vt}),n.d(e,"lb",function(){return Bt}),n.d(e,"kb",function(){return zt}),n.d(e,"eb",function(){return Xt}),n.d(e,"fb",function(){return we}),n.d(e,"gb",function(){return Se});var D=function(){function t(){this.closeOthers=!1}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),A=0,j=function(){function t(t,e){this.accordion=t,this.panel=e}return Object.defineProperty(t.prototype,"ngbPanelToggle",{set:function(t){t&&(this.panel=t)},enumerable:!0,configurable:!0}),t}(),L=function(){return function(t){this.templateRef=t}}(),N=function(){return function(t){this.templateRef=t}}(),V=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+A++,this.isOpen=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first},t}(),F=function(){function t(t){this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new i.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.isExpanded=function(t){return this.activeIds.indexOf(t)>-1},t.prototype.expand=function(t){this._changeOpenState(this._findPanelById(t),!0)},t.prototype.expandAll=function(){var t=this;this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(function(e){return t._changeOpenState(e,!0)})},t.prototype.collapse=function(t){this._changeOpenState(this._findPanelById(t),!1)},t.prototype.collapseAll=function(){var t=this;this.panels.forEach(function(e){t._changeOpenState(e,!1)})},t.prototype.toggle=function(t){var e=this._findPanelById(t);e&&this._changeOpenState(e,!e.isOpen)},t.prototype.ngAfterContentChecked=function(){var t=this;k(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(function(e){return e.isOpen=!e.disabled&&t.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype._changeOpenState=function(t,e){if(t&&!t.disabled&&t.isOpen!==e){var n=!1;this.panelChange.emit({panelId:t.id,nextState:e,preventDefault:function(){n=!0}}),n||(t.isOpen=e,e&&this.closeOtherPanels&&this._closeOthers(t.id),this._updateActiveIds())}},t.prototype._closeOthers=function(t){this.panels.forEach(function(e){e.id!==t&&(e.isOpen=!1)})},t.prototype._findPanelById=function(t){return this.panels.find(function(e){return e.id===t})},t.prototype._updateActiveIds=function(){this.activeIds=this.panels.filter(function(t){return t.isOpen&&!t.disabled}).map(function(t){return t.id})},t}(),H=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),U=function(){function t(){this.dismissible=!0,this.type="warning"}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),z=function(){function t(t,e,n){this._renderer=e,this._element=n,this.close=new i.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t.prototype.ngOnChanges=function(t){var e=t.type;e&&!e.firstChange&&(this._renderer.removeClass(this._element.nativeElement,"alert-"+e.previousValue),this._renderer.addClass(this._element.nativeElement,"alert-"+e.currentValue))},t.prototype.ngOnInit=function(){this._renderer.addClass(this._element.nativeElement,"alert-"+this.type)},t}(),B=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),W=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),G=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),q=function(){function t(t,e,n,r){this._platformId=e,this._ngZone=n,this._cd=r,this._destroy$=new o.a,this._start$=new o.a,this._stop$=new o.a,this.slide=new i.EventEmitter,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard,this.pauseOnHover=t.pauseOnHover,this.showNavigationArrows=t.showNavigationArrows,this.showNavigationIndicators=t.showNavigationIndicators}return t.prototype.ngAfterContentInit=function(){var t=this;Object(r.A)(this._platformId)&&this._ngZone.runOutsideAngular(function(){t._start$.pipe(Object(d.a)(function(){return t.interval}),Object(p.a)(function(e){return e>0&&t.slides.length>0}),Object(h.a)(function(e){return Object(a.a)(e).pipe(Object(f.a)(Object(s.a)(t._stop$,t._destroy$)))})).subscribe(function(){return t._ngZone.run(function(){return t.next()})}),t._start$.next()}),this.slides.changes.pipe(Object(f.a)(this._destroy$)).subscribe(function(){return t._cd.markForCheck()})},t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnDestroy=function(){this._destroy$.next()},t.prototype.ngOnChanges=function(t){"interval"in t&&!t.interval.isFirstChange()&&this._start$.next()},t.prototype.select=function(t){this._cycleToSelected(t,this._getSlideEventDirection(this.activeId,t))},t.prototype.prev=function(){this._cycleToSelected(this._getPrevSlide(this.activeId),Y.RIGHT)},t.prototype.next=function(){this._cycleToSelected(this._getNextSlide(this.activeId),Y.LEFT)},t.prototype.pause=function(){this._stop$.next()},t.prototype.cycle=function(){this._start$.next()},t.prototype._cycleToSelected=function(t,e){var n=this._getSlideById(t);n&&n.id!==this.activeId&&(this.slide.emit({prev:this.activeId,current:n.id,direction:e}),this._start$.next(),this.activeId=n.id),this._cd.markForCheck()},t.prototype._getSlideEventDirection=function(t,e){return this._getSlideIdxById(t)>this._getSlideIdxById(e)?Y.RIGHT:Y.LEFT},t.prototype._getSlideById=function(t){return this.slides.find(function(e){return e.id===t})},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}(),Y={LEFT:"left",RIGHT:"right"},$=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),K=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Z=function(){function t(t,e,n){this.year=P(t)?t:null,this.month=P(e)?e:null,this.day=P(n)?n:null}return t.from=function(e){return e instanceof t?e:e?new t(e.year,e.month,e.day):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=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)},t.prototype.after=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)},t}();function Q(t){return new Z(t.getFullYear(),t.getMonth()+1,t.getDate())}function X(t){var e=new Date(t.year,t.month-1,t.day,12);return isNaN(e.getTime())||e.setFullYear(t.year),e}function J(){return new et}var tt=function(){function t(){}return t.ngInjectableDef=Object(i.defineInjectable)({factory:J,token:t,providedIn:"root"}),t}(),et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(g.d)(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var i=X(t);switch(e){case"y":return new Z(t.year+n,1,1);case"m":i=new Date(t.year,t.month+n-1,1,12);break;case"d":i.setDate(i.getDate()+n);break;default:return t}return Q(i)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=X(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=X(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},e.prototype.getToday=function(){return Q(new Date)},e.prototype.isValid=function(t){if(!(t&&P(t.year)&&P(t.month)&&P(t.day)))return!1;if(0===t.year)return!1;var e=X(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(tt);function nt(t,e){return!function(t,e){return!t&&!e||!!t&&!!e&&t.equals(e)}(t,e)}function it(t,e,n){return t&&e&&t.before(e)?e:t&&n&&t.after(n)?n:t}function rt(t,e){var n=e.minDate,i=e.maxDate,r=e.disabled,o=e.markDisabled;return!(!I(t)||r||o&&o(t,{year:t.year,month:t.month})||n&&t.before(n)||i&&t.after(i))}var ot=function(){function t(){}return t.prototype.getDayNumerals=function(t){return""+t.day},t.prototype.getWeekNumerals=function(t){return""+t},t.prototype.getYearNumerals=function(t){return""+t},t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return t=Object(i.inject)(i.LOCALE_ID),new at(t);var t},token:t,providedIn:"root"}),t}(),at=function(t){function e(e){var n=t.call(this)||this;n._locale=e;var i=Object(r.y)(e,r.e.Standalone,r.v.Short);return n._weekdaysShort=i.map(function(t,e){return i[(e+1)%7]}),n._monthsShort=Object(r.z)(e,r.e.Standalone,r.v.Abbreviated),n._monthsFull=Object(r.z)(e,r.e.Standalone,r.v.Wide),n}return Object(g.d)(e,t),e.prototype.getWeekdayShortName=function(t){return this._weekdaysShort[t-1]},e.prototype.getMonthShortName=function(t){return this._monthsShort[t-1]},e.prototype.getMonthFullName=function(t){return this._monthsFull[t-1]},e.prototype.getDayAriaLabel=function(t){var e=new Date(t.year,t.month-1,t.day);return Object(r.x)(e,"fullDate",this._locale)},e}(ot),st=function(){function t(t,e){this._calendar=t,this._i18n=e,this._model$=new o.a,this._select$=new o.a,this._state={disabled:!1,displayMonths:1,firstDayOfWeek:1,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectBoxes:{years:[],months:[]},selectedDate:null}}return Object.defineProperty(t.prototype,"model$",{get:function(){return this._model$.pipe(Object(p.a)(function(t){return t.months.length>0}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"select$",{get:function(){return this._select$.pipe(Object(p.a)(function(t){return null!==t}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dayTemplateData",{set:function(t){this._state.dayTemplateData!==t&&this._nextState({dayTemplateData:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){this._state.disabled!==t&&this._nextState({disabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayMonths",{set:function(t){P(t=E(t))&&t>0&&this._state.displayMonths!==t&&this._nextState({displayMonths:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstDayOfWeek",{set:function(t){P(t=E(t))&&t>=0&&this._state.firstDayOfWeek!==t&&this._nextState({firstDayOfWeek:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusVisible",{set:function(t){this._state.focusVisible===t||this._state.disabled||this._nextState({focusVisible:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{set:function(t){var e=this.toValidDate(t,null);nt(this._state.maxDate,e)&&this._nextState({maxDate:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markDisabled",{set:function(t){this._state.markDisabled!==t&&this._nextState({markDisabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{set:function(t){var e=this.toValidDate(t,null);nt(this._state.minDate,e)&&this._nextState({minDate:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"navigation",{set:function(t){this._state.navigation!==t&&this._nextState({navigation:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outsideDays",{set:function(t){this._state.outsideDays!==t&&this._nextState({outsideDays:t})},enumerable:!0,configurable:!0}),t.prototype.focus=function(t){!this._state.disabled&&this._calendar.isValid(t)&&nt(this._state.focusDate,t)&&this._nextState({focusDate:t})},t.prototype.focusMove=function(t,e){this.focus(this._calendar.getNext(this._state.focusDate,t,e))},t.prototype.focusSelect=function(){rt(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})},t.prototype.open=function(t){var e=this.toValidDate(t,this._calendar.getToday());this._state.disabled||this._nextState({firstDate:e})},t.prototype.reset=function(t){this._state=t},t.prototype.select=function(t,e){void 0===e&&(e={});var n=this.toValidDate(t,null);this._state.disabled||(nt(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),e.emitEvent&&rt(n,this._state)&&this._select$.next(n))},t.prototype.toValidDate=function(t,e){var n=Z.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._nextState=function(t){var e=this._updateState(t);this._patchContexts(e),this._state=e,this._model$.next(this._state)},t.prototype._patchContexts=function(t){var e=t.months,n=t.displayMonths,i=t.selectedDate,r=t.focusDate,o=t.focusVisible,a=t.disabled,s=t.outsideDays;t.months.forEach(function(t){t.weeks.forEach(function(l){l.days.forEach(function(l){r&&(l.context.focused=r.equals(l.date)&&o),l.tabindex=!a&&l.date.equals(r)&&r.month===t.number?0:-1,!0===a&&(l.context.disabled=!0),void 0!==i&&(l.context.selected=null!==i&&i.equals(l.date)),t.number!==l.date.month&&(l.hidden="hidden"===s||"collapsed"===s||n>1&&l.date.after(e[0].firstDate)&&l.date.before(e[n-1].lastDate))})})})},t.prototype._updateState=function(t){var e,n,i=Object.assign({},this._state,t),r=i.firstDate;if(("minDate"in t||"maxDate"in t)&&(function(t,e){if(e&&t&&e.before(t))throw new Error("'maxDate' "+e+" should be greater than 'minDate' "+t)}(i.minDate,i.maxDate),i.focusDate=it(i.focusDate,i.minDate,i.maxDate),i.firstDate=it(i.firstDate,i.minDate,i.maxDate),r=i.focusDate),"disabled"in t&&(i.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(r=i.selectedDate),"focusVisible"in t)return i;if("focusDate"in t&&(i.focusDate=it(i.focusDate,i.minDate,i.maxDate),r=i.focusDate,0!==i.months.length&&!i.focusDate.before(i.firstDate)&&!i.focusDate.after(i.lastDate)))return i;if("firstDate"in t&&(i.firstDate=it(i.firstDate,i.minDate,i.maxDate),r=i.firstDate),r){var o=function(t,e,n,i,r){var o=n.displayMonths,a=n.months,s=a.splice(0,a.length);return Array.from({length:o},function(n,i){var o=t.getNext(e,"m",i);if(a[i]=null,!r){var l=s.findIndex(function(t){return t.firstDate.equals(o)});-1!==l&&(a[i]=s.splice(l,1)[0])}return o}).forEach(function(e,r){null===a[r]&&(a[r]=function(t,e,n,i,r){void 0===r&&(r={});var o=n.dayTemplateData,a=n.minDate,s=n.maxDate,l=n.firstDayOfWeek,u=n.markDisabled,c=n.outsideDays,d=t.getToday();r.firstDate=null,r.lastDate=null,r.number=e.month,r.year=e.year,r.weeks=r.weeks||[],r.weekdays=r.weekdays||[],e=function(t,e,n){var i=t.getDaysPerWeek(),r=new Z(e.year,e.month,1),o=t.getWeekday(r)%i;return t.getPrev(r,"d",(i+o-n)%i)}(t,e,l);for(var p=0;p<t.getWeeksPerMonth();p++){var h=r.weeks[p];h||(h=r.weeks[p]={number:0,days:[],collapsed:!0});for(var f=h.days,m=0;m<t.getDaysPerWeek();m++){0===p&&(r.weekdays[m]=t.getWeekday(e));var g=new Z(e.year,e.month,e.day),v=t.getNext(g),y=i.getDayAriaLabel(g),b=!!(a&&g.before(a)||s&&g.after(s));!b&&u&&(b=u(g,{month:r.number,year:r.year}));var _=g.equals(d),w=o?o(g,{month:r.number,year:r.year}):void 0;null===r.firstDate&&g.month===r.number&&(r.firstDate=g),g.month===r.number&&v.month!==r.number&&(r.lastDate=g);var C=f[m];C||(C=f[m]={}),C.date=g,C.context=Object.assign(C.context||{},{$implicit:g,date:g,data:w,currentMonth:r.number,disabled:b,focused:!1,selected:!1,today:_}),C.tabindex=-1,C.ariaLabel=y,C.hidden=!1,e=v}h.number=t.getWeekNumber(f.map(function(t){return t.date}),l),h.collapsed="collapsed"===c&&f[0].date.month!==r.number&&f[f.length-1].date.month!==r.number}return r}(t,e,n,i,s.shift()||{}))}),a}(this._calendar,r,i,this._i18n,"dayTemplateData"in t||"firstDayOfWeek"in t||"markDisabled"in t||"minDate"in t||"maxDate"in t||"disabled"in t||"outsideDays"in t);i.months=o,i.firstDate=o.length>0?o[0].firstDate:void 0,i.lastDate=o.length>0?o[o.length-1].lastDate:void 0,"selectedDate"in t&&!rt(i.selectedDate,i)&&(i.selectedDate=null),"firstDate"in t&&(void 0===i.focusDate||i.focusDate.before(i.firstDate)||i.focusDate.after(i.lastDate))&&(i.focusDate=r);var a=!this._state.firstDate||this._state.firstDate.year!==i.firstDate.year,s=!this._state.firstDate||this._state.firstDate.month!==i.firstDate.month;"select"===i.navigation?(("minDate"in t||"maxDate"in t||0===i.selectBoxes.years.length||a)&&(i.selectBoxes.years=function(t,e,n){if(!t)return[];var i=e&&e.year||t.year-10;return Array.from({length:(n&&n.year||t.year+10)-i+1},function(t,e){return i+e})}(i.firstDate,i.minDate,i.maxDate)),("minDate"in t||"maxDate"in t||0===i.selectBoxes.months.length||a)&&(i.selectBoxes.months=function(t,e,n,i){if(!e)return[];var r=t.getMonths(e.year);if(n&&e.year===n.year){var o=r.findIndex(function(t){return t===n.month});r=r.slice(o)}return i&&e.year===i.year&&(o=r.findIndex(function(t){return t===i.month}),r=r.slice(0,o+1)),r}(this._calendar,i.firstDate,i.minDate,i.maxDate))):i.selectBoxes={years:[],months:[]},"arrows"!==i.navigation&&"select"!==i.navigation||!(s||a||"minDate"in t||"maxDate"in t||"disabled"in t)||(i.prevDisabled=i.disabled||(e=i.minDate,n=this._calendar.getPrev(i.firstDate,"m"),e&&(n.year===e.year&&n.month<e.month||n.year<e.year&&1===e.month)),i.nextDisabled=i.disabled||function(t,e,n){return n&&t.getNext(i.lastDate,"m").after(n)}(this._calendar,0,i.maxDate))}return i},t}(),lt=function(){var t={Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40};return t[t.Tab]="Tab",t[t.Enter]="Enter",t[t.Escape]="Escape",t[t.Space]="Space",t[t.PageUp]="PageUp",t[t.PageDown]="PageDown",t[t.End]="End",t[t.Home]="Home",t[t.ArrowLeft]="ArrowLeft",t[t.ArrowUp]="ArrowUp",t[t.ArrowRight]="ArrowRight",t[t.ArrowDown]="ArrowDown",t}(),ut=function(){function t(t,e){var n=this;this._service=t,this._calendar=e,t.model$.subscribe(function(t){n._minDate=t.minDate,n._maxDate=t.maxDate,n._firstViewDate=t.firstDate,n._lastViewDate=t.lastDate})}return t.prototype.processKey=function(t){switch(t.which){case lt.PageUp:this._service.focusMove(t.shiftKey?"y":"m",-1);break;case lt.PageDown:this._service.focusMove(t.shiftKey?"y":"m",1);break;case lt.End:this._service.focus(t.shiftKey?this._maxDate:this._lastViewDate);break;case lt.Home:this._service.focus(t.shiftKey?this._minDate:this._firstViewDate);break;case lt.ArrowLeft:this._service.focusMove("d",-1);break;case lt.ArrowUp:this._service.focusMove("d",-this._calendar.getDaysPerWeek());break;case lt.ArrowRight:this._service.focusMove("d",1);break;case lt.ArrowDown:this._service.focusMove("d",this._calendar.getDaysPerWeek());break;case lt.Enter:case lt.Space:this._service.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()},t}(),ct=function(){var t={PREV:0,NEXT:1};return t[t.PREV]="PREV",t[t.NEXT]="NEXT",t}(),dt=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}();function pt(){return new ft}var ht=function(){function t(){}return t.ngInjectableDef=Object(i.defineInjectable)({factory:pt,token:t,providedIn:"root"}),t}(),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(g.d)(e,t),e.prototype.fromModel=function(t){return t&&P(t.year)&&P(t.month)&&P(t.day)?{year:t.year,month:t.month,day:t.day}:null},e.prototype.toModel=function(t){return t&&P(t.year)&&P(t.month)&&P(t.day)?{year:t.year,month:t.month,day:t.day}:null},e}(ht),mt=function(){function t(t,e,n,r,a,s,l,u,c){var d=this;this._keyMapService=t,this._service=e,this._calendar=n,this.i18n=r,this._cd=s,this._elementRef=l,this._ngbDateAdapter=u,this._ngZone=c,this._destroyed$=new o.a,this.navigate=new i.EventEmitter,this.select=new i.EventEmitter,this.onChange=function(t){},this.onTouched=function(){},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekdays","showWeekNumbers","startDate"].forEach(function(t){return d[t]=a[t]}),e.select$.pipe(Object(f.a)(this._destroyed$)).subscribe(function(t){d.select.emit(t)}),e.model$.pipe(Object(f.a)(this._destroyed$)).subscribe(function(t){var e=t.firstDate,n=d.model?d.model.firstDate:null,i=!1;if(e.equals(n)||(d.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 r=t.selectedDate,o=t.focusDate,a=d.model?d.model.focusDate:null;d.model=t,nt(r,d._controlValue)&&(d._controlValue=r,d.onTouched(),d.onChange(d._ngbDateAdapter.toModel(r))),nt(o,a)&&a&&t.focusVisible&&d.focus(),s.markForCheck()}else d._service.reset(d.model)})}return t.prototype.focus=function(){var t=this;this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(function(){var e=t._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');e&&e.focus()})},t.prototype.navigateTo=function(t){this._service.open(Z.from(t?t.day?t:Object(g.a)({},t,{day:1}):null))},t.prototype.ngAfterContentInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=Object(l.a)(t._monthsEl.nativeElement,"focusin"),n=Object(l.a)(t._monthsEl.nativeElement,"focusout");Object(s.a)(e,n).pipe(Object(p.a)(function(t){var e=t.relatedTarget;return!(R(t.target,"ngb-dp-day")&&R(e,"ngb-dp-day"))}),Object(f.a)(t._destroyed$)).subscribe(function(e){var n=e.type;return t._ngZone.run(function(){return t._service.focusVisible="focusin"===n})})})},t.prototype.ngOnDestroy=function(){this._destroyed$.next()},t.prototype.ngOnInit=function(){var t=this;void 0===this.model&&(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].forEach(function(e){return t._service[e]=t[e]}),this.navigateTo(this.startDate))},t.prototype.ngOnChanges=function(t){var e=this;["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].filter(function(e){return e in t}).forEach(function(t){return e._service[t]=e[t]}),"startDate"in t&&this.navigateTo(this.startDate)},t.prototype.onDateSelect=function(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})},t.prototype.onKeyDown=function(t){this._keyMapService.processKey(t)},t.prototype.onNavigateDateSelect=function(t){this._service.open(t)},t.prototype.onNavigateEvent=function(t){switch(t){case ct.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case ct.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._service.disabled=t},t.prototype.writeValue=function(t){this._controlValue=Z.from(this._ngbDateAdapter.fromModel(t)),this._service.select(this._controlValue)},t}(),gt=function(){function t(t){this.i18n=t,this.select=new i.EventEmitter}return t.prototype.doSelect=function(t){t.context.disabled||t.hidden||this.select.emit(t.date)},t}(),vt=function(){return function(t){this.i18n=t,this.navigation=ct,this.months=[],this.navigate=new i.EventEmitter,this.select=new i.EventEmitter}}(),yt=function(t,e){return!!e&&e.some(function(e){return e.contains(t)})},bt=!1;function _t(t,e,n,i,r,o,a){n&&t.runOutsideAngular(function(){var s=Object(l.a)(e,"keydown").pipe(Object(f.a)(r),Object(p.a)(function(t){return t.which===lt.Escape})),c=Object(l.a)(e,bt?"touchstart":"mousedown").pipe(Object(d.a)(function(t){var e=t.target;return!(t instanceof MouseEvent&&2===t.button||yt(e,a))&&("inside"===n?yt(e,o):"outside"!==n||!yt(e,o))}),Object(f.a)(r)),h=Object(l.a)(e,bt?"touchend":"mouseup").pipe(b(c),Object(p.a)(function(t){return Object(g.h)(t,2)[1]}),Object(C.a)(bt?16:0),Object(f.a)(r));Object(u.a)([s,h]).subscribe(function(){return t.run(i)})})}"undefined"!=typeof navigator&&(bt=!!navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent));var wt=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ct(t){var e=Array.from(t.querySelectorAll(wt)).filter(function(t){return-1!==t.tabIndex});return[e[0],e[e.length-1]]}var xt=function(t,e,n){void 0===n&&(n=!1);var i=Object(l.a)(t,"focusin").pipe(Object(f.a)(e),Object(d.a)(function(t){return t.target}));Object(l.a)(t,"keydown").pipe(Object(f.a)(e),Object(p.a)(function(t){return t.which===lt.Tab}),b(i)).subscribe(function(e){var n=Object(g.h)(e,2),i=n[0],r=n[1],o=Object(g.h)(Ct(t),2),a=o[0],s=o[1];r!==a&&r!==t||!i.shiftKey||(s.focus(),i.preventDefault()),r!==s||i.shiftKey||(a.focus(),i.preventDefault())}),n&&Object(l.a)(t,"click").pipe(Object(f.a)(e),b(i),Object(d.a)(function(t){return t[1]})).subscribe(function(t){return t.focus()})},Et=/\s+/,St=new(function(){function t(){}return t.prototype.getAllStyles=function(t){return window.getComputedStyle(t)},t.prototype.getStyle=function(t,e){return this.getAllStyles(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){var n;void 0===e&&(e=!0);var i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n={top:(n=t.getBoundingClientRect()).top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{var r=this.offsetParent(t);n=this.offset(t,!1),r!==document.documentElement&&(i=this.offset(r,!1)),i.top+=r.clientTop,i.left+=r.clientLeft}return n.top-=i.top,n.bottom-=i.top,n.left-=i.left,n.right-=i.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),i=window.pageYOffset-document.documentElement.clientTop,r=window.pageXOffset-document.documentElement.clientLeft,o={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+i,bottom:n.bottom+i,left:n.left+r,right:n.right+r};return e&&(o.height=Math.round(o.height),o.width=Math.round(o.width),o.top=Math.round(o.top),o.bottom=Math.round(o.bottom),o.left=Math.round(o.left),o.right=Math.round(o.right)),o},t.prototype.positionElements=function(t,e,n,i){var r=Object(g.h)(n.split("-"),2),o=r[0],a=void 0===o?"top":o,s=r[1],l=void 0===s?"center":s,u=i?this.offset(t,!1):this.position(t,!1),c=this.getAllStyles(e),d=parseFloat(c.marginTop),p=parseFloat(c.marginBottom),h=parseFloat(c.marginLeft),f=parseFloat(c.marginRight),m=0,v=0;switch(a){case"top":m=u.top-(e.offsetHeight+d+p);break;case"bottom":m=u.top+u.height;break;case"left":v=u.left-(e.offsetWidth+h+f);break;case"right":v=u.left+u.width}switch(l){case"top":m=u.top;break;case"bottom":m=u.top+u.height-e.offsetHeight;break;case"left":v=u.left;break;case"right":v=u.left+u.width-e.offsetWidth;break;case"center":"top"===a||"bottom"===a?v=u.left+u.width/2-e.offsetWidth/2:m=u.top+u.height/2-e.offsetHeight/2}e.style.transform="translate("+Math.round(v)+"px, "+Math.round(m)+"px)";var y=e.getBoundingClientRect(),b=document.documentElement,_=window.innerHeight||b.clientHeight,w=window.innerWidth||b.clientWidth;return y.left>=0&&y.top>=0&&y.right<=w&&y.bottom<=_},t}());function Ot(t,e,n,i,r){var o,a,s=Array.isArray(n)?n:n.split(Et),l=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],u=e.classList,c=function(t){var e=Object(g.h)(t.split("-"),2),n=e[0],i=e[1],o=[];return r&&(o.push(r+"-"+n),i&&o.push(r+"-"+n+"-"+i),o.forEach(function(t){u.add(t)})),o};r&&l.forEach(function(t){u.remove(r+"-"+t)});var d=s.findIndex(function(t){return"auto"===t});d>=0&&l.forEach(function(t){null==s.find(function(e){return-1!==e.search("^"+t)})&&s.splice(d++,1,t)});var p,h=e.style;h.position="absolute",h.top="0",h.left="0";var f=!1;try{for(var m=Object(g.j)(s),v=m.next();!v.done;v=m.next()){var y=c(p=v.value);if(St.positionElements(t,e,p,i)){f=!0;break}r&&y.forEach(function(t){u.remove(t)})}}catch(b){o={error:b}}finally{try{v&&!v.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}return f||(c(p=s[0]),St.positionElements(t,e,p,i)),p}var kt=function(){function t(t){this.i18n=t}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}(),Tt=function(){function t(t){this.i18n=t,this.select=new i.EventEmitter}return t.prototype.changeMonth=function(t){this.select.emit(new Z(this.date.year,E(t),1))},t.prototype.changeYear=function(t){this.select.emit(new Z(E(t),this.date.month,1))},t}(),Pt=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),It=function(){function t(){this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Mt=function(){function t(t,e,n,r,a,s){var l=this;this._changeDetector=t,this._document=n,this._ngZone=r,this._elementRef=a,this._renderer=s,this._closed$=new o.a,this._open=!1,this.openChange=new i.EventEmitter,this.placement=e.placement,this.container=e.container,this.autoClose=e.autoClose,this._zoneSubscription=r.onStable.subscribe(function(){l._positionMenu()})}return t.prototype.ngOnInit=function(){this._applyPlacementClasses(),this._open&&this._setCloseHandlers()},t.prototype.ngOnChanges=function(t){t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.isFirstChange&&this._applyPlacementClasses()},t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers())},t.prototype._setCloseHandlers=function(){var t=this;_t(this._ngZone,this._document,this.autoClose,function(){return t.close()},this._closed$,this._menu?[this._menuElement.nativeElement]:[],this._anchor?[this._anchor.getNativeElement()]:[])},t.prototype.close=function(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.ngOnDestroy=function(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()},t.prototype.onKeyDown=function(t){var e=this,n=this._getMenuElements(),i=-1,r=!1,o=this._isEventFromToggle(t);if(o||n.forEach(function(n,o){n.contains(t.target)&&(r=!0),n===e._document.activeElement&&(i=o)}),o||r){switch(this.isOpen()||this.open(),t.which){case lt.ArrowDown:i=Math.min(i+1,n.length-1);break;case lt.ArrowUp:if(this._isDropup()&&-1===i){i=n.length-1;break}i=Math.max(i-1,0);break;case lt.Home:i=0;break;case lt.End:i=n.length-1}n[i].focus(),t.preventDefault()}},t.prototype._isDropup=function(){return this._elementRef.nativeElement.classList.contains("dropup")},t.prototype._isEventFromToggle=function(t){return this._anchor.getNativeElement().contains(t.target)},t.prototype._getMenuElements=function(){return null==this._menu?[]:this._menu.menuItems.filter(function(t){return!t.disabled}).map(function(t){return t.elementRef.nativeElement})},t.prototype._positionMenu=function(){this.isOpen()&&this._menu&&this._applyPlacementClasses(Ot(this._anchor.anchorEl,this._bodyContainer||this._menuElement.nativeElement,this.placement,"body"===this.container))},t.prototype._resetContainer=function(){var t=this._renderer;if(this._menuElement){var e=this._menuElement.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)},t.prototype._applyContainer=function(t){if(void 0===t&&(t=null),this._resetContainer(),"body"===t){var e=this._renderer,n=this._menuElement.nativeElement,i=this._bodyContainer=this._bodyContainer||e.createElement("div");e.setStyle(i,"position","absolute"),e.setStyle(n,"position","static"),e.appendChild(i,n),e.appendChild(this._document.body,i)}},t.prototype._applyPlacementClasses=function(t){if(this._menu){t||(t=Array.isArray(this.placement)?this.placement[0]:this.placement.split(" ")[0]);var e=this._renderer,n=this._elementRef.nativeElement;e.removeClass(n,"dropup"),e.removeClass(n,"dropdown"),this._menu.placement=t;var i=-1!==t.search("^top")?"dropup":"dropdown";e.addClass(n,i);var r=this._bodyContainer;r&&(e.removeClass(r,"dropup"),e.removeClass(r,"dropdown"),e.addClass(r,i))}},t}(),Rt=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Dt=function(){function t(){this.backdrop=!0,this.keyboard=!0}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),At=function(){return function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}(),jt=function(){function t(t,e,n,i,r){this._type=t,this._injector=e,this._viewContainerRef=n,this._renderer=i,this._componentFactoryResolver=r}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof i.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new At([n.rootNodes],n)}return new At([[this._renderer.createText(""+t)]])}return new At([])},t}(),Lt=function(){},Nt=function(){function t(t){this._document=t}return t.prototype.compensate=function(){return this._isPresent()?this._adjustBody(this._getWidth()):Lt},t.prototype._adjustBody=function(t){var e=this._document.body,n=e.style.paddingRight,i=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=i+t+"px",function(){return e.style["padding-right"]=n}},t.prototype._isPresent=function(){var t=this._document.body.getBoundingClientRect();return t.left+t.right<window.innerWidth},t.prototype._getWidth=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.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t(Object(i.inject)(r.c))},token:t,providedIn:"root"}),t}(),Vt=function(){return function(){}}(),Ft=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}(),Ht=function(){function t(t,e,n,i){var r=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=i,t.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(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype._dismiss=function(t){this._reject(t),this._removeModalElements()},t.prototype.dismiss=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)},t.prototype._removeModalElements=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}(),Ut=function(){var t={BACKDROP_CLICK:0,ESC:1};return t[t.BACKDROP_CLICK]="BACKDROP_CLICK",t[t.ESC]="ESC",t}(),zt=function(){function t(t,e){this._document=t,this._elRef=e,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new i.EventEmitter}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(Ut.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(Ut.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=this._document.activeElement},t.prototype.ngAfterViewInit=function(){if(!this._elRef.nativeElement.contains(document.activeElement)){var t=this._elRef.nativeElement.querySelector("[ngbAutofocus]"),e=Ct(this._elRef.nativeElement)[0];(t||e||this._elRef.nativeElement).focus()}},t.prototype.ngOnDestroy=function(){var t=this._document.body,e=this._elWithFocus;(e&&e.focus&&t.contains(e)?e:t).focus(),this._elWithFocus=null},t}(),Bt=function(){function t(t,e,n,i,r){var a=this;this._applicationRef=t,this._injector=e,this._document=n,this._scrollBar=i,this._rendererFactory=r,this._activeWindowCmptHasChanged=new o.a,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","backdrop","centered","keyboard","size","windowClass"],this._windowCmpts=[],this._activeWindowCmptHasChanged.subscribe(function(){if(a._windowCmpts.length){var t=a._windowCmpts[a._windowCmpts.length-1];xt(t.location.nativeElement,a._activeWindowCmptHasChanged),a._revertAriaHidden(),a._setAriaHidden(t.location.nativeElement)}})}return t.prototype.open=function(t,e,n,i){var r=this,o=I(i.container)?this._document.querySelector(i.container):this._document.body,a=this._rendererFactory.createRenderer(null,null),s=this._scrollBar.compensate(),l=function(){r._modalRefs.length||(a.removeClass(r._document.body,"modal-open"),r._revertAriaHidden())};if(!o)throw new Error('The specified modal container "'+(i.container||"body")+'" was not found in the DOM.');var u=new Ft,c=this._getContentRef(t,i.injector||e,n,u),d=!1!==i.backdrop?this._attachBackdrop(t,o):null,p=this._attachWindowComponent(t,o,c),h=new Ht(p,c,d,i.beforeDismiss);return this._registerModalRef(h),this._registerWindowCmpt(p),h.result.then(s,s),h.result.then(l,l),u.close=function(t){h.close(t)},u.dismiss=function(t){h.dismiss(t)},this._applyWindowOptions(p.instance,i),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),d&&d.instance&&this._applyBackdropOptions(d.instance,i),h},t.prototype.dismissAll=function(t){this._modalRefs.forEach(function(e){return e.dismiss(t)})},t.prototype.hasOpenModals=function(){return this._modalRefs.length>0},t.prototype._attachBackdrop=function(t,e){var n=t.resolveComponentFactory(Vt).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n},t.prototype._attachWindowComponent=function(t,e,n){var i=t.resolveComponentFactory(zt).create(this._injector,n.nodes);return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i},t.prototype._applyWindowOptions=function(t,e){this._windowAttributes.forEach(function(n){I(e[n])&&(t[n]=e[n])})},t.prototype._applyBackdropOptions=function(t,e){this._backdropAttributes.forEach(function(n){I(e[n])&&(t[n]=e[n])})},t.prototype._getContentRef=function(t,e,n,r){return n?n instanceof i.TemplateRef?this._createFromTemplateRef(n,r):k(n)?this._createFromString(n):this._createFromComponent(t,e,n,r):new At([])},t.prototype._createFromTemplateRef=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 At([n.rootNodes],n)},t.prototype._createFromString=function(t){var e=this._document.createTextNode(""+t);return new At([[e]])},t.prototype._createFromComponent=function(t,e,n,r){var o=t.resolveComponentFactory(n),a=i.Injector.create({providers:[{provide:Ft,useValue:r}],parent:e}),s=o.create(a);return this._applicationRef.attachView(s.hostView),new At([[s.location.nativeElement]],s.hostView,s)},t.prototype._setAriaHidden=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))},t.prototype._revertAriaHidden=function(){this._ariaHiddenValues.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()},t.prototype._registerModalRef=function(t){var e=this,n=function(){var n=e._modalRefs.indexOf(t);n>-1&&e._modalRefs.splice(n,1)};this._modalRefs.push(t),t.result.then(n,n)},t.prototype._registerWindowCmpt=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.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t(Object(i.inject)(i.ApplicationRef),Object(i.inject)(i.INJECTOR),Object(i.inject)(r.c),Object(i.inject)(Nt),Object(i.inject)(i.RendererFactory2))},token:t,providedIn:"root"}),t}(),Wt=function(){function t(t,e,n,i){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=i}return t.prototype.open=function(t,e){void 0===e&&(e={});var n=Object.assign({},this._config,e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)},t.prototype.dismissAll=function(t){this._modalStack.dismissAll(t)},t.prototype.hasOpenModals=function(){return this._modalStack.hasOpenModals()},t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t(Object(i.inject)(i.ComponentFactoryResolver),Object(i.inject)(i.INJECTOR),Object(i.inject)(Bt),Object(i.inject)(Dt))},token:t,providedIn:"root"}),t}(),Gt=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),qt=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Yt=function(){function t(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new i.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.nextDisabled=function(){return!this.hasNext()||this.disabled},t.prototype.previousDisabled=function(){return!this.hasPrevious()||this.disabled},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+(this.maxSize%2==0?n-1:n)),[t,e]},t.prototype._applyPagination=function(){var t=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[t,t+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=O(t,this.pageCount,1),this.page!==e&&T(this.collectionSize)&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){var e,n;this.pageCount=Math.ceil(this.collectionSize/this.pageSize),T(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var i=1;i<=this.pageCount;i++)this.pages.push(i);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var r=0,o=this.pageCount;this.rotate?(r=(e=Object(g.h)(this._applyRotation(),2))[0],o=e[1]):(r=(n=Object(g.h)(this._applyPagination(),2))[0],o=n[1]),this.pages=this.pages.slice(r,o),this._applyEllipses(r,o)}},t}(),$t=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Kt=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),Zt={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},Qt=function(t){return t>0?Object(C.a)(t):function(t){return t}},Xt=function(){function t(){}return t.prototype.isTitleTemplate=function(){return this.title instanceof i.TemplateRef},t}(),Jt=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),te=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ee=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue,this.height=t.height}return t.prototype.getValue=function(){return O(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}(),ne=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),ie=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),re=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new i.EventEmitter,this.leave=new i.EventEmitter,this.rateChange=new i.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){switch(t.which){case lt.ArrowDown:case lt.ArrowLeft:this.update(this.rate-1);break;case lt.ArrowUp:case lt.ArrowRight:this.update(this.rate+1);break;case lt.Home:this.update(0);break;case lt.End:this.update(this.max);break;default:return}t.preventDefault()},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(t,e){return{fill:0,index:e}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var n=O(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)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?parseInt((100*e).toFixed(2),10):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}(),oe=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),ae=function(){function t(){this.justify="start",this.orientation="horizontal",this.type="tabs"}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),se=0,le=function(){return function(t){this.templateRef=t}}(),ue=function(){function t(){this.id="ngb-tab-"+se++,this.disabled=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t}(),ce=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new i.EventEmitter,this.type=t.type,this.justify=t.justify,this.orientation=t.orientation}return Object.defineProperty(t.prototype,"justify",{set:function(t){this.justifyClass="fill"===t||"justified"===t?"nav-"+t:"justify-content-"+t},enumerable:!0,configurable:!0}),t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}(),de=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),pe=function(){function t(t,e,n){this.hour=E(t),this.minute=E(e),this.second=E(n)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){this.hour=T(t)?(t<0?24+t:t)%24:NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){T(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){T(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),T(this.hour)&&T(this.minute)&&(!t||T(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}(),he=function(){function 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.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}();function fe(){return new ge}var me=function(){function t(){}return t.ngInjectableDef=Object(i.defineInjectable)({factory:fe,token:t,providedIn:"root"}),t}(),ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(g.d)(e,t),e.prototype.fromModel=function(t){return t&&P(t.hour)&&P(t.minute)?{hour:t.hour,minute:t.minute,second:P(t.second)?t.second:null}:null},e.prototype.toModel=function(t){return t&&P(t.hour)&&P(t.minute)?{hour:t.hour,minute:t.minute,second:P(t.second)?t.second:null}:null},e}(me),ve=function(){function t(t,e,n){this._config=t,this._ngbTimeAdapter=e,this._cd=n,this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return Object.defineProperty(t.prototype,"hourStep",{get:function(){return this._hourStep},set:function(t){this._hourStep=P(t)?t:this._config.hourStep},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minuteStep",{get:function(){return this._minuteStep},set:function(t){this._minuteStep=P(t)?t:this._config.minuteStep},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"secondStep",{get:function(){return this._secondStep},set:function(t){this._secondStep=P(t)?t:this._config.secondStep},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this._ngbTimeAdapter.fromModel(t);this.model=e?new pe(e.hour,e.minute,e.second):new pe,this.seconds||e&&T(e.second)||(this.model.second=0),this._cd.markForCheck()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){var e=this.model.hour>=12,n=E(t);this.model.updateHour(this.meridian&&(e&&n<12||!e&&12===n)?n+12:n),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(E(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(E(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return T(t)?M(this.meridian?t%12==0?12:t%12:t%24):M(NaN)},t.prototype.formatMinSec=function(t){return M(t)},Object.defineProperty(t.prototype,"isSmallSize",{get:function(){return"small"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLargeSize",{get:function(){return"large"===this.size},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!T(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!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}(),ye=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),be=function(){function t(){this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),_e=0,we=function(){return function(){}}(),Ce=function(){function t(t,e,n,r,o,a,s,l,u){var c=this;this._elementRef=t,this._renderer=e,this._ngZone=s,this._document=l,this._changeDetector=u,this.shown=new i.EventEmitter,this.hidden=new i.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+_e++,this.autoClose=a.autoClose,this.placement=a.placement,this.triggers=a.triggers,this.container=a.container,this.disableTooltip=a.disableTooltip,this.tooltipClass=a.tooltipClass,this.openDelay=a.openDelay,this.closeDelay=a.closeDelay,this._popupService=new jt(we,n,o,e,r),this._zoneSubscription=s.onStable.subscribe(function(){c._windowRef&&Ot(c._elementRef.nativeElement,c._windowRef.location.nativeElement,c.placement,"body"===c.container,"bs-tooltip")})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){var e=this;this._windowRef||!this._ngbTooltip||this.disableTooltip||(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.markForCheck(),_t(this._ngZone,this._document,this.autoClose,function(){return e.close()},this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=function(t,e,n,i,r,o,a,l){void 0===a&&(a=0),void 0===l&&(l=0);var u=function(t,e){void 0===e&&(e=Zt);var 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 Kt(n[0],n[1])}),r=i.filter(function(t){return t.isManual()});if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}(n);if(1===u.length&&u[0].isManual())return function(){};var h=function(t,e,n,i){return new c.a(function(r){var o=[],a=function(){return r.next(!0)},s=function(){return r.next(!1)},l=function(){return r.next(!i())};return n.forEach(function(n){n.open===n.close?o.push(t.listen(e,n.open,l)):o.push(t.listen(e,n.open,a),t.listen(e,n.close,s))}),function(){o.forEach(function(t){return t()})}})}(t,e,u,i).pipe(function(t,e,n){return function(i){var r=null,o=i.pipe(Object(d.a)(function(t){return{open:t}}),Object(p.a)(function(t){var e=n();return e===t.open||r&&r.open!==e?(r&&r.open!==t.open&&(r=null),!1):(r=t,!0)}),Object(x.a)()),a=o.pipe(Object(p.a)(function(t){return t.open}),Qt(t)),l=o.pipe(Object(p.a)(function(t){return!t.open}),Qt(e));return Object(s.a)(a,l).pipe(Object(p.a)(function(t){return t===r&&(r=null,t.open!==n())}),Object(d.a)(function(t){return t.open}))}}(a,l,i)).subscribe(function(t){return t?r():o()});return function(){return h.unsubscribe()}}(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}(),xe=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),Ee=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e,n=S(this.result),i=n.toLowerCase(),r=S(this.term).toLowerCase(),o=0;this.parts=r.length>0?i.split(new RegExp("("+(e=r,e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))+")")).map(function(t){var e=n.substr(o,t.length);return o+=t.length,e}):[n]},t}(),Se=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=S,this.selectEvent=new i.EventEmitter,this.activeChangeEvent=new i.EventEmitter}return t.prototype.hasActive=function(){return this.activeIdx>-1&&this.activeIdx<this.results.length},t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=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()},t.prototype.resetActive=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.resetActive()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t}(),Oe=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),ke=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}()},"5d3k":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){this.themeService=t,this.changeDetectorRef=e,this.localisationService=n,this.horizontal=!1}return t.prototype.ngOnInit=function(){this.initBreakdowns()},t.prototype.getSvg=function(t){return"light"!==this.themeService.getCurrentTheme()&&(t+="-white"),"assets/images/macros/"+t+".svg"},t.prototype.initBreakdowns=function(){this.breakdowns=[{title:""+this.localisationService.localise("calories"),image:this.getSvg("cal"),nutrients:Math.floor(this.calculations.calories),description:"kcal"},{title:""+this.localisationService.localise("proteins"),image:this.getSvg("protein"),nutrients:Math.floor(this.calculations.protein),description:""+this.localisationService.localise("abbreviation_gram")},{title:""+this.localisationService.localise("carbs"),image:this.getSvg("carbs"),nutrients:Math.floor(this.calculations.carbs),description:""+this.localisationService.localise("abbreviation_gram")},{title:""+this.localisationService.localise("fats"),image:this.getSvg("fats"),nutrients:Math.floor(this.calculations.fat),description:""+this.localisationService.localise("abbreviation_gram")}]},t}()},"60iU":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("G5J1"),r=n("F/XL"),o=n("XlPw"),a=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=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()}},t.prototype.do=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()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},"61xQ":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("6blF"),r=function(){function t(t,e,n,i){var r=this;this.httpClient=t,this.facebookConfig=e,this.storageService=n,this.authEventsEmitter=i,this.FACEBOOK_ID="FACEBOOK_ID",this.initFacebook(),this.initFacebookSDK(),this.facebookId=this.getFacebookId(),this.authEventsEmitter.facebookIdChanged$.subscribe(function(t){r.facebookId=t,r.setFacebookId(t)}),this.authEventsEmitter.tokenChanged$.subscribe(function(t){t||(delete r.facebookId,r.deleteFacebookId())})}return t.prototype.initFacebook=function(){var t=this;window.fbAsyncInit=function(){t.initFacebookSDK()}},t.prototype.initFacebookSDK=function(){try{FB.init(this.facebookConfig)}catch(t){}},t.prototype.openFacebookLoginDialog=function(){var t=this;return new i.a(function(e){FB.login(function(n){n.authResponse?(t.authEventsEmitter.broadcastFacebookIdChanged(n.authResponse.userID),e.next(n)):e.error(n),e.complete()},{scope:"email"})})},t.prototype.getFacebookProfilePictureUrl=function(t){var e=this;return new i.a(function(n){e.httpClient.get("https://graph.facebook.com/"+t+"/picture?type=square&redirect=0").subscribe(function(t){n.next(t.data.url),n.complete()},function(t){n.error(t)})})},t.prototype.getFacebookInfo=function(t){return new i.a(function(e){FB.api("/"+t+"/?fields=email","get",{},function(t){e.next({email:t.email,first_name:t.first_name,last_name:t.last_name}),e.complete()})})},t.prototype.getFacebookFriends=function(t,e){return new i.a(function(n){FB.api("/"+t+"/friends?access_token="+e,"get",{},function(t){n.next(null),n.complete()})})},t.prototype.getFacebookId=function(){return this.storageService.getItem(this.FACEBOOK_ID)},t.prototype.setFacebookId=function(t){this.storageService.setItem(this.FACEBOOK_ID,t)},t.prototype.deleteFacebookId=function(){this.storageService.removeItem(this.FACEBOOK_ID)},Object.defineProperty(t.prototype,"userIsLoggedInFacebook",{get:function(){return!!this.facebookId},enumerable:!0,configurable:!0}),t}()},"67Y/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("mrSG"),r=n("FFOo");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 a(t,e))}}var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}(),s=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.project=n,r.count=0,r.thisArg=i||r,r}return i.d(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(r.a)},"6FsS":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.ngOnInit=function(){},t}()},"6ahw":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("iLxQ"),r=n("DKTb"),o={closed:!0,next:function(t){},error:function(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete:function(){}}},"6blF":function(t,e,n){"use strict";var i=n("FFOo"),r=n("L/V9"),o=n("6ahw"),a=n("xTla"),s=n("y3By"),l=n("iLxQ");n.d(e,"a",function(){return u});var u=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var a=this.operator,s=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(o.a)}(t,e,n);if(a?a.call(s,this.source):s.add(this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof i.a?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=c(e))(function(e,i){var r;r=n.subscribe(function(e){try{t(e)}catch(n){i(n),r&&r.unsubscribe()}},i,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[a.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:Object(s.b)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=c(t))(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})},t.create=function(e){return new t(e)},t}();function c(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},"6foH":function(t,e,n){var i,r;void 0===(r="function"==typeof(i=function(){"use strict";var t="13.1.4";function e(t){t.parentElement.removeChild(t)}function n(t){return null!=t}function i(t){t.preventDefault()}function r(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function o(t,e,n){n>0&&(u(t,e),setTimeout(function(){c(t,e)},n))}function a(t){return Math.max(Math.min(t,100),0)}function s(t){return Array.isArray(t)?t:[t]}function l(t){var e=(t=String(t)).split(".");return e.length>1?e[1].length:0}function u(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function c(t,e){t.classList?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 p(t,e){return 100/(e-t)}function h(t,e){return 100*e/(t[1]-t[0])}function f(t,e){for(var n=1;t>=e[n];)n+=1;return n}function m(e,n,i){var o;if("number"==typeof n&&(n=[n]),!Array.isArray(n))throw new Error("noUiSlider ("+t+"): 'range' contains invalid value.");if(!r(o="min"===e?0:"max"===e?100:parseFloat(e))||!r(n[0]))throw new Error("noUiSlider ("+t+"): 'range' value isn't numeric.");i.xPct.push(o),i.xVal.push(n[0]),o?i.xSteps.push(!isNaN(n[1])&&n[1]):isNaN(n[1])||(i.xSteps[0]=n[1]),i.xHighestCompleteStep.push(0)}function g(t,e,n){if(e)if(n.xVal[t]!==n.xVal[t+1]){n.xSteps[t]=h([n.xVal[t],n.xVal[t+1]],e)/p(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}else n.xSteps[t]=n.xHighestCompleteStep[t]=n.xVal[t]}function v(t,e,n){var i;this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=e;var r=[];for(i in t)t.hasOwnProperty(i)&&r.push([t[i],i]);for(r.sort(r.length&&"object"==typeof r[0][0]?function(t,e){return t[0][0]-e[0][0]}:function(t,e){return t[0]-e[0]}),i=0;i<r.length;i++)m(r[i][1],r[i][0],this);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)g(i,this.xNumSteps[i],this)}v.prototype.getMargin=function(e){var n=this.xNumSteps[0];if(n&&e/n%1!=0)throw new Error("noUiSlider ("+t+"): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length&&h(this.xVal,e)},v.prototype.toStepping=function(t){return function(t,e,n){if(n>=t.slice(-1)[0])return 100;var i=f(n,t),r=e[i-1],o=e[i];return r+function(t,e){return h(t,t[0]<0?e+Math.abs(t[0]):e-t[0])}([t[i-1],t[i]],n)/p(r,o)}(this.xVal,this.xPct,t)},v.prototype.fromStepping=function(t){return function(t,e,n){if(n>=100)return t.slice(-1)[0];var i=f(n,e),r=e[i-1];return function(t,e){return e*(t[1]-t[0])/100+t[0]}([t[i-1],t[i]],(n-r)*p(r,e[i]))}(this.xVal,this.xPct,t)},v.prototype.getStep=function(t){return function(t,e,n,i){if(100===i)return i;var r=f(i,t),o=t[r-1],a=t[r];return n?i-o>(a-o)/2?a:o:e[r-1]?t[r-1]+function(t,e){return Math.round(t/e)*e}(i-t[r-1],e[r-1]):i}(this.xPct,this.xSteps,this.snap,t)},v.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},v.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]}}},v.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(l);return Math.max.apply(null,t)},v.prototype.convert=function(t){return this.getStep(this.toStepping(t))};var y={to:function(t){return void 0!==t&&t.toFixed(2)},from:Number};function b(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 _(e,n){if(!r(n))throw new Error("noUiSlider ("+t+"): 'step' is not numeric.");e.singleStep=n}function w(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 v(n,e.snap,e.singleStep)}function C(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 x(e,n){if(e.snap=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+t+"): 'snap' option must be a boolean.")}function E(e,n){if(e.animate=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+t+"): 'animate' option must be a boolean.")}function S(e,n){if(e.animationDuration=n,"number"!=typeof n)throw new Error("noUiSlider ("+t+"): 'animationDuration' option must be a number.")}function O(e,n){var i,r=[!1];if("lower"===n?n=[!0,!1]:"upper"===n&&(n=[!1,!0]),!0===n||!1===n){for(i=1;i<e.handles;i++)r.push(n);r.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.");r=n}e.connect=r}function k(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 T(e,n){if(!r(n))throw new Error("noUiSlider ("+t+"): 'margin' option must be numeric.");if(0!==n&&(e.margin=e.spectrum.getMargin(n),!e.margin))throw new Error("noUiSlider ("+t+"): 'margin' option is only supported on linear sliders.")}function P(e,n){if(!r(n))throw new Error("noUiSlider ("+t+"): 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(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 I(e,n){if(!r(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&&!r(n[0])&&!r(n[1]))throw new Error("noUiSlider ("+t+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==n){if(Array.isArray(n)||(n=[n,n]),e.padding=[e.spectrum.getMargin(n[0]),e.spectrum.getMargin(n[1])],!1===e.padding[0]||!1===e.padding[1])throw new Error("noUiSlider ("+t+"): 'padding' option is only supported on linear sliders.");if(e.padding[0]<0||e.padding[1]<0)throw new Error("noUiSlider ("+t+"): 'padding' option must be a positive number(s).");if(e.padding[0]+e.padding[1]>=100)throw new Error("noUiSlider ("+t+"): 'padding' option must not exceed 100% of the range.")}}function M(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 R(e,n){if("string"!=typeof n)throw new Error("noUiSlider ("+t+"): 'behaviour' must be a string containing options.");var i=n.indexOf("tap")>=0,r=n.indexOf("drag")>=0,o=n.indexOf("fixed")>=0,a=n.indexOf("snap")>=0,s=n.indexOf("hover")>=0,l=n.indexOf("unconstrained")>=0;if(o){if(2!==e.handles)throw new Error("noUiSlider ("+t+"): 'fixed' behaviour must be used with 2 handles");T(e,e.start[1]-e.start[0])}if(l&&(e.margin||e.limit))throw new Error("noUiSlider ("+t+"): 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:i||a,drag:r,fixed:o,snap:a,hover:s,unconstrained:l}}function D(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 A(t,e){t.ariaFormat=e,b(e)}function j(t,e){t.format=e,b(e)}function L(e,n){if(e.keyboardSupport=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+t+"): 'keyboardSupport' option must be a boolean.")}function N(t,e){t.documentElement=e}function V(e,n){if("string"!=typeof n&&!1!==n)throw new Error("noUiSlider ("+t+"): 'cssPrefix' must be a string or `false`.");e.cssPrefix=n}function F(e,n){if("object"!=typeof n)throw new Error("noUiSlider ("+t+"): 'cssClasses' 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 H(e){var i={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:y,format:y},r={step:{r:!1,t:_},start:{r:!0,t:C},connect:{r:!0,t:O},direction:{r:!0,t:M},snap:{r:!1,t:x},animate:{r:!1,t:E},animationDuration:{r:!1,t:S},range:{r:!0,t:w},orientation:{r:!1,t:k},margin:{r:!1,t:T},limit:{r:!1,t:P},padding:{r:!1,t:I},behaviour:{r:!0,t:R},ariaFormat:{r:!1,t:A},format:{r:!1,t:j},tooltips:{r:!1,t:D},keyboardSupport:{r:!0,t:L},documentElement:{r:!1,t:N},cssPrefix:{r:!0,t:V},cssClasses:{r:!0,t:F}},o={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:{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",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"}};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(r).forEach(function(a){if(!n(e[a])&&void 0===o[a]){if(r[a].r)throw new Error("noUiSlider ("+t+"): '"+a+"' is required.");return!0}r[a].t(i,n(e[a])?e[a]:o[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}return{__spectrum:v,version:t,create:function(n,r){if(!n||!n.nodeName)throw new Error("noUiSlider ("+t+"): create requires a single element, got: "+n);if(n.noUiSlider)throw new Error("noUiSlider ("+t+"): Slider was already initialized.");var l=function(n,r,l){var p,h,f,m,g,v,y,b,_=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"},w=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(n){}return t}(),C=n,x=r.spectrum,E=[],S=[],O=[],k=0,T={},P=n.ownerDocument,I=r.documentElement||P.documentElement,M=P.body,R=-1,D=0,A=1,j=2,L="rtl"===P.dir||1===r.ort?0:100;function N(t,e){var n=P.createElement("div");return e&&u(n,e),t.appendChild(n),n}function V(t,e){var n=N(t,r.cssClasses.origin),i=N(n,r.cssClasses.handle);return N(i,r.cssClasses.touchArea),i.setAttribute("data-handle",e),r.keyboardSupport&&(i.setAttribute("tabindex","0"),i.addEventListener("keydown",function(t){return function(t,e){if(z()||B(e))return!1;var n=["Left","Right"],i=["Down","Up"];r.dir&&!r.ort?n.reverse():r.ort&&!r.dir&&i.reverse();var o=t.key.replace("Arrow",""),a=o===i[0]||o===n[0];if(!a&&o!==i[1]&&o!==n[1])return!0;t.preventDefault();var s=a?0:1,l=mt(e)[s];return null!==l&&(!1===l&&(l=x.getDefaultStep(S[e],a,10)),l=Math.max(l,1e-7),ht(e,E[e]+(l*=a?-1:1),!0),!1)}(t,e)})),i.setAttribute("role","slider"),i.setAttribute("aria-orientation",r.ort?"vertical":"horizontal"),0===e?u(i,r.cssClasses.handleLower):e===r.handles-1&&u(i,r.cssClasses.handleUpper),n}function F(t,e){return!!e&&N(t,r.cssClasses.connect)}function U(t,e){return!!r.tooltips[e]&&N(t.firstChild,r.cssClasses.tooltip)}function z(){return C.hasAttribute("disabled")}function B(t){return h[t].hasAttribute("disabled")}function W(){g&&(nt("update.tooltips"),g.forEach(function(t){t&&e(t)}),g=null)}function G(){W(),g=h.map(U),et("update.tooltips",function(t,e,n){if(g[e]){var i=t[e];!0!==r.tooltips[e]&&(i=r.tooltips[e].to(n[e])),g[e].innerHTML=i}})}function q(){m&&(e(m),m=null)}function Y(e){q();var n=e.mode,i=e.density||1,o=e.filter||!1,a=function(e,n,i){if("range"===e||"steps"===e)return x.xVal;if("count"===e){if(n<2)throw new Error("noUiSlider ("+t+"): 'values' (>= 2) required for mode 'count'.");var r=n-1,o=100/r;for(n=[];r--;)n[r]=r*o;n.push(100),e="positions"}return"positions"===e?n.map(function(t){return x.fromStepping(i?x.getStep(t):t)}):"values"===e?i?n.map(function(t){return x.fromStepping(x.getStep(x.toStepping(t)))}):n:void 0}(n,e.values||!1,e.stepped||!1),s=function(t,e,n){var i,r={},o=x.xVal[0],a=x.xVal[x.xVal.length-1],s=!1,l=!1,u=0;return(i=n.slice().sort(function(t,e){return t-e}),n=i.filter(function(t){return!this[t]&&(this[t]=!0)},{}))[0]!==o&&(n.unshift(o),s=!0),n[n.length-1]!==a&&(n.push(a),l=!0),n.forEach(function(i,o){var a,c,d,p,h,f,m,g,v,y=i,b=n[o+1],_="steps"===e;if(_&&(a=x.xNumSteps[o]),a||(a=b-y),!1!==y&&void 0!==b)for(a=Math.max(a,1e-7),c=y;c<=b;c=(c+a).toFixed(7)/1){for(v=(h=(p=x.toStepping(c))-u)/(g=Math.round(h/t)),d=1;d<=g;d+=1)r[(f=u+d*v).toFixed(5)]=[x.fromStepping(f),0];m=n.indexOf(c)>-1?A:_?j:D,!o&&s&&(m=0),c===b&&l||(r[p.toFixed(5)]=[c,m]),u=p}}),r}(i,n,a),l=e.format||{to:Math.round};return m=C.appendChild(function(t,e,n){var i=P.createElement("div"),o=[];o[D]=r.cssClasses.valueNormal,o[A]=r.cssClasses.valueLarge,o[j]=r.cssClasses.valueSub;var a=[];a[D]=r.cssClasses.markerNormal,a[A]=r.cssClasses.markerLarge,a[j]=r.cssClasses.markerSub;var s=[r.cssClasses.valueHorizontal,r.cssClasses.valueVertical],l=[r.cssClasses.markerHorizontal,r.cssClasses.markerVertical];function c(t,e){var n=e===r.cssClasses.value;return e+" "+(n?s:l)[r.ort]+" "+(n?o:a)[t]}return u(i,r.cssClasses.pips),u(i,0===r.ort?r.cssClasses.pipsHorizontal:r.cssClasses.pipsVertical),Object.keys(t).forEach(function(o){!function(t,o,a){if((a=e?e(o,a):a)!==R){var s=N(i,!1);s.className=c(a,r.cssClasses.marker),s.style[r.style]=t+"%",a>D&&((s=N(i,!1)).className=c(a,r.cssClasses.value),s.setAttribute("data-value",o),s.style[r.style]=t+"%",s.innerHTML=n.to(o))}}(o,t[o][0],t[o][1])}),i}(s,o,l))}function $(){var t=p.getBoundingClientRect(),e="offset"+["Width","Height"][r.ort];return 0===r.ort?t.width||p[e]:t.height||p[e]}function K(t,e,n,i){var o=function(o){return!!(o=function(t,e,n){var i,r,o=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),o){var l=function(t){return t.target===n||n.contains(t.target)};if("touchstart"===t.type){var u=Array.prototype.filter.call(t.touches,l);if(u.length>1)return!1;i=u[0].pageX,r=u[0].pageY}else{var c=Array.prototype.find.call(t.changedTouches,l);if(!c)return!1;i=c.pageX,r=c.pageY}}return e=e||d(P),(a||s)&&(i=t.clientX+e.x,r=t.clientY+e.y),t.pageOffset=e,t.points=[i,r],t.cursor=a||s,t}(o,i.pageOffset,i.target||e))&&!(z()&&!i.doNotReject)&&(s=r.cssClasses.tap,!(((a=C).classList?a.classList.contains(s):new RegExp("\\b"+s+"\\b").test(a.className))&&!i.doNotReject)&&!(t===_.start&&void 0!==o.buttons&&o.buttons>1)&&(!i.hover||!o.buttons)&&(w||o.preventDefault(),o.calcPoint=o.points[r.ort],void n(o,i)));var a,s},a=[];return t.split(" ").forEach(function(t){e.addEventListener(t,o,!!w&&{passive:!0}),a.push([t,o])}),a}function Z(t){var e,n,i,o,s,l,u=100*(t-(n=r.ort,i=(e=p).getBoundingClientRect(),s=(o=e.ownerDocument).documentElement,l=d(o),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),n?i.top+l.y-s.clientTop:i.left+l.x-s.clientLeft))/$();return u=a(u),r.dir?100-u:u}function Q(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&J(t,e)}function X(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return J(t,e);var n=(r.dir?-1:1)*(t.calcPoint-e.startCalcPoint);at(n>0,100*n/e.baseSize,e.locations,e.handleNumbers)}function J(t,e){e.handle&&(c(e.handle,r.cssClasses.active),k-=1),e.listeners.forEach(function(t){I.removeEventListener(t[0],t[1])}),0===k&&(c(C,r.cssClasses.drag),lt(),t.cursor&&(M.style.cursor="",M.removeEventListener("selectstart",i))),e.handleNumbers.forEach(function(t){it("change",t),it("set",t),it("end",t)})}function tt(t,e){if(e.handleNumbers.some(B))return!1;var n;1===e.handleNumbers.length&&(k+=1,u(n=h[e.handleNumbers[0]].children[0],r.cssClasses.active)),t.stopPropagation();var o=[],a=K(_.move,I,X,{target:t.target,handle:n,listeners:o,startCalcPoint:t.calcPoint,baseSize:$(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:S.slice()}),s=K(_.end,I,J,{target:t.target,handle:n,listeners:o,doNotReject:!0,handleNumbers:e.handleNumbers}),l=K("mouseout",I,Q,{target:t.target,handle:n,listeners:o,doNotReject:!0,handleNumbers:e.handleNumbers});o.push.apply(o,a.concat(s,l)),t.cursor&&(M.style.cursor=getComputedStyle(t.target).cursor,h.length>1&&u(C,r.cssClasses.drag),M.addEventListener("selectstart",i,!1)),e.handleNumbers.forEach(function(t){it("start",t)})}function et(t,e){T[t]=T[t]||[],T[t].push(e),"update"===t.split(".")[0]&&h.forEach(function(t,e){it("update",e)})}function nt(t){var e=t&&t.split(".")[0],n=e&&t.substring(e.length);Object.keys(T).forEach(function(t){var i=t.split(".")[0],r=t.substring(i.length);e&&e!==i||n&&n!==r||delete T[t]})}function it(t,e,n){Object.keys(T).forEach(function(i){var o=i.split(".")[0];t===o&&T[i].forEach(function(t){t.call(v,E.map(r.format.to),e,E.slice(),n||!1,S.slice())})})}function rt(t,e,n,i,o,s){return h.length>1&&!r.events.unconstrained&&(i&&e>0&&(n=Math.max(n,t[e-1]+r.margin)),o&&e<h.length-1&&(n=Math.min(n,t[e+1]-r.margin))),h.length>1&&r.limit&&(i&&e>0&&(n=Math.min(n,t[e-1]+r.limit)),o&&e<h.length-1&&(n=Math.max(n,t[e+1]-r.limit))),r.padding&&(0===e&&(n=Math.max(n,r.padding[0])),e===h.length-1&&(n=Math.min(n,100-r.padding[1]))),!((n=a(n=x.getStep(n)))===t[e]&&!s)&&n}function ot(t,e){var n=r.ort;return(n?e:t)+", "+(n?t:e)}function at(t,e,n,i){var r=n.slice(),o=[!t,t],a=[t,!t];i=i.slice(),t&&i.reverse(),i.length>1?i.forEach(function(t,n){var i=rt(r,t,r[t]+e,o[n],a[n],!1);!1===i?e=0:(e=i-r[t],r[t]=i)}):o=a=[!0];var s=!1;i.forEach(function(t,i){s=ut(t,n[t]+e,o[i],a[i])||s}),s&&i.forEach(function(t){it("update",t),it("slide",t)})}function st(t,e){return r.dir?100-t-e:t}function lt(){O.forEach(function(t){h[t].style.zIndex=3+(h.length+(S[t]>50?-1:1)*t)})}function ut(t,e,n,i){return!1!==(e=rt(S,t,e,n,i,!1))&&(function(t,e){S[t]=e,E[t]=x.fromStepping(e);var n="translate("+ot(st(e,0)-L+"%","0")+")";h[t].style[r.transformRule]=n,ct(t),ct(t+1)}(t,e),!0)}function ct(t){if(f[t]){var e=0,n=100;0!==t&&(e=S[t-1]),t!==f.length-1&&(n=S[t]);var i=n-e,o="translate("+ot(st(e,i)+"%","0")+")",a="scale("+ot(i/100,"1")+")";f[t].style[r.transformRule]=o+" "+a}}function dt(t,e){return null===t||!1===t||void 0===t?S[e]:("number"==typeof t&&(t=String(t)),t=r.format.from(t),!1===(t=x.toStepping(t))||isNaN(t)?S[e]:t)}function pt(t,e){var n=s(t);e=void 0===e||!!e,r.animate&&!(void 0===S[0])&&o(C,r.cssClasses.tap,r.animationDuration),O.forEach(function(t){ut(t,dt(n[t],t),!0,!1)}),O.forEach(function(t){ut(t,S[t],!0,!0)}),lt(),O.forEach(function(t){it("update",t),null!==n[t]&&e&&it("set",t)})}function ht(e,n,i){if(!((e=Number(e))>=0&&e<O.length))throw new Error("noUiSlider ("+t+"): invalid handle number, got: "+e);ut(e,dt(n,e),!0,!0),it("update",e),i&&it("set",e)}function ft(){var t=E.map(r.format.to);return 1===t.length?t[0]:t}function mt(t){var e=S[t],n=x.getNearbySteps(e),i=E[t],o=n.thisStep.step,a=null;if(r.snap)return[i-n.stepBefore.startValue||null,n.stepAfter.startValue-i||null];!1!==o&&i+o>n.stepAfter.startValue&&(o=n.stepAfter.startValue-i),a=i>n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&&i-n.stepBefore.highestStep,100===e?o=null:0===e&&(a=null);var s=x.countStepDecimals();return null!==o&&!1!==o&&(o=Number(o.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,o]}return u(b=C,r.cssClasses.target),u(b,0===r.dir?r.cssClasses.ltr:r.cssClasses.rtl),u(b,0===r.ort?r.cssClasses.horizontal:r.cssClasses.vertical),p=N(b,r.cssClasses.base),function(t,e){var n=N(e,r.cssClasses.connects);h=[],(f=[]).push(F(n,t[0]));for(var i=0;i<r.handles;i++)h.push(V(e,i)),O[i]=i,f.push(F(n,t[i+1]))}(r.connect,p),(y=r.events).fixed||h.forEach(function(t,e){K(_.start,t.children[0],tt,{handleNumbers:[e]})}),y.tap&&K(_.start,p,function(t){t.stopPropagation();var e=Z(t.calcPoint),n=function(t){var e=100,n=!1;return h.forEach(function(i,r){if(!B(r)){var o=Math.abs(S[r]-t);(o<e||100===o&&100===e)&&(n=r,e=o)}}),n}(e);if(!1===n)return!1;r.events.snap||o(C,r.cssClasses.tap,r.animationDuration),ut(n,e,!0,!0),lt(),it("slide",n,!0),it("update",n,!0),it("change",n,!0),it("set",n,!0),r.events.snap&&tt(t,{handleNumbers:[n]})},{}),y.hover&&K(_.move,p,function(t){var e=Z(t.calcPoint),n=x.getStep(e),i=x.fromStepping(n);Object.keys(T).forEach(function(t){"hover"===t.split(".")[0]&&T[t].forEach(function(t){t.call(v,i)})})},{hover:!0}),y.drag&&f.forEach(function(t,e){if(!1!==t&&0!==e&&e!==f.length-1){var n=h[e-1],i=h[e],o=[t];u(t,r.cssClasses.draggable),y.fixed&&(o.push(n.children[0]),o.push(i.children[0])),o.forEach(function(t){K(_.start,t,tt,{handles:[n,i],handleNumbers:[e-1,e]})})}}),pt(r.start),r.pips&&Y(r.pips),r.tooltips&&G(),et("update",function(t,e,n,i,o){O.forEach(function(t){var e=h[t],i=rt(S,t,0,!0,!0,!0),a=rt(S,t,100,!0,!0,!0),s=o[t],l=r.ariaFormat.to(n[t]);i=x.fromStepping(i).toFixed(1),a=x.fromStepping(a).toFixed(1),s=x.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",l)})}),v={destroy:function(){for(var t in r.cssClasses)r.cssClasses.hasOwnProperty(t)&&c(C,r.cssClasses[t]);for(;C.firstChild;)C.removeChild(C.firstChild);delete C.noUiSlider},steps:function(){return O.map(mt)},on:et,off:nt,get:ft,set:pt,setHandle:ht,reset:function(t){pt(r.start,t)},__moveHandles:function(t,e,n){at(t,e,S,n)},options:l,updateOptions:function(t,e){var n=ft(),i=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];i.forEach(function(e){void 0!==t[e]&&(l[e]=t[e])});var o=H(l);i.forEach(function(e){void 0!==t[e]&&(r[e]=o[e])}),x=o.spectrum,r.margin=o.margin,r.limit=o.limit,r.padding=o.padding,r.pips?Y(r.pips):q(),r.tooltips?G():W(),S=[],pt(t.start||n,e)},target:C,removePips:q,removeTooltips:W,pips:Y}}(n,H(r),r);return n.noUiSlider=l,l}}})?i.apply(e,[]):i)||(t.exports=r)},"8Q7P":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.ngOnInit=function(){},t}()},"8cTf":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("j4LC"),r=function(){function t(t,e){this.usersService=t,this.changeDetectorRef=e,this._date=null,this.animationPercent=0,this.increase_per_step=100,this.userWater=new i.a,this.userWater.water_target=0,this.userWater.min_water_target=0,this.userWater.consumed=0}return Object.defineProperty(t.prototype,"date",{set:function(t){var e=this;this._date=t,this.usersService.getUserWater(this._date).subscribe(function(t){e.userWater=t;var n=100*e.userWater.consumed/e.userWater.water_target;n>=95&&(n=90),e.changeDetectorRef.detectChanges()})},enumerable:!0,configurable:!0}),t.prototype.fixedNumber=function(t){return 0===t?0:(t/1e3).toFixed(1)},t.prototype.increase=function(){var t=this.userWater.consumed+this.increase_per_step,e=this.userWater.water_target,n=100*t/e;t>e||(n>=95&&(n=90),this.updateMl(this.increase_per_step),this.userWater.consumed=t,this.changeDetectorRef.detectChanges())},t.prototype.animateTo=function(t){var e,n=this,i=document.getElementById("percentB"),r=document.getElementById("water"),o=document.getElementById("waterdrop"),a=document.getElementById("waterdrop-white"),s=this.animationPercent;e=setInterval(function(){r.style.transform="translate(0,"+(100-(s+=5))+"%)",s>50&&(i.style.color="#fff",o.style.display="none",a.style.display="block"),s>=t&&(n.animationPercent=t,clearInterval(e))},120)},t.prototype.percentage=function(t,e){if(!e||e<=0)return"0%";var n=Math.round(t/e*100);return n>100&&(n=100),n+"%"},t.prototype.updateMl=function(t){this.usersService.addUserWater(this._date,{add_ml:t}).subscribe()},t}()},"8g8A":function(t,e,n){"use strict";function i(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(e,"a",function(){return r}),i.prototype=Object.create(Error.prototype);var r=i},"8hX0":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.sanitizer=t}return t.prototype.transform=function(t){return this.sanitizer.bypassSecurityTrustHtml(t)},t}()},"8wbS":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.localisationService=t}return t.prototype.transform=function(t){var e=this.convertTimeObjectToReadableTime(this.convertToTimeObject(this.minutesToMiliseconds(+t))),n=e.hours,i=e.minutes,r=e.seconds,o=this.localisationService.localise("hours"),a=this.localisationService.localise("hour"),s=this.localisationService.localise("minutes"),l=this.localisationService.localise("minute"),u=this.localisationService.localise("seconds"),c=this.localisationService.localise("second"),d=this.localisationService.localise("and");return n?i?n+" "+(n>1?o:a)+" "+d+" "+i+" "+s:n+" "+(n>1?o:a):i?i+" "+(i>1?s:l):r+" "+(r>1?u:c)},t.prototype.minutesToMiliseconds=function(t){return 60*t*1e3},t.prototype.convertToTimeObject=function(t){return{hours:t/1e3/3600,minutes:t/1e3/60,seconds:t/1e3}},t.prototype.convertTimeObjectToReadableTime=function(t){return{hours:Math.floor(t.hours),minutes:Math.floor(t.minutes-60*Math.floor(t.hours)),seconds:Math.floor(t.seconds-60*Math.floor(t.minutes))}},t}()},"8ydK":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("CcnG"),r=function(){function t(){this.close=new i.EventEmitter}return t.prototype.ngOnInit=function(){},t.prototype.isIOS=function(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document},t}()},"94jR":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("t/Na"),r=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.createFriend=function(t){return this.httpClient.post(this.constants.apiURL()+"/user/friends/",t)},t.prototype.removeFriend=function(t){var e=(new i.i).append("id",t.id+""),n=new i.h({"Content-Type":"application/JSON"});return this.httpClient.delete(this.constants.apiURL()+"/user/friends/",{headers:n,params:e})},t.prototype.getFriends=function(){return this.httpClient.get(this.constants.apiURL()+"/user/friends/")},t.prototype.searchFriends=function(t){return this.httpClient.post(this.constants.apiURL()+"/user/friends/search/",t)},t}()},"9AJC":function(t,e,n){"use strict";n.d(e,"c",function(){return s}),n.d(e,"e",function(){return f}),n.d(e,"a",function(){return b}),n.d(e,"b",function(){return X}),n.d(e,"g",function(){return ot}),n.d(e,"d",function(){return at}),n.d(e,"f",function(){return pt}),n.d(e,"h",function(){return gt}),n.d(e,"i",function(){return xt}),n.d(e,"j",function(){return Rt}),n.d(e,"k",function(){return Lt});var i=n("CcnG"),r=n("4GxJ"),o=n("Ip0R"),a=n("gIcY"),s=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function l(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function u(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"button",[["class","btn btn-link"],["type","button"]],[[8,"disabled",0],[2,"collapsed",null],[1,"aria-expanded",0],[1,"aria-controls",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).accordion.toggle(i["\u0275nov"](t,1).panel.id)&&r),r},null,null)),i["\u0275did"](1,16384,null,0,r.F,[r.a,[8,null]],{ngbPanelToggle:[0,"ngbPanelToggle"]},null),(t()(),i["\u0275ted"](2,null,[" ",""])),(t()(),i["\u0275and"](16777216,null,null,1,null,l)),i["\u0275did"](4,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){t(e,1,0,e.context.$implicit),t(e,4,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){t(e,0,0,i["\u0275nov"](e,1).panel.disabled,!i["\u0275nov"](e,1).panel.isOpen,i["\u0275nov"](e,1).panel.isOpen,i["\u0275nov"](e,1).panel.id),t(e,2,0,e.context.$implicit.title)})}function c(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function d(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function p(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,3,"div",[["class","collapse"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"show",null]],null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,2,"div",[["class","card-body"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,d)),i["\u0275did"](3,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){t(e,3,0,null==e.parent.context.$implicit.contentTpl?null:e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){t(e,0,0,i["\u0275inlineInterpolate"](1,"",e.parent.context.$implicit.id,""),e.parent.context.$implicit.id+"-header",e.parent.context.$implicit.isOpen)})}function h(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,"div",[["class","card"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,3,"div",[["role","tab"]],[[8,"id",0],[8,"className",0]],null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,2,null,c)),i["\u0275did"](3,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),i["\u0275pod"](4,{$implicit:0,opened:1}),(t()(),i["\u0275and"](16777216,null,null,1,null,p)),i["\u0275did"](6,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component,r=t(e,4,0,e.context.$implicit,e.context.$implicit.isOpen);t(e,3,0,r,(null==e.context.$implicit.headerTpl?null:e.context.$implicit.headerTpl.templateRef)||i["\u0275nov"](e.parent,0)),t(e,6,0,!n.destroyOnHide||e.context.$implicit.isOpen)},function(t,e){var n=e.component;t(e,1,0,i["\u0275inlineInterpolate"](1,"",e.context.$implicit.id,"-header"),"card-header "+(e.context.$implicit.type?"bg-"+e.context.$implicit.type:n.type?"bg-"+n.type:""))})}function f(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,[["t",2]],null,1,null,u)),i["\u0275did"](1,16384,null,0,r.E,[i.TemplateRef],null,null),(t()(),i["\u0275and"](16777216,null,null,1,null,h)),i["\u0275did"](3,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,3,0,e.component.panels)},null)}var m=i["\u0275crt"]({encapsulation:2,styles:["ngb-alert{display:block}"],data:{}});function g(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"button",[["aria-label","Close"],["class","close"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closeHandler()&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\xd7"]))],null,null)}function v(t){return i["\u0275vid"](2,[(t()(),i["\u0275and"](16777216,null,null,1,null,g)),i["\u0275did"](1,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),i["\u0275ncd"](null,0)],function(t,e){t(e,1,0,e.component.dismissible)},null)}function y(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-alert",[["class","alert"],["role","alert"]],[[2,"alert-dismissible",null]],null,null,v,m)),i["\u0275did"](1,638976,null,0,r.d,[r.e,i.Renderer2,i.ElementRef],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,i["\u0275nov"](e,1).dismissible)})}var b=i["\u0275ccf"]("ngb-alert",r.d,y,{dismissible:"dismissible",type:"type"},{close:"close"},["*"]),_=i["\u0275crt"]({encapsulation:2,styles:["ngb-datepicker-month-view{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}.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}"],data:{}});function w(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"div",[["class","ngb-dp-weekday ngb-dp-showweek"]],null,null,null,null,null))],null,null)}function C(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["class","ngb-dp-weekday small"]],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,[" "," "]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.$implicit))})}function x(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","ngb-dp-week ngb-dp-weekdays bg-light"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,w)),i["\u0275did"](2,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,C)),i["\u0275did"](4,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.showWeekNumbers),t(e,4,0,n.month.weekdays)},null)}function E(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["class","ngb-dp-week-number small text-muted"]],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekNumerals(e.parent.parent.context.$implicit.number))})}function S(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function O(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,S)),i["\u0275did"](1,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,e.parent.context.$implicit.context,e.component.dayTemplate)},null)}function k(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["class","ngb-dp-day"],["role","gridcell"]],[[2,"disabled",null],[8,"tabIndex",0],[2,"hidden",null],[2,"ngb-dp-today",null],[1,"aria-label",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.doSelect(t.context.$implicit)&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,O)),i["\u0275did"](2,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,2,0,!e.context.$implicit.hidden)},function(t,e){t(e,0,0,e.context.$implicit.context.disabled,e.context.$implicit.tabindex,e.context.$implicit.hidden,e.context.$implicit.context.today,e.context.$implicit.ariaLabel)})}function T(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","ngb-dp-week"],["role","row"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,E)),i["\u0275did"](2,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,k)),i["\u0275did"](4,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.showWeekNumbers),t(e,4,0,e.parent.context.$implicit.days)},null)}function P(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,T)),i["\u0275did"](1,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,!e.context.$implicit.collapsed)},null)}function I(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,x)),i["\u0275did"](1,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,P)),i["\u0275did"](3,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.showWeekdays),t(e,3,0,n.month.weeks)},null)}var M=i["\u0275crt"]({encapsulation:2,styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:0 0}[ngbDatepickerDayView].outside{opacity:.5}"],data:{}});function R(t){return i["\u0275vid"](2,[(t()(),i["\u0275ted"](0,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n.i18n.getDayNumerals(n.date))})}var D=i["\u0275crt"]({encapsulation:2,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}"],data:{}});function A(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-datepicker-navigation-select",[["class","ngb-dp-navigation-select"]],null,[[null,"select"]],function(t,e,n){var i=!0;return"select"===e&&(i=!1!==t.component.select.emit(n)&&i),i},B,H)),i["\u0275did"](1,49152,null,0,r.db,[r.p],{date:[0,"date"],disabled:[1,"disabled"],months:[2,"months"],years:[3,"years"]},{select:"select"})],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.selectBoxes.months,n.selectBoxes.years)},null)}function j(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"div",[["class","ngb-dp-arrow"]],null,null,null,null,null))],null,null)}function L(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"div",[["class","ngb-dp-arrow"]],null,null,null,null,null))],null,null)}function N(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,j)),i["\u0275did"](1,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](2,0,null,null,1,"div",[["class","ngb-dp-month-name"]],null,null,null,null,null)),(t()(),i["\u0275ted"](3,null,[" "," "," "])),(t()(),i["\u0275and"](16777216,null,null,1,null,L)),i["\u0275did"](5,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,e.context.index>0),t(e,5,0,e.context.index!==n.months.length-1)},function(t,e){var n=e.component;t(e,3,0,n.i18n.getMonthFullName(e.context.$implicit.number,e.context.$implicit.year),n.i18n.getYearNumerals(e.context.$implicit.year))})}function V(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,N)),i["\u0275did"](1,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,e.component.months)},null)}function F(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["class","ngb-dp-arrow"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"button",[["aria-label","Previous month"],["class","btn btn-link ngb-dp-arrow-btn"],["title","Previous month"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.navigate.emit(r.navigation.PREV)&&i),i},null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,A)),i["\u0275did"](4,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,V)),i["\u0275did"](6,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](7,0,null,null,2,"div",[["class","ngb-dp-arrow right"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,1,"button",[["aria-label","Next month"],["class","btn btn-link ngb-dp-arrow-btn"],["title","Next month"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.navigate.emit(r.navigation.NEXT)&&i),i},null,null)),(t()(),i["\u0275eld"](9,0,null,null,0,"span",[["class","ngb-dp-navigation-chevron"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.showSelect),t(e,6,0,!n.showSelect)},function(t,e){var n=e.component;t(e,1,0,n.prevDisabled),t(e,8,0,n.nextDisabled)})}var H=i["\u0275crt"]({encapsulation:2,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}"],data:{}});function U(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,3,"option",[],[[1,"aria-label",0]],null,null,null,null)),i["\u0275did"](1,147456,null,0,a.NgSelectOption,[i.ElementRef,i.Renderer2,[8,null]],{value:[0,"value"]},null),i["\u0275did"](2,147456,null,0,a["\u0275angular_packages_forms_forms_s"],[i.ElementRef,i.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),i["\u0275ted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){var n=e.component;t(e,0,0,n.i18n.getMonthFullName(e.context.$implicit,null==n.date?null:n.date.year)),t(e,3,0,n.i18n.getMonthShortName(e.context.$implicit,null==n.date?null:n.date.year))})}function z(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),i["\u0275did"](1,147456,null,0,a.NgSelectOption,[i.ElementRef,i.Renderer2,[8,null]],{value:[0,"value"]},null),i["\u0275did"](2,147456,null,0,a["\u0275angular_packages_forms_forms_s"],[i.ElementRef,i.Renderer2,[8,null]],{value:[0,"value"]},null),(t()(),i["\u0275ted"](3,null,["",""]))],function(t,e){t(e,1,0,e.context.$implicit),t(e,2,0,e.context.$implicit)},function(t,e){t(e,3,0,e.component.i18n.getYearNumerals(e.context.$implicit))})}function B(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,2,"select",[["aria-label","Select month"],["class","custom-select"],["title","Select month"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeMonth(n.target.value)&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,U)),i["\u0275did"](2,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275eld"](3,0,null,null,2,"select",[["aria-label","Select year"],["class","custom-select"],["title","Select year"]],[[8,"disabled",0],[8,"value",0]],[[null,"change"]],function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeYear(n.target.value)&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,z)),i["\u0275did"](5,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.months),t(e,5,0,n.years)},function(t,e){var n=e.component;t(e,0,0,n.disabled,null==n.date?null:n.date.month),t(e,3,0,n.disabled,null==n.date?null:n.date.year)})}var W=i["\u0275crt"]({encapsulation:2,styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}.ngb-dp-month{pointer-events:none}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem}ngb-datepicker-month-view{pointer-events:auto}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-month+.ngb-dp-month>.ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month>ngb-datepicker-month-view>.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-datepicker-month-view>.ngb-dp-week:last-child{padding-bottom:.25rem}.ngb-dp-months{display:-ms-flexbox;display:flex}"],data:{}});function G(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["class","btn-light"],["ngbDatepickerDayView",""]],[[2,"bg-primary",null],[2,"text-white",null],[2,"text-muted",null],[2,"outside",null],[2,"active",null]],null,null,R,M)),i["\u0275did"](1,49152,null,0,r.bb,[r.p],{currentMonth:[0,"currentMonth"],date:[1,"date"],disabled:[2,"disabled"],focused:[3,"focused"],selected:[4,"selected"]},null)],function(t,e){t(e,1,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.focused,e.context.selected)},function(t,e){t(e,0,0,i["\u0275nov"](e,1).selected,i["\u0275nov"](e,1).selected,i["\u0275nov"](e,1).isMuted(),i["\u0275nov"](e,1).isMuted(),i["\u0275nov"](e,1).focused)})}function q(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-datepicker-navigation",[],null,[[null,"navigate"],[null,"select"]],function(t,e,n){var i=!0,r=t.component;return"navigate"===e&&(i=!1!==r.onNavigateEvent(n)&&i),"select"===e&&(i=!1!==r.onNavigateDateSelect(n)&&i),i},F,D)),i["\u0275did"](1,49152,null,0,r.cb,[r.p],{date:[0,"date"],disabled:[1,"disabled"],months:[2,"months"],showSelect:[3,"showSelect"],prevDisabled:[4,"prevDisabled"],nextDisabled:[5,"nextDisabled"],selectBoxes:[6,"selectBoxes"]},{navigate:"navigate",select:"select"})],function(t,e){var n=e.component;t(e,1,0,n.model.firstDate,n.model.disabled,n.model.months,"select"===n.model.navigation,n.model.prevDisabled,n.model.nextDisabled,n.model.selectBoxes)},null)}function Y(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["class","ngb-dp-month-name bg-light"]],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,[" "," "," "]))],null,function(t,e){var n=e.component;t(e,1,0,n.i18n.getMonthFullName(e.parent.context.$implicit.number,e.parent.context.$implicit.year),n.i18n.getYearNumerals(e.parent.context.$implicit.year))})}function $(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","ngb-dp-month"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,Y)),i["\u0275did"](2,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](3,0,null,null,1,"ngb-datepicker-month-view",[["role","grid"]],null,[[null,"select"]],function(t,e,n){var i=!0;return"select"===e&&(i=!1!==t.component.onDateSelect(n)&&i),i},I,_)),i["\u0275did"](4,49152,null,0,r.ab,[r.p],{dayTemplate:[0,"dayTemplate"],month:[1,"month"],showWeekdays:[2,"showWeekdays"],showWeekNumbers:[3,"showWeekNumbers"]},{select:"select"})],function(t,e){var n=e.component;t(e,2,0,"none"===n.navigation||n.displayMonths>1&&"select"===n.navigation),t(e,4,0,n.dayTemplate||i["\u0275nov"](e.parent,1),e.context.$implicit,n.showWeekdays,n.showWeekNumbers)},null)}function K(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function Z(t){return i["\u0275vid"](2,[i["\u0275qud"](402653184,1,{_monthsEl:0}),(t()(),i["\u0275and"](0,[["dt",2]],null,0,null,G)),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","ngb-dp-header bg-light"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,q)),i["\u0275did"](4,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](5,0,[[1,0],["months",1]],null,2,"div",[["class","ngb-dp-months"]],null,[[null,"keydown"]],function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==t.component.onKeyDown(n)&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,$)),i["\u0275did"](7,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,K)),i["\u0275did"](9,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){var n=e.component;t(e,4,0,"none"!==n.navigation),t(e,7,0,n.model.months),t(e,9,0,n.footerTemplate)},null)}function Q(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"ngb-datepicker",[],null,null,null,Z,W)),i["\u0275prd"](5120,null,a.NG_VALUE_ACCESSOR,function(t){return[t]},[r.n]),i["\u0275prd"](512,null,r.hb,r.hb,[r.h,r.p]),i["\u0275prd"](512,null,r.ib,r.ib,[r.hb,r.h]),i["\u0275did"](4,1818624,null,0,r.n,[r.ib,r.hb,r.h,r.p,r.o,i.ChangeDetectorRef,i.ElementRef,r.m,i.NgZone],null,null)],function(t,e){t(e,4,0)},null)}var X=i["\u0275ccf"]("ngb-datepicker",r.n,Q,{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"},{navigate:"navigate",select:"select"},[]),J=i["\u0275crt"]({encapsulation:2,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}"],data:{}});function tt(t){return i["\u0275vid"](0,[(t()(),i["\u0275ted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.component.title)})}function et(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function nt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,3,"h3",[["class","popover-header"]],null,null,null,null,null)),(t()(),i["\u0275and"](0,[["simpleTitle",2]],null,0,null,tt)),(t()(),i["\u0275and"](16777216,null,null,1,null,et)),i["\u0275did"](3,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null)],function(t,e){var n=e.component;t(e,3,0,n.context,n.isTitleTemplate()?n.title:i["\u0275nov"](e,1))},null)}function it(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,0,"div",[["class","arrow"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,nt)),i["\u0275did"](2,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](3,0,null,null,1,"div",[["class","popover-body"]],null,null,null,null,null)),i["\u0275ncd"](null,0)],function(t,e){t(e,2,0,null!=e.component.title)},null)}function rt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-popover-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,it,J)),i["\u0275did"](1,49152,null,0,r.eb,[],null,null)],null,function(t,e){t(e,0,0,"popover"+(i["\u0275nov"](e,1).popoverClass?" "+i["\u0275nov"](e,1).popoverClass:""),i["\u0275nov"](e,1).id)})}var ot=i["\u0275ccf"]("ngb-popover-window",r.eb,rt,{title:"title",id:"id",popoverClass:"popoverClass",context:"context"},{},["*"]),at=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function st(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function lt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,3,"a",[["class","nav-link"],["href",""],["role","tab"]],[[8,"id",0],[2,"active",null],[2,"disabled",null],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(t.component.select(t.context.$implicit.id),i=!1!==n.preventDefault()&&i),i},null,null)),(t()(),i["\u0275ted"](2,null,[" ",""])),(t()(),i["\u0275and"](16777216,null,null,1,null,st)),i["\u0275did"](4,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){t(e,4,0,null==e.context.$implicit.titleTpl?null:e.context.$implicit.titleTpl.templateRef)},function(t,e){var n=e.component;t(e,1,0,e.context.$implicit.id,e.context.$implicit.id===n.activeId,e.context.$implicit.disabled,e.context.$implicit.disabled?"-1":void 0,n.destroyOnHide&&e.context.$implicit.id!==n.activeId?null:e.context.$implicit.id+"-panel",e.context.$implicit.id===n.activeId,e.context.$implicit.disabled),t(e,2,0,e.context.$implicit.title)})}function ut(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function ct(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["role","tabpanel"]],[[8,"className",0],[1,"aria-labelledby",0],[8,"id",0],[1,"aria-expanded",0]],null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,ut)),i["\u0275did"](2,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){t(e,2,0,null==e.parent.context.$implicit.contentTpl?null:e.parent.context.$implicit.contentTpl.templateRef)},function(t,e){var n=e.component;t(e,0,0,i["\u0275inlineInterpolate"](1,"tab-pane ",e.parent.context.$implicit.id===n.activeId?"active":null,""),e.parent.context.$implicit.id,i["\u0275inlineInterpolate"](1,"",e.parent.context.$implicit.id,"-panel"),e.parent.context.$implicit.id===n.activeId)})}function dt(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,ct)),i["\u0275did"](1,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,!n.destroyOnHide||e.context.$implicit.id===n.activeId)},null)}function pt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"ul",[["role","tablist"]],[[8,"className",0]],null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,lt)),i["\u0275did"](2,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275eld"](3,0,null,null,2,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,dt)),i["\u0275did"](5,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.tabs),t(e,5,0,n.tabs)},function(t,e){var n=e.component;t(e,0,0,"nav nav-"+n.type+("horizontal"==n.orientation?" "+n.justifyClass:" flex-column"))})}var ht=i["\u0275crt"]({encapsulation:2,styles:["ngb-tooltip-window.bs-tooltip-bottom .arrow,ngb-tooltip-window.bs-tooltip-top .arrow{left:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-bottom-left .arrow,ngb-tooltip-window.bs-tooltip-top-left .arrow{left:1em}ngb-tooltip-window.bs-tooltip-bottom-right .arrow,ngb-tooltip-window.bs-tooltip-top-right .arrow{left:auto;right:.8rem}ngb-tooltip-window.bs-tooltip-left .arrow,ngb-tooltip-window.bs-tooltip-right .arrow{top:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-left-top .arrow,ngb-tooltip-window.bs-tooltip-right-top .arrow{top:.4rem}ngb-tooltip-window.bs-tooltip-left-bottom .arrow,ngb-tooltip-window.bs-tooltip-right-bottom .arrow{top:auto;bottom:.4rem}"],data:{}});function ft(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,0,"div",[["class","arrow"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[["class","tooltip-inner"]],null,null,null,null,null)),i["\u0275ncd"](null,0)],null,null)}function mt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-tooltip-window",[["role","tooltip"]],[[8,"className",0],[8,"id",0]],null,null,ft,ht)),i["\u0275did"](1,49152,null,0,r.fb,[],null,null)],null,function(t,e){t(e,0,0,"tooltip show"+(i["\u0275nov"](e,1).tooltipClass?" "+i["\u0275nov"](e,1).tooltipClass:""),i["\u0275nov"](e,1).id)})}var gt=i["\u0275ccf"]("ngb-tooltip-window",r.fb,mt,{id:"id",tooltipClass:"tooltipClass"},{},["*"]),vt=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function yt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-highlight",[],null,null,null,Tt,Et)),i["\u0275did"](1,573440,null,0,r.u,[],{result:[0,"result"],term:[1,"term"]},null)],function(t,e){var n=e.context.formatter(e.context.result);t(e,1,0,n,e.context.term)},null)}function bt(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function _t(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,3,"button",[["class","dropdown-item"],["role","option"],["type","button"]],[[8,"id",0],[2,"active",null]],[[null,"mouseenter"],[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"mouseenter"===e&&(i=!1!==r.markActive(t.context.index)&&i),"click"===e&&(i=!1!==r.select(t.context.$implicit)&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,2,null,bt)),i["\u0275did"](2,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),i["\u0275pod"](3,{result:0,term:1,formatter:2})],function(t,e){var n=e.component,r=t(e,3,0,e.context.$implicit,n.term,n.formatter);t(e,2,0,r,n.resultTemplate||i["\u0275nov"](e.parent,0))},function(t,e){var n=e.component;t(e,0,0,n.id+"-"+e.context.index,e.context.index===n.activeIdx)})}function wt(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,[["rt",2]],null,0,null,yt)),(t()(),i["\u0275and"](16777216,null,null,1,null,_t)),i["\u0275did"](2,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.results)},null)}function Ct(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-typeahead-window",[["class","dropdown-menu show"],["role","listbox"]],[[8,"id",0]],[[null,"mousedown"]],function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==n.preventDefault()&&i),i},wt,vt)),i["\u0275did"](1,114688,null,0,r.gb,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,i["\u0275nov"](e,1).id)})}var xt=i["\u0275ccf"]("ngb-typeahead-window",r.gb,Ct,{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate"},{selectEvent:"select",activeChangeEvent:"activeChange"},[]),Et=i["\u0275crt"]({encapsulation:2,styles:[".ngb-highlight{font-weight:700}"],data:{}});function St(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),i["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,0,0,e.component.highlightClass),t(e,1,0,e.parent.context.$implicit)})}function Ot(t){return i["\u0275vid"](0,[(t()(),i["\u0275ted"](0,null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit)})}function kt(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,St)),i["\u0275did"](1,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),i["\u0275and"](0,[["even",2]],null,0,null,Ot))],function(t,e){t(e,1,0,e.context.odd,i["\u0275nov"](e,2))},null)}function Tt(t){return i["\u0275vid"](2,[(t()(),i["\u0275and"](16777216,null,null,1,null,kt)),i["\u0275did"](1,278528,null,0,o.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}var Pt=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function It(t){return i["\u0275vid"](0,[],null,null)}function Mt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-modal-backdrop",[["style","z-index: 1050"]],[[8,"className",0]],null,null,It,Pt)),i["\u0275did"](1,49152,null,0,r.jb,[],null,null)],null,function(t,e){t(e,0,0,"modal-backdrop fade show"+(i["\u0275nov"](e,1).backdropClass?" "+i["\u0275nov"](e,1).backdropClass:""))})}var Rt=i["\u0275ccf"]("ngb-modal-backdrop",r.jb,Mt,{backdropClass:"backdropClass"},{},[]),Dt=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function At(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),i["\u0275ncd"](null,0)],null,function(t,e){var n=e.component;t(e,0,0,"modal-dialog"+(n.size?" modal-"+n.size:"")+(n.centered?" modal-dialog-centered":""))})}function jt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ngb-modal-window",[["role","dialog"],["tabindex","-1"]],[[8,"className",0],[1,"aria-modal",0],[1,"aria-labelledby",0]],[[null,"keyup.esc"],[null,"click"]],function(t,e,n){var r=!0;return"keyup.esc"===e&&(r=!1!==i["\u0275nov"](t,1).escKey(n)&&r),"click"===e&&(r=!1!==i["\u0275nov"](t,1).backdropClick(n)&&r),r},At,Dt)),i["\u0275did"](1,4440064,null,0,r.kb,[o.c,i.ElementRef],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,"modal fade show d-block"+(i["\u0275nov"](e,1).windowClass?" "+i["\u0275nov"](e,1).windowClass:""),!0,i["\u0275nov"](e,1).ariaLabelledBy)})}var Lt=i["\u0275ccf"]("ngb-modal-window",r.kb,jt,{ariaLabelledBy:"ariaLabelledBy",backdrop:"backdrop",centered:"centered",keyboard:"keyboard",size:"size",windowClass:"windowClass"},{dismissEvent:"dismiss"},["*"])},"9Z1F":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("mrSG"),r=n("MGBS"),o=n("rPjj"),a=n("zotm");function s(t){return function(e){var n=new l(t),i=e.lift(n);return n.caught=i}}var l=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.selector=n,r.caught=i,r}return i.d(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(r){return void t.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var i=new o.a(this,void 0,void 0);this.add(i),Object(a.a)(this,n,void 0,void 0,i)}},e}(r.a)},ARgq:function(t,e,n){"use strict";var i=n("S8NE"),r={direction:"horizontal",slidesPerView:1.1,centeredSlides:!1,spaceBetween:10};n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a});var o=function(){return Object.assign({},i.c,r)},a=[{provide:i.a,useFactory:o}]},"AoR+":function(t,e,n){var i={"./bg.json":"g2VT","./en.json":"CEXG"};function r(t){var e=o(t);return n(e)}function o(t){var e=i[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="AoR+"},AxiF:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("mrSG"),r=n("FFOo"),o=n("b7mW"),a=n("G5J1");function s(t){return function(e){return 0===t?Object(a.b)():e.lift(new l(t))}}var l=function(){function t(t){if(this.total=t,this.total<0)throw new o.a}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.ring=new Array,i.count=0,i}return i.d(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t},e.prototype._complete=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,r=0;r<n;r++){var o=e++%n;t.next(i[o])}t.complete()},e}(r.a)},B1um:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.getInfluencers=function(){return this.httpClient.get(this.constants.apiURL()+"/website/influencers/")},t.prototype.getInfluencerById=function(t){return this.httpClient.post(this.constants.apiURL()+"/website/influencers/",{id:t})},t.prototype.getRecipesByInfluencerId=function(t){return this.httpClient.get(this.constants.apiURL()+"/website/recipes/by/influencer/"+t+"/")},t.prototype.isInfluencerInSubscription=function(t){return this.httpClient.post(this.constants.apiURL()+"/subscription/addon/"+t+"/",{})},t.prototype.removeInfluencerFromSubscription=function(t){return this.httpClient.delete(this.constants.apiURL()+"/subscription/addon/"+t+"/",{})},t}()},BAUy:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){this.router=t,this.usersService=e,this.localisationService=n}return t.prototype.ngOnInit=function(){},t.prototype.deleteAccount=function(){var t=this;confirm(this.localisationService.localise("delete_user_account_confirm"))&&this.usersService.deleteUserAccount().subscribe(function(){t.router.navigate(["login"])})},t.prototype.onWebChat=function(){document.body.classList.remove("hide-tidio-chat"),window.tidioChatApi.open(),document.addEventListener("tidioChat-close",function(){document.body.classList.add("hide-tidio-chat")})},t}()},BOF4:function(t,e,n){"use strict";var i=n("evrj");function r(t){this.message=t}(r.prototype=new Error).name="InvalidTokenError",t.exports=function(t,e){if("string"!=typeof t)throw new r("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[n]))}catch(o){throw new r("Invalid token specified: "+o.message)}},t.exports.InvalidTokenError=r},BRgZ:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){this.translations={payingWith:"Paying with {{paymentSource}}",chooseAnotherWayToPay:"Choose another way to pay",chooseAWayToPay:"Choose a way to pay",otherWaysToPay:"Other ways to pay",edit:"Edit",doneEditing:"Done",editPaymentMethods:"Edit payment methods",CreditCardDeleteConfirmationMessage:"Delete {{secondaryIdentifier}} card ending in {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Delete PayPal account {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Are you sure you want to delete Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this payment method?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please fill out a CVV.",fieldEmptyForExpirationDate:"Please fill out an expiration date.",fieldEmptyForCardholderName:"Please fill out a cardholder name.",fieldEmptyForNumber:"Please fill out a card number.",fieldEmptyForPostalCode:"Please fill out a postal code.",fieldInvalidForCvv:"This security code is not valid.",fieldInvalidForExpirationDate:"This expiration date is not valid.",fieldInvalidForNumber:"This card number is not valid.",fieldInvalidForPostalCode:"This postal code is not valid.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",genericError:"Something went wrong on our end.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card already exists as a saved payment method.",hostedFieldsFailedTokenizationError:"Please check your information and try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Credit card verification failed. Please check your information and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsFieldsInvalidError:"Please check your information and try again.",paypalButtonMustBeUsed:"Use the PayPal button to continue with your payment.",paypalAccountTokenizationFailedError:"Something went wrong adding the PayPal account. Please try again.",paypalFlowFailedError:"Something went wrong connecting to PayPal. Please try again.",paypalTokenizationRequestActiveError:"PayPal payment authorization is already in progress.",applePayTokenizationError:"A network error occurred while processing the Apple Pay payment. Please try again.",applePayActiveCardError:"Add a supported card to your Apple Pay wallet.",vaultManagerPaymentMethodDeletionError:"Unable to delete payment method, try again.",venmoCanceledError:"Something went wrong. Ensure you have the most recent version of the Venmo app installed on your device and your browser supports switching to Venmo.",venmoAppFailedError:"The Venmo app could not be found on your device.",unsupportedCardTypeError:"This card type is not supported. Please try another card.",cardholderNameLabel:"Cardholder Name",cardNumberLabel:"Card Number",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 digits)",cvvFourDigitLabelSubheading:"(4 digits)",expirationDateLabel:"Expiration Date",expirationDateLabelSubheading:"(MM/YY)",cardholderNamePlaceholder:"Cardholder Name",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"Postal Code",saveCardLabel:"Save card",payWithCard:"Pay with card",endingIn:"Ending in {{lastFourCardDigits}}",Card:"Card",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Apple Pay":"Apple Pay","Google Pay":"Google Pay",Venmo:"Venmo","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}}}()},"Bk+9":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("K9Ia"),r=function(){function t(){this.languageChanged=new i.a,this.languageChanged$=this.languageChanged.asObservable()}return t.prototype.broadcastLanguageChanged=function(t){this.languageChanged.next(t)},t}()},CEXG:function(t){t.exports={logout:"Logout",macros:"Macros",male:"Male",meals_change_meal_about_to_change_current_meals:"Your currently added recipes will be removed because you've chosen a different number of meals. Are you sure you want to continue?",meals_change_meal_are_you_sure:"Are you sure?",minute:"minute",minutes:"minutes",monday:"Monday",monthly:"Monthly",next:"Next",information:"Information",invoice_status_cancelled:"Cancelled",invoice_status_paid:"Paid",invoice_status_pending:"Pending",invoices:"Subscription",KEEP:"Maintain weight",abbreviation_gram:"g.",activity:"Daily Activity (excluding sports)",add:"Add",add_recipes:"Add Recipes",age:"Age",and:"and",are_you_sure_mark_as_eaten:"Are you sure you want to mark the meal as eaten?",are_you_sure_unmark_as_eaten:"Are you sure you want to mark the meal as not eaten?",auth_already_have_an_account:"Already have an account?",auth_dont_have_account:"Don't have an account?",auth_email:"Email",auth_err_email_already_exists:"The email already exists!",auth_err_enter_a_password:"Please enter a password",auth_err_invalid_email:"Please enter a valid email",auth_err_password_too_short:"Password is too short",auth_err_passwords_mismatch:"Passwords mismatch",auth_err_repeat_password:"Please repeat your password",auth_forgot_password:"Forgotten password?",auth_invalid_credentials:"Invalid credentials!",auth_keep_me_signed_in:"Keep me signed in",auth_login_text:"Sign in to continue.",auth_login_title:"Hello! Let's get started!",auth_password:"Password",auth_register_text:"Signing up is easy. It only takes a few steps",auth_register_title:"New here?",auth_repeat_password:"Repeat password",auth_sign_in:"Sign In",auth_sign_in_facebook:"Connect using Facebook",auth_sign_up:"Sign Up",back:"Back",body:"Body",body_type:"Body type",calories:"Calories",cancel:"Cancel",cancel_payment:"Cancelled!",cancel_payment_description:"Your payment has been cancelled!",carbs:"Carbohydrates",choose:"Choose",choose_payment_method:"Please choose a payment method",continue_to_payment:"Continue",countries:"Countries",country:"Country",create:"Create",daily_meals:"Daily meals",dashboard:"Home",dashboard_welcome_back:"Welcome back",date:"Date",diet:"Nutritional preferences",done:"Done",DOWN:"Lose weight",enter_first_name:"Enter first name",enter_surname:"Enter surname",enter_weight:"Enter weight",error:"Error",fats:"Fats",female:"Female",finish:"Finish",first_name:"First name",friday:"Friday",gender:"Gender",home_btn:"Home",hour:"hour",hours:"hours",or:"or",payment:"Payment",personal_info:"Personal Info",plan:"Subscription",price_amount:"Amount",pricing_choose_a_plan:"Choose the plan that suits you best",pricing_start_now:"Start now",pricing_start_today:"Start today!",profile_ready:"Your profile is ready!",proteins:"Proteins",saturday:"Saturday",save:"Save",search:"Search",second:"second",seconds:"seconds",server_err_something_went_wrong:"Something went wrong, please try again later!",settings:"Settings",settings_practice_sports_switch:"Do you practice any sports?",settings_profile_updated_successfully:"Profile updated successfully!",status:"Status",success:"Success",successful_payment:"Success!",successful_payment_description:"Your payment is being processed!",sunday:"Sunday",surname:"Surname",thursday:"Thursday",training_activity:"Training Activity",training_days:"Training Days",training_duration:"Training Duration (only the active part of your workout)",training_target:"Training Target",trainings_count:"Trainings per week",tuesday:"Tuesday",UP:"Gain muscle mass",warning:"Warning",wednesday:"Wednesday",weight:"Weight",yearly:"Yearly",welcome_email_subject:"Welcome to Agaia Life",welcome_email_title:"Welcome to Agaia Life",welcome_email_small_subject:"Who we are?",welcome_email_btn_title:"Continue to my profile",welcome_email_problem_or_question_title:"Problem or Question?",invoice_email_failed_subject:"Payment failed",invoice_email_total_text:"Total:",invoice_email_view_in_browser:"Open invoice in browser",active_part:"active part",add_family_member:"Add family member",add_new_training:"Add new training",agree_to_the:"I have read and agree with",all_news:"SHOW ALL NEWS",all_recipes:"SHOW ALL RECIPES",all_video:"SHOW ALL VIDEOS",allergens:"Allergens",auth_change_password:"Change password",auth_password_changed_successfully:"Your password has been changed successfully!",auth_reset_password:"Reset password",auth_reset_password_email_sent:"A reset link has been sent to the provided email!",auth_reset_password_info:"Please enter your email address to receive a password reset link",auth_reset_token_expires:"The reset code has expired, please generate a new one!",back_to_home:"Back to dashboard",back_to_light_mode:"Back to Light Mode",BG:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",br:"pcs",cancel_user_subscription_btn:"Cancel subscription",cancel_user_subscription_title:"Cancel subscription",carb:"Carbohydrate",categories:"Categories",category:"Category",change:"Change",change_to:"Change to",chat:"CHAT",chat_with_operator:"Chat with our Agent",check_after_consume:"Mark here after consumption",choose_category:"Choose Category",chzv:"FAQ",contact_us:"Contact us",currency:"BGN",DAY:"DAY",delete_user_account:"Delete user account",delete_user_account_btn:"Delete my account",meals:"Diary",training_info:"Activity",auth_err_email_doesnt_exists:"The email address doesn't exist!",beta_version:"Start your one week free trial today",cancel_user_subscription_text:"Click the button below to cancel your subscription",chat_text:"Should you need any further information, please do not hesitate to contact us. You will also find useful information in our FAQ section.",delete_user_account_confirm:"Once you confirm, your account will be permanently deleted. Do you want to proceed?",no_diet_chosen:"None ( all recipes )",delete_user_account_title:"Delete user account",DURATION:"DURATION",email_or_name:"Email",EN:"English",enter_age:"Enter age",enter_height:"Enter height (cm)",enter_paypal_email_here:"Enter paypal email here",enter_value:"Enter value:",enter_week_trainings:"Enter your weekly trainings",external_meals:"External meals",faq:"FAQ",filter:"Filter",filtering:"Filter recipes",first_steps:"First steps",free_subscription_1week_btn_title:"Continue subscription",free_subscription_1week_subject:"Reminder from Agaia - Your new self",free_subscription_1week_title:"Reminder from Agaia - Your new self",friends:"Family",from:"From:",gramaj:"Weight",height:"Height (cm)",hi:"Hello",how_to_cook:"How to cook?",im_over_18:"I declare that I am over the age of eighteen (18) / parental consent",info_percentage_title:"Percentage Info",kol_br:"amount/pcs",language:"Language",load_more:"Load more",load_recipes:"Load recipes",long_faq:"FAQ",long_faq_text:"Most frequently asked questions and their answers are here.",mail_campaign:"Receive mail campaigns",mail_campaign_info_text:"When this option is enabled, you declare your desire to receive email news related to our platform.",main_dishes:"Main Dishes",missing_page_text:"The page you\u2019re looking for was not found.",missing_page_title:"SORRY!",more_meals_text:"Switch to more meals per day",new_recipes:"New recipes",new_video:"New video",news:"News",no_friends:"You don't have added members to your family",no_results_found:"No results found",no_users_found:"Users not found",not_found_referrals_text:"No referrals registered through your link were found",not_found_referrals_title:"No referrals found",not_found_transactions:"Empty wallet",not_found_transactions_text:"You do not have any wallet transactions at this moment",pay_now:"Pay now",paypal_email:"PayPal Email",product:"Product",profile_settings:"Profile settings",profile_settings_text:"To get more accurate calculations, you need to enter your weekly workouts",protein:"Protein",quantity:"Quantity",referral_link:"Referral link",referrals:"Referrals",reload:"Reload",remove:"Remove",reset_password_btn_title:"RESET PASSWORD",reset_password_problem_or_question:"Problem or Question?",reset_password_subject:"Password reset link for Agaia Life",reset_password_title:"Password Recovery",salads:"Salads",shopping_list:"Shopping list",stats:"Statistics",terms:"Privacy policy",terms_and_conditions:"Terms and Conditions",to:"To:",TRAINING:"TRAINING",transaction_failed:"The transaction cannot be completed at this time. Please try again later!",try_dark_mode:"Try Dark Mode",wallet:"Wallet",website_30days_title:"Free period",website_better_version:"Your best version yet",website_eat_cool:"Eat tasty",meal_placeholder:"Start typing",earn_with_us:"Affiliate program",earn_with_us_text:"Become an affiliate marketer. Check out what's in it for you.",empty_trainings_error:"Please fill in all training fields!",enter_new_referral_name:"Enter a preferred referral name:",faq_message:"Learn how to use the platform in our FAQ section",fill_all_fields:"Please, fill required fields.",reduce_calories:"Reduce calorie intake in one meal",website_30days_text:"Our service will be free of charge for up to 21 days for everyone.",first_month:"month",info_percentage_text:"Use the slider to assign a percent to your meal course. This way you can add more than one recipes",meals_copy_btn:"Copy recipe",meals_mark_as_consume:"Consume",meals_mark_as_consumed:"Unconsumed",delete_title:"Remove",send_to_friend_btn:"Send to friend",send_to_friend_submit:"Send",send_to_friend_email_receipt:"E-Mail of your friend",send_to_friend_info_title:"Information",send_to_friend_info_text:"Send your shopping list for shopping to your relative / friend in order to make shopping easier and more convenient for you only through their email address by entering it in the field below.",billing_yearly:"yearly",website_faq:"FAQ",website_free:"7-21 days",website_free_in_first_month:"for FREE",website_gender_age_activity:"Gender, Age, Activity",website_home:"HOME",website_how_works_text:"During the initial log in we will ask you a few simple questions to define your unique \u201cI\u201d. You complete this information with details about your daily life and sports regimen. Based on world renown nutritional research and your individual goals we can then define an ever changing nutritional plan to support you functionally and keep it tasty !",website_meals_adventure:"Get ready for a culinary adventure like no other...",website_navbar_free:"FREE",website_postoqnen:"Be consistent",website_postoqnen_text:"See how you create the best version of yourself yet",website_register_now:"SIGN UP",website_start:"BEGIN",website_steps:"STEPS",website_unique_helper:"This is where we come in",website_what_doing:"WHAT DO WE DO?",website_your_profile:"YOUR PROFILE",weekly_trainings:"Weekly trainings",without_subscription_remainder_subject:"Reminder from Agaia - Your new self",without_subscription_remainder_title:"Reminder from Agaia - Your new self",whats_going_to_cook_today:"My Diary",website_you_know:"Did you know that...?",without_subscription_remainder_btn_title:"Continue your subscription",website_gender_age_activity_text:"Answer a few short questions about your daily life",whats_new:"What's new",website_eat_cool_text:"Pick your favorite recipes and enjoy the flavor",website_meals_adventure_text:"We will present you with a variety of recipes, all calculated to the gram of each ingredient - for you ! Speed and complexity of preparing the meal will depend on the kitchen appliances you have at your disposal. We also recommend you stock up on spices.",website_intro_text:"A dream diet does not impose restrictions. Agaia gives you the freedom to choose!",website_title:"Agaia.life - A diet without a diet",invoice_email_successful_subject:"Payment Successful",invoice_email_thanks_text:"Hi,\r\n<br/>\r\nThank you for choosing Agaia Life.\r\nYour payment is successful.",contact_us_text:'<p>\r\nPlease, do not hesitate to contact us if you have any questions. \r\nWe will be happy to answer your questions via phone from Monday to Friday- 09:00-17:00.\r\n</p>\r\n<p>Phone number: +359 879 570 628</p>\r\n<p>Email: <a href="mailto:info@agaia.life">info@agaia.life</a></p>',delete_user_subscription_confirm:"Do you really want to cancel your subscription?",free_subscription_1week_text:"Hello,<br/>\r\nWe would like to remind you that you have 7 more days remaining of your free trial. Continue your Agaia subscription by clicking on the button below. Do not hesitate to use the chat panel in your profile and contact us should you have any questions - we are online every day from 08:00 to 22:00.",free_subscription_text_under:"Healthy greetings,<br/>\r\nTeam Agaia",reset_password_text_above:"Hello, \r\n<br/>\r\nPlease, follow the link below to reset your password.\r\n<br/><br/>",reset_password_text_bottom:"Healthy greetings,<br/>\r\nTeam Agaia",website_how_works:"How does it all work",welcome_email_text_html:"<b>Welcome to Agaia Life!</b> \r\n<br/><br/>\r\nWe\u2019re happy to see that you joined Agaia\u2019s family ! You receive this email because you\u2019ve completed your registration on our website.\r\n<br/>\r\nWe hope you can spend a few minutes to complete your profile, that will help us in helping you reach your goal!\r\n<br/><br/>\r\nIf you need any help, please use the message box in the lower right corner to contact us.\r\n<br/><br/><br/>\r\nHealthy greetings,\r\nTeam Agaia\r\n<br/><br/>\r\nP.S. We count on your feedback to grow our family stronger and better. While you work on yourself, we will work on Agaia!",signups:"Signups",paid:"Paid",current_amount:"Current amount",paid_amount:"Paid amount",water:"Water",food_settings:"Food settings",filter_recipes:"Recipes filter",body_info_text:"Changes will not appear in the Nutrition sector immediately. \r\nAll changes will be reflected on the next blank/empty day with no meals selected. \r\nFor example, if you have planned your menu for one week ahead of time, changes will appear in one week.",delete_user_account_text:"By clicking on the button below your profile will be permanently deleted!",uncomplete_signup:"incomplete signups",website_unique_helper_text:"Imagine you can enjoy your favorite flavors in a variety of recipes. Go a step further - exclude all the ingredients you don't like or don't want to consume. Now picture this in a precisely calculated portion that takes into account your sports routine and ensures you can adequately recover day after day.",site_title:"Agaia.life",without_subscription_remainder_text:"Hello,<br/>\r\nYour free trial has expired. Continue your Agaia subscription by clicking on the button below. Should you have any questions do not hesitate to use the chat panel in your profile and contact us  - we are online every day from 08:00 to 22:00.",site_send:"Send",site_activity_activities_text:"The duration and type of workouts may vary, but even if you miss a workout, Agaia will adapt. Any changes that you make will be updated right away.",site_save_time_plan_easy:"Planning made easy.",site_solutions_save_time:"SAVES TIME",site_footer_contacts:"Contacts",site_footer_send_question:"Ask us",site_footer_faq:"FAQs",prices_index_nolimits:"No limitations",site_solutions_all:"All the answers in one tool.",site_solutions_text:"The only nutrition and activity platform you will ever need.",prices_index_trial:"FREE TRIAL",prices_index_trial_price:"0,00 \u20ac",prices_index_allfunctions:"All functions",prices_index_7days:"7 days by default",prices_index_21days:"21 days from referral link",prices_index_register:"Registration",prices_index_popchoice:"Popular choice",prices_index_standart:"STANDART",prices_index_1499:"6,99 \u20ac",site_save_time_plan_easy_text:"Change requires a great deal of planning so we are stepping in to make it easier for you. We automatically generate your shopping list. We give you time estimates and easy steps for every recipe. We can even automatically generate your meal plan according to your preferences and goals with just one click.",site_save_time_but_money:"Saves time and money",site_save_time_but_money_text:"Step-by-step guided recipes. For your convenience we provide additional tips and alternative units of measurement. Agaia goes well with a kitchen scale, so please make sure to have one when you start.",site_easy_cooking_agaia:"Agaia makes cooking easy",site_easy_cooking_video_uppercase_text:".",site_every_taste_lowercase:"For every taste",site_every_taste_agaia:"Agaia matches your taste.",site_every_taste_agaia_text:"Over 600 personalised recipes. Vegan, vegetarian, high fat (keto), low fat or standard- the choice is yours. Choose among a variety of meals and your food will never be boring.",site_every_taste_variants:"Variants",site_footer_policy:"Return Policy",site_footer_terms:"Terms of use",site_footer_navigation:"Navigation",site_footer_home:"Home",site_every_taste_variants_text:"We have made your favourote recipes healthier. Find them in the search box.",site_every_taste_miarka:"MEASUREMENTS",site_every_taste_miarka_text:"Each recipe is custom-calculated for your needs. A constant change in the ingredients and their measurements may not lead to desired results. Alter the recipes but do it responsibly!",read_more:"Read more",newsletter_existing_message:"You are already subscribed to our newsletter.",newsletter_success_message:"You have successfully subscribed to our newsletter.",site_agaia_is:"Agaia is..",site_set_target:"Set a goal",site_cost:"How much does it cost?",site_activity:"Activities",site_activity_text:"Here you choose your daily and sports activities",site_more_about_signup:"Read more",site_video_demo:"Video demo",site_start_video:"Play video",site_subscription:"Subscription",site_free_test:"free trial",site_news:"News",site_dont_miss_anything_text:"Leave your email here, and we'll take care of the rest",site_enter_email:"Your email here",site_subscribe_to:"Subscribe",site_home:"HOME",site_menu_about_us:"ABOUT US",site_menu_solutions:"SOLUTIONS",site_menu_subscription:"SUBSCRIBE",site_menu_news:"NEWS",site_menu_contact:"CONTACTS",site_menu_login:"LOG IN",site_footer_follow_us:"Follow us:",site_support:"Support",site_footer_about_us:"About us",site_footer_solutions:"Solutions",site_footer_subscription:"Subscribe",site_footer_news:"News",site_footer_office:"HQ",site_footer_info_linii:"Info line",site_footer_try:"Try",site_footer_videos:"Video lessons",site_about_title:"About",site_about_history:"Our story",site_about_active_clients:"active customers",site_about_reffer:"recommended us",site_about_recipes:"recipes",site_about_positive_feedback:"positive feedbacks",site_activity_register_text:"Overview of the registration process",site_activity_activities:"ACTIVITIES",site_activity_register_uppercase:"REGISTRATION",site_solutions_easy_cooking:"COOKING HAS NEVER BEEN EASIER",site_solutions_every_taste:"FOR EACH AND EVERY TASTE!",site_solutions_always_with_you:"TOGETHER IN THE PROCESS",site_video_demo_text:"Take a look at the registration process here",site_subscription_text:"Subscription plans for you and your family",site_try_free_now:"Start your free trial now",site_news_text:"What's new in our platform",site_dont_miss_anything:"Don't miss a thing",site_footer_text:"The only nutrition and activity platform you will ever need.",site_about_who_we_are:"Who we are and what we do",site_about_agaia_in_numbers:"Agaia Statistics",site_about_agaia_in_numbers_text:"Here are some numbers",site_activity_register:"Create your Agaia account",site_solutions_easy_cooking_text:"All recipes are described thoroughly and most come with video tutorial. For your convenience we provide additional tips and alternative units of measurement. Agaia goes great with a kitchen scale, so please make sure to have one when you start!",buy_subscription:"Purchase a subscription plan",site_solutions_save_time_text:"Agaia helps you manage all your meals, even when you\u2019re in a hurry! We have selections of easy and quick recipes. We even help you with the shopping list, but that\u2019s far from all!",site_welcome_big_title:"Lose weight without dieting!",site_welcome_small_title:"Agaia gives you the freedom to choose your meals!",site_register:"Try Free / Sign in",site_footer_office_text:"Sofia, 120D Simeonovsko shose",site_save_time:"Agaia saves time",site_save_time_text:"We save your time and your money.",site_save_time_all_solutions:"All Solutions",site_save_time_lowercase:"Saves time",site_save_time_easy_cooking_lowercase:"Cooking",site_save_time_every_taste_lowercase:"Taste",site_save_time_always_with_you_lowercase:"Together",site_address:"Address",site_view_in_google_maps:"Google Maps",site_name:"Your name",site_subject:"Subject",site_phone:"Mobile phone",site_write_message:"Your message here..",other:"Other",recipes_with_video:"Recipes with video",recipes_meal_prep_friendly:"Meal prep friendly recipes",site_agaia_is_text:"The freedom to choose the food you like and still achieve your personal goals. Calories are no longer a concern!",site_set_target_text:"Choose your favorite meals and follow the instructions. Agaia will take care of the rest",site_find_your_food:"Discover your perfect meal",site_find_your_food_text:"Do you like cooking? Do you have the time to spend in the kitchen? We got you covered even if you don\u2019t.",site_first_steps:"How to begin",site_try_free_now_text:"You can test our services completely free for up to 21 days. No credit card required.",site_what_doing:"What do we do?",site_what_doing_text:"We help you plan, execute and monitor your daily meals.",site_solutions_every_taste_text:"Over 500 personalised recipes. Vegan, vegetarian, high fat (keto), low fat or standard - the choice is yours. Choose among a variety of meals and your food will never be boring.",site_solutions_always_with_you_text:"We want to be as useful as possible, so please help us! Make sure to note all changes in your daily activities in the personal settings menu. These activities are at the base of our calculations. If you don\u2019t find your way around our menus, you can count on a video tutorial, our Q&A section and online chat support.",site_save_time_see_more:"See more solutions from Agaia.",site_contact_success_message:"Your message was sent.",site_contact_error_message:"Please, enter at least four (4) characters.",site_solutions_added_value_text:"You\u2019re the only one who can truly take care of yourself! We can provide you with the tools to do just that. Let\u2019s build some healthy habits together and together work our way to your improved health and shape. On the way we promise to help you save some money on grocery shopping, too! In case of kitchen emergencies we also have the option to enter custom meals.",copy_to_days:"Copy to days",copy_btn:"Copy",site_solutions_more_than_calories_text:"Agaia is your smart nutritionist, it will establish your baseline calorie intake along with macro balance. Agaia can also track your micro nutrients \u2013 vitamins, minerals and other. We make sure the food you eat is just right for you!",enter_phone:"Enter phone number",phone:"Phone number",site_solutions_added_value:"ADDED VALUE",site_solutions_more_than_calories:"MUCH MORE THAN JUST CALORIES",site_cost_text:"Your health, shape and confidence are priceless to us! We will support you for free during the trial period. After that our support will set you back 6,99 EUR per month",prices_index_permonth:"/ monthly",prices_index_individualdoses:"Personal calculations",prices_index_automeals:"Auto meal suggestions",prices_index_shoplist:"Shopping list",prices_index_chatsupport:"Chat support",prices_index_family:"FAMILY",prices_index_upto4memb:"Up to 4 members",prices_index_personmeals:"Individual sub accounts",prices_index_soon:"- soon -",prices_index_shoplist4all:"Combined Shopping List",prices_index_3499:"15,99 \u20ac",ectomorph_text:"<ul>\r\n<li>Small \u201cdelicate\u201d frame and bone structure</li>\r\n<li>Classic \u201chardgainer\u201d with fast metabolism</li>\r\n<li>Small shoulders and flat chest</li>\r\n</ul>",mesomorph_text:"<ul>\r\n<li>Athletic and strong body</li>\r\n<li>Gains muscle easily</li>\r\n<li>Well defined muscles</li>\r\n</ul>",endomorph_text:'<ul>\r\n<li>Slow metabolism</li>\r\n<li>Gains muscle and fat very easily</li>\r\n<li>"Stocky" build with round physique</li>\r\n</ul>',select_dial_code:"Select dial code",enter_discount_code:"Enter discount code:",discount_code:"Discount code",code:"Code:",email_verification_text_above:"Click on the button to confirm you Email and to activate your profile in the platform.",email_verification_btn_title:"Confirm your email",verification_email_was_sent:"Verification Email was sent to",open_email_provider:"Open Mail",email_verification_subject:"Confirm your email in Agaia.life",unlock_micros:"Unlock micro elements",main_products:"Main products",spices:"Spices",mail_shopping_list_friend_subject:"Shopping list of %s for %s - %s",mail_shopping_list_friend_title:"Shopping list of %s for %s - %s",mail_shopping_list_friend_text_above:"At the following link you will find the complete and up-to-date shopping list for %s. There you can mark the products as already purchased or already added to the shopping cart - this way your friend can monitor the status of the list in real time.",mail_shopping_list_friend_btn_title:"Open shopping list",send_to_friend_success_title:"Successful submission",send_to_friend_success_text:"Your shopping list was successfully sent to your family member or friend.",send_to_friend_failed_title:"Failed submission",send_to_friend_failed_text:"Your shopping list was not sent to your family member or friend.",website_shopping_list_title:"Shopping list of %s for %s - %s",website_shopping_list_subtitle:"Shopping list %s - %s",copy_recipe:"Copy recipe",copy_recipe_fill_all_required_fields:"Please, fill required fields.",copy_recipe_copied_success:"Your recipe was successfully copied.",copy_recipe_failed:"Please, try again later.",billing_monthly:"monthly",billing_saving_up_to:"Save up to 50% annually!",shopping_cart:"Shopping list",diary_training_update_success:"Update successfully your trainings for today.",diary_planned_trainings:"Planned trainings",diary_planned_trainings_change:"Change planned trainings",diary_training:"Today's Training",disable_training_today:"I will not train today",disable_training_today_msg_disable:"You have successfully marked that you will not train today.",disable_training_today_msg_enable:"You have successfully marked that you will train today.",enable_training_today:"I will train today",stars:"Stars",stars_about_me:"About me",stars_try_recipes_of:"Try recipes of",stars_play_video:"Play the video",stars_recipes:"Recipes",dashboard_recipe_of:"Recipe of",dashboard_extra_load:"Extra load",dashboard_extra_load_long:"Extra load",dashboard_increased_levels_stress_question:"Do you experience increased levels of stress?",dashboard_increased_mental_work_question:"Hard mental work?",dashboard_increased_daily_physical_question:"Increased daily physical activity?",dashboard_increased_level_stress_answer_1:"Instant increase in stress levels",dashboard_increased_level_stress_answer_2:"Chronically elevated stress levels",dashboard_increased_level_brain_answer_1:"I experience unusually elevated levels of mental work",dashboard_extra_load_minutes:"Minutes:",dashboard_add_influencer_recipes_to_my_profile:"Add recipes to my account",dashboard_cancel_influencer_subscription:"Cancel star subscription",dashboard_cancel_subscription_confirmation:"Are you sure you want to unsubscribe from these recipes?",dashboard_buy_form_loading:"Loading payment form ...",dashboard_buy_form_title:"Payment",dashboard_pricing_remove_from_order:"Remove from order",dashboard_pricing_without_recipes_of:"No recipes included of",dashboard_pricing_with_recipes_of:"With recipes of",dashboard_navbar_new:"New",dashboard_stars:"Stars",site_our_stars:"Our stars",site_our_stars_text:"Find original and favourite recipes of our stars",send_new_mail:"Send new email",user_preferred_products:"Favourite products",referrals_navbar:"Referrals",videos:"Videos",change_not_found_products:"There are no suitable products",change_not_found_products_text:"No suitable products were found to replace this product.",change_product_modal_title:"Replace the product",change_product_modal_choose:"Select",change_product_modal_replace:"Replace",recipes_text_not_found_title:"No recipes found",recipes_text_not_found_text:"You need to add recipes to your meals plan for that date.",added_meals:"Added meals",hranene:"Meal",exclude_products:"Exclude products",user_preferred_meals:"Preferred foods",copy_all_recipes:"Copy recipes",confirm_delete_product:"Are you sure you want to remove this product from the recipe?",delete_product:"Remove",chat_mail_subject:"You have a message from %s on %s",chat_mail_btn_title:"Open the chat",global_profile:"Personalize",target_weight:"Target weight",how_long_food_prepare:"Time to prepare food",when_prepare_food:"When do you prefer to prepare your food?",BEFORE_LUNCH:"Before dinner",fat_hold:"Where do you usually store fat?",UNTIL20:"Up to 20 minutes",UNTIL45:"Up to 45 minutes",UNTIL90:"Up to 90 minutes",ONCEA2DAYS:"Once every 2 days",MORNING:"In the morning",TONIGHT_AFTER_LUNCH:"In the evening, after dinner",change_language:"\u0421\u043c\u044f\u043d\u0430 \u043d\u0430 \u0435\u0437\u0438\u043a",categories_foods:"Foods Categories",family_info_text:'If another member of your household/family is also registered on the platform, you can easily add them to "family". Just type their full email address and click on the "add" button.\r\nThis will allow you to have a consolidated shopping list and combined weights when preparing the same dish.',website_you_know_text:"Did you know that all it takes to be healthy and content is found in our food? We are what we eat and the food choices that we make are vital for our physical and mental health. \r\nOur recipes are carefully selected and contain all the important micro and macro nutrients to bring balance to the mind and body.",site_first_steps_text:"<p>We begin with some information about you: nutritional habits, meal preferences, goals...</p>\r\n<p>Then you need to pick your body type and tell us about any allergies you might have, we will take it from there.\r\n</p>",site_about_who_we_are_text:"We are young and experienced team of professionalists with a clear vision about how modern people can easily organize and implement diverse meals into everyday life. We know how hard and complicated sometimes it can be to follow a regimen. \r\nWorking with hundreds of people over the years has given us the opportunity to encounter some of the fundamental problems our clients face when it comes to healthy eating. Some of these include nutritional deficiencies, tiredness, apathy, mood swings, cravings and more.\r\nBased on this data, we came up with the idea of developing a digital solution that eliminates all those problems while giving the full freedom to choose a desired eating plan. \r\nThe platform also plays an educational function, aiming to create healthy habits that will lead to long-lasting results and improved overall health.",site_about_ceo:"Stoyan Petkov<br>\r\nCEO",hello:"Hello,",profiles:"Profiles",unread_messages:"Unread messages",no_new_messages:"No new messages",no_new_messages_body:"You have no new messages",unfinished_profiles:"Unfinished profiles",no_unfinished_profiles:"no unfinished profiles",no_unfinished_profiles_body:"there is no unfinished profiles",inobyd_file_upload:"choose In body .XLSX file to import",inbody_files_uploaded:"Files uploaded successfully",inbody_fail:"Something went wrong. Please, try again later!",macros_calories:"Macros and Calories",macros_calories_text:"The system will adjust your calorie intake according to your daily activities.",daily_calories:"Daily calorie intake",enter_calories:"please enter",enter_protein:"enter protein (gr)",enter_carbs:"enter carbohydrates (gr)",enter_fats:"enter fats (gr)",daily_daily_macros_calories:"Daily macros and calories",daily_daily_macros_calories_text:"The system will calculate calories and macronutrients according to your lifestyle and activity setting.",enter_new_day:"Enter new day",meals_overwrite:"Meals - Overwrite",meal_overwrite:"Meals",procent_overwrite:"Percentage %",add_new_overwrite:"Enter new overwrite",enter_all_fields:"Please, fill in all fields",hraneniq:"Meals",just_settings:"Settings",access:"Access",notes:"Notes",profile:"Profile",send_login_info:"Send login info",create_new_profile:"Create new profile",sending_login_info:"Sending login information",upload_files:"Upload files:",upload_text:"Text:",meals_calories:"Meals- Calories",from_date:"From Date",to_date:"To Date",status_active:"Active",status_inactive:"Inactive",accesss:"Accsess",new_access:"new access",edit:"edit",create_order:"Place an order",delete_recipes:"delete recipes",send_message:"Send",days_to_order:"Select days",make_order:"Order",delete_all:"Delete all",btn_delete:"Delete",site_always_with_you_lowercase:"Always with you",site_agaia_always_with_you:"ACTIVITIES",site_agaia_always_with_you_text:"Your transformation will happen gradually. Track your weight regularly and adjust it in your profile settings so we can adjust your daily calorie intake accordingly.",site_do_not_forget:"DON'T FORGET",site_do_not_forget_text:"Agaia adjusts your daily intake whenever you change your preferences/needs in your profile settings. \r\nTo provide best results we need accurate information.",messages:"Messages",nutrients:"Nutrients",new_message:"New message...",title:"Title",note:"Note",new_note:"New note",note_text:"text",note_date:"date",note_settings:"Settings",note_edit:"Edit",note_delete:"Delete",hide_btn_predloji:"Hide button (recommended recipes)",hide_btn_predloji_text:'When marked, users\' profile will not show the automated "load recipes" button',weight_history:"Weight",create_profile:"Create your profile",profile_finished:"Completed",site_easy_cooking_one_two_three:"EASY AS 1, 2, 3...",site_easy_cooking_one_two_three_text:"Our goal is to make planning and cooking easy for you! If you find any miscalculations/errors or have any questions do not hesitate to contact us. Please use the chat button and a member of our team will get back to you as soon as possible",site_easy_cooking_video_uppercase:"VIDEO"}},CEpA:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("/Vy8"),r=function(){function t(t,e){this.tooltipEventsEmitter=t,this.changeDetectorRef=e,this.subscriptions=[],this.isHeaderless=!1,this.position=i.a.Bottom,this.tooltipPosition=i.a,this.width=50}return t.prototype.ngOnInit=function(){var t=this;this.subscriptions.push(this.tooltipEventsEmitter.tooltipChanged$.subscribe(function(e){if(t.message=e.message,t.title=e.title,t.cursorOffset=e.cursorOffset,t.isHeaderless=!t.title,e.position&&(t.position=e.position[0],e.position[1]&&(t.additionalPosition=e.position[1])),t.width=50,t.changeDetectorRef.detectChanges(),t.titleEl)for(;t.titleEl.nativeElement.offsetHeight>20&&t.width<400;)t.width+=10,t.changeDetectorRef.detectChanges()})),this.subscriptions.push(this.tooltipEventsEmitter.tooltipDirectiveInitialized$.subscribe(function(){t.tooltipEventsEmitter.broadcastTooltipElementChanged(t.wrapper.nativeElement)}))},t.prototype.ngAfterViewInit=function(){this.tooltipEventsEmitter.broadcastTooltipElementChanged(this.wrapper.nativeElement)},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.prototype.close=function(t){t.stopPropagation(),this.wrapper.nativeElement.classList.remove("shown"),this.tooltipEventsEmitter.broadcastTooltipVisibilityChanged(!1)},t}()},CS9Q:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("mrSG"),r=n("siIJ"),o=function(t){function e(n,i){void 0===i&&(i=r.a.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():i()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return i.d(e,t),e.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,i,r):t.prototype.schedule.call(this,n,i,r)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(r.a)},CcnG:function(t,e,n){"use strict";n.r(e),n.d(e,"\u0275angular_packages_core_core_p",function(){return yf}),n.d(e,"\u0275angular_packages_core_core_m",function(){return mf}),n.d(e,"\u0275angular_packages_core_core_n",function(){return gf}),n.d(e,"\u0275angular_packages_core_core_o",function(){return vf}),n.d(e,"\u0275angular_packages_core_core_g",function(){return Op}),n.d(e,"\u0275angular_packages_core_core_k",function(){return $h}),n.d(e,"\u0275angular_packages_core_core_l",function(){return ef}),n.d(e,"\u0275angular_packages_core_core_c",function(){return kt}),n.d(e,"\u0275angular_packages_core_core_d",function(){return _p}),n.d(e,"\u0275angular_packages_core_core_e",function(){return lp}),n.d(e,"\u0275angular_packages_core_core_f",function(){return fp}),n.d(e,"\u0275angular_packages_core_core_q",function(){return qp}),n.d(e,"\u0275angular_packages_core_core_s",function(){return zp}),n.d(e,"\u0275angular_packages_core_core_r",function(){return Up}),n.d(e,"\u0275angular_packages_core_core_v",function(){return Gp}),n.d(e,"\u0275angular_packages_core_core_t",function(){return Bp}),n.d(e,"\u0275angular_packages_core_core_u",function(){return Wp}),n.d(e,"\u0275angular_packages_core_core_z",function(){return Hn}),n.d(e,"\u0275angular_packages_core_core_bh",function(){return h}),n.d(e,"\u0275angular_packages_core_core_ba",function(){return Va}),n.d(e,"\u0275angular_packages_core_core_bb",function(){return an}),n.d(e,"\u0275angular_packages_core_core_bc",function(){return mn}),n.d(e,"\u0275angular_packages_core_core_bd",function(){return Pn}),n.d(e,"\u0275angular_packages_core_core_bg",function(){return gr}),n.d(e,"\u0275angular_packages_core_core_bk",function(){return _e}),n.d(e,"\u0275angular_packages_core_core_h",function(){return ts}),n.d(e,"\u0275angular_packages_core_core_i",function(){return es}),n.d(e,"\u0275angular_packages_core_core_j",function(){return is}),n.d(e,"\u0275angular_packages_core_core_a",function(){return P}),n.d(e,"\u0275angular_packages_core_core_b",function(){return I}),n.d(e,"\u0275angular_packages_core_core_bi",function(){return u}),n.d(e,"\u0275angular_packages_core_core_w",function(){return hg}),n.d(e,"\u0275angular_packages_core_core_x",function(){return Yv}),n.d(e,"\u0275angular_packages_core_core_y",function(){return Pf}),n.d(e,"createPlatform",function(){return hh}),n.d(e,"assertPlatform",function(){return mh}),n.d(e,"destroyPlatform",function(){return gh}),n.d(e,"getPlatform",function(){return vh}),n.d(e,"PlatformRef",function(){return yh}),n.d(e,"ApplicationRef",function(){return _h}),n.d(e,"createPlatformFactory",function(){return fh}),n.d(e,"NgProbeToken",function(){return ph}),n.d(e,"enableProdMode",function(){return Il}),n.d(e,"isDevMode",function(){return Pl}),n.d(e,"APP_ID",function(){return Sp}),n.d(e,"PACKAGE_ROOT_URL",function(){return Rp}),n.d(e,"PLATFORM_INITIALIZER",function(){return Pp}),n.d(e,"PLATFORM_ID",function(){return Ip}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return Mp}),n.d(e,"APP_INITIALIZER",function(){return xp}),n.d(e,"ApplicationInitStatus",function(){return Ep}),n.d(e,"DebugElement",function(){return Uh}),n.d(e,"DebugNode",function(){return Hh}),n.d(e,"asNativeElements",function(){return zh}),n.d(e,"getDebugNode",function(){return qh}),n.d(e,"Testability",function(){return oh}),n.d(e,"TestabilityRegistry",function(){return ah}),n.d(e,"setTestabilityGetter",function(){return sh}),n.d(e,"TRANSLATIONS",function(){return pf}),n.d(e,"TRANSLATIONS_FORMAT",function(){return hf}),n.d(e,"LOCALE_ID",function(){return df}),n.d(e,"MissingTranslationStrategy",function(){return ff}),n.d(e,"ApplicationModule",function(){return bf}),n.d(e,"wtfCreateScope",function(){return $p}),n.d(e,"wtfLeave",function(){return Kp}),n.d(e,"wtfStartTimeRange",function(){return Zp}),n.d(e,"wtfEndTimeRange",function(){return Qp}),n.d(e,"Type",function(){return Bc}),n.d(e,"EventEmitter",function(){return ic}),n.d(e,"ErrorHandler",function(){return tp}),n.d(e,"Sanitizer",function(){return Ac}),n.d(e,"SecurityContext",function(){return Dc}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return M}),n.d(e,"Attribute",function(){return R}),n.d(e,"ContentChild",function(){return j}),n.d(e,"ContentChildren",function(){return A}),n.d(e,"Query",function(){return D}),n.d(e,"ViewChild",function(){return N}),n.d(e,"ViewChildren",function(){return L}),n.d(e,"Component",function(){return bd}),n.d(e,"Directive",function(){return yd}),n.d(e,"HostBinding",function(){return Ed}),n.d(e,"HostListener",function(){return Sd}),n.d(e,"Input",function(){return Cd}),n.d(e,"Output",function(){return xd}),n.d(e,"Pipe",function(){return _d}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return jd}),n.d(e,"NO_ERRORS_SCHEMA",function(){return Ld}),n.d(e,"NgModule",function(){return Nd}),n.d(e,"ViewEncapsulation",function(){return G}),n.d(e,"Version",function(){return vl}),n.d(e,"VERSION",function(){return yl}),n.d(e,"defineInjectable",function(){return b}),n.d(e,"defineInjector",function(){return _}),n.d(e,"forwardRef",function(){return li}),n.d(e,"resolveForwardRef",function(){return ui}),n.d(e,"Injectable",function(){return Gd}),n.d(e,"INJECTOR",function(){return hi}),n.d(e,"Injector",function(){return mi}),n.d(e,"inject",function(){return Tt}),n.d(e,"InjectFlags",function(){return xt}),n.d(e,"ReflectiveInjector",function(){return bp}),n.d(e,"createInjector",function(){return Ls}),n.d(e,"ResolvedReflectiveFactory",function(){return dp}),n.d(e,"ReflectiveKey",function(){return op}),n.d(e,"InjectionToken",function(){return x}),n.d(e,"Inject",function(){return yt}),n.d(e,"Optional",function(){return bt}),n.d(e,"Self",function(){return _t}),n.d(e,"SkipSelf",function(){return wt}),n.d(e,"Host",function(){return Ct}),n.d(e,"NgZone",function(){return Xp}),n.d(e,"\u0275NoopNgZone",function(){return rh}),n.d(e,"RenderComponentType",function(){return ll}),n.d(e,"Renderer",function(){return cl}),n.d(e,"Renderer2",function(){return fl}),n.d(e,"RendererFactory2",function(){return pl}),n.d(e,"RendererStyleFlags2",function(){return hl}),n.d(e,"RootRenderer",function(){return dl}),n.d(e,"COMPILER_OPTIONS",function(){return Fp}),n.d(e,"Compiler",function(){return Vp}),n.d(e,"CompilerFactory",function(){return Hp}),n.d(e,"ModuleWithComponentFactories",function(){return Ap}),n.d(e,"ComponentFactory",function(){return Xs}),n.d(e,"ComponentRef",function(){return Qs}),n.d(e,"ComponentFactoryResolver",function(){return nl}),n.d(e,"ElementRef",function(){return ol}),n.d(e,"NgModuleFactory",function(){return Mi}),n.d(e,"NgModuleRef",function(){return Ii}),n.d(e,"NgModuleFactoryLoader",function(){return Ch}),n.d(e,"getModuleFactory",function(){return Sh}),n.d(e,"QueryList",function(){return Oh}),n.d(e,"SystemJsNgModuleLoader",function(){return Ph}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return kh}),n.d(e,"TemplateRef",function(){return rc}),n.d(e,"ViewContainerRef",function(){return Mh}),n.d(e,"EmbeddedViewRef",function(){return Vh}),n.d(e,"ViewRef",function(){return Nh}),n.d(e,"ChangeDetectionStrategy",function(){return V}),n.d(e,"ChangeDetectorRef",function(){return Ah}),n.d(e,"DefaultIterableDiffer",function(){return Zh}),n.d(e,"IterableDiffers",function(){return of}),n.d(e,"KeyValueDiffers",function(){return af}),n.d(e,"SimpleChange",function(){return de}),n.d(e,"WrappedValue",function(){return ce}),n.d(e,"platformCore",function(){return cf}),n.d(e,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return dh}),n.d(e,"\u0275APP_ID_RANDOM_PROVIDER",function(){return kp}),n.d(e,"\u0275defaultIterableDiffers",function(){return lf}),n.d(e,"\u0275defaultKeyValueDiffers",function(){return uf}),n.d(e,"\u0275devModeEqual",function(){return ue}),n.d(e,"\u0275isListLikeIterable",function(){return pe}),n.d(e,"\u0275ChangeDetectorStatus",function(){return F}),n.d(e,"\u0275isDefaultChangeDetectionStrategy",function(){return H}),n.d(e,"\u0275Console",function(){return Dp}),n.d(e,"\u0275getInjectableDef",function(){return w}),n.d(e,"\u0275inject",function(){return Tt}),n.d(e,"\u0275setCurrentInjector",function(){return St}),n.d(e,"\u0275APP_ROOT",function(){return Is}),n.d(e,"\u0275ivyEnabled",function(){return wf}),n.d(e,"\u0275ComponentFactory",function(){return Xs}),n.d(e,"\u0275CodegenComponentFactoryResolver",function(){return il}),n.d(e,"\u0275resolveComponentResources",function(){return U}),n.d(e,"\u0275ReflectionCapabilities",function(){return $c}),n.d(e,"\u0275RenderDebugInfo",function(){return ul}),n.d(e,"\u0275_sanitizeHtml",function(){return Ql}),n.d(e,"\u0275_sanitizeStyle",function(){return Nc}),n.d(e,"\u0275_sanitizeUrl",function(){return Al}),n.d(e,"\u0275global",function(){return $}),n.d(e,"\u0275looseIdentical",function(){return J}),n.d(e,"\u0275stringify",function(){return tt}),n.d(e,"\u0275makeDecorator",function(){return k}),n.d(e,"\u0275isObservable",function(){return Cp}),n.d(e,"\u0275isPromise",function(){return wp}),n.d(e,"\u0275clearOverrides",function(){return Qv}),n.d(e,"\u0275initServicesIfNeeded",function(){return cv}),n.d(e,"\u0275overrideComponentView",function(){return Zv}),n.d(e,"\u0275overrideProvider",function(){return Kv}),n.d(e,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return _g}),n.d(e,"\u0275defineBase",function(){return ut}),n.d(e,"\u0275defineComponent",function(){return rt}),n.d(e,"\u0275defineDirective",function(){return ct}),n.d(e,"\u0275definePipe",function(){return dt}),n.d(e,"\u0275defineNgModule",function(){return st}),n.d(e,"\u0275detectChanges",function(){return ba}),n.d(e,"\u0275renderComponent",function(){return ys}),n.d(e,"\u0275Render3ComponentFactory",function(){return Sl}),n.d(e,"\u0275Render3ComponentRef",function(){return Ol}),n.d(e,"\u0275directiveInject",function(){return Ba}),n.d(e,"\u0275injectAttribute",function(){return Wa}),n.d(e,"\u0275getFactoryOf",function(){return $n}),n.d(e,"\u0275getInheritedFactory",function(){return Kn}),n.d(e,"\u0275templateRefExtractor",function(){return Ec}),n.d(e,"\u0275ProvidersFeature",function(){return Zs}),n.d(e,"\u0275InheritDefinitionFeature",function(){return Ss}),n.d(e,"\u0275NgOnChangesFeature",function(){return Ts}),n.d(e,"\u0275LifecycleHooksFeature",function(){return Cs}),n.d(e,"\u0275Render3NgModuleRef",function(){return Nu}),n.d(e,"\u0275markDirty",function(){return Ca}),n.d(e,"\u0275NgModuleFactory",function(){return Vu}),n.d(e,"\u0275NO_CHANGE",function(){return fr}),n.d(e,"\u0275container",function(){return ra}),n.d(e,"\u0275nextContext",function(){return ho}),n.d(e,"\u0275elementStart",function(){return xo}),n.d(e,"\u0275namespaceHTML",function(){return bo}),n.d(e,"\u0275namespaceMathML",function(){return yo}),n.d(e,"\u0275namespaceSVG",function(){return vo}),n.d(e,"\u0275element",function(){return _o}),n.d(e,"\u0275listener",function(){return Io}),n.d(e,"\u0275text",function(){return Go}),n.d(e,"\u0275embeddedViewStart",function(){return la}),n.d(e,"\u0275query",function(){return Cc}),n.d(e,"\u0275registerContentQuery",function(){return Ga}),n.d(e,"\u0275projection",function(){return fa}),n.d(e,"\u0275bind",function(){return xa}),n.d(e,"\u0275interpolation1",function(){return Sa}),n.d(e,"\u0275interpolation2",function(){return Oa}),n.d(e,"\u0275interpolation3",function(){return ka}),n.d(e,"\u0275interpolation4",function(){return Ta}),n.d(e,"\u0275interpolation5",function(){return Pa}),n.d(e,"\u0275interpolation6",function(){return Ia}),n.d(e,"\u0275interpolation7",function(){return Ma}),n.d(e,"\u0275interpolation8",function(){return Ra}),n.d(e,"\u0275interpolationV",function(){return Ea}),n.d(e,"\u0275pipeBind1",function(){return Qu}),n.d(e,"\u0275pipeBind2",function(){return Xu}),n.d(e,"\u0275pipeBind3",function(){return Ju}),n.d(e,"\u0275pipeBind4",function(){return tc}),n.d(e,"\u0275pipeBindV",function(){return ec}),n.d(e,"\u0275pureFunction0",function(){return Hu}),n.d(e,"\u0275pureFunction1",function(){return Uu}),n.d(e,"\u0275pureFunction2",function(){return zu}),n.d(e,"\u0275pureFunction3",function(){return Bu}),n.d(e,"\u0275pureFunction4",function(){return Wu}),n.d(e,"\u0275pureFunction5",function(){return Gu}),n.d(e,"\u0275pureFunction6",function(){return qu}),n.d(e,"\u0275pureFunction7",function(){return Yu}),n.d(e,"\u0275pureFunction8",function(){return $u}),n.d(e,"\u0275pureFunctionV",function(){return Ku}),n.d(e,"\u0275getCurrentView",function(){return nn}),n.d(e,"\u0275restoreView",function(){return on}),n.d(e,"\u0275containerRefreshStart",function(){return aa}),n.d(e,"\u0275containerRefreshEnd",function(){return sa}),n.d(e,"\u0275queryRefresh",function(){return xc}),n.d(e,"\u0275loadQueryList",function(){return ja}),n.d(e,"\u0275elementEnd",function(){return Do}),n.d(e,"\u0275elementProperty",function(){return jo}),n.d(e,"\u0275projectionDef",function(){return pa}),n.d(e,"\u0275reference",function(){return Aa}),n.d(e,"\u0275enableBindings",function(){return tn}),n.d(e,"\u0275disableBindings",function(){return en}),n.d(e,"\u0275elementAttribute",function(){return Ao}),n.d(e,"\u0275elementContainerStart",function(){return wo}),n.d(e,"\u0275elementContainerEnd",function(){return Co}),n.d(e,"\u0275elementStyling",function(){return Ho}),n.d(e,"\u0275elementStylingMap",function(){return Bo}),n.d(e,"\u0275elementStyleProp",function(){return zo}),n.d(e,"\u0275elementStylingApply",function(){return Uo}),n.d(e,"\u0275elementClassProp",function(){return Fo}),n.d(e,"\u0275textBinding",function(){return qo}),n.d(e,"\u0275template",function(){return ia}),n.d(e,"\u0275embeddedViewEnd",function(){return ua}),n.d(e,"\u0275store",function(){return Da}),n.d(e,"\u0275load",function(){return La}),n.d(e,"\u0275pipe",function(){return Zu}),n.d(e,"\u0275whenRendered",function(){return xs}),n.d(e,"\u0275i18n",function(){return Su}),n.d(e,"\u0275i18nAttributes",function(){return Ou}),n.d(e,"\u0275i18nExp",function(){return Pu}),n.d(e,"\u0275i18nStart",function(){return bu}),n.d(e,"\u0275i18nEnd",function(){return Cu}),n.d(e,"\u0275i18nApply",function(){return Iu}),n.d(e,"\u0275i18nPostprocess",function(){return wu}),n.d(e,"\u0275WRAP_RENDERER_FACTORY2",function(){return xl}),n.d(e,"\u0275setClassMetadata",function(){return Fu}),n.d(e,"\u0275Render3DebugRendererFactory2",function(){return ty}),n.d(e,"\u0275compileComponent",function(){return ud}),n.d(e,"\u0275compileDirective",function(){return cd}),n.d(e,"\u0275compileNgModule",function(){return nd}),n.d(e,"\u0275compileNgModuleDefs",function(){return id}),n.d(e,"\u0275patchComponentDefWithScope",function(){return rd}),n.d(e,"\u0275compilePipe",function(){return vd}),n.d(e,"\u0275sanitizeHtml",function(){return Vc}),n.d(e,"\u0275sanitizeStyle",function(){return Fc}),n.d(e,"\u0275sanitizeUrl",function(){return Hc}),n.d(e,"\u0275sanitizeResourceUrl",function(){return Uc}),n.d(e,"\u0275bypassSanitizationTrustHtml",function(){return kc}),n.d(e,"\u0275bypassSanitizationTrustStyle",function(){return Tc}),n.d(e,"\u0275bypassSanitizationTrustScript",function(){return Pc}),n.d(e,"\u0275bypassSanitizationTrustUrl",function(){return Ic}),n.d(e,"\u0275bypassSanitizationTrustResourceUrl",function(){return Mc}),n.d(e,"\u0275getContext",function(){return Zn}),n.d(e,"\u0275bindPlayerFactory",function(){return mr}),n.d(e,"\u0275addPlayer",function(){return ps}),n.d(e,"\u0275getPlayers",function(){return hs}),n.d(e,"\u0275compileNgModuleFactory__POST_R3__",function(){return ch}),n.d(e,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Od}),n.d(e,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return kd}),n.d(e,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Td}),n.d(e,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return Vd}),n.d(e,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return qd}),n.d(e,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return _f}),n.d(e,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return jh}),n.d(e,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return al}),n.d(e,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return oc}),n.d(e,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return Rh}),n.d(e,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return ml}),n.d(e,"\u0275publishGlobalUtil",function(){return vs}),n.d(e,"\u0275publishDefaultGlobalUtils",function(){return gs}),n.d(e,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return gi}),n.d(e,"\u0275registerModuleFactory",function(){return Eh}),n.d(e,"\u0275EMPTY_ARRAY",function(){return vm}),n.d(e,"\u0275EMPTY_MAP",function(){return ym}),n.d(e,"\u0275and",function(){return bm}),n.d(e,"\u0275ccf",function(){return Fm}),n.d(e,"\u0275cmf",function(){return Xv}),n.d(e,"\u0275crt",function(){return Hf}),n.d(e,"\u0275did",function(){return cg}),n.d(e,"\u0275eld",function(){return _m}),n.d(e,"\u0275elementEventFullName",function(){return Qf}),n.d(e,"\u0275getComponentViewDefinitionFactory",function(){return Hm}),n.d(e,"\u0275inlineInterpolate",function(){return mm}),n.d(e,"\u0275interpolate",function(){return fm}),n.d(e,"\u0275mod",function(){return Im}),n.d(e,"\u0275mpd",function(){return Pm}),n.d(e,"\u0275ncd",function(){return Rg}),n.d(e,"\u0275nov",function(){return Qm}),n.d(e,"\u0275pid",function(){return dg}),n.d(e,"\u0275prd",function(){return pg}),n.d(e,"\u0275pad",function(){return jg}),n.d(e,"\u0275pod",function(){return Lg}),n.d(e,"\u0275ppd",function(){return Ag}),n.d(e,"\u0275qud",function(){return kg}),n.d(e,"\u0275ted",function(){return Vg}),n.d(e,"\u0275unv",function(){return Nf}),n.d(e,"\u0275vid",function(){return Ug});var i=n("mrSG"),r=n("pugT"),o=n("K9Ia"),a=n("6blF"),s=n("p0ib"),l=n("S1nX");function u(t){for(var e in t)if(t[e]===u)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}var d=u({ngComponentDef:u}),p=u({ngDirectiveDef:u}),h=u({ngInjectableDef:u}),f=u({ngInjectorDef:u}),m=u({ngPipeDef:u}),g=u({ngModuleDef:u}),v=u({ngBaseDef:u}),y=u({__NG_ELEMENT_ID__:u});function b(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function _(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function w(t){return t.hasOwnProperty(h)?t[h]:null}function C(t){return t.hasOwnProperty(f)?t[f]:null}var x=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?b({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),E="__annotations__",S="__parameters__",O="__prop__metadata__";function k(t,e,n,r,o){var a=T(e);function s(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof s)return a.call.apply(a,Object(i.i)([this],e)),this;var l=new((t=s).bind.apply(t,Object(i.i)([void 0],e)));return function(t){return o&&o.apply(void 0,Object(i.i)([t],e)),(t.hasOwnProperty(E)?t[E]:Object.defineProperty(t,E,{value:[]})[E]).push(l),r&&r(t),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s}function T(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,Object(i.i)(e));for(var o in r)this[o]=r[o]}}}function P(t,e,n){var r=T(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return r.apply(this,e),this;var a=new((t=o).bind.apply(t,Object(i.i)([void 0],e)));return s.annotation=a,s;function s(t,e,n){for(var i=t.hasOwnProperty(S)?t[S]:Object.defineProperty(t,S,{value:[]})[S];i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(a),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function I(t,e,n,r){var o=T(e);function a(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof a)return o.apply(this,e),this;var s=new((t=a).bind.apply(t,Object(i.i)([void 0],e)));return function(t,n){var o=t.constructor,a=o.hasOwnProperty(O)?o[O]:Object.defineProperty(o,O,{value:{}})[O];a[n]=a.hasOwnProperty(n)&&a[n]||[],a[n].unshift(s),r&&r.apply(void 0,Object(i.i)([t,n],e))}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a}var M=new x("AnalyzeForEntryComponents"),R=P("Attribute",function(t){return{attributeName:t}}),D=function(){return function(){}}(),A=I("ContentChildren",function(t,e){return void 0===e&&(e={}),Object(i.a)({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)},D),j=I("ContentChild",function(t,e){return void 0===e&&(e={}),Object(i.a)({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)},D),L=I("ViewChildren",function(t,e){return void 0===e&&(e={}),Object(i.a)({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)},D),N=I("ViewChild",function(t,e){return Object(i.a)({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)},D),V=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),F=function(t){return t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed",t}({});function H(t){return null==t||t===V.Default}function U(t){var e=[],n=new Map;function i(i){var r=n.get(i);if(!r){var o=t(i);n.set(i,r=o.then(W)),e.push(r)}return r}return z.forEach(function(t){t.templateUrl&&i(t.templateUrl).then(function(e){t.template=e,t.templateUrl=void 0});var e=t.styleUrls,n=t.styles||(t.styles=[]),r=t.styles.length;e&&e.forEach(function(o,a){n.push(""),i(o).then(function(i){n[r+a]=i,e.splice(e.indexOf(o),1),0==e.length&&(t.styleUrls=void 0)})})}),z.clear(),Promise.all(e).then(function(){return null})}var z=new Set;function B(t){return t.templateUrl||t.styleUrls&&t.styleUrls.length}function W(t){return"string"==typeof t?t:t.text()}var G=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),q="undefined"!=typeof window&&window,Y="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,$="undefined"!=typeof global&&global||q||Y,K=Promise.resolve(0),Z=null;function Q(){if(!Z){var t=$.Symbol;if(t&&t.iterator)Z=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&&(Z=i)}}return Z}function X(t){"undefined"==typeof Zone?K.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function J(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function tt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(tt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}var et={},nt=[],it=0;function rt(t){var e=t.type,n=e.prototype,i={},r={type:e,providersResolver:null,consts:t.consts,vars:t.vars,hostVars:t.hostVars||0,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===V.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||G.Emulated,id:"c",styles:t.styles||nt,_:null};return r._=""+{toString:function(){var e=t.directives,n=t.features,o=t.pipes;r.id+=it++,r.inputs=lt(t.inputs,i),r.outputs=lt(t.outputs),n&&n.forEach(function(t){return t(r)}),r.directiveDefs=e?function(){return("function"==typeof e?e():e).map(ot)}:null,r.pipeDefs=o?function(){return("function"==typeof o?o():o).map(at)}:null}},r}function ot(t){return pt(t)||ht(t)}function at(t){return ft(t)}function st(t){return{type:t.type,bootstrap:t.bootstrap||nt,declarations:t.declarations||nt,imports:t.imports||nt,exports:t.exports||nt,transitiveCompileScopes:null}}function lt(t,e){if(null==t)return et;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[o]=i)}return n}function ut(t){var e={};return{inputs:lt(t.inputs,e),declaredInputs:e,outputs:lt(t.outputs)}}var ct=rt;function dt(t){return{name:t.name,factory:t.factory,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function pt(t){return t[d]||null}function ht(t){return t[p]||null}function ft(t){return t[m]||null}function mt(t){return t[g]||null}function gt(){var t=$.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}var vt,yt=P("Inject",function(t){return{token:t}}),bt=P("Optional"),_t=P("Self"),wt=P("SkipSelf"),Ct=P("Host"),xt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({}),Et=void 0;function St(t){var e=Et;return Et=t,e}function Ot(t){var e=vt;return vt=t,e}function kt(t,e){if(void 0===e&&(e=xt.Default),void 0===Et)throw new Error("inject() must be called from an injection context");return null===Et?Pt(t,void 0,e):Et.get(t,e&xt.Optional?null:void 0,e)}function Tt(t,e){return void 0===e&&(e=xt.Default),(vt||kt)(t,e)}function Pt(t,e,n){var i=w(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&xt.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+tt(t)+"]")}function It(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,o=xt.Default,a=0;a<i.length;a++){var s=i[a];s instanceof bt||"Optional"===s.ngMetadataName?o|=xt.Optional:s instanceof wt||"SkipSelf"===s.ngMetadataName?o|=xt.SkipSelf:s instanceof _t||"Self"===s.ngMetadataName?o|=xt.Self:r=s instanceof yt?s.token:s}e.push(Tt(r,o))}else e.push(Tt(i))}return e}var Mt=8,Rt=8,Dt=9,At=-1,jt=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),Lt=jt.prototype,Nt=17,Vt=0,Ft=1,Ht=2,Ut=3,zt=4,Bt=5,Wt=6,Gt=7,qt=8,Yt=9,$t=10,Kt=11,Zt=12,Qt=13,Xt=14,Jt=15,te=16;function ee(t,e,n,i){e&&(i.initHooks||(i.initHooks=[])).push(t,e),n&&((i.initHooks||(i.initHooks=[])).push(t,n),(i.checkHooks||(i.checkHooks=[])).push(t,n))}function ne(t,e){if(e.firstTemplatePass)for(var n=t>>16,i=n+(4095&t),r=n;r<i;r++){var o=e.data[r];ie(o,e,r),re(o,e,r),oe(o,e,r)}}function ie(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function re(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function oe(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function ae(t,e,n){16&t[Ft]&&(se(t,e.initHooks,e.checkHooks,n),t[Ft]&=-17)}function se(t,e,n,i){var r=i?e:n;r&&le(t,r)}function le(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}function ue(t,e){var n=pe(t),i=pe(e);return n&&i?function(t,e,n){for(var i=t[Q()](),r=e[Q()]();;){var o=i.next(),a=r.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(t,e,ue):!(n||!t||"object"!=typeof t&&"function"!=typeof t||i||!e||"object"!=typeof e&&"function"!=typeof e)||J(t,e)}var ce=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),de=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function pe(t){return!!he(t)&&(Array.isArray(t)||!(t instanceof Map)&&Q()in t)}function he(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var fe=0,me=1,ge=6,ve=7,ye="__ngContext__";function be(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":""+t}function _e(t,e){return e[t+Nt]}function we(t){for(;Array.isArray(t);)t=t[Bt];return t}function Ce(t,e){return we(e[t+Nt])}function xe(t,e){return we(e[t.index])}function Ee(t,e){return e[Vt].data[t+Nt]}function Se(t,e){var n=e[t];return n.length>=Nt?n:n[Bt]}function Oe(t){return 0!=(16384&t.flags)}function ke(t){return 4096==(4096&t.flags)}function Te(t){return null!==t.template}function Pe(t){return Array.isArray(t)&&"number"==typeof t[fe]}function Ie(t){return 0!=(64&t[Ft])}function Me(t){for(var e=Array.isArray(t)?t:Ae(t);e&&!(64&e[Ft]);)e=e[Ht];return e}function Re(t){return Me(t)[Yt]}function De(t){return t[ye]}function Ae(t){var e=De(t);return e?Array.isArray(e)?e:e.lViewData:null}function je(t){return t!==At}function Le(t){return 32767&t}function Ne(t){return t>>16}function Ve(t,e){for(var n=Ne(t),i=e;n>0;)i=i[te],n--;return i}var Fe,He,Ue,ze,Be,We,Ge,qe,Ye,$e,Ke=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind($);function Ze(t,e){for(var n=0;n<t.length;n++)e.push(t[n])}function Qe(){return Fe}function Xe(){return He}function Je(){return $e&&$e[Zt]}function tn(){ze=!0}function en(){ze=!1}function nn(){return $e}function rn(){return $e}function on(t){gn=t}function an(){return Be}function sn(t){Be=t}function ln(t,e){Be=t,$e=e}function un(){return We}function cn(t){We=t}function dn(){return Ge}function pn(){return qe}function hn(t){qe=t}function fn(){return Ye}function mn(){return $e}var gn=null;function vn(t){return t[qt]||(t[qt]=[])}function yn(t){return t[Vt].cleanup||(t[Vt].cleanup=[])}var bn=!1;function _n(){return bn}function wn(t){bn=t}var Cn=!0;function xn(){return Cn}function En(t){Cn=t}var Sn=-1;function On(){return Sn}function kn(t){Sn=t}function Tn(t,e){var n=$e;return Ge=t&&t[Vt],Ye=t&&1==(1&t[Ft]),Cn=t&&Ge.firstTemplatePass,Sn=t&&Ge.bindingStartIndex,Fe=t&&t[Kt],Be=e,We=!0,$e=gn=t,n&&(n[zt]=qe),qe=t&&t[zt],n}function Pn(t){return void 0===t&&(t=1),(gn=function(t,e){for(;t>0;)e=e[te],t--;return e}(t,gn))[Yt]}function In(t,e){e||(bn||se($e,Ge.viewHooks,Ge.viewCheckHooks,Ye),$e[Ft]&=-6),$e[Ft]|=16,$e[Gt]=Ge.bindingStartIndex,Tn(t,null)}var Mn=!1;function Rn(t){var e=Mn;return Mn=t,e}var Dn=255,An=0;function jn(t,e){var n=Nn(t,e);if(-1!==n)return n;var i=e[Vt];i.firstTemplatePass&&(t.injectorIndex=e.length,Ln(i.data,t),Ln(e,null),Ln(i.blueprint,null));var r=Vn(t,e),o=Le(r),a=Ve(r,e),s=t.injectorIndex;if(je(r))for(var l=a[Vt].data,u=0;u<8;u++)e[s+u]=a[o+u]|l[o+u];return e[s+Rt]=r,s}function Ln(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Nn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+Rt]?-1:t.injectorIndex}function Vn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[Wt],i=1;n&&-1===n.injectorIndex;)n=(e=e[te])[Wt],i++;return n?n.injectorIndex|i<<16|(n&&3===n.type?32768:0):-1}function Fn(t,e,n){!function(t,e,i){var r=n[y];null==r&&(r=n[y]=An++);var o=r&Dn,a=1<<o,s=64&o,l=32&o,u=e.data;128&o?s?l?u[t+7]|=a:u[t+6]|=a:l?u[t+5]|=a:u[t+4]|=a:s?l?u[t+3]|=a:u[t+2]|=a:l?u[t+1]|=a:u[t]|=a}(t,e[Vt])}function Hn(t,e){var n=t.attrs;if(n)for(var i=0;i<n.length;i+=2){var r=n[i];if(1===r)break;if(r==e)return n[i+1]}}function Un(t,e,n,i,r){void 0===i&&(i=xt.Default);var o=function(t){var e=t[y];return"number"==typeof e?e&Dn:e}(n);if("function"==typeof o){var a=an(),s=mn();ln(t,e);try{var l=o();if(null!=l||i&xt.Optional)return l;throw new Error("No provider for "+be(n))}finally{ln(a,s)}}else if("number"==typeof o){var u=null,c=Nn(t,e),d=At;for((-1===c||i&xt.SkipSelf)&&(qn(i,d=-1===c?Vn(t,e):e[c+Rt])?(u=e[Vt],c=Le(d),e=Ve(d,e)):c=-1);-1!==c;){d=e[c+Rt];var p=e[Vt];if(Gn(o,c,p.data)){var h=Bn(c,e,n,u);if(h!==zn)return h}qn(i,d)&&Gn(o,c,e)?(u=p,c=Le(d),e=Ve(d,e)):c=-1}}if(i&xt.Optional&&void 0===r&&(r=null),0==(i&(xt.Self|xt.Host))){var f=e[$t];return f?f.get(n,r,i&xt.Optional):Pt(n,r,i&xt.Optional)}if(i&xt.Optional)return r;throw new Error("NodeInjector: NOT_FOUND ["+be(n)+"]")}var zn={};function Bn(t,e,n,i){var r=e[Vt],o=r.data[t+Mt],a=o.flags,s=o.providerIndexes,l=r.data,u=!1;(null==i&&ke(o)&&Mn||null!=i&&i!=r&&(null==r.node||3===r.node.type))&&(u=!0);for(var c=65535&s,d=a>>16,p=4095&a,h=u?c:c+(s>>16);h<d+p;h++){var f=l[h];if(h<d&&n===f||h>=d&&f.type===n)return Wn(l,e,h,o)}return zn}function Wn(t,e,n,i){var r,o=e[n];if(null!=(r=o)&&"object"==typeof r&&Object.getPrototypeOf(r)==Lt){var a=o;if(a.resolving)throw new Error("Circular dep for "+be(t[n]));var s=Rn(a.canSeeViewProviders);a.resolving=!0;var l=void 0;a.injectImpl&&(l=Ot(a.injectImpl));var u=an(),c=mn();ln(i,e);try{o=e[n]=a.factory(null,t,e,i)}finally{a.injectImpl&&Ot(l),Rn(s),a.resolving=!1,ln(u,c)}}return o}function Gn(t,e,n){var i=64&t,r=32&t;return!!((128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e])&1<<t)}function qn(t,e){return!(t&xt.Self||t&xt.Host&&32768&e)}var Yn=function(){function t(t,e){this._tNode=t,this._hostView=e,this._injectorIndex=jn(t,e)}return t.prototype.get=function(t){return ln(this._tNode,this._hostView),Un(this._tNode,this._hostView,t)},t}();function $n(t){var e=t,n=pt(e)||ht(e)||ft(e)||w(e)||C(e);return n&&void 0!==n.factory?n.factory:null}function Kn(t){var e=$n(Object.getPrototypeOf(t.prototype).constructor);return null!==e?e:function(t){return new t}}function Zn(t){var e,n=De(t);if(n){if(Array.isArray(n)){var i=n,r=void 0,o=void 0,a=void 0;if((e=t)&&e.constructor&&e.constructor.ngComponentDef){if(-1==(r=ni(i,t)))throw new Error("The provided component was not found in the application");o=t}else if(t&&t.constructor&&t.constructor.ngDirectiveDef){if(-1==(r=function(t,e){for(var n=t[Vt].firstChild;n;){for(var i=ri(n),r=oi(n,i),o=i;o<r;o++)if(t[o]===e)return n.index;n=ei(n)}return-1}(i,t)))throw new Error("The provided directive was not found in the application");a=ii(r,i,!1)}else if(-1==(r=ti(i,t)))return null;var s=De(f=we(i[r])),l=s&&!Array.isArray(s)?s:Qn(i,r,f);if(o&&void 0===l.component&&(l.component=o,Jn(l.component,l)),a&&void 0===l.directives){l.directives=a;for(var u=0;u<a.length;u++)Jn(a[u],l)}Jn(l.native,l),n=l}}else for(var c=t,d=c;d=d.parentNode;){var p=De(d);if(p){if(i=void 0,!(i=Array.isArray(p)?p:p.lViewData))return null;var h=ti(i,c);if(h>=0){var f;Jn(f=we(i[h]),l=Qn(i,h,f)),n=l;break}}}return n||null}function Qn(t,e,n){return{lViewData:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Xn(t){var e,n=De(t);if(Array.isArray(n)){var i=ni(n,t);(r=Qn(n,i,(e=Se(i,n))[Bt])).component=t,Jn(t,r),Jn(r.native,r)}else{var r;e=Se((r=n).nodeIndex,r.lViewData)}return e}function Jn(t,e){t[ye]=e}function ti(t,e){for(var n=t[Vt].firstChild;n;){if(xe(n,t)===e)return n.index;n=ei(n)}return-1}function ei(t){return t.child?t.child:t.next?t.next:t.parent&&t.parent.next||null}function ni(t,e){var n=t[Vt].components;if(n)for(var i=0;i<n.length;i++){var r=n[i];if(Se(r,t)[Yt]===e)return r}else if(Se(Nt,t)[Yt]===e)return Nt;return-1}function ii(t,e,n){var i=e[Vt].data[t],r=ri(i);if(0==r)return nt;var o=oi(i,r);return!n&&4096&i.flags&&r++,e.slice(r,o)}function ri(t){return t.flags>>16}function oi(t,e){var n=4095&t.flags;return n?e+n:-1}function ai(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var si=u({__forward_ref__:u});function li(t){return t.__forward_ref__=li,t.toString=function(){return tt(this())},t}function ui(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(si)&&e.__forward_ref__===li?e():t}var ci="__source",di=new Object,pi=di,hi=new x("INJECTOR"),fi=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=di),e===di)throw new Error("NullInjectorError: No provider for "+tt(t)+"!");return e},t}(),mi=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new Oi(t,e):new Oi(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=di,t.NULL=new fi,t.ngInjectableDef=b({providedIn:"any",factory:function(){return Tt(hi)}}),t.__NG_ELEMENT_ID__=function(){return vi()},t}(),gi=function(){return t=an(),new Yn(t,mn());var t},vi=ai,yi=function(t){return t},bi=[],_i=yi,wi=function(){return Array.prototype.slice.call(arguments)},Ci=u({provide:String,useValue:u}),xi=mi.NULL,Ei=/\n/gm,Si="\u0275",Oi=function(){function t(t,e,n){void 0===e&&(e=xi),void 0===n&&(n=null),this.parent=e,this.source=n;var i=this._records=new Map;i.set(mi,{token:mi,fn:yi,deps:bi,value:this,useNew:!1}),i.set(hi,{token:hi,fn:yi,deps:bi,value:this,useNew:!1}),function t(e,n){if(n)if((n=ui(n))instanceof Array)for(var i=0;i<n.length;i++)t(e,n[i]);else{if("function"==typeof n)throw Pi("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Pi("Unexpected provider",n);var r=ui(n.provide),o=function(t){var e=function(t){var e=bi,n=t.deps;if(n&&n.length){e=[];for(var i=0;i<n.length;i++){var r=6;if((l=ui(n[i]))instanceof Array)for(var o=0,a=l;o<a.length;o++){var s=a[o];s instanceof bt||s==bt?r|=1:s instanceof wt||s==wt?r&=-3:s instanceof _t||s==_t?r&=-5:l=s instanceof yt?s.token:ui(s)}e.push({token:l,options:r})}}else if(t.useExisting){var l;e=[{token:l=ui(t.useExisting),options:6}]}else if(!(n||Ci in t))throw Pi("'deps' required",t);return e}(t),n=yi,i=bi,r=!1,o=ui(t.provide);if(Ci in t)i=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)r=!0,n=ui(t.useClass);else{if("function"!=typeof o)throw Pi("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);r=!0,n=o}return{deps:e,fn:n,useNew:r,value:i}}(n);if(!0===n.multi){var a=e.get(r);if(a){if(a.fn!==wi)throw ki(r)}else e.set(r,a={token:n.provide,deps:[],useNew:!1,fn:wi,value:bi});a.deps.push({token:r=n,options:6})}var s=e.get(r);if(s&&s.fn==wi)throw ki(r);e.set(r,o)}}(i,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=xt.Default);var r=this._records.get(t);try{return function t(e,n,r,o,a,s){try{return function(e,n,r,o,a,s){var l,u;if(!n||s&xt.SkipSelf)s&xt.Self||(u=o.get(e,a,xt.Default));else{if((u=n.value)==_i)throw Error(Si+"Circular dependency");if(u===bi){n.value=_i;var c=n.useNew,d=n.fn,p=n.deps,h=bi;if(p.length){h=[];for(var f=0;f<p.length;f++){var m=p[f],g=m.options,v=2&g?r.get(m.token):void 0;h.push(t(m.token,v,r,v||4&g?o:xi,1&g?null:mi.THROW_IF_NOT_FOUND,xt.Default))}}n.value=u=c?new((l=d).bind.apply(l,Object(i.i)([void 0],h))):d.apply(void 0,h)}}return u}(e,n,r,o,a,s)}catch(l){throw l instanceof Error||(l=new Error(l)),(l.ngTempTokenPath=l.ngTempTokenPath||[]).unshift(e),n&&n.value==_i&&(n.value=bi),l}}(t,r,this._records,this.parent,e,n)}catch(a){var o=a.ngTempTokenPath;throw t[ci]&&o.unshift(t[ci]),a.message=Ti("\n"+a.message,o,this.source),a.ngTokenPath=o,a.ngTempTokenPath=null,a}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(tt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function ki(t){return Pi("Cannot mix multi providers and regular providers",t)}function Ti(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Si?t.substr(2):t;var i=tt(e);if(e instanceof Array)i=e.map(tt).join(" -> ");else if("object"==typeof e){var r=[];for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];r.push(o+":"+("string"==typeof a?JSON.stringify(a):tt(a)))}i="{"+r.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+i+"]: "+t.replace(Ei,"\n  ")}function Pi(t,e){return new Error(Ti(t,e))}var Ii=function(){return function(){}}(),Mi=function(){return function(){}}();function Ri(t){throw new Error("Multiple components match node with tagname "+t.tagName)}var Di="ngProjectAs",Ai=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function ji(t){return!!t.listen}var Li={createRenderer:function(t,e){return document}};function Ni(t,e){return null==t.parent?function(t){var e=t[Wt];return e&&2!==e.type?xe(e,t[Ht]):null}(e):xe(Vi(t),e)}function Vi(t){for(var e=t.parent;e&&5===e.type;)e=e.parent;return e}function Fi(t,e){if(-1===t.index){var n=e[Xt];return n>-1?e[Ht][n]:null}return e[Ht][t.parent.index]}function Hi(t,e){var n=Fi(t,e);return n?n[ve]:null}var Ui=[];function zi(t,e,n,i,r){for(var o=t[Vt].node,a=-1,s=t,l=o.child;l;){var u=null;if(3===l.type){Wi(e,n,i,xe(l,s),r);var c=s[l.index];Pe(c)&&Wi(e,n,i,c[ge],r)}else if(0===l.type){var d=s[l.index];Wi(e,n,i,d[ge],r),i&&(d[ve]=i),d[me].length&&(u=(s=d[me][0])[Vt].node,r=d[ge])}else if(1===l.type){var p=Bi(s),h=p[Wt].projection[l.projection];Ui[++a]=l,Ui[++a]=s,h&&(u=(s=p[Ht])[Vt].data[h.index])}else u=l.child;if(null===u)for(null===l.next&&8192&l.flags&&(s=Ui[a--],l=Ui[a--]),u=l.next;!u;){if(null===(l=l.parent||s[Vt].node)||l===o)return null;0===l.type&&(r=(s=s[Ht])[l.index][ge]),u=2===l.type&&s[Ut]?(s=s[Ut])[Vt].node:l.next}l=u}}function Bi(t){for(var e=t[Wt];e&&2===e.type;)e=(t=t[Ht])[Wt];return t}function Wi(t,e,n,i,r){0===t?ji(e)?e.insertBefore(n,i,r):n.insertBefore(i,r,!0):1===t?ji(e)?e.removeChild(n,i):n.removeChild(i):2===t&&e.destroyNode(i)}function Gi(t,e){return ji(e)?e.createText(be(t)):e.createTextNode(be(t))}function qi(t,e,n){var i=Hi(t[Vt].node,t);i&&zi(t,e?0:1,t[Kt],i,n)}function Yi(t,e,n,i,r){var o=e[me];i>0&&(o[i-1][Ut]=t),i<o.length?(t[Ut]=o[i],o.splice(i,0,t)):(o.push(t),t[Ut]=null),r>-1&&(t[Xt]=r,t[Ht]=n),t[zt]&&t[zt].insertView(i),t[Ft]|=8}function $i(t,e,n){var i=t[me],r=i[e];e>0&&(i[e-1][Ut]=r[Ut]),i.splice(e,1),n||qi(r,!1),r[zt]&&r[zt].removeView(),r[Xt]=-1,r[Ht]=null,r[Ft]&=-9}function Ki(t,e,n){var i=t[me][n];$i(t,n,!!e.detached),Qi(i)}function Zi(t){var e=t[Vt].childIndex;return-1===e?null:t[e]}function Qi(t){var e=t[Kt];ji(e)&&e.destroyNode&&zi(t,2,e,null),function(t){if(-1===t[Vt].childIndex)return Ji(t);for(var e=Zi(t);e;){var n=null;if(e.length>=Nt?e[Vt].childIndex>-1&&(n=Zi(e)):e[me].length&&(n=e[me][0]),null==n){for(;e&&!e[Ut]&&e!==t;)Ji(e),e=Xi(e,t);Ji(e||t),n=e&&e[Ut]}e=n}}(t),t[Ft]|=32}function Xi(t,e){var n;return t.length>=Nt&&(n=t[Wt])&&2===n.type?Fi(n,t):t[Ht]===e?null:t[Ht]}function Ji(t){if(t.length>=Nt){var e=t;!function(t){var e=t[Vt].cleanup;if(null!=e){for(var n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(we(t[e[n+1]]).removeEventListener(e[n],t[qt][e[n+2]],e[n+3]),n+=2):"number"==typeof e[n]?(0,t[qt][e[n]])():e[n].call(t[qt][e[n+1]]);t[qt]=null}}(e),function(t){var e,n=t[Vt];null!=n&&null!=(e=n.destroyHooks)&&le(t,e)}(e),(i=(n=e)[Vt]&&n[Vt].pipeDestroyHooks)&&le(n,i),-1===e[Vt].id&&ji(e[Kt])&&e[Kt].destroy()}var n,i}function tr(t,e){if(er(t,e)){if(Ie(e))return ir(e[Kt],xe(t,e));var n=e[Wt],i=t.parent;return null!=i&&4===i.type&&(t=or(i)),null==t.parent&&2===n.type?Hi(n,e):Ni(t,e)}return null}function er(t,e){var n,i=t,r=t.parent;return t.parent&&(4===t.parent.type?r=(i=or(t)).parent:5===t.parent.type&&(r=(i=Vi(i)).parent)),null===r&&(r=e[Wt]),r&&2===r.type?null!=(n=Fi(r,e))&&null!=n[ve]:null==i.parent||!(3!==i.parent.type||4096&i.parent.flags)}function nr(t,e,n,i){ji(t)?t.insertBefore(e,n,i):e.insertBefore(n,i,!0)}function ir(t,e){return ji(t)?t.parentNode(e):e.parentNode}function rr(t,e,n){if(void 0===t&&(t=null),null!==t&&er(e,n)){var i=n[Kt],r=Ni(e,n),o=e.parent||n[Wt];if(2===o.type){var a=Fi(o,n),s=a[me],l=s.indexOf(n);nr(i,a[ve],t,ar(l,s,a[ge]))}else 4===o.type?nr(i,tr(e,n),t,r):5===o.type?nr(i,r,t,xe(e.parent,n)):ji(i)?i.appendChild(r,t):r.appendChild(t);return!0}return!1}function or(t){for(;null!=t.parent&&4===t.parent.type;)t=t.parent;return t}function ar(t,e,n){if(t+1<e.length){var i=e[t+1],r=i[Wt];return r.child?xe(r.child,i):n}return n}function sr(t,e,n){if(null!==e&&er(t,n)){var i=Ni(t,n),r=n[Kt];return ji(r)?r.removeChild(i,e):i.removeChild(e),!0}return!1}function lr(t,e,n,i){var r=xe(t,i);rr(r,e,n),Jn(r,i);var o=tr(e,n),a=i[t.index];if(0===t.type){a[ve]=o;for(var s=a[me],l=0;l<s.length;l++)qi(s[l],!0,a[ge])}else{if(4===t.type)for(var u=t.child;u;)lr(u,e,n,i),u=u.next;Pe(a)&&(a[ve]=o,rr(a[ge],e,n))}}function ur(t,e){for(var n,i,r,o,a,s=4,l=t.attrs,u=l?l.indexOf(1):-1,c=!1,d=0;d<e.length;d++){var p=e[d];if("number"!=typeof p){if(!c)if(4&s){if(s=2|1&s,""!==p&&p!==t.tagName){if(cr(s))return!1;c=!0}}else{var h=dr(8&s?"class":p,l);if(-1===h){if(cr(s))return!1;c=!0;continue}var f,m=8&s?p:e[++d];if(""!==m)if(f=u>-1&&h>u?"":l[h+1],8&s&&(r=(n=f).length,a=(o=n.indexOf(i=m))+i.length,-1===o||o>0&&" "!==n[o-1]||a<r&&" "!==n[a])||2&s&&m!==f){if(cr(s))return!1;c=!0}}}else{if(!c&&!cr(s)&&!cr(p))return!1;if(c&&cr(p))continue;c=!1,s=p|1&s}}return cr(s)||c}function cr(t){return 0==(1&t)}function dr(t,e){if(null===e)return-1;for(var n=!1,i=0;i<e.length;){var r=e[i];if(r===t)return i;0===r?i+=4:(1===r&&(n=!0),i+=n?1:2)}return-1}function pr(t,e){for(var n=0;n<e.length;n++)if(ur(t,e[n]))return!0;return!1}function hr(t,e,n){for(var i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(Di);if(0==(1&n))return e[n+1]}return null}(t),r=0;r<e.length;r++)if(i===n[r]||null===i&&pr(t,e[r]))return r+1;return 0}var fr={};function mr(t,e){return new gr(t,e)}var gr=function(){return function(t,e){this.fn=t,this.value=e}}(),vr=function(){function t(){this._players=[]}return t.prototype.flushPlayers=function(){for(var t=0;t<this._players.length;t++){var e=this._players[t];e.parent||0!==e.state||e.play()}this._players.length=0},t.prototype.queuePlayer=function(t){this._players.push(t)},t}();function yr(t,e,n){return[null,e||null,n||[null],0,0,t||null,null,null]}function br(t,e){for(var n=t+Nt,i=e[n],r=e;Array.isArray(i);)r=i,i=i[Bt];if("number"!=typeof(s=r)[Ft]&&"number"!=typeof s[fe])return r;var o,a,s,l=Ee(t,e).stylingTemplate;return r!==e&&(n=Bt),r[n]=l?(o=i,(a=l.slice())[5]=o,a):yr(i)}function _r(t,e,n,i,r,o){return o=o||n,r?t[r]=i:t.push(i),!!i&&(i.addEventListener(200,function(){var e=t.indexOf(i);e&&(e<t[0]?t[e]=null:t.splice(e,1)),i.destroy()}),(e.playerHandler||(e.playerHandler=new vr)).queuePlayer(i,o),!0)}function wr(t){return t[0]}function Cr(t){return t[0]=[5,null,null,null,null]}var xr=[],Er={};function Sr(t,e,n){var i=8+4*e,r=Yr(t,i),o=qr(t,i);if(io(o,r,n instanceof gr?n.value:n)){var a=2==(2&o),s=n instanceof gr?new ro(n,t[5],a?1:2):null,l=s?n.value:n,u=Br(t,i),c=!1;if(Hr(t,s,u)){var d=Ur(t,s,u);zr(t,i,s?d:0),c=!0}Fr(t,i,l);var p=jr(o),h=Yr(t,p);if(!h||io(o,h,l)){var f=!1,m=!0;!eo(l,a)&&eo(h,a)&&(f=!0,m=!1),Tr(t,p,f),Tr(t,i,m),Zr(t,!0)}c&&Qr(t,!0)}}function Or(t,e,n,i,r,o,a){n=r&&n?r(e,n):n,o||a?(o&&o.setValue(e,n),a&&a.setValue(e,n)):n?ji(i)?i.setStyle(t,e,n,Ai.DashCase):t.style.setProperty(e,n):ji(i)?i.removeStyle(t,e,Ai.DashCase):t.style.removeProperty(e)}function kr(t,e,n,i,r,o){r||o?(r&&r.setValue(e,n),o&&o.setValue(e,n)):n?ji(i)?i.addClass(t,e):t.classList.add(e):ji(i)?i.removeClass(t,e):t.classList.remove(e)}function Tr(t,e,n){var i=e>=8?e+0:e;n?t[i]|=1:t[i]&=-2}function Pr(t,e){return 1==(1&t[e>=8?e+0:e])}function Ir(t,e){return 2==(2&t[e>=8?e+0:e])}function Mr(t,e){return 4==(4&t[e>=8?e+0:e])}function Rr(t,e,n){return 31&t|e<<5|n<<19}function Dr(t,e){var n=Ar(e);return t[2][n]}function Ar(t){return t>>5&16383}function jr(t){var e=t>>19&16383;return e>=8?e:-1}function Lr(t){return jr(t[3])}function Nr(t){return t[1]}function Vr(t,e,n){t[e+1]=n}function Fr(t,e,n){t[e+2]=n}function Hr(t,e,n){var i=t[0];if(e){if(!i||0===n)return!0}else if(!i)return!1;return i[n]!==e}function Ur(t,e,n){var i=t[0]||Cr(t);return n>0?i[n]=e:(i.splice(n=i[0],0,e,null),i[0]+=2),n}function zr(t,e,n){t[e+3]=n}function Br(t,e){return t[e+3]||0}function Wr(t,e){var n=Br(t,e);if(n){var i=t[0];if(i)return i[n]}return null}function Gr(t,e,n){t[3===e?e:e+0]=n}function qr(t,e){return t[3===e?e:e+0]}function Yr(t,e){return t[e+2]}function $r(t,e){return t[e+1]}function Kr(t){return 16&t[3]}function Zr(t,e){Tr(t,3,e)}function Qr(t,e){e?t[3]|=8:t[3]&=-9}function Xr(t,e,n){for(var i=(n||0)+1;i<t.length;i+=4)if(t[i]==e)return i-1;return-1}function Jr(t,e,n){var i=Yr(t,e),r=$r(t,e),o=qr(t,e),a=Br(t,e),s=o,l=qr(t,n),u=jr(s);u>=0&&Gr(t,u,Rr(c=qr(t,u),Ar(c),n));var c,d=jr(l);d>=0&&Gr(t,d,Rr(c=qr(t,d),Ar(c),e)),Fr(t,e,Yr(t,n)),Vr(t,e,$r(t,n)),Gr(t,e,qr(t,n)),zr(t,e,Br(t,n)),Fr(t,n,i),Vr(t,n,r),Gr(t,n,o),zr(t,n,a)}function to(t,e,n,i,r,o,a){var s=e<t.length;t.splice(e,0,1|r|(n?2:0),i,o,a),s&&function(t,n){for(var i=e+4;i<t.length;i+=4){var r=jr(qr(t,i));if(r>0){var o=Ar(qr(t,r));Gr(t,r,Rr((Pr(t,r)?1:0)|(Ir(t,r)?2:0)|(Mr(t,r)?4:0),o,i))}}}(t)}function eo(t,e){return e?!!t:null!==t}function no(t,e,n){return e?2:n&&n(t)?4:0}function io(t,e,n){return!(2&t)&&e&&n&&4&t?e.toString()!==n.toString():e!==n}var ro=function(){function t(t,e,n){this._element=e,this._type=n,this._values={},this._dirty=!1,this._factory=t}return t.prototype.setValue=function(t,e){this._values[t]!==e&&(this._values[t]=e,this._dirty=!0)},t.prototype.buildPlayer=function(t,e){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,e,t||null);return this._values={},this._dirty=!1,n}},t}(),oo=Promise.resolve(null);function ao(t,e){var n=dn(),i=xn();if(n.firstTemplatePass=!1,En(!1),1!==e){var r=fn(),o=_n();o||ae(t,n,r),function(e){for(var n=Zi(t);null!==n;n=n[Ut])if(n.length<Nt&&-1===n[fe])for(var i=n,r=0;r<i[me].length;r++){var o=i[me][r];po(o,o[Vt],o[Yt],2)}}(),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-Nt,t.contentQueries[e+1])}}(n),o||se(t,n.contentHooks,n.contentCheckHooks,r),function(t,e){if(t.expandoInstructions){var n=e[Gt]=t.expandoStartIndex;kn(n);for(var i=-1,r=-1,o=0;o<t.expandoInstructions.length;o++){var a=t.expandoInstructions[o];if("number"==typeof a){if(a<=0){r=-a;var s=t.expandoInstructions[++o];i=n+=Dt+s}else n+=a;kn(n)}else e[Gt]=n,sn(dn().data[r+Nt]),a(i-Nt,r),i++}}}(n,t)}!function(t,e,n){if(null!=t)for(var i=0;i<t.length;i++)ca(t[i],e,n)}(n.components,i,e)}function so(t,e,n,i,r,o,a){var s=n.blueprint.slice();return s[Ft]=25|r,s[Ht]=s[te]=t,s[Yt]=i,s[$t]=void 0===a?t?t[$t]:null:a,s[Kt]=e,s[Zt]=o||null,s}function lo(t,e,n,i,r){var o=mn(),a=dn(),s=t+Nt;o[s]=n;var l=a.data[s];if(null==l){var u=an(),c=un();l=a.data[s]=Lo(o,e,s,i,r,null),u&&(!c||null!=u.child||null===l.parent&&2!==u.type?c||(u.next=l):u.child=l)}return null==a.firstChild&&3===e&&(a.firstChild=l),sn(l),cn(!0),l}function uo(t,e){null==e[Vt].node&&(e[Vt].node=Lo(e,2,t,null,null,null)),cn(!0);var n=e[Vt].node;return sn(n),e[Wt]=n}function co(t){var e=t[Vt];e.firstTemplatePass&&(e.expandoStartIndex++,e.blueprint.push(null),e.data.push(null),t.push(null))}function po(t,e,n,i){var r,o=un(),a=an();if(cn(!0),sn(null),64&t[Ft])ya(Re(t));else try{cn(!0),sn(null),r=Tn(t,t[Wt]),bo(),e.template(i,n),2&i?ao(t,null):(t[Vt].firstTemplatePass=!1,En(!1))}finally{In(r,1==(1&i)),cn(o),sn(a)}}function ho(t){return void 0===t&&(t=1),Pn(t)}function fo(t,e,n,i){var r=Xe(),o=Tn(t,t[Wt]);try{r.begin&&r.begin(),i&&(bo(),i(n||mo(t),e)),ao(t,n)}finally{r.end&&r.end(),In(o)}}function mo(t){return 1&t[Ft]?3:2}var go=null;function vo(){go="http://www.w3.org/2000/svg/"}function yo(){go="http://www.w3.org/1998/MathML/"}function bo(){go=null}function _o(t,e,n,i){xo(t,e,n,i),Do()}function wo(t,e,n){var i=mn(),r=dn(),o=Qe().createComment("");rr(o,lo(t,4,o,null,e||null),i),So(r,i,n)}function Co(){var t=an(),e=dn();un()?cn(!1):sn(t=t.parent);var n=pn();n&&hn(n.addNode(t)),ne(t.flags,e)}function xo(t,e,n,i){var r=mn(),o=dn(),a=Eo(e),s=lo(t,3,a,e,n||null);n&&To(a,n),rr(a,s,r),So(o,r,i),0===Ue&&Jn(a,r),Ue++}function Eo(t,e){var n=e||Qe();return ji(n)?n.createElement(t,go):null===go?n.createElement(t):n.createElementNS(go,t)}function So(t,e,n,i){if(void 0===i&&(i=xe),ze){var r=an();xn()&&function(t,e,n,i,r){var o=r?{"":-1}:null,a=0;if(n){Jo(i,t.data.length,n.length);for(var s=0;s<n.length;s++)(l=n[s]).providersResolver&&l.providersResolver(l);for(Yo(t,i,n.length),s=0;s<n.length;s++){var l,u=t.data.length;ta(t,e,l=n[s],l.factory),a+=l.hostVars,Xo(t.data.length-1,l,o),ee(u,l.onInit,l.doCheck,t)}}o&&function(t,e,n){if(e)for(var i=t.localNames=[],r=0;r<e.length;r+=2){var o=n[e[r+1]];if(null==o)throw new Error("Export of name '"+e[r+1]+"' not found!");i.push(e[r],o)}}(i,r,o),$o(t,e,a)}(t,e,function(t,e,n){var i=t.directiveRegistry,r=null;if(i)for(var o=0;o<i.length;o++){var a=i[o];pr(n,a.selectors)&&(r||(r=[]),Fn(jn(an(),e),e,a.type),Te(a)?(4096&n.flags&&Ri(n),n.flags=4096,r.unshift(a)):r.push(a))}return r}(t,e,r),r,n||null),function(t,e,n){var i=n.flags>>16,r=i+n.flags&4095;!xn()&&i<r&&jn(n,e);for(var o=i;o<r;o++){var a=t.data[o];Te(a)&&ea(e,n,a),Ko(e,Wn(t.data,e,o,n),a,o)}}(t,e,r),function(t,e,n){var i=e.localNames;if(i)for(var r=e.index+1,o=0;o<i.length;o+=2){var a=i[o+1],s=-1===a?n(e,t):t[a];t[r++]=s}}(e,r,i)}}function Oo(t,e,n,i,r,o){return t.ngPrivateData||(t.ngPrivateData=ko(-1,t,e,n,i,r,o))}function ko(t,e,n,i,r,o,a){var s=Nt+n,l=s+i,u=function(t,e){var n=new Array(e).fill(null,0,t).fill(fr,t);return n[Xt]=-1,n[Gt]=t,n}(s,l);return u[Vt]={id:t,blueprint:u,template:e,viewQuery:a,node:null,data:u.slice(),childIndex:-1,bindingStartIndex:s,expandoStartIndex:l,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null}}function To(t,e){for(var n=Qe(),i=ji(n),r=0;r<e.length;){var o=e[r];if(1===o)break;if(o===Di)r+=2;else if(0===o){var a=e[r+1],s=e[r+2],l=e[r+3];i?n.setAttribute(t,s,l,a):t.setAttributeNS(a,s,l),r+=4}else l=e[r+1],i?n.setAttribute(t,o,l):t.setAttribute(o,l),r+=2}}function Po(t,e){!function(t){He=t}(t);var n=t.createRenderer(null,null);return"string"==typeof e?ji(n)?n.selectRootElement(e):n.querySelector(e):e}function Io(t,e,n){void 0===n&&(n=!1);var i=mn(),r=an();if(3===r.type){var o=xe(r,i),a=Qe();if(ji(a))Ro(i,a.listen(o,t,e));else{var s=function(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}(e);o.addEventListener(t,s,n);var l=vn(i);l.push(s),xn()&&yn(i).push(t,r.index,l.length-1,n)}}void 0===r.outputs&&(r.outputs=Vo(r.flags,1));var u,c=r.outputs;c&&(u=c[t])&&function(t,e,n){for(var i=0;i<e.length;i+=2){var r=t[e[i]][e[i+1]].subscribe(n);Mo(t,r,r.unsubscribe)}}(i,u,e)}function Mo(t,e,n){t||(t=mn()),vn(t).push(e),t[Vt].firstTemplatePass&&yn(t).push(n,t[qt].length-1)}function Ro(t,e){vn(t).push(e),t[Vt].firstTemplatePass&&yn(t).push(t[qt].length-1,null)}function Do(){var t=an();un()?cn(!1):sn(t=t.parent);var e=pn();e&&hn(e.addNode(t)),ne(t.flags,dn()),Ue--}function Ao(t,e,n,i){if(n!==fr){var r=mn(),o=Qe(),a=Ce(t,r);if(null==n)ji(o)?o.removeAttribute(a,e):a.removeAttribute(e);else{var s=null==i?be(n):i(n);ji(o)?o.setAttribute(a,e,s):a.setAttribute(e,s)}}}function jo(t,e,n,i){if(n!==fr){var r,o=mn(),a=Ce(t,o),s=Ee(t,o),l=Ya(s);if(l&&(r=l[e]))No(o,r,n),ke(s)&&function(e,n){var i=Se(t+Nt,e);2&i[Ft]||(i[Ft]|=4)}(o);else if(3===s.type){var u=Qe();n=null!=i?i(n):n,ji(u)?u.setProperty(a,e,n):a.setProperty?a.setProperty(e,n):a[e]=n}}}function Lo(t,e,n,i,r,o){var a=an(),s=un()?a:a&&a.parent,l=s&&t&&s!==t[Wt]?s:null;return{type:e,index:n,injectorIndex:l?l.injectorIndex:-1,flags:0,providerIndexes:0,tagName:i,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:o,next:null,child:null,parent:l,detached:null,stylingTemplate:null,projection:null}}function No(t,e,n){for(var i=0;i<e.length;i+=2)t[e[i]][e[i+1]]=n}function Vo(t,e){var n=dn(),i=4095&t,r=null;if(i>0)for(var o=t>>16,a=o+i,s=0===e,l=n.data,u=o;u<a;u++){var c=l[u],d=s?c.inputs:c.outputs;for(var p in d)if(d.hasOwnProperty(p)){var h=d[p];(r=r||{}).hasOwnProperty(p)?r[p].push(u,h):r[p]=[u,h]}}return r}function Fo(t,e,n,i){if(null!=i)return function(t,e,n,i){var r=Ce(t,mn()),o=r.hostStylingHack[i].classDeclarations[e],a=Qe();if(ji(a))n?a.addClass(r,o):a.removeClass(r,o);else{var s=r.classList;n?s.add(o):s.remove(o)}}(t,e,n,i);var r,o=n instanceof gr?n:!!n;Sr(r=br(t,mn()),e+r[4],o)}function Ho(t,e,n,i){if(void 0===i){var r=an(),o=Ya(r);if(!r.stylingTemplate){var a=!(!o||!o.hasOwnProperty("class"));a&&(r.flags|=32768),r.stylingTemplate=function(t,e,n,i){var r=[null],o=yr(null,n,r),a={},s={},l=0;if(e)for(var u=!1,c=0;c<e.length;c++)if(1===(f=e[c]))u=!0;else{var d=f;if(u){var p=e[++c];r.push(p),a[d]=r.length-1}else l++,a[d]=0}o[4]=l;var h=i?[]:null;if(t)for(u=!1,c=0;c<t.length;c++){var f;if(1===(f=t[c]))u=!0;else{var m=f;u?(p=t[++c],r.push(p),s[m]=r.length-1,h&&h.push(m)):s[m]=0}}var g=Object.keys(a),v=Object.keys(s),y=g.length,b=g.length+v.length,_=4*b*2+8;for(c=8;c<_;c++)o.push(null);var w=4*b+8;for(c=0;c<b;c++){var C=c>=y,x=(d=C?v[c-y]:g[c],C?s[d]:a[d]),E=r[x],S=4*c+w,O=4*c+8,k=no(d,C,n||null);Gr(o,O,Rr(k,x,S)),Vr(o,O,d),Fr(o,O,null),zr(o,O,0),Gr(o,S,Rr(k|(null!==E?1:0),x,O)),Vr(o,S,d),Fr(o,S,null),zr(o,S,0)}return Gr(o,3,Rr(0,0,w)|(i?16:0)),Zr(o,r.length>1),h&&(o[6]=h.join(" ")),o}(t,e,n,a)}if(e&&e.length||t&&t.length){var s=r.index-Nt;if($a(r)){var l=br(s,mn())[6];No(mn(),r.inputs.class,l)}Uo(s)}}else fn()&&function(t,e,n,i){var r=xe(an(),mn());(r.hostStylingHack||(r.hostStylingHack={}))[i]={classDeclarations:Wo(t),styleDeclarations:Wo(e),styleSanitizer:n}}(t||null,e||null,n||null,i)}function Uo(t,e){if(null==e){var n=mn(),i=0!=(1&n[Ft]);(function(t,e,n,i,r,o){var a=0;if(function(t){return Pr(t,3)}(t)){for(var s=8&t[3],l=t[5],u=Lr(t),c=Nr(t),d=Kr(t),p=8;p<t.length;p+=4)if(Pr(t,p)){var h=$r(t,p),f=Yr(t,p),m=qr(t,p),g=Wr(t,p),v=!!(2&m),y=!v||!d,b=f;p<u&&!eo(b,v)&&(b=Yr(t,jr(m))),!eo(b,v)&&y&&(b=Dr(t,m)),(!i||b)&&(v?kr(l,h,!!b,e,void 0,g):Or(l,h,b,e,4&m?c:null,void 0,g)),Tr(t,p,!1)}if(s){var _=Array.isArray(n)?Re(n):n,w=wr(t),C=w[0];for(p=1;p<C;p+=2){var x=w[p],E=p+1,S=w[E];if(x){var O=x.buildPlayer(S,i);void 0!==O&&(null!=O&&_r(w,_,l,O,E)&&a++,S&&S.destroy())}else S&&S.destroy()}Qr(t,!1)}Zr(t,!1)}return a})(br(t,n),Qe(),n,i)>0&&va(Re(n),2)}}function zo(t,e,n,i,r){if(null!=r)return function(t,e,n,i,r){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var o=null;n&&(o=i?be(n)+i:n),Sr(br(t,mn()),e,o)}function Bo(t,e,n,i){if(null!=i)return function(t,e,n,i){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var r=mn(),o=Ee(t,r),a=br(t,r);if($a(o)&&e!==fr){var s=a[6],l=(s.length?s+" ":"")+e;No(mn(),o.inputs.class,l)}!function(t,e,n){n=n||null;var i=t[5],r=e instanceof gr?new ro(e,i,1):null,o=n instanceof gr?new ro(n,i,2):null,a=r?e.value:e,s=o?n.value:n,l=Kr(t)||a===fr||a===t[6],u=s===fr||s===t[7];if(!l||!u){t[6]=a,t[7]=s;var c=xr,d=!1,p=!1,h=r?1:0;Hr(t,r,1)&&(Ur(t,r,1),p=!0);var f=o?3:0;Hr(t,o,3)&&(Ur(t,o,3),p=!0),l||("string"==typeof a?(c=a.split(/\s+/),d=!0):c=a?Object.keys(a):xr);for(var m=a||Er,g=s?Object.keys(s):xr,v=s||Er,y=g.length,b=!1,_=Lr(t),w=0,C=g.length+c.length;_<t.length&&w<C;){var x=w>=y;if(!x&&!u||x&&!l){var E=x?w-y:w,S=x?c[E]:g[E],O=x?!!d||m[S]:v[S],k=x?h:f;if((N=$r(t,_))===S){var T=Yr(t,_),P=qr(t,_);zr(t,_,k),io(P,T,O)&&(Fr(t,_,O),p=p||!!k,io(P,D=Dr(t,P),O)&&(Tr(t,_,!0),b=!0))}else{var I=Xr(t,S,_);if(I>0){var M=Yr(t,I),R=qr(t,I);if(Jr(t,_,I),io(R,M,O)){var D=Dr(t,R);Fr(t,_,O),io(R,D,O)&&(Tr(t,_,!0),p=p||!!k,b=!0)}}else p=p||!!k,to(t,_,x,S,no(S,x,Nr(t)),O,k),b=!0}}_+=4,w++}for(;_<t.length;){var A=2==(2&(P=qr(t,_)));(!A&&!u||A&&!l)&&eo(T=Yr(t,_),A)&&(Tr(t,_,!0),Fr(t,_,null),zr(t,_,k=A?h:f),b=!0),_+=4}for(var j=Nr(t);w<C;){var L=w>=y;if(!L&&!u||L&&!l){E=L?w-y:w;var N=L?c[E]:g[E];T=L?!!d||m[N]:v[N],P=1|no(N,L,j),t.push(P,N,T,k=L?h:f),b=!0}w++}b&&Zr(t,!0),p&&Qr(t,!0)}}(a,e,n)}function Wo(t){return t||[]}function Go(t,e){var n=mn(),i=Gi(e,Qe()),r=lo(t,3,i,null,null);cn(!1),rr(i,r,n)}function qo(t,e){if(e!==fr){var n=Ce(t,mn()),i=Qe();ji(i)?i.setValue(n,be(e)):n.textContent=be(e)}}function Yo(t,e,n){var i=-(e.index-Nt),r=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(i,r,n)}function $o(t,e,n){for(var i=0;i<n;i++)e.push(fr),t.blueprint.push(fr),t.data.push(null)}function Ko(t,e,n,i){var r=an();Zo(t,r,e,n),r&&r.attrs&&function(t,e,i,o){var a=r.initialInputs;(void 0===a||t>=a.length)&&(a=function(t,e,n){var i=n.initialInputs||(n.initialInputs=[]);i[t]=null;for(var r=n.attrs,o=0;o<r.length;){var a=r[o];if(1===a)break;if(0!==a){var s=e[a],l=r[o+1];void 0!==s&&(i[t]||(i[t]=[])).push(s,l),o+=2}else o+=4}return i}(t,n.inputs,r));var s=a[t];if(s)for(var l=0;l<s.length;l+=2)e[s[l]]=s[l+1]}(i,e),n.contentQueries&&n.contentQueries(i),Te(n)&&(Se(r.index,t)[Yt]=e)}function Zo(t,e,n,i){var r=xe(e,t);Jn(n,t),r&&Jn(r,t),null!=i.attributes&&3==e.type&&To(r,i.attributes)}function Qo(t){var e=dn();(e.components||(e.components=[])).push(t.index)}function Xo(t,e,n){n&&(e.exportAs&&(n[e.exportAs]=t),e.template&&(n[""]=t))}function Jo(t,e,n){t.flags=e<<16|4096&t.flags|n,t.providerIndexes=e}function ta(t,e,n,i){t.data.push(n);var r=new jt(i,Te(n),null);t.blueprint.push(r),e.push(r),function(t,e){t.expandoInstructions.push(e.hostBindings||ai),e.hostVars&&t.expandoInstructions.push(e.hostVars)}(t,n)}function ea(t,e,n){var i=xe(e,t),r=Oo(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),o=ma(t,e.index,so(mn(),Xe().createRenderer(i,n),r,null,n.onPush?4:2,Je()));o[Wt]=e,o[Bt]=t[e.index],t[e.index]=o,xn()&&Qo(e)}function na(t,e,n,i,r){return[r?-1:0,[],n,null,null,t,i,tr(e,n)]}function ia(t,e,n,i,r,o,a,s){var l=mn(),u=dn(),c=oa(t,r||null,o||null);xn()&&(c.tViews=ko(-1,e,n,i,u.directiveRegistry,u.pipeRegistry,null)),So(u,l,a,s);var d=pn(),p=an();d&&hn(d.addNode(p)),ne(c.flags,u),cn(!1)}function ra(t){var e=oa(t,null,null);xn()&&(e.tViews=[]),cn(!1)}function oa(t,e,n){var i=mn(),r=t+Nt,o=Qe().createComment(""),a=lo(t,0,o,e,n),s=i[r]=na(i[r],a,i,o);rr(o,a,i),ma(i,t+Nt,s);var l=pn();return l&&(s[zt]=l.container()),a}function aa(t){var e=mn(),n=dn();sn(_e(t,n.data)),cn(!0),e[t+Nt][fe]=0,_n()||ae(e,n,fn())}function sa(){var t=an();un()?cn(!1):sn(t=t.parent);for(var e=mn()[t.index],n=e[fe];n<e[me].length;)Ki(e,t,n)}function la(t,e,n){var i=mn(),r=an(),o=2===r.type?r.parent:r,a=i[o.index],s=function(t,e,n,i){for(var r=t[me],o=n;o<r.length;o++){var a=r[o][Vt].id;if(a===i)return r[o];if(!(a<i))break;Ki(t,e,o)}return null}(a,o,a[fe],t);return s?(cn(!0),Tn(s,s[Vt].node)):(s=so(mn(),Qe(),function(t,e,n,i){var r=dn(),o=i.tViews;return(t>=o.length||null==o[t])&&(o[t]=ko(t,null,e,n,r.directiveRegistry,r.pipeRegistry,null)),o[t]}(t,e,n,o),null,2,Je()),a[zt]&&(s[zt]=a[zt].createView()),uo(t,s),Tn(s,s[Vt].node)),a&&(fn()&&Yi(s,a,i,a[fe],-1),a[fe]++),mo(s)}function ua(){var t=mn(),e=t[Wt];ao(t,null),In(t[Ht]),sn(e),cn(!1)}function ca(t,e,n){var i=Se(t,mn());da(i)&&6&i[Ft]&&(e&&function(t){for(var e=t[Vt],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(i),wa(i,i[Yt],n))}function da(t){return 8==(8&t[Ft])}function pa(t,e){var n=Bi(mn())[Wt];if(!n.projection)for(var i=n.projection=new Array(t?t.length+1:1).fill(null),r=i.slice(),o=n.child;null!==o;){var a=t?hr(o,t,e):0,s=o.next;r[a]?r[a].next=o:(i[a]=o,o.next=null),r[a]=o,o=s}}var ha=[];function fa(t,e,n){void 0===e&&(e=0);var i=mn(),r=lo(t,1,null,null,n||null);null===r.projection&&(r.projection=e),cn(!1);for(var o=Bi(i),a=o[Wt].projection[e],s=o[Ht],l=-1;a;){if(1===a.type){var u=Bi(s),c=u[Wt].projection[a.projection];if(c){ha[++l]=a,ha[++l]=s,a=c,s=u[Ht];continue}}else a.flags|=8192,lr(a,r,i,s);null===a.next&&s!==o[Ht]&&(s=ha[l--],a=ha[l--]),a=a.next}}function ma(t,e,n){var i=dn(),r=xn();return t[Qt]?t[Qt][Ut]=n:r&&(i.childIndex=e),t[Qt]=n,n}function ga(t){for(var e=t;e&&!(64&e[Ft]);)e[Ft]|=4,e=e[Ht];e[Ft]|=4,va(e[Yt],1)}function va(t,e){var n,i=0===t.flags;t.flags|=e,i&&t.clean==oo&&(t.clean=new Promise(function(t){return n=t}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,ya(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=oo,n(null)}))}function ya(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];fo(Ae(n),n,2)}}function ba(t){wa(Xn(t),t,null)}function _a(t){ya(t[Yt])}function wa(t,e,n){var i=t[Vt],r=Tn(t,t[Wt]),o=i.template,a=i.viewQuery;try{bo(),function(e,i,r,o){e&&(1===n||null===n&&1&t[Ft])&&e(1,o)}(a,0,0,e),o(n||mo(t),e),ao(t,n),function(e,n,i){e&&2&t[Ft]&&e(2,i)}(a,0,e)}finally{In(r,1===n)}}function Ca(t){ga(Xn(t))}function xa(t){return Va(mn()[Gt]++,t)?t:fr}function Ea(t){for(var e=!1,n=1;n<t.length;n+=2)Va(mn()[Gt]++,t[n])&&(e=!0);if(!e)return fr;var i=t[0];for(n=1;n<t.length;n+=2)i+=be(t[n])+t[n+1];return i}function Sa(t,e,n){return Va(mn()[Gt]++,e)?t+be(e)+n:fr}function Oa(t,e,n,i,r){var o=mn(),a=Ha(o[Gt],e,i);return o[Gt]+=2,a?t+be(e)+n+be(i)+r:fr}function ka(t,e,n,i,r,o,a){var s=mn(),l=Ua(s[Gt],e,i,o);return s[Gt]+=3,l?t+be(e)+n+be(i)+r+be(o)+a:fr}function Ta(t,e,n,i,r,o,a,s,l){var u=mn(),c=za(u[Gt],e,i,o,s);return u[Gt]+=4,c?t+be(e)+n+be(i)+r+be(o)+a+be(s)+l:fr}function Pa(t,e,n,i,r,o,a,s,l,u,c){var d=mn(),p=za(d[Gt],e,i,o,s);return p=Va(d[Gt]+4,u)||p,d[Gt]+=5,p?t+be(e)+n+be(i)+r+be(o)+a+be(s)+l+be(u)+c:fr}function Ia(t,e,n,i,r,o,a,s,l,u,c,d,p){var h=mn(),f=za(h[Gt],e,i,o,s);return f=Ha(h[Gt]+4,u,d)||f,h[Gt]+=6,f?t+be(e)+n+be(i)+r+be(o)+a+be(s)+l+be(u)+c+be(d)+p:fr}function Ma(t,e,n,i,r,o,a,s,l,u,c,d,p,h,f){var m=mn(),g=za(m[Gt],e,i,o,s);return g=Ua(m[Gt]+4,u,d,h)||g,m[Gt]+=7,g?t+be(e)+n+be(i)+r+be(o)+a+be(s)+l+be(u)+c+be(d)+p+be(h)+f:fr}function Ra(t,e,n,i,r,o,a,s,l,u,c,d,p,h,f,m,g){var v=mn(),y=za(v[Gt],e,i,o,s);return y=za(v[Gt]+4,u,d,h,m)||y,v[Gt]+=8,y?t+be(e)+n+be(i)+r+be(o)+a+be(s)+l+be(u)+c+be(d)+p+be(h)+f+be(m)+g:fr}function Da(t,e){var n=dn(),i=t+Nt;i>=n.data.length&&(n.data[i]=null),mn()[i]=e}function Aa(t){return _e(t,gn)}function ja(t){return mn()[Jt][t]}function La(t){return _e(t,mn())}function Na(t){return mn()[t]}function Va(t,e){var n,i,r=mn(),o=_n();if(r[t]===fr)r[t]=e;else{if(i=e,(n=r[t])!=n&&i!=i||n===i)return!1;!function(n,i,o,a){if(i){var s="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+r[t]+"'. Current value: '"+e+"'.";throw n&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(s)}}(fn(),o),r[t]=e}return!0}function Fa(t,e){return mn()[t]=e}function Ha(t,e,n){var i=Va(t,e);return Va(t+1,n)||i}function Ua(t,e,n,i){var r=Ha(t,e,n);return Va(t+2,i)||r}function za(t,e,n,i,r){var o=Ha(t,e,n);return Ha(t+2,i,r)||o}function Ba(t,e){return void 0===e&&(e=xt.Default),t=ui(t),Un(an(),mn(),t,e)}function Wa(t){return Hn(an(),t)}function Ga(t,e){var n=mn(),i=dn(),r=(n[Jt]||(n[Jt]=[])).push(t);if(xn()){var o=i.contentQueries||(i.contentQueries=[]);e!==(i.contentQueries.length?i.contentQueries[i.contentQueries.length-2]:-1)&&o.push(e,r-1)}}var qa=oo;function Ya(t){return t?(void 0===t.inputs&&(t.inputs=Vo(t.flags,0)),t.inputs):null}function $a(t){return 32768&t.flags}var Ka,Za,Qa,Xa=function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=t}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return null==this._view[Bt]?function t(e,n,i){for(var r=n.child;r;)i.push(xe(r,e)),4===r.type&&t(e,r,i),r=r.next;return i}(this._view,this._view[Wt],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[Ft])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewContainerRef&&da(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Qi(this._view)},t.prototype.onDestroy=function(t){Ro(this._view,t)},t.prototype.markForCheck=function(){ga(this._view)},t.prototype.detach=function(){this._view[Ft]&=-9},t.prototype.reattach=function(){this._view[Ft]|=8},t.prototype.detectChanges=function(){var t=Xe();t.begin&&t.begin(),ba(this.context),t.end&&t.end()},t.prototype.checkNoChanges=function(){!function(t){wn(!0);try{ba(t)}finally{wn(!1)}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._view[Ht][this._componentIndex]},t}(),Ja=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return Object(i.d)(e,t),e.prototype.detectChanges=function(){_a(this._view)},e.prototype.checkNoChanges=function(){!function(t){wn(!0);try{_a(t)}finally{wn(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Xa);function ts(t,e,n){return Ka||(Ka=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e}(t)),new Ka(xe(e,n))}function es(t,e,n,r){if(Za||(Za=function(t){function e(e,n,i,r,o,a){var s=t.call(this)||this;return s._declarationParentView=e,s.elementRef=n,s._tView=i,s._renderer=r,s._queries=o,s._injectorIndex=a,s}return Object(i.d)(e,t),e.prototype.createEmbeddedView=function(t,e,n,i,r){var o=function(t,e,n,i,r,o){var a=un(),s=an();cn(!0),sn(null);var l=so(n,i,t,e,2,Je());return l[te]=n,r&&(l[zt]=r.createView()),uo(-1,l),t.firstTemplatePass&&(t.node.injectorIndex=o),cn(a),sn(s),l}(this._tView,t,this._declarationParentView,this._renderer,this._queries,this._injectorIndex);e&&Yi(o,e,i,r,n.index),po(o,this._tView,t,1);var a=new Xa(o,t,-1);return a._tViewNode=o[Wt],a},e}(t)),0===n.type){var o=r[n.index];return new Za(r,ts(e,n,r),n.tViews,Qe(),o[zt],n.injectorIndex)}return null}var ns=function(){function t(t,e){this._tNode=t,this._hostView=e}return t.prototype.get=function(t,e){return Un(this._tNode,this._hostView,t,xt.Default,e)},t}();function is(t,e,n){if(ke(t)){var i=t.flags>>16,r=Se(t.index,e);return new Xa(r,n,i)}if(3===t.type){var o=Bi(e);return new Xa(o,o[Yt],-1)}return null}function rs(t){if(!(t instanceof Node))throw new Error("Expecting instance of DOM Node");var e,n,i,r=cs(t);return void 0===r.component&&(r.component=(i=ri(n=(e=r.lViewData)[Vt].data[r.nodeIndex]),4096&n.flags?e[i]:null)),r.component}function os(t){for(var e=cs(t).lViewData;e[Ht]&&null===e[Bt];)e=e[Ht];return 64&e[Ft]?null:e[Yt]}function as(t){return function(t){var e;for(e=Array.isArray(t)?t:Ae(t);e&&!(64&e[Ft]);)e=e[Ht];return e}(Array.isArray(t)?t:cs(t).lViewData)[Yt]}function ss(t){return Object(i.i)(as(t).components)}function ls(t){var e=cs(t);return new ns(e.lViewData[Vt].data[e.nodeIndex],e.lViewData)}function us(t){var e=cs(t);return void 0===e.directives&&(e.directives=ii(e.nodeIndex,e.lViewData,!1)),e.directives||[]}function cs(t){var e=Zn(t);if(!e)throw new Error("Invalid ng target");return e}function ds(t){return Zn(t).native}function ps(t,e){var n=Zn(t);if(n){var i=n.native,r=n.lViewData,o=function(t,e){if(!(e=e||Zn(i)))return null;var n=br(e.nodeIndex-Nt,e.lViewData);return wr(n)||Cr(n)}(0,n),a=as(r);_r(o,a,i,e,0,t),va(a,2)}}function hs(t){var e=Zn(t);if(!e)return[];var n=br(e.nodeIndex-Nt,e.lViewData),i=n?wr(n):null;return i?function(t){for(var e=[],n=t[0],i=2;i<n;i+=2){var r=t[i];r&&e.push(r)}for(i=n;i<t.length;i++)e.push(t[i]);return e}(i):[]}var fs="ng",ms=!1;function gs(){ms||(ms=!0,vs("getComponent",rs),vs("getViewComponent",os),vs("getHostElement",ds),vs("getInjector",ls),vs("getRootComponents",ss),vs("getDirectives",us),vs("getPlayers",hs),vs("markDirty",Ca))}function vs(t,e){if($){var n=$[fs];n||(n=$[fs]={}),n[t]=e}}function ys(t,e){void 0===e&&(e={});var n=e.rendererFactory||Li,i=e.sanitizer||null,r=pt(t);r.type!=t&&(r.type=t);var o,a=Po(n,e.host||r.selectors[0][0]),s=r.onPush?68:66,l=ws(e.scheduler,e.playerHandler),u=n.createRenderer(a,r),c=so(null,u,ko(-1,null,1,0,null,null,null),l,s,void 0,e.injector||null),d=Tn(c,null);try{n.begin&&n.begin(),o=_s(bs(a,r,c,u,i),r,c,l,e.hostFeatures||null),ao(c,null)}finally{In(d),n.end&&n.end()}return o}function bs(t,e,n,i,r){We=!1,Be=null,Ue=0,ze=!0;var o=n[Vt],a=so(n,i,Oo(e.template,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery),null,e.onPush?4:2,r),s=lo(0,3,t,null,null);return o.firstTemplatePass&&(Fn(jn(s,n),n,e.type),s.flags=4096,Jo(s,n.length,1),Qo(s)),a[Bt]=n[Nt],a[Wt]=s,n[Nt]=a}function _s(t,e,n,i,r){var o=n[Vt],a=function(t,e,n){var i=an();t.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),Yo(t,i,1),ta(t,e,n,n.factory));var r=Wn(t.data,e,e.length-1,i);return Zo(e,i,r,n),r}(o,n,e);return i.components.push(a),t[Yt]=a,r&&r.forEach(function(t){return t(a,e)}),o.firstTemplatePass&&$o(o,n,e.hostVars),a}function ws(t,e){return{components:[],scheduler:t||Ke,clean:qa,playerHandler:e||null,flags:0}}function Cs(t,e){var n=Ae(t)[Vt],i=n.data.length-1;ee(i,e.onInit,e.doCheck,n),ne(i<<16|1,n)}function xs(t){return function(t){return Me(t)[Yt]}(t).clean}function Es(t){return"function"==typeof t.template}function Ss(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=function(){var n,r,o=void 0;if(Es(t))o=e.ngComponentDef||e.ngDirectiveDef;else{if(e.ngComponentDef)throw new Error("Directives cannot inherit Components");o=e.ngDirectiveDef}var a=e.ngBaseDef;if(a||o){var s=t;s.inputs=Os(t.inputs),s.declaredInputs=Os(t.declaredInputs),s.outputs=Os(t.outputs)}if(a&&(c(t.inputs,a.inputs),c(t.declaredInputs,a.declaredInputs),c(t.outputs,a.outputs)),o){var l=t.hostBindings,u=o.hostBindings;if(u&&(l?(t.hostBindings=function(t,e){u(t,e),l(t,e)},t.hostVars+=o.hostVars):t.hostBindings=u),Es(t)&&Es(o)){var d=t.viewQuery,p=o.viewQuery;p&&(t.viewQuery=d?function(t,e){p(t,e),d(t,e)}:p)}var h=t.contentQueries,f=o.contentQueries;f&&(t.contentQueries=h?function(t){f(t),h(t)}:f);var m=t.contentQueriesRefresh,g=o.contentQueriesRefresh;g&&(t.contentQueriesRefresh=m?function(t,e){g(t,e),m(t,e)}:g),c(t.inputs,o.inputs),c(t.declaredInputs,o.declaredInputs),c(t.outputs,o.outputs),t.afterContentChecked=t.afterContentChecked||o.afterContentChecked,t.afterContentInit=t.afterContentInit||o.afterContentInit,t.afterViewChecked=t.afterViewChecked||o.afterViewChecked,t.afterViewInit=t.afterViewInit||o.afterViewInit,t.doCheck=t.doCheck||o.doCheck,t.onDestroy=t.onDestroy||o.onDestroy,t.onInit=t.onInit||o.onInit;var v=o.features;if(v)try{for(var y=Object(i.j)(v),b=y.next();!b.done;b=y.next()){var _=b.value;_&&_.ngInherit&&_(t)}}catch(C){n={error:C}}finally{try{b&&!b.done&&(r=y.return)&&r.call(y)}finally{if(n)throw n.error}}return"break"}var w=e.prototype;w&&(t.afterContentChecked=t.afterContentChecked||w.afterContentChecked,t.afterContentInit=t.afterContentInit||w.afterContentInit,t.afterViewChecked=t.afterViewChecked||w.afterViewChecked,t.afterViewInit=t.afterViewInit||w.afterViewInit,t.doCheck=t.doCheck||w.doCheck,t.onDestroy=t.onDestroy||w.onDestroy,t.onInit=t.onInit||w.onInit),e=Object.getPrototypeOf(e)};e&&"break"!==n(););}function Os(t){return t===et?{}:t===nt?[]:t}var ks="__ngOnChanges_";function Ts(t){var e=t.declaredInputs,n=t.type.prototype,i=function(t){if(e.hasOwnProperty(t)){for(var i=e[t],r=ks+i,o=void 0,a=n;!o&&a&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(Object.prototype);)o=Object.getOwnPropertyDescriptor(a,i),a=Object.getPrototypeOf(a);var s=o&&o.set;Object.defineProperty(n,i,{get:o&&o.get||(s?void 0:function(){return this[r]}),set:function(e){var n=this[ks];n||(n={},Object.defineProperty(this,ks,{value:n,writable:!0}));var i=!this.hasOwnProperty(r),o=n[t];o?o.currentValue=e:n[t]=new de(this[r],e,i),i?Object.defineProperty(this,r,{value:e,writable:!0}):this[r]=e,s&&s.call(this,e)},configurable:!1})}};for(var r in e)i(r);null!=t.onInit&&(t.onInit=Ps(t.onInit)),t.doCheck=Ps(t.doCheck)}function Ps(t){return function(){var e=this[ks];null!=e&&(this.ngOnChanges(e),this[ks]=null),t&&t.apply(this)}}Ts.ngInherit=!0;var Is=new x("The presence of this token marks an injector as being the root injector."),Ms={},Rs={},Ds=[],As=void 0;function js(){return void 0===As&&(As=new fi),As}function Ls(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||js(),new Ns(t,n,e)}var Ns=function(){function t(t,e,n){var i=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var r=[];Us([t],function(t){return i.processInjectorType(t,[],r)}),e&&Us(e,function(t){return i.processProvider(t)}),this.records.set(hi,Hs(void 0,this)),this.isRootInjector=this.records.has(Is),this.injectorDefTypes.forEach(function(t){return i.get(t)})}return t.prototype.destroy=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()}},t.prototype.get=function(t,e,n){void 0===e&&(e=pi),void 0===n&&(n=xt.Default),this.assertNotDestroyed();var i,r=St(this);try{if(!(n&xt.SkipSelf)){var o=this.records.get(t);if(void 0===o){var a=("function"==typeof(i=t)||"object"==typeof i&&i instanceof x)&&w(t);a&&this.injectableDefInScope(a)&&(o=Hs(Vs(t),Ms),this.records.set(t,o))}if(void 0!==o)return this.hydrate(t,o)}return(n&xt.Self?js():this.parent).get(t,e)}finally{St(r)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var i=this;if(t=ui(t)){var r=C(t),o=null==r&&t.ngModule||void 0,a=void 0===o?t:o;if(-1===n.indexOf(a)){var s=void 0!==o&&t.providers||Ds;if(void 0!==o&&(r=C(o)),null!=r){if(this.injectorDefTypes.add(a),this.records.set(a,Hs(r.factory)),null!=r.imports){n.push(a);try{Us(r.imports,function(t){return i.processInjectorType(t,e,n)})}finally{}}null!=r.providers&&Us(r.providers,function(t){return i.processProvider(t)}),Us(s,function(t){return i.processProvider(t)})}}}},t.prototype.processProvider=function(t){var e=Bs(t=ui(t))?t:ui(t.provide),n=function(t){var e=Fs(t);return zs(t)?Hs(void 0,t.useValue):Hs(e,Ms)}(t);if(Bs(t)||!0!==t.multi){var i=this.records.get(e);if(i&&void 0!==i.multi)throw new Error("Mixed multi-provider for "+tt(e))}else{var r=this.records.get(e);if(r){if(void 0===r.multi)throw new Error("Mixed multi-provider for "+e+".")}else(r=Hs(void 0,Ms,!0)).factory=function(){return It(r.multi)},this.records.set(e,r);e=t,r.multi.push(t)}this.records.set(e,n)},t.prototype.hydrate=function(t,e){if(e.value===Rs)throw new Error("Circular dep for "+tt(t));var n;return e.value===Ms&&(e.value=Rs,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Vs(t){var e=w(t);if(null===e){if(t instanceof x)throw new Error("Token "+tt(t)+" is missing an ngInjectableDef definition.");return function(){return new t}}return e.factory}function Fs(t){var e=void 0;if(Bs(t))return Vs(ui(t));if(zs(t))e=function(){return ui(t.useValue)};else if(t.useExisting)e=function(){return Tt(ui(t.useExisting))};else if(t.useFactory)e=function(){return t.useFactory.apply(t,Object(i.i)(It(t.deps||[])))};else{var n=ui(t.useClass||t.provide);if(!t.deps)return Vs(n);e=function(){return new(n.bind.apply(n,Object(i.i)([void 0],It(t.deps))))}}return e}function Hs(t,e,n){return void 0===e&&(e=Ms),void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Us(t,e){t.forEach(function(t){return Array.isArray(t)?Us(t,e):e(t)})}function zs(t){return Ci in t}function Bs(t){return"function"==typeof t}function Ws(t,e,n,i,r){if(t=ui(t),Array.isArray(t))for(var o=0;o<t.length;o++)Ws(t[o],e,n,i,r);else{var a=mn(),s=Bs(t)?t:ui(t.provide),l=Fs(t),u=an(),c=65535&u.providerIndexes,d=u.flags>>16,p=u.providerIndexes>>16;if(Bs(t)||!t.multi){var h=new jt(l,r,Ba),f=qs(s,e,r?c:c+p,d);-1==f?(Fn(jn(u,a),a,s),e.push(s),u.flags+=65536,r&&(u.providerIndexes+=65536),n.push(h),a.push(h)):(n[f]=h,a[f]=h)}else{var m=qs(s,e,c+p,d),g=qs(s,e,c,c+p),v=g>=0&&n[g];r&&!v||!r&&!(m>=0&&n[m])?(Fn(jn(u,a),a,s),h=function(t,e,n,i,r){var o=new jt(t,n,Ba);return o.multi=[],o.index=e,o.componentProviders=0,Gs(o,r,i&&!n),o}(r?$s:Ys,n.length,r,i,l),!r&&v&&(n[g].providerFactory=h),e.push(s),u.flags+=65536,r&&(u.providerIndexes+=65536),n.push(h),a.push(h)):Gs(n[r?g:m],l,!r&&i),!r&&i&&v&&n[g].componentProviders++}}}function Gs(t,e,n){t.multi.push(e),n&&t.componentProviders++}function qs(t,e,n,i){for(var r=n;r<i;r++)if(e[r]===t)return r;return-1}function Ys(t,e,n,i){return Ks(this.multi,[])}function $s(t,e,n,i){var r,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=Wn(e,n,this.providerFactory.index,i);Ks(o,r=s.slice(0,a));for(var l=a;l<s.length;l++)r.push(s[l])}else Ks(o,r=[]);return r}function Ks(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function Zs(t,e){return void 0===e&&(e=[]),function(n){n.providersResolver=function(n){return function(t,e,n){var i=mn()[Vt];if(i.firstTemplatePass){var r=Te(t);Ws(n,i.data,i.blueprint,r,!0),Ws(e,i.data,i.blueprint,r,!1)}}(n,t,e)}}}var Qs=function(){return function(){}}(),Xs=function(){return function(){}}();function Js(t){var e=Error("No component factory found for "+tt(t)+". Did you add it to @NgModule.entryComponents?");return e[tl]=t,e}var tl="ngComponent",el=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Js(t)},t}(),nl=function(){function t(){}return t.NULL=new el,t}(),il=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var i=0;i<t.length;i++){var r=t[i];this._factories.set(r.componentType,r)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Js(t);return new rl(e,this._ngModule)},t}(),rl=function(t){function e(e,n){var i=t.call(this)||this;return i.factory=e,i.ngModule=n,i.selector=e.selector,i.componentType=e.componentType,i.ngContentSelectors=e.ngContentSelectors,i.inputs=e.inputs,i.outputs=e.outputs,i}return Object(i.d)(e,t),e.prototype.create=function(t,e,n,i){return this.factory.create(t,e,n,i||this.ngModule)},e}(Xs),ol=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return sl(t)},t}(),al=function(t){return ts(t,an(),mn())},sl=ai,ll=function(){return function(t,e,n,i,r,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=i,this.styles=r,this.animations=o}}(),ul=function(){return function(){}}(),cl=function(){return function(){}}(),dl=function(){return function(){}}(),pl=function(){return function(){}}(),hl=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),fl=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return gl()},t}(),ml=function(){return function(t){var e=mn()[Kt];if(ji(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},gl=ai,vl=function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}(),yl=new vl("7.1.4"),bl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.resolveComponentFactory=function(t){var e=pt(t);return new Sl(e)},e}(nl);function _l(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var wl=new x("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return ws(Tt(Cl))}}),Cl=new x("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ke}}),xl=new x("WRAP_RENDERER_FACTORY2"),El={},Sl=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return Object(i.d)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return _l(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return _l(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,i){var r,o=void 0===n;r=i?i.injector.get(xl,function(t){return t})(i.injector.get(pl)):Li;var a=o?Eo(this.selector,r.createRenderer(null,this.componentDef)):Po(r,n),s=this.componentDef.onPush?68:66,l=i&&!o?i.injector.get(wl):ws(),u=r.createRenderer(a,this.componentDef),c=i?function(t,e){return{get:function(n,i){var r=t.get(n,El);return r!==El?r:e.get(n,i)}}}(t,i.injector):t;n&&a&&(ji(u)?u.setAttribute(a,"ng-version",yl.full):a.setAttribute("ng-version",yl.full));var d,p,h=so(null,u,ko(-1,null,1,0,null,null,null),l,s,void 0,c),f=Tn(h,null);try{r.begin&&r.begin();var m=bs(a,this.componentDef,h,u);if(p=Ee(0,h),e)for(var g=0,v=h[Vt],y=p.projection=[],b=0;b<e.length;b++){for(var _=e[b],w=null,C=null,x=0;x<_.length;x++){v.firstTemplatePass&&(v.expandoStartIndex++,v.blueprint.splice(++g+Nt,0,null),v.data.splice(g+Nt,0,null),h.splice(g+Nt,0,null));var E=lo(g,3,_[x],null,null);C?C.next=E:w=E,C=E}y.push(w)}d=_s(m,this.componentDef,h,l,[Cs]),ao(h,1)}finally{In(f,!0),r.end&&r.end()}var S=new Ol(this.componentType,d,ts(ol,p,h),h,p);return o&&(S.hostView._tViewNode.child=p),S},e}(Xs),Ol=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a.location=i,a._rootView=r,a._tNode=o,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new Ja(r),a.hostView._tViewNode=uo(-1,r),a.componentType=e,a}return Object(i.d)(e,t),Object.defineProperty(e.prototype,"injector",{get:function(){return new Yn(this._tNode,this._rootView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Qs),kl=!0,Tl=!1;function Pl(){return Tl=!0,kl}function Il(){if(Tl)throw new Error("Cannot enable prod mode after platform setup.");kl=!1}var Ml=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(i){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=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 r=t.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling},t}(),Rl=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Dl=/^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 Al(t){return(t=String(t)).match(Rl)||t.match(Dl)?t:(Pl()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function jl(t){return(t=String(t)).split(",").map(function(t){return Al(t.trim())}).join(", ")}function Ll(t){var e,n,r={};try{for(var o=Object(i.j)(t.split(",")),a=o.next();!a.done;a=o.next())r[a.value]=!0}catch(s){e={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Nl(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var a=Object(i.j)(n),s=a.next();!s.done;s=a.next()){var l=s.value;for(var u in l)l.hasOwnProperty(u)&&(o[u]=!0)}}catch(c){t={error:c}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return o}var Vl,Fl=Ll("area,br,col,hr,img,wbr"),Hl=Ll("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ul=Ll("rp,rt"),zl=Nl(Ul,Hl),Bl=Nl(Fl,Nl(Hl,Ll("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")),Nl(Ul,Ll("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")),zl),Wl=Ll("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gl=Ll("srcset"),ql=Nl(Wl,Gl,Ll("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")),Yl=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=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("")},t.prototype.startElement=function(t){var e=t.nodeName.toLowerCase();if(!Bl.hasOwnProperty(e))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(e);for(var n=t.attributes,i=0;i<n.length;i++){var r=n.item(i),o=r.name,a=o.toLowerCase();if(ql.hasOwnProperty(a)){var s=r.value;Wl[a]&&(s=Al(s)),Gl[a]&&(s=jl(s)),this.buf.push(" ",o,'="',Zl(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Bl.hasOwnProperty(e)&&!Fl.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(Zl(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),$l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Kl=/([^\#-~ |!])/g;function Zl(t){return t.replace(/&/g,"&amp;").replace($l,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Kl,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ql(t,e){var n=null;try{Vl=Vl||new Ml(t);var i=e?String(e):"";n=Vl.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Vl.getInertBodyElement(i)}while(i!==o);var a=new Yl,s=a.sanitizeChildren(Xl(n)||n);return Pl()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var l=Xl(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function Xl(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Jl={marker:"element"},tu={marker:"comment"},eu="\ufffd",nu=/^\s*(\ufffd\d+\ufffd)\s*,\s*(select|plural)\s*,/,iu=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,ru=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ou=/\ufffd(\d+):?\d*\ufffd/gi,au=/({\s*\ufffd\d+\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,su=/\[(\ufffd.+?\ufffd?)\]/g,lu=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,uu=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function cu(t){if(!t)return[];var e,n=0,i=[],r=[],o=/[{}]/g;for(o.lastIndex=0;e=o.exec(t);){var a=e.index;if("}"==e[0]){if(i.pop(),0==i.length){var s=t.substring(n,a);nu.test(s)?r.push(du(s)):s&&r.push(s),n=a+1}}else{if(0==i.length){var l=t.substring(n,a);r.push(l),n=a+1}i.push("{")}}var u=t.substring(n);return""!=u&&r.push(u),r}function du(t){for(var e=[],n=[],i=1,r=0,o=cu(t=t.replace(nu,function(t,e,n){return i="select"===n?0:1,r=parseInt(e.substr(1),10),""})),a=0;a<o.length;){var s=o[a++].trim();1===i&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&e.push(s);var l=cu(o[a++]);l.length&&n.push(l)}return u=e.indexOf("other"),c='Missing key "other" in ICU statement.',u<=-1&&function(t){throw new Error("ASSERTION ERROR: "+t)}(c),{type:i,mainBinding:r,cases:e,values:n};var u,c}function pu(t){for(var e,n,i="",r=0,o=!1;null!==(e=iu.exec(t));)o?e[0]===eu+"/*"+n+eu&&(r=e.index,o=!1):(i+=t.substring(r,e.index+e[0].length),n=e[1],o=!0);return i+t.substr(r)}function hu(t,e,n,i){void 0===i&&(i=null);for(var r=[null,null],o=t.split(ou),a=0,s=0;s<o.length;s++){var l=o[s];if(1&s){var u=parseInt(l,10);r.push(-1-u),a|=vu(u)}else""!==l&&r.push(l)}return r.push(e<<2|(n?1:0)),n&&r.push(n,i),r[0]=a,r[1]=r.length-2,r}function fu(t,e){var n;void 0===e&&(e=0),e|=vu(t.mainBinding);for(var i=0;i<t.values.length;i++)for(var r=t.values[i],o=0;o<r.length;o++){var a=r[o];if("string"==typeof a)for(;n=ou.exec(a);)e|=vu(parseInt(n[1],10));else e=fu(a,e)}return e}var mu=[],gu=-1;function vu(t){return 1<<Math.min(t,31)}var yu=[];function bu(t,e,n){var i=dn();i.firstTemplatePass&&null===i.data[t+Nt]&&function(t,e,n,i){mu[++gu]=e;var r=rn(),o=t.blueprint.length-Nt,a=an(),s=un()?an():a&&a.parent,l=s&&s!==r[Wt]?s.index-Nt:e,u=0;yu[u]=l;var c=[];e>0&&a!==s&&c.push(a.index<<3|0);for(var d=[],p=[],h=function(t,e){if("number"!=typeof e)return pu(t);var n=t.indexOf(":"+e+eu)+2+e.toString().length,i=t.search(new RegExp(eu+"\\/\\*\\d+:"+e+eu));return pu(t.substring(n,i))}(n,i).split(ru),f=0;f<h.length;f++){var m=h[f];if(1&f)if("/"===m.charAt(0)){if("#"===m.charAt(1)){var g=parseInt(m.substr(2),10);l=yu[--u],c.push(g<<3|5)}}else g=parseInt(m.substr(1),10),c.push(g<<3|0,l<<17|1),"#"===m.charAt(0)&&(yu[++u]=l=g);else for(var v=m.split(au),y=0;y<v.length;y++)if(m=v[y],1&y){co(r);var b=t.blueprint.length-1-Nt;c.push(tu,"",l<<17|1);var _=du(m.substr(1,m.length-2)),w=fu(_);Du(p,_,b,b);var C=p.length-1;d.push(vu(_.mainBinding),3,-1-_.mainBinding,b<<2|2,C,w,2,b<<2|3,C)}else if(""!==m){var x=m.match(ou);co(r),c.push(x?"":m,l<<17|1),x&&Ze(hu(m,t.blueprint.length-1-Nt),d)}}t.data[e+Nt]={vars:t.blueprint.length-Nt-o,expandoStartIndex:o,create:c,update:d,icus:p.length?p:null}}(i,t,e,n)}function _u(t,e,n){var i=rn();n||(n=e),n===e&&t!==e.child?(t.next=e.child,e.child=t):n!==e&&t!==n.next?(t.next=n.next,n.next=t):t.next=null,e!==i[Wt]&&(t.parent=e),rr(xe(t,i),t,i);var r=i[t.index];return 0!==t.type&&Pe(r)&&rr(r[ge],t,i),t}function wu(t,e){var n={},i=t.replace(su,function(t,e){if(n[e]||(n[e]=e.split("|")),!n[e].length)throw new Error("i18n postprocess: unmatched placeholder - "+e);return n[e].shift()});if(Object.keys(n).some(function(t){return!!n[t].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(n));return Object.keys(e).length?i=(i=i.replace(lu,function(t,n,i,r,o,a){return e.hasOwnProperty(i)?""+n+e[i]+a:t})).replace(uu,function(t,n){if(e.hasOwnProperty(n)){var i=e[n];if(!i.length)throw new Error("i18n postprocess: unmatched ICU - "+t+" with key: "+n);return i.shift()}return t}):i}function Cu(){var t=dn();t.firstTemplatePass&&function(t){for(var e=rn(),n=mu[gu--],i=t.data[n+Nt],r=an(),o=xu(n,i.create,i.expandoStartIndex,e),a=n+1;a<=r.index-Nt;a++)-1===o.indexOf(a)&&Eu(a,e)}(t)}function xu(t,e,n,i){for(var r=Qe(),o=null,a=null,s=[],l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)a=o,o=lo(n++,3,Gi(u,r),null,null),cn(!1);else if("number"==typeof u)switch(7&u){case 1:var c=u>>>17,d=void 0;a=_u(o,d=c===t?i[Wt]:Ee(c,i),a),d.next=null;break;case 0:var p=u>>>3;s.push(p),a=o,(o=Ee(p,i))&&(sn(o),3===o.type&&cn(!0));break;case 5:a=o=Ee(u>>>3,i),sn(o),cn(!1);break;case 4:Ao(u>>>3,e[++l],e[++l]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+u+'"')}else switch(u){case tu:var h=e[++l];a=o,(o=lo(n++,5,r.createComment(h),null,null)).activeCaseIndex=null,cn(!1);break;case Jl:var f=e[++l];a=o,o=lo(n++,3,r.createElement(f),f,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+u+'"')}}return cn(!1),s}function Eu(t,e){var n=Ee(t,e);sr(n,Ce(t,e)||null,e),n.detached=!0;var i=La(t);if(Pe(i)){var r=i;0!==n.type&&sr(n,r[ge]||null,e),r[ve]=null}}function Su(t,e,n){bu(t,e,n),Cu()}function Ou(t,e){var n=dn();n.firstTemplatePass&&null===n.data[t+Nt]&&function(t,e,n){for(var i=an().index-Nt,r=[],o=0;o<n.length;o+=2)for(var a=n[o],s=n[o+1].split(au),l=0;l<s.length;l++){var u=s[l];1&l||""!==u&&(u.match(ou)?Ze(hu(u,i,a),r):Ao(i,a,u))}t.data[e+Nt]=r}(n,t,e)}var ku=0,Tu=0;function Pu(t){t!==fr&&(ku|=1<<Tu),Tu++}function Iu(t){if(Tu){var e=dn(),n=rn(),i=e.data[t+Nt],r=void 0,o=null;Array.isArray(i)?r=i:(r=i.update,o=i.icus),function t(e,n,i,r,o,a){void 0===a&&(a=!1);for(var s=!1,l=0;l<e.length;l++){var u=e[l],c=e[++l];if(a||u&r)for(var d="",p=l+1;p<=l+c;p++){var h=e[p];if("string"==typeof h)d+=h;else if("number"==typeof h)if(h<0)d+=be(o[i-h]);else{var f=h>>>2;switch(3&h){case 1:Ao(f,e[++p],d,e[++p]);break;case 0:qo(f,d);break;case 2:var m=e[++p],g=n[m],v=Ee(f,o);if(null!==v.activeCaseIndex)for(var y=g.remove[v.activeCaseIndex],b=0;b<y.length;b++){var _=y[b];switch(7&_){case 3:Eu(_>>>3,o);break;case 6:var w=Ee(y[b+1]>>>3,o).activeCaseIndex;null!==w&&Ze(n[_>>>3].remove[w],y)}}var C=Ru(g,d);v.activeCaseIndex=-1!==C?C:null,xu(-1,g.create[C],g.expandoStartIndex,o),s=!0;break;case 3:g=n[m=e[++p]],v=Ee(f,o),t(g.update[v.activeCaseIndex],n,i,r,o,s)}}}l+=c}}(r,o,n[Gt]-Tu-1,ku,n),ku=0,Tu=0}}var Mu=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});function Ru(t,e){var n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:var i=function(t,n){switch(function(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,i=n.toString().replace(/^[^.]*\.?/,""),r=Math.floor(Math.abs(n)),o=i.length,a=parseInt(i,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Mu.One:Mu.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Mu.One:Mu.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===r||1===n?Mu.One:Mu.Other;case"ar":return 0===n?Mu.Zero:1===n?Mu.One:2===n?Mu.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Mu.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Mu.Many:Mu.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===r&&0===o?Mu.One:Mu.Other;case"be":return n%10==1&&n%100!=11?Mu.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Mu.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Mu.Many:Mu.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Mu.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Mu.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Mu.Few:0!==n&&n%1e6==0?Mu.Many:Mu.Other;case"bs":case"hr":case"sr":return 0===o&&r%10==1&&r%100!=11||a%10==1&&a%100!=11?Mu.One:0===o&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Mu.Few:Mu.Other;case"cs":case"sk":return 1===r&&0===o?Mu.One:r===Math.floor(r)&&r>=2&&r<=4&&0===o?Mu.Few:0!==o?Mu.Many:Mu.Other;case"cy":return 0===n?Mu.Zero:1===n?Mu.One:2===n?Mu.Two:3===n?Mu.Few:6===n?Mu.Many:Mu.Other;case"da":return 1===n||0!==s&&(0===r||1===r)?Mu.One:Mu.Other;case"dsb":case"hsb":return 0===o&&r%100==1||a%100==1?Mu.One:0===o&&r%100==2||a%100==2?Mu.Two:0===o&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Mu.Few:Mu.Other;case"ff":case"fr":case"hy":case"kab":return 0===r||1===r?Mu.One:Mu.Other;case"fil":return 0===o&&(1===r||2===r||3===r)||0===o&&r%10!=4&&r%10!=6&&r%10!=9||0!==o&&a%10!=4&&a%10!=6&&a%10!=9?Mu.One:Mu.Other;case"ga":return 1===n?Mu.One:2===n?Mu.Two:n===Math.floor(n)&&n>=3&&n<=6?Mu.Few:n===Math.floor(n)&&n>=7&&n<=10?Mu.Many:Mu.Other;case"gd":return 1===n||11===n?Mu.One:2===n||12===n?Mu.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Mu.Few:Mu.Other;case"gv":return 0===o&&r%10==1?Mu.One:0===o&&r%10==2?Mu.Two:0!==o||r%100!=0&&r%100!=20&&r%100!=40&&r%100!=60&&r%100!=80?0!==o?Mu.Many:Mu.Other:Mu.Few;case"he":return 1===r&&0===o?Mu.One:2===r&&0===o?Mu.Two:0!==o||n>=0&&n<=10||n%10!=0?Mu.Other:Mu.Many;case"is":return 0===s&&r%10==1&&r%100!=11||0!==s?Mu.One:Mu.Other;case"ksh":return 0===n?Mu.Zero:1===n?Mu.One:Mu.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Mu.One:2===n?Mu.Two:Mu.Other;case"lag":return 0===n?Mu.Zero:0!==r&&1!==r||0===n?Mu.Other:Mu.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Mu.Few:0!==a?Mu.Many:Mu.Other:Mu.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Mu.Zero:n%10==1&&n%100!=11||2===o&&a%10==1&&a%100!=11||2!==o&&a%10==1?Mu.One:Mu.Other;case"mk":return 0===o&&r%10==1||a%10==1?Mu.One:Mu.Other;case"mt":return 1===n?Mu.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Mu.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Mu.Many:Mu.Other;case"pl":return 1===r&&0===o?Mu.One:0===o&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?Mu.Few:0===o&&1!==r&&r%10===Math.floor(r%10)&&r%10>=0&&r%10<=1||0===o&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===o&&r%100===Math.floor(r%100)&&r%100>=12&&r%100<=14?Mu.Many:Mu.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Mu.One:Mu.Other;case"ro":return 1===r&&0===o?Mu.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Mu.Few:Mu.Other;case"ru":case"uk":return 0===o&&r%10==1&&r%100!=11?Mu.One:0===o&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?Mu.Few:0===o&&r%10==0||0===o&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===o&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=14?Mu.Many:Mu.Other;case"shi":return 0===r||1===n?Mu.One:n===Math.floor(n)&&n>=2&&n<=10?Mu.Few:Mu.Other;case"si":return 0===n||1===n||0===r&&1===a?Mu.One:Mu.Other;case"sl":return 0===o&&r%100==1?Mu.One:0===o&&r%100==2?Mu.Two:0===o&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||0!==o?Mu.Few:Mu.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Mu.One:Mu.Other;default:return Mu.Other}}("en-US",e)){case Mu.Zero:return"zero";case Mu.One:return"one";case Mu.Two:return"two";case Mu.Few:return"few";case Mu.Many:return"many";default:return"other"}}();-1===(n=t.cases.indexOf(i))&&"other"!==i&&(n=t.cases.indexOf("other"));break;case 0:n=t.cases.indexOf("other")}return n}function Du(t,e,n,r){for(var o=[],a=[],s=[],l=[],u=[],c=0;c<e.values.length;c++){for(var d=e.values[c],p=[],h=0;h<d.length;h++){var f=d[h];if("string"!=typeof f){var m=p.push(f)-1;d[h]="\x3c!--\ufffd"+m+"\ufffd--\x3e"}}var g=Au(d.join(""),n,p,t,r);o.push(g.create),a.push(g.remove),s.push(g.update),l.push(g.vars),u.push(g.childIcus)}t.push({type:e.type,vars:l,expandoStartIndex:r+1,childIcus:u,cases:e.cases,create:o,remove:a,update:s});var v=rn(),y=Math.max.apply(Math,Object(i.i)(l));for(c=0;c<y;c++)co(v)}function Au(t,e,n,r,o){var a=new Ml(document).getInertBodyElement(t);if(!a)throw new Error("Unable to generate inert body element");var s={vars:0,childIcus:[],create:[],remove:[],update:[]};return function t(e,n,r,o,a,s){if(e){for(var l=[];e;){var u=e.nextSibling,c=s+ ++n.vars;switch(e.nodeType){case Node.ELEMENT_NODE:var d=e,p=d.tagName.toLowerCase();if(Bl.hasOwnProperty(p)){n.create.push(Jl,p,r<<17|1);for(var h=d.attributes,f=0;f<h.length;f++){var m=h.item(f),g=m.name.toLowerCase();m.value.match(ou)?ql.hasOwnProperty(g)&&Ze(Wl[g]?hu(m.value,c,m.name,Al):Gl[g]?hu(m.value,c,m.name,jl):hu(m.value,c,m.name),n.update):n.create.push(c<<3|4,m.name,m.value)}t(e.firstChild,n,c,o,a,s),n.remove.push(c<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var v=e.textContent||"",y=v.match(ou);n.create.push(y?"":v,r<<17|1),n.remove.push(c<<3|3),y&&Ze(hu(v,c),n.update);break;case Node.COMMENT_NODE:var b=ju.exec(e.textContent||"");if(b){var _=parseInt(b[1],10);n.create.push(tu,"",r<<17|1),l.push([w=o[_],c])}else n.vars--;break;default:n.vars--}e=u}for(f=0;f<l.length;f++){var w,C=l[f][1];Du(a,w=l[f][0],C,s+n.vars);var x=a.length-1;n.vars+=Math.max.apply(Math,Object(i.i)(a[x].vars)),n.childIcus.push(x);var E=fu(w);n.update.push(vu(w.mainBinding),3,-1-w.mainBinding,C<<2|2,x,E,2,C<<2|3,x),n.remove.push(x<<3|6,C<<3|3)}}}((Xl(a)||a).firstChild,s,e,n,r,o),s}var ju=/\ufffd(\d+)\ufffd/,Lu={provide:nl,useFactory:function(){return new bl},deps:[]},Nu=function(t){function e(e,n){var i=t.call(this)||this;i._bootstrapComponents=[],i.destroyCbs=[];var r=mt(e);return i._bootstrapComponents=r.bootstrap,i.injector=Ls(e,n,[Lu,{provide:Ii,useValue:i}]),i.instance=i.injector.get(e),i.componentFactoryResolver=new bl,i}return Object(i.d)(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Ii),Vu=function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}return Object(i.d)(e,t),e.prototype.create=function(t){return new Nu(this.moduleType,t)},e}(Mi);function Fu(t,e,n,r){var o,a=t;null!==e&&(void 0!==a.decorators?(o=a.decorators).push.apply(o,Object(i.i)(e)):a.decorators=e),null!==n&&(a.ctorParameters=n),null!==r&&(a.propDecorators=void 0!==a.propDecorators?Object(i.a)({},a.propDecorators,r):r)}function Hu(t,e,n){var i=On()+t;return fn()?Fa(i,n?e.call(n):e()):Na(i)}function Uu(t,e,n,i){var r=On()+t;return Va(r,n)?Fa(r+1,i?e.call(i,n):e(n)):Na(r+1)}function zu(t,e,n,i,r){var o=On()+t;return Ha(o,n,i)?Fa(o+2,r?e.call(r,n,i):e(n,i)):Na(o+2)}function Bu(t,e,n,i,r,o){var a=On()+t;return Ua(a,n,i,r)?Fa(a+3,o?e.call(o,n,i,r):e(n,i,r)):Na(a+3)}function Wu(t,e,n,i,r,o,a){var s=On()+t;return za(s,n,i,r,o)?Fa(s+4,a?e.call(a,n,i,r,o):e(n,i,r,o)):Na(s+4)}function Gu(t,e,n,i,r,o,a,s){var l=On()+t,u=za(l,n,i,r,o);return Va(l+4,a)||u?Fa(l+5,s?e.call(s,n,i,r,o,a):e(n,i,r,o,a)):Na(l+5)}function qu(t,e,n,i,r,o,a,s,l){var u=On()+t,c=za(u,n,i,r,o);return Ha(u+4,a,s)||c?Fa(u+6,l?e.call(l,n,i,r,o,a,s):e(n,i,r,o,a,s)):Na(u+6)}function Yu(t,e,n,i,r,o,a,s,l,u){var c=On()+t,d=za(c,n,i,r,o);return Ua(c+4,a,s,l)||d?Fa(c+7,u?e.call(u,n,i,r,o,a,s,l):e(n,i,r,o,a,s,l)):Na(c+7)}function $u(t,e,n,i,r,o,a,s,l,u,c){var d=On()+t,p=za(d,n,i,r,o);return za(d+4,a,s,l,u)||p?Fa(d+8,c?e.call(c,n,i,r,o,a,s,l,u):e(n,i,r,o,a,s,l,u)):Na(d+8)}function Ku(t,e,n,i){for(var r=On()+t,o=!1,a=0;a<n.length;a++)Va(r++,n[a])&&(o=!0);return o?Fa(r,e.apply(i,n)):Na(r)}function Zu(t,e){var n,i=dn(),r=t+Nt;i.firstTemplatePass?(n=function(t,e){if(e)for(var n=0;n<e.length;n++){var i=e[n];if(t===i.name)return i}throw new Error("Pipe with name '"+t+"' not found!")}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.pipeDestroyHooks||(i.pipeDestroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory(null);return Da(t,o),o}function Qu(t,e,n){var i=La(t);return nc(t)?Uu(e,i.transform,n,i):i.transform(n)}function Xu(t,e,n,i){var r=La(t);return nc(t)?zu(e,r.transform,n,i,r):r.transform(n,i)}function Ju(t,e,n,i,r){var o=La(t);return nc(t)?Bu(e,o.transform,n,i,r,o):o.transform(n,i,r)}function tc(t,e,n,i,r,o){var a=La(t);return nc(t)?Wu(e,a.transform,n,i,r,o,a):a.transform(n,i,r,o)}function ec(t,e,n){var i=La(t);return nc(t)?Ku(e,i.transform,n,i):i.transform.apply(i,n)}function nc(t){return dn().data[t+Nt].pure}var ic=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(i.d)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,i){var o,a=function(t){return null},s=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(a=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),i&&(s=this.__isAsync?function(){setTimeout(function(){return i()})}:function(){i()}));var l=t.prototype.subscribe.call(this,o,a,s);return e instanceof r.a&&e.add(l),l},e}(o.a),rc=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ac(t,ol)},t}(),oc=function(t,e){return es(t,e,an(),mn())},ac=ai,sc=function(){function t(t,e,n){this.parent=t,this.shallow=e,this.deep=n}return t.prototype.track=function(t,e,n,i){n?this.deep=_c(this.deep,t,e,null!=i?i:null):this.shallow=_c(this.shallow,t,e,null!=i?i:null)},t.prototype.clone=function(){return new t(this,null,this.deep)},t.prototype.container=function(){var e=lc(this.shallow),n=lc(this.deep);return e||n?new t(this,e,n):null},t.prototype.createView=function(){var e=uc(this.shallow),n=uc(this.deep);return e||n?new t(this,e,n):null},t.prototype.insertView=function(t){cc(t,this.shallow),cc(t,this.deep)},t.prototype.addNode=function(t){return vc(this.deep,t),Oe(t)?(vc(this.shallow,t),t.parent&&Oe(t.parent)&&vc(this.parent.shallow,t),this.parent):(function(t){return null===t.parent||Oe(t.parent)}(t)&&vc(this.shallow,t),this)},t.prototype.removeView=function(){dc(this.shallow),dc(this.deep)},t}();function lc(t){for(var e=null;t;){var n=[];t.values.push(n),e={next:e,list:t.list,predicate:t.predicate,values:n,containerValues:null},t=t.next}return e}function uc(t){for(var e=null;t;)e={next:e,list:t.list,predicate:t.predicate,values:[],containerValues:t.values},t=t.next;return e}function cc(t,e){for(;e;)e.containerValues.splice(t,0,e.values),e=e.next}function dc(t){for(;t;){var e=t.containerValues,n=e.indexOf(t.values);e.splice(n,1)[0].length&&t.list.setDirty(),t=t.next}}function pc(t,e){var n=t.localNames;if(n)for(var i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function hc(t,e,n){var i=e[Vt].data;if(i)for(var r=t.flags,o=r>>16,a=o+(4095&r),s=o;s<a;s++)if(i[s].type===n)return s;return null}function fc(t,e,n){var i=t[y];if("function"==typeof i)return i();var r=hc(e,n,t);return null!==r?n[r]:null}function mc(t,e,n,i){var r=t[y]();return i?r?fc(i,e,n):null:r}function gc(t,e,n,i){return n?fc(n,t,e):i>-1?e[i]:function(t,e){return 3===t.type||4===t.type?ts(ol,t,e):0===t.type?es(rc,ol,t,e):null}(t,e)}function vc(t,e){for(var n=mn();t;){var i=t.predicate,r=i.type;if(r){var o=null;r===rc?o=mc(r,e,n,i.read):null!==(l=hc(e,n,r))&&(o=gc(e,n,i.read,l)),null!==o&&yc(t,o)}else for(var a=i.selector,s=0;s<a.length;s++){var l;null!==(l=pc(e,a[s]))&&null!==(o=gc(e,n,i.read,l))&&yc(t,o)}t=t.next}}function yc(t,e){t.values.push(e),t.list.setDirty()}function bc(t,e){var n=Array.isArray(t);return{type:n?null:t,selector:n?t:null,read:e}}function _c(t,e,n,i){return{next:t,list:e,predicate:bc(n,i),values:e._valuesTree,containerValues:null}}var wc=function(){function t(){this.dirty=!0,this.changes=new ic,this._values=[],this._valuesTree=[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){var t=this._values;return t.length?t[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){var t=this._values;return t.length?t[t.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._values.map(t)},t.prototype.filter=function(t){return this._values.filter(t)},t.prototype.find=function(t){return this._values.find(t)},t.prototype.reduce=function(t,e){return this._values.reduce(t,e)},t.prototype.forEach=function(t){this._values.forEach(t)},t.prototype.some=function(t){return this._values.some(t)},t.prototype.toArray=function(){return this._values.slice(0)},t.prototype[Q()]=function(){return this._values[Q()]()},t.prototype.toString=function(){return this._values.toString()},t.prototype.reset=function(t){this._values=function(t){for(var e=[],n=0;n<t.length;){var i=t[n];Array.isArray(i)?i.length>0?(t=i.concat(t.slice(n+1)),n=0):n++:(e.push(i),n++)}return e}(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}();function Cc(t,e,n,i){var r,o=new wc;return(r=sc,Be&&Be!==$e[Wt]&&!Oe(Be)&&(qe&&(qe=qe.clone()),Be.flags|=16384),qe||(qe=new r(null,null,null))).track(o,e,n,i),Mo(null,o,o.destroy),null!=t&&Da(t,o),o}function xc(t){return!!t.dirty&&(t.reset(t._valuesTree),t.notifyOnChanges(),!0)}function Ec(t,e){return es(rc,ol,t,e)}var Sc="__SANITIZER_TRUSTED_BRAND__";function Oc(t,e){return t instanceof String&&t[Sc]===e}function kc(t){return Rc(t,"Html")}function Tc(t){return Rc(t,"Style")}function Pc(t){return Rc(t,"Script")}function Ic(t){return Rc(t,"Url")}function Mc(t){return Rc(t,"ResourceUrl")}function Rc(t,e){var n=new String(t);return n[Sc]=e,n}var Dc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),Ac=function(){return function(){}}(),jc=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Lc=/^url\(([^)]+)\)$/;function Nc(t){if(!(t=String(t).trim()))return"";var e=t.match(Lc);return e&&Al(e[1])===e[1]||t.match(jc)&&function(t){for(var e=!0,n=!0,i=0;i<t.length;i++){var r=t.charAt(i);"'"===r&&n?e=!e:'"'===r&&e&&(n=!n)}return e&&n}(t)?t:(Pl()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}function Vc(t){var e=Je();return e?e.sanitize(Dc.HTML,t)||"":Oc(t,"Html")?t.toString():Ql(document,be(t))}function Fc(t){var e=Je();return e?e.sanitize(Dc.STYLE,t)||"":Oc(t,"Style")?t.toString():Nc(be(t))}function Hc(t){var e=Je();return e?e.sanitize(Dc.URL,t)||"":Oc(t,"Url")?t.toString():Al(be(t))}function Uc(t){var e=Je();if(e)return e.sanitize(Dc.RESOURCE_URL,t)||"";if(Oc(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var zc={"\u0275defineBase":ut,"\u0275defineComponent":rt,"\u0275defineDirective":ct,defineInjectable:b,defineInjector:_,"\u0275defineNgModule":st,"\u0275definePipe":dt,"\u0275directiveInject":Ba,"\u0275getFactoryOf":$n,"\u0275getInheritedFactory":Kn,inject:Tt,"\u0275injectAttribute":Wa,"\u0275templateRefExtractor":Ec,"\u0275NgOnChangesFeature":Ts,"\u0275ProvidersFeature":Zs,"\u0275InheritDefinitionFeature":Ss,"\u0275elementAttribute":Ao,"\u0275bind":xa,"\u0275container":ra,"\u0275nextContext":ho,"\u0275containerRefreshStart":aa,"\u0275containerRefreshEnd":sa,"\u0275loadQueryList":ja,"\u0275namespaceHTML":bo,"\u0275namespaceMathML":yo,"\u0275namespaceSVG":vo,"\u0275enableBindings":tn,"\u0275disableBindings":en,"\u0275elementStart":xo,"\u0275elementEnd":Do,"\u0275element":_o,"\u0275elementContainerStart":wo,"\u0275elementContainerEnd":Co,"\u0275pureFunction0":Hu,"\u0275pureFunction1":Uu,"\u0275pureFunction2":zu,"\u0275pureFunction3":Bu,"\u0275pureFunction4":Wu,"\u0275pureFunction5":Gu,"\u0275pureFunction6":qu,"\u0275pureFunction7":Yu,"\u0275pureFunction8":$u,"\u0275pureFunctionV":Ku,"\u0275getCurrentView":nn,"\u0275restoreView":on,"\u0275interpolation1":Sa,"\u0275interpolation2":Oa,"\u0275interpolation3":ka,"\u0275interpolation4":Ta,"\u0275interpolation5":Pa,"\u0275interpolation6":Ia,"\u0275interpolation7":Ma,"\u0275interpolation8":Ra,"\u0275interpolationV":Ea,"\u0275elementClassProp":Fo,"\u0275listener":Io,"\u0275load":La,"\u0275projection":fa,"\u0275elementProperty":jo,"\u0275pipeBind1":Qu,"\u0275pipeBind2":Xu,"\u0275pipeBind3":Ju,"\u0275pipeBind4":tc,"\u0275pipeBindV":ec,"\u0275projectionDef":pa,"\u0275pipe":Zu,"\u0275query":Cc,"\u0275queryRefresh":xc,"\u0275registerContentQuery":Ga,"\u0275reference":Aa,"\u0275elementStyling":Ho,"\u0275elementStylingMap":Bo,"\u0275elementStyleProp":zo,"\u0275elementStylingApply":Uo,"\u0275template":ia,"\u0275text":Go,"\u0275textBinding":qo,"\u0275embeddedViewStart":la,"\u0275embeddedViewEnd":ua,"\u0275i18n":Su,"\u0275i18nAttributes":Ou,"\u0275i18nExp":Pu,"\u0275i18nStart":bu,"\u0275i18nEnd":Cu,"\u0275i18nApply":Iu,"\u0275i18nPostprocess":wu,"\u0275sanitizeHtml":Vc,"\u0275sanitizeStyle":Fc,"\u0275defaultStyleSanitizer":function(t,e){return void 0===e?"background-image"===t||"background"===t||"border-image"===t||"filter"===t||"filter"===t||"list-style"===t||"list-style-image"===t:Fc(e)},"\u0275sanitizeResourceUrl":Uc,"\u0275sanitizeScript":function(t){var e=Je();if(e)return e.sanitize(Dc.SCRIPT,t)||"";if(Oc(t,"Script"))return t.toString();throw new Error("unsafe value used in a script context")},"\u0275sanitizeUrl":Hc},Bc=Function;function Wc(t){return"function"==typeof t}var Gc=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,qc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Yc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,$c=function(){function t(t){this._reflect=t||$.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Object(i.i)([void 0],e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var i=0;i<n.length;i++)n[i]=void 0===t?[]:t[i]!=Object?[t[i]]:[],e&&null!=e[i]&&(n[i]=n[i].concat(e[i]));return n},t.prototype._ownParameters=function(t,e){var n=t.toString();if(Gc.exec(n)||qc.exec(n)&&!Yc.exec(n))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var i=t.ctorParameters;if(i&&i!==e.ctorParameters){var r="function"==typeof i?i():i,o=r.map(function(t){return t&&t.type}),a=r.map(function(t){return t&&Kc(t.decorators)});return this._zipTypesAndAnnotations(o,a)}var s=t.hasOwnProperty(S)&&t[S],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return l||s?this._zipTypesAndAnnotations(l,s):new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!Wc(t))return[];var e=Zc(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?Kc(t.decorators):t.hasOwnProperty(E)?t[E]:null},t.prototype.annotations=function(t){if(!Wc(t))return[];var e=Zc(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var i=t.propDecorators,r={};return Object.keys(i).forEach(function(t){r[t]=Kc(i[t])}),r}return t.hasOwnProperty(O)?t[O]:null},t.prototype.propMetadata=function(t){if(!Wc(t))return{};var e=Zc(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var o=this._ownPropMetadata(t,e);return o&&Object.keys(o).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,Object(i.i)(n[t])),e.push.apply(e,Object(i.i)(o[t])),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof Bc&&e in t.prototype},t.prototype.guards=function(t){return{}},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){return new Function("o","args","if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n        return o."+t+".apply(o, args);")},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+tt(t)},t.prototype.resourceUri=function(t){return"./"+tt(t)},t.prototype.resolveIdentifier=function(t,e,n,i){return i},t.prototype.resolveEnum=function(t,e){return t[e]},t}();function Kc(t){return t?t.map(function(t){var e=t.type.annotationCls,n=t.args?t.args:[];return new(e.bind.apply(e,Object(i.i)([void 0],n)))}):[]}function Zc(t){var e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}var Qc=null;function Xc(){return Qc=Qc||new $c}function Jc(t){return td(Xc().parameters(t))}function td(t){var e=gt();return t.map(function(t){return function(t,e){var n={token:null,host:!1,optional:!1,resolved:t.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function i(e){n.resolved=t.R3ResolvedDependencyType.Token,n.token=e}if(Array.isArray(e)){if(0===e.length)throw new Error("Dependency array must have arguments.");for(var r=0;r<e.length;r++){var o=e[r];if(void 0!==o)if(o instanceof bt||"Optional"===o.__proto__.ngMetadataName)n.optional=!0;else if(o instanceof wt||"SkipSelf"===o.__proto__.ngMetadataName)n.skipSelf=!0;else if(o instanceof _t||"Self"===o.__proto__.ngMetadataName)n.self=!0;else if(o instanceof Ct||"Host"===o.__proto__.ngMetadataName)n.host=!0;else if(o instanceof yt)n.token=o.token;else if(o instanceof R){if(void 0===o.attributeName)throw new Error("Attribute name must be defined.");n.token=o.attributeName,n.resolved=t.R3ResolvedDependencyType.Attribute}else i(o)}}else i(e);return n}(e,t)})}var ed=[];function nd(t,e){id(t,e),function(t,e){var n=ad(e.declarations||ed),i=od(t);n.forEach(function(e){e.hasOwnProperty(d)?rd(pt(e),i):e.hasOwnProperty(p)||e.hasOwnProperty(m)||(e.ngSelectorScope=t)})}(t,e)}function id(t,e){var n=ad(e.declarations||ed),i=null;Object.defineProperty(t,g,{configurable:!0,get:function(){return null===i&&(i=gt().compileNgModule(zc,"ng://"+t.name+"/ngModuleDef.js",{type:t,bootstrap:ad(e.bootstrap||ed),declarations:n,imports:ad(e.imports||ed).map(sd),exports:ad(e.exports||ed).map(sd),emitInline:!0})),i}});var r=null;Object.defineProperty(t,f,{get:function(){if(null===r){var n={name:t.name,type:t,deps:Jc(t),providers:e.providers||ed,imports:[e.imports||ed,e.exports||ed]};r=gt().compileInjector(zc,"ng://"+t.name+"/ngInjectorDef.js",n)}return r},configurable:!1})}function rd(t,e){t.directiveDefs=function(){return Array.from(e.compilation.directives).map(function(t){return ht(t)||pt(t)}).filter(function(t){return!!t})},t.pipeDefs=function(){return Array.from(e.compilation.pipes).map(function(t){return ft(t)})}}function od(t){if(!ld(t))throw new Error(t.name+" does not have an ngModuleDef");var e=mt(t);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;var n={compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return e.declarations.forEach(function(t){ft(t)?n.compilation.pipes.add(t):n.compilation.directives.add(t)}),e.imports.forEach(function(t){var e=t;if(!ld(e))throw new Error("Importing "+e.name+" which does not have an ngModuleDef");var i=od(e);i.exported.directives.forEach(function(t){return n.compilation.directives.add(t)}),i.exported.pipes.forEach(function(t){return n.compilation.pipes.add(t)})}),e.exports.forEach(function(t){var e=t;if(ld(e)){var i=od(e);i.exported.directives.forEach(function(t){n.compilation.directives.add(t),n.exported.directives.add(t)}),i.exported.pipes.forEach(function(t){n.compilation.pipes.add(t),n.exported.pipes.add(t)})}else mt(e)?n.exported.pipes.add(e):n.exported.directives.add(e)}),e.transitiveCompileScopes=n,n}function ad(t){var e=[];return t.forEach(function(t){Array.isArray(t)?e.push.apply(e,Object(i.i)(ad(t))):e.push(t)}),e}function sd(t){return function(t){return void 0!==t.ngModule}(t)?t.ngModule:t}function ld(t){return!!mt(t)}function ud(t,e){var n=null;!function(t){B(t)&&z.add(t)}(e),Object.defineProperty(t,d,{get:function(){var r=gt();if(null===n){if(B(e)){var o=["Component '"+tt(t)+"' is not resolved:"];throw e.templateUrl&&o.push(" - templateUrl: "+tt(e.templateUrl)),e.styleUrls&&e.styleUrls.length&&o.push(" - styleUrls: "+JSON.stringify(e.styleUrls)),o.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(o.join("\n"))}var a=Object(i.a)({},pd(t,e),{template:e.template||"",preserveWhitespaces:e.preserveWhitespaces||!1,styles:e.styles||nt,animations:e.animations,viewQueries:fd(Xc().propMetadata(t),gd),directives:new Map,pipes:new Map,encapsulation:e.encapsulation||G.Emulated,viewProviders:e.viewProviders||null});if(n=r.compileComponent(zc,"ng://"+tt(t)+"/template.html",a),void 0!==t.ngSelectorScope){var s=od(t.ngSelectorScope);rd(n,s)}}return n},configurable:!1})}function cd(t,e){var n=null;Object.defineProperty(t,p,{get:function(){if(null===n){var i=pd(t,e);n=gt().compileDirective(zc,"ng://"+(t&&t.name)+"/ngDirectiveDef.js",i)}return n},configurable:!1})}function dd(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function pd(t,e){var n=Xc().propMetadata(t);return{name:t.name,type:t,typeArgumentCount:0,selector:e.selector,deps:Jc(t),host:e.host||hd,propMetadata:n,inputs:e.inputs||nt,outputs:e.outputs||nt,queries:fd(n,md),lifecycle:{usesOnChanges:void 0!==t.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!dd(t),exportAs:e.exportAs||null,providers:e.providers||null}}var hd={};function fd(t,e){var n=[],i=function(i){t.hasOwnProperty(i)&&t[i].forEach(function(t){e(t)&&n.push(function(t,e){return{propertyName:i,predicate:(n=e.selector,"string"==typeof n?n.split(",").map(function(t){return t.trim()}):n),descendants:e.descendants,first:e.first,read:e.read?e.read:null};var n}(0,t))})};for(var r in t)i(r);return n}function md(t){var e=t.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function gd(t){var e=t.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function vd(t,e){var n=null;Object.defineProperty(t,m,{get:function(){return null===n&&(n=gt().compilePipe(zc,"ng://"+be(t)+"/ngPipeDef.js",{type:t,name:t.name,deps:Jc(t),pipeName:e.name,pure:void 0===e.pure||e.pure})),n},configurable:!1})}var yd=k("Directive",function(t){return void 0===t&&(t={}),t},void 0,void 0,function(t,e){return Id(t,e)}),bd=k("Component",function(t){return void 0===t&&(t={}),Object(i.a)({changeDetection:V.Default},t)},yd,void 0,function(t,e){return Pd(t,e)}),_d=k("Pipe",function(t){return Object(i.a)({pure:!0},t)},void 0,void 0,function(t,e){return Md(t,e)}),wd=function(t){return function(e,n){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var o=e.constructor;o.hasOwnProperty(v)||function(t){var e=t.constructor,n=e.ngBaseDef,i=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(c(i.inputs,n.inputs),c(i.outputs,n.outputs),c(i.declaredInputs,n.declaredInputs))}(e),t(o.ngBaseDef)[n]=i[0]}},Cd=I("Input",function(t){return{bindingPropertyName:t}},void 0,wd(function(t){return t.inputs||{}})),xd=I("Output",function(t){return{bindingPropertyName:t}},void 0,wd(function(t){return t.outputs||{}})),Ed=I("HostBinding",function(t){return{hostPropertyName:t}}),Sd=I("HostListener",function(t,e){return{eventName:t,args:e}}),Od=ud,kd=cd,Td=vd,Pd=ai,Id=ai,Md=ai,Rd=u({provide:String,useValue:u}),Dd=[];function Ad(t,e){if(!e){var n=(u=new $c).parameters(t);return function(){return new(t.bind.apply(t,Object(i.i)([void 0],It(n))))}}if(Rd in e){var r=e;return function(){return r.useValue}}if(e.useExisting){var o=e;return function(){return Tt(o.useExisting)}}if(e.useFactory){var a=e;return function(){return a.useFactory.apply(a,Object(i.i)(It(a.deps||Dd)))}}if(e.useClass){var s=e,l=e.deps;if(!l){var u=new $c;l=u.parameters(t)}return function(){var t;return new((t=s.useClass).bind.apply(t,Object(i.i)([void 0],It(l))))}}var c=e.deps;return c||(u=new $c,c=u.parameters(t)),function(){return new(t.bind.apply(t,Object(i.i)([void 0],It(c))))}}var jd={name:"custom-elements"},Ld={name:"no-errors-schema"},Nd=k("NgModule",function(t){return t},void 0,void 0,function(t,e){return Fd(t,e)}),Vd=nd,Fd=function(t,e){var n=e&&e.imports||[];e&&e.exports&&(n=Object(i.i)(n,[e.exports])),t.ngInjectorDef=_({factory:Ad(t,{useClass:t}),providers:e&&e.providers,imports:n})},Hd=u({provide:String,useValue:u});function Ud(t){return void 0!==t.useClass}function zd(t){return Hd in t}function Bd(t){return void 0!==t.useFactory}function Wd(t){return void 0!==t.useExisting}var Gd=k("Injectable",void 0,void 0,void 0,function(t,e){return Yd(t,e)}),qd=function(t,e){var n=null;Object.defineProperty(t,h,{get:function(){if(null===n){var i=e||{providedIn:null},r=Ud(i)||Bd(i)||zd(i)||Wd(i),o={name:t.name,type:t,providedIn:i.providedIn,ctorDeps:Jc(t),userDeps:void 0};if((Ud(i)||Bd(i))&&void 0!==i.deps&&(o.userDeps=td(i.deps)),r)if(Ud(i))o.useClass=i.useClass;else if(zd(i))o.useValue=i.useValue;else if(Bd(i))o.useFactory=i.useFactory;else{if(!Wd(i))throw new Error("Unreachable state.");o.useExisting=i.useExisting}else o.useClass=t;n=gt().compileInjectable(zc,"ng://"+t.name+"/ngInjectableDef.js",o)}return n}})},Yd=function(t,e){e&&void 0!==e.providedIn&&!w(t)&&(t.ngInjectableDef=b({providedIn:e.providedIn,factory:Ad(t,e)}))},$d="ngDebugContext",Kd="ngOriginalError",Zd="ngErrorLogger";function Qd(t){return t[$d]}function Xd(t){return t[Kd]}function Jd(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,Object(i.i)(e))}var tp=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t[Zd]||Jd}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?Qd(t)?Qd(t):this._findContext(Xd(t)):null},t.prototype._findOriginalError=function(t){for(var e=Xd(t);e&&Xd(e);)e=Xd(e);return e},t}();function ep(t){return t.length>1?" ("+function(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return tt(t.token)}).join(" -> ")+")":""}function np(t,e,n,i){var r=[e],o=n(r),a=i?function(t,e){var n=o+" caused by: "+(e instanceof Error?e.message:e),i=Error(n);return i[Kd]=e,i}(0,i):Error(o);return a.addKey=ip,a.keys=r,a.injectors=[t],a.constructResolvingMessage=n,a[Kd]=i,a}function ip(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function rp(t,e){for(var n=[],i=0,r=e.length;i<r;i++){var o=e[i];n.push(o&&0!=o.length?o.map(tt).join(" "):"?")}return Error("Cannot resolve all parameters for '"+tt(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+tt(t)+"' is decorated with Injectable.")}var op=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!");this.displayName=tt(this.token)}return t.get=function(t){return ap.get(ui(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return ap.numberOfKeys},enumerable:!0,configurable:!0}),t}(),ap=new(function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof op)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new op(t,op.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}()),sp=new(function(){function t(t){this.reflectionCapabilities=t}return t.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},t.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},t.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},t.prototype.method=function(t){return this.reflectionCapabilities.method(t)},t.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},t.prototype.resourceUri=function(t){return this.reflectionCapabilities.resourceUri(t)},t.prototype.resolveIdentifier=function(t,e,n,i){return this.reflectionCapabilities.resolveIdentifier(t,e,n,i)},t.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},t}())(new $c),lp=function(){function t(t,e,n){this.key=t,this.optional=e,this.visibility=n}return t.fromKey=function(e){return new t(e,!1,null)},t}(),up=[],cp=function(){return function(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}(),dp=function(){return function(t,e){this.factory=t,this.dependencies=e}}();function pp(t){var e,n;if(t.useClass){var i=ui(t.useClass);e=sp.factory(i),n=mp(i)}else t.useExisting?(e=function(t){return t},n=[lp.fromKey(op.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return gp(t,e,n)})}return mp(t)}(t.useFactory,t.deps)):(e=function(){return t.useValue},n=up);return new dp(e,n)}function hp(t){return new cp(op.get(t.provide),[pp(t)],t.multi||!1)}function fp(t){var e=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e.get(i.key.id);if(r){if(i.multiProvider!==r.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+r+" "+i);if(i.multiProvider)for(var o=0;o<i.resolvedFactories.length;o++)r.resolvedFactories.push(i.resolvedFactories[o]);else e.set(i.key.id,i)}else{var a;a=i.multiProvider?new cp(i.key,i.resolvedFactories.slice(),i.multiProvider):i,e.set(i.key.id,a)}}return e}(function t(e,n){return e.forEach(function(e){if(e instanceof Bc)n.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)n.push(e);else{if(!(e instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e);t(e,n)}}),n}(t,[]).map(hp),new Map);return Array.from(e.values())}function mp(t){var e=sp.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw rp(t,e);return e.map(function(n){return gp(t,n,e)})}function gp(t,e,n){var i=null,r=!1;if(!Array.isArray(e))return vp(e instanceof yt?e.token:e,r,null);for(var o=null,a=0;a<e.length;++a){var s=e[a];s instanceof Bc?i=s:s instanceof yt?i=s.token:s instanceof bt?r=!0:s instanceof _t||s instanceof wt?o=s:s instanceof x&&(i=s)}if(null!=(i=ui(i)))return vp(i,r,o);throw rp(t,n)}function vp(t,e,n){return new lp(op.get(t),e,n)}var yp=new Object,bp=function(){function t(){}return t.resolve=function(t){return fp(t)},t.resolveAndCreate=function(e,n){var i=t.resolve(e);return t.fromResolvedProviders(i,n)},t.fromResolvedProviders=function(t,e){return new _p(t,e)},t}(),_p=function(){function t(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;var n=t.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var i=0;i<n;i++)this.keyIds[i]=t[i].key.id,this.objs[i]=yp}return t.prototype.get=function(t,e){return void 0===e&&(e=pi),this._getByKey(op.get(t),null,e)},t.prototype.resolveAndCreateChild=function(t){var e=bp.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new t(e);return n.parent=this,n},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(bp.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype.getProviderAtIndex=function(t){if(t<0||t>=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw np(this,t.key,function(t){return"Cannot instantiate cyclic dependency!"+ep(t)});return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])},t.prototype._instantiate=function(t,e){var n,r,o,a=this,s=e.factory;try{n=e.dependencies.map(function(t){return a._getByReflectiveDependency(t)})}catch(l){throw l.addKey&&l.addKey(this,t.key),l}try{r=s.apply(void 0,Object(i.i)(n))}catch(l){throw np(this,t.key,function(t){var e=tt(t[0].token);return o.message+": Error during instantiation of "+e+"!"+ep(t)+"."},o=l)}return r},t.prototype._getByReflectiveDependency=function(t){return this._getByKey(t.key,t.visibility,t.optional?null:pi)},t.prototype._getByKey=function(e,n,i){return e===t.INJECTOR_KEY?this:n instanceof _t?this._getByKeySelf(e,i):this._getByKeyDefault(e,i,n)},t.prototype._getObjByKeyId=function(t){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===yp&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return yp},t.prototype._throwOrNull=function(t,e){if(e!==pi)return e;throw function(t,e){return np(t,e,function(t){return"No provider for "+tt(t[0].token)+"!"+ep(t)})}(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._getObjByKeyId(t.id);return n!==yp?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,i){var r;for(r=i instanceof wt?this.parent:this;r instanceof t;){var o=r,a=o._getObjByKeyId(e.id);if(a!==yp)return a;r=o.parent}return null!==r?r.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(t,e){for(var n=new Array(t._providers.length),i=0;i<t._providers.length;++i)n[i]=' "'+t.getProviderAtIndex(i).key.displayName+'" ';return n}(this).join(", ")+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t.INJECTOR_KEY=op.get(mi),t}();function wp(t){return!!t&&"function"==typeof t.then}function Cp(t){return!!t&&"function"==typeof t.subscribe}var xp=new x("Application Initializer"),Ep=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();wp(r)&&e.push(r)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),Sp=new x("AppId");function Op(){return""+Tp()+Tp()+Tp()}var kp={provide:Sp,useFactory:Op,deps:[]};function Tp(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Pp=new x("Platform Initializer"),Ip=new x("Platform ID"),Mp=new x("appBootstrapListener"),Rp=new x("Application Packages Root URL"),Dp=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}(),Ap=function(){return function(t,e){this.ngModuleFactory=t,this.componentFactories=e}}();function jp(){throw new Error("Runtime compiler is not loaded")}var Lp,Np,Vp=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw jp()},t.prototype.compileModuleAsync=function(t){throw jp()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw jp()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw jp()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Fp=new x("compilerOptions"),Hp=function(){return function(){}}();function Up(){var t=$.wtf;return!(!t||!(Lp=t.trace)||(Np=Lp.events,0))}function zp(t,e){return void 0===e&&(e=null),Np.createScope(t,e)}function Bp(t,e){return Lp.leaveScope(t,e),e}function Wp(t,e){return Lp.beginTimeRange(t,e)}function Gp(t){Lp.endTimeRange(t)}var qp=Up();function Yp(t,e){return null}var $p=qp?zp:function(t,e){return Yp},Kp=qp?Bp:function(t,e){return e},Zp=qp?Wp:function(t,e){return null},Qp=qp?Gp:function(t){return null},Xp=function(){function t(t){var e,n=t.enableLongStackTrace,i=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ic(!1),this.onMicrotaskEmpty=new ic(!1),this.onStable=new ic(!1),this.onError=new ic(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,i,r,o,a){try{return nh(e),t.invokeTask(i,r,o,a)}finally{ih(e)}},onInvoke:function(t,n,i,r,o,a,s){try{return nh(e),t.invoke(i,r,o,a,s)}finally{ih(e)}},onHasTask:function(t,n,i,r){t.hasTask(i,r),n===i&&("microTask"==r.change?(e.hasPendingMicrotasks=r.microTask,eh(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:function(t,n,i,r){return t.handleError(i,r),e.runOutsideAngular(function(){return e.onError.emit(r)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,i){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,th,Jp,Jp);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function Jp(){}var th={};function eh(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 nh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ih(t){t._nesting--,eh(t)}var rh=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ic,this.onMicrotaskEmpty=new ic,this.onStable=new ic,this.onError=new ic}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),oh=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=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(){Xp.assertNotInAngularZone(),X(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())X(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}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var i=this,r=-1;e&&e>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(t){return t.timeoutId!==r}),t(i._didWork,i.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),ah=function(){function t(){this._applications=new Map,uh.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),uh.findTestabilityInTree(this,t,e)},Object(i.c)([Object(i.f)("design:paramtypes",[])],t)}();function sh(t){uh=t}var lh,uh=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}());function ch(t,e,n){return Promise.resolve(new Vu(n))}var dh=new x("AllowMultipleToken"),ph=function(){return function(t,e){this.name=t,this.token=e}}();function hh(t){if(lh&&!lh.destroyed&&!lh.injector.get(dh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");lh=t.get(yh);var e=t.get(Pp,null);return e&&e.forEach(function(t){return t()}),lh}function fh(t,e,n){void 0===n&&(n=[]);var i="Platform: "+e,r=new x(i);return function(e){void 0===e&&(e=[]);var o=vh();if(!o||o.injector.get(dh,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var a=n.concat(e).concat({provide:r,useValue:!0});hh(mi.create({providers:a,name:i}))}return mh(r)}}function mh(t){var e=vh();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}function gh(){lh&&!lh.destroyed&&lh.destroy()}function vh(){return lh&&!lh.destroyed?lh:null}var yh=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,i=this,r="noop"===(n=e?e.ngZone:void 0)?new rh:("zone.js"===n?void 0:n)||new Xp({enableLongStackTrace:Pl()}),o=[{provide:Xp,useValue:r}];return r.run(function(){var e=mi.create({providers:o,parent:i.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(tp,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return wh(i._modules,n)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,r){try{var o=((a=n.injector.get(Ep)).runInitializers(),a.donePromise.then(function(){return i._moduleDoBootstrap(n),n}));return wp(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(s){throw e.runOutsideAngular(function(){return t.handleError(s)}),s}var a}(a,r)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var i=bh({},e);return function(t,e,n){return t.get(Hp).createCompiler([e]).compileModuleAsync(n)}(this.injector,i,t).then(function(t){return n.bootstrapModuleFactory(t,i)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(_h);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+tt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function bh(t,e){return Array.isArray(e)?e.reduce(bh,t):Object(i.a)({},t,e)}var _h=function(){function t(t,e,n,i,r,o){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Pl(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new a.a(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),d=new a.a(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){Xp.assertNotInAngularZone(),X(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Xp.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(c,d.pipe(Object(l.a)()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Xs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n instanceof rl?null:this._injector.get(Ii),o=n.create(mi.NULL,[],e||n.selector,r);o.onDestroy(function(){i._unloadComponent(o)});var a=o.injector.get(oh,null);return a&&o.injector.get(ah).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Pl()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(i){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(i)})}finally{this._runningTick=!1,Kp(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;wh(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Mp,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),wh(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=$p("ApplicationRef#tick()"),t}();function wh(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ch=function(){return function(){}}(),xh=new Map;function Eh(t,e){var n=xh.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);xh.set(t,e)}function Sh(t){var e=xh.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}var Oh=function(){function t(){this.dirty=!0,this._results=[],this.changes=new ic,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Q()]=function(){return this._results[Q()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var i=Array.isArray(n)?t(n):n;return e.concat(i)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),kh=function(){return function(){}}(),Th={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ph=function(){function t(t,e){this._compiler=t,this._config=e||Th}return t.prototype.load=function(t){return this._compiler instanceof Vp?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=Object(i.h)(t.split("#"),2),o=r[0],a=r[1];return void 0===a&&(a="default"),n("crnd")(o).then(function(t){return t[a]}).then(function(t){return Ih(t,o,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=Object(i.h)(t.split("#"),2),r=e[0],o=e[1],a="NgFactory";return void 0===o&&(o="default",a=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+a]}).then(function(t){return Ih(t,r,o)})},t}();function Ih(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Mh=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Dh(t,ol)},t}(),Rh=function(t,e){return function(t,e,n,r){var o;Qa||(Qa=function(t){function n(e,n,i){var r=t.call(this)||this;return r._lContainer=e,r._hostTNode=n,r._hostView=i,r._viewRefs=[],r}return Object(i.d)(n,t),Object.defineProperty(n.prototype,"element",{get:function(){return ts(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new ns(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var t=Vn(this._hostTNode,this._hostView),e=Ve(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.injectorIndex;)r=r.parent;return r}for(var o=Ne(t),a=e,s=e[Wt];o>1;)s=(a=a[te])[Wt],o--;return s}(t,this._hostView,this._hostTNode);return je(t)&&null!=n?new ns(n,e):new fi},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[me].length;)this.remove(0)},n.prototype.get=function(t){return this._viewRefs[t]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[me].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(t,e,n){var i=this._adjustIndex(n),r=t.createEmbeddedView(e||{},this._lContainer,this._hostTNode,this._hostView,i);return r.attachToViewContainerRef(this),this._viewRefs.splice(i,0,r),r},n.prototype.createComponent=function(t,e,n,i,r){var o=n||this.parentInjector;!r&&o&&(r=o.get(Ii,null));var a=t.create(o,i,void 0,r);return this.insert(a.hostView,e),a},n.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t._view,i=this._adjustIndex(e);return Yi(n,this._lContainer,this._hostView,i,this._hostTNode.index),qi(n,!0,ar(i,this._lContainer[me],this._lContainer[ge])),t.attachToViewContainerRef(this),this._viewRefs.splice(i,0,t),t},n.prototype.move=function(t,e){var n=this.indexOf(t);return this.detach(n),this.insert(t,this._adjustIndex(e)),t},n.prototype.indexOf=function(t){return this._viewRefs.indexOf(t)},n.prototype.remove=function(t){var e=this._adjustIndex(t,-1);Ki(this._lContainer,this._hostTNode,e),this._viewRefs.splice(e,1)},n.prototype.detach=function(t){var e=this._adjustIndex(t,-1);return $i(this._lContainer,e,!!this._hostTNode.detached),this._viewRefs.splice(e,1)[0]||null},n.prototype._adjustIndex=function(t,e){return void 0===e&&(e=0),null==t?this._lContainer[me].length+e:t},n}(t));var a=r[n.index];if(Pe(a))(o=a)[fe]=-1;else{var s=r[Kt].createComment("");if(Ie(r)){var l=r[Kt],u=xe(n,r);nr(l,ir(l,u),s,function(t,e){return ji(t)?t.nextSibling(e):e.nextSibling}(l,u))}else rr(s,n,r);r[n.index]=o=na(a,n,r,s,!0),ma(r,n.index,o)}return new Qa(o,n,r)}(t,e,an(),mn())},Dh=ai,Ah=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Lh()},t}(),jh=function(){return is(an(),mn(),null)},Lh=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},Nh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e}(Ah),Vh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e}(Nh),Fh=function(){return function(t,e){this.name=t,this.callback=e}}(),Hh=function(){function t(t,e,n){this.nativeNode=t,this._debugContext=n,this.listeners=[],this.parent=null,e&&e instanceof Uh&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Uh=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return Object(i.d)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,Object(i.i)([o+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return Bh(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Wh(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Hh);function zh(t){return t.map(function(t){return t.nativeElement})}function Bh(t,e,n){t.childNodes.forEach(function(t){t instanceof Uh&&(e(t)&&n.push(t),Bh(t,e,n))})}function Wh(t,e,n){t instanceof Uh&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Uh&&Wh(t,e,n)})}var Gh=new Map;function qh(t){return Gh.get(t)||null}function Yh(t){Gh.set(t.nativeNode,t)}var $h=function(){function t(){}return t.prototype.supports=function(t){return pe(t)},t.prototype.create=function(t){return new Zh(t)},t}(),Kh=function(t,e){return e},Zh=function(){function t(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=t||Kh}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var o=!n||e&&e.currentIndex<tf(n,i,r)?e:n,a=tf(o,i,r),s=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)i++;else{r||(r=[]);var l=a-i,u=s-i;if(l!=u){for(var c=0;c<l;c++){var d=c<r.length?r[c]:r[c]=0,p=d+c;u<=p&&p<l&&(r[c]=d+1)}r[o.previousIndex]=u-l}}a!==s&&t(o,a,s)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!pe(t))throw new Error("Error trying to diff '"+tt(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,i,r,o=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)r=this._trackByFn(s,i=t[s]),null!==o&&J(o.trackById,r)?(a&&(o=this._verifyReinsertion(o,i,r,s)),J(o.item,i)||this._addIdentityChange(o,i)):(o=this._mismatch(o,i,r,s),a=!0),o=o._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=t[Q()](),r=void 0;!(r=i.next()).done;)e(r.value)}(t,function(t){r=e._trackByFn(n,t),null!==o&&J(o.trackById,r)?(a&&(o=e._verifyReinsertion(o,t,r,n)),J(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,r,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;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=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,i){var r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(J(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(J(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new Qh(e,n),r,i),t},t.prototype._verifyReinsertion=function(t,e,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t},t.prototype._truncate=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)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=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 Jh),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=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},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Jh),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},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),Qh=function(){return function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),Xh=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=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)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&J(n.trackById,t))return n;return null},t.prototype.remove=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}(),Jh=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Xh,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function tf(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+e+r}var ef=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||he(t)},t.prototype.create=function(){return new nf},t}(),nf=function(){function 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 Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||he(t)))throw new Error("Error trying to diff '"+tt(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=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 r=e._getOrCreateRecordForKey(i,t);n=e._insertBeforeOrAppend(n,r)}}),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},t.prototype._insertBeforeOrAppend=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},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var o=new rf(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},t.prototype._reset=function(){if(this.isDirty){var t=void 0;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}},t.prototype._maybeAddToChanges=function(t,e){J(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),rf=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),of=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var i=n.factories.slice();e=e.concat(i)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new wt,new bt]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=b({providedIn:"root",factory:function(){return new t([new $h])}}),t}(),af=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var i=n.factories.slice();e=e.concat(i)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new wt,new bt]]}},t.prototype.find=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 '"+t+"'")},t.ngInjectableDef=b({providedIn:"root",factory:function(){return new t([new ef])}}),t}(),sf=[new ef],lf=new of([new $h]),uf=new af(sf),cf=fh(null,"core",[{provide:Ip,useValue:"unknown"},{provide:yh,deps:[mi]},{provide:ah,deps:[]},{provide:Dp,deps:[]}]),df=new x("LocaleId"),pf=new x("Translations"),hf=new x("TranslationsFormat"),ff=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}({});function mf(){return lf}function gf(){return uf}function vf(t){return t||"en-US"}var yf=[{provide:_h,useClass:_h,deps:[Xp,Dp,mi,tp,nl,Ep]},{provide:Ep,useClass:Ep,deps:[[new bt,xp]]},{provide:Vp,useClass:Vp,deps:[]},kp,{provide:of,useFactory:mf,deps:[]},{provide:af,useFactory:gf,deps:[]},{provide:df,useFactory:vf,deps:[[new yt(df),new bt,new wt]]}],bf=function(){return function(t){}}(),_f=!0,wf=!1;function Cf(t,e,n){var i=t.state,r=1792&i;return r===e?(t.state=-1793&i|n,t.initIndex=-1,!0):r===n}function xf(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Ef(t,e){return t.nodes[e]}function Sf(t,e){return t.nodes[e]}function Of(t,e){return t.nodes[e]}function kf(t,e){return t.nodes[e]}function Tf(t,e){return t.nodes[e]}var Pf=function(){return function(){}}(),If={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Mf(t,e,n,i){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return i&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return Rf(n,e),n}(r,t)}function Rf(t,e){t[$d]=e,t[Zd]=e.logError.bind(e)}function Df(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Af=function(){},jf=new Map;function Lf(t){var e=jf.get(t);return e||(e=tt(t)+"_"+jf.size,jf.set(t,e)),e}function Nf(t,e,n,i){if(ce.isWrapped(i)){i=ce.unwrap(i);var r=t.def.nodes[e].bindingIndex+n,o=ce.unwrap(t.oldValues[r]);t.oldValues[r]=new ce(o)}return i}var Vf="$$undefined",Ff="$$empty";function Hf(t){return{id:Vf,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var Uf=0;function zf(t,e,n,i){return!(!(2&t.state)&&J(t.oldValues[e.bindingIndex+n],i))}function Bf(t,e,n,i){return!!zf(t,e,n,i)&&(t.oldValues[e.bindingIndex+n]=i,!0)}function Wf(t,e,n,i){var r=t.oldValues[e.bindingIndex+n];if(1&t.state||!ue(r,i)){var o=e.bindings[n].name;throw Mf(If.createDebugContext(t,e.nodeIndex),o+": "+r,o+": "+i,0!=(1&t.state))}}function Gf(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function qf(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Yf(t,e,n,i){try{return Gf(33554432&t.def.nodes[e].flags?Sf(t,e).componentView:t),If.handleEvent(t,e,n,i)}catch(r){t.root.errorHandler.handleError(r)}}function $f(t){return t.parent?Sf(t.parent,t.parentNodeDef.nodeIndex):null}function Kf(t){return t.parent?t.parentNodeDef.parent:null}function Zf(t,e){switch(201347067&e.flags){case 1:return Sf(t,e.nodeIndex).renderElement;case 2:return Ef(t,e.nodeIndex).renderText}}function Qf(t,e){return t?t+":"+e:e}function Xf(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Jf(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function tm(t){return 1<<t%32}function em(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=Object(i.h)(t,2),a=o[0],s=o[1];"number"==typeof a?(e[a]=s,n|=tm(a)):r[a]=s}),{matchedQueries:e,references:r,matchedQueryIds:n}}function nm(t,e){return t.map(function(t){var n,r,o;return Array.isArray(t)?(o=(n=Object(i.h)(t,2))[0],r=n[1]):(o=0,r=t),r&&("function"==typeof r||"object"==typeof r)&&e&&Object.defineProperty(r,ci,{value:e,configurable:!0}),{flags:o,token:r,tokenKey:Lf(r)}})}function im(t,e,n){var i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===G.Native?Sf(t,n.renderParent.nodeIndex).renderElement:void 0:e}var rm=new WeakMap;function om(t){var e=rm.get(t);return e||((e=t(function(){return Af})).factory=t,rm.set(t,e)),e}function am(t,e,n,i,r){3===e&&(n=t.renderer.parentNode(Zf(t,t.def.lastRenderRootNode))),sm(t,e,0,t.def.nodes.length-1,n,i,r)}function sm(t,e,n,i,r,o,a){for(var s=n;s<=i;s++){var l=t.def.nodes[s];11&l.flags&&um(t,l,e,r,o,a),s+=l.childCount}}function lm(t,e,n,i,r,o){for(var a=t;a&&!Xf(a);)a=a.parent;for(var s=a.parent,l=Kf(a),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var d=s.def.nodes[c];d.ngContentIndex===e&&um(s,d,n,i,r,o),c+=d.childCount}if(!s.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)cm(t,p[c],n,i,r,o)}}function um(t,e,n,i,r,o){if(8&e.flags)lm(t,e.ngContent.index,n,i,r,o);else{var a=Zf(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&cm(t,a,n,i,r,o),32&e.bindingFlags&&cm(Sf(t,e.nodeIndex).componentView,a,n,i,r,o)):cm(t,a,n,i,r,o),16777216&e.flags)for(var s=Sf(t,e.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)am(s[l],n,i,r,o);1&e.flags&&!e.element.name&&sm(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,i,r,o)}}function cm(t,e,n,i,r,o){var a=t.renderer;switch(n){case 1:a.appendChild(i,e);break;case 2:a.insertBefore(i,e,r);break;case 3:a.removeChild(i,e);break;case 0:o.push(e)}}var dm=/^:([^:]+):(.+)$/;function pm(t){if(":"===t[0]){var e=t.match(dm);return[e[1],e[2]]}return["",t]}function hm(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function fm(t,e){for(var n="",i=0;i<2*t;i+=2)n=n+e[i]+gm(e[i+1]);return n+e[2*t]}function mm(t,e,n,i,r,o,a,s,l,u,c,d,p,h,f,m,g,v,y,b){switch(t){case 1:return e+gm(n)+i;case 2:return e+gm(n)+i+gm(r)+o;case 3:return e+gm(n)+i+gm(r)+o+gm(a)+s;case 4:return e+gm(n)+i+gm(r)+o+gm(a)+s+gm(l)+u;case 5:return e+gm(n)+i+gm(r)+o+gm(a)+s+gm(l)+u+gm(c)+d;case 6:return e+gm(n)+i+gm(r)+o+gm(a)+s+gm(l)+u+gm(c)+d+gm(p)+h;case 7:return e+gm(n)+i+gm(r)+o+gm(a)+s+gm(l)+u+gm(c)+d+gm(p)+h+gm(f)+m;case 8:return e+gm(n)+i+gm(r)+o+gm(a)+s+gm(l)+u+gm(c)+d+gm(p)+h+gm(f)+m+gm(g)+v;case 9:return e+gm(n)+i+gm(r)+o+gm(a)+s+gm(l)+u+gm(c)+d+gm(p)+h+gm(f)+m+gm(g)+v+gm(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function gm(t){return null!=t?t.toString():""}var vm=[],ym={};function bm(t,e,n,i,r,o){t|=1;var a=em(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?om(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Af},provider:null,text:null,query:null,ngContent:null}}function _m(t,e,n,r,o,a,s,l,u,c,d,p){var h;void 0===s&&(s=[]),c||(c=Af);var f=em(n),m=f.matchedQueries,g=f.references,v=f.matchedQueryIds,y=null,b=null;a&&(y=(h=Object(i.h)(pm(a),2))[0],b=h[1]),l=l||[];for(var _=new Array(l.length),w=0;w<l.length;w++){var C=Object(i.h)(l[w],3),x=C[0],E=C[1],S=C[2],O=Object(i.h)(pm(E),2),k=O[0],T=O[1],P=void 0,I=void 0;switch(15&x){case 4:I=S;break;case 1:case 8:P=S}_[w]={flags:x,ns:k,name:T,nonMinifiedName:T,securityContext:P,suffix:I}}u=u||[];var M=new Array(u.length);for(w=0;w<u.length;w++){var R=Object(i.h)(u[w],2);M[w]={type:0,target:R[0],eventName:R[1],propName:null}}var D=(s=s||[]).map(function(t){var e=Object(i.h)(t,2),n=e[0],r=e[1],o=Object(i.h)(pm(n),2);return[o[0],o[1],r]});return p=function(t){if(t&&t.id===Vf){var e=null!=t.encapsulation&&t.encapsulation!==G.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Uf++:Ff}return t&&t.id===Ff&&(t=null),t||null}(p),d&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:v,references:g,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:hm(_),outputs:M,element:{ns:y,name:b,attrs:D,template:null,componentProvider:null,componentView:d||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Af},provider:null,text:null,query:null,ngContent:null}}function wm(t,e,n){var r,o=n.element,a=t.root.selectorOrNode,s=t.renderer;if(t.parent||!a){r=o.name?s.createElement(o.name,o.ns):s.createComment("");var l=im(t,e,n);l&&s.appendChild(l,r)}else r=s.selectRootElement(a,!!o.componentRendererType&&o.componentRendererType.encapsulation===G.ShadowDom);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var c=Object(i.h)(o.attrs[u],3);s.setAttribute(r,c[1],c[2],c[0])}return r}function Cm(t,e,n,i){for(var r=0;r<n.outputs.length;r++){var o=n.outputs[r],a=xm(t,n.nodeIndex,Qf(o.target,o.eventName)),s=o.target,l=t;"component"===o.target&&(s=null,l=e);var u=l.renderer.listen(s||i,o.eventName,a);t.disposables[n.outputIndex+r]=u}}function xm(t,e,n){return function(i){return Yf(t,e,n,i)}}function Em(t,e,n,i){if(!Bf(t,e,n,i))return!1;var r=e.bindings[n],o=Sf(t,e.nodeIndex),a=o.renderElement,s=r.name;switch(15&r.flags){case 1:!function(t,e,n,i,r,o){var a=e.securityContext,s=a?t.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=t.renderer;null!=o?l.setAttribute(n,r,s,i):l.removeAttribute(n,r,i)}(t,r,a,r.ns,s,i);break;case 2:!function(t,e,n,i){var r=t.renderer;i?r.addClass(e,n):r.removeClass(e,n)}(t,a,s,i);break;case 4:!function(t,e,n,i,r){var o=t.root.sanitizer.sanitize(Dc.STYLE,r);if(null!=o){o=o.toString();var a=e.suffix;null!=a&&(o+=a)}else o=null;var s=t.renderer;null!=o?s.setStyle(n,i,o):s.removeStyle(n,i)}(t,r,a,s,i);break;case 8:!function(t,e,n,i,r){var o=e.securityContext,a=o?t.root.sanitizer.sanitize(o,r):r;t.renderer.setProperty(n,i,a)}(33554432&e.flags&&32&r.flags?o.componentView:t,r,a,s,i)}return!0}var Sm=new Object,Om=Lf(mi),km=Lf(hi),Tm=Lf(Ii);function Pm(t,e,n,i){return n=ui(n),{index:-1,deps:nm(i,tt(e)),flags:t,token:e,value:n}}function Im(t){for(var e={},n=[],i=!1,r=0;r<t.length;r++){var o=t[r];o.token===Is&&!0===o.value&&(i=!0),1073741824&o.flags&&n.push(o.token),o.index=r,e[Lf(o.token)]=o}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:i}}function Mm(t,e,n){void 0===n&&(n=mi.THROW_IF_NOT_FOUND);var i,r,o=St(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case Om:case km:case Tm:return t}var s,l=t._def.providersByKey[a];if(l){var u=t._providers[l.index];return void 0===u&&(u=t._providers[l.index]=Rm(t,l)),u===Sm?void 0:u}if((s=w(e.token))&&(i=t,null!=(r=s).providedIn&&(function(t,e){return t._def.modules.indexOf(r.providedIn)>-1}(i)||"root"===r.providedIn&&i._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},t._providers[c]=Sm,t._providers[c]=Rm(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{St(o)}}function Rm(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Mm(t,n[0]));case 2:return new e(Mm(t,n[0]),Mm(t,n[1]));case 3:return new e(Mm(t,n[0]),Mm(t,n[1]),Mm(t,n[2]));default:for(var o=new Array(r),a=0;a<r;a++)o[a]=Mm(t,n[a]);return new(e.bind.apply(e,Object(i.i)([void 0],o)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(Mm(t,n[0]));case 2:return e(Mm(t,n[0]),Mm(t,n[1]));case 3:return e(Mm(t,n[0]),Mm(t,n[1]),Mm(t,n[2]));default:for(var o=Array(r),a=0;a<r;a++)o[a]=Mm(t,n[a]);return e.apply(void 0,Object(i.i)(o))}}(t,e.value,e.deps);break;case 2048:n=Mm(t,e.deps[0]);break;case 256:n=e.value}return n===Sm||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Sm:n}function Dm(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var i=n[e];return i.viewContainerParent=null,Nm(n,e),If.dirtyParentQueries(i),jm(i),i}function Am(t,e,n){var i=e?Zf(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);am(n,2,r,o,void 0)}function jm(t){am(t,3,null,null,void 0)}function Lm(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Nm(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Vm=new Object;function Fm(t,e,n,i,r,o){return new Um(t,e,n,i,r,o)}function Hm(t){return t.viewDefFactory}var Um=function(t){function e(e,n,i,r,o,a){var s=t.call(this)||this;return s.selector=e,s.componentType=n,s._inputs=r,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=i,s}return Object(i.d)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,i){if(!i)throw new Error("ngModule should be provided");var r=om(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,a=If.createRootView(t,e||[],n,r,i,Vm),s=Of(a,o).instance;return n&&a.renderer.setAttribute(Sf(a,0).renderElement,"ng-version",yl.full),new zm(a,new qm(a),s)},e}(Xs),zm=function(t){function e(e,n,i){var r=t.call(this)||this;return r._view=e,r._viewRef=n,r._component=i,r._elDef=r._view.def.nodes[0],r.hostView=n,r.changeDetectorRef=n,r.instance=i,r}return Object(i.d)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new ol(Sf(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Zm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(Qs);function Bm(t,e,n){return new Wm(t,e,n)}var Wm=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new ol(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Zm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=Kf(t),t=t.parent;return t?new Zm(t,e):new Zm(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Dm(this._data,t);If.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new qm(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i},t.prototype.createComponent=function(t,e,n,i,r){var o=n||this.parentInjector;r||t instanceof rl||(r=o.get(Ii));var a=t.create(o,i,void 0,r);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,o,a=t;return o=(n=this._data).viewContainer._embeddedViews,null==(i=e)&&(i=o.length),(r=a._view).viewContainerParent=this._view,Lm(o,i,r),function(t,e){var n=$f(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var i=n.parent;i;)i.childFlags|=4,i=i.parent}}(0,e.parentNodeDef)}}(n,r),If.dirtyParentQueries(r),Am(n,i>0?o[i-1]:null,r),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,i,r,o,a,s=this._embeddedViews.indexOf(t._view);return r=e,a=(o=(n=this._data).viewContainer._embeddedViews)[i=s],Nm(o,i),null==r&&(r=o.length),Lm(o,r,a),If.dirtyParentQueries(a),jm(a),Am(n,r>0?o[r-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Dm(this._data,t);e&&If.destroyView(e)},t.prototype.detach=function(t){var e=Dm(this._data,t);return e?new qm(e):null},t}();function Gm(t){return new qm(t)}var qm=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return am(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Gf(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{If.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){If.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),If.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,jm(this._view),If.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Ym(t,e){return new $m(t,e)}var $m=function(t){function e(e,n){var i=t.call(this)||this;return i._parentView=e,i._def=n,i}return Object(i.d)(e,t),e.prototype.createEmbeddedView=function(t){return new qm(If.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new ol(Sf(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(rc);function Km(t,e){return new Zm(t,e)}var Zm=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=mi.THROW_IF_NOT_FOUND),If.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Lf(t)},e)},t}();function Qm(t,e){var n=t.def.nodes[e];if(1&n.flags){var i=Sf(t,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return Ef(t,n.nodeIndex).renderText;if(20240&n.flags)return Of(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Xm(t){return new Jm(t.renderer)}var Jm=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Object(i.h)(pm(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),i=this.delegate.nextSibling(t),r=0;r<e.length;r++)this.delegate.insertBefore(n,e[r],i)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=this.delegate.parentNode(n);this.delegate.removeChild(i,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=Object(i.h)(pm(e),2),o=r[0],a=r[1];null!=n?this.delegate.setAttribute(t,a,n,o):this.delegate.removeAttribute(t,a,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function tg(t,e,n,i){return new eg(t,e,n,i)}var eg=function(){function t(t,e,n,i){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),i=0;i<e.providers.length;i++){var r=e.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=Rm(t,r))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=mi.THROW_IF_NOT_FOUND),void 0===n&&(n=xt.Default);var i=0;return n&xt.SkipSelf?i|=1:n&xt.Self&&(i|=4),Mm(this,{token:t,tokenKey:Lf(t),flags:i},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(nl)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+tt(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,i=new Set,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var o=t._providers[r];if(o&&o!==Sm){var a=o.ngOnDestroy;"function"!=typeof a||i.has(o)||(a.apply(o),i.add(o))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),ng=Lf(cl),ig=Lf(fl),rg=Lf(ol),og=Lf(Mh),ag=Lf(rc),sg=Lf(Ah),lg=Lf(mi),ug=Lf(hi);function cg(t,e,n,r,o,a,s,l){var u=[];if(s)for(var c in s){var d=Object(i.h)(s[c],2);u[d[0]]={flags:8,name:c,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var p=[];if(l)for(var h in l)p.push({type:1,propName:h,target:null,eventName:l[h]});return hg(t,e|=16384,n,r,o,o,a,u,p)}function dg(t,e,n){return hg(-1,t|=16,null,0,e,e,n)}function pg(t,e,n,i,r){return hg(-1,t,e,0,n,i,r)}function hg(t,e,n,i,r,o,a,s,l){var u=em(n),c=u.matchedQueries,d=u.references,p=u.matchedQueryIds;l||(l=[]),s||(s=[]),o=ui(o);var h=nm(a,tt(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:d,ngContentIndex:-1,childCount:i,bindings:s,bindingFlags:hm(s),outputs:l,element:null,provider:{token:r,value:o,deps:h},text:null,query:null,ngContent:null}}function fg(t,e){return yg(t,e)}function mg(t,e){for(var n=t;n.parent&&!Xf(n);)n=n.parent;return bg(n.parent,Kf(n),!0,e.provider.value,e.provider.deps)}function gg(t,e){var n=bg(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i<e.outputs.length;i++){var r=e.outputs[i],o=n[r.propName];if(!Cp(o))throw new Error("@Output "+r.propName+" not initialized in '"+n.constructor.name+"'.");var a=o.subscribe(vg(t,e.parent.nodeIndex,r.eventName));t.disposables[e.outputIndex+i]=a.unsubscribe.bind(a)}return n}function vg(t,e,n){return function(i){return Yf(t,e,n,i)}}function yg(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return bg(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var a=o.length;switch(a){case 0:return r();case 1:return r(wg(t,e,n,o[0]));case 2:return r(wg(t,e,n,o[0]),wg(t,e,n,o[1]));case 3:return r(wg(t,e,n,o[0]),wg(t,e,n,o[1]),wg(t,e,n,o[2]));default:for(var s=Array(a),l=0;l<a;l++)s[l]=wg(t,e,n,o[l]);return r.apply(void 0,Object(i.i)(s))}}(t,e.parent,n,r.value,r.deps);case 2048:return wg(t,e.parent,n,r.deps[0]);case 256:return r.value}}function bg(t,e,n,r,o){var a=o.length;switch(a){case 0:return new r;case 1:return new r(wg(t,e,n,o[0]));case 2:return new r(wg(t,e,n,o[0]),wg(t,e,n,o[1]));case 3:return new r(wg(t,e,n,o[0]),wg(t,e,n,o[1]),wg(t,e,n,o[2]));default:for(var s=new Array(a),l=0;l<a;l++)s[l]=wg(t,e,n,o[l]);return new(r.bind.apply(r,Object(i.i)([void 0],s)))}}var _g={};function wg(t,e,n,i,r){if(void 0===r&&(r=mi.THROW_IF_NOT_FOUND),8&i.flags)return i.token;var o=t;2&i.flags&&(r=null);var a=i.tokenKey;a===sg&&(n=!(!e||!e.element.componentView)),e&&1&i.flags&&(n=!1,e=e.parent);for(var s=t;s;){if(e)switch(a){case ng:return Xm(Cg(s,e,n));case ig:return Cg(s,e,n).renderer;case rg:return new ol(Sf(s,e.nodeIndex).renderElement);case og:return Sf(s,e.nodeIndex).viewContainer;case ag:if(e.element.template)return Sf(s,e.nodeIndex).template;break;case sg:return Gm(Cg(s,e,n));case lg:case ug:return Km(s,e);default:var l=(n?e.element.allProviders:e.element.publicProviders)[a];if(l){var u=Of(s,l.nodeIndex);return u||(u={instance:yg(s,l)},s.nodes[l.nodeIndex]=u),u.instance}}n=Xf(s),e=Kf(s),s=s.parent,4&i.flags&&(s=null)}var c=o.root.injector.get(i.token,_g);return c!==_g||r===_g?c:o.root.ngModule.injector.get(i.token,r)}function Cg(t,e,n){var i;if(n)i=Sf(t,e.nodeIndex).componentView;else for(i=t;i.parent&&!Xf(i);)i=i.parent;return i}function xg(t,e,n,i,r,o){if(32768&n.flags){var a=Sf(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[i].name]=r,524288&n.flags){o=o||{};var s=ce.unwrap(t.oldValues[n.bindingIndex+i]);o[n.bindings[i].nonMinifiedName]=new de(s,r,0!=(2&t.state))}return t.oldValues[n.bindingIndex+i]=r,o}function Eg(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,i=0,r=0;r<n.length;r++){var o=n[r],a=o.parent;for(!a&&o.flags&e&&Og(t,r,o.flags&e,i++),0==(o.childFlags&e)&&(r+=o.childCount);a&&1&a.flags&&r===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(i=Sg(t,a,e,i)),a=a.parent}}function Sg(t,e,n,i){for(var r=e.nodeIndex+1;r<=e.nodeIndex+e.childCount;r++){var o=t.def.nodes[r];o.flags&n&&Og(t,r,o.flags&n,i++),r+=o.childCount}return i}function Og(t,e,n,i){var r=Of(t,e);if(r){var o=r.instance;o&&(If.setCurrentNode(t,e),1048576&n&&xf(t,512,i)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&xf(t,768,i)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function kg(t,e,n){var i=[];for(var r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:tm(e),bindings:i},ngContent:null}}function Tg(t){for(var e=t.def.nodeMatchedQueries;t.parent&&Jf(t);){var n=t.parentNodeDef;t=t.parent;for(var i=n.nodeIndex+n.childCount,r=0;r<=i;r++)67108864&(o=t.def.nodes[r]).flags&&536870912&o.flags&&(o.query.filterId&e)===o.query.filterId&&Tf(t,r).setDirty(),!(1&o.flags&&r+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(r+=o.childCount)}if(134217728&t.def.nodeFlags)for(r=0;r<t.def.nodes.length;r++){var o;134217728&(o=t.def.nodes[r]).flags&&536870912&o.flags&&Tf(t,r).setDirty(),r+=o.childCount}}function Pg(t,e){var n=Tf(t,e.nodeIndex);if(n.dirty){var i,r=void 0;if(67108864&e.flags){var o=e.parent.parent;r=Ig(t,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),i=Of(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(r=Ig(t,0,t.def.nodes.length-1,e.query,[]),i=t.component);n.reset(r);for(var a=e.query.bindings,s=!1,l=0;l<a.length;l++){var u=a[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,s=!0}i[u.propName]=c}s&&n.notifyOnChanges()}}function Ig(t,e,n,i,r){for(var o=e;o<=n;o++){var a=t.def.nodes[o],s=a.matchedQueries[i.id];if(null!=s&&r.push(Mg(t,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&i.filterId)===i.filterId){var l=Sf(t,o);if((a.childMatchedQueries&i.filterId)===i.filterId&&(Ig(t,o+1,o+a.childCount,i,r),o+=a.childCount),16777216&a.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var d=u[c],p=$f(d);p&&p===l&&Ig(d,0,d.def.nodes.length-1,i,r)}var h=l.template._projectedViews;if(h)for(c=0;c<h.length;c++){var f=h[c];Ig(f,0,f.def.nodes.length-1,i,r)}}(a.childMatchedQueries&i.filterId)!==i.filterId&&(o+=a.childCount)}return r}function Mg(t,e,n){if(null!=n)switch(n){case 1:return Sf(t,e.nodeIndex).renderElement;case 0:return new ol(Sf(t,e.nodeIndex).renderElement);case 2:return Sf(t,e.nodeIndex).template;case 3:return Sf(t,e.nodeIndex).viewContainer;case 4:return Of(t,e.nodeIndex).instance}}function Rg(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Dg(t,e,n){var i=im(t,e,n);i&&lm(t,n.ngContent.index,1,i,null,void 0)}function Ag(t,e){return Ng(128,t,new Array(e+1))}function jg(t,e){return Ng(32,t,new Array(e))}function Lg(t,e){for(var n=Object.keys(e),i=n.length,r=new Array(i),o=0;o<i;o++){var a=n[o];r[e[a]]=a}return Ng(64,t,r)}function Ng(t,e,n){for(var i=new Array(n.length),r=0;r<n.length;r++){var o=n[r];i[r]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:hm(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Vg(t,e,n){for(var i=new Array(n.length-1),r=1;r<n.length;r++)i[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Fg(t,e,n){var i,r=t.renderer;i=r.createText(n.text.prefix);var o=im(t,e,n);return o&&r.appendChild(o,i),{renderText:i}}function Hg(t,e){return(null!=t?t.toString():"")+e.suffix}function Ug(t,e,n,i){for(var r=0,o=0,a=0,s=0,l=0,u=null,c=null,d=!1,p=!1,h=null,f=0;f<e.length;f++){var m=e[f];if(m.nodeIndex=f,m.parent=u,m.bindingIndex=r,m.outputIndex=o,m.renderParent=c,a|=m.flags,l|=m.matchedQueryIds,m.element){var g=m.element;g.publicProviders=u?u.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,d=!1,p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(Bg(u,m,e.length),r+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(h=m),20224&m.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var v=0!=(32768&m.flags);0==(8192&m.flags)||v?u.element.publicProviders[Lf(m.provider.token)]=m:(p||(p=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Lf(m.provider.token)]=m),v&&(u.element.componentProvider=m)}if(u?(u.childFlags|=m.flags,u.directChildFlags|=m.flags,u.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(u.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,m.childCount>0)u=m,zg(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&zg(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Af,updateRenderer:i||Af,handleEvent:function(t,n,i,r){return e[n].element.handleEvent(t,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:h}}function zg(t){return 0!=(1&t.flags)&&null===t.element.name}function Bg(t,e,n){var i=e.element&&e.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var r=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Wg(t,e,n,i){var r=Yg(t.root,t.renderer,t,e,n);return $g(r,t.component,i),Kg(r),r}function Gg(t,e,n){var i=Yg(t,t.renderer,null,null,e);return $g(i,n,n),Kg(i),i}function qg(t,e,n,i){var r,o=e.element.componentRendererType;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,Yg(t.root,r,t,e.element.componentProvider,n)}function Yg(t,e,n,i,r){var o=new Array(r.nodes.length),a=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:a,initIndex:-1}}function $g(t,e,n){t.component=e,t.context=n}function Kg(t){var e;Xf(t)&&(e=Sf(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,i=t.nodes,r=0;r<n.nodes.length;r++){var o=n.nodes[r];If.setCurrentNode(t,r);var a=void 0;switch(201347067&o.flags){case 1:var s=wm(t,e,o),l=void 0;if(33554432&o.flags){var u=om(o.element.componentView);l=If.createComponentView(t,o,u,s)}Cm(t,l,o,s),a={renderElement:s,componentView:l,viewContainer:null,template:o.element.template?Ym(t,o):void 0},16777216&o.flags&&(a.viewContainer=Bm(t,o,a));break;case 2:a=Fg(t,e,o);break;case 512:case 1024:case 2048:case 256:(a=i[r])||4096&o.flags||(a={instance:fg(t,o)});break;case 16:a={instance:mg(t,o)};break;case 16384:(a=i[r])||(a={instance:gg(t,o)}),32768&o.flags&&$g(Sf(t,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Oh;break;case 8:Dg(t,e,o),a=void 0}i[r]=a}rv(t,iv.CreateViewNodes),lv(t,201326592,268435456,0)}function Zg(t){Jg(t),If.updateDirectives(t,1),ov(t,iv.CheckNoChanges),If.updateRenderer(t,1),rv(t,iv.CheckNoChanges),t.state&=-97}function Qg(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Cf(t,0,256),Jg(t),If.updateDirectives(t,0),ov(t,iv.CheckAndUpdate),lv(t,67108864,536870912,0);var e=Cf(t,256,512);Eg(t,2097152|(e?1048576:0)),If.updateRenderer(t,0),rv(t,iv.CheckAndUpdate),lv(t,134217728,536870912,0),Eg(t,8388608|((e=Cf(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Cf(t,768,1024)}function Xg(t,e,n,r,o,a,s,l,u,c,d,p,h){return 0===n?function(t,e,n,i,r,o,a,s,l,u,c,d){switch(201347067&e.flags){case 1:return function(t,e,n,i,r,o,a,s,l,u,c,d){var p=e.bindings.length,h=!1;return p>0&&Em(t,e,0,n)&&(h=!0),p>1&&Em(t,e,1,i)&&(h=!0),p>2&&Em(t,e,2,r)&&(h=!0),p>3&&Em(t,e,3,o)&&(h=!0),p>4&&Em(t,e,4,a)&&(h=!0),p>5&&Em(t,e,5,s)&&(h=!0),p>6&&Em(t,e,6,l)&&(h=!0),p>7&&Em(t,e,7,u)&&(h=!0),p>8&&Em(t,e,8,c)&&(h=!0),p>9&&Em(t,e,9,d)&&(h=!0),h}(t,e,n,i,r,o,a,s,l,u,c,d);case 2:return function(t,e,n,i,r,o,a,s,l,u,c,d){var p=!1,h=e.bindings,f=h.length;if(f>0&&Bf(t,e,0,n)&&(p=!0),f>1&&Bf(t,e,1,i)&&(p=!0),f>2&&Bf(t,e,2,r)&&(p=!0),f>3&&Bf(t,e,3,o)&&(p=!0),f>4&&Bf(t,e,4,a)&&(p=!0),f>5&&Bf(t,e,5,s)&&(p=!0),f>6&&Bf(t,e,6,l)&&(p=!0),f>7&&Bf(t,e,7,u)&&(p=!0),f>8&&Bf(t,e,8,c)&&(p=!0),f>9&&Bf(t,e,9,d)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=Hg(n,h[0])),f>1&&(m+=Hg(i,h[1])),f>2&&(m+=Hg(r,h[2])),f>3&&(m+=Hg(o,h[3])),f>4&&(m+=Hg(a,h[4])),f>5&&(m+=Hg(s,h[5])),f>6&&(m+=Hg(l,h[6])),f>7&&(m+=Hg(u,h[7])),f>8&&(m+=Hg(c,h[8])),f>9&&(m+=Hg(d,h[9]));var g=Ef(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return p}(t,e,n,i,r,o,a,s,l,u,c,d);case 16384:return function(t,e,n,i,r,o,a,s,l,u,c,d){var p=Of(t,e.nodeIndex),h=p.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&zf(t,e,0,n)&&(f=!0,m=xg(t,p,e,0,n,m)),g>1&&zf(t,e,1,i)&&(f=!0,m=xg(t,p,e,1,i,m)),g>2&&zf(t,e,2,r)&&(f=!0,m=xg(t,p,e,2,r,m)),g>3&&zf(t,e,3,o)&&(f=!0,m=xg(t,p,e,3,o,m)),g>4&&zf(t,e,4,a)&&(f=!0,m=xg(t,p,e,4,a,m)),g>5&&zf(t,e,5,s)&&(f=!0,m=xg(t,p,e,5,s,m)),g>6&&zf(t,e,6,l)&&(f=!0,m=xg(t,p,e,6,l,m)),g>7&&zf(t,e,7,u)&&(f=!0,m=xg(t,p,e,7,u,m)),g>8&&zf(t,e,8,c)&&(f=!0,m=xg(t,p,e,8,c,m)),g>9&&zf(t,e,9,d)&&(f=!0,m=xg(t,p,e,9,d,m)),m&&h.ngOnChanges(m),65536&e.flags&&xf(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),f}(t,e,n,i,r,o,a,s,l,u,c,d);case 32:case 64:case 128:return function(t,e,n,i,r,o,a,s,l,u,c,d){var p=e.bindings,h=!1,f=p.length;if(f>0&&Bf(t,e,0,n)&&(h=!0),f>1&&Bf(t,e,1,i)&&(h=!0),f>2&&Bf(t,e,2,r)&&(h=!0),f>3&&Bf(t,e,3,o)&&(h=!0),f>4&&Bf(t,e,4,a)&&(h=!0),f>5&&Bf(t,e,5,s)&&(h=!0),f>6&&Bf(t,e,6,l)&&(h=!0),f>7&&Bf(t,e,7,u)&&(h=!0),f>8&&Bf(t,e,8,c)&&(h=!0),f>9&&Bf(t,e,9,d)&&(h=!0),h){var m=kf(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=i),f>2&&(g[2]=r),f>3&&(g[3]=o),f>4&&(g[4]=a),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=i),f>2&&(g[p[2].name]=r),f>3&&(g[p[3].name]=o),f>4&&(g[p[4].name]=a),f>5&&(g[p[5].name]=s),f>6&&(g[p[6].name]=l),f>7&&(g[p[7].name]=u),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=d);break;case 128:var v=n;switch(f){case 1:g=v.transform(n);break;case 2:g=v.transform(i);break;case 3:g=v.transform(i,r);break;case 4:g=v.transform(i,r,o);break;case 5:g=v.transform(i,r,o,a);break;case 6:g=v.transform(i,r,o,a,s);break;case 7:g=v.transform(i,r,o,a,s,l);break;case 8:g=v.transform(i,r,o,a,s,l,u);break;case 9:g=v.transform(i,r,o,a,s,l,u,c);break;case 10:g=v.transform(i,r,o,a,s,l,u,c,d)}}m.value=g}return h}(t,e,n,i,r,o,a,s,l,u,c,d);default:throw"unreachable"}}(t,e,r,o,a,s,l,u,c,d,p,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var i=!1,r=0;r<n.length;r++)Em(t,e,r,n[r])&&(i=!0);return i}(t,e,n);case 2:return function(t,e,n){for(var i=e.bindings,r=!1,o=0;o<n.length;o++)Bf(t,e,o,n[o])&&(r=!0);if(r){var a="";for(o=0;o<n.length;o++)a+=Hg(n[o],i[o]);a=e.text.prefix+a;var s=Ef(t,e.nodeIndex).renderText;t.renderer.setValue(s,a)}return r}(t,e,n);case 16384:return function(t,e,n){for(var i=Of(t,e.nodeIndex),r=i.instance,o=!1,a=void 0,s=0;s<n.length;s++)zf(t,e,s,n[s])&&(o=!0,a=xg(t,i,e,s,n[s],a));return a&&r.ngOnChanges(a),65536&e.flags&&xf(t,256,e.nodeIndex)&&r.ngOnInit(),262144&e.flags&&r.ngDoCheck(),o}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,o=!1,a=0;a<n.length;a++)Bf(t,e,a,n[a])&&(o=!0);if(o){var s=kf(t,e.nodeIndex),l=void 0;switch(201347067&e.flags){case 32:l=n;break;case 64:for(l={},a=0;a<n.length;a++)l[r[a].name]=n[a];break;case 128:var u=n[0],c=n.slice(1);l=u.transform.apply(u,Object(i.i)(c))}s.value=l}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function Jg(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var i=e.nodes[n];if(4&i.flags){var r=Sf(t,n).template._projectedViews;if(r)for(var o=0;o<r.length;o++){var a=r[o];a.state|=32,qf(a,t)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function tv(t,e,n,i,r,o,a,s,l,u,c,d,p){return 0===n?function(t,e,n,i,r,o,a,s,l,u,c,d){var p=e.bindings.length;p>0&&Wf(t,e,0,n),p>1&&Wf(t,e,1,i),p>2&&Wf(t,e,2,r),p>3&&Wf(t,e,3,o),p>4&&Wf(t,e,4,a),p>5&&Wf(t,e,5,s),p>6&&Wf(t,e,6,l),p>7&&Wf(t,e,7,u),p>8&&Wf(t,e,8,c),p>9&&Wf(t,e,9,d)}(t,e,i,r,o,a,s,l,u,c,d,p):function(t,e,n){for(var i=0;i<n.length;i++)Wf(t,e,i,n[i])}(t,e,i),!1}function ev(t,e){if(Tf(t,e.nodeIndex).dirty)throw Mf(If.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function nv(t){if(!(128&t.state)){if(ov(t,iv.Destroy),rv(t,iv.Destroy),Eg(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=$f(t);if(e){var n=e.template._projectedViews;n&&(Nm(n,n.indexOf(t)),If.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var i=t.def.nodes[n];1&i.flags?t.renderer.destroyNode(Sf(t,n).renderElement):2&i.flags?t.renderer.destroyNode(Ef(t,n).renderText):(67108864&i.flags||134217728&i.flags)&&Tf(t,n).destroy()}}(t),Xf(t)&&t.renderer.destroy(),t.state|=128}}var iv=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function rv(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];33554432&r.flags?av(Sf(t,i).componentView,e):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function ov(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];if(16777216&r.flags)for(var o=Sf(t,i).viewContainer._embeddedViews,a=0;a<o.length;a++)av(o[a],e);else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function av(t,e){var n=t.state;switch(e){case iv.CheckNoChanges:0==(128&n)&&(12==(12&n)?Zg(t):64&n&&sv(t,iv.CheckNoChangesProjectedViews));break;case iv.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Zg(t):64&n&&sv(t,e));break;case iv.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Qg(t):64&n&&sv(t,iv.CheckAndUpdateProjectedViews));break;case iv.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Qg(t):64&n&&sv(t,e));break;case iv.Destroy:nv(t);break;case iv.CreateViewNodes:Kg(t)}}function sv(t,e){ov(t,e),rv(t,e)}function lv(t,e,n,i){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var r=t.def.nodes.length,o=0;o<r;o++){var a=t.def.nodes[o];if(a.flags&e&&a.flags&n)switch(If.setCurrentNode(t,a.nodeIndex),i){case 0:Pg(t,a);break;case 1:ev(t,a)}a.childFlags&e&&a.childFlags&n||(o+=a.childCount)}}var uv=!1;function cv(){if(!uv){uv=!0;var t=Pl()?{setCurrentNode:Dv,createRootView:pv,createEmbeddedView:fv,createComponentView:mv,createNgModuleRef:gv,overrideProvider:_v,overrideComponentView:wv,clearOverrides:Cv,checkAndUpdateView:Ov,checkNoChangesView:kv,destroyView:Tv,createDebugContext:function(t,e){return new Bv(t,e)},handleEvent:Av,updateDirectives:jv,updateRenderer:Lv}:{setCurrentNode:function(){},createRootView:dv,createEmbeddedView:Wg,createComponentView:qg,createNgModuleRef:tg,overrideProvider:Af,overrideComponentView:Af,clearOverrides:Af,checkAndUpdateView:Qg,checkNoChangesView:Zg,destroyView:nv,createDebugContext:function(t,e){return new Bv(t,e)},handleEvent:function(t,e,n,i){return t.def.handleEvent(t,e,n,i)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Ev:Sv,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Ev:Sv,t)}};If.setCurrentNode=t.setCurrentNode,If.createRootView=t.createRootView,If.createEmbeddedView=t.createEmbeddedView,If.createComponentView=t.createComponentView,If.createNgModuleRef=t.createNgModuleRef,If.overrideProvider=t.overrideProvider,If.overrideComponentView=t.overrideComponentView,If.clearOverrides=t.clearOverrides,If.checkAndUpdateView=t.checkAndUpdateView,If.checkNoChangesView=t.checkNoChangesView,If.destroyView=t.destroyView,If.resolveDep=wg,If.createDebugContext=t.createDebugContext,If.handleEvent=t.handleEvent,If.updateDirectives=t.updateDirectives,If.updateRenderer=t.updateRenderer,If.dirtyParentQueries=Tg}}function dv(t,e,n,i,r,o){var a=r.injector.get(pl);return Gg(hv(t,r,a,e,n),i,o)}function pv(t,e,n,i,r,o){var a=r.injector.get(pl),s=hv(t,r,new Yv(a),e,n),l=xv(i);return Gv(Rv.create,Gg,null,[s,l,o])}function hv(t,e,n,i,r){var o=e.injector.get(Ac),a=e.injector.get(tp),s=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:i,selectorOrNode:r,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function fv(t,e,n,i){var r=xv(n);return Gv(Rv.create,Wg,null,[t,e,r,i])}function mv(t,e,n,i){return n=bv.get(e.element.componentProvider.provider.token)||xv(n),Gv(Rv.create,qg,null,[t,e,n,i])}function gv(t,e,n,i){return tg(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===vv.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var i=vv.get(t.token);3840&t.flags&&i&&(e=!0,n=n||i.deprecatedBehavior)}),t.modules.forEach(function(t){yv.forEach(function(i,r){w(r).providedIn===t&&(e=!0,n=n||i.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var i=t.providers[e];n&&(i.flags|=4096);var r=vv.get(i.token);r&&(i.flags=-3841&i.flags|r.flags,i.deps=nm(r.deps),i.value=r.value)}if(yv.size>0){var o=new Set(t.modules);yv.forEach(function(e,i){if(o.has(w(i).providedIn)){var r={token:i,flags:e.flags|(n?4096:0),deps:nm(e.deps),value:e.value,index:t.providers.length};t.providers.push(r),t.providersByKey[Lf(i)]=r}})}}(t=t.factory(function(){return Af})),t):t}(i))}var vv=new Map,yv=new Map,bv=new Map;function _v(t){var e;vv.set(t.token,t),"function"==typeof t.token&&(e=w(t.token))&&"function"==typeof e.providedIn&&yv.set(t.token,t)}function wv(t,e){var n=om(Hm(e)),i=om(n.nodes[0].element.componentView);bv.set(t,i)}function Cv(){vv.clear(),yv.clear(),bv.clear()}function xv(t){if(0===vv.size)return t;var e=function(t){for(var e=[],n=null,i=0;i<t.nodes.length;i++){var r=t.nodes[i];1&r.flags&&(n=r),n&&3840&r.flags&&vv.has(r.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return Af});for(var n=0;n<e.length;n++)i(t,e[n]);return t;function i(t,e){for(var n=e+1;n<t.nodes.length;n++){var i=t.nodes[n];if(1&i.flags)return;if(3840&i.flags){var r=i.provider,o=vv.get(r.token);o&&(i.flags=-3841&i.flags|o.flags,r.deps=nm(o.deps),r.value=o.value)}}}}function Ev(t,e,n,i,r,o,a,s,l,u,c,d,p){var h=t.def.nodes[e];return Xg(t,h,n,i,r,o,a,s,l,u,c,d,p),224&h.flags?kf(t,e).value:void 0}function Sv(t,e,n,i,r,o,a,s,l,u,c,d,p){var h=t.def.nodes[e];return tv(t,h,n,i,r,o,a,s,l,u,c,d,p),224&h.flags?kf(t,e).value:void 0}function Ov(t){return Gv(Rv.detectChanges,Qg,null,[t])}function kv(t){return Gv(Rv.checkNoChanges,Zg,null,[t])}function Tv(t){return Gv(Rv.destroy,nv,null,[t])}var Pv,Iv,Mv,Rv=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function Dv(t,e){Iv=t,Mv=e}function Av(t,e,n,i){return Dv(t,e),Gv(Rv.handleEvent,t.def.handleEvent,null,[t,e,n,i])}function jv(t,e){if(128&t.state)throw Df(Rv[Pv]);return Dv(t,Uv(t,0)),t.def.updateDirectives(function(t,n,i){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?Nv(t,a,i,r):Vv(t,a,i,r),16384&a.flags&&Dv(t,Uv(t,n)),224&a.flags?kf(t,a.nodeIndex).value:void 0},t)}function Lv(t,e){if(128&t.state)throw Df(Rv[Pv]);return Dv(t,zv(t,0)),t.def.updateRenderer(function(t,n,i){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?Nv(t,a,i,r):Vv(t,a,i,r),3&a.flags&&Dv(t,zv(t,n)),224&a.flags?kf(t,a.nodeIndex).value:void 0},t)}function Nv(t,e,n,r){if(Xg.apply(void 0,Object(i.i)([t,e,n],r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var a={},s=0;s<e.bindings.length;s++){var l=e.bindings[s],u=o[s];8&l.flags&&(a[(h=l.nonMinifiedName,f=void 0,f=h.replace(/[$@]/g,"_"),"ng-reflect-"+(h=f.replace(Fv,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})))]=Hv(u))}var c=e.parent,d=Sf(t,c.nodeIndex).renderElement;if(c.element.name)for(var p in a)null!=(u=a[p])?t.renderer.setAttribute(d,p,u):t.renderer.removeAttribute(d,p);else t.renderer.setValue(d,"bindings="+JSON.stringify(a,null,2))}}var h,f}function Vv(t,e,n,r){tv.apply(void 0,Object(i.i)([t,e,n],r))}var Fv=/([A-Z])/g;function Hv(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Uv(t,e){for(var n=e;n<t.def.nodes.length;n++){var i=t.def.nodes[n];if(16384&i.flags&&i.bindings&&i.bindings.length)return n}return null}function zv(t,e){for(var n=e;n<t.def.nodes.length;n++){var i=t.def.nodes[n];if(3&i.flags&&i.bindings&&i.bindings.length)return n}return null}var Bv=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,i=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&i;)n=Kf(i),i=i.parent;this.elDef=n,this.elView=i}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Sf(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Km(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){Wv(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&Wv(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!Xf(t);)t=t.parent;return t.parent?Sf(t.parent,Kf(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Zf(this.view,this.nodeDef):Zf(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var a=function(t,e){for(var n=-1,i=0;i<=e;i++)3&t.nodes[i].flags&&n++;return n}(e,n),s=-1;e.factory(function(){var e;return++s===a?(e=t.error).bind.apply(e,Object(i.i)([t],r)):Af}),s<a&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,Object(i.i)(r)))},t}();function Wv(t,e,n){for(var i in e.references)n[i]=Mg(t,e,e.references[i])}function Gv(t,e,n,i){var r=Pv,o=Iv,a=Mv;try{Pv=t;var s=e.apply(n,i);return Iv=o,Mv=a,Pv=r,s}catch(l){if(Qd(l)||!Iv)throw l;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Rf(t,e),t}(l,qv())}}function qv(){return Iv?new Bv(Iv,Mv):null}var Yv=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new $v(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),$v=function(){function t(t){this.delegate=t,this.debugContextFactory=qv,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){Gh.delete(t.nativeNode)}(qh(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),i=this.createDebugContext(n);if(i){var r=new Uh(n,null,i);r.name=t,Yh(r)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&Yh(new Hh(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&Yh(new Hh(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=qh(t),i=qh(e);n&&i&&n instanceof Uh&&n.addChild(i),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var i=qh(t),r=qh(e),o=qh(n);i&&r&&i instanceof Uh&&i.insertBefore(o,r),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=qh(t),i=qh(e);n&&i&&n instanceof Uh&&n.removeChild(i),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),i=qv()||(wf?this.createDebugContext(n):null);return i&&Yh(new Uh(n,null,i)),n},t.prototype.setAttribute=function(t,e,n,i){var r=qh(t);r&&r instanceof Uh&&(r.attributes[i?i+":"+e:e]=n),this.delegate.setAttribute(t,e,n,i)},t.prototype.removeAttribute=function(t,e,n){var i=qh(t);i&&i instanceof Uh&&(i.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=qh(t);n&&n instanceof Uh&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=qh(t);n&&n instanceof Uh&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,i){var r=qh(t);r&&r instanceof Uh&&(r.styles[e]=n),this.delegate.setStyle(t,e,n,i)},t.prototype.removeStyle=function(t,e,n){var i=qh(t);i&&i instanceof Uh&&(i.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var i=qh(t);i&&i instanceof Uh&&(i.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var i=qh(t);i&&i.listeners.push(new Fh(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function Kv(t){return cv(),If.overrideProvider(t)}function Zv(t,e){return cv(),If.overrideComponentView(t,e)}function Qv(){return cv(),If.clearOverrides()}function Xv(t,e,n){return new Jv(t,e,n)}var Jv=function(t){function e(e,n,i){var r=t.call(this)||this;return r.moduleType=e,r._bootstrapComponents=n,r._ngModuleDefFactory=i,r}return Object(i.d)(e,t),e.prototype.create=function(t){cv();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),i={};for(var r in t.providersByKey)i[r]=t.providersByKey[r];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:i}}(om(this._ngModuleDefFactory));return If.createNgModuleRef(this.moduleType,t||mi.NULL,this._bootstrapComponents,e)},e}(Mi),ty=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.createRenderer=function(e,n){var i=t.prototype.createRenderer.call(this,e,n);return i.debugContextFactory=function(t){return new ey(t)},i},e}(Yv),ey=function(){function t(t){this._nativeNode=t}return Object.defineProperty(t.prototype,"nodeIndex",{get:function(){return cs(this._nativeNode).nodeIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return cs(this._nativeNode).lViewData},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return ls(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return rs(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=cs(this._nativeNode),e=t.lViewData[Vt].data[t.nodeIndex],n=4095&e.flags;if(n>0){var i=e.flags>>16;return this.view[Vt].data.slice(i,i+n).map(function(t){return t.type})}return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return void 0===(t=cs(this._nativeNode)).localRefs&&(t.localRefs=function(e,n){var i=e[Vt].data[t.nodeIndex];if(i&&i.localNames){for(var r={},o=0;o<i.localNames.length;o+=2){var a=i.localNames[o+1];r[i.localNames[o]]=-1===a?xe(i,e):e[a]}return r}return null}(t.lViewData)),t.localRefs||{};var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,Object(i.i)(e))},t}()},Cgds:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("VNr4"),r=function(){function t(t,e,n,i,r){this.usersService=t,this.notificationService=e,this.localisationService=n,this.changeDetectorRef=i,this.productsService=r,this.editable=!0,this.notifications=!0,this.loading=!0,this.enabledByAllergy={}}return t.prototype.ngOnInit=function(){var t=this;Object(i.a)(this.usersService.getUserDailyMeals(),this.usersService.getUserDiets(),this.productsService.getAllergies(),this.usersService.getUserTrainingTargets()).subscribe(function(e){var n=e[1],i=e[2],r=e[3];t.dailyMeals=e[0],t.diets=n,t.allergies=i,t.trainingTargets=r,t.loading=!1,t.changeDetectorRef.detectChanges(),t.usersService.userProfile&&t.initCurrentUserProfile(t.usersService.userProfile)})},t.prototype.updateProfile=function(){var t=this;this.loading=!0,this.usersService.updateUserProfile({daily_meals:{id:this.currentlySelectedDailyMeal.id},diet:this.currentlySelectedDiet?{id:this.currentlySelectedDiet.id}:null,allergies:Object.keys(this.enabledByAllergy).filter(function(e){return t.enabledByAllergy[e]}).map(function(t){return+t}).map(function(t){return{id:t}})}).subscribe(function(){t.loading=!1,t.changeDetectorRef.detectChanges(),t.notifications&&t.notificationService.success(t.localisationService.localise("settings_profile_updated_successfully"))})},Object.defineProperty(t.prototype,"saveButtonIsDisabled",{get:function(){return!this.currentlySelectedDailyMeal},enumerable:!0,configurable:!0}),t.prototype.initCurrentUserProfile=function(t){this.currentlySelectedDailyMeal=t.daily_meals?this.dailyMeals.find(function(e){return e.id===t.daily_meals.id}):void 0,this.currentlySelectedDiet=t.diet?this.diets.find(function(e){return e.id===t.diet.id}):void 0,this.currentlySelectedTrainingTarget=t.training_target?this.trainingTargets.find(function(e){return e.id===t.training_target.id}):void 0,this.initEnabledByAllergy(t),this.changeDetectorRef.markForCheck()},t.prototype.initEnabledByAllergy=function(t){var e=this;this.allergies.forEach(function(t){return e.enabledByAllergy[t.id]=!1}),t.allergies.forEach(function(t){e.enabledByAllergy[t.id]=!0})},t}()},DJts:function(t,e,n){"use strict";n("mrSG");var i=n("67Y/");n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o});var r=function(){return function(){}}(),o=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.getProfiles=function(t,e,n){var i="skip="+t+"&per_page="+e;return null!=n&&n.length>=1&&(i+="&search="+n),this.httpClient.get(this.constants.apiURL()+"/master/profiles/?"+i)},t.prototype.getProfilesCount=function(){return this.httpClient.get(this.constants.apiURL()+"/master/profiles/count/")},t.prototype.getUserProfile=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/profiles/single/",{id:t})},t.prototype.updateUserProfile=function(t){return this.httpClient.put(this.constants.apiURL()+"/master/profiles/single/",t).pipe(Object(i.a)(function(t){return t}))},t.prototype.createProfile=function(t,e,n,i){return this.httpClient.post(this.constants.apiURL()+"/master/profiles/",{email:n,password:i,first_name:t,last_name:e})},t.prototype.sendLoginInfo=function(t,e,n,i){for(var r=new FormData,o=0;o<i.length;o++)r.append("file_"+i[o].name,i[o],i[o].name);return r.append("email",t+""),r.append("password",e+""),r.append("text",n+""),this.httpClient.post(this.constants.apiURL()+"/master/profile/send/login/info/",r)},t.prototype.masterLogin=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/login/as/",{user_id:t})},t.prototype.getMealOverwrites=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/meals/overwrites/",{id:t})},t.prototype.getMealsWithDailyMeals=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/meals/daily/meals/",{id:t})},t.prototype.updateMealsWithDailyMeals=function(t,e){return this.httpClient.put(this.constants.apiURL()+"/master/meals/overwrites/",{id:t,overwrites:e})},t.prototype.checkIsSubAccountUnderMaster=function(){return this.httpClient.post(this.constants.apiURL()+"/master/profile/check/sub/profile/",{})},t.prototype.getSubscriptions=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/subscriptions/",{id:t})},t.prototype.getSingleSubscription=function(t,e){return this.httpClient.post(this.constants.apiURL()+"/master/subscriptions/single/",{id:t,subscription_id:e})},t.prototype.deleteSubscription=function(t,e){return this.httpClient.post(this.constants.apiURL()+"/master/subscriptions/delete/",{id:t,subscription_id:e})},t.prototype.createSubscription=function(t,e,n,i){return this.httpClient.post(this.constants.apiURL()+"/master/subscriptions/create/",{id:t,status:e,from_date:n,to_date:i})},t.prototype.updateSubscription=function(t,e,n,i,r){return this.httpClient.put(this.constants.apiURL()+"/master/subscriptions/",{id:t,subscription_id:e,status:n,from_date:i,to_date:r})},t.prototype.getNotes=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/notes/",{id:t})},t.prototype.deleteNote=function(t,e){return this.httpClient.post(this.constants.apiURL()+"/master/notes/delete/",{id:t,note_id:e})},t.prototype.getSingleNote=function(t,e){return this.httpClient.post(this.constants.apiURL()+"/master/notes/single/",{id:t,note_id:e})},t.prototype.createNote=function(t,e,n){return this.httpClient.post(this.constants.apiURL()+"/master/notes/create/",{id:t,title:e,text:n})},t.prototype.updateNote=function(t,e,n,i){return this.httpClient.put(this.constants.apiURL()+"/master/notes/",{id:t,note_id:e,title:n,text:i})},t.prototype.getOverwrites=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/user/overwrites/macros/",{user_id:t})},t.prototype.updateOverwrites=function(t,e,n){var i=[];return e.forEach(function(t){var e=[];void 0!==n[t.id]&&n[t.id].forEach(function(t){e.push({meal_id:t.meal.id,overwrite_percentage:t.overwrite_percentage})}),i.push({day:t.day,daily_meal_id:t.daily_meal_id,overwrite_all_calories:t.overwrite_all_calories,overwrite_protein:t.overwrite_protein,overwrite_carbs:t.overwrite_carbs,overwrite_fat:t.overwrite_fat,daily_meal_macro_overwrites:e})}),this.httpClient.put(this.constants.apiURL()+"/master/user/overwrites/macros/",{user_id:t,overwrites:i})},t.prototype.uploadInBodyXlsxFile=function(t,e){var n=new FormData;return n.append("file",e,e.name),n.append("user_id",t+""),this.httpClient.post(this.constants.apiURL()+"/master/inbody/xlsx/",n)},t.prototype.changeMasterReadyProfile=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/profile/change/master/ready/",{user_id:t})},t.prototype.getMasterNotReadyProfile=function(){return this.httpClient.get(this.constants.apiURL()+"/master/profile/change/master/ready/")},t.prototype.getUnSeenMessages=function(){return this.httpClient.get(this.constants.apiURL()+"/diary/chat/master/not/seen/")},t.prototype.getWeightHistory=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/profile/weight/history/",{user_id:t})},t.prototype.getInBodyHistory=function(t){return this.httpClient.get(this.constants.dataURL()+"/v1/inbody/"+t)},t.prototype.getNutrients=function(t,e,n){return this.httpClient.post(this.constants.apiURL()+"/master/profile/nutrients/",{user_id:t,date_from:e,date_to:n})},t.prototype.getDiarySummary=function(t,e,n,i){return this.httpClient.post(this.constants.dataURL()+"/v2/diary/master/summary",{masterUserId:t,fromDate:e,toDate:n,userClientIds:i})},t.prototype.getDiarySummaryClients=function(t,e,n){return this.httpClient.post(this.constants.dataURL()+"/v2/diary/master/summary/clients",{masterUserId:t,fromDate:e,toDate:n})},t.prototype.updateDiarySummaryClients=function(t,e,n,i){return this.httpClient.put(this.constants.dataURL()+"/v2/diary/master/summary/clients",{masterUserId:t,fromDate:e,toDate:n,userClientIds:i})},t.prototype.getMasterAutoDiaryGenerationConfigs=function(){return this.httpClient.get(this.constants.apiURL()+"/master/auto-diary-generation/config/")},t.prototype.getMasterAutoDiaryGenerationConfig=function(t){return this.httpClient.get(this.constants.apiURL()+"/master/auto-diary-generation/config/"+t)},t.prototype.deleteMasterAutoDiaryConfig=function(t){return this.httpClient.delete(this.constants.apiURL()+"/master/auto-diary-generation/config/delete/"+t)},t.prototype.getMasterAutoDiaryRecipes=function(t){return this.httpClient.get(this.constants.dataURL()+"/v1/master/recipes/"+t)},t.prototype.createMasterAutoDiaryRecipes=function(t){return this.httpClient.post(this.constants.apiURL()+"/master/auto-diary-generation/config/",t)},t.prototype.updateMasterAutoDiaryRecipes=function(t){return this.httpClient.put(this.constants.apiURL()+"/master/auto-diary-generation/config/",t)},t}()},DKTb:function(t,e,n){"use strict";function i(t){setTimeout(function(){throw t})}n.d(e,"a",function(){return i})},DMaY:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.storageService=t,this.type="primary",this.btnLink=null,this.btnTitle=null,this.btnCallback=null,this.callbackParent=null,this.disableClose=!1,this.fontSize=null}return t.prototype.ngOnInit=function(){"hide"===this.storageService.getItem(this.id)&&this.wrapper.nativeElement.classList.add("hidden")},t.prototype.hideAlert=function(){this.storageService.setItem(this.id,"hide"),this.wrapper.nativeElement.classList.add("animated"),this.wrapper.nativeElement.classList.add("fadeOut");var t=this;setTimeout(function(){t.wrapper.nativeElement.classList.add("hidden")},1e3)},t}()},DQlY:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return p}),n.d(e,"c",function(){return d}),n.d(e,"d",function(){return c}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return l});var i=n("CcnG"),r=n("rpEJ"),o=n("lqqz"),a=n("NJnL"),s=function(){return function(){this.hide=Function,this.setClass=Function}}(),l=function(){return function(){}}(),u={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}},c=function(){function t(t,e,n){this._element=e,this._renderer=n,this.isShown=!1,this.isModalHiding=!1,this.config=Object.assign({},t)}return t.prototype.ngOnInit=function(){var t=this;this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(function(){t.isShown=!0,t._renderer.addClass(t._element.nativeElement,Object(r.c)()?"in":"show")},this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()},t.prototype.onClick=function(t){this.config.ignoreBackdropClick||"static"===this.config.backdrop||t.target!==this._element.nativeElement||(this.bsModalService.setDismissReason("backdrop-click"),this.hide())},t.prototype.onEsc=function(t){this.isShown&&(27!==t.keyCode&&"Escape"!==t.key||t.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))},t.prototype.ngOnDestroy=function(){this.isShown&&this.hide()},t.prototype.hide=function(){var t=this;!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,Object(r.c)()?"in":"show"),setTimeout(function(){t.isShown=!1,document&&document.body&&1===t.bsModalService.getModalsCount()&&t._renderer.removeClass(document.body,"modal-open"),t.bsModalService.hide(t.level),t.isModalHiding=!1},this.isAnimated?300:0))},t}(),d=function(){function t(t,e){this._isShown=!1,this.element=t,this.renderer=e}return Object.defineProperty(t.prototype,"isAnimated",{get:function(){return this._isAnimated},set:function(t){this._isAnimated=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShown",{get:function(){return this._isShown},set:function(t){this._isShown=t,t?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),Object(r.c)()||(t?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),r.a.reflow(this.element.nativeElement)),this.isShown=!0},t}(),p=function(){function t(t,e){this.clf=e,this.config=u,this.onShow=new i.EventEmitter,this.onShown=new i.EventEmitter,this.onHide=new i.EventEmitter,this.onHidden=new i.EventEmitter,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason="",this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=t.createRenderer(null,null)}return t.prototype.show=function(t,e){return this.modalsCount++,this._createLoaders(),this.config=Object.assign({},u,e),this._showBackdrop(),this.lastDismissReason=null,this._showModal(t)},t.prototype.hide=function(t){var e=this;1===this.modalsCount&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1?this.modalsCount-1:0,setTimeout(function(){e._hideModal(t),e.removeLoaders(t)},this.config.animated?150:0)},t.prototype._showBackdrop=function(){var t=this.config.backdrop||"static"===this.config.backdrop,e=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),t&&e&&(this._backdropLoader.attach(d).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))},t.prototype._hideBackdrop=function(){var t=this;this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(function(){return t.removeBackdrop()},this.config.animated?150:0))},t.prototype._showModal=function(t){var e=this.loaders[this.loaders.length-1],n=new s,i=e.provide({provide:l,useValue:this.config}).provide({provide:s,useValue:n}).attach(c).to("body").show({content:t,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this});return i.instance.level=this.getModalsCount(),n.hide=function(){i.instance.hide()},n.content=e.getInnerComponent()||null,n.setClass=function(t){i.instance.config.class=t},n},t.prototype._hideModal=function(t){var e=this.loaders[t-1];e&&e.hide()},t.prototype.getModalsCount=function(){return this.modalsCount},t.prototype.setDismissReason=function(t){this.lastDismissReason=t},t.prototype.removeBackdrop=function(){this._backdropLoader.hide(),this.backdropRef=null},t.prototype.checkScrollbar=function(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()},t.prototype.setScrollbar=function(){document&&(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=this.originalBodyPadding+this.scrollbarWidth+"px"))},t.prototype.resetScrollbar=function(){document.body.style.paddingRight=this.originalBodyPadding+"px"},t.prototype.getScrollbarWidth=function(){var t=this._renderer.createElement("div");this._renderer.addClass(t,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,t);var e=t.offsetWidth-t.clientWidth;return this._renderer.removeChild(document.body,t),e},t.prototype._createLoaders=function(){var t=this.clf.createLoader(null,null,null);this.copyEvent(t.onBeforeShow,this.onShow),this.copyEvent(t.onShown,this.onShown),this.copyEvent(t.onBeforeHide,this.onHide),this.copyEvent(t.onHidden,this.onHidden),this.loaders.push(t)},t.prototype.removeLoaders=function(t){this.loaders.splice(t-1,1),this.loaders.forEach(function(t,e){t.instance.level=e+1})},t.prototype.copyEvent=function(t,e){var n=this;t.subscribe(function(){e.emit(n.lastDismissReason)})},t}(),h=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[p,o.a,a.a]}},t}()},DtyJ:function(t,e,n){"use strict";var i=n("K9Ia");n.d(e,"a",function(){return i.a})},Ea8x:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.friendsService=t,this.changeDetectorRef=e,this.friends=[]}return t.prototype.ngOnInit=function(){this.loadFriends()},t.prototype.searchTextChanged=function(){var t=this;this.search_text&&this.search_text.length>=3&&this.friendsService.searchFriends({search_text:this.search_text}).subscribe(function(e){t.search_friends=e,t.changeDetectorRef.markForCheck()})},t.prototype.addFriend=function(t){var e=this;this.friendsService.createFriend({friend_email:t}).subscribe(function(){e.search_friends=null,e.search_text=null,e.loadFriends(),e.changeDetectorRef.markForCheck()},function(){e.search_friends=null,e.search_text=null,e.changeDetectorRef.markForCheck()})},t.prototype.removeFriend=function(t){var e=this;this.friendsService.removeFriend({id:t}).subscribe(function(){e.loadFriends()})},t.prototype.loadFriends=function(){var t=this;this.friendsService.getFriends().subscribe(function(e){t.friends=e,t.changeDetectorRef.markForCheck()})},t}()},EgJy:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("K9Ia"),r=function(){function t(){this.popupChanged=new i.a,this.popupComponentViewInitialized=new i.a,this.popupCancelClicked=new i.a,this.popupSaveChangesClicked=new i.a,this.popupDimensionsChanged=new i.a,this.popupElementRefChanged=new i.a,this.popupPositionChanged=new i.a,this.popupChanged$=this.popupChanged.asObservable(),this.popupComponentViewInitialized$=this.popupComponentViewInitialized.asObservable(),this.popupCancelClicked$=this.popupCancelClicked.asObservable(),this.popupSaveChangesClicked$=this.popupSaveChangesClicked.asObservable(),this.popupDimensionsChanged$=this.popupDimensionsChanged.asObservable(),this.popupElementRefChanged$=this.popupElementRefChanged.asObservable(),this.popupPositionChanged$=this.popupPositionChanged.asObservable()}return t.prototype.broadcastPopupChanged=function(t){this.popupChanged.next(t)},t.prototype.broadcastPopupComponentViewInitialized=function(t){this.popupComponentViewInitialized.next(this.popupElement=t)},t.prototype.broadcastPopupCancelClicked=function(){this.popupCancelClicked.next()},t.prototype.broadcastPopupSaveChangesClicked=function(){this.popupSaveChangesClicked.next()},t.prototype.broadcastPopupDimensionsChanged=function(){this.popupDimensionsChanged.next()},t.prototype.broadcastPopupElementRefChanged=function(t){this.popupElementRefChanged.next(t)},t.prototype.broadcastPopupPositionChanged=function(){this.popupPositionChanged.next()},t}()},Ehmk:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i,r=n("eihs");function o(){try{return i.apply(this,arguments)}catch(t){return r.a.e=t,r.a}}function a(t){return i=t,o}},"En8+":function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return r});var r=i()},EpLY:function(t,e,n){"use strict";var i=n("CcnG");n("8Q7P"),n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=i["\u0275crt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{width:100%;height:100%}.responsive-flex-wrapper[_ngcontent-%COMP%]{width:100%}.responsive-flex-wrapper.loader-div[_ngcontent-%COMP%]{display:none;position:absolute;z-index:9999999999;margin:0;padding:0;background:rgba(0,0,0,.66)}#agaia-loader[_ngcontent-%COMP%]{display:none;background:rgba(44,45,50,.85);bottom:0;height:100%;left:0;overflow:hidden!important;position:fixed;right:0;text-align:center;top:0;width:100%;z-index:99999}#agaia-loader[_ngcontent-%COMP%]   .spinner-div[_ngcontent-%COMP%]{position:absolute;top:55%;left:0;width:100%;text-align:center;margin:auto;transform:translateY(-50%);-webkit-transform:translateY(-50%);-o-transform:translateY(-50%);-ms-transform:translateY(-50%);-moz-transform:translateY(-50%)}#agaia-loader[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]{position:absolute;top:45%;left:0;width:100%;text-align:center;margin:auto;transform:translateY(-50%);-webkit-transform:translateY(-50%);-o-transform:translateY(-50%);-ms-transform:translateY(-50%);-moz-transform:translateY(-50%)}#agaia-loader[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{-webkit-animation:4s linear infinite moving;animation:4s linear infinite moving;-webkit-animation-delay:calc((var(--n) - 10) * .4s);animation-delay:calc((var(--n) - 10) * .4s);font-size:3.5em;color:#e2a400;font-weight:700}@-webkit-keyframes moving{0%,100%{-webkit-filter:opacity(0);filter:opacity(0)}33%,66%{-webkit-filter:opacity(1);filter:opacity(1)}}@keyframes moving{0%,100%{-webkit-filter:opacity(0);filter:opacity(0)}33%,66%{-webkit-filter:opacity(1);filter:opacity(1)}}#agaia-loader[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(1){--n:1}#agaia-loader[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(2){--n:2}#agaia-loader[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(3){--n:3}#agaia-loader[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(4){--n:4}#agaia-loader[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(5){--n:5}  .app-loading #agaia-loader{display:block!important}"]],data:{}});function o(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,13,"div",[["id","agaia-loader"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,10,"div",[["class","loader clear-loader"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["a"])),(t()(),i["\u0275eld"](4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["g"])),(t()(),i["\u0275eld"](6,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["a"])),(t()(),i["\u0275eld"](8,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["i"])),(t()(),i["\u0275eld"](10,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["a"])),(t()(),i["\u0275eld"](12,0,null,null,1,"div",[["class","spinner-div"]],null,null,null,null,null)),(t()(),i["\u0275eld"](13,0,null,null,0,"span",[["class","spinner"]],null,null,null,null,null))],null,null)}},"F/XL":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("nkY7"),r=n("IUTb"),o=n("G5J1"),a=n("PU8L");function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(Object(i.a)(n)?t.pop():n=void 0,t.length){case 0:return Object(o.b)(n);case 1:return n?Object(r.a)(t,n):Object(a.a)(t[0]);default:return Object(r.a)(t,n)}}},F1Na:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.ngOnInit=function(){},t}()},FFOo:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("mrSG"),r=n("2Bdj"),o=n("6ahw"),a=n("pugT"),s=n("L/V9"),l=n("iLxQ"),u=n("DKTb"),c=function(t){function e(n,i,r){var a=t.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,a._parentSubscription=null,arguments.length){case 0:a.destination=o.a;break;case 1:if(!n){a.destination=o.a;break}if("object"==typeof n){n instanceof e?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new d(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new d(a,n,i,r)}return a}return i.d(e,t),e.prototype[s.a]=function(){return this},e.create=function(t,n,i){var r=new e(t,n,i);return r.syncErrorThrowable=!1,r},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(a.a),d=function(t){function e(e,n,i,a){var s,l=t.call(this)||this;l._parentSubscriber=e;var u=l;return Object(r.a)(n)?s=n:n&&(s=n.next,i=n.error,a=n.complete,n!==o.a&&(u=Object.create(n),Object(r.a)(u.unsubscribe)&&l.add(u.unsubscribe.bind(u)),u.unsubscribe=l.unsubscribe.bind(l))),l._context=u,l._next=s,l._error=i,l._complete=a,l}return i.d(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=l.a.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):Object(u.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(u.a)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};l.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(u.a)(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return l.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(u.a)(i),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(c)},FHef:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("CcnG"),r=n("IvP5"),o=n("S6V/"),a=function(){function t(t){this.changeDetectorRef=t,this.date=new Date,this.dateChanged=new i.EventEmitter,this.visible=!1}return t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){var t=this;this.picker=r.create({selected:this.date}),this.datepicker.nativeElement.addEventListener("pickadate:change",function(){t.date=new Date(t.picker.getValue()),t.changeDetectorRef.detectChanges(),t.dateChanged.emit(t.date)}),r.render(this.datepicker.nativeElement,this.picker),this.datepicker.nativeElement.remove()},t.prototype.ngOnChanges=function(){this.picker&&this.picker.setSelected({value:this.date})},t.prototype.toggle=function(t){t&&(t.stopPropagation(),t.stopImmediatePropagation()),this.visible=!this.visible,this.visible?this.wrapper.nativeElement.appendChild(this.datepicker.nativeElement):this.datepicker.nativeElement.remove()},t.prototype.onClick=function(t){this.visible&&(t===this.datepicker.nativeElement||Object(o.a)(this.datepicker.nativeElement,t)||this.toggle())},Object.defineProperty(t.prototype,"day",{get:function(){if(this.date)return this.date.getDate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dayString",{get:function(){switch(this.date.getDay()){case 0:return"sunday";case 1:return"monday";case 2:return"tuesday";case 3:return"wednesday";case 4:return"thursday";case 5:return"friday";case 6:return"saturday"}},enumerable:!0,configurable:!0}),t}()},FJXm:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("6blF"),r=n("VNr4"),o=n("/PVf"),a=function(){function t(t,e,n,i,r,o,a){this.bsModalRef=t,this.pricingService=e,this.usersService=n,this.appIsLoadingEventsEmitter=i,this.bsModalEventsEmitter=r,this.localisationService=o,this.router=a,this.mobileWidth=576,this.pricings=null,this.currentUserIsReferral=!1,this.discountCode=null,this.showYearlyPricing=!1,this.masterProfile=!1}return t.prototype.ngOnInit=function(){this.masterProfile=this.usersService.userProfile&&!0===this.usersService.userProfile.is_master_profile,this.load().subscribe()},t.prototype.getPricing=function(){return null!==this.pricings&&this.pricings.length>0?this.pricings[0]:null},t.prototype.load=function(){var t=this;return new i.a(function(e){Object(r.a)([t.pricingService.getPricings(),t.pricingService.getPaymentMethods(),t.usersService.getIsCurrentUserReferral()]).subscribe(function(n){var i=n[2],r=n[0].filter(function(e){return e.show_for_master_profiles===t.masterProfile});t.pricings=r.sort(function(t,e){return+t.amounts[0].monthly_price-+e.amounts[0].monthly_price}),t.currentUserIsReferral=i.is_user_referral&&i.referral_plan_discounts;var a=Object(o.b)("discount");null===a||a.length<=0||t.applyDiscountForAllPlans(a),t.pricings=t.pricings.filter(function(t){return parseFloat(t.amounts[0].monthly_price)>0}),e.next(!0),e.complete()})})},t.prototype.applyDiscountForAllPlans=function(t){var e=this;this.appIsLoadingEventsEmitter.broadcastAppIsLoading(!0),this.pricingService.getDiscount({discount_code:t}).subscribe(function(t){for(var n in e.discountCode=t,e.pricings)for(var i in e.pricings[n].amounts)e.pricings[n].amounts[i].monthly_price<=0||(e.pricings[n].amounts[i].monthly_price=(e.pricings[n].amounts[i].monthly_price-e.pricings[n].amounts[i].monthly_price*(e.getDiscountPercentageByLocale(e.discountCode)/100)).toFixed(2));e.pricings=e.pricings.sort(function(t,e){return+t.amounts[0].monthly_price-+e.amounts[0].monthly_price}),e.appIsLoadingEventsEmitter.broadcastAppIsLoading(!1)},function(){e.appIsLoadingEventsEmitter.broadcastAppIsLoading(!1)})},t.prototype.ngAfterViewInit=function(){window.innerWidth<=this.mobileWidth?this.toFullscreen():this.defaultScreen(),this.openAllTooltips()},t.prototype.getLanguagePricingAmount=function(t){var e=this.localisationService.getLanguage();for(var n in t.amounts)if(t.amounts[n].language.country_code===e)return t.amounts[n];return null},t.prototype.toFullscreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement.parentElement,n=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.display="flex",t.style.margin="0",t.style.padding="0",t.style.width="100%",t.style.maxWidth="unset",t.style.minHeight="100%",t.style.height="100%",e.style.borderRadius="0",n.style.display="block",n.style.height="100%"},t.prototype.defaultScreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.maxWidth="564px",e.style.display="block",e.style.height="100%"},t.prototype.onChoose=function(){this.router.navigate(["pricing"]),this.bsModalRef.hide()},t.prototype.openAllTooltips=function(t){void 0===t&&(t=!1);var e=this;setTimeout(function(){e.activeChecks.forEach(function(t){t.open()})},!0===t?100:1100)},t.prototype.onYearlyPricingToggleChange=function(t){void 0===t&&(t=null),this.showYearlyPricing=null!==t?t:!this.showYearlyPricing,this.openAllTooltips(!0)},t}()},FpXt:function(t,e,n){"use strict";n("ZYCi");var i=n("t/Na"),r=(n("4GxJ"),n("QpxQ"),n("SZbH")),o=n("DQlY"),a=n("Oh3A"),s=(n("K+Kt"),n("axVG")),l=(n("S8NE"),n("Ip0R"),n("gIcY"),n("m1G+")),u=n("6FsS"),c=n("TnyQ"),d=n("mPrv"),p=n("F1Na"),h=n("Cgds"),f=n("n7Sw"),m=n("h8FF"),g=n("agM4"),v=n("8Q7P"),y=n("8ydK"),b=n("CcnG"),_=function(){function t(){this.checked=new b.EventEmitter}return t.prototype.onChecked=function(t){t.stopPropagation(),t.stopImmediatePropagation(),this.checked.emit(this.isChecked=!this.isChecked)},t}(),w=n("FHef"),C=n("5d3k"),x=n("kiRL"),E=n("UBJf"),S=n("CEpA"),O=n("/mbx"),k=n("JuGI"),T=n("su/6"),P=n("0luw"),I=n("Bk+9"),M=n("NCB2"),R=n("EgJy"),D=n("ehRC"),A=n("Zhtc"),j=n("OEGa"),L=n("61xQ"),N=n("dJTG"),V=n("vJ/q"),F=n("rQkD"),H=n("NAAZ"),U=n("wPC0"),z=n("nhNG"),B=n("t9XL"),W=n("/WFX"),G=n("s9o9"),q=n("eK/2"),Y=[{provide:q.a,useClass:q.a}],$=n("mCDz"),K=[{provide:$.a,useClass:$.a}],Z=n("ARgq"),Q=n("ItC6"),X=n("gP80"),J=n("mS4x"),tt=n("3OAB"),et=n("rafA"),nt=n("4El1"),it=(n("SSL/"),n("btFJ"),n("S6V/"),n("/Vy8"),n("JvyH")),rt=n("8wbS"),ot=n("T2qd"),at=n("zdn9"),st=n("DMaY"),lt=n("J9Fs"),ut=n("z/er"),ct=n("8hX0"),dt=n("kJce"),pt=n("QmeP"),ht=[{provide:pt.a,useClass:pt.a}],ft=n("BRgZ"),mt=[{provide:ft.a,useClass:ft.a}],gt=n("Ea8x"),vt=n("94jR"),yt=n("j4LC"),bt=function(){function t(t,e){this.usersService=t,this.changeDetectorRef=e,this._date=null,this.animationPercent=0,this.increase_per_step=100,this.userWater=new yt.a,this.userWater.water_target=0,this.userWater.min_water_target=0,this.userWater.consumed=0}return Object.defineProperty(t.prototype,"date",{set:function(t){var e=this;this._date=t;var n=document.getElementById("percentB"),i=document.getElementById("waterdrop"),r=document.getElementById("waterdrop-white");n.style.color="#00ccff",i.style.display="block",r.style.display="none",this.animationPercent=0,this.usersService.getUserWater(this._date).subscribe(function(t){e.userWater=t;var n=100*e.userWater.consumed/e.userWater.water_target;n>=95&&(n=90),e.changeDetectorRef.detectChanges(),e.animateTo(n)})},enumerable:!0,configurable:!0}),t.prototype.fixedNumber=function(t){return 0===t?0:(t/1e3).toFixed(1)},t.prototype.increase=function(){var t=this.userWater.consumed+this.increase_per_step,e=this.userWater.water_target,n=100*t/e;t>e||(n>=95&&(n=90),this.updateMl(this.increase_per_step),this.userWater.consumed=t,this.changeDetectorRef.detectChanges(),this.animateTo(n))},t.prototype.animateTo=function(t){var e,n=this,i=document.getElementById("percentB"),r=document.getElementById("water"),o=document.getElementById("waterdrop"),a=document.getElementById("waterdrop-white"),s=this.animationPercent;e=setInterval(function(){r.style.transform="translate(0,"+(100-(s+=5))+"%)",s>50&&(i.style.color="#fff",o.style.display="none",a.style.display="block"),s>=t&&(n.animationPercent=t,clearInterval(e))},120)},t.prototype.updateMl=function(t){this.usersService.addUserWater(this._date,{add_ml:t}).subscribe()},t}(),_t=n("PqLd"),wt=n("BAUy"),Ct=n("wmVe"),xt=n("8cTf"),Et=n("oRBd"),St=n("y/Wt"),Ot=n("FJXm"),kt=n("B1um"),Tt=n("nhI7"),Pt=n("HZ5i"),It=n("yYZv"),Mt=n("tuCP"),Rt=n("DJts"),Dt=n("d5dT");n.d(e,"a",function(){return Ht}),r.i.forRoot(),o.e.forRoot(),a.c.forRoot(),s.a.forRoot(),[p.a,O.a,Et.a,Tt.a,Ot.a,Pt.a,Mt.a].concat([l.a,u.a,c.a,d.a,Tt.a,st.a,bt,Ot.a,Pt.a,Mt.a,xt.a,lt.a,p.a,h.a,gt.a,f.a,m.a,wt.a,g.a,v.a,y.a,_,w.a,C.a,x.a,E.a,S.a,k.a]);var At=[T.a,P.a,I.a,It.a,M.a,R.a,D.a],jt=[at.a,A.a,j.a,L.a,N.a,V.a,F.a,Rt.a,H.a,St.a,U.a,z.a,ut.a,B.a,W.a,_t.a,Dt.a,kt.a,G.a,vt.a],Lt=ht.concat(mt,Y,K,Z.a,[o.a]),Nt=[Q.a,X.a,J.a,tt.a,et.a,nt.a],Vt=[ct.a,dt.a,it.a,Ct.a,rt.a],Ft=[{provide:i.a,useClass:ot.a,multi:!0}],Ht=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:Vt.concat(jt,Lt,Nt,At,Ft)}},t}()},Fxb1:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var i=n("6blF"),r=n("+tJ4"),o=n("S5XQ"),a=n("u67D"),s=n("JcRv"),l=n("2ePl"),u=n("/WYv"),c=n("McSo"),d=n("En8+"),p=n("xTla"),h=function(t){if(t instanceof i.a)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[p.a])return Object(s.a)(t);if(Object(l.a)(t))return Object(r.a)(t);if(Object(u.a)(t))return Object(o.a)(t);if(t&&"function"==typeof t[d.a])return Object(a.a)(t);var e=Object(c.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},G2Fg:function(t,e,n){"use strict";var i=n("CcnG"),r=n("Ip0R"),o=n("ZYCi"),a=n("nhI7"),s=n("DQlY"),l=n("NCB2"),u=n("yYZv");n.d(e,"b",function(){return c}),n.d(e,"c",function(){return d}),n.d(e,"a",function(){return h});var c=i["\u0275crt"]({encapsulation:0,styles:[["#mobile-bar[_ngcontent-%COMP%]{display:none;width:100%;height:55px;background:#fff;box-shadow:0 0 20px 3px rgba(0,0,0,.4);position:fixed;bottom:0;z-index:1}@media (max-width:800px){#mobile-bar[_ngcontent-%COMP%]{display:inline-flex;justify-content:space-between!important}}#mobile-bar.mobilebar-ios[_ngcontent-%COMP%]{height:68px!important}#mobile-bar[_ngcontent-%COMP%]   .bar-item[_ngcontent-%COMP%]{padding:14px 21px}#mobile-bar[_ngcontent-%COMP%]   .bar-item[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.35rem;color:#e3a300;font-weight:400}#mobile-bar[_ngcontent-%COMP%]   .bar-item.active[_ngcontent-%COMP%]{border-top:3px solid #f1b004!important;padding-top:11px}#mobile-bar[_ngcontent-%COMP%]   .bar-item.active[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#f1b004!important}#mobile-bar[_ngcontent-%COMP%]   .bar-item[_ngcontent-%COMP%]:active, #mobile-bar[_ngcontent-%COMP%]   .bar-item[_ngcontent-%COMP%]:hover{outline:0}#mobile-bar[_ngcontent-%COMP%]   .bar-item.bar-plus[_ngcontent-%COMP%]{padding-top:0}#mobile-bar[_ngcontent-%COMP%]   .bar-item.bar-plus[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#e2a400!important;font-size:2.65rem}"]],data:{}});function d(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,20,"div",[["id","mobile-bar"]],null,null,null,null,null)),i["\u0275did"](1,278528,null,0,r.j,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngClass:[0,"ngClass"]},null),(t()(),i["\u0275eld"](2,0,null,null,5,"div",[["class","bar-item"],["routerLink","/meals"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,3).onClick()&&r),r},null,null)),i["\u0275did"](3,16384,[[1,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](4,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,1,{links:1}),i["\u0275qud"](603979776,2,{linksWithHrefs:1}),(t()(),i["\u0275eld"](7,0,null,null,0,"i",[["class","ti-home"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,1,"div",[["class","bar-item"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openShoppingListModal()&&i),i},null,null)),(t()(),i["\u0275eld"](9,0,null,null,0,"i",[["class","ti-shopping-cart"]],null,null,null,null,null)),(t()(),i["\u0275eld"](10,0,null,null,1,"div",[["class","bar-item bar-plus"]],null,null,null,null,null)),(t()(),i["\u0275eld"](11,0,null,null,0,"i",[["class","mdi mdi-plus-circle"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openShortcutsModal()&&i),i},null,null)),(t()(),i["\u0275eld"](12,0,null,null,1,"div",[["class","bar-item"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openRecipesTextModal()&&i),i},null,null)),(t()(),i["\u0275eld"](13,0,null,null,0,"i",[["class","ti-receipt"]],null,null,null,null,null)),(t()(),i["\u0275eld"](14,0,null,null,6,"div",[["class","bar-item"],["routerLink","/settings/profile"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,15).onClick()&&r),r},null,null)),i["\u0275did"](15,16384,[[3,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](16,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActiveOptions:[0,"routerLinkActiveOptions"],routerLinkActive:[1,"routerLinkActive"]},null),i["\u0275qud"](603979776,3,{links:1}),i["\u0275qud"](603979776,4,{linksWithHrefs:1}),i["\u0275pod"](19,{exact:0}),(t()(),i["\u0275eld"](20,0,null,null,0,"i",[["class","ti-user"]],null,null,null,null,null))],function(t,e){t(e,1,0,!0===e.component.isIOS()?"mobilebar-ios":""),t(e,3,0,"/meals"),t(e,4,0,"active"),t(e,15,0,"/settings/profile");var n=t(e,19,0,!0);t(e,16,0,n,"active")},null)}function p(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-mobilebar",[],null,null,null,d,c)),i["\u0275did"](1,4308992,null,0,a.a,[i.ChangeDetectorRef,s.b,s.a,l.a,u.a,o.n],null,null)],function(t,e){t(e,1,0)},null)}var h=i["\u0275ccf"]("app-mobilebar",a.a,p,{},{},[])},G5J1:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var i=n("6blF"),r=new i.a(function(t){return t.complete()});function o(t){return t?function(t){return new i.a(function(e){return t.schedule(function(){return e.complete()})})}(t):r}},Gi3i:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("mrSG"),r=n("FFOo"),o=n("T1DM");function a(t,e){return void 0===e&&(e=o.a),function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.dueTime,this.scheduler))},t}(),l=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return i.d(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(r.a);function u(t){t.debouncedNext()}},HJBe:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("mrSG"),r=n("FFOo");function o(t){return void 0===t&&(t=null),function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.defaultValue))},t}(),s=function(t){function e(e,n){var i=t.call(this,e)||this;return i.defaultValue=n,i.isEmpty=!0,i}return i.d(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(r.a)},HRr2:function(t,e,n){"use strict";var i=n("CcnG"),r=n("JvyH"),o=n("OEGa"),a=n("gIcY"),s=n("Ip0R"),l=n("kJce"),u=n("oRBd"),c=n("DQlY"),d=n("eK/2");n.d(e,"a",function(){return v});var p=i["\u0275crt"]({encapsulation:0,styles:[[".modal-body[_ngcontent-%COMP%]{height:500px;padding:14px 0;overflow:auto}.modal-header-wrapper[_ngcontent-%COMP%]{display:flex;height:60px;border-bottom:1px solid #dedede}.modal-header-wrapper[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]{width:calc(100% - 38px);line-height:60px;padding-left:20px;color:#787878;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase}.modal-header-wrapper[_ngcontent-%COMP%]   .responsive-flex-wrapper[_ngcontent-%COMP%]{font-size:1.2rem;cursor:pointer}@media (max-width:576px){.modal-body[_ngcontent-%COMP%]{height:calc(100% - 77px)!important}}.search-wrapper[_ngcontent-%COMP%]{height:46px;position:relative;margin:0 14px 14px}.search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;height:100%;border:unset;background:#f9f9f9;border-radius:6px;padding:0 40px 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#939899}.search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus ~ .responsive-flex-wrapper[_ngcontent-%COMP%]   .material-icons[_ngcontent-%COMP%]{color:#e3a300}.search-wrapper[_ngcontent-%COMP%]   .responsive-flex-wrapper[_ngcontent-%COMP%]:nth-child(2){position:absolute;top:0;right:0;width:40px;height:100%}.search-wrapper[_ngcontent-%COMP%]   .responsive-flex-wrapper[_ngcontent-%COMP%]:nth-child(2)   .material-icons[_ngcontent-%COMP%]{color:#939899}.search-wrapper[_ngcontent-%COMP%]   .responsive-flex-wrapper[_ngcontent-%COMP%]:nth-child(3){position:absolute;top:0;left:10px;height:100%;color:#939899}.dial-code[_ngcontent-%COMP%]{cursor:pointer;display:flex;padding:10px;border-bottom:1px solid rgba(232,232,232,.72)}.dial-code[_ngcontent-%COMP%]   .dial-country-code[_ngcontent-%COMP%]{flex:0 10%}.dial-code[_ngcontent-%COMP%]   .dial-country-code[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:21px;margin-top:-5px;margin-left:4px;box-shadow:0 5px 15px -30px rgba(0,0,0,.18),0 8px 5px -5px rgba(0,0,0,.2),0 10px 10px -5px rgba(0,0,0,.09)}.dial-code[_ngcontent-%COMP%]   .dial-dial-code[_ngcontent-%COMP%]{flex:0 15%;padding-top:5px;padding-left:8px;color:#6b6b6b}@media (max-width:576px){.dial-code[_ngcontent-%COMP%]   .dial-dial-code[_ngcontent-%COMP%]{flex:0 20%;padding-left:11px}}.dial-code[_ngcontent-%COMP%]   .dial-name[_ngcontent-%COMP%]{flex:0 75%;padding-top:5px}"]],data:{}});function h(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,["",""])),i["\u0275ppd"](2,1)],null,function(t,e){var n=i["\u0275unv"](e,1,0,t(e,2,0,i["\u0275nov"](e.parent,0),"search"));t(e,1,0,n)})}function f(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,"div",[["class","dial-code"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.selectDialCode(t.context.$implicit)&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[["class","dial-component dial-country-code"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"img",[["width","36"]],[[8,"src",4]],null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"div",[["class","dial-component dial-dial-code"]],null,null,null,null,null)),(t()(),i["\u0275ted"](4,null,[" "," "])),(t()(),i["\u0275eld"](5,0,null,null,1,"div",[["class","dial-component dial-name"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,[" "," "]))],null,function(t,e){var n=e.component.getFlagSvgPath(e.context.$implicit.code.toLowerCase());t(e,2,0,n),t(e,4,0,e.context.$implicit.dial_code),t(e,6,0,e.context.$implicit.name)})}function m(t){return i["\u0275vid"](0,[i["\u0275pid"](0,r.a,[o.a]),i["\u0275qud"](402653184,1,{wrapper:0}),(t()(),i["\u0275eld"](2,0,[[1,0],["wrapper",1]],null,23,"div",[["class","wrapper"],["style","height: 100%;"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,5,"div",[["class","modal-header-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,2,"div",[["class","text-wrapper"]],[[2,"font-weight-600",null]],null,null,null,null)),(t()(),i["\u0275ted"](5,null,["",""])),i["\u0275ppd"](6,1),(t()(),i["\u0275eld"](7,0,null,null,1,"div",[["class","responsive-flex-wrapper shortcuts"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,0,"i",[["class","ti-close"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bsModalRef.hide()&&i),i},null,null)),(t()(),i["\u0275eld"](9,0,null,null,16,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](10,0,null,null,15,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](11,0,null,null,10,"div",[["class","search-wrapper animated fadeInDown"]],null,null,null,null,null)),(t()(),i["\u0275eld"](12,0,[["search",1]],null,5,"input",[["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==i["\u0275nov"](t,13)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==i["\u0275nov"](t,13).onTouched()&&r),"compositionstart"===e&&(r=!1!==i["\u0275nov"](t,13)._compositionStart()&&r),"compositionend"===e&&(r=!1!==i["\u0275nov"](t,13)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.searchText=n)&&r),r},null,null)),i["\u0275did"](13,16384,null,0,a.DefaultValueAccessor,[i.Renderer2,i.ElementRef,[2,a.COMPOSITION_BUFFER_MODE]],null,null),i["\u0275prd"](1024,null,a.NG_VALUE_ACCESSOR,function(t){return[t]},[a.DefaultValueAccessor]),i["\u0275did"](15,671744,null,0,a.NgModel,[[8,null],[8,null],[8,null],[6,a.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),i["\u0275prd"](2048,null,a.NgControl,null,[a.NgModel]),i["\u0275did"](17,16384,null,0,a.NgControlStatus,[[4,a.NgControl]],null,null),(t()(),i["\u0275eld"](18,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](19,0,null,null,0,"i",[["class","fa fa-search"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,h)),i["\u0275did"](21,16384,null,0,s.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](22,0,null,null,3,"div",[["class","dial-codes"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,2,null,f)),i["\u0275did"](24,278528,null,0,s.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),i["\u0275pid"](0,l.a,[])],function(t,e){var n=e.component;t(e,15,0,n.searchText),t(e,21,0,!i["\u0275nov"](e,12).value),t(e,24,0,i["\u0275unv"](e,24,0,i["\u0275nov"](e,25).transform(n.dialCodes,n.filterDialCodes,n)))},function(t,e){t(e,4,0,!0);var n=i["\u0275unv"](e,5,0,t(e,6,0,i["\u0275nov"](e,0),"select_dial_code"));t(e,5,0,n),t(e,12,0,i["\u0275nov"](e,17).ngClassUntouched,i["\u0275nov"](e,17).ngClassTouched,i["\u0275nov"](e,17).ngClassPristine,i["\u0275nov"](e,17).ngClassDirty,i["\u0275nov"](e,17).ngClassValid,i["\u0275nov"](e,17).ngClassInvalid,i["\u0275nov"](e,17).ngClassPending)})}function g(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-dial-code-selector-modal",[],null,null,null,m,p)),i["\u0275did"](1,4308992,null,0,u.a,[c.a,d.a],null,null)],function(t,e){t(e,1,0)},null)}var v=i["\u0275ccf"]("app-dial-code-selector-modal",u.a,g,{},{},[])},HZ5i:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n,i,r,o,a,s){this.bsModalRef=t,this.appIsLoadingEventsEmitter=e,this.bsModalEventsEmitter=n,this.usersService=i,this.diaryService=r,this.dateService=o,this.triggerActionEventsEmitter=a,this.router=s,this.mobileWidth=576,this.hideAutoLoadRecipes=!1}return t.prototype.ngOnInit=function(){var t=this;this.usersService.getUserProfile().subscribe(function(e){t.hideAutoLoadRecipes=e.hide_auto_load_button,t.usersService.getUserDailyMeals().subscribe(function(n){t.diaryService.getDiary(e.id,t.dateService.getDate()).subscribe(function(e){t.currentlySelectedDailyMeal=n.find(function(t){return t.id===e.daily_meals.id})},function(){t.currentlySelectedDailyMeal=t.usersService.userProfile.daily_meals})})})},t.prototype.ngAfterViewInit=function(){window.innerWidth<=this.mobileWidth?this.toFullscreen():this.defaultScreen()},t.prototype.isBreakfast=function(t){return"\u0417\u0430\u043a\u0443\u0441\u043a\u0430"===t||"Breakfast"===t},t.prototype.isLunch=function(t){return"\u041e\u0431\u044f\u0434"===t||"Lunch"===t},t.prototype.isDinner=function(t){return"\u0412\u0435\u0447\u0435\u0440\u044f"===t||"Dinner"===t},t.prototype.isSnack=function(t){return"1 intermediate meal"===t||"2 intermediate meal"===t||"3 intermediate meal"===t||"\u041f\u044a\u0440\u0432\u043e \u043c\u0435\u0436\u0434\u0438\u043d\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435"===t||"\u0412\u0442\u043e\u0440\u043e \u043c\u0435\u0436\u0434\u0438\u043d\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435"===t||"\u0422\u0440\u0435\u0442\u043e \u043c\u0435\u0436\u0434\u0438\u043d\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435"===t},t.prototype.toFullscreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement.parentElement,n=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.display="flex",t.style.margin="0",t.style.padding="0",t.style.width="100%",t.style.maxWidth="unset",t.style.minHeight="100%",t.style.height="100%",e.style.borderRadius="0",n.style.display="block",n.style.height="100%"},t.prototype.defaultScreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.maxWidth="564px",e.style.display="block",e.style.height="100%"},t.prototype.onClickMeal=function(t){var e=this;this.bsModalRef.hide(),this.router.navigate(["meals"]),setTimeout(function(){e.triggerActionEventsEmitter.broadcastActionChanged({action:"meal",data:{meal:t}})},500)},t.prototype.onClickBasicMealEvent=function(t){var e=this;this.bsModalRef.hide(),this.router.navigate(["meals"]),setTimeout(function(){e.triggerActionEventsEmitter.broadcastActionChanged({action:t,data:[]})},500)},t}()},IUTb:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("6blF"),r=n("pugT"),o=n("+tJ4");function a(t,e){return new i.a(e?function(n){var i=new r.a,o=0;return i.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||i.add(this.schedule())):n.complete()})),i}:Object(o.a)(t))}},Ip0R:function(t,e,n){"use strict";n.d(e,"D",function(){return K}),n.d(e,"x",function(){return N}),n.d(e,"m",function(){return Q}),n.d(e,"n",function(){return Z}),n.d(e,"e",function(){return v}),n.d(e,"v",function(){return y}),n.d(e,"y",function(){return w}),n.d(e,"z",function(){return C}),n.d(e,"E",function(){return X}),n.d(e,"b",function(){return ht}),n.d(e,"j",function(){return J}),n.d(e,"k",function(){return et}),n.d(e,"l",function(){return it}),n.d(e,"o",function(){return ct}),n.d(e,"p",function(){return st}),n.d(e,"q",function(){return lt}),n.d(e,"r",function(){return ut}),n.d(e,"s",function(){return dt}),n.d(e,"c",function(){return ft}),n.d(e,"d",function(){return pt}),n.d(e,"C",function(){return mt}),n.d(e,"A",function(){return vt}),n.d(e,"B",function(){return yt}),n.d(e,"w",function(){return bt}),n.d(e,"u",function(){return o}),n.d(e,"g",function(){return a}),n.d(e,"i",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"f",function(){return d}),n.d(e,"t",function(){return p}),n.d(e,"h",function(){return u});var i=n("CcnG"),r=n("mrSG"),o=function(){return function(){}}(),a=new i.InjectionToken("Location Initialized"),s=function(){return function(){}}(),l=new i.InjectionToken("appBaseHref"),u=function(){function t(t){var n=this;this._subject=new i.EventEmitter,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(c(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,c(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=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},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function c(t){return t.replace(/\/index.html$/,"")}var d=function(t){function e(e,n){var i=t.call(this)||this;return i._platformLocation=e,i._baseHref="",null!=n&&(i._baseHref=n),i}return Object(r.d)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=u.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+u.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+u.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(s),p=function(t){function e(e,n){var i=t.call(this)||this;if(i._platformLocation=e,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,i}return Object(r.d)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return u.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+u.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+u.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+u.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(s),h=void 0,f=["en",[["a","p"],["AM","PM"],h],[["AM","PM"],h,h],[["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"]],h,[["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"]],h,[["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}",h,"{1} 'at' {0}",h],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],m={},g=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),v=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),y=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),b=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),_=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function w(t,e,n){var i=I(t),r=T([i[3],i[4]],e);return T(r,n)}function C(t,e,n){var i=I(t),r=T([i[5],i[6]],e);return T(r,n)}function x(t,e){return T(I(t)[10],e)}function E(t,e){return T(I(t)[11],e)}function S(t,e){return T(I(t)[12],e)}function O(t,e){var n=I(t),i=n[13][e];if(void 0===i){if(e===_.CurrencyDecimal)return n[13][_.Decimal];if(e===_.CurrencyGroup)return n[13][_.Group]}return i}function k(t){if(!t[19])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function T(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 P(t){var e=Object(r.h)(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function I(t){var e=t.toLowerCase().replace(/_/g,"-"),n=m[e];if(n)return n;var i=e.split("-")[0];if(n=m[i])return n;if("en"===i)return f;throw new Error('Missing locale data for the locale "'+t+'".')}var M=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,R={},D=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,A=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),j=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),L=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function N(t,e,n,i){var o=function(t){if($(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=Object(r.h)(t.split("-").map(function(t){return+t}),3);return new Date(i[0],i[1]-1,i[2])}if(e=t.match(M))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.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,l=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,a,s,l,u),e}(e)}var o=new Date(t);if(!$(o))throw new Error('Unable to convert "'+t+'" into a date');return o}(t);e=function t(e,n){var i=function(t){return I(t)[0]}(e);if(R[i]=R[i]||{},R[i][n])return R[i][n];var r="";switch(n){case"shortDate":r=x(e,b.Short);break;case"mediumDate":r=x(e,b.Medium);break;case"longDate":r=x(e,b.Long);break;case"fullDate":r=x(e,b.Full);break;case"shortTime":r=E(e,b.Short);break;case"mediumTime":r=E(e,b.Medium);break;case"longTime":r=E(e,b.Long);break;case"fullTime":r=E(e,b.Full);break;case"short":var o=t(e,"shortTime"),a=t(e,"shortDate");r=V(S(e,b.Short),[o,a]);break;case"medium":var s=t(e,"mediumTime"),l=t(e,"mediumDate");r=V(S(e,b.Medium),[s,l]);break;case"long":var u=t(e,"longTime"),c=t(e,"longDate");r=V(S(e,b.Long),[u,c]);break;case"full":var d=t(e,"fullTime"),p=t(e,"fullDate");r=V(S(e,b.Full),[d,p])}return r&&(R[i][n]=r),r}(n,e)||e;for(var a,s=[];e;){if(!(a=D.exec(e))){s.push(e);break}var l=(s=s.concat(a.slice(1))).pop();if(!l)break;e=l}var u=o.getTimezoneOffset();i&&(u=Y(i,u),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*(Y(e,i)-i))}(o,i));var c="";return s.forEach(function(t){var e=function(t){if(q[t])return q[t];var e;switch(t){case"G":case"GG":case"GGG":e=U(L.Eras,y.Abbreviated);break;case"GGGG":e=U(L.Eras,y.Wide);break;case"GGGGG":e=U(L.Eras,y.Narrow);break;case"y":e=H(j.FullYear,1,0,!1,!0);break;case"yy":e=H(j.FullYear,2,0,!0,!0);break;case"yyy":e=H(j.FullYear,3,0,!1,!0);break;case"yyyy":e=H(j.FullYear,4,0,!1,!0);break;case"M":case"L":e=H(j.Month,1,1);break;case"MM":case"LL":e=H(j.Month,2,1);break;case"MMM":e=U(L.Months,y.Abbreviated);break;case"MMMM":e=U(L.Months,y.Wide);break;case"MMMMM":e=U(L.Months,y.Narrow);break;case"LLL":e=U(L.Months,y.Abbreviated,v.Standalone);break;case"LLLL":e=U(L.Months,y.Wide,v.Standalone);break;case"LLLLL":e=U(L.Months,y.Narrow,v.Standalone);break;case"w":e=G(1);break;case"ww":e=G(2);break;case"W":e=G(1,!0);break;case"d":e=H(j.Date,1);break;case"dd":e=H(j.Date,2);break;case"E":case"EE":case"EEE":e=U(L.Days,y.Abbreviated);break;case"EEEE":e=U(L.Days,y.Wide);break;case"EEEEE":e=U(L.Days,y.Narrow);break;case"EEEEEE":e=U(L.Days,y.Short);break;case"a":case"aa":case"aaa":e=U(L.DayPeriods,y.Abbreviated);break;case"aaaa":e=U(L.DayPeriods,y.Wide);break;case"aaaaa":e=U(L.DayPeriods,y.Narrow);break;case"b":case"bb":case"bbb":e=U(L.DayPeriods,y.Abbreviated,v.Standalone,!0);break;case"bbbb":e=U(L.DayPeriods,y.Wide,v.Standalone,!0);break;case"bbbbb":e=U(L.DayPeriods,y.Narrow,v.Standalone,!0);break;case"B":case"BB":case"BBB":e=U(L.DayPeriods,y.Abbreviated,v.Format,!0);break;case"BBBB":e=U(L.DayPeriods,y.Wide,v.Format,!0);break;case"BBBBB":e=U(L.DayPeriods,y.Narrow,v.Format,!0);break;case"h":e=H(j.Hours,1,-12);break;case"hh":e=H(j.Hours,2,-12);break;case"H":e=H(j.Hours,1);break;case"HH":e=H(j.Hours,2);break;case"m":e=H(j.Minutes,1);break;case"mm":e=H(j.Minutes,2);break;case"s":e=H(j.Seconds,1);break;case"ss":e=H(j.Seconds,2);break;case"S":e=H(j.FractionalSeconds,1);break;case"SS":e=H(j.FractionalSeconds,2);break;case"SSS":e=H(j.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=z(A.Short);break;case"ZZZZZ":e=z(A.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=z(A.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=z(A.Long);break;default:return null}return q[t]=e,e}(t);c+=e?e(o,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function V(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function F(t,e,n,i,r){void 0===n&&(n="-");var o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=n));for(var a=String(t);a.length<e;)a="0"+a;return i&&(a=a.substr(a.length-e)),o+a}function H(t,e,n,i,r){return void 0===n&&(n=0),void 0===i&&(i=!1),void 0===r&&(r=!1),function(o,a){var s,l=function(t,e){switch(t){case j.FullYear:return e.getFullYear();case j.Month:return e.getMonth();case j.Date:return e.getDate();case j.Hours:return e.getHours();case j.Minutes:return e.getMinutes();case j.Seconds:return e.getSeconds();case j.FractionalSeconds:return e.getMilliseconds();case j.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}(t,o);if((n>0||l>-n)&&(l+=n),t===j.Hours)0===l&&-12===n&&(l=12);else if(t===j.FractionalSeconds)return s=e,F(l,3).substr(0,s);var u=O(a,_.MinusSign);return F(l,e,u,i,r)}}function U(t,e,n,i){return void 0===n&&(n=v.Format),void 0===i&&(i=!1),function(r,o){return function(t,e,n,i,r,o){switch(n){case L.Months:return C(e,r,i)[t.getMonth()];case L.Days:return w(e,r,i)[t.getDay()];case L.DayPeriods:var a=t.getHours(),s=t.getMinutes();if(o){var l,u=function(t){var e=I(t);return k(e),(e[19][2]||[]).map(function(t){return"string"==typeof t?P(t):[P(t[0]),P(t[1])]})}(e),c=function(t,e,n){var i=I(t);k(i);var r=T([i[19][0],i[19][1]],e)||[];return T(r,n)||[]}(e,r,i);if(u.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],i=t[1],r=i.hours;a>=n.hours&&s>=n.minutes&&(a<r||a===r&&s<i.minutes)&&(l=c[e])}else t.hours===a&&t.minutes===s&&(l=c[e])}),l)return l}return function(t,e,n){var i=I(t),r=T([i[1],i[2]],e);return T(r,n)}(e,r,i)[a<12?0:1];case L.Eras:return function(t,e){return T(I(t)[7],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,t,e,n,i)}}function z(t){return function(e,n,i){var r=-1*i,o=O(n,_.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case A.Short:return(r>=0?"+":"")+F(a,2,o)+F(Math.abs(r%60),2,o);case A.ShortGMT:return"GMT"+(r>=0?"+":"")+F(a,1,o);case A.Long:return"GMT"+(r>=0?"+":"")+F(a,2,o)+":"+F(Math.abs(r%60),2,o);case A.Extended:return 0===i?"Z":(r>=0?"+":"")+F(a,2,o)+":"+F(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var B=0,W=4;function G(t,e){return void 0===e&&(e=!1),function(n,i){var r,o,a,s;if(e){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();r=1+Math.floor((u+l)/7)}else{var c=(a=n.getFullYear(),s=new Date(a,B,1).getDay(),new Date(a,0,1+(s<=W?W:W+7)-s)),d=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(W-o.getDay()))).getTime()-c.getTime();r=1+Math.round(d/6048e5)}return F(r,t,O(i,_.MinusSign))}}var q={};function Y(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function $(t){return t instanceof Date&&!isNaN(t.valueOf())}var K=new i.InjectionToken("UseV4Plurals"),Z=function(){return function(){}}(),Q=function(t){function e(e,n){var i=t.call(this)||this;return i.locale=e,i.deprecatedPluralFn=n,i}return Object(r.d)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return I(t)[18]}(e||this.locale)(t)){case g.Zero:return"zero";case g.One:return"one";case g.Two:return"two";case g.Few:return"few";case g.Many:return"many";default:return"other"}},e}(Z);function X(t,e){var n,i;e=encodeURIComponent(e);try{for(var o=Object(r.j)(t.split(";")),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.indexOf("="),u=Object(r.h)(-1==l?[s,""]:[s.slice(0,l),s.slice(l+1)],2),c=u[1];if(u[0].trim()===e)return decodeURIComponent(c)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}var J=function(){function t(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i["\u0275stringify"])(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),tt=function(){function t(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),et=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(i.isDevMode)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,i,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new tt(null,e._ngForOf,-1,-1),r),a=new nt(t,o);n.push(a)}else null==r?e._viewContainer.remove(i):(o=e._viewContainer.get(i),e._viewContainer.move(o,r),a=new nt(t,o),n.push(a))});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);i=0;for(var r=this._viewContainer.length;i<r;i++){var o=this._viewContainer.get(i);o.context.index=i,o.context.count=r,o.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),nt=function(){return function(t,e){this.record=t,this.view=e}}(),it=function(){function t(t,e){this._viewContainer=t,this._context=new rt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){ot("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){ot("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t.ngTemplateGuard_ngIf=function(t,e){return!0},t}(),rt=function(){return function(){this.$implicit=null,this.ngIf=null}}();function ot(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+Object(i["\u0275stringify"])(e)+"'.")}var at=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),st=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=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},t.prototype._updateDefaultCases=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}(),lt=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new at(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}(),ut=function(){return function(t,e,n){n._addDefault(new at(t,e))}}(),ct=function(){function t(t,e,n){this._differs=t,this._ngEl=e,this._renderer=n}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=Object(r.h)(t.split("."),2),i=n[0],o=n[1];null!=(e=null!=e&&o?""+e+o:e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)},t}(),dt=function(){function t(t){this._viewContainerRef=t}return t.prototype.ngOnChanges=function(t){this._shouldRecreateView(t)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},t.prototype._shouldRecreateView=function(t){var e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)},t.prototype._hasContextShapeChanged=function(t){var e,n,i=Object.keys(t.previousValue||{}),o=Object.keys(t.currentValue||{});if(i.length===o.length){try{for(var a=Object(r.j)(o),s=a.next();!s.done;s=a.next())if(-1===i.indexOf(s.value))return!0}catch(l){e={error:l}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return!1}return!0},t.prototype._updateExistingContext=function(t){var e,n;try{for(var i=Object(r.j)(Object.keys(t)),o=i.next();!o.done;o=i.next()){var a=o.value;this._viewRef.context[a]=this.ngTemplateOutletContext[a]}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t}(),pt=function(){function t(t){this.locale=t}var e;return e=t,t.prototype.transform=function(t,n,r,o){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;try{return N(t,n,o||this.locale,r)}catch(s){throw a=e,Error("InvalidPipeArgument: '"+s.message+"' for pipe '"+Object(i["\u0275stringify"])(a)+"'")}var a},t}(),ht=function(){return function(){}}(),ft=new i.InjectionToken("DocumentToken"),mt="browser",gt="server";function vt(t){return t===mt}function yt(t){return t===gt}var bt=function(){function t(){}return t.ngInjectableDef=Object(i.defineInjectable)({providedIn:"root",factory:function(){return new _t(Object(i.inject)(ft),window)}}),t}(),_t=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}()},ItC6:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.authService=t,this.router=e}return t.prototype.canActivate=function(t,e){return!!this.authService.userHasLoggedIn||this.router.navigate(["login"])},t}()},IvP5:function(t,e,n){var i;i=function(){"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{},r=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),r.forEach(function(n){t(e,n,i[n])})}return e}function n(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}!function(t,e){void 0===e&&(e={});var n=e.insertAt;if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}(".pickadate--element {\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  box-sizing: border-box;\n}\n.pickadate--element:focus {\n  z-index: 1;\n}\ninput.pickadate--element,\nbutton.pickadate--element {\n  font: inherit;\n  color: inherit;\n}\n.pickadate--element[hidden] {\n  display: none;\n}\n\n.pickadate--root {\n  font-size: 16px;\n  font-weight: 300;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n    sans-serif;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n\n  max-width: 23em;\n  min-width: 20em;\n  border: 1px solid #ccc;\n  border-radius: 8px;\n  background-color: #fff;\n}\n.pickadate--header,\n.pickadate--body,\n.pickadate--footer {\n  align-self: stretch;\n}\n.pickadate--header {\n  flex-direction: row;\n  align-items: center;\n  padding: 0.5em 0.5em 0;\n}\n.pickadate--body {\n  flex-grow: 1;\n  padding: 0 0.125em;\n}\n.pickadate--footer {\n  margin-top: 0.325em;\n}\n\n.pickadate--monthAndYear {\n  flex-grow: 1;\n  flex-direction: row;\n  font-size: 1.125em;\n}\n.pickadate--monthAndYear_month {\n  margin-left: 0.5em;\n  margin-right: 0.325em;\n  font-weight: 500;\n}\n.pickadate--monthAndYear_year {\n  color: #999;\n}\n\n.pickadate--button {\n  border: 0;\n  padding: 0;\n  justify-content: center;\n  align-items: center;\n}\n.pickadate--button__previous,\n.pickadate--button__today,\n.pickadate--button__next {\n  height: 2.5em;\n  width: 2.5em;\n  border: 1px solid transparent;\n  border-radius: 4px;\n}\n.pickadate--button__previous svg,\n.pickadate--button__today svg,\n.pickadate--button__next svg {\n  height: 1.5em;\n}\n.pickadate--button__previous:hover svg,\n.pickadate--button__today:hover svg,\n.pickadate--button__next:hover svg,\n.pickadate--button__previous:active svg,\n.pickadate--button__today:active svg,\n.pickadate--button__next:active svg {\n  fill: #0474c5;\n}\n.pickadate--button__previous:focus,\n.pickadate--button__today:focus,\n.pickadate--button__next:focus {\n  outline: none;\n  border-color: #0474c5;\n}\n.pickadate--button__meridiem {\n  width: 3em;\n  border-radius: 4px;\n  border: 1px solid transparent;\n}\n.pickadate--button__meridiem:hover,\n.pickadate--button__meridiem:active {\n  background: #e5e5e5;\n}\n.pickadate--button__meridiem:focus {\n  border-color: #0474c5;\n  outline: none;\n}\n\n.pickadate--grid {\n  padding: 0;\n  margin: 0;\n  border: 1px solid transparent;\n  flex-grow: 1;\n  align-self: stretch;\n  align-items: stretch;\n}\n.pickadate--grid:focus {\n  outline: none;\n}\n.pickadate--grid_row {\n  flex-direction: row;\n  flex-grow: 1;\n  min-height: 2.25em;\n}\n.pickadate--grid_row__label {\n  flex-grow: 0;\n  min-height: 1.325em;\n}\n.pickadate--grid_label,\n.pickadate--grid_cell {\n  justify-content: center;\n  align-items: center;\n  align-self: stretch;\n  flex-grow: 1;\n  flex-shrink: 0;\n  flex-basis: 0;\n  min-width: 2.25em;\n}\n.pickadate--grid_label {\n  align-self: flex-start;\n  font-size: 0.75em;\n  color: #999;\n  font-weight: 700;\n}\n.pickadate--grid_cell {\n  font-size: 1.125em;\n  font-weight: 400;\n  line-height: 1;\n}\n.pickadate--grid_cell > div {\n  justify-content: center;\n  align-items: center;\n  width: 2.25em;\n  height: 2.25em;\n  border-radius: 50%;\n}\n.pickadate--grid_cell:hover > div,\n.pickadate--grid:focus:not(:active)\n  .pickadate--grid_cell__highlighted:not(.pickadate--grid_cell__selected)\n  > div,\n.pickadate--grid__focused:not(:active)\n  .pickadate--grid_cell__highlighted:not(.pickadate--grid_cell__selected)\n  > div {\n  background: #bde1fa;\n}\n.pickadate--grid_cell__today > div {\n  border: 1px solid #e5e5e5;\n}\n.pickadate--grid_cell__today:hover:not(.pickadate--grid_cell__disabled) > div,\n.pickadate--grid:focus\n  .pickadate--grid_cell__today.pickadate--grid_cell__highlighted:not(.pickadate--grid_cell__selected)\n  > div,\n.pickadate--grid__focused\n  .pickadate--grid_cell__today.pickadate--grid_cell__highlighted:not(.pickadate--grid_cell__selected)\n  > div,\n.pickadate--grid_cell__today.pickadate--grid_cell__selected > div {\n  border-color: #0474c5;\n}\n.pickadate--grid_cell__today.pickadate--grid_cell__selected > div:after {\n  content: ' ';\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  right: 0;\n  left: 0;\n  border: 1px solid #fff;\n  border-radius: 50%;\n}\n.pickadate--grid_cell__selected > div,\n.pickadate--grid_cell__selected:hover > div {\n  background: #0474c5;\n  color: #fff;\n  font-weight: 600;\n}\n.pickadate--grid_cell__disabled,\n.pickadate--grid_cell__outOfView {\n  opacity: 0.25;\n  transform: scale(0.8);\n}\n.pickadate--grid_cell__disabled > div,\n.pickadate--grid_cell__disabled:hover > div {\n  background: #b2b2b2;\n}\n\n.pickadate--time {\n  flex-direction: row;\n  align-items: stretch;\n  align-self: stretch;\n  justify-content: center;\n\n  border-top: 1px solid #e5e5e5;\n  margin: 0 17.5% 0.325em;\n  padding-top: 0.25em;\n\n  font-weight: 500;\n}\n.pickadate--time_unit {\n}\n.pickadate--time_unit__hours {\n  margin-right: 0.5em;\n}\n.pickadate--time_unit__minutes {\n  margin-right: 0.25em;\n}\n.pickadate--time_separator {\n  margin-right: 0.25em;\n  justify-content: center;\n  font-weight: bold;\n}\n.pickadate--time_counter {\n  position: absolute;\n  left: 2px;\n  opacity: 0;\n\n  border: 0;\n  border-radius: 4px;\n  padding: 0 4px;\n  height: calc(50% - 3px);\n  justify-content: center;\n}\n.pickadate--time_counter:hover {\n  background: #e5e5e5;\n}\n.pickadate--time_unit:hover .pickadate--time_counter {\n  opacity: 1;\n}\n.pickadate--time_counter__up {\n  top: 2px;\n}\n.pickadate--time_counter__down {\n  bottom: 2px;\n}\n.pickadate--time_counter svg {\n  height: 0.4375em;\n}\n.pickadate--time_input {\n  width: 4em;\n  height: 2.25em;\n  padding: 0 0.25em 0 1.5em;\n  border: 1px solid transparent;\n  border-radius: 6px;\n}\n.pickadate--time_input:focus {\n  border-color: #0474c5;\n  outline: none;\n}\n.pickadate--time_input:focus ~ .pickadate--time_counter {\n  z-index: 2;\n  opacity: 1;\n}\n\n/**\n * INPUT PICKER\n */\n\n.pickadate--input-root {\n  position: absolute;\n  z-index: 1;\n}\n.pickadate--input-root .pickadate--root {\n  max-height: 0;\n  overflow: hidden;\n  opacity: 0;\n  pointer-events: none;\n}\n.pickadate--input-root .pickadate--root__active {\n  max-height: none;\n  opacity: 1;\n  pointer-events: auto;\n}\n");var i=function(t,e){var n=e-(t="".concat(t)).length;return n>0?"0".repeat(n)+t:t},r=function(t,e){for(var n=[],i=t;i<=e;i++)n.push(i);return n},o=function(t,e){return t.map(function(n,i){return t[(i+e)%7]})},a=function(t,e){return new Date(t,e,1).getDay()},s=function(t){var e=t.getFullYear(),n=t.getMonth();return new Date(e,n,1)},l=function(t){return(Array.isArray(t)?t:[t]).reduce(function(t,n){return n?(Array.isArray(n)?n.forEach(function(e){"string"==typeof e&&(t[e]=!0)}):"string"==typeof n?t[n]=!0:n.constructor===Object&&(t=e({},t,n)),t):t},{})},u="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function c(){throw new Error("setTimeout has not been defined")}function d(){throw new Error("clearTimeout has not been defined")}var p=c,h=d;function f(t){if(p===setTimeout)return setTimeout(t,0);if((p===c||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch(e){try{return p.call(null,t,0)}catch(e){return p.call(this,t,0)}}}"function"==typeof u.setTimeout&&(p=setTimeout),"function"==typeof u.clearTimeout&&(h=clearTimeout);var m,g=[],v=!1,y=-1;function b(){v&&m&&(v=!1,m.length?g=m.concat(g):y=-1,g.length&&_())}function _(){if(!v){var t=f(b);v=!0;for(var e=g.length;e;){for(m=g,g=[];++y<e;)m&&m[y].run();y=-1,e=g.length}m=null,v=!1,function(t){if(h===clearTimeout)return clearTimeout(t);if((h===d||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}(t)}}function w(t,e){this.fun=t,this.array=e}function C(){}w.prototype.run=function(){this.fun.apply(null,this.array)};var x=C,E=C,S=C,O=C,k=C,T=C,P=C,I=u.performance||{},M=I.now||I.mozNow||I.msNow||I.oNow||I.webkitNow||function(){return(new Date).getTime()},R=new Date,D={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];g.push(new w(t,e)),1!==g.length||v||f(_)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:x,addListener:E,once:S,off:O,removeListener:k,removeAllListeners:T,emit:P,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*M.call(I),n=Math.floor(e),i=Math.floor(e%1*1e9);return t&&(n-=t[0],(i-=t[1])<0&&(n--,i+=1e9)),[n,i]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-R)/1e3}},A=function(t,e){return t instanceof Date&&e instanceof Date&&j(t,e)&&t.getDate()===e.getDate()},j=function(t,e){return t instanceof Date&&e instanceof Date&&L(t,e)&&t.getMonth()===e.getMonth()},L=function(t,e){return t instanceof Date&&e instanceof Date&&t.getFullYear()===e.getFullYear()},N=function(t,e){return t instanceof Date&&e instanceof Date&&(t.getFullYear()<e.getFullYear()||L(t,e)&&t.getMonth()<e.getMonth()||j(t,e)&&t.getDate()<e.getDate())},V=function(t,e){return A(t,e)||N(t,e)},F={D:function(t){return"".concat(t.getDate())},DD:function(t){return"".concat(i(F.D(t),2))},DDD:function(t,e){return e[t.getDay()]},DDDD:function(t,e){return e[t.getDay()]},M:function(t){return"".concat(t.getMonth()+1)},MM:function(t){return"".concat(i(F.M(t),2))},MMM:function(t,e){return e[t.getMonth()]},MMMM:function(t,e){return e[t.getMonth()]},YYYY:function(t){return"".concat(t.getFullYear())},H:function(t){return"".concat(t.getHours())},HH:function(t){return"".concat(i(F.H(t),2))},h:function(t){return"".concat(t.getHours()%12||12)},hh:function(t){return"".concat(i(F.h(t),2))},m:function(t){return"".concat(t.getMinutes())},mm:function(t){return"".concat(i(F.m(t),2))},a:function(t){return t.getHours()<12?"a.m.":"p.m."},A:function(t){return t.getHours()<12?"AM":"PM"},s:function(t){return"".concat(t.getSeconds())},ss:function(t){return"".concat(i(F.s(t),2))},x:function(t){return"".concat(t.getTime())}},H=function(t){return t.replace(/(^\d*)(.*)/,"$1")},U=function(t){return t.replace(/(^\w*)(.*)/,"$1")},z={D:H,DD:H,DDD:U,DDDD:U,M:H,MM:H,MMM:U,MMMM:U,YYYY:H,H:H,HH:H,h:H,hh:H,m:H,mm:H,a:function(t){return t.replace(/(^[ap]\.m\.)?(.*)/,"$1")},A:function(t){return t.replace(/(^[AP]M)?(.*)/,"$1")},s:H,ss:H,x:H};if("development"===D.env.NODE_ENV){var B=Object.keys(F).filter(function(t){return!z[t]});console.assert(!B.length,"Missing keys to parse with",B);var W=Object.keys(z).filter(function(t){return!F[t]});console.assert(!W.length,"Missing keys to format with",W)}for(var G,q=Object.keys(F),Y=new RegExp(["(\\[.*?\\])","(?:\\b(".concat(q.join("|"),")\\b)"),"(.)"].join("|"),"g"),$=function(t,e){var n=t.maximum,i=t.disabled;return N(e,t.minimum)||N(n,e)||i.some(function(t){if("number"==typeof t)return e.getDay()===t;if(t instanceof Date)return A(e,t);if(Array.isArray(t)){var n=(2,function(t){if(Array.isArray(t))return t}(r=t)||function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),2!==n.length);i=!0);}catch(l){r=!0,o=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),i=n[1];return V(n[0],e)&&V(e,i)}var r})},K={BACKSPACE:8,ENTER:13,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},Z=Object.values(K),Q=function(t){return function(e){e.keyCode===K.BACKSPACE?(e.preventDefault(),t.clear()):e.keyCode===K.ENTER||e.keyCode===K.SPACE?(e.preventDefault(),t.setSelected({value:t.store.getState().highlighted})):Z.includes(e.keyCode)&&(e.preventDefault(),t.setHighlighted({keyCode:e.keyCode}))}},X=function(t){return function(e){return function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return function(n,r,o){var a=t(n,o);e(a,n,r,o);var s=i.map(function(t){return t(n,r,o)});return Ct(a,s),a}}}},J=X(function(){return wt({tagName:"div"})}),tt=X(function(t,e){var n=wt({tagName:"button"});return e.addEventListener("pickadate:input-open",function(){n.disabled=!1}),e.addEventListener("pickadate:input-close",function(){n.disabled=!0}),n}),et=J(function(t,e,n,i){if(!(i instanceof HTMLInputElement))throw new Error("Cannot initialize an input root without the input element");_t(i,e),t.className=n.className.inputRoot,t.addEventListener("focusin",function(t){return t.stopPropagation()}),t.addEventListener("click",function(t){return t.stopPropagation()}),t.addEventListener("mousedown",function(t){var e=t.target;e instanceof HTMLInputElement||e instanceof HTMLButtonElement||t.preventDefault()})}),nt=J(function(t,e,n,i){xt(t,{className:n.className.root}),i.addEventListener("pickadate:input-open",function(){t.classList.add(n.className.root__active)}),i.addEventListener("pickadate:input-close",function(){t.classList.remove(n.className.root__active)}),e.subscribeToSelection(function(){return St(i,"pickadate:change")})}),it=J(function(t,e,n){xt(t,{className:n.className.header})}),rt=J(function(t,e,n){xt(t,{className:n.className.body})}),ot=J(function(t,e,n){xt(t,{className:n.className.footer})}),at=J(function(t,e,n){var i=e.store.getState();xt(t,{className:n.className.time,hidden:!i.selected}),e.store.subscribe(function(){var n=e.store.getState();t.hidden=!n.selected})}),st=J(function(t,e,n){xt(t,{className:n.className.monthAndYear});var i=function(){var i=e.store.getState();t.innerHTML="",Ct(t,[wt({children:i.templateHookWords.MMMM[i.view.getMonth()],className:n.className.monthAndYear_month}),wt({children:i.view.getFullYear(),className:n.className.monthAndYear_year})])};i(),e.store.subscribe(i)}),lt=tt(function(t,e,n){xt(t,{className:n.className.button_previous,onMouseDown:function(t){return t.preventDefault()},onClick:function(){return e.viewPrevious()}}),t.innerHTML='<svg viewBox="0 0 32 54"><path d="M25.04 3L1 27.01l24.04 24.01 5-4.989L11 27.01 30.04 7.99z"/></svg>'}),ut=tt(function(t,e,n){xt(t,{className:n.className.button_today,onMouseDown:function(t){return t.preventDefault()},onClick:function(){return e.viewToday()}}),t.innerHTML='<svg viewBox="0 0 54 54"><path d="M27 46C16.51 46 8 37.49 8 27S16.51 8 27 8s19 8.51 19 19-8.51 19-19 19m0-45C12.64 1 1 12.64 1 27s11.64 26 26 26 26-11.64 26-26S41.36 1 27 1"/><path d="M31 27c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4"/></svg>'}),ct=tt(function(t,e,n){xt(t,{className:n.className.button_next,onMouseDown:function(t){return t.preventDefault()},onClick:function(){return e.viewNext()}}),t.innerHTML='<svg viewBox="0 0 32 54"><path d="M7 51.02l24.04-24.01L7 3 2 7.989 21.04 27.01 2 46.03z"/></svg>'}),dt=tt(function(t,e,n,i){i.addEventListener("pickadate:input-active",function(){t.classList.add(n.className.grid__focused)}),i.addEventListener("pickadate:input-inactive",function(){t.classList.remove(n.className.grid__focused)}),xt(t,{className:n.className.grid,onClick:function(t){var n=function(t){var e=function(t,e){for(var n=0;n<t.length;n+=1){var i=t[n];if(i===e)return;var r=i.dataset.value;if(null!=r)return r}}(function(t){if(t.path)return t.path;for(var e=[],n=t.target;n.parentNode;)e.push(n),n=n.parentNode;return e.push(document,window),e}(t),t.currentTarget);if(null!=e){if(e=parseInt(e,10),Number.isFinite(e))return e;console.error("Unable to get value from mouse event %o",t)}}(t);n&&e.setSelected({value:n})},onKeyDown:Q(e)});var r=function(){t.innerHTML="",Ct(t,gt(n,e.store.getState()))};r(),e.store.subscribe(r)}),pt=tt(function(t,e,n){xt(t,{className:n.className.button_meridiem,onMouseDown:function(t){return t.preventDefault()},onClick:function(){return e.cycleMeridiem()}});var i=function(){var n=e.store.getState().selected;t.innerHTML="",Ct(t,n?n.getHours()<12?"AM":"PM":"AM"),t.tabIndex=n?0:-1};i(),e.store.subscribe(i)}),ht=J(function(t,e,r){xt(t,{className:r.className.time_hours});var o=function(){return e.cycleHourUp()},a=function(){return e.cycleHourDown()},s=yt(r,{className:r.className.time_input__hours,onKeyCodeUp:o,onKeyCodeDown:a}),l=function(){var t=e.store.getState(),n=t.selected?i(t.selected.getHours()%12||12,2):"";s.value=n,s.tabIndex=t.selected?0:-1};l(),e.store.subscribe(l),Ct(t,[s].concat(n(bt(r,{onClickUp:o,onClickDown:a}))))}),ft=J(function(t,e,r){xt(t,{className:r.className.time_minutes});var o=function(){return e.cycleMinuteUp()},a=function(){return e.cycleMinuteDown()},s=yt(r,{className:r.className.time_input__minutes,onKeyCodeUp:o,onKeyCodeDown:a}),l=function(){var t=e.store.getState(),n=t.selected?i(t.selected.getMinutes(),2):"";s.value=n,s.tabIndex=t.selected?0:-1};l(),e.store.subscribe(l),Ct(t,[s].concat(n(bt(r,{onClickUp:o,onClickDown:a}))))}),mt=J(function(t,e,n){xt(t,{className:n.className.time_separator}),t.innerHTML=":"}),gt=function(t,e){var n,i,s,u,c,d=(i=e.firstDayOfWeek,s=(n=e.view).getFullYear(),u=n.getMonth(),c=function(t,e,n){var i=a(t,e)-n,r=7-i;return i<0?new Date(t,e,n-r).getMonth():new Date(t,e,r).getMonth()}(s,u,i)===u?0:-1,r(0+c,5+c).map(function(t){return function(t,e,n,i){var o=a(t,e),s=7*n;return r(1,7).map(function(n){return new Date(t,e,n+s-o+i)})}(s,u,t,i)})).map(function(n){return wt({className:t.className.grid_row,children:n.map(function(n){return vt(t,e,n)})})});return d.unshift(wt({className:l([t.className.grid_row,t.className.grid_row__label]),children:o(e.templateHookWords.DDD,e.firstDayOfWeek).map(function(e){return wt({className:t.className.grid_label,children:e})})})),d},vt=function(e,n,i){var r,o=function(t,e){return{isToday:A(new Date,e),isSelected:A(t.selected,e),isHighlighted:A(t.highlighted,e),isSameMonth:j(t.view,e),isDisabled:$(t,e)}}(n,i),a=wt({className:l([e.className.grid_cell,(r={},t(r,e.className.grid_cell__today,o.isToday),t(r,e.className.grid_cell__highlighted,o.isHighlighted),t(r,e.className.grid_cell__selected,o.isSelected),t(r,e.className.grid_cell__outOfView,!o.isSameMonth),t(r,e.className.grid_cell__disabled,o.isDisabled),r)]),attributes:{dataset:o.isDisabled?void 0:{value:i.getTime()}}}),s=wt({children:i.getDate()}),u=e.renderCell({dateObject:i,children:s})||s;return Ct(a,u),a},yt=function(t,e){var n=e.onKeyCodeUp,i=e.onKeyCodeDown,r=wt({tagName:"input",className:[t.className.time_input,e.className],attributes:{onKeyDown:function(t){t.keyCode===K.UP?(t.preventDefault(),n()):t.keyCode===K.DOWN&&(t.preventDefault(),i())},onFocus:function(){return r.setSelectionRange(0,0)},readOnly:!0}});return r},bt=function(t,e){var n=e.onClickDown,i=function(t){return t.preventDefault()},r=wt({tagName:"button",className:[t.className.time_counter,t.className.time_counter__up],attributes:{tabIndex:-1,onMouseDown:i,onClick:e.onClickUp}});r.innerHTML='<svg viewBox="0 0 54 32"><path d="M50.53 25.53L26.52 1.49 2.51 25.53l4.989 5L26.52 11.49l19.02 19.04z"/></svg>';var o=wt({tagName:"button",className:[t.className.time_counter,t.className.time_counter__down],attributes:{tabIndex:-1,onMouseDown:i,onClick:n}});return o.innerHTML='<svg viewBox="0 0 54 32"><path d="M2.51 7.49l24.01 24.04L50.53 7.49l-4.989-5L26.52 21.53 7.5 2.49z"/></svg>',[r,o]},_t=function(t,e){t.readOnly=!0,t.value=e.getValue(),t.addEventListener("focus",function(){St(t,"pickadate:input-open"),St(t,"pickadate:input-active")}),t.addEventListener("blur",function(){St(t,"pickadate:input-inactive")}),t.addEventListener("keydown",Q(e));var n=function(e){e.target===t||e.isSimulated||e.target===document||3===e.which||St(t,"pickadate:input-close")};document.addEventListener("focusin",n),document.addEventListener("click",n),t.addEventListener("pickadate:unmount",function(){document.removeEventListener("focusin",n),document.removeEventListener("click",n)}),St(t,"pickadate:input-close"),e.subscribeToSelection(function(e){var n=e.value;if(n!==t.value){t.value=n;var i=new CustomEvent("change");t.dispatchEvent(i)}})},wt=function(t){var n=t.tagName,i=t.className,r=t.attributes,o=t.children,a=document.createElement(void 0===n?"div":n);return xt(a,e({},r,{className:l(["pickadate--element",i])})),Ct(a,o),a},Ct=function(t,e){null!=e&&(e=Array.isArray(e)?e:[e]).forEach(function(e){e instanceof Node||(e="string"!=typeof e?e.toString():e,e=document.createTextNode(e)),t.appendChild(e)})},xt=function(t,e){e&&Object.keys(e).forEach(function(n){var i=e[n];null!=i&&("function"!=typeof i?"className"!==n?"dataset"!==n?t.setAttribute(n,i):Object.keys(i).forEach(function(e){var n="data-".concat(e.split(/(?=[A-Z])/g).map(function(t){return t.toLowerCase()}).join("-"));t.setAttribute(n,i[e])}):Et(t,i):t.addEventListener(n.replace(/^on/,"").toLowerCase(),i))})},Et=function(e,n){n&&(Array.isArray(n)?n:[n]).forEach(function(n){n&&("string"==typeof n&&(n=t({},n,!0)),Array.isArray(n)?n.forEach(function(t){t&&"string"==typeof t&&e.classList.add(t)}):Object.keys(n).forEach(function(t){t&&"string"==typeof t&&n[t]&&e.classList.add(t)}))})},St=function(t,e){var n=new CustomEvent(e);t.dispatchEvent(n)},Ot={mode:"date",renderCell:function(){},className:{inputRoot:"pickadate--input-root",root:"pickadate--root",root__active:"pickadate--root__active",header:"pickadate--header",body:"pickadate--body",footer:"pickadate--footer",monthAndYear:"pickadate--monthAndYear",monthAndYear_month:"pickadate--monthAndYear_month",monthAndYear_year:"pickadate--monthAndYear_year",grid:"pickadate--grid",grid__focused:"pickadate--grid__focused",grid_row:"pickadate--grid_row",grid_row__label:"pickadate--grid_row__label",grid_label:"pickadate--grid_label",grid_cell:"pickadate--grid_cell",grid_cell__today:"pickadate--grid_cell__today",grid_cell__highlighted:"pickadate--grid_cell__highlighted",grid_cell__selected:"pickadate--grid_cell__selected",grid_cell__outOfView:"pickadate--grid_cell__outOfView",grid_cell__disabled:"pickadate--grid_cell__disabled",button_previous:["pickadate--button","pickadate--button__previous"],button_today:["pickadate--button","pickadate--button__today"],button_next:["pickadate--button","pickadate--button__next"],button_clear:["pickadate--button","pickadate--button__clear"],button_meridiem:["pickadate--button","pickadate--button__meridiem"],time:"pickadate--time",time_hours:["pickadate--time_unit","pickadate--time_unit__hours"],time_minutes:["pickadate--time_unit","pickadate--time_unit__minutes"],time_separator:"pickadate--time_separator",time_input:"pickadate--time_input",time_input__hours:"pickadate--time_input__hours",time_input__minutes:"pickadate--time_input__minutes",time_counter:"pickadate--time_counter",time_counter__up:"pickadate--time_counter__up",time_counter__down:"pickadate--time_counter__down"}},kt={MMM:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],MMMM:["January","February","March","April","May","June","July","August","September","October","November","December"],DDD:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],DDDD:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Tt="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Pt=(function(t){(function(){var e,n,i,r,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=D&&D.hrtime?(t.exports=function(){return(e()-o)/1e6},n=D.hrtime,r=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*D.uptime(),o=r-a):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(Tt)}(G={exports:{}}),G.exports),It="undefined"==typeof window?Tt:window,Mt=["moz","webkit"],Rt="AnimationFrame",Dt=It["request"+Rt],At=It["cancel"+Rt]||It["cancelRequest"+Rt],jt=0;!Dt&&jt<Mt.length;jt++)Dt=It[Mt[jt]+"Request"+Rt],At=It[Mt[jt]+"Cancel"+Rt]||It[Mt[jt]+"CancelRequest"+Rt];if(!Dt||!At){var Lt=0,Nt=0,Vt=[];Dt=function(t){if(0===Vt.length){var e=Pt(),n=Math.max(0,1e3/60-(e-Lt));Lt=n+e,setTimeout(function(){var t=Vt.slice(0);Vt.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(Lt)}catch(n){setTimeout(function(){throw n},0)}},Math.round(n))}return Vt.push({handle:++Nt,callback:t,cancelled:!1}),Nt},At=function(t){for(var e=0;e<Vt.length;e++)Vt[e].handle===t&&(Vt[e].cancelled=!0)}}var Ft=function(t){return Dt.call(It,t)};Ft.cancel=function(){At.apply(It,arguments)},Ft.polyfill=function(t){t||(t=It),t.requestAnimationFrame=Dt,t.cancelAnimationFrame=At};var Ht,Ut=function(t,e){if("number"==typeof e.value&&e.value>=0&&e.value<=6)return{firstDayOfWeek:e.value}},zt=function(t,e){return t&&j(t,e)?new Date(t.getFullYear(),t.getMonth(),t.getDate()):new Date(e.getFullYear(),e.getMonth(),1)},Bt=function(t,e){var n=Wt(t,e);if(n&&!$(t,n)){if(t.selected){var i={hours:(r=t.selected).getHours(),minutes:r.getMinutes()};n.setHours(i.hours,i.minutes)}var r,o=Gt(t,e,n);return{selected:n,highlighted:qt(t,e,n,o),view:o}}},Wt=function(t,e){return e.value instanceof Date?new Date(e.value):Number.isInteger(e.value)?new Date(e.value):void 0},Gt=function(t,e,n){if(!1!==e.isUpdatingView&&!j(t.view,n))return s(n)},qt=function(t,e,n,i){if(!1!==e.isUpdatingView)return zt(n,i||t.view)},Yt=function(t,e){if(e.value instanceof Date)return{highlighted:zt(t.selected,e.value),view:s(e.value)}},$t=function(t,e){if(e.value instanceof Date)return{minimum:e.value}},Kt=function(t,e){if(e.value instanceof Date)return{maximum:e.value}},Zt=function(t,e){if(Array.isArray(e.value))return{disabled:e.value.filter(function(t){return"number"==typeof t?t>=0&&t<=6:Array.isArray(t)?2===t.length&&t[0]instanceof Date&&t[1]instanceof Date:t instanceof Date})}},Qt=function(t,e){if(e.value&&"string"==typeof e.value)return{template:e.value}},Xt=function(t,e){return{templateHookWords:{MMM:Jt(e.MMM,t.templateHookWords.MMM),MMMM:Jt(e.MMMM,t.templateHookWords.MMMM),DDD:te(e.DDD,t.templateHookWords.DDD),DDDD:te(e.DDDD,t.templateHookWords.DDDD)}}},Jt=function(t,e){return Array.isArray(t)&&12===t.length&&t.every(function(t){return"string"==typeof t})?t:e},te=function(t,e){return Array.isArray(t)&&7===t.length&&t.every(function(t){return"string"==typeof t})?t:e},ee=function(t,n){return n.firstDayOfWeek&&(t=e({},t,Ut(0,{value:n.firstDayOfWeek}))),n.selected&&(t=e({},t,Bt(t,{value:n.selected}))),n.view&&(t=e({},t,Yt(t,{value:n.view}))),n.minimum&&(t=e({},t,$t(0,{value:n.minimum}))),n.maximum&&(t=e({},t,Kt(0,{value:n.maximum}))),n.disabled&&(t=e({},t,Zt(0,{value:n.disabled}))),n.template&&(t=e({},t,Qt(0,{value:n.template}))),n.templateHookWords&&(t=e({},t,Xt(t,n.templateHookWords))),t},ne=(t(Ht={},K.DOWN,7),t(Ht,K.UP,-7),t(Ht,K.LEFT,-1),t(Ht,K.RIGHT,1),Ht),ie=function(t,e){var n=ne[e.keyCode];if(n){var i=new Date(t.highlighted);return i.setDate(i.getDate()+n),{highlighted:i,view:j(t.view,i)?void 0:s(i)}}},re=function(t,e){var n=t.selected;if(!n)throw new Error("Cannot set the time without a selected date");if(null!=e.hours&&e.hours!==n.getHours()&&(n=new Date(n)).setHours(e.hours),null!=e.minutes&&e.minutes!==n.getMinutes()&&(n=new Date(n)).setMinutes(e.minutes),n!==t.selected)return{selected:n}},oe=function(t,e){return{selected:null}},ae=function(t){var e=t.view;return e=new Date(e.getFullYear(),e.getMonth()-1,1),{highlighted:zt(t.selected,e),view:e}},se=function(t){var e=t.view;return e=new Date(e.getFullYear(),e.getMonth()+1,1),{highlighted:zt(t.selected,e),view:e}},le=function(t){var e=s(new Date);return{highlighted:zt(t.selected,e),view:e}},ue=function(t){return function(e){var n=e.selected;if(!n)throw new Error("Cannot cycle the hour without a selected date");var i=t(n.getHours()%12);return n.getHours()>11&&(i+=12),(n=new Date(n)).setHours(i),{selected:n}}},ce=ue(function(t){return 11===t?0:t+1}),de=ue(function(t){return 0===t?11:t-1}),pe=function(t){return function(e){var n=e.selected;if(!n)throw new Error("Cannot cycle the minute without a selected date");var i=t(n.getMinutes(),15);return(n=new Date(n)).setMinutes(i),{selected:n}}},he=pe(function(t,e){return t+e>=60?0:t+e}),fe=pe(function(t,e){return t-e<0?60-e:t-e}),me=function(t){var e=t.selected;if(!e)throw new Error("Cannot cycle the meridiem without a selected date");var n=e.getHours();return n+=n<=11?12:-12,(e=new Date(e)).setHours(n),{selected:e}},ge=function(t,e){var n=t.getState().selected;return function(i){return t.subscribe(function(){var r=t.getState().selected;if(!(n===r||n&&r&&n.getTime()===r.getTime())){var o=e();i({value:o,date:r}),n=r}})}},ve=et(),ye=nt(),be=it(st(),lt(),ut(),ct()),_e=rt(dt()),we=ot(at(ht(),mt(),ft(),pt())),Ce=Symbol("pickadate"),xe=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)};return{create:function(){var t,n,i,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0,l=(t=s(new Date),n={firstDayOfWeek:0,selected:null,highlighted:t,view:t,minimum:null,maximum:null,disabled:[],template:"D MMMM, YYYY",templateHookWords:kt},i=null,r=[],{addActor:function(t){return function(o){"development"===D.env.NODE_ENV&&console.log("Updating state using %o and payload %o",t.name,o);var a,s=t(n,o);!function(t){n!==t&&(n=t,i&&Ft.cancel(i),i=Ft(function(){return r.forEach(function(t){return t()})}))}(s?e({},n,(a=s,Object.keys(a).reduce(function(t,e){var n=a[e];return void 0!==n&&(t[e]=n),t},{}))):n)}},subscribe:function(t){return r.push(t),function(){var e=r.indexOf(t);e>-1&&r.splice(e,1)}},getState:function(){return n}}),u=l.addActor(ee);u(function(t,n){return n?e({},t,{firstDayOfWeek:null!=t.firstDayOfWeek?t.firstDayOfWeek:n.firstDayOfWeek,template:null!=t.template?t.template:n.template,templateHookWords:e({},n.templateHookWords,t.templateHookWords)}):t}(o,a));var c=function(t){return function(e){var n,i,r=t.getState(),o=r.selected;return o?(n=o,i=r.templateHookWords,(e||r.template).split(Y).map(function(t,e){return{chunk:t,index:e%4}}).filter(function(t){return!!t.chunk}).map(function(t){return 2===t.index?(0,F[t.chunk])(n,i[t.chunk]):1===t.index?t.chunk.replace(/^\[(.*)]$/,"$1"):t.chunk}).join("")):""}}(l);return{store:l,getValue:c,subscribeToSelection:ge(l,c),setState:u,setFirstDayOfWeek:l.addActor(Ut),setSelected:l.addActor(Bt),setView:l.addActor(Yt),setHighlighted:l.addActor(ie),setMinimum:l.addActor($t),setMaximum:l.addActor(Kt),setDisabled:l.addActor(Zt),setTime:l.addActor(re),setTemplate:l.addActor(Qt),setTemplateHookWords:l.addActor(Xt),clear:l.addActor(oe),viewPrevious:l.addActor(ae),viewNext:l.addActor(se),viewToday:l.addActor(le),cycleHourUp:l.addActor(ce),cycleHourDown:l.addActor(de),cycleMinuteUp:l.addActor(he),cycleMinuteDown:l.addActor(fe),cycleMeridiem:l.addActor(me)}},render:function(t,n,i){if(t[Ce])throw new Error("A picker is already rendered to this element");var r=function(t,e,n){var i=ye(t,e,n),r=be(t,e,n),o=_e(t,e,n);if(Ct(i,[r,o]),"date-time"===e.mode){var a=we(t,e,n);Ct(i,a)}return i}(n,i=i?function t(n,i){var r=e({},n);return Object.keys(n).forEach(function(e){var o=n[e],a=i[e];void 0!==o?o!==a&&(r[e]=o&&a&&o.constructor===Object&&a.constructor===Object?t(o,a):i.hasOwnProperty(e)?a:o):delete r[e]}),r}(Ot,i):Ot,t);if(t instanceof HTMLInputElement){var o=ve(n,i,t);o.appendChild(r),t.insertAdjacentElement("afterend",o)}else t.appendChild(r);Object.defineProperty(t,Ce,{value:n}),St(t,"pickadate:mount")},unrender:function(t){t[Ce]&&(t instanceof HTMLInputElement?xe(t.nextElementSibling):xe(t),delete t[Ce],St(t,"pickadate:unmount"))}}},t.exports=i()},J9Fs:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){this.diaryMacros={calories:0,carbs:0,fat:0,protein:0},this.userCalculations={calories:0,carbs:0,fat:0,protein:0},this.includeWater=!1}return t.prototype.round=function(t){return Math.round(t)},t.prototype.percentage=function(t,e){if(!e||e<=0)return"0%";var n=Math.round(t/e*100);return n>100&&(n=100),n+"%"},t}()},JbCa:function(t,e,n){"use strict";n("mrSG");var i=n("Ip0R"),r=n("CcnG"),o=n("K9Ia"),a=n("6blF"),s=n("F/XL"),l=n("S5bw"),u=(n("G5J1"),n("VnD/")),c=n("t9fZ"),d=n("psW0"),p=n("xMyE"),h=n("67Y/"),f=n("9Z1F"),m=n("15JJ");function g(t,e){t.className.includes(e)||(t.className+=" "+e)}function v(){return"undefined"!=typeof window?window.navigator:void 0}function y(t){return Boolean(t.parentElement&&"picture"===t.parentElement.nodeName.toLowerCase())}function b(t){return"img"===t.nodeName.toLowerCase()}function _(t,e,n){return b(t)?n&&"srcset"in t?t.srcset=e:t.src=e:t.style.backgroundImage="url('"+e+"')",t}function w(t){return function(e){for(var n=e.parentElement.getElementsByTagName("source"),i=0;i<n.length;i++){var r=n[i].getAttribute(t);r&&("srcset"in n[i]?n[i].srcset=r:n[i].src=r)}}}n("FFOo"),n("T1DM"),n("S1nX"),n("p0Sj"),n.d(e,"a",function(){return N}),n.d(e,"b",function(){return V});var C=w("defaultImage"),x=w("lazyLoad"),E=w("errorImage");function S(t){return function(e,n,i){b(e)&&y(e)&&t(e),n&&_(e,n,i)}}var O=S(C),k=S(x),T=S(E),P={finally:function(t){return g(t.element,"ng-lazyloaded")},loadImage:function(t){var e,n=t.element,i=t.useSrcset,r=t.imagePath,o=t.decode;if(b(n)&&y(n)){var a=n.parentNode.cloneNode(!0);e=a.getElementsByTagName("img")[0],x(e),_(e,r,i)}else e=new Image,b(n)&&n.sizes&&(e.sizes=n.sizes),i&&"srcset"in e?e.srcset=r:e.src=r;return o&&e.decode?e.decode().then(function(){return r}):new Promise(function(t,n){e.onload=function(){return t(r)},e.onerror=function(){return n(null)}})},setErrorImage:function(t){var e=t.element;T(e,t.errorImagePath,t.useSrcset),g(e,"ng-failed-lazyloaded")},setLoadedImage:function(t){k(t.element,t.imagePath,t.useSrcset)},setup:function(t){var e=t.element;O(e,t.defaultImagePath,t.useSrcset),function(t,e){return t.className&&t.className.includes("ng-lazyloaded")}(e)&&function(t,e){t.className=t.className.replace("ng-lazyloaded","")}(e)},isBot:function(t){return!(!t||!t.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(t.userAgent)}},I=new WeakMap,M=new o.a;function R(t){t.forEach(function(t){return M.next(t)})}var D={},A=function(t){var e=t.scrollContainer||D,n={root:t.scrollContainer||null};t.offset&&(n.rootMargin=t.offset+"px");var i=I.get(e);return i||(i=new IntersectionObserver(R,n),I.set(e,i)),i.observe(t.element),a.a.create(function(e){var n=M.pipe(Object(u.a)(function(e){return e.target===t.element})).subscribe(e);return function(){n.unsubscribe(),i.unobserve(t.element)}})},j=Object.assign({},P,{isVisible:function(t){return t.event.isIntersecting},getObservable:function(t,e){return void 0===e&&(e=A),t.customObservable?t.customObservable:e(t)}}),L=Object.assign({},P,{isVisible:function(){return!0},getObservable:function(){return Object(s.a)("load")},loadImage:function(t){return[t.imagePath]}}),N=function(){function t(t,e,n,i){this.onLoad=new r.EventEmitter,this.elementRef=t,this.ngZone=e,this.propertyChanges$=new l.a,this.platformId=n,this.hooks=function(t,e){var n=j,i=e&&e.isBot?e.isBot:n.isBot;if(i(v(),t))return Object.assign(L,{isBot:i});if(!e)return n;var r={};return e.preset?Object.assign(r,e.preset):Object.assign(r,n),Object.keys(e).filter(function(t){return"preset"!==t}).forEach(function(t){r[t]=e[t]}),r}(n,i)}return t.prototype.ngOnChanges=function(){this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?0|this.offset:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode})},t.prototype.ngAfterContentInit=function(){var t=this;if(Object(i.B)(this.platformId)&&!this.hooks.isBot(v(),this.platformId))return null;this.ngZone.runOutsideAngular(function(){t.scrollSubscription=t.propertyChanges$.pipe(Object(p.a)(function(e){return t.hooks.setup(e)}),Object(m.a)(function(e){return t.hooks.getObservable(e).pipe(function(t,e){return function(n){return n.pipe(Object(u.a)(function(n){return t.isVisible({element:e.element,event:n,offset:e.offset,scrollContainer:e.scrollContainer})}),Object(c.a)(1),Object(d.a)(function(){return t.loadImage(e)}),Object(p.a)(function(n){return t.setLoadedImage({element:e.element,imagePath:n,useSrcset:e.useSrcset})}),Object(h.a)(function(){return!0}),Object(f.a)(function(){return t.setErrorImage(e),Object(s.a)(!1)}),Object(p.a)(function(){return t.finally(e)}))}}(t.hooks,e))})).subscribe(function(e){return t.onLoad.emit(e)})})},t.prototype.ngOnDestroy=function(){this.scrollSubscription&&this.scrollSubscription.unsubscribe()},t}(),V=function(){function t(){}var e;return e=t,t.forRoot=function(t){return{ngModule:e,providers:[{provide:"options",useValue:t}]}},t}()},JcRv:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("xTla"),r=function(t){return function(e){var n=t[i.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}},JuGI:function(t,e,n){"use strict";var i,r=n("CcnG");!function(t){t.Radio="radio",t.Checkbox="checkbox"}(i||(i={}));var o=n("e2w6");n.d(e,"a",function(){return a});var a=function(){function t(){this.selected=[],this.pipes=[],this.optionSelected=new r.EventEmitter,this.optionTypesEnum=i,this.inputName=Object(o.a)(16)}return t.prototype.ngOnChanges=function(){this.checkPrimary()},t.prototype.ngOnInit=function(){},t.prototype.onOptionSelected=function(t){this.optionSelected.emit(this.options[t])},t.prototype.isSelected=function(t){return this.selected.find(function(e){return e===t})},t.prototype.getOptionText=function(t){var e=this;return this.isPrimary?(this.pipes.forEach(function(e){return t=e.transform(t)}),t):(t=Object.assign({},t),this.pipes.forEach(function(n){return t[e.bindProperty]=n.transform(t[e.bindProperty])}),t[this.bindProperty])},t.prototype.getOptionBindText=function(t){var e=this;return this.isPrimary?(this.pipes.forEach(function(e){return t=e.transform(t)}),t):(t=Object.assign({},t),this.pipes.forEach(function(n){return t[e.bindTextProperty]=n.transform(t[e.bindTextProperty])}),t[this.bindTextProperty])},t.prototype.hasText=function(t){var e=this;return this.isPrimary?(this.pipes.forEach(function(e){return t=e.transform(t)}),null!==t&&void 0!==t[this.bindTextProperty]):(t=Object.assign({},t),this.pipes.forEach(function(n){return t[e.bindTextProperty]=n.transform(t[e.bindTextProperty])}),null!=t[this.bindTextProperty])},t.prototype.checkPrimary=function(){if(this.options&&this.options.length){var t=this.options[0];this.isPrimary="object"!=typeof t&&"function"!=typeof t}},t}()},JvyH:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.localisationService=t}return t.prototype.transform=function(t){return this.localisationService.languageDictionary[t]},t}()},"K+Kt":function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n("mrSG");var i=function(){function t(t){this.el=t,this.dtOptions={}}return t.prototype.ngOnInit=function(){var t=this;this.dtTrigger?this.dtTrigger.subscribe(function(){t.displayTable()}):this.displayTable()},t.prototype.ngOnDestroy=function(){this.dtTrigger&&this.dtTrigger.unsubscribe(),this.dt&&this.dt.destroy(!0)},t.prototype.displayTable=function(){var t=this;this.dtInstance=new Promise(function(e,n){Promise.resolve(t.dtOptions).then(function(n){setTimeout(function(){t.dt=$(t.el.nativeElement).DataTable(n),e(t.dt)})})})},t}()},K9Ia:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return d});var i=n("mrSG"),r=n("6blF"),o=n("FFOo"),a=n("pugT"),s=n("8g8A"),l=n("uMaO"),u=n("L/V9"),c=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return i.d(e,t),e}(o.a),d=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i.d(e,t),e.prototype[u.a]=function(){return new c(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].next(t)},e.prototype.error=function(t){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new s.a;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},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new s.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new s.a;return this.hasError?(t.error(this.thrownError),a.a.EMPTY):this.isStopped?(t.complete(),a.a.EMPTY):(this.observers.push(t),new l.a(this,t))},e.prototype.asObservable=function(){var t=new r.a;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(r.a),p=function(t){function e(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return i.d(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):a.a.EMPTY},e}(d)},KQya:function(t,e,n){"use strict";var i=n("mrSG"),r=1,o={},a=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.d(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=(a=e.flush.bind(e,null),s=r++,o[s]=a,Promise.resolve().then(function(){return function(t){var e=o[t];e&&e()}(s)}),s)));var a,s},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(delete o[n],e.scheduled=void 0)},e}(n("h9Dq").a),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.d(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(n("CS9Q").a);n.d(e,"a",function(){return l});var l=new s(a)},KhEm:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("mrSG"),r=n("K9Ia"),o=n("6blF"),a=(n("FFOo"),n("pugT")),s=n("yGWI"),l=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return i.d(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.a).add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=a.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return Object(s.a)()(this)},e}(o.a).prototype,u={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}},c=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.d(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(r.b)},"L/V9":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},MGBS:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("mrSG"),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.d(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n("FFOo").a)},MJvZ:function(t,e,n){"use strict";var i=n("CcnG"),r=n("JvyH"),o=n("OEGa"),a=n("Ip0R");n("FHef"),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return l});var s=i["\u0275crt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{height:30px}.wrapper[_ngcontent-%COMP%]{position:relative;display:flex}.wrapper[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-top:7px;padding-left:7px}.wrapper[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:30px;position:relative;width:30px;height:30px;display:block;cursor:pointer}.wrapper[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]   .day-indicator[_ngcontent-%COMP%]{position:absolute;left:0;top:0;font-size:14px;display:flex;justify-content:center;align-items:center;width:100%;height:100%;padding-top:10px}.wrapper[_ngcontent-%COMP%]   .datepicker-wrapper[_ngcontent-%COMP%]{position:absolute;z-index:2;left:-50px;top:30px;margin-top:4px}.wrapper[_ngcontent-%COMP%]   .datepicker-wrapper[_ngcontent-%COMP%]   .pickadate--root[_ngcontent-%COMP%]{min-width:unset}"]],data:{}});function l(t){return i["\u0275vid"](2,[i["\u0275pid"](0,r.a,[o.a]),i["\u0275pid"](0,a.d,[i.LOCALE_ID]),i["\u0275qud"](402653184,1,{wrapper:0}),i["\u0275qud"](402653184,2,{datepicker:0}),(t()(),i["\u0275eld"](4,0,[[1,0],["wrapper",1]],null,7,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,2,"i",[["class","ti-calendar"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggle(n)&&i),i},null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"div",[["class","day-indicator"]],null,null,null,null,null)),(t()(),i["\u0275ted"](7,null,["",""])),(t()(),i["\u0275eld"](8,0,null,null,3,"span",[],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggle(n)&&i),i},null,null)),(t()(),i["\u0275ted"](9,null,["",", ",""])),i["\u0275ppd"](10,1),i["\u0275ppd"](11,2),(t()(),i["\u0275eld"](12,0,[[2,0],["datepicker",1]],null,0,"div",[["class","datepicker-wrapper"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,7,0,n.day);var r=i["\u0275unv"](e,9,0,t(e,10,0,i["\u0275nov"](e,0),n.dayString)),o=i["\u0275unv"](e,9,1,t(e,11,0,i["\u0275nov"](e,1),n.date,"dd.MM.yyyy"));t(e,9,0,r,o)})}},McSo:function(t,e,n){"use strict";function i(t){return null!=t&&"object"==typeof t}n.d(e,"a",function(){return i})},NAAZ:function(t,e,n){"use strict";var i=function(){function t(){}return t.prototype.getUid=function(){var t=window.navigator.mimeTypes.length+"";t+=window.navigator.userAgent.replace(/\D+/g,""),t+=window.navigator.plugins.length,t+=window.screen.height||"",t+=window.screen.width||"",t+=window.screen.pixelDepth||"";var e=(new DeviceUUID).parse();return t+e.hashMD5([e.language,e.platform,e.os,e.cpuCores,e.isAuthoritative,e.silkAccelerated,e.isKindleFire,e.isDesktop,e.isMobile,e.isTablet,e.isWindows,e.isLinux,e.isLinux64,e.isMac,e.isiPad,e.isiPhone,e.isiPod,e.isSmartTV,e.pixelDepth,e.isTouchScreen].join(":"))},t.prototype.getItem=function(t){return Cookies.get(t)||""},t.prototype.setItem=function(t,e){return Cookies.set(t,e,{expires:120,path:"/"})},t.prototype.removeItem=function(t){Cookies.remove(t)},t}();n.d(e,"a",function(){return r});var r=function(){function t(){this.storage=new i}return t.prototype.getItem=function(t){return this.storage.getItem(t)},t.prototype.setItem=function(t,e){return this.storage.setItem(t,e)},t.prototype.removeItem=function(t){return this.storage.removeItem(t)},t}()},NCB2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("K9Ia"),r=function(){function t(){this.bsModalStateChanged=new i.a,this.bsModalStateChanged$=this.bsModalStateChanged.asObservable()}return t.prototype.broadcastBsModalStateChanged=function(t){this.bsModalStateChanged.next(t)},t}()},NJnL:function(t,e,n){"use strict";n.d(e,"a",function(){return U});var i=n("mrSG"),r=n("CcnG"),o=n("Ip0R"),a=n("K9Ia"),s=n("p0ib"),l=n("bne5"),u=n("F/XL"),c=n("tHPV");function d(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function p(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function h(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=d(t),n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(String(e.overflow)+String(i)+String(n))?t:h(p(t))}var f="undefined"!=typeof window&&"undefined"!=typeof document,m=f&&!(!window.MSInputMethodContext||!document.documentMode),g=f&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function v(t){return 11===t?m:10===t?g:m||g}function y(t){if(!t)return document.documentElement;for(var e,n=v(10)?document.body:null,i=t.offsetParent||null;i===n&&t.nextElementSibling&&e!==t.nextElementSibling;)i=(e=t.nextElementSibling).offsetParent;var r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===d(i,"position")?y(i):i:e?e.ownerDocument.documentElement:document.documentElement}function b(t){return null!==t.parentNode?b(t.parentNode):t}function _(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&y(a.firstElementChild)!==a?y(l):l;var u=b(t);return u.host?_(u.host,e):_(t,b(e).host)}function w(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function C(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],v(10)?parseInt(n["offset"+t],10)+parseInt(i["margin"+("Height"===t?"Top":"Left")],10)+parseInt(i["margin"+("Height"===t?"Bottom":"Right")],10):0)}function x(t){var e=t.body,n=t.documentElement,i=v(10)&&getComputedStyle(n);return{height:C("Height",e,n,i),width:C("Width",e,n,i)}}function E(t,e){void 0===e&&(e="top");var n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;return"BODY"===i||"HTML"===i?(t.ownerDocument.scrollingElement||t.ownerDocument.documentElement)[n]:t[n]}function S(t){return Object(i.a)({},t,{right:t.left+t.width,bottom:t.top+t.height})}function O(t){var e={};try{if(v(10)){e=t.getBoundingClientRect();var n=E(t,"top"),i=E(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(u){return}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?x(t.ownerDocument):{},a=t.offsetWidth-(o.width||t.clientWidth||r.right-r.left),s=t.offsetHeight-(o.height||t.clientHeight||r.bottom-r.top);if(a||s){var l=d(t);a-=w(l,"x"),s-=w(l,"y"),r.width-=a,r.height-=s}return S(r)}function k(t,e,n){void 0===n&&(n=!1);var i=v(10),r="HTML"===e.nodeName,o=O(t),a=O(e),s=h(t),l=d(e),u=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=S({top:o.top-a.top-u,left:o.left-a.left-c,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!i&&r){var f=parseFloat(l.marginTop),m=parseFloat(l.marginLeft);p.top-=u-f,p.bottom-=u-f,p.left-=c-m,p.right-=c-m,p.marginTop=f,p.marginLeft=m}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(p=function(t,e,n){void 0===n&&(n=!1);var i=E(e,"top"),r=E(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}(p,e)),p}function T(t){if(!t||!t.parentElement||v())return document.documentElement;for(var e=t.parentElement;e&&"none"===d(e,"transform");)e=e.parentElement;return e||document.documentElement}function P(t,e,n,i,r){void 0===n&&(n=0),void 0===r&&(r=!1);var o={top:0,left:0},a=r?T(t):_(t,e);if("viewport"===i)o=function(t,e){void 0===e&&(e=!1);var n=a.ownerDocument.documentElement,i=k(a,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:E(n),l=e?0:E(n,"left");return S({top:s-Number(i.top)+Number(i.marginTop),left:l-Number(i.left)+Number(i.marginLeft),width:r,height:o})}(0,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=h(p(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var l=k(s,a,r);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===d(e,"position")||t(p(e)))}(a))o=l;else{var u=x(t.ownerDocument),c=u.height,f=u.width;o.top+=l.top-l.marginTop,o.bottom=Number(c)+Number(l.top),o.left+=l.left-l.marginLeft,o.right=Number(f)+Number(l.left)}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function I(t,e,n,r,o,a,s){if(void 0===o&&(o=["top","bottom","right","left"]),void 0===a&&(a="viewport"),void 0===s&&(s=0),-1===t.indexOf("auto"))return t;var l=P(n,r,s,a),u={top:{width:l.width,height:e.top-l.top},right:{width:l.right-e.right,height:l.height},bottom:{width:l.width,height:l.bottom-e.bottom},left:{width:e.left-l.left,height:l.height}},c=Object.keys(u).map(function(t){return Object(i.a)({key:t},u[t],{area:(e=u[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),d=c.filter(function(t){return t.width>=n.clientWidth&&t.height>=n.clientHeight}),p=(d=d.filter(function(t){return o.some(function(e){return e===t.key})})).length>0?d[0].key:c[0].key,h=t.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+p),p+(h?"-"+h:"")}function M(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:Number(t.offsetWidth)+i,height:Number(t.offsetHeight)+n}}function R(t,e,n){return void 0===n&&(n=null),k(e,n?T(t):_(t,e),n)}function D(t,e,n){var i,r=n.split(" ")[0],o=M(t),a={width:o.width,height:o.height},s=-1!==["right","left"].indexOf(r),l=s?"top":"left",u=s?"left":"top",c=s?"height":"width",d=s?"width":"height";return a[l]=e[l]+e[c]/2-o[c]/2,a[u]=r===u?e[u]-o[d]:e[(i={left:"right",right:"left",bottom:"top",top:"bottom"},u.replace(/left|right|bottom|top/g,function(t){return i[t]}))],a}function A(t,e){return t&&t.modifiers&&t.modifiers[e]&&t.modifiers[e].enabled}function j(t,e,n){Object.keys(e).forEach(function(i){var r,o="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&""!==(r=e[i])&&!isNaN(parseFloat(r))&&isFinite(r)&&(o="px"),n?n.setStyle(t,i,""+String(e[i])+o):t.style[i]=String(e[i])+o})}function L(t){var e,n=t.offsets.target,i=t.instance.target.querySelector(".arrow");if(!i)return t;var r=-1!==["left","right"].indexOf(t.placement),o=r?"height":"width",a=r?"Top":"Left",s=a.toLowerCase(),l=r?"left":"top",u=r?"bottom":"right",c=M(i)[o];t.offsets.host[u]-c<n[s]&&(n[s]-=n[s]-(t.offsets.host[u]-c)),Number(t.offsets.host[s])+Number(c)>n[u]&&(n[s]+=Number(t.offsets.host[s])+Number(c)-Number(n[u])),n=S(n);var p=Number(t.offsets.host[s])+Number(t.offsets.host[o]/2-c/2),h=d(t.instance.target),f=parseFloat(h["margin"+a]),m=parseFloat(h["border"+a+"Width"]),g=p-n[s]-f-m;return g=Math.max(Math.min(n[o]-c,g),0),t.offsets.arrow=((e={})[s]=Math.round(g),e[l]="",e),t.instance.arrow=i,t}function N(t){if(t.offsets.target=S(t.offsets.target),!A(t.options,"flip"))return t.offsets.target=Object(i.a)({},t.offsets.target,D(t.instance.target,t.offsets.host,t.placement)),t;var e=P(t.instance.target,t.instance.host,0,"viewport",!1),n=t.placement.split(" ")[0],r=t.placement.split(" ")[1]||"",o=I("auto",t.offsets.host,t.instance.target,t.instance.host,t.options.allowedPositions),a=[n,o];return a.forEach(function(o,s){if(n!==o||a.length===s+1)return t;var l="left"===(n=t.placement.split(" ")[0])&&Math.floor(t.offsets.target.right)>Math.floor(t.offsets.host.left)||"right"===n&&Math.floor(t.offsets.target.left)<Math.floor(t.offsets.host.right)||"top"===n&&Math.floor(t.offsets.target.bottom)>Math.floor(t.offsets.host.top)||"bottom"===n&&Math.floor(t.offsets.target.top)<Math.floor(t.offsets.host.bottom),u=Math.floor(t.offsets.target.left)<Math.floor(e.left),c=Math.floor(t.offsets.target.right)>Math.floor(e.right),d=Math.floor(t.offsets.target.top)<Math.floor(e.top),p=Math.floor(t.offsets.target.bottom)>Math.floor(e.bottom),h="left"===n&&u||"right"===n&&c||"top"===n&&d||"bottom"===n&&p,f=-1!==["top","bottom"].indexOf(n),m=f&&"left"===r&&u||f&&"right"===r&&c||!f&&"left"===r&&d||!f&&"right"===r&&p;(l||h||m)&&((l||h)&&(n=a[s+1]),m&&(r=function(t){return"right"===t?"left":"left"===t?"right":t}(r)),t.placement=n+(r?" "+r:""),t.offsets.target=Object(i.a)({},t.offsets.target,D(t.instance.target,t.offsets.host,t.placement)))}),t}function V(t){if(!A(t.options,"preventOverflow"))return t;var e=t.instance.target.style,n=e.top,r=e.left,o=e.transform;e.top="",e.left="",e.transform="";var a=P(t.instance.target,t.instance.host,0,"scrollParent",!1);e.top=n,e.left=r,e.transform=o;var s,l={primary:function(e){var n,i=t.offsets.target[e];return t.offsets.target[e]<a[e]&&(i=Math.max(t.offsets.target[e],a[e])),(n={})[e]=i,n},secondary:function(e){var n,i="right"===e?"left":"top",r=t.offsets.target[i];return t.offsets.target[e]>a[e]&&(r=Math.min(t.offsets.target[i],a[e]-("right"===e?t.offsets.target.width:t.offsets.target.height))),(n={})[i]=r,n}};return["left","right","top","bottom"].forEach(function(e){s=-1!==["left","top"].indexOf(e)?"primary":"secondary",t.offsets.target=Object(i.a)({},t.offsets.target,l[s](e))}),t}function F(t){var e,n,r=t.placement,o=r.split(" ")[0],a=r.split(" ")[1];if(a){var s=t.offsets,l=s.host,u=s.target,c=-1!==["bottom","top"].indexOf(o),d=c?"left":"top",p=c?"width":"height",h={start:(e={},e[d]=l[d],e),end:(n={},n[d]=l[d]+l[p]-u[p],n)};t.offsets.target=Object(i.a)({},u,h[a])}return t}var H=new(function(){function t(){}return t.prototype.position=function(t,e,n){return void 0===n&&(n=!0),this.offset(t,e,!1)},t.prototype.offset=function(t,e,n){return void 0===n&&(n=!0),R(e,t)},t.prototype.positionElements=function(t,e,n,i,r){return[N,F,V,L].reduce(function(t,e){return e(t)},function(t,e,n,i){var r=R(t,e);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*\s*(start|end)*$/)||(n="auto");var o=!!n.match(/auto/g),a=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;return{options:i,instance:{target:t,host:e,arrow:null},offsets:{target:D(t,r,a),host:r,arrow:null},positionFixed:!1,placement:a=I(a,r,t,e,i?i.allowedPositions:void 0),placementAuto:o}}(e,t,n,r))},t}()),U=function(){function t(t,e){var n=this;this.update$$=new a.a,this.positionElements=new Map,this.isDisabled=!1,Object(o.A)(e)&&(this.triggerEvent$=Object(s.a)(Object(l.a)(window,"scroll"),Object(l.a)(window,"resize"),Object(u.a)(0,c.a),this.update$$),this.triggerEvent$.subscribe(function(){n.isDisabled||n.positionElements.forEach(function(e){var i,r,o,a,s,l,u,c;i=z(e.target),r=z(e.element),o=e.attachment,a=e.appendToBody,s=n.options,l=t.createRenderer(null,null),j(r,{"will-change":"transform",top:"0px",left:"0px",transform:"translate3d("+(c=function(t){return{width:t.offsets.target.width,height:t.offsets.target.height,left:Math.floor(t.offsets.target.left),top:Math.round(t.offsets.target.top),bottom:Math.round(t.offsets.target.bottom),right:Math.floor(t.offsets.target.right)}}(u=H.positionElements(i,r,o,a,s))).left+"px, "+c.top+"px, 0px)"},l),u.instance.arrow&&j(u.instance.arrow,u.offsets.arrow,l),function(t,e){var n=t.instance.target,i=n.className;t.placementAuto&&(-1!==(i=(i=(i=i.replace(/bs-popover-auto/g,"bs-popover-"+t.placement)).replace(/bs-tooltip-auto/g,"bs-tooltip-"+t.placement)).replace(/\sauto/g," "+t.placement)).indexOf("popover")&&-1===i.indexOf("popover-auto")&&(i+=" popover-auto"),-1!==i.indexOf("tooltip")&&-1===i.indexOf("tooltip-auto")&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom/g,""+t.placement.split(" ")[0]),e?e.setAttribute(n,"class",i):n.className=i}(u,l)})}))}return t.prototype.position=function(t){this.addPositionElement(t)},Object.defineProperty(t.prototype,"event$",{get:function(){return this.triggerEvent$},enumerable:!0,configurable:!0}),t.prototype.disable=function(){this.isDisabled=!0},t.prototype.enable=function(){this.isDisabled=!1},t.prototype.addPositionElement=function(t){this.positionElements.set(z(t.element),t)},t.prototype.calcPosition=function(){this.update$$.next()},t.prototype.deletePositionElement=function(t){this.positionElements.delete(z(t))},t.prototype.setOptions=function(t){this.options=t},t}();function z(t){return"string"==typeof t?document.querySelector(t):t instanceof r.ElementRef?t.nativeElement:t}},OEGa:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("6blF"),r=function(){function t(t,e,n){var i=this;this.httpClient=t,this.localisationEventsEmitter=e,this.storageService=n,this.LANGUAGE_KEY="LANGUAGE_KEY",this.localisationEventsEmitter.languageChanged$.subscribe(function(t){return i.useLanguage(t)})}return t.prototype.useLanguage=function(t){this.language=t,this.languageDictionary=n("AoR+")("./"+this.language.toLowerCase()+".json"),this.setLanguage(this.language)},t.prototype.localise=function(t){return this.languageDictionary[t]},t.prototype.setLanguage=function(t){this.storageService.setItem(this.LANGUAGE_KEY,t)},t.prototype.getLanguage=function(){return this.storageService.getItem(this.LANGUAGE_KEY)},t.prototype.getAutoLanguage=function(){return"1"===this.storageService.getItem(this.LANGUAGE_KEY+"_auto")},t.prototype.setAutoLanguage=function(){this.storageService.setItem(this.LANGUAGE_KEY+"_auto","1")},t.prototype.getUserIpData=function(){return new i.a(function(t){var e=new XMLHttpRequest;e.open("GET","https://ipinfo.io/json?token=4eb2ef0c92b7ae",!1),e.send(null),t.next(JSON.parse(e.responseText)),t.complete()})},t.prototype.getUserIp=function(){return new i.a(function(t){var e=new XMLHttpRequest;e.open("GET","https://api.ipify.org?format=json",!1),e.send(null),t.next(JSON.parse(e.responseText).ip),t.complete()})},t.prototype.getIpCountryData=function(t){return new i.a(function(e){var n=new XMLHttpRequest;n.open("GET","https://api.iplocation.net/?ip="+t,!0),n.onreadystatechange=function(){4===this.readyState&&200===this.status&&(e.next(JSON.parse(n.responseText)),e.complete())},n.setRequestHeader("Content-Type","application/json"),n.send(null)})},t}()},Oh3A:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return l}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return s}),n.d(e,"e",function(){return u});var i=n("PSD3"),r=n.n(i),o=n("CcnG"),a=function(){return function(){this.title=function(){return r.a.getTitle()},this.content=function(){return r.a.getContent()},this.buttonsWrapper=function(){return r.a.getButtonsWrapper()},this.actions=function(){return r.a.getActions()},this.confirmButton=function(){return r.a.getConfirmButton()},this.cancelButton=function(){return r.a.getCancelButton()},this.footer=function(){return r.a.getFooter()}}}(),s=new o.InjectionToken("SwalDefaults"),l=function(){function t(t){this.defaultSwalOptions=t,this.beforeOpen=new o.EventEmitter,this.open=new o.EventEmitter,this.close=new o.EventEmitter,this.confirm=new o.EventEmitter,this.cancel=new o.EventEmitter,this.nativeSwal=r.a,this.isCurrentlyShown=!1,this.touchedProps=new Set,this.markTouched=this.touchedProps.add.bind(this.touchedProps),this.show=this.show.bind(this)}return Object.defineProperty(t.prototype,"options",{get:function(){var t=this,e={};return this.touchedProps.forEach(function(n){e[n]=t[n]}),e},set:function(t){Object.assign(this,t),Object.keys(t).forEach(this.markTouched)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){Object.keys(t).filter(function(t){return"options"!==t}).forEach(this.markTouched)},t.prototype.ngOnDestroy=function(){this.isCurrentlyShown&&r.a.close()},t.prototype.show=function(){var t=this,e=Object.assign({},this.defaultSwalOptions,this.options,{onBeforeOpen:function(e){t.beforeOpen.emit({modalElement:e})},onOpen:function(e){t.isCurrentlyShown=!0,t.open.emit({modalElement:e})},onClose:function(e){t.isCurrentlyShown=!1,t.close.emit({modalElement:e})}}),n=r()(e),i=e.useRejections;return n.then(function(e){i?t.confirm.emit(e):"value"in e?t.confirm.emit(e.value):t.cancel.emit(e.dismiss)},function(e){i&&t.cancel.emit(e)}),n},t}(),u=function(){return function(){}}(),c=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[(n=e,void 0===n&&(n={}),{provide:s,useValue:n})]};var n},t}()},P6uZ:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("3fWJ"),r=n("VnD/"),o=n("t9fZ"),a=n("HJBe"),s=n("tNVB"),l=n("mChF");function u(t,e){var n=arguments.length>=2;return function(u){return u.pipe(t?Object(r.a)(function(e,n){return t(e,n,u)}):l.a,Object(o.a)(1),n?Object(a.a)(e):Object(s.a)(function(){return new i.a}))}}},PSD3:function(t,e,n){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(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,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function o(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}}),e&&s(t,e)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e,n){return(l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&s(r,n.prototype),r}).apply(null,arguments)}function u(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t,e,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}var d=function(t){return Array.prototype.slice.call(t)},p=function(t){console.warn("".concat("SweetAlert2:"," ").concat(t))},h=function(t){console.error("".concat("SweetAlert2:"," ").concat(t))},f=[],m=function(t){-1===f.indexOf(t)&&(f.push(t),p(t))},g=function(t){return"function"==typeof t?t():t},v=function(t){return t&&Promise.resolve(t)===t},y=Object.freeze({cancel:"cancel",backdrop:"overlay",close:"close",esc:"esc",timer:"timer"}),b=function(t){var e={};for(var n in t)e[t[n]]="swal2-"+t[n];return e},_=b(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","icon-text","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),w=b(["success","warning","info","question","error"]),C={previousBodyPadding:null},x=function(t,e){return t.classList.contains(e)},E=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}},S=function(t,e,n){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(function(e){t.forEach?t.forEach(function(t){n?t.classList.add(e):t.classList.remove(e)}):n?t.classList.add(e):t.classList.remove(e)}))},O=function(t,e){S(t,e,!0)},k=function(t,e){S(t,e,!1)},T=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(x(t.childNodes[n],e))return t.childNodes[n]},P=function(t){t.style.opacity="",t.style.display=t.id===_.content?"block":"flex"},I=function(t){t.style.opacity="",t.style.display="none"},M=function(t){return t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},R=function(){return document.body.querySelector("."+_.container)},D=function(t){var e=R();return e?e.querySelector("."+t):null},A=function(){return D(_.popup)},j=function(){var t=A();return d(t.querySelectorAll("."+_.icon))},L=function(){return D(_.title)},N=function(){return D(_.content)},V=function(){return D(_.image)},F=function(){return D(_.progresssteps)},H=function(){return D(_["validation-message"])},U=function(){return D(_.confirm)},z=function(){return D(_.cancel)},B=function(){return D(_.actions)},W=function(){return D(_.footer)},G=function(){return D(_.close)},q=function(){var t=d(A().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return(t=parseInt(t.getAttribute("tabindex")))>(e=parseInt(e.getAttribute("tabindex")))?1:t<e?-1:0}),e=d(A().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(t.concat(e)).filter(function(t){return M(t)})},Y=function(){return!$()&&!document.body.classList.contains(_["no-backdrop"])},$=function(){return document.body.classList.contains(_["toast-shown"])},K=function(){return"undefined"==typeof window||"undefined"==typeof document},Z='\n <div aria-labelledby="'.concat(_.title,'" aria-describedby="').concat(_.content,'" class="').concat(_.popup,'" tabindex="-1">\n   <div class="').concat(_.header,'">\n     <ul class="').concat(_.progresssteps,'"></ul>\n     <div class="').concat(_.icon," ").concat(w.error,'">\n       <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n     </div>\n     <div class="').concat(_.icon," ").concat(w.question,'">\n       <span class="').concat(_["icon-text"],'">?</span>\n      </div>\n     <div class="').concat(_.icon," ").concat(w.warning,'">\n       <span class="').concat(_["icon-text"],'">!</span>\n      </div>\n     <div class="').concat(_.icon," ").concat(w.info,'">\n       <span class="').concat(_["icon-text"],'">i</span>\n      </div>\n     <div class="').concat(_.icon," ").concat(w.success,'">\n       <div class="swal2-success-circular-line-left"></div>\n       <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n       <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n       <div class="swal2-success-circular-line-right"></div>\n     </div>\n     <img class="').concat(_.image,'" />\n     <h2 class="').concat(_.title,'" id="').concat(_.title,'"></h2>\n     <button type="button" class="').concat(_.close,'">\xd7</button>\n   </div>\n   <div class="').concat(_.content,'">\n     <div id="').concat(_.content,'"></div>\n     <input class="').concat(_.input,'" />\n     <input type="file" class="').concat(_.file,'" />\n     <div class="').concat(_.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(_.select,'"></select>\n     <div class="').concat(_.radio,'"></div>\n     <label for="').concat(_.checkbox,'" class="').concat(_.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(_.label,'"></span>\n     </label>\n     <textarea class="').concat(_.textarea,'"></textarea>\n     <div class="').concat(_["validation-message"],'" id="').concat(_["validation-message"],'"></div>\n   </div>\n   <div class="').concat(_.actions,'">\n     <button type="button" class="').concat(_.confirm,'">OK</button>\n     <button type="button" class="').concat(_.cancel,'">Cancel</button>\n   </div>\n   <div class="').concat(_.footer,'">\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Q=function(t){var e=R();if(e&&(e.parentNode.removeChild(e),k([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]])),!K()){var n=document.createElement("div");n.className=_.container,n.innerHTML=Z;var i="string"==typeof t.target?document.querySelector(t.target):t.target;i.appendChild(n);var r,o=A(),a=N(),s=T(a,_.input),l=T(a,_.file),u=a.querySelector(".".concat(_.range," input")),c=a.querySelector(".".concat(_.range," output")),d=T(a,_.select),p=a.querySelector(".".concat(_.checkbox," input")),f=T(a,_.textarea);o.setAttribute("role",t.toast?"alert":"dialog"),o.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||o.setAttribute("aria-modal","true"),"rtl"===window.getComputedStyle(i).direction&&O(R(),_.rtl);var m=function(t){Mt.isVisible()&&r!==t.target.value&&Mt.resetValidationMessage(),r=t.target.value};return s.oninput=m,l.onchange=m,d.onchange=m,p.onchange=m,f.oninput=m,u.oninput=function(t){m(t),c.value=u.value},u.onchange=function(t){m(t),u.nextSibling.value=u.value},o}h("SweetAlert2 requires document to initialize")},X=function(e,n){if(!e)return I(n);if(e instanceof HTMLElement)n.appendChild(e);else if("object"===t(e))if(n.innerHTML="",0 in e)for(var i=0;i in e;i++)n.appendChild(e[i].cloneNode(!0));else n.appendChild(e.cloneNode(!0));else e&&(n.innerHTML=e);P(n)},J=function(){if(K())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(e.hasOwnProperty(n)&&void 0!==t.style[n])return e[n];return!1}(),tt=function(t){var e=F(),n=parseInt(null===t.currentProgressStep?Mt.getQueueStep():t.currentProgressStep,10);t.progressSteps&&t.progressSteps.length?(P(e),e.innerHTML="",n>=t.progressSteps.length&&p("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(function(i,r){var o=document.createElement("li");if(O(o,_.progresscircle),o.innerHTML=i,r===n&&O(o,_.activeprogressstep),e.appendChild(o),r!==t.progressSteps.length-1){var a=document.createElement("li");O(a,_.progressline),t.progressStepsDistance&&(a.style.width=t.progressStepsDistance),e.appendChild(a)}})):I(e)},et=function(){return!!window.MSInputMethodContext&&!!document.documentMode},nt=function(){var t=R(),e=A();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},it={},rt=function(t,e){var n=R(),i=A();if(i){null!==t&&"function"==typeof t&&t(i),k(i,_.show),O(i,_.hide);var r=function(){$()?ot(e):(new Promise(function(t){var e=window.scrollX,n=window.scrollY;it.restoreFocusTimeout=setTimeout(function(){it.previousActiveElement&&it.previousActiveElement.focus?(it.previousActiveElement.focus(),it.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}).then(function(){return ot(e)}),it.keydownTarget.removeEventListener("keydown",it.keydownHandler,{capture:it.keydownListenerCapture}),it.keydownHandlerAdded=!1),n.parentNode&&n.parentNode.removeChild(n),k([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"],_["toast-column"]]),Y()&&(null!==C.previousBodyPadding&&(document.body.style.paddingRight=C.previousBodyPadding,C.previousBodyPadding=null),function(){if(x(document.body,_.iosfix)){var t=parseInt(document.body.style.top,10);k(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&et()&&window.removeEventListener("resize",nt),d(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))};J&&!x(i,_.noanimation)?i.addEventListener(J,function t(){i.removeEventListener(J,t),x(i,_.hide)&&r()}):r()}},ot=function(t){null!==t&&"function"==typeof t&&setTimeout(function(){t()})};function at(t){var e=function t(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!(this instanceof t))return l(t,n);Object.getPrototypeOf(t).apply(this,n)};return e.prototype=r(Object.create(t.prototype),{constructor:e}),"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}var st={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:null,timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,useRejections:!1,expectRejections:!1},lt=["useRejections","expectRejections","extraParams"],ut=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],ct=function(t){return st.hasOwnProperty(t)||"extraParams"===t},dt=function(t){return-1!==lt.indexOf(t)},pt=function(t){for(var e in t)ct(e)||p('Unknown parameter "'.concat(e,'"')),t.toast&&-1!==ut.indexOf(e)&&p('The parameter "'.concat(e,'" is incompatible with toasts')),dt(e)&&m('The parameter "'.concat(e,'" is deprecated and will be removed in the next major release.'))},ht='"setDefaults" & "resetDefaults" methods are deprecated in favor of "mixin" method and will be removed in the next major release. For new projects, use "mixin". For past projects already using "setDefaults", support will be provided through an additional package.',ft={},mt=[],gt=function(){var t=A();t||Mt(""),t=A();var e=B(),n=U(),i=z();P(e),P(n),O([t,e],_.loading),n.disabled=!0,i.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},vt=Object.freeze({isValidParameter:ct,isDeprecatedParameter:dt,argsToParams:function(e){var n={};switch(t(e[0])){case"object":r(n,e[0]);break;default:["title","html","type"].forEach(function(i,r){switch(t(e[r])){case"string":n[i]=e[r];break;case"undefined":break;default:h("Unexpected type of ".concat(i,'! Expected "string", got ').concat(t(e[r])))}})}return n},adaptInputValidator:function(t){return function(e,n){return t.call(this,e,n).then(function(){},function(t){return t})}},close:rt,closePopup:rt,closeModal:rt,closeToast:rt,isVisible:function(){return!!A()},clickConfirm:function(){return U().click()},clickCancel:function(){return z().click()},getContainer:R,getPopup:A,getTitle:L,getContent:N,getImage:V,getIcons:j,getCloseButton:G,getButtonsWrapper:function(){return m("swal.getButtonsWrapper() is deprecated and will be removed in the next major release, use swal.getActions() instead"),D(_.actions)},getActions:B,getConfirmButton:U,getCancelButton:z,getFooter:W,getFocusableElements:q,getValidationMessage:H,isLoading:function(){return A().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return l(this,e)},mixin:function(t){return at(function(n){function s(){return e(this,s),u(this,a(s).apply(this,arguments))}return o(s,n),i(s,[{key:"_main",value:function(e){return c(a(s.prototype),"_main",this).call(this,r({},t,e))}}]),s}(this))},queue:function(t){var e=this;mt=t;var n=function(){mt=[],document.body.removeAttribute("data-swal2-queue-step")},i=[];return new Promise(function(t){!function r(o,a){o<mt.length?(document.body.setAttribute("data-swal2-queue-step",o),e(mt[o]).then(function(e){void 0!==e.value?(i.push(e.value),r(o+1,a)):(n(),t({dismiss:e.dismiss}))})):(n(),t({value:i}))}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(t,e){return e&&e<mt.length?mt.splice(e,0,t):mt.push(t)},deleteQueueStep:function(t){void 0!==mt[t]&&mt.splice(t,1)},showLoading:gt,enableLoading:gt,getTimerLeft:function(){return it.timeout&&it.timeout.getTimerLeft()},stopTimer:function(){return it.timeout&&it.timeout.stop()},resumeTimer:function(){return it.timeout&&it.timeout.start()},toggleTimer:function(){var t=it.timeout;return t&&(t.running?t.stop():t.start())},increaseTimer:function(t){return it.timeout&&it.timeout.increase(t)},isTimerRunning:function(){return it.timeout&&it.timeout.isRunning()}}),yt="function"==typeof Symbol?Symbol:function(){var t=0;function e(e){return"__"+e+"_"+Math.floor(1e9*Math.random())+"_"+ ++t+"__"}return e.iterator=e("Symbol.iterator"),e}(),bt="function"==typeof WeakMap?WeakMap:function(t,e,n){function i(){e(this,t,{value:yt("WeakMap")})}return i.prototype={delete:function(e){delete e[this[t]]},get:function(e){return e[this[t]]},has:function(e){return n.call(e,this[t])},set:function(n,i){e(n,this[t],{configurable:!0,value:i})}},i}(yt("WeakMap"),Object.defineProperty,{}.hasOwnProperty),_t={promise:new bt,innerParams:new bt,domCache:new bt};function wt(){var t=_t.innerParams.get(this),e=_t.domCache.get(this);t.showConfirmButton||(I(e.confirmButton),t.showCancelButton||I(e.actions)),k([e.popup,e.actions],_.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function Ct(t){var e=_t.domCache.get(this);e.validationMessage.innerHTML=t;var n=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),P(e.validationMessage);var i=this.getInput();i&&(i.setAttribute("aria-invalid",!0),i.setAttribute("aria-describedBy",_["validation-message"]),E(i),O(i,_.inputerror))}function xt(){var t=_t.domCache.get(this);t.validationMessage&&I(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),k(e,_.inputerror))}var Et,St=function t(n,i){e(this,t);var r,o,a=i;this.running=!1,this.start=function(){return this.running||(this.running=!0,o=new Date,r=setTimeout(n,a)),a},this.stop=function(){return this.running&&(this.running=!1,clearTimeout(r),a-=new Date-o),a},this.increase=function(t){var e=this.running;return e&&this.stop(),a+=t,e&&this.start(),a},this.getTimerLeft=function(){return this.running&&(this.stop(),this.start()),a},this.isRunning=function(){return this.running},this.start()},Ot={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&\/\/=]*)$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid URL")}},kt=Object.freeze({hideLoading:wt,disableLoading:wt,getInput:function(t){var e=_t.innerParams.get(this),n=_t.domCache.get(this);if(!(t=t||e.input))return null;switch(t){case"select":case"textarea":case"file":return T(n.content,_[t]);case"checkbox":return n.popup.querySelector(".".concat(_.checkbox," input"));case"radio":return n.popup.querySelector(".".concat(_.radio," input:checked"))||n.popup.querySelector(".".concat(_.radio," input:first-child"));case"range":return n.popup.querySelector(".".concat(_.range," input"));default:return T(n.content,_.input)}},enableButtons:function(){var t=_t.domCache.get(this);t.confirmButton.disabled=!1,t.cancelButton.disabled=!1},disableButtons:function(){var t=_t.domCache.get(this);t.confirmButton.disabled=!0,t.cancelButton.disabled=!0},enableConfirmButton:function(){_t.domCache.get(this).confirmButton.disabled=!1},disableConfirmButton:function(){_t.domCache.get(this).confirmButton.disabled=!0},enableInput:function(){var t=this.getInput();if(!t)return!1;if("radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),n=0;n<e.length;n++)e[n].disabled=!1;else t.disabled=!1},disableInput:function(){var t=this.getInput();if(!t)return!1;if(t&&"radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),n=0;n<e.length;n++)e[n].disabled=!0;else t.disabled=!0},showValidationMessage:Ct,resetValidationMessage:xt,resetValidationError:function(){m("Swal.resetValidationError() is deprecated and will be removed in the next major release, use Swal.resetValidationMessage() instead"),xt.bind(this)()},showValidationError:function(t){m("Swal.showValidationError() is deprecated and will be removed in the next major release, use Swal.showValidationMessage() instead"),Ct.bind(this)(t)},getProgressSteps:function(){return _t.innerParams.get(this).progressSteps},setProgressSteps:function(t){var e=r({},_t.innerParams.get(this),{progressSteps:t});_t.innerParams.set(this,e),tt(e)},showProgressSteps:function(){var t=_t.domCache.get(this);P(t.progressSteps)},hideProgressSteps:function(){var t=_t.domCache.get(this);I(t.progressSteps)},_main:function(e){var n=this;pt(e);var i=r({},st,e);(function(e){e.inputValidator||Object.keys(Ot).forEach(function(t){e.input===t&&(e.inputValidator=e.expectRejections?Ot[t]:Mt.adaptInputValidator(Ot[t]))}),e.validationMessage&&("object"!==t(e.extraParams)&&(e.extraParams={}),e.extraParams.validationMessage=e.validationMessage),(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(p('Target parameter is not valid, defaulting to "body"'),e.target="body"),"function"==typeof e.animation&&(e.animation=e.animation.call());var n,i=A(),r="string"==typeof e.target?document.querySelector(e.target):e.target;n=i&&r&&i.parentNode!==r.parentNode?Q(e):i||Q(e),e.width&&(n.style.width="number"==typeof e.width?e.width+"px":e.width),e.padding&&(n.style.padding="number"==typeof e.padding?e.padding+"px":e.padding),e.background&&(n.style.background=e.background);for(var o=window.getComputedStyle(n).getPropertyValue("background-color"),a=n.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),s=0;s<a.length;s++)a[s].style.backgroundColor=o;var l=R(),u=G(),c=W();if(function(t){var e=L();t.titleText?e.innerText=t.titleText:t.title&&("string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),X(t.title,e))}(e),function(t){var e=N().querySelector("#"+_.content);t.html?X(t.html,e):t.text?(e.textContent=t.text,P(e)):I(e)}(e),"string"==typeof e.backdrop?R().style.background=e.backdrop:e.backdrop||O([document.documentElement,document.body],_["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&p('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.position in _?O(l,_[e.position]):(p('The "position" parameter is not valid, defaulting to "center"'),O(l,_.center)),e.grow&&"string"==typeof e.grow){var d="grow-"+e.grow;d in _&&O(l,_[d])}e.showCloseButton?(u.setAttribute("aria-label",e.closeButtonAriaLabel),P(u)):I(u),n.className=_.popup,e.toast?(O([document.documentElement,document.body],_["toast-shown"]),O(n,_.toast)):O(n,_.modal),e.customClass&&O(n,e.customClass),e.customContainerClass&&O(l,e.customContainerClass),tt(e),function(t){for(var e=j(),n=0;n<e.length;n++)I(e[n]);if(t.type)if(-1!==Object.keys(w).indexOf(t.type)){var i=Mt.getPopup().querySelector(".".concat(_.icon,".").concat(w[t.type]));P(i),t.animation&&O(i,"swal2-animate-".concat(t.type,"-icon"))}else h('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.type,'"'))}(e),function(t){var e=V();t.imageUrl?(e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),P(e),t.imageWidth?e.setAttribute("width",t.imageWidth):e.removeAttribute("width"),t.imageHeight?e.setAttribute("height",t.imageHeight):e.removeAttribute("height"),e.className=_.image,t.imageClass&&O(e,t.imageClass)):I(e)}(e),function(t){var e=B(),n=U(),i=z();if(t.showConfirmButton||t.showCancelButton?P(e):I(e),t.showCancelButton?i.style.display="inline-block":I(i),t.showConfirmButton?n.style.removeProperty("display"):I(n),n.innerHTML=t.confirmButtonText,i.innerHTML=t.cancelButtonText,n.setAttribute("aria-label",t.confirmButtonAriaLabel),i.setAttribute("aria-label",t.cancelButtonAriaLabel),n.className=_.confirm,O(n,t.confirmButtonClass),i.className=_.cancel,O(i,t.cancelButtonClass),t.buttonsStyling){O([n,i],_.styled),t.confirmButtonColor&&(n.style.backgroundColor=t.confirmButtonColor),t.cancelButtonColor&&(i.style.backgroundColor=t.cancelButtonColor);var r=window.getComputedStyle(n).getPropertyValue("background-color");n.style.borderLeftColor=r,n.style.borderRightColor=r}else k([n,i],_.styled),n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor="",i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor=""}(e),X(e.footer,c),!0===e.animation?k(n,_.noanimation):O(n,_.noanimation),e.showLoaderOnConfirm&&!e.preConfirm&&p("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request")})(i),Object.freeze(i),_t.innerParams.set(this,i),it.timeout&&(it.timeout.stop(),delete it.timeout),clearTimeout(it.restoreFocusTimeout);var o={popup:A(),container:R(),content:N(),actions:B(),confirmButton:U(),cancelButton:z(),closeButton:G(),validationMessage:H(),progressSteps:F()};_t.domCache.set(this,o);var a=this.constructor;return new Promise(function(e,r){var s=function(t){a.closePopup(i.onClose,i.onAfterClose),e(i.useRejections?t:{value:t})},l=function(t){a.closePopup(i.onClose,i.onAfterClose),i.useRejections?r(t):e({dismiss:t})},u=function(t){a.closePopup(i.onClose,i.onAfterClose),r(t)};i.timer&&(it.timeout=new St(function(){l("timer"),delete it.timeout},i.timer)),i.input&&setTimeout(function(){var t=n.getInput();t&&E(t)},0);for(var c=function(t){if(i.showLoaderOnConfirm&&a.showLoading(),i.preConfirm){n.resetValidationMessage();var e=Promise.resolve().then(function(){return i.preConfirm(t,i.extraParams)});i.expectRejections?e.then(function(e){return s(e||t)},function(t){n.hideLoading(),t&&n.showValidationMessage(t)}):e.then(function(e){M(o.validationMessage)||!1===e?n.hideLoading():s(e||t)},function(t){return u(t)})}else s(t)},f=function(t){var e=t.target,r=o.confirmButton,s=o.cancelButton,d=r&&(r===e||r.contains(e)),p=s&&(s===e||s.contains(e));switch(t.type){case"click":if(d&&a.isVisible())if(n.disableButtons(),i.input){var h=function(){var t=n.getInput();if(!t)return null;switch(i.input){case"checkbox":return t.checked?1:0;case"radio":return t.checked?t.value:null;case"file":return t.files.length?t.files[0]:null;default:return i.inputAutoTrim?t.value.trim():t.value}}();if(i.inputValidator){n.disableInput();var f=Promise.resolve().then(function(){return i.inputValidator(h,i.extraParams)});i.expectRejections?f.then(function(){n.enableButtons(),n.enableInput(),c(h)},function(t){n.enableButtons(),n.enableInput(),t&&n.showValidationMessage(t)}):f.then(function(t){n.enableButtons(),n.enableInput(),t?n.showValidationMessage(t):c(h)},function(t){return u(t)})}else n.getInput().checkValidity()?c(h):(n.enableButtons(),n.showValidationMessage(i.validationMessage))}else c(!0);else p&&a.isVisible()&&(n.disableButtons(),l(a.DismissReason.cancel))}},m=o.popup.querySelectorAll("button"),y=0;y<m.length;y++)m[y].onclick=f,m[y].onmouseover=f,m[y].onmouseout=f,m[y].onmousedown=f;if(o.closeButton.onclick=function(){l(a.DismissReason.close)},i.toast)o.popup.onclick=function(){i.showConfirmButton||i.showCancelButton||i.showCloseButton||i.input||l(a.DismissReason.close)};else{var b=!1;o.popup.onmousedown=function(){o.container.onmouseup=function(t){o.container.onmouseup=void 0,t.target===o.container&&(b=!0)}},o.container.onmousedown=function(){o.popup.onmouseup=function(t){o.popup.onmouseup=void 0,(t.target===o.popup||o.popup.contains(t.target))&&(b=!0)}},o.container.onclick=function(t){b?b=!1:t.target===o.container&&g(i.allowOutsideClick)&&l(a.DismissReason.backdrop)}}i.reverseButtons?o.confirmButton.parentNode.insertBefore(o.cancelButton,o.confirmButton):o.confirmButton.parentNode.insertBefore(o.confirmButton,o.cancelButton);var w,S,D,j=function(t,e){for(var n=q(),i=0;i<n.length;i++)return(t+=e)===n.length?t=0:-1===t&&(t=n.length-1),n[t].focus();o.popup.focus()};it.keydownHandlerAdded&&(it.keydownTarget.removeEventListener("keydown",it.keydownHandler,{capture:it.keydownListenerCapture}),it.keydownHandlerAdded=!1),i.toast||(it.keydownHandler=function(t){return function(t,e){if(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"!==t.key||t.isComposing)if("Tab"===t.key){for(var i=t.target,r=q(),s=-1,u=0;u<r.length;u++)if(i===r[u]){s=u;break}j(s,t.shiftKey?-1:1),t.stopPropagation(),t.preventDefault()}else-1!==["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"].indexOf(t.key)?document.activeElement===o.confirmButton&&M(o.cancelButton)?o.cancelButton.focus():document.activeElement===o.cancelButton&&M(o.confirmButton)&&o.confirmButton.focus():"Escape"!==t.key&&"Esc"!==t.key||!0!==g(e.allowEscapeKey)||(t.preventDefault(),l(a.DismissReason.esc));else if(t.target&&n.getInput()&&t.target.outerHTML===n.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(e.input))return;a.clickConfirm(),t.preventDefault()}}(t,i)},it.keydownTarget=i.keydownListenerCapture?window:o.popup,it.keydownListenerCapture=i.keydownListenerCapture,it.keydownTarget.addEventListener("keydown",it.keydownHandler,{capture:it.keydownListenerCapture}),it.keydownHandlerAdded=!0),n.enableButtons(),n.hideLoading(),n.resetValidationMessage(),i.toast&&(i.input||i.footer||i.showCloseButton)?O(document.body,_["toast-column"]):k(document.body,_["toast-column"]);for(var L,N,V=["input","file","range","select","radio","checkbox","textarea"],F=function(t){t.placeholder&&!i.inputPlaceholder||(t.placeholder=i.inputPlaceholder)},H=0;H<V.length;H++){var U=_[V[H]],z=T(o.content,U);if(L=n.getInput(V[H])){for(var B in L.attributes)if(L.attributes.hasOwnProperty(B)){var W=L.attributes[B].name;"type"!==W&&"value"!==W&&L.removeAttribute(W)}for(var G in i.inputAttributes)"range"===V[H]&&"placeholder"===G||L.setAttribute(G,i.inputAttributes[G])}z.className=U,i.inputClass&&O(z,i.inputClass),I(z)}switch(i.input){case"text":case"email":case"password":case"number":case"tel":case"url":L=T(o.content,_.input),"string"==typeof i.inputValue||"number"==typeof i.inputValue?L.value=i.inputValue:v(i.inputValue)||p('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(t(i.inputValue),'"')),F(L),L.type=i.input,P(L);break;case"file":F(L=T(o.content,_.file)),L.type=i.input,P(L);break;case"range":var K=T(o.content,_.range),Z=K.querySelector("input"),Q=K.querySelector("output");Z.value=i.inputValue,Z.type=i.input,Q.value=i.inputValue,P(K);break;case"select":var X=T(o.content,_.select);if(X.innerHTML="",i.inputPlaceholder){var tt=document.createElement("option");tt.innerHTML=i.inputPlaceholder,tt.value="",tt.disabled=!0,tt.selected=!0,X.appendChild(tt)}N=function(t){t.forEach(function(t){var e=t[0],n=t[1],r=document.createElement("option");r.value=e,r.innerHTML=n,i.inputValue.toString()===e.toString()&&(r.selected=!0),X.appendChild(r)}),P(X),X.focus()};break;case"radio":var rt=T(o.content,_.radio);rt.innerHTML="",N=function(t){t.forEach(function(t){var e=t[0],n=t[1],r=document.createElement("input"),o=document.createElement("label");r.type="radio",r.name=_.radio,r.value=e,i.inputValue.toString()===e.toString()&&(r.checked=!0);var a=document.createElement("span");a.innerHTML=n,a.className=_.label,o.appendChild(r),o.appendChild(a),rt.appendChild(o)}),P(rt);var e=rt.querySelectorAll("input");e.length&&e[0].focus()};break;case"checkbox":var ot=T(o.content,_.checkbox),at=n.getInput("checkbox");at.type="checkbox",at.value=1,at.id=_.checkbox,at.checked=Boolean(i.inputValue),ot.querySelector("span").innerHTML=i.inputPlaceholder,P(ot);break;case"textarea":var st=T(o.content,_.textarea);st.value=i.inputValue,F(st),P(st);break;case null:break;default:h('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(i.input,'"'))}if("select"===i.input||"radio"===i.input){var lt=function(t){return N(function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(function(t,n){e.push([n,t])}):Object.keys(t).forEach(function(n){e.push([n,t[n]])}),e}(t))};v(i.inputOptions)?(a.showLoading(),i.inputOptions.then(function(t){n.hideLoading(),lt(t)})):"object"===t(i.inputOptions)?lt(i.inputOptions):h("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(i.inputOptions)))}else-1!==["text","email","number","tel","textarea"].indexOf(i.input)&&v(i.inputValue)&&(a.showLoading(),I(L),i.inputValue.then(function(t){L.value="number"===i.input?parseFloat(t)||0:t+"",P(L),L.focus(),n.hideLoading()}).catch(function(t){h("Error in inputValue promise: "+t),L.value="",P(L),L.focus(),n.hideLoading()}));w=i,S=R(),D=A(),null!==w.onBeforeOpen&&"function"==typeof w.onBeforeOpen&&w.onBeforeOpen(D),w.animation?(O(D,_.show),O(S,_.fade),k(D,_.hide)):k(D,_.fade),P(D),S.style.overflowY="hidden",J&&!x(D,_.noanimation)?D.addEventListener(J,function t(){D.removeEventListener(J,t),S.style.overflowY="auto"}):S.style.overflowY="auto",O([document.documentElement,document.body,S],_.shown),w.heightAuto&&w.backdrop&&!w.toast&&O([document.documentElement,document.body],_["height-auto"]),Y()&&(null===C.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(C.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=C.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px"),function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!x(document.body,_.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",O(document.body,_.iosfix)}}(),"undefined"!=typeof window&&et()&&(nt(),window.addEventListener("resize",nt)),d(document.body.children).forEach(function(t){t===R()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,R())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),setTimeout(function(){S.scrollTop=0})),$()||it.previousActiveElement||(it.previousActiveElement=document.activeElement),null!==w.onOpen&&"function"==typeof w.onOpen&&setTimeout(function(){w.onOpen(D)}),i.toast||(g(i.allowEnterKey)?i.focusCancel&&M(o.cancelButton)?o.cancelButton.focus():i.focusConfirm&&M(o.confirmButton)?o.confirmButton.focus():j(-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()),o.container.scrollTop=0})}});function Tt(){if("undefined"!=typeof window){"undefined"==typeof Promise&&h("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),Et=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0}});var r=this._main(this.params);_t.promise.set(this,r)}}Tt.prototype.then=function(t,e){return _t.promise.get(this).then(t,e)},Tt.prototype.catch=function(t){return _t.promise.get(this).catch(t)},Tt.prototype.finally=function(t){return _t.promise.get(this).finally(t)},r(Tt.prototype,kt),r(Tt,vt),Object.keys(kt).forEach(function(t){Tt[t]=function(){var e;if(Et)return(e=Et)[t].apply(e,arguments)}}),Tt.DismissReason=y,Tt.noop=function(){};var Pt,It,Mt=at((It=function(n){function s(){return e(this,s),u(this,a(s).apply(this,arguments))}return o(s,Pt=Tt),i(s,[{key:"_main",value:function(t){return c(a(s.prototype),"_main",this).call(this,r({},ft,t))}}],[{key:"setDefaults",value:function(e){if(m(ht),!e||"object"!==t(e))throw new TypeError("SweetAlert2: The argument for setDefaults() is required and has to be a object");pt(e),Object.keys(e).forEach(function(t){Pt.isValidParameter(t)&&(ft[t]=e[t])})}},{key:"resetDefaults",value:function(){m(ht),ft={}}}]),s}(),"undefined"!=typeof window&&"object"===t(window._swalDefaults)&&It.setDefaults(window._swalDefaults),It));return Mt.default=Mt,Mt}(),"undefined"!=typeof window&&window.Sweetalert2&&(window.Sweetalert2.version="7.33.1",window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2),"undefined"!=typeof document&&function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(t){n.innerText=e}}(document,"@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 2em;transform-origin:0 2em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}")},PU8L:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("6blF");function r(t){var e=new i.a(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}},Phjn:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("psW0");function r(t,e){return Object(i.a)(t,e,1)}},PqLd:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("t/Na"),r=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.getNews=function(t){return this.httpClient.get(this.constants.apiURL()+"/news/",{params:(new i.i).set("skip",String(t))})},t.prototype.getLatestNews=function(){return this.httpClient.get(this.constants.apiURL()+"/news/latest/")},t.prototype.getSingleNews=function(t){return this.httpClient.get(this.constants.apiURL()+"/news/"+t+"/")},t}()},Qgas:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("dC0D"),r=n("AxiF"),o=n("HJBe"),a=n("y3By");function s(t,e){return arguments.length>=2?function(n){return Object(a.a)(Object(i.a)(t,e),Object(r.a)(1),Object(o.a)(e))(n)}:function(e){return Object(a.a)(Object(i.a)(function(e,n,i){return t(e,n,i+1)}),Object(r.a)(1))(e)}}},QmeP:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){this.translations={payingWith:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 {{paymentSource}}",chooseAnotherWayToPay:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u0440\u0443\u0433 \u043d\u0430\u0447\u0438\u043d \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435",chooseAWayToPay:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043d\u0430\u0447\u0438\u043d \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435",otherWaysToPay:"\u0414\u0440\u0443\u0433\u0438 \u043d\u0430\u0447\u0438\u043d\u0438 \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435",edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0439",doneEditing:"\u0417\u0430\u043f\u0430\u0437\u0438",editPaymentMethods:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0439 \u043c\u0435\u0442\u043e\u0434\u0438\u0442\u0435 \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435",CreditCardDeleteConfirmationMessage:"\u0418\u0437\u0442\u0440\u0438\u0439 {{secondaryIdentifier}} \u043a\u0430\u0440\u0442\u0430\u0442\u0430 \u0437\u0430\u0432\u044a\u0440\u0448\u0432\u0430\u0449\u0430 \u043d\u0430 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"\u0418\u0437\u0442\u0440\u0438\u0439 Paypal \u043f\u0440\u043e\u0444\u0438\u043b\u0430 {{identifier}}?",genericDeleteConfirmationMessage:"\u041d\u0430\u0438\u0441\u0442\u0438\u043d\u0430 \u043b\u0438 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u0438\u0437\u0442\u0440\u0438\u0435\u0442\u0435 \u0442\u043e\u0437\u0438 \u043d\u0430\u0447\u0438\u043d \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435?",deleteCancelButton:"\u041e\u0442\u043a\u0430\u0436\u0438",deleteConfirmationButton:"\u0418\u0437\u0442\u0440\u0438\u0439",fieldEmptyForCvv:"\u041c\u043e\u043b\u044f, \u043f\u043e\u043f\u044a\u043b\u043d\u0435\u0442\u0435 CVV \u043a\u043e\u0434\u0430 \u043e\u0442\u0437\u0430\u0434 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0442\u0430.",fieldEmptyForExpirationDate:"\u041c\u043e\u043b\u044f, \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0434\u0430\u0442\u0430 \u043d\u0430 \u0438\u0437\u0442\u0438\u0447\u0430\u043d\u0435 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0442\u0430",fieldEmptyForCardholderName:"\u041c\u043e\u043b\u044f, \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0438\u043c\u0435\u0442\u043e \u0438\u0437\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u044a\u0440\u0445\u0443 \u043a\u0430\u0440\u0442\u0430\u0442\u0430.",fieldEmptyForNumber:"\u041c\u043e\u043b\u044f, \u043f\u043e\u043f\u044a\u043b\u043d\u0435\u0442\u0435 \u043d\u043e\u043c\u0435\u0440\u0430 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0442\u0430.",fieldEmptyForPostalCode:"\u041c\u043e\u043b\u044f, \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u043f\u043e\u0449\u0435\u043d\u0441\u043a\u0438 \u043a\u043e\u0434.",fieldInvalidForCvv:"\u041a\u043e\u0434\u0430 \u0437\u0430 \u0441\u0438\u0433\u0443\u0440\u043d\u043e\u0441\u0442 \u0435 \u043d\u0435\u0432\u0430\u043b\u0438\u0434\u0435\u043d.",fieldInvalidForExpirationDate:"\u0414\u0430\u0442\u0430\u0442\u0430 \u043d\u0430 \u0438\u0437\u0442\u0438\u0447\u0430\u043d\u0435 \u0435 \u043d\u0435\u0432\u0430\u043b\u0438\u0434\u043d\u0430.",fieldInvalidForNumber:"\u041d\u043e\u043c\u0435\u0440\u0430 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0442\u0430 \u0435 \u043d\u0435\u0432\u0430\u043b\u0438\u0434\u0435\u043d.",fieldInvalidForPostalCode:"\u041f\u043e\u0449\u0435\u043d\u0441\u043a\u0438\u044f \u043a\u043e\u0434 \u0435 \u043d\u0435\u0432\u0430\u043b\u0438\u0434\u0435\u043d.",fieldTooLongForCardholderName:"\u0418\u043c\u0435\u0442\u043e \u0438\u0437\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u044a\u0440\u0445\u0443 \u043a\u0430\u0440\u0442\u0430\u0442\u0430 \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043f\u043e \u043c\u0430\u043b\u043a\u043e \u043e\u0442 256 \u0441\u0438\u043c\u0432\u043e\u043b\u0430.",genericError:"\u041d\u0435\u0449\u043e \u0441\u0435 \u043e\u0431\u044a\u0440\u043a\u0430.",hostedFieldsTokenizationFailOnDuplicateError:"\u0422\u0430\u0437\u0438 \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u0430 \u043a\u0430\u0440\u0442\u0430 \u0432\u0435\u0447\u0435 \u0441\u044a\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u043a\u0430\u0442\u043e \u0437\u0430\u043f\u0430\u0437\u0435\u043d \u043d\u0430\u0447\u0438\u043d \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435.",hostedFieldsFailedTokenizationError:"\u041c\u043e\u043b\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\u0442\u0430 \u0441\u0438 \u0438 \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",hostedFieldsTokenizationCvvVerificationFailedError:"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u0442\u0430 \u043d\u0430 \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u0430\u0442\u0430 \u043a\u0430\u0440\u0442\u0430 \u043d\u0435 \u0431\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u0430. \u041c\u043e\u043b\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\u0442\u0430 \u0441\u0438 \u0438 \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",hostedFieldsTokenizationNetworkErrorError:"\u041c\u0440\u0435\u0436\u043e\u0432\u0430 \u0433\u0440\u0435\u0448\u043a\u0430. \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",hostedFieldsFieldsInvalidError:"\u041c\u043e\u043b\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\u0442\u0430 \u0441\u0438 \u0438 \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",paypalButtonMustBeUsed:"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u0442\u0435 \u0431\u0443\u0442\u043e\u043d\u0430 PayPal, \u0437\u0430 \u0434\u0430 \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438\u0442\u0435 \u0441 \u043f\u043b\u0430\u0449\u0430\u043d\u0435\u0442\u043e \u0441\u0438.",paypalAccountTokenizationFailedError:"\u041d\u0435\u0449\u043e \u0441\u0435 \u043e\u0431\u044a\u0440\u043a\u0430 \u043f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u044f\u043d\u0435\u0442\u043e \u043d\u0430 \u0430\u043a\u0430\u0443\u043d\u0442\u0430 \u0432 PayPal. \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",paypalFlowFailedError:"\u041d\u0435\u0449\u043e \u0441\u0435 \u043e\u0431\u044a\u0440\u043a\u0430 \u043f\u0440\u0438 \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u0441 PayPal. \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",paypalTokenizationRequestActiveError:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u0442\u043e \u0437\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 PayPal \u0432\u0435\u0447\u0435 \u0435 \u0432 \u0445\u043e\u0434.",applePayTokenizationError:"\u0412\u044a\u0437\u043d\u0438\u043a\u043d\u0430 \u043c\u0440\u0435\u0436\u043e\u0432\u0430 \u0433\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430\u0442\u0430 \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435\u0442\u043e \u0441 Apple Pay. \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",applePayActiveCardError:"\u0414\u043e\u0431\u0430\u0432\u0435\u0442\u0435 \u043f\u043e\u0434\u0434\u044a\u0440\u0436\u0430\u043d\u0430 \u043a\u0430\u0440\u0442\u0430 \u043a\u044a\u043c \u0432\u0430\u0448\u0438\u044f Apple Pay \u043f\u043e\u0440\u0442\u0444\u0435\u0439\u043b.",vaultManagerPaymentMethodDeletionError:"\u041d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u0442\u0440\u0438\u0435\u0442\u0435 \u043d\u0430\u0447\u0438\u043d\u0430 \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",venmoCanceledError:"\u041d\u0435\u0449\u043e \u0441\u0435 \u043e\u0431\u044a\u0440\u043a\u0430. \u0423\u0432\u0435\u0440\u0435\u0442\u0435 \u0441\u0435, \u0447\u0435 \u0438\u043c\u0430\u0442\u0435 \u043d\u0430\u0439-\u043d\u043e\u0432\u0430\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e Venmo, \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u043e \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u0432\u0430\u0448\u0438\u044f\u0442 \u0431\u0440\u0430\u0443\u0437\u044a\u0440 \u043f\u043e\u0434\u0434\u044a\u0440\u0436\u0430 \u043f\u0440\u0435\u043c\u0438\u043d\u0430\u0432\u0430\u043d\u0435 \u043a\u044a\u043c Venmo.",venmoAppFailedError:"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e Venmo \u043d\u0435 \u043c\u043e\u0436\u0430 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043e \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.",unsupportedCardTypeError:"\u0422\u043e\u0437\u0438 \u0442\u0438\u043f \u043a\u0430\u0440\u0442\u0438 \u043d\u0435 \u0441\u0435 \u043f\u043e\u0434\u0434\u044a\u0440\u0436\u0430. \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u0430 \u043a\u0430\u0440\u0442\u0430.",cardholderNameLabel:"\u0418\u043c\u0435 \u043d\u0430 \u043a\u0430\u0440\u0442\u043e\u0434\u044a\u0440\u0436\u0430\u0442\u0435\u043b\u044f",cardNumberLabel:"\u041d\u043e\u043c\u0435\u0440 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 \u0446\u0438\u0444\u0440\u0438)",cvvFourDigitLabelSubheading:"(4 \u0446\u0438\u0444\u0440\u0438)",expirationDateLabel:"\u0414\u0430\u0442\u0430 \u043d\u0430 \u0438\u0437\u0442\u0438\u0447\u0430\u043d\u0435",expirationDateLabelSubheading:"(MM/YY)",cardholderNamePlaceholder:"\u0418\u043c\u0435 \u043d\u0430 \u043a\u0430\u0440\u0442\u043e\u0434\u044a\u0440\u0436\u0430\u0442\u0435\u043b\u044f",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"\u041f\u043e\u0449\u0435\u043d\u0441\u043a\u0438 \u043a\u043e\u0434",saveCardLabel:"\u0417\u0430\u043f\u0430\u0437\u0438 \u043a\u0430\u0440\u0442\u0430\u0442\u0430",payWithCard:"\u041f\u043b\u0430\u0442\u0438 \u0447\u0440\u0435\u0437 \u043a\u0430\u0440\u0442\u0430",endingIn:"\u0417\u0430\u0432\u044a\u0440\u0448\u0432\u0430\u0449\u0430 \u043d\u0430 {{lastFourCardDigits}}",Card:"\u041a\u0430\u0440\u0442\u0430",PayPal:"PayPal","PayPal Credit":"PayPal \u041a\u0440\u0435\u0434\u0438\u0442","Apple Pay":"Apple Pay","Google Pay":"Google Pay",Venmo:"Venmo","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}}}()},QpxQ:function(t,e,n){"use strict";var i=n("CcnG"),r=n("mrSG"),o=n("tHPV"),a=n("KQya"),s=n("K9Ia"),l=n("bne5"),u=n("p0ib"),c=n("ny24"),d=n("T1DM"),p=n("Ehmk"),h=n("eihs"),f=n("MGBS"),m=n("zotm"),g=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new v(t,this.durationSelector))},t}(),v=function(t){function e(e,n){var i=t.call(this,e)||this;return i.durationSelector=n,i.hasValue=!1,i}return r.d(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=Object(p.a)(this.durationSelector)(t);if(e===h.a)this.destination.error(h.a.e);else{var n=Object(m.a)(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,i){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(f.a),y=n("gI3B"),b=n("p0Sj"),_=n("xMyE"),w=n("Gi3i"),C=n("VnD/"),x=n("67Y/");n.d(e,"a",function(){return F}),n.d(e,"d",function(){return V}),n.d(e,"c",function(){return z}),n.d(e,"b",function(){return N}),n.d(e,"i",function(){return E}),n.d(e,"g",function(){return j}),n.d(e,"f",function(){return D}),n.d(e,"h",function(){return L}),n.d(e,"e",function(){return H});var E=function(){function t(){}return t.prototype.warn=function(t){console.warn(t)},t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}();function S(t){return null!=t}function O(t){return"object"==typeof t&&S(t)}function k(t){return t instanceof Function}var T={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};function P(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return T[t]||t})}function I(){return"axxxxxxxxxxx".replace(/[x]/g,function(t){return(16*Math.random()|0).toString(16)})}var M=function(){function t(t,e){this._ngSelect=t,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}return Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filteredItems",{get:function(){return this._filteredItems},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markedIndex",{get:function(){return this._markedIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedItems",{get:function(){return this._selectionModel.value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markedItem",{get:function(){return this._filteredItems[this._markedIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"noItemsToSelect",{get:function(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxItemsSelected",{get:function(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastSelectedItem",{get:function(){for(var t=this.selectedItems.length-1;t>=0;t--){var e=this.selectedItems[t];if(!e.disabled)return e}return null},enumerable:!0,configurable:!0}),t.prototype.setItems=function(t){var e=this;this._items=t.map(function(t,n){return e.mapItem(t,n)}),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=Object(r.i)(this._items)},t.prototype.select=function(t){if(!t.selected&&!this.maxItemsSelected){var e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(t,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(t)}},t.prototype.unselect=function(t){t.selected&&(this._selectionModel.unselect(t,this._ngSelect.multiple),this._ngSelect.hideSelected&&S(t.index)&&this._ngSelect.multiple&&this._showSelected(t))},t.prototype.findItem=function(t){var e,n=this;return e=this._ngSelect.compareWith?function(e){return n._ngSelect.compareWith(e.value,t)}:this._ngSelect.bindValue?function(e){return!e.children&&n.resolveNested(e.value,n._ngSelect.bindValue)===t}:function(e){return e.value===t||!e.children&&e.label&&e.label===n.resolveNested(t,n._ngSelect.bindLabel)},this._items.find(function(t){return e(t)})},t.prototype.addItem=function(t){var e=this.mapItem(t,this._items.length);return this._items.push(e),this._filteredItems.push(e),e},t.prototype.clearSelected=function(t){void 0===t&&(t=!1),this._selectionModel.clear(t),this._items.forEach(function(e){e.selected=t&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()},t.prototype.findByLabel=function(t){return t=P(t).toLocaleLowerCase(),this.filteredItems.find(function(e){return P(e.label).toLocaleLowerCase().substr(0,t.length)===t})},t.prototype.filter=function(t){var e,n;if(t){this._filteredItems=[],t=this._ngSelect.searchFn?t:P(t).toLocaleLowerCase();var i=this._ngSelect.searchFn||this._defaultSearchFn,o=this._ngSelect.hideSelected,a=function(e){var n,a,l,u=[];try{for(var c=Object(r.j)(s._groups.get(e)),d=c.next();!d.done;d=c.next()){var p=d.value;o&&(p.parent&&p.parent.selected||p.selected)||i(t,s._ngSelect.searchFn?p.value:p)&&u.push(p)}}catch(m){n={error:m}}finally{try{d&&!d.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}if(u.length>0){var h=Object(r.h)(u.slice(-1),1)[0];if(h.parent){var f=s._items.find(function(t){return t===h.parent});s._filteredItems.push(f)}(l=s._filteredItems).push.apply(l,Object(r.i)(u))}},s=this;try{for(var l=Object(r.j)(Array.from(this._groups.keys())),u=l.next();!u.done;u=l.next())a(u.value)}catch(c){e={error:c}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}}else this.resetFilteredItems()},t.prototype.resetFilteredItems=function(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(function(t){return!t.selected}):this._items)},t.prototype.unmarkItem=function(){this._markedIndex=-1},t.prototype.markNextItem=function(){this._stepToItem(1)},t.prototype.markPreviousItem=function(){this._stepToItem(-1)},t.prototype.markItem=function(t){this._markedIndex=this._filteredItems.indexOf(t)},t.prototype.markSelectedOrDefault=function(t){if(0!==this._filteredItems.length){var e=this._getLastMarkedIndex();this._markedIndex=e>-1?e:this._ngSelect.excludeGroupsFromDefaultSelection?t?this.filteredItems.findIndex(function(t){return!t.disabled&&!t.children}):-1:t?this.filteredItems.findIndex(function(t){return!t.disabled}):-1}},t.prototype.resolveNested=function(t,e){if(!O(t))return t;if(-1===e.indexOf("."))return t[e];for(var n=e.split("."),i=t,r=0,o=n.length;r<o;++r){if(null==i)return null;i=i[n[r]]}return i},t.prototype.mapItem=function(t,e){var n=S(t.$ngOptionLabel)?t.$ngOptionLabel:this.resolveNested(t,this._ngSelect.bindLabel),i=S(t.$ngOptionValue)?t.$ngOptionValue:t;return{index:e,label:S(n)?n.toString():"",value:i,disabled:t.disabled,htmlId:this._ngSelect.dropdownId+"-"+e}},t.prototype.mapSelectedItems=function(){var t,e,n=this,i=this._ngSelect.multiple;try{for(var o=Object(r.j)(this.selectedItems),a=o.next();!a.done;a=o.next()){var s=a.value,l=this._ngSelect.bindValue?this.resolveNested(s.value,this._ngSelect.bindValue):s.value,u=S(l)?this.findItem(l):null;this._selectionModel.unselect(s,i),this._selectionModel.select(u||s,i,this._ngSelect.selectableGroupAsModel)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(function(t){return-1===n.selectedItems.indexOf(t)}))},t.prototype._showSelected=function(t){var e,n;if(this._filteredItems.push(t),t.parent){var i=t.parent;this._filteredItems.find(function(t){return t===i})||this._filteredItems.push(i)}else if(t.children)try{for(var o=Object(r.j)(t.children),a=o.next();!a.done;a=o.next()){var s=a.value;s.selected=!1,this._filteredItems.push(s)}}catch(l){e={error:l}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}this._filteredItems=Object(r.i)(this._filteredItems.sort(function(t,e){return t.index-e.index}))},t.prototype._hideSelected=function(t){this._filteredItems=this._filteredItems.filter(function(e){return e!==t}),t.parent?t.parent.children.every(function(t){return t.selected})&&(this._filteredItems=this._filteredItems.filter(function(e){return e!==t.parent})):t.children&&(this._filteredItems=this.filteredItems.filter(function(e){return e.parent!==t}))},t.prototype._defaultSearchFn=function(t,e){return P(e.label).toLocaleLowerCase().indexOf(t)>-1},t.prototype._getNextItemIndex=function(t){return t>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1},t.prototype._stepToItem=function(t){0===this._filteredItems.length||this._filteredItems.every(function(t){return t.disabled})||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))},t.prototype._getLastMarkedIndex=function(){if(this._ngSelect.hideSelected)return-1;if(this._markedIndex>-1&&void 0===this.markedItem)return-1;var t=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&t<0?-1:Math.max(this.markedIndex,t)},t.prototype._groupBy=function(t,e){var n,i,o,a,s=this,l=new Map;if(0===t.length)return l;if(Array.isArray(t[0].value[e])){try{for(var u=Object(r.j)(t),c=u.next();!c.done;c=u.next()){var d=((g=c.value).value[e]||[]).map(function(t,e){return s.mapItem(t,e)});l.set(g,d)}}catch(b){n={error:b}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return l}var p=k(this._ngSelect.groupBy),h=function(t){var n=p?e(t.value):t.value[e];return S(n)?n:void 0};try{for(var f=Object(r.j)(t),m=f.next();!m.done;m=f.next()){var g,v=h(g=m.value),y=l.get(v);y?y.push(g):l.set(v,[g])}}catch(_){o={error:_}}finally{try{m&&!m.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}return l},t.prototype._flatten=function(t){var e,n,i=k(this._ngSelect.groupBy),o=[],a=t.get(void 0)||[];o.push.apply(o,Object(r.i)(a));var s=a.length,l=function(e){if(!S(e))return"continue";var n=O(e),a={label:n?"":e,children:void 0,parent:null,index:s++,disabled:!u._ngSelect.selectableGroup,htmlId:I()},l=i?u._ngSelect.bindLabel:u._ngSelect.groupBy,c=u._ngSelect.groupValue||function(){var t;return n?e.value:((t={})[l]=e,t)},d=t.get(e).map(function(t){return t.parent=a,t.children=void 0,t.index=s++,t});a.children=d,a.value=c(e,d.map(function(t){return t.value})),o.push(a),o.push.apply(o,Object(r.i)(d))},u=this;try{for(var c=Object(r.j)(Array.from(t.keys())),d=c.next();!d.done;d=c.next())l(d.value)}catch(p){e={error:p}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}return o},t}(),R=function(){var t={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};return t[t.Tab]="Tab",t[t.Enter]="Enter",t[t.Esc]="Esc",t[t.Space]="Space",t[t.ArrowUp]="ArrowUp",t[t.ArrowDown]="ArrowDown",t[t.Backspace]="Backspace",t}(),D=function(){function t(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}return Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._dimensions},enumerable:!0,configurable:!0}),t.prototype.calculateItems=function(t,e,n){var i=this._dimensions,r=i.itemHeight*e,o=Math.max(0,t)/r*e,a=Math.min(e,Math.ceil(o)+(i.itemsPerViewport+1)),s=Math.max(0,a-i.itemsPerViewport),l=Math.min(s,Math.floor(o)),u=i.itemHeight*Math.ceil(l)-i.itemHeight*Math.min(l,n);return u=isNaN(u)?0:u,l=isNaN(l)?-1:l,a=isNaN(a)?-1:a,l-=n,a+=n,{topPadding:u,scrollHeight:r,start:l=Math.max(0,l),end:a=Math.min(e,a)}},t.prototype.setDimensions=function(t,e){var n=Math.max(1,Math.floor(e/t));this._dimensions={itemHeight:t,panelHeight:e,itemsPerViewport:n}},t.prototype.getScrollTo=function(t,e,n){var i=t+e,r=n+this.dimensions.panelHeight;return i>r?n+i-r:t<=n?t:null},t}(),A="undefined"!=typeof requestAnimationFrame?o.a:a.a,j=function(){function t(t,e,n,r,o){this._renderer=t,this._zone=e,this._panelService=n,this._document=o,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new i.EventEmitter,this.scroll=new i.EventEmitter,this.scrollToEnd=new i.EventEmitter,this.outsideClick=new i.EventEmitter,this._destroy$=new s.a,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}return Object.defineProperty(t.prototype,"currentPosition",{get:function(){return this._currentPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemsLength",{get:function(){return this._itemsLength},set:function(t){t!==this._itemsLength&&(this._itemsLength=t,this._onItemsLengthChanged())},enumerable:!0,configurable:!0}),t.prototype.handleMousedown=function(t){"INPUT"!==t.target.tagName&&t.preventDefault()},t.prototype.ngOnInit=function(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown()},t.prototype.ngOnChanges=function(t){if(t.items){var e=t.items;this._onItemsChange(e.currentValue,e.firstChange)}},t.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)},t.prototype.scrollTo=function(t,e){if(void 0===e&&(e=!1),t){var n=this.items.indexOf(t);if(!(n<0||n>=this.itemsLength)){var i;if(this.virtualScroll){var r=this._panelService.dimensions.itemHeight;i=this._panelService.getScrollTo(n*r,r,this._lastScrollPosition)}else{var o=this._dropdown.querySelector("#"+t.htmlId);i=this._panelService.getScrollTo(o.offsetTop,o.clientHeight,e?o.offsetTop:this._lastScrollPosition)}S(i)&&(this._scrollablePanel.scrollTop=i)}}},t.prototype.scrollToTag=function(){var t=this._scrollablePanel;t.scrollTop=t.scrollHeight-t.clientHeight},t.prototype.adjustPosition=function(){var t=this._parent.getBoundingClientRect(),e=this._select.getBoundingClientRect();this._setOffset(t,e)},t.prototype._handleDropdownPosition=function(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),"top"===this._currentPosition?(this._renderer.addClass(this._dropdown,"ng-select-top"),this._renderer.removeClass(this._dropdown,"ng-select-bottom"),this._renderer.addClass(this._select,"ng-select-top"),this._renderer.removeClass(this._select,"ng-select-bottom")):(this._renderer.addClass(this._dropdown,"ng-select-bottom"),this._renderer.removeClass(this._dropdown,"ng-select-top"),this._renderer.addClass(this._select,"ng-select-bottom"),this._renderer.removeClass(this._select,"ng-select-top")),this.appendTo&&this._updatePosition(),this._dropdown.style.opacity="1"},t.prototype._handleScroll=function(){var t=this;this._zone.runOutsideAngular(function(){var e,n;Object(l.a)(t.scrollElementRef.nativeElement,"scroll").pipe(Object(c.a)(t._destroy$),(0,e=A,void 0===e&&(e=d.a),n=function(){return Object(y.a)(0,e)},function(t){return t.lift(new g(n))})).subscribe(function(e){return t._onContentScrolled(e.srcElement.scrollTop)})})},t.prototype._handleOutsideClick=function(){var t=this;this._document&&this._zone.runOutsideAngular(function(){Object(u.a)(Object(l.a)(t._document,"touchstart",{capture:!0}),Object(l.a)(t._document,"mousedown",{capture:!0})).pipe(Object(c.a)(t._destroy$)).subscribe(function(e){return t._checkToClose(e)})})},t.prototype._checkToClose=function(t){if(!this._select.contains(t.target)&&!this._dropdown.contains(t.target)){var e=t.path||t.composedPath&&t.composedPath();t.target&&t.target.shadowRoot&&e&&e[0]&&this._select.contains(e[0])||this.outsideClick.emit()}},t.prototype._onItemsChange=function(t,e){this.items=t||[],this._scrollToEndFired=!1,this.itemsLength=t.length,this.virtualScroll?this._updateItemsRange(e):this._updateItems(e)},t.prototype._updateItems=function(t){var e=this;this.update.emit(this.items),!1!==t&&this._zone.runOutsideAngular(function(){Promise.resolve().then(function(){e._panelService.setDimensions(0,e._scrollablePanel.clientHeight),e._handleDropdownPosition(),e.scrollTo(e.markedItem,t)})})},t.prototype._updateItemsRange=function(t){var e=this;this._zone.runOutsideAngular(function(){e._measureDimensions().then(function(){t?(e._renderItemsRange(e._startOffset),e._handleDropdownPosition()):e._renderItemsRange()})})},t.prototype._onContentScrolled=function(t){this.virtualScroll&&this._renderItemsRange(t),this._lastScrollPosition=t,this._fireScrollToEnd(t)},t.prototype._updateVirtualHeight=function(t){this._updateScrollHeight&&(this._virtualPadding.style.height=t+"px",this._updateScrollHeight=!1)},t.prototype._onItemsLengthChanged=function(){this._updateScrollHeight=!0},Object.defineProperty(t.prototype,"_startOffset",{get:function(){return this.markedItem?this.markedItem.index*this._panelService.dimensions.itemHeight:0},enumerable:!0,configurable:!0}),t.prototype._renderItemsRange=function(t){var e=this;if(void 0===t&&(t=null),!t||this._lastScrollPosition!==t){var n=this._panelService.calculateItems(t=t||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(n.scrollHeight),this._contentPanel.style.transform="translateY("+n.topPadding+"px)",this._zone.run(function(){e.update.emit(e.items.slice(n.start,n.end)),e.scroll.emit({start:n.start,end:n.end})}),S(t)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=t,this._lastScrollPosition=t)}},t.prototype._measureDimensions=function(){var t=this;if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);var e=Object(r.h)(this.items,1)[0];return this.update.emit([e]),Promise.resolve().then(function(){var n=t._dropdown.querySelector("#"+e.htmlId).clientHeight;return t._virtualPadding.style.height=n*t.itemsLength+"px",t._panelService.setDimensions(n,t._scrollablePanel.clientHeight),t._panelService.dimensions})},t.prototype._fireScrollToEnd=function(t){var e=this;this._scrollToEndFired||0===t||t+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight&&(this._zone.run(function(){return e.scrollToEnd.emit()}),this._scrollToEndFired=!0)},t.prototype._calculateCurrentPosition=function(t){if("auto"!==this.position)return this.position;var e=this._select.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return e.top+window.pageYOffset+e.height+t.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"},t.prototype._appendDropdown=function(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!parent)throw new Error("appendTo selector "+this.appendTo+" did not found any parent element");this._parent.appendChild(this._dropdown)}},t.prototype._updatePosition=function(){var t=this._select.getBoundingClientRect(),e=this._parent.getBoundingClientRect(),n=t.left-e.left;this._setOffset(e,t),this._dropdown.style.left=n+"px",this._dropdown.style.width=t.width+"px",this._dropdown.style.minWidth=t.width+"px"},t.prototype._setOffset=function(t,e){var n=e.height;"top"===this._currentPosition?(this._dropdown.style.bottom=t.bottom-e.bottom+n+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=e.top-t.top+n+"px",this._dropdown.style.bottom="auto")},t}(),L=function(){function t(t){this.elementRef=t,this.stateChange$=new s.a,this._disabled=!1}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=this._isDisabled(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})},t.prototype._isDisabled=function(t){return null!=t&&""+t!="false"},t}(),N=function(){function t(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0}return t.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),V=new i.InjectionToken("ng-select-selection-model"),F=function(){function t(t,e,n,r,o,a,l,u){var c=this;this.classes=t,this.tabIndex=e,this.autoFocus=n,this._cd=l,this._console=u,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.excludeGroupsFromDefaultSelection=!1,this.clearOnBackspace=!0,this.labelForId=null,this.autoCorrect="off",this.autoCapitalize="off",this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new i.EventEmitter,this.focusEvent=new i.EventEmitter,this.changeEvent=new i.EventEmitter,this.openEvent=new i.EventEmitter,this.closeEvent=new i.EventEmitter,this.searchEvent=new i.EventEmitter,this.clearEvent=new i.EventEmitter,this.addEvent=new i.EventEmitter,this.removeEvent=new i.EventEmitter,this.scroll=new i.EventEmitter,this.scrollToEnd=new i.EventEmitter,this.disabled=!1,this.viewPortItems=[],this.filterValue=null,this.dropdownId=I(),this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._destroy$=new s.a,this._keyPress$=new s.a,this._onChange=function(t){},this._onTouched=function(){},this.clearItem=function(t){var e=c.selectedItems.find(function(e){return e.value===t});c.unselect(e)},this.trackByOption=function(t,e){return c.trackByFn?c.trackByFn(e.value):e.htmlId},this._mergeGlobalConfig(r),this.itemsList=new M(this,o()),this.element=a.nativeElement}return Object.defineProperty(t.prototype,"items",{get:function(){return this._items},set:function(t){this._itemsAreUsed=!0,this._items=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if(!k(t))throw Error("`compareWith` must be a function.");this._compareWith=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"clearSearchOnAdd",{get:function(){return S(this._clearSearchOnAdd)?this._clearSearchOnAdd:this.closeOnSelect},set:function(t){this._clearSearchOnAdd=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filtered",{get:function(){return!!this.filterValue&&this.searchable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedItems",{get:function(){return this.itemsList.selectedItems},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedValues",{get:function(){return this.selectedItems.map(function(t){return t.value})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasValue",{get:function(){return this.selectedItems.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentPanelPosition",{get:function(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._handleKeyPresses()},t.prototype.ngOnChanges=function(t){t.multiple&&this.itemsList.clearSelected(),t.items&&this._setItems(t.items.currentValue||[]),t.isOpen&&(this._manualOpen=S(t.isOpen.currentValue))},t.prototype.ngAfterViewInit=function(){this._itemsAreUsed||this._setItemsFromNgOptions(),S(this.autoFocus)&&this.focus()},t.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete()},t.prototype.handleKeyDown=function(t){if(R[t.which])switch(t.which){case R.ArrowDown:this._handleArrowDown(t);break;case R.ArrowUp:this._handleArrowUp(t);break;case R.Space:this._handleSpace(t);break;case R.Enter:this._handleEnter(t);break;case R.Tab:this._handleTab(t);break;case R.Esc:this.close(),t.preventDefault();break;case R.Backspace:this._handleBackspace()}else t.key&&1===t.key.length&&this._keyPress$.next(t.key.toLocaleLowerCase())},t.prototype.handleMousedown=function(t){var e=t.target;"INPUT"!==e.tagName&&t.preventDefault(),e.classList.contains("ng-clear-wrapper")?this.handleClearClick():e.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():e.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())},t.prototype.handleArrowClick=function(){this.isOpen?this.close():this.open()},t.prototype.handleClearClick=function(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this._isTypeahead&&this.typeahead.next(null),this.clearEvent.emit(),this._onSelectionChanged()},t.prototype.clearModel=function(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())},t.prototype.writeValue=function(t){this.itemsList.clearSelected(),this._handleWriteValue(t),this._cd.markForCheck()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._cd.markForCheck()},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t.prototype.open=function(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.filterValue||this.focus(),this.detectChanges())},t.prototype.close=function(){this.isOpen&&!this._manualOpen&&(this.isOpen=!1,this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())},t.prototype.toggleItem=function(t){!t||t.disabled||this.disabled||(this.multiple&&t.selected?this.unselect(t):this.select(t),this._onSelectionChanged())},t.prototype.select=function(t){t.selected||(this.itemsList.select(t),this.clearSearchOnAdd&&this._clearSearch(),this.multiple&&this.addEvent.emit(t.value),this._updateNgModel()),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()},t.prototype.focus=function(){this.filterInput.nativeElement.focus()},t.prototype.unselect=function(t){t&&(this.itemsList.unselect(t),this.focus(),this._updateNgModel(),this.removeEvent.emit(t))},t.prototype.selectTag=function(){var t,e,n=this;e=k(this.addTag)?this.addTag(this.filterValue):this._primitive?this.filterValue:((t={})[this.bindLabel]=this.filterValue,t);var i=function(t){return n._isTypeahead||!n.isOpen?n.itemsList.mapItem(t,null):n.itemsList.addItem(t)};e instanceof Promise?e.then(function(t){return n.select(i(t))}).catch(function(){}):e&&this.select(i(e))},t.prototype.showClear=function(){return this.clearable&&(this.hasValue||this.filterValue)&&!this.disabled},Object.defineProperty(t.prototype,"showAddTag",{get:function(){if(!this.filterValue)return!1;var t=this.filterValue.toLowerCase();return this.addTag&&!this.itemsList.filteredItems.some(function(e){return e.label.toLowerCase()===t})&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(function(e){return e.label.toLowerCase()===t}))&&!this.loading},enumerable:!0,configurable:!0}),t.prototype.showNoItemsFound=function(){var t=0===this.itemsList.filteredItems.length;return(t&&!this._isTypeahead&&!this.loading||t&&this._isTypeahead&&this.filterValue&&!this.loading)&&!this.showAddTag},t.prototype.showTypeToSearch=function(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this.filterValue&&!this.loading},t.prototype.filter=function(t){this.filterValue=t,this._isTypeahead?this.typeahead.next(this.filterValue):(this.itemsList.filter(this.filterValue),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:t,items:this.itemsList.filteredItems.map(function(t){return t.value})}),this.open()},t.prototype.onInputFocus=function(t){this.focused||(this.element.classList.add("ng-select-focused"),this.focusEvent.emit(t),this.focused=!0)},t.prototype.onInputBlur=function(t){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(t),this.isOpen||this.disabled||this._onTouched(),this.focused=!1},t.prototype.onItemHover=function(t){t.disabled||this.itemsList.markItem(t)},t.prototype.detectChanges=function(){this._cd.destroyed||this._cd.detectChanges()},t.prototype._setItems=function(t){var e=t[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=S(e)?!O(e):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(t),t.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&S(this.filterValue)&&!this._isTypeahead&&this.itemsList.filter(this.filterValue),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)},t.prototype._setItemsFromNgOptions=function(){var t=this;this.ngOptions.changes.pipe(Object(b.a)(this.ngOptions),Object(c.a)(this._destroy$)).subscribe(function(e){var n;t.bindLabel=t._defaultLabel,function(e){t.items=e.map(function(t){return{$ngOptionValue:t.value,$ngOptionLabel:t.elementRef.nativeElement.innerHTML,disabled:t.disabled}}),t.itemsList.setItems(t.items),t.hasValue&&t.itemsList.mapSelectedItems(),t.detectChanges()}(e),n=Object(u.a)(t.ngOptions.changes,t._destroy$),u.a.apply(void 0,Object(r.i)(t.ngOptions.map(function(t){return t.stateChange$}))).pipe(Object(c.a)(n)).subscribe(function(e){t.itemsList.findItem(e.value).disabled=e.disabled,t._cd.markForCheck()})})},t.prototype._isValidWriteValue=function(t){var e=this;if(!S(t)||this.multiple&&""===t||Array.isArray(t)&&0===t.length)return!1;var n=function(t){return!(!S(e.compareWith)&&O(t)&&e.bindValue&&(e._console.warn("Binding object("+JSON.stringify(t)+") with bindValue is not allowed."),1))};return this.multiple?Array.isArray(t)?t.every(function(t){return n(t)}):(this._console.warn("Multiple select ngModel should be array."),!1):n(t)},t.prototype._handleWriteValue=function(t){var e=this;if(this._isValidWriteValue(t)){var n=function(t){var n,i=e.itemsList.findItem(t);if(i)e.itemsList.select(i);else{var r=O(t);r||!r&&!e.bindValue?e.itemsList.select(e.itemsList.mapItem(t,null)):e.bindValue&&((n={})[e.bindLabel]=null,n[e.bindValue]=t,e.itemsList.select(e.itemsList.mapItem(i=n,null)))}};this.multiple?t.forEach(function(t){return n(t)}):n(t)}},t.prototype._handleKeyPresses=function(){var t=this;this.searchable||this._keyPress$.pipe(Object(c.a)(this._destroy$),Object(_.a)(function(e){return t._pressedKeys.push(e)}),Object(w.a)(200),Object(C.a)(function(){return t._pressedKeys.length>0}),Object(x.a)(function(){return t._pressedKeys.join("")})).subscribe(function(e){var n=t.itemsList.findByLabel(e);n&&(t.isOpen?(t.itemsList.markItem(n),t._cd.markForCheck()):t.select(n)),t._pressedKeys=[]})},t.prototype._updateNgModel=function(){var t,e,n=[];try{for(var i=Object(r.j)(this.selectedItems),o=i.next();!o.done;o=i.next()){var a=o.value;if(this.bindValue){var s;s=a.children?a.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(a.value,this.bindValue),n.push(s)}else n.push(a.value)}}catch(u){t={error:u}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}var l=this.selectedItems.map(function(t){return t.value});this.multiple?(this._onChange(n),this.changeEvent.emit(l)):(this._onChange(S(n[0])?n[0]:null),this.changeEvent.emit(l[0])),this._cd.markForCheck()},t.prototype._clearSearch=function(){this.filterValue&&(this.filterValue=null,this.itemsList.resetFilteredItems())},t.prototype._scrollToMarked=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollTo(this.itemsList.markedItem)},t.prototype._scrollToTag=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollToTag()},t.prototype._onSelectionChanged=function(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())},t.prototype._handleTab=function(t){(!1!==this.isOpen||this.addTag)&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),t.preventDefault()):this.showAddTag?(this.selectTag(),t.preventDefault()):this.close():this.close())},t.prototype._handleEnter=function(t){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}t.preventDefault()},t.prototype._handleSpace=function(t){this.isOpen||this._manualOpen||(this.open(),t.preventDefault())},t.prototype._handleArrowDown=function(t){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),t.preventDefault()},t.prototype._handleArrowUp=function(t){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),t.preventDefault())},t.prototype._nextItemIsTag=function(t){var e=this.itemsList.markedIndex+t;return this.addTag&&this.filterValue&&this.itemsList.markedItem&&(e<0||e===this.itemsList.filteredItems.length)},t.prototype._handleBackspace=function(){!this.filterValue&&this.clearable&&this.clearOnBackspace&&this.hasValue&&(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())},Object.defineProperty(t.prototype,"_isTypeahead",{get:function(){return this.typeahead&&this.typeahead.observers.length>0},enumerable:!0,configurable:!0}),t.prototype._mergeGlobalConfig=function(t){this.placeholder=this.placeholder||t.placeholder,this.notFoundText=this.notFoundText||t.notFoundText,this.typeToSearchText=this.typeToSearchText||t.typeToSearchText,this.addTagText=this.addTagText||t.addTagText,this.loadingText=this.loadingText||t.loadingText,this.clearAllText=this.clearAllText||t.clearAllText,this.virtualScroll=S(this.virtualScroll)?this.virtualScroll:!!S(t.disableVirtualScroll)&&!t.disableVirtualScroll,this.openOnEnter=S(this.openOnEnter)?this.openOnEnter:t.openOnEnter},t}();function H(){return new U}var U=function(){function t(){this._selected=[]}return Object.defineProperty(t.prototype,"value",{get:function(){return this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(t,e,n){if(t.selected=!0,!n&&t.children||this._selected.push(t),e)if(t.parent){var i=t.parent.children.length,o=t.parent.children.filter(function(t){return t.selected}).length;t.parent.selected=i===o}else t.children&&(this._setChildrenSelectedState(t.children,!0),this._removeChildren(t),n||(this._selected=Object(r.i)(this._selected,t.children)))},t.prototype.unselect=function(t,e){var n;if(this._selected=this._selected.filter(function(e){return e!==t}),t.selected=!1,e)if(t.parent&&t.parent.selected){var i=t.parent.children;this._removeParent(t.parent),this._removeChildren(t.parent),(n=this._selected).push.apply(n,Object(r.i)(i.filter(function(e){return e!==t}))),t.parent.selected=!1}else t.children&&(this._setChildrenSelectedState(t.children,!1),this._removeChildren(t))},t.prototype.clear=function(t){this._selected=t?this._selected.filter(function(t){return t.disabled}):[]},t.prototype._setChildrenSelectedState=function(t,e){t.forEach(function(t){return t.selected=e})},t.prototype._removeChildren=function(t){this._selected=this._selected.filter(function(e){return e.parent!==t})},t.prototype._removeParent=function(t){this._selected=this._selected.filter(function(e){return e!==t})},t}(),z=function(){return function(){}}()},RFs3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("6foH"),r=n("CcnG"),o=n("gIcY"),a=function(){function t(){}return t.prototype.to=function(t){return String(parseFloat(parseFloat(String(t)).toFixed(2)))},t.prototype.from=function(t){return parseFloat(t)},t}();e.DefaultFormatter=a;var s=function(){function t(t,e){var n=this;this.el=t,this.renderer=e,this.config={},this.change=new r.EventEmitter(!0),this.update=new r.EventEmitter(!0),this.slide=new r.EventEmitter(!0),this.set=new r.EventEmitter(!0),this.start=new r.EventEmitter(!0),this.end=new r.EventEmitter(!0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this.eventHandler=function(t,e,i,r){var o=n.toValues(e),a=!1;void 0!==n.value?(Array.isArray(o)&&n.value[i]!=o[i]&&(a=!0),Array.isArray(o)||n.value==o||(a=!0),a&&(t.emit(o),n.onChange(o)),Array.isArray(o)?n.value[i]=o[i]:n.value=o):n.value=o},this.defaultKeyHandler=function(t){var e,i,r=n.slider.steps(),o=parseInt(t.target.getAttribute("data-handle")),a=1,s=1,l=0;switch(t.which){case 34:s=n.config.pageSteps;case 40:case 37:a=-1,l=r[o][0],t.preventDefault();break;case 33:s=n.config.pageSteps;case 38:case 39:l=r[o][1],t.preventDefault()}e=a*s*l,Array.isArray(n.value)?(i=[].concat(n.value))[o]=i[o]+e:i=n.value+e,n.slider.set(i)}}return t.prototype.ngOnInit=function(){var t=this,e=JSON.parse(JSON.stringify({behaviour:this.behaviour,connect:this.connect,limit:this.limit,start:void 0!==this.formControl?this.formControl.value:this.ngModel,step:this.step,pageSteps:this.pageSteps,keyboard:this.keyboard,onKeydown:this.onKeydown,range:this.range||this.config.range||{min:this.min,max:this.max},tooltips:this.tooltips,snap:this.snap,animate:this.animate}));if(e.tooltips=this.tooltips||this.config.tooltips,e.format=this.format||this.config.format||new a,this.slider=i.create(this.el.nativeElement.querySelector("div"),Object.assign(this.config,e)),this.handles=[].slice.call(this.el.nativeElement.querySelectorAll(".noUi-handle")),this.config.keyboard){void 0===this.config.pageSteps&&(this.config.pageSteps=10);for(var n=function(t){t.setAttribute("tabindex",0),t.addEventListener("click",function(){t.focus()}),t.addEventListener("keydown",void 0===r.config.onKeydown?r.defaultKeyHandler:r.config.onKeydown)},r=this,o=0,s=this.handles;o<s.length;o++)n(s[o])}this.slider.on("set",function(e,n,i){t.eventHandler(t.set,e,n,i)}),this.slider.on("update",function(e,n,i){t.update.emit(t.toValues(e))}),this.slider.on("change",function(e,n,i){t.change.emit(t.toValues(e))}),this.slider.on("slide",function(e,n,i){t.eventHandler(t.slide,e,n,i)}),this.slider.on("start",function(e,n,i){t.start.emit(t.toValues(e))}),this.slider.on("end",function(e,n,i){t.end.emit(t.toValues(e))})},t.prototype.ngOnChanges=function(t){var e=this;this.slider&&(t.min||t.max||t.step||t.range)&&setTimeout(function(){e.slider.updateOptions({range:Object.assign({},{min:e.min,max:e.max},e.range||{}),step:e.step})})},t.prototype.toValues=function(t){var e=t.map(this.config.format.from);return 1==e.length?e[0]:e},t.prototype.writeValue=function(t){var e=this;this.slider&&setTimeout(function(){e.slider.set(t)})},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){t?this.renderer.setAttribute(this.el.nativeElement.childNodes[0],"disabled","true"):this.renderer.removeAttribute(this.el.nativeElement.childNodes[0],"disabled")},t.decorators=[{type:r.Component,args:[{selector:"nouislider",host:{"[class.ng2-nouislider]":"true"},template:'<div [attr.disabled]="disabled ? true : undefined"></div>',styles:["\n    :host {\n      display: block;\n      margin-top: 1rem;\n      margin-bottom: 1rem;\n    }\n  "],providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:r.forwardRef(function(){return t}),multi:!0}]}]}],t.propDecorators={disabled:[{type:r.Input}],behaviour:[{type:r.Input}],connect:[{type:r.Input}],limit:[{type:r.Input}],min:[{type:r.Input}],max:[{type:r.Input}],snap:[{type:r.Input}],animate:[{type:r.Input}],range:[{type:r.Input}],step:[{type:r.Input}],format:[{type:r.Input}],pageSteps:[{type:r.Input}],config:[{type:r.Input}],ngModel:[{type:r.Input}],keyboard:[{type:r.Input}],onKeydown:[{type:r.Input}],formControl:[{type:r.Input}],tooltips:[{type:r.Input}],change:[{type:r.Output}],update:[{type:r.Output}],slide:[{type:r.Output}],set:[{type:r.Output}],start:[{type:r.Output}],end:[{type:r.Output}]},t}();e.NouisliderComponent=s,e.NouisliderModule=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{imports:[],exports:[s],declarations:[s]}]}],t}()},S1nX:function(t,e,n){"use strict";var i=n("KhEm"),r=n("yGWI"),o=n("K9Ia");function a(){return new o.a}function s(){return function(t){return Object(r.a)()((e=a,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,i.a);return r.source=t,r.subjectFactory=n,r})(t));var e}}n.d(e,"a",function(){return s})},S5XQ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("DKTb"),r=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,i.a),e}}},S5bw:function(t,e,n){"use strict";var i=n("mrSG"),r=n("K9Ia"),o=n("zo3G"),a=n("pugT"),s=n("FFOo"),l=n("60iU"),u=function(t){function e(e,n,i){void 0===i&&(i=0);var r=t.call(this,e)||this;return r.scheduler=n,r.delay=i,r}return i.d(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(l.a.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(l.a.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(l.a.createComplete()),this.unsubscribe()},e}(s.a),c=function(){return function(t,e){this.notification=t,this.destination=e}}(),d=n("8g8A"),p=n("uMaO");n.d(e,"a",function(){return h});var h=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this)||this;return r.scheduler=i,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=e<1?1:e,r._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return i.d(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new f(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new d.a;if(this.isStopped||this.hasError?e=a.a.EMPTY:(this.observers.push(t),e=new p.a(this,t)),r&&t.add(t=new u(t,r)),n)for(var s=0;s<o&&!t.closed;s++)t.next(i[s]);else for(s=0;s<o&&!t.closed;s++)t.next(i[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.a).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(t-i[o].time<n);)o++;return r>e&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i},e}(r.a),f=function(){return function(t,e){this.time=t,this.value=e}}()},"S6V/":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t,e){for(var n=e;n;){if(n===t)return!0;n=n.parentElement}return!1}},S8NE:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"e",function(){return d});var i=n("CcnG"),r=n("Ip0R"),o=n("0JBz"),a=new i.InjectionToken("SWIPER_CONFIG"),s=["init","beforeDestroy","scroll","progress","keyPress","resize","breakpoint","zoomChange","beforeResize","afterResize","sliderMove","slideChange","setTranslate","setTransition","fromEdge","reachEnd","reachBeginning","autoplay","autoplayStop","autoplayStart","imagesReady","lazyImageLoad","lazyImageReady","scrollDragEnd","scrollDragMove","scrollDragStart","navigationHide","navigationShow","paginationRender","paginationUpdate","paginationHide","paginationShow","swiperTap","swiperClick","swiperDoubleTap","swiperTouchEnd","swiperTouchMove","swiperTouchStart","swiperTouchMoveOpposite","swiperTransitionEnd","swiperTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideChangeTransitionEnd","slideChangeTransitionStart"],l=function(){function t(t){void 0===t&&(t={}),this.assign(t)}return t.prototype.assign=function(t,e){for(var n in void 0===t&&(t={}),e=e||this,t)null==t[n]||Array.isArray(t[n])||"object"!=typeof t[n]||"undefined"!=typeof HTMLElement&&t[n]instanceof HTMLElement?e[n]=t[n]:(e[n]={},this.assign(t[n],e[n]))},t}(),u=function(){function t(t,e,n,r,o){this.platformId=t,this.zone=e,this.elementRef=n,this.differs=r,this.defaults=o,this.initialIndex=null,this.configDiff=null,this.disabled=!1,this.performance=!1,this.indexChange=new i.EventEmitter,this.S_INIT=new i.EventEmitter,this.S_BEFOREDESTROY=new i.EventEmitter,this.S_SCROLL=new i.EventEmitter,this.S_PROGRESS=new i.EventEmitter,this.S_KEYPRESS=new i.EventEmitter,this.S_RESIZE=new i.EventEmitter,this.S_BREAKPOINT=new i.EventEmitter,this.S_ZOOMCHANGE=new i.EventEmitter,this.S_AFTERRESIZE=new i.EventEmitter,this.S_BEFORERESIZE=new i.EventEmitter,this.S_SLIDERMOVE=new i.EventEmitter,this.S_SLIDECHANGE=new i.EventEmitter,this.S_SETTRANSLATE=new i.EventEmitter,this.S_SETTRANSITION=new i.EventEmitter,this.S_FROMEDGE=new i.EventEmitter,this.S_REACHEND=new i.EventEmitter,this.S_REACHBEGINNING=new i.EventEmitter,this.S_AUTOPLAY=new i.EventEmitter,this.S_AUTOPLAYSTART=new i.EventEmitter,this.S_AUTOPLAYSTOP=new i.EventEmitter,this.S_IMAGESREADY=new i.EventEmitter,this.S_LAZYIMAGELOAD=new i.EventEmitter,this.S_LAZYIMAGEREADY=new i.EventEmitter,this.S_SCROLLDRAGEND=new i.EventEmitter,this.S_SCROLLDRAGMOVE=new i.EventEmitter,this.S_SCROLLDRAGSTART=new i.EventEmitter,this.S_NAVIGATIONHIDE=new i.EventEmitter,this.S_NAVIGATIONSHOW=new i.EventEmitter,this.S_PAGINATIONRENDER=new i.EventEmitter,this.S_PAGINATIONUPDATE=new i.EventEmitter,this.S_PAGINATIONHIDE=new i.EventEmitter,this.S_PAGINATIONSHOW=new i.EventEmitter,this.S_TAP=new i.EventEmitter,this.S_CLICK=new i.EventEmitter,this.S_DOUBLETAP=new i.EventEmitter,this.S_TOUCHEND=new i.EventEmitter,this.S_TOUCHMOVE=new i.EventEmitter,this.S_TOUCHSTART=new i.EventEmitter,this.S_TOUCHMOVEOPPOSITE=new i.EventEmitter,this.S_TRANSITIONEND=new i.EventEmitter,this.S_TRANSITIONSTART=new i.EventEmitter,this.S_SLIDEPREVTRANSITIONEND=new i.EventEmitter,this.S_SLIDEPREVTRANSITIONSTART=new i.EventEmitter,this.S_SLIDENEXTTRANSITIONEND=new i.EventEmitter,this.S_SLIDENEXTTRANSITIONSTART=new i.EventEmitter,this.S_SLIDECHANGETRANSITIONEND=new i.EventEmitter,this.S_SLIDECHANGETRANSITIONSTART=new i.EventEmitter}return Object.defineProperty(t.prototype,"index",{set:function(t){null!=t&&this.setIndex(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;if(Object(r.A)(this.platformId)){var e=new l(this.defaults);e.assign(this.config),!0===e.scrollbar&&(e.scrollbar={el:".swiper-scrollbar"}),!0===e.pagination&&(e.pagination={el:".swiper-pagination"}),!0===e.navigation&&(e.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}),this.disabled&&(e.allowSlidePrev=!1,e.allowSlideNext=!1),null!=this.initialIndex&&(e.initialSlide=this.initialIndex,this.initialIndex=null),e.on={slideChange:function(){t.instance&&t.indexChange.observers.length&&t.emit(t.indexChange,t.instance.realIndex)}},this.zone.runOutsideAngular(function(){t.instance=new o(t.elementRef.nativeElement,e)}),!1!==e.init&&this.S_INIT.observers.length&&this.emit(this.S_INIT,this.instance),s.forEach(function(e){var n=e.replace("swiper","");n=n.charAt(0).toLowerCase()+n.slice(1),t.instance.on(n,function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];1===e.length&&(e=e[0]);var r="S_"+n.toUpperCase(),o=t[r];o.observers.length&&t.emit(o,e)})}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{}))}},t.prototype.ngOnDestroy=function(){var t=this;this.instance&&(this.zone.runOutsideAngular(function(){t.instance.destroy(!0,t.instance.initialized||!1)}),this.instance=null)},t.prototype.ngDoCheck=function(){this.configDiff&&this.configDiff.diff(this.config||{})&&(this.initialIndex=this.getIndex(!0),this.ngOnDestroy(),this.ngAfterViewInit(),this.update())},t.prototype.ngOnChanges=function(t){var e=this;this.instance&&t.disabled&&t.disabled.currentValue!==t.disabled.previousValue&&(!0===t.disabled.currentValue?this.zone.runOutsideAngular(function(){e.ngOnDestroy(),e.ngAfterViewInit()}):!1===t.disabled.currentValue&&this.zone.runOutsideAngular(function(){e.ngOnDestroy(),e.ngAfterViewInit()}))},t.prototype.emit=function(t,e){this.performance?t.emit(e):this.zone.run(function(){return t.emit(e)})},t.prototype.swiper=function(){return this.instance},t.prototype.init=function(){var t=this;this.instance&&this.zone.runOutsideAngular(function(){t.instance.init()})},t.prototype.update=function(){var t=this;setTimeout(function(){t.instance&&t.zone.runOutsideAngular(function(){t.instance.update()})},0)},t.prototype.getIndex=function(t){return this.instance?t?this.instance.realIndex:this.instance.activeIndex:this.initialIndex||0},t.prototype.setIndex=function(t,e,n){var i=this;if(this.instance){var r=t*this.instance.params.slidesPerGroup;this.instance.params.loop&&(r+=this.instance.loopedSlides),this.zone.runOutsideAngular(function(){i.instance.slideTo(r,e,!n)})}else this.initialIndex=t},t.prototype.prevSlide=function(t,e){var n=this;this.instance&&this.zone.runOutsideAngular(function(){n.instance.slidePrev(t,!e)})},t.prototype.nextSlide=function(t,e){var n=this;this.instance&&this.zone.runOutsideAngular(function(){n.instance.slideNext(t,!e)})},t.prototype.stopAutoplay=function(t){var e=this;t&&this.setIndex(0),this.instance&&this.instance.autoplay&&this.zone.runOutsideAngular(function(){e.instance.autoplay.stop()})},t.prototype.startAutoplay=function(t){var e=this;t&&this.setIndex(0),this.instance&&this.instance.autoplay&&this.zone.runOutsideAngular(function(){e.instance.autoplay.start()})},t}(),c=function(){function t(t,e,n,r){this.zone=t,this.cdRef=e,this.platformId=n,this.defaults=r,this.mo=null,this.swiperConfig=null,this.paginationBackup=null,this.paginationConfig=null,this.index=null,this.disabled=!1,this.performance=!1,this.useSwiperClass=!0,this.indexChange=new i.EventEmitter,this.S_INIT=new i.EventEmitter,this.S_BEFOREDESTROY=new i.EventEmitter,this.S_SCROLL=new i.EventEmitter,this.S_PROGRESS=new i.EventEmitter,this.S_KEYPRESS=new i.EventEmitter,this.S_RESIZE=new i.EventEmitter,this.S_BREAKPOINT=new i.EventEmitter,this.S_ZOOMCHANGE=new i.EventEmitter,this.S_AFTERRESIZE=new i.EventEmitter,this.S_BEFORERESIZE=new i.EventEmitter,this.S_SLIDERMOVE=new i.EventEmitter,this.S_SLIDECHANGE=new i.EventEmitter,this.S_SETTRANSLATE=new i.EventEmitter,this.S_SETTRANSITION=new i.EventEmitter,this.S_FROMEDGE=new i.EventEmitter,this.S_REACHEND=new i.EventEmitter,this.S_REACHBEGINNING=new i.EventEmitter,this.S_AUTOPLAY=new i.EventEmitter,this.S_AUTOPLAYSTART=new i.EventEmitter,this.S_AUTOPLAYSTOP=new i.EventEmitter,this.S_IMAGESREADY=new i.EventEmitter,this.S_LAZYIMAGELOAD=new i.EventEmitter,this.S_LAZYIMAGEREADY=new i.EventEmitter,this.S_SCROLLDRAGEND=new i.EventEmitter,this.S_SCROLLDRAGMOVE=new i.EventEmitter,this.S_SCROLLDRAGSTART=new i.EventEmitter,this.S_NAVIGATIONHIDE=new i.EventEmitter,this.S_NAVIGATIONSHOW=new i.EventEmitter,this.S_PAGINATIONRENDER=new i.EventEmitter,this.S_PAGINATIONUPDATE=new i.EventEmitter,this.S_PAGINATIONHIDE=new i.EventEmitter,this.S_PAGINATIONSHOW=new i.EventEmitter,this.S_TAP=new i.EventEmitter,this.S_CLICK=new i.EventEmitter,this.S_DOUBLETAP=new i.EventEmitter,this.S_TOUCHEND=new i.EventEmitter,this.S_TOUCHMOVE=new i.EventEmitter,this.S_TOUCHSTART=new i.EventEmitter,this.S_TOUCHMOVEOPPOSITE=new i.EventEmitter,this.S_TRANSITIONEND=new i.EventEmitter,this.S_TRANSITIONSTART=new i.EventEmitter,this.S_SLIDEPREVTRANSITIONEND=new i.EventEmitter,this.S_SLIDEPREVTRANSITIONSTART=new i.EventEmitter,this.S_SLIDENEXTTRANSITIONEND=new i.EventEmitter,this.S_SLIDENEXTTRANSITIONSTART=new i.EventEmitter,this.S_SLIDECHANGETRANSITIONEND=new i.EventEmitter,this.S_SLIDECHANGETRANSITIONSTART=new i.EventEmitter}return Object.defineProperty(t.prototype,"isAtLast",{get:function(){return!(!this.directiveRef||!this.directiveRef.swiper())&&this.directiveRef.swiper().isEnd},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAtFirst",{get:function(){return!(!this.directiveRef||!this.directiveRef.swiper())&&this.directiveRef.swiper().isBeginning},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;Object(r.A)(this.platformId)&&(this.zone.runOutsideAngular(function(){t.updateClasses(),t.swiperSlides&&"undefined"!=typeof MutationObserver&&(t.mo=new MutationObserver(function(){t.updateClasses()}),t.mo.observe(t.swiperSlides.nativeElement,{childList:!0}))}),window.setTimeout(function(){t.directiveRef&&(t.S_INIT.emit(),t.directiveRef.indexChange=t.indexChange,s.forEach(function(e){if(t.directiveRef){var n="S_"+e.replace("swiper","").toUpperCase();t.directiveRef[n]=t[n]}}))},0))},t.prototype.ngOnDestroy=function(){this.mo&&this.mo.disconnect(),this.config&&this.paginationBackup&&(this.config.pagination=this.paginationBackup)},t.prototype.getConfig=function(){var t=this;return this.swiperConfig=new l(this.defaults),this.swiperConfig.assign(this.config),!this.swiperSlides||!0!==this.swiperConfig.pagination&&(!this.swiperConfig.pagination||"object"!=typeof this.swiperConfig.pagination||this.swiperConfig.pagination.type&&"bullets"!==this.swiperConfig.pagination.type||this.swiperConfig.pagination.renderBullet||".swiper-pagination"!==this.swiperConfig.pagination.el)||(this.config=this.config||{},this.paginationConfig||(this.paginationBackup=this.config.pagination,this.paginationConfig={el:".swiper-pagination",renderBullet:function(e,n){var i=t.swiperSlides?Array.from(t.swiperSlides.nativeElement.children):[];i=i.filter(function(t){return t.classList.contains("swiper-slide")});var r='<span class="'+n+" "+n+'-middle" index="'+e+'"></span>';return 0===e?r='<span class="'+n+" "+n+'-first" index="'+e+'"></span>':e===i.length-1&&(r='<span class="'+n+" "+n+'-last" index="'+e+'"></span>'),'<span class="swiper-pagination-handle" index="'+e+'">'+r+"</span>"}}),this.config.pagination=!0===this.swiperConfig.pagination?this.paginationConfig:Object.assign({},this.config.pagination,this.paginationConfig)),this.config},t.prototype.updateClasses=function(){if(this.swiperSlides){for(var t=!1,e=this.swiperSlides.nativeElement.children,n=0;n<e.length;n++)!1===/swiper-.*/.test(e[n].className)&&(t=!0,e[n].classList.add("swiper-slide"));t&&this.directiveRef&&this.directiveRef.update()}this.cdRef.detectChanges()},t.prototype.onPaginationClick=function(t){this.config&&this.directiveRef&&(!0===this.config.pagination||this.config.pagination&&"object"==typeof this.config.pagination&&(!this.config.pagination.type||"bullets"===this.config.pagination.type)&&this.config.pagination.clickable&&".swiper-pagination"===this.config.pagination.el)&&this.directiveRef.setIndex(t)},t}(),d=function(){return function(){}}()},"SSL/":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("F1Na"),r=function(){function t(t,e){this.elementRef=t,this.dynamicComponentsManager=e}return t.prototype.ngOnChanges=function(){var t=this.inputValidation,e=t.condition,n=t.error;this.toggleErrorClass(e),this.toggleError(e,n)},t.prototype.toggleErrorClass=function(t){t?this.elementRef.nativeElement.classList.add("invalid"):this.elementRef.nativeElement.classList.remove("invalid")},t.prototype.toggleError=function(t,e){t?(this.destroyValidationError(),this.validationErrorElement=this.dynamicComponentsManager.createComponentElement(i.a,{error:e}),this.elementRef.nativeElement.parentElement.appendChild(this.validationErrorElement)):this.destroyValidationError()},t.prototype.destroyValidationError=function(){this.validationErrorElement&&this.validationErrorElement.remove()},t}()},SZbH:function(t,e,n){"use strict";n.d(e,"d",function(){return l}),n.d(e,"c",function(){return _}),n.d(e,"j",function(){return b}),n.d(e,"g",function(){return u}),n.d(e,"b",function(){return d}),n.d(e,"a",function(){return w}),n.d(e,"i",function(){return C}),n.d(e,"h",function(){return x}),n.d(e,"e",function(){return E}),n.d(e,"f",function(){return O});var i=n("ZYjt"),r=n("K9Ia"),o=n("mrSG"),a=n("Ip0R"),s=n("CcnG"),l=function(){return function(){}}(),u=function(){function t(t,e,n,i,o,a){var s=this;this.toastId=t,this.config=e,this.message=n,this.title=i,this.toastType=o,this.toastRef=a,this._onTap=new r.a,this._onAction=new r.a,this.toastRef.afterClosed().subscribe(function(){s._onAction.complete(),s._onTap.complete()})}return t.prototype.triggerTap=function(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()},t.prototype.onTap=function(){return this._onTap.asObservable()},t.prototype.triggerAction=function(t){this._onAction.next(t)},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),c={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},d=new s.InjectionToken("ToastConfig"),p=function(){function t(t,e){this.component=t,this.injector=e}return t.prototype.attach=function(t,e){return this._attachedHost=t,t.attach(this,e)},t.prototype.detach=function(){var t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),h=function(t){function e(e,n,i){var r=t.call(this)||this;return r._hostDomElement=e,r._componentFactoryResolver=n,r._appRef=i,r}return Object(o.d)(e,t),e.prototype.attachComponentPortal=function(t,e){var n,i=this,r=this._componentFactoryResolver.resolveComponentFactory(t.component);return n=r.create(t.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(function(){i._appRef.detachView(n.hostView),n.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(function(){function t(){}return t.prototype.attach=function(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)},t.prototype.detach=function(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t}()),f=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=Object(s.defineInjectable)({factory:function(){return new t(Object(s.inject)(a.c))},token:t,providedIn:"root"}),t}(),m=function(){function t(t){this._portalHost=t}return t.prototype.attach=function(t,e){return void 0===e&&(e=!0),this._portalHost.attach(t,e)},t.prototype.detach=function(){return this._portalHost.detach()},t}(),g=function(){function t(t,e,n,i){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._document=i,this._paneElements=new Map}return t.prototype.create=function(t,e){return this._createOverlayRef(this.getPaneElement(t,e))},t.prototype.getPaneElement=function(t,e){return void 0===t&&(t=""),this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]},t.prototype._createPaneElement=function(t,e){var n=this._document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n},t.prototype._createPortalHost=function(t){return new h(t,this._componentFactoryResolver,this._appRef)},t.prototype._createOverlayRef=function(t){return new m(this._createPortalHost(t))},t.ngInjectableDef=Object(s.defineInjectable)({factory:function(){return new t(Object(s.inject)(f),Object(s.inject)(s.ComponentFactoryResolver),Object(s.inject)(s.ApplicationRef),Object(s.inject)(a.c))},token:t,providedIn:"root"}),t}(),v=function(){function t(t){this._overlayRef=t,this.duplicatesCount=0,this._afterClosed=new r.a,this._activate=new r.a,this._manualClose=new r.a,this._resetTimeout=new r.a,this._countDuplicate=new r.a}return t.prototype.manualClose=function(){this._manualClose.next(),this._manualClose.complete()},t.prototype.manualClosed=function(){return this._manualClose.asObservable()},t.prototype.timeoutReset=function(){return this._resetTimeout.asObservable()},t.prototype.countDuplicate=function(){return this._countDuplicate.asObservable()},t.prototype.close=function(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.isInactive=function(){return this._activate.isStopped},t.prototype.activate=function(){this._activate.next(),this._activate.complete()},t.prototype.afterActivate=function(){return this._activate.asObservable()},t.prototype.onDuplicate=function(t,e){t&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)},t}(),y=function(){function t(t,e){this._toastPackage=t,this._parentInjector=e}return t.prototype.get=function(t,e,n){return t===u?this._toastPackage:this._parentInjector.get(t,e,n)},t}(),b=function(){function t(t,e,n,i,r){this.overlay=e,this._injector=n,this.sanitizer=i,this.ngZone=r,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object(o.a)({},t.default,t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=Object(o.a)({},t.default.iconClasses,t.config.iconClasses))}return t.prototype.show=function(t,e,n,i){return void 0===n&&(n={}),void 0===i&&(i=""),this._preBuildNotification(i,t,e,this.applyConfig(n))},t.prototype.success=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,e,this.applyConfig(n))},t.prototype.error=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,e,this.applyConfig(n))},t.prototype.info=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,e,this.applyConfig(n))},t.prototype.warning=function(t,e,n){return void 0===n&&(n={}),this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,e,this.applyConfig(n))},t.prototype.clear=function(t){var e,n;try{for(var i=Object(o.j)(this.toasts),r=i.next();!r.done;r=i.next()){var a=r.value;if(void 0!==t){if(a.toastId===t)return void a.toastRef.manualClose()}else a.toastRef.manualClose()}}catch(s){e={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.remove=function(t){var e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){var n=this.toasts[this.currentlyActive].toastRef;n.isInactive()||(this.currentlyActive=this.currentlyActive+1,n.activate())}return!0},t.prototype.findDuplicate=function(t,e,n){for(var i=0;i<this.toasts.length;i++){var r=this.toasts[i];if(r.message===t)return r.toastRef.onDuplicate(e,n),r}return null},t.prototype.applyConfig=function(t){return void 0===t&&(t={}),Object(o.a)({},this.toastrConfig,t)},t.prototype._findToast=function(t){for(var e=0;e<this.toasts.length;e++)if(this.toasts[e].toastId===t)return{index:e,activeToast:this.toasts[e]};return null},t.prototype._preBuildNotification=function(t,e,n,i){var r=this;return i.onActivateTick?this.ngZone.run(function(){return r._buildNotification(t,e,n,i)}):this._buildNotification(t,e,n,i)},t.prototype._buildNotification=function(t,e,n,i){var r=this;if(!i.toastComponent)throw new Error("toastComponent required");var o=this.findDuplicate(e,this.toastrConfig.resetTimeoutOnDuplicate,this.toastrConfig.countDuplicates);if(e&&this.toastrConfig.preventDuplicates&&null!==o)return o;this.previousToastMessage=e;var a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));var l=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;var c=e;e&&i.enableHtml&&(c=this.sanitizer.sanitize(s.SecurityContext.HTML,e));var d=new v(l),h=new u(this.index,i,c,n,t,d),f=new y(h,this._injector),m=new p(i.toastComponent,f),g=l.attach(m,this.toastrConfig.newestOnTop);d.componentInstance=g._component;var b={toastId:this.index,message:e||"",toastRef:d,onShown:d.afterActivate(),onHidden:d.afterClosed(),onTap:h.onTap(),onAction:h.onAction(),portal:g};return a||setTimeout(function(){b.toastRef.activate(),r.currentlyActive=r.currentlyActive+1}),this.toasts.push(b),b},t.ngInjectableDef=Object(s.defineInjectable)({factory:function(){return new t(Object(s.inject)(d),Object(s.inject)(g),Object(s.inject)(s.INJECTOR),Object(s.inject)(i.c),Object(s.inject)(s.NgZone))},token:t,providedIn:"root"}),t}(),_=function(){function t(t,e,n){var i=this;this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe(function(){i.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(function(){i.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(function(){i.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(function(t){i.duplicatesCount=t})}return Object.defineProperty(t.prototype,"displayStyle",{get:function(){return"inactive"===this.state.value?"none":"inherit"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state=Object(o.a)({},this.state,{value:"active"}),!this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(function(){return t.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10))},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.resetTimeout=function(){var t=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object(o.a)({},this.state,{value:"active"}),this.outsideTimeout(function(){return t.remove()},this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10)},t.prototype.remove=function(){var t=this;"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object(o.a)({},this.state,{value:"removed"}),this.outsideTimeout(function(){return t.toastrService.remove(t.toastPackage.toastId)},+this.toastPackage.config.easeTime))},t.prototype.tapToast=function(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(function(){return t.remove()},this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10))},t.prototype.outsideTimeout=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return n.timeout=setTimeout(function(){return n.runInsideAngular(t)},e)}):this.timeout=setTimeout(function(){return t()},e)},t.prototype.outsideInterval=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return n.intervalId=setInterval(function(){return n.runInsideAngular(t)},e)}):this.intervalId=setInterval(function(){return t()},e)},t.prototype.runInsideAngular=function(t){this.ngZone?this.ngZone.run(function(){return t()}):t()},t}(),w=Object(o.a)({},c,{toastComponent:_}),C=function(){function t(){}return t.forRoot=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[{provide:d,useValue:{default:w,config:e}}]}},t}(),x=function(){function t(){}return t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:C,providers:[{provide:d,useValue:{default:c,config:t}}]}},t}(),E=function(){function t(t,e,n){var i=this;this.toastrService=t,this.toastPackage=e,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe(function(){i.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(function(){i.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(function(){i.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(function(t){i.duplicatesCount=t})}return Object.defineProperty(t.prototype,"displayStyle",{get:function(){return"inactive"===this.state?"none":"inherit"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state="active",!this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(function(){t.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10))),this.options.onActivateTick&&this.appRef.tick()},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.resetTimeout=function(){var t=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(function(){return t.remove()},this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10))},t.prototype.remove=function(){var t=this;"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(function(){return t.toastrService.remove(t.toastPackage.toastId)}))},t.prototype.tapToast=function(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(function(){return t.remove()},this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10)))},t}(),S=Object(o.a)({},c,{toastComponent:E}),O=function(){function t(){}return t.forRoot=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[{provide:d,useValue:{default:S,config:e}}]}},t}()},T1DM:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("h9Dq"),r=new(n("CS9Q").a)(i.a)},T2qd:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("t/Na"),r=n("67Y/"),o=n("9Z1F"),a=function(){function t(t,e,n){this.authService=t,this.usersService=e,this.localisationService=n}return t.prototype.intercept=function(t,e){var n=this,a=t.headers.set("Content-Type","application/json");a=a.set("Accept-Language",this.usersService.userProfile&&this.usersService.userProfile.locale?this.usersService.userProfile.locale:this.localisationService.language),this.authService.getStorageItem("master_sub_profile_logged_token")&&this.authService.getStorageItem("master_sub_profile_logged_token").length>0&&window.location.href.includes("master/meals")?a=t.url.includes("master/user/profile")||t.url.includes("master/profiles/single/")?a.set("Authorization","Token "+this.authService.getStorageItem("original_logged_token")):a.set("Authorization","Token "+this.authService.getStorageItem("master_sub_profile_logged_token")):this.authService.token&&(a=a.set("Authorization","Token "+this.authService.token)),a=(a=(a=a.set("cache-control","no-cache, no-store, must-revalidate")).set("pragma","no-cache")).set("expires","0");var s=t.clone({headers:a});return t.url.includes("master/user/profile")&&(s=s.clone({url:t.url.replace("master/","")})),s.body instanceof FormData&&(s=(s=s.clone({headers:s.headers.delete("Content-Type","application/json")})).clone({headers:s.headers.delete("Accept","application/json")})),e.handle(s).pipe(Object(r.a)(function(t){return t instanceof i.f&&401===t.status&&n.authService.errorHandler(),t}),Object(o.a)(function(t){throw 401===t.status&&n.authService.errorHandler(),t}))},t}()},TfFW:function(t,e,n){"use strict";var i=n("CcnG");n("agM4"),n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=i["\u0275crt"]({encapsulation:0,styles:[[".switch[_ngcontent-%COMP%]{position:relative;display:block;width:46px;margin:0!important}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:grey;transition:.4s;height:22px;width:46px;border-radius:10px}.slider[_ngcontent-%COMP%]:before{position:absolute;content:'';height:14px;width:14px;left:4px;bottom:4px;background-color:#fff;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#e3a300}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #e3a300}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translateX(24px)}.slider.round[_ngcontent-%COMP%]{border-radius:34px}.slider.round[_ngcontent-%COMP%]:before{border-radius:50%}"]],data:{}});function o(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,2,"label",[["class","switch"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"input",[["type","checkbox"]],[[8,"checked",0]],[[null,"input"]],function(t,e,n){var i=!0;return"input"===e&&(i=!1!==t.component.onToggled()&&i),i},null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"span",[["class","slider round"]],null,null,null,null,null))],null,function(t,e){t(e,1,0,e.component.toggled)})}},TmG5:function(t,e,n){"use strict";var i=n("CcnG"),r=n("ZYCi"),o=n("Ip0R");n("DMaY"),n("NAAZ"),n.d(e,"a",function(){return a}),n.d(e,"b",function(){return p});var a=i["\u0275crt"]({encapsulation:0,styles:[[".hidden[_ngcontent-%COMP%]{display:none}.card.data-icon-card-warning[_ngcontent-%COMP%]{background:#de8d07}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{text-transform:uppercase;font-size:1.1rem;font-weight:700}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .action-btn[_ngcontent-%COMP%]{padding:8px;font-size:.7rem;margin-top:-2px;margin-left:3px;margin-right:3px}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .main-icon[_ngcontent-%COMP%]{font-size:3rem;float:left;margin-right:15px}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{cursor:pointer;justify-content:flex-end}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]::before{content:''}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.7rem}@media screen and (max-width:800px){.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]{padding-bottom:30px}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:.95rem!important}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .main-text[_ngcontent-%COMP%]{margin-left:63px;padding-right:14px}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .action-btn[_ngcontent-%COMP%]{margin-right:0;padding:10px;position:relative;bottom:-15px;left:-55px;width:110%;font-size:.75rem}}"]],data:{}});function s(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null))],null,function(t,e){t(e,0,0,i["\u0275inlineInterpolate"](1,"main-icon ",e.component.icon,""))})}function l(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.title)})}function u(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"button",[["class","btn btn-light btn-rounded btn-fw action-btn"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,null,0,r.o,[r.n,r.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275ted"](2,null,[" "," "]))],function(t,e){t(e,1,0,i["\u0275inlineInterpolate"](1,"",e.component.btnLink,""))},function(t,e){t(e,2,0,e.component.btnTitle)})}function c(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-light btn-rounded btn-fw action-btn"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.btnCallback(r.callbackParent)&&i),i},null,null)),(t()(),i["\u0275ted"](1,null,[" "," "]))],null,function(t,e){t(e,1,0,e.component.btnTitle)})}function d(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["class","col-2 close-icon background-icon"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.hideAlert()&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"i",[["class","ti-close"]],null,null,null,null,null))],null,null)}function p(t){return i["\u0275vid"](2,[i["\u0275qud"](402653184,1,{wrapper:0}),(t()(),i["\u0275eld"](1,0,[[1,0],["wrapper",1]],null,21,"div",[["class","row"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,20,"div",[["class","col-md-12 stretch-card grid-margin grid-margin-md-2"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,19,"div",[],[[8,"className",0]],null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,18,"div",[["class","card-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,14,"div",[["class","text-white"]],null,null,null,null,null)),i["\u0275did"](7,278528,null,0,o.j,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,s)),i["\u0275did"](9,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,l)),i["\u0275did"](11,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](12,0,null,null,8,"p",[["class","main-text text-white font-weight-light mb-0"]],null,null,null,null,null)),(t()(),i["\u0275eld"](13,0,null,null,3,"span",[],null,null,null,null,null)),i["\u0275did"](14,278528,null,0,o.o,[i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngStyle:[0,"ngStyle"]},null),i["\u0275pod"](15,{fontSize:0}),(t()(),i["\u0275ted"](16,null,["",""])),(t()(),i["\u0275and"](16777216,null,null,1,null,u)),i["\u0275did"](18,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,c)),i["\u0275did"](20,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,d)),i["\u0275did"](22,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,7,0,"text-white",n.disableClose?"col-12":"col-10"),t(e,9,0,n.icon&&n.icon.length>0),t(e,11,0,n.title&&n.title.length>0);var i=t(e,15,0,n.fontSize);t(e,14,0,i),t(e,18,0,n.btnLink),t(e,20,0,n.btnCallback),t(e,22,0,!1===n.disableClose)},function(t,e){var n=e.component;t(e,3,0,i["\u0275inlineInterpolate"](1,"card data-icon-card-",n.type,"")),t(e,16,0,n.message)})}},TnyQ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("g88A"),r=function(){function t(t,e,n,i){this.changeDetectorRef=t,this.usersService=e,this.appLoadingEventsEmitter=n,this.localisationService=i}return t.prototype.copyUrl=function(){var t=this;this.appLoadingEventsEmitter.broadcastAppIsLoading(!0),this.usersService.getUserProfile().subscribe(function(e){var n=document.createElement("textarea");n.value="https://agaia.life/"+(t.localisationService.getLanguage()===i.a.English?"en/":"")+e.referral_name,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),t.appLoadingEventsEmitter.broadcastAppIsLoading(!1)},function(){t.appLoadingEventsEmitter.broadcastAppIsLoading(!1)})},t}()},Txjg:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("Zn8D");function r(){return Object(i.a)(1)}},UBJf:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("/Vy8"),r=function(){function t(t,e){this.popupEventsEmitter=t,this.changeDetectorRef=e,this.desktopMaxWidth="410px",this.mobileMaxWidth="160px",this.mobileWidth=576,this.position=i.a,this.subscriptions=[]}return t.prototype.ngOnInit=function(){var t=this;this.subscriptions.push(this.popupEventsEmitter.popupChanged$.subscribe(function(e){t.popup=e,t.popup.maxWidth||(t.popup.maxWidth=t.desktopMaxWidth),window.innerWidth<=t.mobileWidth&&(t.popup.maxWidth=t.mobileMaxWidth),t.changeDetectorRef.detectChanges()}))},t.prototype.ngAfterViewInit=function(){this.popupEventsEmitter.broadcastPopupComponentViewInitialized(this.wrapper.nativeElement)},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe})},t.prototype.onCancel=function(){this.popupEventsEmitter.broadcastPopupCancelClicked()},t.prototype.onSaveChanges=function(){this.popupEventsEmitter.broadcastPopupSaveChangesClicked()},t.prototype.onClick=function(t){t.stopPropagation(),t.stopImmediatePropagation(),this.popup.closeUponSelection&&this.popupEventsEmitter.broadcastPopupCancelClicked()},Object.defineProperty(t.prototype,"axisPosition",{get:function(){if(this.popup)return this.popup.arrowPosition.slice().pop()},enumerable:!0,configurable:!0}),t}()},VNr4:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("mrSG"),r=n("6blF"),o=n("isby"),a=n("G5J1"),s=n("zotm"),l=n("MGBS"),u=n("67Y/");function c(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(o.a)(e[0])&&(e=e[0]),0===e.length?a.a:t?c(e).pipe(Object(u.a)(function(e){return t.apply(void 0,e)})):new r.a(function(t){return new d(t,e)})}var d=function(t){function e(e,n){var i=t.call(this,e)||this;i.sources=n,i.completed=0,i.haveValues=0;var r=n.length;i.values=new Array(r);for(var o=0;o<r;o++){var a=n[o],l=Object(s.a)(i,a,null,o);l&&i.add(l)}return i}return i.d(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values[n]=e,r._hasValue||(r._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,i=this.values,r=i.length;t._hasValue?(this.completed++,this.completed===r&&(n===r&&e.next(i),e.complete())):e.complete()},e}(l.a)},"VnD/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("mrSG"),r=n("FFOo");function o(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.thisArg=i,r.count=0,r}return i.d(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(r.a)},VwUT:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n("3iRJ");var i=function(){return function(){}}()},W0Ae:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("mrSG"),r=n("isby"),o=n("IUTb"),a=n("MGBS"),s=n("zotm");function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!Object(r.a)(t[0]))return t[0];t=t[0]}return Object(o.a)(t,void 0).lift(new u)}var u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new c(t))},t}(),c=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return i.d(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=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=t[n],r=Object(s.a)(this,i,i,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var a=this.subscriptions[o];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(e)},e}(a.a)},W11I:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=["January","February","March","April","May","June","July","August","September","October","November","December"],r=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],o=function(t,e){var n=["s","ss"].sort(function(t,e){return e.length-t.length}),o=["m","mm"].sort(function(t,e){return e.length-t.length}),a=["H","HH"].sort(function(t,e){return e.length-t.length}),s=["dd","ddd","dddd"].sort(function(t,e){return e.length-t.length}),l=["MM","MMM","MMMM"].sort(function(t,e){return e.length-t.length}),u=["yyyy"].sort(function(t,e){return e.length-t.length});return n.forEach(function(n){var i=new RegExp(n,"g");switch(n){case"ss":var r=t.getSeconds().toString(),o=r.length;--o||(r="0"+r),e=e.replace(i,r);break;case"s":e=e.replace(i,t.getSeconds().toString());break;default:return}}),o.forEach(function(n){var i=new RegExp(n,"g");switch(n){case"mm":var r=t.getMinutes().toString(),o=r.length;--o||(r="0"+r),e=e.replace(i,r);break;case"m":e=e.replace(i,t.getMinutes().toString());break;default:return}}),a.forEach(function(n){var i=new RegExp(n,"g");switch(n){case"HH":var r=t.getHours().toString(),o=r.length;--o||(r="0"+r),e=e.replace(i,r);break;case"H":e=e.replace(i,t.getHours().toString());break;default:return}}),s.forEach(function(n){var i=new RegExp(n,"g");switch(n){case"dddd":e=e.replace(i,r[t.getDay()]);break;case"ddd":e=e.replace(i,r[t.getDay()].substr(0,n.length));break;case"dd":var o=t.getDate().toString(),a=o.length;--a||(o="0"+o),e=e.replace(i,o);break;default:return}}),l.forEach(function(n){var r=new RegExp(n,"g");switch(n){case"MMMM":e=e.replace(r,i[t.getMonth()]);break;case"MMM":e=e.replace(r,i[t.getMonth()].substr(0,n.length));break;case"MM":var o=t.getMonth(),a=(++o).toString(),s=a.length;--s||(a="0"+a),e=e.replace(r,a);break;default:return}}),u.forEach(function(n){var i=new RegExp(n,"g");switch(n){case"yyyy":e=e.replace(i,t.getFullYear().toString());break;default:return}}),e}},XePT:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("CcnG"),r=n("SZbH"),o=n("Ip0R"),a=i["\u0275crt"]({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null}],options:{}}]}});function s(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"button",[["aria-label","Close"],["class","toast-close-button"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.remove()&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\xd7"]))],null,null)}function l(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,["[","]"]))],null,function(t,e){t(e,1,0,e.component.duplicatesCount+1)})}function u(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,3,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),i["\u0275ted"](1,null,[" "," "])),(t()(),i["\u0275and"](16777216,null,null,1,null,l)),i["\u0275did"](3,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.component.duplicatesCount)},function(t,e){var n=e.component;t(e,0,0,n.options.titleClass,n.title),t(e,1,0,n.title)})}function c(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message)})}function d(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),i["\u0275ted"](1,null,[" "," "]))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message),t(e,1,0,n.message)})}function p(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width",null]],null,null,null,null))],null,function(t,e){t(e,1,0,e.component.width+"%")})}function h(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,s)),i["\u0275did"](1,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,u)),i["\u0275did"](3,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,c)),i["\u0275did"](5,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,d)),i["\u0275did"](7,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,p)),i["\u0275did"](9,16384,null,0,o.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.options.closeButton),t(e,3,0,n.title),t(e,5,0,n.message&&n.options.enableHtml),t(e,7,0,n.message&&!n.options.enableHtml),t(e,9,0,n.options.progressBar)},null)}function f(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0],[4,"display",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).tapToast()&&r),"mouseenter"===e&&(r=!1!==i["\u0275nov"](t,1).stickAround()&&r),"mouseleave"===e&&(r=!1!==i["\u0275nov"](t,1).delayedHideToast()&&r),r},h,a)),i["\u0275did"](1,180224,null,0,r.c,[r.j,r.g,i.NgZone],null,null)],null,function(t,e){t(e,0,0,i["\u0275nov"](e,1).toastClasses,i["\u0275nov"](e,1).state,i["\u0275nov"](e,1).displayStyle)})}var m=i["\u0275ccf"]("[toast-component]",r.c,f,{},{},[])},XlPw:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("6blF");function r(t,e){return new i.a(e?function(n){return e.schedule(o,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function o(t){t.subscriber.error(t.error)}},ZYCi:function(t,e,n){"use strict";var i=n("mrSG"),r=n("CcnG"),o=n("F/XL"),a=n("0/uQ"),s=n("26FU"),l=n("6blF"),u=n("3fWJ"),c=n("dzgT"),d=n("lYZG"),p=n("K9Ia"),h=n("G5J1"),f=n("67Y/"),m=n("Txjg"),g=n("VnD/"),v=n("AxiF"),y=n("tNVB"),b=n("HJBe"),_=n("mChF");function w(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?Object(g.a)(function(e,n){return t(e,n,i)}):_.a,Object(v.a)(1),n?Object(b.a)(e):Object(y.a)(function(){return new u.a}))}}var C=n("9Z1F"),x=n("P6uZ"),E=n("psW0"),S=n("FFOo"),O=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new k(t,this.predicate,this.thisArg,this.source))},t}(),k=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return i.d(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(S.a),T=n("15JJ"),P=n("t9fZ"),I=n("p0Sj"),M=n("dC0D"),R=n("Phjn"),D=n("Qgas"),A=n("xMyE"),j=n("pugT"),L=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new N(t,this.callback))},t}(),N=function(t){function e(e,n){var i=t.call(this,e)||this;return i.add(new j.a(n)),i}return i.d(e,t),e}(S.a),V=n("Zn8D"),F=n("Ip0R"),H=n("ZYjt");n.d(e,"x",function(){return wn}),n.d(e,"E",function(){return Mn}),n.d(e,"z",function(){return Sn}),n.d(e,"F",function(){return Rn}),n.d(e,"G",function(){return Dn}),n.d(e,"B",function(){return kn}),n.d(e,"A",function(){return On}),n.d(e,"D",function(){return In}),n.d(e,"y",function(){return xn}),n.d(e,"C",function(){return Pn}),n.d(e,"H",function(){return bn}),n.d(e,"o",function(){return sn}),n.d(e,"q",function(){return ln}),n.d(e,"p",function(){return cn}),n.d(e,"s",function(){return hn}),n.d(e,"d",function(){return B}),n.d(e,"e",function(){return z}),n.d(e,"l",function(){return X}),n.d(e,"m",function(){return Ze}),n.d(e,"n",function(){return an}),n.d(e,"k",function(){return Xe}),n.d(e,"i",function(){return _n}),n.d(e,"j",function(){return An}),n.d(e,"r",function(){return En}),n.d(e,"b",function(){return pn}),n.d(e,"f",function(){return vn}),n.d(e,"g",function(){return gn}),n.d(e,"h",function(){return mn}),n.d(e,"t",function(){return yn}),n.d(e,"a",function(){return Kt}),n.d(e,"u",function(){return tn}),n.d(e,"c",function(){return Tt}),n.d(e,"v",function(){return kt}),n.d(e,"w",function(){return rt});var U=function(){return function(t,e){this.id=t,this.url=e}}(),z=function(t){function e(e,n,i,r){void 0===i&&(i="imperative"),void 0===r&&(r=null);var o=t.call(this,e,n)||this;return o.navigationTrigger=i,o.restoredState=r,o}return Object(i.d)(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(U),B=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r.urlAfterRedirects=i,r}return Object(i.d)(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(U),W=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r.reason=i,r}return Object(i.d)(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(U),G=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r.error=i,r}return Object(i.d)(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(U),q=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.d)(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(U),Y=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.d)(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(U),$=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=i,a.state=r,a.shouldActivate=o,a}return Object(i.d)(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(U),K=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.d)(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(U),Z=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.d)(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(U),Q=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),X=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),J=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),tt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),et=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),nt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),it=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),rt=function(){return function(){}}(),ot="primary",at=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function st(t){return new at(t)}var lt="ngNavigationCancelingError";function ut(t){var e=Error("NavigationCancelingError: "+t);return e[lt]=!0,e}function ct(t,e,n){var i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;for(var r={},o=0;o<i.length;o++){var a=i[o],s=t[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}var dt=function(){return function(t,e){this.routes=t,this.module=e}}();function pt(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var i=t[n];ht(i,ft(e,i))}}function ht(t,e){if(!t)throw new Error("\n      Invalid configuration of route '"+e+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==ot)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&pt(t.children,e)}function ft(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function mt(t){var e=t.children&&t.children.map(mt),n=e?Object(i.a)({},t,{children:e}):Object(i.a)({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==ot&&(n.component=rt),n}function gt(t,e){var n,i=Object.keys(t),r=Object.keys(e);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++)if(t[n=i[o]]!==e[n])return!1;return!0}function vt(t){return Array.prototype.concat.apply([],t)}function yt(t){return t.length>0?t[t.length-1]:null}function bt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function _t(t){return Object(r["\u0275isObservable"])(t)?t:Object(r["\u0275isPromise"])(t)?Object(a.a)(Promise.resolve(t)):Object(o.a)(t)}function wt(t,e,n){return n?function(t,e){return gt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!St(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!St(a=n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!St(n.segments,r))return!1;for(var o in i.children){if(!n.children[o])return!1;if(!t(n.children[o],i.children[o]))return!1}return!0}var a=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!St(n.segments,a)&&!!n.children[ot]&&e(n.children[ot],i,s)}(e,n,n.segments)}(t.root,e.root)}var Ct=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Pt.serialize(this)},t}(),xt=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,bt(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return It(this)},t}(),Et=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=st(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Lt(this)},t}();function St(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function Ot(t,e){var n=[];return bt(t.children,function(t,i){i===ot&&(n=n.concat(e(t,i)))}),bt(t.children,function(t,i){i!==ot&&(n=n.concat(e(t,i)))}),n}var kt=function(){return function(){}}(),Tt=function(){function t(){}return t.prototype.parse=function(t){var e=new Ut(t);return new Ct(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return It(e);if(n){var i=e.children[ot]?t(e.children[ot],!1):"",r=[];return bt(e.children,function(e,n){n!==ot&&r.push(n+":"+t(e,!1))}),r.length>0?i+"("+r.join("//")+")":i}var o=Ot(e,function(n,i){return i===ot?[t(e.children[ot],!1)]:[i+":"+t(n,!1)]});return It(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Rt(t)+"="+Rt(e)}).join("&"):Rt(t)+"="+Rt(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Pt=new Tt;function It(t){return t.segments.map(function(t){return Lt(t)}).join("/")}function Mt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rt(t){return Mt(t).replace(/%3B/gi,";")}function Dt(t){return Mt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function At(t){return decodeURIComponent(t)}function jt(t){return At(t.replace(/\+/g,"%20"))}function Lt(t){return""+Dt(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Dt(t)+"="+Dt(e[t])}).join(""));var e}var Nt=/^[^\/()?;=#]+/;function Vt(t){var e=t.match(Nt);return e?e[0]:""}var Ft=/^[^=?&#]+/,Ht=/^[^?&#]+/,Ut=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new xt([],{}):new xt([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ot]=new xt(t,e)),n},t.prototype.parseSegment=function(){var t=Vt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Et(At(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Vt(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Vt(this.remaining);i&&this.capture(n=i)}t[At(e)]=At(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Ft))?e[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(Ht);return e?e[0]:""}(this.remaining);r&&this.capture(i=r)}var o=jt(n),a=jt(i);if(t.hasOwnProperty(o)){var s=t[o];Array.isArray(s)||(t[o]=s=[s]),s.push(a)}else t[o]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Vt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '"+this.url+"'");var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=ot);var o=this.parseChildren();e[r]=1===Object.keys(o).length?o[ot]:new xt([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),zt=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Bt(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Bt(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Wt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return Wt(t,this._root).map(function(t){return t.value})},t}();function Bt(t,e){var n,r;if(t===e.value)return e;try{for(var o=Object(i.j)(e.children),a=o.next();!a.done;a=o.next()){var s=Bt(t,a.value);if(s)return s}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Wt(t,e){var n,r;if(t===e.value)return[e];try{for(var o=Object(i.j)(e.children),a=o.next();!a.done;a=o.next()){var s=Wt(t,a.value);if(s.length)return s.unshift(e),s}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Gt=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function qt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Yt=function(t){function e(e,n){var i=t.call(this,e)||this;return i.snapshot=n,Jt(i,e),i}return Object(i.d)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(zt);function $t(t,e){var n=function(t,e){var n=new Qt([],{},{},"",{},ot,e,null,t.root,-1,{});return new Xt("",new Gt(n,[]))}(t,e),i=new s.a([new Et("",{})]),r=new s.a({}),o=new s.a({}),a=new s.a({}),l=new s.a(""),u=new Kt(i,r,a,l,o,ot,e,n.root);return u.snapshot=n.root,new Yt(new Gt(u,[]),n)}var Kt=function(){function t(t,e,n,i,r,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(function(t){return st(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(function(t){return st(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Zt(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:Object(i.a)({},t.params,e.params),data:Object(i.a)({},t.data,e.data),resolve:Object(i.a)({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Qt=function(){function t(t,e,n,i,r,o,a,s,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=st(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Xt=function(t){function e(e,n){var i=t.call(this,n)||this;return i.url=e,Jt(i,n),i}return Object(i.d)(e,t),e.prototype.toString=function(){return te(this._root)},e}(zt);function Jt(t,e){e.value._routerState=t,e.children.forEach(function(e){return Jt(t,e)})}function te(t){var e=t.children.length>0?" { "+t.children.map(te).join(", ")+" } ":"";return""+t.value+e}function ee(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,gt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),gt(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(!gt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),gt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function ne(t,e){var n,i;return gt(t.params,e.params)&&St(n=t.url,i=e.url)&&n.every(function(t,e){return gt(t.parameters,i[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||ne(t.parent,e.parent))}function ie(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function re(t,e,n,i,r){var o={};return i&&bt(i,function(t,e){o[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new Ct(n.root===t?e:function t(e,n,i){var r={};return bt(e.children,function(e,o){r[o]=e===n?i:t(e,n,i)}),new xt(e.segments,r)}(n.root,t,e),o,r)}var oe=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ie(n[0]))throw new Error("Root segment cannot have matrix parameters");var i=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(i&&i!==yt(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),ae=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function se(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[ot]:""+t}function le(t,e,n){if(t||(t=new xt([],{})),0===t.segments.length&&t.hasChildren())return ue(t,e,n);var i=function(t,e,n){for(var i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r<t.segments.length;){if(i>=n.length)return o;var a=t.segments[r],s=se(n[i]),l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!he(s,l,a))return o;i+=2}else{if(!he(s,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){var o=new xt(t.segments.slice(0,i.pathIndex),{});return o.children[ot]=new xt(t.segments.slice(i.pathIndex),t.children),ue(o,0,r)}return i.match&&0===r.length?new xt(t.segments,{}):i.match&&!t.hasChildren()?ce(t,e,n):i.match?ue(t,0,r):ce(t,e,n)}function ue(t,e,n){if(0===n.length)return new xt(t.segments,{});var i=function(t){var e,n;return"object"!=typeof t[0]?((e={})[ot]=t,e):void 0===t[0].outlets?((n={})[ot]=t,n):t[0].outlets}(n),r={};return bt(i,function(n,i){null!==n&&(r[i]=le(t.children[i],e,n))}),bt(t.children,function(t,e){void 0===i[e]&&(r[e]=t)}),new xt(t.segments,r)}function ce(t,e,n){for(var i=t.segments.slice(0,e),r=0;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){var o=de(n[r].outlets);return new xt(i,o)}if(0===r&&ie(n[0]))i.push(new Et(t.segments[e].path,n[0])),r++;else{var a=se(n[r]),s=r<n.length-1?n[r+1]:null;a&&s&&ie(s)?(i.push(new Et(a,pe(s))),r+=2):(i.push(new Et(a,{})),r++)}}return new xt(i,{})}function de(t){var e={};return bt(t,function(t,n){null!==t&&(e[n]=ce(new xt([],{}),0,t))}),e}function pe(t){var e={};return bt(t,function(t,n){return e[n]=""+t}),e}function he(t,e,n){return t==n.path&&gt(e,n.parameters)}var fe=function(){function t(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ee(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var i=this,r=qt(e);t.children.forEach(function(t){var e=t.value.outlet;i.deactivateRoutes(t,r[e],n),delete r[e]}),bt(r,function(t,e){i.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var i=t.value,r=e?e.value:null;if(i===r)if(i.component){var o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:i,route:t,contexts:r})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,i=e.getContext(t.value.outlet);if(i){var r=qt(t),o=t.value.component?i.children:e;bt(r,function(t,e){return n.deactivateRouteAndItsChildren(t,o)}),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var i=this,r=qt(e);t.children.forEach(function(t){i.activateRoutes(t,r[t.value.outlet],n),i.forwardEvent(new nt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new tt(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var i=t.value,r=e?e.value:null;if(ee(i),i===r)if(i.component){var o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(i.component)if(o=n.getOrCreateContext(i.outlet),this.routeReuseStrategy.shouldAttach(i.snapshot)){var a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),me(a.route)}else{var s=function(t){for(var e=i.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),l=s?s.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=l,o.outlet&&o.outlet.activateWith(i,l),this.activateChildRoutes(t,null,o.children)}else this.activateChildRoutes(t,null,n)},t}();function me(t){ee(t.value),t.children.forEach(me)}function ge(t){return"function"==typeof t}function ve(t){return t instanceof Ct}var ye=function(){return function(t){this.segmentGroup=t||null}}(),be=function(){return function(t){this.urlTree=t}}();function _e(t){return new l.a(function(e){return e.error(new ye(t))})}function we(t){return new l.a(function(e){return e.error(new be(t))})}function Ce(t){return new l.a(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var xe=function(){function t(t,e,n,i,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(r.NgModuleRef)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ot).pipe(Object(f.a)(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Object(C.a)(function(e){if(e instanceof be)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof ye)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,ot).pipe(Object(f.a)(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Object(C.a)(function(t){if(t instanceof ye)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var i,r=t.segments.length>0?new xt([],((i={})[ot]=t,i)):t;return new Ct(r,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(function(t){return new xt([],t)})):this.expandSegment(t,n,e,n.segments,i,!0)},t.prototype.expandChildren=function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Object(o.a)({});var a=[],s=[],l={};return bt(n,function(n,r){var o,u,c=(o=r,u=n,i.expandSegmentGroup(t,e,u,o)).pipe(Object(f.a)(function(t){return l[r]=t}));r===ot?a.push(c):s.push(c)}),o.a.apply(null,a.concat(s)).pipe(Object(m.a)(),w(),Object(f.a)(function(){return l}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,a,s){var l=this;return o.a.apply(void 0,Object(i.i)(n)).pipe(Object(f.a)(function(i){return l.expandSegmentAgainstRoute(t,e,n,i,r,a,s).pipe(Object(C.a)(function(t){if(t instanceof ye)return Object(o.a)(null);throw t}))}),Object(m.a)(),Object(x.a)(function(t){return!!t}),Object(C.a)(function(t,n){if(t instanceof u.a||"EmptyError"===t.name){if(l.noLeftoversInUrl(e,r,a))return Object(o.a)(new xt([],{}));throw new ye(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,i,r,o,a){return ke(i)!==o?_e(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):_e(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?we(o):this.lineralizeSegments(n,o).pipe(Object(E.a)(function(n){var o=new xt(n,{});return r.expandSegment(t,o,e,n,i,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){var a=this,s=Ee(e,i,r),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return _e(e);var d=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?we(d):this.lineralizeSegments(i,d).pipe(Object(E.a)(function(i){return a.expandSegment(t,e,n,i.concat(r.slice(u)),o,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var a=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(function(t){return n._loadedConfig=t,new xt(r,{})})):Object(o.a)(new xt(r,{}));var s=Ee(e,n,r),l=s.consumedSegments,u=s.lastChild;if(!s.matched)return _e(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(Object(E.a)(function(t){var n=t.module,r=t.routes,s=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return Oe(t,e,n)&&ke(n)!==ot})}(t,n)?{segmentGroup:Se(new xt(e,function(t,e){var n,r,o={};o[ot]=e;try{for(var a=Object(i.j)(t),s=a.next();!s.done;s=a.next()){var l=s.value;""===l.path&&ke(l)!==ot&&(o[ke(l)]=new xt([],{}))}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}(r,new xt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return Oe(t,e,n)})}(t,n)?{segmentGroup:Se(new xt(t.segments,function(t,e,n,r){var o,a,s={};try{for(var l=Object(i.j)(n),u=l.next();!u.done;u=l.next()){var c=u.value;Oe(t,e,c)&&!r[ke(c)]&&(s[ke(c)]=new xt([],{}))}}catch(d){o={error:d}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return Object(i.a)({},r,s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,l,c,r),u=s.segmentGroup,d=s.slicedSegments;return 0===d.length&&u.hasChildren()?a.expandChildren(n,r,u).pipe(Object(f.a)(function(t){return new xt(l,t)})):0===r.length&&0===d.length?Object(o.a)(new xt(l,{})):a.expandSegment(n,u,r,d,ot,!0).pipe(Object(f.a)(function(t){return new xt(l.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var i=this;return e.children?Object(o.a)(new dt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):function(t,e,n){var i,r=e.canLoad;return r&&0!==r.length?Object(a.a)(r).pipe(Object(f.a)(function(i){var r,o=t.get(i);if(function(t){return t&&ge(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!ge(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return _t(r)})).pipe(Object(m.a)(),(i=function(t){return!0===t},function(t){return t.lift(new O(i,void 0,t))})):Object(o.a)(!0)}(t.injector,e,n).pipe(Object(E.a)(function(n){return n?i.configLoader.load(t.injector,e).pipe(Object(f.a)(function(t){return e._loadedConfig=t,t})):function(t){return new l.a(function(e){return e.error(ut("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Object(o.a)(new dt([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(o.a)(n);if(i.numberOfChildren>1||!i.children[ot])return Ce(t.redirectTo);i=i.children[ot]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new Ct(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return bt(t,function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,i){var r=this,o=this.createSegments(t,e.segments,n,i),a={};return bt(e.children,function(e,o){a[o]=r.createSegmentGroup(t,e,n,i)}),new xt(o,a)},t.prototype.createSegments=function(t,e,n,i){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return i},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var a=Object(i.j)(e),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.path===t.path)return e.splice(o),l;o++}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return t},t}();function Ee(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(e.matcher||ct)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Se(t){if(1===t.numberOfChildren&&t.children[ot]){var e=t.children[ot];return new xt(t.segments.concat(e.segments),e.children)}return t}function Oe(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function ke(t){return t.outlet||ot}var Te=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Pe=function(){return function(t,e){this.component=t,this.route=e}}();function Ie(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 Me(t,e,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=qt(e);return t.children.forEach(function(t){!function(t,e,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var l=function(t,e,n){switch(n){case"pathParamsChange":return!St(t.url,e.url);case"always":return!0;case"paramsOrQueryParamsChange":return!ne(t,e)||!gt(t.queryParams,e.queryParams);case"paramsChange":default:return!ne(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Te(i)):(o.data=a.data,o._resolvedData=a._resolvedData),Me(t,e,o.component?s?s.children:null:n,i,r),l&&r.canDeactivateChecks.push(new Pe(s&&s.outlet&&s.outlet.component||null,a))}else a&&Re(e,s,r),r.canActivateChecks.push(new Te(i)),Me(t,null,o.component?s?s.children:null:n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]}),bt(o,function(t,e){return Re(t,n.getContext(e),r)}),r}function Re(t,e,n){var i=qt(t),r=t.value;bt(i,function(t,i){Re(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Pe(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var De=Symbol("INITIAL_VALUE");function Ae(){return Object(T.a)(function(t){return c.a.apply(void 0,Object(i.i)(t.map(function(t){return t.pipe(Object(P.a)(1),Object(I.a)(De))}))).pipe(Object(M.a)(function(t,e){var n=!1;return e.reduce(function(t,i,r){if(t!==De)return t;if(i===De&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||ve(i))return i}return t},t)},De),Object(g.a)(function(t){return t!==De}),Object(f.a)(function(t){return ve(t)?t:!0===t}),Object(P.a)(1))})}function je(t,e){return null!==t&&e&&e(new et(t)),Object(o.a)(!0)}function Le(t,e){return null!==t&&e&&e(new J(t)),Object(o.a)(!0)}function Ne(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(o.a)(!0);var r=i.map(function(i){return Object(d.a)(function(){var r,o=Ie(i,e,n);if(function(t){return t&&ge(t.canActivate)}(o))r=_t(o.canActivate(e,t));else{if(!ge(o))throw new Error("Invalid CanActivate guard");r=_t(o(e,t))}return r.pipe(Object(x.a)())})});return Object(o.a)(r).pipe(Ae())}function Ve(t,e,n){var i=e[e.length-1],r=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 Object(d.a)(function(){var r=e.guards.map(function(r){var o,a=Ie(r,e.node,n);if(function(t){return t&&ge(t.canActivateChild)}(a))o=_t(a.canActivateChild(i,t));else{if(!ge(a))throw new Error("Invalid CanActivateChild guard");o=_t(a(i,t))}return o.pipe(Object(x.a)())});return Object(o.a)(r).pipe(Ae())})});return Object(o.a)(r).pipe(Ae())}var Fe=function(){return function(){}}(),He=function(){function t(t,e,n,i,r,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=Be(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ot),n=new Qt([],Object.freeze({}),Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},ot,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Gt(n,e),a=new Xt(this.url,r);return this.inheritParamsAndData(a._root),Object(o.a)(a)}catch(s){return new l.a(function(t){return t.error(s)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,i=Zt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,i=this,r=Ot(e,function(e,n){return i.processSegmentGroup(t,e,n)});return n={},r.forEach(function(t){var e=n[t.value.outlet];if(e){var i=e.url.map(function(t){return t.toString()}).join("/"),r=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+i+"' and '"+r+"'.")}n[t.value.outlet]=t.value}),r.sort(function(t,e){return t.value.outlet===ot?-1:e.value.outlet===ot?1:t.value.outlet.localeCompare(e.value.outlet)}),r},t.prototype.processSegment=function(t,e,n,r){var o,a;try{for(var s=Object(i.j)(t),l=s.next();!l.done;l=s.next()){var u=l.value;try{return this.processSegmentAgainstRoute(u,e,n,r)}catch(c){if(!(c instanceof Fe))throw c}}}catch(d){o={error:d}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Fe},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new Fe;if((t.outlet||ot)!==r)throw new Fe;var o,a=[],s=[];if("**"===t.path){var l=n.length>0?yt(n).parameters:{};o=new Qt(n,l,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,qe(t),r,t.component,t,Ue(e),ze(e)+n.length,Ye(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Fe;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||ct)(n,t,e);if(!r)throw new Fe;var o={};bt(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?Object(i.a)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=u.consumedSegments,s=n.slice(u.lastChild),o=new Qt(a,u.parameters,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,qe(t),r,t.component,t,Ue(e),ze(e)+a.length,Ye(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),d=Be(e,a,s,c,this.relativeLinkResolution),p=d.segmentGroup,h=d.slicedSegments;if(0===h.length&&p.hasChildren()){var f=this.processChildren(c,p);return[new Gt(o,f)]}if(0===c.length&&0===h.length)return[new Gt(o,[])];var m=this.processSegment(c,p,h,ot);return[new Gt(o,m)]},t}();function Ue(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function ze(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 Be(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return We(t,e,n)&&Ge(n)!==ot})}(t,n)){var a=new xt(e,function(t,e,n,r){var o,a,s={};s[ot]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var l=Object(i.j)(n),u=l.next();!u.done;u=l.next()){var c=u.value;if(""===c.path&&Ge(c)!==ot){var d=new xt([],{});d._sourceSegment=t,d._segmentIndexShift=e.length,s[Ge(c)]=d}}}catch(p){o={error:p}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return s}(t,e,r,new xt(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return We(t,e,n)})}(t,n)){var s=new xt(t.segments,function(t,e,n,r,o,a){var s,l,u={};try{for(var c=Object(i.j)(r),d=c.next();!d.done;d=c.next()){var p=d.value;if(We(t,n,p)&&!o[Ge(p)]){var h=new xt([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===a?t.segments.length:e.length,u[Ge(p)]=h}}}catch(f){s={error:f}}finally{try{d&&!d.done&&(l=c.return)&&l.call(c)}finally{if(s)throw s.error}}return Object(i.a)({},o,u)}(t,e,n,r,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var l=new xt(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function We(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ge(t){return t.outlet||ot}function qe(t){return t.data||{}}function Ye(t){return t.resolve||{}}function $e(t,e,n,i){var r=Ie(t,e,i);return _t(r.resolve?r.resolve(e,n):r(e,n))}function Ke(t){return function(e){return e.pipe(Object(T.a)(function(e){var n=t(e);return n?Object(a.a)(n).pipe(Object(f.a)(function(){return e})):Object(a.a)([e])}))}}var Ze=function(){return function(){}}(),Qe=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Xe=new r.InjectionToken("ROUTES"),Je=function(){function t(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new dt(vt(r.injector.get(Xe)).map(mt),r)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(a.a)(this.loader.load(t)):_t(t()).pipe(Object(E.a)(function(t){return t instanceof r.NgModuleFactory?Object(o.a)(t):Object(a.a)(e.compiler.compileModuleAsync(t))}))},t}(),tn=function(){return function(){}}(),en=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function nn(t){throw t}function rn(t,e,n){return e.parse("/")}function on(t,e){return Object(o.a)(null)}var an=function(){function t(t,e,n,i,o,a,l,u){var c=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=u,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.a,this.errorHandler=nn,this.malformedUriErrorHandler=rn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:on,afterPreactivation:on},this.urlHandlingStrategy=new en,this.routeReuseStrategy=new Qe,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(r.NgModuleRef),this.console=o.get(r["\u0275Console"]);var d=o.get(r.NgZone);this.isNgZoneEnabled=d instanceof r.NgZone,this.resetConfig(u),this.currentUrlTree=new Ct(new xt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Je(a,l,function(t){return c.triggerEvent(new Q(t))},function(t){return c.triggerEvent(new X(t))}),this.routerState=$t(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",state:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(g.a)(function(t){return 0!==t.id}),Object(f.a)(function(t){return Object(i.a)({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Object(T.a)(function(t){var r,l,u,c,d=!1,p=!1;return Object(o.a)(t).pipe(Object(T.a)(function(t){var r,a,s,l,u=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||u)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(A.a)(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.rawUrl,!!t.extras.replaceUrl,t.id)}),Object(T.a)(function(t){var i=e.transitions.getValue();return n.next(new z(t.id,e.serializeUrl(t.extractedUrl),t.source,t.state)),i!==e.transitions.getValue()?h.a:[t]}),Object(T.a)(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,a=e.configLoader,s=e.urlSerializer,l=e.config,function(t){return t.pipe(Object(T.a)(function(t){return function(e,n,i,r,o){return new xe(e,n,i,t.extractedUrl,o).apply()}(r,a,s,0,l).pipe(Object(f.a)(function(e){return Object(i.a)({},t,{urlAfterRedirects:e})}))}))}),function(t,n,r,o,a){return function(r){return r.pipe(Object(E.a)(function(r){return function(t,e,n,i,r,o){return void 0===r&&(r="emptyOnly"),void 0===o&&(o="legacy"),new He(t,e,n,i,r,o).recognize()}(t,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe(Object(f.a)(function(t){return Object(i.a)({},r,{targetSnapshot:t})}));var s}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(A.a)(function(t){var i=new q(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)}));if(u&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var c=t.extractedUrl,d=t.source,p=t.state,m=t.extras,g=new z(t.id,e.serializeUrl(c),d,p);n.next(g);var v=$t(c,e.rootComponentType).snapshot;return Object(o.a)(Object(i.a)({},t,{targetSnapshot:v,urlAfterRedirects:c,extras:Object(i.a)({},m,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),h.a}),Ke(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(A.a)(function(t){var n=new Y(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),Object(f.a)(function(t){return Object(i.a)({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,a=n._root,Me(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(t,e){return function(n){return n.pipe(Object(E.a)(function(n){var r=n.targetSnapshot,s=n.currentSnapshot,l=n.guards,u=l.canActivateChecks,c=l.canDeactivateChecks;return 0===c.length&&0===u.length?Object(o.a)(Object(i.a)({},n,{guardsResult:!0})):function(t,e,n,i){return Object(a.a)(t).pipe(Object(E.a)(function(t){return function(t,e,n,i,r){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);var s=a.map(function(o){var a,s=Ie(o,e,r);if(function(t){return t&&ge(t.canDeactivate)}(s))a=_t(s.canDeactivate(t,e,n,i));else{if(!ge(s))throw new Error("Invalid CanDeactivate guard");a=_t(s(t,e,n,i))}return a.pipe(Object(x.a)())});return Object(o.a)(s).pipe(Ae())}(t.component,t.route,n,e,i)}),Object(x.a)(function(t){return!0!==t},!0))}(c,r,s,t).pipe(Object(E.a)(function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return Object(a.a)(e).pipe(Object(R.a)(function(e){return Object(a.a)([Le(e.route.parent,i),je(e.route,i),Ve(t,e.path,n),Ne(t,e.route,n)]).pipe(Object(m.a)(),Object(x.a)(function(t){return!0!==t},!0))}),Object(x.a)(function(t){return!0!==t},!0))}(r,u,t,e):Object(o.a)(n)}),Object(f.a)(function(t){return Object(i.a)({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Object(A.a)(function(t){if(ve(t.guardsResult)){var n=ut('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),Object(A.a)(function(t){var n=new $(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),Object(g.a)(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new W(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0}),Ke(function(t){if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(A.a)(function(t){var n=new K(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(Object(E.a)(function(t){var e=t.targetSnapshot,s=t.guards.canActivateChecks;return s.length?Object(a.a)(s).pipe(Object(R.a)(function(t){return function(t,n,r,s){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return Object(o.a)({});if(1===r.length){var s=r[0];return $e(t[s],e,n,i).pipe(Object(f.a)(function(t){var e;return(e={})[s]=t,e}))}var l={};return Object(a.a)(r).pipe(Object(E.a)(function(r){return $e(t[r],e,n,i).pipe(Object(f.a)(function(t){return l[r]=t,t}))})).pipe(w(),Object(f.a)(function(){return l}))}(t._resolve,t,e,s).pipe(Object(f.a)(function(e){return t._resolvedData=e,t.data=Object(i.a)({},t.data,Zt(t,r).resolve),null}))}(t.route,0,n,r)}),Object(D.a)(function(t,e){return t}),Object(f.a)(function(e){return t})):Object(o.a)(t)}))}),Object(A.a)(function(t){var n=new Z(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),Ke(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(f.a)(function(t){var n,r,o,a=(o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(c=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map(function(n){var o,a;try{for(var s=Object(i.j)(r.children),l=s.next();!l.done;l=s.next()){var u=l.value;if(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,n,u)}}catch(c){o={error:c}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new Gt(c,o)}var a=e.retrieve(n.value);if(a){var l=a.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var i=0;i<e.children.length;++i)t(e.children[i],n.children[i])}(n,l),l}var u,c=new Kt(new s.a((u=n.value).url),new s.a(u.params),new s.a(u.queryParams),new s.a(u.fragment),new s.a(u.data),u.outlet,u.component,u);return o=n.children.map(function(n){return t(e,n)}),new Gt(c,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new Yt(o,n));return Object(i.a)({},t,{targetRouterState:a})}),Object(A.a)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"!==e.urlUpdateStrategy||t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id)}),(l=e.rootContexts,u=e.routeReuseStrategy,c=function(t){return e.triggerEvent(t)},Object(f.a)(function(t){return new fe(u,t.targetRouterState,t.currentRouterState,c).activate(l),t})),Object(A.a)({next:function(){d=!0},complete:function(){d=!0}}),(r=function(){if(!d&&!p){e.resetUrlToCurrentUrlTree();var i=new W(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(i),t.resolve(!1)}},function(t){return t.lift(new L(r))}),Object(C.a)(function(i){if(p=!0,(s=i)&&s[lt]){e.navigated=!0;var r=ve(i.url);r||e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var o=new W(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(o),t.resolve(!1),r&&e.navigateByUrl(i.url)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new G(t.id,e.serializeUrl(t.extractedUrl),i);n.next(a);try{t.resolve(e.errorHandler(i))}catch(l){t.reject(l)}}var s;return h.a}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(Object(i.a)({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),i="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,i,r,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){pt(t),this.config=t.map(mt),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,o=e.queryParams,a=e.fragment,s=e.preserveQueryParams,l=e.queryParamsHandling,u=e.preserveFragment;Object(r.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,d=u?this.currentUrlTree.fragment:a,p=null;if(l)switch(l){case"merge":p=Object(i.a)({},this.currentUrlTree.queryParams,o);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=o||null}else p=s?this.currentUrlTree.queryParams:o||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,o){if(0===n.length)return re(e.root,e.root,e,r,o);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new oe(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var a={};return bt(r.outlets,function(t,e){a[e]="string"==typeof t?t.split("/"):t}),Object(i.i)(t,[{outlets:a}])}if(r.segmentPath)return Object(i.i)(t,[r.segmentPath])}return"string"!=typeof r?Object(i.i)(t,[r]):0===o?(r.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):Object(i.i)(t,[r])},[]);return new oe(n,e,r)}(n);if(a.toRoot())return re(e.root,new xt([],{}),e,r,o);var s=function(t,n,i){if(t.isAbsolute)return new ae(e.root,!0,0);if(-1===i.snapshot._lastPathIndex)return new ae(i.snapshot._urlSegment,!0,0);var r=ie(t.commands[0])?0:1;return function(e,n,o){for(var a=i.snapshot._urlSegment,s=i.snapshot._lastPathIndex+r,l=t.numberOfDoubleDots;l>s;){if(l-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new ae(a,!1,s-l)}()}(a,0,t),l=s.processChildren?ue(s.segmentGroup,s.index,a.commands):le(s.segmentGroup,s.index,a.commands);return re(s.segmentGroup,l,e,r,o)}(c,this.currentUrlTree,t,p,d)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(r.isDevMode)()&&this.isNgZoneEnabled&&!r.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=ve(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(ve(t))return wt(this.currentUrlTree,t,e);var n=this.parseUrl(t);return wt(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var i=t[n];return null!=i&&(e[n]=i),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new B(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,i){var r=this.getTransition();if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"popstate"==e&&"hashchange"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,a=null,s=new Promise(function(t,e){o=t,a=e}),l=++this.navigationId;return this.setTransition({id:l,source:e,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n){var i=this.urlSerializer.serialize(t);this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",{navigationId:n}):this.location.go(i,"",{navigationId:n})},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),sn=function(){function t(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Object(r.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}(),ln=function(){function t(t,e,n){var i=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof B&&i.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Object(r.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,i){if(0!==t||e||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var r={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,r),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})},enumerable:!0,configurable:!0}),Object(i.c)([Object(r.HostBinding)("attr.target"),Object(r.Input)(),Object(i.f)("design:type",String)],t.prototype,"target",void 0),t}();function un(t){return""===t||!!t}var cn=function(){function t(t,e,n,i){var r=this;this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof B&&r.update()})}return t.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var t=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var e=t.hasActiveLinks();t.isActive!==e&&(t.isActive=e,t.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}))})},t.prototype.isLinkActive=function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t}(),dn=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new pn,this.attachRef=null}}(),pn=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new dn,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),hn=function(){function t(t,e,n,i,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.EventEmitter,this.deactivateEvents=new r.EventEmitter,this.name=i||ot,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=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))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=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},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=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,r=new fn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),fn=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Kt?this.route:t===pn?this.childContexts:this.parent.get(t,e)},t}(),mn=function(){return function(){}}(),gn=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(Object(C.a)(function(){return Object(o.a)(null)}))},t}(),vn=function(){function t(){}return t.prototype.preload=function(t,e){return Object(o.a)(null)},t}(),yn=function(){function t(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new Je(e,n,function(e){return t.triggerEvent(new Q(e))},function(e){return t.triggerEvent(new X(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(Object(g.a)(function(t){return t instanceof B}),Object(R.a)(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(r.NgModuleRef);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,o=[];try{for(var s=Object(i.j)(e),l=s.next();!l.done;l=s.next()){var u=l.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var c=u._loadedConfig;o.push(this.processRoutes(c.module,c.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(t,u)):u.children&&o.push(this.processRoutes(t,u.children))}}catch(d){n={error:d}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return Object(a.a)(o).pipe(Object(V.a)(),Object(f.a)(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(Object(E.a)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),bn=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof z?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof B&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof it&&(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]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new it(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),_n=new r.InjectionToken("ROUTER_CONFIGURATION"),wn=new r.InjectionToken("ROUTER_FORROOT_GUARD"),Cn=[F.h,{provide:kt,useClass:Tt},{provide:an,useFactory:Pn,deps:[r.ApplicationRef,kt,pn,F.h,r.Injector,r.NgModuleFactoryLoader,r.Compiler,Xe,_n,[tn,new r.Optional],[Ze,new r.Optional]]},pn,{provide:Kt,useFactory:In,deps:[an]},{provide:r.NgModuleFactoryLoader,useClass:r.SystemJsNgModuleLoader},yn,vn,gn,{provide:_n,useValue:{enableTracing:!1}}];function xn(){return new r.NgProbeToken("Router",an)}var En=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[Cn,Tn(t),{provide:wn,useFactory:kn,deps:[[an,new r.Optional,new r.SkipSelf]]},{provide:_n,useValue:n||{}},{provide:F.i,useFactory:On,deps:[F.u,[new r.Inject(F.a),new r.Optional],_n]},{provide:bn,useFactory:Sn,deps:[an,F.w,_n]},{provide:mn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:vn},{provide:r.NgProbeToken,multi:!0,useFactory:xn},[Mn,{provide:r.APP_INITIALIZER,multi:!0,useFactory:Rn,deps:[Mn]},{provide:An,useFactory:Dn,deps:[Mn]},{provide:r.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:An}]]}},t.forChild=function(t){return{ngModule:e,providers:[Tn(t)]}},t}();function Sn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new bn(t,e,n)}function On(t,e,n){return void 0===n&&(n={}),n.useHash?new F.f(t,e):new F.t(t,e)}function kn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Tn(t){return[{provide:r.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:t},{provide:Xe,multi:!0,useValue:t}]}function Pn(t,e,n,i,r,o,a,s,l,u,c){void 0===l&&(l={});var d=new an(null,e,n,i,r,o,a,vt(s));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var p=Object(H.s)();d.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d}function In(t){return t.routerState.root}var Mn=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new p.a}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(F.g,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),i=t.injector.get(an),r=t.injector.get(_n);if(t.isLegacyDisabled(r)||t.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '"+r.initialNavigation+"'");i.hooks.afterPreactivation=function(){return t.initNavigation?Object(o.a)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(_n),n=this.injector.get(yn),i=this.injector.get(bn),o=this.injector.get(an),a=this.injector.get(r.ApplicationRef);t===a.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function Rn(t){return t.appInitializer.bind(t)}function Dn(t){return t.bootstrapListener.bind(t)}var An=new r.InjectionToken("Router Initializer")},ZYjt:function(t,e,n){"use strict";n.d(e,"q",function(){return vt}),n.d(e,"r",function(){return O}),n.d(e,"a",function(){return yt}),n.d(e,"i",function(){return gt}),n.d(e,"b",function(){return m}),n.d(e,"d",function(){return k}),n.d(e,"e",function(){return T}),n.d(e,"f",function(){return tt}),n.d(e,"g",function(){return et}),n.d(e,"h",function(){return nt}),n.d(e,"c",function(){return st}),n.d(e,"s",function(){return s}),n.d(e,"k",function(){return V}),n.d(e,"j",function(){return X}),n.d(e,"n",function(){return it}),n.d(e,"o",function(){return at}),n.d(e,"m",function(){return M}),n.d(e,"p",function(){return I}),n.d(e,"l",function(){return lt});var i=n("mrSG"),r=n("Ip0R"),o=n("CcnG"),a=null;function s(){return a}var l,u={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},c={"\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"},d={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};o["\u0275global"].Node&&(l=o["\u0275global"].Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var p,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,a||(a=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,Object(i.i)(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return u},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return l.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),i=0;i<e.length;i++)n[i]=e[i];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var i=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return i.setAttribute(t,e),i},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var i=this.getStyle(t,e)||"";return n?i==n:i.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,i=0;i<n.length;i++){var r=n.item(i);e.set(r.name,r.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,i){t.setAttributeNS(e,n,i)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=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&&d.hasOwnProperty(e)&&(e=d[e]))}return c[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=f||(f=document.querySelector("base"))?f.getAttribute("href"):null;return null==n?null:(e=n,p||(p=document.createElement("a")),p.setAttribute("href",e),"/"===p.pathname.charAt(0)?p.pathname:"/"+p.pathname)},e.prototype.resetBaseElement=function(){f=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return Object(r.E)(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var i=["Webkit","Moz","O","ms"],r=0;r<i.length;r++)if(null!=e.getStyle(n,i[r]+"AnimationName")){e._animationPrefix="-"+i[r].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=o[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(i.d)(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),f=null,m=r.c;function g(){return!!window.history.pushState}var v=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return Object(i.d)(e,t),e.prototype._init=function(){this.location=s().getLocation(),this._history=s().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return s().getBaseHref(this._doc)},e.prototype.onPopState=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){g()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){g()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},Object(i.c)([Object(i.g)(0,Object(o.Inject)(m)),Object(i.f)("design:paramtypes",[Object])],e)}(r.u),y=new o.InjectionToken("TRANSITION_ID"),b=[{provide:o.APP_INITIALIZER,useFactory:function(t,e,n){return function(){n.get(o.ApplicationInitStatus).donePromise.then(function(){var n=s();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[y,m,o.Injector],multi:!0}],_=function(){function t(){}return t.init=function(){Object(o.setTestabilityGetter)(new t)},t.prototype.addToWindow=function(t){o["\u0275global"].getAngularTestability=function(e,n){void 0===n&&(n=!0);var i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},o["\u0275global"].getAllAngularTestabilities=function(){return t.getAllTestabilities()},o["\u0275global"].getAllAngularRootElements=function(){return t.getAllRootElements()},o["\u0275global"].frameworkStabilizers||(o["\u0275global"].frameworkStabilizers=[]),o["\u0275global"].frameworkStabilizers.push(function(t){var e=o["\u0275global"].getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach(function(t){t.whenStable(r)})})},t.prototype.findTestabilityInTree=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,s().getHost(e),!0):this.findTestabilityInTree(t,s().parentElement(e),!0):null},t}();function w(t,e){"undefined"!=typeof COMPILED&&COMPILED||((o["\u0275global"].ng=o["\u0275global"].ng||{})[t]=e)}var C={ApplicationRef:o.ApplicationRef,NgZone:o.NgZone},x="probe",E="coreTokens";function S(t){return Object(o.getDebugNode)(t)}function O(t){return w(x,S),w(E,Object(i.a)({},C,(t||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return S}}var k=new o.InjectionToken("EventManagerPlugins"),T=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event "+t)},t}(),P=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var i=s().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target "+i+" for event "+e);return this.addEventListener(i,e,n)},t}(),I=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=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)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),M=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return Object(i.d)(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var i=n._doc.createElement("style");i.textContent=t,n._styleNodes.add(e.appendChild(i))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return s().remove(t)})},e}(I),R={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/"},D=/%COMP%/g,A="_nghost-%COMP%",j="_ngcontent-%COMP%";function L(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?L(t,r,n):(r=r.replace(D,t),n.push(r))}return n}function N(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var V=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new F(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case o.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new B(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case o.ViewEncapsulation.Native:case o.ViewEncapsulation.ShadowDom:return new W(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=L(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),F=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(R[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,i){if(i){e=i+":"+e;var r=R[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var i=R[n];i?t.removeAttributeNS(i,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,i){i&o.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,i&o.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&o.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){U(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return U(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,N(n)):this.eventManager.addEventListener(t,e,N(n))},t}(),H="@".charCodeAt(0);function U(t,e){if(t.charCodeAt(0)===H)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var z,B=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.component=i;var o=L(i.id,i.styles,[]);return n.addStyles(o),r.contentAttr=j.replace(D,i.id),r.hostAttr=A.replace(D,i.id),r}return Object(i.d)(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var i=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,i,this.contentAttr,""),i},e}(F),W=function(t){function e(e,n,i,r){var a=t.call(this,e)||this;a.sharedStylesHost=n,a.hostEl=i,a.component=r,a.shadowRoot=r.encapsulation===o.ViewEncapsulation.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=L(r.id,r.styles,[]),l=0;l<s.length;l++){var u=document.createElement("style");u.textContent=s[l],a.shadowRoot.appendChild(u)}return a}return Object(i.d)(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,i){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,i)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(F),G="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},q=G("addEventListener"),Y=G("removeEventListener"),$={},K="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[G("BLACK_LISTED_EVENTS")]&&(z={});var Z=function(t){return!!z&&z.hasOwnProperty(t)},Q=function(t){var e=$[t.type];if(e){var n=this[e];if(n){var i=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,i):a.handler.apply(this,i);for(var r=n.slice(),o=0;o<r.length&&!0!==t[K];o++){var a;(a=r[o]).zone!==Zone.current?a.zone.run(a.handler,this,i):a.handler.apply(this,i)}}}},X=function(t){function e(e,n,i){var o=t.call(this,e)||this;return o.ngZone=n,i&&Object(r.B)(i)||o.patchEvent(),o}return Object(i.d)(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[K]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var i=this,r=n;if(!t[q]||o.NgZone.isInAngularZone()&&!Z(e))t.addEventListener(e,r,!1);else{var a=$[e];a||(a=$[e]=G("ANGULAR"+e+"FALSE"));var s=t[a],l=s&&s.length>0;s||(s=t[a]=[]);var u=Z(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:r});else{for(var c=!1,d=0;d<s.length;d++)if(s[d].handler===r){c=!0;break}c||s.push({zone:u,handler:r})}l||t[q](e,Q,!1)}return function(){return i.removeEventListener(t,e,r)}},e.prototype.removeEventListener=function(t,e,n){var i=t[Y];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);var r=$[e],o=r&&t[r];if(!o)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&i.apply(t,[e,Q,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(P),J={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},tt=new o.InjectionToken("HammerGestureConfig"),et=new o.InjectionToken("HammerLoader"),nt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),it=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._config=n,o.console=i,o.loader=r,o}return Object(i.d)(e,t),e.prototype.supports=function(t){return!(!J.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var i=this,r=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var o=!1,a=function(){o=!0};return this.loader().then(function(){if(!window.Hammer)return i.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});o||(a=i.addEventListener(t,e,n))}).catch(function(){i.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var o=i._config.buildHammer(t),a=function(t){r.runGuarded(function(){n(t)})};return o.on(e,a),function(){o.off(e,a),"function"==typeof o.destroy&&o.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(P),rt=["alt","control","meta","shift"],ot={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},at=function(t){function e(e){return t.call(this,e)||this}var n;return Object(i.d)(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,i){var r=n.parseEventName(e),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(t,r.domEventName,o)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),o="";if(rt.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=r,0!=e.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=s().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),rt.forEach(function(i){i!=n&&(0,ot[i])(t)&&(e+=i+".")}),e+=n},e.eventCallback=function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded(function(){return e(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(P),st=function(){return function(){}}(),lt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(i.d)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case o.SecurityContext.NONE:return e;case o.SecurityContext.HTML:return e instanceof ct?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(o["\u0275_sanitizeHtml"])(this._doc,String(e)));case o.SecurityContext.STYLE:return e instanceof dt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(o["\u0275_sanitizeStyle"])(e));case o.SecurityContext.SCRIPT:if(e instanceof pt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case o.SecurityContext.URL:return e instanceof ft||e instanceof ht?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(o["\u0275_sanitizeUrl"])(String(e)));case o.SecurityContext.RESOURCE_URL:if(e instanceof ft)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ut)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new ct(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new dt(t)},e.prototype.bypassSecurityTrustScript=function(t){return new pt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new ht(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new ft(t)},e}(st),ut=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ut),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ut),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ut),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ut),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ut),mt=[{provide:o.PLATFORM_ID,useValue:r.C},{provide:o.PLATFORM_INITIALIZER,useValue:function(){h.makeCurrent(),_.init()},multi:!0},{provide:r.u,useClass:v,deps:[m]},{provide:m,useFactory:function(){return document},deps:[]}],gt=Object(o.createPlatformFactory)(o.platformCore,"browser",mt);function vt(){return new o.ErrorHandler}var yt=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:o.APP_ID,useValue:t.appId},{provide:y,useExisting:o.APP_ID},b]}},t}();"undefined"!=typeof window&&window},Zhtc:function(t,e,n){"use strict";var i,r=n("67Y/"),o=n("15JJ"),a=n("BOF4"),s=n.n(a);!function(t){t.Facebook="facebook"}(i||(i={})),n.d(e,"a",function(){return l});var l=function(){function t(t,e,n,i,r,o,a,s,l){var u=this;this.socialService=t,this.authEventsEmitter=e,this.httpClient=n,this.constants=i,this.storageService=r,this.router=o,this.appIsLoadingEventsEmitter=a,this.notificationService=s,this.localisationService=l,this.JWT_KEY="JWT_KEY",this.token=this.getJWT(),this.userHasLoggedIn=!!this.token||this.socialService.userIsLoggedInFacebook,this.authEventsEmitter.tokenChanged$.subscribe(function(t){u.token=t,u.userHasLoggedIn=!!u.token||u.socialService.userIsLoggedInFacebook,t?u.setJWT(t):u.deleteJWT()})}return t.prototype.login=function(t,e){var n=this;return this.httpClient.post(this.constants.apiURL()+"/authorize/login/",{email:t,password:e}).pipe(Object(r.a)(function(t){var e=t.token;return n.authEventsEmitter.broadcastTokenChanged(e),{token:e}}))},t.prototype.facebookLogin=function(t,e,n,o,a,s){var l=this;return this.httpClient.post(this.constants.apiURL()+"/authorize/facebook/",{email:t,first_name:e,last_name:n,provider:{account_id:o,provider:i.Facebook},locale:a,referral:s}).pipe(Object(r.a)(function(t){var e=t.token;return l.authEventsEmitter.broadcastTokenChanged(e),{token:e}}))},t.prototype.register=function(t){var e=this;return this.httpClient.post(this.constants.apiURL()+"/authorize/register/",t).pipe(Object(o.a)(function(){return e.login(t.email,t.password)}))},t.prototype.createPasswordResetLink=function(t){return this.httpClient.post(this.constants.apiURL()+"/reset/password/",t)},t.prototype.resetPassword=function(t){return this.httpClient.put(this.constants.apiURL()+"/reset/password/",t)},t.prototype.getJWT=function(){return this.storageService.getItem(this.JWT_KEY)},t.prototype.setJWT=function(t){this.storageService.setItem(this.JWT_KEY,t)},t.prototype.deleteJWT=function(){this.storageService.removeItem(this.JWT_KEY)},t.prototype.logout=function(){var t=this;this.authEventsEmitter.broadcastTokenChanged(null),this.router.navigate(["login"]).then(function(){t.appIsLoadingEventsEmitter.broadcastAppIsLoading(!1)})},t.prototype.setStorageItem=function(t,e){this.storageService.setItem(t,e)},t.prototype.getStorageItem=function(t){return this.storageService.getItem(t)},t.prototype.errorHandler=function(){this.appIsLoadingEventsEmitter.broadcastAppIsLoading(!1),this.logout(),this.notificationService.error(this.localisationService.localise("server_err_something_went_wrong"))},Object.defineProperty(t.prototype,"jwtPayload",{get:function(){if(this.token)return s()(this.token)},enumerable:!0,configurable:!0}),t}()},Zn8D:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("psW0"),r=n("mChF");function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(i.a)(r.a,t)}},agM4:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("CcnG"),r=function(){function t(){this.onChange=new i.EventEmitter}return t.prototype.ngOnInit=function(){},t.prototype.onToggled=function(){this.onChange.emit(this.toggled=!this.toggled)},t}()},awvh:function(t,e,n){"use strict";function i(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}n.d(e,"a",function(){return r}),i.prototype=Object.create(Error.prototype);var r=i},axVG:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n("mrSG"),n("K+Kt");var i=function(){function t(){}var e;return e=t,t.forRoot=function(){return{ngModule:e}},t}()},b7mW:function(t,e,n){"use strict";function i(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(e,"a",function(){return r}),i.prototype=Object.create(Error.prototype);var r=i},blgj:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},bne5:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("6blF"),r=n("isby"),o=n("2Bdj"),a=n("67Y/");function s(t,e,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?s(t,e,n).pipe(Object(a.a)(function(t){return Object(r.a)(t)?l.apply(void 0,t):l(t)})):new i.a(function(i){!function t(e,n,i,r,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,i,o),a=function(){return s.removeEventListener(n,i,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,i),a=function(){return l.off(n,i)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,i),a=function(){return u.removeListener(n,i)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,d=e.length;c<d;c++)t(e[c],n,i,r,o)}r.add(a)}(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}},btFJ:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("ZYCi"),r=n("VnD/"),o=n("S6V/"),a=n("/Vy8"),s=function(){function t(t,e,n,i){this.elementRef=t,this.popupEventsEmitter=e,this.router=n,this.changeDetectorRef=i,this.arrowHeight=6,this.arrowWidth=16,this.arrowShifting=4,this.subscriptions=[]}return t.prototype.ngOnInit=function(){var t=this;this.popupElement=this.popupEventsEmitter.popupElement,this.subscriptions.push(this.popupEventsEmitter.popupComponentViewInitialized$.subscribe(function(e){return t.popupElement=e})),this.subscriptions.push(this.popupEventsEmitter.popupCancelClicked$.pipe(Object(r.a)(function(){return!!t.popupElement})).subscribe(function(){return t.onClick(null,!1)})),this.subscriptions.push(this.popupEventsEmitter.popupSaveChangesClicked$.pipe(Object(r.a)(function(){return!!t.popupElement})).subscribe(function(){return t.onClick(null,!1)})),this.subscriptions.push(this.popupEventsEmitter.popupPositionChanged$.pipe(Object(r.a)(function(){return!!t.popupElement&&t.popupElement.classList.contains("shown")&&t.elementRef.nativeElement.classList.contains("popup-element")})).subscribe(function(){return t.onClick(null,!1)})),this.subscriptions.push(this.router.events.pipe(Object(r.a)(function(e){return e instanceof i.e&&!!t.popupElement&&t.popupElement.classList.contains("shown")&&t.elementRef.nativeElement.classList.contains("popup-element")})).subscribe(function(){return t.onClick(null,!1)})),this.subscriptions.push(this.popupEventsEmitter.popupDimensionsChanged$.pipe(Object(r.a)(function(){return!!t.popupElement&&!!t.popup&&t.popupElement.classList.contains("shown")&&t.elementRef.nativeElement.classList.contains("popup-element")})).subscribe(function(){return t.positionPopup(t.popup.position,t.popup.arrowPosition)})),this.subscriptions.push(this.popupEventsEmitter.popupElementRefChanged$.pipe(Object(r.a)(function(e){return e!==t.elementRef.nativeElement})).subscribe(function(){return t.elementRef.nativeElement.classList.remove("popup-element")}))},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},t.prototype.onWindowClick=function(t){if(this.popupElement){var e=t.target,n=!Object(o.a)(this.popupElement,e);e!==this.elementRef.nativeElement&&n&&this.popupEventsEmitter.broadcastPopupCancelClicked()}},t.prototype.onWindowScroll=function(){this.popupElement&&this.popupElement.classList.contains("shown")&&this.elementRef.nativeElement.classList.contains("popup-element")&&this.onClick(null,!1)},t.prototype.onClick=function(t,e){return t&&(t.stopPropagation(),t.stopImmediatePropagation()),e?this.popupElement.classList.contains("shown")?(this.popupElement.classList.remove("shown"),void this.elementRef.nativeElement.classList.remove("popup-element")):(this.popupEventsEmitter.broadcastPopupChanged(this.popup),this.popupEventsEmitter.directiveElementRef=this.elementRef,this.changeDetectorRef.detectChanges(),this.positionPopup(this.popup.position,this.popup.arrowPosition),this.popupElement.classList.toggle("shown"),this.elementRef.nativeElement.classList.toggle("popup-element"),void this.popupEventsEmitter.broadcastPopupElementRefChanged(this.elementRef.nativeElement)):(this.popupElement.classList.remove("shown"),void this.elementRef.nativeElement.classList.remove("popup-element"))},t.prototype.positionPopup=function(t,e){if(this.popup){this.popupEventsEmitter.broadcastPopupChanged(Object.assign({},this.popup,{position:t,arrowPosition:e}));var n=this.elementRef.nativeElement.getBoundingClientRect(),i=document.body.getBoundingClientRect();this.popupElement.style.left="0px",this.popupElement.style.top="0px";var r=this.popupElement.getBoundingClientRect();switch(t){case a.a.Top:if(n.top-this.arrowHeight-r.height<i.top)return this.positionPopup(a.a.Bottom,e);break;case a.a.Bottom:if(n.bottom+this.arrowHeight+r.height>i.bottom)return this.positionPopup(a.a.Top,e);break;case a.a.Left:if(n.left-this.arrowHeight-r.width<i.left)return this.positionPopup(a.a.Right,e);break;case a.a.Right:if(n.right+this.arrowHeight+r.width>i.right)return this.positionPopup(a.a.Left,e)}var o=e[0],s=e[1];switch(o){case a.a.Top:case a.a.Bottom:switch(s){case a.a.Left:if(n.left+n.width/2+r.width>i.right)return this.positionPopup(t,[o,a.a.Right]);break;case a.a.Right:if(n.left+n.width/2-r.width<i.left)return this.positionPopup(t,[o,a.a.Left]);break;default:if(n.left+n.width/2+r.width/2>i.right)return this.positionPopup(t,[o,a.a.Right]);if(n.left+n.width/2-r.width/2<i.left)return this.positionPopup(t,[o,a.a.Left])}break;case a.a.Left:case a.a.Right:switch(s){case a.a.Top:if(n.top+n.height/2+r.height>i.bottom)return this.positionPopup(t,[o,a.a.Bottom]);break;case a.a.Bottom:if(n.top+n.height/2-r.height<i.top)return this.positionPopup(t,[o,a.a.Top]);break;default:if(n.top+n.height/2+r.height/2>i.bottom)return this.positionPopup(t,[o,a.a.Bottom]);if(n.top+n.height/2-r.height/2<i.top)return this.positionPopup(t,[o,a.a.Top])}}switch(t){case a.a.Top:this.popupElement.style.top=n.top-r.height-this.arrowHeight+"px";break;case a.a.Bottom:this.popupElement.style.top=n.top+n.height+this.arrowHeight+"px";break;case a.a.Left:this.popupElement.style.left=n.left-r.width-this.arrowHeight+"px";break;case a.a.Right:this.popupElement.style.left=n.left+n.width+this.arrowHeight+"px"}switch(o){case a.a.Top:case a.a.Bottom:switch(s){case a.a.Left:this.popupElement.style.left=n.left+n.width/2-this.arrowShifting-this.arrowWidth/2+"px";break;case a.a.Right:this.popupElement.style.left=n.left+n.width/2-r.width+this.arrowShifting+this.arrowWidth/2+"px";break;default:this.popupElement.style.left=n.left+n.width/2-r.width/2+"px"}break;case a.a.Left:case a.a.Right:switch(s){case a.a.Top:this.popupElement.style.top=n.top+n.height/2-this.arrowShifting-this.arrowWidth/2+"px";break;case a.a.Bottom:this.popupElement.style.top=n.top+n.height/2-r.height+this.arrowShifting+this.arrowWidth/2+"px";break;default:this.popupElement.style.top=n.top+n.height/2-r.height/2+"px"}}}},t}()},crnd:function(t,e,n){var i={"./modules/auth/auth.module.ngfactory":["mMQX",10],"./modules/dashboard/dashboard.module.ngfactory":["YK+w",1,5,11],"./modules/faq/faq.module.ngfactory":["MBnK",12],"./modules/invoices/invoices.module.ngfactory":["OfwE",1,13],"./modules/master/master.module.ngfactory":["b2Vq",1,3,5,4,14],"./modules/meals/meals.module.ngfactory":["C6T1",1,3,4,15],"./modules/misc/misc.module.ngfactory":["+mux",0,16],"./modules/news/news.module.ngfactory":["11m5",0,17],"./modules/pricing/pricing.module.ngfactory":["kLDf",18],"./modules/recipes/recipes.module.ngfactory":["m2/Z",0,19],"./modules/referrals/referrals.module.ngfactory":["qyDA",0,1,20],"./modules/settings/settings.module.ngfactory":["cfIE",21],"./modules/sport/sport.module.ngfactory":["5OlL",22],"./modules/stars/stars.module.ngfactory":["E16N",0,23],"./modules/user-preferred-global-categories/user-preferred-global-categories.module.ngfactory":["uX2b",0,24],"./modules/user-preferred-products/user-preferred-products.module.ngfactory":["IPwk",0,25],"./modules/verify/verify.module.ngfactory":["kWuC",26],"./modules/videos/videos.module.ngfactory":["emwI",0,27],"./modules/wallet/wallet.module.ngfactory":["A4EG",0,1,28],"./modules/wizard/wizard.module.ngfactory":["5EaN",3,29]};function r(t){var e=i[t];return e?Promise.all(e.slice(1).map(n.e)).then(function(){return n(e[0])}):Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}r.keys=function(){return Object.keys(i)},r.id="crnd",t.exports=r},d5dT:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.createCateringOrder=function(t,e,n,i,r,o){return this.httpClient.post(this.constants.apiURL()+"/catering/diary/order/",{user_id:t,diary_dates:e,meal_ids:n,address:i,phone:r,note:o})},t}()},d8lu:function(t,e,n){"use strict";var i=n("CcnG"),r=n("Ip0R"),o=n("JvyH"),a=n("OEGa"),s=n("HZ5i"),l=n("DQlY"),u=n("0luw"),c=n("NCB2"),d=n("rQkD"),p=n("nhNG"),h=n("s9o9"),f=n("yYZv"),m=n("ZYCi");n.d(e,"a",function(){return O});var g=i["\u0275crt"]({encapsulation:0,styles:[[".upgrade-wrapper[_ngcontent-%COMP%]{height:100%}.modal-body[_ngcontent-%COMP%]{height:100%!important;padding:11px;overflow-y:auto;overflow-x:hidden}.modal-body[_ngcontent-%COMP%]   .logo-body[_ngcontent-%COMP%]{display:block;text-align:center;margin-bottom:15px}.modal-body[_ngcontent-%COMP%]   .logo-body[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:130px}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]   .shortcut-action[_ngcontent-%COMP%]{flex:0 50%;padding:9px 9px 0;border:2px solid #ffb800;border-radius:8px;margin-bottom:9px}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]   .shortcut-action[_ngcontent-%COMP%]:nth-child(odd){margin-right:9px;flex:0 47%}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]   .shortcut-action[_ngcontent-%COMP%]   .shortcut-image[_ngcontent-%COMP%]{text-align:center;margin-bottom:10px;height:75px;padding-top:15px}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]   .shortcut-action[_ngcontent-%COMP%]   .shortcut-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]   .shortcut-action[_ngcontent-%COMP%]   .shortcut-image[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:3rem;color:#ce9705}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]   .shortcut-action[_ngcontent-%COMP%]   .shortcut-text[_ngcontent-%COMP%]{width:100%;text-align:center}.modal-body[_ngcontent-%COMP%]   .shortcuts[_ngcontent-%COMP%]   .shortcut-action[_ngcontent-%COMP%]   .shortcut-text[_ngcontent-%COMP%]   .shortcut-title[_ngcontent-%COMP%]{font-size:1rem;text-transform:uppercase;letter-spacing:.1px;font-weight:700}.clear[_ngcontent-%COMP%]{clear:both}.delay-3[_ngcontent-%COMP%]{-webkit-animation-delay:.1s;animation-delay:.1s}.close-shortcuts[_ngcontent-%COMP%]{position:absolute;right:19px;top:20px;font-size:2rem;color:#ed3d53}"]],data:{}});function v(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"img",[["src","assets/images/breakfast.png"]],null,null,null,null,null))],null,null)}function y(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"img",[["src","assets/images/lunch.png"]],null,null,null,null,null))],null,null)}function b(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"img",[["src","assets/images/dinner.png"]],null,null,null,null,null))],null,null)}function _(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,"img",[["src","assets/images/mejdinno.png"]],null,null,null,null,null))],null,null)}function w(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,13,"div",[["class","shortcut-action animated fadeIn delay-3"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClickMeal(t.context.$implicit)&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,8,"div",[["class","shortcut-image"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,v)),i["\u0275did"](3,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,y)),i["\u0275did"](5,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,b)),i["\u0275did"](7,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,_)),i["\u0275did"](9,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](10,0,null,null,2,"div",[["class","shortcut-text"]],null,null,null,null,null)),(t()(),i["\u0275eld"](11,0,null,null,1,"h3",[["class","shortcut-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](12,null,["",""])),(t()(),i["\u0275eld"](13,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,3,0,n.isBreakfast(e.context.$implicit.title)),t(e,5,0,n.isLunch(e.context.$implicit.title)),t(e,7,0,n.isDinner(e.context.$implicit.title)),t(e,9,0,n.isSnack(e.context.$implicit.title))},function(t,e){t(e,12,0,e.context.$implicit.title)})}function C(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,7,"div",[["class","shortcut-action animated fadeIn delay-3"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClickBasicMealEvent("load_recipes")&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[["class","shortcut-image"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"i",[["class","ti-reload"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,3,"div",[["class","shortcut-text"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,2,"h3",[["class","shortcut-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](5,null,["",""])),i["\u0275ppd"](6,1),(t()(),i["\u0275eld"](7,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null))],null,function(t,e){var n=i["\u0275unv"](e,5,0,t(e,6,0,i["\u0275nov"](e.parent.parent,0),"load_recipes"));t(e,5,0,n)})}function x(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,36,"div",[["class","shortcuts"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,w)),i["\u0275did"](2,278528,null,0,r.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,C)),i["\u0275did"](4,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](5,0,null,null,7,"div",[["class","shortcut-action animated fadeIn delay-3"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClickBasicMealEvent("external_meals")&&i),i},null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"div",[["class","shortcut-image"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,0,"i",[["class","fa-th-list fa"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,3,"div",[["class","shortcut-text"]],null,null,null,null,null)),(t()(),i["\u0275eld"](9,0,null,null,2,"h3",[["class","shortcut-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](10,null,["",""])),i["\u0275ppd"](11,1),(t()(),i["\u0275eld"](12,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(t()(),i["\u0275eld"](13,0,null,null,7,"div",[["class","shortcut-action animated fadeIn delay-3"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClickBasicMealEvent("shopping_list")&&i),i},null,null)),(t()(),i["\u0275eld"](14,0,null,null,1,"div",[["class","shortcut-image"]],null,null,null,null,null)),(t()(),i["\u0275eld"](15,0,null,null,0,"i",[["class","mdi mdi-shopping"]],null,null,null,null,null)),(t()(),i["\u0275eld"](16,0,null,null,3,"div",[["class","shortcut-text"]],null,null,null,null,null)),(t()(),i["\u0275eld"](17,0,null,null,2,"h3",[["class","shortcut-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](18,null,[" "," "])),i["\u0275ppd"](19,1),(t()(),i["\u0275eld"](20,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(t()(),i["\u0275eld"](21,0,null,null,7,"div",[["class","shortcut-action animated fadeIn delay-3"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClickBasicMealEvent("diary_training")&&i),i},null,null)),(t()(),i["\u0275eld"](22,0,null,null,1,"div",[["class","shortcut-image"]],null,null,null,null,null)),(t()(),i["\u0275eld"](23,0,null,null,0,"i",[["class","mdi mdi-dumbbell"]],null,null,null,null,null)),(t()(),i["\u0275eld"](24,0,null,null,3,"div",[["class","shortcut-text"]],null,null,null,null,null)),(t()(),i["\u0275eld"](25,0,null,null,2,"h3",[["class","shortcut-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](26,null,[" "," "])),i["\u0275ppd"](27,1),(t()(),i["\u0275eld"](28,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(t()(),i["\u0275eld"](29,0,null,null,7,"div",[["class","shortcut-action animated fadeIn delay-3"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClickBasicMealEvent("daily_changes_activities")&&i),i},null,null)),(t()(),i["\u0275eld"](30,0,null,null,1,"div",[["class","shortcut-image"]],null,null,null,null,null)),(t()(),i["\u0275eld"](31,0,null,null,0,"i",[["class","mdi mdi-weight"]],null,null,null,null,null)),(t()(),i["\u0275eld"](32,0,null,null,3,"div",[["class","shortcut-text"]],null,null,null,null,null)),(t()(),i["\u0275eld"](33,0,null,null,2,"h3",[["class","shortcut-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](34,null,[" "," "])),i["\u0275ppd"](35,1),(t()(),i["\u0275eld"](36,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,2,0,n.currentlySelectedDailyMeal.meals),t(e,4,0,!1===n.hideAutoLoadRecipes)},function(t,e){var n=i["\u0275unv"](e,10,0,t(e,11,0,i["\u0275nov"](e.parent,0),"external_meals"));t(e,10,0,n);var r=i["\u0275unv"](e,18,0,t(e,19,0,i["\u0275nov"](e.parent,0),"shopping_list"));t(e,18,0,r);var o=i["\u0275unv"](e,26,0,t(e,27,0,i["\u0275nov"](e.parent,0),"diary_training"));t(e,26,0,o);var a=i["\u0275unv"](e,34,0,t(e,35,0,i["\u0275nov"](e.parent,0),"dashboard_extra_load_long"));t(e,34,0,a)})}function E(t){return i["\u0275vid"](0,[i["\u0275pid"](0,o.a,[a.a]),i["\u0275qud"](402653184,1,{wrapper:0}),(t()(),i["\u0275eld"](2,0,[[1,0],["wrapper",1]],null,6,"div",[["class","upgrade-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,5,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,2,"div",[["class","logo-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,0,"img",[["alt","agaia logo"],["class","logo"],["src","assets/images/logo.svg"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","close-shortcuts ti-close"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bsModalRef.hide()&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,x)),i["\u0275did"](8,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,8,0,e.component.currentlySelectedDailyMeal)},null)}function S(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-shortcuts",[],null,null,null,E,g)),i["\u0275did"](1,4308992,null,0,s.a,[l.a,u.a,c.a,d.a,p.a,h.a,f.a,m.n],null,null)],function(t,e){t(e,1,0)},null)}var O=i["\u0275ccf"]("app-shortcuts",s.a,S,{},{},[])},dC0D:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("mrSG"),r=n("FFOo");function o(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new a(t,e,n))}}var a=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.accumulator,this.seed,this.hasSeed))},t}(),s=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return i.d(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)},e}(r.a)},dCpw:function(t,e,n){"use strict";var i;n.d(e,"a",function(){return i}),function(t){t.ACTIVE="ACTIVE",t.PENDING="PENDING",t.CANCELLED="CANCELLED"}(i||(i={}))},dEwP:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("nkY7"),r=n("F/XL"),o=n("0/uQ"),a=n("Txjg");function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&Object(i.a)(t[1])?Object(o.a)(t[0]):Object(a.a)()(r.a.apply(void 0,t))}},dJTG:function(t,e,n){"use strict";var i=function(){return function(t,e){this.locale=t,this.name=e}}(),r=n("67Y/");n.d(e,"a",function(){return o});var o=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.getCountries=function(){return this.httpClient.get(this.constants.apiURL()+"/user/countries").pipe(Object(r.a)(function(t){return Object.keys(t).map(function(e){return new i(e,t[e])})}))},t}()},dzgT:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("mrSG"),r=n("nkY7"),o=n("isby"),a=n("MGBS"),s=n("zotm"),l=n("IUTb"),u={};function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,i=null;return Object(r.a)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(o.a)(t[0])&&(t=t[0]),Object(l.a)(t,i).lift(new d(n))}var d=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.resultSelector))},t}(),p=function(t){function e(e,n){var i=t.call(this,e)||this;return i.resultSelector=n,i.active=0,i.values=[],i.observables=[],i}return i.d(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=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++){var i=t[n];this.add(Object(s.a)(this,i,i,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.values,a=this.toRespond?o[n]===u?--this.toRespond:this.toRespond:0;o[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(a.a)},e2w6:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){for(var e=[],n=97;n<=122;n++)e.push(n);for(var i=[];i.length<t;)i.push(String.fromCharCode(e[Math.floor(Math.random()*e.length)]));return i.join("")}},"eK/2":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("g88A"),r=function(){function t(){this.productionApiURL="https://api.agaia.life",this.productionDataApiURL="https://data.agaia.life",this.testApiURL="http://localhost:8000",this.defaultLanguage=i.a.Bulgarian,this.defaultDateFormat="dd/MM/yyyy",this.defaultDateTimeFormat="dd/MM/yyyy HH:mm",this.defaultAPIDateFormat="yyyy-MM-dd",this.stripePublicKey="pk_test_N011wmNiUa5o1Fo0BrShYEsM",this.hyperWalletScriptWebsite="https://sandbox.hyperwallet.com",this.productionImagesUrl="https://files.agaia.life"}return t.prototype.apiURL=function(){return"localhost"===window.location.hostname?this.testApiURL:this.productionApiURL},t.prototype.recipeURL=function(){return window,this.productionApiURL+"/diary/recipes-new/"},t.prototype.dataURL=function(){return window,this.productionDataApiURL},t.prototype.imagesUrl=function(){return this.productionImagesUrl},t}()},ehRC:function(t,e,n){"use strict";var i=n("DtyJ");n.d(e,"a",function(){return r});var r=function(){function t(){this.tooltipChanged=new i.a,this.tooltipVisibilityChanged=new i.a,this.tooltipElementChanged=new i.a,this.tooltipDirectiveInitialized=new i.a,this.tooltipChanged$=this.tooltipChanged.asObservable(),this.tooltipVisibilityChanged$=this.tooltipVisibilityChanged.asObservable(),this.tooltipElementChanged$=this.tooltipElementChanged.asObservable(),this.tooltipDirectiveInitialized$=this.tooltipDirectiveInitialized.asObservable()}return t.prototype.broadcastTooltipChanged=function(t){this.tooltipChanged.next(t)},t.prototype.broadcastTooltipVisibilityChanged=function(t){this.tooltipVisibilityChanged.next(t)},t.prototype.broadcastTooltipElementChanged=function(t){this.tooltipElementChanged.next(t)},t.prototype.broadcastTooltipDirectiveInitialized=function(){this.tooltipDirectiveInitialized.next()},t}()},eihs:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i={e:{}}},evrj:function(t,e,n){var i=n("m4GZ");t.exports=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(i(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 i(e)}}},g2VT:function(t){t.exports={abbreviation_gram:"\u0433\u0440.",activity:"\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u0430 \u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442 (\u0438\u0437\u043a\u043b\u044e\u0447\u0432\u0430 \u0441\u043f\u043e\u0440\u0442\u043d\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442)",add:"\u0414\u043e\u0431\u0430\u0432\u0438",add_recipes:"\u0414\u043e\u0431\u0430\u0432\u0435\u0442\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438",age:"\u0412\u044a\u0437\u0440\u0430\u0441\u0442",and:"\u0438",are_you_sure_mark_as_eaten:"\u0421\u0438\u0433\u0443\u0440\u043d\u0438 \u043b\u0438 \u0441\u0442\u0435, \u0447\u0435 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u0430\u0442\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0435\u0442\u043e \u043a\u0430\u0442\u043e \u0438\u0437\u044f\u0434\u0435\u043d\u043e?",are_you_sure_unmark_as_eaten:"\u0421\u0438\u0433\u0443\u0440\u043d\u0438 \u043b\u0438 \u0441\u0442\u0435, \u0447\u0435 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u0430\u0442\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0435\u0442\u043e \u043a\u0430\u0442\u043e \u043d\u0435\u0438\u0437\u044f\u0434\u0435\u043d\u043e?",auth_already_have_an_account:"\u0412\u0435\u0447\u0435 \u0438\u043c\u0430\u0442\u0435 \u043f\u0440\u043e\u0444\u0438\u043b?",auth_dont_have_account:"\u041d\u044f\u043c\u0430\u0442\u0435 \u043f\u0440\u043e\u0444\u0438\u043b?",auth_email:"\u0418\u043c\u0435\u0439\u043b",auth_err_enter_a_password:"\u041c\u043e\u043b\u044f, \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u0430",auth_err_password_too_short:"\u041f\u0430\u0440\u043e\u043b\u0430\u0442\u0430 \u0435 \u043f\u0440\u0435\u043a\u0430\u043b\u0435\u043d\u043e \u043a\u0440\u0430\u0442\u043a\u0430",auth_err_passwords_mismatch:"\u041f\u0430\u0440\u043e\u043b\u0438\u0442\u0435 \u043d\u0435 \u0441\u044a\u0432\u043f\u0430\u0434\u0430\u0442",auth_err_repeat_password:"\u041c\u043e\u043b\u044f, \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u0430\u0442\u0430 \u0441\u0438",auth_forgot_password:"\u0417\u0430\u0431\u0440\u0430\u0432\u0435\u043d\u0430 \u043f\u0430\u0440\u043e\u043b\u0430?",auth_invalid_credentials:"\u041d\u0435\u0432\u0430\u043b\u0438\u0434\u0435\u043d \u0438\u043c\u0435\u0439\u043b \u0438\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u0430!",auth_login_title:"\u0417\u0434\u0440\u0430\u0432\u0435\u0439\u0442\u0435! \u0414\u0430 \u0437\u0430\u043f\u043e\u0447\u0432\u0430\u043c\u0435!",auth_password:"\u041f\u0430\u0440\u043e\u043b\u0430",auth_register_text:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u0435 \u043b\u0435\u0441\u043d\u0430, \u043e\u0442\u043d\u0435\u043c\u0430 \u0441\u0430\u043c\u043e \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0442\u044a\u043f\u043a\u0438",auth_register_title:"\u041d\u044f\u043c\u0430\u0448 \u043f\u0440\u043e\u0444\u0438\u043b?",auth_repeat_password:"\u041f\u043e\u0432\u0442\u043e\u0440\u0435\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u0430\u0442\u0430",auth_sign_in:"\u0412\u0445\u043e\u0434",auth_sign_up:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f",back:"\u041d\u0430\u0437\u0430\u0434",body:"\u0422\u044f\u043b\u043e",body_type:"\u0422\u0438\u043f \u043d\u0430 \u0442\u044f\u043b\u043e\u0442\u043e",calories:"\u041a\u0430\u043b\u043e\u0440\u0438\u0438",cancel:"\u041e\u0442\u043a\u0430\u0437",cancel_payment:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435\u0442\u043e \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e!",cancel_payment_description:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435\u0442\u043e \u0412\u0438 \u0435 \u043f\u0440\u0435\u043a\u044a\u0441\u043d\u0430\u0442\u043e!",carbs:"\u0412\u044a\u0433\u043b\u0435\u0445\u0438\u0434\u0440\u0430\u0442\u0438",choose:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",continue_to_payment:"\u041a\u044a\u043c \u043f\u043b\u0430\u0449\u0430\u043d\u0435\u0442\u043e",countries:"\u0414\u044a\u0440\u0436\u0430\u0432\u0438",country:"\u0414\u044a\u0440\u0436\u0430\u0432\u0430",create:"\u0421\u044a\u0437\u0434\u0430\u0439",daily_meals:"\u0414\u043d\u0435\u0432\u043d\u043e \u043c\u0435\u043d\u044e \u043e\u0442",dashboard:"\u041d\u0430\u0447\u0430\u043b\u043e",date:"\u0414\u0430\u0442\u0430",diet:"\u0425\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u043d\u0438\u044f",done:"\u0413\u043e\u0442\u043e\u0432\u043e",DOWN:"\u041e\u0442\u0441\u043b\u0430\u0431\u0432\u0430\u043d\u0435",enter_first_name:"\u0412\u0430\u0448\u0435\u0442\u043e \u043f\u044a\u0440\u0432\u043e \u0438\u043c\u0435",enter_surname:"\u0412\u0430\u0448\u0430\u0442\u0430 \u0444\u0430\u043c\u0438\u043b\u0438\u044f",enter_weight:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0442\u0435\u0433\u043b\u043e",error:"\u0413\u0440\u0435\u0448\u043a\u0430",fats:"\u041c\u0430\u0437\u043d\u0438\u043d\u0438",female:"\u0416\u0435\u043d\u0430",finish:"\u0424\u0438\u043d\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f",first_name:"\u0418\u043c\u0435",friday:"\u041f\u0435\u0442\u044a\u043a",gender:"\u041f\u043e\u043b",home_btn:"\u041d\u0430\u0447\u0430\u043b\u043e",hour:"\u0447.",hours:"\u0447.",information:"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",invoice_status_cancelled:"\u041e\u0442\u043a\u0430\u0437\u0430\u043d\u0430",invoice_status_paid:"\u041f\u043b\u0430\u0442\u0435\u043d\u0430",invoice_status_pending:"\u0418\u0437\u0447\u0430\u043a\u0432\u0430\u0449\u0430",invoices:"\u0410\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442",KEEP:"\u041f\u043e\u0434\u0434\u044a\u0440\u0436\u0430\u043d\u0435 \u043d\u0430 \u0442\u0435\u0433\u043b\u043e\u0442\u043e",logout:"\u0418\u0437\u0445\u043e\u0434",macros:"\u041c\u0430\u043a\u0440\u043e\u0441\u0438",male:"\u041c\u044a\u0436",meals_change_meal_are_you_sure:"\u0421\u0438\u0433\u0443\u0440\u043d\u0438 \u043b\u0438 \u0441\u0442\u0435?",minute:"\u043c\u0438\u043d.",minutes:"\u043c\u0438\u043d.",monday:"\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a",monthly:"\u041c\u0435\u0441\u0435\u0447\u043d\u043e",next:"\u041d\u0430\u043f\u0440\u0435\u0434",or:"\u0438\u043b\u0438",payment:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435",personal_info:"\u041b\u0438\u0447\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",plan:"\u041f\u043b\u0430\u043d",price_amount:"\u0421\u0443\u043c\u0430",pricing_start_now:"\u0417\u0430\u043f\u043e\u0447\u043d\u0435\u0442\u0435 \u0441\u0435\u0433\u0430",pricing_start_today:"\u0417\u0430\u043f\u043e\u0447\u043d\u0435\u0442\u0435 \u0434\u043d\u0435\u0441!",profile_ready:"\u041f\u0440\u043e\u0444\u0438\u043b\u044a\u0442 \u0412\u0438 \u0435 \u0433\u043e\u0442\u043e\u0432!",proteins:"\u041f\u0440\u043e\u0442\u0435\u0438\u043d\u0438",saturday:"\u0421\u044a\u0431\u043e\u0442\u0430",save:"\u0417\u0430\u043f\u0430\u0437\u0438",search:"\u0422\u044a\u0440\u0441\u0435\u043d\u0435",second:"\u0441\u0435\u043a\u0443\u043d\u0434\u0430",seconds:"\u0441\u0435\u043a\u0443\u043d\u0434\u0438",server_err_something_went_wrong:"\u041d\u0435\u0449\u043e \u0441\u0435 \u043e\u0431\u044a\u0440\u043a\u0430, \u043c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e!",auth_keep_me_signed_in:"\u0417\u0430\u043f\u043e\u043c\u043d\u0438 \u043c\u0435",auth_sign_in_facebook:"\u0412\u0445\u043e\u0434 / \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0441 Facebook",no_diet_chosen:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435 (\u0432\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438)",settings:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438",settings_practice_sports_switch:"\u0421\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0435 \u043b\u0438?",settings_profile_updated_successfully:"\u041f\u0440\u043e\u0444\u0438\u043b\u044a\u0442 \u0412\u0438 \u0431\u0435\u0448\u0435 \u043e\u0431\u043d\u043e\u0432\u0435\u043d \u0443\u0441\u043f\u0435\u0448\u043d\u043e!",status:"\u0421\u0442\u0430\u0442\u0443\u0441",success:"\u0423\u0441\u043f\u0435\u0445",successful_payment:"\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043b\u0430\u0449\u0430\u043d\u0435!",sunday:"\u041d\u0435\u0434\u0435\u043b\u044f",surname:"\u0424\u0430\u043c\u0438\u043b\u0438\u044f",thursday:"\u0427\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a",training_activity:"\u0422\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438",training_days:"\u0414\u043d\u0438 \u043d\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430",training_duration:"\u041f\u0440\u043e\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e\u0441\u0442 \u043d\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430\u0442\u0430 (\u0441\u0430\u043c\u043e \u0430\u043a\u0442\u0438\u0432\u043d\u0430\u0442\u0430 \u0447\u0430\u0441\u0442)",training_target:"\u0426\u0435\u043b",trainings_count:"\u0422\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438 \u0441\u0435\u0434\u043c\u0438\u0447\u043d\u043e",tuesday:"\u0412\u0442\u043e\u0440\u043d\u0438\u043a",warning:"\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435",wednesday:"\u0421\u0440\u044f\u0434\u0430",weight:"\u0422\u0435\u0433\u043b\u043e",yearly:"\u0413\u043e\u0434\u0438\u0448\u043d\u043e",welcome_email_subject:"\u0414\u043e\u0431\u0440\u0435 \u0434\u043e\u0448\u043b\u0438 \u0432 Agaia Life",welcome_email_title:"\u0414\u043e\u0431\u0440\u0435 \u0434\u043e\u0448\u043b\u0438 \u0432 Agaia Life",welcome_email_small_subject:"\u041a\u043e\u0438 \u0441\u043c\u0435 \u043d\u0438\u0435?",welcome_email_btn_title:"\u041a\u044a\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u0430 \u043c\u0438",welcome_email_problem_or_question_title:"\u0418\u043c\u0430\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u043b\u0438 \u0432\u044a\u043f\u0440\u043e\u0441?",invoice_email_successful_subject:"\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043b\u0430\u0449\u0430\u043d\u0435",invoice_email_failed_subject:"\u041d\u0435\u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043b\u0430\u0449\u0430\u043d\u0435",invoice_email_total_text:"\u041e\u0431\u0449\u043e:",invoice_email_view_in_browser:"\u041e\u0442\u0432\u043e\u0440\u0438 \u0444\u0430\u043a\u0442\u0443\u0440\u0430\u0442\u0430 \u0432 \u0441\u0430\u0439\u0442\u0430",active_part:"\u0430\u043a\u0442\u0438\u0432\u043d\u0430 \u0447\u0430\u0441\u0442",add_family_member:"\u0414\u043e\u0431\u0430\u0432\u0438 \u0447\u043b\u0435\u043d \u043d\u0430 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e\u0442\u043e",add_new_training:"\u0414\u043e\u0431\u0430\u0432\u0438 \u043d\u043e\u0432\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430",agree_to_the:"\u041f\u0440\u043e\u0447\u0435\u043b \u0441\u044a\u043c \u0438 \u0441\u044a\u043c \u0441\u044a\u0433\u043b\u0430\u0441\u0435\u043d \u0441",all_news:"\u0412\u0421\u0418\u0427\u041a\u0418 \u041d\u041e\u0412\u0418\u041d\u0418",all_recipes:"\u0412\u0421\u0418\u0427\u041a\u0418 \u0420\u0415\u0426\u0415\u041f\u0422\u0418",all_video:"\u0412\u0421\u0418\u0427\u041a\u0418 \u041a\u041b\u0418\u041f\u041e\u0412\u0415",allergens:"\u0410\u043b\u0435\u0440\u0433\u0435\u043d\u0438",auth_change_password:"\u041f\u0440\u043e\u043c\u044f\u043d\u0430 \u043d\u0430 \u043f\u0430\u0440\u043e\u043b\u0430\u0442\u0430",auth_err_email_doesnt_exists:"\u0418\u043c\u0435\u0439\u043b\u044a\u0442 \u043d\u0435 \u0441\u044a\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430!",auth_password_changed_successfully:"\u041f\u0430\u0440\u043e\u043b\u0430\u0442\u0430 \u0412\u0438 \u0431\u0435\u0448\u0435 \u043f\u0440\u043e\u043c\u0435\u043d\u0435\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e!",auth_reset_password:"\u0412\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u0438 \u043f\u0430\u0440\u043e\u043b\u0430\u0442\u0430",auth_reset_password_email_sent:"\u041b\u0438\u043d\u043a \u0437\u0430 \u0432\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435 \u0431\u0435\u0448\u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d \u0434\u043e \u043f\u043e\u0441\u043e\u0447\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u0439\u043b!",auth_reset_password_info:"\u041c\u043e\u043b\u044f, \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0438\u043c\u0435\u0439\u043b, \u043d\u0430 \u043a\u043e\u0439\u0442\u043e \u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043b\u0438\u043d\u043a \u0437\u0430 \u0432\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u0430\u0440\u043e\u043b\u0430\u0442\u0430 \u0441\u0438",auth_reset_token_expires:"\u041a\u043e\u0434\u044a\u0442 \u0437\u0430 \u0432\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435 \u0435 \u0438\u0437\u0442\u0435\u043a\u044a\u043b! \u041c\u043e\u043b\u044f, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0430\u0439\u0442\u0435 \u043d\u043e\u0432!",back_to_home:"\u041e\u0431\u0440\u0430\u0442\u043d\u043e \u043a\u044a\u043c \u043d\u0430\u0447\u0430\u043b\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",back_to_light_mode:"\u041e\u0431\u0440\u0430\u0442\u043d\u043e \u043a\u044a\u043c Light mode",BG:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",body_info_text:"\u0412\u0441\u0438\u0447\u043a\u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u0435\u043d\u0438 \u043f\u0440\u043e\u043c\u0435\u043d\u0438 \u0442\u0443\u043a \u0449\u0435 \u0441\u0435 \u043e\u0442\u0440\u0430\u0437\u044f\u0442 \u0432 \u0441\u0435\u043a\u0442\u043e\u0440 \u0425\u0440\u0430\u043d\u0435\u043d\u0435 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442, \u0432 \u043a\u043e\u0439\u0442\u043e \u043d\u044f\u043c\u0430 \u0438\u0437\u0431\u0440\u0430\u043d\u043e \u043c\u0435\u043d\u044e. \u0410\u043a\u043e \u043c\u0435\u043d\u044e\u0442\u043e \u0435 \u0432\u044a\u0432\u0435\u0434\u0435\u043d\u043e \u0437\u0430 \u0434\u043d\u0438 \u043d\u0430\u043f\u0440\u0435\u0434, \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u0449\u0435 \u0441\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u0441\u043b\u0435\u0434 \u0442\u043e\u0432\u0430.",br:"\u0431\u0440.",cancel_user_subscription_btn:"\u041f\u0440\u0435\u043a\u0440\u0430\u0442\u0438 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442\u0430",carb:"\u0412\u044a\u0433\u043b\u0435\u0445\u0438\u0434\u0440\u0430\u0442",categories:"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438",category:"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f",change:"\u041f\u0440\u043e\u043c\u0435\u043d\u0438",change_to:"\u0421\u043c\u0435\u043d\u0438 \u043d\u0430",chat:"\u0427\u0410\u0422",chat_with_operator:"\u0427\u0430\u0442 \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440",check_after_consume:"\u041e\u0442\u0431\u0435\u043b\u0435\u0436\u0435\u0442\u0435 \u0442\u0443\u043a \u0441\u043b\u0435\u0434 \u043a\u043e\u043d\u0441\u0443\u043c\u0430\u0446\u0438\u044f",choose_category:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f",chzv:"\u0412\u044a\u043f\u0440\u043e\u0441\u0438",contact_us:"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0438",currency:"\u043b\u0432.",DAY:"\u0414\u0415\u041d",delete_user_account:"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u0440\u043e\u0444\u0438\u043b",delete_user_account_btn:"\u0418\u0437\u0442\u0440\u0438\u0439 \u043c\u043e\u044f \u043f\u0440\u043e\u0444\u0438\u043b",delete_user_account_confirm:"\u0412\u0430\u0448\u0438\u044f\u0442 \u043f\u0440\u043e\u0444\u0438\u043b \u0449\u0435 \u0431\u044a\u0434\u0435 \u0438\u0437\u0442\u0440\u0438\u0442 \u0441\u043b\u0435\u0434 \u043f\u043e\u0442\u0432\u044a\u0440\u0436\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u0442\u043e\u0432\u0430 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435. \u0421\u0438\u0433\u0443\u0440\u043d\u0438 \u043b\u0438 \u0441\u0442\u0435?",pay_now:"\u041f\u043b\u0430\u0442\u0438 \u0441\u0435\u0433\u0430",paypal_email:"PayPal Email",training_info:"\u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442",UP:"\u041f\u043e\u043a\u0430\u0447\u0432\u0430\u043d\u0435 \u043d\u0430 \u043c\u0443\u0441\u043a\u0443\u043b\u043d\u0430 \u043c\u0430\u0441\u0430",cancel_user_subscription_text:"\u0421\u043b\u0435\u0434 \u043d\u0430\u0441\u0442\u0438\u043a\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u0431\u0443\u0442\u043e\u043d\u0430 \u043f\u043e-\u0434\u043e\u043b\u0443, \u0432\u0430\u0448\u0438\u044f\u0442 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442 \u0449\u0435 \u0431\u044a\u0434\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0435\u043d. \u0429\u0435 \u0438\u043c\u0430\u0442\u0435 \u0434\u043e\u0441\u0442\u044a\u043f \u0434\u043e \u043f\u0440\u043e\u0444\u0438\u043b\u0430 \u0441\u0438 \u0434\u043e \u0438\u0437\u0442\u0438\u0447\u0430\u043d\u0435 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u044f \u043f\u043b\u0430\u0442\u0435\u043d \u043f\u0435\u0440\u0438\u043e\u0434.",cancel_user_subscription_title:"\u041f\u0440\u0435\u043a\u0440\u0430\u0442\u0438 \u0438\u0437\u0431\u0440\u0430\u043d\u0438\u044f \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442",successful_payment_description:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435\u0442\u043e \u0412\u0438 \u0441\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0432\u0430!",beta_version:"7-\u0434\u043d\u0435\u0432\u0435\u043d \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u0435\u043d \u043f\u0435\u0440\u0438\u043e\u0434 \u0437\u0430 \u0432\u0441\u0438\u0447\u043a\u0438.",delete_user_account_title:"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u0440\u043e\u0444\u0438\u043b",DURATION:"\u041f\u0420\u041e\u0414\u042a\u041b\u0416\u0418\u0422\u0415\u041b\u041d\u041e\u0421\u0422",email_or_name:"E-Mail",EN:"English",enter_age:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0432\u044a\u0437\u0440\u0430\u0441\u0442",enter_height:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0432\u0438\u0441\u043e\u0447\u0438\u043d\u0430 (\u0441\u043c)",enter_new_referral_name:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u043d\u043e\u0442\u043e \u043e\u0442 \u0412\u0430\u0441 \u0440\u0435\u0444\u0435\u0440\u0430\u043b\u043d\u043e \u0438\u043c\u0435:",enter_paypal_email_here:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 paypal email \u0442\u0443\u043a ...",enter_value:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442:",enter_week_trainings:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0441\u0432\u043e\u0438\u0442\u0435 \u0441\u0435\u0434\u043c\u0438\u0447\u043d\u0438 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438",external_meals:"\u0412\u044a\u043d\u0448\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435",filter:"\u0424\u0438\u043b\u0442\u0440\u0438\u0440\u0430\u0439",filtering:"\u0424\u0438\u043b\u0442\u0440\u0438\u0440\u0430\u043d\u0435",first_steps:"\u041f\u044a\u0440\u0432\u0438 \u0441\u0442\u044a\u043f\u043a\u0438",free_subscription_1week_subject:"\u041d\u0430\u043f\u043e\u043c\u043d\u044f\u043d\u0435 \u043e\u0442 \u0410\u0433\u0430\u044f - \u0422\u0432\u043e\u0435\u0442\u043e \u043d\u043e\u0432\u043e \u0410\u0417",free_subscription_1week_title:"\u041d\u0430\u043f\u043e\u043c\u043d\u044f\u043d\u0435 \u043e\u0442 \u0410\u0433\u0430\u044f - \u0422\u0432\u043e\u0435\u0442\u043e \u043d\u043e\u0432\u043e \u0410\u0417",friends:"\u0421\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e",from:"\u041e\u0442:",gramaj:"\u0413\u0440\u0430\u043c\u0430\u0436",height:"\u0412\u0438\u0441\u043e\u0447\u0438\u043d\u0430 (\u0441\u043c)",hi:"\u0417\u0434\u0440\u0430\u0432\u0435\u0439",how_to_cook:"\u041a\u0430\u043a \u0441\u0435 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f?",info_percentage_title:"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0437\u0430 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0438\u0442\u0435",kol_br:"\u043a\u043e\u043b./\u0431\u0440.",language:"\u0415\u0437\u0438\u043a",load_more:"\u0417\u0430\u0440\u0435\u0434\u0438 \u043e\u0449\u0435",load_recipes:"\u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438",long_faq:"\u0412\u044a\u043f\u0440\u043e\u0441\u0438 \u0438 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438",long_faq_text:"\u041d\u0430\u0439-\u0447\u0435\u0441\u0442\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u043d\u0438\u0442\u0435 \u0432\u044a\u043f\u0440\u043e\u0441\u0438 \u0438 \u0442\u0435\u0445\u043d\u0438\u0442\u0435 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438 \u0441\u0430 \u0442\u0443\u043a.",mail_campaign:"\u041f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u043c\u0435\u0439\u043b \u043a\u0430\u043c\u043f\u0430\u043d\u0438\u0438",main_dishes:"\u041e\u0441\u043d\u043e\u0432\u043d\u0438 \u044f\u0441\u0442\u0438\u044f",meal_placeholder:"\u041d\u0430\u043f\u0438\u0448\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u0442\u0443\u043a",missing_page_text:"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0442\u0430, \u043a\u043e\u044f\u0442\u043e \u0441\u0435 \u043e\u043f\u0438\u0442\u0432\u0430\u0442\u0435 \u0434\u0430 \u0434\u043e\u0441\u0442\u044a\u043f\u0438\u0442\u0435 \u043d\u0435 \u0435 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u0430.",missing_page_title:"\u0413\u0420\u0415\u0428\u041a\u0410!",more_meals_text:"\u0414\u043e\u0431\u0430\u0432\u0435\u0442\u0435 \u043f\u043e\u0432\u0435\u0447\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0437\u0430 \u0434\u0435\u043d\u044f",new_recipes:"\u041d\u043e\u0432\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438",new_video:"\u041d\u043e\u0432\u043e \u0432\u0438\u0434\u0435\u043e",news:"\u041d\u043e\u0432\u0438\u043d\u0438",no_friends:"\u041d\u044f\u043c\u0430\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0435\u043d\u0438 \u0447\u043b\u0435\u043d\u043e\u0432\u0435 \u043a\u044a\u043c \u0432\u0430\u0448\u0435\u0442\u043e \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e",no_users_found:"\u041d\u044f\u043c\u0430 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438",not_found_transactions:"\u041f\u0440\u0430\u0437\u0435\u043d \u043f\u043e\u0440\u0442\u0444\u0435\u0439\u043b",delete_user_account_text:"\u0421\u044a\u0436\u0430\u043b\u044f\u0432\u0430\u043c\u0435, \u0447\u0435 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u0441\u0438 \u0442\u0440\u044a\u0433\u043d\u0435\u0442\u0435. \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u0412\u0438 \u043f\u043e\u043c\u043e\u0433\u043d\u0435\u043c \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0438\u0442\u043e \u0432\u0441\u0435 \u043f\u0430\u043a \u0449\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u044f\u0442 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0435\u043c\u0430 \u0437\u0430 \u0412\u0430\u0441? \u041d\u0443\u0436\u043d\u043e \u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043e \u0434\u0430 \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0437\u0435\u043b\u0435\u043d\u0438\u044f \u0431\u0443\u0442\u043e\u043d \u0437\u0430 \u0434\u0430 \u0441\u0435 \u043e\u043f\u0438\u0442\u0430\u043c\u0435 \u0434\u0430 \u0412\u0438 \u0431\u044a\u0434\u0435\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u0438.",delete_user_subscription_confirm:"\u0421\u0438\u0433\u0443\u0440\u043d\u0438 \u043b\u0438 \u0441\u0442\u0435, \u0447\u0435 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u0430\u0448\u0438\u044f \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442?",empty_trainings_error:"\u041c\u043e\u043b\u044f, \u043f\u043e\u043f\u044a\u043b\u043d\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043a\u0438 \u043f\u0440\u0430\u0437\u043d\u0438 \u043f\u043e\u043b\u0435\u0442\u0430!",info_percentage_text:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043a\u0430\u043a\u044a\u0432 \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u043e\u0442 \u043e\u0431\u0449\u0438\u0442\u0435 \u043a\u0430\u043b\u043e\u0440\u0438\u0438 \u0437\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0435\u0442\u043e \u0434\u0430 \u0441\u044a\u0441\u0442\u0430\u0432\u043b\u044f\u0432\u0430 \u0434\u0430\u0434\u0435\u043d\u0430\u0442\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430. \u0422\u0430\u043a\u0430, \u043c\u043e\u0436\u0435 \u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u043f\u043e\u0432\u0435\u0447\u0435 \u043e\u0442 \u0435\u0434\u043d\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430.",first_month:"\u043c\u0435\u0441\u0435\u0446",im_over_18:"\u0418\u043c\u0430\u043c \u043d\u0430\u0432\u044a\u0440\u0448\u0435\u043d\u0438 18 \u0433\u043e\u0434\u0438\u043d\u0438/\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0442 \u0440\u043e\u0434\u0438\u0442\u0435\u043b",no_results_found:'\u041f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0442\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0437\u0430 \u0432\u0430\u0448\u0438\u0442\u0435 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0438 \u0441\u0430 \u0438\u0437\u0447\u0435\u0440\u043f\u0430\u043d\u0438. \u0417\u0430 \u043e\u0449\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 "\u0425\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438" \u043e\u0442 "\u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438". \u041c\u043e\u0436\u0435, \u0441\u044a\u0449\u043e, \u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u043d\u043e\u0432\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430 \u0437\u0430 \u0434\u0435\u043d\u044f \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0449\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u044f\u043d\u0435 \u043d\u0430 \u0434\u043e\u043f\u044a\u043b\u043d\u0438\u0442\u0435\u043b\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435.',product:"\u041f\u0440\u043e\u0434\u0443\u043a\u0442",protein:"\u041f\u0440\u043e\u0442\u0435\u0438\u043d",quantity:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e",reduce_calories:"\u041d\u0430\u043c\u0430\u043b\u0435\u0442\u0435 \u043a\u0430\u043b\u043e\u0440\u0438\u0439\u043d\u0438\u044f \u043f\u0440\u0438\u0435\u043c \u043d\u0430 \u0435\u0434\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435",referral_link:"\u041b\u0438\u043d\u043a \u0437\u0430 \u043f\u043e\u043a\u0430\u043d\u0430",referrals:"\u041f\u0440\u0438\u0435\u043b\u0438 \u043f\u043e\u043a\u0430\u043d\u0430\u0442\u0430",reload:"\u041e\u0431\u043d\u043e\u0432\u0438",remove:"\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438",reset_password_btn_title:"\u0421\u041c\u042f\u041d\u0410 \u041d\u0410 \u041f\u0410\u0420\u041e\u041b\u0410",reset_password_problem_or_question:"\u0418\u043c\u0430\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u043b\u0438 \u0432\u044a\u043f\u0440\u043e\u0441?",reset_password_subject:"\u0412\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435 \u043d\u0430 \u0437\u0430\u0431\u0440\u0430\u0432\u0435\u043d\u0430 \u043f\u0430\u0440\u043e\u043b\u0430 \u0437\u0430 Agia.life",reset_password_title:"\u0417\u0430\u0431\u0440\u0430\u0432\u0435\u043d\u0430 \u041f\u0430\u0440\u043e\u043b\u0430",salads:"\u0421\u0430\u043b\u0430\u0442\u0438",shopping_list:"\u0421\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435",stats:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430",terms:"\u041e\u0431\u0449\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f",terms_and_conditions:"\u041e\u0431\u0449\u0438\u0442\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f",to:"\u0414\u043e:",TRAINING:"\u0422\u0420\u0415\u041d\u0418\u0420\u041e\u0412\u041a\u0410",transaction_failed:"\u0412 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\u0442\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u0438\u0437\u0432\u044a\u0440\u0448\u0435\u043d\u0430. \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e!",try_dark_mode:"\u041f\u0440\u043e\u0431\u0432\u0430\u0439 Dark mode",wallet:"\u041f\u043e\u0440\u0442\u0444\u0435\u0439\u043b",website_30days_title:"\u0411\u0435\u0437\u043f\u043b\u0430\u0442\u0435\u043d \u043f\u0435\u0440\u0438\u043e\u0434",website_better_version:"\u0422\u0432\u043e\u044f\u0442\u0430 \u043d\u0430\u0439-\u0434\u043e\u0431\u0440\u0430 \u0432\u0435\u0440\u0441\u0438\u044f",website_eat_cool:"\u0425\u0430\u043f\u0432\u0430\u0439 \u0432\u043a\u0443\u0441\u043d\u043e",website_eat_cool_text:"\u0418\u0437\u0431\u0435\u0440\u0438 \u0441\u0438 \u043b\u044e\u0431\u0438\u043c\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0438 \u0441\u0435 \u043d\u0430\u0441\u043b\u0430\u0434\u0438 \u043d\u0430 \u0432\u043a\u0443\u0441\u0430 \u0438\u043c",website_faq:"\u0412\u042a\u041f\u0420\u041e\u0421\u0418 & \u041e\u0422\u0413\u041e\u0412\u041e\u0420\u0418",website_free:"\u0411\u0415\u0417\u041f\u041b\u0410\u0422\u041d\u041e",website_free_in_first_month:"\u043f\u044a\u0440\u0432\u0438\u0442\u0435 7 \u0434\u043e 21 \u0434\u043d\u0438.",website_gender_age_activity:"\u041f\u043e\u043b, \u0432\u044a\u0437\u0440\u0430\u0441\u0442, \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438",website_home:"\u041d\u0410\u0427\u0410\u041b\u041e",website_how_works:"\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0438",website_meals_adventure:"\u041f\u0440\u0438\u0433\u043e\u0442\u0432\u0438 \u0441\u0435 \u0437\u0430 \u043a\u0443\u043b\u0438\u043d\u0430\u0440\u043d\u043e \u043f\u0440\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435",website_navbar_free:"\u0411\u0415\u0417\u041f\u041b\u0410\u0422\u041d\u041e",website_postoqnen:"\u0411\u044a\u0434\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u0435\u043d",website_postoqnen_text:"\u041d\u0430\u0431\u043b\u044e\u0434\u0430\u0432\u0430\u0439 \u043a\u0430\u043a \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0448 \u043d\u0430\u0439-\u0434\u043e\u0431\u0440\u0430\u0442\u0430 \u0441\u0438 \u0432\u0435\u0440\u0441\u0438\u044f",website_register_now:"\u0420\u0415\u0413\u0418\u0421\u0422\u0420\u0418\u0420\u0410\u0419 \u0421\u0415",website_start:"\u0417\u0410\u041f\u041e\u0427\u041d\u0418",website_steps:"\u0421\u0422\u042a\u041f\u041a\u0418",website_unique_helper:"\u041d\u0438\u0435 \u0441\u043c\u0435 \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a",without_subscription_remainder_btn_title:"\u041f\u0440\u043e\u0434\u044a\u043b\u0436\u0438 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442\u0430 \u0441\u0438",website_unique_helper_text:"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438 \u0441\u0438, \u0447\u0435 \u043c\u043e\u0436\u0435\u0448 \u0434\u0430 \u0441\u0435 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0448 \u043d\u0430 \u0442\u0432\u043e\u0438\u0442\u0435 \u043b\u044e\u0431\u0438\u043c\u0438 \u0432\u043a\u0443\u0441\u043e\u0432\u0435, \u043f\u043e\u0434 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043d\u0430 \u0441\u0442\u043e\u0442\u0438\u0446\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438. \u041d\u0435\u0449\u043e \u043f\u043e\u0432\u0435\u0447\u0435 - \u0442\u0435\u0437\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0438\u0437\u043a\u043b\u044e\u0447\u0432\u0430\u0442 \u0432\u0441\u0438\u0447\u043a\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438, \u043a\u043e\u0438\u0442\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0448 \u0438\u043b\u0438 \u043d\u0435 \u0438\u0441\u043a\u0430\u0448 \u0434\u0430 \u043a\u043e\u043d\u0441\u0443\u043c\u0438\u0440\u0430\u0448. \u0414\u043e\u0440\u0438 \u043e\u0449\u0435 - \u043f\u043e\u0440\u0446\u0438\u0438\u0442\u0435 \u0441\u0430 \u043a\u0430\u043b\u043a\u0443\u043b\u0438\u0440\u0430\u043d\u0438 \u0442\u0430\u043a\u0430, \u0447\u0435 \u0434\u0430 \u0442\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u044f\u0442 \u043f\u0435\u0440\u0444\u0435\u043a\u0442\u043d\u0438\u044f \u0431\u0430\u043b\u0430\u043d\u0441 \u043a\u0430\u043a\u0442\u043e \u0432 \u0447\u0438\u043d\u0438\u044f\u0442\u0430, \u0442\u0430\u043a\u0430 \u0438 \u0441\u0438\u0442\u043e\u0441\u0442. \u0421\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0448 \u0430\u043a\u0442\u0438\u0432\u043d\u043e? \u041e\u0447\u0430\u043a\u0432\u0430 \u0442\u0435 \u043e\u0449\u0435 \u043f\u043e-\u0433\u043e\u043b\u044f\u043c\u0430 \u0438\u0437\u043d\u0435\u043d\u0430\u0434\u0430 - \u0432 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u044a\u0447\u043d\u0438\u0442\u0435 \u0434\u043d\u0438 \u0449\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0434\u043e\u0440\u0438 \u043e\u0449\u0435 \u043f\u043e\u0432\u0435\u0447\u0435, \u043f\u0440\u0438\u043b\u0435\u0436\u043d\u043e \u043a\u0430\u043b\u043a\u0443\u043b\u0438\u0440\u0430\u043d\u043e \u0442\u0430\u043a\u0430, \u0447\u0435 \u0434\u0430 \u043d\u0430\u0432\u0430\u043a\u0441\u0430\u0448 \u0437\u0430\u0433\u0443\u0431\u0438\u0442\u0435 \u043d\u0430 \u0446\u0435\u043d\u043d\u0438\u0442\u0435 \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430 \u043e\u0442 \u0442\u044f\u043b\u043e\u0442\u043e \u0442\u0438 \u0438 \u0434\u0430 \u0441\u0435 \u0432\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0448 \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e.",website_what_doing:"\u041a\u0410\u041a\u0412\u041e \u041f\u0420\u0410\u0412\u0418\u041c?",website_you_know:"\u0417\u043d\u0430\u0435\u0442\u0435 \u043b\u0438 \u0447\u0435...?",profile_settings:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0430 \u043f\u0440\u043e\u0444\u0438\u043b\u0430",profile_settings_text:"\u0417\u0430 \u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u043e-\u0442\u043e\u0447\u043d\u0438 \u0438\u0437\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f, \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0441\u0435\u0434\u043c\u0438\u0447\u043d\u0438\u0442\u0435 \u0441\u0438 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438",website_intro_text:"\u041c\u0435\u0447\u0442\u0430\u043d\u0430\u0442\u0430 \u0434\u0438\u0435\u0442\u0430 \u0435 \u0442\u0430\u0437\u0438 \u0431\u0435\u0437 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0432 \u0438\u0437\u0431\u043e\u0440\u0430 \u043d\u0430 \u0445\u0440\u0430\u043d\u0438!  \u0421 \u0410\u0433\u0430\u044f \u0442\u043e\u0432\u0430 \u0432\u0435\u0447\u0435 \u0435 \u0432\u044a\u0437\u043c\u043e\u0436\u043d\u043e.",website_title:"Agaia.life - \u0414\u0438\u0435\u0442\u0430 \u0431\u0435\u0437 \u0434\u0438\u0435\u0442\u0430",website_how_works_text:"\u041e\u0449\u0435 \u0432 \u0441\u0430\u043c\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441 \u043d\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043c\u0435 \u0437\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0430 \u043d\u0430 \u043a\u043e\u044f\u0442\u043e \u043d\u0430\u0448\u0438\u0442\u0435 \u0441\u043b\u043e\u0436\u043d\u0438 \u0438\u0437\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u043d\u0438 \u043c\u0430\u0448\u0438\u043d\u0438 \u0434\u0430 \u0441\u0442\u044a\u043f\u044f\u0442 - \u0442\u0432\u043e\u0435\u0442\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u043d\u043e \u0410\u0417. \u041f\u043e\u043d\u0435\u0436\u0435 \u0442\u0430\u0437\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043d\u0435 \u0441\u0442\u0438\u0433\u0430 - \u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043c\u0435 \u0438 \u0437\u0430 \u0442\u0432\u043e\u0435\u0442\u043e \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u0438\u0435 \u0438 \u0441\u043f\u043e\u0440\u0442\u043d\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438. \u041d\u0430 \u0431\u0430\u0437\u0430 \u043d\u0430 \u0442\u0432\u043e\u0438\u0442\u0435 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u043d\u0438 \u0434\u0430\u043d\u043d\u0438 \u0438 \u0441\u0432\u0435\u0442\u043e\u0432\u043d\u0430, \u043d\u0430\u0443\u0447\u043d\u043e \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u0430 \u0438 \u043b\u0438\u0447\u043d\u0438\u0442\u0435 \u0442\u0438 \u0446\u0435\u043b\u0438, \u043d\u0438\u0435 \u0441\u043c\u0435 \u0432 \u0441\u044a\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u043a\u0430\u043a \u0434\u0430 \u0441\u0435 \u0445\u0440\u0430\u043d\u0438\u0448 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u043d\u043e \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0438 \u0432 \u0441\u044a\u0449\u043e\u0442\u043e \u0432\u0440\u0435\u043c\u0435 \u0432\u043a\u0443\u0441\u043d\u043e.",website_your_profile:"\u0422\u0412\u041e\u042f\u0422 \u041f\u0420\u041e\u0424\u0418\u041b",weekly_trainings:"\u0422\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u0440\u0435\u0437 \u0441\u0435\u0434\u043c\u0438\u0446\u0430\u0442\u0430",whats_new:"\u041a\u0430\u043a\u0432\u043e \u043d\u043e\u0432\u043e \u043f\u0440\u0438 \u043d\u0430\u0441",without_subscription_remainder_subject:"\u041d\u0430\u043f\u043e\u043c\u043d\u044f\u043d\u0435 \u043e\u0442 \u0410\u0433\u0430\u044f - \u0422\u0432\u043e\u0435\u0442\u043e \u043d\u043e\u0432\u043e \u0410\u0417",without_subscription_remainder_title:"\u041d\u0430\u043f\u043e\u043c\u043d\u044f\u043d\u0435 \u043e\u0442 \u0410\u0433\u0430\u044f - \u0422\u0432\u043e\u0435\u0442\u043e \u043d\u043e\u0432\u043e \u0410\u0417",whats_going_to_cook_today:"\u041c\u043e\u044f\u0442 \u0434\u043d\u0435\u0432\u043d\u0438\u043a",to_date:"\u0414\u043e \u0414\u0430\u0442\u0430",prices_index_soon:"- \u0441\u043a\u043e\u0440\u043e -",prices_index_personmeals:"\u043f\u0440\u0438 \u0433\u043e\u0434\u0438\u0448\u0435\u043d \u043f\u043b\u0430\u043d",prices_index_shoplist4all:"\u0440\u0430\u0437\u0448\u0438\u0440\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0440\u044a\u0436\u043a\u0430",site_footer_policy:"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0437\u0430 \u0432\u0440\u044a\u0449\u0430\u043d\u0435",uncomplete_signup:"\u041d\u0435\u0437\u0430\u0432\u044a\u0440\u0448\u0435\u043d\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f",signups:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438",paid:"\u041f\u043b\u0430\u0442\u0435\u043d\u0438",current_amount:"\u0422\u0435\u043a\u0443\u0449\u0430 \u0441\u0443\u043c\u0430",paid_amount:"\u0418\u0437\u043f\u043b\u0430\u0442\u0435\u043d\u0430 \u0441\u0443\u043c\u0430",water:"\u0412\u043e\u0434\u0430",meals:"\u0414\u043d\u0435\u0432\u043d\u0438\u043a",food_settings:"\u0425\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438",filter_recipes:"\u0424\u0438\u043b\u0442\u0440\u0438\u0440\u0430\u0439 \u0440\u0435\u0446\u0435\u043f\u0442\u0438\u0442\u0435",site_agaia_is:"\u0410\u0433\u0430\u044f \u0435..",site_what_doing:"\u041a\u0410\u041a\u0412\u041e \u0422\u041e\u0427\u041d\u041e \u041f\u0420\u0410\u0412\u0418\u041c",site_set_target:"\u041f\u041e\u0421\u0422\u0410\u0412\u0415\u0422\u0415 \u0421\u0418 \u0426\u0415\u041b",site_menu_contact:"\u041a\u041e\u041d\u0422\u0410\u041a\u0422\u0418",site_welcome_big_title:"\u0414\u0438\u0435\u0442\u0430 \u0431\u0435\u0437 \u0434\u0438\u0435\u0442\u0430!",site_footer_terms:"\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u0437\u0430 \u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435",site_welcome_small_title:"\u041c\u0435\u0447\u0442\u0430\u043d\u0430\u0442\u0430 \u0434\u0438\u0435\u0442\u0430 \u0435 \u0442\u0430\u0437\u0438 \u0431\u0435\u0437 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0432 \u0438\u0437\u0431\u043e\u0440\u0430 \u043d\u0430 \u0445\u0440\u0430\u043d\u0438! \u0421 \u0410\u0433\u0430\u044f \u0442\u043e\u0432\u0430 \u0435 \u0432\u0435\u0447\u0435 \u0432\u044a\u0437\u043c\u043e\u0436\u043d\u043e.",site_register:"\u0412\u0445\u043e\u0434 / \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f",site_what_doing_text:"\u041d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043c \u0432\u0441\u0438\u0447\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0438 \u0438\u0437\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0437\u0430 \u0434\u0430 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0435\u0442\u0435 \u0431\u044a\u0440\u0437\u043e \u0434\u043e \u043c\u0435\u0447\u0442\u0430\u043d\u0430\u0442\u0430 \u0444\u043e\u0440\u043c\u0430.",site_agaia_is_text:"\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f, \u043a\u043e\u044f\u0442\u043e \u0412\u0438 \u0434\u0430\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430 \u0434\u0430 \u0438\u0437\u0433\u043b\u0435\u0436\u0434\u0430\u0442\u0435 \u0438 \u0434\u0430 \u0441\u0435 \u0447\u0443\u0432\u0441\u0442\u0432\u0430\u0442\u0435 \u043c\u043d\u043e\u0433\u043e \u043f\u043e-\u0434\u043e\u0431\u0440\u0435 \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043e\u0442\u043e \u0441\u0438 \u0442\u044f\u043b\u043e \u0431\u0435\u0437 \u0434\u0430 \u0412\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0430\u0432\u0430 \u0432 \u0445\u0440\u0430\u043d\u0435\u043d\u0435\u0442\u043e.",site_find_your_food:"\u041e\u0422\u041a\u0420\u0418\u0419\u0422\u0415 \u0412\u0410\u0428\u0410\u0422\u0410 \u0425\u0420\u0410\u041d\u0410",site_first_steps:"\u041f\u044a\u0440\u0432\u0438 \u0441\u0442\u044a\u043f\u043a\u0438 \u0432 \u0410\u0433\u0430\u044f",site_activity:"\u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438",site_more_about_signup:"\u041f\u043e\u0432\u0435\u0447\u0435 \u0437\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f\u0442\u0430",site_video_demo_text:"\u0412\u0438\u0436\u0442\u0435 \u0432\u0438\u0434\u0435\u043e \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0442\u0438\u0447\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u0432 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043d\u0438.",site_start_video:"\u041f\u0443\u0441\u043d\u0438 \u0432\u0438\u0434\u0435\u043e",site_subscription:"\u0410\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442",site_subscription_text:"\u041d\u0430\u0448\u0438\u0442\u0435 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442\u043d\u0438 \u043f\u043b\u0430\u043d\u043e\u0432\u0435 \u0437\u0430 \u0442\u0435\u0431<br/>\u0438 \u0442\u0432\u043e\u0435\u0442\u043e \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e.",site_try_free_now:"\u041f\u0440\u043e\u0431\u0432\u0430\u0439 \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u043d\u043e \u0441\u0435\u0433\u0430",site_free_test:"\u0431\u0435\u0437\u043f\u043b\u0430\u0442\u0435\u043d \u0442\u0435\u0441\u0442",site_news:"\u041d\u043e\u0432\u0438\u043d\u0438 \u043e\u0442 \u0410\u0433\u0430\u044f",site_dont_miss_anything:"\u041d\u0435 \u0438\u0437\u043f\u0443\u0441\u043a\u0430\u0439 \u043d\u0438\u0449\u043e \u043e\u0442 \u0410\u0433\u0430\u044f",site_dont_miss_anything_text:"\u041e\u0441\u0442\u0430\u0432\u0438 \u043d\u0438 \u0441\u0432\u043e\u044f\u0442\u0430 \u0435-\u043f\u043e\u0449\u0430, \u0430 \u043d\u0438\u0435 \u0449\u0435 \u0441\u0435 \u043f\u043e\u0433\u0440\u0438\u0436\u0438\u043c \u0432\u0441\u0438\u0447\u043a\u043e \u0432\u0430\u0436\u043d\u043e \u0434\u0430 \u0441\u0442\u0438\u0433\u043d\u0435 \u0434\u043e \u0442\u0435\u0431.",site_enter_email:"\u0412\u044a\u0432\u0435\u0434\u0438 email \u0442\u0443\u043a..",site_subscribe_to:"\u0417\u0430\u043f\u0438\u0448\u0438 \u0441\u0435",site_title:"Agaia.life",site_home:"\u041d\u0410\u0427\u0410\u041b\u041e",site_menu_about_us:"\u0417\u0410 \u041d\u0410\u0421",site_menu_solutions:"\u0420\u0415\u0428\u0415\u041d\u0418\u042f",site_menu_subscription:"\u0410\u0411\u041e\u041d\u0410\u041c\u0415\u041d\u0422",site_menu_news:"\u041d\u041e\u0412\u0418\u041d\u0418",site_set_target_text:"\u041f\u043e\u0441\u0442\u0430\u0432\u0435\u0442\u0435 \u0446\u0435\u043b, \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043b\u044e\u0431\u0438\u043c\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0438 \u0441\u043b\u0435\u0434\u0432\u0430\u0439\u0442\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438\u0442\u0435. \u0410\u0433\u0430\u044f \u0449\u0435 \u0441\u0435 \u043f\u043e\u0433\u0440\u0438\u0436\u0438 \u0437\u0430 \u0432\u0441\u0438\u0447\u043a\u043e \u043e\u0441\u0442\u0430\u043d\u0430\u043b\u043e.",site_find_your_food_text:"\u041d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438\u0442\u0435 \u0412\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u043d\u0438\u044f, \u0432\u0440\u0435\u043c\u0435\u0442\u043e, \u0441 \u043a\u043e\u0435\u0442\u043e \u0440\u0430\u0437\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u0435 \u0438 \u043a\u0443\u043b\u0438\u043d\u0430\u0440\u043d\u0438\u0442\u0435 \u0412\u0438 \u0443\u043c\u0435\u043d\u0438\u044f, \u043d\u0438\u0435 \u0438\u043c\u0430\u043c\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0437\u0430 \u0412\u0430\u0441.",site_cost:"\u041a\u041e\u041b\u041a\u041e \u0421\u0422\u0420\u0423\u0412\u0410?",site_activity_text:"\u0422\u0443\u043a \u0438\u0437\u0431\u0438\u0440\u0430\u0442\u0435 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u0438\u0442\u0435 \u0441\u0438 \u0438 \u0441\u043f\u043e\u0440\u0442\u043d\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438.",site_video_demo:"\u0414\u0435\u043c\u043e \u0432\u0438\u0434\u0435\u043e",site_news_text:"\u041d\u043e\u0432\u043e\u0432\u044a\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0448\u0430\u0442\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0438 \u043d\u0435 \u0441\u0430\u043c\u043e..",site_cost_text:"\u041f\u0440\u043e\u0431\u0432\u0430\u0439\u0442\u0435 \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u043d\u043e \u0441 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u043d\u0430\u0448\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0431\u0435\u0437 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0432\u044a\u0432 \u0432\u0440\u0435\u043c\u0435\u0442\u043e. \u0414\u043e\u0441\u0442\u044a\u043f \u0434\u043e \u043f\u044a\u043b\u043d\u0438\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043e\u0442 \u0438\u0437\u0447\u0438\u0441\u043b\u0435\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u043b\u0438\u0447\u043d\u043e \u0437\u0430 \u0412\u0430\u0441 - \u043c\u0435\u0441\u0435\u0447\u0435\u043d \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442- 14,99 \u043b\u0432.",site_try_free_now_text:"\u041c\u043e\u0436\u0435\u0448 \u0434\u0430 \u0442\u0435\u0441\u0442\u0432\u0430\u0448 \u0410\u0433\u0430\u044f \u043d\u0430\u043f\u044a\u043b\u043d\u043e \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u043d\u043e \u0437\u0430 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u043f\u0435\u0440\u0438\u043e\u0434 \u043e\u0442 \u0432\u0440\u0435\u043c\u0435, \u043d\u043e \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u0438\u0437\u0431\u043e\u0440 \u043d\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0438.",site_menu_login:"\u0412\u0425\u041e\u0414",site_footer_follow_us:"\u041f\u043e\u0441\u043b\u0435\u0434\u0432\u0430\u0439\u0442\u0435 \u043d\u0438:",site_support:"\u041f\u043e\u0434\u0434\u0440\u044a\u0436\u043a\u0430",site_footer_contacts:"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0438",site_footer_send_question:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438 \u0432\u044a\u043f\u0440\u043e\u0441",site_footer_faq:"\u0412\u044a\u043f\u0440\u043e\u0441\u0438 \u0438 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438",status_active:"\u0410\u043a\u0442\u0438\u0432\u0435\u043d",status_inactive:"\u041f\u0440\u0435\u043a\u0440\u0430\u0442\u0435\u043d",accesss:"\u0414\u043e\u0441\u0442\u044a\u043f\u0438",new_access:"\u041d\u043e\u0432 \u0434\u043e\u0441\u0442\u044a\u043f",edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0439",site_footer_navigation:"\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f",site_footer_home:"\u041d\u0430\u0447\u0430\u043b\u043e",site_footer_about_us:"\u0417\u0430 \u043d\u0430\u0441",site_footer_solutions:"\u0420\u0435\u0448\u0435\u043d\u0438\u044f",site_footer_subscription:"\u0410\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442",site_footer_news:"\u041d\u043e\u0432\u0438\u043d\u0438",site_footer_office:"\u041e\u0444\u0438\u0441",site_footer_info_linii:"\u0418\u043d\u0444\u043e \u043b\u0438\u043d\u0438\u044f",site_footer_try:"\u041e\u043f\u0438\u0442\u0430\u0439",site_footer_videos:"\u0412\u0438\u0434\u0435\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f",site_about_title:"\u0417\u0430 \u043d\u0430\u0441",site_about_history:"\u0418\u0441\u0442\u043e\u0440\u0438\u044f\u0442\u0430 \u0437\u0430\u0434 \u0410\u0433\u0430\u044f",site_about_who_we_are:"\u041a\u043e\u0438 \u0441\u043c\u0435 \u043d\u0438\u0435, \u043a\u0430\u043a\u0432\u043e \u043f\u0440\u0430\u0432\u0438\u043c \u0438 \u0437\u0430\u0449\u043e",site_about_agaia_in_numbers:"\u0410\u0433\u0430\u044f \u0432 \u0446\u0438\u0444\u0440\u0438",site_about_active_clients:"\u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0438",site_about_reffer:"\u043d\u0438 \u043f\u0440\u0435\u043f\u043e\u0440\u044a\u0447\u0430\u0445\u0430",site_about_recipes:"\u0440\u0435\u0446\u0435\u043f\u0442\u0438",site_about_positive_feedback:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u043d\u0438 \u043e\u0442\u0437\u0438\u0432\u0438",site_activity_register:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432 \u0410\u0433\u0430\u044f",site_activity_register_text:"\u041a\u0430\u043a \u043f\u0440\u043e\u0442\u0438\u0447\u0430 \u043f\u044a\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u043d\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430.",site_activity_activities:"\u0410\u041a\u0422\u0418\u0412\u041d\u041e\u0421\u0422\u0418",site_about_who_we_are_text:"\u041d\u0438\u0435 \u0441\u043c\u0435 \u043c\u043b\u0430\u0434, \u043d\u043e \u043e\u043f\u0438\u0442\u0435\u043d \u0435\u043a\u0438\u043f \u0441 \u044f\u0441\u043d\u0430 \u0432\u0438\u0437\u0438\u044f \u0437\u0430 \u0442\u043e\u0432\u0430 \u043a\u0430\u043a \u043c\u043e\u0434\u0435\u0440\u043d\u0438\u044f\u0442 \u0447\u043e\u0432\u0435\u043a \u043c\u043e\u0436\u0435 \u0434\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0438\u0440\u0430 \u0438 \u0432\u044a\u0432\u0435\u0434\u0435 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435, \u043f\u043e\u043a\u0440\u0438\u0432\u0430\u0449\u043e \u0432\u0441\u0438\u0447\u043a\u0438 \u043d\u0435\u0433\u043e\u0432\u0438 \u043d\u0443\u0436\u0434\u0438 \u0431\u0435\u0437 \u0435\u0434\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435, \u043b\u0443\u0442\u0430\u043d\u0435 \u0438 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u0434\u0435\u0444\u0438\u0446\u0438\u0442\u0438. \u0412 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430\u0442\u0430 \u043d\u0438 \u0441 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0438 \u0441\u0435 \u043e\u0431\u043e\u0441\u043e\u0431\u0438\u0445\u0430 \u044f\u0441\u043d\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438, \u043a\u043e\u0438\u0442\u043e \u0442\u0435 \u0441\u0440\u0435\u0449\u0430\u0442 \u0432 \u043e\u043f\u0438\u0442\u0438\u0442\u0435 \u0441\u0438 \u0434\u0430 \u0441\u0435 \u0445\u0440\u0430\u043d\u044f\u0442 \u0437\u0434\u0440\u0430\u0432\u043e\u0441\u043b\u043e\u0432\u043d\u043e. \u041d\u0430 \u0442\u0430\u0437\u0438 \u0431\u0430\u0437\u0430 \u0441\u0435 \u0440\u043e\u0434\u0438 \u0438\u0434\u0435\u044f\u0442\u0430 \u0437\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u0434\u0438\u0433\u0438\u0442\u0430\u043b\u043d\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0435\u0442\u043e \u0434\u0430 \u043f\u0440\u0435\u043c\u0430\u0445\u043d\u0435 \u0432\u0441\u0438\u0447\u043a\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0438 \u0434\u0430 \u0434\u0430\u0434\u0435 \u043f\u044a\u043b\u043d\u0430 \u0441\u0432\u043e\u0431\u043e\u0434\u0430 \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435. \u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0438\u043c\u0430 \u0438 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u043e\u044f\u0442\u043e \u0446\u0435\u043b\u0438 \u0434\u0430 \u0438\u0437\u0433\u0440\u0430\u0434\u0438 \u043d\u0430\u0432\u0438\u0447\u043d\u043e\u0441\u0442, \u043e\u0441\u043d\u043e\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u0430 \u0437\u0430 \u0434\u044a\u043b\u0433\u043e\u0442\u0440\u0430\u0439\u043d\u0438 \u0440\u0435\u0437\u0443\u043b\u0442\u0430\u0442\u0438.",site_footer_text:"\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u0430\u0442\u0430 \u043f\u043e \u0440\u043e\u0434\u0430 \u0441\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0437\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0435, \u0441\u044a\u043e\u0431\u0440\u0430\u0437\u044f\u0432\u0430\u0449\u0430 \u0441\u0435 \u0441 \u0432\u0430\u0448\u0438\u0442\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u043d\u0438\u044f \u0438 \u0441\u043f\u043e\u0440\u0442\u043d\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438.",site_about_agaia_in_numbers_text:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430",site_activity_activities_text:"\u041f\u0440\u043e\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e\u0441\u0442\u0442\u0430 \u0438 \u0432\u0438\u0434\u044a\u0442 \u043d\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438\u0442\u0435 \u0441\u0435 \u043f\u0440\u043e\u043c\u0435\u043d\u044f\u0442, \u043d\u043e \u0434\u043e\u0440\u0438 \u0434\u0430 \u043f\u0440\u043e\u043f\u0443\u0441\u043d\u0435\u0442\u0435, \u0410\u0433\u0430\u044f \u0449\u0435 \u0441\u0435 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u0430. \u0412\u0441\u044f\u043a\u0430 \u043f\u0440\u043e\u043c\u044f\u043d\u0430 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u0438\u0442\u0435 \u0438\u043b\u0438 \u043c\u043e\u043c\u0435\u043d\u0442\u043d\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0449\u0435 \u0431\u044a\u0434\u0435 \u043d\u0435\u0437\u0430\u0431\u0430\u0432\u043d\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0430.",site_footer_office_text:"\u0421\u043e\u0444\u0438\u044f, \u0431\u0443\u043b. \u201e\u0421\u0438\u043c\u0435\u043e\u043d\u043e\u0432\u0441\u043a\u043e \u0448\u043e\u0441\u0435 \u201c 120\u0414",site_activity_register_uppercase:"\u0420\u0415\u0413\u0418\u0421\u0422\u0420\u0410\u0426\u0418\u042f",site_solutions_all:"\u0412\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f <br/>\u0432 \u0435\u0434\u0438\u043d \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442",site_solutions_save_time:"\u041f\u0415\u0421\u0422\u0418 \u0412\u0420\u0415\u041c\u0415",site_solutions_easy_cooking:"\u0423\u041b\u0415\u0421\u041d\u0415\u041d\u0418\u0415 \u0412 \u0413\u041e\u0422\u0412\u0415\u041d\u0415\u0422\u041e",site_solutions_every_taste:"\u0417\u0410 \u0412\u0421\u0415\u041a\u0418 \u0412\u041a\u0423\u0421",site_solutions_always_with_you:"\u0412\u0418\u041d\u0410\u0413\u0418 \u0421 \u0412\u0410\u0421",site_save_time:"\u0410\u0433\u0430\u044f \u043f\u0435\u0441\u0442\u0438 \u0432\u0440\u0435\u043c\u0435",site_save_time_text:"\u041f\u0435\u0441\u0442\u0438\u043c \u0432\u0430\u0448\u0435\u0442\u043e \u0432\u0440\u0435\u043c\u0435, \u0430 \u0438 \u0432\u0430\u0448\u0438\u0442\u0435 \u043f\u0430\u0440\u0438.",site_save_time_see_more:"\u0412\u0438\u0436\u0442\u0435 \u043e\u0449\u0435 \u043e\u0442 \u043d\u0430\u0448\u0438\u0442\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u0431\u0435\u0434\u0438\u043d\u0435\u043d\u0438 \u0432 \u0435\u0434\u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 - \u0410\u0433\u0430\u044f.",site_save_time_all_solutions:"\u0412\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f",site_save_time_lowercase:"\u041f\u0435\u0441\u0442\u0438 \u0432\u0440\u0435\u043c\u0435",site_save_time_easy_cooking_lowercase:"\u0423\u043b\u0435\u0441\u043d\u0435\u043d\u0438\u0435 \u0432 \u0433\u043e\u0442\u0432\u0435\u043d\u0435\u0442\u043e",site_save_time_every_taste_lowercase:"\u0417\u0430 \u0432\u0441\u0435\u043a\u0438 \u0432\u043a\u0443\u0441",site_save_time_always_with_you_lowercase:"\u0412\u0438\u043d\u0430\u0433\u0438 \u0441 \u0432\u0430\u0441",site_save_time_plan_easy:"\u041f\u041b\u0410\u041d\u0423\u0412\u0410\u0419\u0422\u0415 \u041b\u0415\u0421\u041d\u041e",site_contact_success_message:"\u0412\u0430\u0448\u0435\u0442\u043e \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e.",site_solutions_easy_cooking_text:"\u0412\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0441\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438 \u0441\u0442\u044a\u043f\u043a\u0430 \u043f\u043e \u0441\u0442\u044a\u043f\u043a\u0430. \u0420\u0430\u0437\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u0435 \u0438 \u0441 \u0432\u0438\u0434\u0435\u043e \u043a\u044a\u043c \u0442\u044f\u0445. \u0422\u0430\u043c \u043a\u044a\u0434\u0435\u0442\u043e \u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0441\u043c\u0435 \u0434\u0430\u043b\u0438 \u0441\u044a\u0432\u0435\u0442\u0438 \u0438 \u0441\u043c\u0435 \u043f\u043e\u0441\u043e\u0447\u0438\u043b\u0438 \u0430\u043b\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0438 \u043c\u0435\u0440\u043d\u0438 \u0435\u0434\u0438\u043d\u0438\u0446\u0438 \u0437\u0430 \u0443\u043b\u0435\u0441\u043d\u0435\u043d\u0438\u0435. \u0417\u0430 \u0434\u0430 \u0431\u044a\u0434\u0435\u0442\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u043d\u043e \u0442\u043e\u0447\u043d\u0438 \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0442\u0430, \u0449\u0435 \u0412\u0438 \u0435 \u043d\u0443\u0436\u043d\u0430 \u043a\u0443\u0445\u043d\u0435\u043d\u0441\u043a\u0430 \u0432\u0435\u0437\u043d\u0430!",site_solutions_text:"\u0410\u0433\u0430\u044f \u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u044f\u0449\u0430 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0435\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e.",billing_monthly:"\u043c\u0435\u0441\u0435\u0447\u043d\u043e",billing_yearly:"\u0433\u043e\u0434\u0438\u0448\u043d\u043e",billing_saving_up_to:"\u0421\u043f\u0435\u0441\u0442\u0438 \u0434\u043e 50% \u0433\u043e\u0434\u0438\u0448\u043d\u043e!",site_solutions_every_taste_text:"\u041d\u0430\u0434 600 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438. \u0412\u0435\u0433\u0430\u043d, \u0432\u0435\u0433\u0435\u0442\u0435\u0440\u0438\u0430\u043d\u0441\u043a\u0438, \u0432\u0438\u0441\u043e\u043a\u043e\u043c\u0430\u0437\u043d\u0438\u043d\u043d\u0438 (\u043a\u0435\u0442\u043e), \u043d\u0438\u0441\u043a\u043e\u043c\u0430\u0437\u043d\u0438\u043d\u043d\u0438 \u0438\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438 - \u0438\u0437\u0431\u0438\u0440\u0430\u0442\u0435 \u0432\u0438\u0435. \u0421 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0438\u0442\u0435 \u043d\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043c\u0435\u043d\u044e\u0442\u043e \u0412\u0438 \u043d\u0438\u043a\u043e\u0433\u0430 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0435 \u0435\u0434\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e.",site_solutions_always_with_you_text:'\u0417\u0430 \u0434\u0430 \u0431\u044a\u0434\u0435\u043c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0438, \u043d\u0435 \u0437\u0430\u0431\u0440\u0430\u0432\u044f\u0439\u0442\u0435 \u0434\u0430 \u043e\u0442\u0431\u043b\u044f\u0437\u0432\u0430\u0442\u0435 \u0432\u0441\u044f\u043a\u0430 \u043f\u0440\u043e\u043c\u044f\u043d\u0430 \u0432 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u0430\u0442\u0430 \u0441\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442 \u0432 "\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438". \u0422\u0435 \u0441\u0430 \u0432 \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0430 \u043d\u0430 \u043d\u0430\u0448\u0438\u0442\u0435 \u0438\u0437\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f. \u041f\u0440\u0438 \u0437\u0430\u0442\u0440\u0443\u0434\u043d\u0435\u043d\u0438\u044f, \u043c\u043e\u0436\u0435 \u0434\u0430 \u0440\u0430\u0437\u0447\u0438\u0442\u0430\u0442\u0435 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b, \u043e\u0442\u0434\u0435\u043b \u0432\u044a\u043f\u0440\u043e\u0441\u0438 \u0438 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438 \u0438\u043b\u0438 \u043e\u043d\u043b\u0430\u0439\u043d \u0447\u0430\u0442 \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440.',site_save_time_but_money:"\u041f\u0415\u0421\u0422\u0418\u0422\u0415 \u0412\u0420\u0415\u041c\u0415, \u041d\u041e \u0418 \u0421\u0420\u0415\u0414\u0421\u0422\u0412\u0410",site_easy_cooking_agaia:"\u0410\u0433\u0430\u044f \u0443\u043b\u0435\u0441\u043d\u044f\u0432\u0430 \u0433\u043e\u0442\u0432\u0435\u043d\u0435\u0442\u043e",site_easy_cooking_one_two_three:"\u041b\u0415\u0421\u041d\u041e \u041a\u0410\u0422\u041e 1, 2, 3",site_easy_cooking_video_uppercase:"\u0412\u0418\u0414\u0415\u041e",site_every_taste_lowercase:"\u0417\u0430 \u0432\u0441\u0435\u043a\u0438 \u0432\u043a\u0443\u0441",site_every_taste_agaia:"\u0410\u0433\u0430\u044f \u0435 \u0437\u0430 \u0432\u0441\u0435\u043a\u0438 \u0432\u043a\u0443\u0441",site_every_taste_variants:"\u0412\u0410\u0420\u0418\u0410\u041d\u0422\u0418",buy_subscription:"\u041a\u0443\u043f\u0438 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442",site_contact_error_message:"\u041c\u043e\u043b\u044f, \u043f\u043e\u043f\u044a\u043b\u043d\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043a\u0438 \u043f\u043e\u043b\u0435\u0442\u0430 \u0441 \u043c\u0438\u043d\u0438\u043c\u0443\u043c 4 \u0441\u0438\u043c\u0432\u043e\u043b\u0430!",site_every_taste_miarka:"\u041c\u042f\u0420\u041a\u0410",site_agaia_always_with_you:"\u0410\u0433\u0430\u044f \u0435 \u0432\u0438\u043d\u0430\u0433\u0438 \u0441 \u0412\u0430\u0441",site_do_not_forget:"\u041d\u0415 \u0417\u0410\u0411\u0420\u0410\u0412\u042f\u0419\u0422\u0415",read_more:"\u041f\u0440\u043e\u0447\u0435\u0442\u0438 \u043e\u0449\u0435",site_address:"\u0410\u0434\u0440\u0435\u0441",site_view_in_google_maps:"\u0412\u0438\u0436 \u0432 Google Maps",site_name:"\u0418\u043c\u0435",site_subject:"\u041e\u0442\u043d\u043e\u0441\u043d\u043e",site_phone:"\u0422\u0435\u043b\u0435\u0444\u043e\u043d",site_send:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438",site_always_with_you_lowercase:"\u0412\u0438\u043d\u0430\u0433\u0438 \u0441 \u0412\u0430\u0441",site_agaia_always_with_you_text:"\u041e\u0447\u0430\u043a\u0432\u0430\u0439\u0442\u0435 \u0432\u0430\u0448\u0430\u0442\u0430 \u043f\u0440\u043e\u043c\u044f\u043d\u0430 \u0434\u0430 \u0441\u0435 \u0441\u043b\u0443\u0447\u0432\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u0437\u0430\u0442\u043e\u0432\u0430 \u043d\u0438\u0435 \u0441\u043c\u0435 \u0441 \u0412\u0430\u0441 - \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e. \u041f\u0440\u043e\u0441\u043b\u0435\u0434\u044f\u0432\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u043b\u043e\u0442\u043e \u0441\u0438 \u0447\u0435\u0441\u0442\u043e \u0438 \u043f\u0440\u043e\u043c\u0435\u043d\u044f\u0439\u0442\u0435 \u0442\u0430\u0437\u0438 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442 \u0432\u044a\u0432 \u0432\u0430\u0448\u0438\u044f \u043f\u0440\u043e\u0444\u0438\u043b - \u0442\u0430\u043a\u0430 \u0449\u0435 \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043c \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u0438 \u0433\u0440\u0430\u043c\u0430\u0436\u0438 \u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0438.",newsletter_existing_message:"\u0412\u0435\u0447\u0435 \u0441\u0442\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043d \u0437\u0430 \u043d\u0430\u0448\u0438\u044f \u0431\u044e\u043b\u0435\u0442\u0438\u043d.",site_every_taste_miarka_text:"\u041d\u0430\u0448\u0438\u0442\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u043c\u043e\u0436\u0435 \u0438 \u0434\u0430 \u0441\u0430 \u0438\u0437\u0447\u0438\u0441\u043b\u0435\u043d\u0438 \u0434\u043e \u0433\u0440\u0430\u043c \u0438 \u043c\u0438\u043b\u0438\u043b\u0438\u0442\u044a\u0440, \u043d\u043e \u0430\u043a\u043e \u0412\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438 \u0432 \u0442\u044f\u0445 \u0438\u043b\u0438 \u043d\u0435 \u043e\u0442\u0447\u0438\u0442\u0430\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u0442\u043e - \u0442\u043e\u0432\u0430 \u043c\u043e\u0436\u0435 \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438 \u043e\u0447\u0430\u043a\u0432\u0430\u043d\u0438\u0442\u0435 \u0440\u0435\u0437\u0443\u043b\u0442\u0430\u0442\u0438. \u0417\u0430\u0442\u043e\u0432\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u044f\u0439\u0442\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u043f\u043e \u0432\u0430\u0448 \u0432\u043a\u0443\u0441, \u043d\u043e \u0441 \u043c\u044f\u0440\u043a\u0430.",site_do_not_forget_text:"\u0410\u0433\u0430\u044f \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0438\u0442\u0435 \u0438 \u0433\u0440\u0430\u043c\u0430\u0436\u0438\u0442\u0435, \u043d\u043e \u0441\u0430\u043c\u043e \u043a\u043e\u0433\u0430\u0442\u043e \u0412\u0438\u0435 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\u0442\u0435 \u0441\u0438 \u0441\u043f\u0440\u044f\u043c\u043e \u0440\u0435\u0430\u043b\u043d\u0438\u0442\u0435 \u043a\u044a\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043a\u0430\u043a\u0442\u043e \u0432 \u0445\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438\u044f \u0434\u043d\u0435\u0432\u043d\u0438\u043a, \u0442\u0430\u043a\u0430 \u0438 \u0432 \u0441\u043f\u043e\u0440\u0442\u043d\u0438\u0442\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438. \u041e\u0447\u0430\u043a\u0432\u0430\u0439\u0442\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0442\u0435 \u0440\u0435\u0437\u0443\u043b\u0442\u0430\u0442\u0438, \u043d\u043e \u043d\u0435 \u0437\u0430\u0431\u0440\u0430\u0432\u044f\u0439\u0442\u0435 \u0442\u043e\u0437\u0438 \u0444\u0430\u043a\u0442. \u0410\u0433\u0430\u044f \u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u0434\u0430\u0432\u0430 \u0440\u0435\u0437\u0443\u043b\u0442\u0430\u0442 \u043a\u043e\u0433\u0430\u0442\u043e \u0412\u0438\u0435 \u043f\u043e\u0434\u0430\u0432\u0430\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043a\u044a\u043c \u043d\u0435\u044f.",newsletter_success_message:"\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u0445\u0442\u0435 \u0437\u0430 \u043d\u0430\u0448\u0438\u044f \u0431\u044e\u043b\u0435\u0442\u0438\u043d.",site_write_message:"\u041d\u0430\u043f\u0438\u0448\u0435\u0442\u0435 \u0432\u0430\u0448\u0435\u0442\u043e \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0442\u0443\u043a ...",enter_phone:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0442\u0435\u043b\u0435\u0444\u043e\u043d",phone:"\u0422\u0435\u043b\u0435\u0444\u043e\u043d",other:"\u0414\u0440\u0443\u0433\u0438",recipes_with_video:"\u0420\u0435\u0446\u0435\u043f\u0442\u0438 \u0441 \u0432\u0438\u0434\u0435\u043e",recipes_meal_prep_friendly:"Meal prep \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438",prices_index_trial_price:"0.00 \u043b\u0432.",prices_index_register:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f",prices_index_popchoice:"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d \u0438\u0437\u0431\u043e\u0440",prices_index_standart:"\u0421\u0422\u0410\u041d\u0414\u0410\u0420\u0422",prices_index_automeals:"\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f",site_solutions_added_value:"\u0414\u041e\u0411\u0410\u0412\u0415\u041d\u0410 \u0421\u0422\u041e\u0419\u041d\u041e\u0421\u0422",site_solutions_more_than_calories:"\u041c\u041d\u041e\u0413\u041e \u041f\u041e\u0412\u0415\u0427\u0415 \u041e\u0422 \u041a\u0410\u041b\u041e\u0420\u0418\u0418",prices_index_trial:"\u0411\u0415\u0417\u041f\u041b\u0410\u0422\u0415\u041d",prices_index_individualdoses:"\u0432\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438",prices_index_family:"\u0413\u041e\u0414\u0418\u0428\u0415\u041d",prices_index_1499:"14.99 \u043b\u0432. /\u043c.",prices_index_permonth:"-",prices_index_allfunctions:"\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u0431\u0440\u043e\u0439 \u0440\u0435\u0446\u0435\u043f\u0442\u0438",prices_index_7days:"\u0431\u0435\u0437 \u043c\u0438\u043a\u0440\u043e\u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0438",prices_index_21days:"\u0431\u0430\u0437\u043e\u0432\u0430 \u0447\u0430\u0442 \u043f\u043e\u0434\u0434\u0440\u044a\u0436\u043a\u0430",prices_index_shoplist:"\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0437\u0430 \u043c\u0430\u043a\u0440\u043e \u0438 \u043c\u0438\u0440\u043a\u043e\u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0438",prices_index_chatsupport:"\u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043d\u0430 \u0447\u0430\u0442 \u043f\u043e\u0434\u0434\u0440\u044a\u0436\u043a\u0430",auth_err_email_already_exists:"\u0422\u043e\u0437\u0438 email \u0430\u0434\u0440\u0435\u0441 \u0432\u0435\u0447\u0435 \u0441\u044a\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430!",auth_err_invalid_email:"\u041c\u043e\u043b\u044f, \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0432\u0430\u043b\u0438\u0434\u0435\u043d email \u0430\u0434\u0440\u0435\u0441",auth_login_text:"\u041c\u043e\u043b\u044f, \u0432\u043b\u0435\u0437\u0442\u0435, \u0437\u0430 \u0434\u0430 \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438\u0442\u0435",choose_payment_method:"\u041c\u043e\u043b\u044f \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043c\u0435\u0442\u043e\u0434 \u043d\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435",dashboard_welcome_back:"\u0414\u043e\u0431\u0440\u0435 \u0434\u043e\u0448\u043b\u0438 \u043e\u0442\u043d\u043e\u0432\u043e!",meals_change_meal_about_to_change_current_meals:"\u0412\u0430\u0448\u0438\u0442\u0435 \u0442\u0435\u043a\u0443\u0449\u043e \u0434\u043e\u0431\u0430\u0432\u0435\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0449\u0435 \u0431\u044a\u0434\u0430\u0442 \u043f\u0440\u0435\u043c\u0430\u0445\u043d\u0430\u0442\u0438 \u0437\u0430\u0449\u043e\u0442\u043e \u0441\u0442\u0435 \u0438\u0437\u0431\u0440\u0430\u043b\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u0435\u043d \u0431\u0440\u043e\u0439 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f. \u0416\u0435\u043b\u0430\u0435\u0442\u0435 \u043b\u0438 \u0434\u0430 \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438\u0442\u0435?",chat_text:"\u041d\u0430 \u0432\u0430\u0448\u0435 \u0440\u0430\u0437\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043c\u0435 \u0437\u0430 \u0432\u0441\u044f\u043a\u0430\u043a\u0432\u0438 \u0432\u044a\u043f\u0440\u043e\u0441\u0438. \u041c\u043e\u0436\u0435 \u0434\u0430 \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0435\u0442\u0435 \u0438 \u0432 \u0427\u0435\u0441\u0442\u043e \u0417\u0430\u0434\u0430\u0432\u0430\u043d\u0438 \u0412\u044a\u043f\u0440\u043e\u0441\u0438.",earn_with_us:"\u0421\u0442\u0430\u043d\u0438 \u0435\u0434\u0438\u043d \u043e\u0442 \u043d\u0430\u0441",faq:"\u0427\u0435\u0441\u0442\u043e \u0417\u0430\u0434\u0430\u0432\u0430\u043d\u0438 \u0412\u044a\u043f\u0440\u043e\u0441\u0438",faq_message:"\u041f\u0440\u043e\u0447\u0435\u0442\u0435\u0442\u0435 \u043a\u0430\u043a \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0432 \u043d\u0430\u0448\u0430\u0442\u0430 FAQ \u0441\u0435\u043a\u0446\u0438\u044f",fill_all_fields:"\u041c\u043e\u043b\u044f, \u043f\u043e\u043f\u044a\u043b\u043d\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043a\u0438 \u0437\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u0438 \u043f\u043e\u043b\u0435\u0442\u0430.",free_subscription_1week_btn_title:"\u041f\u0440\u043e\u0434\u044a\u043b\u0436\u0438 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442\u0430",mail_campaign_info_text:"\u041a\u043e\u0433\u0430\u0442\u043e \u0442\u0430\u0437\u0438 \u043e\u043f\u0446\u0438\u044f \u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430, \u0412\u0438\u0435 \u0437\u0430\u044f\u0432\u044f\u0432\u0430\u0442\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0435\u0442\u043e \u0441\u0438 \u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0442\u0435 email \u043d\u043e\u0432\u0438\u043d\u0438 \u0438 \u043a\u0430\u043c\u043f\u0430\u043d\u0438\u0438 \u0441\u0432\u044a\u0440\u0437\u0430\u043d\u0438 \u0441 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043d\u0438.",not_found_referrals_text:"\u0422\u0443\u043a \u0441\u0435 \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u0442 \u0441\u0430\u043c\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u043d\u0438 \u0447\u0440\u0435\u0437 \u0432\u0430\u0448\u0438\u044f \u043b\u0438\u0447\u0435\u043d \u043b\u0438\u043d\u043a \u0437\u0430 \u043f\u043e\u043a\u0430\u043d\u0430.",not_found_referrals_title:"\u0412\u0441\u0435 \u043e\u0449\u0435 \u043d\u044f\u043c\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438, \u043a\u043e\u0438\u0442\u043e \u0434\u0430 \u0441\u0430 \u043f\u0440\u0438\u0435\u043b\u0438 \u043f\u043e\u043a\u0430\u043d\u0430\u0442\u0430 \u0412\u0438",not_found_transactions_text:"\u041a\u044a\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043d\u044f\u043c\u0430\u0442\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0435\u043d\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0432\u044a\u0432 \u0432\u0430\u0448\u0438\u044f \u043f\u043e\u0440\u0442\u0444\u0435\u0439\u043b",website_gender_age_activity_text:"\u041e\u0442\u0433\u043e\u0432\u043e\u0440\u0438 \u043d\u0430 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0432\u044a\u043f\u0440\u043e\u0441\u0430 \u0441\u0432\u044a\u0440\u0437\u0430\u043d\u0438 \u0441 \u0442\u0435\u0431 \u0438 \u0442\u0432\u043e\u0435\u0442\u043e \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u0438\u0435",site_solutions_added_value_text:"\u0412\u0438\u0435 \u0441\u0442\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0438 \u0434\u0430 \u0441\u0435 \u0433\u0440\u0438\u0436\u0438\u0442\u0435 \u043d\u0430\u0439-\u0434\u043e\u0431\u0440\u0435 \u0437\u0430 \u0445\u0440\u0430\u043d\u0430\u0442\u0430 \u0441\u0438. \u041d\u0438\u0435 \u0441\u043c\u0435 \u043f\u043e\u0434\u0441\u0438\u0433\u0443\u0440\u0438\u043b\u0438 \u0432\u0441\u0438\u0447\u043a\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430 \u0442\u043e\u0432\u0430. \u0415\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438\u0437\u0433\u0440\u0430\u0436\u0434\u0430\u0442\u0435 \u043d\u0430\u0432\u0438\u0446\u0438, \u0441 \u0447\u0438\u044f\u0442\u043e \u043f\u043e\u043c\u043e\u0449 \u0449\u0435 \u043f\u043e\u0441\u0442\u0438\u0433\u043d\u0435\u0442\u0435 \u0436\u0435\u043b\u0430\u043d\u043e\u0442\u043e \u043e\u0431\u0449\u043e \u0437\u0434\u0440\u0430\u0432\u0435 \u0438 \u0432\u0438\u0437\u0438\u044f, \u0430 \u0434\u043e\u0431\u0430\u0432\u0435\u043d\u0430 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442 \u0449\u0435 \u0441\u0430 \u043d\u0438\u0441\u043a\u0438\u0442\u0435 \u0440\u0430\u0437\u0445\u043e\u0434\u0438 \u0437\u0430 \u0445\u0440\u0430\u043d\u0430! \u0417\u0430 \u0438\u0437\u0432\u044a\u043d\u0440\u0435\u0434\u043d\u0438\u0442\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0441\u043c\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u0432\u0438\u043b\u0438 \u0438 \u0441\u0435\u043a\u0446\u0438\u044f \u0437\u0430 \u0432\u044a\u043d\u0448\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435.",site_solutions_more_than_calories_text:"\u0410\u0433\u0430\u044f \u0435 \u043c\u0443\u043b\u0442\u0438\u0441\u043f\u0435\u043a\u0442\u044a\u0440\u0435\u043d \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440. \u041e\u0441\u0432\u0435\u043d, \u0447\u0435 \u0437\u0430\u0434\u0430\u0432\u0430 \u043d\u0443\u0436\u043d\u0438\u0442\u0435 \u0412\u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0438, \u043f\u0440\u043e\u0442\u0435\u0438\u043d\u0438, \u0432\u044a\u0433\u043b\u0435\u0445\u0438\u0434\u0440\u0430\u0442\u0438 \u0438 \u043c\u0430\u0437\u043d\u0438\u043d\u0438, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430\u0442\u0430 \u043f\u0440\u043e\u0441\u043b\u0435\u0434\u044f\u0432\u0430 \u0441\u044a\u0449\u043e \u0438 \u043d\u0430\u0439-\u043e\u0441\u043d\u043e\u0432\u043d\u0438\u0442\u0435 \u0432\u0438\u0442\u0430\u043c\u0438\u043d\u0438, \u043c\u0438\u043d\u0435\u0440\u0430\u043b\u0438 \u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u0438 \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0438 \u043f\u043e\u0434\u043f\u043e\u043c\u0430\u0433\u0430\u0449\u0438 \u0432\u0430\u0448\u0435\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u0438\u0435. \u041f\u043e-\u0442\u043e\u0437\u0438 \u043d\u0430\u0447\u0438\u043d, \u0412\u0438\u0435 \u0441\u0442\u0435 \u0441\u0438\u0433\u0443\u0440\u043d\u0438, \u0447\u0435 \u0445\u0440\u0430\u043d\u0430\u0442\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u043e\u043d\u0441\u0443\u043c\u0438\u0440\u0430\u0442\u0435 \u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0430 \u0437\u0430 \u0412\u0430\u0441.",prices_index_nolimits:"\u0431\u0435\u0437 \u0432\u044a\u043d\u0448\u043d\u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f",pricing_choose_a_plan:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043f\u043b\u0430\u043d, \u043a\u043e\u0439\u0442\u043e \u0435 \u043d\u0430\u0439-\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449 \u0437\u0430 \u0412\u0430\u0441",earn_with_us_text:"\u0411\u044a\u0434\u0435\u0442\u0435 \u0447\u0430\u0441\u0442 \u043e\u0442 \u043d\u0430\u0448\u0430\u0442\u0430 \u0440\u0435\u0444\u0435\u0440\u0430\u043b\u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430. \u0412\u0438\u0436\u0442\u0435 \u043a\u0430\u043a\u0432\u043e \u0412\u0438 \u043e\u0447\u0430\u043a\u0432\u0430 ...",website_30days_text:"\u0418\u0437\u043f\u0440\u043e\u0431\u0432\u0430\u0439\u0442\u0435 \u0410\u0433\u0430\u044f \u0437\u0430 \u043c\u0438\u043d\u0438\u043c\u0443\u043c 7 \u0434\u043d\u0438 \u043d\u0430\u043f\u044a\u043b\u043d\u043e \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u043d\u043e. \u0410\u043a\u043e \u0441\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u0442\u0435 \u0441 \u043f\u0440\u043e\u043c\u043e \u043b\u0438\u043d\u043a \u043e\u0442 \u0434\u0440\u0443\u0433 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b, \u0449\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 21 \u0434\u043d\u0438 \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u0435\u043d \u043f\u0435\u0440\u0438\u043e\u0434. \u041d\u0435 \u0441\u0435 \u0438\u0437\u0438\u0441\u043a\u0432\u0430 \u0432\u044a\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u043c\u0435\u0442\u043e\u0434 \u0437\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435.",select_dial_code:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043a\u043e\u0434 \u0437\u0430 \u043d\u0430\u0431\u0438\u0440\u0430\u043d\u0435",enter_discount_code:"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u043a\u043e\u0434 \u0437\u0430 \u043e\u0442\u0441\u0442\u044a\u043f\u043a\u0430:",discount_code:"\u041a\u043e\u0434 \u0437\u0430 \u043e\u0442\u0441\u0442\u044a\u043f\u043a\u0430",code:"\u041a\u043e\u0434:",verification_email_was_sent:"\u0418\u043c\u0435\u0439\u043b \u0437\u0430 \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0431\u0435\u0448\u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d \u043d\u0430",open_email_provider:"\u041e\u0442\u0432\u043e\u0440\u0438 \u043f\u043e\u0449\u0430",unlock_micros:"\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u0442\u0435 \u043c\u0438\u043a\u0440\u043e \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0442\u0435",spices:"\u041f\u043e\u0434\u043f\u0440\u0430\u0432\u043a\u0438",main_products:"\u041e\u0441\u043d\u043e\u0432\u043d\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438",mail_shopping_list_friend_subject:"\u0421\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 \u043d\u0430 %s \u0437\u0430 %s - %s",mail_shopping_list_friend_title:"\u0421\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 \u043d\u0430 %s \u0437\u0430 %s - %s",mail_shopping_list_friend_text_above:"\u041d\u0430 \u0441\u043b\u0435\u0434\u043d\u0438\u044f \u043b\u0438\u043d\u043a \u0449\u0435 \u043d\u0430\u043c\u0435\u0440\u0438\u0442\u0435 \u043f\u044a\u043b\u043d\u0438\u044f \u0438 \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d \u0441\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 \u043d\u0430 %s. \u0422\u0430\u043c \u043c\u043e\u0436\u0435 \u0434\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u0430\u0442\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0442\u0435 \u043a\u0430\u0442\u043e \u0432\u0435\u0447\u0435 \u0437\u0430\u043a\u0443\u043f\u0435\u043d\u0438 \u0438\u043b\u0438 \u0432\u0435\u0447\u0435 \u0434\u043e\u0431\u0430\u0432\u0435\u043d\u0438 \u043a\u044a\u043c \u043f\u0430\u0437\u0430\u0440\u0441\u043a\u0430\u0442\u0430 \u043a\u043e\u043b\u0438\u0447\u043a\u0430 - \u043f\u043e \u0442\u043e\u0437\u0438 \u043d\u0430\u0447\u0438\u043d \u0432\u0430\u0448\u0438\u044f\u0442 \u043f\u0440\u0438\u044f\u0442\u0435\u043b \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u043b\u0435\u0434\u0438 \u0432 \u0440\u0435\u0430\u043b\u043d\u043e \u0432\u0440\u0435\u043c\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043d\u0430 \u0441\u043f\u0438\u0441\u044a\u043a\u0430.",mail_shopping_list_friend_btn_title:"\u041e\u0442\u0432\u043e\u0440\u0438 \u0441\u043f\u0438\u0441\u044a\u043a\u0430",send_to_friend_success_title:"\u0418\u0437\u043f\u0440\u0430\u0442\u0435\u043d\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e",send_to_friend_failed_title:"\u041d\u0435\u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435",send_to_friend_failed_text:"\u0412\u0430\u0448\u0438\u044f\u0442 \u0441\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 \u043d\u0435 \u0431\u0435\u0448\u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d. \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",website_shopping_list_title:"\u0421\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 \u043d\u0430 %s \u0437\u0430 %s - %s",website_shopping_list_subtitle:"\u0421\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 %s - %s",copy_recipe:"\u041a\u043e\u043f\u0438\u0440\u0430\u0439 \u0440\u0435\u0446\u0435\u043f\u0442\u0430\u0442\u0430",copy_to_days:"\u041a\u043e\u043f\u0438\u0440\u0430\u0439 \u0432 \u0434\u043d\u0438",copy_btn:"\u041a\u043e\u043f\u0438\u0440\u0430\u0439",copy_recipe_fill_all_required_fields:"\u041c\u043e\u043b\u044f, \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u0430\u0442\u0430 \u0438 \u0432 \u043a\u043e\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043a\u043e\u043f\u0438\u0440\u0430\u043d\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430\u0442\u0430.",copy_recipe_failed:"\u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.",meals_copy_btn:"\u041a\u043e\u043f\u0438\u0440\u0430\u0439",meals_mark_as_consume:"\u041a\u043e\u043d\u0441\u0443\u043c\u0438\u0440\u0430\u0445",meals_mark_as_consumed:"\u041e\u0442\u043c\u0430\u0440\u043a\u0438\u0440\u0430\u0439 \u043a\u043e\u043d\u0441\u0443\u043c\u0438\u0440\u0430\u043d\u0435\u0442\u043e",delete_title:"\u0418\u0437\u0442\u0440\u0438\u0439",send_to_friend_btn:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438 \u043d\u0430 \u043f\u0440\u0438\u044f\u0442\u0435\u043b",send_to_friend_submit:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438",send_to_friend_email_receipt:"E-Mail \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044f",send_to_friend_info_title:"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",prices_index_3499:"99.99 \u043b\u0432.",prices_index_upto4memb:"\u0434\u043e 50% \u043e\u0442\u0441\u0442\u044a\u043f\u043a\u0430",diary_training:"\u0414\u043d\u0435\u0432\u043d\u0430 \u0422\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430",shopping_cart:"\u041f\u0430\u0437\u0430\u0440\u0441\u043a\u0430 \u041a\u043e\u043b\u0438\u0447\u043a\u0430",diary_training_update_success:"\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0445\u0442\u0435 \u0432\u0430\u0448\u0438\u0442\u0435 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438 \u0437\u0430 \u0434\u0435\u043d\u044f \u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0439\u043d\u0438\u044f \u0441\u0438 \u043f\u0440\u0438\u0435\u043c.",diary_planned_trainings:"\u041f\u043b\u0430\u043d\u0438\u0440\u0430\u043d\u0438 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438",diary_planned_trainings_change:"\u0420\u0435\u0434\u0430\u043a\u0446\u0438\u044f \u043d\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438\u0442\u0435",disable_training_today:"\u0414\u043d\u0435\u0441 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u0430\u043c",disable_training_today_msg_disable:"\u0412\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043c\u0430\u0440\u043a\u0438\u0440\u0430\u0445\u0442\u0435, \u0447\u0435 \u0434\u043d\u0435\u0441 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0442\u0440\u0435\u043d\u0438\u0440\u0430\u0442\u0435.",disable_training_today_msg_enable:"\u0412\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043c\u0430\u0440\u043a\u0438\u0440\u0430\u0445\u0442\u0435, \u0447\u0435 \u0434\u043d\u0435\u0441 \u0449\u0435 \u0442\u0440\u0435\u043d\u0438\u0440\u0430\u0442\u0435.",enable_training_today:"\u0414\u043d\u0435\u0441 \u0449\u0435 \u0442\u0440\u0435\u043d\u0438\u0440\u0430\u043c",stars:"\u0417\u0432\u0435\u0437\u0434\u0438",stars_about_me:"\u0417\u0430 \u043c\u0435\u043d",stars_try_recipes_of:"\u041e\u043f\u0438\u0442\u0430\u0439 \u0440\u0435\u0446\u0435\u043f\u0442\u0438\u0442\u0435 \u043d\u0430",stars_play_video:"\u041f\u0443\u0441\u043d\u0438 \u0432\u0438\u0434\u0435\u043e\u0442\u043e",stars_recipes:"\u0420\u0435\u0446\u0435\u043f\u0442\u0438",dashboard_recipe_of:"\u0420\u0435\u0446\u0435\u043f\u0442\u0430 \u043d\u0430",dashboard_extra_load:"\u0414\u043e\u043f. \u043d\u0430\u0442\u043e\u0432\u0430\u0440\u0432\u0430\u043d\u0435",dashboard_extra_load_long:"\u0414\u043e\u043f\u044a\u043b\u043d\u0438\u0442\u0435\u043b\u043d\u043e \u043d\u0430\u0442\u043e\u0432\u0430\u0440\u0432\u0430\u043d\u0435",dashboard_increased_levels_stress_question:"\u0418\u0437\u043f\u0438\u0442\u0432\u0430\u0442\u0435 \u043b\u0438 \u0437\u0430\u0432\u0438\u0448\u0435\u043d\u0438 \u043d\u0438\u0432\u0430 \u043d\u0430 \u0441\u0442\u0440\u0435\u0441?",dashboard_increased_mental_work_question:"\u0417\u0430\u0441\u0438\u043b\u0435\u043d \u0443\u043c\u0441\u0442\u0432\u0435\u043d \u0442\u0440\u0443\u0434?",dashboard_increased_daily_physical_question:"\u0417\u0430\u0432\u0438\u0448\u0435\u043d\u0430 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u0430 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442?",dashboard_increased_level_stress_answer_1:"\u041c\u043e\u043c\u0435\u043d\u0442\u043d\u043e \u0437\u0430\u0432\u0438\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0438\u0432\u0430\u0442\u0430 \u043d\u0430 \u0441\u0442\u0440\u0435\u0441",dashboard_increased_level_stress_answer_2:"\u0425\u0440\u043e\u043d\u0438\u0447\u043d\u043e \u0437\u0430\u0432\u0438\u0448\u0435\u043d\u0438 \u043d\u0438\u0432\u0430 \u043d\u0430 \u0441\u0442\u0440\u0435\u0441\u0430",dashboard_increased_level_brain_answer_1:"\u0418\u0437\u043f\u0438\u0442\u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0438\u0447\u0430\u0439\u043d\u043e \u0437\u0430\u0432\u0438\u0448\u0435\u043d\u0438 \u043d\u0438\u0432\u0430 \u043d\u0430 \u0443\u043c\u0441\u0442\u0432\u0435\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430",dashboard_extra_load_minutes:"\u041c\u0438\u043d\u0443\u0442\u0438:",dashboard_add_influencer_recipes_to_my_profile:"\u0414\u043e\u0431\u0430\u0432\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438\u0442\u0435 \u043a\u044a\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u0430 \u043c\u0438",dashboard_cancel_influencer_subscription:"\u0421\u043f\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442\u0430",dashboard_cancel_subscription_confirmation:"\u0421\u0438\u0433\u0443\u0440\u043d\u0438 \u043b\u0438 \u0441\u0442\u0435, \u0447\u0435 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u0441\u043f\u0440\u0435\u0442\u0435 \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442 \u0437\u0430 \u0442\u0435\u0437\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438?",dashboard_buy_form_loading:"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0444\u043e\u0440\u043c\u0430 \u0437\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435 ...",dashboard_buy_form_title:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435",dashboard_pricing_remove_from_order:"\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438 \u043e\u0442 \u043f\u043e\u0440\u044a\u0447\u043a\u0430\u0442\u0430",dashboard_pricing_without_recipes_of:"\u0411\u0435\u0437 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u043d\u0430",dashboard_pricing_with_recipes_of:"\u0421 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u043d\u0430",dashboard_navbar_new:"\u041d\u043e\u0432\u043e",dashboard_stars:"\u0417\u0432\u0435\u0437\u0434\u0438",site_our_stars:"\u041d\u0430\u0448\u0438\u0442\u0435 \u0437\u0432\u0435\u0437\u0434\u0438",site_our_stars_text:"\u041d\u0430\u043c\u0435\u0440\u0438 \u0430\u0432\u0442\u043e\u0440\u0441\u043a\u0438 \u0438 \u043b\u044e\u0431\u0438\u043c\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u043d\u0430 \u043d\u0430\u0448\u0438\u0442\u0435 \u0437\u0432\u0435\u0437\u0434\u0438",user_preferred_products:"\u041b\u044e\u0431\u0438\u043c\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438",referrals_navbar:"\u0420\u0435\u0444\u0435\u0440\u0430\u043b\u0438",videos:"\u0412\u0438\u0434\u0435\u0430",change_not_found_products:"\u041d\u044f\u043c\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438",change_product_modal_title:"\u0417\u0430\u043c\u0435\u043d\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430",change_product_modal_choose:"\u0418\u0437\u0431\u0435\u0440\u0438",change_product_modal_replace:"\u0417\u0430\u043c\u0435\u043d\u0438",recipes_text_not_found_title:"\u041d\u044f\u043c\u0430 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438",added_meals:"\u0414\u043e\u0431\u0430\u0432\u0435\u043d\u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f",hranene:"\u0425\u0440\u0430\u043d\u0435\u043d\u0435",copy_all_recipes:"\u041a\u043e\u043f\u0438\u0440\u0430\u0439 \u0440\u0435\u0446\u0435\u043f\u0442\u0438\u0442\u0435",confirm_delete_product:"\u041d\u0430\u0438\u0441\u0442\u0438\u043d\u0430 \u043b\u0438 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u043f\u0440\u0435\u043c\u0430\u0445\u043d\u0435\u0442\u0435 \u0442\u043e\u0437\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u043e\u0442 \u0440\u0435\u0446\u0435\u043f\u0442\u0430\u0442\u0430?",delete_product:"\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438",exclude_products:"\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f",user_preferred_meals:"\u041b\u044e\u0431\u0438\u043c\u0438 \u0445\u0440\u0430\u043d\u0438",chat_mail_subject:"\u0418\u043c\u0430\u0442\u0435 \u043d\u043e\u0432\u043e \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 %s \u0438\u0437\u043f\u0440\u0430\u0442\u043d\u043e \u043d\u0430 %s",chat_mail_btn_title:"\u041e\u0442\u0432\u043e\u0440\u0438 \u0447\u0430\u0442\u0430",UNTIL20:"\u0434\u043e 20 \u043c\u0438\u043d.",UNTIL45:"\u0434\u043e 45 \u043c\u0438\u043d.",UNTIL90:"\u0434\u043e 90 \u043c\u0438\u043d.",ONCEA2DAYS:"\u0432\u0435\u0434\u043d\u044a\u0436 \u043d\u0430 2 \u0434\u043d\u0438",global_profile:"\u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435",target_weight:"\u0422\u0435\u0433\u043b\u043e - \u0426\u0435\u043b",fat_hold:"\u041a\u044a\u0434\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e \u0437\u0430\u0434\u044a\u0440\u0436\u0430\u0442\u0435 \u043c\u0430\u0437\u043d\u0438\u043d\u0438?",how_long_food_prepare:"\u0412\u0440\u0435\u043c\u0435 \u0437\u0430 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f\u043d\u0435 \u043d\u0430 \u0445\u0440\u0430\u043d\u0430\u0442\u0430",when_prepare_food:"\u041a\u043e\u0433\u0430 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0442\u0435 \u0434\u0430 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f\u0442\u0435 \u0445\u0440\u0430\u043d\u0430\u0442\u0430 \u0441\u0438?",BEFORE_LUNCH:"\u041f\u0440\u0435\u0434\u0438 \u0432\u0435\u0447\u0435\u0440\u044f",MORNING:"\u0421\u0443\u0442\u0440\u0438\u043d, \u043f\u0440\u0435\u0434\u0438 \u0434\u0430 \u0437\u0430\u043f\u043e\u0447\u043d\u0435 \u0434\u0435\u043d\u044f\u0442",TONIGHT_AFTER_LUNCH:"\u0412\u0435\u0447\u0435\u0440, \u0441\u043b\u0435\u0434 \u0432\u0435\u0447\u0435\u0440\u044f",website_meals_adventure_text:"\u0429\u0435 \u0442\u0435 \u0438\u0437\u043d\u0435\u043d\u0430\u0434\u0430\u043c\u0435 \u0441 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435\u0442\u043e \u0441\u0438 \u043e\u0442 \u0440\u0435\u0446\u0435\u043f\u0442\u0438. \u0412\u0441\u0438\u0447\u043a\u0438 \u0442\u0435 \u0441\u0430 \u0438\u0437\u0447\u0438\u0441\u043b\u0435\u043d\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u043d\u043e \u0437\u0430 \u0442\u0435\u0431, \u0434\u043e \u0433\u0440\u0430\u043c. \u0411\u044a\u0440\u0437\u0438\u043d\u0430\u0442\u0430 \u0438 \u044f\u0441\u043d\u043e\u0442\u0430\u0442\u0430 \u043d\u0430 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f\u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438 \u043e\u0442 \u0442\u043e\u0432\u0430 \u0434\u0430\u043b\u0438 \u0438\u043c\u0430\u0448 \u0432\u0441\u0438\u0447\u043a\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438 \u0434\u043e\u043c\u0430\u043a\u0438\u043d\u0441\u043a\u0438 \u0443\u0440\u0435\u0434\u0438. \u0421\u044a\u0432\u0435\u0442\u0432\u0430\u043c\u0435 \u0442\u0435 \u0434\u0430 \u0441\u0438 \u043d\u0430\u0431\u0430\u0432\u0438\u0448 \u0438 \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u043a\u0438!",send_new_mail:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438 \u0438\u043c\u0435\u0439\u043b\u0430 \u043e\u0442\u043d\u043e\u0432\u043e",change_not_found_products_text:"\u041d\u0435 \u0431\u044f\u0445\u0430 \u043e\u0442\u043a\u0440\u0438\u0442\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438, \u0441 \u043a\u043e\u0438\u0442\u043e \u0434\u0430 \u0431\u044a\u0434\u0435 \u0437\u0430\u043c\u043d\u0435\u043d \u0442\u043e\u0437\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442.",recipes_text_not_found_text:"\u0422\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u043a\u044a\u043c \u0432\u0430\u0448\u0438\u044f \u0445\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u0435\u043d \u043f\u043b\u0430\u043d \u0437\u0430 \u0441\u044a\u043e\u0442\u0432\u0435\u0442\u043d\u0430\u0442\u0430 \u0434\u0430\u0442\u0430.",website_you_know_text:"\u0417\u043d\u0430\u0435\u0448 \u043b\u0438, \u0447\u0435 \u0432\u0441\u0438\u0447\u043a\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430 \u0434\u0430 \u0441\u043c\u0435 \u0437\u0434\u0440\u0430\u0432\u0438 \u0438 \u043f\u044a\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0438 \u0432 \u0436\u0438\u0432\u043e\u0442\u0430 \u043d\u0438 \u0441\u0435 \u043d\u0430\u043c\u0438\u0440\u0430 \u0432 \u0445\u0440\u0430\u043d\u0430\u0442\u0430? \u041d\u043e \u0438\u0437\u0431\u043e\u0440\u0430 \u043d\u0430 \u0445\u0440\u0430\u043d\u0430, \u043c\u043e\u0436\u0435 \u0434\u0430 \u0434\u043e\u0432\u0435\u0434\u0435 \u0434\u043e \u0440\u0435\u0437\u0443\u043b\u0442\u0430\u0442\u0438 \u0432 \u0434\u0432\u0435\u0442\u0435 \u043a\u0440\u0430\u0439\u043d\u043e\u0441\u0442\u0438. \u0425\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438\u0442\u0435 \u0435\u0434\u0438\u043d\u0438\u0446\u0438 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u0449\u0438 \u0441\u0435 \u0432 \u0445\u0440\u0430\u043d\u0430\u0442\u0430 \u043d\u0438 (\u0432\u044a\u0433\u043b\u0435\u0445\u0438\u0434\u0440\u0430\u0442\u0438, \u043f\u0440\u043e\u0442\u0435\u0438\u043d\u0438 \u0438 \u043c\u0430\u0437\u043d\u0438\u043d\u0438), \u0430 \u0441\u044a\u0449\u043e \u0438 \u043d\u0435 \u043f\u043e-\u043c\u0430\u043b\u043a\u043e \u0432\u0430\u0436\u043d\u0438\u0442\u0435 \u0432\u0438\u0442\u0430\u043c\u0438\u043d\u0438, \u043c\u0438\u043d\u0435\u0440\u0430\u043b\u0438 \u0438 \u0444\u0438\u0442\u043e\u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0438 \u043c\u043e\u0433\u0430\u0442 \u0434\u0430 \u0431\u044a\u0434\u0430\u0442 \u0432 \u0441\u0438\u043b\u043d\u043e \u0434\u0435\u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u0430\u043d\u0438 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0438 \u0435\u0434\u043d\u0430 \u0441\u043f\u0440\u044f\u043c\u043e \u0434\u0440\u0443\u0433\u0430. \u0414\u0430 \u0441\u0435 \u043d\u0430\u0443\u0447\u0438\u0448 \u043d\u0430 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u0430\u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435 \u0435 \u0432\u0440\u0435\u043c\u0435\u0435\u043c\u043a\u043e \u0438 \u0447\u0435\u0441\u0442\u043e \u043d\u0435\u043f\u0440\u0438\u043b\u043e\u0436\u0438\u043c\u043e \u0432 \u043d\u043e\u0440\u043c\u0430\u043b\u043d\u043e\u0442\u043e \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u0438\u0435 \u043d\u0430 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0438\u0447\u043a\u0438.",site_save_time_plan_easy_text:"\u0412\u044a\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0442\u0430 \u0434\u0430 \u043f\u043b\u0430\u043d\u0443\u0432\u0430\u0442\u0435 \u043a\u0430\u043a \u0434\u0430 \u0441\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0441 \u043d\u0430\u0448\u0438\u044f \u0445\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u0435\u043d \u0434\u043d\u0435\u0432\u043d\u0438\u043a, \u0437\u0430 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u043f\u0435\u0440\u0438\u043e\u0434 \u043d\u0430\u043f\u0440\u0435\u0434, \u0438\u043c\u0430 \u0441\u0432\u043e\u0438\u0442\u0435 \u043f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430. \u041f\u0435\u0441\u0442\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u0435 \u043e\u0442: \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0430\u0449 \u0441\u0435 \u043f\u0430\u0437\u0430\u0440\u0441\u043a\u0438 \u0441\u043f\u0438\u0441\u044a\u043a...\u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u043d\u043e \u043c\u043e\u0436\u0435 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u0435\u0442\u043e \u0437\u0430 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f\u043d\u0435 \u043d\u0430 \u0432\u0441\u044f\u043a\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430, \u043a\u0430\u043a \u0442\u043e\u0447\u043d\u043e \u0441\u0435 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f \u0441\u0442\u044a\u043f\u043a\u0430 \u043f\u043e \u0441\u0442\u044a\u043f\u043a\u0430 + \u0432\u0438\u0434\u0435\u043e. \u041f\u0435\u0441\u0442\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u0435 \u043a\u0430\u0442\u043e \u0441 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u0435\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u0410\u0433\u0430\u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430 \u043a\u0430\u043a\u0432\u043e \u0434\u0430 \u0431\u044a\u0434\u0435 \u0432\u0430\u0448\u0435\u0442\u043e \u043c\u0435\u043d\u044e \u0434\u043d\u0435\u0441.",site_about_ceo:"\u0421\u0442\u043e\u044f\u043d \u041f\u0435\u0442\u043a\u043e\u0432, <br>\r\nCEO",site_save_time_but_money_text:"\u0421\u0442\u044a\u043f\u043a\u0430 \u043f\u043e \u0441\u0442\u044a\u043f\u043a\u0430 \u0437\u0430 \u0432\u0441\u044f\u043a\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430. \u041a\u044a\u0434\u0435\u0442\u043e \u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u043c\u043e \u0441\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438 \u0441\u044a\u0432\u0435\u0442\u0438 \u0438 \u0441\u0440\u0435\u0434\u043d\u0438 \u043c\u0435\u0440\u043a\u0438 \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u0442\u0435 \u043c\u0435\u0440\u0438\u0442\u0435\u043b\u043d\u0438 \u0435\u0434\u0438\u043d\u0438\u0446\u0438 \u0441\u043f\u0440\u044f\u043c\u043e \u043b\u044a\u0436\u0438\u0446\u0438 \u0438 \u0447\u0430\u0448\u0438 \u0437\u0430 \u0432\u0430\u0448\u0435 \u0443\u043b\u0435\u0441\u043d\u0435\u043d\u0438\u0435. \u0418 \u0432\u0441\u0435 \u043f\u0430\u043a, \u0449\u0435 \u0438\u043c\u0430\u0442\u0435 \u043d\u0443\u0436\u0434\u0430 \u043e\u0442 \u043a\u0443\u0445\u043d\u0435\u043d\u0441\u043a\u0430 \u0432\u0435\u0437\u043d\u0430!",site_easy_cooking_one_two_three_text:"\u0417\u0430 \u043d\u0430\u0441 \u0435 \u0432\u0430\u0436\u043d\u043e, \u0432\u0441\u044f\u043a\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0441\u0442\u044a\u043f\u043a\u0430 \u043f\u043e \u0441\u0442\u044a\u043f\u043a\u0430. \u041d\u0430\u043c\u0438\u0440\u0430\u0442\u0435 \u043d\u0435\u0441\u044a\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0438\u044f \u0438\u043b\u0438 \u0438\u043c\u0430\u0442\u0435 \u0432\u044a\u043f\u0440\u043e\u0441 - \u043d\u0430\u0448\u0438\u044f\u0442 \u0435\u043a\u0438\u043f \u0435 \u043d\u0430 \u0440\u0430\u0437\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430 \u0441\u044a\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0447\u0440\u0435\u0437 \u0447\u0430\u0442 \u0431\u0443\u0442\u043e\u043d\u0430. \u041d\u0435 \u0441\u0435 \u043a\u043e\u043b\u0435\u0431\u0430\u0439\u0442\u0435 \u0434\u0430 \u043d\u0438 \u043f\u0438\u0448\u0435\u0442\u0435!",site_easy_cooking_video_uppercase_text:"\u0412 \u0441\u0442\u0440\u0435\u043c\u0435\u0436\u0430 \u0441\u0438 \u0434\u0430 \u043f\u0440\u0438\u0434\u0430\u0434\u0435\u043c \u0432\u0438\u0437\u0443\u0430\u043b\u0435\u043d \u043e\u0431\u043b\u0438\u043a \u043d\u0430 \u043d\u0430\u0447\u0438\u043d\u0430 \u043d\u0430 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f\u043d\u0435 \u043d\u0430 \u0432\u0441\u044f\u043a\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430 - \u043d\u0430\u0448\u0438\u044f\u0442 \u0435\u043a\u0438\u043f \u043d\u0435\u0443\u043c\u043e\u0440\u043d\u043e \u0437\u0430\u0441\u043d\u0435\u043c\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0438\u0442\u0435 \u043d\u0430 \u0433\u043e\u0442\u0432\u0435\u043d\u0435. \u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430, \u0432\u0438\u0434\u0435\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044a\u0442 \u0441\u0435 \u0441\u0438\u043d\u0442\u0435\u0437\u0438\u0440\u0430 \u0432 \u043a\u0440\u0430\u0442\u043a\u043e \u043a\u043b\u0438\u043f\u0447\u0435 \u0434\u043e 1 \u043c\u0438\u043d\u0443\u0442\u0430.",site_every_taste_agaia_text:"\u041d\u0430\u0434 600 \u0440\u0435\u0446\u0435\u043f\u0442\u0438! \u0412\u0435\u0433\u0430\u043d, \u0432\u0435\u0433\u0435\u0442\u0435\u0440\u0438\u0430\u043d\u0441\u043a\u043e, \u0441 \u043c\u043d\u043e\u0433\u043e \u043c\u043b\u0435\u0447\u043d\u0438 \u0438\u043b\u0438 \u0441\u0430\u043c\u043e \u0431\u0435\u0437 \u0442\u044f\u0445. \u0412\u0438\u0441\u043e\u043a\u043e\u043c\u0430\u0437\u043d\u0438\u043d\u043e (\u043a\u0435\u0442\u043e) \u0438\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e - \u0438\u0437\u0431\u0438\u0440\u0430\u0442\u0435 \u0412\u0438\u0435. \u0411\u044a\u0434\u0435\u0442\u0435 \u0441\u0438\u0433\u0443\u0440\u043d\u0438, \u0447\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0435\u0442\u043e \u0412\u0438 \u0449\u0435 \u043f\u0440\u0438\u0434\u043e\u0431\u0438\u0435 \u043d\u0435\u0431\u0438\u0432\u0430\u043b\u043e \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435, \u043a\u043e\u0435\u0442\u043e \u0435 \u043a\u043b\u044e\u0447\u043e\u0432\u043e \u0437\u0430 \u0434\u0430 \u043d\u0435 \u0412\u0438 \u043e\u043c\u0440\u044a\u0437\u0432\u0430 \u043d\u0438\u043a\u043e\u0433\u0430.",email_verification_subject:"\u041f\u043e\u0442\u0432\u044a\u0440\u0436\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 Email \u0430\u0434\u0440\u0435\u0441 \u0432 Agaia.life",email_verification_text_above:"\u041a\u043b\u0438\u043a\u043d\u0435\u0442\u0435 \u043d\u0430 \u0431\u0443\u0442\u043e\u043d\u0430 \u043f\u043e-\u0434\u043e\u043b\u0443 \u0437\u0430 \u0434\u0430 \u043f\u043e\u0442\u0432\u044a\u0440\u0434\u0438\u0442\u0435 \u0432\u0430\u0448\u0438\u044f \u0438\u043c\u0435\u0439\u043b \u0430\u0434\u0440\u0435\u0441 \u0438 \u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0430 \u0441\u0438.",email_verification_btn_title:"\u041f\u043e\u0442\u0432\u044a\u0440\u0434\u0435\u0442\u0435 \u0438\u043c\u0435\u0439\u043b\u0430",send_to_friend_success_text:"\u0412\u0430\u0448\u0438\u044f\u0442 \u0441\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 \u0431\u0435\u0448\u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d \u0443\u0441\u043f\u0435\u0448\u043d\u043e.",copy_recipe_copied_success:"\u0412\u0430\u0448\u0430\u0442\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430 \u0431\u0435\u0448\u0435 \u043a\u043e\u043f\u0438\u0440\u0430\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e.",send_to_friend_info_text:"\u0418\u0437\u043f\u0440\u0430\u0442\u0435 \u0432\u0430\u0448\u0438\u044f \u0448\u043e\u043f\u0438\u043d\u0433 \u043b\u0438\u0441\u0442 \u043d\u0430 \u0440\u043e\u0434\u043d\u0438\u043d\u0430/\u043f\u0440\u0438\u044f\u0442\u0435\u043b \u0441 \u0446\u0435\u043b \u0434\u0430 \u0412\u0438 \u0443\u043b\u0435\u0441\u043d\u0438 \u0432 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435\u0442\u043e. \u041b\u0435\u0441\u043d\u043e \u0438 \u0443\u0434\u043e\u0431\u043d\u043e -\u0441\u0430\u043c\u043e \u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 email \u0430\u0434\u0440\u0435\u0441.",change_language:"Change language",categories_foods:"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 \u0445\u0440\u0430\u043d\u0438",invoice_email_thanks_text:"\u0417\u0434\u0440\u0430\u0432\u0435\u0439\u0442\u0435, \r\n<br/>\r\n\u0411\u043b\u0430\u0433\u043e\u0434\u0438\u0440\u043c \u0412\u0438, \u0447\u0435 \u0438\u0437\u0431\u0440\u0430\u0445\u0442\u0435 Agaia Life.",family_info_text:'\u0410\u043a\u043e \u0447\u043b\u0435\u043d \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0434\u043e\u043c\u0430\u043a\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u043b\u0438 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0441\u044a\u0449\u043e \u0438\u043c\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0430, \u043c\u043e\u0436\u0435 \u043b\u0435\u0441\u043d\u043e \u0434\u0430 \u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u043a\u044a\u043c "\u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e". \u0418\u0437\u043f\u0438\u0448\u0435\u0442\u0435 \u043f\u044a\u043b\u043d\u0438\u044f \u0438\u043c\u0435\u0439\u043b \u0430\u0434\u0440\u0435\u0441, \u0441 \u043a\u043e\u0439\u0442\u043e \u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0435\u043d\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u043c\u0443 \u0438 \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 \u0431\u0443\u0442\u043e\u043d\u0430 "\u0434\u043e\u0431\u0430\u0432\u0438".\r\n\u0422\u043e\u0432\u0430 \u0449\u0435 \u0412\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u0438 \u043f\u0440\u0438 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435 \u0434\u0430 \u0438\u043c\u0430\u0442\u0435 \u043e\u0431\u0435\u0434\u0438\u043d\u0435\u043d \u0441\u043f\u0438\u0441\u044a\u043a \u043d\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438, \u043a\u0430\u043a\u0442\u043e \u0438 \u0434\u0430 \u0438\u043c\u0430\u0442\u0435 \u043e\u0431\u0435\u0434\u0438\u043d\u0435\u043d\u0438 \u0433\u0440\u0430\u043c\u0430\u0436\u0438 \u043f\u0440\u0438 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f\u043d\u0435 \u043d\u0430 \u0435\u0434\u043d\u043e \u0438 \u0441\u044a\u0449\u043e \u044f\u0441\u0442\u0438\u0435.',free_subscription_1week_text:"\u0417\u0434\u0440\u0430\u0432\u0435\u0439\u0442\u0435,<br/>\r\n\u041d\u0430\u043f\u043e\u043c\u043d\u044f\u043c\u0435 \u0412\u0438, \u0447\u0435 \u043e\u0441\u0442\u0430\u0432\u0430\u0442 7 \u0434\u043d\u0438 \u0434\u043e \u043a\u0440\u0430\u044f \u043d\u0430 \u0432\u0430\u0448\u0438\u044f \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442\u0435\u043d \u043f\u043b\u0430\u043d. \u041c\u043e\u0436\u0435 \u0434\u0430 \u0433\u043e \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438\u0442\u0435 \u043e\u0442 \u0431\u0443\u0442\u043e\u043d\u0430 \u043f\u043e-\u0434\u043e\u043b\u0443. \u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u0432\u044a\u043f\u0440\u043e\u0441\u0438, \u043d\u0435 \u0441\u0435 \u043a\u043e\u043b\u0435\u0431\u0430\u0439\u0442\u0435 \u0434\u0430 \u043d\u0438 \u043f\u043e\u043f\u0438\u0442\u0430\u0442\u0435 \u0437\u0430 \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0412\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0432\u0430 \u043e\u0442 \u0447\u0430\u0442 \u043f\u0430\u043d\u0435\u043b\u0430 \u0432\u044a\u0432 \u0432\u0430\u0448\u0438\u044f \u043f\u0440\u043e\u0444\u0438\u043b - \u043d\u0430 \u043b\u0438\u043d\u0438\u044f \u0441\u043c\u0435 \u0432\u0441\u0435\u043a\u0438 \u0434\u0435\u043d \u043e\u0442 08:00 \u0434\u043e 22:00 \u0447\u0430\u0441\u0430.",free_subscription_text_under:"\u041f\u043e\u0437\u0434\u0440\u0430\u0432\u0438,<br/>\r\n\u0415\u043a\u0438\u043f\u044a\u0442 \u043d\u0430 \u0410\u0433\u0430\u044f",reset_password_text_above:"\u0417\u0434\u0440\u0430\u0432\u0435\u0439\u0442\u0435! \r\n<br/>\r\n\u041c\u043e\u043b\u044f, \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043e\u0447\u0435\u043d\u0438\u044f \u043b\u0438\u043d\u043a \u0437\u0430 \u0434\u0430 \u0441\u043c\u0435\u043d\u0438\u0442\u0435 \u0432\u0430\u0448\u0430\u0442\u0430 \u043f\u0430\u0440\u043e\u043b\u0430.\r\n<br/><br/>",reset_password_text_bottom:"\u041f\u043e\u0437\u0434\u0440\u0430\u0432\u0438, <br/>\r\n\u0415\u043a\u0438\u043f\u044a\u0442 \u043d\u0430 \u0410\u0433\u0430\u044f",welcome_email_text_html:'<b>\u0414\u043e\u0431\u0440\u0435 \u0434\u043e\u0448\u043b\u0438 \u0432 Agaia Life!</b> \r\n<br/><br/>\r\n\u0420\u0430\u0434\u0432\u0430\u043c\u0435 \u0441\u0435, \u0447\u0435 \u0441\u0435 \u043f\u0440\u0438\u0441\u044a\u0435\u0434\u0438\u043d\u0438\u0445\u0442\u0435 \u043a\u044a\u043c \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e\u0442\u043e \u043d\u0430 Agaia. \r\n<br/>\r\n\u041f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0442\u0435 \u0442\u043e\u0437\u0438 \u0438\u043c\u0435\u0439\u043b \u0437\u0430\u0449\u043e\u0442\u043e \u0441\u0442\u0435 \u0441\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u043b\u0438 \u043d\u0430 \u043d\u0430\u0448\u0438\u044f \u0443\u0435\u0431\u0441\u0430\u0439\u0442.\r\n<br/><br/>\r\n\u041d\u0430\u0434\u044f\u0432\u0430\u043c\u0435 \u0441\u0435, \u0447\u0435 \u0449\u0435 \u043e\u0442\u0434\u0435\u043b\u0438\u0442\u0435 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u043c\u0438\u043d\u0443\u0442\u0438 \u0437\u0430 \u0434\u0430 \u0437\u0430\u0432\u044a\u0440\u0448\u0438\u0442\u0435 \u0412\u0430\u0448\u0438\u044f \u043f\u0440\u043e\u0444\u0438\u043b \u0438 \u0434\u0430 \u043d\u0438 \u0443\u043b\u0435\u0441\u043d\u0438\u0442\u0435 \u0432 \u043f\u043e\u0441\u0442\u0438\u0433\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u0412\u0430\u0448\u0430\u0442\u0430 \u0446\u0435\u043b. \r\n<br/>\r\n\u041f\u0440\u0438 \u043d\u0443\u0436\u0434\u0430 \u043e\u0442 \u043f\u043e\u043c\u043e\u0449, \u043e\u0431\u044a\u0440\u043d\u0435\u0442\u0435 \u0441\u0435 \u043a\u044a\u043c \u043d\u0430\u0448\u0438\u0442\u0435 \u0447\u0430\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438 \u043e\u0442 \u0431\u0430\u043b\u043e\u043d\u0447\u0435\u0442\u043e \u0434\u043e\u043b\u0443 \u0432 \u0434\u044f\u0441\u043d\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0430 \u0438\u043b\u0438 \u0432 \u043b\u0438\u0447\u043d\u0438\u044f \u0432\u0438 \u043f\u0440\u043e\u0444\u0438\u043b \u0433\u043e\u0440\u0435 \u0432\u0434\u044f\u0441\u043d\u043e.\r\n\r\n<br/><br/>\r\n\u041f\u0440\u0438\u0441\u044a\u0435\u0434\u0438\u043d\u0435\u0442\u0435 \u0441\u0435 \u043a\u044a\u043c \u043d\u0430\u0448\u0430\u0442\u0430 \u0444\u0435\u0439\u0441\u0431\u0443\u043a \u0433\u0440\u0443\u043f\u0430 \u043e\u0442 \u0442\u0443\u043a: <a target="_blank" href="https://www.facebook.com/groups/agaia.life">https://www.facebook.com/groups/agaia.life</a>, \u0437\u0430 \u0434\u0430 \u043e\u0431\u043c\u0435\u043d\u044f\u043c\u0435 \u0441\u044a\u0432\u0435\u0442\u0438, \u0441\u043d\u0438\u043c\u043a\u0438 \u0438 \u043a\u043b\u0438\u043f\u0447\u0435\u0442\u0430 \u043d\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0438 \u0440\u0435\u0437\u0443\u043b\u0442\u0430\u0442\u0438! \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0438\u043c!\r\n<br/><br/>\r\n\u041f\u043e\u0437\u0434\u0440\u0430\u0432\u0438,\r\n\u0415\u043a\u0438\u043f\u044a\u0442 \u043d\u0430 Agaia\r\n<br/><br/>\r\n\u041f.\u0421 \u0417\u0430 \u0434\u0430 \u0441\u0442\u0430\u043d\u0435 \u043d\u0430\u0448\u0435\u0442\u043e \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u043e\u0449\u0435 \u043f\u043e-\u0433\u043e\u043b\u044f\u043c\u043e, \u0440\u0430\u0437\u0447\u0438\u0442\u0430\u043c\u0435 \u043d\u0430 \u0412\u0430\u0441 \u0437\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u0430 \u0432\u0440\u044a\u0437\u043a\u0430. \u0414\u043e\u043a\u0430\u0442\u043e \u0412\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0438\u0442\u0435 \u043d\u0430\u0434 \u0441\u0435\u0431\u0435 \u0441\u0438, \u043d\u0438\u0435 \u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0438\u043c \u043d\u0430\u0434 Agaia!',without_subscription_remainder_text:"\u0417\u0434\u0440\u0430\u0432\u0435\u0439,<br/>\r\n\u041d\u0430\u043f\u043e\u043c\u043d\u044f\u043c\u0435 \u0412\u0438, \u0447\u0435 \u0432\u0430\u0448\u0438\u044f\u0442 \u0431\u0435\u0437\u043f\u043b\u0430\u0442\u0435\u043d \u0430\u0431\u043e\u043d\u0430\u043c\u0435\u043d\u0442\u0435\u043d \u043f\u043b\u0430\u043d \u0438\u0437\u0442\u0435\u0447\u0435. \u041c\u043e\u0436\u0435 \u0434\u0430 \u0433\u043e \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438\u0442\u0435 \u043e\u0442 \u0431\u0443\u0442\u043e\u043d\u0430 \u043f\u043e-\u0434\u043e\u043b\u0443. \u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u0432\u044a\u043f\u0440\u043e\u0441\u0438, \u043d\u0435 \u0441\u0435 \u043a\u043e\u043b\u0435\u0431\u0430\u0439\u0442\u0435 \u0434\u0430 \u043d\u0438 \u043f\u043e\u043f\u0438\u0442\u0430\u0442\u0435 \u0437\u0430 \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0412\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0432\u0430 \u043e\u0442 \u0447\u0430\u0442 \u043f\u0430\u043d\u0435\u043b\u0430 \u0432 \u0442\u0432\u043e\u044f \u043f\u0440\u043e\u0444\u0438\u043b - \u043d\u0430 \u043b\u0438\u043d\u0438\u044f \u0441\u043c\u0435 \u0432\u0441\u0435\u043a\u0438 \u0434\u0435\u043d \u043e\u0442 08:00 \u0434\u043e 22:00 \u0447\u0430\u0441\u0430.",site_first_steps_text:"<p>\u041f\u0440\u0435\u0434\u0438 \u0432\u0441\u0438\u0447\u043a\u043e, \u0449\u0435 \u0438\u043c\u0430\u043c\u0435 \u043d\u0443\u0436\u0434\u0430 \u043e\u0442 \u043c\u0430\u043b\u043a\u043e \u043f\u043e\u0432\u0435\u0447\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u043a\u0430\u0442\u043e: \u0432\u0430\u0448\u0438\u0442\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438 \u043d\u0430\u0432\u0438\u0446\u0438, \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u043d\u0438\u044f, \u0446\u0435\u043b\u0438 \u0438 \u0434\u0440\u0443\u0433\u0438. </p>\r\n<p>\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430, \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0442\u0438\u043f \u0442\u044f\u043b\u043e \u0438 \u0435\u0432\u0435\u043d\u0442\u0443\u0430\u043b\u043d\u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u0435\u043b\u043d\u0438 \u043d\u0435\u0442\u043e\u043b\u0435\u0440\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u0438, \u0430 \u043d\u0438\u0435 \u0449\u0435 \u043d\u0430\u0440\u0435\u0434\u0438\u043c  \u043f\u044a\u0437\u0435\u043b\u0430 \u0437\u0430 \u0412\u0430\u0441. </p>",site_solutions_save_time_text:"\u041e\u0441\u0432\u0435\u043d, \u0447\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0432\u0430\u0442\u0435 \u0432\u0441\u0438\u0447\u043a\u043e \u0441\u0432\u044a\u0440\u0437\u0430\u043d\u043e \u0441 \u0432\u0430\u0448\u0435\u0442\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0435, \u043f\u0440\u0438 \u0438\u0437\u0432\u044a\u043d\u0440\u0435\u0434\u043d\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u0434\u043e\u0440\u0438 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u0442\u0435 \u0438\u0437\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u043d\u043e \u043b\u0435\u0441\u043d\u0438 \u0438 \u0431\u044a\u0440\u0437\u0438 \u0437\u0430 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u044f\u043d\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438.\r\n\u0420\u0430\u0437\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u0435 \u0438 \u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u043d \u0441\u043f\u0438\u0441\u044a\u043a \u0437\u0430 \u043f\u0430\u0437\u0430\u0440\u0443\u0432\u0430\u043d\u0435. \u0421\u0442\u0440\u0430\u0445\u043e\u0442\u043d\u043e, \u043d\u0430\u043b\u0438, \u043d\u043e \u0442\u043e\u0432\u0430 \u0434\u0430\u043b\u0435\u0447 \u043d\u0435 \u0435 \u0432\u0441\u0438\u0447\u043a\u043e\u2026",site_every_taste_variants_text:"\u0421\u0442\u0430\u0440\u0430\u0435\u043c \u0441\u0435 \u0434\u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u043c\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0438 \u043d\u0430 \u043d\u0430\u0448\u0438\u0442\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0438 \u0442\u0430\u043a\u0430, \u0447\u0435 \u0434\u0430 \u0441\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438 \u0437\u0430 \u0432\u0435\u0441\u043a\u0438 \u0445\u0430\u0447\u0438\u043d \u043d\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0435. \r\n\u041a\u043e\u0433\u0430\u0442\u043e  \u0438\u0441\u043a\u0430\u0442\u0435 \u043b\u0435\u043a\u043e \u0434\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u0430 \u0441\u043f\u0440\u044f\u043c\u043e \u0432\u0430\u0448\u0438\u0442\u0435 \u043d\u0443\u0436\u0434\u0438, \u043c\u043e\u0436\u0435 \u0434\u0430 \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438 \u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0430\u0442\u0430.",ectomorph_text:"<ul>\r\n<li>\u0421\u043b\u0430\u0431 \u0441 \u0438\u0437\u0434\u044a\u043b\u0436\u0435\u043d\u0430 \u043a\u043e\u0441\u0442\u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430</li>\r\n<li>\u0411\u044a\u0440\u0437 \u043c\u0435\u0442\u0430\u0431\u043e\u043b\u0438\u0437\u044a\u043c \u0438 \u0442\u0440\u0443\u0434\u043d\u043e \u043f\u043e\u043a\u0430\u0447\u0432\u0430 \u0442\u0435\u0433\u043b\u043e</li>\r\n<li>\u041c\u0430\u043b\u043a\u0438 \u0438 \u0441\u043b\u0430\u0431\u0438 \u0440\u0430\u043c\u0435\u043d\u0435 \u0441 \u043f\u043b\u043e\u0441\u044a\u043a \u0433\u0440\u044a\u0434\u0435\u043d \u043a\u043e\u0448</li>\r\n</ul>",mesomorph_text:"<ul>\r\n<li>\u0410\u0442\u043b\u0435\u0442\u0438\u0447\u043d\u043e \u0438 \u0441\u0438\u043b\u043d\u043e \u0442\u044f\u043b\u043e</li>\r\n<li>\u041f\u043e\u043a\u0430\u0447\u0432\u0430 \u043c\u0443\u0441\u043a\u0443\u043b\u0430\u0442\u0443\u0440\u0430 \u043b\u0435\u0441\u043d\u043e</li>\r\n<li>\u0410\u0435\u0441\u0442\u0435\u0442\u0438\u0447\u043d\u0430 \u0438 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0430 \u043c\u0443\u0441\u043a\u0443\u043b\u0430\u0442\u0443\u0440\u0430</li>\r\n</ul>",endomorph_text:"<ul>\r\n<li>\u0411\u0430\u0432\u0435\u043d \u043c\u0435\u0442\u0430\u0431\u043e\u043b\u0438\u0437\u044a\u043c</li>\r\n<li>\u041f\u043e\u043a\u0430\u0447\u0432\u0430 \u043c\u0443\u0441\u043a\u0443\u043b\u0430\u0442\u0443\u0440\u0430 \u0438 \u043c\u0430\u0437\u043d\u0438\u043d\u0438 \u043b\u0435\u0441\u043d\u043e</li>\r\n<li>\u041d\u0430\u0431\u0438\u0442 \u0438 \u0437\u0430\u043a\u0440\u044a\u0433\u043b\u0435\u043d \u0441 \u043e\u0431\u043b\u0430 \u043c\u0443\u0441\u043a\u0443\u043b\u0430\u0442\u0443\u0440\u0430</li>\r\n</ul>",hello:"\u0417\u0434\u0440\u0430\u0432\u0435\u0439,",profiles:"\u041f\u0440\u043e\u0444\u0438\u043b\u0438",unread_messages:"\u041d\u0435\u043f\u0440\u043e\u0447\u0435\u0442\u0435\u043d\u0438 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u044f",no_new_messages:"\u041d\u044f\u043c\u0430 \u043d\u043e\u0432\u0438 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u044f",no_new_messages_body:"\u041d\u044f\u043c\u0430 \u043d\u043e\u0432\u0438 \u043d\u0435\u043f\u0440\u043e\u0447\u0435\u0442\u0435\u043d\u0438 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u044f",unfinished_profiles:"\u041d\u0435\u0434\u043e\u0432\u044a\u0440\u0448\u0435\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438",no_unfinished_profiles:"\u041d\u044f\u043c\u0430 \u043d\u0435\u0434\u043e\u0432\u044a\u0440\u0448\u0435\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438",no_unfinished_profiles_body:"\u041d\u044f\u043c\u0430 \u043d\u043e\u0432\u0438 \u043d\u0435\u0434\u043e\u0432\u044a\u0440\u0448\u0435\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438",inobyd_file_upload:"\u0418\u0437\u0431\u0435\u0440\u0438 .XLSX \u0444\u0430\u0439\u043b \u0437\u0430 \u0438\u043c\u043f\u043e\u0440\u0442 \u043e\u0442 InBody",inbody_files_uploaded:"\u0414\u0430\u043d\u043d\u0438\u0442\u0435 \u0441\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0438!",inbody_fail:"\u041d\u0435\u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0434\u0430\u043d\u043d\u0438\u0442\u0435! \u041c\u043e\u043b\u044f, \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e!",macros_calories:"\u041c\u0430\u043a\u0440\u043e\u0441\u0438 \u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0438",macros_calories_text:"\u0422\u0435\u0437\u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0438 \u0438 \u043c\u0430\u043a\u0440\u043e\u0441\u0438 \u0449\u0435 \u043f\u0440\u0435\u0437\u0430\u043f\u0438\u0448\u0430\u0442 \u043a\u0430\u043b\u043a\u0443\u043b\u0438\u0440\u0430\u043d\u0438\u0442\u0435 \u043e\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0430 \u0437\u0430 \u0432\u0441\u0435\u043a\u0438 \u0434\u0435\u043d \u0432 \u043a\u043e\u0439\u0442\u043e \u043d\u044f\u043c\u0430 \u0437\u0430\u0434\u0430\u0434\u0435\u043d\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u0438 \u0434\u0440\u0443\u0433\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438.",daily_calories:"\u0414\u043d\u0435\u0432\u043d\u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0438",enter_calories:"\u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u043a\u0430\u043b\u043e\u0440\u0438\u0438",enter_protein:"\u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u043f\u0440\u043e\u0442\u0435\u0438\u043d (\u0433\u0440)",enter_carbs:"\u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0432\u044a\u0433\u043b\u0435\u0445\u0438\u0434\u0440\u0430\u0442\u0438 (\u0433\u0440)",enter_fats:"\u0432\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u043c\u0430\u0437\u043d\u0438\u043d\u0438 (\u0433\u0440)",daily_daily_macros_calories:"\u0414\u043d\u0435\u0432\u043d\u0438 \u043c\u0430\u043a\u0440\u043e\u0441\u0438 \u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0438",daily_daily_macros_calories_text:"\u0422\u0435\u0437\u0438 \u043a\u0430\u043b\u043e\u0440\u0438\u0438 \u0438 \u043c\u0430\u043a\u0440\u043e\u0441\u0438 \u0449\u0435 \u043f\u0440\u0435\u0437\u0430\u043f\u0438\u0448\u0430\u0442 \u043a\u0430\u043b\u043a\u0443\u043b\u0438\u0440\u0430\u043d\u0438\u0442\u0435 \u043e\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0430 \u0438 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0442\u0435 \u043e\u0442 \u0432\u0430\u0441 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435 \u043c\u0430\u043a\u0440\u043e\u0441\u0438 \u0437\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u0434\u0435\u043d \u0432 \u043a\u043e\u0439\u0442\u043e \u0441\u0442\u0435 \u0438\u0437\u0431\u0440\u0430\u043b\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043e\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0442\u0430 \u043f\u043e-\u0434\u043e\u043b\u0443.",enter_new_day:"\u0414\u043e\u0431\u0430\u0432\u0438 \u043d\u043e\u0432 \u0434\u0435\u043d",meals_overwrite:"\u0425\u0440\u0430\u043d\u0435\u043d\u0438\u044f - \u041f\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0432\u0430\u043d\u0435 \u043d\u0430 \u043a\u0430\u043b\u043e\u0440\u0438\u0438",procent_overwrite:"\u041f\u0440\u043e\u0446\u0435\u043d\u0442 %",add_new_overwrite:"\u0414\u043e\u0431\u0430\u0432\u0438 \u043d\u043e\u0432\u043e \u043f\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0432\u0430\u043d\u0435",enter_all_fields:"\u041c\u043e\u043b\u044f, \u043f\u043e\u043f\u044a\u043b\u043d\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043a\u0438 \u043f\u043e\u043b\u0435\u0442\u0430!",hraneniq:"\u0425\u0440\u0430\u043d\u0435\u043d\u0438\u044f",just_settings:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438",access:"\u0414\u043e\u0441\u0442\u044a\u043f",notes:"\u0411\u0435\u043b\u0435\u0436\u043a\u0438",messages:"\u0421\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u044f",nutrients:"\u041d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0438",new_message:"\u041d\u043e\u0432\u043e \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 ...",title:"\u0417\u0430\u0433\u043b\u0430\u0432\u0438\u0435",note:"\u0411\u0435\u043b\u0435\u0436\u043a\u0430",new_note:"\u041d\u043e\u0432\u0430 \u0431\u0435\u043b\u0435\u0436\u043a\u0430",note_text:"\u0422\u0435\u043a\u0441\u0442",note_date:"\u0414\u0430\u0442\u0430",note_settings:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438",note_edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0439",note_delete:"\u0418\u0437\u0442\u0440\u0438\u0439",hide_btn_predloji:"\u0421\u043a\u0440\u0438\u0439 \u0431\u0443\u0442\u043e\u043d\u0430 (\u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0438 \u0420\u0435\u0446\u0435\u043f\u0442\u0438)",hide_btn_predloji_text:"\u041a\u043e\u0433\u0430\u0442\u043e \u0431\u044a\u0434\u0435 \u043c\u0430\u0440\u043a\u0438\u0440\u0430\u043d\u0430 \u0442\u0430\u0437\u0438 \u043e\u043f\u0446\u0438\u044f \u0431\u0443\u0442\u043e\u043d\u0430 \u0437\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u043f\u0440\u043e\u0444\u0438\u043b\u0430 \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044f \u0449\u0435 \u0441\u0435 \u0441\u043a\u0440\u0438\u0435.",weight_history:"\u041f\u0440\u043e\u043c\u044f\u043d\u0430 \u043d\u0430 \u0442\u0435\u0433\u043b\u043e\u0442\u043e",create_profile:"\u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u0440\u043e\u0444\u0438\u043b",profile_finished:"\u0417\u0430\u0432\u044a\u0440\u0448\u0435\u043d",profile:"\u041f\u0440\u043e\u0444\u0438\u043b",send_login_info:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438 \u0438\u043d\u0444\u043e \u0437\u0430 \u0432\u0445\u043e\u0434",create_new_profile:"\u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u043d\u043e\u0432 \u043f\u0440\u043e\u0444\u0438\u043b",sending_login_info:"\u0418\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435 \u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0437\u0430 \u0432\u0445\u043e\u0434",upload_files:"\u041f\u0440\u0438\u043a\u0430\u0447\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u0435:",upload_text:"\u0422\u0435\u043a\u0441\u0442:",meals_calories:"\u0425\u0440\u0430\u043d\u0435\u043d\u0438\u044f - \u041a\u0430\u043b\u043e\u0440\u0438\u0438",from_date:"\u041e\u0442 \u0414\u0430\u0442\u0430",create_order:"\u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u043e\u0440\u044a\u0447\u043a\u0430",delete_recipes:"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435 \u043d\u0430 \u0440\u0435\u0446\u0435\u043f\u0442\u0438",send_message:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438",days_to_order:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u043d\u0438 \u0437\u0430 \u043f\u043e\u0440\u044a\u0447\u043a\u0438",make_order:"\u041f\u043e\u0440\u044a\u0447\u0430\u0439",delete_all:"\u0418\u0437\u0442\u0440\u0438\u0439 \u0432\u0441\u0438\u0447\u043a\u043e",btn_delete:"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435",contact_us_text:'<p>\r\n\u041f\u0440\u0438 \u0432\u044a\u043f\u0440\u043e\u0441\u0438, \u043c\u043e\u043b\u044f, \u043d\u0435 \u0441\u0435 \u043a\u043e\u043b\u0435\u0431\u0430\u0439\u0442\u0435 \u0434\u0430 \u0441\u0435 \u0441\u0432\u044a\u0440\u0436\u0435\u0442\u0435 \u0441 \u043d\u0430\u0441.\r\n\u0421 \u0443\u0434\u043e\u0432\u043e\u043b\u0441\u0442\u0432\u0438\u0435 \u0449\u0435 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043d\u0430 \u0432\u0430\u0448\u0438\u0442\u0435 \u0432\u044a\u043f\u0440\u043e\u0441\u0438 \u043f\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043e\u0442 \u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a \u0434\u043e \u043f\u0435\u0442\u044a\u043a \u043e\u0442 9:00 \u0434\u043e 17:00\u0447.\r\n</p>\r\n<p>\u0422\u0435\u043b\u0435\u0444\u043e\u043d\u0435\u043d \u043d\u043e\u043c\u0435\u0440: +359 879 570 628</p> \r\n<p>Email: <a href="mailto:info@agaia.life">info@agaia.life</a></p>'}},g58P:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return l});var i=n("mrSG"),r=n("CcnG"),o=n("gI3B"),a=function(){return function(){this.class="",this.backgroundGradient=!1,this.backgroundColor="transparent",this.backgroundGradientStopColor="transparent",this.backgroundOpacity=1,this.backgroundStroke="transparent",this.backgroundStrokeWidth=0,this.backgroundPadding=5,this.percent=0,this.radius=90,this.space=4,this.toFixed=0,this.maxPercent=1e3,this.renderOnClick=!0,this.units="%",this.unitsFontSize="10",this.unitsFontWeight="normal",this.unitsColor="#444444",this.outerStrokeGradient=!1,this.outerStrokeWidth=8,this.outerStrokeColor="#78C000",this.outerStrokeGradientStopColor="transparent",this.outerStrokeLinecap="round",this.innerStrokeColor="#C7E596",this.innerStrokeWidth=4,this.titleFormat=void 0,this.title="auto",this.titleColor="#444444",this.titleFontSize="20",this.titleFontWeight="normal",this.subtitleFormat=void 0,this.subtitle="progress",this.subtitleColor="#A9A9A9",this.subtitleFontSize="10",this.subtitleFontWeight="normal",this.imageSrc=void 0,this.imageHeight=void 0,this.imageWidth=void 0,this.animation=!0,this.animateTitle=!0,this.animateSubtitle=!1,this.animationDuration=500,this.showTitle=!0,this.showSubtitle=!0,this.showUnits=!0,this.showImage=!1,this.showBackground=!0,this.showInnerStroke=!0,this.clockwise=!0,this.responsive=!1,this.startFromZero=!0,this.showZeroOuterStroke=!0,this.lazy=!1}}(),s=function(){function t(t,e,n){var s=this;this.elRef=e,this.document=n,this.onClick=new r.EventEmitter,this.svgElement=null,this.isInViewport=!1,this.onViewportChanged=new r.EventEmitter,this._viewportChangedSubscriber=null,this.options=new a,this.defaultOptions=new a,this._lastPercent=0,this._gradientUUID=null,this.render=function(){s.applyOptions(),s.options.lazy?(null===s.svgElement&&s.draw(s._lastPercent),s.isInViewport&&(s.options.animation&&s.options.animationDuration>0?s.animate(s._lastPercent,s.options.percent):s.draw(s.options.percent),s._lastPercent=s.options.percent)):(s.options.animation&&s.options.animationDuration>0?s.animate(s._lastPercent,s.options.percent):s.draw(s.options.percent),s._lastPercent=s.options.percent)},this.polarToCartesian=function(t,e,n,i){var r=i*Math.PI/180;return{x:t+Math.sin(r)*n,y:e-Math.cos(r)*n}},this.draw=function(t){var e,n,r,o,a,l,u=(t=void 0===t?s.options.percent:Math.abs(t))>100?100:t,c=2*s.options.radius+2*s.options.outerStrokeWidth;s.options.showBackground&&(c+=2*s.options.backgroundStrokeWidth+s.max(0,2*s.options.backgroundPadding));var d,p,h={x:c/2,y:c/2},f=h.x,m=h.y-s.options.radius,g=s.polarToCartesian(h.x,h.y,s.options.radius,360*(s.options.clockwise?u:100-u)/100);100===u&&(g.x=g.x+(s.options.clockwise?-.01:.01)),u>50?(d=(e=Object(i.h)(s.options.clockwise?[1,1]:[1,0],2))[0],p=e[1]):(d=(n=Object(i.h)(s.options.clockwise?[0,1]:[0,0],2))[0],p=n[1]);var v=s.options.animateTitle?t:s.options.percent,y=v>s.options.maxPercent?s.options.maxPercent.toFixed(s.options.toFixed)+"+":v.toFixed(s.options.toFixed),b=s.options.animateSubtitle?t:s.options.percent,_={x:h.x,y:h.y,textAnchor:"middle",color:s.options.titleColor,fontSize:s.options.titleFontSize,fontWeight:s.options.titleFontWeight,texts:[],tspans:[]};void 0!==s.options.titleFormat&&"Function"===s.options.titleFormat.constructor.name?(w=s.options.titleFormat(v))instanceof Array?_.texts=Object(i.i)(w):_.texts.push(w.toString()):"auto"===s.options.title?_.texts.push(y):s.options.title instanceof Array?_.texts=Object(i.i)(s.options.title):_.texts.push(s.options.title.toString());var w,C={x:h.x,y:h.y,textAnchor:"middle",color:s.options.subtitleColor,fontSize:s.options.subtitleFontSize,fontWeight:s.options.subtitleFontWeight,texts:[],tspans:[]};void 0!==s.options.subtitleFormat&&"Function"===s.options.subtitleFormat.constructor.name?(w=s.options.subtitleFormat(b))instanceof Array?C.texts=Object(i.i)(w):C.texts.push(w.toString()):s.options.subtitle instanceof Array?C.texts=Object(i.i)(s.options.subtitle):C.texts.push(s.options.subtitle.toString());var x={text:""+s.options.units,fontSize:s.options.unitsFontSize,fontWeight:s.options.unitsFontWeight,color:s.options.unitsColor},E=0,S=1;if(s.options.showTitle&&(E+=_.texts.length),s.options.showSubtitle&&(E+=C.texts.length),s.options.showTitle)try{for(var O=Object(i.j)(_.texts),k=O.next();!k.done;k=O.next())_.tspans.push({span:k.value,dy:s.getRelativeY(S,E)}),S++}catch(I){r={error:I}}finally{try{k&&!k.done&&(o=O.return)&&o.call(O)}finally{if(r)throw r.error}}if(s.options.showSubtitle)try{for(var T=Object(i.j)(C.texts),P=T.next();!P.done;P=T.next())C.tspans.push({span:P.value,dy:s.getRelativeY(S,E)}),S++}catch(M){a={error:M}}finally{try{P&&!P.done&&(l=T.return)&&l.call(T)}finally{if(a)throw a.error}}null===s._gradientUUID&&(s._gradientUUID=s.uuid()),s.svg={viewBox:"0 0 "+c+" "+c,width:s.options.responsive?"100%":c,height:s.options.responsive?"100%":c,backgroundCircle:{cx:h.x,cy:h.y,r:s.options.radius+s.options.outerStrokeWidth/2+s.options.backgroundPadding,fill:s.options.backgroundColor,fillOpacity:s.options.backgroundOpacity,stroke:s.options.backgroundStroke,strokeWidth:s.options.backgroundStrokeWidth},path:{d:"M "+f+" "+m+"\n        A "+s.options.radius+" "+s.options.radius+" 0 "+d+" "+p+" "+g.x+" "+g.y,stroke:s.options.outerStrokeColor,strokeWidth:s.options.outerStrokeWidth,strokeLinecap:s.options.outerStrokeLinecap,fill:"none"},circle:{cx:h.x,cy:h.y,r:s.options.radius-s.options.space-s.options.outerStrokeWidth/2-s.options.innerStrokeWidth/2,fill:"none",stroke:s.options.innerStrokeColor,strokeWidth:s.options.innerStrokeWidth},title:_,units:x,subtitle:C,image:{x:h.x-s.options.imageWidth/2,y:h.y-s.options.imageHeight/2,src:s.options.imageSrc,width:s.options.imageWidth,height:s.options.imageHeight},outerLinearGradient:{id:"outer-linear-"+s._gradientUUID,colorStop1:s.options.outerStrokeColor,colorStop2:"transparent"===s.options.outerStrokeGradientStopColor?"#FFF":s.options.outerStrokeGradientStopColor},radialGradient:{id:"radial-"+s._gradientUUID,colorStop1:s.options.backgroundColor,colorStop2:"transparent"===s.options.backgroundGradientStopColor?"#FFF":s.options.backgroundGradientStopColor}}},this.getAnimationParameters=function(t,e){var n,i,r,o=s.options.startFromZero?0:t<0?0:t,a=e<0?0:s.min(e,s.options.maxPercent),l=Math.abs(Math.round(a-o));return l>=100?(n=100,i=s.options.animateTitle||s.options.animateSubtitle?Math.round(l/n):1):(n=l,i=1),(r=Math.round(s.options.animationDuration/n))<10&&(n=s.options.animationDuration/(r=10),i=!s.options.animateTitle&&!s.options.animateSubtitle&&l>100?Math.round(100/n):Math.round(l/n)),i<1&&(i=1),{times:n,step:i,interval:r}},this.animate=function(t,e){s._timerSubscription&&!s._timerSubscription.closed&&s._timerSubscription.unsubscribe();var n=s.options.startFromZero?0:t,i=e,r=s.getAnimationParameters(n,i),a=r.step,l=r.interval,u=n;s._timerSubscription=n<i?Object(o.a)(0,l).subscribe(function(){(u+=a)<=i?!s.options.animateTitle&&!s.options.animateSubtitle&&u>=100?(s.draw(i),s._timerSubscription.unsubscribe()):s.draw(u):(s.draw(i),s._timerSubscription.unsubscribe())}):Object(o.a)(0,l).subscribe(function(){(u-=a)>=i?!s.options.animateTitle&&!s.options.animateSubtitle&&i>=100?(s.draw(i),s._timerSubscription.unsubscribe()):s.draw(u):(s.draw(i),s._timerSubscription.unsubscribe())})},this.emitClickEvent=function(t){s.options.renderOnClick&&s.animate(0,s.options.percent),s.onClick.emit(t)},this.applyOptions=function(){var t,e;try{for(var n=Object(i.j)(Object.keys(s.options)),r=n.next();!r.done;r=n.next()){var o=r.value;s.hasOwnProperty(o)&&void 0!==s[o]?s.options[o]=s[o]:s.templateOptions&&void 0!==s.templateOptions[o]&&(s.options[o]=s.templateOptions[o])}}catch(a){t={error:a}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}s.options.radius=Math.abs(+s.options.radius),s.options.space=+s.options.space,s.options.percent=+s.options.percent>0?+s.options.percent:0,s.options.maxPercent=Math.abs(+s.options.maxPercent),s.options.animationDuration=Math.abs(s.options.animationDuration),s.options.outerStrokeWidth=Math.abs(+s.options.outerStrokeWidth),s.options.innerStrokeWidth=Math.abs(+s.options.innerStrokeWidth),s.options.backgroundPadding=+s.options.backgroundPadding},this.getRelativeY=function(t,e){return(1*(t-e/2)-.18).toFixed(2)+"em"},this.min=function(t,e){return t<e?t:e},this.max=function(t,e){return t>e?t:e},this.uuid=function(){var t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)})},this.findSvgElement=function(){if(null===this.svgElement){var t=this.elRef.nativeElement.getElementsByTagName("svg");t.length>0&&(this.svgElement=t[0])}},this.checkViewport=function(){s.findSvgElement();var t=s.isInViewport;s.isInViewport=s.isElementInViewport(s.svgElement),t!==s.isInViewport&&s.onViewportChanged.emit({oldValue:t,newValue:s.isInViewport})},this.onScroll=function(t){s.checkViewport()},this.loadEventsForLazyMode=function(){if(s.options.lazy){s.document.addEventListener("scroll",s.onScroll,!0),s.window.addEventListener("resize",s.onScroll,!0),null===s._viewportChangedSubscriber&&(s._viewportChangedSubscriber=s.onViewportChanged.subscribe(function(t){t.newValue&&s.render()}));var t=Object(o.a)(0,50).subscribe(function(){null===s.svgElement?s.checkViewport():t.unsubscribe()})}},this.unloadEventsForLazyMode=function(){s.document.removeEventListener("scroll",s.onScroll,!0),s.window.removeEventListener("resize",s.onScroll,!0),null!==s._viewportChangedSubscriber&&(s._viewportChangedSubscriber.unsubscribe(),s._viewportChangedSubscriber=null)},this.document=n,this.window=this.document.defaultView,Object.assign(this.options,t),Object.assign(this.defaultOptions,t)}return t.prototype.isDrawing=function(){return this._timerSubscription&&!this._timerSubscription.closed},t.prototype.isElementInViewport=function(t){if(null==t)return!1;var e,n=t.getBoundingClientRect(),i=t.parentNode;do{if(e=i.getBoundingClientRect(),n.top>=e.bottom)return!1;if(n.bottom<=e.top)return!1;if(n.left>=e.right)return!1;if(n.right<=e.left)return!1;i=i.parentNode}while(i!=this.document.body);return!(n.top>=(this.window.innerHeight||this.document.documentElement.clientHeight)||n.bottom<=0||n.left>=(this.window.innerWidth||this.document.documentElement.clientWidth)||n.right<=0)},t.prototype.ngOnInit=function(){this.loadEventsForLazyMode()},t.prototype.ngOnDestroy=function(){this.unloadEventsForLazyMode()},t.prototype.ngOnChanges=function(t){this.render(),"lazy"in t&&(t.lazy.currentValue?this.loadEventsForLazyMode():this.unloadEventsForLazyMode())},t}(),l=function(){function t(){}var e;return e=t,t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[{provide:a,useValue:t}]}},t}()},g88A:function(t,e,n){"use strict";var i;n.d(e,"a",function(){return i}),function(t){t.English="EN",t.Bulgarian="BG"}(i||(i={}))},gI3B:function(t,e,n){"use strict";var i=n("6blF"),r=n("T1DM"),o=n("isby");function a(t){return!Object(o.a)(t)&&t-parseFloat(t)+1>=0}var s=n("nkY7");function l(t,e,n){void 0===t&&(t=0);var o=-1;return a(e)?o=Number(e)<1?1:Number(e):Object(s.a)(e)&&(n=e),Object(s.a)(n)||(n=r.a),new i.a(function(e){var i=a(t)?t:+t-n.now();return n.schedule(u,i,{index:0,period:o,subscriber:e})})}function u(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)}}n.d(e,"a",function(){return l})},gIcY:function(t,e,n){"use strict";n.r(e),n.d(e,"\u0275angular_packages_forms_forms_bc",function(){return se}),n.d(e,"\u0275angular_packages_forms_forms_bb",function(){return ae}),n.d(e,"\u0275angular_packages_forms_forms_z",function(){return re}),n.d(e,"\u0275angular_packages_forms_forms_ba",function(){return oe}),n.d(e,"\u0275angular_packages_forms_forms_a",function(){return _}),n.d(e,"\u0275angular_packages_forms_forms_b",function(){return C}),n.d(e,"\u0275angular_packages_forms_forms_c",function(){return ut}),n.d(e,"\u0275angular_packages_forms_forms_d",function(){return ct}),n.d(e,"\u0275angular_packages_forms_forms_e",function(){return _t}),n.d(e,"\u0275angular_packages_forms_forms_f",function(){return Et}),n.d(e,"\u0275angular_packages_forms_forms_g",function(){return Tt}),n.d(e,"\u0275angular_packages_forms_forms_h",function(){return Ot}),n.d(e,"\u0275angular_packages_forms_forms_bh",function(){return ie}),n.d(e,"\u0275angular_packages_forms_forms_bd",function(){return k}),n.d(e,"\u0275angular_packages_forms_forms_be",function(){return T}),n.d(e,"\u0275angular_packages_forms_forms_i",function(){return M}),n.d(e,"\u0275angular_packages_forms_forms_j",function(){return R}),n.d(e,"\u0275angular_packages_forms_forms_bf",function(){return A}),n.d(e,"\u0275angular_packages_forms_forms_bg",function(){return j}),n.d(e,"\u0275angular_packages_forms_forms_k",function(){return Mt}),n.d(e,"\u0275angular_packages_forms_forms_l",function(){return Rt}),n.d(e,"\u0275angular_packages_forms_forms_m",function(){return Ut}),n.d(e,"\u0275angular_packages_forms_forms_n",function(){return At}),n.d(e,"\u0275angular_packages_forms_forms_p",function(){return Vt}),n.d(e,"\u0275angular_packages_forms_forms_o",function(){return Lt}),n.d(e,"\u0275angular_packages_forms_forms_q",function(){return H}),n.d(e,"\u0275angular_packages_forms_forms_s",function(){return Y}),n.d(e,"\u0275angular_packages_forms_forms_r",function(){return W}),n.d(e,"\u0275angular_packages_forms_forms_u",function(){return Wt}),n.d(e,"\u0275angular_packages_forms_forms_v",function(){return Yt}),n.d(e,"\u0275angular_packages_forms_forms_x",function(){return Qt}),n.d(e,"\u0275angular_packages_forms_forms_w",function(){return Kt}),n.d(e,"\u0275angular_packages_forms_forms_y",function(){return Jt}),n.d(e,"\u0275angular_packages_forms_forms_t",function(){return Bt}),n.d(e,"AbstractControlDirective",function(){return u}),n.d(e,"AbstractFormGroupDirective",function(){return lt}),n.d(e,"CheckboxControlValueAccessor",function(){return w}),n.d(e,"ControlContainer",function(){return c}),n.d(e,"NG_VALUE_ACCESSOR",function(){return b}),n.d(e,"COMPOSITION_BUFFER_MODE",function(){return x}),n.d(e,"DefaultValueAccessor",function(){return E}),n.d(e,"NgControl",function(){return I}),n.d(e,"NgControlStatus",function(){return dt}),n.d(e,"NgControlStatusGroup",function(){return pt}),n.d(e,"NgForm",function(){return Ct}),n.d(e,"NgFormSelectorWarning",function(){return St}),n.d(e,"NgModel",function(){return It}),n.d(e,"NgModelGroup",function(){return kt}),n.d(e,"RadioControlValueAccessor",function(){return D}),n.d(e,"FormControlDirective",function(){return Dt}),n.d(e,"FormControlName",function(){return zt}),n.d(e,"FormGroupDirective",function(){return jt}),n.d(e,"FormArrayName",function(){return Ft}),n.d(e,"FormGroupName",function(){return Nt}),n.d(e,"NgSelectOption",function(){return B}),n.d(e,"SelectControlValueAccessor",function(){return z}),n.d(e,"SelectMultipleControlValueAccessor",function(){return q}),n.d(e,"CheckboxRequiredValidator",function(){return qt}),n.d(e,"EmailValidator",function(){return $t}),n.d(e,"MaxLengthValidator",function(){return Xt}),n.d(e,"MinLengthValidator",function(){return Zt}),n.d(e,"PatternValidator",function(){return te}),n.d(e,"RequiredValidator",function(){return Gt}),n.d(e,"FormBuilder",function(){return ee}),n.d(e,"AbstractControl",function(){return gt}),n.d(e,"FormArray",function(){return bt}),n.d(e,"FormControl",function(){return vt}),n.d(e,"FormGroup",function(){return yt}),n.d(e,"NG_ASYNC_VALIDATORS",function(){return h}),n.d(e,"NG_VALIDATORS",function(){return p}),n.d(e,"Validators",function(){return m}),n.d(e,"VERSION",function(){return ne}),n.d(e,"FormsModule",function(){return le}),n.d(e,"ReactiveFormsModule",function(){return ue});var i=n("mrSG"),r=n("CcnG"),o=n("VNr4"),a=n("0/uQ"),s=n("67Y/"),l=n("ZYjt"),u=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(u);function d(t){return null==t||0===t.length}var p=new r.InjectionToken("NgValidators"),h=new r.InjectionToken("NgAsyncValidators"),f=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,m=function(){function t(){}return t.min=function(t){return function(e){if(d(e.value)||d(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(d(e.value)||d(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return d(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return d(t.value)?null:f.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(d(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(d(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(g);return 0==e.length?null:function(t){return y(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(g);return 0==e.length?null:function(t){var n=function(t,n){return e.map(function(e){return e(t)})}(t).map(v);return Object(o.a)(n).pipe(Object(s.a)(y))}},t}();function g(t){return null!=t}function v(t){var e=Object(r["\u0275isPromise"])(t)?Object(a.a)(t):t;if(!Object(r["\u0275isObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function y(t){var e=t.reduce(function(t,e){return null!=e?Object(i.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}var b=new r.InjectionToken("NgValueAccessor"),_={provide:b,useExisting:Object(r.forwardRef)(function(){return w}),multi:!0},w=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),C={provide:b,useExisting:Object(r.forwardRef)(function(){return E}),multi:!0},x=new r.InjectionToken("CompositionEventMode"),E=function(){function t(t,e,n){var i;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=Object(l.s)()?Object(l.s)().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function S(t){return t.validate?function(e){return t.validate(e)}:t}function O(t){return t.validate?function(e){return t.validate(e)}:t}var k={provide:b,useExisting:Object(r.forwardRef)(function(){return T}),multi:!0},T=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function P(){throw new Error("unimplemented")}var I=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(i.d)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return P()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return P()},enumerable:!0,configurable:!0}),e}(u),M={provide:b,useExisting:Object(r.forwardRef)(function(){return D}),multi:!0},R=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),D=function(){function t(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(I),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},t}(),A={provide:b,useExisting:Object(r.forwardRef)(function(){return j}),multi:!0},j=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),L='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',N='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',V='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',F=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+L)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '+N+"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        "+V)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+L)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+N)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')},t.disabledAttrWarning=function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")},t.ngModelWarning=function(t){console.warn("\n    It looks like you're using ngModel on the same form field as "+t+". \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n    ")},t}(),H={provide:b,useExisting:Object(r.forwardRef)(function(){return z}),multi:!0};function U(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var z=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=r["\u0275looseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=U(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var r=Object(i.j)(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var a=o.value;if(this._compareWith(this._optionMap.get(a),t))return a}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),B=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(U(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}(),W={provide:b,useExisting:Object(r.forwardRef)(function(){return q}),multi:!0};function G(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var q=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=r["\u0275looseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var 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)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o<r.length;o++){var a=r.item(o),s=e._getOptionValue(a.value);i.push(s)}else for(r=n.options,o=0;o<r.length;o++)(a=r.item(o)).selected&&(s=e._getOptionValue(a.value),i.push(s));e.value=i,t(i)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){var e,n;try{for(var r=Object(i.j)(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var a=o.value;if(this._compareWith(this._optionMap.get(a)._value,t))return a}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),Y=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._value=t,this._setElementValue(G(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._select?(this._value=t,this._setElementValue(G(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype._setSelected=function(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}();function $(t,e){return Object(i.i)(e.path,[t])}function K(t,e){t||J(e,"Cannot find control with"),e.valueAccessor||J(e,"No value accessor for form control with"),t.validator=m.compose([t.validator,e.validator]),t.asyncValidator=m.composeAsync([t.asyncValidator,e.asyncValidator]),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&&Z(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Z(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function Z(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Q(t,e){null==t&&J(e,"Cannot find control with"),t.validator=m.compose([t.validator,e.validator]),t.asyncValidator=m.composeAsync([t.asyncValidator,e.asyncValidator])}function X(t){return J(t,"There is no FormControl instance attached to form control element with")}function J(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function tt(t){return null!=t?m.compose(t.map(S)):null}function et(t){return null!=t?m.composeAsync(t.map(O)):null}function nt(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(r["\u0275looseIdentical"])(e,n.currentValue)}var it=[w,j,T,z,q,D];function rt(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 ot(t,e){if(!e)return null;Array.isArray(e)||J(t,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return e.forEach(function(e){var o;e.constructor===E?n=e:(o=e,it.some(function(t){return o.constructor===t})?(i&&J(t,"More than one built-in value accessor matches form control with"),i=e):(r&&J(t,"More than one custom value accessor matches form control with"),r=e))}),r||i||n||(J(t,"No valid value accessor for form control with"),null)}function at(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function st(t,e,n,i){Object(r.isDevMode)()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(F.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}var lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return $(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return tt(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return et(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(c),ut=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),ct={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},dt=function(t){function e(e){return t.call(this,e)||this}return Object(i.d)(e,t),e}(ut),pt=function(t){function e(e){return t.call(this,e)||this}return Object(i.d)(e,t),e}(ut);function ht(t){var e=mt(t)?t.validators:t;return Array.isArray(e)?tt(e):e||null}function ft(t,e){var n=mt(e)?e.asyncValidators:t;return Array.isArray(n)?et(n):n||null}function mt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var gt=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=ht(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=ft(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(i.a)({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(Object(i.a)({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=v(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof yt?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof bt&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){mt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),vt=function(t){function e(e,n,i){void 0===e&&(e=null);var r=t.call(this,ht(n),ft(i,n))||this;return r._onChange=[],r._applyFormState(e),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return Object(i.d)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(gt),yt=function(t){function e(e,n,i){var r=t.call(this,ht(n),ft(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.d)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(i){n._throwIfControlMissing(i),n.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(i){n.controls[i]&&n.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof vt?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(i,r){n=n||e.contains(r)&&t(i)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,i){n=e(n,t,i)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(i.j)(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(gt),bt=function(t){function e(e,n,i){var r=t.call(this,ht(n),ft(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.d)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,i){n._throwIfControlMissing(i),n.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,i){n.at(i)&&n.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof vt?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(i.j)(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(gt),_t={provide:c,useExisting:Object(r.forwardRef)(function(){return Ct})},wt=Promise.resolve(null),Ct=function(t){function e(e,n){var i=t.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new r.EventEmitter,i.form=new yt({},tt(e),et(n)),i}return Object(i.d)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;wt.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),K(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;wt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),at(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;wt.then(function(){var n=e._findContainer(t.path),i=new yt({});Q(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;wt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;wt.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,rt(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(c),xt=function(){function t(){}return t.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      '+L+'\n\n      Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ')},t.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+N+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+V)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+N+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+V)},t.ngFormWarning=function(){console.warn("\n    It looks like you're using 'ngForm'.\n\n    Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n    in Angular v9.\n\n    Use 'ng-form' instead.\n\n    Before:\n    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    ")},t}(),Et=new r.InjectionToken("NgFormSelectorWarning"),St=function(){function t(t){(t&&"once"!==t||e._ngFormWarning)&&"always"!==t||(xt.ngFormWarning(),e._ngFormWarning=!0)}var e;return e=t,t._ngFormWarning=!1,t}(),Ot={provide:c,useExisting:Object(r.forwardRef)(function(){return kt})},kt=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}var n;return Object(i.d)(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Ct||xt.modelGroupParentException()},e}(lt),Tt={provide:I,useExisting:Object(r.forwardRef)(function(){return It})},Pt=Promise.resolve(null),It=function(t){function e(e,n,i,o){var a=t.call(this)||this;return a.control=new vt,a._registered=!1,a.update=new r.EventEmitter,a._parent=e,a._rawValidators=n||[],a._rawAsyncValidators=i||[],a.valueAccessor=ot(a,o),a}return Object(i.d)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),nt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?$(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return tt(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return et(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){K(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof kt)&&this._parent instanceof lt?xt.formGroupNameException():this._parent instanceof kt||this._parent instanceof Ct||xt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||xt.missingNameException()},e.prototype._updateValue=function(t){var e=this;Pt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;Pt.then(function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()})},e}(I),Mt=new r.InjectionToken("NgModelWithFormControlWarning"),Rt={provide:I,useExisting:Object(r.forwardRef)(function(){return Dt})},Dt=function(t){function e(e,n,i,o){var a=t.call(this)||this;return a._ngModelWarningConfig=o,a.update=new r.EventEmitter,a._ngModelWarningSent=!1,a._rawValidators=e||[],a._rawAsyncValidators=n||[],a.valueAccessor=ot(a,i),a}var n;return Object(i.d)(e,t),n=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(t){F.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(K(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),nt(t,this.viewModel)&&(st("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return tt(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return et(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e._ngModelWarningSentOnce=!1,e}(I),At={provide:c,useExisting:Object(r.forwardRef)(function(){return jt})},jt=function(t){function e(e,n){var i=t.call(this)||this;return i._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new r.EventEmitter,i}return Object(i.d)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return K(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){at(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Q(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);Q(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,rt(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return X(e)}),e.valueAccessor.registerOnTouched(function(){return X(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&K(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=tt(this._validators);this.form.validator=m.compose([this.form.validator,t]);var e=et(this._asyncValidators);this.form.asyncValidator=m.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||F.missingFormException()},e}(c),Lt={provide:c,useExisting:Object(r.forwardRef)(function(){return Nt})},Nt=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(i.d)(e,t),e.prototype._checkParentType=function(){Ht(this._parent)&&F.groupParentException()},e}(lt),Vt={provide:c,useExisting:Object(r.forwardRef)(function(){return Ft})},Ft=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(i.d)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return $(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return tt(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return et(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){Ht(this._parent)&&F.arrayParentException()},e}(c);function Ht(t){return!(t instanceof Nt||t instanceof jt||t instanceof Ft)}var Ut={provide:I,useExisting:Object(r.forwardRef)(function(){return zt})},zt=function(t){function e(e,n,i,o,a){var s=t.call(this)||this;return s._ngModelWarningConfig=a,s._added=!1,s.update=new r.EventEmitter,s._ngModelWarningSent=!1,s._parent=e,s._rawValidators=n||[],s._rawAsyncValidators=i||[],s.valueAccessor=ot(s,o),s}var n;return Object(i.d)(e,t),n=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(t){F.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),nt(t,this.viewModel)&&(st("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return $(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return tt(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return et(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Nt)&&this._parent instanceof lt?F.ngModelGroupException():this._parent instanceof Nt||this._parent instanceof jt||this._parent instanceof Ft||F.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e._ngModelWarningSentOnce=!1,e}(I),Bt={provide:p,useExisting:Object(r.forwardRef)(function(){return Gt}),multi:!0},Wt={provide:p,useExisting:Object(r.forwardRef)(function(){return qt}),multi:!0},Gt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?m.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.d)(e,t),e.prototype.validate=function(t){return this.required?m.requiredTrue(t):null},e}(Gt),Yt={provide:p,useExisting:Object(r.forwardRef)(function(){return $t}),multi:!0},$t=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?m.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),Kt={provide:p,useExisting:Object(r.forwardRef)(function(){return Zt}),multi:!0},Zt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=m.minLength(parseInt(this.minlength,10))},t}(),Qt={provide:p,useExisting:Object(r.forwardRef)(function(){return Xt}),multi:!0},Xt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=m.maxLength(parseInt(this.maxlength,10))},t}(),Jt={provide:p,useExisting:Object(r.forwardRef)(function(){return te}),multi:!0},te=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=m.pattern(this.pattern)},t}(),ee=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),i=null,r=null,o=void 0;return null==e||void 0===e.asyncValidator&&void 0===e.validator?null!=e&&(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null),new yt(n,{asyncValidators:r,updateOn:o,validators:i})},t.prototype.control=function(t,e,n){return new vt(t,e,n)},t.prototype.array=function(t,e,n){var i=this,r=t.map(function(t){return i._createControl(t)});return new bt(r,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(i){n[i]=e._createControl(t[i])}),n},t.prototype._createControl=function(t){return t instanceof vt||t instanceof yt||t instanceof bt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),ne=new r.Version("7.1.4"),ie=function(){return function(){}}(),re=[ie,B,Y,E,T,j,w,z,q,D,dt,pt,Gt,Zt,Xt,te,qt,$t],oe=[It,kt,Ct,St],ae=[Dt,jt,zt,Nt,Ft],se=function(){return function(){}}(),le=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Et,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),ue=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Mt,useValue:t.warnOnNgModelWithFormControl}]}},t}()},gP80:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.authService=t,this.router=e}return t.prototype.canActivate=function(t,e){return!this.authService.userHasLoggedIn||this.router.navigate(["dashboard"])},t}()},h8FF:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("VNr4"),r=n("blgj"),o=function(){function t(t,e,n,i,r,o){this.usersService=t,this.changeDetectorRef=e,this.notificationService=n,this.localisationService=i,this.minutesToReadableTimePipe=r,this.appLoadingEventsEmitter=o,this.editable=!0,this.notifications=!0,this.trainings=[]}return t.prototype.ngOnInit=function(){var t=this;this.appLoadingEventsEmitter.broadcastAppIsLoading(!0),Object(i.a)(this.usersService.getTrainings(),this.usersService.getUserTrainingActivities(),this.usersService.getUserTrainingDurations(),this.usersService.getUserActivities()).subscribe(function(e){var n=e[1],i=e[2],o=e[3];t.trainings=e[0],t.trainingActivities=n,t.trainingDurations=i,t.activities=o,t.currentlySelectedActivity=t.usersService.userProfile.activity?t.activities.find(function(e){return e.id===t.usersService.userProfile.activity.id}):void 0,t.trainings.length<=0&&t.trainings.push(new r.a),t.appLoadingEventsEmitter.broadcastAppIsLoading(!1),t.changeDetectorRef.markForCheck()})},t.prototype.updateProfile=function(){var t=this,e=!0;this.trainings.map(function(t){t.day&&!(t.day.length<=0)&&t.training_activity&&t.training_duration||(e=!1)}),e?(this.appLoadingEventsEmitter.broadcastAppIsLoading(!0),Object(i.a)([this.usersService.updateUserProfile({activity:{id:this.currentlySelectedActivity.id}}),this.usersService.updateTrainings({trainings:this.convertToTrainingsDTO()})]).subscribe(function(){t.appLoadingEventsEmitter.broadcastAppIsLoading(!1),t.changeDetectorRef.markForCheck(),t.notifications&&t.notificationService.success(t.localisationService.localise("settings_profile_updated_successfully"))},function(){t.appLoadingEventsEmitter.broadcastAppIsLoading(!1)})):this.notificationService.error(this.localisationService.localise("empty_trainings_error"))},t.prototype.addTraining=function(){this.trainings.push(new r.a),this.changeDetectorRef.markForCheck()},t.prototype.removeTraining=function(t){this.trainings.splice(t,1),this.changeDetectorRef.markForCheck()},t.prototype.duplicateTraining=function(t){this.trainings.push({day:this.trainings[t].day,training_activity:this.trainings[t].training_activity,training_duration:this.trainings[t].training_duration}),this.changeDetectorRef.markForCheck()},t.prototype.onDayChange=function(t,e){this.trainings[e].day=t.target.value,this.changeDetectorRef.markForCheck()},t.prototype.onTrainingChange=function(t,e){this.trainings[e].training_activity=this.trainingActivities.find(function(e){return e.id===parseInt(t.target.value)}),this.changeDetectorRef.markForCheck()},t.prototype.onDurationChange=function(t,e){this.trainings[e].training_duration=this.trainingDurations.find(function(e){return e.id===parseInt(t.target.value)}),this.changeDetectorRef.markForCheck()},t.prototype.onActivitySelected=function(t){this.currentlySelectedActivity=t},t.prototype.convertToTrainingsDTO=function(){var t=[];return this.trainings.map(function(e){t.push({day:e.day,training_activity_id:e.training_activity.id,training_duration_id:e.training_duration.id})}),t},t}()},h9Dq:function(t,e,n){"use strict";var i=n("mrSG"),r=function(t){function e(e,n){return t.call(this)||this}return i.d(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("pugT").a);n.d(e,"a",function(){return o});var o=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return i.d(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,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},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=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}(r)},"i/UC":function(t,e,n){"use strict";var i=n("CcnG"),r=n("Ip0R"),o=n("MJvZ"),a=n("FHef"),s=n("TmG5"),l=n("DMaY"),u=n("NAAZ"),c=n("JbCa"),d=n("8hX0"),p=n("ZYjt"),h=n("JvyH"),f=n("OEGa"),m=n("tuCP"),g=n("DQlY"),v=n("NCB2"),y=n("0luw"),b=n("s9o9"),_=n("t9XL"),w=n("eK/2");n.d(e,"a",function(){return P});var C=i["\u0275crt"]({encapsulation:0,styles:[[".upgrade-wrapper[_ngcontent-%COMP%]{height:100%}.modal-body[_ngcontent-%COMP%]{height:100%!important;padding:11px;overflow-y:auto;overflow-x:hidden}.modal-body[_ngcontent-%COMP%]   .logo-body[_ngcontent-%COMP%]{display:block;text-align:center;margin-bottom:15px}.modal-body[_ngcontent-%COMP%]   .logo-body[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:130px}.clear[_ngcontent-%COMP%]{clear:both}.main-image[_ngcontent-%COMP%]{position:relative;left:-11px;width:106%;top:0;margin-bottom:0;height:130px;background-size:cover!important;background-repeat:no-repeat;background-position:center;margin-top:-8px;box-shadow:0 5px 15px -30px rgba(0,0,0,.18),0 8px 5px -5px rgba(0,0,0,.2),0 10px 10px -5px rgba(0,0,0,.09)}.main-image[_ngcontent-%COMP%]   .star-image[_ngcontent-%COMP%]{position:absolute;right:12px;top:11px;border-radius:50%;border:1px solid rgba(83,73,48,.57);width:85px;height:85px;background-size:cover!important;background-repeat:no-repeat;background-position:center;box-shadow:0 5px 15px -30px rgba(0,0,0,.18),0 8px 5px -5px rgba(0,0,0,.2),0 10px 10px -5px rgba(0,0,0,.09)}.main-image[_ngcontent-%COMP%]   .recipe-calories[_ngcontent-%COMP%]{padding:7px 14px;background:rgba(44,45,50,.77);position:absolute;bottom:0;left:0;font-size:.9rem}.main-image[_ngcontent-%COMP%]   .recipe-calories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-transform:lowercase;color:#fff}.recipe-text[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:28px}.datepicker-wrapper2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-top:24px;margin-bottom:22px}.datepicker-wrapper2[_ngcontent-%COMP%]   .current-date[_ngcontent-%COMP%]{display:flex;justify-content:center}.datepicker-wrapper2[_ngcontent-%COMP%]   .current-date-wrapper[_ngcontent-%COMP%]{font-size:14px;padding:8px 12px}.datepicker-wrapper2.ios[_ngcontent-%COMP%]     .wrapper{padding-top:0!important}.datepicker-wrapper2[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:32px;height:32px;background:#e3a300;color:#fff;padding:3px}.recipe-text-title[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;background:#313138;font-size:.8rem;padding:9px 7px;font-weight:700;color:#fff;letter-spacing:1.5px;margin-left:-12px;margin-right:-12px}.delay-3[_ngcontent-%COMP%]{-webkit-animation-delay:.1s;animation-delay:.1s}.close-shortcuts[_ngcontent-%COMP%]{position:absolute;right:19px;top:20px;font-size:2rem;color:#ed3d53}"]],data:{}});function x(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,10,"div",[["class","datepicker-wrapper2"]],null,null,null,null,null)),i["\u0275did"](1,278528,null,0,r.j,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["\u0275eld"](2,0,null,null,2,"button",[["class","btn btn-icon"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onDateBackwards()&&i),i},null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"i",[["class","ti-angle-left"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","current-date"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"app-datepicker",[],null,[[null,"dateChanged"],["window","click"]],function(t,e,n){var r=!0,o=t.component;return"window:click"===e&&(r=!1!==i["\u0275nov"](t,7).onClick(n.target)&&r),"dateChanged"===e&&(r=!1!==o.onDateChanged(n)&&r),r},o.b,o.a)),i["\u0275did"](7,4833280,[["datepicker",4]],0,a.a,[i.ChangeDetectorRef],{date:[0,"date"]},{dateChanged:"dateChanged"}),(t()(),i["\u0275eld"](8,0,null,null,2,"button",[["class","btn btn-icon"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onDateForwards()&&i),i},null,null)),(t()(),i["\u0275eld"](9,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](10,0,null,null,0,"i",[["class","ti-angle-right"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,1,0,"datepicker-wrapper2",!0===n.isIOS()?"ios":""),t(e,7,0,n.dateObj)},null)}function E(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,3,"app-alerts-components",[],null,null,null,s.b,s.a)),i["\u0275did"](1,114688,null,0,l.a,[u.a],{id:[0,"id"],icon:[1,"icon"],title:[2,"title"],message:[3,"message"],disableClose:[4,"disableClose"]},null),i["\u0275ppd"](2,1),i["\u0275ppd"](3,1)],function(t,e){var n="recipes-text"+e.component.rand(),r=i["\u0275unv"](e,1,2,t(e,2,0,i["\u0275nov"](e.parent,0),"recipes_text_not_found_title")),o=i["\u0275unv"](e,1,3,t(e,3,0,i["\u0275nov"](e.parent,0),"recipes_text_not_found_text"));t(e,1,0,n,"fa fa-info-circle",r,o,!0)},null)}function S(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"div",[["class","main-image animated fadeIn"]],null,null,null,null,null)),i["\u0275did"](1,1720320,null,0,c.a,[i.ElementRef,i.NgZone,i.PLATFORM_ID,[2,"options"]],{lazyImage:[0,"lazyImage"]},null)],function(t,e){t(e,1,0,e.component.constants.imagesUrl()+"/images/850x500/"+e.parent.context.$implicit.images[0].type+"/"+e.parent.context.$implicit.images[0].name)},null)}function O(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,"div",[["class","recipe"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"h2",[["class","recipe-text-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](2,null,["",""])),(t()(),i["\u0275and"](16777216,null,null,1,null,S)),i["\u0275did"](4,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](5,0,null,null,1,"div",[["class","recipe-text"]],[[8,"innerHTML",1]],null,null,null,null)),i["\u0275pid"](0,d.a,[p.c])],function(t,e){t(e,4,0,e.context.$implicit.images.length>0)},function(t,e){t(e,2,0,e.context.$implicit.recipe.title),t(e,5,0,i["\u0275unv"](e,5,0,i["\u0275nov"](e,6).transform(e.context.$implicit.recipe.how_to_cook_text)))})}function k(t){return i["\u0275vid"](0,[i["\u0275pid"](0,h.a,[f.a]),i["\u0275qud"](402653184,1,{wrapper:0}),(t()(),i["\u0275eld"](2,0,[[1,0],["wrapper",1]],null,10,"div",[["class","upgrade-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,9,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,2,"div",[["class","logo-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,0,"img",[["alt","agaia logo"],["class","logo"],["src","assets/images/logo.svg"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","close-shortcuts ti-close"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bsModalRef.hide()&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,x)),i["\u0275did"](8,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,E)),i["\u0275did"](10,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,O)),i["\u0275did"](12,278528,null,0,r.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,8,0,n.dateObj),t(e,10,0,n.showNotFound),t(e,12,0,n.diaryRecipes)},null)}function T(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-recipes-text",[],null,null,null,k,C)),i["\u0275did"](1,4308992,null,0,m.a,[g.a,v.a,y.a,b.a,_.a,w.a],null,null)],function(t,e){t(e,1,0)},null)}var P=i["\u0275ccf"]("app-recipes-text",m.a,T,{},{},[])},iLxQ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},ihYY:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"d",function(){return u}),n.d(e,"h",function(){return d}),n.d(e,"g",function(){return c});var i=function(){return function(){}}(),r=function(){return function(){}}(),o="*";function a(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function s(t){return{type:6,styles:t,offset:null}}function l(t){Promise.resolve(null).then(t)}var u=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;l(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),c=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,i=0,r=0,o=this.players.length;0==o?l(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==o&&e._onFinish()}),t.onDestroy(function(){++i==o&&e._onDestroy()}),t.onStart(function(){++r==o&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=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=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=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)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),d="!"},isby:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=Array.isArray||function(t){return t&&"number"==typeof t.length}},j4LC:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},k6dp:function(t,e,n){"use strict";var i=n("CcnG"),r=n("EpLY"),o=n("8Q7P"),a=n("JvyH"),s=n("OEGa"),l=n("sMIy"),u=n("8ydK"),c=n("Ip0R"),d=n("/mbx"),p=n("/WFX"),h=n("NCB2"),f=n("DQlY");n.d(e,"a",function(){return _});var m=i["\u0275crt"]({encapsulation:0,styles:[[".modal-body[_ngcontent-%COMP%]{height:464px;overflow-y:scroll}"]],data:{}});function g(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"div",[["class","modal-body"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){t(e,1,0,e.component.termsAndConditions.text)})}function v(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"app-loading",[],null,null,null,r.b,r.a)),i["\u0275did"](2,114688,null,0,o.a,[],null,null)],function(t,e){t(e,2,0)},null)}function y(t){return i["\u0275vid"](2,[i["\u0275pid"](0,a.a,[s.a]),i["\u0275qud"](402653184,1,{wrapper:0}),(t()(),i["\u0275eld"](2,0,[[1,0],["wrapper",1]],null,7,"div",[["class","wrapper"],["style","height: 100%;"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,2,"app-modal-header",[],null,[[null,"close"]],function(t,e,n){var i=!0;return"close"===e&&(i=!1!==t.component.bsModalRef.hide()&&i),i},l.b,l.a)),i["\u0275did"](4,114688,null,0,u.a,[],{text:[0,"text"]},{close:"close"}),i["\u0275ppd"](5,1),(t()(),i["\u0275and"](16777216,null,null,1,null,g)),i["\u0275did"](7,16384,null,0,c.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,v)),i["\u0275did"](9,16384,null,0,c.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component,r=i["\u0275unv"](e,4,0,t(e,5,0,i["\u0275nov"](e,0),"terms_and_conditions"));t(e,4,0,r),t(e,7,0,!n.loading),t(e,9,0,n.loading)},null)}function b(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-terms-and-conditions-modal",[],null,null,null,y,m)),i["\u0275did"](1,4440064,null,0,d.a,[p.a,h.a,i.ChangeDetectorRef,f.a],null,null)],function(t,e){t(e,1,0)},null)}var _=i["\u0275ccf"]("app-terms-and-conditions-modal",d.a,b,{},{},[])},kJce:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.transform=function(t,e,n){return t&&e?t.filter(function(t){return e(t,n)}):t},t}()},kiRL:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("CcnG"),r=function(){function t(t){this.swiperConfig=t,this.slideIndex=0,this.indexChange=new i.EventEmitter}return t.prototype.ngOnInit=function(){this.config=this.config?Object.assign({},this.config):Object.assign({},this.swiperConfig,{slidesPerView:1.3})},t.prototype.ngAfterViewChecked=function(){window.dispatchEvent(new Event("resize"))},t.prototype.onIndexChange=function(t){this.indexChange.next(t)},t}()},lR2R:function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return f});var i=n("CcnG"),r=n("Oh3A"),o=n("Ip0R"),a=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function s(t){return i["\u0275vid"](2,[],null,null)}function l(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"swal",[],null,null,null,s,a)),i["\u0275did"](1,704512,null,0,r.a,[r.d],null,null)],null,null)}var u=i["\u0275ccf"]("swal",r.a,l,{title:"title",titleText:"titleText",text:"text",html:"html",footer:"footer",type:"type",backdrop:"backdrop",toast:"toast",target:"target",input:"input",width:"width",padding:"padding",background:"background",position:"position",grow:"grow",customClass:"customClass",timer:"timer",animation:"animation",allowOutsideClick:"allowOutsideClick",allowEscapeKey:"allowEscapeKey",allowEnterKey:"allowEnterKey",showConfirmButton:"showConfirmButton",showCancelButton:"showCancelButton",confirmButtonText:"confirmButtonText",cancelButtonText:"cancelButtonText",confirmButtonColor:"confirmButtonColor",cancelButtonColor:"cancelButtonColor",confirmButtonClass:"confirmButtonClass",cancelButtonClass:"cancelButtonClass",confirmButtonAriaLabel:"confirmButtonAriaLabel",cancelButtonAriaLabel:"cancelButtonAriaLabel",buttonsStyling:"buttonsStyling",reverseButtons:"reverseButtons",focusConfirm:"focusConfirm",focusCancel:"focusCancel",showCloseButton:"showCloseButton",closeButtonAriaLabel:"closeButtonAriaLabel",showLoaderOnConfirm:"showLoaderOnConfirm",preConfirm:"preConfirm",imageUrl:"imageUrl",imageWidth:"imageWidth",imageHeight:"imageHeight",imageAlt:"imageAlt",imageClass:"imageClass",inputPlaceholder:"inputPlaceholder",inputValue:"inputValue",inputOptions:"inputOptions",inputAutoTrim:"inputAutoTrim",inputAttributes:"inputAttributes",inputValidator:"inputValidator",inputClass:"inputClass",progressSteps:"progressSteps",currentProgressStep:"currentProgressStep",progressStepsDistance:"progressStepsDistance",options:"options"},{beforeOpen:"beforeOpen",open:"open",close:"close",confirm:"confirm",cancel:"cancel"},[]),c=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function d(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function p(t){return i["\u0275vid"](2,[(t()(),i["\u0275and"](16777216,null,null,1,null,d)),i["\u0275did"](1,540672,null,0,o.s,[i.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(t,e){t(e,1,0,e.component.template)},null)}function h(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,p,c)),i["\u0275did"](1,49152,null,0,r.e,[],null,null)],null,null)}var f=i["\u0275ccf"]("ng-component",r.e,h,{template:"template"},{},[])},lYZG:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("6blF"),r=n("0/uQ"),o=n("G5J1");function a(t){return new i.a(function(e){var n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(o.b)()).subscribe(e)})}},lqqz:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("CcnG"),r=n("rpEJ"),o=function(){return function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}(),a=function(){function t(t,e,n,r,o,a,s,l){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=r,this._componentFactoryResolver=o,this._ngZone=a,this._applicationRef=s,this._posService=l,this.onBeforeShow=new i.EventEmitter,this.onShown=new i.EventEmitter,this.onBeforeHide=new i.EventEmitter,this.onHidden=new i.EventEmitter,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!this._isHiding&&!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);var e=i.Injector.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof i.ElementRef&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){this.isShown?this.hide():this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():void e.hide()},i=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()};return this._unregisterListenersFn=Object(r.d)(this._renderer,{target:t.target,triggers:t.triggers,show:i,hide:n,toggle:function(t){e.isShown?n():i(t)}}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout(function(){t._globalListener=Object(r.f)(t._renderer,{targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}})})}if(this._listenOpts.outsideEsc){var n=this._componentRef.location.nativeElement;this._globalListener=Object(r.e)(this._renderer,{targets:[n,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:function(){return t._listenOpts.hide()}})}}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe(function(){t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(function(){t._componentRef&&t._posService.calcPosition()}))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e,n){if(!t)return new o([]);if(t instanceof i.TemplateRef){if(this._viewContainerRef){var r=this._viewContainerRef.createEmbeddedView(t,e);return r.markForCheck(),new o([r.rootNodes],r)}var a=t.createEmbeddedView({});return this._applicationRef.attachView(a),new o([a.rootNodes],a)}if("function"==typeof t){var s=this._componentFactoryResolver.resolveComponentFactory(t),l=i.Injector.create({providers:this._providers,parent:this._injector}),u=s.create(l);return Object.assign(u.instance,n),this._applicationRef.attachView(u.hostView),new o([[u.location.nativeElement]],u.hostView,u)}return new o([[this._renderer.createText(""+t)]])},t}(),s=function(){function t(t,e,n,i,r){this._componentFactoryResolver=t,this._ngZone=e,this._injector=n,this._posService=i,this._applicationRef=r}return t.prototype.createLoader=function(t,e,n){return new a(e,n,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)},t}()},"m+g4":function(t,e,n){"use strict";var i=n("CcnG"),r=n("F1Na");n.d(e,"a",function(){return l});var o=i["\u0275crt"]({encapsulation:0,styles:[[".validation-error[_ngcontent-%COMP%]{display:flex;height:40px;margin-top:-98px;text-transform:uppercase}.validation-error[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{line-height:14px;width:calc(100% - 24px - 4px);text-overflow:ellipsis;font-size:12px;align-items:center;display:flex;margin-left:4px}"]],data:{}});function a(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","validation-error"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"i",[["class","fa fa-times-circle"]],[[4,"color",null]],null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"div",[["class","error-message"]],null,null,null,null,null)),(t()(),i["\u0275ted"](4,null,["",""]))],null,function(t,e){var n=e.component;t(e,2,0,"red"),t(e,4,0,n.error)})}function s(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-validation-error",[],null,null,null,a,o)),i["\u0275did"](1,114688,null,0,r.a,[],null,null)],function(t,e){t(e,1,0)},null)}var l=i["\u0275ccf"]("app-validation-error",r.a,s,{error:"error"},{},[])},"m1G+":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t.prototype.ngOnInit=function(){},t}()},m4GZ:function(t,e){function n(t){this.message=t}(n.prototype=new Error).name="InvalidCharacterError",t.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,r,o=0,a=0,s="";r=e.charAt(a++);~r&&(i=o%4?64*i+r:r,o++%4)?s+=String.fromCharCode(255&i>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s}},mCDz:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){this.appId="369180953777515",this.autoLogAppEvents=!0,this.xfbml=!1,this.version="v3.3"}}()},mChF:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},mPrv:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("bne5"),r=n("ZYCi"),o=n("VnD/"),a=n("S6V/"),s=n("g88A"),l=function(){function t(t,e,n,i,r,o,a,l){this.config=t,this.authService=e,this.changeDetectorRef=n,this.socialService=i,this.router=r,this.usersService=o,this.authEventsEmitter=a,this.masterService=l,this.headerToggledClass="header-toggled",this.profileImageSrc="/assets/images/avatar.png",this.languages=Object.keys(s.a).map(function(t){return s.a[t]}),this.subscriptions=[],this.haveMasterProfile=!1,this.isDiaryChangeDisabled=!1,this.isUserUnderMasterProfile=!1,this.userHasSport=!1,t.placement="bottom-right",this.mutePage()}return t.prototype.ngOnChanges=function(){this.mutePage(),this.changeDetectorRef.detectChanges()},t.prototype.mutePage=function(){var t=document.querySelectorAll("video, audio");[].forEach.call(t,function(t){t.muted=!0,t.pause()})},t.prototype.ngOnInit=function(){var t=this;this.mutePage(),this.masterService.checkIsSubAccountUnderMaster().subscribe(function(e){t.isUserUnderMasterProfile=!0}),this.subscriptions.push(Object(i.a)(document.body,"scroll").subscribe(function(){document.body.scrollTop>=t.wrapper.nativeElement.offsetHeight?t.wrapper.nativeElement.classList.add("fixed-on-scroll"):t.wrapper.nativeElement.classList.remove("fixed-on-scroll")})),this.subscriptions.push(this.router.events.pipe(Object(o.a)(function(e){return e instanceof r.e&&!!t.bottomNavbar})).subscribe(function(){t.bottomNavbar.nativeElement.classList.remove(t.headerToggledClass)}));var e=document.querySelectorAll(".horizontal-menu .page-navigation >.nav-item");e.forEach(function(t){t.addEventListener("click",function(){e.forEach(function(t){t.classList.remove("show-submenu")}),window.matchMedia("(max-width: 991px)").matches&&t.classList.toggle("show-submenu")})},!1),this.subscriptions.push(this.router.events.pipe(Object(o.a)(function(t){return t instanceof r.d})).subscribe(function(){t.changeDetectorRef.detectChanges()})),this.usersService.getUserSport().subscribe(function(e){t.userHasSport=!0,t.changeDetectorRef.markForCheck()},function(){t.userHasSport=!1,t.changeDetectorRef.markForCheck()}),this.socialService.userIsLoggedInFacebook&&this.subscriptions.push(this.socialService.getFacebookProfilePictureUrl(this.socialService.facebookId).subscribe(function(e){t.profileImageSrc=e,t.changeDetectorRef.markForCheck()}));var n=!1;this.haveMasterProfile=window.location.href.includes("master"),this.authService.getStorageItem("master_sub_profile_logged_token")&&this.authService.getStorageItem("master_sub_profile_logged_token").length>0&&window.location.href.includes("master/meals")?(n=!0,this.usersService.getMasterUserProfile().subscribe(function(e){t.isDiaryChangeDisabled=e&&!1===e.is_master_profile&&!0===e.is_change_diary_disabled,e&&!0===e.is_master_profile&&(t.haveMasterProfile=!0,t.changeDetectorRef.markForCheck()),t.changeDetectorRef.markForCheck()})):this.usersService.getUserProfile().subscribe(function(e){t.isDiaryChangeDisabled=e&&!1===e.is_master_profile&&!0===e.is_change_diary_disabled,e&&!0===e.is_master_profile&&(t.haveMasterProfile=!0,t.changeDetectorRef.markForCheck()),t.changeDetectorRef.markForCheck()}),!1===n&&this.authEventsEmitter.userProfileChanged$.subscribe(function(){t.usersService.getUserProfile(!0).subscribe(function(e){t.isDiaryChangeDisabled=e&&!1===e.is_master_profile&&!0===e.is_change_diary_disabled,t.changeDetectorRef.markForCheck()})})},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},Object.defineProperty(t.prototype,"completeHeader",{get:function(){return this.appComponent.completeHeader},enumerable:!0,configurable:!0}),t.prototype.toggleRightSidebar=function(){document.querySelector(".bottom-navbar").classList.toggle("header-toggled")},t.prototype.onLogout=function(){this.authService.logout()},t.prototype.onWebChat=function(){document.body.classList.remove("hide-tidio-chat"),window.tidioChatApi.open(),document.addEventListener("tidioChat-close",function(){document.body.classList.add("hide-tidio-chat")})},t.prototype.onLanguageSelected=function(t){var e=this;this.usersService.updateUserProfile({locale:t}).subscribe(function(){window.location.href=e.router.url})},t.prototype.flagIcon=function(t){switch(t){case s.a.English:return"us";default:return t.toLowerCase()}},t.prototype.onWindowClick=function(t){if(this.wrapper&&this.bottomNavbar){var e=t.target,n=this.wrapper.nativeElement;e===n||Object(a.a)(n,e)||this.bottomNavbar.nativeElement.classList.remove(this.headerToggledClass)}},t}()},mS4x:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("6blF"),r=function(){function t(t,e,n){this.usersService=t,this.router=e,this.authEventsEmitter=n}return t.prototype.canActivate=function(t,e){var n=this;return this.usersService.userProfile?!(!this.usersService.userProfile.is_wizard_complete&&!1===this.usersService.userProfile.is_master_profile)||this.router.navigate(["wizard"]):new i.a(function(t){n.userProfileSubscription=n.authEventsEmitter.userProfileChanged$.subscribe(function(){if(!n.usersService.userProfile.is_wizard_complete&&!1===n.usersService.userProfile.is_master_profile)return n.router.navigate(["wizard"]),t.next(!1),t.complete(),n.userProfileSubscription.unsubscribe();t.next(!0),t.complete(),n.userProfileSubscription.unsubscribe()})})},t}()},mrSG:function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"g",function(){return s}),n.d(e,"f",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"e",function(){return c}),n.d(e,"j",function(){return d}),n.d(e,"h",function(){return p}),n.d(e,"i",function(){return h});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 r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function a(t,e,n,i){var r,o=arguments.length,a=o<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--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function s(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(r,o){function a(t){try{l(i.next(t))}catch(e){o(e)}}function s(t){try{l(i.throw(t))}catch(e){o(e)}}function l(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(a,s)}l((i=i.apply(t,e||[])).next())})}function c(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function d(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function h(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}},mu2n:function(t,e,n){"use strict";n.d(e,"b",function(){return u}),n.d(e,"c",function(){return g}),n.d(e,"a",function(){return f}),n.d(e,"d",function(){return m});var i=n("CcnG"),r=n("mrSG"),o=n("bne5"),a=n("67Y/"),s=n("VnD/"),l=n("Gi3i"),u=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),c=function(t){return function(t){return 38===t}(t)||function(t){return 40===t}(t)},d=function(t){return 13===t},p=function(t){return 27===t},h=function(t){return 9===t},f=function(){function t(t,e){this.renderer=e,this.query="",this.filteredList=[],this.historyList=[],this.isHistoryListVisible=!0,this.selectedIdx=-1,this.toHighlight="",this.notFound=!1,this.isFocused=!1,this.isOpen=!1,this.isScrollToEnd=!1,this.overlay=!1,this.manualOpen=void 0,this.manualClose=void 0,this.data=[],this.placeHolder="",this.heading="",this.historyHeading="Recently selected",this.historyListMaxNumber=15,this.notFoundText="Not found",this.minQueryLength=1,this.selected=new i.EventEmitter,this.inputChanged=new i.EventEmitter,this.inputFocused=new i.EventEmitter,this.inputCleared=new i.EventEmitter,this.opened=new i.EventEmitter,this.closed=new i.EventEmitter,this.scrolledToEnd=new i.EventEmitter,this.propagateChange=function(){},this.elementRef=t}return t.prototype.writeValue=function(t){this.query=t},t.prototype.registerOnChange=function(t){this.propagateChange=t},t.prototype.registerOnTouched=function(t){},t.prototype.onChange=function(t){this.propagateChange(t.target.value)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.ngOnInit=function(){this.handleScroll(),this.initEventStream(),this.setInitialValue(this.initialValue)},t.prototype.setInitialValue=function(t){this.initialValue&&this.select(t)},t.prototype.ngOnChanges=function(t){t&&t.data&&Array.isArray(t.data.currentValue)&&(this.handleItemsChange(),!t.data.firstChange&&this.isFocused&&this.handleOpen())},t.prototype.handleItemsChange=function(){this.isScrollToEnd=!1,this.isOpen&&(this.filteredList=this.data)},t.prototype.filterList=function(){var t=this;this.selectedIdx=-1,this.initSearchHistory(),null!=this.query&&this.data?(this.toHighlight=this.query,this.filteredList=this.data.filter(function(e){return"string"==typeof e?e.toLowerCase().indexOf(t.query.toLowerCase())>-1:"object"==typeof e&&e.constructor===Object?e[t.searchKeyword].toLowerCase().indexOf(t.query.toLowerCase())>-1:void 0})):this.notFound=!1},t.prototype.isType=function(t){return"string"==typeof t},t.prototype.select=function(t){var e=this;if(this.query=this.isType(t)?t:t[this.searchKeyword],this.isOpen=!0,this.overlay=!1,this.selected.emit(t),this.propagateChange(t),this.initialValue)if(window.localStorage.getItem(""+this.historyIdentifier)){var n=JSON.parse(localStorage[""+this.historyIdentifier]);if(n instanceof Array||(n=[]),n.some(function(n){return e.isType(n)?n==t:n[e.searchKeyword]==t[e.searchKeyword]}))if(this.isType(t))(i=n.slice()).splice(i.indexOf(t),1),i.splice(0,0,t),localStorage.setItem(""+this.historyIdentifier,JSON.stringify(i));else{var i,r=(i=n.slice()).map(function(t){return t[e.searchKeyword]}).indexOf(t[this.searchKeyword]);i.splice(r,1),i.splice(0,0,t),localStorage.setItem(""+this.historyIdentifier,JSON.stringify(i))}else n.unshift(t),localStorage.setItem(""+this.historyIdentifier,JSON.stringify(n)),n.length>=this.historyListMaxNumber&&(n.splice(n.length-1,1),localStorage.setItem(""+this.historyIdentifier,JSON.stringify(n)))}else this.saveHistory(t);else this.saveHistory(t);this.handleClose()},t.prototype.handleClick=function(t){var e=t.target,n=!1;do{e===this.elementRef.nativeElement&&(n=!0,this.filteredList.length&&this.handleOpen()),e=e.parentNode}while(e);n||this.handleClose()},t.prototype.handleOverlay=function(){this.overlay=!1},t.prototype.handleScroll=function(){var t=this;this.renderer.listen(this.filteredListElement.nativeElement,"scroll",function(){t.scrollToEnd()})},t.prototype.setPanelState=function(t){t&&t.stopPropagation(),void 0===this.manualOpen&&void 0===this.manualClose&&(this.isOpen=!1,this.handleOpen()),(void 0===this.manualOpen&&!1===this.manualClose||void 0===this.manualClose&&!1===this.manualOpen)&&(this.isOpen=!1,this.handleOpen()),!1===this.manualOpen&&!1===this.manualClose&&(this.isOpen=!1,this.handleOpen()),this.manualOpen&&(this.isOpen=!1,this.handleOpen(),this.manualOpen=!1),this.manualClose&&(this.isOpen=!0,this.handleClose(),this.manualClose=!1)},t.prototype.open=function(){this.manualOpen=!0,this.isOpen=!1,this.handleOpen()},t.prototype.close=function(){this.manualClose=!0,this.isOpen=!0,this.handleClose()},t.prototype.focus=function(){this.handleFocus(event)},t.prototype.clear=function(){this.remove(event)},t.prototype.remove=function(t){t.stopPropagation(),this.query="",this.inputCleared.emit(),this.propagateChange(this.query),this.setPanelState(t)},t.prototype.initSearchHistory=function(){if(this.isHistoryListVisible=!1,this.historyIdentifier&&!this.query){var t=window.localStorage.getItem(""+this.historyIdentifier);t?(this.isHistoryListVisible=!0,this.filteredList=[],this.historyList=t?JSON.parse(t):[]):this.isHistoryListVisible=!1}else this.isHistoryListVisible=!1},t.prototype.handleOpen=function(){this.isOpen||this.isOpen&&!this.isLoading||this.data&&this.data.length&&(this.isOpen=!0,this.overlay=!0,this.filterList(),this.opened.emit())},t.prototype.handleClose=function(){this.isOpen?(this.isOpen=!1,this.overlay=!1,this.filteredList=[],this.selectedIdx=-1,this.notFound=!1,this.isHistoryListVisible=!1,this.isFocused=!1,this.closed.emit()):this.isFocused=!1},t.prototype.handleFocus=function(t){this.searchInput.nativeElement.focus(),this.isFocused||(this.inputFocused.emit(t),this.data&&this.data.length&&this.setPanelState(event),this.isFocused=!0)},t.prototype.scrollToEnd=function(){this.isScrollToEnd||this.filteredListElement.nativeElement.scrollHeight===this.filteredListElement.nativeElement.scrollTop+this.filteredListElement.nativeElement.clientHeight&&(this.scrolledToEnd.emit(),this.isScrollToEnd=!0)},t.prototype.initEventStream=function(){this.inputKeyUp$=Object(o.a)(this.searchInput.nativeElement,"keyup").pipe(Object(a.a)(function(t){return t})),this.inputKeyDown$=Object(o.a)(this.searchInput.nativeElement,"keydown").pipe(Object(a.a)(function(t){return t})),this.listenEventStream()},t.prototype.listenEventStream=function(){var t=this;this.inputKeyUp$.pipe(Object(s.a)(function(t){return!(c(t.keyCode)||d(t.keyCode)||p(t.keyCode)||h(t.keyCode))}),Object(l.a)(this.debounceTime)).subscribe(function(e){t.onKeyUp(e)}),this.inputKeyDown$.pipe(Object(s.a)(function(t){return c(t.keyCode)})).subscribe(function(e){e.preventDefault(),t.onFocusItem(e)}),this.inputKeyUp$.pipe(Object(s.a)(function(t){return d(t.keyCode)})).subscribe(function(t){}),this.inputKeyDown$.pipe(Object(s.a)(function(t){return d(t.keyCode)})).subscribe(function(e){t.onHandleEnter()}),this.inputKeyUp$.pipe(Object(s.a)(function(t){return p(t.keyCode)},Object(l.a)(100))).subscribe(function(e){t.onEsc()}),this.inputKeyDown$.pipe(Object(s.a)(function(t){return h(t.keyCode)})).subscribe(function(e){t.onTab()}),this.inputKeyDown$.pipe(Object(s.a)(function(t){return 8===t.keyCode||46===t.keyCode})).subscribe(function(e){t.onDelete()})},t.prototype.onKeyUp=function(t){this.notFound=!1,this.query||(this.notFound=!1,this.inputChanged.emit(t.target.value),this.inputCleared.emit(),this.setPanelState(t)),this.query.length>=this.minQueryLength&&(this.inputChanged.emit(t.target.value),this.filterList(),this.filteredList.length||(this.notFound=!!this.notFoundText))},t.prototype.onFocusItem=function(t){if(this.historyList.length&&this.isHistoryListVisible)e=this.historyList.length,"ArrowDown"===t.key?(n=this.selectedIdx,this.selectedIdx=(e+(n=null===this.selectedIdx?0:n+1))%e,this.scrollToFocusedItem(this.selectedIdx)):"ArrowUp"===t.key&&(-1==this.selectedIdx&&(this.selectedIdx=0),this.selectedIdx=(e+this.selectedIdx-1)%e,this.scrollToFocusedItem(this.selectedIdx));else{var e=this.filteredList.length;if("ArrowDown"===t.key){var n=this.selectedIdx;this.selectedIdx=(e+(n=null===this.selectedIdx?0:n+1))%e,this.scrollToFocusedItem(this.selectedIdx)}else"ArrowUp"===t.key&&(-1==this.selectedIdx&&(this.selectedIdx=0),this.selectedIdx=(e+this.selectedIdx-1)%e,this.scrollToFocusedItem(this.selectedIdx))}},t.prototype.scrollToFocusedItem=function(t){var e=null;e=this.historyList.length&&this.isHistoryListVisible?this.historyListElement.nativeElement:this.filteredListElement.nativeElement;var n=Array.prototype.slice.call(e.childNodes).filter(function(t){return 1===t.nodeType&&t.className.includes("item")});if(n.length){var i=e.offsetHeight,r=n[t].offsetHeight,o=e.scrollTop+i-r,a=n[t].offsetTop;a<e.scrollTop&&(e.scrollTop=a),a>o&&(e.scrollTop=a-i+r)}},t.prototype.onHandleEnter=function(){this.selectedIdx>-1&&(this.historyList.length&&this.isHistoryListVisible?(this.query=this.isType(this.historyList[this.selectedIdx])?this.historyList[this.selectedIdx]:this.historyList[this.selectedIdx][this.searchKeyword],this.saveHistory(this.historyList[this.selectedIdx]),this.select(this.historyList[this.selectedIdx])):(this.query=this.isType(this.filteredList[this.selectedIdx])?this.filteredList[this.selectedIdx]:this.filteredList[this.selectedIdx][this.searchKeyword],this.saveHistory(this.filteredList[this.selectedIdx]),this.select(this.filteredList[this.selectedIdx]))),this.isHistoryListVisible=!1,this.handleClose()},t.prototype.onEsc=function(){this.searchInput.nativeElement.blur(),this.handleClose()},t.prototype.onTab=function(){this.searchInput.nativeElement.blur(),this.handleClose()},t.prototype.onDelete=function(){this.isOpen=!0},t.prototype.saveHistory=function(t){var e=this;if(this.historyIdentifier)if(this.historyList.some(function(n){return e.isType(n)?n==t:n[e.searchKeyword]==t[e.searchKeyword]}))if(this.isType(t))(n=this.historyList.slice()).splice(this.historyList.indexOf(t),1),n.splice(0,0,t),this.saveHistoryToLocalStorage(Object(r.i)(n));else{var n,i=(n=this.historyList.slice()).map(function(t){return t[e.searchKeyword]}).indexOf(t[this.searchKeyword]);n.splice(i,1),n.splice(0,0,t),this.saveHistoryToLocalStorage(Object(r.i)(n))}else this.saveHistoryToLocalStorage(Object(r.i)([t],this.historyList)),this.historyList.length>=this.historyListMaxNumber&&(this.historyList.splice(this.historyList.length-1,1),this.saveHistoryToLocalStorage(Object(r.i)([t],this.historyList)))},t.prototype.saveHistoryToLocalStorage=function(t){window.localStorage.setItem(""+this.historyIdentifier,JSON.stringify(t))},t.prototype.removeHistoryItem=function(t,e){e.stopPropagation(),this.historyList=this.historyList.filter(function(e,n){return n!==t}),this.saveHistoryToLocalStorage(this.historyList),0==this.historyList.length&&(window.localStorage.removeItem(""+this.historyIdentifier),this.filterList())},t.prototype.resetHistoryList=function(t){t.stopPropagation(),this.historyList=[],window.localStorage.removeItem(""+this.historyIdentifier),this.filterList()},t}(),m=function(){function t(){}return t.prototype.transform=function(t,e,n){var i=e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");i=i.split(" ").filter(function(t){return t.length>0}).join("|");var o=new RegExp(i,"gi");if(!e)return t;if(n){var a=t[n].replace(o,function(t){return"<b>"+t+"</b>"}),s=Object(r.a)({},t);return s[n]=a,s}return e?t.replace(o,function(t){return"<b>"+t+"</b>"}):t},t}(),g=function(){return function(){}}()},n7Sw:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("gIcY"),r=n("VNr4"),o=n("oRBd"),a=function(){function t(t,e,r,o,a,s){this.usersService=t,this.changeDetectorRef=e,this.notificationService=r,this.localisationService=o,this.bsModalService=a,this.bsModalEventsEmitter=s,this.editable=!0,this.notifications=!0,this.useSwiper=!0,this.loading=!0,this.firstName=new i.FormControl("",[i.Validators.required]),this.surname=new i.FormControl("",[i.Validators.required]),this.phone=new i.FormControl("",[i.Validators.required]),this.age=new i.FormControl("",[i.Validators.required,i.Validators.min(1),i.Validators.max(1/0)]),this.mailCampaign=!0,this.weight=new i.FormControl("",[i.Validators.required]),this.target_weight=new i.FormControl("",[i.Validators.required]),this.height=new i.FormControl("",[i.Validators.required,i.Validators.min(1),i.Validators.max(1/0)]),this.selectedPhoneDialCode="",this.dialCodes=n("zsMz"),this.localisationService.getLanguage(),this.selectedPhoneDialCode="+359"}return t.prototype.ngOnInit=function(){var t=this;Object(r.a)(this.usersService.getUserGenders(),this.usersService.getUserBodyTypes()).subscribe(function(e){var n=e[1];t.genders=e[0],t.bodyTypes=n,t.loading=!1,t.changeDetectorRef.detectChanges(),t.usersService.userProfile&&t.initCurrentUserProfile(t.usersService.userProfile)})},t.prototype.onGenderSelected=function(t){this.currentlySelectedGender=this.genders.find(function(e){return e.gender===t})},t.prototype.onSelectedBodyType=function(t){this.currentlySelectedBodyType=t},t.prototype.updateProfile=function(){var t=this;this.loading=!0,this.usersService.updateUserProfile({first_name:this.firstName.value,last_name:this.surname.value,dial_code:this.selectedPhoneDialCode,phone:this.phone.value,age:this.age.value,mail_campaign:this.mailCampaign,weight:this.weight.value,target_weight:this.target_weight.value,body_type:{id:this.currentlySelectedBodyType.id},height:this.height.value,gender:{id:this.currentlySelectedGender.id}}).subscribe(function(){t.loading=!1,t.changeDetectorRef.detectChanges(),t.notifications&&t.notificationService.success(t.localisationService.localise("settings_profile_updated_successfully"))})},t.prototype.getBodyTypeTranslationKey=function(t){return 4===t?"ectomorph_text":5===t?"mesomorph_text":"endomorph_text"},t.prototype.openDialCodeModal=function(){this.dialCodeModal=this.bsModalService.show(o.a,{backdrop:!0}),this.dialCodeModal.content.personalOrWizardComponent=this,this.bsModalEventsEmitter.broadcastBsModalStateChanged(this.dialCodeModal)},Object.defineProperty(t.prototype,"saveButtonIsDisabled",{get:function(){return!(this.weight.valid&&this.target_weight.valid&&this.phone.valid&&this.height.valid&&this.currentlySelectedBodyType&&this.firstName.valid&&this.surname.valid&&this.age.valid&&this.currentlySelectedGender)},enumerable:!0,configurable:!0}),t.prototype.initCurrentUserProfile=function(t){this.firstName.setValue(t.first_name),this.surname.setValue(t.last_name),this.phone.setValue(null===t.phone?"":t.phone),this.age.setValue(t.age),this.mailCampaign=t.mail_campaign,this.weight.setValue(t.weight),this.target_weight.setValue(t.target_weight),this.height.setValue(Math.floor(t.height)),null!==t.dial_code&&t.dial_code.length>0&&(this.selectedPhoneDialCode=t.dial_code),this.currentlySelectedBodyType=t.body_type?this.bodyTypes.find(function(e){return e.id===t.body_type.id}):void 0,this.currentlySelectedGender=t.gender?this.genders.find(function(e){return e.id===t.gender.id}):void 0,this.changeDetectorRef.markForCheck()},t.prototype.onMailCampaignChange=function(t){this.mailCampaign=t,this.changeDetectorRef.markForCheck()},t.prototype.onDialCodeChange=function(t){this.selectedPhoneDialCode=t.target.value,this.changeDetectorRef.markForCheck()},t}()},nhI7:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HZ5i"),r=function(){function t(t,e,n,i,r,o){this.changeDetectorRef=t,this.bsModalService=e,this.bsModalRef=n,this.bsModalEventsEmitter=i,this.triggerActionEventsEmitter=r,this.router=o}return t.prototype.ngOnInit=function(){console.log("IS IOS"),console.log(this.isIOS())},t.prototype.isIOS=function(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document},t.prototype.openShortcutsModal=function(){this.shortcutsModal=this.bsModalService.show(i.a,{backdrop:!0}),this.bsModalEventsEmitter.broadcastBsModalStateChanged(this.shortcutsModal)},t.prototype.ngAfterViewInit=function(){},t.prototype.openShoppingListModal=function(){var t=this;this.router.navigate(["meals"]),setTimeout(function(){t.triggerActionEventsEmitter.broadcastActionChanged({action:"shopping_list",data:[]})},200)},t.prototype.openRecipesTextModal=function(){var t=this;this.router.navigate(["meals"]),setTimeout(function(){t.triggerActionEventsEmitter.broadcastActionChanged({action:"recipes_text",data:[]})},200)},t}()},nhNG:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("W11I"),r=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.createDiary=function(t,e){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/"+t+"/",e)},t.prototype.updateDiary=function(t,e){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.put(this.constants.apiURL()+"/diary/"+t+"/",e)},t.prototype.getDiary=function(t,e){return void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.dataURL()+"/diary/user/"+t+"/date/"+e+"/")},t.prototype.getDiaryMacros=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/diary/recipes/macros/"+t+"/")},t.prototype.getRecipes=function(t){return this.httpClient.post(this.constants.apiURL()+"/diary/recipes/",t)},t.prototype.getNewRecipes=function(t){return this.httpClient.post(""+this.constants.recipeURL(),t)},t.prototype.getRecipesCategories=function(t){return this.httpClient.get(this.constants.apiURL()+"/recipes/categories/"+t.id+"/")},t.prototype.addRecipeToDiary=function(t){return this.httpClient.put(this.constants.apiURL()+"/diary/recipes/",t)},t.prototype.removeRecipeFromDiary=function(t){return this.httpClient.request("delete",this.constants.apiURL()+"/diary/recipes/",{body:t})},t.prototype.markDiaryMealAsEaten=function(t){return this.httpClient.post(this.constants.apiURL()+"/diary/recipes/eaten/",t)},t.prototype.getRecipe=function(t,e){return this.httpClient.post(this.constants.apiURL()+"/recipes/"+t,{diary_recipe_id:e})},t.prototype.getDiaryNutrients=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/diary/nutrients/"+t+"/")},t.prototype.getMealLeftCalories=function(t){return this.httpClient.post(this.constants.apiURL()+"/diary/meal/left-calories/",t)},t.prototype.clearDiaryMealRecipes=function(t,e){return this.httpClient.delete(this.constants.apiURL()+"/diary/meal/delete/"+t.date+"/"+e.id+"/")},t.prototype.getUserMacros=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/diary/macros/"+t+"/")},t.prototype.getShoppingList=function(t,e,n){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/diary/shopping-list/"+t+"/"+e+"/?friends="+n)},t.prototype.markShoppingItemAsDeleted=function(t,e,n){return void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),void 0===n&&(n=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/shopping-list/"+e+"/"+n+"/",t)},t.prototype.clearShoppingItems=function(t,e){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.delete(this.constants.apiURL()+"/diary/shopping-list/"+t+"/"+e+"/")},t.prototype.getDiaryExternalRecipes=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/diary/external-recipes/"+t+"/")},t.prototype.updateDiaryExternalRecipes=function(t,e){return void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/external-recipes/"+e+"/",t)},t.prototype.recalculateExistingRecipes=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/recalculate/meals/"+t+"/",{})},t.prototype.loadRecipes=function(t){return this.httpClient.post(this.constants.apiURL()+"/diary/auto/recipes/",t)},t.prototype.getFriendsDiaryRecipes=function(t){return this.httpClient.post(this.constants.apiURL()+"/diary/friend/recipes/",t)},t.prototype.sendShoppingListAccess=function(t,e,n){return void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),void 0===n&&(n=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/shopping-list-access/"+e+"/"+n+"/",{email:t})},t.prototype.copyDiaryRecipe=function(t,e,n,r){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/recipes/copy/"+t+"/",{diary_recipe_id:e,copy_to_dates:n,copy_to_meal:r})},t.prototype.copyAllDiaryRecipes=function(t,e){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/recipes/all/copy/"+t+"/",{copy_to_dates:e})},t.prototype.copyAllDiaryRecipesToInterval=function(t,e,n){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/recipes/all/copy/interval/",{fetch_dates:n,from_date:t,to_date:e})},t.prototype.getDiaryTrainings=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/diary/trainings/"+t+"/")},t.prototype.updateDiaryTrainings=function(t,e){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.put(this.constants.apiURL()+"/diary/trainings/"+t+"/",e)},t.prototype.updateDiaryDisableTraining=function(t,e){return void 0===e&&(e=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.put(this.constants.apiURL()+"/diary/disable/trainings/"+e+"/",{is_disable:t})},t.prototype.getAdditionalDiaryTrainings=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/diary/additional/trainings/"+t+"/")},t.prototype.updateDiaryAdditionalTrainings=function(t,e){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.put(this.constants.apiURL()+"/diary/additional/trainings/"+t+"/",e)},t.prototype.getSuggestionProductsToChange=function(t,e){return this.httpClient.post(this.constants.apiURL()+"/diary/recipe/change/product/",{diary_recipe_id:t,change_diary_product_id:e})},t.prototype.changeDiaryRecipeProduct=function(t,e,n,i,r){return this.httpClient.put(this.constants.apiURL()+"/diary/recipe/change/product/",{diary_recipe_id:t,change_diary_product_id:e,change_to_product_id:n,weight:i,qty:r})},t.prototype.removeProductFromDiaryRecipe=function(t,e){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.request("delete",this.constants.apiURL()+"/diary/recipe/product/",{body:{diary_date:t,product_id:e}})},t.prototype.getChatMessages=function(t){return this.httpClient.get(this.constants.apiURL()+"/diary/chat/"+t+"/")},t.prototype.postChatMessages=function(t,e){return this.httpClient.post(this.constants.apiURL()+"/diary/chat/"+t+"/",{message:e})},t.prototype.deleteAllDiaryRecipes=function(t){return this.httpClient.post(this.constants.apiURL()+"/diary/recipes/all/delete/",{delete_dates:t})},t.prototype.deleteAllDiaryRecipesFromToday=function(t){return void 0===t&&(t=Object(i.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/diary/recipes/all/delete/from/now/",{diary_date:t})},t.prototype.getMasterChatMessages=function(t){return this.httpClient.get(this.constants.apiURL()+"/diary/chat/master/"+t+"/")},t.prototype.postMasterChatMessages=function(t,e,n){return this.httpClient.post(this.constants.apiURL()+"/diary/chat/master/"+t+"/",{message:n,sender_id:e})},t.prototype.getUserIsMasterReady=function(){return this.httpClient.get(this.constants.apiURL()+"/user/is-master-ready")},t.prototype.createVmvOrder=function(t){return this.httpClient.post(this.constants.dataURL()+"/v2/external/create-order/vmv",t)},t}()},nkY7:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return i})},ny24:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("mrSG"),r=n("MGBS"),o=n("zotm");function a(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new l(t),i=Object(o.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return i.d(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(r.a)},oRBd:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.bsModalRef=t,this.constants=e,this.mobileWidth=576,this.searchText="",this.dialCodes=n("zsMz"),this.dialCodes=this.dialCodes.sort(function(t,e){return t.name.toLowerCase()<e.name.toLowerCase()?-1:t.name.toLowerCase()>e.name.toLowerCase()?1:0})}return t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){window.innerWidth<=this.mobileWidth&&this.toFullscreen()},t.prototype.filterDialCodes=function(t,e){return e.searchText.length<=0||t.name.toLowerCase().includes(e.searchText.toLowerCase())||t.dial_code.includes(e.searchText.toLowerCase())},t.prototype.selectDialCode=function(t){this.personalOrWizardComponent.selectedPhoneDialCode=t.dial_code,this.personalOrWizardComponent.changeDetectorRef.markForCheck(),this.bsModalRef.hide()},t.prototype.getFlagSvgPath=function(t){return"assets/images/flags/"+t+".svg"},t.prototype.toFullscreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement.parentElement,n=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.display="flex",t.style.margin="0",t.style.padding="0",t.style.width="100%",t.style.maxWidth="unset",t.style.minHeight="100%",t.style.height="100%",e.style.borderRadius="0",n.style.display="block",n.style.height="100%"},t}()},p0Sj:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("IUTb"),r=n("PU8L"),o=n("G5J1"),a=n("dEwP"),s=n("nkY7");function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];Object(s.a)(n)?t.pop():n=null;var l=t.length;return 1!==l||n?l>0?Object(a.a)(Object(i.a)(t,n),e):Object(a.a)(Object(o.b)(n),e):Object(a.a)(Object(r.a)(t[0]),e)}}},p0ib:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("6blF"),r=n("nkY7"),o=n("Zn8D"),a=n("IUTb");function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,s=null,l=t[t.length-1];return Object(r.a)(l)?(s=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof l&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof i.a?t[0]:Object(o.a)(n)(Object(a.a)(t,s))}},pMnS:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("CcnG"),r=n("ZYCi"),o=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function a(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i["\u0275did"](1,212992,null,0,r.s,[r.b,i.ViewContainerRef,i.ComponentFactoryResolver,[8,null],i.ChangeDetectorRef],null,null)],function(t,e){t(e,1,0)},null)}function s(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,a,o)),i["\u0275did"](1,49152,null,0,r.w,[],null,null)],null,null)}var l=i["\u0275ccf"]("ng-component",r.w,s,{},{},[])},psW0:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("mrSG"),r=n("zotm"),o=n("MGBS"),a=n("rPjj"),s=n("67Y/"),l=n("0/uQ");function u(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(i){return i.pipe(u(function(n,i){return Object(l.a)(t(n,i)).pipe(Object(s.a)(function(t,r){return e(n,t,i,r)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.project,this.concurrent))},t}(),d=function(t){function e(e,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY);var r=t.call(this,e)||this;return r.project=n,r.concurrent=i,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return i.d(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=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,t,n)},e.prototype._innerSub=function(t,e,n){var i=new a.a(this,void 0,void 0);this.destination.add(i),Object(r.a)(this,t,e,n,i)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.a)},pugT:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("isby"),r=n("McSo"),o=n("2Bdj"),a=n("Ehmk"),s=n("eihs"),l=n("awvh"),u=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,u=this._parents,d=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var h=-1,f=u?u.length:0;n;)n.remove(this),n=++h<f&&u[h]||null;if(Object(o.a)(d)&&Object(a.a)(d).call(this)===s.a&&(e=!0,t=t||(s.a.e instanceof l.a?c(s.a.e.errors):[s.a.e])),Object(i.a)(p))for(h=-1,f=p.length;++h<f;){var m=p[h];if(Object(r.a)(m)&&Object(a.a)(m.unsubscribe).call(m)===s.a){e=!0,t=t||[];var g=s.a.e;g instanceof l.a?t=t.concat(c(g.errors)):t.push(g)}}if(e)throw new l.a(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var i=n;(n=new t)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce(function(t,e){return t.concat(e instanceof l.a?e.errors:e)},[])}},rPjj:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("mrSG"),r=function(t){function e(e,n,i){var r=t.call(this)||this;return r.parent=e,r.outerValue=n,r.outerIndex=i,r.index=0,r}return i.d(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("FFOo").a)},rQkD:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("67Y/"),r=n("W11I"),o=function(){function t(t,e,n){var i=this;this.httpClient=t,this.constants=e,this.authEventsEmitter=n,this.authEventsEmitter.userProfileChanged$.subscribe(function(t){i.userProfile=t,console.log("gtag id"),window.dataLayer=window.dataLayer||[],window.dataLayer.push({userId:t.id+""})})}return t.prototype.getUserProfile=function(t){var e=this;return void 0===t&&(t=!1),this.httpClient.get(this.constants.apiURL()+"/user/profile/").pipe(Object(i.a)(function(n){return!1===t&&e.authEventsEmitter.broadcastUserProfileChanged(n),n}))},t.prototype.getMasterUserProfile=function(){return this.httpClient.get(this.constants.apiURL()+"/master/user/profile/").pipe(Object(i.a)(function(t){return t}))},t.prototype.getUserSubscription=function(){return this.httpClient.get(this.constants.apiURL()+"/subscription/")},t.prototype.deleteUserSubscription=function(){return this.httpClient.delete(this.constants.apiURL()+"/subscription/")},t.prototype.getUserTrainingDurations=function(){return this.httpClient.get(this.constants.apiURL()+"/user/training/durations/")},t.prototype.getUserTrainingActivities=function(){return this.httpClient.get(this.constants.apiURL()+"/user/training/activities/")},t.prototype.getUserTrainingTargets=function(){return this.httpClient.get(this.constants.apiURL()+"/user/training/targets/")},t.prototype.getUserActivities=function(){return this.httpClient.get(this.constants.apiURL()+"/user/activities/")},t.prototype.getGlobalProfiles=function(){return this.httpClient.get(this.constants.apiURL()+"/global/profiles/")},t.prototype.getFatHold=function(){return this.httpClient.get(this.constants.apiURL()+"/fathold/")},t.prototype.getHowLongFoodPrepare=function(){return this.httpClient.get(this.constants.apiURL()+"/howlongfoodprepare/")},t.prototype.getWhenPrepareFood=function(){return this.httpClient.get(this.constants.apiURL()+"/whenpreparefood/")},t.prototype.getUserGenders=function(){return this.httpClient.get(this.constants.apiURL()+"/user/genders/")},t.prototype.getUserBodyTypes=function(){return this.httpClient.get(this.constants.apiURL()+"/user/body/types/")},t.prototype.getUserDailyMeals=function(){return this.httpClient.get(this.constants.apiURL()+"/user/daily/meals/")},t.prototype.getUserDiets=function(){return this.httpClient.get(this.constants.apiURL()+"/user/diets/")},t.prototype.updateUserProfile=function(t){var e=this;return this.httpClient.put(this.constants.apiURL()+"/user/profile/",t).pipe(Object(i.a)(function(t){return e.authEventsEmitter.broadcastUserProfileChanged(t),t}))},t.prototype.updateMasterUserProfile=function(t,e){return this.httpClient.put(this.constants.apiURL()+"/user/master/profile/",{data:e,user_id:t}).pipe(Object(i.a)(function(t){return t}))},t.prototype.updateUserLang=function(t){return this.httpClient.put(this.constants.apiURL()+"/user/profile/",{locale:t})},t.prototype.getUserWater=function(t){return void 0===t&&(t=Object(r.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/user/water/"+t+"/")},t.prototype.addUserWater=function(t,e){return void 0===t&&(t=Object(r.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.post(this.constants.apiURL()+"/user/water/"+t+"/",e)},t.prototype.getReferrals=function(){return this.httpClient.get(this.constants.apiURL()+"/user/referrals/")},t.prototype.getReferralsStatistic=function(){return this.httpClient.get(this.constants.apiURL()+"/user/referrals/statistic/")},t.prototype.getIsCurrentUserReferral=function(){return this.httpClient.get(this.constants.apiURL()+"/user/referral/check/")},t.prototype.updateReferralName=function(t){return this.httpClient.put(this.constants.apiURL()+"/user/referrals/",{referral_name:t})},t.prototype.getTrainings=function(){return this.httpClient.get(this.constants.apiURL()+"/user/trainings/")},t.prototype.updateTrainings=function(t){return this.httpClient.put(this.constants.apiURL()+"/user/trainings/",t)},t.prototype.getMasterTrainings=function(t){return this.httpClient.post(this.constants.apiURL()+"/user/master/trainings/",{user_id:t})},t.prototype.updateMasterTrainings=function(t){return this.httpClient.put(this.constants.apiURL()+"/user/master/trainings/",t)},t.prototype.deleteUserAccount=function(){return this.httpClient.post(this.constants.apiURL()+"/user/danger/delete-account/",{})},t.prototype.sendVerificationEmail=function(){return this.httpClient.post(this.constants.apiURL()+"/email/verify/",{})},t.prototype.verifyEmail=function(t){return this.httpClient.put(this.constants.apiURL()+"/email/verify/",{code:t})},t.prototype.getDailyChangesActivities=function(){return this.httpClient.get(this.constants.apiURL()+"/user/daily/changes/activities/")},t.prototype.getUserPreferredProducts=function(){return this.httpClient.get(this.constants.apiURL()+"/user/preferred-products/")},t.prototype.setUserPreferredProducts=function(t){return this.httpClient.post(this.constants.apiURL()+"/user/preferred-products/",{product_ids:t})},t.prototype.getUserPreferredGlobalCategories=function(){return this.httpClient.get(this.constants.apiURL()+"/user/preferred-global-categories/")},t.prototype.setUserPreferredCategories=function(t){return this.httpClient.post(this.constants.apiURL()+"/user/preferred-global-categories/",{category_ids:t})},t.prototype.adminLogin=function(t){return this.httpClient.post(this.constants.apiURL()+"/admin/user/login/",{token:t})},t.prototype.getUserSport=function(){return this.httpClient.get(this.constants.apiURL()+"/user/sport")},t}()},rafA:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("F/XL"),r=n("67Y/"),o=n("9Z1F"),a=n("dCpw"),s=function(){function t(t,e){this.usersService=t,this.router=e}return t.prototype.canActivate=function(){var t=this;return this.usersService.getUserSubscription().pipe(Object(r.a)(function(e){return e.status!==a.a.CANCELLED||(t.router.navigate(["pricing"]),!1)}),Object(o.a)(function(){return t.router.navigate(["pricing"]),Object(i.a)(!1)}))},t}()},rpEJ:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return d}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return a}),n.d(e,"g",function(){return u}),n("CcnG");var i=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),r={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function o(t,e){var n=function(t,n){void 0===n&&(n=r);var o=(e.triggers||"").trim();if(0===o.length)return[];var a=o.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var e=n[t[0]]||t;return new i(e[0],e[1])}),s=a.filter(function(t){return t.isManual()});if(s.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===s.length&&a.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return a}(),o=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var a=[],s=[],l=function(){s.forEach(function(t){return a.push(t())}),s.length=0};return n.forEach(function(n){var i=n.open===n.close,r=i?e.toggle:e.show;i||s.push(function(){return t.listen(o,n.close,e.hide)}),a.push(t.listen(o,n.open,function(){return r(l)}))}),function(){a.forEach(function(t){return t()})}}function a(t,e){return e.outsideClick?t.listen("document","click",function(t){e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(function(e){return e.contains(t.target)})||e.hide()}):Function.prototype}function s(t,e){return e.outsideEsc?t.listen("document","keyup.esc",function(t){e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(function(e){return e.contains(t.target)})||e.hide()}):Function.prototype}var l,u="undefined"!=typeof window&&window||{},c=u.document;function d(){return void 0===u||(void 0===u.__theme?l?"bs3"===l:"bs3"===(l=function(){if("undefined"==typeof document)return null;var t=document.createElement("span");t.innerText="test bs version",document.body.appendChild(t),t.classList.add("d-none");var e=t.getBoundingClientRect();return document.body.removeChild(t),e&&0===e.top?"bs4":"bs3"}()):"bs4"!==u.__theme)}var p=function(){function t(){}return t.reflow=function(t){},t.getStyles=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=u),e.getComputedStyle(t)},t}();"undefined"==typeof console||console},s9o9:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("W11I"),r=function(){function t(t){this.constants=t}return t.prototype.getDate=function(t){return void 0===t&&(t=new Date),Object(i.a)(t,this.constants.defaultAPIDateFormat)},t.prototype.dayForwards=function(t){return new Date(t.getTime()+this.dayTimestamp)},t.prototype.dayBackwards=function(t){return new Date(t.getTime()-this.dayTimestamp)},Object.defineProperty(t.prototype,"milisecondTimestamp",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"secondTimestamp",{get:function(){return 1e3*this.milisecondTimestamp},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minuteTimestamp",{get:function(){return 60*this.secondTimestamp},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hourTimestamp",{get:function(){return 60*this.minuteTimestamp},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dayTimestamp",{get:function(){return 24*this.hourTimestamp},enumerable:!0,configurable:!0}),t}()},sMIy:function(t,e,n){"use strict";var i=n("CcnG"),r=n("Ip0R");n("8ydK"),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var o=i["\u0275crt"]({encapsulation:0,styles:[[".modal-header-wrapper[_ngcontent-%COMP%]{display:flex;height:60px;border-bottom:1px solid #dedede}.modal-header-wrapper[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]{width:calc(100% - 60px);line-height:60px;padding-left:20px;color:#787878;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase}.modal-header-wrapper[_ngcontent-%COMP%]   .responsive-flex-wrapper[_ngcontent-%COMP%]{width:60px;cursor:pointer}.modal-header-wrapper[_ngcontent-%COMP%]   .responsive-flex-wrapper[_ngcontent-%COMP%]   .material-icons[_ngcontent-%COMP%]{color:#787878;font-size:18px}.modal-header-wrapper.ios[_ngcontent-%COMP%]{height:83px}.modal-header-wrapper.ios[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]{line-height:110px}.modal-header-wrapper.ios[_ngcontent-%COMP%]   .responsive-flex-wrapper[_ngcontent-%COMP%]{padding-top:27px}"]],data:{}});function a(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,5,"div",[["class","modal-header-wrapper"]],null,null,null,null,null)),i["\u0275did"](1,278528,null,0,r.j,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["\u0275eld"](2,0,null,null,1,"div",[["class","text-wrapper"]],[[2,"font-weight-600",null]],null,null,null,null)),(t()(),i["\u0275ted"](3,null,["",""])),(t()(),i["\u0275eld"](4,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.close.emit()&&i),i},null,null)),(t()(),i["\u0275eld"](5,0,null,null,0,"i",[["class","ti-close"]],null,null,null,null,null))],function(t,e){t(e,1,0,"modal-header-wrapper",!0===e.component.isIOS()?"ios":"")},function(t,e){var n=e.component;t(e,2,0,n.bold),t(e,3,0,n.text)})}},siIJ:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}()},"su/6":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("K9Ia"),r=function(){function t(){this.tokenChanged=new i.a,this.userProfileChanged=new i.a,this.facebookIdChanged=new i.a,this.tokenChanged$=this.tokenChanged.asObservable(),this.userProfileChanged$=this.userProfileChanged.asObservable(),this.facebookIdChanged$=this.facebookIdChanged.asObservable()}return t.prototype.broadcastTokenChanged=function(t){this.tokenChanged.next(t)},t.prototype.broadcastUserProfileChanged=function(t){this.userProfileChanged.next(t)},t.prototype.broadcastFacebookIdChanged=function(t){this.facebookIdChanged.next(t)},t}()},"t/Na":function(t,e,n){"use strict";n.d(e,"n",function(){return D}),n.d(e,"q",function(){return V}),n.d(e,"r",function(){return F}),n.d(e,"o",function(){return j}),n.d(e,"p",function(){return L}),n.d(e,"b",function(){return p}),n.d(e,"g",function(){return d}),n.d(e,"c",function(){return k}),n.d(e,"h",function(){return h}),n.d(e,"a",function(){return P}),n.d(e,"d",function(){return z}),n.d(e,"e",function(){return U}),n.d(e,"m",function(){return H}),n.d(e,"i",function(){return g}),n.d(e,"f",function(){return S}),n.d(e,"j",function(){return A}),n.d(e,"l",function(){return R}),n.d(e,"k",function(){return N});var i=n("mrSG"),r=n("CcnG"),o=n("F/XL"),a=n("6blF"),s=n("Phjn"),l=n("VnD/"),u=n("67Y/"),c=n("Ip0R"),d=function(){return function(){}}(),p=function(){return function(){}}(),h=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var i=t.slice(0,n),r=i.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(i,r),e.headers.has(r)?e.headers.get(r).push(o):e.headers.set(r,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var i=t[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(e.headers.set(r,i),e.maybeSetNormalizedName(n,r))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,Object(i.i)(n)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var a=this.headers.get(e);if(!a)return;0===(a=a.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),f=function(){function t(){}return t.prototype.encodeKey=function(t){return m(t)},t.prototype.encodeValue=function(t){return m(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function m(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var g=function(){function t(t){void 0===t&&(t={});var e,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),o=Object(i.h)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),a=o[0],s=o[1],l=r.get(a)||[];l.push(s),r.set(a,l)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];o.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function y(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}var _=function(){function t(t,e,n,i){var r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new h),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+o}}else this.params=new g,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:v(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:b(this.body)?null:y(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},l)),e.setParams&&(u=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},u)),new t(n,i,o,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:a})},t}(),w=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),C=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new h,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),x=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=w.ResponseHeader,n}return Object(i.d)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(C),E=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=w.Response,n.body=void 0!==e.body?e.body:null,n}return Object(i.d)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(C),S=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(i.d)(e,t),e}(C);function O(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var k=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var i,r=this;if(void 0===n&&(n={}),t instanceof _)i=t;else{var a;a=n.headers instanceof h?n.headers:new h(n.headers);var c=void 0;n.params&&(c=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new _(t,e,void 0!==n.body?n.body:null,{headers:a,params:c,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var d=Object(o.a)(i).pipe(Object(s.a)(function(t){return r.handler.handle(t)}));if(t instanceof _||"events"===n.observe)return d;var p=d.pipe(Object(l.a)(function(t){return t instanceof E}));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return p.pipe(Object(u.a)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return p.pipe(Object(u.a)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return p.pipe(Object(u.a)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return p.pipe(Object(u.a)(function(t){return t.body}))}case"response":return p;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,O(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,O(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,O(n,e))},t}(),T=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),P=new r.InjectionToken("HTTP_INTERCEPTORS"),I=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),M=/^\)\]\}',?\n/,R=function(){return function(){}}(),D=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),A=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(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 r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new h(i.getAllResponseHeaders()),o=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 x({headers:r,status:e,statusText:n,url:o})},u=function(){var e=l(),r=e.headers,o=e.status,a=e.statusText,s=e.url,u=null;204!==o&&(u=void 0===i.response?i.responseText:i.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var d=u;u=u.replace(M,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=d,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new E({body:u,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new S({error:u,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=new S({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error"});n.error(e)},d=!1,p=function(e){d||(n.next(l()),d=!0);var r={type:w.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(t){var e={type:w.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",u),i.addEventListener("error",c),t.reportProgress&&(i.addEventListener("progress",p),null!==a&&i.upload&&i.upload.addEventListener("progress",f)),i.send(a),n.next({type:w.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",p),null!==a&&i.upload&&i.upload.removeEventListener("progress",f)),i.abort()}})},t}(),j=new r.InjectionToken("XSRF_COOKIE_NAME"),L=new r.InjectionToken("XSRF_HEADER_NAME"),N=function(){return function(){}}(),V=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.E)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),F=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var 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}(),H=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(P,[]);this.chain=e.reduceRight(function(t,e){return new T(t,e)},this.backend)}return this.chain.handle(t)},t}(),U=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:F,useClass:I}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:j,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}},t}(),z=function(){return function(){}}()},t9XL:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("t/Na"),r=n("W11I"),o=function(){function t(t,e){this.httpClient=t,this.constants=e}return t.prototype.getProductsByIds=function(t){return this.httpClient.post(this.constants.apiURL()+"/products/",t)},t.prototype.getAllProducts=function(){return this.httpClient.get(this.constants.apiURL()+"/products/")},t.prototype.getProductAllCategories=function(){return this.httpClient.get(this.constants.apiURL()+"/products/categories/")},t.prototype.getGlobalCategories=function(){return this.httpClient.get(this.constants.apiURL()+"/products/categories/global/")},t.prototype.getProductsNutrients=function(){return this.httpClient.get(this.constants.apiURL()+"/products/nutrients/")},t.prototype.getAllergies=function(){return this.httpClient.get(this.constants.apiURL()+"/products/allergies/")},t.prototype.getExternalMeals=function(){return this.httpClient.get(this.constants.apiURL()+"/products/external-meals/")},t.prototype.getLatestRecipe=function(){return this.httpClient.get(this.constants.apiURL()+"/recipes/latest/")},t.prototype.getListRecipes=function(t,e,n,r,o){return this.httpClient.post(this.constants.apiURL()+"/recipes/list/",{categories:e,attributes:n,meal_prep_friendly:o,has_video:r},{params:(new i.i).set("skip",String(t))})},t.prototype.getLatestVideoRecipe=function(){return this.httpClient.get(this.constants.apiURL()+"/videos/latest/")},t.prototype.getListVideoRecipes=function(t){return this.httpClient.get(this.constants.apiURL()+"/videos/list/",{params:(new i.i).set("skip",String(t))})},t.prototype.getRecipesAttributes=function(){return this.httpClient.get(this.constants.apiURL()+"/recipes/attributes/")},t.prototype.getRecipeAllCategories=function(){return this.httpClient.get(this.constants.apiURL()+"/recipes/categories/all/")},t.prototype.getRecipesText=function(t){return void 0===t&&(t=Object(r.a)(new Date,this.constants.defaultAPIDateFormat)),this.httpClient.get(this.constants.apiURL()+"/recipes/text/"+t+"/")},t}()},t9fZ:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("mrSG"),r=n("FFOo"),o=n("b7mW"),a=n("G5J1");function s(t){return function(e){return 0===t?Object(a.b)():e.lift(new l(t))}}var l=function(){function t(t){if(this.total=t,this.total<0)throw new o.a}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return i.d(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(r.a)},tHPV:function(t,e,n){"use strict";var i=n("mrSG"),r=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.d(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(n("h9Dq").a),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.d(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(n("CS9Q").a);n.d(e,"a",function(){return a});var a=new o(r)},tNVB:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("xMyE"),r=n("3fWJ"),o=function(t){return void 0===t&&(t=a),Object(i.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function a(){return new r.a}},tuCP:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("e2w6"),r=function(){function t(t,e,n,i,r,o){this.bsModalRef=t,this.bsModalEventsEmitter=e,this.appIsLoadingEventsEmitter=n,this.dateService=i,this.productsService=r,this.constants=o,this.mobileWidth=576,this.diaryRecipes=[],this.showNotFound=!1}return t.prototype.ngOnInit=function(){var t=this,e=setInterval(function(){t.dateObj&&(clearInterval(e),t.appIsLoadingEventsEmitter.broadcastAppIsLoading(!0),t.productsService.getRecipesText(t.dateService.getDate(t.dateObj)).subscribe(function(e){t.diaryRecipes=e,t.appIsLoadingEventsEmitter.broadcastAppIsLoading(!1),t.showNotFound=e.length<=0}))})},t.prototype.ngAfterViewInit=function(){window.innerWidth<=this.mobileWidth?this.toFullscreen():this.defaultScreen()},t.prototype.onDateChanged=function(t){this.dateObj=t,this.ngOnInit()},t.prototype.onDateForwards=function(){this.dateObj=this.dateService.dayForwards(this.dateObj),this.onDateChanged(this.dateObj)},t.prototype.onDateBackwards=function(){this.dateObj=this.dateService.dayBackwards(this.dateObj),this.onDateChanged(this.dateObj)},t.prototype.toFullscreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement.parentElement,n=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.display="flex",t.style.margin="0",t.style.padding="0",t.style.width="100%",t.style.maxWidth="unset",t.style.minHeight="100%",t.style.height="100%",e.style.borderRadius="0",n.style.display="block",n.style.height="100%"},t.prototype.defaultScreen=function(){var t=this.wrapper.nativeElement.parentElement.parentElement.parentElement,e=this.wrapper.nativeElement.parentElement;t.style.borderRadius="0",t.style.maxWidth="564px",e.style.display="block",e.style.height="100%"},t.prototype.rand=function(){return Object(i.a)(25)},t.prototype.isIOS=function(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document},t}()},u67D:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("En8+"),r=function(t){return function(e){for(var n=t[i.a]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}}},uMaO:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("mrSG"),r=function(t){function e(e,n){var i=t.call(this)||this;return i.subject=e,i.subscriber=n,i.closed=!1,i}return i.d(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n("pugT").a)},uUtN:function(t,e,n){"use strict";var i=n("CcnG"),r=n("Ip0R"),o=n("TfFW"),a=n("agM4"),s=n("4GxJ"),l=n("JvyH"),u=n("OEGa"),c=n("wmVe"),d=n("FJXm"),p=n("DQlY"),h=n("y/Wt"),f=n("rQkD"),m=n("0luw"),g=n("NCB2"),v=n("ZYCi");n.d(e,"a",function(){return M});var y=i["\u0275crt"]({encapsulation:0,styles:[[".upgrade-wrapper[_ngcontent-%COMP%]{height:100%}.modal-body[_ngcontent-%COMP%]{height:560px;padding:11px;overflow-y:auto;overflow-x:hidden}.modal-body[_ngcontent-%COMP%]   .logo-body[_ngcontent-%COMP%]{display:block;text-align:center;margin-bottom:15px}.modal-body[_ngcontent-%COMP%]   .logo-body[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:130px}.modal-body[_ngcontent-%COMP%]   .upgrade-body[_ngcontent-%COMP%]{width:100%;margin-top:15px;display:inline-flex}.modal-body[_ngcontent-%COMP%]   .upgrade-body[_ngcontent-%COMP%]   .section.left-section[_ngcontent-%COMP%]{width:35%;padding-left:10px}.modal-body[_ngcontent-%COMP%]   .upgrade-body[_ngcontent-%COMP%]   .section.left-section[_ngcontent-%COMP%]   .upgrade-plan-img[_ngcontent-%COMP%]{width:100%;position:relative;top:50%;transform:translateY(-50%)}.modal-body[_ngcontent-%COMP%]   .upgrade-body[_ngcontent-%COMP%]   .section.right-section[_ngcontent-%COMP%]{width:65%;padding-left:40px}.pricing-card[_ngcontent-%COMP%]   .pricing-card-body[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], .pricing-card[_ngcontent-%COMP%]   .pricing-card-body[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:28px}.pricing-card-head[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{text-transform:uppercase;margin-bottom:20px;margin-top:-5px}.pricing-buttons[_ngcontent-%COMP%]{margin-top:5px}.plan-features[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#0dab0d;margin-right:5px;font-size:1rem}.pricing-amount[_ngcontent-%COMP%]{font-size:1.5rem}.monthly-text[_ngcontent-%COMP%]{text-transform:lowercase;font-size:.9rem;color:#636363}@media (max-width:700px){.plan-features[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:1rem!important}.logo-body[_ngcontent-%COMP%]{display:block!important}.left-section[_ngcontent-%COMP%]{display:none}.right-section[_ngcontent-%COMP%]{padding-left:0!important;width:100%!important}.plan-features[_ngcontent-%COMP%], .pricing-buttons[_ngcontent-%COMP%]{margin-top:20px!important}}#yearly-pricing-toggle[_ngcontent-%COMP%]{display:flex;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:26px auto}#yearly-pricing-toggle[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-transform:uppercase;letter-spacing:1px}#yearly-pricing-toggle[_ngcontent-%COMP%]   span.monthly[_ngcontent-%COMP%]{margin-right:10px}#yearly-pricing-toggle[_ngcontent-%COMP%]   span.yearly[_ngcontent-%COMP%]{margin-left:10px}  .tooltip-warning{font-size:.8rem;text-transform:uppercase;margin-left:5px!important}  .tooltip-warning .arrow::before{border-top-color:#60bf09!important}  .tooltip-warning .tooltip-inner{background:#60bf09;font-weight:700;letter-spacing:.4px}"]],data:{}});function b(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,5,"h1",[["class","font-weight-normal pricing-amount mt-3 text-success"]],null,null,null,null,null)),(t()(),i["\u0275ted"](2,null,[" "," "])),i["\u0275ppd"](3,1),(t()(),i["\u0275eld"](4,0,null,null,2,"span",[["class","monthly-text"]],null,null,null,null,null)),(t()(),i["\u0275ted"](5,null,["/ ",""])),i["\u0275ppd"](6,1)],null,function(t,e){var n=e.component,r=i["\u0275unv"](e,2,0,t(e,3,0,i["\u0275nov"](e.parent.parent,1),n.getLanguagePricingAmount(n.getPricing()).yearly_price));t(e,2,0,r);var o=i["\u0275unv"](e,5,0,t(e,6,0,i["\u0275nov"](e.parent.parent,0),"yearly"));t(e,5,0,o)})}function _(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,5,"h1",[["class","pricing-amount font-weight-normal"]],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,[" "," "])),i["\u0275ppd"](2,1),(t()(),i["\u0275eld"](3,0,null,null,2,"span",[["class","monthly-text"]],null,null,null,null,null)),(t()(),i["\u0275ted"](4,null,["/ ",""])),i["\u0275ppd"](5,1)],null,function(t,e){var n=e.component,r=i["\u0275unv"](e,1,0,t(e,2,0,i["\u0275nov"](e.parent.parent.parent.parent,1),n.getLanguagePricingAmount(n.getPricing()).monthly_price));t(e,1,0,r);var o=i["\u0275unv"](e,4,0,t(e,5,0,i["\u0275nov"](e.parent.parent.parent.parent,0),"monthly"));t(e,4,0,o)})}function w(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,5,"h1",[["class","pricing-amount font-weight-normal"]],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,[" "," "])),i["\u0275ppd"](2,1),(t()(),i["\u0275eld"](3,0,null,null,2,"span",[["class","monthly-text"]],null,null,null,null,null)),(t()(),i["\u0275ted"](4,null,["/ ",""])),i["\u0275ppd"](5,1)],null,function(t,e){var n=e.component,r=i["\u0275unv"](e,1,0,t(e,2,0,i["\u0275nov"](e.parent.parent.parent.parent,1),n.getLanguagePricingAmount(n.getPricing()).discount_monthly_price));t(e,1,0,r);var o=i["\u0275unv"](e,4,0,t(e,5,0,i["\u0275nov"](e.parent.parent.parent.parent,0),"monthly"));t(e,4,0,o)})}function C(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,"h1",[["class","pricing-amount font-weight-normal"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,2,"del",[["style","color: #e81616; font-size: 1.3rem;"]],null,null,null,null,null)),(t()(),i["\u0275ted"](2,null,["",""])),i["\u0275ppd"](3,1),(t()(),i["\u0275eld"](4,0,null,null,2,"span",[["class","monthly-text"]],null,null,null,null,null)),(t()(),i["\u0275ted"](5,null,["/ ",""])),i["\u0275ppd"](6,1)],null,function(t,e){var n=e.component,r=i["\u0275unv"](e,2,0,t(e,3,0,i["\u0275nov"](e.parent.parent.parent.parent,1),n.getLanguagePricingAmount(n.getPricing()).monthly_price));t(e,2,0,r);var o=i["\u0275unv"](e,5,0,t(e,6,0,i["\u0275nov"](e.parent.parent.parent.parent,0),"monthly"));t(e,5,0,o)})}function x(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,null,null,null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,_)),i["\u0275did"](2,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,w)),i["\u0275did"](4,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,C)),i["\u0275did"](6,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,2,0,!1===n.currentUserIsReferral||!0===n.currentUserIsReferral&&0===n.getLanguagePricingAmount(n.getPricing()).discount_monthly_price.length),t(e,4,0,n.getLanguagePricingAmount(n.getPricing()).discount_monthly_price.length>0&&!0===n.currentUserIsReferral),t(e,6,0,n.getLanguagePricingAmount(n.getPricing()).discount_monthly_price.length>0&&!0===n.currentUserIsReferral)},null)}function E(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,7,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,6,"h1",[["class","font-weight-normal"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,2,"span",[["style","color: #0e900e;"]],null,null,null,null,null)),(t()(),i["\u0275ted"](3,null,["",""])),i["\u0275ppd"](4,1),(t()(),i["\u0275eld"](5,0,null,null,2,"span",[["class","monthly-text"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,["/ ",""])),i["\u0275ppd"](7,1)],null,function(t,e){var n=e.component,r=i["\u0275unv"](e,3,0,t(e,4,0,i["\u0275nov"](e.parent.parent.parent,1),n.getLanguagePricingAmount(n.getPricing()).monthly_price));t(e,3,0,r);var o=i["\u0275unv"](e,6,0,t(e,7,0,i["\u0275nov"](e.parent.parent.parent,0),"monthly"));t(e,6,0,o)})}function S(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,x)),i["\u0275did"](2,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,E)),i["\u0275did"](4,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,2,0,!n.discountCode),t(e,4,0,n.discountCode)},null)}function O(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"i",[["class","fa fa-check-circle"]],null,null,null,null,null)),(t()(),i["\u0275ted"](2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.title)})}function k(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"button",[["class","btn btn-block btn-outline-light"]],null,null,null,null,null)),(t()(),i["\u0275ted"](1,null,[" "," "," "])),i["\u0275ppd"](2,1)],null,function(t,e){var n=e.component,r=i["\u0275unv"](e,1,0,t(e,2,0,i["\u0275nov"](e.parent.parent,0),"code"));t(e,1,0,r,n.discountCode.code)})}function T(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,31,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,10,"div",[["id","yearly-pricing-toggle"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,2,"span",[["class","monthly"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onYearlyPricingToggleChange(!1)&&i),i},null,null)),(t()(),i["\u0275ted"](3,null,[" "," "])),i["\u0275ppd"](4,1),(t()(),i["\u0275eld"](5,0,null,null,1,"app-toggle-switch",[],null,[[null,"onChange"]],function(t,e,n){var i=!0;return"onChange"===e&&(i=!1!==t.component.onYearlyPricingToggleChange(n)&&i),i},o.b,o.a)),i["\u0275did"](6,114688,null,0,a.a,[],{toggled:[0,"toggled"]},{onChange:"onChange"}),(t()(),i["\u0275eld"](7,16777216,null,null,4,"span",[["class","yearly"],["placement","top-right"],["tooltipClass","tooltip-warning"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onYearlyPricingToggleChange(!0)&&i),i},null,null)),i["\u0275did"](8,212992,[[2,4],["activeCheck",4]],0,s.W,[i.ElementRef,i.Renderer2,i.Injector,i.ComponentFactoryResolver,i.ViewContainerRef,s.X,i.NgZone,r.c,i.ChangeDetectorRef],{placement:[0,"placement"],disableTooltip:[1,"disableTooltip"],tooltipClass:[2,"tooltipClass"],ngbTooltip:[3,"ngbTooltip"]},null),i["\u0275ppd"](9,1),(t()(),i["\u0275ted"](10,null,[" "," "])),i["\u0275ppd"](11,1),(t()(),i["\u0275eld"](12,0,null,null,19,"div",[["class","card border pricing-card-body p-4"]],[[2,"border-primary",null]],null,null,null,null)),(t()(),i["\u0275eld"](13,0,null,null,6,"div",[["class","text-center pricing-card-head"]],null,null,null,null,null)),(t()(),i["\u0275eld"](14,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),i["\u0275ted"](15,null,["",""])),(t()(),i["\u0275and"](16777216,null,null,1,null,b)),i["\u0275did"](17,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,S)),i["\u0275did"](19,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](20,0,null,null,2,"ul",[["class","list-unstyled plan-features"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,O)),i["\u0275did"](22,278528,null,0,r.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275eld"](23,0,null,null,8,"div",[["class","pricing-buttons wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](24,0,null,null,2,"button",[["class","btn btn-block"]],[[2,"btn-primary",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onChoose()&&i),i},null,null)),(t()(),i["\u0275ted"](25,null,[" "," "])),i["\u0275ppd"](26,1),(t()(),i["\u0275eld"](27,0,null,null,2,"button",[["class","btn btn-block btn-outline-info"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bsModalRef.hide()&&i),i},null,null)),(t()(),i["\u0275ted"](28,null,[" "," "])),i["\u0275ppd"](29,1),(t()(),i["\u0275and"](16777216,null,null,1,null,k)),i["\u0275did"](31,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,6,0,n.showYearlyPricing);var r=i["\u0275inlineInterpolate"](1,"",i["\u0275unv"](e,8,3,t(e,9,0,i["\u0275nov"](e.parent,0),"billing_saving_up_to")),"");t(e,8,0,"top-right",!1,"tooltip-warning",r),t(e,17,0,!0===n.showYearlyPricing),t(e,19,0,!1===n.showYearlyPricing),t(e,22,0,n.getPricing().features),t(e,31,0,n.discountCode)},function(t,e){var n=e.component,r=i["\u0275unv"](e,3,0,t(e,4,0,i["\u0275nov"](e.parent,0),"billing_monthly"));t(e,3,0,r);var o=i["\u0275unv"](e,10,0,t(e,11,0,i["\u0275nov"](e.parent,0),"billing_yearly"));t(e,10,0,o),t(e,12,0,!0),t(e,15,0,n.getPricing().title),t(e,24,0,!0);var a=i["\u0275unv"](e,25,0,t(e,26,0,i["\u0275nov"](e.parent,0),"choose"));t(e,25,0,a);var s=i["\u0275unv"](e,28,0,t(e,29,0,i["\u0275nov"](e.parent,0),"cancel"));t(e,28,0,s)})}function P(t){return i["\u0275vid"](0,[i["\u0275pid"](0,l.a,[u.a]),i["\u0275pid"](0,c.a,[u.a]),i["\u0275qud"](402653184,1,{wrapper:0}),i["\u0275qud"](671088640,2,{activeChecks:1}),(t()(),i["\u0275eld"](4,0,[[1,0],["wrapper",1]],null,9,"div",[["class","upgrade-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,8,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"div",[["class","logo-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,0,"img",[["alt","agaia logo"],["class","logo"],["src","assets/images/logo.svg"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,5,"div",[["class","upgrade-body"]],null,null,null,null,null)),(t()(),i["\u0275eld"](9,0,null,null,1,"div",[["class","left-section section"]],null,null,null,null,null)),(t()(),i["\u0275eld"](10,0,null,null,0,"img",[["alt","upgrade plan"],["class","upgrade-plan-img"],["src","assets/images/upgrade-plan.png"]],null,null,null,null,null)),(t()(),i["\u0275eld"](11,0,null,null,2,"div",[["class","right-section section"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,T)),i["\u0275did"](13,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,13,0,null!==e.component.getPricing())},null)}function I(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-upgrade",[],null,null,null,P,y)),i["\u0275did"](1,4308992,null,0,d.a,[p.a,h.a,f.a,m.a,g.a,u.a,v.n],null,null)],function(t,e){t(e,1,0)},null)}var M=i["\u0275ccf"]("app-upgrade",d.a,I,{},{},[])},"vJ/q":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.toastrService=t,this.localisationService=e,this.timeout=6500}return t.prototype.success=function(t){this.toastrService.success(t,this.localisationService.localise("success"),{progressBar:!0,closeButton:!0,positionClass:"toast-top-center",timeOut:this.timeout})},t.prototype.info=function(t){this.toastrService.info(t,this.localisationService.localise("information"),{progressBar:!0,closeButton:!0,positionClass:"toast-top-center",timeOut:this.timeout})},t.prototype.warning=function(t){this.toastrService.warning(t,this.localisationService.localise("warning"),{progressBar:!0,closeButton:!0,positionClass:"toast-top-center",timeOut:this.timeout})},t.prototype.error=function(t){this.toastrService.error(t,this.localisationService.localise("error"),{progressBar:!0,closeButton:!0,positionClass:"toast-top-center",timeOut:this.timeout})},t}()},vubp:function(t,e,n){"use strict";var i=n("mrSG"),r=n("T1DM"),o=n("FFOo"),a=n("60iU");function s(t,e){void 0===e&&(e=r.a);var n,i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new l(i,e))}}n.d(e,"a",function(){return s});var l=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.delay,this.scheduler))},t}(),u=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.delay=n,r.scheduler=i,r.queue=[],r.active=!1,r.errored=!1,r}return i.d(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(a.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(a.a.createComplete()),this.unsubscribe()},e}(o.a),c=function(){return function(t,e){this.time=t,this.notification=e}}()},wPC0:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.componentFactoryResolver=t,this.injector=e}return t.prototype.createComponentElement=function(t,e){var n=this.componentFactoryResolver.resolveComponentFactory(t).create(this.injector);return Object.keys(e).forEach(function(t){return n.instance[t]=e[t]}),n.changeDetectorRef.detectChanges(),n.location.nativeElement},t}()},wmVe:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("g88A"),r=function(){function t(t){this.localisationService=t}return t.prototype.transform=function(t){var e=" "+this.localisationService.localise("currency"),n="right";return this.localisationService.getLanguage()===i.a.English&&(n="left",e="\u20ac"),("left"===n?e:"")+t+("right"===n?e:"")},t}()},xMyE:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("mrSG"),r=n("FFOo"),o=n("+umK"),a=n("2Bdj");function s(t,e,n){return function(i){return i.lift(new l(t,e,n))}}var l=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.nextOrObserver,this.error,this.complete))},t}(),u=function(t){function e(e,n,i,r){var s=t.call(this,e)||this;return s._tapNext=o.a,s._tapError=o.a,s._tapComplete=o.a,s._tapError=i||o.a,s._tapComplete=r||o.a,Object(a.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||o.a,s._tapError=n.error||o.a,s._tapComplete=n.complete||o.a),s}return i.d(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(r.a)},xTla:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},"y/Wt":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("6blF"),r=n("VNr4"),o=function(){function t(t,e,n){this.constants=t,this.usersService=e,this.httpClient=n,this.userSubscription=null,this.isMasterUser=null,this.permissions={AUTO_FILL_DIARY_RECIEPS:"AUTO_FILL_DIARY_RECIEPS",EXTERNAL_MEALS:"EXTERNAL_MEALS",SHOPPING_LIST:"SHOPPING_LIST",DAY_TRAINING:"DAY_TRAINING",EXTERNAL_LOAD:"EXTERNAL_LOAD",COPY_DIARY_RECIPES:"COPY_DIARY_RECIPES",COPY_DIARY_SINGLE_RECIPE:"COPY_DIARY_SINGLE_RECIPE",DELETE_DIARY_RECIPES:"DELETE_DIARY_RECIPES"},this.freePlanPermissions=[],this.lightPlanPermissions=[this.permissions.EXTERNAL_MEALS,this.permissions.SHOPPING_LIST],this.standartPlanPermissions=[this.permissions.AUTO_FILL_DIARY_RECIEPS,this.permissions.EXTERNAL_MEALS,this.permissions.SHOPPING_LIST,this.permissions.DAY_TRAINING,this.permissions.EXTERNAL_LOAD,this.permissions.COPY_DIARY_RECIPES,this.permissions.COPY_DIARY_SINGLE_RECIPE,this.permissions.DELETE_DIARY_RECIPES]}return t.prototype.getPricings=function(){return this.httpClient.get(this.constants.apiURL()+"/pricing/")},t.prototype.getPaymentMethods=function(){return this.httpClient.get(this.constants.apiURL()+"/payment/methods/")},t.prototype.createSubscription=function(t){return this.httpClient.post(this.constants.apiURL()+"/subscription/",t)},t.prototype.braintreeGenerateClientToken=function(){return this.httpClient.get(this.constants.apiURL()+"/braintree/client-token/")},t.prototype.createSubscriptionAddonTransaction=function(t){return this.httpClient.post(this.constants.apiURL()+"/subscription/addon/"+t.influencer_id+"/buy/transaction/",t)},t.prototype.getDiscount=function(t){return this.httpClient.post(this.constants.apiURL()+"/pricing/discount/",t)},t.prototype.isFreePlan=function(){var t=this;return new i.a(function(e){null===t.userSubscription?Object(r.a)([t.usersService.getMasterUserProfile(),t.usersService.getUserSubscription()]).subscribe(function(n){var i=n[0];t.userSubscription=n[1],t.isMasterUser=!0===i.is_master_profile,t.isMasterUser&&(e.next(!1),e.complete()),null===t.userSubscription&&(e.next(!0),e.complete()),4===t.userSubscription.pricing_plan.id&&(e.next(!0),e.complete()),"\u0411\u0435\u0437\u043f\u043b\u0430\u0442\u0435\u043d"!==t.userSubscription.pricing_plan.title&&"Free"!==t.userSubscription.pricing_plan.title||(e.next(!0),e.complete()),e.next(!1),e.complete()}):(t.isMasterUser&&(e.next(!1),e.complete()),null===t.userSubscription&&(e.next(!0),e.complete()),4===t.userSubscription.pricing_plan.id&&(e.next(!0),e.complete()),"\u0411\u0435\u0437\u043f\u043b\u0430\u0442\u0435\u043d"!==t.userSubscription.pricing_plan.title&&"Free"!==t.userSubscription.pricing_plan.title||(e.next(!0),e.complete()),e.next(!1),e.complete())})},t.prototype.isPermissionAllowed=function(t){return new i.a(function(t){t.next(!0),t.complete()})},t}()},y3By:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var i=n("+umK");function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}function o(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:i.a}},yGWI:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("mrSG"),r=n("FFOo");function o(){return function(t){return t.lift(new a(t))}}var a=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new s(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),s=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.d(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},e}(r.a)},yLV6:function(t,e,n){var i;!function(r,o,a,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),d="function",p=Math.round,h=Math.abs,f=Date.now;function m(t,e,n){return setTimeout(C(t,n),e)}function g(t,e,n){return!!Array.isArray(t)&&(v(t,n[e],n),!0)}function v(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function y(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var b=y(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===s)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),_=y(function(t,e){return b(t,e,!0)},"merge","Use `assign`.");function w(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&l(i,n)}function C(t,e){return function(){return t.apply(e,arguments)}}function x(t,e){return typeof t==d?t.apply(e&&e[0]||s,e):t}function E(t,e){return t===s?e:t}function S(t,e,n){v(P(e),function(e){t.addEventListener(e,n,!1)})}function O(t,e,n){v(P(e),function(e){t.removeEventListener(e,n,!1)})}function k(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function T(t,e){return t.indexOf(e)>-1}function P(t){return t.trim().split(/\s+/g)}function I(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function M(t){return Array.prototype.slice.call(t,0)}function R(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];I(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function D(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<u.length;){if((i=(n=u[o])?n+r:e)in t)return i;o++}return s}var A=1;function j(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var L="ontouchstart"in r,N=D(r,"PointerEvent")!==s,V=L&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=25,H=1,U=4,z=8,B=1,W=2,G=4,q=8,Y=16,$=W|G,K=q|Y,Z=$|K,Q=["x","y"],X=["clientX","clientY"];function J(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){x(t.options.enable,[t])&&n.handler(e)},this.init()}function tt(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&H&&i-r==0,a=e&(U|z)&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=et(e)),r>1&&!n.firstMultiple?n.firstMultiple=et(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,l=a?a.center:o.center,u=e.center=nt(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=at(l,u),e.distance=ot(l,u),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==H&&o.eventType!==U||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=rt(e.deltaX,e.deltaY);var c,d,p=it(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=h(p.x)>h(p.y)?p.x:p.y,e.scale=a?(c=a.pointers,ot((d=i)[0],d[1],X)/ot(c[0],c[1],X)):1,e.rotation=a?function(t,e){return at(i[1],i[0],X)+at(t[1],t[0],X)}(a.pointers):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,o,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=z&&(l>F||a.velocity===s)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,d=it(l,u,c);i=d.x,r=d.y,n=h(d.x)>h(d.y)?d.x:d.y,o=rt(u,c),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var m=t.element;k(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function et(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:p(t.pointers[n].clientX),clientY:p(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:nt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function nt(t){var e=t.length;if(1===e)return{x:p(t[0].clientX),y:p(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:p(n/e),y:p(i/e)}}function it(t,e,n){return{x:e/t||0,y:n/t||0}}function rt(t,e){return t===e?B:h(t)>=h(e)?t<0?W:G:e<0?q:Y}function ot(t,e,n){n||(n=Q);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function at(t,e,n){return n||(n=Q),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}J.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(j(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(j(this.element),this.evWin,this.domHandler)}};var st={mousedown:H,mousemove:2,mouseup:U},lt="mousedown",ut="mousemove mouseup";function ct(){this.evEl=lt,this.evWin=ut,this.pressed=!1,J.apply(this,arguments)}w(ct,J,{handler:function(t){var e=st[t.type];e&H&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=U),this.pressed&&(e&U&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var dt={pointerdown:H,pointermove:2,pointerup:U,pointercancel:z,pointerout:z},pt={2:"touch",3:"pen",4:"mouse",5:"kinect"},ht="pointerdown",ft="pointermove pointerup pointercancel";function mt(){this.evEl=ht,this.evWin=ft,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(ht="MSPointerDown",ft="MSPointerMove MSPointerUp MSPointerCancel"),w(mt,J,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=dt[i],o=pt[t.pointerType]||t.pointerType,a="touch"==o,s=I(e,t.pointerId,"pointerId");r&H&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):r&(U|z)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var gt={touchstart:H,touchmove:2,touchend:U,touchcancel:z},vt="touchstart",yt="touchstart touchmove touchend touchcancel";function bt(){this.evTarget=vt,this.evWin=yt,this.started=!1,J.apply(this,arguments)}w(bt,J,{handler:function(t){var e=gt[t.type];if(e===H&&(this.started=!0),this.started){var n=(function(t,e){var n=M(t.touches),i=M(t.changedTouches);return e&(U|z)&&(n=R(n.concat(i),"identifier",!0)),[n,i]}).call(this,t,e);e&(U|z)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var _t={touchstart:H,touchmove:2,touchend:U,touchcancel:z},wt="touchstart touchmove touchend touchcancel";function Ct(){this.evTarget=wt,this.targetIds={},J.apply(this,arguments)}w(Ct,J,{handler:function(t){var e=_t[t.type],n=(function(t,e){var n=M(t.touches),i=this.targetIds;if(e&(2|H)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=M(t.changedTouches),s=[],l=this.target;if(o=n.filter(function(t){return k(t.target,l)}),e===H)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),e&(U|z)&&delete i[a[r].identifier],r++;return s.length?[R(o.concat(s),"identifier",!0),s]:void 0}).call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var xt=2500;function Et(){J.apply(this,arguments);var t=C(this.handler,this);this.touch=new Ct(this.manager,t),this.mouse=new ct(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function St(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)},xt)}}w(Et,J,{handler:function(t,e,n){var i="mouse"==n.pointerType;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(t,e){t&H?(this.primaryTouch=e.changedPointers[0].identifier,St.call(this,e)):t&(U|z)&&St.call(this,e)}).call(this,e,n);else if(i&&(function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),a=Math.abs(n-r.y);if(o<=25&&a<=25)return!0}return!1}).call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ot=D(c.style,"touchAction"),kt=Ot!==s,Tt=function(){if(!kt)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();function Pt(t,e){this.manager=t,this.set(e)}Pt.prototype={set:function(t){"compute"==t&&(t=this.compute()),kt&&this.manager.element.style&&Tt[t]&&(this.manager.element.style[Ot]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,function(e){x(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(T(t,"none"))return"none";var e=T(t,"pan-x"),n=T(t,"pan-y");return e&&n?"none":e||n?e?"pan-x":"pan-y":T(t,"manipulation")?"manipulation":"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=T(i,"none")&&!Tt.none,o=T(i,"pan-y")&&!Tt["pan-y"],a=T(i,"pan-x")&&!Tt["pan-x"];if(r&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!a||!o)return r||o&&n&$||a&&n&K?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var It=1,Mt=2,Rt=4,Dt=8,At=Dt,jt=16;function Lt(t){this.options=l({},this.defaults,t||{}),this.id=A++,this.manager=null,this.options.enable=E(this.options.enable,!0),this.state=It,this.simultaneous={},this.requireFail=[]}function Nt(t){return t&jt?"cancel":t&Dt?"end":t&Rt?"move":t&Mt?"start":""}function Vt(t){return t==Y?"down":t==q?"up":t==W?"left":t==G?"right":""}function Ft(t,e){var n=e.manager;return n?n.get(t):t}function Ht(){Lt.apply(this,arguments)}function Ut(){Ht.apply(this,arguments),this.pX=null,this.pY=null}function zt(){Ht.apply(this,arguments)}function Bt(){Lt.apply(this,arguments),this._timer=null,this._input=null}function Wt(){Ht.apply(this,arguments)}function Gt(){Ht.apply(this,arguments)}function qt(){Lt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Yt(t,e){return(e=e||{}).recognizers=E(e.recognizers,Yt.defaults.preset),new $t(t,e)}function $t(t,e){var n;this.options=l({},Yt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(N?mt:V?Ct:L?Et:ct))(n,tt),this.touchAction=new Pt(this,this.options.touchAction),Kt(this,!0),v(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Kt(t,e){var n,i=t.element;i.style&&(v(t.options.cssProps,function(r,o){n=D(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={}))}Lt.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(g(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Ft(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)?this:(t=Ft(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return-1===I(e,t=Ft(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=Ft(t,this);var e=I(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<Dt&&i(e.options.event+Nt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=Dt&&i(e.options.event+Nt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|It)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!x(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(At|jt|32)&&(this.state=It),this.state=this.process(e),this.state&(Mt|Rt|Dt|jt)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(Ht,Lt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(Mt|Rt),r=this.attrTest(t);return i&&(n&z||!r)?e|jt:i||r?n&U?e|Dt:e&Mt?e|Rt:Mt:32}}),w(Ut,Ht,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var t=this.options.direction,e=[];return t&$&&e.push("pan-y"),t&K&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&$?(r=0===o?B:o<0?W:G,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?B:a<0?q:Y,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return Ht.prototype.attrTest.call(this,t)&&(this.state&Mt||!(this.state&Mt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Vt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(zt,Ht,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Mt)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),w(Bt,Lt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(U|z)&&!r)this.reset();else if(t.eventType&H)this.reset(),this._timer=m(function(){this.state=At,this.tryEmit()},e.time,this);else if(t.eventType&U)return At;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===At&&(t&&t.eventType&U?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(Wt,Ht,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Mt)}}),w(Gt,Ht,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:$|K,pointers:1},getTouchAction:function(){return Ut.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&($|K)?e=t.overallVelocity:n&$?e=t.overallVelocityX:n&K&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&t.eventType&U},emit:function(t){var e=Vt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(qt,Lt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&H&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=U)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||ot(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=At,this.tryEmit()},e.interval,this),Mt):At}return 32},failTimeout:function(){return this._timer=m(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==At&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Yt.VERSION="2.0.7",Yt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Wt,{enable:!1}],[zt,{enable:!1},["rotate"]],[Gt,{direction:$}],[Ut,{direction:$},["swipe"]],[qt],[qt,{event:"doubletap",taps:2},["tap"]],[Bt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},$t.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&At)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(Mt|Rt|Dt)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Lt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(g(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(g(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=I(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return v(P(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==s){var n=this.handlers;return v(P(t),function(t){e?n[t]&&n[t].splice(I(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&Kt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Yt,{INPUT_START:H,INPUT_MOVE:2,INPUT_END:U,INPUT_CANCEL:z,STATE_POSSIBLE:It,STATE_BEGAN:Mt,STATE_CHANGED:Rt,STATE_ENDED:Dt,STATE_RECOGNIZED:At,STATE_CANCELLED:jt,STATE_FAILED:32,DIRECTION_NONE:B,DIRECTION_LEFT:W,DIRECTION_RIGHT:G,DIRECTION_UP:q,DIRECTION_DOWN:Y,DIRECTION_HORIZONTAL:$,DIRECTION_VERTICAL:K,DIRECTION_ALL:Z,Manager:$t,Input:J,TouchAction:Pt,TouchInput:Ct,MouseInput:ct,PointerEventInput:mt,TouchMouseInput:Et,SingleTouchInput:bt,Recognizer:Lt,AttrRecognizer:Ht,Tap:qt,Pan:Ut,Swipe:Gt,Pinch:zt,Rotate:Wt,Press:Bt,on:S,off:O,each:v,merge:_,extend:b,assign:l,inherit:w,bindFn:C,prefixed:D}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Yt,(i=(function(){return Yt}).call(e,n,e,t))===s||(t.exports=i)}(window,document)},yYZv:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("K9Ia"),r=function(){function t(){this.triggerAction=new i.a,this.triggerActionObservable$=this.triggerAction.asObservable()}return t.prototype.broadcastActionChanged=function(t){this.triggerAction.next(t)},t}()},"z/er":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this.httpClient=t,this.constants=e,this.MEASURING_UNITS_TYPE="measuring_units"}return t.prototype.getPageByType=function(t){return this.httpClient.get(this.constants.apiURL()+"/page/"+t+"/")},t}()},z5nN:function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return p});var i=n("CcnG"),r=n("DQlY"),o=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function a(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),i["\u0275ncd"](null,0)],null,function(t,e){var n=e.component;t(e,0,0,"modal-dialog"+(n.config.class?" "+n.config.class:""))})}function s(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"modal-container",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[1,"aria-modal",0]],[[null,"click"],["window","keydown.esc"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick(n)&&r),"window:keydown.esc"===e&&(r=!1!==i["\u0275nov"](t,1).onEsc(n)&&r),r},a,o)),i["\u0275did"](1,245760,null,0,r.d,[r.f,i.ElementRef,i.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,!0)})}var l=i["\u0275ccf"]("modal-container",r.d,s,{},{},["*"]),u=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function c(t){return i["\u0275vid"](0,[],null,null)}function d(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"bs-modal-backdrop",[["class","modal-backdrop"]],null,null,null,c,u)),i["\u0275did"](1,114688,null,0,r.c,[i.ElementRef,i.Renderer2],null,null)],function(t,e){t(e,1,0)},null)}var p=i["\u0275ccf"]("bs-modal-backdrop",r.c,d,{},{},[])},zUnb:function(t,e,n){"use strict";n.r(e);var i=n("CcnG"),r=(n("yLV6"),function(){return function(){}}()),o=n("ZYCi"),a=n("VnD/"),s=n("67Y/"),l=n("g88A"),u=function(){function t(t,e,n,i,r,o,a,s,l){this.router=t,this.changeDetectorRef=e,this.authService=n,this.appLoadingEventsEmitter=i,this.localisationService=r,this.usersService=o,this.themeService=a,this.constants=s,this.authEventsEmitter=l,this.appLoadingClass="app-loading",this.loading=!0,this.tidioHasBeenStyled=!1}return t.prototype.ngOnInit=function(){var t=this;this.initLocalisation(),this.initEventEmitters(),document.body.classList.add(this.appLoadingClass),this.authService.userHasLoggedIn&&this.usersService.getUserProfile().subscribe(function(){t.changeDetectorRef.detectChanges()})},t.prototype.ngAfterViewChecked=function(){this.applyTidioStyles()},t.prototype.urlIsAuthRoute=function(t){return t.startsWith("/login")||t.startsWith("/register")||t.startsWith("/forgot-password")||t.startsWith("/reset/password")},t.prototype.urlIsWizardRoute=function(t){return t.startsWith("/wizard")},t.prototype.urlIsPricingRoute=function(t){return t.startsWith("/pricing")&&!t.startsWith("/pricing/")},Object.defineProperty(t.prototype,"isWizardRoute",{get:function(){return this.urlIsWizardRoute(this.router.url)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPricingRoute",{get:function(){return this.urlIsPricingRoute(this.router.url)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"completeHeader",{get:function(){return!this.isWizardRoute&&!this.isPricingRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this},enumerable:!0,configurable:!0}),t.prototype.initLocalisation=function(t){var e=this;if(t)this.localisationService.useLanguage(t);else{var n,i=/lang=([a-zA-Z]{2})/g.exec(window.location.href);if(i)return n=i[1].toUpperCase(),this.authService.userHasLoggedIn&&setTimeout(function(){e.usersService.updateUserLang("BG"===n?l.a.Bulgarian:l.a.English).subscribe(function(){console.log("lang updated")})},1),this.localisationService.setAutoLanguage(),this.localisationService.useLanguage("BG"===n?l.a.Bulgarian:l.a.English);if(!this.localisationService.getAutoLanguage())return void this.localisationService.getUserIpData().subscribe(function(t){t.country&&t.country.length>0&&("BG"===t.country.toUpperCase()||"BULGARIA"===t.country.toUpperCase())?e.localisationService.useLanguage(l.a.Bulgarian):e.localisationService.useLanguage(l.a.English),e.localisationService.setAutoLanguage()},function(){n=e.localisationService.getLanguage(),e.localisationService.useLanguage(n||e.constants.defaultLanguage),e.localisationService.setAutoLanguage()});n=this.localisationService.getLanguage(),this.localisationService.useLanguage(n||this.constants.defaultLanguage),this.localisationService.setAutoLanguage()}},t.prototype.initEventEmitters=function(){var t=this;this.authEventsEmitter.userProfileChanged$.subscribe(function(e){t.initLocalisation(e.locale)}),this.appLoadingEventsEmitter.appIsLoading$.subscribe(function(e){e?document.body.classList.add(t.appLoadingClass):document.body.classList.remove(t.appLoadingClass),t.loading=e,t.changeDetectorRef.markForCheck()}),this.router.events.pipe(Object(a.a)(function(t){return t instanceof o.d})).subscribe(function(){t.changeDetectorRef.detectChanges(),t.mainPanel.nativeElement.scrollTop=0}),this.router.events.pipe(Object(a.a)(function(t){return t instanceof o.e}),Object(s.a)(function(t){return t})).subscribe(function(e){var n=e.url,i="/"===n,r=n.startsWith("/error-404")||n.startsWith("/error-500");i||t.urlIsAuthRoute(n)||r?(t.mainPanel.nativeElement.classList.add("w-100"),t.pageBodyWrapper.nativeElement.classList.add("full-page-wrapper"),r&&t.contentWrapper.nativeElement.classList.add("p-0")):(t.mainPanel.nativeElement.classList.remove("w-100"),t.pageBodyWrapper.nativeElement.classList.remove("full-page-wrapper"),t.contentWrapper.nativeElement.classList.remove("p-0"))}),this.router.events.pipe(Object(a.a)(function(t){return t instanceof o.l&&!!t.route.path})).subscribe(function(){document.body.classList.remove(t.appLoadingClass),t.loading=!1,t.changeDetectorRef.markForCheck()})},t.prototype.applyTidioStyles=function(){var t=document.querySelector("#tidio-chat-iframe");if(t&&!this.tidioHasBeenStyled){var e=document.createElement("style");e.type="text/css",e.innerHTML="\n      .flyMessage {\n        display: none !important;\n      }\n\n      #button {\n        #display: none;\n      }\n\n      #button #button-body {\n        box-shadow: rgba(64, 29, 186, 0.5) 0px 4px 12px !important;\n      }\n\n      #button #new-message {\n        top: 36px !important;\n        right: 28px !important;\n      }\n\n      #button .chat-open:not(.sidebar) {\n        right: 0 !important;\n        top: 0 !important;\n      }\n    ",t.contentDocument.head.append(e),this.tidioHasBeenStyled=!0}},t}(),c=n("pMnS"),d=n("JvyH"),p=n("OEGa"),h=n("Ip0R"),f=n("m1G+"),m=i["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function g(t){return i["\u0275vid"](2,[i["\u0275pid"](0,d.a,[p.a]),(t()(),i["\u0275eld"](1,0,null,null,19,"div",[["class","d-flex align-items-center text-center error-page bg-primary pt-5 pb-4 h-100"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,18,"div",[["class","row flex-grow"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,17,"div",[["class","col-lg-8 mx-auto text-white"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,10,"div",[["class","row align-items-center d-flex flex-row"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","col-lg-6 text-lg-right pr-lg-4"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"h1",[["class","display-1 mb-0"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["404"])),(t()(),i["\u0275eld"](8,0,null,null,6,"div",[["class","col-lg-6 error-page-divider text-lg-left pl-lg-4"]],null,null,null,null,null)),(t()(),i["\u0275eld"](9,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),i["\u0275ted"](10,null,["",""])),i["\u0275ppd"](11,1),(t()(),i["\u0275eld"](12,0,null,null,2,"h3",[["class","font-weight-light"]],null,null,null,null,null)),(t()(),i["\u0275ted"](13,null,["",""])),i["\u0275ppd"](14,1),(t()(),i["\u0275eld"](15,0,null,null,5,"div",[["class","row mt-5"]],null,null,null,null,null)),(t()(),i["\u0275eld"](16,0,null,null,4,"div",[["class","col-12 text-center mt-xl-2"]],null,null,null,null,null)),(t()(),i["\u0275eld"](17,0,null,null,3,"a",[["class","text-white font-weight-medium"],["routerLink","/dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,18).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](18,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275ted"](19,null,["",""])),i["\u0275ppd"](20,1)],function(t,e){t(e,18,0,"/dashboard")},function(t,e){var n=i["\u0275unv"](e,10,0,t(e,11,0,i["\u0275nov"](e,0),"missing_page_title"));t(e,10,0,n);var r=i["\u0275unv"](e,13,0,t(e,14,0,i["\u0275nov"](e,0),"missing_page_text"));t(e,13,0,r),t(e,17,0,i["\u0275nov"](e,18).target,i["\u0275nov"](e,18).href);var o=i["\u0275unv"](e,19,0,t(e,20,0,i["\u0275nov"](e,0),"back_to_home"));t(e,19,0,o)})}function v(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-page404",[],null,null,null,g,m)),i["\u0275did"](1,114688,null,0,f.a,[],null,null)],function(t,e){t(e,1,0)},null)}var y=i["\u0275ccf"]("app-page404",f.a,v,{},{},[]),b=n("6FsS"),_=i["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function w(t){return i["\u0275vid"](2,[(t()(),i["\u0275eld"](0,0,null,null,16,"div",[["class","d-flex align-items-center text-center error-page bg-info pt-5 pb-4 h-100"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,15,"div",[["class","row flex-grow"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,14,"div",[["class","col-lg-7 mx-auto text-white"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,8,"div",[["class","row align-items-center d-flex flex-row"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,2,"div",[["class","col-lg-6 text-lg-right pr-lg-4"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,1,"h1",[["class","display-1 mb-0"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["500"])),(t()(),i["\u0275eld"](7,0,null,null,4,"div",[["class","col-lg-6 error-page-divider text-lg-left pl-lg-4"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["SORRY!"])),(t()(),i["\u0275eld"](10,0,null,null,1,"h3",[["class","font-weight-light"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["Internal server error!"])),(t()(),i["\u0275eld"](12,0,null,null,4,"div",[["class","row mt-5"]],null,null,null,null,null)),(t()(),i["\u0275eld"](13,0,null,null,3,"div",[["class","col-12 text-center mt-xl-2"]],null,null,null,null,null)),(t()(),i["\u0275eld"](14,0,null,null,2,"a",[["class","text-white font-weight-medium"],["routerLink","/dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,15).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](15,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275ted"](-1,null,["Back to home"]))],function(t,e){t(e,15,0,"/dashboard")},function(t,e){t(e,14,0,i["\u0275nov"](e,15).target,i["\u0275nov"](e,15).href)})}function C(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-page500",[],null,null,null,w,_)),i["\u0275did"](1,114688,null,0,b.a,[],null,null)],function(t,e){t(e,1,0)},null)}var x=i["\u0275ccf"]("app-page500",b.a,C,{},{},[]),E=n("XePT"),S=n("z5nN"),O=n("lR2R"),k=n("9AJC"),T=n("m+g4"),P=n("k6dp"),I=n("HRr2"),M=n("G2Fg"),R=n("uUtN"),D=n("d8lu"),A=n("i/UC"),j=n("4GxJ"),L=n("btFJ"),N=n("EgJy"),V=n("mPrv"),F=n("Zhtc"),H=n("61xQ"),U=n("rQkD"),z=n("su/6"),B=n("DJts"),W=i["\u0275crt"]({encapsulation:0,styles:[[".nav-item[_ngcontent-%COMP%]{cursor:pointer}.nav-item[_ngcontent-%COMP%]:focus{outline:unset}@-webkit-keyframes bigspinner{0%{transform:scale(0)}100%,60%{transform:scale(.8);opacity:0}}@keyframes bigspinner{0%{transform:scale(0)}100%,60%{transform:scale(.8);opacity:0}}@-webkit-keyframes bigspinner-outer{0%,100%{transform:scale(.5)}50%{transform:scale(.8)}}@keyframes bigspinner-outer{0%,100%{transform:scale(.5)}50%{transform:scale(.8)}}.navbar[_ngcontent-%COMP%]   .chat-spinner[_ngcontent-%COMP%]{position:relative;top:-31px;right:-5px}.navbar[_ngcontent-%COMP%]   .big-spinner[_ngcontent-%COMP%]{width:40px;height:40px;position:absolute;top:0;left:0;background-color:#e3a300;border-radius:100%;-webkit-animation:1.6s ease-in-out infinite bigspinner;animation:1.6s ease-in-out infinite bigspinner}.navbar[_ngcontent-%COMP%]   .big-spinner-outer[_ngcontent-%COMP%]{width:14px;height:14px;position:absolute;top:13px;left:13px;background-color:#e3a300;border-radius:100%;-webkit-animation:1.6s ease-in-out infinite bigspinner-outer;animation:1.6s ease-in-out infinite bigspinner-outer}.nav-item[_ngcontent-%COMP%]   .menu-title[_ngcontent-%COMP%]{letter-spacing:1px}.nav-item.active[_ngcontent-%COMP%]{border-bottom:2px solid #e3a605!important}.nav-item.active[_ngcontent-%COMP%]   .menu-title[_ngcontent-%COMP%]{color:#dca002!important;font-weight:700!important}.star-new[_ngcontent-%COMP%]{background:#f87272;padding:4px 6px;border-radius:8px;text-transform:uppercase;font-size:.6rem;color:#fff;font-weight:700;position:absolute;right:7px;top:5px;letter-spacing:.7px}.navbar-pricing-plan[_ngcontent-%COMP%]{background:#0dab0d;color:#fff;text-transform:uppercase;font-size:.63rem;padding:3px 6px;letter-spacing:.3px;position:relative;top:26px;left:-49px;border-radius:5px;display:none!important}@supports (-webkit-touch-callout:none){.top-navbar.bigger-menu[_ngcontent-%COMP%]{padding-top:40px!important}}"]],data:{}});function G(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,2,"a",[["class","navbar-brand brand-logo"],["routerLink","/master/dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](2,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](3,0,null,null,0,"img",[["alt","logo"],["src","assets/images/agaia-pro-new.png"],["style","width: 85px;"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,2,"a",[["class","navbar-brand brand-logo-mini"],["routerLink","/master/dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,5).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](5,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](6,0,null,null,0,"img",[["alt","logo"],["src","assets/images/agaia-pro-new.png"],["style","width: 85px;"]],null,null,null,null,null))],function(t,e){t(e,2,0,"/master/dashboard"),t(e,5,0,"/master/dashboard")},function(t,e){t(e,1,0,i["\u0275nov"](e,2).target,i["\u0275nov"](e,2).href),t(e,4,0,i["\u0275nov"](e,5).target,i["\u0275nov"](e,5).href)})}function q(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,2,"a",[["class","navbar-brand brand-logo"],["routerLink","/dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](2,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](3,0,null,null,0,"img",[["alt","logo"],["src","assets/images/logo-white.svg"],["style","width: 85px;"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,2,"a",[["class","navbar-brand brand-logo-mini"],["routerLink","/dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,5).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](5,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](6,0,null,null,0,"img",[["alt","logo"],["src","assets/images/logo-white.svg"],["style","width: 85px;"]],null,null,null,null,null))],function(t,e){t(e,2,0,"/dashboard"),t(e,5,0,"/dashboard")},function(t,e){t(e,1,0,i["\u0275nov"](e,2).target,i["\u0275nov"](e,2).href),t(e,4,0,i["\u0275nov"](e,5).target,i["\u0275nov"](e,5).href)})}function Y(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,7,"a",[["class","dropdown-item preview-item"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onLanguageSelected(t.context.$implicit)&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,3,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"i",[],null,null,null,null,null)),i["\u0275did"](4,278528,null,0,h.j,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngClass:[0,"ngClass"]},null),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,["",""])),i["\u0275ppd"](7,1)],function(t,e){t(e,4,0,"m-0 flag-icon flag-icon-"+e.component.flagIcon(e.context.$implicit))},function(t,e){var n=i["\u0275unv"](e,6,0,t(e,7,0,i["\u0275nov"](e.parent.parent.parent,0),e.context.$implicit));t(e,6,0,n)})}function $(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,Y)),i["\u0275did"](1,278528,null,0,h.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,e.component.languages)},null)}function K(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,20,"ul",[["class","navbar-nav navbar-nav-right"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,3,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","chat-spinner"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onWebChat()&&i),i},null,null)),(t()(),i["\u0275eld"](3,0,null,null,0,"div",[["class","big-spinner"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"div",[["class","big-spinner-outer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,10,"li",[["class","nav-item dropdown"],["ngbDropdown",""]],[[2,"show",null]],null,null,null,null)),i["\u0275did"](6,737280,null,3,j.r,[i.ChangeDetectorRef,j.s,h.c,i.NgZone,i.ElementRef,i.Renderer2],null,null),i["\u0275qud"](335544320,3,{_menu:0}),i["\u0275qud"](335544320,4,{_menuElement:0}),i["\u0275qud"](335544320,5,{_anchor:0}),(t()(),i["\u0275eld"](10,0,null,null,4,"a",[["class","nav-link dropdown-toggle"]],null,[[null,"click"],["window","click"],["body","scroll"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,11).onClick(n,!0)&&r),"window:click"===e&&(r=!1!==i["\u0275nov"](t,11).onWindowClick(n)&&r),"body:scroll"===e&&(r=!1!==i["\u0275nov"](t,11).onWindowScroll(n)&&r),r},null,null)),i["\u0275did"](11,212992,null,0,L.a,[i.ElementRef,N.a,o.n,i.ChangeDetectorRef],{popup:[0,"popup"]},null),i["\u0275pad"](12,2),i["\u0275pod"](13,{templateRef:0,position:1,arrowPosition:2,paddingless:3,closeUponSelection:4}),(t()(),i["\u0275eld"](14,0,null,null,0,"i",[["class","ti-world mx-0"]],null,null,null,null,null)),(t()(),i["\u0275and"](0,[["languagesPopupTemplate",2]],null,0,null,$)),(t()(),i["\u0275eld"](16,0,null,null,4,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),i["\u0275eld"](17,0,null,null,3,"div",[["class","responsive-flex-wrapper"],["style","cursor: pointer;"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onLogout()&&i),i},null,null)),(t()(),i["\u0275eld"](18,0,null,null,2,"button",[["class","btn btn-danger"]],null,null,null,null,null)),(t()(),i["\u0275ted"](19,null,["",""])),i["\u0275ppd"](20,1)],function(t,e){t(e,6,0);var n=t(e,13,0,i["\u0275nov"](e,15),"bottom",t(e,12,0,"top","right"),!0,!0);t(e,11,0,n)},function(t,e){t(e,5,0,i["\u0275nov"](e,6).isOpen());var n=i["\u0275unv"](e,19,0,t(e,20,0,i["\u0275nov"](e.parent,0),"logout"));t(e,19,0,n)})}function Z(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,7,"a",[["class","dropdown-item preview-item"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onLanguageSelected(t.context.$implicit)&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,3,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"i",[],null,null,null,null,null)),i["\u0275did"](4,278528,null,0,h.j,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngClass:[0,"ngClass"]},null),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,["",""])),i["\u0275ppd"](7,1)],function(t,e){t(e,4,0,"m-0 flag-icon flag-icon-"+e.component.flagIcon(e.context.$implicit))},function(t,e){var n=i["\u0275unv"](e,6,0,t(e,7,0,i["\u0275nov"](e.parent.parent.parent,0),e.context.$implicit));t(e,6,0,n)})}function Q(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,Z)),i["\u0275did"](1,278528,null,0,h.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){t(e,1,0,e.component.languages)},null)}function X(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,7,"a",[["class","dropdown-item preview-item"],["routerLink","/invoices"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](1,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"i",[["class","ti-files text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,["",""])),i["\u0275ppd"](7,1)],function(t,e){t(e,1,0,"/invoices")},function(t,e){t(e,0,0,i["\u0275nov"](e,1).target,i["\u0275nov"](e,1).href);var n=i["\u0275unv"](e,6,0,t(e,7,0,i["\u0275nov"](e.parent.parent.parent.parent,0),"invoices"));t(e,6,0,n)})}function J(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,7,"a",[["class","dropdown-item preview-item"],["routerLink","/user-preferred-global-categories"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](1,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"i",[["class","ti-heart text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,["",""])),i["\u0275ppd"](7,1)],function(t,e){t(e,1,0,"/user-preferred-global-categories")},function(t,e){t(e,0,0,i["\u0275nov"](e,1).target,i["\u0275nov"](e,1).href);var n=i["\u0275unv"](e,6,0,t(e,7,0,i["\u0275nov"](e.parent.parent.parent.parent,0),"user_preferred_meals"));t(e,6,0,n)})}function tt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,7,"a",[["class","dropdown-item preview-item"],["routerLink","/user-preferred-products"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](1,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"i",[["class","ti-heart-broken text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,["",""])),i["\u0275ppd"](7,1)],function(t,e){t(e,1,0,"/user-preferred-products")},function(t,e){t(e,0,0,i["\u0275nov"](e,1).target,i["\u0275nov"](e,1).href);var n=i["\u0275unv"](e,6,0,t(e,7,0,i["\u0275nov"](e.parent.parent.parent.parent,0),"exclude_products"));t(e,6,0,n)})}function et(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,30,null,null,null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,X)),i["\u0275did"](2,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,J)),i["\u0275did"](4,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,tt)),i["\u0275did"](6,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](7,0,null,null,7,"a",[["class","dropdown-item preview-item"],["routerLink","/referrals"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,8).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](8,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](9,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](10,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](11,0,null,null,0,"i",[["class","icon-people text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](12,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](13,null,["",""])),i["\u0275ppd"](14,1),(t()(),i["\u0275eld"](15,0,null,null,7,"a",[["class","dropdown-item preview-item"],["routerLink","/videos"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,16).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](16,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](17,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](18,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](19,0,null,null,0,"i",[["class","fa fa-video-camera text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](20,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](21,null,["",""])),i["\u0275ppd"](22,1),(t()(),i["\u0275eld"](23,0,null,null,7,"a",[["class","dropdown-item preview-item"],["routerLink","/settings/profile"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,24).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](24,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](25,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](26,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](27,0,null,null,0,"i",[["class","ti-settings text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](28,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](29,null,["",""])),i["\u0275ppd"](30,1)],function(t,e){var n=e.component;t(e,2,0,n.authService.userHasLoggedIn&&n.completeHeader),t(e,4,0,!1===n.isDiaryChangeDisabled),t(e,6,0,!1===n.isDiaryChangeDisabled),t(e,8,0,"/referrals"),t(e,16,0,"/videos"),t(e,24,0,"/settings/profile")},function(t,e){t(e,7,0,i["\u0275nov"](e,8).target,i["\u0275nov"](e,8).href);var n=i["\u0275unv"](e,13,0,t(e,14,0,i["\u0275nov"](e.parent.parent.parent,0),"referrals_navbar"));t(e,13,0,n),t(e,15,0,i["\u0275nov"](e,16).target,i["\u0275nov"](e,16).href);var r=i["\u0275unv"](e,21,0,t(e,22,0,i["\u0275nov"](e.parent.parent.parent,0),"videos"));t(e,21,0,r),t(e,23,0,i["\u0275nov"](e,24).target,i["\u0275nov"](e,24).href);var o=i["\u0275unv"](e,29,0,t(e,30,0,i["\u0275nov"](e.parent.parent.parent,0),"settings"));t(e,29,0,o)})}function nt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,29,null,null,null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,6,"a",[["class","dropdown-item preview-item"],["routerLink","/master/profiles"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](2,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](3,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,0,"i",[["class","ti-user text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u041f\u0440\u043e\u0444\u0438\u043b\u0438"])),(t()(),i["\u0275eld"](8,0,null,null,6,"a",[["class","dropdown-item preview-item"],["routerLink","/master/statistics"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,9).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](9,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](10,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](11,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](12,0,null,null,0,"i",[["class","ti-stats-up text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](13,0,null,null,1,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430"])),(t()(),i["\u0275eld"](15,0,null,null,6,"a",[["class","dropdown-item preview-item"],["routerLink","/master/auto/recipes"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,16).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](16,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](17,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](18,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](19,0,null,null,0,"i",[["class","ti-pencil-alt text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](20,0,null,null,1,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438"])),(t()(),i["\u0275eld"](22,0,null,null,7,"a",[["class","dropdown-item preview-item"],["routerLink","/master/settings"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,23).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](23,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275eld"](24,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](25,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](26,0,null,null,0,"i",[["class","ti-settings text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](27,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](28,null,["",""])),i["\u0275ppd"](29,1)],function(t,e){t(e,2,0,"/master/profiles"),t(e,9,0,"/master/statistics"),t(e,16,0,"/master/auto/recipes"),t(e,23,0,"/master/settings")},function(t,e){t(e,1,0,i["\u0275nov"](e,2).target,i["\u0275nov"](e,2).href),t(e,8,0,i["\u0275nov"](e,9).target,i["\u0275nov"](e,9).href),t(e,15,0,i["\u0275nov"](e,16).target,i["\u0275nov"](e,16).href),t(e,22,0,i["\u0275nov"](e,23).target,i["\u0275nov"](e,23).href);var n=i["\u0275unv"](e,28,0,t(e,29,0,i["\u0275nov"](e.parent.parent.parent,0),"settings"));t(e,28,0,n)})}function it(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](16777216,null,null,1,null,et)),i["\u0275did"](1,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,nt)),i["\u0275did"](3,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](4,0,null,null,6,"a",[["class","dropdown-item preview-item"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onLogout()&&i),i},null,null)),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","preview-thumbnail"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"div",[["class","responsive-flex-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,0,"i",[["class","ti-power-off text-primary"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,2,"div",[["class","preview-item-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](9,null,["",""])),i["\u0275ppd"](10,1)],function(t,e){var n=e.component;t(e,1,0,!n.haveMasterProfile),t(e,3,0,n.haveMasterProfile)},function(t,e){var n=i["\u0275unv"](e,9,0,t(e,10,0,i["\u0275nov"](e.parent.parent,0),"logout"));t(e,9,0,n)})}function rt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,19,"ul",[["class","navbar-nav navbar-nav-right"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"li",[["class","nav-item"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,10,"li",[["class","nav-item dropdown"],["ngbDropdown",""]],[[2,"show",null]],null,null,null,null)),i["\u0275did"](3,737280,null,3,j.r,[i.ChangeDetectorRef,j.s,h.c,i.NgZone,i.ElementRef,i.Renderer2],null,null),i["\u0275qud"](335544320,6,{_menu:0}),i["\u0275qud"](335544320,7,{_menuElement:0}),i["\u0275qud"](335544320,8,{_anchor:0}),(t()(),i["\u0275eld"](7,0,null,null,4,"a",[["class","nav-link dropdown-toggle"]],null,[[null,"click"],["window","click"],["body","scroll"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,8).onClick(n,!0)&&r),"window:click"===e&&(r=!1!==i["\u0275nov"](t,8).onWindowClick(n)&&r),"body:scroll"===e&&(r=!1!==i["\u0275nov"](t,8).onWindowScroll(n)&&r),r},null,null)),i["\u0275did"](8,212992,null,0,L.a,[i.ElementRef,N.a,o.n,i.ChangeDetectorRef],{popup:[0,"popup"]},null),i["\u0275pad"](9,2),i["\u0275pod"](10,{templateRef:0,position:1,arrowPosition:2,paddingless:3,closeUponSelection:4}),(t()(),i["\u0275eld"](11,0,null,null,0,"i",[["class","ti-world mx-0"]],null,null,null,null,null)),(t()(),i["\u0275and"](0,[["languagesPopupTemplate",2]],null,0,null,Q)),(t()(),i["\u0275eld"](13,0,null,null,6,"li",[["class","nav-item nav-profile"]],null,null,null,null,null)),(t()(),i["\u0275eld"](14,0,null,null,4,"a",[["class","nav-link"]],null,[[null,"click"],["window","click"],["body","scroll"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,15).onClick(n,!0)&&r),"window:click"===e&&(r=!1!==i["\u0275nov"](t,15).onWindowClick(n)&&r),"body:scroll"===e&&(r=!1!==i["\u0275nov"](t,15).onWindowScroll(n)&&r),r},null,null)),i["\u0275did"](15,212992,null,0,L.a,[i.ElementRef,N.a,o.n,i.ChangeDetectorRef],{popup:[0,"popup"]},null),i["\u0275pad"](16,2),i["\u0275pod"](17,{templateRef:0,position:1,arrowPosition:2,paddingless:3,closeUponSelection:4}),(t()(),i["\u0275eld"](18,0,null,null,0,"img",[["alt","profile"]],[[8,"src",4]],null,null,null,null)),(t()(),i["\u0275and"](0,[["profilePopupTemplate",2]],null,0,null,it))],function(t,e){t(e,3,0);var n=t(e,10,0,i["\u0275nov"](e,12),"bottom",t(e,9,0,"top","right"),!0,!0);t(e,8,0,n);var r=t(e,17,0,i["\u0275nov"](e,19),"bottom",t(e,16,0,"top","right"),!0,!0);t(e,15,0,r)},function(t,e){var n=e.component;t(e,2,0,i["\u0275nov"](e,3).isOpen()),t(e,18,0,n.profileImageSrc)})}function ot(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"button",[["class","navbar-toggler navbar-toggler-right d-lg-none align-self-center"],["type","button"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggleRightSidebar()&&i),i},null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"span",[["class","ti-menu"]],null,null,null,null,null))],null,null)}function at(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,9,"li",[["class","nav-item"],["routerLink","/meals"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[9,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,9,{links:1}),i["\u0275qud"](603979776,10,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,4,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-home menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,2,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](8,null,["",""])),i["\u0275ppd"](9,1)],function(t,e){t(e,1,0,"/meals"),t(e,2,0,"active")},function(t,e){var n=i["\u0275unv"](e,8,0,t(e,9,0,i["\u0275nov"](e.parent.parent.parent,0),"meals"));t(e,8,0,n)})}function st(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,9,"li",[["class","nav-item"],["routerLink","settings/profile/training"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[11,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,11,{links:1}),i["\u0275qud"](603979776,12,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,4,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-basketball menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,2,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](8,null,["",""])),i["\u0275ppd"](9,1)],function(t,e){t(e,1,0,"settings/profile/training"),t(e,2,0,"active")},function(t,e){var n=i["\u0275unv"](e,8,0,t(e,9,0,i["\u0275nov"](e.parent.parent.parent,0),"training_info"));t(e,8,0,n)})}function lt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,8,"li",[["class","nav-item"],["routerLink","sport"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[13,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,13,{links:1}),i["\u0275qud"](603979776,14,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,3,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-basketball menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,1,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u0421\u043f\u043e\u0440\u0442\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430"]))],function(t,e){t(e,1,0,"sport"),t(e,2,0,"active")},null)}function ut(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,9,"li",[["class","nav-item"],["routerLink","/news"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[15,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,15,{links:1}),i["\u0275qud"](603979776,16,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,4,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-announcement menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,2,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](8,null,["",""])),i["\u0275ppd"](9,1)],function(t,e){t(e,1,0,"/news"),t(e,2,0,"active")},function(t,e){var n=i["\u0275unv"](e,8,0,t(e,9,0,i["\u0275nov"](e.parent.parent.parent,0),"news"));t(e,8,0,n)})}function ct(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,9,"li",[["class","nav-item"],["routerLink","/faq"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[17,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,17,{links:1}),i["\u0275qud"](603979776,18,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,4,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-help-alt menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,2,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](8,null,["",""])),i["\u0275ppd"](9,1)],function(t,e){t(e,1,0,"/faq"),t(e,2,0,"active")},function(t,e){var n=i["\u0275unv"](e,8,0,t(e,9,0,i["\u0275nov"](e.parent.parent.parent,0),"chzv"));t(e,8,0,n)})}function dt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,10,null,null,null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,at)),i["\u0275did"](2,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,st)),i["\u0275did"](4,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,lt)),i["\u0275did"](6,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,ut)),i["\u0275did"](8,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,ct)),i["\u0275did"](10,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,2,0,n.authService.userHasLoggedIn),t(e,4,0,n.authService.userHasLoggedIn),t(e,6,0,n.authService.userHasLoggedIn&&n.userHasSport),t(e,8,0,n.authService.userHasLoggedIn),t(e,10,0,n.authService.userHasLoggedIn)},null)}function pt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,9,"li",[["class","nav-item"],["routerLink","/master/dashboard"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[19,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,19,{links:1}),i["\u0275qud"](603979776,20,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,4,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-home menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,2,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](8,null,["",""])),i["\u0275ppd"](9,1)],function(t,e){t(e,1,0,"/master/dashboard"),t(e,2,0,"active")},function(t,e){var n=i["\u0275unv"](e,8,0,t(e,9,0,i["\u0275nov"](e.parent.parent.parent,0),"dashboard"));t(e,8,0,n)})}function ht(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,8,"li",[["class","nav-item"],["routerLink","/master/profiles"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[21,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,21,{links:1}),i["\u0275qud"](603979776,22,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,3,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-user menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,1,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u041f\u0440\u043e\u0444\u0438\u043b\u0438"]))],function(t,e){t(e,1,0,"/master/profiles"),t(e,2,0,"active")},null)}function ft(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,8,"li",[["class","nav-item"],["routerLink","/master/statistics"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[23,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,23,{links:1}),i["\u0275qud"](603979776,24,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,3,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-stats-up menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,1,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430"]))],function(t,e){t(e,1,0,"/master/statistics"),t(e,2,0,"active")},null)}function mt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,8,"li",[["class","nav-item"],["routerLink","/master/auto/recipes"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[25,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,25,{links:1}),i["\u0275qud"](603979776,26,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,3,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-pencil-alt menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,1,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u0438"]))],function(t,e){t(e,1,0,"/master/auto/recipes"),t(e,2,0,"active")},null)}function gt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,8,"li",[["class","nav-item"],["routerLink","/master/settings"],["routerLinkActive","active"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,1).onClick()&&r),r},null,null)),i["\u0275did"](1,16384,[[27,4]],0,o.o,[o.n,o.a,[8,null],i.Renderer2,i.ElementRef],{routerLink:[0,"routerLink"]},null),i["\u0275did"](2,1720320,null,2,o.p,[o.n,i.ElementRef,i.Renderer2,i.ChangeDetectorRef],{routerLinkActive:[0,"routerLinkActive"]},null),i["\u0275qud"](603979776,27,{links:1}),i["\u0275qud"](603979776,28,{linksWithHrefs:1}),(t()(),i["\u0275eld"](5,0,null,null,3,"a",[["class","nav-link"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,0,"i",[["class","ti-settings menu-icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,1,"span",[["class","menu-title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"]))],function(t,e){t(e,1,0,"/master/settings"),t(e,2,0,"active")},null)}function vt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,10,null,null,null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,pt)),i["\u0275did"](2,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,ht)),i["\u0275did"](4,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,ft)),i["\u0275did"](6,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,mt)),i["\u0275did"](8,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,gt)),i["\u0275did"](10,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](0,null,null,0))],function(t,e){var n=e.component;t(e,2,0,n.authService.userHasLoggedIn),t(e,4,0,n.authService.userHasLoggedIn),t(e,6,0,n.authService.userHasLoggedIn),t(e,8,0,n.authService.userHasLoggedIn),t(e,10,0,n.authService.userHasLoggedIn)},null)}function yt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,[[2,0],["bottomNavbar",1]],null,6,"nav",[["class","bottom-navbar"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,5,"div",[["class","container pl-4 pr-4"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,4,"ul",[["class","nav page-navigation"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,dt)),i["\u0275did"](4,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,vt)),i["\u0275did"](6,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,!n.haveMasterProfile),t(e,6,0,n.haveMasterProfile)},null)}function bt(t){return i["\u0275vid"](0,[i["\u0275pid"](0,d.a,[p.a]),i["\u0275qud"](402653184,1,{wrapper:0}),i["\u0275qud"](671088640,2,{bottomNavbar:0}),(t()(),i["\u0275eld"](3,0,[[1,0],["wrapper",1]],null,18,"div",[["class","horizontal-menu"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,15,"nav",[["class","navbar top-navbar bigger-menu col-lg-12 col-12 p-0"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,14,"div",[["class","container"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,6,"div",[["class","text-center navbar-brand-wrapper d-flex align-items-center justify-content-center"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,G)),i["\u0275did"](8,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,q)),i["\u0275did"](10,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](11,0,null,null,1,"div",[["class","navbar-pricing-plan"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,[" \u0411\u0430\u0437\u043e\u0432 \u043f\u043b\u0430\u043d "])),(t()(),i["\u0275eld"](13,0,null,null,6,"div",[["class","navbar-menu-wrapper d-flex align-items-center justify-content-end"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,K)),i["\u0275did"](15,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,rt)),i["\u0275did"](17,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,ot)),i["\u0275did"](19,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,yt)),i["\u0275did"](21,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,8,0,n.haveMasterProfile||n.isUserUnderMasterProfile),t(e,10,0,!n.haveMasterProfile&&!n.isUserUnderMasterProfile),t(e,15,0,!n.completeHeader),t(e,17,0,n.completeHeader),t(e,19,0,n.completeHeader),t(e,21,0,n.completeHeader)},null)}var _t=n("TnyQ"),wt=n("0luw"),Ct=i["\u0275crt"]({encapsulation:0,styles:[[".footer[_ngcontent-%COMP%]{margin-top:35px;height:76px}.footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:.9rem;text-transform:uppercase}.footer[_ngcontent-%COMP%]   #terms[_ngcontent-%COMP%]{padding:10px 0}.footer[_ngcontent-%COMP%]   #terms[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{text-align:center;padding:0;list-style:none}.footer[_ngcontent-%COMP%]   #terms[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;padding:0 0 0 5px;font-size:12px;color:#758698;text-transform:uppercase}@media (max-width:576px){.footer[_ngcontent-%COMP%]{height:96px}}#social-share[_ngcontent-%COMP%]{padding:0 20px;max-width:1240px;text-align:center}#social-share[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin:0 0 15px;text-align:center;font-size:18px;font-weight:500;color:var(--color-blue-2)}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]{overflow:hidden;text-align:center;display:inline-block;position:relative;background:#fff;border-radius:5px;box-shadow:0 5px 15px rgba(0,0,0,.1)}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{overflow:hidden;float:left;position:relative;height:65px;padding:0 50px;border-right:1px solid #d6dce1;line-height:65px;font-size:16px;font-weight:500;color:#758698;cursor:pointer}@media (max-width:970px){#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:100%;display:inline-block;float:none;text-align:center;line-height:50px;height:50px;border:none}}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{font-size:2rem;transition:font-size 50ms}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:10px;font-size:1.8rem;vertical-align:middle}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a.facebook[_ngcontent-%COMP%]{color:#4460a0}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a.instagram[_ngcontent-%COMP%]{color:#f14c5a}#social-share[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   a.copy[_ngcontent-%COMP%]{color:#888}"]],data:{}});function xt(t){return i["\u0275vid"](2,[i["\u0275pid"](0,d.a,[p.a]),(t()(),i["\u0275eld"](1,0,null,null,19,"footer",[["class","footer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,18,"div",[["id","terms"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,4,"div",[["style","text-align: center;margin-bottom: 15px;"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,1,"a",[["href","https://apps.apple.com/app/agaia-life/id1589104436"],["target","_blank"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,0,"img",[["height","42"],["src","assets/images/apps/ios.svg"],["style","margin-right: 8px;"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,null,null,1,"a",[["href","https://play.google.com/store/apps/details?id=life.agaia.app"],["target","_blank"]],null,null,null,null,null)),(t()(),i["\u0275eld"](7,0,null,null,0,"img",[["height","42"],["src","assets/images/apps/play-store-2.png"]],null,null,null,null,null)),(t()(),i["\u0275eld"](8,0,null,null,12,"ul",[],null,null,null,null,null)),(t()(),i["\u0275eld"](9,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\xa9 2020 Agaia"])),(t()(),i["\u0275eld"](11,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),i["\u0275eld"](12,0,null,null,3,"a",[["routerLink","/misc/terms"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,13).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](13,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275ted"](14,null,["",""])),i["\u0275ppd"](15,1),(t()(),i["\u0275eld"](16,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),i["\u0275eld"](17,0,null,null,3,"a",[["routerLink","/misc/contacts"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i["\u0275nov"](t,18).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),i["\u0275did"](18,671744,null,0,o.q,[o.n,o.a,h.i],{routerLink:[0,"routerLink"]},null),(t()(),i["\u0275ted"](19,null,["",""])),i["\u0275ppd"](20,1)],function(t,e){t(e,13,0,"/misc/terms"),t(e,18,0,"/misc/contacts")},function(t,e){t(e,12,0,i["\u0275nov"](e,13).target,i["\u0275nov"](e,13).href);var n=i["\u0275unv"](e,14,0,t(e,15,0,i["\u0275nov"](e,0),"terms"));t(e,14,0,n),t(e,17,0,i["\u0275nov"](e,18).target,i["\u0275nov"](e,18).href);var r=i["\u0275unv"](e,19,0,t(e,20,0,i["\u0275nov"](e,0),"contact_us"));t(e,19,0,r)})}var Et=n("nhI7"),St=n("DQlY"),Ot=n("NCB2"),kt=n("yYZv"),Tt=n("UBJf"),Pt=i["\u0275crt"]({encapsulation:0,styles:[[".wrapper[_ngcontent-%COMP%]{position:fixed;visibility:hidden;box-shadow:1px 4px 8px 0 rgba(0,0,0,.24),-1px -1px 1px 0 rgba(0,0,0,.08);background-color:#fff;display:flex;flex-direction:column;border-radius:6px;z-index:100000001}.wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;left:-1px;right:-1px;top:-6px;height:6px;display:flex;justify-content:center}.wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper[_ngcontent-%COMP%]   .top-arrow-pointer[_ngcontent-%COMP%]{width:0;height:0;border-bottom:6px solid #fff;border-left:8px solid transparent;border-right:8px solid transparent;z-index:1}.wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-shadow[_ngcontent-%COMP%]{position:absolute;width:0;height:0;border-bottom:6px solid #000;border-left:8px solid transparent;border-right:8px solid transparent}.wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper.left[_ngcontent-%COMP%]{left:4px;right:auto}.wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper.right[_ngcontent-%COMP%]{left:auto;right:4px}.wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;left:-1px;right:-1px;bottom:-6px;height:6px;display:flex;justify-content:center}.wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer[_ngcontent-%COMP%]{width:0;height:0;border-top:6px solid #fff;border-left:8px solid transparent;border-right:8px solid transparent;z-index:1}.wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-shadow[_ngcontent-%COMP%]{position:absolute;width:0;height:0;border-top:6px solid #000;border-left:8px solid transparent;border-right:8px solid transparent}.wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper.left[_ngcontent-%COMP%]{left:4px;right:auto}.wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper.right[_ngcontent-%COMP%]{left:auto;right:4px}.wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;left:-6px;top:-1px;bottom:-1px;width:6px;display:flex;align-items:center}.wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-wrapper[_ngcontent-%COMP%]   .left-arrow-pointer[_ngcontent-%COMP%]{border-top:8px solid transparent;border-right:6px solid #000;border-bottom:8px solid transparent;z-index:1;position:absolute;width:0;height:0}.wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-wrapper.top[_ngcontent-%COMP%]{top:4px;bottom:auto}.wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-wrapper.bottom[_ngcontent-%COMP%]{top:auto;bottom:4px}.wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;right:-6px;top:-1px;bottom:-1px;width:6px;display:flex;align-items:center}.wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper[_ngcontent-%COMP%]   .right-arrow-pointer[_ngcontent-%COMP%]{width:0;height:0;border-top:8px solid transparent;border-left:6px solid #fff;border-bottom:8px solid transparent;z-index:1}.wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-shadow[_ngcontent-%COMP%]{position:absolute;width:0;height:0;border-top:8px solid transparent;border-left:6px solid #000;border-bottom:8px solid transparent}.wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper.top[_ngcontent-%COMP%]{top:4px;bottom:auto}.wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper.bottom[_ngcontent-%COMP%]{top:auto;bottom:4px}.wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{height:40px;width:100%;display:flex;border-bottom:1px solid #ebebeb}.wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .icon-wrapper[_ngcontent-%COMP%]{width:40px;height:100%;display:flex;justify-content:center;align-items:center}.wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .icon-wrapper[_ngcontent-%COMP%]   .material-icons[_ngcontent-%COMP%]{font-size:20px}.wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]{width:calc(100% - 40px);height:100%;display:flex;align-items:center;margin-right:12px}.wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .title-wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.wrapper[_ngcontent-%COMP%]   .popup-content[_ngcontent-%COMP%]{padding:0 10px}.wrapper[_ngcontent-%COMP%]   .popup-content.paddingless[_ngcontent-%COMP%]{padding:0}.wrapper[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]{width:100%;padding:10px;display:flex}.wrapper[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .cancel-wrapper[_ngcontent-%COMP%]{width:50%}.wrapper[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .cancel-wrapper[_ngcontent-%COMP%]   .cancel[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#424647;cursor:pointer}.wrapper[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .save-changes-wrapper[_ngcontent-%COMP%]{width:50%;text-align:right}.wrapper[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .save-changes-wrapper[_ngcontent-%COMP%]   .save-changes[_ngcontent-%COMP%]{font-size:16px;color:#e3a300;line-height:20px;cursor:pointer}.wrapper.shown[_ngcontent-%COMP%]{visibility:visible}"]],data:{}});function It(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["class","top-arrow-pointer-wrapper"]],[[2,"left",null],[2,"right",null]],null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"div",[["class","top-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"div",[["class","top-arrow-pointer-shadow"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.axisPosition===n.position.Left,n.axisPosition===n.position.Right)})}function Mt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["class","bottom-arrow-pointer-wrapper"]],[[2,"left",null],[2,"right",null]],null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"div",[["class","bottom-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"div",[["class","bottom-arrow-pointer-shadow"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.axisPosition===n.position.Left,n.axisPosition===n.position.Right)})}function Rt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["class","left-arrow-pointer-wrapper"]],[[2,"top",null],[2,"bottom",null]],null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"div",[["class","left-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"div",[["class","left-arrow-pointer-shadow"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.axisPosition===n.position.Top,n.axisPosition===n.position.Bottom)})}function Dt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"div",[["class","right-arrow-pointer-wrapper"]],[[2,"top",null],[2,"bottom",null]],null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,0,"div",[["class","right-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,0,"div",[["class","right-arrow-pointer-shadow"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.axisPosition===n.position.Top,n.axisPosition===n.position.Bottom)})}function At(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,"div",[["class","header"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,2,"div",[["class","icon-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,1,"i",[["class","material-icons"]],[[4,"color",null]],null,null,null,null)),(t()(),i["\u0275ted"](3,null,["",""])),(t()(),i["\u0275eld"](4,0,null,null,2,"div",[["class","title-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,1,"div",[["class","title"]],null,null,null,null,null)),(t()(),i["\u0275ted"](6,null,["",""]))],null,function(t,e){var n=e.component;t(e,2,0,null!=n.popup&&n.popup.iconColor?null==n.popup?null:n.popup.iconColor:""),t(e,3,0,null!=n.popup&&n.popup.icon?null==n.popup?null:n.popup.icon:"edit"),t(e,6,0,null==n.popup?null:n.popup.title)})}function jt(t){return i["\u0275vid"](0,[(t()(),i["\u0275and"](0,null,null,0))],null,null)}function Lt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,6,"div",[["class","footer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,2,"div",[["class","cancel-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,1,"div",[["class","cancel"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onCancel()&&i),i},null,null)),(t()(),i["\u0275ted"](-1,null,["Cancel"])),(t()(),i["\u0275eld"](4,0,null,null,2,"div",[["class","save-changes-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,1,"div",[["class","save-changes"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onSaveChanges()&&i),i},null,null)),(t()(),i["\u0275ted"](-1,null,["Save Changes"]))],null,null)}function Nt(t){return i["\u0275vid"](2,[i["\u0275qud"](402653184,1,{wrapper:0}),(t()(),i["\u0275eld"](1,0,[[1,0],["wrapper",1]],null,17,"div",[["class","wrapper"]],[[4,"max-width",null]],null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,9,null,null,null,null,null,null,null)),i["\u0275did"](3,16384,null,0,h.p,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,It)),i["\u0275did"](5,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Mt)),i["\u0275did"](7,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Rt)),i["\u0275did"](9,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Dt)),i["\u0275did"](11,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,At)),i["\u0275did"](13,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](14,0,null,null,2,"div",[["class","popup-content"]],[[2,"paddingless",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClick(n)&&i),i},null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,jt)),i["\u0275did"](16,540672,null,0,h.s,[i.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Lt)),i["\u0275did"](18,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,3,0,null==n.popup?null:n.popup.position),t(e,5,0,n.position.Bottom),t(e,7,0,n.position.Top),t(e,9,0,n.position.Right),t(e,11,0,n.position.Left),t(e,13,0,null==n.popup?null:n.popup.useHeader),t(e,16,0,null==n.popup?null:n.popup.templateRef),t(e,18,0,null==n.popup?null:n.popup.useFooter)},function(t,e){var n=e.component;t(e,1,0,null==n.popup?null:n.popup.maxWidth),t(e,14,0,null==n.popup?null:n.popup.paddingless)})}var Vt=n("CEpA"),Ft=n("ehRC"),Ht=i["\u0275crt"]({encapsulation:0,styles:[[".tooltip-wrapper[_ngcontent-%COMP%]{position:fixed;visibility:hidden;z-index:5;font-size:14px;box-shadow:1px 4px 8px 0 rgba(0,0,0,.24),-1px -1px 1px 0 rgba(0,0,0,.08);background-color:#f2f4f5;border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.08));border-image-slice:1;border-radius:6px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]{position:relative}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;left:-1px;right:-1px;top:-10px;height:10px;display:flex;justify-content:center}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper[_ngcontent-%COMP%]   .top-arrow-pointer[_ngcontent-%COMP%]{width:0;height:0;border-bottom:10px solid #f2f4f5;border-left:8px solid transparent;border-right:8px solid transparent;z-index:2}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-wrapper[_ngcontent-%COMP%]   .top-arrow-pointer-border[_ngcontent-%COMP%]{position:absolute;top:-1px;left:calc(50% - 8px);border-bottom:10px solid #d7d7d7;z-index:1;border-left:8px solid transparent;border-right:8px solid transparent}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;left:-1px;right:-1px;bottom:-10px;height:10px;display:flex;justify-content:center}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer[_ngcontent-%COMP%]{width:0;height:0;border-top:10px solid #f2f4f5;border-left:8px solid transparent;border-right:8px solid transparent;z-index:2}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-wrapper[_ngcontent-%COMP%]   .bottom-arrow-pointer-border[_ngcontent-%COMP%]{position:absolute;bottom:-1px;left:calc(50% - 8px);border-top:10px solid #d7d7d7;z-index:1;border-left:8px solid transparent;border-right:8px solid transparent}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;left:-10px;top:-1px;bottom:-1px;width:10px;display:flex;align-items:center}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-wrapper[_ngcontent-%COMP%]   .left-arrow-pointer[_ngcontent-%COMP%]{width:0;height:0;border-top:8px solid transparent;border-right:10px solid #f2f4f5;border-bottom:8px solid transparent;z-index:2}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-border[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 8px);left:-1px;border-right:10px solid #d7d7d7;z-index:1;border-top:8px solid transparent;border-bottom:8px solid transparent}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper[_ngcontent-%COMP%]{position:absolute;right:-10px;top:-1px;bottom:-1px;width:10px;display:flex;align-items:center}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper[_ngcontent-%COMP%]   .right-arrow-pointer[_ngcontent-%COMP%]{width:0;height:0;border-top:8px solid transparent;border-left:10px solid #f2f4f5;border-bottom:8px solid transparent;z-index:2}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .right-arrow-pointer-wrapper[_ngcontent-%COMP%]   .left-arrow-pointer-border[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 8px);right:-1px;border-left:10px solid #d7d7d7;z-index:1;border-top:8px solid transparent;border-bottom:8px solid transparent}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .pointer-top[_ngcontent-%COMP%]{bottom:initial!important;top:2px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .pointer-bottom[_ngcontent-%COMP%]{top:initial!important;bottom:2px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .pointer-left[_ngcontent-%COMP%]{right:initial!important;left:2px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .pointer-right[_ngcontent-%COMP%]{left:initial!important;right:2px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{width:100%;height:40px;position:relative;padding:0 8px;border-bottom:1px solid #e0e0e0}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .header-content[_ngcontent-%COMP%]{width:calc(100% - 30px);height:inherit;display:flex;align-items:center}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .header-content[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{color:#00b8f0;display:flex}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .header-content[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:16px;margin-left:8px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;right:0;top:0;width:30px;height:40px;display:flex;justify-content:center;align-items:center}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   i.material-icons[_ngcontent-%COMP%]{font-size:20px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .message-wrapper[_ngcontent-%COMP%]{padding:8px}.tooltip-wrapper[_ngcontent-%COMP%]   .tooltip-content-wrapper[_ngcontent-%COMP%]   .message-wrapper[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{word-break:break-word}.tooltip-wrapper.shown[_ngcontent-%COMP%]{visibility:visible}"]],data:{}});function Ut(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","top-arrow-pointer-wrapper"]],null,null,null,null,null)),i["\u0275did"](1,278528,null,0,h.o,[i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngStyle:[0,"ngStyle"]},null),i["\u0275pod"](2,{left:0,right:1}),(t()(),i["\u0275eld"](3,0,null,null,0,"div",[["class","top-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"div",[["class","top-arrow-pointer-border"]],null,null,null,null,null))],function(t,e){var n=t(e,2,0,e.component.cursorOffset+"px","initial");t(e,1,0,n)},null)}function zt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","bottom-arrow-pointer-wrapper"]],null,null,null,null,null)),i["\u0275did"](1,278528,null,0,h.o,[i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngStyle:[0,"ngStyle"]},null),i["\u0275pod"](2,{left:0,right:1}),(t()(),i["\u0275eld"](3,0,null,null,0,"div",[["class","bottom-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"div",[["class","bottom-arrow-pointer-border"]],null,null,null,null,null))],function(t,e){var n=t(e,2,0,e.component.cursorOffset+"px","initial");t(e,1,0,n)},null)}function Bt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","left-arrow-pointer-wrapper"]],null,null,null,null,null)),i["\u0275did"](1,278528,null,0,h.o,[i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngStyle:[0,"ngStyle"]},null),i["\u0275pod"](2,{top:0,bottom:1}),(t()(),i["\u0275eld"](3,0,null,null,0,"div",[["class","left-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"div",[["class","left-arrow-pointer-border"]],null,null,null,null,null))],function(t,e){var n=t(e,2,0,e.component.cursorOffset+"px","initial");t(e,1,0,n)},null)}function Wt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,4,"div",[["class","right-arrow-pointer-wrapper"]],null,null,null,null,null)),i["\u0275did"](1,278528,null,0,h.o,[i.KeyValueDiffers,i.ElementRef,i.Renderer2],{ngStyle:[0,"ngStyle"]},null),i["\u0275pod"](2,{top:0,bottom:1}),(t()(),i["\u0275eld"](3,0,null,null,0,"div",[["class","right-arrow-pointer"]],null,null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,0,"div",[["class","right-arrow-pointer-border"]],null,null,null,null,null))],function(t,e){var n=t(e,2,0,e.component.cursorOffset+"px","initial");t(e,1,0,n)},null)}function Gt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,9,"div",[["class","header"]],null,null,null,null,null)),(t()(),i["\u0275eld"](1,0,null,null,6,"div",[["class","header-content"]],null,null,null,null,null)),(t()(),i["\u0275eld"](2,0,null,null,2,"div",[["class","icon"]],null,null,null,null,null)),(t()(),i["\u0275eld"](3,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["info"])),(t()(),i["\u0275eld"](5,0,null,null,2,"div",[["class","text"]],null,null,null,null,null)),(t()(),i["\u0275eld"](6,0,[[2,0],["titleEl",1]],null,1,"span",[],null,null,null,null,null)),(t()(),i["\u0275ted"](7,null,["",""])),(t()(),i["\u0275eld"](8,0,null,null,1,"div",[["class","close"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.close(n)&&i),i},null,null)),(t()(),i["\u0275eld"](9,0,null,null,0,"i",[["class","fa fa-times"]],null,null,null,null,null))],null,function(t,e){t(e,7,0,e.component.title)})}function qt(t){return i["\u0275vid"](2,[i["\u0275qud"](402653184,1,{wrapper:0}),i["\u0275qud"](671088640,2,{titleEl:0}),i["\u0275qud"](402653184,3,{messageEl:0}),(t()(),i["\u0275eld"](3,0,[[1,0],["wrapper",1]],null,15,"div",[["class","tooltip-wrapper"],["style","max-width: 404px;"]],[[4,"min-width","px"]],null,null,null,null)),(t()(),i["\u0275eld"](4,0,null,null,14,"div",[["class","tooltip-content-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](5,0,null,null,9,null,null,null,null,null,null,null)),i["\u0275did"](6,16384,null,0,h.p,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Ut)),i["\u0275did"](8,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,zt)),i["\u0275did"](10,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Bt)),i["\u0275did"](12,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Wt)),i["\u0275did"](14,278528,null,0,h.q,[i.ViewContainerRef,i.TemplateRef,h.p],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,Gt)),i["\u0275did"](16,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](17,0,null,null,1,"div",[["class","message-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](18,0,[[3,0],["messageEl",1]],null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],function(t,e){var n=e.component;t(e,6,0,n.position),t(e,8,0,n.tooltipPosition.Bottom),t(e,10,0,n.tooltipPosition.Top),t(e,12,0,n.tooltipPosition.Right),t(e,14,0,n.tooltipPosition.Left),t(e,16,0,!n.isHeaderless)},function(t,e){var n=e.component;t(e,3,0,n.width),t(e,18,0,n.message)})}var Yt=n("EpLY"),$t=n("8Q7P"),Kt=n("zdn9"),Zt=n("eK/2"),Qt=i["\u0275crt"]({encapsulation:0,styles:[["@media (max-width:800px){.container-scroller[_ngcontent-%COMP%]{padding-bottom:60%!important}}@supports (-webkit-touch-callout:none){  .modal-content .daily-changes-wrapper,   .modal-content .diary-training-wrapper,   .modal-content .external-meals-wrapper,   .modal-content .shopping-list-wrapper,   .modal-content .upgrade-wrapper,   .modal-content .wrapper{padding-top:40px!important}}"]],data:{}});function Xt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,2,"app-navbar",[],null,[["window","click"]],function(t,e,n){var r=!0;return"window:click"===e&&(r=!1!==i["\u0275nov"](t,2).onWindowClick(n)&&r),r},bt,W)),i["\u0275prd"](512,null,j.s,j.s,[]),i["\u0275did"](2,770048,[[1,4],["navbar",4]],0,V.a,[j.s,F.a,i.ChangeDetectorRef,H.a,o.n,U.a,z.a,B.a],{appComponent:[0,"appComponent"]},null)],function(t,e){t(e,2,0,e.component.component)},null)}function Jt(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-footer",[],null,null,null,xt,Ct)),i["\u0275did"](1,49152,null,0,_t.a,[i.ChangeDetectorRef,U.a,wt.a,p.a],null,null)],null,null)}function te(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-mobilebar",[],null,null,null,M.c,M.b)),i["\u0275did"](1,4308992,null,0,Et.a,[i.ChangeDetectorRef,St.b,St.a,Ot.a,kt.a,o.n],null,null)],function(t,e){t(e,1,0)},null)}function ee(t){return i["\u0275vid"](2,[i["\u0275qud"](671088640,1,{navbar:0}),i["\u0275qud"](402653184,2,{pageBodyWrapper:0}),i["\u0275qud"](402653184,3,{mainPanel:0}),i["\u0275qud"](402653184,4,{contentWrapper:0}),(t()(),i["\u0275eld"](4,0,null,null,1,"app-popup",[],null,null,null,Nt,Pt)),i["\u0275did"](5,4440064,null,0,Tt.a,[N.a,i.ChangeDetectorRef],null,null),(t()(),i["\u0275eld"](6,0,null,null,1,"app-tooltip",[],null,null,null,qt,Ht)),i["\u0275did"](7,4440064,null,0,Vt.a,[Ft.a,i.ChangeDetectorRef],null,null),(t()(),i["\u0275eld"](8,0,null,null,1,"app-loading",[],null,null,null,Yt.b,Yt.a)),i["\u0275did"](9,114688,null,0,$t.a,[],null,null),(t()(),i["\u0275eld"](10,0,null,null,12,"div",[["class","container-scroller"]],null,null,null,null,null)),(t()(),i["\u0275and"](16777216,null,null,1,null,Xt)),i["\u0275did"](12,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275eld"](13,0,[[2,0],["pageBodyWrapper",1]],null,7,"div",[["class","container-fluid page-body-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](14,0,[[3,0],["mainPanel",1]],null,6,"div",[["class","main-panel"]],null,null,null,null,null)),(t()(),i["\u0275eld"](15,0,[[4,0],["contentWrapper",1]],null,5,"div",[["class","content-wrapper"]],null,null,null,null,null)),(t()(),i["\u0275eld"](16,0,null,null,2,"div",[["style","min-height: 500px;"]],null,null,null,null,null)),(t()(),i["\u0275eld"](17,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),i["\u0275did"](18,212992,null,0,o.s,[o.b,i.ViewContainerRef,i.ComponentFactoryResolver,[8,null],i.ChangeDetectorRef],null,null),(t()(),i["\u0275and"](16777216,null,null,1,null,Jt)),i["\u0275did"](20,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),i["\u0275and"](16777216,null,null,1,null,te)),i["\u0275did"](22,16384,null,0,h.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,5,0),t(e,7,0),t(e,9,0),t(e,12,0,n.authService.userHasLoggedIn),t(e,18,0),t(e,20,0,n.authService.userHasLoggedIn&&!n.isWizardRoute&&!n.isPricingRoute),t(e,22,0,n.authService.userHasLoggedIn&&!n.isWizardRoute&&!n.isPricingRoute)},null)}function ne(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,ee,Qt)),i["\u0275did"](1,8503296,null,0,u,[o.n,i.ChangeDetectorRef,F.a,wt.a,p.a,U.a,Kt.a,Zt.a,z.a],null,null)],function(t,e){t(e,1,0)},null)}var ie=i["\u0275ccf"]("app-root",u,ne,{},{},[]),re=n("ZYjt"),oe=n("mrSG"),ae=n("ihYY");function se(){return"undefined"!=typeof process}function le(t){switch(t.length){case 0:return new ae.d;case 1:return t[0];default:return new ae.g(t)}}function ue(t,e,n,i,r,o){void 0===r&&(r={}),void 0===o&&(o={});var a=[],s=[],l=-1,u=null;if(i.forEach(function(t){var n=t.offset,i=n==l,c=i&&u||{};Object.keys(t).forEach(function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case ae.h:s=r[n];break;case ae.a:s=o[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}c[i]=s}),i||s.push(c),u=c,l=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function ce(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&de(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&de(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&de(n,"destroy",t))})}}function de(t,e,n){var i=n.totalTime,r=pe(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),o=t._data;return null!=o&&(r._data=o),r}function pe(t,e,n,i,r,o,a){return void 0===r&&(r=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function he(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 fe(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var me=function(t,e){return!1},ge=function(t,e){return!1},ve=function(t,e,n){return[]},ye=se();if(ye||"undefined"!=typeof Element){if(me=function(t,e){return t.contains(e)},ye||Element.prototype.matches)ge=function(t,e){return t.matches(e)};else{var be=Element.prototype,_e=be.matchesSelector||be.mozMatchesSelector||be.msMatchesSelector||be.oMatchesSelector||be.webkitMatchesSelector;_e&&(ge=function(t,e){return _e.apply(t,[e])})}ve=function(t,e,n){var i=[];if(n)i.push.apply(i,Object(oe.i)(t.querySelectorAll(e)));else{var r=t.querySelector(e);r&&i.push(r)}return i}}var we=null,Ce=!1;function xe(t){we||(we=("undefined"!=typeof document?document.body:null)||{},Ce=!!we.style&&"WebkitAppearance"in we.style);var e=!0;return we.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in we.style)&&Ce&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in we.style),e}var Ee=ge,Se=me,Oe=ve;function ke(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 Te=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return xe(t)},t.prototype.matchesElement=function(t,e){return Ee(t,e)},t.prototype.containsElement=function(t,e){return Se(t,e)},t.prototype.query=function(t,e,n){return Oe(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,i,r,o,a){return void 0===o&&(o=[]),new ae.d(n,i)},t}(),Pe=function(){function t(){}return t.NOOP=new Te,t}(),Ie=1e3;function Me(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Re(parseFloat(e[1]),e[2])}function Re(t,e){switch(e){case"s":return t*Ie;default:return t}}function De(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=0,o="";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 "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};i=Re(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=Re(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else i=t;if(!n){var u=!1,c=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:i,delay:r,easing:o}}(t,e,n)}function Ae(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function je(t,e,n){if(void 0===n&&(n={}),e)for(var i in t)n[i]=t[i];else Ae(t,n);return n}function Le(t,e,n){return n?e+":"+n+";":""}function Ne(t){for(var e="",n=0;n<t.style.length;n++)e+=Le(0,i=t.style.item(n),t.style.getPropertyValue(i));for(var i in t.style)t.style.hasOwnProperty(i)&&!i.startsWith("_")&&(e+=Le(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[i]));t.setAttribute("style",e)}function Ve(t,e,n){t.style&&(Object.keys(e).forEach(function(i){var r=qe(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),se()&&Ne(t))}function Fe(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=qe(e);t.style[n]=""}),se()&&Ne(t))}function He(t){return Array.isArray(t)?1==t.length?t[0]:Object(ae.e)(t):t}var Ue=new RegExp("{{\\s*(.+?)\\s*}}","g");function ze(t){var e=[];if("string"==typeof t){for(var n=t.toString(),i=void 0;i=Ue.exec(n);)e.push(i[1]);Ue.lastIndex=0}return e}function Be(t,e,n){var i=t.toString(),r=i.replace(Ue,function(t,i){var r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?t:r}function We(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var Ge=/-+([a-z0-9])/g;function qe(t){return t.replace(Ge,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function Ye(t,e){return 0===t||0===e}function $e(t,e,n){var i=Object.keys(n);if(i.length&&e.length){var r=e[0],o=[];if(i.forEach(function(t){r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var a=function(){var n=e[s];o.forEach(function(e){n[e]=Ze(t,e)})},s=1;s<e.length;s++)a()}return e}function Ke(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 #"+e.type)}}function Ze(t,e){return window.getComputedStyle(t)[e]}var Qe="*",Xe=new Set(["true","1"]),Je=new Set(["false","0"]);function tn(t,e){var n=Xe.has(t)||Je.has(t),i=Xe.has(e)||Je.has(e);return function(r,o){var a=t==Qe||t==r,s=e==Qe||e==o;return!a&&n&&"boolean"==typeof r&&(a=r?Xe.has(t):Je.has(t)),!s&&i&&"boolean"==typeof o&&(s=o?Xe.has(e):Je.has(e)),a&&s}}var en=new RegExp("s*:selfs*,?","g");function nn(t,e,n){return new rn(t).build(e,n)}var rn=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new on(e);return this._resetContextStyleTimingState(n),Ke(this,He(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,i=e.queryCount=0,r=e.depCount=0,o=[],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,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=l}else if(1==t.type){var u=n.visitTransition(t,e);i+=u.queryCount,r+=u.depCount,a.push(u)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(t){if(an(t)){var e=t;Object.keys(e).forEach(function(t){ze(e[t]).forEach(function(t){o.hasOwnProperty(t)||r.add(t)})})}}),r.size){var a=We(r.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n,i,r,o=Ke(this,He(t.animation),e);return{type:1,matchers:(n=t.expr,i=e.errors,r=[],"string"==typeof n?n.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 "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=r[1],a=r[2],s=r[3];e.push(tn(o,s)),"<"!=a[0]||o==Qe&&s==Qe||e.push(tn(s,o))}(t,r,i)}):r.push(n),r),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:sn(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return Ke(n,t,e)}),options:sn(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,i=e.currentTime,r=0,o=t.steps.map(function(t){e.currentTime=i;var o=Ke(n,t,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:sn(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ln(De(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=ln(0,0,"");return r.dynamic=!0,r.strValue=i,r}return ln((n=n||De(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:Object(ae.f)({});if(5==r.type)n=this.visitKeyframes(r,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};i.easing&&(s.easing=i.easing),o=Object(ae.f)(s)}e.currentTime+=i.duration+i.delay;var l=this.visitStyle(o,e);l.isEmptyStep=a,n=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==ae.a?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var i=!1,r=null;return n.forEach(function(t){if(an(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var o in e)if(e[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=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,s,l,u=e.collectedStyles[e.currentQuerySelector],c=u[i],d=!0;c&&(o!=r&&o>=c.startTime&&r<=c.endTime&&(e.errors.push('The CSS property "'+i+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+r+'ms"'),d=!1),o=c.startTime),d&&(u[i]={startTime:o,endTime:r}),e.options&&(a=e.errors,s=e.options.params||{},(l=ze(t[i])).length&&l.forEach(function(t){s.hasOwnProperty(t)||a.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+i+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=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 r=0,o=[],a=!1,s=!1,l=0,u=t.steps.map(function(t){var i=n._makeStyleAst(t,e),u=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(an(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(an(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,a=a||c<l,l=c,o.push(c),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 c=t.steps.length,d=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(d=1/(c-1));var p=c-1,h=e.currentTime,f=e.currentAnimateTimings,m=f.duration;return u.forEach(function(t,r){var a=d>0?r==p?1:d*r:o[r],s=a*m;e.currentTime=h+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,i.styles.push(t)}),i},t.prototype.visitReference=function(t,e){return{type:8,animation:Ke(this,He(t.animation),e),options:sn(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:sn(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:sn(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var r=Object(oe.h)(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(en,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=r[0],a=r[1];e.currentQuerySelector=n.length?n+" "+o:o,he(e.collectedStyles,e.currentQuerySelector,{});var s=Ke(this,He(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:sn(t.options)}},t.prototype.visitStagger=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"}:De(t.timings,e.errors,!0);return{type:12,animation:Ke(this,He(t.animation),e),timings:n,options:null}},t}(),on=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function an(t){return!Array.isArray(t)&&"object"==typeof t}function sn(t){var e;return t?(t=Ae(t)).params&&(t.params=(e=t.params)?Ae(e):null):t={},t}function ln(t,e,n){return{duration:t,delay:e,easing:n}}function un(t,e,n,i,r,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var cn=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,Object(oe.i)(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),dn=new RegExp(":enter","g"),pn=new RegExp(":leave","g");function hn(t,e,n,i,r,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new fn).buildKeyframes(t,e,n,i,r,o,a,s,l,u)}var fn=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,i,r,o,a,s,l,u){void 0===u&&(u=[]),l=l||new cn;var c=new gn(t,e,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Ke(this,n,c);var d=c.timelines.filter(function(t){return t.containsAnimation()});if(d.length&&Object.keys(a).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,c.errors,s)}return d.length?d.map(function(t){return t.buildKeyframes()}):[un(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?Me(n.duration):null,o=null!=n.delay?Me(n.delay):null;return 0!==r&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)}),i},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Ke(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=mn);var a=Me(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return Ke(n,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Me(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),Ke(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return De(e.params?Be(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Me(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=mn);var a=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);o&&s.delayNextStep(o),i===e.element&&(l=s.currentTimeline),Ke(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Ke(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)},t}(),mn={},gn=function(){function t(t,e,n,i,r,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new vn(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=Me(i.duration)),null!=i.delay&&(r.delay=Me(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){e&&a.hasOwnProperty(t)||(a[t]=Be(o[t],a,n.errors))})}}},t.prototype._copyOptions=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},t.prototype.createSubContext=function(e,n,i){void 0===e&&(e=null);var r=n||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=mn,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new yn(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,i,r,o){var a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(dn,"."+this._enterClassName)).replace(pn,"."+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,Object(oe.i)(s))}return r||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),vn=function(){function t(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=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},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||ae.a,e._currentKeyframe[t]=ae.a}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var o=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]=ae.a}):je(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=Be(a[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:ae.a),r._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=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])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,a){var s=je(o,!0);Object.keys(s).forEach(function(t){var i=s[t];i==ae.h?e.add(t):i==ae.a&&n.add(t)}),i||(s.offset=a/t.duration),r.push(s)});var o=e.size?We(e.values()):[],a=n.size?We(n.values()):[];if(i){var s=r[0],l=Ae(s);s.offset=0,l.offset=1,r=[s,l]}return un(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)},t}(),yn=function(t){function e(e,n,i,r,o,a,s){void 0===s&&(s=!1);var l=t.call(this,e,n,a.delay)||this;return l.element=n,l.keyframes=i,l.preStyleProps=r,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return Object(oe.d)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,l=je(t[0],!1);l.offset=0,o.push(l);var u=je(t[0],!1);u.offset=bn(s),o.push(u);for(var c=t.length-1,d=1;d<=c;d++){var p=je(t[d],!1);p.offset=bn((n+p.offset*i)/a),o.push(p)}i=a,n=0,r="",t=o}return un(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)},e}(vn);function bn(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var _n=function(){return function(){}}(),wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(oe.d)(e,t),e.prototype.normalizePropertyName=function(t,e){return qe(t)},e.prototype.normalizeStyleValue=function(t,e,n,i){var r="",o=n.toString().trim();if(Cn[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for "+t+":"+n)}return o+r},e}(_n),Cn=xn("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 xn(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}function En(t,e,n,i,r,o,a,s,l,u,c,d,p){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:p}}var Sn={},On=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,i){return function(t,e,n,i,r){return t.some(function(t){return t(e,n,i,r)})}(this.ast.matchers,t,e,n,i)},t.prototype.buildStyles=function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o},t.prototype.build=function(t,e,n,i,r,o,a,s,l,u){var c=[],d=this.ast.options&&this.ast.options.params||Sn,p=this.buildStyles(n,a&&a.params||Sn,c),h=s&&s.params||Sn,f=this.buildStyles(i,h,c),m=new Set,g=new Map,v=new Map,y="void"===i,b={params:Object(oe.a)({},d,h)},_=u?[]:hn(t,e,this.ast.animation,r,o,p,f,b,l,c),w=0;if(_.forEach(function(t){w=Math.max(t.duration+t.delay,w)}),c.length)return En(e,this._triggerName,n,i,y,p,f,[],[],g,v,w,c);_.forEach(function(t){var n=t.element,i=he(g,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var r=he(v,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&m.add(n)});var C=We(m.values());return En(e,this._triggerName,n,i,y,p,f,_,C,g,v,w)},t}(),kn=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},i=Ae(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach(function(t){var o=r[t];o.length>1&&(o=Be(o,i,e)),n[t]=o})}}),n},t}(),Tn=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new kn(t.style,t.options&&t.options.params||{})}),Pn(this.states,"true","1"),Pn(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new On(t,e,n.states))}),this.fallbackTransition=new On(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,i){return this.transitionFactories.find(function(r){return r.match(t,e,n,i)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Pn(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var In=new cn,Mn=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],i=nn(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i},t.prototype._buildPlayer=function(t,e,n){var i=t.element,r=ue(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var r,o=[],a=this._animations[t],s=new Map;if(a?(r=hn(this._driver,e,a,"ng-enter","ng-leave",{},{},n,In,o)).forEach(function(t){var e=he(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),r=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,ae.a)})});var l=le(r.map(function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(function(){return i.destroy(t)}),this.players.push(l),l},t.prototype.destroy=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)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,i){var r=pe(e,"","","");return ce(this._getPlayer(t),n,r,i),function(){}},t.prototype.command=function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])},t}(),Rn=[],Dn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},An={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jn="__ng_removed",Ln=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var i=Ae(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=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}(),Nn=new Ln("void"),Vn=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,qn(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=he(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};a.push(s);var l=he(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(qn(t,"ng-trigger"),qn(t,"ng-trigger-"+e),l[e]=Nn),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete l[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,i){var r=this;void 0===i&&(i=!0);var o=this._getTrigger(e),a=new Hn(this.id,e,t),s=this._engine.statesByElement.get(t);s||(qn(t,"ng-trigger"),qn(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new Ln(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=Nn),"void"===u.value||l.value!==u.value){var c=he(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==r.id&&t.triggerName==e&&t.queued&&t.destroy()});var d=o.matchTransition(l.value,u.value,t,u.params),p=!1;if(!d){if(!i)return;d=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:l,toState:u,player:a,isFallbackTransition:p}),p||(qn(t,"ng-animate-queued"),a.onStart(function(){Yn(t,"ng-animate-queued")})),a.onDone(function(){var e=r.players.indexOf(a);e>=0&&r.players.splice(e,1);var n=r._engine.playersByElement.get(t);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}}),this.players.push(a),c.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 r=0;r<n.length;r++){var o=n[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(l.params,u.params)){var h=[],f=o.matchStyles(l.value,l.params,h),m=o.matchStyles(u.value,u.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(function(){Fe(t,f),Ve(t,m)})}},t.prototype.deregister=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}))})},t.prototype.clearElementCache=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))},t.prototype._signalRemovalForInnerTriggers=function(t,e,n){var i=this;void 0===n&&(n=!1),this._engine.driver.query(t,".ng-trigger",!0).forEach(function(t){if(!t[jn]){var n=i._engine.fetchNamespacesByElement(t);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):i.clearElementCache(t)}})},t.prototype.triggerLeaveAnimation=function(t,e,n,i){var r=this,o=this._engine.statesByElement.get(t);if(o){var a=[];if(Object.keys(o).forEach(function(e){if(r._triggers[e]){var n=r.trigger(t,e,"void",i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&le(a).onDone(function(){return r._engine.processLeaveNode(t)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var i=new Set;n.forEach(function(n){var r=n.name;if(!i.has(r)){i.add(r);var o=e._triggers[r].fallbackTransition,a=e._engine.statesByElement.get(t)[r]||Nn,s=new Ln("void"),l=new Hn(e.id,r,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:r,transition:o,fromState:a,toState:s,player:l,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else for(var a=t;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}this.prepareLeaveAnimationListeners(t),r?i.markElementAsRemoved(this.id,t,!1,e):(i.afterFlush(function(){return n.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){qn(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var o=i.element,a=e._elementListeners.get(o);a&&a.forEach(function(e){if(e.name==i.triggerName){var n=pe(o,i.triggerName,i.fromState.value,i.toState.value);n._data=t,ce(i.player,e.phase,n,e.callback)}}),r.markedForDestroy?e._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find(function(e){return e.element===t})||e},t}(),Fn=function(){function t(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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 t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new Vn(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+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},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++},t.prototype.destroy=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)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var o=n[i[r]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&e.add(a)}}return e},t.prototype.trigger=function(t,e,n,i){if(Un(e)){var r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1},t.prototype.insertNode=function(t,e,n,i){if(Un(e)){var r=e[jn];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}i&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),qn(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Yn(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(Un(e)){var i=t?this._fetchNamespace(t):null;i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,i){this.collectedLeaveElements.push(e),e[jn]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,i,r){return Un(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}},t.prototype._buildInstruction=function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return le(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[jn];if(n&&n.setForRemoval){if(t[jn]=Dn,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(t){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)qn(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,t)}finally{for(i=0;i<r.length;i++)r[i]()}}else for(i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);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 o=this._whenQuietFns;this._whenQuietFns=[],n.length?le(n).onDone(function(){o.forEach(function(t){return t()})}):o.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,i=new cn,r=[],o=new Map,a=[],s=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(function(t){c.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),i=0;i<e.length;i++)c.add(e[i])});var d=this.bodyNode,p=Array.from(this.statesByElement.keys()),h=Wn(p,this.collectedEnterElements),f=new Map,m=0;h.forEach(function(t,e){var n="ng-enter"+m++;f.set(e,n),t.forEach(function(t){return qn(t,n)})});for(var g=[],v=new Set,y=new Set,b=0;b<this.collectedLeaveElements.length;b++)(L=(j=this.collectedLeaveElements[b])[jn])&&L.setForRemoval&&(g.push(j),v.add(j),L.hasAnimation?this.driver.query(j,".ng-star-inserted",!0).forEach(function(t){return v.add(t)}):y.add(j));var _=new Map,w=Wn(p,Array.from(v));w.forEach(function(t,e){var n="ng-leave"+m++;_.set(e,n),t.forEach(function(t){return qn(t,n)})}),t.push(function(){h.forEach(function(t,e){var n=f.get(e);t.forEach(function(t){return Yn(t,n)})}),w.forEach(function(t,e){var n=_.get(e);t.forEach(function(t){return Yn(t,n)})}),g.forEach(function(t){n.processLeaveNode(t)})});for(var C=[],x=[],E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(e).forEach(function(t){var e=t.player,o=t.element;if(C.push(e),n.collectedEnterElements.length){var c=o[jn];if(c&&c.setForMove)return void e.destroy()}var p=!d||!n.driver.containsElement(d,o),h=_.get(o),m=f.get(o),g=n._buildInstruction(t,i,m,h,p);if(g.errors&&g.errors.length)x.push(g);else{if(p)return e.onStart(function(){return Fe(o,g.fromStyles)}),e.onDestroy(function(){return Ve(o,g.toStyles)}),void r.push(e);if(t.isFallbackTransition)return e.onStart(function(){return Fe(o,g.fromStyles)}),e.onDestroy(function(){return Ve(o,g.toStyles)}),void r.push(e);g.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),i.append(o,g.timelines),a.push({instruction:g,player:e,element:o}),g.queriedElements.forEach(function(t){return he(s,t,[]).push(e)}),g.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=l.get(e);i||l.set(e,i=new Set),n.forEach(function(t){return i.add(t)})}}),g.postStyleProps.forEach(function(t,e){var n=Object.keys(t),i=u.get(e);i||u.set(e,i=new Set),n.forEach(function(t){return i.add(t)})})}});if(x.length){var S=[];x.forEach(function(t){S.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return S.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(S)}var O=new Map,k=new Map;a.forEach(function(t){var e=t.element;i.has(e)&&(k.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),r.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){he(O,e,[]).push(t),t.destroy()})});var T=g.filter(function(t){return Kn(t,l,u)}),P=new Map;Bn(P,this.driver,y,u,ae.a).forEach(function(t){Kn(t,l,u)&&T.push(t)});var I=new Map;h.forEach(function(t,e){Bn(I,n.driver,new Set(t),l,ae.h)}),T.forEach(function(t){var e=P.get(t),n=I.get(t);P.set(t,Object(oe.a)({},e,n))});var M=[],R=[],D={};a.forEach(function(t){var e=t.element,a=t.player,s=t.instruction;if(i.has(e)){if(c.has(e))return a.onDestroy(function(){return Ve(e,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void r.push(a);var l=D;if(k.size>1){for(var u=e,d=[];u=u.parentNode;){var p=k.get(u);if(p){l=p;break}d.push(u)}d.forEach(function(t){return k.set(t,l)})}var h=n._buildAnimation(a.namespaceId,s,O,o,I,P);if(a.setRealPlayer(h),l===D)M.push(a);else{var f=n.playersByElement.get(l);f&&f.length&&(a.parentPlayer=le(f)),r.push(a)}}else Fe(e,s.fromStyles),a.onDestroy(function(){return Ve(e,s.toStyles)}),R.push(a),c.has(e)&&r.push(a)}),R.forEach(function(t){var e=o.get(t.element);if(e&&e.length){var n=le(e);t.setRealPlayer(n)}}),r.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var A=0;A<g.length;A++){var j,L=(j=g[A])[jn];if(Yn(j,"ng-leave"),!L||!L.hasAnimation){var N=[];if(s.size){var V=s.get(j);V&&V.length&&N.push.apply(N,Object(oe.i)(V));for(var F=this.driver.query(j,".ng-animating",!0),H=0;H<F.length;H++){var U=s.get(F[H]);U&&U.length&&N.push.apply(N,Object(oe.i)(U))}}var z=N.filter(function(t){return!t.destroyed});z.length?$n(this,j,z):this.processLeaveNode(j)}}return g.length=0,M.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()}),M},t.prototype.elementContainsData=function(t,e){var n=!1,i=e[jn];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},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,i,r){var o=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(o=a)}else{var s=this.playersByElement.get(t);if(s){var l=!r||"void"==r;s.forEach(function(t){t.queued||(l||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(function(t){return!(n&&n!=t.namespaceId||i&&i!=t.triggerName)})),o},t.prototype._beforeAnimationBuild=function(t,e,n){var i,r,o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName,l=function(t){var i=t.element,r=i!==o,l=he(n,i,[]);u._getPreviousPlayers(i,r,a,s,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})},u=this;try{for(var c=Object(oe.j)(e.timelines),d=c.next();!d.done;d=c.next())l(d.value)}catch(p){i={error:p}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}Fe(o,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,i,r,o){var a=this,s=e.triggerName,l=e.element,u=[],c=new Set,d=new Set,p=e.timelines.map(function(e){var p=e.element;c.add(p);var h=p[jn];if(h&&h.removedBeforeQueried)return new ae.d(e.duration,e.delay);var f,m,g=p!==l,v=(f=(n.get(p)||Rn).map(function(t){return t.getRealPlayer()}),m=[],function t(e,n){for(var i=0;i<e.length;i++){var r=e[i];r instanceof ae.g?t(r.players,n):n.push(r)}}(f,m),m).filter(function(t){return!!t.element&&t.element===p}),y=r.get(p),b=o.get(p),_=ue(0,a._normalizer,0,e.keyframes,y,b),w=a._buildPlayer(e,_,v);if(e.subTimeline&&i&&d.add(p),g){var C=new Hn(t,s,p);C.setRealPlayer(w),u.push(C)}return w});u.forEach(function(t){he(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 r=i.indexOf(n);i.splice(r,1)}0==i.length&&t.delete(e)}}else(i=t[e])&&(i.length&&(r=i.indexOf(n),i.splice(r,1)),0==i.length&&delete t[e]);return i}(a.playersByQueriedElement,t.element,t)})}),c.forEach(function(t){return qn(t,"ng-animating")});var h=le(p);return h.onDestroy(function(){c.forEach(function(t){return Yn(t,"ng-animating")}),Ve(l,e.toStyles)}),d.forEach(function(t){he(i,t,[]).push(h)}),h},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new ae.d(t.duration,t.delay)},t}(),Hn=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new ae.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return ce(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=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()})},t.prototype._queueEvent=function(t,e){he(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function Un(t){return t&&1===t.nodeType}function zn(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Bn(t,e,n,i,r){var o=[];n.forEach(function(t){return o.push(zn(t))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i[jn]=An,a.push(i))}),t.set(i,o)});var s=0;return n.forEach(function(t){return zn(t,o[s++])}),a}function Wn(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),r=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var o=r.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:i.has(a)?1:t(a),r.set(e,o),o}(t);1!==e&&n.get(e).push(t)}),n}var Gn="$$classes";function qn(t,e){if(t.classList)t.classList.add(e);else{var n=t[Gn];n||(n=t[Gn]={}),n[e]=!0}}function Yn(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Gn];n&&delete n[e]}}function $n(t,e,n){le(n).onDone(function(){return t.processLeaveNode(e)})}function Kn(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach(function(t){return r.add(t)}):e.set(t,i),n.delete(t),!0}var Zn=function(){function t(t,e,n){var i=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Fn(t,e,n),this._timelineEngine=new Mn(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return i.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,i,r){var o=t+"-"+i,a=this._triggerCache[o];if(!a){var s=[],l=nn(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'+i+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new Tn(t,e)}(i,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,i,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,i){if("@"==n.charAt(0)){var r=Object(oe.h)(fe(n),2);this._timelineEngine.command(r[0],e,r[1],i)}else this._transitionEngine.trigger(t,e,n,i)},t.prototype.listen=function(t,e,n,i,r){if("@"==n.charAt(0)){var o=Object(oe.h)(fe(n),2);return this._timelineEngine.listen(o[0],e,o[1],r)}return this._transitionEngine.listen(t,e,n,i,r)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Qn(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=Jn(e[0]),e.length>1&&(i=Jn(e[e.length-1]))):e&&(n=Jn(e)),n||i?new Xn(t,n,i):null}var Xn=function(){function t(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return t.prototype.start=function(){this._state<1&&(this._startStyles&&Ve(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(Ve(this._element,this._initialStyles),this._endStyles&&(Ve(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Fe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Fe(this._element,this._endStyles),this._endStyles=null),Ve(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function Jn(t){for(var e=null,n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];ti(r)&&((e=e||{})[r]=t[r])}return e}function ti(t){return"display"===t||"position"===t}var ei="animation",ni="animationend",ii=function(){function t(t,e,n,i,r,o,a){var s=this;this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=r,this._fillMode=o,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return s._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=ui(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)","===t.charAt(n)&&0}(n),e=n+", "+e),li(t,"",e),si(this._element,this._eventFn,!1),this._startTime=Date.now()},t.prototype.pause=function(){ri(this._element,this._name,"paused")},t.prototype.resume=function(){ri(this._element,this._name,"running")},t.prototype.setPosition=function(t){var e=oi(this._element,this._name);this._position=t*this._duration,li(this._element,"Delay","-"+this._position+"ms",e)},t.prototype.getPosition=function(){return this._position},t.prototype._handleCallback=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()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),si(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(i=ai(n=ui(t=this._element,"").split(","),e))>=0&&(n.splice(i,1),li(t,"",n.join(","))))},t}();function ri(t,e,n){li(t,"PlayState",n,oi(t,e))}function oi(t,e){var n=ui(t,"");return n.indexOf(",")>0?ai(n.split(","),e):ai([n],e)}function ai(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function si(t,e,n){n?t.removeEventListener(ni,e):t.addEventListener(ni,e)}function li(t,e,n,i){var r=ei+e;if(null!=i){var o=t.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}t.style[r]=n}function ui(t,e){return t.style[ei+e]}var ci="linear",di=function(){function t(t,e,n,i,r,o,a,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||ci,this.totalTime=i+r,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new ii(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=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]:Ze(t.element,i))})}this.currentSnapshot=e},t}(),pi=function(t){function e(e,n){var i=t.call(this)||this;return i.element=e,i._startingStyles={},i.__initialized=!1,i._styles=ke(n),i}return Object(oe.d)(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(ae.d),hi=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return xe(t)},t.prototype.matchesElement=function(t,e){return Ee(t,e)},t.prototype.containsElement=function(t,e){return Se(t,e)},t.prototype.query=function(t,e,n){return Oe(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map(function(t){return ke(t)});var i="@keyframes "+e+" {\n",r="";n.forEach(function(t){r=" ";var e=parseFloat(t.offset);i+=""+r+100*e+"% {\n",r+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=r+"animation-timing-function: "+n+";\n"));default:return void(i+=""+r+e+": "+n+";\n")}}),i+=r+"}\n"}),i+="}\n";var o=document.createElement("style");return o.innerHTML=i,o},t.prototype.animate=function(t,e,n,i,r,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter(function(t){return t instanceof di}),l={};Ye(n,i)&&s.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var u=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=$e(t,e,l));if(0==n)return new pi(t,u);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);var p=Qn(t,e),h=new di(t,e,c,n,i,r,u,p);return h.onDestroy(function(){var t;(t=d).parentNode.removeChild(t)}),h},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),fi=function(){function t(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=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()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=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()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Ze(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),mi=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(gi().toString()),this._cssKeyframesDriver=new hi}return t.prototype.validateStyleProperty=function(t){return xe(t)},t.prototype.matchesElement=function(t,e){return Ee(t,e)},t.prototype.containsElement=function(t,e){return Se(t,e)},t.prototype.query=function(t,e,n){return Oe(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,i,r,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var l={},u=o.filter(function(t){return t instanceof fi});Ye(n,i)&&u.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var c=Qn(t,e=$e(t,e=e.map(function(t){return je(t,!1)}),l));return new fi(t,e,s,c)},t}();function gi(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var vi=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}}),r}return Object(oe.d)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Object(ae.e)(t):t;return _i(this._renderer,null,e,"register",[n]),new yi(e,this._renderer)},e}(ae.b),yi=function(t){function e(e,n){var i=t.call(this)||this;return i._id=e,i._renderer=n,i}return Object(oe.d)(e,t),e.prototype.create=function(t,e){return new bi(this._id,t,e||{},this._renderer)},e}(ae.c),bi=function(){function t(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return _i(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}();function _i(t,e,n,i,r){return t.setProperty(e,"@@"+n+":"+i,r)}var wi=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var r=this._rendererCache.get(i);return r||(r=new Ci("",i,this.engine),this._rendererCache.set(i,r)),r}var o=e.id,a=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,t),e.data.animation.forEach(function(e){return n.engine.registerTrigger(o,a,t,e.name,e)}),new xi(this,a,i,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then(function(){t._microtaskId++})},t.prototype.scheduleListenerCallback=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=Object(oe.h)(t,2);(0,e[0])(e[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=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()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t}(),Ci=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t,e){return this.delegate.selectRootElement(t,e)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,i){this.delegate.setStyle(t,e,n,i)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),xi=function(t){function e(e,n,i,r){var o=t.call(this,n,i,r)||this;return o.factory=e,o.namespaceId=n,o}return Object(oe.d)(e,t),e.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},e.prototype.listen=function(t,e,n){var i,r,o,a=this;if("@"==e.charAt(0)){var s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),l=e.substr(1),u="";return"@"!=l.charAt(0)&&(l=(i=Object(oe.h)((r=l,o=r.indexOf("."),[r.substring(0,o),r.substr(o+1)]),2))[0],u=i[1]),this.engine.listen(this.namespaceId,s,l,u,function(t){a.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)},e}(Ci),Ei=function(t){function e(e,n,i){return t.call(this,e.body,n,i)||this}return Object(oe.d)(e,t),e}(Zn);function Si(){return"function"==typeof gi()?new mi:new hi}function Oi(){return new wn}function ki(t,e,n){return new wi(t,e,n)}var Ti=new i.InjectionToken("AnimationModuleType"),Pi=function(){return function(){}}(),Ii=n("t/Na"),Mi=n("mCDz"),Ri=n("NAAZ"),Di=n("Bk+9"),Ai=n("vJ/q"),ji=n("SZbH"),Li=n("T2qd"),Ni=n("Oh3A"),Vi=n("gIcY"),Fi=n("NJnL"),Hi=n("lqqz"),Ui=n("8hX0"),zi=n("kJce"),Bi=n("wmVe"),Wi=n("8wbS"),Gi=n("dJTG"),qi=n("y/Wt"),Yi=n("wPC0"),$i=n("nhNG"),Ki=n("z/er"),Zi=n("t9XL"),Qi=n("/WFX"),Xi=n("PqLd"),Ji=n("d5dT"),tr=n("B1um"),er=n("s9o9"),nr=n("94jR"),ir=n("QmeP"),rr=n("BRgZ"),or=n("S8NE"),ar=n("ARgq"),sr=n("ItC6"),lr=n("gP80"),ur=n("mS4x"),cr=n("3OAB"),dr=n("rafA"),pr=n("4El1"),hr=function(){return function(){}}(),fr=n("axVG"),mr=n("QpxQ"),gr=n("RFs3"),vr=n("JbCa"),yr=n("FpXt"),br=n("g58P"),_r=n("VwUT"),wr=n("mu2n"),Cr=i["\u0275cmf"](r,[u],function(t){return i["\u0275mod"]([i["\u0275mpd"](512,i.ComponentFactoryResolver,i["\u0275CodegenComponentFactoryResolver"],[[8,[c.a,y,x,E.a,S.a,S.b,O.a,O.b,k.a,k.b,k.j,k.k,k.g,k.h,k.i,T.a,P.a,I.a,M.a,R.a,D.a,A.a,ie]],[3,i.ComponentFactoryResolver],i.NgModuleRef]),i["\u0275mpd"](5120,i.LOCALE_ID,i["\u0275angular_packages_core_core_o"],[[3,i.LOCALE_ID]]),i["\u0275mpd"](4608,h.n,h.m,[i.LOCALE_ID,[2,h.D]]),i["\u0275mpd"](5120,i.APP_ID,i["\u0275angular_packages_core_core_g"],[]),i["\u0275mpd"](5120,i.IterableDiffers,i["\u0275angular_packages_core_core_m"],[]),i["\u0275mpd"](5120,i.KeyValueDiffers,i["\u0275angular_packages_core_core_n"],[]),i["\u0275mpd"](4608,re.c,re.l,[h.c]),i["\u0275mpd"](6144,i.Sanitizer,null,[re.c]),i["\u0275mpd"](4608,re.f,re.h,[]),i["\u0275mpd"](5120,re.d,function(t,e,n,i,r,o,a,s){return[new re.j(t,e,n),new re.o(i),new re.n(r,o,a,s)]},[h.c,i.NgZone,i.PLATFORM_ID,h.c,h.c,re.f,i["\u0275Console"],[2,re.g]]),i["\u0275mpd"](4608,re.e,re.e,[re.d,i.NgZone]),i["\u0275mpd"](135680,re.m,re.m,[h.c]),i["\u0275mpd"](4608,re.k,re.k,[re.e,re.m]),i["\u0275mpd"](5120,Pe,Si,[]),i["\u0275mpd"](5120,_n,Oi,[]),i["\u0275mpd"](4608,Zn,Ei,[h.c,Pe,_n]),i["\u0275mpd"](5120,i.RendererFactory2,ki,[re.k,Zn,i.NgZone]),i["\u0275mpd"](6144,re.p,null,[re.m]),i["\u0275mpd"](4608,i.Testability,i.Testability,[i.NgZone]),i["\u0275mpd"](4608,ae.b,vi,[i.RendererFactory2,re.b]),i["\u0275mpd"](5120,o.a,o.D,[o.n]),i["\u0275mpd"](4608,o.g,o.g,[]),i["\u0275mpd"](6144,o.h,null,[o.g]),i["\u0275mpd"](135680,o.t,o.t,[o.n,i.NgModuleFactoryLoader,i.Compiler,i.Injector,o.h]),i["\u0275mpd"](4608,o.f,o.f,[]),i["\u0275mpd"](5120,o.H,o.z,[o.n,h.w,o.i]),i["\u0275mpd"](5120,o.j,o.G,[o.E]),i["\u0275mpd"](5120,i.APP_BOOTSTRAP_LISTENER,function(t){return[t]},[o.j]),i["\u0275mpd"](4608,Ii.k,Ii.q,[h.c,i.PLATFORM_ID,Ii.o]),i["\u0275mpd"](4608,Ii.r,Ii.r,[Ii.k,Ii.p]),i["\u0275mpd"](4608,Ii.n,Ii.n,[]),i["\u0275mpd"](6144,Ii.l,null,[Ii.n]),i["\u0275mpd"](4608,Ii.j,Ii.j,[Ii.l]),i["\u0275mpd"](6144,Ii.b,null,[Ii.j]),i["\u0275mpd"](4608,Ii.g,Ii.m,[Ii.b,i.Injector]),i["\u0275mpd"](4608,Ii.c,Ii.c,[Ii.g]),i["\u0275mpd"](4608,Mi.a,Mi.a,[]),i["\u0275mpd"](4608,Ri.a,Ri.a,[]),i["\u0275mpd"](4608,z.a,z.a,[]),i["\u0275mpd"](4608,H.a,H.a,[Ii.c,Mi.a,Ri.a,z.a]),i["\u0275mpd"](4608,Zt.a,Zt.a,[]),i["\u0275mpd"](4608,wt.a,wt.a,[]),i["\u0275mpd"](4608,Di.a,Di.a,[]),i["\u0275mpd"](4608,p.a,p.a,[Ii.c,Di.a,Ri.a]),i["\u0275mpd"](4608,Ai.a,Ai.a,[ji.j,p.a]),i["\u0275mpd"](4608,F.a,F.a,[H.a,z.a,Ii.c,Zt.a,Ri.a,o.n,wt.a,Ai.a,p.a]),i["\u0275mpd"](4608,U.a,U.a,[Ii.c,Zt.a,z.a]),i["\u0275mpd"](5120,Ii.a,function(t,e,n,i){return[t,new Li.a(e,n,i)]},[Ii.r,F.a,U.a,p.a]),i["\u0275mpd"](4608,Ni.b,Ni.b,[]),i["\u0275mpd"](4608,Vi["\u0275angular_packages_forms_forms_j"],Vi["\u0275angular_packages_forms_forms_j"],[]),i["\u0275mpd"](4608,j.v,j.v,[i.ComponentFactoryResolver,i.Injector,j.lb,j.w]),i["\u0275mpd"](4608,Vi.FormBuilder,Vi.FormBuilder,[]),i["\u0275mpd"](4608,Fi.a,Fi.a,[i.RendererFactory2,i.PLATFORM_ID]),i["\u0275mpd"](4608,Hi.a,Hi.a,[i.ComponentFactoryResolver,i.NgZone,i.Injector,Fi.a,i.ApplicationRef]),i["\u0275mpd"](4608,St.b,St.b,[i.RendererFactory2,Hi.a]),i["\u0275mpd"](4608,Ui.a,Ui.a,[re.c]),i["\u0275mpd"](4608,zi.a,zi.a,[]),i["\u0275mpd"](4608,d.a,d.a,[p.a]),i["\u0275mpd"](4608,Bi.a,Bi.a,[p.a]),i["\u0275mpd"](4608,Wi.a,Wi.a,[p.a]),i["\u0275mpd"](4608,Kt.a,Kt.a,[Ri.a]),i["\u0275mpd"](4608,Gi.a,Gi.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,B.a,B.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,qi.a,qi.a,[Zt.a,U.a,Ii.c]),i["\u0275mpd"](4608,Yi.a,Yi.a,[i.ComponentFactoryResolver,i.Injector]),i["\u0275mpd"](4608,$i.a,$i.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,Ki.a,Ki.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,Zi.a,Zi.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,Qi.a,Qi.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,Xi.a,Xi.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,Ji.a,Ji.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,tr.a,tr.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,er.a,er.a,[Zt.a]),i["\u0275mpd"](4608,nr.a,nr.a,[Ii.c,Zt.a]),i["\u0275mpd"](4608,ir.a,ir.a,[]),i["\u0275mpd"](4608,rr.a,rr.a,[]),i["\u0275mpd"](5120,or.a,ar.b,[]),i["\u0275mpd"](4608,St.a,St.a,[]),i["\u0275mpd"](4608,sr.a,sr.a,[F.a,o.n]),i["\u0275mpd"](4608,lr.a,lr.a,[F.a,o.n]),i["\u0275mpd"](4608,ur.a,ur.a,[U.a,o.n,z.a]),i["\u0275mpd"](4608,cr.a,cr.a,[U.a,o.n,z.a]),i["\u0275mpd"](4608,dr.a,dr.a,[U.a,o.n]),i["\u0275mpd"](4608,pr.a,pr.a,[U.a,o.n]),i["\u0275mpd"](4608,kt.a,kt.a,[]),i["\u0275mpd"](4608,Ot.a,Ot.a,[]),i["\u0275mpd"](4608,N.a,N.a,[]),i["\u0275mpd"](4608,Ft.a,Ft.a,[]),i["\u0275mpd"](1073742336,h.b,h.b,[]),i["\u0275mpd"](1024,i.ErrorHandler,re.q,[]),i["\u0275mpd"](1024,i.NgProbeToken,function(){return[o.y()]},[]),i["\u0275mpd"](512,o.E,o.E,[i.Injector]),i["\u0275mpd"](1024,i.APP_INITIALIZER,function(t,e){return[re.r(t),o.F(e)]},[[2,i.NgProbeToken],o.E]),i["\u0275mpd"](512,i.ApplicationInitStatus,i.ApplicationInitStatus,[[2,i.APP_INITIALIZER]]),i["\u0275mpd"](131584,i.ApplicationRef,i.ApplicationRef,[i.NgZone,i["\u0275Console"],i.Injector,i.ErrorHandler,i.ComponentFactoryResolver,i.ApplicationInitStatus]),i["\u0275mpd"](1073742336,i.ApplicationModule,i.ApplicationModule,[i.ApplicationRef]),i["\u0275mpd"](1073742336,re.a,re.a,[[3,re.a]]),i["\u0275mpd"](1073742336,Pi,Pi,[]),i["\u0275mpd"](1024,o.x,o.B,[[3,o.n]]),i["\u0275mpd"](512,o.v,o.c,[]),i["\u0275mpd"](512,o.b,o.b,[]),i["\u0275mpd"](256,o.i,{anchorScrolling:"enabled",preloadingStrategy:o.g},[]),i["\u0275mpd"](1024,h.i,o.A,[h.u,[2,h.a],o.i]),i["\u0275mpd"](512,h.h,h.h,[h.i]),i["\u0275mpd"](512,i.Compiler,i.Compiler,[]),i["\u0275mpd"](512,i.NgModuleFactoryLoader,i.SystemJsNgModuleLoader,[i.Compiler,[2,i.SystemJsNgModuleLoaderConfig]]),i["\u0275mpd"](1024,o.k,function(){return[[{path:"",loadChildren:"./modules/auth/auth.module#AuthModule"},{path:"dashboard",loadChildren:"./modules/dashboard/dashboard.module#DashboardModule"},{path:"master",loadChildren:"./modules/master/master.module#MasterModule"},{path:"wizard",loadChildren:"./modules/wizard/wizard.module#WizardModule"},{path:"pricing",loadChildren:"./modules/pricing/pricing.module#PricingModule"},{path:"meals",loadChildren:"./modules/meals/meals.module#MealsModule"},{path:"settings",loadChildren:"./modules/settings/settings.module#SettingsModule"},{path:"faq",loadChildren:"./modules/faq/faq.module#FAQModule"},{path:"sport",loadChildren:"./modules/sport/sport.module#SportModule"},{path:"verify",loadChildren:"./modules/verify/verify.module#VerifyModule"},{path:"news",loadChildren:"./modules/news/news.module#NewsModule"},{path:"user-preferred-products",loadChildren:"./modules/user-preferred-products/user-preferred-products.module#UserPreferredProductsModule"},{path:"user-preferred-global-categories",loadChildren:"./modules/user-preferred-global-categories/user-preferred-global-categories.module#UserPreferredGlobalCategoriesModule"},{path:"stars",loadChildren:"./modules/stars/stars.module#StarsModule"},{path:"misc",loadChildren:"./modules/misc/misc.module#MiscModule"},{path:"referrals",loadChildren:"./modules/referrals/referrals.module#ReferralsModule"},{path:"wallet",loadChildren:"./modules/wallet/wallet.module#WalletModule"},{path:"videos",loadChildren:"./modules/videos/videos.module#VideosModule"},{path:"recipes",loadChildren:"./modules/recipes/recipes.module#RecipesModule"},{path:"invoices",loadChildren:"./modules/invoices/invoices.module#InvoicesModule"},{path:"error-404",component:f.a},{path:"error-500",component:b.a},{path:"**",redirectTo:"/error-404"}]]},[]),i["\u0275mpd"](1024,o.n,o.C,[i.ApplicationRef,o.v,o.b,h.h,i.Injector,i.NgModuleFactoryLoader,i.Compiler,o.k,o.i,[2,o.u],[2,o.m]]),i["\u0275mpd"](1073742336,o.r,o.r,[[2,o.x],[2,o.n]]),i["\u0275mpd"](1073742336,hr,hr,[]),i["\u0275mpd"](1073742336,Ii.e,Ii.e,[]),i["\u0275mpd"](1073742336,Ii.d,Ii.d,[]),i["\u0275mpd"](1073742336,ji.i,ji.i,[]),i["\u0275mpd"](1073742336,St.e,St.e,[]),i["\u0275mpd"](1073742336,Ni.c,Ni.c,[]),i["\u0275mpd"](1073742336,fr.a,fr.a,[]),i["\u0275mpd"](1073742336,j.c,j.c,[]),i["\u0275mpd"](1073742336,j.f,j.f,[]),i["\u0275mpd"](1073742336,j.g,j.g,[]),i["\u0275mpd"](1073742336,j.k,j.k,[]),i["\u0275mpd"](1073742336,j.l,j.l,[]),i["\u0275mpd"](1073742336,Vi["\u0275angular_packages_forms_forms_bc"],Vi["\u0275angular_packages_forms_forms_bc"],[]),i["\u0275mpd"](1073742336,Vi.FormsModule,Vi.FormsModule,[]),i["\u0275mpd"](1073742336,j.q,j.q,[]),i["\u0275mpd"](1073742336,j.t,j.t,[]),i["\u0275mpd"](1073742336,j.x,j.x,[]),i["\u0275mpd"](1073742336,j.B,j.B,[]),i["\u0275mpd"](1073742336,j.G,j.G,[]),i["\u0275mpd"](1073742336,j.J,j.J,[]),i["\u0275mpd"](1073742336,j.M,j.M,[]),i["\u0275mpd"](1073742336,j.R,j.R,[]),i["\u0275mpd"](1073742336,j.V,j.V,[]),i["\u0275mpd"](1073742336,j.Y,j.Y,[]),i["\u0275mpd"](1073742336,j.Z,j.Z,[]),i["\u0275mpd"](1073742336,j.y,j.y,[]),i["\u0275mpd"](1073742336,mr.c,mr.c,[]),i["\u0275mpd"](1073742336,Vi.ReactiveFormsModule,Vi.ReactiveFormsModule,[]),i["\u0275mpd"](1073742336,or.e,or.e,[]),i["\u0275mpd"](1073742336,gr.NouisliderModule,gr.NouisliderModule,[]),i["\u0275mpd"](1073742336,vr.b,vr.b,[]),i["\u0275mpd"](1073742336,yr.a,yr.a,[]),i["\u0275mpd"](1073742336,br.c,br.c,[]),i["\u0275mpd"](1073742336,_r.a,_r.a,[]),i["\u0275mpd"](1073742336,wr.c,wr.c,[]),i["\u0275mpd"](1073742336,r,r,[]),i["\u0275mpd"](256,i["\u0275APP_ROOT"],!0,[]),i["\u0275mpd"](256,Ti,"BrowserAnimations",[]),i["\u0275mpd"](256,Ii.o,"XSRF-TOKEN",[]),i["\u0275mpd"](256,Ii.p,"X-XSRF-TOKEN",[]),i["\u0275mpd"](256,mr.d,mr.e,[]),i["\u0275mpd"](256,ji.b,{default:ji.a,config:{}},[]),i["\u0275mpd"](256,Ni.d,void 0,[]),i["\u0275mpd"](256,br.b,{radius:100,outerStrokeWidth:16,innerStrokeWidth:8,outerStrokeColor:"#78C000",innerStrokeColor:"#C7E596",animationDuration:300,responsive:!0},[])])});Object(i.enableProdMode)(),re.i().bootstrapModuleFactory(Cr,{preserveWhitespaces:!0}).catch(function(t){return console.error(t)})},zdn9:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i={light:"light-styles",dark:"dark-styles"},r=function(){function t(t){this.storageService=t,this.loadTheme(i[this.getCurrentTheme()])}return t.prototype.changeTheme=function(t){return!!i[t]&&(this.loadTheme(i[t]),this.storageService.setItem("theme",t),!0)},t.prototype.getCurrentTheme=function(){var t=this.storageService.getItem("theme");return null!==t&&i[t]?t:"light"},t.prototype.loadTheme=function(t){for(var e=document.getElementsByTagName("link"),n=0;n<e.length;n++)e[n].disabled=-1===e[n].href.indexOf(t)},t}()},zo3G:function(t,e,n){"use strict";var i=n("mrSG"),r=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.d(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(n("h9Dq").a),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.d(e,t),e}(n("CS9Q").a);n.d(e,"a",function(){return a});var a=new o(r)},zotm:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("rPjj"),r=n("Fxb1");function o(t,e,n,o,a){if(void 0===a&&(a=new i.a(t,n,o)),!a.closed)return Object(r.a)(e)(a)}},zsMz:function(t){t.exports=[{name:"Israel",dial_code:"+972",code:"IL"},{name:"Afghanistan",dial_code:"+93",code:"AF"},{name:"Albania",dial_code:"+355",code:"AL"},{name:"Algeria",dial_code:"+213",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1 684",code:"AS"},{name:"Andorra",dial_code:"+376",code:"AD"},{name:"Angola",dial_code:"+244",code:"AO"},{name:"Anguilla",dial_code:"+1 264",code:"AI"},{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG"},{name:"Argentina",dial_code:"+54",code:"AR"},{name:"Armenia",dial_code:"+374",code:"AM"},{name:"Aruba",dial_code:"+297",code:"AW"},{name:"Australia",dial_code:"+61",code:"AU"},{name:"Austria",dial_code:"+43",code:"AT"},{name:"Azerbaijan",dial_code:"+994",code:"AZ"},{name:"Bahamas",dial_code:"+1 242",code:"BS"},{name:"Bahrain",dial_code:"+973",code:"BH"},{name:"Bangladesh",dial_code:"+880",code:"BD"},{name:"Barbados",dial_code:"+1 246",code:"BB"},{name:"Belarus",dial_code:"+375",code:"BY"},{name:"Belgium",dial_code:"+32",code:"BE"},{name:"Belize",dial_code:"+501",code:"BZ"},{name:"Benin",dial_code:"+229",code:"BJ"},{name:"Bermuda",dial_code:"+1 441",code:"BM"},{name:"Bhutan",dial_code:"+975",code:"BT"},{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA"},{name:"Botswana",dial_code:"+267",code:"BW"},{name:"Brazil",dial_code:"+55",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO"},{name:"Bulgaria",dial_code:"+359",code:"BG"},{name:"Burkina Faso",dial_code:"+226",code:"BF"},{name:"Burundi",dial_code:"+257",code:"BI"},{name:"Cambodia",dial_code:"+855",code:"KH"},{name:"Cameroon",dial_code:"+237",code:"CM"},{name:"Canada",dial_code:"+1",code:"CA"},{name:"Cape Verde",dial_code:"+238",code:"CV"},{name:"Cayman Islands",dial_code:"+ 345",code:"KY"},{name:"Central African Republic",dial_code:"+236",code:"CF"},{name:"Chad",dial_code:"+235",code:"TD"},{name:"Chile",dial_code:"+56",code:"CL"},{name:"China",dial_code:"+86",code:"CN"},{name:"Christmas Island",dial_code:"+61",code:"CX"},{name:"Colombia",dial_code:"+57",code:"CO"},{name:"Comoros",dial_code:"+269",code:"KM"},{name:"Congo",dial_code:"+242",code:"CG"},{name:"Cook Islands",dial_code:"+682",code:"CK"},{name:"Costa Rica",dial_code:"+506",code:"CR"},{name:"Croatia",dial_code:"+385",code:"HR"},{name:"Cuba",dial_code:"+53",code:"CU"},{name:"Cyprus",dial_code:"+537",code:"CY"},{name:"Czech Republic",dial_code:"+420",code:"CZ"},{name:"Denmark",dial_code:"+45",code:"DK"},{name:"Djibouti",dial_code:"+253",code:"DJ"},{name:"Dominica",dial_code:"+1 767",code:"DM"},{name:"Dominican Republic",dial_code:"+1 849",code:"DO"},{name:"Ecuador",dial_code:"+593",code:"EC"},{name:"Egypt",dial_code:"+20",code:"EG"},{name:"El Salvador",dial_code:"+503",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",code:"GQ"},{name:"Eritrea",dial_code:"+291",code:"ER"},{name:"Estonia",dial_code:"+372",code:"EE"},{name:"Ethiopia",dial_code:"+251",code:"ET"},{name:"Faroe Islands",dial_code:"+298",code:"FO"},{name:"Fiji",dial_code:"+679",code:"FJ"},{name:"Finland",dial_code:"+358",code:"FI"},{name:"France",dial_code:"+33",code:"FR"},{name:"French Polynesia",dial_code:"+689",code:"PF"},{name:"Gabon",dial_code:"+241",code:"GA"},{name:"Gambia",dial_code:"+220",code:"GM"},{name:"Georgia",dial_code:"+995",code:"GE"},{name:"Germany",dial_code:"+49",code:"DE"},{name:"Ghana",dial_code:"+233",code:"GH"},{name:"Gibraltar",dial_code:"+350",code:"GI"},{name:"Greece",dial_code:"+30",code:"GR"},{name:"Greenland",dial_code:"+299",code:"GL"},{name:"Grenada",dial_code:"+1 473",code:"GD"},{name:"Guam",dial_code:"+1 671",code:"GU"},{name:"Guatemala",dial_code:"+502",code:"GT"},{name:"Guinea",dial_code:"+224",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",code:"GW"},{name:"Guyana",dial_code:"+595",code:"GY"},{name:"Haiti",dial_code:"+509",code:"HT"},{name:"Honduras",dial_code:"+504",code:"HN"},{name:"Hungary",dial_code:"+36",code:"HU"},{name:"Iceland",dial_code:"+354",code:"IS"},{name:"India",dial_code:"+91",code:"IN"},{name:"Indonesia",dial_code:"+62",code:"ID"},{name:"Iraq",dial_code:"+964",code:"IQ"},{name:"Ireland",dial_code:"+353",code:"IE"},{name:"Israel",dial_code:"+972",code:"IL"},{name:"Italy",dial_code:"+39",code:"IT"},{name:"Jamaica",dial_code:"+1 876",code:"JM"},{name:"Japan",dial_code:"+81",code:"JP"},{name:"Jordan",dial_code:"+962",code:"JO"},{name:"Kazakhstan",dial_code:"+7 7",code:"KZ"},{name:"Kenya",dial_code:"+254",code:"KE"},{name:"Kiribati",dial_code:"+686",code:"KI"},{name:"Kuwait",dial_code:"+965",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",code:"KG"},{name:"Latvia",dial_code:"+371",code:"LV"},{name:"Lebanon",dial_code:"+961",code:"LB"},{name:"Lesotho",dial_code:"+266",code:"LS"},{name:"Liberia",dial_code:"+231",code:"LR"},{name:"Liechtenstein",dial_code:"+423",code:"LI"},{name:"Lithuania",dial_code:"+370",code:"LT"},{name:"Luxembourg",dial_code:"+352",code:"LU"},{name:"Madagascar",dial_code:"+261",code:"MG"},{name:"Malawi",dial_code:"+265",code:"MW"},{name:"Malaysia",dial_code:"+60",code:"MY"},{name:"Maldives",dial_code:"+960",code:"MV"},{name:"Mali",dial_code:"+223",code:"ML"},{name:"Malta",dial_code:"+356",code:"MT"},{name:"Marshall Islands",dial_code:"+692",code:"MH"},{name:"Martinique",dial_code:"+596",code:"MQ"},{name:"Mauritania",dial_code:"+222",code:"MR"},{name:"Mauritius",dial_code:"+230",code:"MU"},{name:"Mexico",dial_code:"+52",code:"MX"},{name:"Monaco",dial_code:"+377",code:"MC"},{name:"Mongolia",dial_code:"+976",code:"MN"},{name:"Montenegro",dial_code:"+382",code:"ME"},{name:"Montserrat",dial_code:"+1664",code:"MS"},{name:"Morocco",dial_code:"+212",code:"MA"},{name:"Myanmar",dial_code:"+95",code:"MM"},{name:"Namibia",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",code:"NR"},{name:"Nepal",dial_code:"+977",code:"NP"},{name:"Netherlands",dial_code:"+31",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",code:"NL"},{name:"New Zealand",dial_code:"+64",code:"NZ"},{name:"Nicaragua",dial_code:"+505",code:"NI"},{name:"Niger",dial_code:"+227",code:"NE"},{name:"Nigeria",dial_code:"+234",code:"NG"},{name:"Niue",dial_code:"+683",code:"NU"},{name:"Norfolk Island",dial_code:"+672",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1 670",code:"MP"},{name:"Norway",dial_code:"+47",code:"NO"},{name:"Oman",dial_code:"+968",code:"OM"},{name:"Pakistan",dial_code:"+92",code:"PK"},{name:"Palau",dial_code:"+680",code:"PW"},{name:"Panama",dial_code:"+507",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",code:"PG"},{name:"Paraguay",dial_code:"+595",code:"PY"},{name:"Peru",dial_code:"+51",code:"PE"},{name:"Philippines",dial_code:"+63",code:"PH"},{name:"Poland",dial_code:"+48",code:"PL"},{name:"Portugal",dial_code:"+351",code:"PT"},{name:"Puerto Rico",dial_code:"+1 939",code:"PR"},{name:"Qatar",dial_code:"+974",code:"QA"},{name:"Romania",dial_code:"+40",code:"RO"},{name:"Rwanda",dial_code:"+250",code:"RW"},{name:"Samoa",dial_code:"+685",code:"WS"},{name:"San Marino",dial_code:"+378",code:"SM"},{name:"Saudi Arabia",dial_code:"+966",code:"SA"},{name:"Senegal",dial_code:"+221",code:"SN"},{name:"Serbia",dial_code:"+381",code:"RS"},{name:"Seychelles",dial_code:"+248",code:"SC"},{name:"Sierra Leone",dial_code:"+232",code:"SL"},{name:"Singapore",dial_code:"+65",code:"SG"},{name:"Slovakia",dial_code:"+421",code:"SK"},{name:"Slovenia",dial_code:"+386",code:"SI"},{name:"Solomon Islands",dial_code:"+677",code:"SB"},{name:"South Africa",dial_code:"+27",code:"ZA"},{name:"Spain",dial_code:"+34",code:"ES"},{name:"Sri Lanka",dial_code:"+94",code:"LK"},{name:"Sudan",dial_code:"+249",code:"SD"},{name:"Suriname",dial_code:"+597",code:"SR"},{name:"Swaziland",dial_code:"+268",code:"SZ"},{name:"Sweden",dial_code:"+46",code:"SE"},{name:"Switzerland",dial_code:"+41",code:"CH"},{name:"Tajikistan",dial_code:"+992",code:"TJ"},{name:"Thailand",dial_code:"+66",code:"TH"},{name:"Togo",dial_code:"+228",code:"TG"},{name:"Tokelau",dial_code:"+690",code:"TK"},{name:"Tonga",dial_code:"+676",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1 868",code:"TT"},{name:"Tunisia",dial_code:"+216",code:"TN"},{name:"Turkey",dial_code:"+90",code:"TR"},{name:"Turkmenistan",dial_code:"+993",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1 649",code:"TC"},{name:"Tuvalu",dial_code:"+688",code:"TV"},{name:"Uganda",dial_code:"+256",code:"UG"},{name:"Ukraine",dial_code:"+380",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",code:"AE"},{name:"United Kingdom",dial_code:"+44",code:"GB"},{name:"United States",dial_code:"+1",code:"US"},{name:"Uruguay",dial_code:"+598",code:"UY"},{name:"Uzbekistan",dial_code:"+998",code:"UZ"},{name:"Vanuatu",dial_code:"+678",code:"VU"},{name:"Yemen",dial_code:"+967",code:"YE"},{name:"Zambia",dial_code:"+260",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",code:"ZW"},{name:"Bolivia, Plurinational State of",dial_code:"+591",code:"BO"},{name:"Brunei Darussalam",dial_code:"+673",code:"BN"},{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC"},{name:"Congo, The Democratic Republic of the",dial_code:"+243",code:"CD"},{name:"Cote d'Ivoire",dial_code:"+225",code:"CI"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",code:"FK"},{name:"Guernsey",dial_code:"+44",code:"GG"},{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA"},{name:"Hong Kong",dial_code:"+852",code:"HK"},{name:"Iran, Islamic Republic of",dial_code:"+98",code:"IR"},{name:"Isle of Man",dial_code:"+44",code:"IM"},{name:"Jersey",dial_code:"+44",code:"JE"},{name:"Korea, Democratic People's Republic of",dial_code:"+850",code:"KP"},{name:"Korea, Republic of",dial_code:"+82",code:"KR"},{name:"Lao People's Democratic Republic",dial_code:"+856",code:"LA"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY"},{name:"Macao",dial_code:"+853",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",dial_code:"+389",code:"MK"},{name:"Micronesia, Federated States of",dial_code:"+691",code:"FM"},{name:"Moldova, Republic of",dial_code:"+373",code:"MD"},{name:"Mozambique",dial_code:"+258",code:"MZ"},{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS"},{name:"Pitcairn",dial_code:"+872",code:"PN"},{name:"Russia",dial_code:"+7",code:"RU"},{name:"Saint Barth\xe9lemy",dial_code:"+590",code:"BL"},{name:"Saint Kitts and Nevis",dial_code:"+1 869",code:"KN"},{name:"Saint Lucia",dial_code:"+1 758",code:"LC"},{name:"Saint Vincent and the Grenadines",dial_code:"+1 784",code:"VC"},{name:"Sao Tome and Principe",dial_code:"+239",code:"ST"},{name:"Somalia",dial_code:"+252",code:"SO"},{name:"Syrian Arab Republic",dial_code:"+963",code:"SY"},{name:"Taiwan, Province of China",dial_code:"+886",code:"TW"},{name:"Tanzania, United Republic of",dial_code:"+255",code:"TZ"},{name:"Timor-Leste",dial_code:"+670",code:"TL"},{name:"Venezuela, Bolivarian Republic of",dial_code:"+58",code:"VE"},{name:"Viet Nam",dial_code:"+84",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1 284",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1 340",code:"VI"}]}},[[0,2]]]);
//# sourceMappingURL=main.f8dd998885eb09f6324d.js.map