webpackJsonp([2],[function(t,e,n){"use strict";var r=n(264);!function(){window.GlobalVariables.modules=window.GlobalVariables.modules||{},window.GlobalVariables.modules.users=new r.UsersModule}()},function(t,e,n){(function(t){!function(t,r){r(e,n(2),n(3),n(21))}(this,function(e,n,r,i){"use strict";var o,s=i.__platform_browser_private__.INTERNAL_BROWSER_PLATFORM_PROVIDERS,a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(){t.apply(this,arguments)}return a(e,t),e.prototype.get=function(t){var e,n,r=new Promise(function(t,r){e=t,n=r}),i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="text",i.onload=function(){var r=i.response||i.responseText,o=1223===i.status?204:i.status;0===o&&(o=r?200:0),o>=200&&300>=o?e(r):n("Failed to load "+t)},i.onerror=function(){n("Failed to load "+t)},i.send(),r},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[]},e}(n.ResourceLoader),c=[s,{provide:r.COMPILER_OPTIONS,useValue:{providers:[{provide:n.ResourceLoader,useClass:u}]},multi:!0}];o="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:t:window;var l=o;l.assert=function(t){};var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(){if(t.call(this),this._cache=l.$templateCache,null==this._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.")}return p(e,t),e.prototype.get=function(t){return this._cache.hasOwnProperty(t)?Promise.resolve(this._cache[t]):Promise.reject("CachedResourceLoader: Did not find cached template for "+t)},e}(n.ResourceLoader),d={INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS:c,ResourceLoaderImpl:u},f=new r.Version("2.3.1"),m=[{provide:n.ResourceLoader,useClass:h}],y=r.createPlatformFactory(n.platformCoreDynamic,"browserDynamic",c);e.RESOURCE_CACHE_PROVIDER=m,e.platformBrowserDynamic=y,e.VERSION=f,e.__platform_browser_dynamic_private__=d})}).call(e,function(){return this}())},function(t,e,n){!function(t,r){r(e,n(3))}(this,function(t,e){"use strict";function n(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}function r(t){return null!=t}function i(t){return null==t}function o(t){return"object"==typeof t&&null!==t&&Object.getPrototypeOf(t)===Xi}function s(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString(),n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function a(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function u(t){return!a(t)}function c(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(t){if(":"!=t[0])return[null,t];var e=t.indexOf(":",1);if(-1==e)throw new Error('Unsupported format "'+t+'" expecting ":namespace:name"');return[t.slice(1,e),t.slice(e+1)]}function p(t){return null===t?null:l(t)[0]}function h(t,e){return t?":"+t+":"+e:e}function d(t){return Go[t.toLowerCase()]||qo}function f(t){return t.replace(ts,function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return t[1].toUpperCase()})}function m(t,e){return _(t,":",e)}function y(t,e){return _(t,".",e)}function _(t,e,n){var r=t.indexOf(e);return-1==r?n:[t.slice(0,r).trim(),t.slice(r+1).trim()]}function v(t,e,n){return Array.isArray(t)?e.visitArray(t,n):o(t)?e.visitStringMap(t,n):null==t||u(t)?e.visitPrimitive(t,n):e.visitOther(t,n)}function g(t){return t.replace(/\W/g,"_")}function w(t){if(!t||!t.reference)return null;var e=t.reference;if(e instanceof Zi)return e.name;if(e.__anonymousType)return e.__anonymousType;var n=s(e);return n.indexOf("(")>=0?(n="anonymous_"+ys++,e.__anonymousType=n):n=g(n),n}function b(t){var e=t.reference;return e instanceof Zi?e.filePath:So.importUri(e)}function M(t){return r(t.value)?g(t.value):w(t.identifier)}function E(t){return r(t.identifier)?t.identifier.reference:t.value}function S(t,n){var r=Jo.parse(n.selector)[0].getMatchingElementTemplate();return ws.create({isHost:!0,type:{reference:t,diDeps:[],lifecycleHooks:[]},template:new gs({encapsulation:e.ViewEncapsulation.None,template:r,templateUrl:"",styles:[],styleUrls:[],ngContentSelectors:[],animations:[]}),changeDetection:e.ChangeDetectionStrategy.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],viewQueries:[]})}function T(t){return t||[]}function C(t){return t>=Cs&&Ps>=t||t==Sa}function k(t){return t>=Qs&&ta>=t}function L(t){return t>=pa&&wa>=t||t>=ea&&oa>=t}function D(t){return t>=pa&&da>=t||t>=ea&&ra>=t||k(t)}function x(t,n){if(e.isDevMode()&&!i(n)){if(!Array.isArray(n))throw new Error("Expected '"+t+"' to be an array of strings.");for(var r=0;r<n.length;r+=1)if("string"!=typeof n[r])throw new Error("Expected '"+t+"' to be an array of strings.")}}function P(t,n){if(r(n)&&(!Array.isArray(n)||2!=n.length))throw new Error("Expected '"+t+"' to be an array, [start, end].");if(e.isDevMode()&&!i(n)){var o=n[0],s=n[1];Ca.forEach(function(t){if(t.test(o)||t.test(s))throw new Error("['"+o+"', '"+s+"'] contains unusable interpolation symbol.")})}}function O(t,e){return new ou(t,nu.Character,e,String.fromCharCode(e))}function A(t,e){return new ou(t,nu.Identifier,0,e)}function Y(t,e){return new ou(t,nu.Keyword,0,e)}function I(t,e){return new ou(t,nu.Operator,0,e)}function j(t,e){return new ou(t,nu.String,0,e)}function N(t,e){return new ou(t,nu.Number,e,"")}function R(t,e){return new ou(t,nu.Error,0,e)}function H(t){return t>=pa&&wa>=t||t>=ea&&oa>=t||t==la||t==Is}function V(t){if(0==t.length)return!1;var e=new au(t);if(!H(e.peek))return!1;for(e.advance();e.peek!==Ts;){if(!F(e.peek))return!1;e.advance()}return!0}function F(t){return L(t)||k(t)||t==la||t==Is}function B(t){return t==ha||t==na}function U(t){return t==Ws||t==Bs}function W(t){return t===Rs||t===As||t===Ta}function z(t){switch(t){case fa:return ks;case da:return Ds;case ma:return xs;case ya:return Cs;case va:return Ls;default:return t}}function G(t){var e=c(t.start)+"([\\s\\S]*?)"+c(t.end);return new RegExp(e,"g")}function q(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}function K(t,e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=La),new Pu(new fu(t,e),n,r,i).tokenize()}function J(t){var e=t===Ts?"EOF":String.fromCharCode(t);return'Unexpected character "'+e+'"'}function $(t){return'Unknown entity "'+t+'" - use the "&#<decimal>;" or  "&#x<hex>;" syntax'}function Z(t){return!C(t)||t===Ts}function X(t){return C(t)||t===Zs||t===Gs||t===Rs||t===As||t===$s}function Q(t){return(pa>t||t>wa)&&(ea>t||t>oa)&&(Qs>t||t>ta)}function tt(t){return t==Ks||t==Ts||!D(t)}function et(t){return t==Ks||t==Ts||!L(t)}function nt(t,e,n){var r=n?t.indexOf(n.start,e)==e:!1;return t.charCodeAt(e)==ba&&!r}function rt(t){return t===$s||L(t)}function it(t,e){return ot(t)==ot(e)}function ot(t){return t>=pa&&wa>=t?t-pa+ea:t}function st(t){for(var e,n=[],r=0;r<t.length;r++){var i=t[r];e&&e.type==Tu.TEXT&&i.type==Tu.TEXT?(e.parts[0]+=i.parts[0],e.sourceSpan.end=i.sourceSpan.end):(e=i,n.push(e))}return n}function at(t,e){return t.length>0&&t[t.length-1]===e}function ut(t){var e=new qu(Gu,t);return function(t,n,r){return e.toI18nMessage(t,n,r)}}function ct(t){return t.split(Ku)[1]}function lt(t,e,n,r){var i=new nc(n,r);return i.extract(t,e)}function pt(t,e,n,r,i){var o=new nc(r,i);return o.merge(t,e,n)}function ht(t){return t instanceof Eu&&t.value&&t.value.startsWith("i18n")}function dt(t){return t instanceof Eu&&t.value&&"/i18n"===t.value}function ft(t){return t.attrs.find(function(t){return t.name===Zu})||null}function mt(t){if(!t)return["",""];var e=t.indexOf("|");return-1==e?["",t]:[t.slice(0,e),t.slice(e+1)]}function yt(t){return ic}function _t(t){return wt(gt(t.nodes).join("")+("["+t.meaning+"]"))}function vt(t){var e=new lc,n=t.nodes.map(function(t){return t.visit(e,null)});return Et(n.join(""),t.meaning)}function gt(t){return t.map(function(t){return t.visit(cc,null)})}function wt(t){var e=Ct(t),n=Yt(e,pc.Big),r=8*e.length,i=new Array(80),o=[1732584193,4023233417,2562383102,271733878,3285377520],s=o[0],a=o[1],u=o[2],c=o[3],l=o[4];n[r>>5]|=128<<24-r%32,n[(r+64>>9<<4)+15]=r;for(var p=0;p<n.length;p+=16){for(var h=[s,a,u,c,l],d=h[0],f=h[1],m=h[2],y=h[3],_=h[4],v=0;80>v;v++){16>v?i[v]=n[p+v]:i[v]=Ot(i[v-3]^i[v-8]^i[v-14]^i[v-16],1);var g=bt(v,a,u,c),w=g[0],b=g[1],M=[Ot(s,5),w,l,b,i[v]].reduce(Lt);E=[c,u,Ot(a,30),s,M],l=E[0],c=E[1],u=E[2],a=E[3],s=E[4]}S=[Lt(s,d),Lt(a,f),Lt(u,m),Lt(c,y),Lt(l,_)],s=S[0],a=S[1],u=S[2],c=S[3],l=S[4]}return Ht(Nt([s,a,u,c,l]));var E,S}function bt(t,e,n,r){return 20>t?[e&n|~e&r,1518500249]:40>t?[e^n^r,1859775393]:60>t?[e&n|e&r|n&r,2400959708]:[e^n^r,3395469782]}function Mt(t){var e=Ct(t),n=[St(e,0),St(e,102072)],r=n[0],i=n[1];return 0!=r||0!=i&&1!=i||(r=319790063^r,i=-1801410264^i),[r,i]}function Et(t,e){var n=Mt(t),r=n[0],i=n[1];if(e){var o=Mt(e),s=o[0],a=o[1];u=xt(At([r,i],1),[s,a]),r=u[0],i=u[1]}return Vt(Nt([2147483647&r,i]));var u}function St(t,e){var n,r=[2654435769,2654435769],i=r[0],o=r[1],s=t.length;for(n=0;s>=n+12;n+=12)i=Lt(i,jt(t,n,pc.Little)),o=Lt(o,jt(t,n+4,pc.Little)),e=Lt(e,jt(t,n+8,pc.Little)),a=Tt([i,o,e]),i=a[0],o=a[1],e=a[2];return i=Lt(i,jt(t,n,pc.Little)),o=Lt(o,jt(t,n+4,pc.Little)),e=Lt(e,s),e=Lt(e,jt(t,n+8,pc.Little)<<8),Tt([i,o,e])[2];var a}function Tt(t){var e=t[0],n=t[1],r=t[2];return e=Pt(e,n),e=Pt(e,r),e^=r>>>13,n=Pt(n,r),n=Pt(n,e),n^=e<<8,r=Pt(r,e),r=Pt(r,n),r^=n>>>13,e=Pt(e,n),e=Pt(e,r),e^=r>>>12,n=Pt(n,r),n=Pt(n,e),n^=e<<16,r=Pt(r,e),r=Pt(r,n),r^=n>>>5,e=Pt(e,n),e=Pt(e,r),e^=r>>>3,n=Pt(n,r),n=Pt(n,e),n^=e<<10,r=Pt(r,e),r=Pt(r,n),r^=n>>>15,[e,n,r]}function Ct(t){for(var e="",n=0;n<t.length;n++){var r=kt(t,n);127>=r?e+=String.fromCharCode(r):2047>=r?e+=String.fromCharCode(192|r>>>6,128|63&r):65535>=r?e+=String.fromCharCode(224|r>>>12,128|r>>>6&63,128|63&r):2097151>=r&&(e+=String.fromCharCode(240|r>>>18,128|r>>>12&63,128|r>>>6&63,128|63&r))}return e}function kt(t,e){if(0>e||e>=t.length)throw new Error("index="+e+' is out of range in "'+t+'"');var n=t.charCodeAt(e);if(n>=55296&&57343>=n&&t.length>e+1){var r=It(t,e+1);if(r>=56320&&57343>=r)return 1024*(n-55296)+r-56320+65536}return n}function Lt(t,e){return Dt(t,e)[1]}function Dt(t,e){var n=(65535&t)+(65535&e),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function xt(t,e){var n=t[0],r=t[1],i=e[0],o=e[1],s=Dt(r,o),a=s[0],u=s[1],c=Lt(Lt(n,i),a);return[c,u]}function Pt(t,e){var n=(65535&t)-(65535&e),r=(t>>16)-(e>>16)+(n>>16);return r<<16|65535&n}function Ot(t,e){return t<<e|t>>>32-e}function At(t,e){var n=t[0],r=t[1],i=n<<e|r>>>32-e,o=r<<e|n>>>32-e;return[i,o]}function Yt(t,e){for(var n=Array(t.length+3>>>2),r=0;r<n.length;r++)n[r]=jt(t,4*r,e);return n}function It(t,e){return e>=t.length?0:255&t.charCodeAt(e)}function jt(t,e,n){var r=0;if(n===pc.Big)for(var i=0;4>i;i++)r+=It(t,e+i)<<24-8*i;else for(var i=0;4>i;i++)r+=It(t,e+i)<<8*i;return r}function Nt(t){return t.reduce(function(t,e){return t+Rt(e)},"")}function Rt(t){for(var e="",n=0;4>n;n++)e+=String.fromCharCode(t>>>8*(3-n)&255);return e}function Ht(t){for(var e="",n=0;n<t.length;n++){var r=It(t,n);e+=(r>>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}function Vt(t){for(var e="",n="1",r=t.length-1;r>=0;r--)e=Ft(e,Bt(It(t,r),n)),n=Bt(256,n);return e.split("").reverse().join("")}function Ft(t,e){for(var n="",r=Math.max(t.length,e.length),i=0,o=0;r>i||o;i++){var s=o+ +(t[i]||0)+ +(e[i]||0);s>=10?(o=1,n+=s-10):(o=0,n+=s)}return n}function Bt(t,e){for(var n="",r=e;0!==t;t>>>=1)1&t&&(n=Ft(n,r)),r=Ft(r,r);return n}function Ut(t){return t.map(function(t){return t.visit(fc)}).join("")}function Wt(t){return wc.reduce(function(t,e){return t.replace(e[0],e[1])},t)}function zt(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}function Gt(t){return vt(t)}function qt(t,e,n){return void 0===e&&(e=null),void 0===n&&(n="src"),null==e?"@angular/"+t+"/index":"@angular/"+t+"/"+n+"/"+e}function Kt(t){return So.resolveIdentifier(t.name,t.moduleUrl,t.runtime)}function Jt(t){var e=So.resolveIdentifier(t.name,t.moduleUrl,t.runtime);return{reference:e}}function $t(t){return{identifier:t}}function Zt(t){return $t(Jt(t))}function Xt(t,e){var n=So.resolveEnum(Kt(t),e);return{reference:n}}function Qt(t){var e=new ol;return new rl(q(e,t),e.isExpanded,e.errors)}function te(t,e){var n=t.cases.map(function(t){-1!=nl.indexOf(t.value)||t.value.match(/^=\d+$/)||e.push(new il(t.valueSourceSpan,'Plural cases should be "=<number>" or one of '+nl.join(", ")));var n=Qt(t.expression);return e.push.apply(e,n.errors),new Mu("template",[new bu("ngPluralCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new bu("[ngPlural]",t.switchValue,t.switchValueSourceSpan);return new Mu("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function ee(t,e){var n=t.cases.map(function(t){var n=Qt(t.expression);return e.push.apply(e,n.errors),"other"===t.value?new Mu("template",[new bu("ngSwitchDefault","",t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan):new Mu("template",[new bu("ngSwitchCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new bu("[ngSwitch]",t.switchValue,t.switchValueSourceSpan);return new Mu("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function ne(t,e){var n=e.useExisting,r=e.useValue,i=e.deps;return{token:t.token,useClass:t.useClass,useExisting:n,useFactory:t.useFactory,useValue:r,deps:i,multi:t.multi}}function re(t,e){var n=e.eager,r=e.providers;return new qi(t.token,t.multiProvider,t.eager||n,r,t.providerType,t.lifecycleHooks,t.sourceSpan)}function ie(t,e,n){var r=new Map;t.forEach(function(t){var i={token:{identifier:t.type},useClass:t.type};oe([i],t.isComponent?Ki.Component:Ki.Directive,!0,e,n,r)});var i=t.filter(function(t){return t.isComponent}).concat(t.filter(function(t){return!t.isComponent}));return i.forEach(function(t){oe(t.providers,Ki.PublicService,!1,e,n,r),oe(t.viewProviders,Ki.PrivateService,!1,e,n,r)}),r}function oe(t,e,n,i,o,s){t.forEach(function(t){var a=s.get(E(t.token));if(r(a)&&!!a.multiProvider!=!!t.multi&&o.push(new al("Mixing multi and non multi provider is not possible for token "+M(a.token),i)),a)t.multi||(a.providers.length=0),a.providers.push(t);else{var u=t.token.identifier&&t.token.identifier.lifecycleHooks?t.token.identifier.lifecycleHooks:[];a=new qi(t.token,t.multi,n||u.length>0,[t],e,u,i),s.set(E(t.token),a)}})}function se(t){var e=new Map;return r(t.viewQueries)&&t.viewQueries.forEach(function(t){return ue(e,t)}),e}function ae(t){var e=new Map;return t.forEach(function(t){r(t.queries)&&t.queries.forEach(function(t){return ue(e,t)})}),e}function ue(t,e){e.selectors.forEach(function(n){var r=t.get(E(n));r||(r=[],t.set(E(n),r)),r.push(e)})}function ce(t){if(i(t)||0===t.length||"/"==t[0])return!1;var e=t.match(fl);return null===e||"package"==e[1]||"asset"==e[1]}function le(t,e,n){var r=[],i=n.replace(dl,function(){for(var n=[],i=0;i<arguments.length;i++)n[i-0]=arguments[i];var o=n[1]||n[2];return ce(o)?(r.push(t.resolve(e,o)),""):n[0]});return new hl(i,r)}function pe(t){return"@"==t[0]}function he(t,n,r,i){var o=[];return Jo.parse(n).forEach(function(e){var n=e.element?[e.element]:t.allKnownElementNames(),s=new Set(e.notSelectors.filter(function(t){return t.isElementSelector()}).map(function(t){return t.element})),a=n.filter(function(t){return!s.has(t)});o.push.apply(o,a.map(function(e){return t.securityContext(e,r,i)}))}),0===o.length?[e.SecurityContext.NONE]:Array.from(new Set(o)).sort()}function de(t){var e=null,n=null,r=null,i=!1,o=null;t.attrs.forEach(function(t){var s=t.name.toLowerCase();s==Tl?e=t.value:s==Dl?n=t.value:s==Ll?r=t.value:t.name==Al?i=!0:t.name==Yl&&t.value.length>0&&(o=t.value)}),e=fe(e);var s=t.name.toLowerCase(),a=Il.OTHER;return l(s)[1]==Cl?a=Il.NG_CONTENT:s==Pl?a=Il.STYLE:s==Ol?a=Il.SCRIPT:s==kl&&r==xl&&(a=Il.STYLESHEET),new jl(a,e,n,i,o)}function fe(t){return null===t||0===t.length?"*":t}function me(t){return t.trim().split(/\s+/g)}function ye(t,e){var n=new Jo,r=l(t)[1];n.setElement(r);for(var i=0;i<e.length;i++){var o=e[i][0],s=l(o)[1],a=e[i][1];if(n.addAttribute(s,a),o.toLowerCase()==Xl){var u=me(a);u.forEach(function(t){return n.addClassName(t)})}}return n}function _e(t){return t instanceof vu&&0==t.value.trim().length}function ve(t){var e=new Map;return t.forEach(function(t){e.get(t.type.reference)||e.set(t.type.reference,t)}),Array.from(e.values())}function ge(){throw new Error("unimplemented")}function we(t,e,n){var r=Te(t.styles,{},e,n,!1),i=new bp(r),o=t.stateNameExpr.split(/\s*,\s*/);return o.map(function(t){return new _p(t,i)})}function be(t,e,n,r){var i=new kp,o=[],s=t.stateChangeExpr.split(/\s*,\s*/);s.forEach(function(t){o.push.apply(o,Ee(t,r))});var a=Se(t.steps),u=Ce(a,e,n,r),c=Pe(u,0,i,e,r);0==r.length&&Oe(c,i,r);var l=c instanceof Ep?c:new Tp([c]);return new gp(o,l)}function Me(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";default:return e.push(new Op('the transition alias value "'+t+'" is not supported')),"* => *"}}function Ee(t,e){var n=[];":"==t[0]&&(t=Me(t,e));var i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(!r(i)||i.length<4)return e.push(new Op("the provided "+t+" is not of a supported format")),n;var o=i[1],s=i[2],a=i[3];n.push(new vp(o,a));var u=o==Oo&&a==Oo;return"<"!=s[0]||u||n.push(new vp(a,o)),n}function Se(t){return Array.isArray(t)?new fs(t):t}function Te(t,e,n,r,i){var o=t.offset;(o>1||0>o)&&r.push(new Op("Offset values for animations must be between 0 and 1"));var s=[];return t.styles.forEach(function(t){if("string"==typeof t)i?s.push.apply(s,De(t,e,r)):r.push(new Op("State based animations cannot contain references to other states"));else{var o=t,a={};Object.keys(o).forEach(function(t){var e=n.normalizeAnimationStyleProperty(t),i=n.normalizeAnimationStyleValue(e,t,o[t]),s=i.error;s&&r.push(new Op(s)),a[e]=i.value}),s.push(a)}}),s}function Ce(t,e,n,r){var i=Le(t,e,n,r);return t instanceof ms?new ms(i):new fs(i)}function ke(t,e){if("object"==typeof e&&null!==e&&t.length>0){var n=t.length-1,r=t[n];if("object"==typeof r&&null!==r)return void(t[n]=to.merge(r,e))}t.push(e)}function Le(t,e,n,i){var o;if(!(t instanceof ds))return[t];o=t.steps;var s,a=[];return o.forEach(function(t){if(t instanceof ps)r(s)||(s=[]),Te(t,e,n,i,!0).forEach(function(t){ke(s,t)});else{if(r(s)&&(a.push(new ps(0,s)),s=null),t instanceof hs){var o=t.styles;o instanceof ps?o.styles=Te(o,e,n,i,!0):o instanceof ls&&o.steps.forEach(function(t){t.styles=Te(t,e,n,i,!0)})}else if(t instanceof ds){var u=Le(t,e,n,i);t=t instanceof ms?new ms(u):new fs(u)}a.push(t)}}),r(s)&&a.push(new ps(0,s)),a}function De(t,e,n){var i=[];if(":"!=t[0])n.push(new Op('Animation states via styles must be prefixed with a ":"'));else{var o=t.substring(1),s=e[o];r(s)?s.styles.forEach(function(t){"object"==typeof t&&null!==t&&i.push(t)}):n.push(new Op('Unable to apply styles due to missing a state: "'+o+'"'))}return i}function xe(t,e,n,i,o){var s=t.steps.length,a=0;t.steps.forEach(function(t){return a+=r(t.offset)?1:0}),a>0&&s>a&&(o.push(new Op("Not all style() entries contain an offset for the provided keyframe()")),a=s);var u=s-1,c=0==a?1/u:0,l=[],p=0,h=!1,d=0;t.steps.forEach(function(t){var e=t.offset,n={};t.styles.forEach(function(t){Object.keys(t).forEach(function(e){"offset"!=e&&(n[e]=t[e])})}),r(e)?h=h||d>e:e=p==u?xp:c*p,l.push([e,n]),d=e,p++}),h&&l.sort(function(t,e){return t[0]<=e[0]?-1:1});var f=l[0];f[0]!=Dp&&l.splice(0,0,f=[Dp,{}]);var m=f[1];u=l.length-1;var y=l[u];y[0]!=xp&&(l.push(y=[xp,{}]),u++);for(var _=y[1],v=1;u>=v;v++){var g=l[v],w=g[1];Object.keys(w).forEach(function(t){r(m[t])||(m[t]=Io)})}for(var b=function(t){var e=l[t],n=e[1];Object.keys(n).forEach(function(t){r(_[t])||(_[t]=n[t])})},v=u-1;v>=0;v--)b(v);return l.map(function(t){return new Mp(t[0],new bp([t[1]]))})}function Pe(t,e,n,i,o){var s,a=0,u=e;if(t instanceof ds){var c,l=0,p=[],h=t instanceof ms;if(t.steps.forEach(function(t){var s=h?u:e;if(t instanceof ps)return t.styles.forEach(function(t){var e=t;Object.keys(e).forEach(function(t){n.insertAtTime(t,s,e[t])})}),void(c=t.styles);var d=Pe(t,s,n,i,o);if(r(c)){if(t instanceof ds){var f=new bp(c);p.push(new wp(f,[],0,0,""))}else{var m=d;(_=m.startingStyles.styles).push.apply(_,c)}c=null}var y=d.playTime;e+=y,a+=y,l=Math.max(y,l),p.push(d);var _}),r(c)){var d=new bp(c);p.push(new wp(d,[],0,0,""))}h?(s=new Sp(p),a=l,e=u+a):s=new Tp(p)}else if(t instanceof hs){var f=Ae(t.timings,o),m=t.styles,y=void 0;if(m instanceof ls)y=xe(m,e,n,i,o);else{var _=m,v=xp,g=new bp(_.styles),w=new Mp(v,g);y=[w]}s=new wp(new bp([]),y,f.duration,f.delay,f.easing),a=f.duration+f.delay,e+=a,y.forEach(function(t){return t.styles.styles.forEach(function(t){return Object.keys(t).forEach(function(r){n.insertAtTime(r,e,t[r])})})})}else s=new wp(null,[],0,0,"");return s.playTime=a,s.startTime=u,s}function Oe(t,e,n){if(t instanceof wp&&t.keyframes.length>0){var r=t.keyframes;if(1==r.length){var i=r[0],o=Ye(i,t.startTime,t.playTime,e,n);t.keyframes=[o,i]}}else t instanceof Ep&&t.steps.forEach(function(t){return Oe(t,e,n)})}function Ae(t,e){var n,o=/^([\.\d]+)(m?s)(?:\s+([\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?/i,s=0,a=null;if("string"==typeof t){var u=t.match(o);if(null===u)return e.push(new Op('The provided timing value "'+t+'" is invalid.')),new Ip(0,0,null);var c=parseFloat(u[1]),l=u[2];"s"==l&&(c*=Pp),n=Math.floor(c);var p=u[3],h=u[4];if(r(p)){var d=parseFloat(p);r(h)&&"s"==h&&(d*=Pp),s=Math.floor(d)}var f=u[5];i(f)||(a=f)}else n=t;return new Ip(n,s,a)}function Ye(t,e,n,i,o){var s={},a=e+n;return t.styles.styles.forEach(function(t){Object.keys(t).forEach(function(n){var u=t[n];if("offset"!=n){var c,l,p,h=i.indexOfAtOrBeforeTime(n,e);r(h)?(c=i.getByIndex(n,h),p=c.value,l=i.getByIndex(n,h+1)):p=Io,r(l)&&!l.matches(a,u)&&o.push(new Op('The animated CSS property "'+n+'" unexpectedly changes between steps "'+c.time+'ms" and "'+a+'ms" at "'+l.time+'ms"')),s[n]=p}})}),new Mp(Dp,new bp([s]))}function Ie(){return new Rp}function je(){return new Rp(".")}function Ne(t){var e=He(t);return e&&e[Vp.Scheme]||""}function Re(t,e,n,i,o,s,a){var u=[];return r(t)&&u.push(t+":"),r(n)&&(u.push("//"),r(e)&&u.push(e+"@"),u.push(n),r(i)&&u.push(":"+i)),r(o)&&u.push(o),r(s)&&u.push("?"+s),r(a)&&u.push("#"+a),u.join("")}function He(t){return t.match(Hp)}function Ve(t){if("/"==t)return"/";for(var e="/"==t[0]?"/":"",n="/"===t[t.length-1]?"/":"",r=t.split("/"),i=[],o=0,s=0;s<r.length;s++){var a=r[s];switch(a){case"":case".":break;case"..":i.length>0?i.pop():o++;break;default:i.push(a)}}if(""==e){for(;o-->0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}function Fe(t){var e=t[Vp.Path];return e=i(e)?"":Ve(e),t[Vp.Path]=e,Re(t[Vp.Scheme],t[Vp.UserInfo],t[Vp.Domain],t[Vp.Port],e,t[Vp.QueryData],t[Vp.Fragment])}function Be(t,e){var n=He(encodeURI(e)),o=He(t);if(r(n[Vp.Scheme]))return Fe(n);n[Vp.Scheme]=o[Vp.Scheme];for(var s=Vp.Scheme;s<=Vp.Port;s++)i(n[s])&&(n[s]=o[s]);if("/"==n[Vp.Path][0])return Fe(n);var a=o[Vp.Path];i(a)&&(a="/");var u=a.lastIndexOf("/");return a=a.substring(0,u+1)+n[Vp.Path],n[Vp.Path]=a,Fe(n)}function Ue(t){return t instanceof e.Directive}function We(t,e,n){var r=new Kh(t,e);return n.visitExpression(r,null)}function ze(t){var e=new Jh;return e.visitAllStatements(t,null),e.varNames}function Ge(t,e){return void 0===e&&(e=null),new ah(t,e)}function qe(t,e){return void 0===e&&(e=null),new yh(t,null,e)}function Ke(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),r(t)?Je(qe(t),e,n):null}function Je(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),r(t)?new Jp(t,e,n):null}function $e(t,e){return void 0===e&&(e=null),new Th(t,e)}function Ze(t,e){return void 0===e&&(e=null),new kh(t.map(function(t){return new Ch(t[0],t[1])}),e)}function Xe(t){return new vh(t)}function Qe(t,e,n){return void 0===n&&(n=null),new bh(t,e,n)}function tn(t,e){return void 0===e&&(e=null),new mh(t,e)}function en(t){var e=""+t.fields.length,n=rn(e);return t.fields.push(new Hh(n.name,null,[Oh.Private])),t.ctorStmts.push(Lh.prop(n.name).set(qe(Jt(tl.UNINITIALIZED))).toStmt()),new $h(n,e)}function nn(t,e,n,r){var i=qe(Jt(tl.checkBinding)).callFn([n,e,t.currValExpr]);return t.forceUpdate&&(i=t.forceUpdate.or(i)),t.stmts.concat([new Uh(i,r.concat([Lh.prop(e.name).set(t.currValExpr).toStmt()]))])}function rn(t){return Lh.prop("_expr_"+t)}function on(t){return r(t.value)?tn(t.value):qe(t.identifier)}function sn(t){if(0===t.length)return qe(Jt(tl.EMPTY_INLINE_ARRAY));var e=Math.log(t.length)/Math.log(2),n=Math.ceil(e),r=n<tl.inlineArrays.length?tl.inlineArrays[n]:tl.InlineArrayDynamic,i=Jt(r);return qe(i).instantiate([tn(t.length)].concat(t))}function an(t,e,n,r){r.fields.push(new Hh(n.name,null));var i=e<tl.pureProxies.length?tl.pureProxies[e]:null;if(!i)throw new Error("Unsupported number of argument for pure functions: "+e);r.ctorStmts.push(Lh.prop(n.name).set(qe(Jt(i)).callFn([t])).toStmt())}function un(t,e){var n=Object.keys(t.runtime).find(function(n){return t.runtime[n]===e});if(!n)throw new Error("Unknown enum value "+e+" in "+t.name);return qe(Xt(t,n))}function cn(t,e,n,r,i){var o=bn(i),s=[];e||(e=new rd);var a=new nd(t,e,n,Zh,i,!1),u=r.visit(a,ed.Expression);if(!u)return null;if(a.temporaryCount)for(var c=0;c<a.temporaryCount;c++)s.push(dn(i,c));if(a.needsValueUnwrapper){var l=Zh.callMethod("reset",[]).toStmt();s.push(l)}return s.push(o.set(u).toDeclStmt(null,[Oh.Final])),a.needsValueUnwrapper?new Qh(s,o,Zh.prop("hasWrappedValue")):new Qh(s,o,null)}function ln(t,e,n,r,i){e||(e=new rd);var o=new nd(t,e,n,null,i,!0),s=[];vn(r.visit(o,ed.Statement),s),fn(o.temporaryCount,i,s);var a=s.length-1,u=null;if(a>=0){var c=s[a],l=En(c);l&&(u=Mn(i),s[a]=u.set(l.cast(Xp).notIdentical(tn(!1))).toDeclStmt(null,[Oh.Final]))}return new td(s,u)}function pn(t){var e=[],n=ze(t);return n.has(Zh.name)&&e.push(Zh.set(qe(Jt(tl.ValueUnwrapper)).instantiate([])).toDeclStmt(null,[Oh.Final])),e}function hn(t,e){return"tmp_"+t+"_"+e}function dn(t,e){return new Yh(hn(t,e),xh)}function fn(t,e,n){for(var r=t-1;r>=0;r--)n.unshift(dn(e,r))}function mn(t,e){if(t!==ed.Statement)throw new Error("Expected a statement, but saw "+e)}function yn(t,e){if(t!==ed.Expression)throw new Error("Expected an expression, but saw "+e)}function _n(t,e){return t===ed.Statement?e.toStmt():e}function vn(t,e){Array.isArray(t)?t.forEach(function(t){return vn(t,e)}):e.push(t)}function gn(t,e){if(0===e.length)return qe(Jt(tl.EMPTY_ARRAY));for(var n=Lh.prop("_arr_"+t.fields.length),r=[],i=[],o=0;o<e.length;o++){var s="p"+o;r.push(new wh(s)),i.push(Ge(s))}return an(Qe(r,[new Nh($e(i))],new $p(Xp)),e.length,n,t),n.callFn(e)}function wn(t,e){if(0===e.length)return qe(Jt(tl.EMPTY_MAP));for(var n=Lh.prop("_map_"+t.fields.length),r=[],i=[],o=[],s=0;s<e.length;s++){var a="p"+s;r.push(new wh(a)),i.push([e[s][0],Ge(a)]),o.push(e[s][1])}return an(Qe(r,[new Nh(Ze(i))],new Zp(Xp)),e.length,n,t),n.callFn(o)}function bn(t){return Ge("currVal_"+t)}function Mn(t){return Ge("pd_"+t)}function En(t){return t instanceof jh?t.expr:t instanceof Nh?t.value:null}function Sn(t,e,n,i,o,s){var a=[],u=t.prop("renderer");switch(i=Tn(t,e,i,s),e.type){case $i.Property:o&&a.push(qe(Jt(tl.setBindingDebugInfo)).callFn([u,n,tn(e.name),i]).toStmt()),a.push(u.callMethod("setElementProperty",[n,tn(e.name),i]).toStmt());break;case $i.Attribute:i=i.isBlank().conditional(xh,i.callMethod("toString",[])),a.push(u.callMethod("setElementAttribute",[n,tn(e.name),i]).toStmt());break;case $i.Class:a.push(u.callMethod("setElementClass",[n,tn(e.name),i]).toStmt());break;case $i.Style:var c=i.callMethod("toString",[]);r(e.unit)&&(c=c.plus(tn(e.unit))),i=i.isBlank().conditional(xh,c),a.push(u.callMethod("setElementStyle",[n,tn(e.name),i]).toStmt());break;case $i.Animation:throw new Error("Illegal state: Should not come here!")}return a}function Tn(t,n,r,i){if(n.securityContext===e.SecurityContext.NONE)return r;if(n.needsRuntimeSecurityContext||(i=un(tl.SecurityContext,n.securityContext)),!i)throw new Error("internal error, no SecurityContext given "+n.name);var o=t.prop("viewUtils").prop("sanitizer"),s=[i,r];return o.callMethod("sanitize",s)}function Cn(t,e,n,r,i,o,s,a){var u=[],c=[],l=n.name,p=e.prop("componentType").prop("animations").key(tn(l)),h=tn(Yo),d=qe(Jt(tl.UNINITIALIZED)),f=Ge("animationTransition_"+l);c.push(f.set(p.callFn([t,o,a.equals(d).conditional(h,a),s.equals(d).conditional(h,s)])).toDeclStmt()),u.push(f.set(p.callFn([t,o,a,h])).toDeclStmt());var m=[],y=r.find(function(t){return t.isAnimation&&t.name==l&&"start"==t.phase});y&&m.push(f.callMethod("onStart",[i.callMethod(ph.Bind,[t,tn(Vi.calcFullName(l,null,"start"))])]).toStmt());var _=r.find(function(t){return t.isAnimation&&t.name==l&&"done"==t.phase});return _&&m.push(f.callMethod("onDone",[i.callMethod(ph.Bind,[t,tn(Vi.calcFullName(l,null,"done"))])]).toStmt()),c.push.apply(c,m),u.push.apply(u,m),{updateStmts:c,detachStmts:u}}function kn(t){var e=t.parentArgs||[],n=t.parent?[Dh.callFn(e).toStmt()]:[],r=Ln(Array.isArray(t.builders)?t.builders:[t.builders]),i=new Vh(null,t.ctorParams||[],n.concat(r.ctorStmts));return new Bh(t.name,t.parent,r.fields,r.getters,i,r.methods,t.modifiers||[])}function Ln(t){return{fields:(e=[]).concat.apply(e,t.map(function(t){return t.fields||[]})),methods:(n=[]).concat.apply(n,t.map(function(t){return t.methods||[]})),getters:(r=[]).concat.apply(r,t.map(function(t){return t.getters||[]})),ctorStmts:(i=[]).concat.apply(i,t.map(function(t){return t.ctorStmts||[]}))};var e,n,r,i}function Dn(t){var e=Ge("changed"),n=[e.set(Lh.prop(ad)).toDeclStmt(),Lh.prop(ad).set(tn(!1)).toStmt()],r=[];if(t.genChanges){var i=[];t.ngOnChanges&&i.push(Lh.prop(od).callMethod("ngOnChanges",[Lh.prop(sd)]).toStmt()),t.compilerConfig.logBindingUpdate&&i.push(qe(Jt(tl.setBindingDebugInfoForChanges)).callFn([hd.prop("renderer"),fd,Lh.prop(sd)]).toStmt()),i.push(yd),r.push(new Uh(e,i))}t.ngOnInit&&r.push(new Uh(hd.prop("numberOfChecks").identical(new mh(0)),[Lh.prop(od).callMethod("ngOnInit",[]).toStmt()])),t.ngDoCheck&&r.push(Lh.prop(od).callMethod("ngDoCheck",[]).toStmt()),r.length>0&&n.push(new Uh(Xe(ld),r)),n.push(new Nh(e)),t.methods.push(new Vh("ngDoCheck",[new wh(hd.name,Ke(Jt(tl.AppView),[Xp])),new wh(fd.name,Xp),new wh(ld.name,Qp)],n,Qp))}function xn(t,e){var n=en(e),r=[Lh.prop(ad).set(tn(!0)).toStmt(),Lh.prop(od).prop(t).set(cd).toStmt()];e.genChanges&&r.push(Lh.prop(sd).key(tn(t)).set(qe(Jt(tl.SimpleChange)).instantiate([n.expression,cd])).toStmt());var i=nn({currValExpr:cd,forceUpdate:pd,stmts:[]},n.expression,ld,r);e.methods.push(new Vh("check_"+t,[new wh(cd.name,Xp),new wh(ld.name,Qp),new wh(pd.name,Qp)],i))}function Pn(t,e,n){var r=[],i=[new wh(hd.name,Ke(Jt(tl.AppView),[Xp])),new wh(dd.name,Ke(Jt(tl.AppView),[Xp])),new wh(fd.name,Xp),new wh(ld.name,Qp)];t.forEach(function(t,o){var s=en(n),a=cn(n,null,Lh.prop(od),t.value,s.bindingId);if(a){var u;t.needsRuntimeSecurityContext&&(u=Ge("secCtx_"+i.length),i.push(new wh(u.name,Ke(Jt(tl.SecurityContext)))));var c;if(t.isAnimation){var l=Cn(hd,dd,t,e,Lh.prop(ud).or(qe(Jt(tl.noop))),fd,a.currValExpr,s.expression),p=l.updateStmts,h=l.detachStmts;c=p,(d=n.detachStmts).push.apply(d,h)}else c=Sn(hd,t,fd,a.currValExpr,n.compilerConfig.logBindingUpdate,u);r.push.apply(r,nn(a,s.expression,ld,c));var d}}),n.methods.push(new Vh("checkHost",i,r))}function On(t,e){var n=Ge("result"),r=[n.set(tn(!0)).toDeclStmt(Qp)];t.forEach(function(t,i){var o=ln(e,null,Lh.prop(od),t.handler,"sub_"+i),s=o.stmts;o.preventDefault&&s.push(n.set(o.preventDefault.and(n)).toStmt()),
r.push(new Uh(md.equals(tn(t.fullName)),s))}),r.push(new Nh(n)),e.methods.push(new Vh("handleEvent",[new wh(md.name,eh),new wh(Xh.event.name,Xp)],r,Qp))}function An(t,e){var n=[new wh(hd.name,Ke(Jt(tl.AppView),[Xp])),new wh(ud,Xp)],r=[Lh.prop(ud).set(Ge(ud)).toStmt()];Object.keys(t.outputs).forEach(function(i,o){var s=t.outputs[i],a="emit"+o;n.push(new wh(a,Qp));var u="subscription"+o;e.fields.push(new Hh(u,Xp)),r.push(new Uh(Ge(a),[Lh.prop(u).set(Lh.prop(od).prop(i).callMethod(ph.SubscribeObservable,[Ge(ud).callMethod(ph.Bind,[hd,tn(s)])])).toStmt()])),e.destroyStmts.push(Lh.prop(u).and(Lh.prop(u).callMethod("unsubscribe",[])).toStmt())}),e.methods.push(new Vh("subscribe",n,r))}function Yn(t,e,n){var r=[],i=new El(e,La,n,[],r),o=b(t.type),s=o?"in Directive "+w(t.type)+" in "+o:"in Directive "+w(t.type),a=new fu("",s),u=new mu(new du(a,null,null,null),new du(a,null,null,null)),c=i.createDirectiveHostPropertyAsts(t.toSummary(),u),l=i.createDirectiveHostEventAsts(t.toSummary(),u);return new gd(c,l,r)}function In(t,e){var n=t.filter(function(t){return t.level===yu.WARNING}),r=t.filter(function(t){return t.level===yu.FATAL});if(n.length>0&&this._console.warn("Directive parse warnings:\n"+n.join("\n")),r.length>0)throw new Error("Directive parse errors:\n"+r.join("\n"))}function jn(t,e){return So.hasLifecycleHook(e,Nn(t))}function Nn(t){switch(t){case io.OnInit:return"ngOnInit";case io.OnDestroy:return"ngOnDestroy";case io.DoCheck:return"ngDoCheck";case io.OnChanges:return"ngOnChanges";case io.AfterContentInit:return"ngAfterContentInit";case io.AfterContentChecked:return"ngAfterContentChecked";case io.AfterViewInit:return"ngAfterViewInit";case io.AfterViewChecked:return"ngAfterViewChecked"}}function Rn(t){return t instanceof e.NgModule}function Hn(t){return t instanceof e.Pipe}function Vn(t,n){if(void 0===n&&(n=[]),t)for(var r=0;r<t.length;r++){var i=e.resolveForwardRef(t[r]);Array.isArray(i)?Vn(i,n):n.push(i)}return n}function Fn(t){return t?Array.from(new Set(t)):[]}function Bn(t){return Fn(Vn(t))}function Un(t){return t instanceof Zi||t instanceof e.Type}function Wn(t,e,n){if(e instanceof Zi)return e.filePath;var r=n.moduleId;if("string"==typeof r){var i=Ne(r);return i?r:"package:"+r+Qo}if(null!==r&&void 0!==r)throw new Error('moduleId should be a string in "'+s(e)+"\". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.");return t.importUri(e)}function zn(t,e){v(t,new kd,e)}function Gn(t,e){return void 0===e&&(e=null),v(t,new Dd,e)}function qn(t,e,n){if(void 0===n&&(n=!0),i(t))return null;var r=t.replace(jd,function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];return"$"==t[0]?e?"\\$":"$":"\n"==t[0]?"\\n":"\r"==t[0]?"\\r":"\\"+t[0]}),o=n||!Nd.test(r);return o?"'"+r+"'":r}function Kn(t){for(var e="",n=0;t>n;n++)e+="  ";return e}function Jn(t){var e=new Gd(Wd),n=Fd.createRoot([]),r=Array.isArray(t)?t:[t];return r.forEach(function(t){if(t instanceof Ah)t.visitStatement(e,n);else if(t instanceof oh)t.visitExpression(e,n);else{if(!(t instanceof Gp))throw new Error("Don't know how to print debug info for "+t);t.visitType(e,n)}}),n.toSource()}function $n(t,e){for(var n=0,r=e;n<r.length;n++){var i=r[n];qd[i.toLowerCase()]=t}}function Zn(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}function Xn(t){return t.replace(bf,"")}function Qn(t){var e=t.match(Mf);return e?e[0]:""}function tr(t,e){var n=er(t),r=0;return n.escapedString.replace(Ef,function(){for(var t=[],i=0;i<arguments.length;i++)t[i-0]=arguments[i];var o=t[2],s="",a=t[4],u="";a&&a.startsWith("{"+kf)&&(s=n.blocks[r++],a=a.substring(kf.length+1),u="{");var c=e(new Lf(o,s));return""+t[1]+c.selector+t[3]+u+c.content+a})}function er(t){for(var e=t.split(Sf),n=[],r=[],i=0,o=[],s=0;s<e.length;s++){var a=e[s];a==Cf&&i--,i>0?o.push(a):(o.length>0&&(r.push(o.join("")),n.push(kf),o=[]),n.push(a)),a==Tf&&i++}return o.length>0&&(r.push(o.join("")),n.push(kf)),new Df(n.join(""),r)}function nr(t){var e="styles";return t&&(e+="_"+w(t.type)),e}function rr(t,e,n){if(e===n)return t;for(var i=Lh,o=e;o!==n&&r(o.declarationElement.view);)o=o.declarationElement.view,i=i.prop("parentView");if(o!==n)throw new Error("Internal error: Could not calculate a property in a parent view: "+t);return t.visitExpression(new Ff(i,n),null)}function ir(t,e,n){var r;r=t.viewType===mo.HOST?Lh:Lh.prop("parentView");var i=[on(e),Lh.prop("parentIndex")];return n&&i.push(xh),r.callMethod("injectorGet",i)}function or(t,e){return"View_"+w(t.type)+e}function sr(t){return"handleEvent_"+t}function ar(t){return eo.flatten(t.values.map(function(t){return t instanceof Bf?ur(t.view.declarationElement.viewContainer,t.view,ar(t)):t}))}function ur(t,e,n){var r=n.map(function(t){return We(Lh.name,Ge("nestedView"),t)});return t.callMethod("mapNestedViews",[Ge(e.className),Qe([new wh("nestedView",e.classType)],[new Nh($e(r))],Xp)])}function cr(t,e,n,r){r.fields.push(new Hh(n,Ke(Jt(tl.QueryList),[Xp])));var i=Lh.prop(n);return r.createMethod.addStmt(Lh.prop(n).set(qe(Jt(tl.QueryList),[Xp]).instantiate([])).toStmt()),i}function lr(t,e){e.meta.selectors.forEach(function(n){var r=t.get(E(n));r||(r=[],t.set(E(n),r)),r.push(e)})}function pr(t,e,n,r){var i;return i=e>0?tn(t).lowerEquals(Jf.requestNodeIndex).and(Jf.requestNodeIndex.lowerEquals(tn(t+e))):tn(t).identical(Jf.requestNodeIndex),new Uh(Jf.token.identical(on(n.token)).and(i),[new Nh(r)])}function hr(t,e,n,r,i,o){var s,a,u=o.view;if(r?(s=$e(n),a=new $p(Xp)):(s=n[0],a=n[0].type),a||(a=Xp),i)u.fields.push(new Hh(t,a)),u.createMethod.addStmt(Lh.prop(t).set(s).toStmt());else{var c="_"+t;u.fields.push(new Hh(c,a));var l=new Hf(u);l.resetDebugInfo(o.nodeIndex,o.sourceAst),l.addStmt(new Uh(Lh.prop(c).isBlank(),[Lh.prop(c).set(s).toStmt()])),l.addStmt(new Nh(Lh.prop(c))),u.getters.push(new Fh(t,l.finish(),a))}return Lh.prop(t)}function dr(t,e){for(var n=null,r=t.pipeMetas.length-1;r>=0;r--){var i=t.pipeMetas[r];if(i.name==e){n=i;break}}if(!n)throw new Error("Illegal state: Could not find pipe "+e+" although the parser should have detected this error!");return n}function fr(t,e){return e>0?mo.EMBEDDED:t.isHost?mo.HOST:mo.COMPONENT}function mr(t,e,n,r){var i=yr(t,e);return i.size?(r&&_r(i,n),vr(i,e,n),gr(t,e,n),!0):!1}function yr(t,e){var n=new Map;return t.forEach(function(t){n.set(t.fullName,t)}),e.forEach(function(t){t.hostEvents.forEach(function(t){n.set(t.fullName,t)})}),n}function _r(t,e){var n=[];if(t.forEach(function(t){t.phase||n.push(tn(t.name),tn(t.target))}),n.length){var r=Ge("disposable_"+e.view.disposables.length);e.view.disposables.push(r),e.view.createMethod.addStmt(r.set(qe(Jt(tl.subscribeToRenderElement)).callFn([Lh,e.renderNode,sn(n),wr(e)])).toDeclStmt(nh,[Oh.Private]))}}function vr(t,e,n){var r=Array.from(t.keys());e.forEach(function(t){var e=n.directiveWrapperInstance.get(t.directive.type.reference);n.view.createMethod.addStmts(wd.subscribe(t.directive,t.hostProperties,r,e,Lh,wr(n)))})}function gr(t,e,n){var r=e.some(function(t){return t.hostEvents.some(function(e){return t.directive.isComponent})}),i=r?n.compViewExpr:Lh,o=new Hf(n.view);o.resetDebugInfo(n.nodeIndex,n.sourceAst),o.push(i.callMethod("markPathToRootAsCheckOnce",[]).toStmt());var s=Ge("eventName"),a=Ge("result");o.push(a.set(tn(!0)).toDeclStmt(Qp)),e.forEach(function(t,e){var r=n.directiveWrapperInstance.get(t.directive.type.reference);t.hostEvents.length>0&&o.push(a.set(wd.handleEvent(t.hostEvents,r,s,Xh.event).and(a)).toStmt())}),t.forEach(function(t,e){var r=ln(n.view,n.view,n.view.componentContext,t.handler,"sub_"+e),i=r.stmts;r.preventDefault&&i.push(a.set(r.preventDefault.and(a)).toStmt()),o.push(new Uh(s.equals(tn(t.fullName)),i))}),o.push(new Nh(a)),n.view.methods.push(new Vh(sr(n.nodeIndex),[new wh(s.name,eh),new wh(Xh.event.name,Xp)],o.finish(),Qp))}function wr(t){var e=sr(t.nodeIndex);return Lh.callMethod("eventHandler",[Lh.prop(e)])}function br(t,e,n){var r=n.view,i=t.type.lifecycleHooks,o=r.afterContentLifecycleCallbacksMethod;o.resetDebugInfo(n.nodeIndex,n.sourceAst),-1!==i.indexOf(io.AfterContentInit)&&o.addStmt(new Uh(um,[e.callMethod("ngAfterContentInit",[]).toStmt()])),-1!==i.indexOf(io.AfterContentChecked)&&o.addStmt(e.callMethod("ngAfterContentChecked",[]).toStmt())}function Mr(t,e,n){var r=n.view,i=t.type.lifecycleHooks,o=r.afterViewLifecycleCallbacksMethod;o.resetDebugInfo(n.nodeIndex,n.sourceAst),-1!==i.indexOf(io.AfterViewInit)&&o.addStmt(new Uh(um,[e.callMethod("ngAfterViewInit",[]).toStmt()])),-1!==i.indexOf(io.AfterViewChecked)&&o.addStmt(e.callMethod("ngAfterViewChecked",[]).toStmt())}function Er(t,e,n){n.view.destroyMethod.addStmts(wd.ngOnDestroy(t.directive,e)),n.view.detachMethod.addStmts(wd.ngOnDetach(t.hostProperties,e,Lh,n.compViewExpr||Lh,n.renderNode))}function Sr(t,e,n){var r=n.view.destroyMethod;r.resetDebugInfo(n.nodeIndex,n.sourceAst),t.providerType!==Ki.Directive&&t.providerType!==Ki.Component&&-1!==t.lifecycleHooks.indexOf(io.OnDestroy)&&r.addStmt(e.callMethod("ngOnDestroy",[]).toStmt())}function Tr(t,e,n){var r=n.destroyMethod;-1!==t.type.lifecycleHooks.indexOf(io.OnDestroy)&&r.addStmt(e.callMethod("ngOnDestroy",[]).toStmt())}function Cr(t,e,n){var r=en(n),i=cn(n,n,n.componentContext,t.value,r.bindingId);return i?(n.detectChangesRenderPropertiesMethod.resetDebugInfo(e.nodeIndex,t),void n.detectChangesRenderPropertiesMethod.addStmts(nn(i,r.expression,$f.throwOnChange,[Lh.prop("renderer").callMethod("setText",[e.renderNode,i.currValExpr]).toStmt()]))):null}function kr(t,e,n,r){var i=r.view,o=r.renderNode;t.forEach(function(t){var s=en(i);i.detectChangesRenderPropertiesMethod.resetDebugInfo(r.nodeIndex,t);var a=cn(i,i,r.view.componentContext,t.value,s.bindingId);if(a){var u=[],c=i.detectChangesRenderPropertiesMethod;switch(t.type){case $i.Property:case $i.Attribute:case $i.Class:case $i.Style:u.push.apply(u,Sn(Lh,t,o,a.currValExpr,i.genConfig.logBindingUpdate));break;case $i.Animation:c=i.animationBindingsMethod;var l=Cn(Lh,Lh,t,e,(n?Lh.prop(sr(r.nodeIndex)):qe(Jt(tl.noop))).callMethod(ph.Bind,[Lh]),r.renderNode,a.currValExpr,s.expression),p=l.updateStmts,h=l.detachStmts;u.push.apply(u,p),i.detachMethod.addStmts(h)}c.addStmts(nn(a,s.expression,$f.throwOnChange,u))}})}function Lr(t,e,n,r,i){var o=t.hostProperties.filter(function(t){return t.needsRuntimeSecurityContext}).map(function(t){var e;switch(t.type){case $i.Property:e=i.securityContext(r,t.name,!1);break;case $i.Attribute:e=i.securityContext(r,t.name,!0);break;default:throw new Error("Illegal state: Only property / attribute bindings can have an unknown security context! Binding "+t.name)}return un(tl.SecurityContext,e)});n.view.detectChangesRenderPropertiesMethod.addStmts(wd.checkHost(t.hostProperties,e,Lh,n.compViewExpr||Lh,n.renderNode,$f.throwOnChange,o))}function Dr(t,e,n,r){var i=r.view,o=i.detectChangesInInputsMethod;o.resetDebugInfo(r.nodeIndex,r.sourceAst),t.inputs.forEach(function(t,s){var a=r.nodeIndex+"_"+n+"_"+s;o.resetDebugInfo(r.nodeIndex,t);var u=cn(i,i,i.componentContext,t.value,a);u&&(o.addStmts(u.stmts),o.addStmt(e.callMethod("check_"+t.directiveName,[u.currValExpr,$f.throwOnChange,u.forceUpdate||tn(!1)]).toStmt()))});var s=t.directive.isComponent&&!no(t.directive.changeDetection),a=wd.ngDoCheck(e,Lh,r.renderNode,$f.throwOnChange),u=s?new Uh(a,[r.compViewExpr.callMethod("markAsCheckOnce",[]).toStmt()]):a.toStmt();o.addStmt(u)}function xr(t,e,r){var i=new cm(t,r);n(i,e),t.pipes.forEach(function(t){Tr(t.meta,t.instance,t.view)})}function Pr(t,e,r){var i=new ym(t,r),o=t.declarationElement.isNull()?t.declarationElement:t.declarationElement.parent;return n(i,e,o),(t.viewType===mo.EMBEDDED||t.viewType===mo.HOST)&&(t.lastRenderNode=i.getOrCreateLastRenderNode()),i.nestedViewCount}function Or(t,e){t.afterNodes(),Hr(t,e),t.nodes.forEach(function(t){t instanceof nm&&t.hasEmbeddedView&&Or(t.embeddedView,e)})}function Ar(t){for(var e=t.view;Ir(t.parent,e);)t=t.parent;return t}function Yr(t){for(var e=t.view;Ir(t,e);)t=t.parent;return t}function Ir(t,e){return!t.isNull()&&t.sourceAst.name===dm&&t.view===e}function jr(t,e){var n={};Object.keys(t).forEach(function(e){n[e]=t[e]}),e.forEach(function(t){Object.keys(t.hostAttributes).forEach(function(e){var i=t.hostAttributes[e],o=n[e];n[e]=r(o)?Rr(e,o,i):i})});var i=[];return Object.keys(n).sort().forEach(function(t){i.push(t,n[t])}),i}function Nr(t){var e={};return t.forEach(function(t){e[t.name]=t.value}),e}function Rr(t,e,n){return t==pm||t==hm?e+" "+n:n}function Hr(t,e){var n=xh;t.genConfig.genDebugInfo&&(n=Ge("nodeDebugInfos_"+w(t.component.type)+t.viewIndex),e.push(n.set($e(t.nodes.map(Vr),new $p(Ke(Jt(tl.StaticNodeDebugInfo)),[zp.Const]))).toDeclStmt(null,[Oh.Final])));var r=Ge("renderType_"+w(t.component.type));if(0===t.viewIndex){var i=void 0;i=t.component.template.templateUrl==b(t.component.type)?b(t.component.type)+" class "+w(t.component.type)+" - inline template":t.component.template.templateUrl,e.push(r.set(qe(Jt(tl.createRenderComponentType)).callFn([tn(t.genConfig.genDebugInfo?i:""),tn(t.component.template.ngContentSelectors.length),zf.fromValue(t.component.template.encapsulation),t.styles,Ze(t.animations.map(function(t){return[t.name,t.fnExp]}))])).toDeclStmt(Ke(Jt(tl.RenderComponentType))))}var o=Fr(t,r,n);e.push(o)}function Vr(t){var e=t instanceof nm?t:null,n=[],i=xh,o=[];return r(e)&&(n=e.getProviderTokens(),r(e.component)&&(i=on($t(e.component.type))),Object.keys(e.referenceTokens).forEach(function(t){var n=e.referenceTokens[t];o.push([t,r(n)?on(n):xh])})),qe(Jt(tl.StaticNodeDebugInfo)).instantiate([$e(n,new $p(Xp,[zp.Const])),i,Ze(o,new Zp(Xp,[zp.Const]))],Ke(Jt(tl.StaticNodeDebugInfo),null,[zp.Const]))}function Fr(t,e,n){var r=[new wh(qf.viewUtils.name,Ke(Jt(tl.ViewUtils))),new wh(qf.parentView.name,Ke(Jt(tl.AppView),[Xp])),new wh(qf.parentIndex.name,th),new wh(qf.parentElement.name,Xp)],i=[Ge(t.className),e,Wf.fromValue(t.viewType),qf.viewUtils,qf.parentView,qf.parentIndex,qf.parentElement,Gf.fromValue(qr(t))];t.genConfig.genDebugInfo&&i.push(n),t.viewType===mo.EMBEDDED&&(r.push(new wh("declaredViewContainer",Ke(Jt(tl.ViewContainer)))),i.push(Ge("declaredViewContainer")));var o=[new Vh("createInternal",[new wh(mm.name,eh)],Ur(t),Ke(Jt(tl.ComponentRef),[Xp])),new Vh("injectorGetInternal",[new wh(Jf.token.name,Xp),new wh(Jf.requestNodeIndex.name,th),new wh(Jf.notFoundResult.name,Xp)],zr(t.injectorGetMethod.finish(),Jf.notFoundResult),Xp),new Vh("detectChangesInternal",[new wh($f.throwOnChange.name,Qp)],Wr(t)),new Vh("dirtyParentQueriesInternal",[],t.dirtyParentQueriesMethod.finish()),new Vh("destroyInternal",[],Br(t)),new Vh("detachInternal",[],t.detachMethod.finish()),Kr(t),Jr(t),Zr(t)].filter(function(t){return t.body.length>0}),s=t.genConfig.genDebugInfo?tl.DebugAppView:tl.AppView,a=kn({name:t.className,parent:qe(Jt(s),[Gr(t)]),parentArgs:i,ctorParams:r,builders:[{methods:o},t]});return a}function Br(t){var e=[];return t.viewContainers.forEach(function(t){e.push(t.callMethod("destroyNestedViews",[]).toStmt())}),t.viewChildren.forEach(function(t){e.push(t.callMethod("destroy",[]).toStmt())}),e.push.apply(e,t.destroyMethod.finish()),e}function Ur(t){var e=xh,n=[];t.viewType===mo.COMPONENT&&(e=Kf.renderer.callMethod("createViewRoot",[Lh.prop("parentElement")]),n=[fm.set(e).toDeclStmt(Ke(t.genConfig.renderTypes.renderNode),[Oh.Final])]);var r;if(t.viewType===mo.HOST){var i=t.nodes[0];r=qe(Jt(tl.ComponentRef_),[Xp]).instantiate([tn(i.nodeIndex),Lh,i.renderNode,i.getComponent()])}else r=xh;var o=Kf.renderer.cast(Xp).prop("directRenderer").conditional(xh,$e(t.nodes.map(function(t){return t.renderNode})));return n.concat(t.createMethod.finish(),[Lh.callMethod("init",[t.lastRenderNode,o,t.disposables.length?$e(t.disposables):xh]).toStmt(),new Nh(r)])}function Wr(t){var e=[];if(t.animationBindingsMethod.isEmpty()&&t.detectChangesInInputsMethod.isEmpty()&&t.updateContentQueriesMethod.isEmpty()&&t.afterContentLifecycleCallbacksMethod.isEmpty()&&t.detectChangesRenderPropertiesMethod.isEmpty()&&t.updateViewQueriesMethod.isEmpty()&&t.afterViewLifecycleCallbacksMethod.isEmpty()&&0===t.viewContainers.length&&0===t.viewChildren.length)return e;e.push.apply(e,t.animationBindingsMethod.finish()),e.push.apply(e,t.detectChangesInInputsMethod.finish()),t.viewContainers.forEach(function(t){e.push(t.callMethod("detectChangesInNestedViews",[$f.throwOnChange]).toStmt())});var n=t.updateContentQueriesMethod.finish().concat(t.afterContentLifecycleCallbacksMethod.finish());n.length>0&&e.push(new Uh(Xe($f.throwOnChange),n)),e.push.apply(e,t.detectChangesRenderPropertiesMethod.finish()),t.viewChildren.forEach(function(t){e.push(t.callMethod("internalDetectChanges",[$f.throwOnChange]).toStmt())});var r=t.updateViewQueriesMethod.finish().concat(t.afterViewLifecycleCallbacksMethod.finish());r.length>0&&e.push(new Uh(Xe($f.throwOnChange),r));var i=[],o=ze(e);return o.has($f.changed.name)&&i.push($f.changed.set(tn(!0)).toDeclStmt(Qp)),o.has($f.changes.name)&&i.push($f.changes.set(xh).toDeclStmt(new Zp(Ke(Jt(tl.SimpleChange))))),i.push.apply(i,pn(e)),i.concat(e)}function zr(t,e){return t.length>0?t.concat([new Nh(e)]):t}function Gr(t){return t.viewType===mo.COMPONENT?Ke(t.component.type):Xp}function qr(t){var e;return e=t.viewType===mo.COMPONENT?no(t.component.changeDetection)?ro.CheckAlways:ro.CheckOnce:ro.CheckAlways}function Kr(t){var e=Ge("cb"),n=Ge("ctx"),r=$r(t.rootNodes,e,n);return new Vh("visitRootNodesInternal",[new wh(e.name,Xp),new wh(n.name,Xp)],r)}function Jr(t){var e=Ge("nodeIndex"),n=Ge("ngContentIndex"),r=Ge("cb"),i=Ge("ctx"),o=[];return t.nodes.forEach(function(t){t instanceof nm&&t.component&&t.contentNodesByNgContentIndex.forEach(function(s,a){o.push(new Uh(e.equals(tn(t.nodeIndex)).and(n.equals(tn(a))),$r(s,r,i)))})}),new Vh("visitProjectableNodesInternal",[new wh(e.name,th),new wh(n.name,th),new wh(r.name,Xp),new wh(i.name,Xp)],o)}function $r(t,e,n){var r=[];return t.forEach(function(t){switch(t.type){case om.Node:r.push(e.callFn([t.expr,n]).toStmt());break;case om.ViewContainer:r.push(e.callFn([t.expr.prop("nativeElement"),n]).toStmt()),r.push(t.expr.callMethod("visitNestedViewRootNodes",[e,n]).toStmt());break;case om.NgContent:r.push(Lh.callMethod("visitProjectedNodes",[tn(t.ngContentIndex),e,n]).toStmt())}}),r}function Zr(t){var e=Ge("nodeIndex"),n=[];return t.nodes.forEach(function(t){if(t instanceof nm&&t.embeddedView){t.isRootElement()?null:t.parent.nodeIndex;n.push(new Uh(e.equals(tn(t.nodeIndex)),[new Nh(t.embeddedView.classExpr.instantiate([Kf.viewUtils,Lh,tn(t.nodeIndex),t.renderNode,t.viewContainer]))]))}}),n.length>0&&n.push(new Nh(xh)),new Vh("createEmbeddedViewInternal",[new wh(e.name,th)],n,Ke(Jt(tl.AppView),[Xp]))}function Xr(t,e){var n=tn(Yo);switch(e){case Yo:return t.equals(n);case Oo:return tn(!0);default:return t.equals(tn(e))}}function Qr(t){if(t instanceof wp&&t.duration>0&&2==t.keyframes.length){var e=ti(t.keyframes[0])[0],n=ti(t.keyframes[1])[0];return 0===Object.keys(e).length&&0===Object.keys(n).length}return!1}function ti(t){return t.styles.styles}function ei(t,e){void 0===e&&(e={});var n=!0;return e.includeFilePattern&&(n=n&&!!e.includeFilePattern.exec(t)),e.excludeFilePattern&&(n=n&&!e.excludeFilePattern.exec(t)),n}function ni(t,e){return e.dependencies.forEach(function(e){if(e instanceof Zf){var n=e;n.placeholder.reference=t.getStaticSymbol(ii(b(n.comp)),e.name)}else if(e instanceof Xf){var r=e;r.placeholder.reference=t.getStaticSymbol(ii(b(r.comp)),oi(r.comp))}else if(e instanceof Qf){var i=e;i.placeholder.reference=t.getStaticSymbol(ii(b(i.dir)),i.name)}}),e.statements}function ri(t,e,n){return e.dependencies.forEach(function(e){e.valuePlaceholder.reference=t.getStaticSymbol(si(e.moduleUrl,e.isShimmed,n),e.name)}),e.statements}function ii(t){var e=ui(t);return e[0]+".ngfactory"+e[1]}function oi(t){return w(t)+"NgFactory"}function si(t,e,n){return""+t+(e?".shim":"")+".ngstyle"+n}function ai(t){if(!t.isComponent)throw new Error("Could not compile '"+w(t.type)+"' because it is not a component.")}function ui(t){if(t.endsWith(".d.ts"))return[t.slice(0,-5),".ts"];var e=t.lastIndexOf(".");return-1!==e?[t.substring(0,e),t.substring(e)]:[t,""]}function ci(t,e,n){var r=di(t,e,n),i=r.ngModules,o=r.symbolsMissingModule;return pi(i,o)}function li(t,e,n){var r=ci(t,e,n);if(r.symbolsMissingModule&&r.symbolsMissingModule.length){var i=r.symbolsMissingModule.map(function(t){return"Cannot determine the module for class "+t.name+" in "+t.filePath+"!"});throw new Error(i.join("\n"))}return r}function pi(t,e){var n=new Map;t.forEach(function(t){return n.set(t.type.reference,t)});var r=new Map,i=new Map,o=new Map,s=new Map,a=new Set;t.forEach(function(t){var e=t.type.reference.filePath;a.add(e),i.set(e,(i.get(e)||[]).concat(t.type.reference)),t.declaredDirectives.forEach(function(e){var n=e.reference.filePath;a.add(n),o.set(n,(o.get(n)||[]).concat(e.reference)),r.set(e.reference,t)}),t.declaredPipes.forEach(function(e){var n=e.reference.filePath;a.add(n),s.set(n,(s.get(n)||[]).concat(e.reference)),r.set(e.reference,t)})});var u=[];return a.forEach(function(t){var e=o.get(t)||[],n=s.get(t)||[],r=i.get(t)||[];u.push({srcUrl:t,directives:e,pipes:n,ngModules:r})}),{ngModuleByPipeOrDirective:r,files:u,ngModules:t,symbolsMissingModule:e}}function hi(t,e,n){void 0===n&&(n={});var r=[];return e.filter(function(t){return ei(t,n)}).forEach(function(e){var n=t.getModuleMetadata(e);if(!n)return void console.error("WARNING: no metadata found for "+e);var i=n.metadata;if(i)for(var o=0,s=Object.keys(i);o<s.length;o++){var a=s[o];i[a]&&"error"==i[a].__symbolic||r.push(t.getStaticSymbol(e,a))}}),r}function di(t,e,n){var r=new Map,i=[],o=new Set,s=function(t){if(r.has(t)||!ei(t.filePath,e))return!1;var i=n.getNgModuleMetadata(t,!1);return i&&(r.set(i.type.reference,i),i.declaredDirectives.forEach(function(t){return o.add(t.reference)}),i.declaredPipes.forEach(function(t){return o.add(t.reference)}),i.transitiveModule.modules.forEach(function(t){return s(t.reference)})),!!i};t.forEach(function(t){s(t)||!n.isDirective(t)&&!n.isPipe(t)||i.push(t)});var a=i.filter(function(t){return!o.has(t)});return{ngModules:Array.from(r.values()),symbolsMissingModule:a}}function fi(t){return"object"==typeof t&&t.name&&t.filePath}function mi(t){switch(t.message){case"Reference to non-exported class":if(t.context&&t.context.className)return"Reference to a non-exported class "+t.context.className+". Consider exporting the class";break;case"Variable not initialized":return"Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler";case"Destructuring not supported":return"Referencing an exported destructured variable or constant is not supported by the template compiler. Consider simplifying this to avoid destructuring";case"Could not resolve type":if(t.context&&t.context.typeName)return"Could not resolve type "+t.context.typeName;break;case"Function call not supported":var e=t.context&&t.context.name?"Calling function '"+t.context.name+"', f":"F";return e+"unction calls are not supported. Consider replacing the function or lambda with a reference to an exported function";case"Reference to a local symbol":if(t.context&&t.context.name)return"Reference to a local (non-exported) symbol '"+t.context.name+"'. Consider exporting the symbol"}return t.message}function yi(t){return"Error encountered resolving symbol values statically. "+mi(t)}function _i(t,e){if(!t)return{};var n={};return Object.keys(t).forEach(function(r){var i=e(t[r],r);wi(i)||(zm.test(r)?Object.defineProperty(n,r,{enumerable:!1,configurable:!0,value:i}):n[r]=i)}),n}function vi(t){return null===t||"function"!=typeof t&&"object"!=typeof t}function gi(t,e){return t===e||t.name==e.name&&t.filePath==e.filePath}function wi(t){return t&&"ignore"==t.__symbolic}function bi(t,e,n,r){var i=new Error(t);return i.fileName=e,i.line=n,i.column=r,i}function Mi(t){var e=t.replace($m,"");return e+".ngsummary.json"}function Ei(t,n){var r=n.translations||"",i=je(),o=new qm(t);Fm.install(o);var s=new Jc(new Gc,r,n.i18nFormat),a=new lp({genDebugInfo:n.debug===!0,defaultEncapsulation:e.ViewEncapsulation.Emulated,logBindingUpdate:!1,useJit:!1}),u=new Fp({get:function(e){return t.loadResource(e)}},i,s,a),c=new lu(new iu),l=new ef,p=new Eo,h=new rp(c,l,s,p,[]),d=new Zm(t,o,n),f=new Cd(new bd(o),new Up(o),new Md(o),d,l,u,o),m=new Vm(f,h,new jf(i),new vm(a,l),new _d(a,c,l,p),new Od,new zd(t),d,n.locale,n.i18nFormat,new Yp(l),o,n);return{compiler:m,reflector:o}}function Si(t,e){var n=t.concat([new Nh(Ge(e))]),i=new Xm(null,null,null,new Map),o=new ty,s=o.visitAllStatements(n,i);return r(s)?s.value:null}function Ti(t,e,n,i,o){for(var s=i.createChildWihtLocalVars(),a=0;a<t.length;a++)s.vars.set(t[a],e[a]);var u=o.visitAllStatements(n,s);return r(u)?u.value:null}function Ci(t,e,n){var r={};t.getters.forEach(function(i){r[i.name]={configurable:!1,get:function(){var r=new Xm(e,this,t.name,e.vars);return Ti([],[],i.body,r,n)}}}),t.methods.forEach(function(i){var o=i.params.map(function(t){return t.name});r[i.name]={writable:!1,configurable:!1,value:function(){for(var r=[],s=0;s<arguments.length;s++)r[s-0]=arguments[s];var a=new Xm(e,this,t.name,e.vars);return Ti(o,r,i.body,a,n)}}});var i=t.constructorMethod.params.map(function(t){return t.name}),o=function(){for(var r=this,o=[],s=0;s<arguments.length;s++)o[s-0]=arguments[s];var a=new Xm(e,this,t.name,e.vars);t.fields.forEach(function(t){r[t.name]=void 0}),Ti(i,o,t.constructorMethod.body,a,n)},s=t.parent?t.parent.visitExpression(n,e):Object;return o.prototype=Object.create(s.prototype,r),o}function ki(t,e,n,r){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o-0]=arguments[o];return Ti(t,i,e,n,r)}}function Li(t,e,n,r){var i=n+"\nreturn "+e+"\n//# sourceURL="+t,o=[],s=[];for(var a in r)o.push(a),s.push(r[a]);return(new(Function.bind.apply(Function,[void 0].concat(o.concat(i))))).apply(void 0,s)}function Di(t,e,n){var r=new sy,i=Fd.createRoot([n]);return r.visitAllStatements(e,i),Li(t,n,i.toSource(),r.getArgs())}function xi(t){if(!t.isComponent)throw new Error("Could not compile '"+w(t.type)+"' because it is not a component.")}function Pi(){So.reflectionCapabilities=new Co}function Oi(t){return{useDebug:Ai(t.map(function(t){return t.useDebug})),useJit:Ai(t.map(function(t){return t.useJit})),defaultEncapsulation:Ai(t.map(function(t){return t.defaultEncapsulation})),providers:Yi(t.map(function(t){return t.providers}))}}function Ai(t){for(var e=t.length-1;e>=0;e--)if(void 0!==t[e])return t[e];return void 0}function Yi(t){var e=[];return t.forEach(function(t){return t&&e.push.apply(e,t)}),e}var Ii=new e.Version("2.3.1"),ji=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),Ni=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),Ri=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),Hi=function(){function t(t,e,n,r,i,o,s){this.name=t,this.type=e,this.securityContext=n,this.needsRuntimeSecurityContext=r,this.value=i,this.unit=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},Object.defineProperty(t.prototype,"isAnimation",{get:function(){return this.type===$i.Animation},enumerable:!0,configurable:!0}),t}(),Vi=function(){function t(t,e,n,r,i){this.name=t,this.target=e,this.phase=n,this.handler=r,this.sourceSpan=i}return t.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},t.prototype.visit=function(t,e){return t.visitEvent(this,e)},Object.defineProperty(t.prototype,"fullName",{get:function(){return t.calcFullName(this.name,this.target,this.phase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAnimation",{get:function(){return!!this.phase},enumerable:!0,configurable:!0}),t}(),Fi=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),Bi=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),Ui=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=l,this.endSourceSpan=p}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),Wi=function(){function t(t,e,n,r,i,o,s,a,u,c){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.children=a,this.ngContentIndex=u,this.sourceSpan=c}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),zi=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),Gi=function(){function t(t,e,n,r,i){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.sourceSpan=i}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}(),qi=function(){function t(t,e,n,r,i,o,s){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return null},t}(),Ki={};Ki.PublicService=0,Ki.PrivateService=1,Ki.Component=2,Ki.Directive=3,Ki.Builtin=4,Ki[Ki.PublicService]="PublicService",Ki[Ki.PrivateService]="PrivateService",Ki[Ki.Component]="Component",Ki[Ki.Directive]="Directive",Ki[Ki.Builtin]="Builtin";var Ji=function(){function t(t,e,n){this.index=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitNgContent(this,e)},t}(),$i={};$i.Property=0,$i.Attribute=1,$i.Class=2,$i.Style=3,$i.Animation=4,$i[$i.Property]="Property",$i[$i.Attribute]="Attribute",$i[$i.Class]="Class",$i[$i.Style]="Style",$i[$i.Animation]="Animation";var Zi=function(){function t(t,e,n){this.filePath=t,this.name=e,this.members=n}return t}(),Xi=Object.getPrototypeOf({}),Qi=function(){function t(){}return t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t}(),to=function(){function t(){}return t.merge=function(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];n[o]=t[o]}for(var s=0,a=Object.keys(e);s<a.length;s++){var o=a[s];n[o]=e[o]}return n},t.equals=function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(t[o]!==e[o])return!1}return!0},t}(),eo=function(){function t(){}return t.findLast=function(t,e){for(var n=t.length-1;n>=0;n--)if(e(t[n]))return t[n];return null},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);r>-1&&t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1?(t.splice(n,1),!0):!1},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0},t.flatten=function(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t.flatten(n):n;return e.concat(r)},[])},t}(),no=e.__core_private__.isDefaultChangeDetectionStrategy,ro=e.__core_private__.ChangeDetectorStatus,io=e.__core_private__.LifecycleHooks,oo=e.__core_private__.LIFECYCLE_HOOKS_VALUES,so=e.__core_private__.ReflectorReader,ao=e.__core_private__.ViewContainer,uo=e.__core_private__.CodegenComponentFactoryResolver,co=e.__core_private__.ComponentRef_,lo=e.__core_private__.AppView,po=e.__core_private__.DebugAppView,ho=e.__core_private__.NgModuleInjector,fo=e.__core_private__.registerModuleFactory,mo=e.__core_private__.ViewType,yo=e.__core_private__.view_utils,_o=e.__core_private__.DebugContext,vo=e.__core_private__.StaticNodeDebugInfo,go=e.__core_private__.devModeEqual,wo=e.__core_private__.UNINITIALIZED,bo=e.__core_private__.ValueUnwrapper,Mo=e.__core_private__.TemplateRef_,Eo=e.__core_private__.Console,So=e.__core_private__.reflector,To=e.__core_private__.Reflector,Co=e.__core_private__.ReflectionCapabilities,ko=e.__core_private__.NoOpAnimationPlayer,Lo=e.__core_private__.AnimationSequencePlayer,Do=e.__core_private__.AnimationGroupPlayer,xo=e.__core_private__.AnimationKeyframe,Po=e.__core_private__.AnimationStyles,Oo=e.__core_private__.ANY_STATE,Ao=e.__core_private__.DEFAULT_STATE,Yo=e.__core_private__.EMPTY_STATE,Io=e.__core_private__.FILL_STYLE_FLAG,jo=e.__core_private__.prepareFinalAnimationStyles,No=e.__core_private__.balanceAnimationKeyframes,Ro=e.__core_private__.clearStyles,Ho=e.__core_private__.collectAndResolveStyles,Vo=e.__core_private__.renderStyles,Fo=e.__core_private__.ComponentStillLoadingError,Bo=e.__core_private__.AnimationTransition,Uo={};
Uo.RAW_TEXT=0,Uo.ESCAPABLE_RAW_TEXT=1,Uo.PARSABLE_DATA=2,Uo[Uo.RAW_TEXT]="RAW_TEXT",Uo[Uo.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",Uo[Uo.PARSABLE_DATA]="PARSABLE_DATA";var Wo={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞","int":"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"},zo=function(){function t(t){var e=this,n=void 0===t?{}:t,r=n.closedByChildren,i=n.requiredParents,o=n.implicitNamespacePrefix,s=n.contentType,a=void 0===s?Uo.PARSABLE_DATA:s,u=n.closedByParent,c=void 0===u?!1:u,l=n.isVoid,p=void 0===l?!1:l,h=n.ignoreFirstLf,d=void 0===h?!1:h;this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,r&&r.length>0&&r.forEach(function(t){return e.closedByChildren[t]=!0}),this.isVoid=p,this.closedByParent=c||p,i&&i.length>0&&(this.requiredParents={},this.parentToAdd=i[0],i.forEach(function(t){return e.requiredParents[t]=!0})),this.implicitNamespacePrefix=o,this.contentType=a,this.ignoreFirstLf=d}return t.prototype.requireExtraParent=function(t){if(!this.requiredParents)return!1;if(!t)return!0;var e=t.toLowerCase();return 1!=this.requiredParents[e]&&"template"!=e},t.prototype.isClosedByChild=function(t){return this.isVoid||t.toLowerCase()in this.closedByChildren},t}(),Go={base:new zo({isVoid:!0}),meta:new zo({isVoid:!0}),area:new zo({isVoid:!0}),embed:new zo({isVoid:!0}),link:new zo({isVoid:!0}),img:new zo({isVoid:!0}),input:new zo({isVoid:!0}),param:new zo({isVoid:!0}),hr:new zo({isVoid:!0}),br:new zo({isVoid:!0}),source:new zo({isVoid:!0}),track:new zo({isVoid:!0}),wbr:new zo({isVoid:!0}),p:new zo({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new zo({closedByChildren:["tbody","tfoot"]}),tbody:new zo({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new zo({closedByChildren:["tbody"],closedByParent:!0}),tr:new zo({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new zo({closedByChildren:["td","th"],closedByParent:!0}),th:new zo({closedByChildren:["td","th"],closedByParent:!0}),col:new zo({requiredParents:["colgroup"],isVoid:!0}),svg:new zo({implicitNamespacePrefix:"svg"}),math:new zo({implicitNamespacePrefix:"math"}),li:new zo({closedByChildren:["li"],closedByParent:!0}),dt:new zo({closedByChildren:["dt","dd"]}),dd:new zo({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new zo({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new zo({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new zo({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new zo({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new zo({closedByChildren:["optgroup"],closedByParent:!0}),option:new zo({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new zo({ignoreFirstLf:!0}),listing:new zo({ignoreFirstLf:!0}),style:new zo({contentType:Uo.RAW_TEXT}),script:new zo({contentType:Uo.RAW_TEXT}),title:new zo({contentType:Uo.ESCAPABLE_RAW_TEXT}),textarea:new zo({contentType:Uo.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},qo=new zo,Ko=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-\\w*]+)(?:=([^\\]]*))?\\])|(\\))|(\\s*,\\s*)","g"),Jo=function(){function t(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return t.parse=function(e){var n,r=[],i=function(t,e){e.notSelectors.length>0&&!e.element&&0==e.classNames.length&&0==e.attrs.length&&(e.element="*"),t.push(e)},o=new t,s=o,a=!1;for(Ko.lastIndex=0;n=Ko.exec(e);){if(n[1]){if(a)throw new Error("Nesting :not is not allowed in a selector");a=!0,s=new t,o.notSelectors.push(s)}if(n[2]&&s.setElement(n[2]),n[3]&&s.addClassName(n[3]),n[4]&&s.addAttribute(n[4],n[5]),n[6]&&(a=!1,s=o),n[7]){if(a)throw new Error("Multiple selectors in :not are not supported");i(r,o),o=s=new t}}return i(r,o),r},t.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},t.prototype.hasElementSelector=function(){return!!this.element},t.prototype.setElement=function(t){void 0===t&&(t=null),this.element=t},t.prototype.getMatchingElementTemplate=function(){for(var t=this.element||"div",e=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r<this.attrs.length;r+=2){var i=this.attrs[r],o=""!==this.attrs[r+1]?'="'+this.attrs[r+1]+'"':"";n+=" "+i+o}return d(t).isVoid?"<"+t+e+n+"/>":"<"+t+e+n+"></"+t+">"},t.prototype.addAttribute=function(t,e){void 0===e&&(e=""),this.attrs.push(t,e&&e.toLowerCase()||"")},t.prototype.addClassName=function(t){this.classNames.push(t.toLowerCase())},t.prototype.toString=function(){var t=this.element||"";if(this.classNames&&this.classNames.forEach(function(e){return t+="."+e}),this.attrs)for(var e=0;e<this.attrs.length;e+=2){var n=this.attrs[e],r=this.attrs[e+1];t+="["+n+(r?"="+r:"")+"]"}return this.notSelectors.forEach(function(e){return t+=":not("+e+")"}),t},t}(),$o=function(){function t(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}return t.createNotMatcher=function(e){var n=new t;return n.addSelectables(e,null),n},t.prototype.addSelectables=function(t,e){var n=null;t.length>1&&(n=new Zo(t),this._listContexts.push(n));for(var r=0;r<t.length;r++)this._addSelectable(t[r],e,n)},t.prototype._addSelectable=function(t,e,n){var r=this,i=t.element,o=t.classNames,s=t.attrs,a=new Xo(t,e,n);if(i){var u=0===s.length&&0===o.length;u?this._addTerminal(r._elementMap,i,a):r=this._addPartial(r._elementPartialMap,i)}if(o)for(var c=0;c<o.length;c++){var u=0===s.length&&c===o.length-1,l=o[c];u?this._addTerminal(r._classMap,l,a):r=this._addPartial(r._classPartialMap,l)}if(s)for(var c=0;c<s.length;c+=2){var u=c===s.length-2,p=s[c],h=s[c+1];if(u){var d=r._attrValueMap,f=d.get(p);f||(f=new Map,d.set(p,f)),this._addTerminal(f,h,a)}else{var m=r._attrValuePartialMap,y=m.get(p);y||(y=new Map,m.set(p,y)),r=this._addPartial(y,h)}}},t.prototype._addTerminal=function(t,e,n){var r=t.get(e);r||(r=[],t.set(e,r)),r.push(n)},t.prototype._addPartial=function(e,n){var r=e.get(n);return r||(r=new t,e.set(n,r)),r},t.prototype.match=function(t,e){for(var n=!1,r=t.element,i=t.classNames,o=t.attrs,s=0;s<this._listContexts.length;s++)this._listContexts[s].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,t,e)||n,n=this._matchPartial(this._elementPartialMap,r,t,e)||n,i)for(var s=0;s<i.length;s++){var a=i[s];n=this._matchTerminal(this._classMap,a,t,e)||n,n=this._matchPartial(this._classPartialMap,a,t,e)||n}if(o)for(var s=0;s<o.length;s+=2){var u=o[s],c=o[s+1],l=this._attrValueMap.get(u);c&&(n=this._matchTerminal(l,"",t,e)||n),n=this._matchTerminal(l,c,t,e)||n;var p=this._attrValuePartialMap.get(u);c&&(n=this._matchPartial(p,"",t,e)||n),n=this._matchPartial(p,c,t,e)||n}return n},t.prototype._matchTerminal=function(t,e,n,r){if(!t||"string"!=typeof e)return!1;var i=t.get(e)||[],o=t.get("*");if(o&&(i=i.concat(o)),0===i.length)return!1;for(var s,a=!1,u=0;u<i.length;u++)s=i[u],a=s.finalize(n,r)||a;return a},t.prototype._matchPartial=function(t,e,n,r){if(!t||"string"!=typeof e)return!1;var i=t.get(e);return i?i.match(n,r):!1},t}(),Zo=function(){function t(t){this.selectors=t,this.alreadyMatched=!1}return t}(),Xo=function(){function t(t,e,n){this.selector=t,this.cbContext=e,this.listContext=n,this.notSelectors=t.notSelectors}return t.prototype.finalize=function(t,e){var n=!0;if(this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)){var r=$o.createNotMatcher(this.notSelectors);n=!r.match(t,null)}return!n||!e||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),e(this.selector,this.cbContext)),n},t}(),Qo="",ts=/-+([a-z0-9])/g,es=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return v(t,n,e)})},t.prototype.visitStringMap=function(t,e){var n=this,r={};return Object.keys(t).forEach(function(i){r[i]=v(t[i],n,e)}),r},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),ns=function(){function t(t,e){void 0===e&&(e=null),this.syncResult=t,this.asyncResult=e,e||(this.asyncResult=Promise.resolve(t))}return t}(),rs=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},is=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/,os=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=null),this.name=t,this.definitions=e}return t}(),ss=function(){function t(){}return t}(),as=function(t){function e(e,n){t.call(this),this.stateNameExpr=e,this.styles=n}return rs(e,t),e}(ss),us=function(t){function e(e,n){t.call(this),this.stateChangeExpr=e,this.steps=n}return rs(e,t),e}(ss),cs=function(){function t(){}return t}(),ls=function(t){function e(e){void 0===e&&(e=[]),t.call(this),this.steps=e}return rs(e,t),e}(cs),ps=function(t){function e(e,n){void 0===n&&(n=null),t.call(this),this.offset=e,this.styles=n}return rs(e,t),e}(cs),hs=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=null),t.call(this),this.timings=e,this.styles=n}return rs(e,t),e}(cs),ds=function(t){function e(e){void 0===e&&(e=null),t.call(this),this.steps=e}return rs(e,t),e}(cs),fs=function(t){function e(e){void 0===e&&(e=null),t.call(this,e)}return rs(e,t),e}(ds),ms=function(t){function e(e){void 0===e&&(e=null),t.call(this,e)}return rs(e,t),e}(ds),ys=0,_s={};_s.Template=0,_s.Pipe=1,_s.Directive=2,_s.NgModule=3,_s[_s.Template]="Template",_s[_s.Pipe]="Pipe",_s[_s.Directive]="Directive",_s[_s.NgModule]="NgModule";var vs=function(){function t(t){var e=void 0===t?{}:t,n=e.moduleUrl,r=e.styles,i=e.styleUrls;this.moduleUrl=n,this.styles=T(r),this.styleUrls=T(i)}return t}(),gs=function(){function t(t){var e=void 0===t?{}:t,n=e.encapsulation,r=e.template,i=e.templateUrl,o=e.styles,s=e.styleUrls,a=e.externalStylesheets,u=e.animations,c=e.ngContentSelectors,l=e.interpolation;if(this.encapsulation=n,this.template=r,this.templateUrl=i,this.styles=T(o),this.styleUrls=T(s),this.externalStylesheets=T(a),this.animations=u?eo.flatten(u):[],this.ngContentSelectors=c||[],l&&2!=l.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l}return t.prototype.toSummary=function(){return{summaryKind:_s.Template,animations:this.animations.map(function(t){return t.name}),ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation}},t}(),ws=function(){function t(t){var e=void 0===t?{}:t,n=e.isHost,r=e.type,i=e.isComponent,o=e.selector,s=e.exportAs,a=e.changeDetection,u=e.inputs,c=e.outputs,l=e.hostListeners,p=e.hostProperties,h=e.hostAttributes,d=e.providers,f=e.viewProviders,m=e.queries,y=e.viewQueries,_=e.entryComponents,v=e.template;this.isHost=!!n,this.type=r,this.isComponent=i,this.selector=o,this.exportAs=s,this.changeDetection=a,this.inputs=u,this.outputs=c,this.hostListeners=l,this.hostProperties=p,this.hostAttributes=h,this.providers=T(d),this.viewProviders=T(f),this.queries=T(m),this.viewQueries=T(y),this.entryComponents=T(_),this.template=v}return t.create=function(e){var n=void 0===e?{}:e,i=n.isHost,o=n.type,s=n.isComponent,a=n.selector,u=n.exportAs,c=n.changeDetection,l=n.inputs,p=n.outputs,h=n.host,d=n.providers,f=n.viewProviders,y=n.queries,_=n.viewQueries,v=n.entryComponents,g=n.template,w={},b={},M={};r(h)&&Object.keys(h).forEach(function(t){var e=h[t],n=t.match(is);null===n?M[t]=e:r(n[1])?b[n[1]]=e:r(n[2])&&(w[n[2]]=e)});var E={};r(l)&&l.forEach(function(t){var e=m(t,[t,t]);E[e[0]]=e[1]});var S={};return r(p)&&p.forEach(function(t){var e=m(t,[t,t]);S[e[0]]=e[1]}),new t({isHost:i,type:o,isComponent:!!s,selector:a,exportAs:u,changeDetection:c,inputs:E,outputs:S,hostListeners:w,hostProperties:b,hostAttributes:M,providers:d,viewProviders:f,queries:y,viewQueries:_,entryComponents:v,template:g})},t.prototype.toSummary=function(){return{summaryKind:_s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary()}},t}(),bs=function(){function t(t){var e=void 0===t?{}:t,n=e.type,r=e.name,i=e.pure;this.type=n,this.name=r,this.pure=!!i}return t.prototype.toSummary=function(){return{summaryKind:_s.Pipe,type:this.type,name:this.name,pure:this.pure}},t}(),Ms=function(){function t(t){var e=void 0===t?{}:t,n=e.type,r=e.providers,i=e.declaredDirectives,o=e.exportedDirectives,s=e.declaredPipes,a=e.exportedPipes,u=e.entryComponents,c=e.bootstrapComponents,l=e.importedModules,p=e.exportedModules,h=e.schemas,d=e.transitiveModule,f=e.id;this.type=n,this.declaredDirectives=T(i),this.exportedDirectives=T(o),this.declaredPipes=T(s),this.exportedPipes=T(a),this.providers=T(r),this.entryComponents=T(u),this.bootstrapComponents=T(c),this.importedModules=T(l),this.exportedModules=T(p),this.schemas=T(h),this.id=f,this.transitiveModule=d}return t.prototype.toSummary=function(){return{summaryKind:_s.NgModule,type:this.type,entryComponents:this.transitiveModule.entryComponents,providers:this.transitiveModule.providers,modules:this.transitiveModule.modules,exportedDirectives:this.transitiveModule.exportedDirectives,exportedPipes:this.transitiveModule.exportedPipes}},t}(),Es=function(){function t(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return t.prototype.addProvider=function(t,e){this.providers.push({provider:t,module:e})},t.prototype.addDirective=function(t){this.directivesSet.has(t.reference)||(this.directivesSet.add(t.reference),this.directives.push(t))},t.prototype.addExportedDirective=function(t){this.exportedDirectivesSet.has(t.reference)||(this.exportedDirectivesSet.add(t.reference),this.exportedDirectives.push(t))},t.prototype.addPipe=function(t){this.pipesSet.has(t.reference)||(this.pipesSet.add(t.reference),this.pipes.push(t))},t.prototype.addExportedPipe=function(t){this.exportedPipesSet.has(t.reference)||(this.exportedPipesSet.add(t.reference),this.exportedPipes.push(t))},t.prototype.addModule=function(t){this.modulesSet.has(t.reference)||(this.modulesSet.add(t.reference),this.modules.push(t))},t.prototype.addEntryComponent=function(t){this.entryComponentsSet.has(t.reference)||(this.entryComponentsSet.add(t.reference),this.entryComponents.push(t))},t}(),Ss=function(){function t(t,e){var n=e.useClass,r=e.useValue,i=e.useExisting,o=e.useFactory,s=e.deps,a=e.multi;this.token=t,this.useClass=n,this.useValue=r,this.useExisting=i,this.useFactory=o,this.dependencies=s,this.multi=!!a}return t}(),Ts=0,Cs=9,ks=10,Ls=11,Ds=12,xs=13,Ps=32,Os=33,As=34,Ys=35,Is=36,js=37,Ns=38,Rs=39,Hs=40,Vs=41,Fs=42,Bs=43,Us=44,Ws=45,zs=46,Gs=47,qs=58,Ks=59,Js=60,$s=61,Zs=62,Xs=63,Qs=48,ta=57,ea=65,na=69,ra=70,ia=88,oa=90,sa=91,aa=92,ua=93,ca=94,la=95,pa=97,ha=101,da=102,fa=110,ma=114,ya=116,_a=117,va=118,ga=120,wa=122,ba=123,Ma=124,Ea=125,Sa=160,Ta=96,Ca=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],ka=function(){function t(t,e){this.start=t,this.end=e}return t.fromArray=function(e){return e?(P("interpolation",e),new t(e[0],e[1])):La},t}(),La=new ka("{{","}}"),Da=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},xa=function(){function t(t,e,n,r){this.input=e,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+t+" "+n+" ["+e+"] in "+r}return t}(),Pa=function(){function t(t,e){this.start=t,this.end=e}return t}(),Oa=function(){function t(t){this.span=t}return t.prototype.visit=function(t,e){return void 0===e&&(e=null),null},t.prototype.toString=function(){return"AST"},t}(),Aa=function(t){function e(e,n,r,i){t.call(this,e),this.prefix=n,this.uninterpretedExpression=r,this.location=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitQuote(this,e)},e.prototype.toString=function(){return"Quote"},e}(Oa),Ya=function(t){function e(){t.apply(this,arguments)}return Da(e,t),e.prototype.visit=function(t,e){void 0===e&&(e=null)},e}(Oa),Ia=function(t){function e(){t.apply(this,arguments)}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitImplicitReceiver(this,e)},e}(Oa),ja=function(t){function e(e,n){t.call(this,e),this.expressions=n}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitChain(this,e)},e}(Oa),Na=function(t){function e(e,n,r,i){t.call(this,e),this.condition=n,this.trueExp=r,this.falseExp=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitConditional(this,e)},e}(Oa),Ra=function(t){function e(e,n,r){t.call(this,e),this.receiver=n,this.name=r}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyRead(this,e)},e}(Oa),Ha=function(t){function e(e,n,r,i){t.call(this,e),this.receiver=n,this.name=r,this.value=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyWrite(this,e)},e}(Oa),Va=function(t){function e(e,n,r){t.call(this,e),this.receiver=n,this.name=r}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafePropertyRead(this,e)},e}(Oa),Fa=function(t){function e(e,n,r){t.call(this,e),this.obj=n,this.key=r}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedRead(this,e)},e}(Oa),Ba=function(t){function e(e,n,r,i){t.call(this,e),this.obj=n,this.key=r,this.value=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedWrite(this,e)},e}(Oa),Ua=function(t){function e(e,n,r,i){t.call(this,e),this.exp=n,this.name=r,this.args=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPipe(this,e)},e}(Oa),Wa=function(t){function e(e,n){t.call(this,e),this.value=n}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralPrimitive(this,e)},e}(Oa),za=function(t){function e(e,n){t.call(this,e),this.expressions=n}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralArray(this,e)},e}(Oa),Ga=function(t){function e(e,n,r){t.call(this,e),this.keys=n,this.values=r}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralMap(this,e)},e}(Oa),qa=function(t){function e(e,n,r){t.call(this,e),this.strings=n,this.expressions=r}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitInterpolation(this,e)},e}(Oa),Ka=function(t){function e(e,n,r,i){t.call(this,e),this.operation=n,this.left=r,this.right=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitBinary(this,e)},e}(Oa),Ja=function(t){function e(e,n){t.call(this,e),this.expression=n}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPrefixNot(this,e)},e}(Oa),$a=function(t){function e(e,n,r,i){t.call(this,e),this.receiver=n,this.name=r,this.args=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitMethodCall(this,e)},e}(Oa),Za=function(t){function e(e,n,r,i){t.call(this,e),this.receiver=n,this.name=r,this.args=i}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeMethodCall(this,e)},e}(Oa),Xa=function(t){function e(e,n,r){t.call(this,e),this.target=n,this.args=r}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitFunctionCall(this,e)},e}(Oa),Qa=function(t){function e(e,n,r,o){t.call(this,new Pa(0,i(n)?0:n.length)),this.ast=e,this.source=n,this.location=r,this.errors=o}return Da(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),this.ast.visit(t,e)},e.prototype.toString=function(){return this.source+" in "+this.location},e}(Oa),tu=function(){function t(t,e,n,r,i){this.span=t,this.key=e,this.keyIsVar=n,this.name=r,this.expression=i}return t}(),eu=function(){function t(){}return t.prototype.visitBinary=function(t,e){return t.left.visit(this),t.right.visit(this),null},t.prototype.visitChain=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this),null},t.prototype.visitPipe=function(t,e){return t.exp.visit(this),this.visitAll(t.args,e),null},t.prototype.visitFunctionCall=function(t,e){return t.target.visit(this),this.visitAll(t.args,e),null},t.prototype.visitImplicitReceiver=function(t,e){return null},t.prototype.visitInterpolation=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitKeyedRead=function(t,e){return t.obj.visit(this),t.key.visit(this),null},t.prototype.visitKeyedWrite=function(t,e){return t.obj.visit(this),t.key.visit(this),t.value.visit(this),null},t.prototype.visitLiteralArray=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitLiteralMap=function(t,e){return this.visitAll(t.values,e)},t.prototype.visitLiteralPrimitive=function(t,e){return null},t.prototype.visitMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitPrefixNot=function(t,e){return t.expression.visit(this),null},t.prototype.visitPropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitPropertyWrite=function(t,e){return t.receiver.visit(this),t.value.visit(this),null},t.prototype.visitSafePropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitSafeMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitAll=function(t,e){var n=this;return t.forEach(function(t){return t.visit(n,e)}),null},t.prototype.visitQuote=function(t,e){return null},t}(),nu={};nu.Character=0,nu.Identifier=1,nu.Keyword=2,nu.String=3,nu.Operator=4,nu.Number=5,nu.Error=6,nu[nu.Character]="Character",nu[nu.Identifier]="Identifier",nu[nu.Keyword]="Keyword",nu[nu.String]="String",nu[nu.Operator]="Operator",nu[nu.Number]="Number",nu[nu.Error]="Error";var ru=["var","let","null","undefined","true","false","if","else","this"],iu=function(){function t(){}return t.prototype.tokenize=function(t){for(var e=new au(t),n=[],r=e.scanToken();null!=r;)n.push(r),r=e.scanToken();return n},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),ou=function(){function t(t,e,n,r){this.index=t,this.type=e,this.numValue=n,this.strValue=r}return t.prototype.isCharacter=function(t){return this.type==nu.Character&&this.numValue==t},t.prototype.isNumber=function(){return this.type==nu.Number},t.prototype.isString=function(){return this.type==nu.String},t.prototype.isOperator=function(t){return this.type==nu.Operator&&this.strValue==t},t.prototype.isIdentifier=function(){return this.type==nu.Identifier},t.prototype.isKeyword=function(){return this.type==nu.Keyword},t.prototype.isKeywordLet=function(){return this.type==nu.Keyword&&"let"==this.strValue},t.prototype.isKeywordNull=function(){return this.type==nu.Keyword&&"null"==this.strValue},t.prototype.isKeywordUndefined=function(){return this.type==nu.Keyword&&"undefined"==this.strValue},t.prototype.isKeywordTrue=function(){return this.type==nu.Keyword&&"true"==this.strValue},t.prototype.isKeywordFalse=function(){return this.type==nu.Keyword&&"false"==this.strValue},t.prototype.isKeywordThis=function(){return this.type==nu.Keyword&&"this"==this.strValue},t.prototype.isError=function(){return this.type==nu.Error},t.prototype.toNumber=function(){return this.type==nu.Number?this.numValue:-1},t.prototype.toString=function(){switch(this.type){case nu.Character:case nu.Identifier:case nu.Keyword:case nu.Operator:case nu.String:case nu.Error:return this.strValue;case nu.Number:return this.numValue.toString();default:return null}},t}(),su=new ou(-1,nu.Character,0,""),au=function(){function t(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}return t.prototype.advance=function(){this.peek=++this.index>=this.length?Ts:this.input.charCodeAt(this.index)},t.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,r=this.index;Ps>=n;){if(++r>=e){n=Ts;break}n=t.charCodeAt(r)}if(this.peek=n,this.index=r,r>=e)return null;if(H(n))return this.scanIdentifier();if(k(n))return this.scanNumber(r);var i=r;switch(n){case zs:return this.advance(),k(this.peek)?this.scanNumber(i):O(i,zs);case Hs:case Vs:case ba:case Ea:case sa:case ua:case Us:case qs:case Ks:return this.scanCharacter(i,n);case Rs:case As:return this.scanString();case Ys:case Bs:case Ws:case Fs:case Gs:case js:case ca:return this.scanOperator(i,String.fromCharCode(n));case Xs:return this.scanComplexOperator(i,"?",zs,".");case Js:case Zs:return this.scanComplexOperator(i,String.fromCharCode(n),$s,"=");case Os:case $s:return this.scanComplexOperator(i,String.fromCharCode(n),$s,"=",$s,"=");case Ns:return this.scanComplexOperator(i,"&",Ns,"&");case Ma:return this.scanComplexOperator(i,"|",Ma,"|");case Sa:for(;C(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},t.prototype.scanCharacter=function(t,e){return this.advance(),O(t,e)},t.prototype.scanOperator=function(t,e){return this.advance(),I(t,e)},t.prototype.scanComplexOperator=function(t,e,n,i,o,s){this.advance();var a=e;return this.peek==n&&(this.advance(),a+=i),r(o)&&this.peek==o&&(this.advance(),a+=s),I(t,a)},t.prototype.scanIdentifier=function(){var t=this.index;for(this.advance();F(this.peek);)this.advance();var e=this.input.substring(t,this.index);return ru.indexOf(e)>-1?Y(t,e):A(t,e)},t.prototype.scanNumber=function(t){var e=this.index===t;for(this.advance();;){if(k(this.peek));else if(this.peek==zs)e=!1;else{if(!B(this.peek))break;if(this.advance(),U(this.peek)&&this.advance(),!k(this.peek))return this.error("Invalid exponent",-1);e=!1}this.advance()}var n=this.input.substring(t,this.index),r=e?Qi.parseIntAutoRadix(n):parseFloat(n);return N(t,r)},t.prototype.scanString=function(){var t=this.index,e=this.peek;this.advance();for(var n="",r=this.index,i=this.input;this.peek!=e;)if(this.peek==aa){n+=i.substring(r,this.index),this.advance();var o=void 0;if(this.peek==_a){var s=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(s))return this.error("Invalid unicode escape [\\u"+s+"]",0);o=parseInt(s,16);for(var a=0;5>a;a++)this.advance()}else o=z(this.peek),this.advance();n+=String.fromCharCode(o),r=this.index}else{if(this.peek==Ts)return this.error("Unterminated quote",0);this.advance()}var u=i.substring(r,this.index);return this.advance(),j(t,n+u)},t.prototype.error=function(t,e){var n=this.index+e;return R(n,"Lexer Error: "+t+" at column "+n+" in expression ["+this.input+"]")},t}(),uu=function(){function t(t,e,n){this.strings=t,this.expressions=e,this.offsets=n}return t}(),cu=function(){function t(t,e,n){this.templateBindings=t,this.warnings=e,this.errors=n}return t}(),lu=function(){function t(t){this._lexer=t,this.errors=[]}return t.prototype.parseAction=function(t,e,n){void 0===n&&(n=La),this._checkNoInterpolation(t,e,n);var r=this._stripComments(t),i=this._lexer.tokenize(this._stripComments(t)),o=new pu(t,e,i,r.length,!0,this.errors,t.length-r.length).parseChain();return new Qa(o,t,e,this.errors)},t.prototype.parseBinding=function(t,e,n){void 0===n&&(n=La);var r=this._parseBindingAst(t,e,n);return new Qa(r,t,e,this.errors)},t.prototype.parseSimpleBinding=function(t,e,n){void 0===n&&(n=La);var r=this._parseBindingAst(t,e,n),i=hu.check(r);return i.length>0&&this._reportError("Host binding expression cannot contain "+i.join(" "),t,e),new Qa(r,t,e,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new xa(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,n){var i=this._parseQuote(t,e);if(r(i))return i;this._checkNoInterpolation(t,e,n);var o=this._stripComments(t),s=this._lexer.tokenize(o);return new pu(t,e,s,o.length,!1,this.errors,t.length-o.length).parseChain()},t.prototype._parseQuote=function(t,e){if(i(t))return null;var n=t.indexOf(":");if(-1==n)return null;var r=t.substring(0,n).trim();if(!V(r))return null;var o=t.substring(n+1);return new Aa(new Pa(0,t.length),r,o,e)},t.prototype.parseTemplateBindings=function(t,e,n){var r=this._lexer.tokenize(e);if(t){var i=this._lexer.tokenize(t).map(function(t){return t.index=0,t});r.unshift.apply(r,i)}return new pu(e,n,r,e.length,!1,this.errors,0).parseTemplateBindings()},t.prototype.parseInterpolation=function(t,e,n){void 0===n&&(n=La);var r=this.splitInterpolation(t,e,n);if(null==r)return null;for(var o=[],s=0;s<r.expressions.length;++s){var a=r.expressions[s],u=this._stripComments(a),c=this._lexer.tokenize(this._stripComments(r.expressions[s])),l=new pu(t,e,c,u.length,!1,this.errors,r.offsets[s]+(a.length-u.length)).parseChain();o.push(l)}return new Qa(new qa(new Pa(0,i(t)?0:t.length),r.strings,o),t,e,this.errors)},t.prototype.splitInterpolation=function(t,e,n){void 0===n&&(n=La);var r=G(n),i=t.split(r);if(i.length<=1)return null;for(var o=[],s=[],a=[],u=0,c=0;c<i.length;c++){
var l=i[c];c%2===0?(o.push(l),u+=l.length):l.trim().length>0?(u+=n.start.length,s.push(l),a.push(u),u+=l.length+n.end.length):(this._reportError("Blank expressions are not allowed in interpolated strings",t,"at column "+this._findInterpolationErrorColumn(i,c,n)+" in",e),s.push("$implict"),a.push(u))}return new uu(o,s,a)},t.prototype.wrapLiteralPrimitive=function(t,e){return new Qa(new Wa(new Pa(0,i(t)?0:t.length),t),t,e,this.errors)},t.prototype._stripComments=function(t){var e=this._commentStart(t);return r(e)?t.substring(0,e).trim():t},t.prototype._commentStart=function(t){for(var e=null,n=0;n<t.length-1;n++){var r=t.charCodeAt(n),o=t.charCodeAt(n+1);if(r===Gs&&o==Gs&&i(e))return n;e===r?e=null:i(e)&&W(r)&&(e=r)}return null},t.prototype._checkNoInterpolation=function(t,e,n){var r=G(n),i=t.split(r);i.length>1&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",t,"at column "+this._findInterpolationErrorColumn(i,1,n)+" in",e)},t.prototype._findInterpolationErrorColumn=function(t,e,n){for(var r="",i=0;e>i;i++)r+=i%2===0?t[i]:""+n.start+t[i]+n.end;return r.length},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:iu}]},t}(),pu=function(){function t(t,e,n,r,i,o,s){this.input=t,this.location=e,this.tokens=n,this.inputLength=r,this.parseAction=i,this.errors=o,this.offset=s,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.index=0}return t.prototype.peek=function(t){var e=this.index+t;return e<this.tokens.length?this.tokens[e]:su},Object.defineProperty(t.prototype,"next",{get:function(){return this.peek(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputIndex",{get:function(){return this.index<this.tokens.length?this.next.index+this.offset:this.inputLength+this.offset},enumerable:!0,configurable:!0}),t.prototype.span=function(t){return new Pa(t,this.inputIndex)},t.prototype.advance=function(){this.index++},t.prototype.optionalCharacter=function(t){return this.next.isCharacter(t)?(this.advance(),!0):!1},t.prototype.peekKeywordLet=function(){return this.next.isKeywordLet()},t.prototype.expectCharacter=function(t){this.optionalCharacter(t)||this.error("Missing expected "+String.fromCharCode(t))},t.prototype.optionalOperator=function(t){return this.next.isOperator(t)?(this.advance(),!0):!1},t.prototype.expectOperator=function(t){this.optionalOperator(t)||this.error("Missing expected operator "+t)},t.prototype.expectIdentifierOrKeyword=function(){var t=this.next;return t.isIdentifier()||t.isKeyword()?(this.advance(),t.toString()):(this.error("Unexpected token "+t+", expected identifier or keyword"),"")},t.prototype.expectIdentifierOrKeywordOrString=function(){var t=this.next;return t.isIdentifier()||t.isKeyword()||t.isString()?(this.advance(),t.toString()):(this.error("Unexpected token "+t+", expected identifier, keyword, or string"),"")},t.prototype.parseChain=function(){for(var t=[],e=this.inputIndex;this.index<this.tokens.length;){var n=this.parsePipe();if(t.push(n),this.optionalCharacter(Ks))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.optionalCharacter(Ks););else this.index<this.tokens.length&&this.error("Unexpected token '"+this.next+"'")}return 0==t.length?new Ya(this.span(e)):1==t.length?t[0]:new ja(this.span(e),t)},t.prototype.parsePipe=function(){var t=this.parseExpression();if(this.optionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{for(var e=this.expectIdentifierOrKeyword(),n=[];this.optionalCharacter(qs);)n.push(this.parseExpression());t=new Ua(this.span(t.span.start),t,e,n)}while(this.optionalOperator("|"))}return t},t.prototype.parseExpression=function(){return this.parseConditional()},t.prototype.parseConditional=function(){var t=this.inputIndex,e=this.parseLogicalOr();if(this.optionalOperator("?")){var n=this.parsePipe(),r=void 0;if(this.optionalCharacter(qs))r=this.parsePipe();else{var i=this.inputIndex,o=this.input.substring(t,i);this.error("Conditional expression "+o+" requires all 3 expressions"),r=new Ya(this.span(t))}return new Na(this.span(t),e,n,r)}return e},t.prototype.parseLogicalOr=function(){for(var t=this.parseLogicalAnd();this.optionalOperator("||");){var e=this.parseLogicalAnd();t=new Ka(this.span(t.span.start),"||",t,e)}return t},t.prototype.parseLogicalAnd=function(){for(var t=this.parseEquality();this.optionalOperator("&&");){var e=this.parseEquality();t=new Ka(this.span(t.span.start),"&&",t,e)}return t},t.prototype.parseEquality=function(){for(var t=this.parseRelational();this.next.type==nu.Operator;){var e=this.next.strValue;switch(e){case"==":case"===":case"!=":case"!==":this.advance();var n=this.parseRelational();t=new Ka(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseRelational=function(){for(var t=this.parseAdditive();this.next.type==nu.Operator;){var e=this.next.strValue;switch(e){case"<":case">":case"<=":case">=":this.advance();var n=this.parseAdditive();t=new Ka(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseAdditive=function(){for(var t=this.parseMultiplicative();this.next.type==nu.Operator;){var e=this.next.strValue;switch(e){case"+":case"-":this.advance();var n=this.parseMultiplicative();t=new Ka(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseMultiplicative=function(){for(var t=this.parsePrefix();this.next.type==nu.Operator;){var e=this.next.strValue;switch(e){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();t=new Ka(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parsePrefix=function(){if(this.next.type==nu.Operator){var t=this.inputIndex,e=this.next.strValue,n=void 0;switch(e){case"+":return this.advance(),this.parsePrefix();case"-":return this.advance(),n=this.parsePrefix(),new Ka(this.span(t),e,new Wa(new Pa(t,t),0),n);case"!":return this.advance(),n=this.parsePrefix(),new Ja(this.span(t),n)}}return this.parseCallChain()},t.prototype.parseCallChain=function(){for(var t=this.parsePrimary();;)if(this.optionalCharacter(zs))t=this.parseAccessMemberOrMethodCall(t,!1);else if(this.optionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,!0);else if(this.optionalCharacter(sa)){this.rbracketsExpected++;var e=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(ua),this.optionalOperator("=")){var n=this.parseConditional();t=new Ba(this.span(t.span.start),t,e,n)}else t=new Fa(this.span(t.span.start),t,e)}else{if(!this.optionalCharacter(Hs))return t;this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(Vs),t=new Xa(this.span(t.span.start),t,r)}},t.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.optionalCharacter(Hs)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(Vs),e}if(this.next.isKeywordNull())return this.advance(),new Wa(this.span(t),null);if(this.next.isKeywordUndefined())return this.advance(),new Wa(this.span(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new Wa(this.span(t),!0);if(this.next.isKeywordFalse())return this.advance(),new Wa(this.span(t),!1);if(this.next.isKeywordThis())return this.advance(),new Ia(this.span(t));if(this.optionalCharacter(sa)){this.rbracketsExpected++;var n=this.parseExpressionList(ua);return this.rbracketsExpected--,this.expectCharacter(ua),new za(this.span(t),n)}if(this.next.isCharacter(ba))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Ia(this.span(t)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new Wa(this.span(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new Wa(this.span(t),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new Ya(this.span(t))):(this.error("Unexpected token "+this.next),new Ya(this.span(t)))},t.prototype.parseExpressionList=function(t){var e=[];if(!this.next.isCharacter(t))do e.push(this.parsePipe());while(this.optionalCharacter(Us));return e},t.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(ba),!this.optionalCharacter(Ea)){this.rbracesExpected++;do{var r=this.expectIdentifierOrKeywordOrString();t.push(r),this.expectCharacter(qs),e.push(this.parsePipe())}while(this.optionalCharacter(Us));this.rbracesExpected--,this.expectCharacter(Ea)}return new Ga(this.span(n),t,e)},t.prototype.parseAccessMemberOrMethodCall=function(t,e){void 0===e&&(e=!1);var n=t.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(Hs)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(Vs),this.rparensExpected--;var o=this.span(n);return e?new Za(o,t,r,i):new $a(o,t,r,i)}if(e)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new Ya(this.span(n))):new Va(this.span(n),t,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new Ya(this.span(n));var s=this.parseConditional();return new Ha(this.span(n),t,r,s)}return new Ra(this.span(n),t,r)},t.prototype.parseCallArguments=function(){if(this.next.isCharacter(Vs))return[];var t=[];do t.push(this.parsePipe());while(this.optionalCharacter(Us));return t},t.prototype.expectTemplateBindingKey=function(){var t="",e=!1;do t+=this.expectIdentifierOrKeywordOrString(),e=this.optionalOperator("-"),e&&(t+="-");while(e);return t.toString()},t.prototype.parseTemplateBindings=function(){for(var t=[],e=null,n=[];this.index<this.tokens.length;){var r=this.inputIndex,i=this.peekKeywordLet();i&&this.advance();var o=this.expectTemplateBindingKey();i||(null==e?e=o:o=e+o[0].toUpperCase()+o.substring(1)),this.optionalCharacter(qs);var s=null,a=null;if(i)s=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";else if(this.next!==su&&!this.peekKeywordLet()){var u=this.inputIndex,c=this.parsePipe(),l=this.input.substring(u-this.offset,this.inputIndex-this.offset);a=new Qa(c,l,this.location,this.errors)}t.push(new tu(this.span(r),o,i,s,a)),this.optionalCharacter(Ks)||this.optionalCharacter(Us)}return new cu(t,n,this.errors)},t.prototype.error=function(t,e){void 0===e&&(e=null),this.errors.push(new xa(t,this.input,this.locationText(e),this.location)),this.skip()},t.prototype.locationText=function(t){return void 0===t&&(t=null),i(t)&&(t=this.index),t<this.tokens.length?"at column "+(this.tokens[t].index+1)+" in":"at the end of the expression"},t.prototype.skip=function(){for(var t=this.next;this.index<this.tokens.length&&!t.isCharacter(Ks)&&(this.rparensExpected<=0||!t.isCharacter(Vs))&&(this.rbracesExpected<=0||!t.isCharacter(Ea))&&(this.rbracketsExpected<=0||!t.isCharacter(ua));)this.next.isError()&&this.errors.push(new xa(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),t=this.next},t}(),hu=function(){function t(){this.errors=[]}return t.check=function(e){var n=new t;return e.visit(n),n.errors},t.prototype.visitImplicitReceiver=function(t,e){},t.prototype.visitInterpolation=function(t,e){},t.prototype.visitLiteralPrimitive=function(t,e){},t.prototype.visitPropertyRead=function(t,e){},t.prototype.visitPropertyWrite=function(t,e){},t.prototype.visitSafePropertyRead=function(t,e){},t.prototype.visitMethodCall=function(t,e){},t.prototype.visitSafeMethodCall=function(t,e){},t.prototype.visitFunctionCall=function(t,e){},t.prototype.visitLiteralArray=function(t,e){this.visitAll(t.expressions)},t.prototype.visitLiteralMap=function(t,e){this.visitAll(t.values)},t.prototype.visitBinary=function(t,e){},t.prototype.visitPrefixNot=function(t,e){},t.prototype.visitConditional=function(t,e){},t.prototype.visitPipe=function(t,e){this.errors.push("pipes")},t.prototype.visitKeyedRead=function(t,e){},t.prototype.visitKeyedWrite=function(t,e){},t.prototype.visitAll=function(t){var e=this;return t.map(function(t){return t.visit(e)})},t.prototype.visitChain=function(t,e){},t.prototype.visitQuote=function(t,e){},t}(),du=function(){function t(t,e,n,r){this.file=t,this.offset=e,this.line=n,this.col=r}return t.prototype.toString=function(){return r(this.offset)?this.file.url+"@"+this.line+":"+this.col:this.file.url},t.prototype.moveBy=function(e){for(var n=this.file.content,r=n.length,i=this.offset,o=this.line,s=this.col;i>0&&0>e;){i--,e++;var a=n.charCodeAt(i);if(a==ks){o--;var u=n.substr(0,i-1).lastIndexOf(String.fromCharCode(ks));s=u>0?i-u:i}else s--}for(;r>i&&e>0;){var a=n.charCodeAt(i);i++,e--,a==ks?(o++,s=0):s++}return new t(this.file,i,o,s)},t}(),fu=function(){function t(t,e){this.content=t,this.url=e}return t}(),mu=function(){function t(t,e,n){void 0===n&&(n=null),this.start=t,this.end=e,this.details=n}return t.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},t}(),yu={};yu.WARNING=0,yu.FATAL=1,yu[yu.WARNING]="WARNING",yu[yu.FATAL]="FATAL";var _u=function(){function t(t,e,n){void 0===n&&(n=yu.FATAL),this.span=t,this.msg=e,this.level=n}return t.prototype.toString=function(){var t=this.span.start.file.content,e=this.span.start.offset,n="",i="";if(r(e)){e>t.length-1&&(e=t.length-1);for(var o=e,s=0,a=0;100>s&&e>0&&(e--,s++,"\n"!=t[e]||3!=++a););for(s=0,a=0;100>s&&o<t.length-1&&(o++,s++,"\n"!=t[o]||3!=++a););var u=t.substring(e,this.span.start.offset)+"[ERROR ->]"+t.substring(this.span.start.offset,o+1);n=' ("'+u+'")'}return this.span.details&&(i=", "+this.span.details),""+this.msg+n+": "+this.span.start+i},t}(),vu=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),gu=function(){function t(t,e,n,r,i){this.switchValue=t,this.type=e,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansion(this,e)},t}(),wu=function(){function t(t,e,n,r,i){this.value=t,this.expression=e,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansionCase(this,e)},t}(),bu=function(){function t(t,e,n,r){this.name=t,this.value=e,this.sourceSpan=n,this.valueSpan=r}return t.prototype.visit=function(t,e){return t.visitAttribute(this,e)},t}(),Mu=function(){function t(t,e,n,r,i,o){this.name=t,this.attrs=e,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),Eu=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitComment(this,e)},t}(),Su=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Tu={};Tu.TAG_OPEN_START=0,Tu.TAG_OPEN_END=1,Tu.TAG_OPEN_END_VOID=2,Tu.TAG_CLOSE=3,Tu.TEXT=4,Tu.ESCAPABLE_RAW_TEXT=5,Tu.RAW_TEXT=6,Tu.COMMENT_START=7,Tu.COMMENT_END=8,Tu.CDATA_START=9,Tu.CDATA_END=10,Tu.ATTR_NAME=11,Tu.ATTR_VALUE=12,Tu.DOC_TYPE=13,Tu.EXPANSION_FORM_START=14,Tu.EXPANSION_CASE_VALUE=15,Tu.EXPANSION_CASE_EXP_START=16,Tu.EXPANSION_CASE_EXP_END=17,Tu.EXPANSION_FORM_END=18,Tu.EOF=19,Tu[Tu.TAG_OPEN_START]="TAG_OPEN_START",Tu[Tu.TAG_OPEN_END]="TAG_OPEN_END",Tu[Tu.TAG_OPEN_END_VOID]="TAG_OPEN_END_VOID",Tu[Tu.TAG_CLOSE]="TAG_CLOSE",Tu[Tu.TEXT]="TEXT",Tu[Tu.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",Tu[Tu.RAW_TEXT]="RAW_TEXT",Tu[Tu.COMMENT_START]="COMMENT_START",Tu[Tu.COMMENT_END]="COMMENT_END",Tu[Tu.CDATA_START]="CDATA_START",Tu[Tu.CDATA_END]="CDATA_END",Tu[Tu.ATTR_NAME]="ATTR_NAME",Tu[Tu.ATTR_VALUE]="ATTR_VALUE",Tu[Tu.DOC_TYPE]="DOC_TYPE",Tu[Tu.EXPANSION_FORM_START]="EXPANSION_FORM_START",Tu[Tu.EXPANSION_CASE_VALUE]="EXPANSION_CASE_VALUE",Tu[Tu.EXPANSION_CASE_EXP_START]="EXPANSION_CASE_EXP_START",Tu[Tu.EXPANSION_CASE_EXP_END]="EXPANSION_CASE_EXP_END",Tu[Tu.EXPANSION_FORM_END]="EXPANSION_FORM_END",Tu[Tu.EOF]="EOF";var Cu=function(){function t(t,e,n){this.type=t,this.parts=e,this.sourceSpan=n}return t}(),ku=function(t){function e(e,n,r){t.call(this,r,e),this.tokenType=n}return Su(e,t),e}(_u),Lu=function(){function t(t,e){this.tokens=t,this.errors=e}return t}(),Du=/\r\n?/g,xu=function(){function t(t){this.error=t}return t}(),Pu=function(){function t(t,e,n,r){void 0===r&&(r=La),this._file=t,this._getTagDefinition=e,this._tokenizeIcu=n,this._interpolationConfig=r,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=t.content,this._length=t.content.length,this._advance()}return t.prototype._processCarriageReturns=function(t){return t.replace(Du,"\n")},t.prototype.tokenize=function(){for(;this._peek!==Ts;){var t=this._getLocation();try{this._attemptCharCode(Js)?this._attemptCharCode(Os)?this._attemptCharCode(sa)?this._consumeCdata(t):this._attemptCharCode(Ws)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(Gs)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){if(!(e instanceof xu))throw e;this.errors.push(e.error)}}return this._beginToken(Tu.EOF),this._endToken([]),new Lu(st(this.tokens),this.errors)},t.prototype._tokenizeExpansionForm=function(){if(nt(this._input,this._index,this._interpolationConfig))return this._consumeExpansionFormStart(),!0;if(rt(this._peek)&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._peek===Ea){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},t.prototype._getLocation=function(){return new du(this._file,this._index,this._line,this._column)},t.prototype._getSpan=function(t,e){return void 0===t&&(t=this._getLocation()),void 0===e&&(e=this._getLocation()),new mu(t,e)},t.prototype._beginToken=function(t,e){void 0===e&&(e=this._getLocation()),this._currentTokenStart=e,this._currentTokenType=t},t.prototype._endToken=function(t,e){void 0===e&&(e=this._getLocation());var n=new Cu(this._currentTokenType,t,new mu(this._currentTokenStart,e));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n},t.prototype._createError=function(t,e){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new ku(t,this._currentTokenType,e);return this._currentTokenStart=null,this._currentTokenType=null,new xu(n)},t.prototype._advance=function(){if(this._index>=this._length)throw this._createError(J(Ts),this._getSpan());this._peek===ks?(this._line++,this._column=0):this._peek!==ks&&this._peek!==xs&&this._column++,this._index++,this._peek=this._index>=this._length?Ts:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?Ts:this._input.charCodeAt(this._index+1)},t.prototype._attemptCharCode=function(t){return this._peek===t?(this._advance(),!0):!1},t.prototype._attemptCharCodeCaseInsensitive=function(t){return it(this._peek,t)?(this._advance(),!0):!1},t.prototype._requireCharCode=function(t){var e=this._getLocation();if(!this._attemptCharCode(t))throw this._createError(J(this._peek),this._getSpan(e,e))},t.prototype._attemptStr=function(t){var e=t.length;if(this._index+e>this._length)return!1;for(var n=this._savePosition(),r=0;e>r;r++)if(!this._attemptCharCode(t.charCodeAt(r)))return this._restorePosition(n),!1;return!0},t.prototype._attemptStrCaseInsensitive=function(t){for(var e=0;e<t.length;e++)if(!this._attemptCharCodeCaseInsensitive(t.charCodeAt(e)))return!1;return!0},t.prototype._requireStr=function(t){var e=this._getLocation();if(!this._attemptStr(t))throw this._createError(J(this._peek),this._getSpan(e))},t.prototype._attemptCharCodeUntilFn=function(t){for(;!t(this._peek);)this._advance()},t.prototype._requireCharCodeUntilFn=function(t,e){var n=this._getLocation();if(this._attemptCharCodeUntilFn(t),this._index-n.offset<e)throw this._createError(J(this._peek),this._getSpan(n,n))},t.prototype._attemptUntilChar=function(t){for(;this._peek!==t;)this._advance()},t.prototype._readChar=function(t){if(t&&this._peek===Ns)return this._decodeEntity();var e=this._index;return this._advance(),this._input[e]},t.prototype._decodeEntity=function(){var t=this._getLocation();if(this._advance(),!this._attemptCharCode(Ys)){var e=this._savePosition();if(this._attemptCharCodeUntilFn(et),this._peek!=Ks)return this._restorePosition(e),"&";this._advance();var n=this._input.substring(t.offset+1,this._index-1),r=Wo[n];if(!r)throw this._createError($(n),this._getSpan(t));return r}var i=this._attemptCharCode(ga)||this._attemptCharCode(ia),o=this._getLocation().offset;if(this._attemptCharCodeUntilFn(tt),this._peek!=Ks)throw this._createError(J(this._peek),this._getSpan());this._advance();var s=this._input.substring(o,this._index-1);try{var a=parseInt(s,i?16:10);return String.fromCharCode(a)}catch(u){var c=this._input.substring(t.offset+1,this._index-1);throw this._createError($(c),this._getSpan(t))}},t.prototype._consumeRawText=function(t,e,n){var r,i=this._getLocation();this._beginToken(t?Tu.ESCAPABLE_RAW_TEXT:Tu.RAW_TEXT,i);for(var o=[];;){if(r=this._getLocation(),this._attemptCharCode(e)&&n())break;for(this._index>r.offset&&o.push(this._input.substring(r.offset,this._index));this._peek!==e;)o.push(this._readChar(t))}return this._endToken([this._processCarriageReturns(o.join(""))],r)},t.prototype._consumeComment=function(t){var e=this;this._beginToken(Tu.COMMENT_START,t),this._requireCharCode(Ws),this._endToken([]);var n=this._consumeRawText(!1,Ws,function(){return e._attemptStr("->")});this._beginToken(Tu.COMMENT_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeCdata=function(t){var e=this;this._beginToken(Tu.CDATA_START,t),this._requireStr("CDATA["),this._endToken([]);var n=this._consumeRawText(!1,ua,function(){return e._attemptStr("]>")});this._beginToken(Tu.CDATA_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeDocType=function(t){this._beginToken(Tu.DOC_TYPE,t),this._attemptUntilChar(Zs),this._advance(),this._endToken([this._input.substring(t.offset+2,this._index-1)])},t.prototype._consumePrefixAndName=function(){for(var t=this._index,e=null;this._peek!==qs&&!Q(this._peek);)this._advance();var n;this._peek===qs?(this._advance(),e=this._input.substring(t,this._index-1),n=this._index):n=t,this._requireCharCodeUntilFn(X,this._index===n?1:0);var r=this._input.substring(n,this._index);return[e,r]},t.prototype._consumeTagOpen=function(t){var e,n,r=this._savePosition();try{if(!L(this._peek))throw this._createError(J(this._peek),this._getSpan());var i=this._index;for(this._consumeTagOpenStart(t),e=this._input.substring(i,this._index),n=e.toLowerCase(),this._attemptCharCodeUntilFn(Z);this._peek!==Gs&&this._peek!==Zs;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(Z),this._attemptCharCode($s)&&(this._attemptCharCodeUntilFn(Z),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(Z);this._consumeTagOpenEnd()}catch(o){if(o instanceof xu)return this._restorePosition(r),this._beginToken(Tu.TEXT,t),void this._endToken(["<"]);throw o}var s=this._getTagDefinition(e).contentType;s===Uo.RAW_TEXT?this._consumeRawTextWithTagClose(n,!1):s===Uo.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,!0)},t.prototype._consumeRawTextWithTagClose=function(t,e){var n=this,r=this._consumeRawText(e,Js,function(){return n._attemptCharCode(Gs)?(n._attemptCharCodeUntilFn(Z),n._attemptStrCaseInsensitive(t)?(n._attemptCharCodeUntilFn(Z),n._attemptCharCode(Zs)):!1):!1});this._beginToken(Tu.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,t])},t.prototype._consumeTagOpenStart=function(t){this._beginToken(Tu.TAG_OPEN_START,t);var e=this._consumePrefixAndName();this._endToken(e)},t.prototype._consumeAttributeName=function(){this._beginToken(Tu.ATTR_NAME);var t=this._consumePrefixAndName();this._endToken(t)},t.prototype._consumeAttributeValue=function(){this._beginToken(Tu.ATTR_VALUE);var t;if(this._peek===Rs||this._peek===As){var e=this._peek;this._advance();for(var n=[];this._peek!==e;)n.push(this._readChar(!0));t=n.join(""),this._advance()}else{var r=this._index;this._requireCharCodeUntilFn(X,1),t=this._input.substring(r,this._index)}this._endToken([this._processCarriageReturns(t)])},t.prototype._consumeTagOpenEnd=function(){var t=this._attemptCharCode(Gs)?Tu.TAG_OPEN_END_VOID:Tu.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(Zs),this._endToken([])},t.prototype._consumeTagClose=function(t){this._beginToken(Tu.TAG_CLOSE,t),this._attemptCharCodeUntilFn(Z);var e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Z),this._requireCharCode(Zs),this._endToken(e)},t.prototype._consumeExpansionFormStart=function(){this._beginToken(Tu.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(ba),this._endToken([]),this._expansionCaseStack.push(Tu.EXPANSION_FORM_START),this._beginToken(Tu.RAW_TEXT,this._getLocation());var t=this._readUntil(Us);this._endToken([t],this._getLocation()),this._requireCharCode(Us),this._attemptCharCodeUntilFn(Z),this._beginToken(Tu.RAW_TEXT,this._getLocation());var e=this._readUntil(Us);this._endToken([e],this._getLocation()),this._requireCharCode(Us),this._attemptCharCodeUntilFn(Z)},t.prototype._consumeExpansionCaseStart=function(){this._beginToken(Tu.EXPANSION_CASE_VALUE,this._getLocation());var t=this._readUntil(ba).trim();this._endToken([t],this._getLocation()),this._attemptCharCodeUntilFn(Z),this._beginToken(Tu.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(ba),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(Z),this._expansionCaseStack.push(Tu.EXPANSION_CASE_EXP_START)},t.prototype._consumeExpansionCaseEnd=function(){this._beginToken(Tu.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(Ea),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(Z),this._expansionCaseStack.pop()},t.prototype._consumeExpansionFormEnd=function(){this._beginToken(Tu.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(Ea),this._endToken([]),this._expansionCaseStack.pop()},t.prototype._consumeText=function(){var t=this._getLocation();this._beginToken(Tu.TEXT,t);var e=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(e.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._attemptStr(this._interpolationConfig.end)&&this._inInterpolation?(e.push(this._interpolationConfig.end),this._inInterpolation=!1):e.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(e.join(""))])},t.prototype._isTextEnd=function(){if(this._peek===Js||this._peek===Ts)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(nt(this._input,this._index,this._interpolationConfig))return!0;if(this._peek===Ea&&this._isInExpansionCase())return!0}return!1},t.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},t.prototype._readUntil=function(t){var e=this._index;return this._attemptUntilChar(t),this._input.substring(e,this._index)},t.prototype._restorePosition=function(t){this._peek=t[0],this._index=t[1],this._column=t[2],this._line=t[3];var e=t[4];e<this.tokens.length&&(this.tokens=this.tokens.slice(0,e))},t.prototype._isInExpansionCase=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Tu.EXPANSION_CASE_EXP_START},t.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Tu.EXPANSION_FORM_START},t}(),Ou=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Au=function(t){function e(e,n,r){t.call(this,n,r),this.elementName=e}return Ou(e,t),e.create=function(t,n,r){return new e(t,n,r)},e}(_u),Yu=function(){function t(t,e){this.rootNodes=t,this.errors=e}return t}(),Iu=function(){function t(t){this.getTagDefinition=t}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=La);var i=K(t,e,this.getTagDefinition,n,r),o=new ju(i.tokens,this.getTagDefinition).build();return new Yu(o.rootNodes,i.errors.concat(o.errors))},t}(),ju=function(){function t(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return t.prototype.build=function(){for(;this._peek.type!==Tu.EOF;)this._peek.type===Tu.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Tu.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Tu.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Tu.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Tu.TEXT||this._peek.type===Tu.RAW_TEXT||this._peek.type===Tu.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Tu.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new Yu(this._rootNodes,this._errors)},t.prototype._advance=function(){var t=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],t},t.prototype._advanceIf=function(t){return this._peek.type===t?this._advance():null},t.prototype._consumeCdata=function(t){this._consumeText(this._advance()),this._advanceIf(Tu.CDATA_END)},t.prototype._consumeComment=function(t){var e=this._advanceIf(Tu.RAW_TEXT);this._advanceIf(Tu.COMMENT_END);var n=r(e)?e.parts[0].trim():null;this._addToParent(new Eu(n,t.sourceSpan))},t.prototype._consumeExpansion=function(t){for(var e=this._advance(),n=this._advance(),r=[];this._peek.type===Tu.EXPANSION_CASE_VALUE;){var i=this._parseExpansionCase();if(!i)return;r.push(i)}if(this._peek.type!==Tu.EXPANSION_FORM_END)return void this._errors.push(Au.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));var o=new mu(t.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new gu(e.parts[0],n.parts[0],r,o,e.sourceSpan)),this._advance()},t.prototype._parseExpansionCase=function(){var e=this._advance();if(this._peek.type!==Tu.EXPANSION_CASE_EXP_START)return this._errors.push(Au.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var n=this._advance(),r=this._collectExpansionExpTokens(n);if(!r)return null;var i=this._advance();r.push(new Cu(Tu.EOF,[],i.sourceSpan));var o=new t(r,this.getTagDefinition).build();if(o.errors.length>0)return this._errors=this._errors.concat(o.errors),null;var s=new mu(e.sourceSpan.start,i.sourceSpan.end),a=new mu(n.sourceSpan.start,i.sourceSpan.end);return new wu(e.parts[0],o.rootNodes,s,e.sourceSpan,a)},t.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[Tu.EXPANSION_CASE_EXP_START];;){if((this._peek.type===Tu.EXPANSION_FORM_START||this._peek.type===Tu.EXPANSION_CASE_EXP_START)&&n.push(this._peek.type),this._peek.type===Tu.EXPANSION_CASE_EXP_END){if(!at(n,Tu.EXPANSION_CASE_EXP_START))return this._errors.push(Au.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return e}if(this._peek.type===Tu.EXPANSION_FORM_END){if(!at(n,Tu.EXPANSION_FORM_START))return this._errors.push(Au.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Tu.EOF)return this._errors.push(Au.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},t.prototype._consumeText=function(t){var e=t.parts[0];if(e.length>0&&"\n"==e[0]){var n=this._getParentElement();r(n)&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(e=e.substring(1))}e.length>0&&this._addToParent(new vu(e,t.sourceSpan))},t.prototype._closeVoidElement=function(){if(this._elementStack.length>0){var t=this._elementStack[this._elementStack.length-1];
this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()}},t.prototype._consumeStartTag=function(t){for(var e=t.parts[0],n=t.parts[1],r=[];this._peek.type===Tu.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(e,n,this._getParentElement()),o=!1;if(this._peek.type===Tu.TAG_OPEN_END_VOID){this._advance(),o=!0;var s=this.getTagDefinition(i);s.canSelfClose||null!==p(i)||s.isVoid||this._errors.push(Au.create(i,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else this._peek.type===Tu.TAG_OPEN_END&&(this._advance(),o=!1);var a=this._peek.sourceSpan.start,u=new mu(t.sourceSpan.start,a),c=new Mu(i,r,[],u,u,null);this._pushElement(c),o&&(this._popElement(i),c.endSourceSpan=u)},t.prototype._pushElement=function(t){if(this._elementStack.length>0){var e=this._elementStack[this._elementStack.length-1];this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop()}var n=this.getTagDefinition(t.name),i=this._getParentElementSkippingContainers(),o=i.parent,s=i.container;if(r(o)&&n.requireExtraParent(o.name)){var a=new Mu(n.parentToAdd,[],[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan);this._insertBeforeContainer(o,s,a)}this._addToParent(t),this._elementStack.push(t)},t.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());this._getParentElement()&&(this._getParentElement().endSourceSpan=t.sourceSpan),this.getTagDefinition(e).isVoid?this._errors.push(Au.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"')):this._popElement(e)||this._errors.push(Au.create(e,t.sourceSpan,'Unexpected closing tag "'+t.parts[1]+'"'))},t.prototype._popElement=function(t){for(var e=this._elementStack.length-1;e>=0;e--){var n=this._elementStack[e];if(n.name==t)return this._elementStack.splice(e,this._elementStack.length-e),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},t.prototype._consumeAttr=function(t){var e,n=h(t.parts[0],t.parts[1]),r=t.sourceSpan.end,i="";if(this._peek.type===Tu.ATTR_VALUE){var o=this._advance();i=o.parts[0],r=o.sourceSpan.end,e=o.sourceSpan}return new bu(n,i,new mu(t.sourceSpan.start,r),e)},t.prototype._getParentElement=function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},t.prototype._getParentElementSkippingContainers=function(){for(var t=null,e=this._elementStack.length-1;e>=0;e--){if("ng-container"!==this._elementStack[e].name)return{parent:this._elementStack[e],container:t};t=this._elementStack[e]}return{parent:this._elementStack[this._elementStack.length-1],container:t}},t.prototype._addToParent=function(t){var e=this._getParentElement();r(e)?e.children.push(t):this._rootNodes.push(t)},t.prototype._insertBeforeContainer=function(t,e,n){if(e){if(t){var r=t.children.indexOf(e);t.children[r]=n}else this._rootNodes.push(n);n.children.push(e),this._elementStack.splice(this._elementStack.indexOf(e),0,n)}else this._addToParent(n),this._elementStack.push(n)},t.prototype._getElementFullName=function(t,e,n){return i(t)&&(t=this.getTagDefinition(e).implicitNamespacePrefix,i(t)&&r(n)&&(t=p(n.name))),h(t,e)},t}(),Nu=function(){function t(t,e,n,r,i){this.nodes=t,this.placeholders=e,this.placeholderToMessage=n,this.meaning=r,this.description=i}return t}(),Ru=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),Hu=function(){function t(t,e){this.children=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitContainer(this,e)},t}(),Vu=function(){function t(t,e,n,r){this.expression=t,this.type=e,this.cases=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitIcu(this,e)},t}(),Fu=function(){function t(t,e,n,r,i,o,s){this.tag=t,this.attrs=e,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return t.visitTagPlaceholder(this,e)},t}(),Bu=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitPlaceholder(this,e)},t}(),Uu=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitIcuPlaceholder(this,e)},t}(),Wu={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},zu=function(){function t(){this._placeHolderNameCounts={},this._signatureToName={}}return t.prototype.getStartTagPlaceholderName=function(t,e,n){var r=this._hashTag(t,e,n);if(this._signatureToName[r])return this._signatureToName[r];var i=t.toUpperCase(),o=Wu[i]||"TAG_"+i,s=this._generateUniqueName(n?o:"START_"+o);return this._signatureToName[r]=s,s},t.prototype.getCloseTagPlaceholderName=function(t){var e=this._hashClosingTag(t);if(this._signatureToName[e])return this._signatureToName[e];var n=t.toUpperCase(),r=Wu[n]||"TAG_"+n,i=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[e]=i,i},t.prototype.getPlaceholderName=function(t,e){var n=t.toUpperCase(),r="PH: "+n+"="+e;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i,i},t.prototype.getUniquePlaceholder=function(t){return this._generateUniqueName(t.toUpperCase())},t.prototype._hashTag=function(t,e,n){var r="<"+t,i=Object.keys(e).sort().map(function(t){return" "+t+"="+e[t]}).join(""),o=n?"/>":"></"+t+">";return r+i+o},t.prototype._hashClosingTag=function(t){return this._hashTag("/"+t,{},!1)},t.prototype._generateUniqueName=function(t){var e=this._placeHolderNameCounts[t];return this._placeHolderNameCounts[t]=e?e+1:1,e?t+"_"+e:t},t}(),Gu=new lu(new iu),qu=function(){function t(t,e){this._expressionParser=t,this._interpolationConfig=e}return t.prototype.toI18nMessage=function(t,e,n){this._isIcu=1==t.length&&t[0]instanceof gu,this._icuDepth=0,this._placeholderRegistry=new zu,this._placeholderToContent={},this._placeholderToMessage={};var r=q(this,t,{});return new Nu(r,this._placeholderToContent,this._placeholderToMessage,e,n)},t.prototype.visitElement=function(t,e){var n=q(this,t.children),r={};t.attrs.forEach(function(t){r[t.name]=t.value});var i=d(t.name).isVoid,o=this._placeholderRegistry.getStartTagPlaceholderName(t.name,r,i);this._placeholderToContent[o]=t.sourceSpan.toString();var s="";return i||(s=this._placeholderRegistry.getCloseTagPlaceholderName(t.name),this._placeholderToContent[s]="</"+t.name+">"),new Fu(t.name,r,o,s,n,i,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitExpansion=function(e,n){var r=this;this._icuDepth++;var i={},o=new Vu(e.switchValue,e.type,i,e.sourceSpan);if(e.cases.forEach(function(t){i[t.value]=new Hu(t.expression.map(function(t){return t.visit(r,{})}),t.expSourceSpan)}),this._icuDepth--,this._isIcu||this._icuDepth>0){var s=this._placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return o.expressionPlaceholder=s,this._placeholderToContent[s]=e.switchValue,o}var a=this._placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString()),u=new t(this._expressionParser,this._interpolationConfig);return this._placeholderToMessage[a]=u.toI18nMessage([e],"",""),new Uu(o,a,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Unreachable code")},t.prototype._visitTextWithInterpolation=function(t,e){var n=this._expressionParser.splitInterpolation(t,e.start.toString(),this._interpolationConfig);if(!n)return new Ru(t,e);for(var r=[],i=new Hu(r,e),o=this._interpolationConfig,s=o.start,a=o.end,u=0;u<n.strings.length-1;u++){var c=n.expressions[u],l=ct(c)||"INTERPOLATION",p=this._placeholderRegistry.getPlaceholderName(l,c);n.strings[u].length&&r.push(new Ru(n.strings[u],e)),r.push(new Bu(c,p,e)),this._placeholderToContent[p]=s+c+a}var h=n.strings.length-1;return n.strings[h].length&&r.push(new Ru(n.strings[h],e)),i},t}(),Ku=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*"([\s\S]*?)"[\s\S]*\)/g,Ju=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},$u=function(t){function e(e,n){t.call(this,e,n)}return Ju(e,t),e}(_u),Zu="i18n",Xu="i18n-",Qu=/^i18n:?/,tc=function(){function t(t,e){this.messages=t,this.errors=e}return t}(),ec={};ec.Extract=0,ec.Merge=1,ec[ec.Extract]="Extract",ec[ec.Merge]="Merge";var nc=function(){function t(t,e){this._implicitTags=t,this._implicitAttrs=e}return t.prototype.extract=function(t,e){var n=this;return this._init(ec.Extract,e),t.forEach(function(t){return t.visit(n,null)}),this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new tc(this._messages,this._errors)},t.prototype.merge=function(t,e,n){this._init(ec.Merge,n),this._translations=e;var r=new Mu("wrapper",[],t,null,null,null),i=r.visit(this,null);return this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new Yu(i.children,this._errors)},t.prototype.visitExpansionCase=function(t,e){var n=q(this,t.expression,e);return this._mode===ec.Merge?new wu(t.value,n,t.sourceSpan,t.valueSourceSpan,t.expSourceSpan):void 0},t.prototype.visitExpansion=function(t,e){this._mayBeAddBlockChildren(t);var n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([t]),this._inIcu=!0);var r=q(this,t.cases,e);return this._mode===ec.Merge&&(t=new gu(t.switchValue,t.type,r,t.sourceSpan,t.switchValueSourceSpan)),this._inIcu=n,t},t.prototype.visitComment=function(t,e){var n=ht(t);if(n&&this._isInTranslatableSection)return void this._reportError(t,"Could not start a block inside a translatable section");var r=dt(t);if(r&&!this._inI18nBlock)return void this._reportError(t,"Trying to close an unopened block");if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(r){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(t,this._blockChildren),this._inI18nBlock=!1;var i=this._addMessage(this._blockChildren,this._blockMeaningAndDesc),o=this._translateMessage(t,i);return q(this,o)}return void this._reportError(t,"I18N blocks should not cross element boundaries")}}else n&&(this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=t.value.replace(Qu,"").trim(),this._openTranslatableSection(t))},t.prototype.visitText=function(t,e){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(t),t},t.prototype.visitElement=function(t,e){var n=this;this._mayBeAddBlockChildren(t),this._depth++;var r,i=this._inI18nNode,o=this._inImplicitNode,s=ft(t),a=this._implicitTags.some(function(e){return t.name===e})&&!this._inIcu&&!this._isInTranslatableSection,u=!o&&a;if(this._inImplicitNode=this._inImplicitNode||a,this._isInTranslatableSection||this._inIcu)(s||u)&&this._reportError(t,"Could not mark an element as translatable inside a translatable section"),this._mode==ec.Extract&&q(this,t.children),this._mode==ec.Merge&&(r=[],t.children.forEach(function(t){var i=t.visit(n,e);i&&!n._isInTranslatableSection&&(r=r.concat(i))}));else{if(s){this._inI18nNode=!0;var c=this._addMessage(t.children,s.value);r=this._translateMessage(t,c)}else if(u){this._inI18nNode=!0;var c=this._addMessage(t.children);r=this._translateMessage(t,c)}if(this._mode==ec.Extract){var l=s||u;l&&this._openTranslatableSection(t),q(this,t.children),l&&this._closeTranslatableSection(t,t.children)}this._mode!==ec.Merge||s||u||(r=[],t.children.forEach(function(t){var i=t.visit(n,e);i&&!n._isInTranslatableSection&&(r=r.concat(i))}))}if(this._visitAttributesOf(t),this._depth--,this._inI18nNode=i,this._inImplicitNode=o,this._mode===ec.Merge){var p=this._translateAttributes(t);return new Mu(t.name,p,r,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)}},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype._init=function(t,e){this._mode=t,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=ut(e)},t.prototype._visitAttributesOf=function(t){var e=this,n={},r=this._implicitAttrs[t.name]||[];t.attrs.filter(function(t){return t.name.startsWith(Xu)}).forEach(function(t){return n[t.name.slice(Xu.length)]=t.value}),t.attrs.forEach(function(t){t.name in n?e._addMessage([t],n[t.name]):r.some(function(e){return t.name===e})&&e._addMessage([t])})},t.prototype._addMessage=function(t,e){if(!(0==t.length||1==t.length&&t[0]instanceof bu&&!t[0].value)){var n=mt(e),r=n[0],i=n[1],o=this._createI18nMessage(t,r,i);return this._messages.push(o),o}},t.prototype._translateMessage=function(t,e){if(e&&this._mode===ec.Merge){var n=this._translations.get(e);if(n)return n;this._reportError(t,'Translation unavailable for message id="'+this._translations.digest(e)+'"')}return[]},t.prototype._translateAttributes=function(t){var e=this,n=t.attrs,r={};n.forEach(function(t){t.name.startsWith(Xu)&&(r[t.name.slice(Xu.length)]=mt(t.value)[0])});var i=[];return n.forEach(function(n){if(n.name!==Zu&&!n.name.startsWith(Xu))if(n.value&&""!=n.value&&r.hasOwnProperty(n.name)){var o=r[n.name],s=e._createI18nMessage([n],o,""),a=e._translations.get(s);if(a)if(a[0]instanceof vu){var u=a[0].value;i.push(new bu(n.name,u,n.sourceSpan))}else e._reportError(t,'Unexpected translation for attribute "'+n.name+'" (id="'+e._translations.digest(s)+'")');else e._reportError(t,'Translation unavailable for attribute "'+n.name+'" (id="'+e._translations.digest(s)+'")')}else i.push(n)}),i},t.prototype._mayBeAddBlockChildren=function(t){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(t)},t.prototype._openTranslatableSection=function(t){this._isInTranslatableSection?this._reportError(t,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(t.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),t.prototype._closeTranslatableSection=function(t,e){if(!this._isInTranslatableSection)return void this._reportError(t,"Unexpected section end");var n=this._msgCountAtSectionStart,r=e.reduce(function(t,e){return t+(e instanceof Eu?0:1)},0);if(1==r)for(var i=this._messages.length-1;i>=n;i--){var o=this._messages[i].nodes;if(!(1==o.length&&o[0]instanceof Ru)){this._messages.splice(i,1);break}}this._msgCountAtSectionStart=void 0},t.prototype._reportError=function(t,e){this._errors.push(new $u(t.sourceSpan,e))},t}(),rc=function(){function t(){this.closedByParent=!1,this.contentType=Uo.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return t.prototype.requireExtraParent=function(t){return!1},t.prototype.isClosedByChild=function(t){return!1},t}(),ic=new rc,oc=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},sc=function(t){function e(){t.call(this,yt)}return oc(e,t),e.prototype.parse=function(e,n,r){return void 0===r&&(r=!1),t.prototype.parse.call(this,e,n,r,null)},e}(Iu),ac=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},uc=function(){function t(){}return t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return"["+t.children.map(function(t){return t.visit(n)}).join(", ")+"]"},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expression+", "+t.type+", "+r.join(", ")+"}"},t.prototype.visitTagPlaceholder=function(t,e){var n=this;return t.isVoid?'<ph tag name="'+t.startName+'"/>':'<ph tag name="'+t.startName+'">'+t.children.map(function(t){return t.visit(n)}).join(", ")+'</ph name="'+t.closeName+'">'},t.prototype.visitPlaceholder=function(t,e){return t.value?'<ph name="'+t.name+'">'+t.value+"</ph>":'<ph name="'+t.name+'"/>'},t.prototype.visitIcuPlaceholder=function(t,e){return'<ph icu name="'+t.name+'">'+t.value.visit(this)+"</ph>"},t}(),cc=new uc,lc=function(t){function e(){t.apply(this,arguments)}return ac(e,t),e.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.type+", "+r.join(", ")+"}"},e}(uc),pc={};pc.Little=0,pc.Big=1,pc[pc.Little]="Little",pc[pc.Big]="Big";var hc=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},dc=function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+"</"+t.name+">"},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return"<?xml"+this._serializeAttributes(t.attrs)+" ?>"},t.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return e.length>0?" "+e:""},t.prototype.visitDoctype=function(t){return"<!DOCTYPE "+t.rootTag+" [\n"+t.dtd+"\n]>"},t}(),fc=new dc,mc=function(){function t(t){var e=this;this.attrs={},Object.keys(t).forEach(function(n){e.attrs[n]=Wt(t[n])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),yc=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),_c=function(){function t(t,e,n){var r=this;void 0===e&&(e={}),void 0===n&&(n=[]),this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=Wt(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),vc=function(){function t(t){this.value=Wt(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),gc=function(t){function e(e){void 0===e&&(e=0),t.call(this,"\n"+new Array(e+1).join(" "))}return hc(e,t),e}(vc),wc=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]],bc="1.2",Mc="urn:oasis:names:tc:xliff:document:1.2",Ec="en",Sc="x",Tc="source",Cc="target",kc="trans-unit",Lc=function(){function t(){}return t.prototype.write=function(t){var e=this,n=new Dc,r={},i=[];t.forEach(function(t){var o=e.digest(t);if(!r[o]){r[o]=!0;var s=new _c(kc,{id:o,datatype:"html"});s.children.push(new gc(8),new _c(Tc,{},n.serialize(t.nodes)),new gc(8),new _c(Cc)),t.description&&s.children.push(new gc(8),new _c("note",{priority:"1",from:"description"},[new vc(t.description)])),t.meaning&&s.children.push(new gc(8),new _c("note",{priority:"1",from:"meaning"},[new vc(t.meaning)])),s.children.push(new gc(6)),i.push(new gc(6),s)}});var o=new _c("body",{},i.concat([new gc(4)])),s=new _c("file",{"source-language":Ec,datatype:"plaintext",original:"ng2.template"},[new gc(4),o,new gc(2)]),a=new _c("xliff",{version:bc,xmlns:Mc},[new gc(2),s,new gc]);return Ut([new mc({version:"1.0",encoding:"UTF-8"}),new gc,a,new gc])},t.prototype.load=function(t,e){var n=new xc,r=n.parse(t,e),i=r.mlNodesByMsgId,o=r.errors,s={},a=new Pc;if(Object.keys(i).forEach(function(t){var e=a.convert(i[t]),n=e.i18nNodes,r=e.errors;o.push.apply(o,r),s[t]=n}),o.length)throw new Error("xliff parse errors:\n"+o.join("\n"));return s},t.prototype.digest=function(t){return _t(t)},t}(),Dc=function(){function t(){}return t.prototype.visitText=function(t,e){return[new vc(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){if(this._isInIcu)throw new Error("xliff does not support nested ICU messages");this._isInIcu=!0;var n=[];return this._isInIcu=!1,n},t.prototype.visitTagPlaceholder=function(t,e){var n=zt(t.tag),r=new _c(Sc,{id:t.startName,ctype:n});if(t.isVoid)return[r];var i=new _c(Sc,{id:t.closeName,ctype:n});return[r].concat(this.serialize(t.children),[i])},t.prototype.visitPlaceholder=function(t,e){return[new _c(Sc,{id:t.name})]},t.prototype.visitIcuPlaceholder=function(t,e){return[new _c(Sc,{id:t.name})]},t.prototype.serialize=function(t){var e=this;return this._isInIcu=!1,(n=[]).concat.apply(n,t.map(function(t){return t.visit(e)}));var n},t}(),xc=function(){function t(){}return t.prototype.parse=function(t,e){this._unitMlNodes=[],this._mlNodesByMsgId={};var n=(new sc).parse(t,e,!1);return this._errors=n.errors,q(this,n.rootNodes,null),{mlNodesByMsgId:this._mlNodesByMsgId,errors:this._errors}},t.prototype.visitElement=function(t,e){switch(t.name){case kc:this._unitMlNodes=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._mlNodesByMsgId.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(q(this,t.children,null),this._unitMlNodes?this._mlNodesByMsgId[r]=this._unitMlNodes:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,"<"+kc+'> misses the "id" attribute');break;case Tc:break;case Cc:this._unitMlNodes=t.children;break;default:q(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new $u(t.sourceSpan,e))},t}(),Pc=function(){function t(){}return t.prototype.convert=function(t){return this._errors=[],{i18nNodes:q(this,t),errors:this._errors}},t.prototype.visitText=function(t,e){return new Ru(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){if(t.name===Sc){var n=t.attrs.find(function(t){return"id"===t.name});if(n)return new Bu("",n.value,t.sourceSpan);this._addError(t,"<"+Sc+'> misses the "id" attribute')}else this._addError(t,"Unexpected tag")},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new $u(t.sourceSpan,e))},t}(),Oc="messagebundle",Ac="msg",Yc="ph",Ic="ex",jc='<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>',Nc=function(){function t(){}return t.prototype.write=function(t){var e=this,n=new Rc,r={},i=new _c(Oc);return t.forEach(function(t){var o=e.digest(t);if(!r[o]){r[o]=!0;var s={id:o};t.description&&(s.desc=t.description),t.meaning&&(s.meaning=t.meaning),i.children.push(new gc(2),new _c(Ac,s,n.serialize(t.nodes)))}}),i.children.push(new gc),Ut([new mc({version:"1.0",encoding:"UTF-8"}),new gc,new yc(Oc,jc),new gc,i,new gc])},t.prototype.load=function(t,e){throw new Error("Unsupported")},t.prototype.digest=function(t){return Gt(t)},t}(),Rc=function(){function t(){}return t.prototype.visitText=function(t,e){return[new vc(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new vc("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new vc(e+" {")].concat(t.cases[e].visit(n),[new vc("} ")]))}),r.push(new vc("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=new _c(Ic,{},[new vc("<"+t.tag+">")]),r=new _c(Yc,{name:t.startName},[n]);if(t.isVoid)return[r];var i=new _c(Ic,{},[new vc("</"+t.tag+">")]),o=new _c(Yc,{name:t.closeName},[i]);return[r].concat(this.serialize(t.children),[o])},t.prototype.visitPlaceholder=function(t,e){return[new _c(Yc,{name:t.name})]},t.prototype.visitIcuPlaceholder=function(t,e){return[new _c(Yc,{name:t.name})]},t.prototype.serialize=function(t){var e=this;return(n=[]).concat.apply(n,t.map(function(t){return t.visit(e)}));var n},t}(),Hc="translationbundle",Vc="translation",Fc="ph",Bc=function(){function t(){}return t.prototype.write=function(t){throw new Error("Unsupported")},t.prototype.load=function(t,e){var n=new Uc,r=n.parse(t,e),i=r.mlNodesByMsgId,o=r.errors,s={},a=new Wc;if(Object.keys(i).forEach(function(t){var e=a.convert(i[t]),n=e.i18nNodes,r=e.errors;o.push.apply(o,r),s[t]=n}),o.length)throw new Error("xtb parse errors:\n"+o.join("\n"));return s},t.prototype.digest=function(t){return Gt(t)},t}(),Uc=function(){function t(){}return t.prototype.parse=function(t,e){this._bundleDepth=0,this._mlNodesByMsgId={};var n=(new sc).parse(t,e,!0);return this._errors=n.errors,q(this,n.rootNodes),{mlNodesByMsgId:this._mlNodesByMsgId,errors:this._errors}},t.prototype.visitElement=function(t,e){switch(t.name){case Hc:this._bundleDepth++,this._bundleDepth>1&&this._addError(t,"<"+Hc+"> elements can not be nested"),q(this,t.children,null),this._bundleDepth--;break;case Vc:var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._mlNodesByMsgId.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):this._mlNodesByMsgId[r]=t.children}else this._addError(t,"<"+Vc+'> misses the "id" attribute');break;default:this._addError(t,"Unexpected tag")}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new $u(t.sourceSpan,e))},t}(),Wc=function(){function t(){}return t.prototype.convert=function(t){return this._errors=[],{i18nNodes:q(this,t),errors:this._errors}},t.prototype.visitText=function(t,e){return new Ru(t.value,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){var n={};return q(this,t.cases).forEach(function(e){n[e.value]=new Hu(e.nodes,t.sourceSpan)}),new Vu(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:q(this,t.expression)}},t.prototype.visitElement=function(t,e){if(t.name===Fc){var n=t.attrs.find(function(t){return"name"===t.name});if(n)return new Bu("",n.value,t.sourceSpan);this._addError(t,"<"+Fc+'> misses the "name" attribute')}else this._addError(t,"Unexpected tag")},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new $u(t.sourceSpan,e))},t}(),zc=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Gc=function(t){function n(){t.call(this,d)}return zc(n,t),n.prototype.parse=function(e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=La),t.prototype.parse.call(this,e,n,r,i)},n.decorators=[{type:e.Injectable}],n.ctorParameters=function(){return[]},n}(Iu),qc=function(){function t(t,e){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this.digest=e,this._i18nToHtml=new Kc(t,e)}return t.load=function(e,n,r){var i=r.load(e,n),o=function(t){return r.digest(t)};return new t(i,o)},t.prototype.get=function(t){var e=this._i18nToHtml.convert(t);if(e.errors.length)throw new Error(e.errors.join("\n"));return e.nodes},t.prototype.has=function(t){return this.digest(t)in this._i18nNodesByMsgId},t}(),Kc=function(){function t(t,e){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this._digest=e,this._srcMsgStack=[],this._errors=[]}return t.prototype.convert=function(t){this._srcMsgStack.length=0,this._errors.length=0;var e=this._convertToText(t),n=t.nodes[0].sourceSpan.start.file.url,r=(new Gc).parse(e,n,!0);return{nodes:r.rootNodes,errors:this._errors.concat(r.errors)}},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return t.children.map(function(t){return t.visit(n)}).join("")},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"}),i=this._srcMsg.placeholders.hasOwnProperty(t.expression)?this._srcMsg.placeholders[t.expression]:t.expression;return"{"+i+", "+t.type+", "+r.join(" ")+"}"},t.prototype.visitPlaceholder=function(t,e){var n=t.name;return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(t,"Unknown placeholder"),"")},t.prototype.visitTagPlaceholder=function(t,e){throw"unreachable code"},t.prototype.visitIcuPlaceholder=function(t,e){throw"unreachable code"},t.prototype._convertToText=function(t){var e=this,n=this._digest(t);if(this._i18nNodesByMsgId.hasOwnProperty(n)){this._srcMsgStack.push(this._srcMsg),this._srcMsg=t;var r=this._i18nNodesByMsgId[n],i=r.map(function(t){return t.visit(e)}).join("");return this._srcMsg=this._srcMsgStack.pop(),i}return this._addError(t.nodes[0],"Missing translation for message "+n),""},t.prototype._addError=function(t,e){this._errors.push(new $u(t.sourceSpan,e))},t}(),Jc=function(){function t(t,e,n){this._htmlParser=t,this._translations=e,this._translationsFormat=n}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=La);var i=this._htmlParser.parse(t,e,n,r);if(!this._translations||""===this._translations)return i;if(i.errors.length)return new Yu(i.rootNodes,i.errors);var o=this._createSerializer(),s=qc.load(this._translations,e,o);return pt(i.rootNodes,s,r,[],{})},t.prototype._createSerializer=function(){var t=(this._translationsFormat||"xlf").toLowerCase();switch(t){case"xmb":return new Nc;case"xtb":return new Bc;case"xliff":case"xlf":default:return new Lc}},t}(),$c=qt("core","linker/view"),Zc=qt("core","linker/view_utils"),Xc=qt("core","change_detection/change_detection"),Qc=qt("core","animation/animation_style_util"),tl=function(){function t(){}return t.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleUrl:qt("core","metadata/di"),runtime:e.ANALYZE_FOR_ENTRY_COMPONENTS},t.ViewUtils={name:"ViewUtils",moduleUrl:qt("core","linker/view_utils"),runtime:yo.ViewUtils},t.AppView={name:"AppView",moduleUrl:$c,runtime:lo},t.DebugAppView={name:"DebugAppView",moduleUrl:$c,runtime:po},t.ViewContainer={name:"ViewContainer",moduleUrl:qt("core","linker/view_container"),runtime:ao},t.ElementRef={name:"ElementRef",moduleUrl:qt("core","linker/element_ref"),runtime:e.ElementRef},t.ViewContainerRef={name:"ViewContainerRef",moduleUrl:qt("core","linker/view_container_ref"),runtime:e.ViewContainerRef},t.ChangeDetectorRef={name:"ChangeDetectorRef",moduleUrl:qt("core","change_detection/change_detector_ref"),runtime:e.ChangeDetectorRef},t.RenderComponentType={name:"RenderComponentType",moduleUrl:qt("core","render/api"),runtime:e.RenderComponentType},t.QueryList={name:"QueryList",moduleUrl:qt("core","linker/query_list"),runtime:e.QueryList},t.TemplateRef={name:"TemplateRef",
moduleUrl:qt("core","linker/template_ref"),runtime:e.TemplateRef},t.TemplateRef_={name:"TemplateRef_",moduleUrl:qt("core","linker/template_ref"),runtime:Mo},t.CodegenComponentFactoryResolver={name:"CodegenComponentFactoryResolver",moduleUrl:qt("core","linker/component_factory_resolver"),runtime:uo},t.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleUrl:qt("core","linker/component_factory_resolver"),runtime:e.ComponentFactoryResolver},t.ComponentFactory={name:"ComponentFactory",runtime:e.ComponentFactory,moduleUrl:qt("core","linker/component_factory")},t.ComponentRef_={name:"ComponentRef_",runtime:co,moduleUrl:qt("core","linker/component_factory")},t.ComponentRef={name:"ComponentRef",runtime:e.ComponentRef,moduleUrl:qt("core","linker/component_factory")},t.NgModuleFactory={name:"NgModuleFactory",runtime:e.NgModuleFactory,moduleUrl:qt("core","linker/ng_module_factory")},t.NgModuleInjector={name:"NgModuleInjector",runtime:ho,moduleUrl:qt("core","linker/ng_module_factory")},t.RegisterModuleFactoryFn={name:"registerModuleFactory",runtime:fo,moduleUrl:qt("core","linker/ng_module_factory_loader")},t.ValueUnwrapper={name:"ValueUnwrapper",moduleUrl:Xc,runtime:bo},t.Injector={name:"Injector",moduleUrl:qt("core","di/injector"),runtime:e.Injector},t.ViewEncapsulation={name:"ViewEncapsulation",moduleUrl:qt("core","metadata/view"),runtime:e.ViewEncapsulation},t.ViewType={name:"ViewType",moduleUrl:qt("core","linker/view_type"),runtime:mo},t.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleUrl:Xc,runtime:e.ChangeDetectionStrategy},t.StaticNodeDebugInfo={name:"StaticNodeDebugInfo",moduleUrl:qt("core","linker/debug_context"),runtime:vo},t.DebugContext={name:"DebugContext",moduleUrl:qt("core","linker/debug_context"),runtime:_o},t.Renderer={name:"Renderer",moduleUrl:qt("core","render/api"),runtime:e.Renderer},t.SimpleChange={name:"SimpleChange",moduleUrl:Xc,runtime:e.SimpleChange},t.UNINITIALIZED={name:"UNINITIALIZED",moduleUrl:Xc,runtime:wo},t.ChangeDetectorStatus={name:"ChangeDetectorStatus",moduleUrl:Xc,runtime:ro},t.checkBinding={name:"checkBinding",moduleUrl:Zc,runtime:yo.checkBinding},t.devModeEqual={name:"devModeEqual",moduleUrl:Xc,runtime:go},t.inlineInterpolate={name:"inlineInterpolate",moduleUrl:Zc,runtime:yo.inlineInterpolate},t.interpolate={name:"interpolate",moduleUrl:Zc,runtime:yo.interpolate},t.castByValue={name:"castByValue",moduleUrl:Zc,runtime:yo.castByValue},t.EMPTY_ARRAY={name:"EMPTY_ARRAY",moduleUrl:Zc,runtime:yo.EMPTY_ARRAY},t.EMPTY_MAP={name:"EMPTY_MAP",moduleUrl:Zc,runtime:yo.EMPTY_MAP},t.createRenderElement={name:"createRenderElement",moduleUrl:Zc,runtime:yo.createRenderElement},t.selectOrCreateRenderHostElement={name:"selectOrCreateRenderHostElement",moduleUrl:Zc,runtime:yo.selectOrCreateRenderHostElement},t.pureProxies=[null,{name:"pureProxy1",moduleUrl:Zc,runtime:yo.pureProxy1},{name:"pureProxy2",moduleUrl:Zc,runtime:yo.pureProxy2},{name:"pureProxy3",moduleUrl:Zc,runtime:yo.pureProxy3},{name:"pureProxy4",moduleUrl:Zc,runtime:yo.pureProxy4},{name:"pureProxy5",moduleUrl:Zc,runtime:yo.pureProxy5},{name:"pureProxy6",moduleUrl:Zc,runtime:yo.pureProxy6},{name:"pureProxy7",moduleUrl:Zc,runtime:yo.pureProxy7},{name:"pureProxy8",moduleUrl:Zc,runtime:yo.pureProxy8},{name:"pureProxy9",moduleUrl:Zc,runtime:yo.pureProxy9},{name:"pureProxy10",moduleUrl:Zc,runtime:yo.pureProxy10}],t.SecurityContext={name:"SecurityContext",moduleUrl:qt("core","security"),runtime:e.SecurityContext},t.AnimationKeyframe={name:"AnimationKeyframe",moduleUrl:qt("core","animation/animation_keyframe"),runtime:xo},t.AnimationStyles={name:"AnimationStyles",moduleUrl:qt("core","animation/animation_styles"),runtime:Po},t.NoOpAnimationPlayer={name:"NoOpAnimationPlayer",moduleUrl:qt("core","animation/animation_player"),runtime:ko},t.AnimationGroupPlayer={name:"AnimationGroupPlayer",moduleUrl:qt("core","animation/animation_group_player"),runtime:Do},t.AnimationSequencePlayer={name:"AnimationSequencePlayer",moduleUrl:qt("core","animation/animation_sequence_player"),runtime:Lo},t.prepareFinalAnimationStyles={name:"prepareFinalAnimationStyles",moduleUrl:Qc,runtime:jo},t.balanceAnimationKeyframes={name:"balanceAnimationKeyframes",moduleUrl:Qc,runtime:No},t.clearStyles={name:"clearStyles",moduleUrl:Qc,runtime:Ro},t.renderStyles={name:"renderStyles",moduleUrl:Qc,runtime:Vo},t.collectAndResolveStyles={name:"collectAndResolveStyles",moduleUrl:Qc,runtime:Ho},t.LOCALE_ID={name:"LOCALE_ID",moduleUrl:qt("core","i18n/tokens"),runtime:e.LOCALE_ID},t.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleUrl:qt("core","i18n/tokens"),runtime:e.TRANSLATIONS_FORMAT},t.setBindingDebugInfo={name:"setBindingDebugInfo",moduleUrl:Zc,runtime:yo.setBindingDebugInfo},t.setBindingDebugInfoForChanges={name:"setBindingDebugInfoForChanges",moduleUrl:Zc,runtime:yo.setBindingDebugInfoForChanges},t.AnimationTransition={name:"AnimationTransition",moduleUrl:qt("core","animation/animation_transition"),runtime:Bo},t.InlineArray={name:"InlineArray",moduleUrl:Zc,runtime:null},t.inlineArrays=[{name:"InlineArray2",moduleUrl:Zc,runtime:yo.InlineArray2},{name:"InlineArray2",moduleUrl:Zc,runtime:yo.InlineArray2},{name:"InlineArray4",moduleUrl:Zc,runtime:yo.InlineArray4},{name:"InlineArray8",moduleUrl:Zc,runtime:yo.InlineArray8},{name:"InlineArray16",moduleUrl:Zc,runtime:yo.InlineArray16}],t.EMPTY_INLINE_ARRAY={name:"EMPTY_INLINE_ARRAY",moduleUrl:Zc,runtime:yo.EMPTY_INLINE_ARRAY},t.InlineArrayDynamic={name:"InlineArrayDynamic",moduleUrl:Zc,runtime:yo.InlineArrayDynamic},t.subscribeToRenderElement={name:"subscribeToRenderElement",moduleUrl:Zc,runtime:yo.subscribeToRenderElement},t.createRenderComponentType={name:"createRenderComponentType",moduleUrl:Zc,runtime:yo.createRenderComponentType},t.noop={name:"noop",moduleUrl:Zc,runtime:yo.noop},t}(),el=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},nl=["zero","one","two","few","many","other"],rl=function(){function t(t,e,n){this.nodes=t,this.expanded=e,this.errors=n}return t}(),il=function(t){function e(e,n){t.call(this,e,n)}return el(e,t),e}(_u),ol=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new Mu(t.name,t.attrs,q(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"==t.type?te(t,this.errors):ee(t,this.errors)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}(),sl=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},al=function(t){function e(e,n){t.call(this,n,e)}return sl(e,t),e}(_u),ul=function(){function t(t,e){var n=this;this.component=t,this.sourceSpan=e,this.errors=[],this.viewQueries=se(t),this.viewProviders=new Map,t.viewProviders.forEach(function(t){i(n.viewProviders.get(E(t.token)))&&n.viewProviders.set(E(t.token),!0)})}return t}(),cl=function(){function t(t,e,n,i,o,s,a){var u=this;this.viewContext=t,this._parent=e,this._isViewRoot=n,this._directiveAsts=i,this._sourceSpan=a,this._transformedProviders=new Map,this._seenProviders=new Map,this._hasViewContainer=!1,this._attrs={},o.forEach(function(t){return u._attrs[t.name]=t.value});var c=i.map(function(t){return t.directive});this._allProviders=ie(c,a,t.errors),this._contentQueries=ae(c);var l=new Map;Array.from(this._allProviders.values()).forEach(function(t){u._addQueryReadsTo(t.token,l)}),s.forEach(function(t){u._addQueryReadsTo({value:t.name},l)}),r(l.get(Kt(tl.ViewContainerRef)))&&(this._hasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(t){var e=t.eager||r(l.get(E(t.token)));e&&u._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return t.prototype.afterElement=function(){var t=this;Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(t.prototype,"transformProviders",{get:function(){return Array.from(this._transformedProviders.values())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedDirectiveAsts",{get:function(){var t=this.transformProviders.map(function(t){return t.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,n){return t.indexOf(e.directive.type)-t.indexOf(n.directive.type)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedHasViewContainer",{get:function(){return this._hasViewContainer},enumerable:!0,configurable:!0}),t.prototype._addQueryReadsTo=function(t,e){this._getQueriesFor(t).forEach(function(n){var r=n.read||t;i(e.get(E(r)))&&e.set(E(r),!0)})},t.prototype._getQueriesFor=function(t){for(var e,n=[],i=this,o=0;null!==i;)e=i._contentQueries.get(E(t)),r(e)&&n.push.apply(n,e.filter(function(t){return t.descendants||1>=o})),i._directiveAsts.length>0&&o++,i=i._parent;return e=this.viewContext.viewQueries.get(E(t)),r(e)&&n.push.apply(n,e),n},t.prototype._getOrCreateLocalProvider=function(t,e,n){var i=this,o=this._allProviders.get(E(e));if(!o||(t===Ki.Directive||t===Ki.PublicService)&&o.providerType===Ki.PrivateService||(t===Ki.PrivateService||t===Ki.PublicService)&&o.providerType===Ki.Builtin)return null;var s=this._transformedProviders.get(E(e));if(r(s))return s;if(r(this._seenProviders.get(E(e))))return this.viewContext.errors.push(new al("Cannot instantiate cyclic dependency! "+M(e),this._sourceSpan)),null;this._seenProviders.set(E(e),!0);var a=o.providers.map(function(t){var e,s=t.useValue,a=t.useExisting;if(r(t.useExisting)){var u=i._getDependency(o.providerType,{token:t.useExisting},n);r(u.token)?a=u.token:(a=null,s=u.value)}else if(r(t.useFactory)){var c=t.deps||t.useFactory.diDeps;e=c.map(function(t){return i._getDependency(o.providerType,t,n)})}else if(r(t.useClass)){var c=t.deps||t.useClass.diDeps;e=c.map(function(t){return i._getDependency(o.providerType,t,n)})}return ne(t,{useExisting:a,useValue:s,deps:e})});return s=re(o,{eager:n,providers:a}),this._transformedProviders.set(E(e),s),s},t.prototype._getLocalDependency=function(t,e,n){if(void 0===n&&(n=null),e.isAttribute){var i=this._attrs[e.token.value];return{isValue:!0,value:null==i?null:i}}if(r(e.token)){if(t===Ki.Directive||t===Ki.Component){if(E(e.token)===Kt(tl.Renderer)||E(e.token)===Kt(tl.ElementRef)||E(e.token)===Kt(tl.ChangeDetectorRef)||E(e.token)===Kt(tl.TemplateRef))return e;E(e.token)===Kt(tl.ViewContainerRef)&&(this._hasViewContainer=!0)}if(E(e.token)===Kt(tl.Injector))return e;if(r(this._getOrCreateLocalProvider(t,e.token,n)))return e}return null},t.prototype._getDependency=function(t,e,n){void 0===n&&(n=null);var i=this,o=n,s=null;if(e.isSkipSelf||(s=this._getLocalDependency(t,e,n)),e.isSelf)!s&&e.isOptional&&(s={isValue:!0,value:null});else{for(;!s&&r(i._parent);){var a=i;i=i._parent,a._isViewRoot&&(o=!1),s=i._getLocalDependency(Ki.PublicService,e,o)}s||(s=!e.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===E(e.token)||r(this.viewContext.viewProviders.get(E(e.token)))?e:e.isOptional?s={isValue:!0,value:null}:null)}return s||this.viewContext.errors.push(new al("No provider for "+M(e.token),this._sourceSpan)),s},t}(),ll=function(){function t(t,e,n){var r=this;this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,t.transitiveModule.modules.forEach(function(t){var e={token:{identifier:t},useClass:t};oe([e],Ki.PublicService,!0,n,r._errors,r._allProviders)}),oe(t.transitiveModule.providers.map(function(t){return t.provider}).concat(e),Ki.PublicService,!1,n,this._errors,this._allProviders)}return t.prototype.parse=function(){var t=this;if(Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){var e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}return Array.from(this._transformedProviders.values())},t.prototype._getOrCreateLocalProvider=function(t,e){var n=this,i=this._allProviders.get(E(t));if(!i)return null;var o=this._transformedProviders.get(E(t));if(r(o))return o;if(r(this._seenProviders.get(E(t))))return this._errors.push(new al("Cannot instantiate cyclic dependency! "+M(t),i.sourceSpan)),null;this._seenProviders.set(E(t),!0);var s=i.providers.map(function(t){var o,s=t.useValue,a=t.useExisting;if(r(t.useExisting)){var u=n._getDependency({token:t.useExisting},e,i.sourceSpan);r(u.token)?a=u.token:(a=null,s=u.value)}else if(r(t.useFactory)){var c=t.deps||t.useFactory.diDeps;o=c.map(function(t){return n._getDependency(t,e,i.sourceSpan)})}else if(r(t.useClass)){var c=t.deps||t.useClass.diDeps;o=c.map(function(t){return n._getDependency(t,e,i.sourceSpan)})}return ne(t,{useExisting:a,useValue:s,deps:o})});return o=re(i,{eager:e,providers:s}),this._transformedProviders.set(E(t),o),o},t.prototype._getDependency=function(t,e,n){void 0===e&&(e=null);var i=!1;!t.isSkipSelf&&r(t.token)&&(E(t.token)===Kt(tl.Injector)||E(t.token)===Kt(tl.ComponentFactoryResolver)?i=!0:r(this._getOrCreateLocalProvider(t.token,e))&&(i=!0));var o=t;return t.isSelf&&!i&&(t.isOptional?o={isValue:!0,value:null}:this._errors.push(new al("No provider for "+M(t.token),n))),o},t}(),pl=function(){function t(){}return t.prototype.hasProperty=function(t,e,n){},t.prototype.hasElement=function(t,e){},t.prototype.securityContext=function(t,e,n){},t.prototype.allKnownElementNames=function(){},t.prototype.getMappedPropName=function(t){},t.prototype.getDefaultComponentElementName=function(){},t.prototype.validateProperty=function(t){},t.prototype.validateAttribute=function(t){},t.prototype.normalizeAnimationStyleProperty=function(t){},t.prototype.normalizeAnimationStyleValue=function(t,e,n){},t}(),hl=function(){function t(t,e){this.style=t,this.styleUrls=e}return t}(),dl=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,fl=/^([^:\/?#]+):/,ml=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},yl=".",_l="attr",vl="class",gl="style",wl="animate-",bl={};bl.DEFAULT=0,bl.LITERAL_ATTR=1,bl.ANIMATION=2,bl[bl.DEFAULT]="DEFAULT",bl[bl.LITERAL_ATTR]="LITERAL_ATTR",bl[bl.ANIMATION]="ANIMATION";var Ml=function(){function t(t,e,n,r){this.name=t,this.expression=e,this.type=n,this.sourceSpan=r}return Object.defineProperty(t.prototype,"isLiteral",{get:function(){return this.type===bl.LITERAL_ATTR},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAnimation",{get:function(){return this.type===bl.ANIMATION},enumerable:!0,configurable:!0}),t}(),El=function(){function t(t,e,n,r,i){var o=this;this._exprParser=t,this._interpolationConfig=e,this._schemaRegistry=n,this._targetErrors=i,this.pipesByName=new Map,r.forEach(function(t){return o.pipesByName.set(t.name,t)})}return t.prototype.createDirectiveHostPropertyAsts=function(t,e){var n=this;if(t.hostProperties){var r=[];return Object.keys(t.hostProperties).forEach(function(i){var o=t.hostProperties[i];"string"==typeof o?n.parsePropertyBinding(i,o,!0,e,[],r):n._reportError('Value of the host property binding "'+i+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",e)}),r.map(function(e){return n.createElementPropertyAst(t.selector,e)})}},t.prototype.createDirectiveHostEventAsts=function(t,e){var n=this;if(t.hostListeners){var r=[];return Object.keys(t.hostListeners).forEach(function(i){var o=t.hostListeners[i];"string"==typeof o?n.parseEvent(i,o,e,[],r):n._reportError('Value of the host listener "'+i+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",e)}),r}},t.prototype.parseInterpolation=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseInterpolation(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),this._checkPipes(r,e),r}catch(i){return this._reportError(""+i,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype.parseInlineTemplateBinding=function(t,e,n,i,o,s,a){for(var u=this._parseTemplateBindings(e,n,i),c=0;c<u.length;c++){var l=u[c];l.keyIsVar?a.push(new Bi(l.key,l.name,i)):r(l.expression)?this._parsePropertyAst(l.key,l.expression,i,o,s):(o.push([l.key,""]),this.parseLiteralAttr(l.key,null,i,o,s))}},t.prototype._parseTemplateBindings=function(t,e,n){var i=this,o=n.start.toString();try{var s=this._exprParser.parseTemplateBindings(t,e,o);return this._reportExpressionParserErrors(s.errors,n),s.templateBindings.forEach(function(t){r(t.expression)&&i._checkPipes(t.expression,n)}),s.warnings.forEach(function(t){i._reportError(t,n,yu.WARNING)}),s.templateBindings}catch(a){return this._reportError(""+a,n),[]}},t.prototype.parseLiteralAttr=function(t,e,n,r,i){pe(t)?(t=t.substring(1),e&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,yu.FATAL),this._parseAnimation(t,e,n,r,i)):i.push(new Ml(t,this._exprParser.wrapLiteralPrimitive(e,""),bl.LITERAL_ATTR,n))},t.prototype.parsePropertyBinding=function(t,e,n,r,i,o){var s=!1;t.startsWith(wl)?(s=!0,t=t.substring(wl.length)):pe(t)&&(s=!0,t=t.substring(1)),s?this._parseAnimation(t,e,r,i,o):this._parsePropertyAst(t,this._parseBinding(e,n,r),r,i,o)},t.prototype.parsePropertyInterpolation=function(t,e,n,i,o){var s=this.parseInterpolation(e,n);return r(s)?(this._parsePropertyAst(t,s,n,i,o),!0):!1},t.prototype._parsePropertyAst=function(t,e,n,r,i){r.push([t,e.source]),i.push(new Ml(t,e,bl.DEFAULT,n))},t.prototype._parseAnimation=function(t,e,n,r,i){var o=this._parseBinding(e||"null",!1,n);r.push([t,o.source]),i.push(new Ml(t,o,bl.ANIMATION,n))},t.prototype._parseBinding=function(t,e,n){var r=n.start.toString();try{var i=e?this._exprParser.parseSimpleBinding(t,r,this._interpolationConfig):this._exprParser.parseBinding(t,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,n),this._checkPipes(i,n),i}catch(o){return this._reportError(""+o,n),this._exprParser.wrapLiteralPrimitive("ERROR",r)}},t.prototype.createElementPropertyAst=function(t,n){if(n.isAnimation)return new Hi(n.name,$i.Animation,e.SecurityContext.NONE,!1,n.expression,null,n.sourceSpan);var r,i,o=null,s=null,a=n.name.split(yl);if(a.length>1)if(a[0]==_l){s=a[1],this._validatePropertyOrAttributeName(s,n.sourceSpan,!0),i=he(this._schemaRegistry,t,s,!0);var u=s.indexOf(":");if(u>-1){var c=s.substring(0,u),l=s.substring(u+1);s=h(c,l)}r=$i.Attribute}else a[0]==vl?(s=a[1],r=$i.Class,i=[e.SecurityContext.NONE]):a[0]==gl&&(o=a.length>2?a[2]:null,s=a[1],r=$i.Style,i=[e.SecurityContext.STYLE]);return null===s&&(s=this._schemaRegistry.getMappedPropName(n.name),i=he(this._schemaRegistry,t,s,!1),r=$i.Property,this._validatePropertyOrAttributeName(s,n.sourceSpan,!1)),new Hi(s,r,1===i.length?i[0]:null,i.length>1,n.expression,o,n.sourceSpan)},t.prototype.parseEvent=function(t,e,n,r,i){pe(t)?(t=t.substr(1),this._parseAnimationEvent(t,e,n,i)):this._parseEvent(t,e,n,r,i)},t.prototype._parseAnimationEvent=function(t,e,n,r){var i=y(t,[t,""]),o=i[0],s=i[1].toLowerCase();if(s)switch(s){case"start":case"done":var a=this._parseAction(e,n);r.push(new Vi(o,null,s,a,n));break;default:this._reportError('The provided animation output phase value "'+s+'" for "@'+o+'" is not supported (use start or done)',n)}else this._reportError("The animation trigger output event (@"+o+") is missing its phase value name (start or done are currently supported)",n)},t.prototype._parseEvent=function(t,e,n,r,i){var o=m(t,[null,t]),s=o[0],a=o[1],u=this._parseAction(e,n);r.push([t,u.source]),i.push(new Vi(a,s,null,u,n))},t.prototype._parseAction=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseAction(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),!r||r.ast instanceof Ya?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,e),r)}catch(i){return this._reportError(""+i,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._reportError=function(t,e,n){void 0===n&&(n=yu.FATAL),this._targetErrors.push(new _u(e,t,n))},t.prototype._reportExpressionParserErrors=function(t,e){for(var n=0,r=t;n<r.length;n++){var i=r[n];this._reportError(i.message,e)}},t.prototype._checkPipes=function(t,e){var n=this;if(r(t)){var i=new Sl;t.visit(i),i.pipes.forEach(function(t,r){n.pipesByName.has(r)||n._reportError("The pipe '"+r+"' could not be found",new mu(e.start.moveBy(t.span.start),e.start.moveBy(t.span.end)))})}},t.prototype._validatePropertyOrAttributeName=function(t,e,n){var r=n?this._schemaRegistry.validateAttribute(t):this._schemaRegistry.validateProperty(t);r.error&&this._reportError(r.msg,e,yu.FATAL)},t}(),Sl=function(t){function e(){t.apply(this,arguments),this.pipes=new Map}return ml(e,t),e.prototype.visitPipe=function(t,e){return this.pipes.set(t.name,t),t.exp.visit(this),this.visitAll(t.args,e),null},e}(eu),Tl="select",Cl="ng-content",kl="link",Ll="rel",Dl="href",xl="stylesheet",Pl="style",Ol="script",Al="ngNonBindable",Yl="ngProjectAs",Il={};Il.NG_CONTENT=0,Il.STYLE=1,Il.STYLESHEET=2,Il.SCRIPT=3,Il.OTHER=4,Il[Il.NG_CONTENT]="NG_CONTENT",Il[Il.STYLE]="STYLE",Il[Il.STYLESHEET]="STYLESHEET",Il[Il.SCRIPT]="SCRIPT",Il[Il.OTHER]="OTHER";var jl=function(){function t(t,e,n,r,i){this.type=t,this.selectAttr=e,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i}return t}(),Nl=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Rl=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/,Hl=1,Vl=2,Fl=3,Bl=4,Ul=5,Wl=6,zl=7,Gl=8,ql=9,Kl=10,Jl="template",$l="template",Zl="*",Xl="class",Ql=Jo.parse("*")[0],tp=new e.OpaqueToken("TemplateTransforms"),ep=function(t){function e(e,n,r){t.call(this,n,e,r)}return Nl(e,t),e}(_u),np=function(){function t(t,e){this.templateAst=t,this.errors=e}return t}(),rp=function(){function t(t,e,n,r,i){this._exprParser=t,this._schemaRegistry=e,this._htmlParser=n,this._console=r,this.transforms=i}return t.prototype.parse=function(t,e,n,r,i,o){var s=this.tryParse(t,e,n,r,i,o),a=s.errors.filter(function(t){return t.level===yu.WARNING}),u=s.errors.filter(function(t){return t.level===yu.FATAL});if(a.length>0&&this._console.warn("Template parse warnings:\n"+a.join("\n")),u.length>0){var c=u.join("\n");throw new Error("Template parse errors:\n"+c)}return s.templateAst},t.prototype.tryParse=function(t,e,n,r,i,o){return this.tryParseHtml(this.expandHtml(this._htmlParser.parse(e,o,!0,this.getInterpolationConfig(t))),t,e,n,r,i,o)},t.prototype.tryParseHtml=function(t,e,i,o,s,a,u){var c,l=t.errors;if(t.rootNodes.length>0){var p=ve(o),h=ve(s),d=new ul(e,t.rootNodes[0].sourceSpan),f=void 0;e.template&&e.template.interpolation&&(f={start:e.template.interpolation[0],end:e.template.interpolation[1]});var m=new El(this._exprParser,f,this._schemaRegistry,h,l),y=new ip(d,p,m,this._schemaRegistry,a,l);c=q(y,t.rootNodes,up),l.push.apply(l,d.errors)}else c=[];return this._assertNoReferenceDuplicationOnTemplate(c,l),l.length>0?new np(c,l):(r(this.transforms)&&this.transforms.forEach(function(t){c=n(t,c)}),new np(c,l))},t.prototype.expandHtml=function(t,e){void 0===e&&(e=!1);var n=t.errors;if(0==n.length||e){var r=Qt(t.rootNodes);n.push.apply(n,r.errors),t=new Yu(r.nodes,n)}return t},t.prototype.getInterpolationConfig=function(t){return t.template?ka.fromArray(t.template.interpolation):void 0},t.prototype._assertNoReferenceDuplicationOnTemplate=function(t,e){var n=[];t.filter(function(t){return!!t.references}).forEach(function(t){return t.references.forEach(function(t){var r=t.name;if(n.indexOf(r)<0)n.push(r);else{var i=new ep('Reference "#'+r+'" is defined several times',t.sourceSpan,yu.FATAL);e.push(i)}})})},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:lu},{type:pl},{type:Jc},{type:Eo},{type:Array,decorators:[{type:e.Optional},{type:e.Inject,args:[tp]}]}]},t}(),ip=function(){function t(t,e,n,r,i,o){var s=this;this.providerViewContext=t,this._bindingParser=n,this._schemaRegistry=r,this._schemas=i,this._targetErrors=o,this.selectorMatcher=new $o,this.directivesIndex=new Map,this.ngContentCount=0,e.forEach(function(t,e){var n=Jo.parse(t.selector);s.selectorMatcher.addSelectables(n,t),s.directivesIndex.set(t,e)})}return t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(Ql),i=this._bindingParser.parseInterpolation(t.value,t.sourceSpan);return r(i)?new Ni(i,n,t.sourceSpan):new ji(t.value,n,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return new Ri(t.name,t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitElement=function(t,e){var n=this,i=t.name,o=de(t);if(o.type===Il.SCRIPT||o.type===Il.STYLE)return null;if(o.type===Il.STYLESHEET&&ce(o.hrefAttr))return null;var s=[],a=[],u=[],c=[],p=[],h=[],d=[],f=[],m=!1,y=[],_=l(i.toLowerCase())[1],v=_==Jl;t.attrs.forEach(function(t){var e=n._parseAttr(v,t,s,a,p,u,c),i=void 0,o=void 0;n._normalizeAttributeName(t.name)==$l?i=t.value:t.name.startsWith(Zl)&&(i=t.value,o=t.name.substring(Zl.length));var l=r(i);l&&(m&&n._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",t.sourceSpan),m=!0,n._bindingParser.parseInlineTemplateBinding(t.name,o,i,t.sourceSpan,d,h,f)),e||l||(y.push(n.visitAttribute(t,null)),s.push([t.name,t.value]))});var g=ye(i,s),w=this._parseDirectives(this.selectorMatcher,g),b=w.directives,M=w.matchElement,E=[],S=this._createDirectiveAsts(v,t.name,b,a,u,t.sourceSpan,E),T=this._createElementPropertyAsts(t.name,a,S),C=e.isTemplateElement||m,k=new cl(this.providerViewContext,e.providerContext,C,S,y,E,t.sourceSpan),L=q(o.nonBindable?cp:this,t.children,ap.create(v,S,v?e.providerContext:k));k.afterElement();var D,x=r(o.projectAs)?Jo.parse(o.projectAs)[0]:g,P=e.findNgContentIndex(x);if(o.type===Il.NG_CONTENT)t.children&&!t.children.every(_e)&&this._reportError("<ng-content> element cannot have content.",t.sourceSpan),D=new Ji(this.ngContentCount++,m?null:P,t.sourceSpan);else if(v)this._assertAllEventsPublishedByDirectives(S,p),this._assertNoComponentsNorElementBindingsOnTemplate(S,T,t.sourceSpan),D=new Wi(y,p,E,c,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,L,m?null:P,t.sourceSpan);else{this._assertElementExists(M,t),this._assertOnlyOneComponent(S,t.sourceSpan);var O=m?null:e.findNgContentIndex(x);D=new Ui(i,y,T,p,E,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,L,m?null:O,t.sourceSpan,t.endSourceSpan),this._findComponentDirectives(S).forEach(function(t){return n._validateElementAnimationInputOutputs(t.hostProperties,t.hostEvents,t.directive.template)});var A=k.viewContext.component.template;this._validateElementAnimationInputOutputs(T,p,A.toSummary())}if(m){var Y=ye(Jl,d),I=this._parseDirectives(this.selectorMatcher,Y).directives,j=this._createDirectiveAsts(!0,t.name,I,h,[],t.sourceSpan,[]),N=this._createElementPropertyAsts(t.name,h,j);this._assertNoComponentsNorElementBindingsOnTemplate(j,N,t.sourceSpan);var R=new cl(this.providerViewContext,e.providerContext,e.isTemplateElement,j,[],[],t.sourceSpan);R.afterElement(),D=new Wi([],[],[],f,R.transformedDirectiveAsts,R.transformProviders,R.transformedHasViewContainer,[D],P,t.sourceSpan)}return D},t.prototype._validateElementAnimationInputOutputs=function(t,e,n){var r=this,i=new Set;n.animations.forEach(function(t){i.add(t)});var o=t.filter(function(t){return t.isAnimation});o.forEach(function(t){var e=t.name;i.has(e)||r._reportError("Couldn't find an animation entry for \""+e+'"',t.sourceSpan)}),e.forEach(function(t){if(t.isAnimation){var e=o.find(function(e){return e.name==t.name});e||r._reportError("Unable to listen on (@"+t.name+"."+t.phase+") because the animation trigger [@"+t.name+"] isn't being used on the same element",t.sourceSpan)}})},t.prototype._parseAttr=function(t,e,n,i,o,s,a){var u=this._normalizeAttributeName(e.name),c=e.value,l=e.sourceSpan,p=u.match(Rl),h=!1;if(null!==p)if(h=!0,r(p[Hl]))this._bindingParser.parsePropertyBinding(p[zl],c,!1,l,n,i);else if(p[Vl])if(t){var d=p[zl];this._parseVariable(d,c,l,a)}else this._reportError('"let-" is only supported on template elements.',l);else if(p[Fl]){var d=p[zl];this._parseReference(d,c,l,s)}else p[Bl]?this._bindingParser.parseEvent(p[zl],c,l,n,o):p[Ul]?(this._bindingParser.parsePropertyBinding(p[zl],c,!1,l,n,i),this._parseAssignmentEvent(p[zl],c,l,n,o)):p[Wl]?this._bindingParser.parseLiteralAttr(u,c,l,n,i):p[Gl]?(this._bindingParser.parsePropertyBinding(p[Gl],c,!1,l,n,i),this._parseAssignmentEvent(p[Gl],c,l,n,o)):p[ql]?this._bindingParser.parsePropertyBinding(p[ql],c,!1,l,n,i):p[Kl]&&this._bindingParser.parseEvent(p[Kl],c,l,n,o);else h=this._bindingParser.parsePropertyInterpolation(u,c,l,n,i);return h||this._bindingParser.parseLiteralAttr(u,c,l,n,i),h},t.prototype._normalizeAttributeName=function(t){return/^data-/i.test(t)?t.substring(5):t},t.prototype._parseVariable=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',n),r.push(new Bi(t,e,n))},t.prototype._parseReference=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in reference names',n),r.push(new sp(t,e,n))},t.prototype._parseAssignmentEvent=function(t,e,n,r,i){this._bindingParser.parseEvent(t+"Change",e+"=$event",n,r,i)},t.prototype._parseDirectives=function(t,e){var n=this,r=new Array(this.directivesIndex.size),i=!1;return t.match(e,function(t,e){r[n.directivesIndex.get(e)]=e,i=i||t.hasElementSelector()}),{directives:r.filter(function(t){return!!t}),matchElement:i}},t.prototype._createDirectiveAsts=function(t,e,n,r,i,o,s){var a=this,u=new Set,c=null,l=n.map(function(t){var n=new mu(o.start,o.end,"Directive "+w(t.type));t.isComponent&&(c=t);var l=[],p=a._bindingParser.createDirectiveHostPropertyAsts(t,n);a._checkPropertiesInSchema(e,p);var h=a._bindingParser.createDirectiveHostEventAsts(t,n);return a._createDirectivePropertyAsts(t.inputs,r,l),i.forEach(function(e){(0===e.value.length&&t.isComponent||t.exportAs==e.value)&&(s.push(new Fi(e.name,$t(t.type),e.sourceSpan)),u.add(e.name))}),new Gi(t,l,p,h,n)});return i.forEach(function(e){if(e.value.length>0)u.has(e.name)||a._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan);else if(!c){var n=null;t&&(n=Zt(tl.TemplateRef)),s.push(new Fi(e.name,n,e.sourceSpan))}}),l},t.prototype._createDirectivePropertyAsts=function(t,e,n){if(t){var r=new Map;e.forEach(function(t){var e=r.get(t.name);(!e||e.isLiteral)&&r.set(t.name,t)}),Object.keys(t).forEach(function(e){var i=t[e],o=r.get(i);o&&n.push(new zi(e,o.name,o.expression,o.sourceSpan))})}},t.prototype._createElementPropertyAsts=function(t,e,n){var r=this,i=[],o=new Map;return n.forEach(function(t){t.inputs.forEach(function(t){o.set(t.templateName,t)})}),e.forEach(function(e){e.isLiteral||o.get(e.name)||i.push(r._bindingParser.createElementPropertyAst(t,e))}),this._checkPropertiesInSchema(t,i),i},t.prototype._findComponentDirectives=function(t){return t.filter(function(t){return t.directive.isComponent})},t.prototype._findComponentDirectiveNames=function(t){return this._findComponentDirectives(t).map(function(t){return w(t.directive.type)})},t.prototype._assertOnlyOneComponent=function(t,e){var n=this._findComponentDirectiveNames(t);
n.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),e)},t.prototype._assertElementExists=function(t,e){var n=e.name.replace(/^:xhtml:/,"");if(!t&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n"+("1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n")+("2. If '"+n+"' is a Web Component then add \"CUSTOM_ELEMENTS_SCHEMA\" to the '@NgModule.schemas' of this component to suppress this message.");this._reportError(r,e.sourceSpan)}},t.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(t,e,n){var r=this,i=this._findComponentDirectiveNames(t);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),n),e.forEach(function(t){r._reportError("Property binding "+t.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".',n)})},t.prototype._assertAllEventsPublishedByDirectives=function(t,e){var n=this,i=new Set;t.forEach(function(t){Object.keys(t.directive.outputs).forEach(function(e){var n=t.directive.outputs[e];i.add(n)})}),e.forEach(function(t){(r(t.target)||!i.has(t.name))&&n._reportError("Event binding "+t.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".',t.sourceSpan)})},t.prototype._checkPropertiesInSchema=function(t,e){var n=this;e.forEach(function(e){if(e.type===$i.Property&&!n._schemaRegistry.hasProperty(t,e.name,n._schemas)){var r="Can't bind to '"+e.name+"' since it isn't a known property of '"+t+"'.";t.indexOf("-")>-1&&(r+="\n1. If '"+t+"' is an Angular component and it has '"+e.name+"' input, then verify that it is part of this module."+("\n2. If '"+t+"' is a Web Component then add \"CUSTOM_ELEMENTS_SCHEMA\" to the '@NgModule.schemas' of this component to suppress this message.\n")),n._reportError(r,e.sourceSpan)}})},t.prototype._reportError=function(t,e,n){void 0===n&&(n=yu.FATAL),this._targetErrors.push(new _u(e,t,n))},t}(),op=function(){function t(){}return t.prototype.visitElement=function(t,e){var n=de(t);if(n.type===Il.SCRIPT||n.type===Il.STYLE||n.type===Il.STYLESHEET)return null;var r=t.attrs.map(function(t){return[t.name,t.value]}),i=ye(t.name,r),o=e.findNgContentIndex(i),s=q(this,t.children,up);return new Ui(t.name,q(this,t.attrs),[],[],[],[],[],!1,s,o,t.sourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return new Ri(t.name,t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(Ql);return new ji(t.value,n,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),sp=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t}(),ap=function(){function t(t,e,n,r){this.isTemplateElement=t,this._ngContentIndexMatcher=e,this._wildcardNgContentIndex=n,this.providerContext=r}return t.create=function(e,n,r){var i=new $o,o=null,s=n.find(function(t){return t.directive.isComponent});if(s)for(var a=s.directive.template.ngContentSelectors,u=0;u<a.length;u++){var c=a[u];"*"===c?o=u:i.addSelectables(Jo.parse(a[u]),u)}return new t(e,i,o,r)},t.prototype.findNgContentIndex=function(t){var e=[];return this._ngContentIndexMatcher.match(t,function(t,n){e.push(n)}),e.sort(),r(this._wildcardNgContentIndex)&&e.push(this._wildcardNgContentIndex),e.length>0?e[0]:null},t}(),up=new ap(!0,new $o,null,null),cp=new op,lp=function(){function t(t){var n=void 0===t?{}:t,r=n.renderTypes,i=void 0===r?new hp:r,o=n.defaultEncapsulation,s=void 0===o?e.ViewEncapsulation.Emulated:o,a=n.genDebugInfo,u=n.logBindingUpdate,c=n.useJit,l=void 0===c?!0:c;this.renderTypes=i,this.defaultEncapsulation=s,this._genDebugInfo=a,this._logBindingUpdate=u,this.useJit=l}return Object.defineProperty(t.prototype,"genDebugInfo",{get:function(){return void 0===this._genDebugInfo?e.isDevMode():this._genDebugInfo},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logBindingUpdate",{get:function(){return void 0===this._logBindingUpdate?e.isDevMode():this._logBindingUpdate},enumerable:!0,configurable:!0}),t}(),pp=function(){function t(){}return Object.defineProperty(t.prototype,"renderer",{get:function(){return ge()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderText",{get:function(){return ge()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderElement",{get:function(){return ge()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderComment",{get:function(){return ge()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return ge()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderEvent",{get:function(){return ge()},enumerable:!0,configurable:!0}),t}(),hp=function(){function t(){this.renderText=null,this.renderElement=null,this.renderComment=null,this.renderNode=null,this.renderEvent=null}return Object.defineProperty(t.prototype,"renderer",{get:function(){return Jt(tl.Renderer)},enumerable:!0,configurable:!0}),t}(),dp=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},fp=function(){function t(){this.startTime=0,this.playTime=0}return t.prototype.visit=function(t,e){},t}(),mp=function(t){function e(){t.apply(this,arguments)}return dp(e,t),e.prototype.visit=function(t,e){},e}(fp),yp=function(t){function e(e,n,r){t.call(this),this.name=e,this.stateDeclarations=n,this.stateTransitions=r}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationEntry(this,e)},e}(fp),_p=function(t){function e(e,n){t.call(this),this.stateName=e,this.styles=n}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStateDeclaration(this,e)},e}(mp),vp=function(){function t(t,e){this.fromState=t,this.toState=e}return t}(),gp=function(t){function e(e,n){t.call(this),this.stateChanges=e,this.animation=n}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStateTransition(this,e)},e}(mp),wp=function(t){function e(e,n,r,i,o){t.call(this),this.startingStyles=e,this.keyframes=n,this.duration=r,this.delay=i,this.easing=o}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStep(this,e)},e}(fp),bp=function(t){function e(e){t.call(this),this.styles=e}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationStyles(this,e)},e}(fp),Mp=function(t){function e(e,n){t.call(this),this.offset=e,this.styles=n}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationKeyframe(this,e)},e}(fp),Ep=function(t){function e(e){t.call(this),this.steps=e}return dp(e,t),e}(fp),Sp=function(t){function e(e){t.call(this,e)}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationGroup(this,e)},e}(Ep),Tp=function(t){function e(e){t.call(this,e)}return dp(e,t),e.prototype.visit=function(t,e){return t.visitAnimationSequence(this,e)},e}(Ep),Cp=function(){function t(t,e){this.time=t,this.value=e}return t.prototype.matches=function(t,e){return t==this.time&&e==this.value},t}(),kp=function(){function t(){this.styles={}}return t.prototype.insertAtTime=function(t,e,n){var i=new Cp(e,n),o=this.styles[t];r(o)||(o=this.styles[t]=[]);for(var s=0,a=o.length-1;a>=0;a--)if(o[a].time<=e){s=a+1;break}o.splice(s,0,i)},t.prototype.getByIndex=function(t,e){var n=this.styles[t];return r(n)?e>=n.length?null:n[e]:null},t.prototype.indexOfAtOrBeforeTime=function(t,e){var n=this.styles[t];if(r(n))for(var i=n.length-1;i>=0;i--)if(n[i].time<=e)return i;return null},t}(),Lp=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Dp=0,xp=1,Pp=1e3,Op=function(t){function e(e){t.call(this,null,e)}return Lp(e,t),e.prototype.toString=function(){return""+this.msg},e}(_u),Ap=function(){function t(t,e){this.ast=t,this.errors=e}return t}(),Yp=function(){function t(t){this._schema=t}return t.prototype.parseComponent=function(t){var e=this,n=[],r=w(t.type),i=new Set,o=t.template.animations.map(function(t){var o=e.parseEntry(t),s=o.ast,a=s.name;if(i.has(a)?o.errors.push(new Op('The animation trigger "'+a+'" has already been registered for the '+r+" component")):i.add(a),o.errors.length>0){var u='- Unable to parse the animation sequence for "'+a+'" on the '+r+" component due to the following errors:";o.errors.forEach(function(t){u+="\n-- "+t.msg}),n.push(u)}return s});if(n.length>0){var s=n.join("\n");throw new Error("Animation parse errors:\n"+s)}return o},t.prototype.parseEntry=function(t){var e=this,n=[],r={},i=[],o=[];t.definitions.forEach(function(t){t instanceof as?we(t,e._schema,n).forEach(function(t){o.push(t),r[t.stateName]=t.styles}):i.push(t)});var s=i.map(function(t){return be(t,r,e._schema,n)}),a=new yp(t.name,o,s);return new Ap(a,n)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:pl}]},t}(),Ip=function(){function t(t,e,n){this.duration=t,this.delay=e,this.easing=n}return t}(),jp=function(){function t(){}return t.prototype.get=function(t){return null},t}(),Np={provide:e.PACKAGE_ROOT_URL,useValue:"/"},Rp=function(){function t(t){void 0===t&&(t=null),this._packagePrefix=t}return t.prototype.resolve=function(t,e){var n=e;r(t)&&t.length>0&&(n=Be(t,n));var i=He(n),o=this._packagePrefix;if(r(o)&&r(i)&&"package"==i[Vp.Scheme]){var s=i[Vp.Path];return o=o.replace(/\/+$/,""),s=s.replace(/^\/+/,""),o+"/"+s}return n},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PACKAGE_ROOT_URL]}]}]},t}(),Hp=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Vp={};Vp.Scheme=1,Vp.UserInfo=2,Vp.Domain=3,Vp.Port=4,Vp.Path=5,Vp.QueryData=6,Vp.Fragment=7,Vp[Vp.Scheme]="Scheme",Vp[Vp.UserInfo]="UserInfo",Vp[Vp.Domain]="Domain",Vp[Vp.Port]="Port",Vp[Vp.Path]="Path",Vp[Vp.QueryData]="QueryData",Vp[Vp.Fragment]="Fragment";var Fp=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;t.isComponent&&(this._resourceLoaderCache["delete"](t.template.templateUrl),t.template.externalStylesheets.forEach(function(t){e._resourceLoaderCache["delete"](t.moduleUrl)}))},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeTemplate=function(t){var e,n=this,i=null;if(r(t.template))i=this.normalizeTemplateSync(t),e=Promise.resolve(i);else{if(!t.templateUrl)throw new Error("No template specified for component "+s(t.componentType));e=this.normalizeTemplateAsync(t)}return i&&0===i.styleUrls.length?new ns(i):new ns(null,e.then(function(t){return n.normalizeExternalStylesheets(t)}))},t.prototype.normalizeTemplateSync=function(t){return this.normalizeLoadedTemplate(t,t.template,t.moduleUrl)},t.prototype.normalizeTemplateAsync=function(t){var e=this,n=this._urlResolver.resolve(t.moduleUrl,t.templateUrl);return this._fetch(n).then(function(r){return e.normalizeLoadedTemplate(t,r,n)})},t.prototype.normalizeLoadedTemplate=function(t,n,r){var o=ka.fromArray(t.interpolation),a=this._htmlParser.parse(n,s(t.componentType),!1,o);if(a.errors.length>0){var u=a.errors.join("\n");throw new Error("Template parse errors:\n"+u)}var c=this.normalizeStylesheet(new vs({styles:t.styles,styleUrls:t.styleUrls,moduleUrl:t.moduleUrl})),l=new Bp;q(l,a.rootNodes);var p=this.normalizeStylesheet(new vs({styles:l.styles,styleUrls:l.styleUrls,moduleUrl:r})),h=t.encapsulation;i(h)&&(h=this._config.defaultEncapsulation);var d=c.styles.concat(p.styles),f=c.styleUrls.concat(p.styleUrls);return h===e.ViewEncapsulation.Emulated&&0===d.length&&0===f.length&&(h=e.ViewEncapsulation.None),new gs({encapsulation:h,template:n,templateUrl:r,styles:d,styleUrls:f,ngContentSelectors:l.ngContentSelectors,animations:t.animations,interpolation:t.interpolation})},t.prototype.normalizeExternalStylesheets=function(t){return this._loadMissingExternalStylesheets(t.styleUrls).then(function(e){return new gs({encapsulation:t.encapsulation,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,externalStylesheets:e,ngContentSelectors:t.ngContentSelectors,animations:t.animations,interpolation:t.interpolation})})},t.prototype._loadMissingExternalStylesheets=function(t,e){var n=this;return void 0===e&&(e=new Map),Promise.all(t.filter(function(t){return!e.has(t)}).map(function(t){return n._fetch(t).then(function(r){var i=n.normalizeStylesheet(new vs({styles:[r],moduleUrl:t}));return e.set(t,i),n._loadMissingExternalStylesheets(i.styleUrls,e)})})).then(function(t){return Array.from(e.values())})},t.prototype.normalizeStylesheet=function(t){var e=this,n=t.styleUrls.filter(ce).map(function(n){return e._urlResolver.resolve(t.moduleUrl,n)}),r=t.styles.map(function(r){var i=le(e._urlResolver,t.moduleUrl,r);return n.push.apply(n,i.styleUrls),i.style});return new vs({styles:r,styleUrls:n,moduleUrl:t.moduleUrl})},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:jp},{type:Rp},{type:Gc},{type:lp}]},t}(),Bp=function(){function t(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return t.prototype.visitElement=function(t,e){var n=de(t);switch(n.type){case Il.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case Il.STYLE:var r="";t.children.forEach(function(t){t instanceof vu&&(r+=t.value)}),this.styles.push(r);break;case Il.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,q(this,t.children),n.nonBindable&&this.ngNonBindableStackCount--,null},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return null},t.prototype.visitText=function(t,e){return null},t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t}(),Up=function(){function t(t){void 0===t&&(t=So),this._reflector=t}return t.prototype.isDirective=function(t){var n=this._reflector.annotations(e.resolveForwardRef(t));return n&&n.some(Ue)},t.prototype.resolve=function(t,n){void 0===n&&(n=!0);var r=this._reflector.annotations(e.resolveForwardRef(t));if(r){var i=eo.findLast(r,Ue);if(i){var o=this._reflector.propMetadata(t);return this._mergeWithPropertyMetadata(i,o,t)}}if(n)throw new Error("No Directive annotation found on "+s(t));return null},t.prototype._mergeWithPropertyMetadata=function(t,n,r){var i=[],o=[],s={},a={};return Object.keys(n).forEach(function(t){var r=eo.findLast(n[t],function(t){return t instanceof e.Input});r&&(r.bindingPropertyName?i.push(t+": "+r.bindingPropertyName):i.push(t));var u=eo.findLast(n[t],function(t){return t instanceof e.Output});u&&(u.bindingPropertyName?o.push(t+": "+u.bindingPropertyName):o.push(t));var c=n[t].filter(function(t){return t&&t instanceof e.HostBinding});c.forEach(function(e){if(e.hostPropertyName){var n=e.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");s["["+e.hostPropertyName+"]"]=t}else s["["+t+"]"]=t});var l=n[t].filter(function(t){return t&&t instanceof e.HostListener});l.forEach(function(e){var n=e.args||[];s["("+e.eventName+")"]=t+"("+n.join(",")+")"});var p=eo.findLast(n[t],function(t){return t instanceof e.Query});p&&(a[t]=p)}),this._merge(t,i,o,s,a,r)},t.prototype._extractPublicName=function(t){return m(t,[null,t])[1].trim()},t.prototype._dedupeBindings=function(t){for(var e=new Set,n=[],r=t.length-1;r>=0;r--){var i=t[r],o=this._extractPublicName(i);e.has(o)||(e.add(o),n.push(i))}return n.reverse()},t.prototype._merge=function(t,n,r,i,o,s){var a=this._dedupeBindings(t.inputs?t.inputs.concat(n):n),u=this._dedupeBindings(t.outputs?t.outputs.concat(r):r),c=t.host?to.merge(t.host,i):i,l=t.queries?to.merge(t.queries,o):o;return t instanceof e.Component?new e.Component({selector:t.selector,inputs:a,outputs:u,host:c,exportAs:t.exportAs,moduleId:t.moduleId,queries:l,changeDetection:t.changeDetection,providers:t.providers,viewProviders:t.viewProviders,entryComponents:t.entryComponents,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,encapsulation:t.encapsulation,animations:t.animations,interpolation:t.interpolation}):new e.Directive({selector:t.selector,inputs:a,outputs:u,host:c,exportAs:t.exportAs,queries:l,providers:t.providers})},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:so}]},t}(),Wp=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},zp={};zp.Const=0,zp[zp.Const]="Const";var Gp=function(){function t(t){void 0===t&&(t=null),this.modifiers=t,t||(this.modifiers=[])}return t.prototype.visitType=function(t,e){},t.prototype.hasModifier=function(t){return-1!==this.modifiers.indexOf(t)},t}(),qp={};qp.Dynamic=0,qp.Bool=1,qp.String=2,qp.Int=3,qp.Number=4,qp.Function=5,qp.Null=6,qp[qp.Dynamic]="Dynamic",qp[qp.Bool]="Bool",qp[qp.String]="String",qp[qp.Int]="Int",qp[qp.Number]="Number",qp[qp.Function]="Function",qp[qp.Null]="Null";var Kp=function(t){function e(e,n){void 0===n&&(n=null),t.call(this,n),this.name=e}return Wp(e,t),e.prototype.visitType=function(t,e){return t.visitBuiltintType(this,e)},e}(Gp),Jp=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,r),this.value=e,this.typeParams=n}return Wp(e,t),e.prototype.visitType=function(t,e){return t.visitExpressionType(this,e)},e}(Gp),$p=function(t){function e(e,n){void 0===n&&(n=null),t.call(this,n),this.of=e}return Wp(e,t),e.prototype.visitType=function(t,e){return t.visitArrayType(this,e)},e}(Gp),Zp=function(t){function e(e,n){void 0===n&&(n=null),t.call(this,n),this.valueType=e}return Wp(e,t),e.prototype.visitType=function(t,e){return t.visitMapType(this,e)},e}(Gp),Xp=new Kp(qp.Dynamic),Qp=new Kp(qp.Bool),th=(new Kp(qp.Int),new Kp(qp.Number)),eh=new Kp(qp.String),nh=new Kp(qp.Function),rh=new Kp(qp.Null),ih={};ih.Equals=0,ih.NotEquals=1,ih.Identical=2,ih.NotIdentical=3,ih.Minus=4,ih.Plus=5,ih.Divide=6,ih.Multiply=7,ih.Modulo=8,ih.And=9,ih.Or=10,ih.Lower=11,ih.LowerEquals=12,ih.Bigger=13,ih.BiggerEquals=14,ih[ih.Equals]="Equals",ih[ih.NotEquals]="NotEquals",ih[ih.Identical]="Identical",ih[ih.NotIdentical]="NotIdentical",ih[ih.Minus]="Minus",ih[ih.Plus]="Plus",ih[ih.Divide]="Divide",ih[ih.Multiply]="Multiply",ih[ih.Modulo]="Modulo",ih[ih.And]="And",ih[ih.Or]="Or",ih[ih.Lower]="Lower",ih[ih.LowerEquals]="LowerEquals",ih[ih.Bigger]="Bigger",ih[ih.BiggerEquals]="BiggerEquals";var oh=function(){function t(t){this.type=t}return t.prototype.visitExpression=function(t,e){},t.prototype.prop=function(t){return new Eh(this,t)},t.prototype.key=function(t,e){return void 0===e&&(e=null),new Sh(this,t,e)},t.prototype.callMethod=function(t,e){return new hh(this,t,e)},t.prototype.callFn=function(t){return new dh(this,t)},t.prototype.instantiate=function(t,e){return void 0===e&&(e=null),new fh(this,t,e)},t.prototype.conditional=function(t,e){return void 0===e&&(e=null),new _h(this,t,e)},t.prototype.equals=function(t){return new Mh(ih.Equals,this,t)},t.prototype.notEquals=function(t){return new Mh(ih.NotEquals,this,t)},t.prototype.identical=function(t){return new Mh(ih.Identical,this,t)},t.prototype.notIdentical=function(t){return new Mh(ih.NotIdentical,this,t)},t.prototype.minus=function(t){return new Mh(ih.Minus,this,t)},t.prototype.plus=function(t){return new Mh(ih.Plus,this,t)},t.prototype.divide=function(t){return new Mh(ih.Divide,this,t)},t.prototype.multiply=function(t){return new Mh(ih.Multiply,this,t)},t.prototype.modulo=function(t){return new Mh(ih.Modulo,this,t)},t.prototype.and=function(t){return new Mh(ih.And,this,t)},t.prototype.or=function(t){return new Mh(ih.Or,this,t)},t.prototype.lower=function(t){return new Mh(ih.Lower,this,t)},t.prototype.lowerEquals=function(t){return new Mh(ih.LowerEquals,this,t)},t.prototype.bigger=function(t){return new Mh(ih.Bigger,this,t)},t.prototype.biggerEquals=function(t){return new Mh(ih.BiggerEquals,this,t)},t.prototype.isBlank=function(){return this.equals(Ph)},t.prototype.cast=function(t){return new gh(this,t)},t.prototype.toStmt=function(){return new jh(this)},t}(),sh={};sh.This=0,sh.Super=1,sh.CatchError=2,sh.CatchStack=3,sh[sh.This]="This",sh[sh.Super]="Super",sh[sh.CatchError]="CatchError",sh[sh.CatchStack]="CatchStack";var ah=function(t){function e(e,n){void 0===n&&(n=null),t.call(this,n),"string"==typeof e?(this.name=e,this.builtin=null):(this.name=null,this.builtin=e)}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitReadVarExpr(this,e)},e.prototype.set=function(t){return new uh(this.name,t)},e}(oh),uh=function(t){function e(e,n,r){void 0===r&&(r=null),t.call(this,r||n.type),this.name=e,this.value=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitWriteVarExpr(this,e)},e.prototype.toDeclStmt=function(t,e){return void 0===t&&(t=null),void 0===e&&(e=null),new Yh(this.name,this.value,t,e)},e}(oh),ch=function(t){function e(e,n,r,i){void 0===i&&(i=null),t.call(this,i||r.type),this.receiver=e,this.index=n,this.value=r}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitWriteKeyExpr(this,e)},e}(oh),lh=function(t){function e(e,n,r,i){void 0===i&&(i=null),t.call(this,i||r.type),this.receiver=e,this.name=n,this.value=r}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitWritePropExpr(this,e)},e}(oh),ph={};ph.ConcatArray=0,ph.SubscribeObservable=1,ph.Bind=2,ph[ph.ConcatArray]="ConcatArray",ph[ph.SubscribeObservable]="SubscribeObservable",ph[ph.Bind]="Bind";var hh=function(t){function e(e,n,r,i){void 0===i&&(i=null),t.call(this,i),this.receiver=e,this.args=r,"string"==typeof n?(this.name=n,this.builtin=null):(this.name=null,this.builtin=n)}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitInvokeMethodExpr(this,e)},e}(oh),dh=function(t){function e(e,n,r){void 0===r&&(r=null),t.call(this,r),this.fn=e,this.args=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitInvokeFunctionExpr(this,e)},e}(oh),fh=function(t){function e(e,n,r){t.call(this,r),this.classExpr=e,this.args=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitInstantiateExpr(this,e)},e}(oh),mh=function(t){function e(e,n){void 0===n&&(n=null),t.call(this,n),this.value=e}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitLiteralExpr(this,e)},e}(oh),yh=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,n),this.value=e,this.typeParams=r}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitExternalExpr(this,e)},e}(oh),_h=function(t){function e(e,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),t.call(this,i||n.type),this.condition=e,this.falseCase=r,this.trueCase=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitConditionalExpr(this,e)},e}(oh),vh=function(t){function e(e){t.call(this,Qp),this.condition=e}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitNotExpr(this,e)},e}(oh),gh=function(t){function e(e,n){t.call(this,n),this.value=e}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitCastExpr(this,e)},e}(oh),wh=function(){function t(t,e){void 0===e&&(e=null),this.name=t,this.type=e}return t}(),bh=function(t){function e(e,n,r){void 0===r&&(r=null),t.call(this,r),this.params=e,this.statements=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitFunctionExpr(this,e)},e.prototype.toDeclStmt=function(t,e){return void 0===e&&(e=null),new Ih(t,this.params,this.statements,this.type,e)},e}(oh),Mh=function(t){function e(e,n,r,i){void 0===i&&(i=null),t.call(this,i||n.type),this.operator=e,this.rhs=r,this.lhs=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitBinaryOperatorExpr(this,e)},e}(oh),Eh=function(t){function e(e,n,r){void 0===r&&(r=null),t.call(this,r),this.receiver=e,this.name=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitReadPropExpr(this,e)},e.prototype.set=function(t){return new lh(this.receiver,this.name,t)},e}(oh),Sh=function(t){function e(e,n,r){void 0===r&&(r=null),t.call(this,r),this.receiver=e,this.index=n}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitReadKeyExpr(this,e)},e.prototype.set=function(t){return new ch(this.receiver,this.index,t)},e}(oh),Th=function(t){function e(e,n){void 0===n&&(n=null),t.call(this,n),this.entries=e}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitLiteralArrayExpr(this,e)},e}(oh),Ch=function(){function t(t,e,n){void 0===n&&(n=!1),this.key=t,this.value=e,this.quoted=n}return t}(),kh=function(t){function e(e,n){void 0===n&&(n=null),t.call(this,n),this.entries=e,this.valueType=null,r(n)&&(this.valueType=n.valueType)}return Wp(e,t),e.prototype.visitExpression=function(t,e){return t.visitLiteralMapExpr(this,e)},e}(oh),Lh=new ah(sh.This),Dh=new ah(sh.Super),xh=(new ah(sh.CatchError),new ah(sh.CatchStack),new mh(null,null)),Ph=new mh(null,rh),Oh={};Oh.Final=0,Oh.Private=1,Oh[Oh.Final]="Final",Oh[Oh.Private]="Private";var Ah=function(){function t(t){void 0===t&&(t=null),this.modifiers=t,t||(this.modifiers=[])}return t.prototype.visitStatement=function(t,e){},t.prototype.hasModifier=function(t){return-1!==this.modifiers.indexOf(t)},t}(),Yh=function(t){function e(e,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),t.call(this,i),this.name=e,this.value=n,this.type=r||n.type}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitDeclareVarStmt(this,e)},e}(Ah),Ih=function(t){function e(e,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o=null),t.call(this,o),this.name=e,this.params=n,this.statements=r,this.type=i}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitDeclareFunctionStmt(this,e)},e}(Ah),jh=function(t){function e(e){t.call(this),this.expr=e}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitExpressionStmt(this,e)},e}(Ah),Nh=function(t){function e(e){t.call(this),this.value=e}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitReturnStmt(this,e)},e}(Ah),Rh=function(){function t(t,e){void 0===t&&(t=null),this.type=t,this.modifiers=e,e||(this.modifiers=[])}return t.prototype.hasModifier=function(t){return-1!==this.modifiers.indexOf(t)},t}(),Hh=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,n,r),this.name=e}return Wp(e,t),e}(Rh),Vh=function(t){function e(e,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o=null),t.call(this,i,o),this.name=e,this.params=n,this.body=r}return Wp(e,t),e}(Rh),Fh=function(t){function e(e,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),t.call(this,r,i),this.name=e,this.body=n}return Wp(e,t),e}(Rh),Bh=function(t){function e(e,n,r,i,o,s,a){void 0===a&&(a=null),t.call(this,a),this.name=e,this.parent=n,this.fields=r,this.getters=i,this.constructorMethod=o,this.methods=s}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitDeclareClassStmt(this,e)},e}(Ah),Uh=function(t){function e(e,n,r){void 0===r&&(r=[]),t.call(this),this.condition=e,this.trueCase=n,this.falseCase=r}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitIfStmt(this,e)},e}(Ah),Wh=(function(t){function e(e){t.call(this),this.comment=e}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitCommentStmt(this,e)},e}(Ah),function(t){function e(e,n){t.call(this),this.bodyStmts=e,this.catchStmts=n}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitTryCatchStmt(this,e)},e}(Ah)),zh=function(t){function e(e){t.call(this),this.error=e}return Wp(e,t),e.prototype.visitStatement=function(t,e){return t.visitThrowStmt(this,e)},e}(Ah),Gh=function(){function t(){}return t.prototype.visitReadVarExpr=function(t,e){return t},t.prototype.visitWriteVarExpr=function(t,e){return new uh(t.name,t.value.visitExpression(this,e))},t.prototype.visitWriteKeyExpr=function(t,e){return new ch(t.receiver.visitExpression(this,e),t.index.visitExpression(this,e),t.value.visitExpression(this,e))},t.prototype.visitWritePropExpr=function(t,e){return new lh(t.receiver.visitExpression(this,e),t.name,t.value.visitExpression(this,e))},t.prototype.visitInvokeMethodExpr=function(t,e){var n=t.builtin||t.name;return new hh(t.receiver.visitExpression(this,e),n,this.visitAllExpressions(t.args,e),t.type)},t.prototype.visitInvokeFunctionExpr=function(t,e){return new dh(t.fn.visitExpression(this,e),this.visitAllExpressions(t.args,e),t.type)},t.prototype.visitInstantiateExpr=function(t,e){return new fh(t.classExpr.visitExpression(this,e),this.visitAllExpressions(t.args,e),t.type)},t.prototype.visitLiteralExpr=function(t,e){return t},t.prototype.visitExternalExpr=function(t,e){return t},t.prototype.visitConditionalExpr=function(t,e){return new _h(t.condition.visitExpression(this,e),t.trueCase.visitExpression(this,e),t.falseCase.visitExpression(this,e))},t.prototype.visitNotExpr=function(t,e){return new vh(t.condition.visitExpression(this,e))},t.prototype.visitCastExpr=function(t,e){return new gh(t.value.visitExpression(this,e),e)},t.prototype.visitFunctionExpr=function(t,e){return t},t.prototype.visitBinaryOperatorExpr=function(t,e){return new Mh(t.operator,t.lhs.visitExpression(this,e),t.rhs.visitExpression(this,e),t.type)},t.prototype.visitReadPropExpr=function(t,e){return new Eh(t.receiver.visitExpression(this,e),t.name,t.type)},t.prototype.visitReadKeyExpr=function(t,e){return new Sh(t.receiver.visitExpression(this,e),t.index.visitExpression(this,e),t.type)},t.prototype.visitLiteralArrayExpr=function(t,e){return new Th(this.visitAllExpressions(t.entries,e))},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r=t.entries.map(function(t){return new Ch(t.key,t.value.visitExpression(n,e),t.quoted)});return new kh(r)},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitDeclareVarStmt=function(t,e){return new Yh(t.name,t.value.visitExpression(this,e),t.type,t.modifiers)},t.prototype.visitDeclareFunctionStmt=function(t,e){return t},t.prototype.visitExpressionStmt=function(t,e){return new jh(t.expr.visitExpression(this,e))},t.prototype.visitReturnStmt=function(t,e){return new Nh(t.value.visitExpression(this,e))},t.prototype.visitDeclareClassStmt=function(t,e){return t},t.prototype.visitIfStmt=function(t,e){return new Uh(t.condition.visitExpression(this,e),this.visitAllStatements(t.trueCase,e),this.visitAllStatements(t.falseCase,e))},t.prototype.visitTryCatchStmt=function(t,e){return new Wh(this.visitAllStatements(t.bodyStmts,e),this.visitAllStatements(t.catchStmts,e))},t.prototype.visitThrowStmt=function(t,e){return new zh(t.error.visitExpression(this,e))},t.prototype.visitCommentStmt=function(t,e){return t},t.prototype.visitAllStatements=function(t,e){var n=this;return t.map(function(t){return t.visitStatement(n,e)})},t}(),qh=function(){function t(){}return t.prototype.visitReadVarExpr=function(t,e){return t},t.prototype.visitWriteVarExpr=function(t,e){return t.value.visitExpression(this,e),t},t.prototype.visitWriteKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),
t.index.visitExpression(this,e),t.value.visitExpression(this,e),t},t.prototype.visitWritePropExpr=function(t,e){return t.receiver.visitExpression(this,e),t.value.visitExpression(this,e),t},t.prototype.visitInvokeMethodExpr=function(t,e){return t.receiver.visitExpression(this,e),this.visitAllExpressions(t.args,e),t},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),this.visitAllExpressions(t.args,e),t},t.prototype.visitInstantiateExpr=function(t,e){return t.classExpr.visitExpression(this,e),this.visitAllExpressions(t.args,e),t},t.prototype.visitLiteralExpr=function(t,e){return t},t.prototype.visitExternalExpr=function(t,e){return t},t.prototype.visitConditionalExpr=function(t,e){return t.condition.visitExpression(this,e),t.trueCase.visitExpression(this,e),t.falseCase.visitExpression(this,e),t},t.prototype.visitNotExpr=function(t,e){return t.condition.visitExpression(this,e),t},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),t},t.prototype.visitFunctionExpr=function(t,e){return t},t.prototype.visitBinaryOperatorExpr=function(t,e){return t.lhs.visitExpression(this,e),t.rhs.visitExpression(this,e),t},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),t},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),t.index.visitExpression(this,e),t},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e),t},t.prototype.visitLiteralMapExpr=function(t,e){var n=this;return t.entries.forEach(function(t){return t.value.visitExpression(n,e)}),t},t.prototype.visitAllExpressions=function(t,e){var n=this;t.forEach(function(t){return t.visitExpression(n,e)})},t.prototype.visitDeclareVarStmt=function(t,e){return t.value.visitExpression(this,e),t},t.prototype.visitDeclareFunctionStmt=function(t,e){return t},t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),t},t.prototype.visitReturnStmt=function(t,e){return t.value.visitExpression(this,e),t},t.prototype.visitDeclareClassStmt=function(t,e){return t},t.prototype.visitIfStmt=function(t,e){return t.condition.visitExpression(this,e),this.visitAllStatements(t.trueCase,e),this.visitAllStatements(t.falseCase,e),t},t.prototype.visitTryCatchStmt=function(t,e){return this.visitAllStatements(t.bodyStmts,e),this.visitAllStatements(t.catchStmts,e),t},t.prototype.visitThrowStmt=function(t,e){return t.error.visitExpression(this,e),t},t.prototype.visitCommentStmt=function(t,e){return t},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}(),Kh=function(t){function e(e,n){t.call(this),this._varName=e,this._newValue=n}return Wp(e,t),e.prototype.visitReadVarExpr=function(t,e){return t.name==this._varName?this._newValue:t},e}(Gh),Jh=function(t){function e(){t.apply(this,arguments),this.varNames=new Set}return Wp(e,t),e.prototype.visitReadVarExpr=function(t,e){return this.varNames.add(t.name),null},e}(qh),$h=function(){function t(t,e){this.expression=t,this.bindingId=e}return t}(),Zh=Ge("valUnwrapper"),Xh=function(){function t(){}return t.event=Ge("$event"),t}(),Qh=function(){function t(t,e,n){this.stmts=t,this.currValExpr=e,this.forceUpdate=n}return t}(),td=function(){function t(t,e){this.stmts=t,this.preventDefault=e}return t}(),ed={};ed.Statement=0,ed.Expression=1,ed[ed.Statement]="Statement",ed[ed.Expression]="Expression";var nd=function(){function t(t,e,n,r,i,o){this._builder=t,this._nameResolver=e,this._implicitReceiver=n,this._valueUnwrapper=r,this.bindingId=i,this.isAction=o,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.needsValueUnwrapper=!1,this.temporaryCount=0}return t.prototype.visitBinary=function(t,e){var n;switch(t.operation){case"+":n=ih.Plus;break;case"-":n=ih.Minus;break;case"*":n=ih.Multiply;break;case"/":n=ih.Divide;break;case"%":n=ih.Modulo;break;case"&&":n=ih.And;break;case"||":n=ih.Or;break;case"==":n=ih.Equals;break;case"!=":n=ih.NotEquals;break;case"===":n=ih.Identical;break;case"!==":n=ih.NotIdentical;break;case"<":n=ih.Lower;break;case">":n=ih.Bigger;break;case"<=":n=ih.LowerEquals;break;case">=":n=ih.BiggerEquals;break;default:throw new Error("Unsupported operation "+t.operation)}return _n(e,new Mh(n,this.visit(t.left,ed.Expression),this.visit(t.right,ed.Expression)))},t.prototype.visitChain=function(t,e){return mn(e,t),this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){var n=this.visit(t.condition,ed.Expression);return _n(e,n.conditional(this.visit(t.trueExp,ed.Expression),this.visit(t.falseExp,ed.Expression)))},t.prototype.visitPipe=function(t,e){var n=this.visit(t.exp,ed.Expression),r=this.visitAll(t.args,ed.Expression),i=this._nameResolver.callPipe(t.name,n,r);if(!i)throw new Error("Illegal state: Pipe "+t.name+" is not allowed here!");return this.needsValueUnwrapper=!0,_n(e,this._valueUnwrapper.callMethod("unwrap",[i]))},t.prototype.visitFunctionCall=function(t,e){return _n(e,this.visit(t.target,ed.Expression).callFn(this.visitAll(t.args,ed.Expression)))},t.prototype.visitImplicitReceiver=function(t,e){return yn(e,t),this._implicitReceiver},t.prototype.visitInterpolation=function(t,e){yn(e,t);for(var n=[tn(t.expressions.length)],r=0;r<t.strings.length-1;r++)n.push(tn(t.strings[r])),n.push(this.visit(t.expressions[r],ed.Expression));return n.push(tn(t.strings[t.strings.length-1])),t.expressions.length<=9?qe(Jt(tl.inlineInterpolate)).callFn(n):qe(Jt(tl.interpolate)).callFn([n[0],$e(n.slice(1))])},t.prototype.visitKeyedRead=function(t,e){var n=this.leftMostSafeNode(t);return n?this.convertSafeAccess(t,n,e):_n(e,this.visit(t.obj,ed.Expression).key(this.visit(t.key,ed.Expression)))},t.prototype.visitKeyedWrite=function(t,e){var n=this.visit(t.obj,ed.Expression),r=this.visit(t.key,ed.Expression),i=this.visit(t.value,ed.Expression);return _n(e,n.key(r).set(i))},t.prototype.visitLiteralArray=function(t,e){var n=this.visitAll(t.expressions,e),r=this.isAction?$e(n):gn(this._builder,n);return _n(e,r)},t.prototype.visitLiteralMap=function(t,e){for(var n=[],r=0;r<t.keys.length;r++)n.push([t.keys[r],this.visit(t.values[r],ed.Expression)]);var i=this.isAction?Ze(n):wn(this._builder,n);return _n(e,i)},t.prototype.visitLiteralPrimitive=function(t,e){return _n(e,tn(t.value))},t.prototype._getLocal=function(t){return this.isAction&&t==Xh.event.name?Xh.event:this._nameResolver.getLocal(t)},t.prototype.visitMethodCall=function(t,e){var n=this.leftMostSafeNode(t);if(n)return this.convertSafeAccess(t,n,e);var o=this.visitAll(t.args,ed.Expression),s=null,a=this.visit(t.receiver,ed.Expression);if(a===this._implicitReceiver){var u=this._getLocal(t.name);r(u)&&(s=u.callFn(o))}return i(s)&&(s=a.callMethod(t.name,o)),_n(e,s)},t.prototype.visitPrefixNot=function(t,e){return _n(e,Xe(this.visit(t.expression,ed.Expression)))},t.prototype.visitPropertyRead=function(t,e){var n=this.leftMostSafeNode(t);if(n)return this.convertSafeAccess(t,n,e);var r=null,o=this.visit(t.receiver,ed.Expression);return o===this._implicitReceiver&&(r=this._getLocal(t.name)),i(r)&&(r=o.prop(t.name)),_n(e,r)},t.prototype.visitPropertyWrite=function(t,e){var n=this.visit(t.receiver,ed.Expression);if(n===this._implicitReceiver){var i=this._getLocal(t.name);if(r(i))throw new Error("Cannot assign to a reference or variable!")}return _n(e,n.prop(t.name).set(this.visit(t.value,ed.Expression)))},t.prototype.visitSafePropertyRead=function(t,e){return this.convertSafeAccess(t,this.leftMostSafeNode(t),e)},t.prototype.visitSafeMethodCall=function(t,e){return this.convertSafeAccess(t,this.leftMostSafeNode(t),e)},t.prototype.visitAll=function(t,e){var n=this;return t.map(function(t){return n.visit(t,e)})},t.prototype.visitQuote=function(t,e){throw new Error("Quotes are not supported for evaluation!")},t.prototype.visit=function(t,e){var n=this._resultMap.get(t);return n?n:(this._nodeMap.get(t)||t).visit(this,e)},t.prototype.convertSafeAccess=function(t,e,n){var r,i=this.visit(e.receiver,ed.Expression);this.needsTemporary(e.receiver)&&(r=this.allocateTemporary(),i=r.set(i),this._resultMap.set(e.receiver,r));var o=i.isBlank();e instanceof Za?this._nodeMap.set(e,new $a(e.span,e.receiver,e.name,e.args)):this._nodeMap.set(e,new Ra(e.span,e.receiver,e.name));var s=this.visit(t,ed.Expression);return this._nodeMap["delete"](e),r&&this.releaseTemporary(r),_n(n,o.conditional(tn(null),s))},t.prototype.leftMostSafeNode=function(t){var e=this,n=function(t,n){return(e._nodeMap.get(n)||n).visit(t)};return t.visit({visitBinary:function(t){return null},visitChain:function(t){return null},visitConditional:function(t){return null},visitFunctionCall:function(t){return null},visitImplicitReceiver:function(t){return null},visitInterpolation:function(t){return null},visitKeyedRead:function(t){return n(this,t.obj)},visitKeyedWrite:function(t){return null},visitLiteralArray:function(t){return null},visitLiteralMap:function(t){return null},visitLiteralPrimitive:function(t){return null},visitMethodCall:function(t){return n(this,t.receiver)},visitPipe:function(t){return null},visitPrefixNot:function(t){return null},visitPropertyRead:function(t){return n(this,t.receiver)},visitPropertyWrite:function(t){return null},visitQuote:function(t){return null},visitSafeMethodCall:function(t){return n(this,t.receiver)||t},visitSafePropertyRead:function(t){return n(this,t.receiver)||t}})},t.prototype.needsTemporary=function(t){var e=this,n=function(t,n){return n&&(e._nodeMap.get(n)||n).visit(t)},r=function(t,e){return e.some(function(e){return n(t,e)})};return t.visit({visitBinary:function(t){return n(this,t.left)||n(this,t.right)},visitChain:function(t){return!1},visitConditional:function(t){return n(this,t.condition)||n(this,t.trueExp)||n(this,t.falseExp)},visitFunctionCall:function(t){return!0},visitImplicitReceiver:function(t){return!1},visitInterpolation:function(t){return r(this,t.expressions)},visitKeyedRead:function(t){return!1},visitKeyedWrite:function(t){return!1},visitLiteralArray:function(t){return!0},visitLiteralMap:function(t){return!0},visitLiteralPrimitive:function(t){return!1},visitMethodCall:function(t){return!0},visitPipe:function(t){return!0},visitPrefixNot:function(t){return n(this,t.expression)},visitPropertyRead:function(t){return!1},visitPropertyWrite:function(t){return!1},visitQuote:function(t){return!1},visitSafeMethodCall:function(t){return!0},visitSafePropertyRead:function(t){return!1}})},t.prototype.allocateTemporary=function(){var t=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new ah(hn(this.bindingId,t))},t.prototype.releaseTemporary=function(t){if(this._currentTemporary--,t.name!=hn(this.bindingId,this._currentTemporary))throw new Error("Temporary "+t.name+" released out of order")},t}(),rd=function(){function t(){}return t.prototype.callPipe=function(t,e,n){return null},t.prototype.getLocal=function(t){return null},t}(),id=function(){function t(t,e){this.statements=t,this.dirWrapperClassVar=e}return t}(),od="context",sd="_changes",ad="_changed",ud="_eventHandler",cd=Ge("currValue"),ld=Ge("throwOnChange"),pd=Ge("forceUpdate"),hd=Ge("view"),dd=Ge("componentView"),fd=Ge("el"),md=Ge("eventName"),yd=Lh.prop(sd).set(Ze([])).toStmt(),_d=function(){function t(t,e,n,r){this.compilerConfig=t,this._exprParser=e,this._schemaRegistry=n,this._console=r}return t.dirWrapperClassName=function(t){return"Wrapper_"+w(t)},t.prototype.compile=function(t){var e=Yn(t,this._exprParser,this._schemaRegistry);In(e.errors,this._console);var n=new vd(this.compilerConfig,t);Object.keys(t.inputs).forEach(function(t){xn(t,n)}),Dn(n),Pn(e.hostProps,e.hostListeners,n),On(e.hostListeners,n),An(t,n);var r=n.build();return new id([r],r.name)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:lp},{type:lu},{type:pl},{type:Eo}]},t}(),vd=function(){function t(t,e){this.compilerConfig=t,this.dirMeta=e,this.fields=[],this.getters=[],this.methods=[],this.ctorStmts=[],this.detachStmts=[],this.destroyStmts=[];var n=e.type.lifecycleHooks;this.genChanges=-1!==n.indexOf(io.OnChanges)||this.compilerConfig.logBindingUpdate,this.ngOnChanges=-1!==n.indexOf(io.OnChanges),this.ngOnInit=-1!==n.indexOf(io.OnInit),this.ngDoCheck=-1!==n.indexOf(io.DoCheck),this.ngOnDestroy=-1!==n.indexOf(io.OnDestroy),this.ngOnDestroy&&this.destroyStmts.push(Lh.prop(od).callMethod("ngOnDestroy",[]).toStmt())}return t.prototype.build=function(){for(var t=[],e=0;e<this.dirMeta.type.diDeps.length;e++)t.push("p"+e);var n=[new Vh("ngOnDetach",[new wh(hd.name,Ke(Jt(tl.AppView),[Xp])),new wh(dd.name,Ke(Jt(tl.AppView),[Xp])),new wh(fd.name,Xp)],this.detachStmts),new Vh("ngOnDestroy",[],this.destroyStmts)],r=[new Hh(ud,nh,[Oh.Private]),new Hh(od,Ke(this.dirMeta.type)),new Hh(ad,Qp,[Oh.Private])],i=[Lh.prop(ad).set(tn(!1)).toStmt()];return this.genChanges&&(r.push(new Hh(sd,new Zp(Xp),[Oh.Private])),i.push(yd)),i.push(Lh.prop(od).set(qe(this.dirMeta.type).instantiate(t.map(function(t){return Ge(t)}))).toStmt()),kn({name:_d.dirWrapperClassName(this.dirMeta.type),ctorParams:t.map(function(t){return new wh(t,Xp)}),builders:[{fields:r,ctorStmts:i,methods:n},this]})},t}(),gd=function(){function t(t,e,n){this.hostProps=t,this.hostListeners=e,this.errors=n}return t}(),wd=function(){function t(){}return t.create=function(t,e){return qe(t).instantiate(e,Ke(t))},t.context=function(t){return t.prop(od)},t.ngDoCheck=function(t,e,n,r){return t.callMethod("ngDoCheck",[e,n,r])},t.checkHost=function(t,e,n,r,i,o,s){return t.length?[e.callMethod("checkHost",[n,r,i,o].concat(s)).toStmt()]:[]},t.ngOnDetach=function(t,e,n,r,i){return t.some(function(t){return t.isAnimation})?[e.callMethod("ngOnDetach",[n,r,i]).toStmt()]:[]},t.ngOnDestroy=function(t,e){return-1!==t.type.lifecycleHooks.indexOf(io.OnDestroy)||Object.keys(t.outputs).length>0?[e.callMethod("ngOnDestroy",[]).toStmt()]:[]},t.subscribe=function(t,e,n,r,i,o){var s=!1,a=[];return Object.keys(t.outputs).forEach(function(e){var r=t.outputs[e],i=n.indexOf(r)>-1;s=s||i,a.push(tn(i))}),e.forEach(function(t){t.isAnimation&&n.length>0&&(s=!0)}),s?[r.callMethod("subscribe",[i,o].concat(a)).toStmt()]:[]},t.handleEvent=function(t,e,n,r){return e.callMethod("handleEvent",[n,r])},t}(),bd=function(){function t(t){void 0===t&&(t=So),this._reflector=t}return t.prototype.isNgModule=function(t){return this._reflector.annotations(t).some(Rn)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=eo.findLast(this._reflector.annotations(t),Rn);if(r(n))return n;if(e)throw new Error("No NgModule metadata found for '"+s(t)+"'.");return null},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:so}]},t}(),Md=function(){function t(t){void 0===t&&(t=So),this._reflector=t}return t.prototype.isPipe=function(t){var n=this._reflector.annotations(e.resolveForwardRef(t));return n&&n.some(Hn)},t.prototype.resolve=function(t,n){void 0===n&&(n=!0);var i=this._reflector.annotations(e.resolveForwardRef(t));if(r(i)){var o=eo.findLast(i,Hn);if(r(o))return o}if(n)throw new Error("No Pipe decorator found on "+s(t));return null},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:so}]},t}(),Ed=function(){function t(){}return t.prototype.resolveSummary=function(t){return null},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),Sd=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Td=new e.OpaqueToken("ErrorCollector"),Cd=function(){function t(t,e,n,r,i,o,s,a){void 0===s&&(s=So),this._ngModuleResolver=t,this._directiveResolver=e,this._pipeResolver=n,this._summaryResolver=r,this._schemaRegistry=i,this._directiveNormalizer=o,this._reflector=s,this._errorCollector=a,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map}return t.prototype.clearCacheFor=function(t){var e=this._directiveCache.get(t);this._directiveCache["delete"](t),this._summaryCache["delete"](t),this._pipeCache["delete"](t),this._ngModuleOfTypes["delete"](t),this._ngModuleCache.clear(),e&&this._directiveNormalizer.clearCacheFor(e)},t.prototype.clearCache=function(){this._directiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},t.prototype.getAnimationEntryMetadata=function(t){var e=this,n=t.definitions.map(function(t){return e._getAnimationStateMetadata(t)});return new os(t.name,n)},t.prototype._getAnimationStateMetadata=function(t){if(t instanceof e.AnimationStateDeclarationMetadata){var n=this._getAnimationStyleMetadata(t.styles);return new as(t.stateNameExpr,n)}return t instanceof e.AnimationStateTransitionMetadata?new us(t.stateChangeExpr,this._getAnimationMetadata(t.steps)):null},t.prototype._getAnimationStyleMetadata=function(t){return new ps(t.offset,t.styles)},t.prototype._getAnimationMetadata=function(t){var n=this;if(t instanceof e.AnimationStyleMetadata)return this._getAnimationStyleMetadata(t);if(t instanceof e.AnimationKeyframesSequenceMetadata)return new ls(t.steps.map(function(t){return n._getAnimationStyleMetadata(t)}));if(t instanceof e.AnimationAnimateMetadata){var r=this._getAnimationMetadata(t.styles);return new hs(t.timings,r)}if(t instanceof e.AnimationWithStepsMetadata){var i=t.steps.map(function(t){return n._getAnimationMetadata(t)});return t instanceof e.AnimationGroupMetadata?new ms(i):new fs(i)}return null},t.prototype._loadSummary=function(t,e){var n=this._summaryCache.get(t);return n||(n=this._summaryResolver.resolveSummary(t),this._summaryCache.set(t,n)),n&&n.summaryKind===e?n:null},t.prototype._loadDirectiveMetadata=function(t,n){var r=this;if(!this._directiveCache.has(t)){t=e.resolveForwardRef(t);var i=this.getNonNormalizedDirectiveMetadata(t),o=i.annotation,s=i.metadata,a=function(e){var n=new ws({type:s.type,isComponent:s.isComponent,selector:s.selector,exportAs:s.exportAs,changeDetection:s.changeDetection,inputs:s.inputs,outputs:s.outputs,hostListeners:s.hostListeners,hostProperties:s.hostProperties,hostAttributes:s.hostAttributes,providers:s.providers,viewProviders:s.viewProviders,queries:s.queries,viewQueries:s.viewQueries,entryComponents:s.entryComponents,template:e});return r._directiveCache.set(t,n),r._summaryCache.set(t,n.toSummary()),n};if(s.isComponent){var u=this._directiveNormalizer.normalizeTemplate({componentType:t,moduleUrl:Wn(this._reflector,t,o),encapsulation:s.template.encapsulation,template:s.template.template,templateUrl:s.template.templateUrl,styles:s.template.styles,styleUrls:s.template.styleUrls,animations:s.template.animations,interpolation:s.template.interpolation});return u.syncResult?(a(u.syncResult),null):n?(this._reportError(new Fo(t),t),null):u.asyncResult.then(a)}return a(null),null}},t.prototype.getNonNormalizedDirectiveMetadata=function(t){var n=this;t=e.resolveForwardRef(t);var i=this._directiveResolver.resolve(t);if(!i)return null;var o;if(i instanceof e.Component){x("styles",i.styles),x("styleUrls",i.styleUrls),P("interpolation",i.interpolation);var a=i.animations?i.animations.map(function(t){return n.getAnimationEntryMetadata(t)}):null;o=new gs({encapsulation:i.encapsulation,template:i.template,templateUrl:i.templateUrl,styles:i.styles,styleUrls:i.styleUrls,animations:a,interpolation:i.interpolation})}var u=null,c=[],l=[],p=i.selector;i instanceof e.Component?(u=i.changeDetection,i.viewProviders&&(c=this._getProvidersMetadata(i.viewProviders,l,'viewProviders for "'+s(t)+'"',[],t)),i.entryComponents&&(l=Bn(i.entryComponents).map(function(t){return n._getIdentifierMetadata(t)}).concat(l)),p||(p=this._schemaRegistry.getDefaultComponentElementName())):p||(this._reportError(new Error("Directive "+s(t)+" has no selector, please add it!"),t),p="error");var h=[];r(i.providers)&&(h=this._getProvidersMetadata(i.providers,l,'providers for "'+s(t)+'"',[],t));var d=[],f=[];r(i.queries)&&(d=this._getQueriesMetadata(i.queries,!1,t),f=this._getQueriesMetadata(i.queries,!0,t));var m=ws.create({selector:p,exportAs:i.exportAs,isComponent:!!o,type:this._getTypeMetadata(t),template:o,changeDetection:u,inputs:i.inputs,outputs:i.outputs,host:i.host,providers:h,viewProviders:c,queries:d,viewQueries:f,entryComponents:l});return{metadata:m,annotation:i}},t.prototype.getDirectiveMetadata=function(t){var e=this._directiveCache.get(t);return e||this._reportError(new Error("Illegal state: getDirectiveMetadata can only be called after loadNgModuleMetadata for a module that declares it. Directive "+s(t)+"."),t),e},t.prototype.getDirectiveSummary=function(t){var e=this._loadSummary(t,_s.Directive);return e||this._reportError(new Error("Illegal state: Could not load the summary for directive "+s(t)+"."),t),e},t.prototype.isDirective=function(t){return this._directiveResolver.isDirective(t)},t.prototype.isPipe=function(t){return this._pipeResolver.isPipe(t)},t.prototype.getNgModuleSummary=function(t){var e=this._loadSummary(t,_s.NgModule);if(!e){var n=this.getNgModuleMetadata(t,!1);e=n?n.toSummary():null,e&&this._summaryCache.set(t,e)}return e},t.prototype.loadNgModuleDirectiveAndPipeMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.getNgModuleMetadata(t,n),o=[];return i&&(i.declaredDirectives.forEach(function(t){var n=r._loadDirectiveMetadata(t.reference,e);n&&o.push(n)}),i.declaredPipes.forEach(function(t){return r._loadPipeMetadata(t.reference)})),Promise.all(o)},t.prototype.getNgModuleMetadata=function(t,n){var r=this;void 0===n&&(n=!0),t=e.resolveForwardRef(t);var i=this._ngModuleCache.get(t);if(i)return i;var o=this._ngModuleResolver.resolve(t,n);if(!o)return null;var a=[],u=[],c=[],l=[],p=[],h=[],d=[],f=[],m=[];o.imports&&Bn(o.imports).forEach(function(e){var n;if(Un(e))n=e;else if(e&&e.ngModule){var i=e;n=i.ngModule,i.providers&&h.push.apply(h,r._getProvidersMetadata(i.providers,d,"provider for the NgModule '"+s(n)+"'",[],e))}if(!n)return void r._reportError(new Error("Unexpected value '"+s(e)+"' imported by the module '"+s(t)+"'"),t);var o=r.getNgModuleSummary(n);return o?void l.push(o):void r._reportError(new Error("Unexpected "+r._getTypeDescriptor(e)+" '"+s(e)+"' imported by the module '"+s(t)+"'"),t)}),o.exports&&Bn(o.exports).forEach(function(e){if(!Un(e))return void r._reportError(new Error("Unexpected value '"+s(e)+"' exported by the module '"+s(t)+"'"),t);var n=r.getNgModuleSummary(e);n?p.push(n):u.push(r._getIdentifierMetadata(e))});var y=this._getTransitiveNgModuleMetadata(l,p);o.declarations&&Bn(o.declarations).forEach(function(e){if(!Un(e))return void r._reportError(new Error("Unexpected value '"+s(e)+"' declared by the module '"+s(t)+"'"),t);var n=r._getIdentifierMetadata(e);if(r._directiveResolver.isDirective(e))y.addDirective(n),a.push(n),r._addTypeToModule(e,t);else{if(!r._pipeResolver.isPipe(e))return void r._reportError(new Error("Unexpected "+r._getTypeDescriptor(e)+" '"+s(e)+"' declared by the module '"+s(t)+"'"),t);y.addPipe(n),y.pipes.push(n),c.push(n),r._addTypeToModule(e,t)}});var _=[],v=[];return u.forEach(function(e){y.directivesSet.has(e.reference)?(_.push(e),y.addExportedDirective(e)):y.pipesSet.has(e.reference)?(v.push(e),y.addExportedPipe(e)):r._reportError(new Error("Can't export "+r._getTypeDescriptor(e.reference)+" "+s(e.reference)+" from "+s(t)+" as it was neither declared nor imported!"),t)}),o.providers&&h.push.apply(h,this._getProvidersMetadata(o.providers,d,"provider for the NgModule '"+s(t)+"'",[],t)),o.entryComponents&&d.push.apply(d,Bn(o.entryComponents).map(function(t){return r._getTypeMetadata(t)})),o.bootstrap&&Bn(o.bootstrap).forEach(function(e){return Un(e)?void f.push(r._getTypeMetadata(e)):void r._reportError(new Error("Unexpected value '"+s(e)+"' used in the bootstrap property of module '"+s(t)+"'"),t)}),d.push.apply(d,f),o.schemas&&m.push.apply(m,Bn(o.schemas)),i=new Ms({type:this._getTypeMetadata(t),providers:h,entryComponents:d,bootstrapComponents:f,schemas:m,declaredDirectives:a,exportedDirectives:_,declaredPipes:c,exportedPipes:v,importedModules:l,exportedModules:p,transitiveModule:y,id:o.id}),d.forEach(function(t){return y.addEntryComponent(t)}),h.forEach(function(t){return y.addProvider(t,i.type)}),y.addModule(i.type),this._ngModuleCache.set(t,i),i},t.prototype._getTypeDescriptor=function(t){return this._directiveResolver.isDirective(t)?"directive":this._pipeResolver.isPipe(t)?"pipe":this._ngModuleResolver.isNgModule(t)?"module":t.provide?"provider":"value"},t.prototype._addTypeToModule=function(t,e){var n=this._ngModuleOfTypes.get(t);n&&n!==e&&this._reportError(new Error("Type "+s(t)+" is part of the declarations of 2 modules: "+s(n)+" and "+s(e)+"! "+("Please consider moving "+s(t)+" to a higher module that imports "+s(n)+" and "+s(e)+". ")+("You can also create a new NgModule that exports and includes "+s(t)+" then import that NgModule in "+s(n)+" and "+s(e)+".")),e),this._ngModuleOfTypes.set(t,e)},t.prototype._getTransitiveNgModuleMetadata=function(t,e){var n=new Es,r=new Map;return t.concat(e).forEach(function(t){t.modules.forEach(function(t){return n.addModule(t)}),t.entryComponents.forEach(function(t){return n.addEntryComponent(t)});var e=new Set;t.providers.forEach(function(t){var i=E(t.provider.token),o=r.get(i);o||(o=new Set,r.set(i,o));var s=t.module.reference;(e.has(i)||!o.has(s))&&(o.add(s),e.add(i),n.addProvider(t.provider,t.module))})}),e.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addExportedDirective(t)}),t.exportedPipes.forEach(function(t){return n.addExportedPipe(t)})}),t.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addDirective(t)}),t.exportedPipes.forEach(function(t){return n.addPipe(t)})}),n},t.prototype._getIdentifierMetadata=function(t){return t=e.resolveForwardRef(t),{reference:t}},t.prototype._getTypeMetadata=function(t,e){void 0===e&&(e=null);var n=this._getIdentifierMetadata(t);return{reference:n.reference,diDeps:this._getDependenciesMetadata(n.reference,e),lifecycleHooks:oo.filter(function(t){return jn(t,n.reference)})}},t.prototype._getFactoryMetadata=function(t,n){return void 0===n&&(n=null),t=e.resolveForwardRef(t),{reference:t,diDeps:this._getDependenciesMetadata(t,n)}},t.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(new Error("Illegal state: getPipeMetadata can only be called after loadNgModuleMetadata for a module that declares it. Pipe "+s(t)+"."),t),e},t.prototype.getPipeSummary=function(t){var e=this._loadSummary(t,_s.Pipe);return e||this._reportError(new Error("Illegal state: Could not load the summary for pipe "+s(t)+"."),t),e},t.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},t.prototype._loadPipeMetadata=function(t){t=e.resolveForwardRef(t);var n=this._pipeResolver.resolve(t),r=new bs({type:this._getTypeMetadata(t),name:n.name,pure:n.pure});return this._pipeCache.set(t,r),this._summaryCache.set(t,r.toSummary()),r},t.prototype._getDependenciesMetadata=function(t,n){var r=this,o=!1,a=n||this._reflector.parameters(t)||[],u=a.map(function(t){var n=!1,s=!1,a=!1,u=!1,c=!1,l=null;return Array.isArray(t)?t.forEach(function(t){t instanceof e.Host?s=!0:t instanceof e.Self?a=!0:t instanceof e.SkipSelf?u=!0:t instanceof e.Optional?c=!0:t instanceof e.Attribute?(n=!0,l=t.attributeName):t instanceof e.Inject?l=t.token:Un(t)&&i(l)&&(l=t)}):l=t,i(l)?(o=!0,null):{isAttribute:n,isHost:s,isSelf:a,isSkipSelf:u,isOptional:c,token:r._getTokenMetadata(l)}});if(o){var c=u.map(function(t){return t?s(t.token):"?"}).join(", ");this._reportError(new Error("Can't resolve all parameters for "+s(t)+": ("+c+")."),t)}return u},t.prototype._getTokenMetadata=function(t){t=e.resolveForwardRef(t);var n;return n="string"==typeof t?{value:t}:{identifier:{reference:t}}},t.prototype._getProvidersMetadata=function(t,n,r,i,o){var a=this;return void 0===i&&(i=[]),t.forEach(function(u,c){if(Array.isArray(u))a._getProvidersMetadata(u,n,r,i);else{u=e.resolveForwardRef(u);var l=void 0;if(u&&"object"==typeof u&&u.hasOwnProperty("provide"))l=new Ss(u.provide,u);else if(Un(u))l=new Ss(u,{useClass:u});else{var p=t.reduce(function(t,e,n){return c>n?t.push(""+s(e)):n==c?t.push("?"+s(e)+"?"):n==c+1&&t.push("..."),t},[]).join(", ");a._reportError(new Error("Invalid "+(r?r:"provider")+" - only instances of Provider and Type are allowed, got: ["+p+"]"),o)}l.token===Kt(tl.ANALYZE_FOR_ENTRY_COMPONENTS)?n.push.apply(n,a._getEntryComponentsFromProvider(l,o)):i.push(a.getProviderMetadata(l))}}),i},t.prototype._getEntryComponentsFromProvider=function(t,e){var n=this,r=[],i=[];return t.useFactory||t.useExisting||t.useClass?(this._reportError(new Error("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),e),[]):t.multi?(zn(t.useValue,i),i.forEach(function(t){n._directiveResolver.isDirective(t.reference)&&r.push(t)}),r):(this._reportError(new Error("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),e),[])},t.prototype.getProviderMetadata=function(t){var e,n=null,r=null,i=this._getTokenMetadata(t.token);return t.useClass?(n=this._getTypeMetadata(t.useClass,t.dependencies),e=n.diDeps,t.token===t.useClass&&(i={identifier:n})):t.useFactory&&(r=this._getFactoryMetadata(t.useFactory,t.dependencies),e=r.diDeps),{token:i,useClass:n,useValue:t.useValue,useFactory:r,useExisting:t.useExisting?this._getTokenMetadata(t.useExisting):null,deps:e,multi:t.multi}},t.prototype._getQueriesMetadata=function(t,e,n){var r=this,i=[];return Object.keys(t).forEach(function(o){var s=t[o];s.isViewQuery===e&&i.push(r._getQueryMetadata(s,o,n))}),i},t.prototype._queryVarBindings=function(t){return t.split(/\s*,\s*/)},t.prototype._getQueryMetadata=function(t,e,n){var r,i=this;return"string"==typeof t.selector?r=this._queryVarBindings(t.selector).map(function(t){return i._getTokenMetadata(t)}):(t.selector||this._reportError(new Error("Can't construct a query for the property \""+e+'" of "'+s(n)+"\" since the query selector wasn't defined."),n),r=[this._getTokenMetadata(t.selector)]),{selectors:r,first:t.first,descendants:t.descendants,propertyName:e,read:t.read?this._getTokenMetadata(t.read):null}},t.prototype._reportError=function(t,e,n){if(!this._errorCollector)throw t;this._errorCollector(t,e),n&&this._errorCollector(t,n)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:bd},{type:Up},{type:Md},{type:Ed},{type:pl},{type:Fp},{type:so},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[Td]}]}]},t}(),kd=function(t){function e(){t.apply(this,arguments)}return Sd(e,t),e.prototype.visitOther=function(t,e){e.push({reference:t})},e}(es),Ld="$quoted$",Dd=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return $e(t.map(function(t){return v(t,n,null)}),e)},t.prototype.visitStringMap=function(t,e){var n=this,r=[],i=new Set(t&&t[Ld]);return Object.keys(t).forEach(function(e){r.push(new Ch(e,v(t[e],n,null),i.has(e)))}),new kh(r,e)},t.prototype.visitPrimitive=function(t,e){return tn(t,e)},t.prototype.visitOther=function(t,e){return t instanceof oh?t:qe({reference:t})},t}(),xd=function(){function t(t,e){this.comp=t,this.placeholder=e}return t}(),Pd=function(){function t(t,e,n){this.statements=t,this.ngModuleFactoryVar=e,this.dependencies=n}return t}(),Od=function(){function t(){}return t.prototype.compile=function(t,e){var n=b(t.type),i=r(n)?"in NgModule "+w(t.type)+" in "+n:"in NgModule "+w(t.type),o=new fu("",i),s=new mu(new du(o,null,null,null),new du(o,null,null,null)),a=[],u=[],c=t.transitiveModule.entryComponents.map(function(e){var n={reference:null};return t.bootstrapComponents.some(function(t){return t.reference===e.reference})&&u.push(n),a.push(new xd(e,n)),n}),l=new Ad(t,c,u,s),p=new ll(t,e,s);p.parse().forEach(function(t){return l.addProvider(t)});var h=l.build(),d=w(t.type)+"NgFactory",f=Ge(d).set(qe(Jt(tl.NgModuleFactory)).instantiate([Ge(h.name),qe(t.type)],Ke(Jt(tl.NgModuleFactory),[Ke(t.type)],[zp.Const]))).toDeclStmt(null,[Oh.Final]),m=[h,f];
if(t.id){var y=qe(Jt(tl.RegisterModuleFactoryFn)).callFn([tn(t.id),Ge(d)]).toStmt();m.push(y)}return new Pd(m,d,a)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),Ad=function(){function t(t,e,n,r){this._ngModuleMeta=t,this._entryComponentFactories=e,this._bootstrapComponentFactories=n,this._sourceSpan=r,this.fields=[],this.getters=[],this.methods=[],this.ctorStmts=[],this._tokens=[],this._instances=new Map,this._createStmts=[],this._destroyStmts=[]}return t.prototype.addProvider=function(t){var e=this,n=t.providers.map(function(t){return e._getProviderValue(t)}),r="_"+M(t.token)+"_"+this._instances.size,i=this._createProviderProperty(r,t,n,t.multiProvider,t.eager);-1!==t.lifecycleHooks.indexOf(io.OnDestroy)&&this._destroyStmts.push(i.callMethod("ngOnDestroy",[]).toStmt()),this._tokens.push(t.token),this._instances.set(E(t.token),i)},t.prototype.build=function(){var t=this,e=this._tokens.map(function(e){var n=t._instances.get(E(e));return new Uh(Id.token.identical(on(e)),[new Nh(n)])}),n=[new Vh("createInternal",[],this._createStmts.concat(new Nh(this._instances.get(this._ngModuleMeta.type.reference))),Ke(this._ngModuleMeta.type)),new Vh("getInternal",[new wh(Id.token.name,Xp),new wh(Id.notFoundResult.name,Xp)],e.concat([new Nh(Id.notFoundResult)]),Xp),new Vh("destroyInternal",[],this._destroyStmts)],r=[Ge(Yd.parent.name),$e(this._entryComponentFactories.map(function(t){return qe(t)})),$e(this._bootstrapComponentFactories.map(function(t){return qe(t)}))],i=w(this._ngModuleMeta.type)+"Injector";return kn({name:i,ctorParams:[new wh(Yd.parent.name,Ke(Jt(tl.Injector)))],parent:qe(Jt(tl.NgModuleInjector),[Ke(this._ngModuleMeta.type)]),parentArgs:r,builders:[{methods:n},this]})},t.prototype._getProviderValue=function(t){var e,n=this;if(r(t.useExisting))e=this._getDependency({token:t.useExisting});else if(r(t.useFactory)){var i=t.deps||t.useFactory.diDeps,o=i.map(function(t){return n._getDependency(t)});e=qe(t.useFactory).callFn(o)}else if(r(t.useClass)){var i=t.deps||t.useClass.diDeps,o=i.map(function(t){return n._getDependency(t)});e=qe(t.useClass).instantiate(o,Ke(t.useClass))}else e=Gn(t.useValue);return e},t.prototype._createProviderProperty=function(t,e,n,r,i){var o,s;if(r?(o=$e(n),s=new $p(Xp)):(o=n[0],s=n[0].type),s||(s=Xp),i)this.fields.push(new Hh(t,s)),this._createStmts.push(Lh.prop(t).set(o).toStmt());else{var a="_"+t;this.fields.push(new Hh(a,s));var u=[new Uh(Lh.prop(a).isBlank(),[Lh.prop(a).set(o).toStmt()]),new Nh(Lh.prop(a))];this.getters.push(new Fh(t,u,s))}return Lh.prop(t)},t.prototype._getDependency=function(t){var e=null;if(t.isValue&&(e=tn(t.value)),t.isSkipSelf||(!t.token||E(t.token)!==Kt(tl.Injector)&&E(t.token)!==Kt(tl.ComponentFactoryResolver)||(e=Lh),e||(e=this._instances.get(E(t.token)))),!e){var n=[on(t.token)];t.isOptional&&n.push(xh),e=Yd.parent.callMethod("get",n)}return e},t}(),Yd=function(){function t(){}return t.parent=Lh.prop("parent"),t}(),Id=function(){function t(){}return t.token=Ge("token"),t.notFoundResult=Ge("notFoundResult"),t}(),jd=/'|\\|\n|\r|\$/g,Nd=/^[$A-Z_][0-9A-Z_$]*$/i,Rd=Ge("error"),Hd=Ge("stack"),Vd=function(){function t(t){this.indent=t,this.parts=[]}return t}(),Fd=function(){function t(t,e){this._exportedVars=t,this._indent=e,this._classes=[],this._lines=[new Vd(e)]}return t.createRoot=function(e){return new t(e,0)},Object.defineProperty(t.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),t.prototype.isExportedVar=function(t){return-1!==this._exportedVars.indexOf(t)},t.prototype.println=function(t){void 0===t&&(t=""),this.print(t,!0)},t.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},t.prototype.print=function(t,e){void 0===e&&(e=!1),t.length>0&&this._currentLine.parts.push(t),e&&this._lines.push(new Vd(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this._currentLine.indent=this._indent},t.prototype.decIndent=function(){this._indent--,this._currentLine.indent=this._indent},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.toSource=function(){var t=this._lines;return 0===t[t.length-1].parts.length&&(t=t.slice(0,t.length-1)),t.map(function(t){return t.parts.length>0?Kn(t.indent)+t.parts.join(""):""}).join("\n")},t}(),Bd=function(){function t(t){this._escapeDollarInStrings=t}return t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),e.println(";"),null},t.prototype.visitReturnStmt=function(t,e){return e.print("return "),t.value.visitExpression(this,e),e.println(";"),null},t.prototype.visitCastExpr=function(t,e){},t.prototype.visitDeclareClassStmt=function(t,e){},t.prototype.visitIfStmt=function(t,e){e.print("if ("),t.condition.visitExpression(this,e),e.print(") {");var n=r(t.falseCase)&&t.falseCase.length>0;return t.trueCase.length<=1&&!n?(e.print(" "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(" ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),n&&(e.println("} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println("}"),null},t.prototype.visitTryCatchStmt=function(t,e){},t.prototype.visitThrowStmt=function(t,e){return e.print("throw "),t.error.visitExpression(this,e),e.println(";"),null},t.prototype.visitCommentStmt=function(t,e){var n=t.comment.split("\n");return n.forEach(function(t){e.println("// "+t)}),null},t.prototype.visitDeclareVarStmt=function(t,e){},t.prototype.visitWriteVarExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print("("),e.print(t.name+" = "),t.value.visitExpression(this,e),n||e.print(")"),null},t.prototype.visitWriteKeyExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print("("),t.receiver.visitExpression(this,e),e.print("["),t.index.visitExpression(this,e),e.print("] = "),t.value.visitExpression(this,e),n||e.print(")"),null},t.prototype.visitWritePropExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print("("),t.receiver.visitExpression(this,e),e.print("."+t.name+" = "),t.value.visitExpression(this,e),n||e.print(")"),null},t.prototype.visitInvokeMethodExpr=function(t,e){t.receiver.visitExpression(this,e);var n=t.name;return r(t.builtin)&&(n=this.getBuiltinMethodName(t.builtin),i(n))?null:(e.print("."+n+"("),this.visitAllExpressions(t.args,e,","),e.print(")"),null)},t.prototype.getBuiltinMethodName=function(t){},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),e.print("("),this.visitAllExpressions(t.args,e,","),e.print(")"),null},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(r(t.builtin))switch(t.builtin){case sh.Super:n="super";break;case sh.This:n="this";break;case sh.CatchError:n=Rd.name;break;case sh.CatchStack:n=Hd.name;break;default:throw new Error("Unknown builtin variable "+t.builtin)}return e.print(n),null},t.prototype.visitInstantiateExpr=function(t,e){return e.print("new "),t.classExpr.visitExpression(this,e),e.print("("),this.visitAllExpressions(t.args,e,","),e.print(")"),null},t.prototype.visitLiteralExpr=function(t,e){var n=t.value;return"string"==typeof n?e.print(qn(n,this._escapeDollarInStrings)):e.print(""+n),null},t.prototype.visitExternalExpr=function(t,e){},t.prototype.visitConditionalExpr=function(t,e){return e.print("("),t.condition.visitExpression(this,e),e.print("? "),t.trueCase.visitExpression(this,e),e.print(": "),t.falseCase.visitExpression(this,e),e.print(")"),null},t.prototype.visitNotExpr=function(t,e){return e.print("!"),t.condition.visitExpression(this,e),null},t.prototype.visitFunctionExpr=function(t,e){},t.prototype.visitDeclareFunctionStmt=function(t,e){},t.prototype.visitBinaryOperatorExpr=function(t,e){var n;switch(t.operator){case ih.Equals:n="==";break;case ih.Identical:n="===";break;case ih.NotEquals:n="!=";break;case ih.NotIdentical:n="!==";break;case ih.And:n="&&";break;case ih.Or:n="||";break;case ih.Plus:n="+";break;case ih.Minus:n="-";break;case ih.Divide:n="/";break;case ih.Multiply:n="*";break;case ih.Modulo:n="%";break;case ih.Lower:n="<";break;case ih.LowerEquals:n="<=";break;case ih.Bigger:n=">";break;case ih.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+t.operator)}return e.print("("),t.lhs.visitExpression(this,e),e.print(" "+n+" "),t.rhs.visitExpression(this,e),e.print(")"),null},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print("."),e.print(t.name),null},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print("["),t.index.visitExpression(this,e),e.print("]"),null},t.prototype.visitLiteralArrayExpr=function(t,e){var n=t.entries.length>1;return e.print("[",n),e.incIndent(),this.visitAllExpressions(t.entries,e,",",n),e.decIndent(),e.print("]",n),null},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r=t.entries.length>1;return e.print("{",r),e.incIndent(),this.visitAllObjects(function(t){e.print(qn(t.key,n._escapeDollarInStrings,t.quoted)+": "),t.value.visitExpression(n,e)},t.entries,e,",",r),e.decIndent(),e.print("}",r),null},t.prototype.visitAllExpressions=function(t,e,n,r){var i=this;void 0===r&&(r=!1),this.visitAllObjects(function(t){return t.visitExpression(i,e)},t,e,n,r)},t.prototype.visitAllObjects=function(t,e,n,r,i){void 0===i&&(i=!1);for(var o=0;o<e.length;o++)o>0&&n.print(r,i),t(e[o]);i&&n.println()},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}(),Ud=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Wd="/debug/lib",zd=function(){function t(t){this._importGenerator=t}return t.prototype.emitStatements=function(t,e,n){var r=this,i=new Gd(t),o=Fd.createRoot(n);i.visitAllStatements(e,o);var s=[];return i.importsWithPrefixes.forEach(function(e,n){s.push("imp"+("ort * as "+e+" from '"+r._importGenerator.fileNameToModuleName(n,t)+"';"))}),s.push(o.toSource()),s.join("\n")},t}(),Gd=function(t){function e(e){t.call(this,!1),this._moduleUrl=e,this.importsWithPrefixes=new Map}return Ud(e,t),e.prototype.visitType=function(t,e,n){void 0===n&&(n="any"),r(t)?t.visitType(this,e):e.print(n)},e.prototype.visitLiteralExpr=function(e,n){var r=e.value;return i(r)&&e.type!=rh?(n.print("("+r+" as any)"),null):t.prototype.visitLiteralExpr.call(this,e,n)},e.prototype.visitLiteralArrayExpr=function(e,n){0===e.entries.length&&n.print("(");var r=t.prototype.visitLiteralArrayExpr.call(this,e,n);return 0===e.entries.length&&n.print(" as any[])"),r},e.prototype.visitExternalExpr=function(t,e){return this._visitIdentifier(t.value,t.typeParams,e),null},e.prototype.visitDeclareVarStmt=function(t,e){return e.isExportedVar(t.name)&&e.print("export "),t.hasModifier(Oh.Final)?e.print("const"):e.print("var"),e.print(" "+t.name+":"),this.visitType(t.type,e),e.print(" = "),t.value.visitExpression(this,e),e.println(";"),null},e.prototype.visitCastExpr=function(t,e){return e.print("(<"),t.type.visitType(this,e),e.print(">"),t.value.visitExpression(this,e),e.print(")"),null},e.prototype.visitDeclareClassStmt=function(t,e){var n=this;return e.pushClass(t),e.isExportedVar(t.name)&&e.print("export "),e.print("class "+t.name),r(t.parent)&&(e.print(" extends "),t.parent.visitExpression(this,e)),e.println(" {"),e.incIndent(),t.fields.forEach(function(t){return n._visitClassField(t,e)}),r(t.constructorMethod)&&this._visitClassConstructor(t,e),t.getters.forEach(function(t){return n._visitClassGetter(t,e)}),t.methods.forEach(function(t){return n._visitClassMethod(t,e)}),e.decIndent(),e.println("}"),e.popClass(),null},e.prototype._visitClassField=function(t,e){t.hasModifier(Oh.Private)&&e.print("/*private*/ "),e.print(t.name),e.print(":"),this.visitType(t.type,e),e.println(";")},e.prototype._visitClassGetter=function(t,e){t.hasModifier(Oh.Private)&&e.print("private "),e.print("get "+t.name+"()"),e.print(":"),this.visitType(t.type,e),e.println(" {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println("}")},e.prototype._visitClassConstructor=function(t,e){e.print("constructor("),this._visitParams(t.constructorMethod.params,e),e.println(") {"),e.incIndent(),this.visitAllStatements(t.constructorMethod.body,e),e.decIndent(),e.println("}")},e.prototype._visitClassMethod=function(t,e){t.hasModifier(Oh.Private)&&e.print("private "),e.print(t.name+"("),this._visitParams(t.params,e),e.print("):"),this.visitType(t.type,e,"void"),e.println(" {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println("}")},e.prototype.visitFunctionExpr=function(t,e){return e.print("("),this._visitParams(t.params,e),e.print("):"),this.visitType(t.type,e,"void"),e.println(" => {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print("}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return e.isExportedVar(t.name)&&e.print("export "),e.print("function "+t.name+"("),this._visitParams(t.params,e),e.print("):"),this.visitType(t.type,e,"void"),e.println(" {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println("}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println("try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println("} catch ("+Rd.name+") {"),e.incIndent();var n=[Hd.set(Rd.prop("stack")).toDeclStmt(null,[Oh.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println("}"),null},e.prototype.visitBuiltintType=function(t,e){var n;switch(t.name){case qp.Bool:n="boolean";break;case qp.Dynamic:n="any";break;case qp.Function:n="Function";break;case qp.Number:n="number";break;case qp.Int:n="number";break;case qp.String:n="string";break;default:throw new Error("Unsupported builtin type "+t.name)}return e.print(n),null},e.prototype.visitExpressionType=function(t,e){var n=this;return t.value.visitExpression(this,e),r(t.typeParams)&&t.typeParams.length>0&&(e.print("<"),this.visitAllObjects(function(t){return t.visitType(n,e)},t.typeParams,e,","),e.print(">")),null},e.prototype.visitArrayType=function(t,e){return this.visitType(t.of,e),e.print("[]"),null},e.prototype.visitMapType=function(t,e){return e.print("{[key: string]:"),this.visitType(t.valueType,e),e.print("}"),null},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case ph.ConcatArray:e="concat";break;case ph.SubscribeObservable:e="subscribe";break;case ph.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e.prototype._visitParams=function(t,e){var n=this;this.visitAllObjects(function(t){e.print(t.name),e.print(":"),n.visitType(t.type,e)},t,e,",")},e.prototype._visitIdentifier=function(t,e,n){var o=this,s=w(t),a=b(t);if(i(s))throw new Error("Internal error: unknown identifier "+t);if(r(a)&&a!=this._moduleUrl){var u=this.importsWithPrefixes.get(a);i(u)&&(u="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a,u)),n.print(u+".")}t.reference&&t.reference.members?(n.print(t.reference.name),n.print("."),n.print(t.reference.members.join("."))):n.print(s),r(e)&&e.length>0&&(n.print("<"),this.visitAllObjects(function(t){return t.visitType(o,n)},e,n,","),n.print(">"))},e}(Bd),qd={};$n(e.SecurityContext.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),$n(e.SecurityContext.STYLE,["*|style"]),$n(e.SecurityContext.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),$n(e.SecurityContext.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"]);var Kd=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Jd="boolean",$d="number",Zd="string",Xd="object",Qd=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","keygen^[HTMLElement]|!autofocus,challenge,!disabled,keytype,name","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:cursor^:svg:|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime"],tf={"class":"className","for":"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ef=function(t){function n(){var e=this;t.call(this),this._schema={},Qd.forEach(function(t){var n={},r=t.split("|"),i=r[0],o=r[1],s=o.split(","),a=i.split("^"),u=a[0],c=a[1];u.split(",").forEach(function(t){return e._schema[t.toLowerCase()]=n});var l=c&&e._schema[c.toLowerCase()];l&&Object.keys(l).forEach(function(t){n[t]=l[t]}),s.forEach(function(t){if(t.length>0)switch(t[0]){case"*":break;case"!":n[t.substring(1)]=Jd;break;case"#":n[t.substring(1)]=$d;break;case"%":n[t.substring(1)]=Xd;break;default:n[t]=Zd}})})}return Kd(n,t),n.prototype.hasProperty=function(t,n,r){if(r.some(function(t){return t.name===e.NO_ERRORS_SCHEMA.name}))return!0;if(t.indexOf("-")>-1){if("ng-container"===t||"ng-content"===t)return!1;if(r.some(function(t){return t.name===e.CUSTOM_ELEMENTS_SCHEMA.name}))return!0}var i=this._schema[t.toLowerCase()]||this._schema.unknown;return!!i[n]},n.prototype.hasElement=function(t,n){if(n.some(function(t){return t.name===e.NO_ERRORS_SCHEMA.name}))return!0;if(t.indexOf("-")>-1){if("ng-container"===t||"ng-content"===t)return!0;if(n.some(function(t){return t.name===e.CUSTOM_ELEMENTS_SCHEMA.name}))return!0}return!!this._schema[t.toLowerCase()]},n.prototype.securityContext=function(t,n,r){r&&(n=this.getMappedPropName(n)),t=t.toLowerCase(),n=n.toLowerCase();var i=qd[t+"|"+n];return i?i:(i=qd["*|"+n],i?i:e.SecurityContext.NONE)},n.prototype.getMappedPropName=function(t){return tf[t]||t},n.prototype.getDefaultComponentElementName=function(){return"ng-component"},n.prototype.validateProperty=function(t){if(t.toLowerCase().startsWith("on")){var e="Binding to event property '"+t+"' is disallowed for security reasons, "+("please use ("+t.slice(2)+")=...")+("\nIf '"+t+"' is a directive input, make sure the directive is imported by the")+" current module.";return{error:!0,msg:e}}return{error:!1}},n.prototype.validateAttribute=function(t){if(t.toLowerCase().startsWith("on")){var e="Binding to event attribute '"+t+"' is disallowed for security reasons, "+("please use ("+t.slice(2)+")=...");return{error:!0,msg:e}}return{error:!1}},n.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},n.prototype.normalizeAnimationStyleProperty=function(t){return f(t)},n.prototype.normalizeAnimationStyleValue=function(t,e,n){var r="",i=n.toString().trim(),o=null;if(Zn(t)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&(o="Please provide a CSS unit value for "+e+":"+n)}return{error:o,value:i+r}},n.decorators=[{type:e.Injectable}],n.ctorParameters=function(){return[]},n}(pl),nf=function(){function t(){this.strictStyling=!0}return t.prototype.shimCssText=function(t,e,n){void 0===n&&(n="");var r=Qn(t);return t=Xn(t),t=this._insertDirectives(t),this._scopeCssText(t,e,n)+r},t.prototype._insertDirectives=function(t){return t=this._insertPolyfillDirectivesInCssText(t),this._insertPolyfillRulesInCssText(t)},t.prototype._insertPolyfillDirectivesInCssText=function(t){return t.replace(of,function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return t[2]+"{"})},t.prototype._insertPolyfillRulesInCssText=function(t){return t.replace(sf,function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[0].replace(t[1],"").replace(t[2],"");return t[4]+n})},t.prototype._scopeCssText=function(t,e,n){var r=this._extractUnscopedRulesFromCssText(t);return t=this._insertPolyfillHostInCssText(t),t=this._convertColonHost(t),t=this._convertColonHostContext(t),t=this._convertShadowDOMSelectors(t),e&&(t=this._scopeSelectors(t,e,n)),t=t+"\n"+r,t.trim()},t.prototype._extractUnscopedRulesFromCssText=function(t){var e,n="";for(af.lastIndex=0;null!==(e=af.exec(t));){var r=e[0].replace(e[2],"").replace(e[1],e[4]);n+=r+"\n\n"}return n},t.prototype._convertColonHost=function(t){return this._convertColonRule(t,pf,this._colonHostPartReplacer)},t.prototype._convertColonHostContext=function(t){return this._convertColonRule(t,hf,this._colonHostContextPartReplacer)},t.prototype._convertColonRule=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(t[2]){for(var r=t[2].split(","),i=[],o=0;o<r.length;o++){var s=r[o].trim();if(!s)break;i.push(n(df,s,t[3]))}return i.join(",")}return df+t[3]})},t.prototype._colonHostContextPartReplacer=function(t,e,n){return e.indexOf(uf)>-1?this._colonHostPartReplacer(t,e,n):t+e+n+", "+e+" "+t+n},t.prototype._colonHostPartReplacer=function(t,e,n){return t+e.replace(uf,"")+n},t.prototype._convertShadowDOMSelectors=function(t){return mf.reduce(function(t,e){return t.replace(e," ")},t)},t.prototype._scopeSelectors=function(t,e,n){var r=this;return tr(t,function(t){var i=t.selector,o=t.content;return"@"!=t.selector[0]?i=r._scopeSelector(t.selector,e,n,r.strictStyling):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(o=r._scopeSelectors(t.content,e,n)),new Lf(i,o)})},t.prototype._scopeSelector=function(t,e,n,r){var i=this;return t.split(",").map(function(t){return t.trim().split(yf)}).map(function(t){var o=t[0],s=t.slice(1),a=function(t){return i._selectorNeedsScoping(t,e)?r?i._applyStrictSelectorScope(t,e,n):i._applySelectorScope(t,e,n):t;
};return[a(o)].concat(s).join(" ")}).join(", ")},t.prototype._selectorNeedsScoping=function(t,e){var n=this._makeScopeMatcher(e);return!n.test(t)},t.prototype._makeScopeMatcher=function(t){var e=/\[/g,n=/\]/g;return t=t.replace(e,"\\[").replace(n,"\\]"),new RegExp("^("+t+")"+_f,"m")},t.prototype._applySelectorScope=function(t,e,n){return this._applySimpleSelectorScope(t,e,n)},t.prototype._applySimpleSelectorScope=function(t,e,n){if(vf.lastIndex=0,vf.test(t)){var r=this.strictStyling?"["+n+"]":e;return t.replace(ff,function(t,e){return e.replace(/([^:]*)(:*)(.*)/,function(t,e,n,i){return e+r+n+i})}).replace(vf,r+" ")}return e+" "+t},t.prototype._applyStrictSelectorScope=function(t,e,n){var r=this,i=/\[is=([^\]]*)\]/g;e=e.replace(i,function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e[0]});var o="["+e+"]",s=function(t){var i=t.trim();if(!i)return"";if(t.indexOf(df)>-1)i=r._applySimpleSelectorScope(t,e,n);else{var s=t.replace(vf,"");if(s.length>0){var a=s.match(/([^:]*)(:*)(.*)/);a&&(i=a[1]+o+a[2]+a[3])}}return i},a=new rf(t);t=a.content();for(var u,c="",l=0,p=/( |>|\+|~(?!=))\s*/g,h=t.indexOf(df);null!==(u=p.exec(t));){var d=u[1],f=t.slice(l,u.index).trim(),m=l>=h?s(f):f;c+=m+" "+d+" ",l=p.lastIndex}return c+=s(t.substring(l)),a.restore(c)},t.prototype._insertPolyfillHostInCssText=function(t){return t.replace(wf,cf).replace(gf,uf)},t}(),rf=function(){function t(t){var e=this;this.placeholders=[],this.index=0,t=t.replace(/(\[[^\]]*\])/g,function(t,n){var r="__ph-"+e.index+"__";return e.placeholders.push(n),e.index++,r}),this._content=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,function(t,n,r){var i="__ph-"+e.index+"__";return e.placeholders.push(r),e.index++,n+i})}return t.prototype.restore=function(t){var e=this;return t.replace(/__ph-(\d+)__/g,function(t,n){return e.placeholders[+n]})},t.prototype.content=function(){return this._content},t}(),of=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,sf=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,af=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,uf="-shadowcsshost",cf="-shadowcsscontext",lf=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",pf=new RegExp("("+uf+lf,"gim"),hf=new RegExp("("+cf+lf,"gim"),df=uf+"-no-combinator",ff=/-shadowcsshost-no-combinator([^\s]*)/,mf=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],yf=/(?:>>>)|(?:\/deep\/)/g,_f="([>\\s~+[.,{:][\\s\\S]*)?$",vf=/-shadowcsshost/gim,gf=/:host/gim,wf=/:host-context/gim,bf=/\/\*\s*[\s\S]*?\*\//g,Mf=/\/\*\s*#\s*sourceMappingURL=[\s\S]+?\*\//,Ef=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Sf=/([{}])/g,Tf="{",Cf="}",kf="%BLOCK%",Lf=function(){function t(t,e){this.selector=t,this.content=e}return t}(),Df=function(){function t(t,e){this.escapedString=t,this.blocks=e}return t}(),xf="%COMP%",Pf="_nghost-"+xf,Of="_ngcontent-"+xf,Af=function(){function t(t,e,n,r){this.name=t,this.moduleUrl=e,this.isShimmed=n,this.valuePlaceholder=r}return t}(),Yf=function(){function t(t,e){this.componentStylesheet=t,this.externalStylesheets=e}return t}(),If=function(){function t(t,e,n,r,i){this.statements=t,this.stylesVar=e,this.dependencies=n,this.isShimmed=r,this.meta=i}return t}(),jf=function(){function t(t){this._urlResolver=t,this._shadowCss=new nf}return t.prototype.compileComponent=function(t){var e=this,n=[],r=this._compileStyles(t,new vs({styles:t.template.styles,styleUrls:t.template.styleUrls,moduleUrl:b(t.type)}),!0);return t.template.externalStylesheets.forEach(function(r){var i=e._compileStyles(t,r,!1);n.push(i)}),new Yf(r,n)},t.prototype._compileStyles=function(t,n,r){for(var i=this,o=t.template.encapsulation===e.ViewEncapsulation.Emulated,s=n.styles.map(function(t){return tn(i._shimIfNeeded(t,o))}),a=[],u=0;u<n.styleUrls.length;u++){var c={reference:null};a.push(new Af(nr(null),n.styleUrls[u],o,c)),s.push(new yh(c))}var l=nr(r?t:null),p=Ge(l).set($e(s,new $p(Xp,[zp.Const]))).toDeclStmt(null,[Oh.Final]);return new If([p],l,a,o,n)},t.prototype._shimIfNeeded=function(t,e){return e?this._shadowCss.shimCssText(t,Of,Pf):t},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:Rp}]},t}(),Nf=function(){function t(t,e){this.nodeIndex=t,this.sourceAst=e}return t}(),Rf=new Nf(null,null),Hf=function(){function t(t){this._view=t,this._newState=Rf,this._currState=Rf,this._bodyStatements=[],this._debugEnabled=this._view.genConfig.genDebugInfo}return t.prototype._updateDebugContextIfNeeded=function(){if(this._newState.nodeIndex!==this._currState.nodeIndex||this._newState.sourceAst!==this._currState.sourceAst){var t=this._updateDebugContext(this._newState);r(t)&&this._bodyStatements.push(t.toStmt())}},t.prototype._updateDebugContext=function(t){if(this._currState=this._newState=t,this._debugEnabled){var e=r(t.sourceAst)?t.sourceAst.sourceSpan.start:null;return Lh.callMethod("debug",[tn(t.nodeIndex),r(e)?tn(e.line):xh,r(e)?tn(e.col):xh])}return null},t.prototype.resetDebugInfoExpr=function(t,e){var n=this._updateDebugContext(new Nf(t,e));return n||xh},t.prototype.resetDebugInfo=function(t,e){this._newState=new Nf(t,e)},t.prototype.push=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];this.addStmts(t)},t.prototype.addStmt=function(t){this._updateDebugContextIfNeeded(),this._bodyStatements.push(t)},t.prototype.addStmts=function(t){this._updateDebugContextIfNeeded(),(e=this._bodyStatements).push.apply(e,t);var e},t.prototype.finish=function(){return this._bodyStatements},t.prototype.isEmpty=function(){return 0===this._bodyStatements.length},t}(),Vf=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ff=function(t){function e(e,n){t.call(this),this._viewExpr=e,this._view=n}return Vf(e,t),e.prototype._isThis=function(t){return t instanceof ah&&t.builtin===sh.This},e.prototype.visitReadVarExpr=function(t,e){return this._isThis(t)?this._viewExpr:t},e.prototype.visitReadPropExpr=function(e,n){return this._isThis(e.receiver)&&(this._view.fields.some(function(t){return t.name==e.name})||this._view.getters.some(function(t){return t.name==e.name}))?this._viewExpr.cast(this._view.classType).prop(e.name):t.prototype.visitReadPropExpr.call(this,e,n)},e}(Gh),Bf=function(){function t(t,e){this.view=t,this.values=e}return t}(),Uf=function(){function t(t,e,n,r){this.meta=t,this.queryList=e,this.ownerDirectiveExpression=n,this.view=r,this._values=new Bf(r,[])}return t.prototype.addValue=function(t,e){for(var n=e,i=[];r(n)&&n!==this.view;){var o=n.declarationElement;i.unshift(o),n=o.view}var s=rr(this.queryList,e,this.view),a=this._values;i.forEach(function(t){var e=a.values.length>0?a.values[a.values.length-1]:null;if(e instanceof Bf&&e.view===t.embeddedView)a=e;else{var n=new Bf(t.embeddedView,[]);a.values.push(n),a=n}}),a.values.push(t),i.length>0&&e.dirtyParentQueriesMethod.addStmt(s.callMethod("setDirty",[]).toStmt())},t.prototype._isStatic=function(){return!this._values.values.some(function(t){return t instanceof Bf})},t.prototype.afterChildren=function(t,e){var n=ar(this._values),i=[this.queryList.callMethod("reset",[$e(n)]).toStmt()];if(r(this.ownerDirectiveExpression)){var o=this.meta.first?this.queryList.prop("first"):this.queryList;i.push(this.ownerDirectiveExpression.prop(this.meta.propertyName).set(o).toStmt())}this.meta.first||i.push(this.queryList.callMethod("notifyOnChanges",[]).toStmt()),this.meta.first&&this._isStatic()?t.addStmts(i):e.addStmt(new Uh(this.queryList.prop("dirty"),i))},t}(),Wf=function(){function t(){}return t.fromValue=function(t){return un(tl.ViewType,t)},t}(),zf=function(){function t(){}return t.fromValue=function(t){return un(tl.ViewEncapsulation,t)},t}(),Gf=function(){function t(){}return t.fromValue=function(t){return un(tl.ChangeDetectorStatus,t)},t}(),qf=function(){function t(){}return t.viewUtils=Ge("viewUtils"),t.parentView=Ge("parentView"),t.parentIndex=Ge("parentIndex"),t.parentElement=Ge("parentElement"),t}(),Kf=function(){function t(){}return t.renderer=Lh.prop("renderer"),t.viewUtils=Lh.prop("viewUtils"),t}(),Jf=function(){function t(){}return t.token=Ge("token"),t.requestNodeIndex=Ge("requestNodeIndex"),t.notFoundResult=Ge("notFoundResult"),t}(),$f=function(){function t(){}return t.throwOnChange=Ge("throwOnChange"),t.changes=Ge("changes"),t.changed=Ge("changed"),t}(),Zf=function(){function t(t,e,n){this.comp=t,this.name=e,this.placeholder=n}return t}(),Xf=function(){function t(t,e){this.comp=t,this.placeholder=e}return t}(),Qf=function(){function t(t,e,n){this.dir=t,this.name=e,this.placeholder=n}return t}(),tm=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},em=function(){function t(t,e,n,r,i){this.parent=t,this.view=e,this.nodeIndex=n,this.renderNode=r,this.sourceAst=i}return t.prototype.isNull=function(){return!this.renderNode},t.prototype.isRootElement=function(){return this.view!=this.parent.view},t}(),nm=function(t){function e(e,n,r,i,o,s,a,u,c,l,p){var h=this;t.call(this,e,n,r,i,o),this.component=s,this._directives=a,this._resolvedProvidersArray=u,this.hasViewContainer=c,this.hasEmbeddedView=l,this.compViewExpr=null,this.instances=new Map,this.directiveWrapperInstance=new Map,this._queryCount=0,this._queries=new Map,this.contentNodesByNgContentIndex=null,this.referenceTokens={},p.forEach(function(t){return h.referenceTokens[t.name]=t.value}),this.elementRef=qe(Jt(tl.ElementRef)).instantiate([this.renderNode]),this.instances.set(Kt(tl.ElementRef),this.elementRef),this.instances.set(Kt(tl.Injector),Lh.callMethod("injector",[tn(this.nodeIndex)])),this.instances.set(Kt(tl.Renderer),Lh.prop("renderer")),(this.hasViewContainer||this.hasEmbeddedView)&&this._createViewContainer(),this.component&&this._createComponentFactoryResolver()}return tm(e,t),e.createNull=function(){return new e(null,null,null,null,null,null,[],[],!1,!1,[])},e.prototype._createViewContainer=function(){var t="_vc_"+this.nodeIndex,e=this.isRootElement()?null:this.parent.nodeIndex;this.view.fields.push(new Hh(t,Ke(Jt(tl.ViewContainer)),[Oh.Private]));var n=Lh.prop(t).set(qe(Jt(tl.ViewContainer)).instantiate([tn(this.nodeIndex),tn(e),Lh,this.renderNode])).toStmt();this.view.createMethod.addStmt(n),this.viewContainer=Lh.prop(t),this.instances.set(Kt(tl.ViewContainer),this.viewContainer),this.view.viewContainers.push(this.viewContainer)},e.prototype._createComponentFactoryResolver=function(){var t=this,e=this.component.entryComponents.map(function(e){var n={reference:null};return t.view.targetDependencies.push(new Xf(e,n)),n});if(e&&0!==e.length){var n=qe(Jt(tl.CodegenComponentFactoryResolver)).instantiate([$e(e.map(function(t){return qe(t)})),ir(this.view,Zt(tl.ComponentFactoryResolver),!1)]),r={token:Zt(tl.ComponentFactoryResolver),useValue:n};this._resolvedProvidersArray.unshift(new qi(r.token,!1,!0,[r],Ki.PrivateService,[],this.sourceAst.sourceSpan))}},e.prototype.setComponentView=function(t){this.compViewExpr=t,this.contentNodesByNgContentIndex=new Array(this.component.template.ngContentSelectors.length);for(var e=0;e<this.contentNodesByNgContentIndex.length;e++)this.contentNodesByNgContentIndex[e]=[]},e.prototype.setEmbeddedView=function(t){if(this.embeddedView=t,r(t)){var e=qe(Jt(tl.TemplateRef_)).instantiate([Lh,tn(this.nodeIndex),this.renderNode]),n={token:Zt(tl.TemplateRef),useValue:e};this._resolvedProvidersArray.unshift(new qi(n.token,!1,!0,[n],Ki.Builtin,[],this.sourceAst.sourceSpan))}},e.prototype.beforeChildren=function(){var t=this;this.hasViewContainer&&this.instances.set(Kt(tl.ViewContainerRef),this.viewContainer.prop("vcRef")),this._resolvedProviders=new Map,this._resolvedProvidersArray.forEach(function(e){return t._resolvedProviders.set(E(e.token),e)}),Array.from(this._resolvedProviders.values()).forEach(function(e){var n=e.providerType===Ki.Component||e.providerType===Ki.Directive,r=e.providers.map(function(r){if(r.useExisting)return t._getDependency(e.providerType,{token:r.useExisting});if(r.useFactory){var i=r.deps||r.useFactory.diDeps,o=i.map(function(n){return t._getDependency(e.providerType,n)});return qe(r.useFactory).callFn(o)}if(r.useClass){var i=r.deps||r.useClass.diDeps,o=i.map(function(n){return t._getDependency(e.providerType,n)});if(n){var s={reference:null};return t.view.targetDependencies.push(new Qf(r.useClass,_d.dirWrapperClassName(r.useClass),s)),wd.create(s,o)}return qe(r.useClass).instantiate(o,Ke(r.useClass))}return Gn(r.useValue)}),i="_"+M(e.token)+"_"+t.nodeIndex+"_"+t.instances.size,o=hr(i,e,r,e.multiProvider,e.eager,t);n?(t.directiveWrapperInstance.set(E(e.token),o),t.instances.set(E(e.token),wd.context(o))):t.instances.set(E(e.token),o)});for(var e=function(e){var r=n._directives[e],i=n.instances.get(E($t(r.type)));r.queries.forEach(function(e){t._addQuery(e,i)})},n=this,i=0;i<this._directives.length;i++)e(i);var o=[];Array.from(this._resolvedProviders.values()).forEach(function(e){var n=t._getQueriesFor(e.token);o.push.apply(o,n.map(function(t){return new rm(t,e.token)}))}),Object.keys(this.referenceTokens).forEach(function(e){var n,r=t.referenceTokens[e];n=r?t.instances.get(E(r)):t.renderNode,t.view.locals.set(e,n);var i={value:e};o.push.apply(o,t._getQueriesFor(i).map(function(t){return new rm(t,i)}))}),o.forEach(function(e){var n;if(r(e.read.identifier))n=t.instances.get(E(e.read));else{var i=t.referenceTokens[e.read.value];n=r(i)?t.instances.get(E(i)):t.elementRef}r(n)&&e.query.addValue(n,t.view)})},e.prototype.afterChildren=function(t){var e=this;Array.from(this._resolvedProviders.values()).forEach(function(n){var r=e.instances.get(E(n.token)),i=n.providerType===Ki.PrivateService?0:t;e.view.injectorGetMethod.addStmt(pr(e.nodeIndex,i,n,r))}),Array.from(this._queries.values()).forEach(function(t){return t.forEach(function(t){return t.afterChildren(e.view.createMethod,e.view.updateContentQueriesMethod)})})},e.prototype.addContentNode=function(t,e){this.contentNodesByNgContentIndex[t].push(e)},e.prototype.getComponent=function(){return r(this.component)?this.instances.get(E($t(this.component.type))):null},e.prototype.getProviderTokens=function(){return Array.from(this._resolvedProviders.values()).map(function(t){return on(t.token)})},e.prototype._getQueriesFor=function(t){for(var e,n=[],i=this,o=0;!i.isNull();)e=i._queries.get(E(t)),r(e)&&n.push.apply(n,e.filter(function(t){return t.meta.descendants||1>=o})),i._directives.length>0&&o++,i=i.parent;return e=this.view.componentView.viewQueries.get(E(t)),r(e)&&n.push.apply(n,e),n},e.prototype._addQuery=function(t,e){var n="_query_"+M(t.selectors[0])+"_"+this.nodeIndex+"_"+this._queryCount++,r=cr(t,e,n,this.view),i=new Uf(t,r,e,this.view);return lr(this._queries,i),i},e.prototype._getLocalDependency=function(t,e){var n=null;if(r(e.token)){if(!n&&E(e.token)===Kt(tl.ChangeDetectorRef))return t===Ki.Component?this.compViewExpr.prop("ref"):rr(Lh.prop("ref"),this.view,this.view.componentView);if(!n){var i=this._resolvedProviders.get(E(e.token));if(i&&(t===Ki.Directive||t===Ki.PublicService)&&i.providerType===Ki.PrivateService)return null;n=this.instances.get(E(e.token))}}return n},e.prototype._getDependency=function(t,e){var n=this,r=null;for(e.isValue&&(r=tn(e.value)),r||e.isSkipSelf||(r=this._getLocalDependency(t,e));!r&&!n.parent.isNull();)n=n.parent,r=n._getLocalDependency(Ki.PublicService,{token:e.token});return r||(r=ir(this.view,e.token,e.isOptional)),r||(r=xh),rr(r,this.view,n.view)},e}(em),rm=function(){function t(t,e){this.query=t,this.read=t.meta.read||e}return t}(),im=function(){function t(t,e){var n=this;this.view=t,this.meta=e,this._purePipeProxyCount=0,this.instance=Lh.prop("_pipe_"+e.name+"_"+t.pipeCount++);var r=this.meta.type.diDeps.map(function(e){return E(e.token)===Kt(tl.ChangeDetectorRef)?rr(Lh.prop("ref"),n.view,n.view.componentView):ir(t,e.token,!1)});this.view.fields.push(new Hh(this.instance.name,Ke(this.meta.type))),this.view.createMethod.resetDebugInfo(null,null),this.view.createMethod.addStmt(Lh.prop(this.instance.name).set(qe(this.meta.type).instantiate(r)).toStmt())}return t.call=function(e,n,r){var i,o=e.componentView,s=dr(o,n);return s.pure?(i=o.purePipes.get(n),i||(i=new t(o,s),o.purePipes.set(n,i),o.pipes.push(i))):(i=new t(e,s),e.pipes.push(i)),i._call(e,r)},Object.defineProperty(t.prototype,"pure",{get:function(){return this.meta.pure},enumerable:!0,configurable:!0}),t.prototype._call=function(t,e){if(this.meta.pure){var n=Lh.prop(this.instance.name+"_"+this._purePipeProxyCount++),r=rr(this.instance,t,this.view);return an(r.prop("transform").callMethod(ph.Bind,[r]),e.length,n,{fields:t.fields,ctorStmts:t.createMethod}),qe(Jt(tl.castByValue)).callFn([n,r.prop("transform")]).callFn(e)}return rr(this.instance,t,this.view).callMethod("transform",e)},t}(),om={};om.Node=0,om.ViewContainer=1,om.NgContent=2,om[om.Node]="Node",om[om.ViewContainer]="ViewContainer",om[om.NgContent]="NgContent";var sm=function(){function t(t,e,n){this.type=t,this.expr=e,this.ngContentIndex=n}return t}(),am=function(){function t(t,e,n,r,i,o,s,a,u){var c=this;this.component=t,this.genConfig=e,this.pipeMetas=n,this.styles=r,this.animations=i,this.viewIndex=o,this.declarationElement=s,this.templateVariableBindings=a,this.targetDependencies=u,this.viewChildren=[],this.nodes=[],this.rootNodes=[],this.lastRenderNode=xh,this.viewContainers=[],this.methods=[],this.ctorStmts=[],this.fields=[],this.getters=[],this.disposables=[],this.purePipes=new Map,this.pipes=[],this.locals=new Map,this.literalArrayCount=0,this.literalMapCount=0,this.pipeCount=0,this.createMethod=new Hf(this),this.animationBindingsMethod=new Hf(this),this.injectorGetMethod=new Hf(this),this.updateContentQueriesMethod=new Hf(this),this.dirtyParentQueriesMethod=new Hf(this),this.updateViewQueriesMethod=new Hf(this),this.detectChangesInInputsMethod=new Hf(this),this.detectChangesRenderPropertiesMethod=new Hf(this),this.afterContentLifecycleCallbacksMethod=new Hf(this),this.afterViewLifecycleCallbacksMethod=new Hf(this),this.destroyMethod=new Hf(this),this.detachMethod=new Hf(this),this.viewType=fr(t,o),this.className=or(t,o),this.classType=Je(Ge(this.className)),this.classExpr=Ge(this.className),this.viewType===mo.COMPONENT||this.viewType===mo.HOST?this.componentView=this:this.componentView=this.declarationElement.view.componentView,this.componentContext=rr(Lh.prop("context"),this,this.componentView);var l=new Map;if(this.viewType===mo.COMPONENT){var p=Lh.prop("context");this.component.viewQueries.forEach(function(t,e){var n="_viewQuery_"+M(t.selectors[0])+"_"+e,r=cr(t,p,n,c),i=new Uf(t,r,p,c);lr(l,i)})}this.viewQueries=l,a.forEach(function(t){c.locals.set(t[1],Lh.prop("context").prop(t[0]))}),this.declarationElement.isNull()||this.declarationElement.setEmbeddedView(this)}return t.prototype.callPipe=function(t,e,n){return im.call(this,t,[e].concat(n))},t.prototype.getLocal=function(t){if(t==Xh.event.name)return Xh.event;for(var e=this,n=e.locals.get(t);!n&&r(e.declarationElement.view);)e=e.declarationElement.view,n=e.locals.get(t);return r(n)?rr(n,this,e):null},t.prototype.afterNodes=function(){var t=this;Array.from(this.viewQueries.values()).forEach(function(e){return e.forEach(function(e){return e.afterChildren(t.createMethod,t.updateViewQueriesMethod)})})},t}(),um=Lh.prop("numberOfChecks").identical(new mh(0)),cm=(Xe($f.throwOnChange),function(){function t(t,e){this.view=t,this._schemaRegistry=e,this._nodeIndex=0}return t.prototype.visitBoundText=function(t,e){var n=this.view.nodes[this._nodeIndex++];return Cr(t,n,this.view),null},t.prototype.visitText=function(t,e){return this._nodeIndex++,null},t.prototype.visitNgContent=function(t,e){return null},t.prototype.visitElement=function(t,e){var r=this,i=this.view.nodes[this._nodeIndex++],o=mr(t.outputs,t.directives,i,!0);return kr(t.inputs,t.outputs,o,i),t.directives.forEach(function(e,n){var o=i.directiveWrapperInstance.get(e.directive.type.reference);Dr(e,o,n,i),Lr(e,o,i,t.name,r._schemaRegistry)}),n(this,t.children,i),t.directives.forEach(function(t){var e=i.instances.get(t.directive.type.reference),n=i.directiveWrapperInstance.get(t.directive.type.reference);br(t.directive,e,i),Mr(t.directive,e,i),Er(t,n,i)}),t.providers.forEach(function(t){var e=i.instances.get(E(t.token));Sr(t,e,i)}),null},t.prototype.visitEmbeddedTemplate=function(t,e){var n=this.view.nodes[this._nodeIndex++];return mr(t.outputs,t.directives,n,!1),t.directives.forEach(function(t,e){var r=n.instances.get(t.directive.type.reference),i=n.directiveWrapperInstance.get(t.directive.type.reference);Dr(t,i,e,n),br(t.directive,r,n),Mr(t.directive,r,n),Er(t,i,n)}),t.providers.forEach(function(t){var e=n.instances.get(E(t.token));Sr(t,e,n)}),xr(n.embeddedView,t.children,this._schemaRegistry),null},t.prototype.visitAttr=function(t,e){return null},t.prototype.visitDirective=function(t,e){return null},t.prototype.visitEvent=function(t,e){return null},t.prototype.visitReference=function(t,e){return null},t.prototype.visitVariable=function(t,e){return null},t.prototype.visitDirectiveProperty=function(t,e){return null},t.prototype.visitElementProperty=function(t,e){return null},t}()),lm="$implicit",pm="class",hm="style",dm="ng-container",fm=Ge("parentRenderNode"),mm=Ge("rootSelector"),ym=function(){function t(t,e){this.view=t,this.targetDependencies=e,this.nestedViewCount=0}return t.prototype._isRootNode=function(t){return t.view!==this.view},t.prototype._addRootNodeAndProject=function(t){var e=Ar(t),n=e.parent,i=e.sourceAst.ngContentIndex,o=t instanceof nm&&t.hasViewContainer?t.viewContainer:null;this._isRootNode(n)?this.view.viewType!==mo.COMPONENT&&this.view.rootNodes.push(new sm(o?om.ViewContainer:om.Node,o||t.renderNode)):r(n.component)&&r(i)&&n.addContentNode(i,new sm(o?om.ViewContainer:om.Node,o||t.renderNode))},t.prototype._getParentRenderNode=function(t){return t=Yr(t),this._isRootNode(t)?this.view.viewType===mo.COMPONENT?fm:xh:r(t.component)&&t.component.template.encapsulation!==e.ViewEncapsulation.Native?xh:t.renderNode},t.prototype.getOrCreateLastRenderNode=function(){var t=this.view;if(0===t.rootNodes.length||t.rootNodes[t.rootNodes.length-1].type!==om.Node){var e="_el_"+t.nodes.length;t.fields.push(new Hh(e,Ke(t.genConfig.renderTypes.renderElement))),t.createMethod.addStmt(Lh.prop(e).set(Kf.renderer.callMethod("createTemplateAnchor",[xh,xh])).toStmt()),t.rootNodes.push(new sm(om.Node,Lh.prop(e)))}return t.rootNodes[t.rootNodes.length-1].expr},t.prototype.visitBoundText=function(t,e){return this._visitText(t,"",e)},t.prototype.visitText=function(t,e){return this._visitText(t,t.value,e)},t.prototype._visitText=function(t,e,n){var r="_text_"+this.view.nodes.length;this.view.fields.push(new Hh(r,Ke(this.view.genConfig.renderTypes.renderText)));var i=Lh.prop(r),o=new em(n,this.view,this.view.nodes.length,i,t),s=Lh.prop(r).set(Kf.renderer.callMethod("createText",[this._getParentRenderNode(n),tn(e),this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length,t)])).toStmt();return this.view.nodes.push(o),this.view.createMethod.addStmt(s),this._addRootNodeAndProject(o),i},t.prototype.visitNgContent=function(t,e){this.view.createMethod.resetDebugInfo(null,t);var n=this._getParentRenderNode(e);return n!==xh?this.view.createMethod.addStmt(Lh.callMethod("projectNodes",[n,tn(t.index)]).toStmt()):this._isRootNode(e)?this.view.viewType!==mo.COMPONENT&&this.view.rootNodes.push(new sm(om.NgContent,null,t.index)):r(e.component)&&r(t.ngContentIndex)&&e.addContentNode(t.ngContentIndex,new sm(om.NgContent,null,t.index)),null},t.prototype.visitElement=function(t,e){var i,o=this.view.nodes.length,s=this.view.createMethod.resetDebugInfoExpr(o,t),a=t.directives.map(function(t){return t.directive}),u=a.find(function(t){return t.isComponent});if(t.name===dm)i=Kf.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(e),s]);else{var c=Nr(t.attrs),l=sn(jr(c,a).map(function(t){return tn(t)}));i=0===o&&this.view.viewType===mo.HOST?qe(Jt(tl.selectOrCreateRenderHostElement)).callFn([Kf.renderer,tn(t.name),l,mm,s]):qe(Jt(tl.createRenderElement)).callFn([Kf.renderer,this._getParentRenderNode(e),tn(t.name),l,s])}var p="_el_"+o;this.view.fields.push(new Hh(p,Ke(this.view.genConfig.renderTypes.renderElement))),this.view.createMethod.addStmt(Lh.prop(p).set(i).toStmt());var h=Lh.prop(p),d=new nm(e,this.view,o,h,t,u,a,t.providers,t.hasViewContainer,!1,t.references);this.view.nodes.push(d);var f=null;if(r(u)){var m={reference:null};this.targetDependencies.push(new Zf(u.type,or(u,0),m)),f=Lh.prop("compView_"+o),this.view.fields.push(new Hh(f.name,Ke(Jt(tl.AppView),[Ke(u.type)]))),this.view.viewChildren.push(f),d.setComponentView(f),this.view.createMethod.addStmt(f.set(qe(m).instantiate([Kf.viewUtils,Lh,tn(o),h])).toStmt())}return d.beforeChildren(),this._addRootNodeAndProject(d),n(this,t.children,d),d.afterChildren(this.view.nodes.length-o-1),r(f)&&this.view.createMethod.addStmt(f.callMethod("create",[d.getComponent()]).toStmt()),null},t.prototype.visitEmbeddedTemplate=function(t,e){var n=this.view.nodes.length,r="_anchor_"+n;this.view.fields.push(new Hh(r,Ke(this.view.genConfig.renderTypes.renderComment))),this.view.createMethod.addStmt(Lh.prop(r).set(Kf.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(e),this.view.createMethod.resetDebugInfoExpr(n,t)])).toStmt());var i=Lh.prop(r),o=t.variables.map(function(t){return[t.value.length>0?t.value:lm,t.name]}),s=t.directives.map(function(t){return t.directive}),a=new nm(e,this.view,n,i,t,null,s,t.providers,t.hasViewContainer,!0,t.references);this.view.nodes.push(a),this.nestedViewCount++;var u=new am(this.view.component,this.view.genConfig,this.view.pipeMetas,xh,this.view.animations,this.view.viewIndex+this.nestedViewCount,a,o,this.targetDependencies);return this.nestedViewCount+=Pr(u,t.children,this.targetDependencies),a.beforeChildren(),this._addRootNodeAndProject(a),a.afterChildren(0),null},t.prototype.visitAttr=function(t,e){return null},t.prototype.visitDirective=function(t,e){return null},t.prototype.visitEvent=function(t,e){return null},t.prototype.visitReference=function(t,e){return null},t.prototype.visitVariable=function(t,e){return null},t.prototype.visitDirectiveProperty=function(t,e){return null},t.prototype.visitElementProperty=function(t,e){return null},t}(),_m=function(){function t(t,e,n){this.statements=t,this.viewClassVar=e,this.dependencies=n}return t}(),vm=function(){function t(t,e){this._genConfig=t,this._schemaRegistry=e}return t.prototype.compileComponent=function(t,e,n,r,i){var o=[],s=new am(t,this._genConfig,r,n,i,0,nm.createNull(),[],o),a=[];return Pr(s,e,o),xr(s,e,this._schemaRegistry),Or(s,a),new _m(a,s.classExpr.name,o)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:lp},{type:pl}]},t}(),gm=function(){function t(t,e,n){this.name=t,this.statements=e,this.fnExp=n}return t}(),wm=function(){function t(){}return t.prototype.compile=function(t,e){return e.map(function(e){var n=t+"_"+e.name,r=new jm(e.name,n);return r.build(e)})},t}(),bm=Ge("element"),Mm=Ge("defaultStateStyles"),Em=Ge("view"),Sm=Em.prop("animationContext"),Tm=Em.prop("renderer"),Cm=Ge("currentState"),km=Ge("nextState"),Lm=Ge("player"),Dm=Ge("totalTime"),xm=Ge("startStateStyles"),Pm=Ge("endStateStyles"),Om=Ge("collectedStyles"),Am=Ge("previousPlayers"),Ym=Ze([]),Im=$e([]),jm=function(){function t(t,e){this.animationName=t,this._fnVarName=e+"_factory",this._statesMapVarName=e+"_states",this._statesMapVar=Ge(this._statesMapVarName)}return t.prototype.visitAnimationStyles=function(t,e){var n=[];return e.isExpectingFirstStyleStep&&(n.push(xm),e.isExpectingFirstStyleStep=!1),t.styles.forEach(function(t){var e=Object.keys(t).map(function(e){return[e,tn(t[e])]});n.push(Ze(e))}),qe(Jt(tl.AnimationStyles)).instantiate([qe(Jt(tl.collectAndResolveStyles)).callFn([Om,$e(n)])])},t.prototype.visitAnimationKeyframe=function(t,e){return qe(Jt(tl.AnimationKeyframe)).instantiate([tn(t.offset),t.styles.visit(this,e)])},t.prototype.visitAnimationStep=function(t,e){var n=this;if(e.endStateAnimateStep===t)return this._visitEndStateAnimation(t,e);var r=t.startingStyles.visit(this,e),i=t.keyframes.map(function(t){return t.visit(n,e)});return this._callAnimateMethod(t,r,$e(i),e)},t.prototype._visitEndStateAnimation=function(t,e){var n=this,r=t.startingStyles.visit(this,e),i=t.keyframes.map(function(t){return t.visit(n,e)}),o=qe(Jt(tl.balanceAnimationKeyframes)).callFn([Om,Pm,$e(i)]);return this._callAnimateMethod(t,r,o,e)},t.prototype._callAnimateMethod=function(t,e,n,r){var i=Im;return r.isExpectingFirstAnimateStep&&(i=Am,r.isExpectingFirstAnimateStep=!1),r.totalTransitionTime+=t.duration+t.delay,Tm.callMethod("animate",[bm,e,n,tn(t.duration),tn(t.delay),tn(t.easing),i])},t.prototype.visitAnimationSequence=function(t,e){var n=this,r=t.steps.map(function(t){return t.visit(n,e)});return qe(Jt(tl.AnimationSequencePlayer)).instantiate([$e(r)])},t.prototype.visitAnimationGroup=function(t,e){var n=this,r=t.steps.map(function(t){return t.visit(n,e)});return qe(Jt(tl.AnimationGroupPlayer)).instantiate([$e(r)])},t.prototype.visitAnimationStateDeclaration=function(t,e){var n={};ti(t).forEach(function(t){Object.keys(t).forEach(function(e){n[e]=t[e]})}),e.stateMap.registerState(t.stateName,n)},t.prototype.visitAnimationStateTransition=function(t,e){var n=t.animation.steps,r=n[n.length-1];Qr(r)&&(e.endStateAnimateStep=r),e.totalTransitionTime=0,e.isExpectingFirstStyleStep=!0,e.isExpectingFirstAnimateStep=!0;var i=[];t.stateChanges.forEach(function(t){i.push(Xr(Cm,t.fromState).and(Xr(km,t.toState))),t.fromState!=Oo&&e.stateMap.registerState(t.fromState),t.toState!=Oo&&e.stateMap.registerState(t.toState)});var o=t.animation.visit(this,e),s=i.reduce(function(t,e){return t.or(e)}),a=Lm.equals(xh).and(s),u=Lm.set(o).toStmt(),c=Dm.set(tn(e.totalTransitionTime)).toStmt();return new Uh(a,[u,c])},t.prototype.visitAnimationEntry=function(t,e){var n=this;t.stateDeclarations.forEach(function(t){return t.visit(n,e)}),e.stateMap.registerState(Ao,{});var r=[];r.push(Am.set(Sm.callMethod("getAnimationPlayers",[bm,km.equals(tn(Yo)).conditional(xh,tn(this.animationName))])).toDeclStmt()),r.push(Om.set(Ym).toDeclStmt()),r.push(Lm.set(xh).toDeclStmt()),r.push(Dm.set(tn(0)).toDeclStmt()),r.push(Mm.set(this._statesMapVar.key(tn(Ao))).toDeclStmt()),r.push(xm.set(this._statesMapVar.key(Cm)).toDeclStmt()),r.push(new Uh(xm.equals(xh),[xm.set(Mm).toStmt()])),r.push(Pm.set(this._statesMapVar.key(km)).toDeclStmt()),r.push(new Uh(Pm.equals(xh),[Pm.set(Mm).toStmt()]));var i=qe(Jt(tl.renderStyles));return t.stateTransitions.forEach(function(t){return r.push(t.visit(n,e))}),r.push(new Uh(Lm.equals(xh),[Lm.set(qe(Jt(tl.NoOpAnimationPlayer)).instantiate([])).toStmt()])),r.push(Lm.callMethod("onDone",[Qe([],[Lm.callMethod("destroy",[]).toStmt(),i.callFn([bm,Tm,qe(Jt(tl.prepareFinalAnimationStyles)).callFn([xm,Pm])]).toStmt()])]).toStmt()),r.push(qe(Jt(tl.AnimationSequencePlayer)).instantiate([Am]).callMethod("destroy",[]).toStmt()),r.push(i.callFn([bm,Tm,qe(Jt(tl.clearStyles)).callFn([xm])]).toStmt()),r.push(Sm.callMethod("queueAnimation",[bm,tn(this.animationName),Lm]).toStmt()),r.push(new Nh(qe(Jt(tl.AnimationTransition)).instantiate([Lm,Cm,km,Dm]))),Qe([new wh(Em.name,Ke(Jt(tl.AppView),[Xp])),new wh(bm.name,Xp),new wh(Cm.name,Xp),new wh(km.name,Xp)],r,Ke(Jt(tl.AnimationTransition)))},t.prototype.build=function(t){var e=new Nm,n=t.visit(this,e).toDeclStmt(this._fnVarName),i=Ge(this._fnVarName),o=[];Object.keys(e.stateMap.states).forEach(function(t){var n=e.stateMap.states[t],i=Ym;if(r(n)){var s=[];Object.keys(n).forEach(function(t){s.push([t,tn(n[t])])}),i=Ze(s)}o.push([t,i])});var s=this._statesMapVar.set(Ze(o)).toDeclStmt(),a=[s,n];return new gm(this.animationName,a,i)},t}(),Nm=function(){function t(){this.stateMap=new Rm,this.endStateAnimateStep=null,this.isExpectingFirstStyleStep=!1,this.isExpectingFirstAnimateStep=!1,
this.totalTransitionTime=0}return t}(),Rm=function(){function t(){this._states={}}return Object.defineProperty(t.prototype,"states",{get:function(){return this._states},enumerable:!0,configurable:!0}),t.prototype.registerState=function(t,e){void 0===e&&(e=null);var n=this._states[t];n||(this._states[t]=e)},t}(),Hm=function(){function t(t,e,n){this.srcFileUrl=t,this.genFileUrl=e,this.source=n}return t}(),Vm=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h){this._metadataResolver=t,this._templateParser=e,this._styleCompiler=n,this._viewCompiler=r,this._dirWrapperCompiler=i,this._ngModuleCompiler=o,this._outputEmitter=s,this._summaryResolver=a,this._localeId=u,this._translationFormat=c,this._animationParser=l,this._staticReflector=p,this._options=h,this._animationCompiler=new wm}return t.prototype.clearCache=function(){this._metadataResolver.clearCache()},t.prototype.compileAll=function(t){var e=this,n=hi(this._staticReflector,t,this._options),r=li(n,this._options,this._metadataResolver),i=r.ngModuleByPipeOrDirective,o=r.files,s=r.ngModules;return Promise.all(s.map(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){var t=o.map(function(t){return e._compileSrcFile(t.srcUrl,i,t.directives,t.pipes,t.ngModules)});return eo.flatten(t)})},t.prototype._compileSrcFile=function(t,e,n,r,i){var o=this,s=ui(t)[1],a=[],u=[],c=[],l=i.map(function(t){return o._metadataResolver.getNgModuleSummary(t)}).concat(n.map(function(t){return o._metadataResolver.getDirectiveSummary(t)}),r.map(function(t){return o._metadataResolver.getPipeSummary(t)}));if(c.push(this._summaryResolver.serializeSummaries(t,l)),u.push.apply(u,i.map(function(t){return o._compileModule(t,a)})),u.push.apply(u,n.map(function(t){return o._compileDirectiveWrapper(t,a)})),n.forEach(function(n){var r=o._metadataResolver.getDirectiveMetadata(n);if(!r.isComponent)return Promise.resolve(null);var i=e.get(n);if(!i)throw new Error("Internal Error: cannot determine the module for component "+w(r.type)+"!");ai(r);var l=o._styleCompiler.compileComponent(r);l.externalStylesheets.forEach(function(e){c.push(o._codgenStyles(t,e,s))}),u.push(o._compileComponentFactory(r,i,s,a),o._compileComponent(r,i,i.transitiveModule.directives,l.componentStylesheet,s,a))}),a.length>0){var p=this._codegenSourceModule(t,ii(t),a,u);c.unshift(p)}return c},t.prototype._compileModule=function(t,e){var n=this,r=this._metadataResolver.getNgModuleMetadata(t),i=[];this._localeId&&i.push({token:Zt(tl.LOCALE_ID),useValue:this._localeId}),this._translationFormat&&i.push({token:Zt(tl.TRANSLATIONS_FORMAT),useValue:this._translationFormat});var o=this._ngModuleCompiler.compile(r,i);return o.dependencies.forEach(function(t){t.placeholder.reference=n._staticReflector.getStaticSymbol(ii(b(t.comp)),oi(t.comp))}),e.push.apply(e,o.statements),o.ngModuleFactoryVar},t.prototype._compileDirectiveWrapper=function(t,e){var n=this._metadataResolver.getDirectiveMetadata(t),r=this._dirWrapperCompiler.compile(n);return e.push.apply(e,r.statements),r.dirWrapperClassVar},t.prototype._compileComponentFactory=function(t,e,n,r){var i=S(this._staticReflector.getStaticSymbol(b(t.type),w(t.type)+"_Host"),t),o=this._compileComponent(i,e,[t.type],null,n,r),s=oi(t.type);return r.push(Ge(s).set(qe(Jt(tl.ComponentFactory),[Ke(t.type)]).instantiate([tn(t.selector),Ge(o),qe(t.type)],Ke(Jt(tl.ComponentFactory),[Ke(t.type)],[zp.Const]))).toDeclStmt(null,[Oh.Final])),s},t.prototype._compileComponent=function(t,e,n,r,i,o){var s=this,a=this._animationParser.parseComponent(t),u=n.map(function(t){return s._metadataResolver.getDirectiveSummary(t.reference)}),c=e.transitiveModule.pipes.map(function(t){return s._metadataResolver.getPipeSummary(t.reference)}),l=this._templateParser.parse(t,t.template.template,u,c,e.schemas,w(t.type)),p=r?Ge(r.stylesVar):$e([]),h=this._animationCompiler.compile(w(t.type),a),d=this._viewCompiler.compileComponent(t,l,p,c,h);return r&&o.push.apply(o,ri(this._staticReflector,r,i)),h.forEach(function(t){return o.push.apply(o,t.statements)}),o.push.apply(o,ni(this._staticReflector,d)),d.viewClassVar},t.prototype._codgenStyles=function(t,e,n){return ri(this._staticReflector,e,n),this._codegenSourceModule(t,si(e.meta.moduleUrl,e.isShimmed,n),e.statements,[e.stylesVar])},t.prototype._codegenSourceModule=function(t,e,n,r){return new Hm(t,e,this._outputEmitter.emitStatements(e,n,r))},t}(),Fm=function(){function t(t){this.staticDelegate=t,this.dynamicDelegate=new Co}return t.install=function(e){So.updateCapabilities(new t(e))},t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return this.dynamicDelegate.factory(t)},t.prototype.hasLifecycleHook=function(t,e){return fi(t)?this.staticDelegate.hasLifecycleHook(t,e):this.dynamicDelegate.hasLifecycleHook(t,e)},t.prototype.parameters=function(t){return fi(t)?this.staticDelegate.parameters(t):this.dynamicDelegate.parameters(t)},t.prototype.annotations=function(t){return fi(t)?this.staticDelegate.annotations(t):this.dynamicDelegate.annotations(t)},t.prototype.propMetadata=function(t){return fi(t)?this.staticDelegate.propMetadata(t):this.dynamicDelegate.propMetadata(t)},t.prototype.getter=function(t){return this.dynamicDelegate.getter(t)},t.prototype.setter=function(t){return this.dynamicDelegate.setter(t)},t.prototype.method=function(t){return this.dynamicDelegate.method(t)},t.prototype.importUri=function(t){return this.staticDelegate.importUri(t)},t.prototype.resolveIdentifier=function(t,e,n){return this.staticDelegate.resolveIdentifier(t,e,n)},t.prototype.resolveEnum=function(t,e){return fi(t)?this.staticDelegate.resolveEnum(t,e):null},t}(),Bm=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Um=3,Wm={coreDecorators:"@angular/core/src/metadata",diDecorators:"@angular/core/src/di/metadata",diMetadata:"@angular/core/src/di/metadata",diOpaqueToken:"@angular/core/src/di/opaque_token",animationMetadata:"@angular/core/src/animation/metadata",provider:"@angular/core/src/di/provider"},zm=/^\$.*\$$/,Gm=function(){function t(){this.cache=new Map}return t.prototype.get=function(t,e,n){var r=n?"."+n.join("."):"",i='"'+t+'".'+e+r,o=this.cache.get(i);return o||(o=new Zi(t,e,n),this.cache.set(i,o)),o},t}(),qm=function(){function t(t,e,n,r,i){var o=this;void 0===e&&(e=new Gm),void 0===n&&(n=[]),void 0===r&&(r=[]),this.host=t,this.staticSymbolCache=e,this.errorRecorder=i,this.declarationCache=new Map,this.annotationCache=new Map,this.propertyCache=new Map,this.parameterCache=new Map,this.methodCache=new Map,this.metadataCache=new Map,this.conversionMap=new Map,this.initializeConversionMap(),n.forEach(function(t){return o._registerDecoratorOrConstructor(o.getStaticSymbol(t.filePath,t.name),t.ctor)}),r.forEach(function(t){return o._registerFunction(o.getStaticSymbol(t.filePath,t.name),t.fn)})}return t.prototype.importUri=function(t){var e=this.findDeclaration(t.filePath,t.name,"");return e?e.filePath:null},t.prototype.resolveIdentifier=function(t,e,n){return this.findDeclaration(e,t,"")},t.prototype.resolveEnum=function(t,e){var n=t;return this.getStaticSymbol(n.filePath,n.name,[e])},t.prototype.annotations=function(t){var e=this.annotationCache.get(t);if(!e){e=[];var n=this.getTypeMetadata(t);if(n["extends"]){var r=this.annotations(this.simplify(t,n["extends"]));e.push.apply(e,r)}if(n.decorators){var i=this.simplify(t,n.decorators);e.push.apply(e,i)}this.annotationCache.set(t,e.filter(function(t){return!!t}))}return e},t.prototype.propMetadata=function(t){var e=this,n=this.propertyCache.get(t);if(!n){var r=this.getTypeMetadata(t)||{};if(n={},r["extends"]){var i=this.propMetadata(this.simplify(t,r["extends"]));Object.keys(i).forEach(function(t){n[t]=i[t]})}var o=r.members||{};Object.keys(o).forEach(function(r){var i=o[r],s=i.find(function(t){return"property"==t.__symbolic||"method"==t.__symbolic}),a=[];n[r]&&a.push.apply(a,n[r]),n[r]=a,s&&s.decorators&&a.push.apply(a,e.simplify(t,s.decorators))}),this.propertyCache.set(t,n)}return n},t.prototype.parameters=function(t){if(!(t instanceof Zi))return this.reportError(new Error("parameters received "+JSON.stringify(t)+" which is not a StaticSymbol"),t),[];try{var e=this.parameterCache.get(t);if(!e){var n=this.getTypeMetadata(t),r=n?n.members:null,i=r?r.__ctor__:null;if(i){var o=i.find(function(t){return"constructor"==t.__symbolic}),s=this.simplify(t,o.parameters||[]),a=this.simplify(t,o.parameterDecorators||[]);e=[],s.forEach(function(t,n){var r=[];t&&r.push(t);var i=a?a[n]:null;i&&r.push.apply(r,i),e.push(r)})}else n["extends"]&&(e=this.parameters(this.simplify(t,n["extends"])));e||(e=[]),this.parameterCache.set(t,e)}return e}catch(u){throw console.error("Failed on type "+JSON.stringify(t)+" with error "+u),u}},t.prototype._methodNames=function(t){var e=this.methodCache.get(t);if(!e){var n=this.getTypeMetadata(t)||{};if(e={},n["extends"]){var r=this._methodNames(this.simplify(t,n["extends"]));Object.keys(r).forEach(function(t){e[t]=r[t]})}var i=n.members||{};Object.keys(i).forEach(function(t){var n=i[t],r=n.some(function(t){return"method"==t.__symbolic});e[t]=e[t]||r}),this.methodCache.set(t,e)}return e},t.prototype.hasLifecycleHook=function(t,e){t instanceof Zi||this.reportError(new Error("hasLifecycleHook received "+JSON.stringify(t)+" which is not a StaticSymbol"),t);try{return!!this._methodNames(t)[e]}catch(n){throw console.error("Failed on type "+JSON.stringify(t)+" with error "+n),n}},t.prototype._registerDecoratorOrConstructor=function(t,e){this.conversionMap.set(t,function(t,n){return new(e.bind.apply(e,[void 0].concat(n)))})},t.prototype._registerFunction=function(t,e){this.conversionMap.set(t,function(t,n){return e.apply(void 0,n)})},t.prototype.initializeConversionMap=function(){var t=Wm.coreDecorators,n=Wm.diDecorators,r=Wm.diMetadata,i=Wm.diOpaqueToken,o=Wm.animationMetadata;Wm.provider;this.opaqueToken=this.findDeclaration(i,"OpaqueToken"),this._registerDecoratorOrConstructor(this.findDeclaration(n,"Host"),e.Host),this._registerDecoratorOrConstructor(this.findDeclaration(n,"Injectable"),e.Injectable),this._registerDecoratorOrConstructor(this.findDeclaration(n,"Self"),e.Self),this._registerDecoratorOrConstructor(this.findDeclaration(n,"SkipSelf"),e.SkipSelf),this._registerDecoratorOrConstructor(this.findDeclaration(n,"Inject"),e.Inject),this._registerDecoratorOrConstructor(this.findDeclaration(n,"Optional"),e.Optional),this._registerDecoratorOrConstructor(this.findDeclaration(t,"Attribute"),e.Attribute),this._registerDecoratorOrConstructor(this.findDeclaration(t,"ContentChild"),e.ContentChild),this._registerDecoratorOrConstructor(this.findDeclaration(t,"ContentChildren"),e.ContentChildren),this._registerDecoratorOrConstructor(this.findDeclaration(t,"ViewChild"),e.ViewChild),this._registerDecoratorOrConstructor(this.findDeclaration(t,"ViewChildren"),e.ViewChildren),this._registerDecoratorOrConstructor(this.findDeclaration(t,"Input"),e.Input),this._registerDecoratorOrConstructor(this.findDeclaration(t,"Output"),e.Output),this._registerDecoratorOrConstructor(this.findDeclaration(t,"Pipe"),e.Pipe),this._registerDecoratorOrConstructor(this.findDeclaration(t,"HostBinding"),e.HostBinding),this._registerDecoratorOrConstructor(this.findDeclaration(t,"HostListener"),e.HostListener),this._registerDecoratorOrConstructor(this.findDeclaration(t,"Directive"),e.Directive),this._registerDecoratorOrConstructor(this.findDeclaration(t,"Component"),e.Component),this._registerDecoratorOrConstructor(this.findDeclaration(t,"NgModule"),e.NgModule),this._registerDecoratorOrConstructor(this.findDeclaration(r,"Host"),e.Host),this._registerDecoratorOrConstructor(this.findDeclaration(r,"Self"),e.Self),this._registerDecoratorOrConstructor(this.findDeclaration(r,"SkipSelf"),e.SkipSelf),this._registerDecoratorOrConstructor(this.findDeclaration(r,"Optional"),e.Optional),this._registerFunction(this.findDeclaration(o,"trigger"),e.trigger),this._registerFunction(this.findDeclaration(o,"state"),e.state),this._registerFunction(this.findDeclaration(o,"transition"),e.transition),this._registerFunction(this.findDeclaration(o,"style"),e.style),this._registerFunction(this.findDeclaration(o,"animate"),e.animate),this._registerFunction(this.findDeclaration(o,"keyframes"),e.keyframes),this._registerFunction(this.findDeclaration(o,"sequence"),e.sequence),this._registerFunction(this.findDeclaration(o,"group"),e.group)},t.prototype.getStaticSymbol=function(t,e,n){return this.staticSymbolCache.get(t,e,n)},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(t,e&&e.filePath||n)},t.prototype.resolveExportedSymbol=function(t,e){var n=this,r=function(e){var r=n.host.moduleNameToFileName(e,t);return r||n.reportError(new Error("Could not resolve module '"+e+"' relative to file "+t),null,t),r},i=t+"|"+e,o=this.declarationCache.get(i);if(o)return o;var s=this.getModuleMetadata(t);if(s&&(s.metadata[e]&&(o=this.getStaticSymbol(t,e)),!o&&s.exports)){for(var a=0,u=s.exports;a<u.length;a++){var c=u[a];if(c["export"]){var l=c["export"].find(function(t){return"string"==typeof t?t==e:t.as==e});if(l){var p=e;"string"!=typeof l&&(p=l.name);var h=r(c.from);if(h){o=this.resolveExportedSymbol(r(c.from),p);break}}}}if(!o)for(var d=0,f=s.exports;d<f.length;d++){var c=f[d];if(!c["export"]){var h=r(c.from);if(h){var m=this.resolveExportedSymbol(h,e);if(m){o=m;break}}}}}return this.declarationCache.set(i,o),o},t.prototype.findDeclaration=function(t,e,n){try{var r=this.host.moduleNameToFileName(t,n),i=void 0;return i=r?this.resolveExportedSymbol(r,e)||this.getStaticSymbol(r,e):this.getStaticSymbol(t,e)}catch(o){throw console.error("can't resolve module "+t+" from "+n),o}},t.prototype.simplify=function(t,e){function n(t,e,r){function a(t,e){var n;return n=e.module?i.findDeclaration(e.module,e.name,t.filePath):i.getStaticSymbol(t.filePath,e.name)}function u(t){var e=i.getModuleMetadata(t.filePath),n=e?e.metadata[t.name]:null;return n}function c(t,e){if(e&&"new"===e.__symbolic&&e.expression){var n=e.expression;if("reference"==n.__symbolic)return gi(a(t,n),i.opaqueToken)}return!1}function l(e){var i=void 0;if("call"==e.__symbolic){var c=e.expression,l=void 0,h=void 0;if(c)switch(c.__symbolic){case"reference":i={name:c.name},l=a(t,c),h=u(l);break;case"select":if("reference"==c.expression.__symbolic){l=a(t,c.expression);var d=u(l);d&&d.statics&&(h=d.statics[c.member])}}if(h&&"function"==h.__symbolic){if(s.get(l))throw new Error("Recursion not supported");s.set(l,!0);try{var f=h.value;if(f&&(0!=r||"error"!=f.__symbolic)){var m=(e.arguments||[]).map(function(t){return p(t)}),y=h.parameters,_=h.defaults;_&&_.length>m.length&&m.push.apply(m,_.slice(m.length).map(function(t){return p(t)}));for(var v=Km.build(),g=0;g<y.length;g++)v.define(y[g],m[g]);var w,b=o;try{o=v.done(),w=n(l,f,r+1)}finally{o=b}return w}}finally{s["delete"](l)}}}return 0===r?{__symbolic:"ignore"}:p({__symbolic:"error",message:"Function call not supported",context:i})}function p(e){if(vi(e))return e;if(e instanceof Array){for(var s=[],h=0,d=e;h<d.length;h++){var f=d[h];if(f&&"spread"===f.__symbolic){var m=p(f.expression);if(Array.isArray(m)){for(var y=0,_=m;y<_.length;y++){var v=_[y];s.push(v)}continue}}var g=p(f);wi(g)||s.push(g)}return s}if(e instanceof Zi)return e;if(e){if(e.__symbolic){var w=void 0;switch(e.__symbolic){case"binop":var b=p(e.left);if(wi(b))return b;var M=p(e.right);if(wi(M))return M;switch(e.operator){case"&&":return b&&M;case"||":return b||M;case"|":return b|M;case"^":return b^M;case"&":return b&M;case"==":return b==M;case"!=":return b!=M;case"===":return b===M;case"!==":return b!==M;case"<":return M>b;case">":return b>M;case"<=":return M>=b;case">=":return b>=M;case"<<":return b<<M;case">>":return b>>M;case"+":return b+M;case"-":return b-M;case"*":return b*M;case"/":return b/M;case"%":return b%M}return null;case"if":var E=p(e.condition);return p(E?e.thenExpression:e.elseExpression);case"pre":var S=p(e.operand);if(wi(S))return S;switch(e.operator){case"+":return S;case"-":return-S;case"!":return!S;case"~":return~S}return null;case"index":var T=p(e.expression),C=p(e.index);return T&&vi(C)?T[C]:null;case"select":var k=t,L=p(e.expression);if(L instanceof Zi){var D=e.member,x=L.members?L.members.concat(D):[D],P=u(L);if(k=i.getStaticSymbol(L.filePath,L.name,x),!P||!P.statics)return k;L=P.statics}var O=n(k,e.member,r+1);return L&&vi(O)?n(k,L[O],r+1):null;case"reference":if(!e.name)return t;if(!e.module){var A=e.name,Y=o.resolve(A);if(Y!=Km.missing)return Y}w=a(t,e);var I=w,j=u(I);if(j){if(c(w,j))return w;I=n(w,j,r+1)}return I;case"class":return t;case"function":return t;case"new":case"call":var N=e.expression;w=N.module?i.findDeclaration(N.module,N.name,t.filePath):i.getStaticSymbol(t.filePath,N.name);var R=i.conversionMap.get(w);if(R){var H=e.arguments;return H||(H=[]),R(t,H.map(function(e){return n(t,e,r+1)}))}return l(e);case"error":var V=yi(e);if(e.line)throw V=V+" (position "+(e.line+1)+":"+(e.character+1)+" in the original .ts file)",bi(V,t.filePath,e.line,e.character);throw new Error(V)}return null}return _i(e,function(t,e){return p(t)})}return null}try{return p(e)}catch(h){var d=h.message+", resolving symbol "+t.name+" in "+t.filePath;if(h.fileName)throw bi(d,h.fileName,h.line,h.column);throw new Error(d)}}var r=this,i=this,o=Km.empty,s=new Map,a=function(t,e,i){try{return n(t,e,i)}catch(o){r.reportError(o,t)}},u=this.errorRecorder?a(t,e,0):n(t,e,0);return wi(u)?void 0:u},t.prototype.getModuleMetadata=function(t){var e=this.metadataCache.get(t);if(!e){var n=this.host.getMetadataFor(t);if(n){var r=-1;n.forEach(function(t){t.version>r&&(r=t.version,e=t)})}if(e||(e={__symbolic:"module",version:Um,module:t,metadata:{}}),e.version!=Um){var i=2==e.version?"Unsupported metadata version "+e.version+" for module "+t+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+t+", found version "+e.version+", expected "+Um;this.reportError(new Error(i),null)}this.metadataCache.set(t,e)}return e},t.prototype.getTypeMetadata=function(t){var e=this.getModuleMetadata(t.filePath);return e.metadata[t.name]||{__symbolic:"class"}},t}(),Km=function(){function t(){}return t.prototype.resolve=function(t){},t.build=function(){var e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new Jm(e):t.empty}}},t.missing={},t.empty={resolve:function(e){return t.missing}},t}(),Jm=function(t){function e(e){t.call(this),this.bindings=e}return Bm(e,t),e.prototype.resolve=function(t){return this.bindings.has(t)?this.bindings.get(t):Km.missing},e}(Km),$m=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,Zm=function(){function t(t,e,n){this.host=t,this.staticReflector=e,this.options=n,this.summaryCache={}}return t.prototype.serializeSummaries=function(t,e){var n=this,r=function(t,e){return e instanceof Zi?{__symbolic__:"symbol",name:e.name,path:n.host.getOutputFileName(e.filePath),members:e.members}:e},i=e.slice();return e.forEach(function(t){if(t.summaryKind===_s.NgModule){var e=t;e.exportedDirectives.concat(e.exportedPipes).forEach(function(t){ei(t.reference.filePath,n.options)||i.push(n.resolveSummary(t.reference))})}}),new Hm(t,Mi(t),JSON.stringify(i,r))},t.prototype._cacheKey=function(t){return t.filePath+"|"+t.name},t.prototype.resolveSummary=function(t){var e=this,n=t.filePath,r=t.name,i=this._cacheKey(t);if(ei(n,this.options))return null;var o=this.summaryCache[i],s=Mi(n);if(!o)try{var a=function(t,n){return n&&"symbol"===n.__symbolic__?e.staticReflector.getStaticSymbol(n.path,n.name,n.members):n},u=JSON.parse(this.host.loadSummary(s),a);u.forEach(function(t){t.type.reference.filePath;e.summaryCache[e._cacheKey(t.type.reference)]=t}),o=this.summaryCache[i]}catch(c){throw console.error("Error loading summary file "+s),c}if(!o)throw new Error("Could not find the symbol "+r+" in the summary file "+s+"!");return o},t}(),Xm=function(){function t(t,e,n,r){this.parent=t,this.instance=e,this.className=n,this.vars=r}return t.prototype.createChildWihtLocalVars=function(){return new t(this,this.instance,this.className,new Map)},t}(),Qm=function(){function t(t){this.value=t}return t}(),ty=function(){function t(){}return t.prototype.debugAst=function(t){return Jn(t)},t.prototype.visitDeclareVarStmt=function(t,e){return e.vars.set(t.name,t.value.visitExpression(this,e)),null},t.prototype.visitWriteVarExpr=function(t,e){for(var n=t.value.visitExpression(this,e),r=e;null!=r;){if(r.vars.has(t.name))return r.vars.set(t.name,n),n;r=r.parent}throw new Error("Not declared variable "+t.name)},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(r(t.builtin))switch(t.builtin){case sh.Super:return e.instance.__proto__;case sh.This:return e.instance;case sh.CatchError:n=ey;break;case sh.CatchStack:n=ny;break;default:throw new Error("Unknown builtin variable "+t.builtin)}for(var i=e;null!=i;){if(i.vars.has(n))return i.vars.get(n);i=i.parent}throw new Error("Not declared variable "+n)},t.prototype.visitWriteKeyExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.index.visitExpression(this,e),i=t.value.visitExpression(this,e);return n[r]=i,i},t.prototype.visitWritePropExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.value.visitExpression(this,e);return n[t.name]=r,r},t.prototype.visitInvokeMethodExpr=function(t,e){var n,i=t.receiver.visitExpression(this,e),o=this.visitAllExpressions(t.args,e);if(r(t.builtin))switch(t.builtin){case ph.ConcatArray:n=i.concat.apply(i,o);break;case ph.SubscribeObservable:n=i.subscribe({next:o[0]});break;case ph.Bind:n=i.bind.apply(i,o);break;default:throw new Error("Unknown builtin method "+t.builtin)}else n=i[t.name].apply(i,o);return n},t.prototype.visitInvokeFunctionExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.fn;if(r instanceof ah&&r.builtin===sh.Super)return e.instance.constructor.prototype.constructor.apply(e.instance,n),null;var i=t.fn.visitExpression(this,e);return i.apply(null,n)},t.prototype.visitReturnStmt=function(t,e){return new Qm(t.value.visitExpression(this,e))},t.prototype.visitDeclareClassStmt=function(t,e){var n=Ci(t,e,this);return e.vars.set(t.name,n),null},t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e)},t.prototype.visitIfStmt=function(t,e){var n=t.condition.visitExpression(this,e);return n?this.visitAllStatements(t.trueCase,e):r(t.falseCase)?this.visitAllStatements(t.falseCase,e):null},t.prototype.visitTryCatchStmt=function(t,e){try{return this.visitAllStatements(t.bodyStmts,e)}catch(n){var r=e.createChildWihtLocalVars();return r.vars.set(ey,n),r.vars.set(ny,n.stack),this.visitAllStatements(t.catchStmts,r)}},t.prototype.visitThrowStmt=function(t,e){throw t.error.visitExpression(this,e)},t.prototype.visitCommentStmt=function(t,e){return null},t.prototype.visitInstantiateExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.classExpr.visitExpression(this,e);return new(r.bind.apply(r,[void 0].concat(n)))},t.prototype.visitLiteralExpr=function(t,e){return t.value},t.prototype.visitExternalExpr=function(t,e){return t.value.reference},t.prototype.visitConditionalExpr=function(t,e){return t.condition.visitExpression(this,e)?t.trueCase.visitExpression(this,e):r(t.falseCase)?t.falseCase.visitExpression(this,e):null},t.prototype.visitNotExpr=function(t,e){return!t.condition.visitExpression(this,e)},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e)},t.prototype.visitFunctionExpr=function(t,e){var n=t.params.map(function(t){return t.name});return ki(n,t.statements,e,this)},t.prototype.visitDeclareFunctionStmt=function(t,e){var n=t.params.map(function(t){return t.name});return e.vars.set(t.name,ki(n,t.statements,e,this)),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n=this,r=function(){return t.lhs.visitExpression(n,e)},i=function(){return t.rhs.visitExpression(n,e)};switch(t.operator){case ih.Equals:return r()==i();case ih.Identical:return r()===i();case ih.NotEquals:return r()!=i();case ih.NotIdentical:return r()!==i();case ih.And:return r()&&i();case ih.Or:return r()||i();case ih.Plus:return r()+i();case ih.Minus:return r()-i();case ih.Divide:return r()/i();case ih.Multiply:return r()*i();case ih.Modulo:return r()%i();case ih.Lower:return r()<i();case ih.LowerEquals:return r()<=i();case ih.Bigger:return r()>i();case ih.BiggerEquals:return r()>=i();default:throw new Error("Unknown operator "+t.operator)}},t.prototype.visitReadPropExpr=function(t,e){var n,r=t.receiver.visitExpression(this,e);return n=r[t.name]},t.prototype.visitReadKeyExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.index.visitExpression(this,e);return n[r]},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r={};return t.entries.forEach(function(t){return r[t.key]=t.value.visitExpression(n,e)}),r},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitAllStatements=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=r.visitStatement(this,e);if(i instanceof Qm)return i}return null},t}(),ey="error",ny="stack",ry=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},iy=function(t){function e(){t.call(this,!1)}return ry(e,t),e.prototype.visitDeclareClassStmt=function(t,e){var n=this;return e.pushClass(t),this._visitClassConstructor(t,e),r(t.parent)&&(e.print(t.name+".prototype = Object.create("),t.parent.visitExpression(this,e),e.println(".prototype);")),t.getters.forEach(function(r){return n._visitClassGetter(t,r,e)}),t.methods.forEach(function(r){return n._visitClassMethod(t,r,e)}),e.popClass(),null},e.prototype._visitClassConstructor=function(t,e){e.print("function "+t.name+"("),r(t.constructorMethod)&&this._visitParams(t.constructorMethod.params,e),e.println(") {"),e.incIndent(),r(t.constructorMethod)&&t.constructorMethod.body.length>0&&(e.println("var self = this;"),this.visitAllStatements(t.constructorMethod.body,e)),e.decIndent(),e.println("}")},e.prototype._visitClassGetter=function(t,e,n){n.println("Object.defineProperty("+t.name+".prototype, '"+e.name+"', { get: function() {"),n.incIndent(),e.body.length>0&&(n.println("var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println("}});")},e.prototype._visitClassMethod=function(t,e,n){n.print(t.name+".prototype."+e.name+" = function("),this._visitParams(e.params,n),n.println(") {"),n.incIndent(),e.body.length>0&&(n.println("var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println("};")},e.prototype.visitReadVarExpr=function(e,n){if(e.builtin===sh.This)n.print("self");else{if(e.builtin===sh.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");t.prototype.visitReadVarExpr.call(this,e,n)}return null},e.prototype.visitDeclareVarStmt=function(t,e){return e.print("var "+t.name+" = "),t.value.visitExpression(this,e),e.println(";"),null},e.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitInvokeFunctionExpr=function(e,n){var r=e.fn;return r instanceof ah&&r.builtin===sh.Super?(n.currentClass.parent.visitExpression(this,n),n.print(".call(this"),e.args.length>0&&(n.print(", "),this.visitAllExpressions(e.args,n,",")),n.print(")")):t.prototype.visitInvokeFunctionExpr.call(this,e,n),null},e.prototype.visitFunctionExpr=function(t,e){return e.print("function("),this._visitParams(t.params,e),e.println(") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print("}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return e.print("function "+t.name+"("),this._visitParams(t.params,e),e.println(") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println("}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println("try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println("} catch ("+Rd.name+") {"),e.incIndent();var n=[Hd.set(Rd.prop("stack")).toDeclStmt(null,[Oh.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println("}"),null},e.prototype._visitParams=function(t,e){this.visitAllObjects(function(t){return e.print(t.name)},t,e,",")},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case ph.ConcatArray:e="concat";break;case ph.SubscribeObservable:e="subscribe";break;case ph.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e}(Bd),oy=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},sy=function(t){function e(){t.apply(this,arguments),this._evalArgNames=[],this._evalArgValues=[]}return oy(e,t),e.prototype.getArgs=function(){for(var t={},e=0;e<this._evalArgNames.length;e++)t[this._evalArgNames[e]]=this._evalArgValues[e];return t},e.prototype.visitExternalExpr=function(t,e){var n=t.value.reference,r=this._evalArgValues.indexOf(n);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(n);var i=w(t.value)||"val";this._evalArgNames.push("jit_"+i+r)}return e.print(this._evalArgNames[r]),null},e}(iy),ay=function(){function t(t,e,n,r,i,o,s,a,u){this._injector=t,this._metadataResolver=e,this._templateParser=n,this._styleCompiler=r,this._viewCompiler=i,this._ngModuleCompiler=o,this._directiveWrapperCompiler=s,this._compilerConfig=a,this._animationParser=u,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._animationCompiler=new wm}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.compileModuleSync=function(t){return this._compileModuleAndComponents(t,!0).syncResult},t.prototype.compileModuleAsync=function(t){return this._compileModuleAndComponents(t,!1).asyncResult},t.prototype.compileModuleAndAllComponentsSync=function(t){return this._compileModuleAndAllComponents(t,!0).syncResult},t.prototype.compileModuleAndAllComponentsAsync=function(t){return this._compileModuleAndAllComponents(t,!1).asyncResult},t.prototype.getNgContentSelectors=function(t){var e=this._compiledTemplateCache.get(t);if(!e)throw new Error("The component "+s(t)+" is not yet compiled!");return e.compMeta.template.ngContentSelectors},t.prototype._compileModuleAndComponents=function(t,e){var n=this,r=this._loadModules(t,e),i=function(){return n._compileComponents(t,null),n._compileModule(t)};return e?new ns(i()):new ns(null,r.then(i))},t.prototype._compileModuleAndAllComponents=function(t,n){var r=this,i=this._loadModules(t,n),o=function(){var n=[];return r._compileComponents(t,n),new e.ModuleWithComponentFactories(r._compileModule(t),n)};return n?new ns(o()):new ns(null,i.then(o))},t.prototype._loadModules=function(t,e){var n=this,r=[],i=this._metadataResolver.getNgModuleMetadata(t);return i.transitiveModule.modules.forEach(function(t){r.push(n._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.reference,e))}),Promise.all(r)},t.prototype._compileModule=function(t){var n=this,r=this._compiledNgModuleCache.get(t);if(!r){var i=this._metadataResolver.getNgModuleMetadata(t),o=[this._metadataResolver.getProviderMetadata(new Ss(e.Compiler,{useFactory:function(){return new cy(n,i.type.reference)}}))],s=this._ngModuleCompiler.compile(i,o);s.dependencies.forEach(function(t){t.placeholder.reference=n._assertComponentKnown(t.comp.reference,!0).proxyComponentFactory}),r=this._compilerConfig.useJit?Di("/"+w(i.type)+"/module.ngfactory.js",s.statements,s.ngModuleFactoryVar):Si(s.statements,s.ngModuleFactoryVar),this._compiledNgModuleCache.set(i.type.reference,r);
}return r},t.prototype._compileComponents=function(t,e){var n=this,r=this._metadataResolver.getNgModuleMetadata(t),i=new Map,o=new Set;r.transitiveModule.modules.forEach(function(t){var r=n._metadataResolver.getNgModuleMetadata(t.reference);r.declaredDirectives.forEach(function(t){i.set(t.reference,r);var s=n._metadataResolver.getDirectiveMetadata(t.reference);if(n._compileDirectiveWrapper(s,r),s.isComponent&&(o.add(n._createCompiledTemplate(s,r)),e)){var a=n._createCompiledHostTemplate(s.type.reference,r);o.add(a),e.push(a.proxyComponentFactory)}})}),r.transitiveModule.modules.forEach(function(t){var e=n._metadataResolver.getNgModuleMetadata(t.reference);e.declaredDirectives.forEach(function(t){var e=n._metadataResolver.getDirectiveMetadata(t.reference);e.isComponent&&e.entryComponents.forEach(function(t){var e=i.get(t.reference);o.add(n._createCompiledHostTemplate(t.reference,e))})}),e.entryComponents.forEach(function(t){var e=i.get(t.reference);o.add(n._createCompiledHostTemplate(t.reference,e))})}),o.forEach(function(t){return n._compileTemplate(t)})},t.prototype.clearCacheFor=function(t){this._compiledNgModuleCache["delete"](t),this._metadataResolver.clearCacheFor(t),this._compiledHostTemplateCache["delete"](t);var e=this._compiledTemplateCache.get(t);e&&this._compiledTemplateCache["delete"](t)},t.prototype.clearCache=function(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()},t.prototype._createCompiledHostTemplate=function(t,e){if(!e)throw new Error("Component "+s(t)+" is not part of any NgModule or the module has not been imported into your module.");var n=this._compiledHostTemplateCache.get(t);if(!n){var r=this._metadataResolver.getDirectiveMetadata(t);xi(r);var i=function(){};i.overriddenName=w(r.type)+"_Host";var o=S(i,r);n=new uy(!0,r.selector,r.type,o,e,[r.type]),this._compiledHostTemplateCache.set(t,n)}return n},t.prototype._createCompiledTemplate=function(t,e){var n=this._compiledTemplateCache.get(t.type.reference);return n||(xi(t),n=new uy(!1,t.selector,t.type,t,e,e.transitiveModule.directives),this._compiledTemplateCache.set(t.type.reference,n)),n},t.prototype._assertComponentKnown=function(t,e){var n=e?this._compiledHostTemplateCache.get(t):this._compiledTemplateCache.get(t);if(!n)throw new Error("Illegal state: Compiled view for component "+s(t)+" (host: "+e+") does not exist!");return n},t.prototype._assertDirectiveWrapper=function(t){var e=this._compiledDirectiveWrapperCache.get(t);if(!e)throw new Error("Illegal state: Directive wrapper for "+s(t)+" has not been compiled!");return e},t.prototype._compileDirectiveWrapper=function(t,e){var n,r=this._directiveWrapperCompiler.compile(t),i=r.statements;n=this._compilerConfig.useJit?Di("/"+w(e.type)+"/"+w(t.type)+"/wrapper.ngfactory.js",i,r.dirWrapperClassVar):Si(i,r.dirWrapperClassVar),this._compiledDirectiveWrapperCache.set(t.type.reference,n)},t.prototype._compileTemplate=function(t){var e=this;if(!t.isCompiled){var n=t.compMeta,r=new Map,i=this._styleCompiler.compileComponent(n);i.externalStylesheets.forEach(function(t){r.set(t.meta.moduleUrl,t)}),this._resolveStylesCompileResult(i.componentStylesheet,r);var o=this._animationParser.parseComponent(n),s=t.directives.map(function(t){return e._metadataResolver.getDirectiveSummary(t.reference)}),a=t.ngModule.transitiveModule.pipes.map(function(t){return e._metadataResolver.getPipeSummary(t.reference)}),u=this._templateParser.parse(n,n.template.template,s,a,t.ngModule.schemas,w(n.type)),c=this._animationCompiler.compile(w(n.type),o),l=this._viewCompiler.compileComponent(n,u,Ge(i.componentStylesheet.stylesVar),a,c);l.dependencies.forEach(function(t){var n;if(t instanceof Zf){var r=t;n=e._assertComponentKnown(r.comp.reference,!1),r.placeholder.reference=n.proxyViewClass}else if(t instanceof Xf){var i=t;n=e._assertComponentKnown(i.comp.reference,!0),i.placeholder.reference=n.proxyComponentFactory}else if(t instanceof Qf){var o=t;o.placeholder.reference=e._assertDirectiveWrapper(o.dir.reference)}});var p,h=(d=i.componentStylesheet.statements).concat.apply(d,c.map(function(t){return t.statements})).concat(l.statements);p=this._compilerConfig.useJit?Di("/"+w(t.ngModule.type)+"/"+w(t.compType)+"/"+(t.isHost?"host":"component")+".ngfactory.js",h,l.viewClassVar):Si(h,l.viewClassVar),t.compiled(p);var d}},t.prototype._resolveStylesCompileResult=function(t,e){var n=this;t.dependencies.forEach(function(t,r){var i=e.get(t.moduleUrl),o=n._resolveAndEvalStylesCompileResult(i,e);t.valuePlaceholder.reference=o})},t.prototype._resolveAndEvalStylesCompileResult=function(t,e){return this._resolveStylesCompileResult(t,e),this._compilerConfig.useJit?Di("/"+t.meta.moduleUrl+".ngstyle.js",t.statements,t.stylesVar):Si(t.statements,t.stylesVar)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:e.Injector},{type:Cd},{type:rp},{type:jf},{type:vm},{type:Od},{type:_d},{type:lp},{type:Yp}]},t}(),uy=function(){function t(t,n,r,i,o,a){this.isHost=t,this.compType=r,this.compMeta=i,this.ngModule=o,this.directives=a,this._viewClass=null,this.isCompiled=!1;var u=this;this.proxyViewClass=function(){if(!u._viewClass)throw new Error("Illegal state: CompiledTemplate for "+s(u.compType)+" is not compiled yet!");return u._viewClass.apply(this,arguments)},this.proxyComponentFactory=t?new e.ComponentFactory(n,this.proxyViewClass,r.reference):null}return t.prototype.compiled=function(t){this._viewClass=t,this.proxyViewClass.prototype=t.prototype,this.isCompiled=!0},t}(),cy=function(){function t(t,e){this._delegate=t,this._ngModule=e}return Object.defineProperty(t.prototype,"_injector",{get:function(){return this._delegate.injector},enumerable:!0,configurable:!0}),t.prototype.compileModuleSync=function(t){return this._delegate.compileModuleSync(t)},t.prototype.compileModuleAsync=function(t){return this._delegate.compileModuleAsync(t)},t.prototype.compileModuleAndAllComponentsSync=function(t){return this._delegate.compileModuleAndAllComponentsSync(t)},t.prototype.compileModuleAndAllComponentsAsync=function(t){return this._delegate.compileModuleAndAllComponentsAsync(t)},t.prototype.getNgContentSelectors=function(t){return this._delegate.getNgContentSelectors(t)},t.prototype.clearCache=function(){this._delegate.clearCache()},t.prototype.clearCacheFor=function(t){this._delegate.clearCacheFor(t)},t}(),ly=function(){function t(t,e,n){this._htmlParser=t,this._implicitTags=e,this._implicitAttrs=n,this._messages=[]}return t.prototype.updateFromTemplate=function(t,e,n){var r=this._htmlParser.parse(t,e,!0,n);if(r.errors.length)return r.errors;var i=lt(r.rootNodes,n,this._implicitTags,this._implicitAttrs);if(i.errors.length)return i.errors;(o=this._messages).push.apply(o,i.messages);var o},t.prototype.getMessages=function(){return this._messages},t.prototype.write=function(t){return t.write(this._messages)},t}(),py=function(){function t(t,e,n,r,i){this.options=t,this.host=e,this.staticReflector=n,this.messageBundle=r,this.metadataResolver=i}return t.prototype.extract=function(t){var e=this,n=hi(this.staticReflector,t,this.options),r=li(n,this.options,this.metadataResolver),i=(r.ngModuleByPipeOrDirective,r.files),o=r.ngModules;return Promise.all(o.map(function(t){return e.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){var t=[];if(i.forEach(function(n){var r=[];n.directives.forEach(function(t){var n=e.metadataResolver.getDirectiveMetadata(t);n&&n.isComponent&&r.push(n)}),r.forEach(function(r){var i=r.template.template,o=ka.fromArray(r.template.interpolation);t.push.apply(t,e.messageBundle.updateFromTemplate(i,n.srcUrl,o))})}),t.length)throw new Error(t.map(function(t){return t.toString()}).join("\n"));return e.messageBundle})},t.create=function(n,r){var i=new Jc(new Gc),o=je(),s=new qm(n);Fm.install(s);var a=new lp({genDebugInfo:!1,defaultEncapsulation:e.ViewEncapsulation.Emulated,logBindingUpdate:!1,useJit:!1}),u=new Fp({get:function(t){return n.loadResource(t)}},o,i,a),c=new ef,l=new Cd(new bd(s),new Up(s),new Md(s),new Zm(n,s,r),c,u,s),p=new ly(i,[],{}),h=new t(r,n,s,p,l);return{extractor:h,staticReflector:s}},t}(),hy={get:function(t){throw new Error("No ResourceLoader implementation has been provided. Can't read the url \""+t+'"')}},dy=[{provide:To,useValue:So},{provide:so,useExisting:To},{provide:jp,useValue:hy},Ed,Eo,iu,lu,Gc,{provide:Jc,useFactory:function(t,e,n){return new Jc(t,e,n)},deps:[Gc,[new e.Optional,new e.Inject(e.TRANSLATIONS)],[new e.Optional,new e.Inject(e.TRANSLATIONS_FORMAT)]]},rp,Fp,Cd,Np,jf,vm,Od,_d,{provide:lp,useValue:new lp},ay,{provide:e.Compiler,useExisting:ay},ef,{provide:pl,useExisting:ef},Rp,Up,Md,bd,Yp],fy=function(){function t(t){this._defaultOptions=[{useDebug:e.isDevMode(),useJit:!0,defaultEncapsulation:e.ViewEncapsulation.Emulated}].concat(t)}return t.prototype.createCompiler=function(t){void 0===t&&(t=[]);var n=Oi(this._defaultOptions.concat(t)),r=e.ReflectiveInjector.resolveAndCreate([dy,{provide:lp,useFactory:function(){return new lp({genDebugInfo:n.useDebug,useJit:n.useJit,defaultEncapsulation:n.defaultEncapsulation,logBindingUpdate:n.useDebug})},deps:[]},n.providers]);return r.get(e.Compiler)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:e.Inject,args:[e.COMPILER_OPTIONS]}]}]},t}(),my=e.createPlatformFactory(e.platformCore,"coreDynamic",[{provide:e.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:e.CompilerFactory,useClass:fy},{provide:e.PLATFORM_INITIALIZER,useValue:Pi,multi:!0}]),yy=function(){function t(){}return t.prototype.fileNameToModuleName=function(t,e){},t}();t.VERSION=Ii,t.TextAst=ji,t.BoundTextAst=Ni,t.AttrAst=Ri,t.BoundElementPropertyAst=Hi,t.BoundEventAst=Vi,t.ReferenceAst=Fi,t.VariableAst=Bi,t.ElementAst=Ui,t.EmbeddedTemplateAst=Wi,t.BoundDirectivePropertyAst=zi,t.DirectiveAst=Gi,t.ProviderAst=qi,t.ProviderAstType=Ki,t.NgContentAst=Ji,t.PropertyBindingType=$i,t.templateVisitAll=n,t.TEMPLATE_TRANSFORMS=tp,t.CompilerConfig=lp,t.RenderTypes=pp,t.CompileAnimationEntryMetadata=os,t.CompileAnimationStateMetadata=ss,t.CompileAnimationStateDeclarationMetadata=as,t.CompileAnimationStateTransitionMetadata=us,t.CompileAnimationMetadata=cs,t.CompileAnimationKeyframesSequenceMetadata=ls,t.CompileAnimationStyleMetadata=ps,t.CompileAnimationAnimateMetadata=hs,t.CompileAnimationWithStepsMetadata=ds,t.CompileAnimationSequenceMetadata=fs,t.CompileAnimationGroupMetadata=ms,t.identifierName=w,t.identifierModuleUrl=b,t.CompileSummaryKind=_s,t.tokenName=M,t.tokenReference=E,t.CompileStylesheetMetadata=vs,t.CompileTemplateMetadata=gs,t.CompileDirectiveMetadata=ws,t.createHostComponentMeta=S,t.CompilePipeMetadata=bs,t.CompileNgModuleMetadata=Ms,t.TransitiveCompileNgModuleMetadata=Es,t.ProviderMeta=Ss,t.createAotCompiler=Ei,t.AotCompiler=Vm,t.analyzeNgModules=ci,t.analyzeAndValidateNgModules=li,t.extractProgramSymbols=hi,t.StaticSymbolCache=Gm,t.StaticReflector=qm,t.StaticAndDynamicReflectionCapabilities=Fm,t.StaticSymbol=Zi,t.AotSummaryResolver=Zm,t.JitCompiler=ay,t.COMPILER_PROVIDERS=dy,t.JitCompilerFactory=fy,t.platformCoreDynamic=my,t.createUrlResolverWithoutPackagePrefix=Ie,t.createOfflineCompileUrlResolver=je,t.DEFAULT_PACKAGE_URL_PROVIDER=Np,t.UrlResolver=Rp,t.getUrlScheme=Ne,t.ResourceLoader=jp,t.DirectiveResolver=Up,t.PipeResolver=Md,t.NgModuleResolver=bd,t.DEFAULT_INTERPOLATION_CONFIG=La,t.InterpolationConfig=ka,t.ElementSchemaRegistry=pl,t.Extractor=py,t.I18NHtmlParser=Jc,t.MessageBundle=ly,t.Xliff=Lc,t.Xmb=Nc,t.Xtb=Bc,t.DirectiveNormalizer=Fp,t.TokenType=nu,t.Lexer=iu,t.Token=ou,t.EOF=su,t.isIdentifier=V,t.isQuote=W,t.SplitInterpolation=uu,t.TemplateBindingParseResult=cu,t.Parser=lu,t._ParseAST=pu,t.ERROR_COLLECTOR_TOKEN=Td,t.CompileMetadataResolver=Cd,t.componentModuleUrl=Wn,t.ParseTreeResult=Yu,t.TreeError=Au,t.HtmlParser=Gc,t.NgModuleCompiler=Od,t.DirectiveWrapperCompiler=_d,t.ImportResolver=yy,t.debugOutputAstAsTypeScript=Jn,t.TypeScriptEmitter=zd,t.ParseLocation=du,t.ParseSourceFile=fu,t.ParseSourceSpan=mu,t.ParseErrorLevel=yu,t.ParseError=_u,t.DomElementSchemaRegistry=ef,t.CssSelector=Jo,t.SelectorMatcher=$o,t.SelectorListContext=Zo,t.SelectorContext=Xo,t.StylesCompileDependency=Af,t.StylesCompileResult=Yf,t.CompiledStylesheet=If,t.StyleCompiler=jf,t.TemplateParseError=ep,t.TemplateParseResult=np,t.TemplateParser=rp,t.splitClasses=me,t.createElementCssSelector=ye,t.removeSummaryDuplicates=ve,t.ViewCompiler=vm,t.AnimationParser=Yp})},function(t,e,n){(function(t){!function(t,r){r(e,n(4),n(5))}(this,function(e,n,r){"use strict";function i(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function o(t){return t.name||typeof t}function s(t){return null!=t}function a(t){return null==t}function u(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString(),n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function c(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function l(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function p(t){console.log(t)}function h(t){console.warn(t)}function d(){if(!le)if(ue.Symbol&&Symbol.iterator)le=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e<t.length;++e){var n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(le=n)}return le}function f(t){return!l(t)}function m(t){return"function"==typeof t&&t.hasOwnProperty("annotation")&&(t=t.annotation),t}function y(t,e){if(t===Object||t===String||t===Function||t===Number||t===Array)throw new Error("Can not use native "+u(t)+" as constructor");if("function"==typeof t)return t;if(Array.isArray(t)){var n=t,r=n.length-1,i=t[r];if("function"!=typeof i)throw new Error("Last position of Class method array must be Function in key "+e+" was '"+u(i)+"'");if(r!=i.length)throw new Error("Number of annotations ("+r+") does not match number of arguments ("+i.length+") in the function: "+u(i));for(var o=[],s=0,a=n.length-1;a>s;s++){var c=[];o.push(c);var l=n[s];if(Array.isArray(l))for(var p=0;p<l.length;p++)c.push(m(l[p]));else"function"==typeof l?c.push(m(l)):c.push(l)}return he.defineMetadata("parameters",o,i),i}throw new Error("Only Function or Array is supported in Class definition for key '"+e+"' is '"+u(t)+"'")}function _(t){var e=y(t.hasOwnProperty("constructor")?t.constructor:void 0,"constructor"),n=e.prototype;if(t.hasOwnProperty("extends")){if("function"!=typeof t["extends"])throw new Error("Class definition 'extends' property must be a constructor function was: "+u(t["extends"]));e.prototype=n=Object.create(t["extends"].prototype)}for(var r in t)"extends"!==r&&"prototype"!==r&&t.hasOwnProperty(r)&&(n[r]=y(t[r],r));this&&this.annotations instanceof Array&&he.defineMetadata("annotations",this.annotations,e);var i=e.name;return i&&"constructor"!==i||(e.overriddenName="class"+pe++),e}function v(t,e,n,r){function i(t){if(!he||!he.getOwnMetadata)throw"reflect-metadata shim is required when using class decorators";if(this instanceof i)return o.call(this,t),this;var e=new i(t),n="function"==typeof this&&Array.isArray(this.annotations)?this.annotations:[];n.push(e);var s=function(t){var n=he.getOwnMetadata("annotations",t)||[];return n.push(e),he.defineMetadata("annotations",n,t),t};return s.annotations=n,s.Class=_,r&&r(s),s}void 0===r&&(r=null);var o=g([e]);return n&&(i.prototype=Object.create(n.prototype)),i.prototype.toString=function(){return"@"+t},i.annotationCls=i,i}function g(t){return function(){for(var e=this,n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];t.forEach(function(t,r){var i=n[r];if(Array.isArray(t))e[t[0]]=void 0===i?t[1]:i;else for(var o in t)e[o]=i&&i.hasOwnProperty(o)?i[o]:t[o]})}}function w(t,e,n){function r(){function t(t,e,n){for(var r=he.getOwnMetadata("parameters",t)||[];r.length<=n;)r.push(null);return r[n]=r[n]||[],r[n].push(o),he.defineMetadata("parameters",r,t),t}for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];if(this instanceof r)return i.apply(this,e),this;var o=new((s=r).bind.apply(s,[void 0].concat(e)));return t.annotation=o,t;var s}var i=g(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function b(t,e,n){function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(this instanceof r)return i.apply(this,t),this;var n=new((o=r).bind.apply(o,[void 0].concat(t)));return function(t,e){var r=he.getOwnMetadata("propMetadata",t.constructor)||{};r[e]=r.hasOwnProperty(e)&&r[e]||[],r[e].unshift(n),he.defineMetadata("propMetadata",r,t.constructor)};var o}var i=g(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function M(t){return a(t)||t===ke.Default}function E(t){return t.__forward_ref__=E,t.toString=function(){return u(this())},t}function S(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===E?t():t}function T(){throw new Error("unimplemented")}function C(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}function k(t){if(t.length>1){var e=C(t.slice().reverse()),n=e.map(function(t){return u(t.token)});return" ("+n.join(" -> ")+")"}return""}function L(t){return t?t.map(function(t){var e=t.type,n=e.annotationCls,r=t.args?t.args:[];return new(n.bind.apply(n,[void 0].concat(r)))}):[]}function D(t){var e,n;if(t.useClass){var r=S(t.useClass);e=Tn.factory(r),n=I(r)}else t.useExisting?(e=function(t){return t},n=[Cn.fromKey(yn.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=Y(t.useFactory,t.deps)):(e=function(){return t.useValue},n=kn);return new Dn(e,n)}function x(t){return new Ln(yn.get(t.provide),[D(t)],t.multi)}function P(t){var e=A(t,[]),n=e.map(x),r=O(n,new Map);return Array.from(r.values())}function O(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw new mn(i,r);if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else e.set(r.key.id,r)}else{var s=void 0;s=r.multiProvider?new Ln(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,s)}}return e}function A(t,e){return t.forEach(function(t){if(t instanceof gn)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!(t instanceof Array))throw new hn(t);A(t,e)}}),e}function Y(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return j(t,e,n)})}return I(t)}function I(t){var e=Tn.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw new dn(t,e);return e.map(function(n){return j(t,n,e)})}function j(t,e,n){var r=[],i=null,o=!1;if(!Array.isArray(e))return e instanceof de?N(e.token,o,null,null,r):N(e,o,null,null,r);for(var s=null,a=null,u=0;u<e.length;++u){var c=e[u];c instanceof gn?i=c:c instanceof de?i=c.token:c instanceof fe?o=!0:c instanceof ye?a=c:c instanceof ve?a=c:c instanceof _e&&(s=c)}if(i=S(i),null!=i)return N(i,o,s,a,r);throw new dn(t,n)}function N(t,e,n,r,i){return new Cn(yn.get(t),e,n,r,i)}function R(t,e){for(var n=new Array(t._proto.numberOfProviders),r=0;r<t._proto.numberOfProviders;++r)n[r]=e(t._proto.getProviderAtIndex(r));return n}function H(t){return l(t)?Array.isArray(t)||!(t instanceof Map)&&d()in t:!1}function V(t,e,n){for(var r=t[d()](),i=e[d()]();;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}function F(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[d()](),i=void 0;!(i=r.next()).done;)e(i.value)}function B(t){return!!t&&"function"==typeof t.then}function U(){return""+W()+W()+W()}function W(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function z(){throw new Error("Runtime compiler is not loaded")}function G(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+e+i}function q(t,e){return H(t)&&H(e)?V(t,e,q):H(t)||f(t)||H(e)||f(e)?c(t,e):!0}function K(t,e,n,r,i){return new Lr(""+Br++,t,e,n,r,i)}function J(t,e){e.push(t)}function $(t,e){for(var n="",r=0;2*t>r;r+=2)n=n+e[r]+X(e[r+1]);return n+e[2*t]}function Z(t,e,n,r,i,o,s,a,u,c,l,p,h,d,f,m,y,_,v,g){switch(t){case 1:return e+X(n)+r;case 2:return e+X(n)+r+X(i)+o;case 3:return e+X(n)+r+X(i)+o+X(s)+a;case 4:return e+X(n)+r+X(i)+o+X(s)+a+X(u)+c;case 5:return e+X(n)+r+X(i)+o+X(s)+a+X(u)+c+X(l)+p;case 6:return e+X(n)+r+X(i)+o+X(s)+a+X(u)+c+X(l)+p+X(h)+d;case 7:return e+X(n)+r+X(i)+o+X(s)+a+X(u)+c+X(l)+p+X(h)+d+X(f)+m;case 8:return e+X(n)+r+X(i)+o+X(s)+a+X(u)+c+X(l)+p+X(h)+d+X(f)+m+X(y)+_;case 9:return e+X(n)+r+X(i)+o+X(s)+a+X(u)+c+X(l)+p+X(h)+d+X(f)+m+X(y)+_+X(v)+g;default:throw new Error("Does not support more than 9 expressions")}}function X(t){return null!=t?t.toString():""}function Q(t,e,n){if(t){if(!q(e,n))throw new Rr(e,n);return!1}return!c(e,n)}function tt(t,e){return t}function et(t){var e,n=gr;return function(r){return c(n,r)||(n=r,e=t(r)),e}}function nt(t){var e,n=gr,r=gr;return function(i,o){return c(n,i)&&c(r,o)||(n=i,r=o,e=t(i,o)),e}}function rt(t){var e,n=gr,r=gr,i=gr;return function(o,s,a){return c(n,o)&&c(r,s)&&c(i,a)||(n=o,r=s,i=a,e=t(o,s,a)),e}}function it(t){var e,n,r,i,o;return n=r=i=o=gr,function(s,a,u,l){return c(n,s)&&c(r,a)&&c(i,u)&&c(o,l)||(n=s,r=a,i=u,o=l,e=t(s,a,u,l)),e}}function ot(t){var e,n,r,i,o,s;return n=r=i=o=s=gr,function(a,u,l,p,h){return c(n,a)&&c(r,u)&&c(i,l)&&c(o,p)&&c(s,h)||(n=a,r=u,i=l,o=p,s=h,e=t(a,u,l,p,h)),e}}function st(t){var e,n,r,i,o,s,a;return n=r=i=o=s=a=gr,function(u,l,p,h,d,f){return c(n,u)&&c(r,l)&&c(i,p)&&c(o,h)&&c(s,d)&&c(a,f)||(n=u,r=l,i=p,o=h,s=d,a=f,e=t(u,l,p,h,d,f)),e}}function at(t){var e,n,r,i,o,s,a,u;return n=r=i=o=s=a=u=gr,function(l,p,h,d,f,m,y){return c(n,l)&&c(r,p)&&c(i,h)&&c(o,d)&&c(s,f)&&c(a,m)&&c(u,y)||(n=l,r=p,i=h,o=d,s=f,a=m,u=y,e=t(l,p,h,d,f,m,y)),e}}function ut(t){var e,n,r,i,o,s,a,u,l;return n=r=i=o=s=a=u=l=gr,function(p,h,d,f,m,y,_,v){return c(n,p)&&c(r,h)&&c(i,d)&&c(o,f)&&c(s,m)&&c(a,y)&&c(u,_)&&c(l,v)||(n=p,r=h,i=d,o=f,s=m,a=y,u=_,l=v,e=t(p,h,d,f,m,y,_,v)),e}}function ct(t){var e,n,r,i,o,s,a,u,l,p;return n=r=i=o=s=a=u=l=p=gr,function(h,d,f,m,y,_,v,g,w){return c(n,h)&&c(r,d)&&c(i,f)&&c(o,m)&&c(s,y)&&c(a,_)&&c(u,v)&&c(l,g)&&c(p,w)||(n=h,r=d,i=f,o=m,s=y,a=_,u=v,l=g,p=w,e=t(h,d,f,m,y,_,v,g,w)),e}}function lt(t){var e,n,r,i,o,s,a,u,l,p,h;return n=r=i=o=s=a=u=l=p=h=gr,function(d,f,m,y,_,v,g,w,b,M){return c(n,d)&&c(r,f)&&c(i,m)&&c(o,y)&&c(s,_)&&c(a,v)&&c(u,g)&&c(l,w)&&c(p,b)&&c(h,M)||(n=d,r=f,i=m,o=y,s=_,a=v,u=g,l=w,p=b,h=M,e=t(d,f,m,y,_,v,g,w,b,M)),e}}function pt(t,e,n){Object.keys(n).forEach(function(r){ht(t,e,r,n[r].currentValue)})}function ht(t,e,n,r){try{t.setBindingDebugInfo(e,"ng-reflect-"+dt(n),r?r.toString():null)}catch(i){t.setBindingDebugInfo(e,"ng-reflect-"+dt(n),"[ERROR] Exception while trying to serialize the value")}}function dt(t){return t.replace(zr,function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return"-"+t[1].toLowerCase()})}function ft(t,e,n,r,i){for(var o=t.createElement(e,n,i),s=0;s<r.length;s+=2)t.setElementAttribute(o,r.get(s),r.get(s+1));return o}function mt(t,e,n,r,i){var o;if(s(r)){o=t.selectRootElement(r,i);for(var a=0;a<n.length;a+=2)t.setElementAttribute(o,n.get(a),n.get(a+1));t.setElementAttribute(o,"ng-version",Xe.full)}else o=ft(t,null,e,n,i);return o}function yt(t,e,n,r){for(var i=gt(n.length/2),o=0;o<n.length;o+=2){var s=n.get(o),a=n.get(o+1),u=void 0;u=a?t.renderer.listenGlobal(a,s,r.bind(t,a+":"+s)):t.renderer.listen(e,s,r.bind(t,s)),i.set(o/2,u)}return _t.bind(null,i)}function _t(t){for(var e=0;e<t.length;e++)t.get(e)()}function vt(){}function gt(t){var e;return new(e=2>=t?qr:4>=t?Kr:8>=t?Jr:16>=t?$r:Zr)(t)}function wt(){var t=ce.wtf;return t&&(Ar=t.trace)?(Yr=Ar.events,!0):!1}function bt(t,e){return void 0===e&&(e=null),Yr.createScope(t,e)}function Mt(t,e){return Ar.leaveScope(t,e),e}function Et(t,e){return Ar.beginTimeRange(t,e)}function St(t){Ar.endTimeRange(t)}function Tt(t,e){return null}function Ct(t){_i=t}function kt(){if(wi)throw new Error("Cannot enable prod mode after platform setup.");gi=!1}function Lt(){return wi=!0,gi}function Dt(t){if(Ir&&!Ir.destroyed)throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ir=t.get(Mi);var e=t.get(qn,null);return e&&e.forEach(function(t){return t()}),Ir}function xt(t,e,n){void 0===n&&(n=[]);var r=new ge("Platform: "+e);return function(e){return void 0===e&&(e=[]),At()||(t?t(n.concat(e).concat({provide:r,useValue:!0})):Dt(Nn.resolveAndCreate(n.concat(e).concat({provide:r,useValue:!0})))),Pt(r)}}function Pt(t){var e=At();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 Ot(){Ir&&!Ir.destroyed&&Ir.destroy()}function At(){return Ir&&!Ir.destroyed?Ir:null}function Yt(t,e){try{var n=e();return B(n)?n["catch"](function(e){throw t.handleError(e),e}):n}catch(r){throw t.handleError(r),r}}function It(t,e){var n=Oi.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Oi.set(t,e)}function jt(t){var e=Oi.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function Nt(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function Rt(t){return t.map(function(t){return t.nativeElement})}function Ht(t,e,n){t.childNodes.forEach(function(t){t instanceof Zi&&(e(t)&&n.push(t),Ht(t,e,n))})}function Vt(t,e,n){t instanceof Zi&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Zi&&Vt(t,e,n)})}function Ft(t){return Xi.get(t)}function Bt(t){Xi.set(t.nativeNode,t)}function Ut(t){Xi["delete"](t.nativeNode)}function Wt(){return Tn}function zt(){return Cr}function Gt(){return kr}function qt(t,e){void 0===e&&(e=null);var n=e;if(!s(n)){var r={};n=new Eo([r],1)}return new So(t,n)}function Kt(t){return new ko(t)}function Jt(t){return new Co(t)}function $t(t){var e,n=null;return"string"==typeof t?e=[t]:(e=Array.isArray(t)?t:[t],e.forEach(function(t){var e=t.offset;s(e)&&(n=null==n?parseFloat(e):n)})),new Eo(e,n)}function Zt(t,e){return new go(t,e)}function Xt(t){return new Mo(t)}function Qt(t,e){var n=Array.isArray(e)?new Co(e):e;return new wo(t,n)}function te(t,e){return new _o(t,e)}function ee(t,e,n){void 0===n&&(n=null);var r={};return Object.keys(e).forEach(function(t){var i=e[t];r[t]=i==yo?n:i.toString()}),Object.keys(t).forEach(function(t){s(r[t])||(r[t]=n)}),r}function ne(t,e,n){var r=n.length-1,i=n[0],o=se(i.styles.styles),a={},u=!1;Object.keys(t).forEach(function(e){var n=t[e];o[e]||(o[e]=n,a[e]=n,u=!0)});var c=Fn.merge({},o),l=n[r];l.styles.styles.unshift(e);var p=se(l.styles.styles),h={},d=!1;return Object.keys(c).forEach(function(t){s(p[t])||(h[t]=yo,d=!0)}),d&&l.styles.styles.push(h),Object.keys(p).forEach(function(t){s(o[t])||(a[t]=yo,u=!0)}),u&&i.styles.styles.push(a),ie(t,[e]),n}function re(t){var e={};return Object.keys(t).forEach(function(t){e[t]=null}),e}function ie(t,e){return e.map(function(e){var n={};return Object.keys(e).forEach(function(r){var i=e[r];i==oo&&(i=t[r],s(i)||(i=yo)),t[r]=i,n[r]=i}),n})}function oe(t,e,n){Object.keys(n).forEach(function(r){e.setElementStyle(t,r,n[r])})}function se(t){var e={};return t.forEach(function(t){Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function ae(t,e){t instanceof co||t instanceof fo?t.players.forEach(function(t){return ae(t,e)}):e.push(t)}var ue;ue="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:t:window;var ce=ue;ce.assert=function(t){};var le=null,pe=0,he=ce.Reflect,de=w("Inject",[["token",void 0]]),fe=w("Optional",[]),me=v("Injectable",[]),ye=w("Self",[]),_e=w("SkipSelf",[]),ve=w("Host",[]),ge=function(){function t(t){this._desc=t}return t.prototype.toString=function(){return"Token "+this._desc},t.decorators=[{type:me}],t.ctorParameters=function(){return[null]},t}(),we=new ge("AnalyzeForEntryComponents"),be=w("Attribute",[["attributeName",void 0]]),Me=function(){function t(){}return t}(),Ee=b("ContentChildren",[["selector",void 0],{first:!1,isViewQuery:!1,descendants:!1,read:void 0}],Me),Se=b("ContentChild",[["selector",void 0],{first:!0,isViewQuery:!1,descendants:!0,read:void 0}],Me),Te=b("ViewChildren",[["selector",void 0],{first:!1,isViewQuery:!0,descendants:!0,read:void 0}],Me),Ce=b("ViewChild",[["selector",void 0],{first:!0,isViewQuery:!0,descendants:!0,read:void 0}],Me),ke={};ke.OnPush=0,ke.Default=1,ke[ke.OnPush]="OnPush",ke[ke.Default]="Default";var Le={};Le.CheckOnce=0,Le.Checked=1,Le.CheckAlways=2,Le.Detached=3,Le.Errored=4,Le.Destroyed=5,Le[Le.CheckOnce]="CheckOnce",Le[Le.Checked]="Checked",Le[Le.CheckAlways]="CheckAlways",Le[Le.Detached]="Detached",Le[Le.Errored]="Errored",Le[Le.Destroyed]="Destroyed";var De=v("Directive",{selector:void 0,inputs:void 0,outputs:void 0,host:void 0,providers:void 0,exportAs:void 0,queries:void 0}),xe=v("Component",{selector:void 0,inputs:void 0,outputs:void 0,host:void 0,exportAs:void 0,moduleId:void 0,providers:void 0,viewProviders:void 0,changeDetection:ke.Default,queries:void 0,templateUrl:void 0,template:void 0,styleUrls:void 0,styles:void 0,animations:void 0,encapsulation:void 0,interpolation:void 0,entryComponents:void 0},De),Pe=v("Pipe",{name:void 0,pure:!0}),Oe=b("Input",[["bindingPropertyName",void 0]]),Ae=b("Output",[["bindingPropertyName",void 0]]),Ye=b("HostBinding",[["hostPropertyName",void 0]]),Ie=b("HostListener",[["eventName",void 0],["args",[]]]),je={};je.OnInit=0,je.OnDestroy=1,je.DoCheck=2,je.OnChanges=3,je.AfterContentInit=4,je.AfterContentChecked=5,je.AfterViewInit=6,je.AfterViewChecked=7,je[je.OnInit]="OnInit",je[je.OnDestroy]="OnDestroy",je[je.DoCheck]="DoCheck",je[je.OnChanges]="OnChanges",je[je.AfterContentInit]="AfterContentInit",je[je.AfterContentChecked]="AfterContentChecked",je[je.AfterViewInit]="AfterViewInit",je[je.AfterViewChecked]="AfterViewChecked";var Ne=[je.OnInit,je.OnDestroy,je.DoCheck,je.OnChanges,je.AfterContentInit,je.AfterContentChecked,je.AfterViewInit,je.AfterViewChecked],Re=function(){function t(){}return t.prototype.ngOnChanges=function(t){},t}(),He=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Ve=function(){function t(){}return t.prototype.ngDoCheck=function(){},t}(),Fe=function(){function t(){}return t.prototype.ngOnDestroy=function(){},t}(),Be=function(){function t(){}return t.prototype.ngAfterContentInit=function(){},t}(),Ue=function(){function t(){}return t.prototype.ngAfterContentChecked=function(){},t}(),We=function(){function t(){}return t.prototype.ngAfterViewInit=function(){},t}(),ze=function(){function t(){}return t.prototype.ngAfterViewChecked=function(){},t}(),Ge={name:"custom-elements"},qe={name:"no-errors-schema"},Ke=v("NgModule",{providers:void 0,declarations:void 0,imports:void 0,exports:void 0,entryComponents:void 0,bootstrap:void 0,schemas:void 0,id:void 0}),Je={};Je.Emulated=0,Je.Native=1,Je.None=2,Je[Je.Emulated]="Emulated",Je[Je.Native]="Native",Je[Je.None]="None";var $e=function(){function t(t){var e=void 0===t?{}:t,n=e.templateUrl,r=e.template,i=e.encapsulation,o=e.styles,s=e.styleUrls,a=e.animations,u=e.interpolation;this.templateUrl=n,this.template=r,this.styleUrls=s,this.styles=o,this.encapsulation=i,this.animations=a,this.interpolation=u}return t}(),Ze=function(){function t(t){this.full=t}return Object.defineProperty(t.prototype,"major",{get:function(){return this.full.split(".")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minor",{get:function(){return this.full.split(".")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"patch",{get:function(){return this.full.split(".").slice(2).join(".")},enumerable:!0,configurable:!0}),t}(),Xe=new Ze("2.3.1"),Qe=this&&this.__extends||function(t,e){function n(){this.constructor=t;
}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},tn=function(t){function e(e){t.call(this,e);var n=new Error(e);this._nativeError=n}return Qe(e,t),Object.defineProperty(e.prototype,"message",{get:function(){return this._nativeError.message},set:function(t){this._nativeError.message=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._nativeError.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stack",{get:function(){return this._nativeError.stack},set:function(t){this._nativeError.stack=t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._nativeError.toString()},e}(Error),en=function(t){function e(e,n){t.call(this,e+" caused by: "+(n instanceof Error?n.message:n)),this.originalError=n}return Qe(e,t),Object.defineProperty(e.prototype,"stack",{get:function(){return(this.originalError instanceof Error?this.originalError:this._nativeError).stack},enumerable:!0,configurable:!0}),e}(tn),nn=new Object,rn=nn,on=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=nn),e===nn)throw new Error("No provider for "+u(t)+"!");return e},t}(),sn=function(){function t(){}return t.prototype.get=function(t,e){return T()},t.THROW_IF_NOT_FOUND=nn,t.NULL=new on,t}(),an=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},un=function(t){function e(e,n,r){t.call(this,"DI Error"),this.keys=[n],this.injectors=[e],this.constructResolvingMessage=r,this.message=this.constructResolvingMessage(this.keys)}return an(e,t),e.prototype.addKey=function(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)},e}(tn),cn=function(t){function e(e,n){t.call(this,e,n,function(t){var e=u(t[0].token);return"No provider for "+e+"!"+k(t)})}return an(e,t),e}(un),ln=function(t){function e(e,n){t.call(this,e,n,function(t){return"Cannot instantiate cyclic dependency!"+k(t)})}return an(e,t),e}(un),pn=function(t){function e(e,n,r,i){t.call(this,"DI Error",n),this.keys=[i],this.injectors=[e]}return an(e,t),e.prototype.addKey=function(t,e){this.injectors.push(t),this.keys.push(e)},Object.defineProperty(e.prototype,"message",{get:function(){var t=u(this.keys[0].token);return this.originalError.message+": Error during instantiation of "+t+"!"+k(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),e}(en),hn=function(t){function e(e){t.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+e)}return an(e,t),e}(tn),dn=function(t){function e(n,r){t.call(this,e._genMessage(n,r))}return an(e,t),e._genMessage=function(t,e){for(var n=[],r=0,i=e.length;i>r;r++){var o=e[r];o&&0!=o.length?n.push(o.map(u).join(" ")):n.push("?")}return"Cannot resolve all parameters for '"+u(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+u(t)+"' is decorated with Injectable."},e}(tn),fn=function(t){function e(e){t.call(this,"Index "+e+" is out-of-bounds.")}return an(e,t),e}(tn),mn=function(t){function e(e,n){t.call(this,"Cannot mix multi providers and regular providers, got: "+e.toString()+" "+n.toString())}return an(e,t),e}(tn),yn=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!")}return Object.defineProperty(t.prototype,"displayName",{get:function(){return u(this.token)},enumerable:!0,configurable:!0}),t.get=function(t){return vn.get(S(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return vn.numberOfKeys},enumerable:!0,configurable:!0}),t}(),_n=function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof yn)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new yn(t,yn.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}(),vn=new _n,gn=Function,wn=/^function\s+\S+\(\)\s*{\s*("use strict";)?\s*(return\s+)?\S+\.apply\(this,\s*arguments\)/,bn=function(){function t(t){this._reflect=t||ce.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-0]=arguments[n];return new(t.bind.apply(t,[void 0].concat(e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n="undefined"==typeof t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)"undefined"==typeof t?n[r]=[]:t[r]!=Object?n[r]=[t[r]]:n[r]=[],e&&s(e[r])&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){if(wn.exec(t.toString()))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var n=t.ctorParameters;if(n&&n!==e.ctorParameters){var r="function"==typeof n?n():n,i=r.map(function(t){return t&&t.type}),o=r.map(function(t){return t&&L(t.decorators)});return this._zipTypesAndAnnotations(i,o)}if(s(this._reflect)&&s(this._reflect.getOwnMetadata)){var o=this._reflect.getOwnMetadata("parameters",t),i=this._reflect.getOwnMetadata("design:paramtypes",t);if(i||o)return this._zipTypesAndAnnotations(i,o)}return new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){var e=Object.getPrototypeOf(t.prototype).constructor,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?L(t.decorators):this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("annotations",t):void 0},t.prototype.annotations=function(t){var e=Object.getPrototypeOf(t.prototype).constructor,n=this._ownAnnotations(t,e)||[],r=e!==Object?this.annotations(e):[];return r.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 r=t.propDecorators,i={};return Object.keys(r).forEach(function(t){i[t]=L(r[t])}),i}return this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("propMetadata",t):void 0},t.prototype.propMetadata=function(t){var e=Object.getPrototypeOf(t.prototype).constructor,n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,n[t]),e.push.apply(e,i[t]),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof gn&&e in t.prototype},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){var e="if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n        return o."+t+".apply(o, args);";return new Function("o","args",e)},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+u(t)},t.prototype.resolveIdentifier=function(t,e,n){return n},t.prototype.resolveEnum=function(t,e){return t[e]},t}(),Mn=function(){function t(){}return t.prototype.parameters=function(t){},t.prototype.annotations=function(t){},t.prototype.propMetadata=function(t){},t.prototype.importUri=function(t){},t.prototype.resolveIdentifier=function(t,e,n){},t.prototype.resolveEnum=function(t,e){},t}(),En=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Sn=function(t){function e(e){t.call(this),this.reflectionCapabilities=e}return En(e,t),e.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},e.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},e.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},e.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},e.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},e.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},e.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},e.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},e.prototype.method=function(t){return this.reflectionCapabilities.method(t)},e.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},e.prototype.resolveIdentifier=function(t,e,n){return this.reflectionCapabilities.resolveIdentifier(t,e,n)},e.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},e}(Mn),Tn=new Sn(new bn),Cn=function(){function t(t,e,n,r,i){this.key=t,this.optional=e,this.lowerBoundVisibility=n,this.upperBoundVisibility=r,this.properties=i}return t.fromKey=function(e){return new t(e,!1,null,null,[])},t}(),kn=[],Ln=function(){function t(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n}return Object.defineProperty(t.prototype,"resolvedFactory",{get:function(){return this.resolvedFactories[0]},enumerable:!0,configurable:!0}),t}(),Dn=function(){function t(t,e){this.factory=t,this.dependencies=e}return t}(),xn=10,Pn=new Object,On=function(){function t(t,e){this.provider0=null,this.provider1=null,this.provider2=null,this.provider3=null,this.provider4=null,this.provider5=null,this.provider6=null,this.provider7=null,this.provider8=null,this.provider9=null,this.keyId0=null,this.keyId1=null,this.keyId2=null,this.keyId3=null,this.keyId4=null,this.keyId5=null,this.keyId6=null,this.keyId7=null,this.keyId8=null,this.keyId9=null;var n=e.length;n>0&&(this.provider0=e[0],this.keyId0=e[0].key.id),n>1&&(this.provider1=e[1],this.keyId1=e[1].key.id),n>2&&(this.provider2=e[2],this.keyId2=e[2].key.id),n>3&&(this.provider3=e[3],this.keyId3=e[3].key.id),n>4&&(this.provider4=e[4],this.keyId4=e[4].key.id),n>5&&(this.provider5=e[5],this.keyId5=e[5].key.id),n>6&&(this.provider6=e[6],this.keyId6=e[6].key.id),n>7&&(this.provider7=e[7],this.keyId7=e[7].key.id),n>8&&(this.provider8=e[8],this.keyId8=e[8].key.id),n>9&&(this.provider9=e[9],this.keyId9=e[9].key.id)}return t.prototype.getProviderAtIndex=function(t){if(0==t)return this.provider0;if(1==t)return this.provider1;if(2==t)return this.provider2;if(3==t)return this.provider3;if(4==t)return this.provider4;if(5==t)return this.provider5;if(6==t)return this.provider6;if(7==t)return this.provider7;if(8==t)return this.provider8;if(9==t)return this.provider9;throw new fn(t)},t.prototype.createInjectorStrategy=function(t){return new In(t,this)},t}(),An=function(){function t(t,e){this.providers=e;var n=e.length;this.keyIds=new Array(n);for(var r=0;n>r;r++)this.keyIds[r]=e[r].key.id}return t.prototype.getProviderAtIndex=function(t){if(0>t||t>=this.providers.length)throw new fn(t);return this.providers[t]},t.prototype.createInjectorStrategy=function(t){return new jn(this,t)},t}(),Yn=function(){function t(t){this.numberOfProviders=t.length,this._strategy=t.length>xn?new An(this,t):new On(this,t)}return t.fromResolvedProviders=function(e){return new t(e)},t.prototype.getProviderAtIndex=function(t){return this._strategy.getProviderAtIndex(t)},t}(),In=function(){function t(t,e){this.injector=t,this.protoStrategy=e,this.obj0=Pn,this.obj1=Pn,this.obj2=Pn,this.obj3=Pn,this.obj4=Pn,this.obj5=Pn,this.obj6=Pn,this.obj7=Pn,this.obj8=Pn,this.obj9=Pn}return t.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},t.prototype.instantiateProvider=function(t){return this.injector._new(t)},t.prototype.getObjByKeyId=function(t){var e=this.protoStrategy,n=this.injector;return e.keyId0===t?(this.obj0===Pn&&(this.obj0=n._new(e.provider0)),this.obj0):e.keyId1===t?(this.obj1===Pn&&(this.obj1=n._new(e.provider1)),this.obj1):e.keyId2===t?(this.obj2===Pn&&(this.obj2=n._new(e.provider2)),this.obj2):e.keyId3===t?(this.obj3===Pn&&(this.obj3=n._new(e.provider3)),this.obj3):e.keyId4===t?(this.obj4===Pn&&(this.obj4=n._new(e.provider4)),this.obj4):e.keyId5===t?(this.obj5===Pn&&(this.obj5=n._new(e.provider5)),this.obj5):e.keyId6===t?(this.obj6===Pn&&(this.obj6=n._new(e.provider6)),this.obj6):e.keyId7===t?(this.obj7===Pn&&(this.obj7=n._new(e.provider7)),this.obj7):e.keyId8===t?(this.obj8===Pn&&(this.obj8=n._new(e.provider8)),this.obj8):e.keyId9===t?(this.obj9===Pn&&(this.obj9=n._new(e.provider9)),this.obj9):Pn},t.prototype.getObjAtIndex=function(t){if(0==t)return this.obj0;if(1==t)return this.obj1;if(2==t)return this.obj2;if(3==t)return this.obj3;if(4==t)return this.obj4;if(5==t)return this.obj5;if(6==t)return this.obj6;if(7==t)return this.obj7;if(8==t)return this.obj8;if(9==t)return this.obj9;throw new fn(t)},t.prototype.getMaxNumberOfObjects=function(){return xn},t}(),jn=function(){function t(t,e){this.protoStrategy=t,this.injector=e,this.objs=new Array(t.providers.length).fill(Pn)}return t.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},t.prototype.instantiateProvider=function(t){return this.injector._new(t)},t.prototype.getObjByKeyId=function(t){for(var e=this.protoStrategy,n=0;n<e.keyIds.length;n++)if(e.keyIds[n]===t)return this.objs[n]===Pn&&(this.objs[n]=this.injector._new(e.providers[n])),this.objs[n];return Pn},t.prototype.getObjAtIndex=function(t){if(0>t||t>=this.objs.length)throw new fn(t);return this.objs[t]},t.prototype.getMaxNumberOfObjects=function(){return this.objs.length},t}(),Nn=function(){function t(){}return t.resolve=function(t){return P(t)},t.resolveAndCreate=function(e,n){void 0===n&&(n=null);var r=t.resolve(e);return t.fromResolvedProviders(r,n)},t.fromResolvedProviders=function(t,e){return void 0===e&&(e=null),new Rn(Yn.fromResolvedProviders(t),e)},Object.defineProperty(t.prototype,"parent",{get:function(){return T()},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){return T()},t.prototype.createChildFromResolved=function(t){return T()},t.prototype.resolveAndInstantiate=function(t){return T()},t.prototype.instantiateResolved=function(t){return T()},t.prototype.get=function(t,e){},t}(),Rn=function(){function t(t,e){void 0===e&&(e=null),this._constructionCounter=0,this._proto=t,this._parent=e,this._strategy=t._strategy.createInjectorStrategy(this)}return t.prototype.get=function(t,e){return void 0===e&&(e=rn),this._getByKey(yn.get(t),null,null,e)},t.prototype.getAt=function(t){return this._strategy.getObjAtIndex(t)},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"internalStrategy",{get:function(){return this._strategy},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){var e=Nn.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new Yn(e),r=new t(n);return r._parent=this,r},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(Nn.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype._new=function(t){if(this._constructionCounter++>this._strategy.getMaxNumberOfObjects())throw new ln(this,t.key);return this._instantiateProvider(t)},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,i,o,s,a,u,c,l,p,h,d,f,m,y,_,v,g,w,b,M=e.factory,E=e.dependencies,S=E.length;try{n=S>0?this._getByReflectiveDependency(t,E[0]):null,r=S>1?this._getByReflectiveDependency(t,E[1]):null,i=S>2?this._getByReflectiveDependency(t,E[2]):null,o=S>3?this._getByReflectiveDependency(t,E[3]):null,s=S>4?this._getByReflectiveDependency(t,E[4]):null,a=S>5?this._getByReflectiveDependency(t,E[5]):null,u=S>6?this._getByReflectiveDependency(t,E[6]):null,c=S>7?this._getByReflectiveDependency(t,E[7]):null,l=S>8?this._getByReflectiveDependency(t,E[8]):null,p=S>9?this._getByReflectiveDependency(t,E[9]):null,h=S>10?this._getByReflectiveDependency(t,E[10]):null,d=S>11?this._getByReflectiveDependency(t,E[11]):null,f=S>12?this._getByReflectiveDependency(t,E[12]):null,m=S>13?this._getByReflectiveDependency(t,E[13]):null,y=S>14?this._getByReflectiveDependency(t,E[14]):null,_=S>15?this._getByReflectiveDependency(t,E[15]):null,v=S>16?this._getByReflectiveDependency(t,E[16]):null,g=S>17?this._getByReflectiveDependency(t,E[17]):null,w=S>18?this._getByReflectiveDependency(t,E[18]):null,b=S>19?this._getByReflectiveDependency(t,E[19]):null}catch(T){throw(T instanceof un||T instanceof pn)&&T.addKey(this,t.key),T}var C;try{switch(S){case 0:C=M();break;case 1:C=M(n);break;case 2:C=M(n,r);break;case 3:C=M(n,r,i);break;case 4:C=M(n,r,i,o);break;case 5:C=M(n,r,i,o,s);break;case 6:C=M(n,r,i,o,s,a);break;case 7:C=M(n,r,i,o,s,a,u);break;case 8:C=M(n,r,i,o,s,a,u,c);break;case 9:C=M(n,r,i,o,s,a,u,c,l);break;case 10:C=M(n,r,i,o,s,a,u,c,l,p);break;case 11:C=M(n,r,i,o,s,a,u,c,l,p,h);break;case 12:C=M(n,r,i,o,s,a,u,c,l,p,h,d);break;case 13:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f);break;case 14:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f,m);break;case 15:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f,m,y);break;case 16:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f,m,y,_);break;case 17:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f,m,y,_,v);break;case 18:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f,m,y,_,v,g);break;case 19:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f,m,y,_,v,g,w);break;case 20:C=M(n,r,i,o,s,a,u,c,l,p,h,d,f,m,y,_,v,g,w,b);break;default:throw new Error("Cannot instantiate '"+t.key.displayName+"' because it has more than 20 dependencies")}}catch(T){throw new pn(this,T,T.stack,t.key)}return C},t.prototype._getByReflectiveDependency=function(t,e){return this._getByKey(e.key,e.lowerBoundVisibility,e.upperBoundVisibility,e.optional?null:rn)},t.prototype._getByKey=function(t,e,n,r){return t===Hn?this:n instanceof ye?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,e)},t.prototype._throwOrNull=function(t,e){if(e!==rn)return e;throw new cn(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._strategy.getObjByKeyId(t.id);return n!==Pn?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var i;for(i=r instanceof _e?this._parent:this;i instanceof t;){var o=i,s=o._strategy.getObjByKeyId(e.id);if(s!==Pn)return s;i=o._parent}return null!==i?i.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){var t=R(this,function(t){return' "'+t.key.displayName+'" '}).join(", ");return"ReflectiveInjector(providers: ["+t+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t}(),Hn=yn.get(sn),Vn=function(){function t(t){void 0===t&&(t=!0),this._console=console,this.rethrowError=t}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findOriginalStack(t),r=this._findContext(t);if(this._console.error("EXCEPTION: "+this._extractMessage(t)),e&&this._console.error("ORIGINAL EXCEPTION: "+this._extractMessage(e)),n&&(this._console.error("ORIGINAL STACKTRACE:"),this._console.error(n)),r&&(this._console.error("ERROR CONTEXT:"),this._console.error(r)),this.rethrowError)throw t},t.prototype._extractMessage=function(t){return t instanceof Error?t.message:t.toString()},t.prototype._findContext=function(t){return t?t.context?t.context:this._findContext(t.originalError):null},t.prototype._findOriginalError=function(t){for(var e=t.originalError;e&&e.originalError;)e=e.originalError;return e},t.prototype._findOriginalStack=function(t){if(!(t instanceof Error))return null;for(var e=t,n=e.stack;e instanceof Error&&e.originalError;)e=e.originalError,e instanceof Error&&e.stack&&(n=e.stack);return n},t}(),Fn=function(){function t(){}return t.merge=function(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];n[o]=t[o]}for(var s=0,a=Object.keys(e);s<a.length;s++){var o=a[s];n[o]=e[o]}return n},t.equals=function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(t[o]!==e[o])return!1}return!0},t}(),Bn=function(){function t(){}return t.findLast=function(t,e){for(var n=t.length-1;n>=0;n--)if(e(t[n]))return t[n];return null},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);r>-1&&t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1?(t.splice(n,1),!0):!1},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0},t.flatten=function(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t.flatten(n):n;return e.concat(r)},[])},t}(),Un=new ge("Application Initializer"),Wn=function(){function t(t){var e=this;this._done=!1;var n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r]();B(i)&&n.push(i)}this._donePromise=Promise.all(n).then(function(){e._done=!0}),0===n.length&&(this._done=!0)}return Object.defineProperty(t.prototype,"done",{get:function(){return this._done},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"donePromise",{get:function(){return this._donePromise},enumerable:!0,configurable:!0}),t.decorators=[{type:me}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:de,args:[Un]},{type:fe}]}]},t}(),zn=new ge("AppId"),Gn={provide:zn,useFactory:U,deps:[]},qn=new ge("Platform Initializer"),Kn=new ge("appBootstrapListener"),Jn=new ge("Application Packages Root URL"),$n=function(){function t(){}return t.prototype.log=function(t){p(t)},t.prototype.warn=function(t){h(t)},t.decorators=[{type:me}],t.ctorParameters=function(){return[]},t}(),Zn=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Xn=function(t){function e(e){t.call(this,"Can't compile synchronously as "+u(e)+" is still being loaded!"),this.compType=e}return Zn(e,t),e}(tn),Qn=function(){function t(t,e){this.ngModuleFactory=t,this.componentFactories=e}return t}(),tr=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw z()},t.prototype.compileModuleAsync=function(t){throw z()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw z()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw z()},t.prototype.getNgContentSelectors=function(t){throw z()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}(),er=new ge("compilerOptions"),nr=function(){function t(){}return t.prototype.createCompiler=function(t){},t}(),rr=function(){function t(t){this.nativeElement=t}return t}(),ir=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},or=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return ir(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};return e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,i,o,s)},e}(n.Subject),sr=function(){function t(t){var e=t.enableLongStackTrace,n=void 0===e?!1:e;if(this._hasPendingMicrotasks=!1,this._hasPendingMacrotasks=!1,this._isStable=!0,this._nesting=0,this._onUnstable=new or(!1),this._onMicrotaskEmpty=new or(!1),this._onStable=new or(!1),this._onErrorEvents=new or(!1),"undefined"==typeof Zone)throw new Error("Angular requires Zone.js prolyfill.");Zone.assertZonePatched(),this.outer=this.inner=Zone.current,Zone.wtfZoneSpec&&(this.inner=this.inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this.inner=this.inner.fork(Zone.longStackTraceZoneSpec)),this.forkInnerZoneWithAngularBehavior()}return t.isInAngularZone=function(){return Zone.current.get("isAngularZone")===!0},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){return this.inner.run(t)},t.prototype.runGuarded=function(t){return this.inner.runGuarded(t)},t.prototype.runOutsideAngular=function(t){return this.outer.run(t)},Object.defineProperty(t.prototype,"onUnstable",{get:function(){return this._onUnstable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onMicrotaskEmpty",{get:function(){return this._onMicrotaskEmpty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onStable",{get:function(){return this._onStable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onError",{get:function(){return this._onErrorEvents},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPendingMicrotasks",{get:function(){return this._hasPendingMicrotasks},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPendingMacrotasks",{get:function(){return this._hasPendingMacrotasks},enumerable:!0,configurable:!0}),t.prototype.checkStable=function(){var t=this;if(0==this._nesting&&!this._hasPendingMicrotasks&&!this._isStable)try{this._nesting++,this._onMicrotaskEmpty.emit(null)}finally{if(this._nesting--,!this._hasPendingMicrotasks)try{this.runOutsideAngular(function(){return t._onStable.emit(null)})}finally{this._isStable=!0}}},t.prototype.forkInnerZoneWithAngularBehavior=function(){var t=this;this.inner=this.inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,i,o,s){try{return t.onEnter(),e.invokeTask(r,i,o,s)}finally{t.onLeave()}},onInvoke:function(e,n,r,i,o,s,a){try{return t.onEnter(),e.invoke(r,i,o,s,a)}finally{t.onLeave()}},onHasTask:function(e,n,r,i){e.hasTask(r,i),n===r&&("microTask"==i.change?t.setHasMicrotask(i.microTask):"macroTask"==i.change&&t.setHasMacrotask(i.macroTask))},onHandleError:function(e,n,r,i){return e.handleError(r,i),t.triggerError(i),!1}})},t.prototype.onEnter=function(){this._nesting++,this._isStable&&(this._isStable=!1,this._onUnstable.emit(null))},t.prototype.onLeave=function(){this._nesting--,this.checkStable()},t.prototype.setHasMicrotask=function(t){this._hasPendingMicrotasks=t,this.checkStable()},t.prototype.setHasMacrotask=function(t){this._hasPendingMacrotasks=t},t.prototype.triggerError=function(t){this._onErrorEvents.emit(t)},t}(),ar=function(){function t(t){this._zone=t,this.entries=[]}return t.prototype.enqueue=function(t){this.entries.push(t)},t.prototype.flush=function(){var t=this;this.entries.length&&this._zone.runOutsideAngular(function(){Promise.resolve(null).then(function(){return t._triggerAnimations()})})},t.prototype._triggerAnimations=function(){for(sr.assertNotInAngularZone();this.entries.length;){var t=this.entries.shift();t.hasStarted()||t.play()}},t.decorators=[{type:me}],t.ctorParameters=function(){return[{type:sr}]},t}(),ur=function(){function t(){}return t.prototype.supports=function(t){return H(t)},t.prototype.create=function(t,e){return new lr(e)},t}(),cr=function(t,e){return e},lr=function(){function t(t){this._trackByFn=t,this._length=null,this._collection=null,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=this._trackByFn||cr}return Object.defineProperty(t.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),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,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex<G(n,r,i)?e:n,s=G(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);var u=s-r,c=a-r;if(u!=c){for(var l=0;u>l;l++){var p=l<i.length?i[l]:i[l]=0,h=p+l;h>=c&&u>h&&(i[l]=p+1)}var d=o.previousIndex;i[d]=c-u}}s!==a&&t(o,s,a)}},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(a(t)&&(t=[]),!H(t))throw new Error("Error trying to diff '"+t+"'");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,i,o=this._itHead,s=!1;if(Array.isArray(t)){var a=t;this._length=t.length;for(var u=0;u<this._length;u++)r=a[u],i=this._trackByFn(u,r),null!==o&&c(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,u)),c(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,u),s=!0),o=o._next}else n=0,F(t,function(t){i=e._trackByFn(n,t),null!==o&&c(o.trackById,i)?(s&&(o=e._verifyReinsertion(o,t,i,n)),c(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,i,n),s=!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,r){var i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),t=null===this._linkedRecords?null:this._linkedRecords.get(n,r),null!==t?(c(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n),null!==t?(c(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new pr(e,n),i,r)),t},t.prototype._verifyReinsertion=function(t,e,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,
this._addToMoves(t,r)),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 r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,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),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new dr),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:(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new dr),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t},t.prototype.toString=function(){var t=[];this.forEachItem(function(e){return t.push(e)});var e=[];this.forEachPreviousItem(function(t){return e.push(t)});var n=[];this.forEachAddedItem(function(t){return n.push(t)});var r=[];this.forEachMovedItem(function(t){return r.push(t)});var i=[];this.forEachRemovedItem(function(t){return i.push(t)});var o=[];return this.forEachIdentityChange(function(t){return o.push(t)}),"collection: "+t.join(", ")+"\nprevious: "+e.join(", ")+"\nadditions: "+n.join(", ")+"\nmoves: "+r.join(", ")+"\nremovals: "+i.join(", ")+"\nidentityChanges: "+o.join(", ")+"\n"},t}(),pr=function(){function t(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}return t.prototype.toString=function(){return this.previousIndex===this.currentIndex?u(this.item):u(this.item)+"["+u(this.previousIndex)+"->"+u(this.currentIndex)+"]"},t}(),hr=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)&&c(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}(),dr=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 hr,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){void 0===e&&(e=null);var n=t,r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById,n=this.map.get(e);return n.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.prototype.toString=function(){return"_DuplicateMap("+u(this.map)+")"},t}(),fr=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||l(t)},t.prototype.create=function(t){return new mr},t}(),mr=function(){function t(){this._records=new Map,this._mapHead=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||l(t)))throw new Error("Error trying to diff '"+t+"'")}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._records,r=this._mapHead,i=null,o=null,s=!1;return this._forEach(t,function(t,a){var u;r&&a===r.key?(u=r,e._maybeAddToChanges(u,t)):(s=!0,null!==r&&(e._removeFromSeq(i,r),e._addToRemovals(r)),n.has(a)?(u=n.get(a),e._maybeAddToChanges(u,t)):(u=new yr(a),n.set(a,u),u.currentValue=t,e._addToAdditions(u))),s&&(e._isInRemovals(u)&&e._removeFromRemovals(u),null==o?e._mapHead=u:o._next=u),i=r,o=u,r=r&&r._next}),this._truncate(i,r),this.isDirty},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(t=this._previousMapHead=this._mapHead;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=this._removalsTail=null}},t.prototype._truncate=function(t,e){for(;null!==e;){null===t?this._mapHead=null:t._next=null;var n=e._next;this._addToRemovals(e),t=e,e=n}for(var r=this._removalsHead;null!==r;r=r._nextRemoved)r.previousValue=r.currentValue,r.currentValue=null,this._records["delete"](r.key)},t.prototype._maybeAddToChanges=function(t,e){c(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._isInRemovals=function(t){return t===this._removalsHead||null!==t._nextRemoved||null!==t._prevRemoved},t.prototype._addToRemovals=function(t){null===this._removalsHead?this._removalsHead=this._removalsTail=t:(this._removalsTail._nextRemoved=t,t._prevRemoved=this._removalsTail,this._removalsTail=t)},t.prototype._removeFromSeq=function(t,e){var n=e._next;null===t?this._mapHead=n:t._next=n,e._next=null},t.prototype._removeFromRemovals=function(t){var e=t._prevRemoved,n=t._nextRemoved;null===e?this._removalsHead=n:e._nextRemoved=n,null===n?this._removalsTail=e:n._prevRemoved=e,t._prevRemoved=t._nextRemoved=null},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.toString=function(){var t,e=[],n=[],r=[],i=[],o=[];for(t=this._mapHead;null!==t;t=t._next)e.push(u(t));for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n.push(u(t));for(t=this._changesHead;null!==t;t=t._nextChanged)r.push(u(t));for(t=this._additionsHead;null!==t;t=t._nextAdded)i.push(u(t));for(t=this._removalsHead;null!==t;t=t._nextRemoved)o.push(u(t));return"map: "+e.join(", ")+"\nprevious: "+n.join(", ")+"\nadditions: "+i.join(", ")+"\nchanges: "+r.join(", ")+"\nremovals: "+o.join(", ")+"\n"},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),yr=function(){function t(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._nextAdded=null,this._nextRemoved=null,this._prevRemoved=null,this._nextChanged=null}return t.prototype.toString=function(){return c(this.previousValue,this.currentValue)?u(this.key):u(this.key)+"["+u(this.previousValue)+"->"+u(this.currentValue)+"]"},t}(),_r=function(){function t(t){this.factories=t}return t.create=function(e,n){if(s(n)){var r=n.factories.slice();return e=e.concat(r),new t(e)}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 _e,new fe]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(s(e))return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+o(t)+"'")},t}(),vr=function(){function t(t){this.factories=t}return t.create=function(e,n){if(s(n)){var r=n.factories.slice();return e=e.concat(r),new t(e)}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 _e,new fe]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(s(e))return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),gr={toString:function(){return"CD_INIT_VALUE"}},wr=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),br=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof wr?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),Mr=function(){function t(t,e){this.previousValue=t,this.currentValue=e}return t.prototype.isFirstChange=function(){return this.previousValue===gr},t}(),Er=function(){function t(){}return t.prototype.markForCheck=function(){},t.prototype.detach=function(){},t.prototype.detectChanges=function(){},t.prototype.checkNoChanges=function(){},t.prototype.reattach=function(){},t}(),Sr=[new fr],Tr=[new ur],Cr=new _r(Tr),kr=new vr(Sr),Lr=function(){function t(t,e,n,r,i,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o}return t}(),Dr=function(){function t(){}return Object.defineProperty(t.prototype,"injector",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return T()},enumerable:!0,configurable:!0}),t}(),xr=function(){function t(){}return t.prototype.selectRootElement=function(t,e){},t.prototype.createElement=function(t,e,n){},t.prototype.createViewRoot=function(t){},t.prototype.createTemplateAnchor=function(t,e){},t.prototype.createText=function(t,e,n){},t.prototype.projectNodes=function(t,e){},t.prototype.attachViewAfter=function(t,e){},t.prototype.detachView=function(t){},t.prototype.destroyView=function(t,e){},t.prototype.listen=function(t,e,n){},t.prototype.listenGlobal=function(t,e,n){},t.prototype.setElementProperty=function(t,e,n){},t.prototype.setElementAttribute=function(t,e,n){},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){},t.prototype.setElementStyle=function(t,e,n){},t.prototype.invokeElementMethod=function(t,e,n){},t.prototype.setText=function(t,e){},t.prototype.animate=function(t,e,n,r,i,o,s){},t}(),Pr=function(){function t(){}return t.prototype.renderComponent=function(t){},t}(),Or={};Or.NONE=0,Or.HTML=1,Or.STYLE=2,Or.SCRIPT=3,Or.URL=4,Or.RESOURCE_URL=5,Or[Or.NONE]="NONE",Or[Or.HTML]="HTML",Or[Or.STYLE]="STYLE",Or[Or.SCRIPT]="SCRIPT",Or[Or.URL]="URL",Or[Or.RESOURCE_URL]="RESOURCE_URL";var Ar,Yr,Ir,jr=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),Nr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Rr=function(t){function e(e,n){var r="Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";e===gr&&(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 ?"),t.call(this,r)}return Nr(e,t),e}(tn),Hr=function(t){function e(e,n){t.call(this,"Error in "+n.source,e),this.context=n}return Nr(e,t),e}(en),Vr=function(t){function e(e){t.call(this,"Attempt to use a destroyed view: "+e)}return Nr(e,t),e}(tn),Fr=function(){function t(t,e,n){this._renderer=t,this.animationQueue=n,this._nextCompTypeId=0,this.sanitizer=e}return t.prototype.renderComponent=function(t){return this._renderer.renderComponent(t)},t.decorators=[{type:me}],t.ctorParameters=function(){return[{type:Pr},{type:jr},{type:ar}]},t}(),Br=0,Ur=[],Wr={},zr=/([A-Z])/g,Gr=function(){function t(){this.length=0}return t.prototype.get=function(t){return void 0},t.prototype.set=function(t,e){},t}(),qr=function(){function t(t,e,n){this.length=t,this._v0=e,this._v1=n}return t.prototype.get=function(t){switch(t){case 0:return this._v0;case 1:return this._v1;default:return void 0}},t.prototype.set=function(t,e){switch(t){case 0:this._v0=e;break;case 1:this._v1=e}},t}(),Kr=function(){function t(t,e,n,r,i){this.length=t,this._v0=e,this._v1=n,this._v2=r,this._v3=i}return t.prototype.get=function(t){switch(t){case 0:return this._v0;case 1:return this._v1;case 2:return this._v2;case 3:return this._v3;default:return void 0}},t.prototype.set=function(t,e){switch(t){case 0:this._v0=e;break;case 1:this._v1=e;break;case 2:this._v2=e;break;case 3:this._v3=e}},t}(),Jr=function(){function t(t,e,n,r,i,o,s,a,u){this.length=t,this._v0=e,this._v1=n,this._v2=r,this._v3=i,this._v4=o,this._v5=s,this._v6=a,this._v7=u}return t.prototype.get=function(t){switch(t){case 0:return this._v0;case 1:return this._v1;case 2:return this._v2;case 3:return this._v3;case 4:return this._v4;case 5:return this._v5;case 6:return this._v6;case 7:return this._v7;default:return void 0}},t.prototype.set=function(t,e){switch(t){case 0:this._v0=e;break;case 1:this._v1=e;break;case 2:this._v2=e;break;case 3:this._v3=e;break;case 4:this._v4=e;break;case 5:this._v5=e;break;case 6:this._v6=e;break;case 7:this._v7=e}},t}(),$r=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h,d,f,m,y){this.length=t,this._v0=e,this._v1=n,this._v2=r,this._v3=i,this._v4=o,this._v5=s,this._v6=a,this._v7=u,this._v8=c,this._v9=l,this._v10=p,this._v11=h,this._v12=d,this._v13=f,this._v14=m,this._v15=y}return t.prototype.get=function(t){switch(t){case 0:return this._v0;case 1:return this._v1;case 2:return this._v2;case 3:return this._v3;case 4:return this._v4;case 5:return this._v5;case 6:return this._v6;case 7:return this._v7;case 8:return this._v8;case 9:return this._v9;case 10:return this._v10;case 11:return this._v11;case 12:return this._v12;case 13:return this._v13;case 14:return this._v14;case 15:return this._v15;default:return void 0}},t.prototype.set=function(t,e){switch(t){case 0:this._v0=e;break;case 1:this._v1=e;break;case 2:this._v2=e;break;case 3:this._v3=e;break;case 4:this._v4=e;break;case 5:this._v5=e;break;case 6:this._v6=e;break;case 7:this._v7=e;break;case 8:this._v8=e;break;case 9:this._v9=e;break;case 10:this._v10=e;break;case 11:this._v11=e;break;case 12:this._v12=e;break;case 13:this._v13=e;break;case 14:this._v14=e;break;case 15:this._v15=e}},t}(),Zr=function(){function t(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.length=t,this._values=e}return t.prototype.get=function(t){return this._values[t]},t.prototype.set=function(t,e){this._values[t]=e},t}(),Xr=new Gr,Qr=Object.freeze({ViewUtils:Fr,createRenderComponentType:K,addToArray:J,interpolate:$,inlineInterpolate:Z,checkBinding:Q,castByValue:tt,EMPTY_ARRAY:Ur,EMPTY_MAP:Wr,pureProxy1:et,pureProxy2:nt,pureProxy3:rt,pureProxy4:it,pureProxy5:ot,pureProxy6:st,pureProxy7:at,pureProxy8:ut,pureProxy9:ct,pureProxy10:lt,setBindingDebugInfoForChanges:pt,setBindingDebugInfo:ht,createRenderElement:ft,selectOrCreateRenderHostElement:mt,subscribeToRenderElement:yt,noop:vt,InlineArray2:qr,InlineArray4:Kr,InlineArray8:Jr,InlineArray16:$r,InlineArrayDynamic:Zr,EMPTY_INLINE_ARRAY:Xr}),ti=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ei=function(){function t(){}return Object.defineProperty(t.prototype,"location",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"instance",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostView",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"changeDetectorRef",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return T()},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),ni=function(t){function e(e,n,r,i){t.call(this),this._index=e,this._parentView=n,this._nativeElement=r,this._component=i}return ti(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new rr(this._nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this._parentView.injector(this._index)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"instance",{get:function(){return this._component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostView",{get:function(){return this._parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"changeDetectorRef",{get:function(){return this._parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._parentView.detachAndDestroy()},e.prototype.onDestroy=function(t){this.hostView.onDestroy(t)},e}(ei),ri=function(){function t(t,e,n){this.selector=t,this._viewClass=e,this._componentType=n}return Object.defineProperty(t.prototype,"componentType",{get:function(){return this._componentType},enumerable:!0,configurable:!0}),t.prototype.create=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null);var r=t.get(Fr);e||(e=[]);var i=new this._viewClass(r,null,null,null);return i.createHostView(n,t,e)},t}(),ii=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},oi=function(t){function e(e){t.call(this,"No component factory found for "+u(e)),this.component=e}return ii(e,t),e}(tn),si=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw new oi(t)},t}(),ai=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){},t.NULL=new si,t}(),ui=function(){function t(t,e){this._parent=e,this._factories=new Map;for(var n=0;n<t.length;n++){var r=t[n];this._factories.set(r.componentType,r)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);return e||(e=this._parent.resolveComponentFactory(t)),e},t}(),ci=wt(),li=ci?bt:function(t,e){return Tt},pi=ci?Mt:function(t,e){return e},hi=ci?Et:function(t,e){return null},di=ci?St:function(t){return null},fi=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}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(){sr.assertNotInAngularZone(),i(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;this.isStable()?i(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findBindings=function(t,e,n){return[]},t.prototype.findProviders=function(t,e,n){return[]},t.decorators=[{type:me}],t.ctorParameters=function(){return[{type:sr}]},t}(),mi=function(){function t(){this._applications=new Map,_i.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.getTestability=function(t){return this._applications.get(t)},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),_i.findTestabilityInTree(this,t,e)},t.decorators=[{type:me}],t.ctorParameters=function(){return[]},t}(),yi=function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}(),_i=new yi,vi=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},gi=!0,wi=!1,bi=function(){function t(t,e){this.name=t,this.token=e}return t}(),Mi=function(){function t(){}return t.prototype.bootstrapModuleFactory=function(t){throw T()},t.prototype.bootstrapModule=function(t,e){throw void 0===e&&(e=[]),T()},t.prototype.onDestroy=function(t){},Object.defineProperty(t.prototype,"injector",{get:function(){throw T()},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"destroyed",{get:function(){throw T()},enumerable:!0,configurable:!0}),t}(),Ei=function(t){function e(e){t.call(this),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return vi(e,t),e.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.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},e.prototype.bootstrapModuleFactory=function(t){return this._bootstrapModuleFactoryWithZone(t,null)},e.prototype._bootstrapModuleFactoryWithZone=function(t,e){var n=this;return e||(e=new sr({enableLongStackTrace:Lt()})),e.run(function(){var r=Nn.resolveAndCreate([{provide:sr,useValue:e}],n.injector),i=t.create(r),o=i.injector.get(Vn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(function(){return Bn.remove(n._modules,i)}),e.onError.subscribe({next:function(t){o.handleError(t)}}),Yt(o,function(){var t=i.injector.get(Wn);return t.donePromise.then(function(){return n._moduleDoBootstrap(i),i})})})},e.prototype.bootstrapModule=function(t,e){return void 0===e&&(e=[]),this._bootstrapModuleWithZone(t,e,null)},e.prototype._bootstrapModuleWithZone=function(t,e,n,r){var i=this;void 0===e&&(e=[]);var o=this.injector.get(nr),s=o.createCompiler(Array.isArray(e)?e:[e]);return r?s.compileModuleAndAllComponentsAsync(t).then(function(t){var e=t.ngModuleFactory,o=t.componentFactories;return r(o),i._bootstrapModuleFactoryWithZone(e,n)}):s.compileModuleAsync(t).then(function(t){return i._bootstrapModuleFactoryWithZone(t,n)})},e.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Si);if(t.bootstrapFactories.length>0)t.bootstrapFactories.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+u(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}},e.decorators=[{type:me}],e.ctorParameters=function(){return[{type:sn}]},e}(Mi),Si=function(){function t(){}return t.prototype.bootstrap=function(t){},t.prototype.tick=function(){},Object.defineProperty(t.prototype,"componentTypes",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"components",{get:function(){return T()},enumerable:!0,configurable:!0}),t.prototype.attachView=function(t){T()},t.prototype.detachView=function(t){T()},Object.defineProperty(t.prototype,"viewCount",{get:function(){return T()},enumerable:!0,configurable:!0}),t}(),Ti=function(t){function e(e,n,r,i,o,s,a,u){var c=this;t.call(this),this._zone=e,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=s,this._testabilityRegistry=a,this._testability=u,this._bootstrapListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._enforceNoNewChanges=Lt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run(function(){c.tick()})}})}return vi(e,t),e.prototype.attachView=function(t){var e=t.internalView;this._views.push(e),e.attachToAppRef(this)},e.prototype.detachView=function(t){var e=t.internalView;Bn.remove(this._views,e),e.detach()},e.prototype.bootstrap=function(t){var e=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.");var n;n=t instanceof ri?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(n.componentType);var r=n.create(this._injector,[],n.selector);r.onDestroy(function(){e._unloadComponent(r)});var i=r.injector.get(fi,null);return i&&r.injector.get(mi).registerApplication(r.location.nativeElement,i),this._loadComponent(r),Lt()&&this._console.log("Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode."),r},e.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this._rootComponents.push(t);var e=this._injector.get(Kn,[]).concat(this._bootstrapListeners);e.forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),Bn.remove(this._rootComponents,t)},e.prototype.tick=function(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.ref.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.ref.checkNoChanges()})}finally{this._runningTick=!1,pi(t)}},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),e._tickScope=li("ApplicationRef#tick()"),e.decorators=[{type:me}],e.ctorParameters=function(){return[{type:sr},{type:$n},{type:sn},{type:Vn},{type:ai},{type:Wn},{type:mi,decorators:[{type:fe}]},{type:fi,decorators:[{type:fe}]}]},e}(Si),Ci=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ki=function(){function t(){}return Object.defineProperty(t.prototype,"injector",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"instance",{get:function(){return T()},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),Li=function(){function t(t,e){this._injectorClass=t,this._moduleType=e}return Object.defineProperty(t.prototype,"moduleType",{get:function(){return this._moduleType},enumerable:!0,configurable:!0}),t.prototype.create=function(t){t||(t=sn.NULL);var e=new this._injectorClass(t);return e.create(),e},t}(),Di=new Object,xi=function(t){function e(e,n,r){t.call(this,n,e.get(ai,ai.NULL)),this.parent=e,this.bootstrapFactories=r,this._destroyListeners=[],this._destroyed=!1}return Ci(e,t),e.prototype.create=function(){this.instance=this.createInternal()},e.prototype.createInternal=function(){},e.prototype.get=function(t,e){if(void 0===e&&(e=rn),t===sn||t===ai)return this;var n=this.getInternal(t,Di);return n===Di?this.parent.get(t,e):n},e.prototype.getInternal=function(t,e){},Object.defineProperty(e.prototype,"injector",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+u(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,this.destroyInternal(),this._destroyListeners.forEach(function(t){return t()})},e.prototype.onDestroy=function(t){this._destroyListeners.push(t)},e.prototype.destroyInternal=function(){},e}(ui),Pi=function(){function t(){}return t.prototype.load=function(t){},t}(),Oi=new Map,Ai=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new or}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{
get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),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[d()]=function(){return this._results[d()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=Bn.flatten(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t}(),Yi="#",Ii="NgFactory",ji=function(){function t(){}return t}(),Ni={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ri=function(){function t(t,e){this._compiler=t,this._config=e||Ni}return t.prototype.load=function(t){var e=this._compiler instanceof tr;return e?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,n=t.split(Yi),r=n[0],i=n[1];return void 0===i&&(i="default"),System["import"](r).then(function(t){return t[i]}).then(function(t){return Nt(t,r,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split(Yi),n=e[0],r=e[1],i=Ii;return void 0===r&&(r="default",i=""),System["import"](this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(t){return t[r+i]}).then(function(t){return Nt(t,n,r)})},t.decorators=[{type:me}],t.ctorParameters=function(){return[{type:tr},{type:ji,decorators:[{type:fe}]}]},t}(),Hi=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Vi=function(){function t(){}return Object.defineProperty(t.prototype,"elementRef",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t){},t}(),Fi=function(t){function e(e,n,r){t.call(this),this._parentView=e,this._nodeIndex=n,this._nativeElement=r}return Hi(e,t),e.prototype.createEmbeddedView=function(t){var e=this._parentView.createEmbeddedViewInternal(this._nodeIndex);return e.create(t||{}),e.ref},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new rr(this._nativeElement)},enumerable:!0,configurable:!0}),e}(Vi),Bi=function(){function t(){}return Object.defineProperty(t.prototype,"element",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){return T()},enumerable:!0,configurable:!0}),t.prototype.clear=function(){},t.prototype.get=function(t){},Object.defineProperty(t.prototype,"length",{get:function(){return T()},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){},t.prototype.createComponent=function(t,e,n,r){},t.prototype.insert=function(t,e){},t.prototype.move=function(t,e){},t.prototype.indexOf=function(t){},t.prototype.remove=function(t){},t.prototype.detach=function(t){},t}(),Ui=function(){function t(t){this._element=t,this._createComponentInContainerScope=li("ViewContainerRef#createComponent()"),this._insertScope=li("ViewContainerRef#insert()"),this._removeScope=li("ViewContainerRef#remove()"),this._detachScope=li("ViewContainerRef#detach()")}return t.prototype.get=function(t){return this._element.nestedViews[t].ref},Object.defineProperty(t.prototype,"length",{get:function(){var t=this._element.nestedViews;return s(t)?t.length:0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element.elementRef},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return this._element.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){return this._element.parentInjector},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=-1);var r=t.createEmbeddedView(e);return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r){void 0===e&&(e=-1),void 0===n&&(n=null),void 0===r&&(r=null);var i=this._createComponentInContainerScope(),o=n||this._element.parentInjector,s=t.create(o,r);return this.insert(s.hostView,e),pi(i,s)},t.prototype.insert=function(t,e){void 0===e&&(e=-1);var n=this._insertScope();-1==e&&(e=this.length);var r=t;return this._element.attachView(r.internalView,e),pi(n,r)},t.prototype.move=function(t,e){var n=this._insertScope();if(-1!=e){var r=t;return this._element.moveView(r.internalView,e),pi(n,r)}},t.prototype.indexOf=function(t){return this._element.nestedViews.indexOf(t.internalView)},t.prototype.remove=function(t){void 0===t&&(t=-1);var e=this._removeScope();-1==t&&(t=this.length-1);var n=this._element.detachView(t);n.destroy(),pi(e)},t.prototype.detach=function(t){void 0===t&&(t=-1);var e=this._detachScope();-1==t&&(t=this.length-1);var n=this._element.detachView(t);return pi(e,n.ref)},t.prototype.clear=function(){for(var t=this.length-1;t>=0;t--)this.remove(t)},t}(),Wi=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},zi=function(t){function e(){t.apply(this,arguments)}return Wi(e,t),e.prototype.destroy=function(){},Object.defineProperty(e.prototype,"destroyed",{get:function(){return T()},enumerable:!0,configurable:!0}),e.prototype.onDestroy=function(t){},e}(Er),Gi=function(t){function e(){t.apply(this,arguments)}return Wi(e,t),Object.defineProperty(e.prototype,"context",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootNodes",{get:function(){return T()},enumerable:!0,configurable:!0}),e}(zi),qi=function(){function t(t,e){this._view=t,this.animationQueue=e,this._view=t,this._originalMode=this._view.cdMode}return Object.defineProperty(t.prototype,"internalView",{get:function(){return this._view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootNodes",{get:function(){return this._view.flatRootNodes},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 this._view.destroyed},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){this._view.markPathToRootAsCheckOnce()},t.prototype.detach=function(){this._view.cdMode=Le.Detached},t.prototype.detectChanges=function(){this._view.detectChanges(!1),this.animationQueue.flush()},t.prototype.checkNoChanges=function(){this._view.detectChanges(!0)},t.prototype.reattach=function(){this._view.cdMode=this._originalMode,this.markForCheck()},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._view.detachAndDestroy()},t}(),Ki=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ji=function(){function t(t,e){this.name=t,this.callback=e}return t}(),$i=function(){function t(t,e,n){this._debugInfo=n,this.nativeNode=t,e&&e instanceof Zi?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugInfo?this._debugInfo.injector:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugInfo?this._debugInfo.component:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugInfo?this._debugInfo.context:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugInfo?this._debugInfo.references:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugInfo?this._debugInfo.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return this._debugInfo?this._debugInfo.source:null},enumerable:!0,configurable:!0}),t}(),Zi=function(t){function e(e,n,r){t.call(this,e,n,r),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}return Ki(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=this.childNodes.indexOf(t);if(-1!==n){var r=this.childNodes.slice(0,n+1),i=this.childNodes.slice(n+1);this.childNodes=r.concat(e,i);for(var o=0;o<e.length;++o){var s=e[o];s.parent&&s.parent.removeChild(s),s.parent=this}}},e.prototype.query=function(t){var e=this.queryAll(t);return e[0]||null},e.prototype.queryAll=function(t){var e=[];return Ht(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Vt(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}($i),Xi=new Map,Qi=[Ei,{provide:Mi,useExisting:Ei},{provide:Sn,useFactory:Wt,deps:[]},{provide:Mn,useExisting:Sn},mi,$n],to=xt(null,"core",Qi),eo=new ge("LocaleId"),no=new ge("Translations"),ro=new ge("TranslationsFormat"),io=function(){function t(){}return t.decorators=[{type:Ke,args:[{providers:[Ti,{provide:Si,useExisting:Ti},Wn,tr,Gn,Fr,ar,{provide:_r,useFactory:zt},{provide:vr,useFactory:Gt},{provide:eo,useValue:"en-US"}]}]}],t.ctorParameters=function(){return[]},t}(),oo="true",so="*",ao="*",uo="void",co=function(){function t(t){var e=this;this._players=t,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this.parentPlayer=null;var n=0,r=this._players.length;0==r?i(function(){return e._onFinish()}):this._players.forEach(function(t){t.parentPlayer=e,t.onDone(function(){++n>=r&&e._onFinish()})})}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.onDone=function(t){this._onDoneFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){s(this.parentPlayer)||this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),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._destroyed||(this._onFinish(),this._players.forEach(function(t){return t.destroy()}),this._destroyed=!0)},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){this._players.forEach(function(e){e.setPosition(t)})},t.prototype.getPosition=function(){var t=0;return this._players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},Object.defineProperty(t.prototype,"players",{get:function(){return this._players},enumerable:!0,configurable:!0}),t}(),lo=function(){function t(t,e){this.offset=t,this.styles=e}return t}(),po=function(){function t(){}return t.prototype.onDone=function(t){},t.prototype.onStart=function(t){},t.prototype.init=function(){},t.prototype.hasStarted=function(){},t.prototype.play=function(){},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){},t.prototype.destroy=function(){},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){},Object.defineProperty(t.prototype,"parentPlayer",{get:function(){throw new Error("NOT IMPLEMENTED: Base Class")},set:function(t){throw new Error("NOT IMPLEMENTED: Base Class")},enumerable:!0,configurable:!0}),t}(),ho=function(){function t(){var t=this;this._onDoneFns=[],this._onStartFns=[],this._started=!1,this.parentPlayer=null,i(function(){return t._onFinish()})}return t.prototype._onFinish=function(){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.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]),this._started=!0},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t}(),fo=function(){function t(t){var e=this;this._players=t,this._currentIndex=0,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this.parentPlayer=null,this._players.forEach(function(t){t.parentPlayer=e}),this._onNext(!1)}return t.prototype._onNext=function(t){var e=this;if(!this._finished)if(0==this._players.length)this._activePlayer=new ho,i(function(){return e._onFinish()});else if(this._currentIndex>=this._players.length)this._activePlayer=new ho,this._onFinish();else{var n=this._players[this._currentIndex++];n.onDone(function(){return e._onNext(!0)}),this._activePlayer=n,t&&n.play()}},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.onDone=function(t){this._onDoneFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){s(this.parentPlayer)||this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._activePlayer.play()},t.prototype.pause=function(){this._activePlayer.pause()},t.prototype.restart=function(){this.reset(),this._players.length>0&&this._players[0].restart()},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._destroyed||(this._onFinish(),this._players.forEach(function(t){return t.destroy()}),this._destroyed=!0,this._activePlayer=new ho)},t.prototype.setPosition=function(t){this._players[0].setPosition(t)},t.prototype.getPosition=function(){return this._players[0].getPosition()},Object.defineProperty(t.prototype,"players",{get:function(){return this._players},enumerable:!0,configurable:!0}),t}(),mo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},yo="*",_o=function(){function t(t,e){this.name=t,this.definitions=e}return t}(),vo=function(){function t(){}return t}(),go=function(t){function e(e,n){t.call(this),this.stateNameExpr=e,this.styles=n}return mo(e,t),e}(vo),wo=function(t){function e(e,n){t.call(this),this.stateChangeExpr=e,this.steps=n}return mo(e,t),e}(vo),bo=function(){function t(){}return t}(),Mo=function(t){function e(e){t.call(this),this.steps=e}return mo(e,t),e}(bo),Eo=function(t){function e(e,n){void 0===n&&(n=null),t.call(this),this.styles=e,this.offset=n}return mo(e,t),e}(bo),So=function(t){function e(e,n){t.call(this),this.timings=e,this.styles=n}return mo(e,t),e}(bo),To=function(t){function e(){t.call(this)}return mo(e,t),Object.defineProperty(e.prototype,"steps",{get:function(){throw new Error("NOT IMPLEMENTED: Base Class")},enumerable:!0,configurable:!0}),e}(bo),Co=function(t){function e(e){t.call(this),this._steps=e}return mo(e,t),Object.defineProperty(e.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),e}(To),ko=function(t){function e(e){t.call(this),this._steps=e}return mo(e,t),Object.defineProperty(e.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),e}(To),Lo=function(){function t(t){this.styles=t}return t}(),Do=function(){function t(t){var e=t.fromState,n=t.toState,r=t.totalTime,i=t.phaseName;this.fromState=e,this.toState=n,this.totalTime=r,this.phaseName=i}return t}(),xo=function(){function t(t,e,n,r){this._player=t,this._fromState=e,this._toState=n,this._totalTime=r}return t.prototype._createEvent=function(t){return new Do({fromState:this._fromState,toState:this._toState,totalTime:this._totalTime,phaseName:t})},t.prototype.onStart=function(t){var e=this,n=Zone.current.wrap(function(){return t(e._createEvent("start"))},"player.onStart");this._player.onStart(n)},t.prototype.onDone=function(t){var e=this,n=Zone.current.wrap(function(){return t(e._createEvent("done"))},"player.onDone");this._player.onDone(n)},t}(),Po=function(){function t(t){this._delegate=t}return t.prototype.renderComponent=function(t){return new Oo(this._delegate.renderComponent(t))},t}(),Oo=function(){function t(t){this._delegate=t}return t.prototype.selectRootElement=function(t,e){var n=this._delegate.selectRootElement(t,e),r=new Zi(n,null,e);return Bt(r),n},t.prototype.createElement=function(t,e,n){var r=this._delegate.createElement(t,e,n),i=new Zi(r,Ft(t),n);return i.name=e,Bt(i),r},t.prototype.createViewRoot=function(t){return this._delegate.createViewRoot(t)},t.prototype.createTemplateAnchor=function(t,e){var n=this._delegate.createTemplateAnchor(t,e),r=new $i(n,Ft(t),e);return Bt(r),n},t.prototype.createText=function(t,e,n){var r=this._delegate.createText(t,e,n),i=new $i(r,Ft(t),n);return Bt(i),r},t.prototype.projectNodes=function(t,e){var n=Ft(t);if(s(n)&&n instanceof Zi){var r=n;e.forEach(function(t){r.addChild(Ft(t))})}this._delegate.projectNodes(t,e)},t.prototype.attachViewAfter=function(t,e){var n=Ft(t);if(s(n)){var r=n.parent;if(e.length>0&&s(r)){var i=[];e.forEach(function(t){return i.push(Ft(t))}),r.insertChildrenAfter(n,i)}}this._delegate.attachViewAfter(t,e)},t.prototype.detachView=function(t){t.forEach(function(t){var e=Ft(t);s(e)&&s(e.parent)&&e.parent.removeChild(e)}),this._delegate.detachView(t)},t.prototype.destroyView=function(t,e){e=e||[],e.forEach(function(t){Ut(Ft(t))}),this._delegate.destroyView(t,e)},t.prototype.listen=function(t,e,n){var r=Ft(t);return s(r)&&r.listeners.push(new Ji(e,n)),this._delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this._delegate.listenGlobal(t,e,n)},t.prototype.setElementProperty=function(t,e,n){var r=Ft(t);s(r)&&r instanceof Zi&&(r.properties[e]=n),this._delegate.setElementProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=Ft(t);s(r)&&r instanceof Zi&&(r.attributes[e]=n),this._delegate.setElementAttribute(t,e,n)},t.prototype.setBindingDebugInfo=function(t,e,n){this._delegate.setBindingDebugInfo(t,e,n)},t.prototype.setElementClass=function(t,e,n){var r=Ft(t);s(r)&&r instanceof Zi&&(r.classes[e]=n),this._delegate.setElementClass(t,e,n)},t.prototype.setElementStyle=function(t,e,n){var r=Ft(t);s(r)&&r instanceof Zi&&(r.styles[e]=n),this._delegate.setElementStyle(t,e,n)},t.prototype.invokeElementMethod=function(t,e,n){this._delegate.invokeElementMethod(t,e,n)},t.prototype.setText=function(t,e){this._delegate.setText(t,e)},t.prototype.animate=function(t,e,n,r,i,o,s){return void 0===s&&(s=[]),this._delegate.animate(t,e,n,r,i,o,s)},t}(),Ao={};Ao.HOST=0,Ao.COMPONENT=1,Ao.EMBEDDED=2,Ao[Ao.HOST]="HOST",Ao[Ao.COMPONENT]="COMPONENT",Ao[Ao.EMBEDDED]="EMBEDDED";var Yo=function(){function t(t,e,n){this.providerTokens=t,this.componentToken=e,this.refTokens=n}return t}(),Io=function(){function t(t,e,n,r){this._view=t,this._nodeIndex=e,this._tplRow=n,this._tplCol=r}return Object.defineProperty(t.prototype,"_staticNodeInfo",{get:function(){return s(this._nodeIndex)?this._view.staticNodeDebugInfos[this._nodeIndex]:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){var t=this._staticNodeInfo;return s(t)&&s(t.componentToken)?this.injector.get(t.componentToken):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){for(var t=this._view;s(t.parentView)&&t.type!==Ao.COMPONENT;)t=t.parentView;return t.parentElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return this._view.injector(this._nodeIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return s(this._nodeIndex)&&this._view.allNodes?this._view.allNodes[this._nodeIndex]:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=this._staticNodeInfo;return s(t)?t.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return this._view.componentType.templateUrl+":"+this._tplRow+":"+this._tplCol},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t=this,e={},n=this._staticNodeInfo;if(s(n)){var r=n.refTokens;Object.keys(r).forEach(function(n){var i,o=r[n];i=a(o)?t._view.allNodes?t._view.allNodes[t._nodeIndex]:null:t._view.injectorGet(o,t._nodeIndex,null),e[n]=i})}return e},enumerable:!0,configurable:!0}),t}(),jo=function(){function t(){this._map=new Map,this._allPlayers=[]}return t.prototype.find=function(t,e){var n=this._map.get(t);return s(n)?n[e]:void 0},t.prototype.findAllPlayersByElement=function(t){var e=this._map.get(t);return e?Object.keys(e).map(function(t){return e[t]}):[]},t.prototype.set=function(t,e,n){var r=this._map.get(t);s(r)||(r={});var i=r[e];s(i)&&this.remove(t,e),r[e]=n,this._allPlayers.push(n),this._map.set(t,r)},t.prototype.getAllPlayers=function(){return this._allPlayers},t.prototype.remove=function(t,e,n){void 0===n&&(n=null);var r=this._map.get(t);if(r){var i=r[e];if(!n||i===n){delete r[e];var o=this._allPlayers.indexOf(i);this._allPlayers.splice(o,1),0===Object.keys(r).length&&this._map["delete"](t)}}},t}(),No=function(){function t(t){this._animationQueue=t,this._players=new jo}return t.prototype.onAllActiveAnimationsDone=function(t){var e=this._players.getAllPlayers();e.length?new co(e).onDone(function(){return t()}):t()},t.prototype.queueAnimation=function(t,e,n){var r=this;this._animationQueue.enqueue(n),this._players.set(t,e,n),n.onDone(function(){return r._players.remove(t,e,n)})},t.prototype.getAnimationPlayers=function(t,e){void 0===e&&(e=null);var n=[];if(e){var r=this._players.find(t,e);r&&ae(r,n)}else this._players.findAllPlayersByElement(t).forEach(function(t){return ae(t,n)});return n},t}(),Ro=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ho=function(t){function e(e,n){t.call(this),this._view=e,this._nodeIndex=n}return Ro(e,t),e.prototype.get=function(t,e){return void 0===e&&(e=rn),this._view.injectorGet(t,this._nodeIndex,e)},e}(sn),Vo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Fo=li("AppView#check(ascii id)"),Bo=new Object,Uo=new Object,Wo=function(){function t(t,e,n,r,i,o,s,a,u){void 0===u&&(u=null),this.clazz=t,this.componentType=e,this.type=n,this.viewUtils=r,this.parentView=i,this.parentIndex=o,this.parentElement=s,this.cdMode=a,this.declaredViewContainer=u,this.numberOfChecks=0,this.ref=new qi(this,r.animationQueue),n===Ao.COMPONENT||n===Ao.HOST?this.renderer=r.renderComponent(e):this.renderer=i.renderer,this._directRenderer=this.renderer.directRenderer}return Object.defineProperty(t.prototype,"animationContext",{get:function(){return this._animationContext||(this._animationContext=new No(this.viewUtils.animationQueue)),this._animationContext},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this.cdMode===Le.Destroyed},enumerable:!0,configurable:!0}),t.prototype.create=function(t){return this.context=t,this.createInternal(null)},t.prototype.createHostView=function(t,e,n){return this.context=Bo,this._hasExternalHostElement=s(t),this._hostInjector=e,this._hostProjectableNodes=n,this.createInternal(t)},t.prototype.createInternal=function(t){return null},t.prototype.createEmbeddedViewInternal=function(t){return null},t.prototype.init=function(t,e,n){this.lastRootNode=t,this.allNodes=e,this.disposables=n,this.type===Ao.COMPONENT&&this.dirtyParentQueriesInternal()},t.prototype.injectorGet=function(t,e,n){void 0===n&&(n=rn);for(var r=Uo,i=this;r===Uo;)s(e)&&(r=i.injectorGetInternal(t,e,Uo)),r===Uo&&i.type===Ao.HOST&&(r=i._hostInjector.get(t,n)),e=i.parentIndex,i=i.parentView;return r},t.prototype.injectorGetInternal=function(t,e,n){return n},t.prototype.injector=function(t){return new Ho(this,t)},t.prototype.detachAndDestroy=function(){this.viewContainer?this.viewContainer.detachView(this.viewContainer.nestedViews.indexOf(this)):this.appRef?this.appRef.detachView(this.ref):this._hasExternalHostElement&&this.detach(),this.destroy()},t.prototype.destroy=function(){var t=this;if(this.cdMode!==Le.Destroyed){var e=this.type===Ao.COMPONENT?this.parentElement:null;if(this.disposables)for(var n=0;n<this.disposables.length;n++)this.disposables[n]();this.destroyInternal(),this.dirtyParentQueriesInternal(),this._animationContext?this._animationContext.onAllActiveAnimationsDone(function(){return t.renderer.destroyView(e,t.allNodes)}):this.renderer.destroyView(e,this.allNodes),this.cdMode=Le.Destroyed}},t.prototype.destroyInternal=function(){},t.prototype.detachInternal=function(){},t.prototype.detach=function(){var t=this;if(this.detachInternal(),this._animationContext?this._animationContext.onAllActiveAnimationsDone(function(){return t._renderDetach()}):this._renderDetach(),this.declaredViewContainer&&this.declaredViewContainer!==this.viewContainer&&this.declaredViewContainer.projectedViews){var e=this.declaredViewContainer.projectedViews,n=e.indexOf(this);n>=e.length-1?e.pop():e.splice(n,1)}this.appRef=null,this.viewContainer=null,this.dirtyParentQueriesInternal()},t.prototype._renderDetach=function(){this._directRenderer?this.visitRootNodesInternal(this._directRenderer.remove,null):this.renderer.detachView(this.flatRootNodes)},t.prototype.attachToAppRef=function(t){if(this.viewContainer)throw new Error("This view is already attached to a ViewContainer!");this.appRef=t,this.dirtyParentQueriesInternal()},t.prototype.attachAfter=function(t,e){if(this.appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._renderAttach(t,e),this.viewContainer=t,this.declaredViewContainer&&this.declaredViewContainer!==t&&(this.declaredViewContainer.projectedViews||(this.declaredViewContainer.projectedViews=[]),this.declaredViewContainer.projectedViews.push(this)),this.dirtyParentQueriesInternal()},t.prototype.moveAfter=function(t,e){this._renderAttach(t,e),this.dirtyParentQueriesInternal()},t.prototype._renderAttach=function(t,e){var n=e?e.lastRootNode:t.nativeElement;if(this._directRenderer){var r=this._directRenderer.nextSibling(n);if(r)this.visitRootNodesInternal(this._directRenderer.insertBefore,r);else{var i=this._directRenderer.parentElement(n);i&&this.visitRootNodesInternal(this._directRenderer.appendChild,i)}}else this.renderer.attachViewAfter(n,this.flatRootNodes)},Object.defineProperty(t.prototype,"changeDetectorRef",{get:function(){return this.ref},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"flatRootNodes",{get:function(){var t=[];return this.visitRootNodesInternal(J,t),t},enumerable:!0,configurable:!0}),t.prototype.projectNodes=function(t,e){if(this._directRenderer)this.visitProjectedNodes(e,this._directRenderer.appendChild,t);else{var n=[];this.visitProjectedNodes(e,J,n),this.renderer.projectNodes(t,n)}},t.prototype.visitProjectedNodes=function(t,e,n){switch(this.type){case Ao.EMBEDDED:this.parentView.visitProjectedNodes(t,e,n);break;case Ao.COMPONENT:if(this.parentView.type===Ao.HOST)for(var r=this.parentView._hostProjectableNodes[t]||[],i=0;i<r.length;i++)e(r[i],n);else this.parentView.visitProjectableNodesInternal(this.parentIndex,t,e,n)}},t.prototype.visitRootNodesInternal=function(t,e){},t.prototype.visitProjectableNodesInternal=function(t,e,n,r){},t.prototype.dirtyParentQueriesInternal=function(){},t.prototype.internalDetectChanges=function(t){this.cdMode!==Le.Detached&&this.detectChanges(t)},t.prototype.detectChanges=function(t){var e=Fo(this.clazz);this.cdMode!==Le.Checked&&this.cdMode!==Le.Errored&&(this.cdMode===Le.Destroyed&&this.throwDestroyedError("detectChanges"),this.detectChangesInternal(t),this.cdMode===Le.CheckOnce&&(this.cdMode=Le.Checked),this.numberOfChecks++,pi(e))},t.prototype.detectChangesInternal=function(t){},t.prototype.markAsCheckOnce=function(){this.cdMode=Le.CheckOnce},t.prototype.markPathToRootAsCheckOnce=function(){for(var t=this;s(t)&&t.cdMode!==Le.Detached;)t.cdMode===Le.Checked&&(t.cdMode=Le.CheckOnce),t=t.type===Ao.COMPONENT?t.parentView:t.viewContainer?t.viewContainer.parentView:null},t.prototype.eventHandler=function(t){return t},t.prototype.throwDestroyedError=function(t){throw new Vr(t)},t}(),zo=function(t){function e(e,n,r,i,o,s,a,u,c,l){void 0===l&&(l=null),t.call(this,e,n,r,i,o,s,a,u,l),this.staticNodeDebugInfos=c,this._currentDebugContext=null}return Vo(e,t),e.prototype.create=function(e){this._resetDebug();try{return t.prototype.create.call(this,e)}catch(n){throw this._rethrowWithContext(n),n}},e.prototype.createHostView=function(e,n,r){void 0===r&&(r=null),this._resetDebug();try{return t.prototype.createHostView.call(this,e,n,r)}catch(i){throw this._rethrowWithContext(i),i}},e.prototype.injectorGet=function(e,n,r){this._resetDebug();try{return t.prototype.injectorGet.call(this,e,n,r)}catch(i){throw this._rethrowWithContext(i),i}},e.prototype.detach=function(){this._resetDebug();try{t.prototype.detach.call(this)}catch(e){throw this._rethrowWithContext(e),e}},e.prototype.destroy=function(){this._resetDebug();try{t.prototype.destroy.call(this)}catch(e){throw this._rethrowWithContext(e),e}},e.prototype.detectChanges=function(e){this._resetDebug();try{t.prototype.detectChanges.call(this,e)}catch(n){throw this._rethrowWithContext(n),n}},e.prototype._resetDebug=function(){this._currentDebugContext=null},e.prototype.debug=function(t,e,n){return this._currentDebugContext=new Io(this,t,e,n)},e.prototype._rethrowWithContext=function(t){if(!(t instanceof Hr)&&(t instanceof Rr||(this.cdMode=Le.Errored),s(this._currentDebugContext)))throw new Hr(t,this._currentDebugContext);
},e.prototype.eventHandler=function(e){var n=this,r=t.prototype.eventHandler.call(this,e);return function(t,e){n._resetDebug();try{return r.call(n,t,e)}catch(i){throw n._rethrowWithContext(i),i}}},e}(Wo),Go=function(){function t(t,e,n,r){this.index=t,this.parentIndex=e,this.parentView=n,this.nativeElement=r}return Object.defineProperty(t.prototype,"elementRef",{get:function(){return new rr(this.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vcRef",{get:function(){return new Ui(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){return this.parentView.injector(this.parentIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return this.parentView.injector(this.index)},enumerable:!0,configurable:!0}),t.prototype.detectChangesInNestedViews=function(t){if(this.nestedViews)for(var e=0;e<this.nestedViews.length;e++)this.nestedViews[e].detectChanges(t)},t.prototype.destroyNestedViews=function(){if(this.nestedViews)for(var t=0;t<this.nestedViews.length;t++)this.nestedViews[t].destroy()},t.prototype.visitNestedViewRootNodes=function(t,e){if(this.nestedViews)for(var n=0;n<this.nestedViews.length;n++)this.nestedViews[n].visitRootNodesInternal(t,e)},t.prototype.mapNestedViews=function(t,e){var n=[];if(this.nestedViews)for(var r=0;r<this.nestedViews.length;r++){var i=this.nestedViews[r];i.clazz===t&&n.push(e(i))}if(this.projectedViews)for(var r=0;r<this.projectedViews.length;r++){var o=this.projectedViews[r];o.clazz===t&&n.push(e(o))}return n},t.prototype.moveView=function(t,e){var n=this.nestedViews.indexOf(t);if(t.type===Ao.COMPONENT)throw new Error("Component views can't be moved!");var r=this.nestedViews;null==r&&(r=[],this.nestedViews=r),r.splice(n,1),r.splice(e,0,t);var i=e>0?r[e-1]:null;t.moveAfter(this,i)},t.prototype.attachView=function(t,e){if(t.type===Ao.COMPONENT)throw new Error("Component views can't be moved!");var n=this.nestedViews;null==n&&(n=[],this.nestedViews=n),e>=n.length?n.push(t):n.splice(e,0,t);var r=e>0?n[e-1]:null;t.attachAfter(this,r)},t.prototype.detachView=function(t){var e=this.nestedViews[t];if(t>=this.nestedViews.length-1?this.nestedViews.pop():this.nestedViews.splice(t,1),e.type===Ao.COMPONENT)throw new Error("Component views can't be moved!");return e.detach(),e},t}(),qo={isDefaultChangeDetectionStrategy:M,ChangeDetectorStatus:Le,constructDependencies:Y,LifecycleHooks:je,LIFECYCLE_HOOKS_VALUES:Ne,ReflectorReader:Mn,CodegenComponentFactoryResolver:ui,ComponentRef_:ni,ViewContainer:Go,AppView:Wo,DebugAppView:zo,NgModuleInjector:xi,registerModuleFactory:It,ViewType:Ao,view_utils:Qr,ViewMetadata:$e,DebugContext:Io,StaticNodeDebugInfo:Yo,devModeEqual:q,UNINITIALIZED:gr,ValueUnwrapper:br,RenderDebugInfo:Dr,TemplateRef_:Fi,ReflectionCapabilities:bn,makeDecorator:v,DebugDomRootRenderer:Po,Console:$n,reflector:Tn,Reflector:Sn,NoOpAnimationPlayer:ho,AnimationPlayer:po,AnimationSequencePlayer:fo,AnimationGroupPlayer:co,AnimationKeyframe:lo,prepareFinalAnimationStyles:ee,balanceAnimationKeyframes:ne,flattenStyles:se,clearStyles:re,renderStyles:oe,collectAndResolveStyles:ie,APP_ID_RANDOM_PROVIDER:Gn,AnimationStyles:Lo,ANY_STATE:so,DEFAULT_STATE:ao,EMPTY_STATE:uo,FILL_STYLE_FLAG:oo,ComponentStillLoadingError:Xn,isPromise:B,AnimationTransition:xo};e.createPlatform=Dt,e.assertPlatform=Pt,e.destroyPlatform=Ot,e.getPlatform=At,e.PlatformRef=Mi,e.ApplicationRef=Si,e.enableProdMode=kt,e.isDevMode=Lt,e.createPlatformFactory=xt,e.NgProbeToken=bi,e.APP_ID=zn,e.PACKAGE_ROOT_URL=Jn,e.PLATFORM_INITIALIZER=qn,e.APP_BOOTSTRAP_LISTENER=Kn,e.APP_INITIALIZER=Un,e.ApplicationInitStatus=Wn,e.DebugElement=Zi,e.DebugNode=$i,e.asNativeElements=Rt,e.getDebugNode=Ft,e.Testability=fi,e.TestabilityRegistry=mi,e.setTestabilityGetter=Ct,e.TRANSLATIONS=no,e.TRANSLATIONS_FORMAT=ro,e.LOCALE_ID=eo,e.ApplicationModule=io,e.wtfCreateScope=li,e.wtfLeave=pi,e.wtfStartTimeRange=hi,e.wtfEndTimeRange=di,e.Type=gn,e.EventEmitter=or,e.ErrorHandler=Vn,e.AnimationTransitionEvent=Do,e.AnimationPlayer=po,e.Sanitizer=jr,e.SecurityContext=Or,e.ANALYZE_FOR_ENTRY_COMPONENTS=we,e.Attribute=be,e.ContentChild=Se,e.ContentChildren=Ee,e.Query=Me,e.ViewChild=Ce,e.ViewChildren=Te,e.Component=xe,e.Directive=De,e.HostBinding=Ye,e.HostListener=Ie,e.Input=Oe,e.Output=Ae,e.Pipe=Pe,e.AfterContentChecked=Ue,e.AfterContentInit=Be,e.AfterViewChecked=ze,e.AfterViewInit=We,e.DoCheck=Ve,e.OnChanges=Re,e.OnDestroy=Fe,e.OnInit=He,e.CUSTOM_ELEMENTS_SCHEMA=Ge,e.NO_ERRORS_SCHEMA=qe,e.NgModule=Ke,e.ViewEncapsulation=Je,e.Version=Ze,e.VERSION=Xe,e.Class=_,e.forwardRef=E,e.resolveForwardRef=S,e.Injector=sn,e.ReflectiveInjector=Nn,e.ResolvedReflectiveFactory=Dn,e.ReflectiveKey=yn,e.OpaqueToken=ge,e.Inject=de,e.Optional=fe,e.Injectable=me,e.Self=ye,e.SkipSelf=_e,e.Host=ve,e.NgZone=sr,e.RenderComponentType=Lr,e.Renderer=xr,e.RootRenderer=Pr,e.COMPILER_OPTIONS=er,e.Compiler=tr,e.CompilerFactory=nr,e.ModuleWithComponentFactories=Qn,e.ComponentFactory=ri,e.ComponentRef=ei,e.ComponentFactoryResolver=ai,e.ElementRef=rr,e.NgModuleFactory=Li,e.NgModuleRef=ki,e.NgModuleFactoryLoader=Pi,e.getModuleFactory=jt,e.QueryList=Ai,e.SystemJsNgModuleLoader=Ri,e.SystemJsNgModuleLoaderConfig=ji,e.TemplateRef=Vi,e.ViewContainerRef=Bi,e.EmbeddedViewRef=Gi,e.ViewRef=zi,e.ChangeDetectionStrategy=ke,e.ChangeDetectorRef=Er,e.CollectionChangeRecord=pr,e.DefaultIterableDiffer=lr,e.IterableDiffers=_r,e.KeyValueChangeRecord=yr,e.KeyValueDiffers=vr,e.SimpleChange=Mr,e.WrappedValue=wr,e.platformCore=to,e.__core_private__=qo,e.AUTO_STYLE=yo,e.AnimationEntryMetadata=_o,e.AnimationStateMetadata=vo,e.AnimationStateDeclarationMetadata=go,e.AnimationStateTransitionMetadata=wo,e.AnimationMetadata=bo,e.AnimationKeyframesSequenceMetadata=Mo,e.AnimationStyleMetadata=Eo,e.AnimationAnimateMetadata=So,e.AnimationWithStepsMetadata=To,e.AnimationSequenceMetadata=Co,e.AnimationGroupMetadata=ko,e.animate=qt,e.group=Kt,e.sequence=Jt,e.style=$t,e.state=Zt,e.keyframes=Xt,e.transition=Qt,e.trigger=te})}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(5),o=n(8),s=n(10),a=n(19),u=n(20),c=n(17),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(o.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.$$rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;n>i;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;n>i;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;e>r;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new u.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(i.Observable);e.Subject=p;var h=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n}return r(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){var e=this.source;return e?this.source.subscribe(t):s.Subscription.EMPTY},e}(p);e.AnonymousSubject=h},function(t,e,n){"use strict";var r=n(6),i=n(7),o=n(18),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=i.toSubscriber(t,e,n);if(r?r.call(o,this):o.add(this._subscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var i=n.subscribe(function(e){if(i)try{t(e)}catch(n){r(n),i.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.$$observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=s},function(t,e){(function(t){"use strict";if(e.root="object"==typeof window&&window.window===window&&window||"object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t,!e.root)throw new Error("RxJS could not find any global context (window, self, global)")}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t,e,n){if(t){if(t instanceof i.Subscriber)return t;if(t[o.$$rxSubscriber])return t[o.$$rxSubscriber]()}return t||e||n?new i.Subscriber(t,e,n):new i.Subscriber(s.empty)}var i=n(8),o=n(17),s=n(16);e.toSubscriber=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(9),o=n(10),s=n(16),a=n(17),u=function(t){function e(n,r,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,i)}}return r(e,t),e.prototype[a.$$rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},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}(o.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,o){t.call(this),this._parent=e;var s,a=this;i.isFunction(n)?s=n:n&&(a=n,s=n.next,r=n.error,o=n.complete,i.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this)),this._context=a,this._next=s,this._error=r,this._complete=o}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parent;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._parent;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){if(!this.isStopped){var t=this._parent;this._complete?t.syncErrorThrowable?(this.__tryOrSetError(t,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){throw this.unsubscribe(),n}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(r){return t.syncErrorValue=r,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parent;this._context=null,this._parent=null,t.unsubscribe()},e}(u)},function(t,e){"use strict";function n(t){return"function"==typeof t}e.isFunction=n},function(t,e,n){"use strict";var r=n(11),i=n(12),o=n(9),s=n(13),a=n(14),u=n(15),c=function(){function t(t){this.closed=!1,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){this.closed=!0;var n=this,c=n._unsubscribe,l=n._subscriptions;if(this._subscriptions=null,o.isFunction(c)){var p=s.tryCatch(c).call(this);p===a.errorObject&&(e=!0,(t=t||[]).push(a.errorObject.e))}if(r.isArray(l))for(var h=-1,d=l.length;++h<d;){var f=l[h];if(i.isObject(f)){var p=s.tryCatch(f.unsubscribe).call(f);if(p===a.errorObject){e=!0,t=t||[];var m=a.errorObject.e;m instanceof u.UnsubscriptionError?t=t.concat(m.errors):t.push(m)}}}if(e)throw new u.UnsubscriptionError(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)break;this.closed?n.unsubscribe():(this._subscriptions||(this._subscriptions=[])).push(n);break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return n},t.prototype.remove=function(e){if(null!=e&&e!==this&&e!==t.EMPTY){var n=this._subscriptions;if(n){var r=n.indexOf(e);-1!==r&&n.splice(r,1)}}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();e.Subscription=c},function(t,e){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e){"use strict";function n(t){return null!=t&&"object"==typeof t}e.isObject=n},function(t,e,n){"use strict";function r(){try{return o.apply(this,arguments)}catch(t){return s.errorObject.e=t,s.errorObject}}function i(t){return o=t,r}var o,s=n(14);e.tryCatch=i},function(t,e){"use strict";e.errorObject={e:{}}},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n  "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return n(e,t),e}(Error);e.UnsubscriptionError=r},function(t,e){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";var r=n(6),i=r.root.Symbol;e.$$rxSubscriber="function"==typeof i&&"function"==typeof i["for"]?i["for"]("rxSubscriber"):"@@rxSubscriber"},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var i=n(6);e.getSymbolObservable=r,e.$$observable=r(i.root)},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return n(e,t),e}(Error);e.ObjectUnsubscribedError=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(10),o=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(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}(i.Subscription);e.SubjectSubscription=o},function(t,e,n){(function(t){!function(t,r){r(e,n(22),n(3))}(this,function(e,n,r){"use strict";function i(t){return null!=t}function o(t){return null==t}function s(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString(),n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function a(t,e,n){for(var r=e.split("."),i=t;r.length>1;){var o=r.shift();i=i.hasOwnProperty(o)&&null!=i[o]?i[o]:i[o]={}}(void 0===i||null===i)&&(i={}),i[r.shift()]=n}function u(){return tt}function c(t){tt||(tt=t)}function l(t,e){return u().getComputedStyle(t)[e]}function p(t){var e={};return Object.keys(t).forEach(function(n){"offset"!=n&&(e[n]=t[n])}),e}function h(t){for(var e=t[0],n=1;n<t.length;n++){var r=t[n],i=r.offset;if(0!==i)break;e=r}return e}function d(t,e){var n={};return t.styles.forEach(function(t){Object.keys(t).forEach(function(e){n[e]=t[e]})}),Object.keys(e).forEach(function(t){i(n[t])||(n[t]=e[t])}),n}function f(t){return t instanceof nt}function m(){return ht||(ht=document.querySelector("base"))?ht.getAttribute("href"):null}function y(t){return Q||(Q=document.createElement("a")),Q.setAttribute("href",t),"/"===Q.pathname.charAt(0)?Q.pathname:"/"+Q.pathname}function _(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var i=r[n],o=i.indexOf("="),s=-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],a=s[0],u=s[1];if(a.trim()===e)return decodeURIComponent(u)}return null}function v(){return!!window.history.pushState}function g(t,e){var n=t.parentNode;if(e.length>0&&n){var r=t.nextSibling;if(r)for(var i=0;i<e.length;i++)n.insertBefore(e[i],r);else for(var i=0;i<e.length;i++)n.appendChild(e[i])}}function w(t,e){for(var n=0;n<e.length;n++)t.appendChild(e[n])}function b(t){return function(e){var n=t(e);n===!1&&(e.preventDefault(),e.returnValue=!1)}}function M(t){return jt.replace(At,t)}function E(t){return It.replace(At,t)}function S(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?S(t,i,n):(i=i.replace(At,t),n.push(i))}return n}function T(t){return":"===t[0]}function C(t){var e=t.match(Nt);return[e[1],e[2]]}function k(t){return r.getDebugNode(t)}function L(t,e,n){return r.isDevMode()?D(t,(e||[]).concat(n||[])):t}function D(t,e){return u().setGlobalVar(Ht,k),u().setGlobalVar(Vt,_t.merge(Rt,x(e||[]))),new K(t)}function x(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function P(t){return t=String(t),t.match(te)||t.match(ee)?t:(r.isDevMode()&&u().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function O(t){return t=String(t),t.split(",").map(function(t){return P(t.trim())}).join(", ")}function A(){if(ne)return ne;re=u();var t=re.createElement("template");if("content"in t)return t;var e=re.createHtmlDocument();if(ne=re.querySelector(e,"body"),null==ne){var n=re.createElement("html",e);ne=re.createElement("body",e),re.appendChild(n,ne),re.appendChild(e,n)}return ne}function Y(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){var i=r[n];e[i]=!0}return e}function I(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];for(var n={},r=0,i=t;r<i.length;r++){var o=i[r];for(var s in o)o.hasOwnProperty(s)&&(n[s]=!0)}return n}function j(t){return t.replace(/&/g,"&amp;").replace(ye,function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+(1024*(e-55296)+(n-56320)+65536)+";"}).replace(_e,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function N(t){re.attributeMap(t).forEach(function(e,n){("xmlns:ns1"===n||0===n.indexOf("ns1:"))&&re.removeAttribute(t,n)});for(var e=0,n=re.childNodesAsList(t);e<n.length;e++){var r=n[e];re.isElementNode(r)&&N(r)}}function R(t){try{var e=A(),n=t?String(t):"",i=5,o=n;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,re.setInnerHTML(e,n),re.defaultDoc().documentMode&&N(e),o=re.getInnerHTML(e)}while(n!==o);for(var s=new me,a=s.sanitizeChildren(re.getTemplateContent(e)||e),u=re.getTemplateContent(e)||e,c=0,l=re.childNodesAsList(u);c<l.length;c++){var p=l[c];re.removeChild(u,p)}return r.isDevMode()&&s.sanitizedSomething&&re.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}catch(h){throw ne=null,h}}function H(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var i=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}function V(t){if(t=String(t).trim(),!t)return"";var e=t.match(Ee);return e&&P(e[1])===e[1]||t.match(Me)&&H(t)?t:(r.isDevMode()&&u().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}function F(){pt.makeCurrent(),mt.init()}function B(){return new r.ErrorHandler}function U(){return u().defaultDoc()}function W(){return u().supportsWebAnimation()?new rt:Z.NOOP}function z(t){return Object.assign(Fe.ng,new He(t)),t}function G(){Fe.ng&&delete Fe.ng.profiler}var q,K=r.__core_private__.DebugDomRootRenderer,J=r.__core_private__.NoOpAnimationPlayer,$=function(){function t(){}return t.prototype.animate=function(t,e,n,r,i,o,s){return void 0===s&&(s=[]),new J},t}(),Z=function(){function t(){}return t.prototype.animate=function(t,e,n,r,i,o,s){},t.NOOP=new $,t}();q="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:t:window;var X=q;X.assert=function(t){};var Q,tt=null,et=function(){function t(){this.resourceLoaderType=null}return t.prototype.hasProperty=function(t,e){},t.prototype.setProperty=function(t,e,n){},t.prototype.getProperty=function(t,e){},t.prototype.invoke=function(t,e,n){},t.prototype.logError=function(t){},t.prototype.log=function(t){},t.prototype.logGroup=function(t){},t.prototype.logGroupEnd=function(){},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t.prototype.parse=function(t){},t.prototype.query=function(t){},t.prototype.querySelector=function(t,e){},t.prototype.querySelectorAll=function(t,e){},t.prototype.on=function(t,e,n){},t.prototype.onAndCancel=function(t,e,n){},t.prototype.dispatchEvent=function(t,e){},t.prototype.createMouseEvent=function(t){},t.prototype.createEvent=function(t){},t.prototype.preventDefault=function(t){},t.prototype.isPrevented=function(t){},t.prototype.getInnerHTML=function(t){},t.prototype.getTemplateContent=function(t){},t.prototype.getOuterHTML=function(t){},t.prototype.nodeName=function(t){},t.prototype.nodeValue=function(t){},t.prototype.type=function(t){},t.prototype.content=function(t){},t.prototype.firstChild=function(t){},t.prototype.nextSibling=function(t){},t.prototype.parentElement=function(t){},t.prototype.childNodes=function(t){},t.prototype.childNodesAsList=function(t){},t.prototype.clearNodes=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.removeChild=function(t,e){},t.prototype.replaceChild=function(t,e,n){},t.prototype.remove=function(t){},t.prototype.insertBefore=function(t,e){},t.prototype.insertAllBefore=function(t,e){},t.prototype.insertAfter=function(t,e){},t.prototype.setInnerHTML=function(t,e){},t.prototype.getText=function(t){},t.prototype.setText=function(t,e){},t.prototype.getValue=function(t){},t.prototype.setValue=function(t,e){},t.prototype.getChecked=function(t){},t.prototype.setChecked=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createTemplate=function(t){},t.prototype.createElement=function(t,e){},t.prototype.createElementNS=function(t,e,n){},t.prototype.createTextNode=function(t,e){},t.prototype.createScriptTag=function(t,e,n){},t.prototype.createStyleElement=function(t,e){},t.prototype.createShadowRoot=function(t){},t.prototype.getShadowRoot=function(t){},t.prototype.getHost=function(t){},t.prototype.getDistributedNodes=function(t){},t.prototype.clone=function(t){},t.prototype.getElementsByClassName=function(t,e){},t.prototype.getElementsByTagName=function(t,e){},t.prototype.classList=function(t){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.hasClass=function(t,e){},t.prototype.setStyle=function(t,e,n){},t.prototype.removeStyle=function(t,e){},t.prototype.getStyle=function(t,e){},t.prototype.hasStyle=function(t,e,n){},t.prototype.tagName=function(t){},t.prototype.attributeMap=function(t){},t.prototype.hasAttribute=function(t,e){},t.prototype.hasAttributeNS=function(t,e,n){},t.prototype.getAttribute=function(t,e){},t.prototype.getAttributeNS=function(t,e,n){},t.prototype.setAttribute=function(t,e,n){},t.prototype.setAttributeNS=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e){},t.prototype.removeAttributeNS=function(t,e,n){},t.prototype.templateAwareRoot=function(t){},t.prototype.createHtmlDocument=function(){},t.prototype.defaultDoc=function(){},t.prototype.getBoundingClientRect=function(t){},t.prototype.getTitle=function(){},t.prototype.setTitle=function(t){},t.prototype.elementMatches=function(t,e){},t.prototype.isTemplateElement=function(t){},t.prototype.isTextNode=function(t){},t.prototype.isCommentNode=function(t){},t.prototype.isElementNode=function(t){},t.prototype.hasShadowRoot=function(t){},t.prototype.isShadowRoot=function(t){},t.prototype.importIntoDoc=function(t){},t.prototype.adoptNode=function(t){},t.prototype.getHref=function(t){},t.prototype.getEventKey=function(t){},t.prototype.resolveAndSetHref=function(t,e,n){},t.prototype.supportsDOMEvents=function(){},t.prototype.supportsNativeShadowDOM=function(){},t.prototype.getGlobalEventTarget=function(t){},t.prototype.getHistory=function(){},t.prototype.getLocation=function(){},t.prototype.getBaseHref=function(){},t.prototype.resetBaseElement=function(){},t.prototype.getUserAgent=function(){},t.prototype.setData=function(t,e,n){},t.prototype.getComputedStyle=function(t){},t.prototype.getData=function(t,e){},t.prototype.setGlobalVar=function(t,e){},t.prototype.supportsWebAnimation=function(){},t.prototype.performanceNow=function(){},t.prototype.getAnimationPrefix=function(){},t.prototype.getTransitionEnd=function(){},t.prototype.supportsAnimation=function(){},t.prototype.supportsCookies=function(){},t.prototype.getCookie=function(t){},t.prototype.setCookie=function(t,e){},t}(),nt=function(){function t(t,e,n,r){var i=this;void 0===r&&(r=[]),this.element=t,this.keyframes=e,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.parentPlayer=null,this._duration=n.duration,this.previousStyles={},r.forEach(function(t){var e=t._captureStyles();Object.keys(e).forEach(function(t){return i.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(e){var n={};return Object.keys(e).forEach(function(i,o){var s=e[i];s==r.AUTO_STYLE&&(s=l(t.element,i)),void 0!=s&&(n[i]=s)}),n}),n=Object.keys(this.previousStyles);if(n.length){var o=h(e);n.forEach(function(e){i(o[e])&&(o[e]=t.previousStyles[e])})}this._player=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=p(e[e.length-1]),this._resetDomPlayerState(),this._player.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},Object.defineProperty(t.prototype,"domPlayer",{get:function(){return this._player},enumerable:!0,configurable:!0}),t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.play=function(){this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._player.play()},t.prototype.pause=function(){this.init(),this._player.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this._player.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this._player.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._resetDomPlayerState(),this._onFinish(),this._destroyed=!0)},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._duration},enumerable:!0,configurable:!0}),t.prototype.setPosition=function(t){this._player.currentTime=t*this.totalTime},t.prototype.getPosition=function(){return this._player.currentTime/this.totalTime},t.prototype._captureStyles=function(){var t=this,e={};return this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:l(t.element,n))}),e},t}(),rt=function(){function t(){}return t.prototype.animate=function(t,e,n,r,o,s,a){void 0===a&&(a=[]);var u=[],c={};if(i(e)&&e.styles.length>0&&(c=d(e,{}),c.offset=0,u.push(c)),n.forEach(function(t){var e=d(t.styles,c);e.offset=Math.max(0,Math.min(1,t.offset)),u.push(e)}),1==u.length){var l=u[0];l.offset=null,u=[l,l]}var p={duration:r,delay:o,fill:"both"};return s&&(p.easing=s),a=a.filter(f),new nt(t,u,p,a)},t}(),it=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ot=function(t){function e(){var e=this;t.call(this),this._animationPrefix=null,this._transitionEnd=null;try{var n=this.createElement("div",this.defaultDoc());if(i(this.getStyle(n,"animationName")))this._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(i(this.getStyle(n,r[o]+"AnimationName"))){this._animationPrefix="-"+r[o].toLowerCase()+"-";break}var s={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(s).forEach(function(t){i(e.getStyle(n,t))&&(e._transitionEnd=s[t])})}catch(a){this._animationPrefix=null,this._transitionEnd=null}}return it(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 this.defaultDoc().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 i(this._animationPrefix)&&i(this._transitionEnd)},e}(et),st=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},at={"class":"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ut=3,ct={"\b":"Backspace","	":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},lt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"
},pt=function(t){function e(){t.apply(this,arguments)}return st(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){c(new e)},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){(r=t)[e].apply(r,n);var r},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 at},enumerable:!0,configurable:!0}),e.prototype.query=function(t){return document.querySelector(t)},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=document.createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=document.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||i(t.returnValue)&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&t instanceof HTMLTemplateElement?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),r=0;r<e.length;r++)n[r]=e[r];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){t.parentNode.insertBefore(e,t)},e.prototype.insertAllBefore=function(t,e){e.forEach(function(e){return t.parentNode.insertBefore(e,t)})},e.prototype.insertAfter=function(t,e){t.parentNode.insertBefore(e,t.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 document.createComment(t)},e.prototype.createTemplate=function(t){var e=document.createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return void 0===e&&(e=document),e.createElement(t)},e.prototype.createElementNS=function(t,e,n){return void 0===n&&(n=document),n.createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return void 0===e&&(e=document),e.createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){void 0===n&&(n=document);var r=n.createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){void 0===e&&(e=document);var n=e.createElement("style");return this.appendChild(n,this.createTextNode(t)),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){void 0===n&&(n=null);var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var i=n[r];e.set(i.name,i.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,r){t.setAttributeNS(e,n,r)},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.defaultDoc=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(){return document.title},e.prototype.setTitle=function(t){document.title=t||""},e.prototype.elementMatches=function(t,e){return t instanceof HTMLElement?t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e):!1},e.prototype.isTemplateElement=function(t){return t instanceof HTMLElement&&"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 i(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.href},e.prototype.getEventKey=function(t){var e=t.key;if(o(e)){if(e=t.keyIdentifier,o(e))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),t.location===ut&&lt.hasOwnProperty(e)&&(e=lt[e]))}return ct[e]||e},e.prototype.getGlobalEventTarget=function(t){return"window"===t?window:"document"===t?document:"body"===t?document.body:void 0},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(){var t=m();return o(t)?null:y(t)},e.prototype.resetBaseElement=function(){ht=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.setGlobalVar=function(t,e){a(X,t,e)},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 _(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(ot),ht=null,dt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ft=function(t){function e(){t.call(this),this._init()}return dt(e,t),e.prototype._init=function(){this._location=u().getLocation(),this._history=u().getHistory()},Object.defineProperty(e.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),e.prototype.getBaseHrefFromDOM=function(){return u().getBaseHref()},e.prototype.onPopState=function(t){u().getGlobalEventTarget("window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){u().getGlobalEventTarget("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){v()?this._history.pushState(t,e,n):this._location.hash=n},e.prototype.replaceState=function(t,e,n){v()?this._history.replaceState(t,e,n):this._location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[]},e}(n.PlatformLocation),mt=function(){function t(){}return t.init=function(){r.setTestabilityGetter(new t)},t.prototype.addToWindow=function(t){X.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},X.getAllAngularTestabilities=function(){return t.getAllTestabilities()},X.getAllAngularRootElements=function(){return t.getAllRootElements()};var e=function(t){var e=X.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(i)})};X.frameworkStabilizers||(X.frameworkStabilizers=[]),X.frameworkStabilizers.push(e)},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return i(r)?r:n?u().isShadowRoot(e)?this.findTestabilityInTree(t,u().getHost(e),!0):this.findTestabilityInTree(t,u().parentElement(e),!0):null},t}(),yt=function(){function t(){}return t.prototype.getTitle=function(){return u().getTitle()},t.prototype.setTitle=function(t){u().setTitle(t)},t}(),_t=function(){function t(){}return t.merge=function(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];n[o]=t[o]}for(var s=0,a=Object.keys(e);s<a.length;s++){var o=a[s];n[o]=e[o]}return n},t.equals=function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(t[o]!==e[o])return!1}return!0},t}(),vt=new r.OpaqueToken("DocumentToken"),gt=new r.OpaqueToken("EventManagerPlugins"),wt=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){var r=this._findPluginFor(e);return r.addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){var r=this._findPluginFor(e);return r.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,r=0;r<n.length;r++){var i=n[r];if(i.supports(t))return this._eventNameToPlugin.set(t,i),i}throw new Error("No event manager plugin found for event "+t)},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:r.Inject,args:[gt]}]},{type:r.NgZone}]},t}(),bt=function(){function t(){}return t.prototype.supports=function(t){},t.prototype.addEventListener=function(t,e,n){},t.prototype.addGlobalEventListener=function(t,e,n){var r=u().getGlobalEventTarget(t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Mt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Et=function(){function t(){this._styles=[],this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=[];t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),e._styles.push(t),n.push(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return this._styles},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[]},t}(),St=function(t){function e(e){t.call(this),this._hostNodes=new Set,this._hostNodes.add(e.head)}return Mt(e,t),e.prototype._addStylesToHost=function(t,e){for(var n=0;n<t.length;n++){var r=document.createElement("style");r.textContent=t[n],e.appendChild(r)}},e.prototype.addHost=function(t){this._addStylesToHost(this._styles,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){e._addStylesToHost(t,n)})},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[vt]}]}]},e}(Et),Tt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ct={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml"},kt="template bindings={}",Lt=/^template bindings=(.*)$/,Dt=function(){function t(t,e,n,r,i){this.document=t,this.eventManager=e,this.sharedStylesHost=n,this.animationDriver=r,this.appId=i,this.registeredComponents=new Map}return t.prototype.renderComponent=function(t){var e=this.registeredComponents.get(t.id);return e||(e=new Ot(this,t,this.animationDriver,this.appId+"-"+t.id),this.registeredComponents.set(t.id,e)),e},t}(),xt=function(t){function e(e,n,r,i,o){t.call(this,e,n,r,i,o)}return Tt(e,t),e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[vt]}]},{type:wt},{type:St},{type:Z},{type:void 0,decorators:[{type:r.Inject,args:[r.APP_ID]}]}]},e}(Dt),Pt={remove:function(t){t.parentNode&&t.parentNode.removeChild(t)},appendChild:function(t,e){e.appendChild(t)},insertBefore:function(t,e){e.parentNode.insertBefore(t,e)},nextSibling:function(t){return t.nextSibling},parentElement:function(t){return t.parentNode}},Ot=function(){function t(t,e,n,i){this._rootRenderer=t,this.componentProto=e,this._animationDriver=n,this.directRenderer=Pt,this._styles=S(i,e.styles,[]),e.encapsulation!==r.ViewEncapsulation.Native&&this._rootRenderer.sharedStylesHost.addStyles(this._styles),this.componentProto.encapsulation===r.ViewEncapsulation.Emulated?(this._contentAttr=M(i),this._hostAttr=E(i)):(this._contentAttr=null,this._hostAttr=null)}return t.prototype.selectRootElement=function(t,e){var n;if("string"==typeof t){if(n=this._rootRenderer.document.querySelector(t),!n)throw new Error('The selector "'+t+'" did not match any elements')}else n=t;for(;n.firstChild;)n.removeChild(n.firstChild);return n},t.prototype.createElement=function(t,e,n){var r;if(T(e)){var i=C(e);r=document.createElementNS(Ct[i[0]],i[1])}else r=document.createElement(e);return this._contentAttr&&r.setAttribute(this._contentAttr,""),t&&t.appendChild(r),r},t.prototype.createViewRoot=function(t){var e;if(this.componentProto.encapsulation===r.ViewEncapsulation.Native){e=t.createShadowRoot(),this._rootRenderer.sharedStylesHost.addHost(e);for(var n=0;n<this._styles.length;n++){var i=document.createElement("style");i.textContent=this._styles[n],e.appendChild(i)}}else this._hostAttr&&t.setAttribute(this._hostAttr,""),e=t;return e},t.prototype.createTemplateAnchor=function(t,e){var n=document.createComment(kt);return t&&t.appendChild(n),n},t.prototype.createText=function(t,e,n){var r=document.createTextNode(e);return t&&t.appendChild(r),r},t.prototype.projectNodes=function(t,e){t&&w(t,e)},t.prototype.attachViewAfter=function(t,e){g(t,e)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e];n.parentNode&&n.parentNode.removeChild(n)}},t.prototype.destroyView=function(t,e){this.componentProto.encapsulation===r.ViewEncapsulation.Native&&t&&this._rootRenderer.sharedStylesHost.removeHost(t.shadowRoot)},t.prototype.listen=function(t,e,n){return this._rootRenderer.eventManager.addEventListener(t,e,b(n))},t.prototype.listenGlobal=function(t,e,n){return this._rootRenderer.eventManager.addGlobalEventListener(t,e,b(n))},t.prototype.setElementProperty=function(t,e,n){t[e]=n},t.prototype.setElementAttribute=function(t,e,n){var r,o=e;if(T(e)){var s=C(e);o=s[1],e=s[0]+":"+s[1],r=Ct[s[0]]}i(n)?r?t.setAttributeNS(r,e,n):t.setAttribute(e,n):i(r)?t.removeAttributeNS(r,o):t.removeAttribute(e)},t.prototype.setBindingDebugInfo=function(t,e,n){if(t.nodeType===Node.COMMENT_NODE){var r=t.nodeValue.replace(/\n/g,"").match(Lt),i=JSON.parse(r[1]);i[e]=n,t.nodeValue=kt.replace("{}",JSON.stringify(i,null,2))}else this.setElementAttribute(t,e,n)},t.prototype.setElementClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype.setElementStyle=function(t,e,n){i(n)?t.style[e]=s(n):t.style[e]=""},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){t.nodeValue=e},t.prototype.animate=function(t,e,n,r,i,o,s){return void 0===s&&(s=[]),this._animationDriver.animate(t,e,n,r,i,o,s)},t}(),At=/%COMP%/g,Yt="%COMP%",It="_nghost-"+Yt,jt="_ngcontent-"+Yt,Nt=/^:([^:]+):(.+)$/,Rt={ApplicationRef:r.ApplicationRef,NgZone:r.NgZone},Ht="ng.probe",Vt="ng.coreTokens",Ft=function(){function t(t,e){this.name=t,this.token=e}return t}(),Bt=[{provide:r.RootRenderer,useFactory:L,deps:[Dt,[Ft,new r.Optional],[r.NgProbeToken,new r.Optional]]}],Ut=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Wt=function(t){function e(){t.apply(this,arguments)}return Ut(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){return t.addEventListener(e,n,!1),function(){return t.removeEventListener(e,n,!1)}},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[]},e}(bt),zt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Gt={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},qt=new r.OpaqueToken("HammerGestureConfig"),Kt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[]},t}(),Jt=function(t){function e(e){t.call(this),this._config=e}return zt(e,t),e.prototype.supports=function(t){if(!Gt.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+t+" event");return!0},e.prototype.addEventListener=function(t,e,n){var r=this,i=this.manager.getZone();return e=e.toLowerCase(),i.runOutsideAngular(function(){var o=r._config.buildHammer(t),s=function(t){i.runGuarded(function(){n(t)})};return o.on(e,s),function(){return o.off(e,s)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[{type:Kt,decorators:[{type:r.Inject,args:[qt]}]}]},e}(bt),$t=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Zt=["alt","control","meta","shift"],Xt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Qt=function(t){function e(){t.call(this)}return $t(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return u().onAndCancel(t,i.domEventName,o)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(Zt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=u().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Zt.forEach(function(r){if(r!=n){var i=Xt[r];i(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded(function(){return n(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[]},e}(bt),te=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,ee=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,ne=null,re=null,ie=Y("area,br,col,hr,img,wbr"),oe=Y("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),se=Y("rp,rt"),ae=I(se,oe),ue=I(oe,Y("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")),ce=I(se,Y("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")),le=I(ie,ue,ce,ae),pe=Y("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),he=Y("srcset"),de=Y("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"),fe=I(pe,he,de),me=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(re.isElementNode(e)?this.startElement(e):re.isTextNode(e)?this.chars(re.nodeValue(e)):this.sanitizedSomething=!0,re.firstChild(e))e=re.firstChild(e);else for(;e;){if(re.isElementNode(e)&&this.endElement(e),re.nextSibling(e)){e=re.nextSibling(e);break}e=re.parentElement(e)}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=re.nodeName(t).toLowerCase();return le.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),re.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();return fe.hasOwnProperty(r)?(pe[r]&&(t=P(t)),he[r]&&(t=O(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(j(t)),void e.buf.push('"')):void(e.sanitizedSomething=!0)}),void this.buf.push(">")):void(this.sanitizedSomething=!0)},t.prototype.endElement=function(t){var e=re.nodeName(t).toLowerCase();le.hasOwnProperty(e)&&!ie.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(j(t))},t}(),ye=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_e=/([^\#-~ |!])/g,ve="[-,.\"'%_!# a-zA-Z0-9]+",ge="(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?",we="(?:rgb|hsl)a?",be="\\([-0-9.%, a-zA-Z]+\\)",Me=new RegExp("^("+ve+"|(?:"+ge+"|"+we+")"+be+")$","g"),Ee=/^url\(([^)]+)\)$/,Se=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Te=function(){function t(){}return t.prototype.sanitize=function(t,e){},t.prototype.bypassSecurityTrustHtml=function(t){},t.prototype.bypassSecurityTrustStyle=function(t){},t.prototype.bypassSecurityTrustScript=function(t){},t.prototype.bypassSecurityTrustUrl=function(t){},t.prototype.bypassSecurityTrustResourceUrl=function(t){},t}(),Ce=function(t){function e(){t.apply(this,arguments)}return Se(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case r.SecurityContext.NONE:return e;case r.SecurityContext.HTML:return e instanceof Le?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),R(String(e)));case r.SecurityContext.STYLE:return e instanceof De?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),V(e));case r.SecurityContext.SCRIPT:if(e instanceof xe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case r.SecurityContext.URL:return e instanceof Oe||e instanceof Pe?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),P(String(e)));case r.SecurityContext.RESOURCE_URL:if(e instanceof Oe)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 ke)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 Le(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new De(t)},e.prototype.bypassSecurityTrustScript=function(t){return new xe(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Pe(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Oe(t)},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[]},e}(Te),ke=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.getTypeName=function(){},t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Le=function(t){function e(){t.apply(this,arguments)}return Se(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ke),De=function(t){function e(){t.apply(this,arguments)}return Se(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ke),xe=function(t){function e(){t.apply(this,arguments)}return Se(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ke),Pe=function(t){function e(){t.apply(this,arguments)}return Se(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ke),Oe=function(t){function e(){t.apply(this,arguments)}return Se(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ke),Ae=[{provide:r.PLATFORM_INITIALIZER,useValue:F,multi:!0},{provide:n.PlatformLocation,useClass:ft}],Ye=[{provide:r.Sanitizer,useExisting:Te},{provide:Te,useClass:Ce}],Ie=r.createPlatformFactory(r.platformCore,"browser",Ae),je=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.")}return t.decorators=[{type:r.NgModule,args:[{providers:[Ye,{provide:r.ErrorHandler,useFactory:B,deps:[]},{provide:vt,useFactory:U,deps:[]},{provide:gt,useClass:Wt,multi:!0},{provide:gt,useClass:Qt,multi:!0},{provide:gt,useClass:Jt,multi:!0},{provide:qt,useClass:Kt},{provide:Dt,useClass:xt},{provide:r.RootRenderer,useExisting:Dt},{provide:Et,useExisting:St},{provide:Z,useFactory:W},St,r.Testability,wt,Bt,yt],exports:[n.CommonModule,r.ApplicationModule]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:r.Optional},{type:r.SkipSelf}]}]},t}(),Ne="undefined"!=typeof window&&window||{},Re=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),He=function(){function t(t){this.profiler=new Ve(t)}return t}(),Ve=function(){function t(t){this.appRef=t.injector.get(r.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n="Change Detection",r=i(Ne.console.profile);e&&r&&Ne.console.profile(n);for(var o=u().performanceNow(),s=0;5>s||u().performanceNow()-o<500;)this.appRef.tick(),s++;var a=u().performanceNow();e&&r&&Ne.console.profileEnd(n);var c=(a-o)/s;return Ne.console.log("ran "+s+" change detection cycles"),Ne.console.log(c.toFixed(2)+" ms per check"),new Re(c,s)},t}(),Fe=X,Be=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return i(e.nativeElement)?u().elementMatches(e.nativeElement,t):!1}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),Ue={BrowserPlatformLocation:ft,DomAdapter:et,BrowserDomAdapter:pt,BrowserGetTestability:mt,getDOM:u,setRootDomAdapter:c,DomRootRenderer_:xt,DomRootRenderer:Dt,NAMESPACE_URIS:Ct,shimContentAttribute:M,shimHostAttribute:E,flattenStyles:S,splitNamespace:C,isNamespaced:T,DomSharedStylesHost:St,SharedStylesHost:Et,ELEMENT_PROBE_PROVIDERS:Bt,DomEventsPlugin:Wt,KeyEventsPlugin:Qt,HammerGesturesPlugin:Jt,initDomAdapter:F,INTERNAL_BROWSER_PLATFORM_PROVIDERS:Ae,BROWSER_SANITIZATION_PROVIDERS:Ye,WebAnimationsDriver:rt},We=new r.Version("2.3.1");e.BrowserModule=je,e.platformBrowser=Ie,e.Title=yt,e.disableDebugTools=G,e.enableDebugTools=z,e.AnimationDriver=Z,e.By=Be,e.NgProbeToken=Ft,e.DOCUMENT=vt,e.EVENT_MANAGER_PLUGINS=gt,e.EventManager=wt,e.HAMMER_GESTURE_CONFIG=qt,e.HammerGestureConfig=Kt,e.DomSanitizer=Te,e.VERSION=We,e.__platform_browser_private__=Ue})}).call(e,function(){return this}())},function(t,e,n){(function(t){!function(t,r){r(e,n(3))}(this,function(e,n){"use strict";function r(t){return t.name||typeof t}function i(t){return null!=t}function o(t){return null==t}function s(t){return t instanceof Date&&!isNaN(t.valueOf())}function a(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString(),n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function u(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function c(){if(!I)if(D.Symbol&&Symbol.iterator)I=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e<t.length;++e){var n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(I=n);
}return I}function l(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}function p(t){return t.replace(/\/index.html$/,"")}function h(t,e,n){var r="="+t;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function d(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,s=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0,u=t.split("-")[0].toLowerCase();switch(u){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?W.One:W.Other;case"agq":case"bas":case"cu":case"dav":case"dje":case"dua":case"dyo":case"ebu":case"ewo":case"guz":case"kam":case"khq":case"ki":case"kln":case"kok":case"ksf":case"lrc":case"lu":case"luo":case"luy":case"mer":case"mfe":case"mgh":case"mua":case"mzn":case"nmg":case"nus":case"qu":case"rn":case"rw":case"sbp":case"twq":case"vai":case"yav":case"yue":case"zgh":case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&1>=n?W.One:W.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?W.One:W.Other;case"ar":return 0===n?W.Zero:1===n?W.One:2===n?W.Two:n%100===Math.floor(n%100)&&n%100>=3&&10>=n%100?W.Few:n%100===Math.floor(n%100)&&n%100>=11&&99>=n%100?W.Many:W.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===i&&0===o?W.One:W.Other;case"be":return n%10===1&&n%100!==11?W.One:n%10===Math.floor(n%10)&&n%10>=2&&4>=n%10&&!(n%100>=12&&14>=n%100)?W.Few:n%10===0||n%10===Math.floor(n%10)&&n%10>=5&&9>=n%10||n%100===Math.floor(n%100)&&n%100>=11&&14>=n%100?W.Many:W.Other;case"br":return n%10===1&&n%100!==11&&n%100!==71&&n%100!==91?W.One:n%10===2&&n%100!==12&&n%100!==72&&n%100!==92?W.Two:n%10===Math.floor(n%10)&&(n%10>=3&&4>=n%10||n%10===9)&&!(n%100>=10&&19>=n%100||n%100>=70&&79>=n%100||n%100>=90&&99>=n%100)?W.Few:0!==n&&n%1e6===0?W.Many:W.Other;case"bs":case"hr":case"sr":return 0===o&&i%10===1&&i%100!==11||s%10===1&&s%100!==11?W.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&4>=i%10&&!(i%100>=12&&14>=i%100)||s%10===Math.floor(s%10)&&s%10>=2&&4>=s%10&&!(s%100>=12&&14>=s%100)?W.Few:W.Other;case"cs":case"sk":return 1===i&&0===o?W.One:i===Math.floor(i)&&i>=2&&4>=i&&0===o?W.Few:0!==o?W.Many:W.Other;case"cy":return 0===n?W.Zero:1===n?W.One:2===n?W.Two:3===n?W.Few:6===n?W.Many:W.Other;case"da":return 1===n||0!==a&&(0===i||1===i)?W.One:W.Other;case"dsb":case"hsb":return 0===o&&i%100===1||s%100===1?W.One:0===o&&i%100===2||s%100===2?W.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&4>=i%100||s%100===Math.floor(s%100)&&s%100>=3&&4>=s%100?W.Few:W.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?W.One:W.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!==4&&i%10!==6&&i%10!==9||0!==o&&s%10!==4&&s%10!==6&&s%10!==9?W.One:W.Other;case"ga":return 1===n?W.One:2===n?W.Two:n===Math.floor(n)&&n>=3&&6>=n?W.Few:n===Math.floor(n)&&n>=7&&10>=n?W.Many:W.Other;case"gd":return 1===n||11===n?W.One:2===n||12===n?W.Two:n===Math.floor(n)&&(n>=3&&10>=n||n>=13&&19>=n)?W.Few:W.Other;case"gv":return 0===o&&i%10===1?W.One:0===o&&i%10===2?W.Two:0!==o||i%100!==0&&i%100!==20&&i%100!==40&&i%100!==60&&i%100!==80?0!==o?W.Many:W.Other:W.Few;case"he":return 1===i&&0===o?W.One:2===i&&0===o?W.Two:0!==o||n>=0&&10>=n||n%10!==0?W.Other:W.Many;case"is":return 0===a&&i%10===1&&i%100!==11||0!==a?W.One:W.Other;case"ksh":return 0===n?W.Zero:1===n?W.One:W.Other;case"kw":case"naq":case"se":case"smn":return 1===n?W.One:2===n?W.Two:W.Other;case"lag":return 0===n?W.Zero:0!==i&&1!==i||0===n?W.Other:W.One;case"lt":return n%10!==1||n%100>=11&&19>=n%100?n%10===Math.floor(n%10)&&n%10>=2&&9>=n%10&&!(n%100>=11&&19>=n%100)?W.Few:0!==s?W.Many:W.Other:W.One;case"lv":case"prg":return n%10===0||n%100===Math.floor(n%100)&&n%100>=11&&19>=n%100||2===o&&s%100===Math.floor(s%100)&&s%100>=11&&19>=s%100?W.Zero:n%10===1&&n%100!==11||2===o&&s%10===1&&s%100!==11||2!==o&&s%10===1?W.One:W.Other;case"mk":return 0===o&&i%10===1||s%10===1?W.One:W.Other;case"mt":return 1===n?W.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&10>=n%100?W.Few:n%100===Math.floor(n%100)&&n%100>=11&&19>=n%100?W.Many:W.Other;case"pl":return 1===i&&0===o?W.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&4>=i%10&&!(i%100>=12&&14>=i%100)?W.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&1>=i%10||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&9>=i%10||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&14>=i%100?W.Many:W.Other;case"pt":return n===Math.floor(n)&&n>=0&&2>=n&&2!==n?W.One:W.Other;case"ro":return 1===i&&0===o?W.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&19>=n%100?W.Few:W.Other;case"ru":case"uk":return 0===o&&i%10===1&&i%100!==11?W.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&4>=i%10&&!(i%100>=12&&14>=i%100)?W.Few:0===o&&i%10===0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&9>=i%10||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&14>=i%100?W.Many:W.Other;case"shi":return 0===i||1===n?W.One:n===Math.floor(n)&&n>=2&&10>=n?W.Few:W.Other;case"si":return 0===n||1===n||0===i&&1===s?W.One:W.Other;case"sl":return 0===o&&i%100===1?W.One:0===o&&i%100===2?W.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&4>=i%100||0!==o?W.Few:W.Other;case"tzm":return n===Math.floor(n)&&n>=0&&1>=n||n===Math.floor(n)&&n>=11&&99>=n?W.One:W.Other;default:return W.Other}}function f(t){return u(t)?Array.isArray(t)||!(t instanceof Map)&&c()in t:!1}function m(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function y(t){return function(e,n){return t(e,n).split(" ")[1]}}function _(t){return function(e,n){return t(e,n).split(" ")[0]}}function v(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function g(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=v(t,n,e);return r?r.substring(3):""}}function w(t,e){return t.hour12=e,t}function b(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function M(t,e){var n={};return 4>e?n[t]=e>1?"short":"narrow":n[t]="long",n}function E(t){return(e=Object).assign.apply(e,[{}].concat(t));var e}function S(t){return function(e,n){return v(e,n,t)}}function T(t,e,n){var r=vt[t];if(r)return r(e,n);var i=t,o=wt.get(i);if(!o){o=[];var s=void 0;for(_t.exec(t);t;)s=_t.exec(t),s?(o=o.concat(s.slice(1)),t=o.pop()):(o.push(t),t=null);wt.set(i,o)}return o.reduce(function(t,r){var i=gt[r];return t+(i?i(e,n):C(r))},"")}function C(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function k(t){return null==t||""===t}function L(t,e,n,r,s,a,u){if(void 0===a&&(a=null),void 0===u&&(u=!1),o(n))return null;if(n="string"==typeof n&&Y.isNumeric(n)?+n:n,"number"!=typeof n)throw new ct(t,n);var c,l,p;if(r!==mt.Currency&&(c=1,l=0,p=3),s){var h=s.match(Lt);if(null===h)throw new Error(s+" is not a valid digit info for number pipes");i(h[1])&&(c=Y.parseIntAutoRadix(h[1])),i(h[3])&&(l=Y.parseIntAutoRadix(h[3])),i(h[5])&&(p=Y.parseIntAutoRadix(h[5]))}return yt.format(n,e,r,{minimumIntegerDigits:c,minimumFractionDigits:l,maximumFractionDigits:p,currency:a,currencyAsSymbol:u})}var D,x=function(){function t(){}return t.prototype.getBaseHrefFromDOM=function(){},t.prototype.onPopState=function(t){},t.prototype.onHashChange=function(t){},Object.defineProperty(t.prototype,"pathname",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.replaceState=function(t,e,n){},t.prototype.pushState=function(t,e,n){},t.prototype.forward=function(){},t.prototype.back=function(){},t}(),P=function(){function t(){}return t.prototype.path=function(t){},t.prototype.prepareExternalUrl=function(t){},t.prototype.pushState=function(t,e,n,r){},t.prototype.replaceState=function(t,e,n,r){},t.prototype.forward=function(){},t.prototype.back=function(){},t.prototype.onPopState=function(t){},t.prototype.getBaseHref=function(){},t}(),O=new n.OpaqueToken("appBaseHref");D="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:t:window;var A=D;A.assert=function(t){};var Y=function(){function t(){}return t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t}(),I=null,j=function(){function t(e){var r=this;this._subject=new n.EventEmitter,this._platformStrategy=e;var i=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(p(i)),this._platformStrategy.onPopState(function(t){r._subject.emit({url:r.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(l(this._baseHref,p(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),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){return t.replace(/\/$/,"")},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:P}]},t}(),N=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},R=function(t){function e(e,n){t.call(this),this._platformLocation=e,this._baseHref="",i(n)&&(this._baseHref=n)}return N(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 i(e)||(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=j.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+j.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+j.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:x},{type:void 0,decorators:[{type:n.Optional},{type:n.Inject,args:[O]}]}]},e}(P),H=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},V=function(t){function e(e,n){if(t.call(this),this._platformLocation=e,o(n)&&(n=this._platformLocation.getBaseHrefFromDOM()),o(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.");this._baseHref=n}return H(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 j.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+j.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+j.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+j.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:x},{type:void 0,decorators:[{type:n.Optional},{type:n.Inject,args:[O]}]}]},e}(P),F=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},B=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),U=function(t){function e(e){t.call(this),this._locale=e}return F(e,t),e.prototype.getPluralCategory=function(t){var e=d(this._locale,t);switch(e){case W.Zero:return"zero";case W.One:return"one";case W.Two:return"two";case W.Few:return"few";case W.Many:return"many";default:return"other"}},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[n.LOCALE_ID]}]}]},e}(B),W={};W.Zero=0,W.One=1,W.Two=2,W.Few=3,W.Many=4,W.Other=5,W[W.Zero]="Zero",W[W.One]="One",W[W.Two]="Two",W[W.Few]="Few",W[W.Many]="Many",W[W.Other]="Other";var z=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(f(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create(null):this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create(null))},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 t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},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 "+a(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){i(t[r])&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;t=t.trim(),t&&t.split(/\s+/g).forEach(function(t){n._renderer.setElementClass(n._ngEl.nativeElement,t,e)})},t.decorators=[{type:n.Directive,args:[{selector:"[ngClass]"}]}],t.ctorParameters=function(){return[{type:n.IterableDiffers},{type:n.KeyValueDiffers},{type:n.ElementRef},{type:n.Renderer}]},t.propDecorators={klass:[{type:n.Input,args:["class"]}],ngClass:[{type:n.Input}]},t}(),G=function(){function t(t,e,n){this.$implicit=t,this.index=e,this.count=n}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}(),q=function(){function t(t,e,n,r){this._viewContainer=t,this._template=e,this._differs=n,this._cdr=r,this._differ=null}return Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this._cdr,this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+r(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new G(null,null,null),i),s=new K(t,o);n.push(s)}else if(null==i)e._viewContainer.remove(r);else{var o=e._viewContainer.get(r);e._viewContainer.move(o,i);var s=new K(t,o);n.push(s)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var r=0,i=this._viewContainer.length;i>r;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=i}t.forEachIdentityChange(function(t){var n=e._viewContainer.get(t.currentIndex);n.context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.decorators=[{type:n.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],t.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:n.TemplateRef},{type:n.IterableDiffers},{type:n.ChangeDetectorRef}]},t.propDecorators={ngForOf:[{type:n.Input}],ngForTrackBy:[{type:n.Input}],ngForTemplate:[{type:n.Input}]},t}(),K=function(){function t(t,e){this.record=t,this.view=e}return t}(),J=function(){function t(t,e){this._viewContainer=t,this._template=e,this._hasView=!1}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){t&&!this._hasView?(this._hasView=!0,this._viewContainer.createEmbeddedView(this._template)):!t&&this._hasView&&(this._hasView=!1,this._viewContainer.clear())},enumerable:!0,configurable:!0}),t.decorators=[{type:n.Directive,args:[{selector:"[ngIf]"}]}],t.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:n.TemplateRef}]},t.propDecorators={ngIf:[{type:n.Input}]},t}(),$=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}(),Z=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++){var n=this._defaultViews[e];n.enforceState(t)}}},t.decorators=[{type:n.Directive,args:[{selector:"[ngSwitch]"}]}],t.ctorParameters=function(){return[]},t.propDecorators={ngSwitch:[{type:n.Input}]},t}(),X=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new $(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t.decorators=[{type:n.Directive,args:[{selector:"[ngSwitchCase]"}]}],t.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:n.TemplateRef},{type:Z,decorators:[{type:n.Host}]}]},t.propDecorators={ngSwitchCase:[{type:n.Input}]},t}(),Q=function(){function t(t,e,n){n._addDefault(new $(t,e))}return t.decorators=[{type:n.Directive,args:[{selector:"[ngSwitchDefault]"}]}],t.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:n.TemplateRef},{type:Z,decorators:[{type:n.Host}]}]},t}(),tt=function(){function t(t){this._localization=t,this._caseViews={}}return Object.defineProperty(t.prototype,"ngPlural",{set:function(t){this._switchValue=t,this._updateView()},enumerable:!0,configurable:!0}),t.prototype.addCase=function(t,e){this._caseViews[t]=e},t.prototype._updateView=function(){this._clearViews();var t=Object.keys(this._caseViews),e=h(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])},t.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},t.prototype._activateView=function(t){t&&(this._activeView=t,this._activeView.create())},t.decorators=[{type:n.Directive,args:[{selector:"[ngPlural]"}]}],t.ctorParameters=function(){return[{type:B}]},t.propDecorators={ngPlural:[{type:n.Input}]},t}(),et=function(){function t(t,e,n,r){this.value=t,r.addCase(t,new $(n,e))}return t.decorators=[{type:n.Directive,args:[{selector:"[ngPluralCase]"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Attribute,args:["ngPluralCase"]}]},{type:n.TemplateRef},{type:n.ViewContainerRef},{type:tt,decorators:[{type:n.Host}]}]},t}(),nt=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(null))},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=t.split("."),r=n[0],i=n[1];e=e&&i?""+e+i:e,this._renderer.setElementStyle(this._ngEl.nativeElement,r,e)},t.decorators=[{type:n.Directive,args:[{selector:"[ngStyle]"}]}],t.ctorParameters=function(){return[{type:n.KeyValueDiffers},{type:n.ElementRef},{type:n.Renderer}]},t.propDecorators={ngStyle:[{type:n.Input}]},t}(),rt=function(){function t(t){this._viewContainerRef=t}return Object.defineProperty(t.prototype,"ngOutletContext",{set:function(t){this._context=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngTemplateOutlet",{set:function(t){this._templateRef=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this._templateRef&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this._templateRef,this._context))},t.decorators=[{type:n.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],t.ctorParameters=function(){return[{type:n.ViewContainerRef}]},t.propDecorators={ngOutletContext:[{type:n.Input}],ngTemplateOutlet:[{type:n.Input}]},t}(),it=[z,q,J,rt,nt,Z,X,Q,tt,et],ot=n.__core_private__.isPromise,st=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},at=function(t){function e(e){t.call(this,e);var n=new Error(e);this._nativeError=n}return st(e,t),Object.defineProperty(e.prototype,"message",{get:function(){return this._nativeError.message},set:function(t){this._nativeError.message=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._nativeError.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stack",{get:function(){return this._nativeError.stack},set:function(t){this._nativeError.stack=t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._nativeError.toString()},e}(Error),ut=(function(t){function e(e,n){t.call(this,e+" caused by: "+(n instanceof Error?n.message:n)),this.originalError=n}return st(e,t),Object.defineProperty(e.prototype,"stack",{get:function(){return(this.originalError instanceof Error?this.originalError:this._nativeError).stack},enumerable:!0,configurable:!0}),e}(at),this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ct=function(t){function e(e,n){t.call(this,"Invalid argument '"+n+"' for pipe '"+a(e)+"'")}return ut(e,t),e}(at),lt=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),pt=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}(),ht=new pt,dt=new lt,ft=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,n.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(ot(e))return ht;if(e.subscribe)return dt;throw new ct(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t.decorators=[{type:n.Pipe,args:[{name:"async",pure:!1}]}],t.ctorParameters=function(){return[{type:n.ChangeDetectorRef}]},t}(),mt={};mt.Decimal=0,mt.Percent=1,mt.Currency=2,mt[mt.Decimal]="Decimal",mt[mt.Percent]="Percent",mt[mt.Currency]="Currency";var yt=function(){function t(){}return t.format=function(t,e,n,r){var i=void 0===r?{}:r,o=i.minimumIntegerDigits,s=i.minimumFractionDigits,a=i.maximumFractionDigits,u=i.currency,c=i.currencyAsSymbol,l=void 0===c?!1:c,p={minimumIntegerDigits:o,minimumFractionDigits:s,maximumFractionDigits:a,style:mt[n].toLowerCase()};return n==mt.Currency&&(p.currency=u,p.currencyDisplay=l?"symbol":"code"),new Intl.NumberFormat(e,p).format(t)},t}(),_t=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,vt={yMMMdjms:S(E([b("year",1),M("month",3),b("day",1),b("hour",1),b("minute",1),b("second",1)])),yMdjm:S(E([b("year",1),b("month",1),b("day",1),b("hour",1),b("minute",1)])),yMMMMEEEEd:S(E([b("year",1),M("month",4),M("weekday",4),b("day",1)])),yMMMMd:S(E([b("year",1),M("month",4),b("day",1)])),yMMMd:S(E([b("year",1),M("month",3),b("day",1)])),yMd:S(E([b("year",1),b("month",1),b("day",1)])),jms:S(E([b("hour",1),b("second",1),b("minute",1)])),jm:S(E([b("hour",1),b("minute",1)]))},gt={yyyy:S(b("year",4)),yy:S(b("year",2)),y:S(b("year",1)),MMMM:S(M("month",4)),MMM:S(M("month",3)),MM:S(b("month",2)),M:S(b("month",1)),LLLL:S(M("month",4)),L:S(M("month",1)),dd:S(b("day",2)),d:S(b("day",1)),HH:m(_(S(w(b("hour",2),!1)))),H:_(S(w(b("hour",1),!1))),hh:m(_(S(w(b("hour",2),!0)))),h:_(S(w(b("hour",1),!0))),jj:S(b("hour",2)),j:S(b("hour",1)),mm:m(S(b("minute",2))),m:S(b("minute",1)),ss:m(S(b("second",2))),s:S(b("second",1)),sss:S(b("second",3)),EEEE:S(M("weekday",4)),EEE:S(M("weekday",3)),EE:S(M("weekday",2)),E:S(M("weekday",1)),a:y(S(w(b("hour",1),!0))),Z:g("short"),z:g("long"),ww:S({}),w:S({}),G:S(M("era",1)),GG:S(M("era",2)),GGG:S(M("era",3)),GGGG:S(M("era",4))},wt=new Map,bt=function(){function t(){}return t.format=function(t,e,n){return T(n,t,e)},t}(),Mt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){void 0===n&&(n="mediumDate");var r;if(k(e))return null;if("string"==typeof e&&(e=e.trim()),s(e))r=e;else if(Y.isNumeric(e))r=new Date(parseFloat(e));else if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var i=e.split("-").map(function(t){return parseInt(t,10)}),o=i[0],a=i[1],u=i[2];r=new Date(o,a-1,u)}else r=new Date(e);if(!s(r))throw new ct(t,e);return bt.format(r,this._locale,t._ALIASES[n]||n)},t._ALIASES={medium:"yMMMdjms","short":"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},t.decorators=[{type:n.Pipe,args:[{name:"date",pure:!0}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[n.LOCALE_ID]}]}]},t}(),Et=/#/g,St=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,n){if(o(e))return"";if("object"!=typeof n||null===n)throw new ct(t,n);var r=h(e,Object.keys(n),this._localization);return n[r].replace(Et,e.toString())},t.decorators=[{type:n.Pipe,args:[{name:"i18nPlural",pure:!0}]}],t.ctorParameters=function(){return[{type:B}]},t}(),Tt=function(){function t(){}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw new ct(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""},t.decorators=[{type:n.Pipe,args:[{name:"i18nSelect",pure:!0}]}],t.ctorParameters=function(){return[]},t}(),Ct=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t.decorators=[{type:n.Pipe,args:[{name:"json",pure:!1}]}],t.ctorParameters=function(){return[]},t}(),kt=function(){function t(){}return t.prototype.transform=function(e){if(o(e))return e;if("string"!=typeof e)throw new ct(t,e);return e.toLowerCase()},t.decorators=[{type:n.Pipe,
args:[{name:"lowercase"}]}],t.ctorParameters=function(){return[]},t}(),Lt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Dt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),L(t,this._locale,e,mt.Decimal,n)},t.decorators=[{type:n.Pipe,args:[{name:"number"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[n.LOCALE_ID]}]}]},t}(),xt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),L(t,this._locale,e,mt.Percent,n)},t.decorators=[{type:n.Pipe,args:[{name:"percent"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[n.LOCALE_ID]}]}]},t}(),Pt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,i){return void 0===n&&(n="USD"),void 0===r&&(r=!1),void 0===i&&(i=null),L(t,this._locale,e,mt.Currency,i,n,r)},t.decorators=[{type:n.Pipe,args:[{name:"currency"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[n.LOCALE_ID]}]}]},t}(),Ot=function(){function t(){}return t.prototype.transform=function(e,n,r){if(o(e))return e;if(!this.supports(e))throw new ct(t,e);return e.slice(n,r)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t.decorators=[{type:n.Pipe,args:[{name:"slice",pure:!1}]}],t.ctorParameters=function(){return[]},t}(),At=function(){function t(){}return t.prototype.transform=function(e){if(o(e))return e;if("string"!=typeof e)throw new ct(t,e);return e.toUpperCase()},t.decorators=[{type:n.Pipe,args:[{name:"uppercase"}]}],t.ctorParameters=function(){return[]},t}(),Yt=[ft,At,kt,Ct,Ot,Dt,xt,Pt,Mt,St,Tt],It=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{declarations:[it,Yt],exports:[it,Yt],providers:[{provide:B,useClass:U}]}]}],t.ctorParameters=function(){return[]},t}(),jt=new n.Version("2.3.1");e.NgLocalization=B,e.CommonModule=It,e.NgClass=z,e.NgFor=q,e.NgIf=J,e.NgPlural=tt,e.NgPluralCase=et,e.NgStyle=nt,e.NgSwitch=Z,e.NgSwitchCase=X,e.NgSwitchDefault=Q,e.NgTemplateOutlet=rt,e.AsyncPipe=ft,e.DatePipe=Mt,e.I18nPluralPipe=St,e.I18nSelectPipe=Tt,e.JsonPipe=Ct,e.LowerCasePipe=kt,e.CurrencyPipe=Pt,e.DecimalPipe=Dt,e.PercentPipe=xt,e.SlicePipe=Ot,e.UpperCasePipe=At,e.VERSION=jt,e.Version=n.Version,e.PlatformLocation=x,e.LocationStrategy=P,e.APP_BASE_HREF=O,e.HashLocationStrategy=R,e.PathLocationStrategy=V,e.Location=j})}).call(e,function(){return this}())},,function(t,e,n){!function(t,r){r(e,n(3),n(25),n(4),n(5),n(26))}(this,function(t,e,n,r,i,o){"use strict";function s(t){return null!=t}function a(t){return null==t}function u(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function c(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function l(t){return!c(t)}function p(t){return null==t||"string"==typeof t&&0===t.length}function h(t){return W(t)?t:n.toPromise.call(t)}function d(t,e){return e.map(function(e){return e(t)})}function f(t,e){return e.map(function(e){return e(t)})}function m(t){var e=t.reduce(function(t,e){return s(e)?B.merge(t,e):t},{});return 0===Object.keys(e).length?null:e}function y(t){return t.validate?function(e){return t.validate(e)}:t}function _(t){return t.validate?function(e){return t.validate(e)}:t}function v(){throw new Error("unimplemented")}function g(t,e){return null==t?""+e:(l(e)||(e="Object"),(t+": "+e).slice(0,50))}function w(t){return t.split(":")[0]}function b(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),l(e)||(e="Object"),(t+": "+e).slice(0,50))}function M(t){return t.split(":")[0]}function E(t,e){return e.path.concat([t])}function S(t,e){t||L(e,"Cannot find control with"),e.valueAccessor||L(e,"No value accessor for form control with"),t.validator=q.compose([t.validator,e.validator]),t.asyncValidator=q.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.markAsDirty(),t.setValue(n,{emitModelToViewChange:!1})}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()}),t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}),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 T(t,e){e.valueAccessor.registerOnChange(function(){return k(e)}),e.valueAccessor.registerOnTouched(function(){return k(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function C(t,e){a(t)&&L(e,"Cannot find control with"),t.validator=q.compose([t.validator,e.validator]),t.asyncValidator=q.composeAsync([t.asyncValidator,e.asyncValidator])}function k(t){return L(t,"There is no FormControl instance attached to form control element with")}function L(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 D(t){return s(t)?q.compose(t.map(y)):null}function x(t){return s(t)?q.composeAsync(t.map(_)):null}function P(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return n.isFirstChange()?!0:!u(e,n.currentValue)}function O(t){return ft.some(function(e){return t.constructor===e})}function A(t,e){if(!e)return null;var n,r,i;return e.forEach(function(e){e.constructor===X?n=e:O(e)?(r&&L(t,"More than one built-in value accessor matches form control with"),r=e):(i&&L(t,"More than one custom value accessor matches form control with"),i=e)}),i?i:r?r:n?n:(L(t,"No valid value accessor for form control with"),null)}function Y(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Pt?t.controls[e]||null:t instanceof Ot?t.at(e)||null:null},t))}function I(t){return W(t)?o.fromPromise(t):t}function j(t){return Array.isArray(t)?D(t):t}function N(t){return Array.isArray(t)?x(t):t}function R(t){return!(t instanceof ee||t instanceof Xt||t instanceof re)}var H=function(){function t(){}return Object.defineProperty(t.prototype,"control",{get:function(){throw new Error("unimplemented")},enumerable:!0,configurable:!0}),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,"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,"untouched",{get:function(){return this.control?this.control.untouched: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,"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 void 0===e&&(e=null),this.control?this.control.hasError(t,e):!1},t.prototype.getError=function(t,e){return void 0===e&&(e=null),this.control?this.control.getError(t,e):null},t}(),V=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},F=function(t){function e(){t.apply(this,arguments)}return V(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}(H),B=function(){function t(){}return t.merge=function(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];n[o]=t[o]}for(var s=0,a=Object.keys(e);s<a.length;s++){var o=a[s];n[o]=e[o]}return n},t.equals=function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(t[o]!==e[o])return!1}return!0},t}(),U=function(){function t(){}return t.findLast=function(t,e){for(var n=t.length-1;n>=0;n--)if(e(t[n]))return t[n];return null},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);r>-1&&t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1?(t.splice(n,1),!0):!1},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0},t.flatten=function(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t.flatten(n):n;return e.concat(r)},[])},t}(),W=e.__core_private__.isPromise,z=new e.OpaqueToken("NgValidators"),G=new e.OpaqueToken("NgAsyncValidators"),q=function(){function t(){}return t.required=function(t){return p(t.value)?{required:!0}:null},t.requiredTrue=function(t){return t.value===!0?null:{required:!0}},t.minLength=function(t){return function(e){if(p(e.value))return null;var n=e.value?e.value.length:0;return t>n?{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){if(!e)return t.nullValidator;var n,r;return"string"==typeof e?(r="^"+e+"$",n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(p(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(s);return 0==e.length?null:function(t){return m(d(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(s);return 0==e.length?null:function(t){var n=f(t,e).map(h);return Promise.all(n).then(m)}},t}(),K=new e.OpaqueToken("NgValueAccessor"),J={provide:K,useExisting:e.forwardRef(function(){return $}),multi:!0},$=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.setElementProperty(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.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:e.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[J]}]}],t.ctorParameters=function(){return[{type:e.Renderer},{type:e.ElementRef}]},t}(),Z={provide:K,useExisting:e.forwardRef(function(){return X}),multi:!0},X=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:e.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Z]}]}],t.ctorParameters=function(){return[{type:e.Renderer},{type:e.ElementRef}]},t}(),Q={provide:K,useExisting:e.forwardRef(function(){return tt}),multi:!0},tt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},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.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:e.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Q]}]}],t.ctorParameters=function(){return[{type:e.Renderer},{type:e.ElementRef}]},t}(),et=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},nt=function(t){function e(){t.apply(this,arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}return et(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return v()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return v()},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){},e}(H),rt={provide:K,useExisting:e.forwardRef(function(){return ot}),multi:!0},it=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:!1},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),ot=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(nt),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.setElementProperty(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.setElementProperty(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.decorators=[{type:e.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[rt]}]}],t.ctorParameters=function(){return[{type:e.Renderer},{type:e.ElementRef},{type:it},{type:e.Injector}]},t.propDecorators={name:[{type:e.Input}],formControlName:[{type:e.Input}],value:[{type:e.Input}]},t}(),st={provide:K,useExisting:e.forwardRef(function(){return at}),multi:!0},at=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.setElementProperty(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.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:e.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[st]}]}],t.ctorParameters=function(){return[{type:e.Renderer},{type:e.ElementRef}]},t}(),ut={provide:K,useExisting:e.forwardRef(function(){return ct}),multi:!0},ct=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(){}}return t.prototype.writeValue=function(t){this.value=t;var e=g(this._getOptionId(t),t);this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=n,t(e._getOptionValue(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(u(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=w(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t.decorators=[{type:e.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[ut]}]}],t.ctorParameters=function(){return[{type:e.Renderer},{type:e.ElementRef}]},t}(),lt=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(g(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.setElementProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap["delete"](this.id),this._select.writeValue(this._select.value))},t.decorators=[{type:e.Directive,args:[{selector:"option"}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer},{type:ct,decorators:[{type:e.Optional},{type:e.Host}]}]},t.propDecorators={ngValue:[{type:e.Input,args:["ngValue"]}],value:[{type:e.Input,args:["value"]}]},t}(),pt={provide:K,useExisting:e.forwardRef(function(){return ht}),multi:!0},ht=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(){}}return t.prototype.writeValue=function(t){var e=this;this.value=t;var n;if(Array.isArray(t)){var r=t.map(function(t){return e._getOptionId(t)});n=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var s=i.item(o),a=e._getOptionValue(s.value);r.push(a)}else for(var i=n.options,o=0;o<i.length;o++){var s=i.item(o);if(s.selected){var a=e._getOptionValue(s.value);r.push(a)}}e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(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){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(u(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=M(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t.decorators=[{type:e.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[pt]}]}],t.ctorParameters=function(){return[{type:e.Renderer},{type:e.ElementRef}]},t}(),dt=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(b(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(b(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setElementProperty(this._element.nativeElement,"value",t)},t.prototype._setSelected=function(t){this._renderer.setElementProperty(this._element.nativeElement,"selected",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap["delete"](this.id),this._select.writeValue(this._select.value))},t.decorators=[{type:e.Directive,args:[{selector:"option"}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer},{type:ht,decorators:[{type:e.Optional},{type:e.Host}]}]},t.propDecorators={ngValue:[{type:e.Input,args:["ngValue"]}],value:[{type:e.Input,args:["value"]}]},t}(),ft=[$,at,tt,ct,ht,ot],mt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},yt=function(t){function e(){t.apply(this,arguments)}return mt(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 E(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 D(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return x(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(F),_t=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},vt=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return this._cd.control?this._cd.control.untouched:!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return this._cd.control?this._cd.control.touched:!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return this._cd.control?this._cd.control.pristine:!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return this._cd.control?this._cd.control.dirty:!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return this._cd.control?this._cd.control.valid:!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return this._cd.control?this._cd.control.invalid:!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return this._cd.control?this._cd.control.pending:!1},enumerable:!0,configurable:!0}),t}(),gt={"[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"},wt=function(t){function n(e){t.call(this,e)}return _t(n,t),n.decorators=[{type:e.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:gt}]}],n.ctorParameters=function(){return[{type:nt,decorators:[{type:e.Self}]}]},n}(vt),bt=function(t){function n(e){t.call(this,e)}return _t(n,t),n.decorators=[{type:e.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:gt}]}],n.ctorParameters=function(){return[{type:F,decorators:[{type:e.Self}]}]},n}(vt),Mt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Et=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return Mt(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};return e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,i,o,s)},e}(r.Subject),St=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Tt="VALID",Ct="INVALID",kt="PENDING",Lt="DISABLED",Dt=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,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this._status===Tt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this._status===Ct},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this._status==kt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._status===Lt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._status!==Lt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=j(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=N(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!0,this._parent&&!e&&this._parent.markAsTouched({onlySelf:e})},t.prototype.markAsUntouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype.markAsDirty=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!1,this._parent&&!e&&this._parent.markAsDirty({onlySelf:e})},t.prototype.markAsPristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!0,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype.markAsPending=function(t){var e=(void 0===t?{}:t).onlySelf;this._status=kt,this._parent&&!e&&this._parent.markAsPending({onlySelf:e})},t.prototype.disable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status=Lt,this._errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),r!==!1&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._updateAncestors(n),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status=Tt,this._forEachChild(function(t){t.enable({onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r}),this._updateAncestors(n),this._onDisabledChange.forEach(function(t){
return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.setValue=function(t,e){},t.prototype.patchValue=function(t,e){},t.prototype.reset=function(t,e){},t.prototype.updateValueAndValidity=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._setInitialStatus(),this._updateValue(),this.enabled&&(this._errors=this._runValidator(),this._status=this._calculateStatus(),(this._status===Tt||this._status===kt)&&this._runAsyncValidator(r)),r!==!1&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._parent&&!n&&this._parent.updateValueAndValidity({onlySelf:n,emitEvent:r})},t.prototype._updateTreeValidity=function(t){var e=(void 0===t?{emitEvent:!0}:t).emitEvent;this._forEachChild(function(t){return t._updateTreeValidity({emitEvent:e})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e})},t.prototype._setInitialStatus=function(){this._status=this._allControlsDisabled()?Lt:Tt},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this._status=kt,this._cancelExistingSubscription();var n=I(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe({next:function(n){return e.setErrors(n,{emitEvent:t})}})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){var n=(void 0===e?{}:e).emitEvent;this._errors=t,this._updateControlsErrors(n!==!1)},t.prototype.get=function(t){return Y(this,t,".")},t.prototype.getError=function(t,e){void 0===e&&(e=null);var n=e?this.get(e):this;return n&&n._errors?n._errors[t]:null},t.prototype.hasError=function(t,e){return void 0===e&&(e=null),!!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 Et,this._statusChanges=new Et},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?Lt:this._errors?Ct:this._anyControlsHaveStatus(kt)?kt:this._anyControlsHaveStatus(Ct)?Ct:Tt},t.prototype._updateValue=function(){},t.prototype._forEachChild=function(t){},t.prototype._anyControls=function(t){},t.prototype._allControlsDisabled=function(){},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){var e=(void 0===t?{}:t).onlySelf;this._pristine=!this._anyControlsDirty(),this._parent&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype._updateTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=this._anyControlsTouched(),this._parent&&!e&&this._parent._updateTouched({onlySelf:e})},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}(),xt=function(t){function e(e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,j(n),N(r)),this._onChange=[],this._applyFormState(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return St(e,t),e.prototype.setValue=function(t,e){var n=this,r=void 0===e?{}:e,i=r.onlySelf,o=r.emitEvent,s=r.emitModelToViewChange,a=r.emitViewToModelChange;this._value=t,this._onChange.length&&s!==!1&&this._onChange.forEach(function(t){return t(n._value,a!==!1)}),this.updateValueAndValidity({onlySelf:i,emitEvent:o})},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);var n=void 0===e?{}:e,r=n.onlySelf,i=n.emitEvent;this._applyFormState(t),this.markAsPristine({onlySelf:r}),this.markAsUntouched({onlySelf:r}),this.setValue(this._value,{onlySelf:r,emitEvent:i})},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._applyFormState=function(t){this._isBoxedValue(t)?(this._value=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this._value=t},e}(Dt),Pt=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,n,r),this.controls=e,this._initObservables(),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return St(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,r=void 0===e?{}:e,i=r.onlySelf,o=r.emitEvent;this._checkAllValuesPresent(t),Object.keys(t).forEach(function(e){n._throwIfControlMissing(e),n.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:o})}),this.updateValueAndValidity({onlySelf:i,emitEvent:o})},e.prototype.patchValue=function(t,e){var n=this,r=void 0===e?{}:e,i=r.onlySelf,o=r.emitEvent;Object.keys(t).forEach(function(e){n.controls[e]&&n.controls[e].patchValue(t[e],{onlySelf:!0,emitEvent:o})}),this.updateValueAndValidity({onlySelf:i,emitEvent:o})},e.prototype.reset=function(t,e){void 0===t&&(t={});var n=void 0===e?{}:e,r=n.onlySelf,i=n.emitEvent;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0,emitEvent:i})}),this.updateValueAndValidity({onlySelf:r,emitEvent:i}),this._updatePristine({onlySelf:r}),this._updateTouched({onlySelf:r})},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e.value,t})},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this._value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,i){n=n||e.contains(i)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled},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}(Dt),Ot=function(t){function e(e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),t.call(this,n,r),this.controls=e,this._initObservables(),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return St(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(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},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,r=void 0===e?{}:e,i=r.onlySelf,o=r.emitEvent;this._checkAllValuesPresent(t),t.forEach(function(t,e){n._throwIfControlMissing(e),n.at(e).setValue(t,{onlySelf:!0,emitEvent:o})}),this.updateValueAndValidity({onlySelf:i,emitEvent:o})},e.prototype.patchValue=function(t,e){var n=this,r=void 0===e?{}:e,i=r.onlySelf,o=r.emitEvent;t.forEach(function(t,e){n.at(e)&&n.at(e).patchValue(t,{onlySelf:!0,emitEvent:o})}),this.updateValueAndValidity({onlySelf:i,emitEvent:o})},e.prototype.reset=function(t,e){void 0===t&&(t=[]);var n=void 0===e?{}:e,r=n.onlySelf,i=n.emitEvent;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0,emitEvent:i})}),this.updateValueAndValidity({onlySelf:r,emitEvent:i}),this._updatePristine({onlySelf:r}),this._updateTouched({onlySelf:r})},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t.value})},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(){for(var t=0,e=this.controls;t<e.length;t++){var n=e[t];if(n.enabled)return!1}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Dt),At=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Yt={provide:F,useExisting:e.forwardRef(function(){return jt})},It=Promise.resolve(null),jt=function(t){function n(e,n){t.call(this),this._submitted=!1,this.ngSubmit=new Et,this.form=new Pt({},D(e),x(n))}return At(n,t),Object.defineProperty(n.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),n.prototype.addControl=function(t){var e=this;It.then(function(){var n=e._findContainer(t.path);t._control=n.registerControl(t.name,t.control),S(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},n.prototype.getControl=function(t){return this.form.get(t.path)},n.prototype.removeControl=function(t){var e=this;It.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},n.prototype.addFormGroup=function(t){var e=this;It.then(function(){var n=e._findContainer(t.path),r=new Pt({});C(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},n.prototype.removeFormGroup=function(t){var e=this;It.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},n.prototype.getFormGroup=function(t){return this.form.get(t.path)},n.prototype.updateModel=function(t,e){var n=this;It.then(function(){var r=n.form.get(t.path);r.setValue(e)})},n.prototype.setValue=function(t){this.control.setValue(t)},n.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},n.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},n.decorators=[{type:e.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[Yt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],n.ctorParameters=function(){return[{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]}]},n}(F),Nt={formControlName:'\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    });',formGroupName:'\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    });',formArrayName:'\n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; let i=index">\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    });',ngModelGroup:'\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',ngModelWithFormGroup:'\n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  '},Rt=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      '+Nt.formControlName+"\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      "+Nt.ngModelWithFormGroup)},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      "+Nt.formGroupName+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+Nt.ngModelGroup)},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      "+Nt.formGroupName+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+Nt.ngModelGroup)},t}(),Ht=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Vt={provide:F,useExisting:e.forwardRef(function(){return Ft})},Ft=function(t){function n(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return Ht(n,t),n.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof jt||Rt.modelGroupParentException()},n.decorators=[{type:e.Directive,args:[{selector:"[ngModelGroup]",providers:[Vt],exportAs:"ngModelGroup"}]}],n.ctorParameters=function(){return[{type:F,decorators:[{type:e.Host},{type:e.SkipSelf}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]}]},n.propDecorators={name:[{type:e.Input,args:["ngModelGroup"]}]},n}(yt),Bt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ut={provide:nt,useExisting:e.forwardRef(function(){return zt})},Wt=Promise.resolve(null),zt=function(t){function n(e,n,r,i){t.call(this),this._control=new xt,this._registered=!1,this.update=new Et,this._parent=e,this._rawValidators=n||[],this._rawAsyncValidators=r||[],this.valueAccessor=A(this,i)}return Bt(n,t),n.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),P(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(n.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return this._parent?E(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return D(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return x(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},n.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},n.prototype._isStandalone=function(){return!this._parent||this.options&&this.options.standalone},n.prototype._setUpStandalone=function(){S(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},n.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},n.prototype._checkParentType=function(){!(this._parent instanceof Ft)&&this._parent instanceof yt?Rt.formGroupNameException():this._parent instanceof Ft||this._parent instanceof jt||Rt.modelParentException()},n.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Rt.missingNameException()},n.prototype._updateValue=function(t){var e=this;Wt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},n.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Wt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},n.decorators=[{type:e.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Ut],exportAs:"ngModel"}]}],n.ctorParameters=function(){return[{type:F,decorators:[{type:e.Optional},{type:e.Host}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[K]}]}]},n.propDecorators={name:[{type:e.Input}],isDisabled:[{type:e.Input,args:["disabled"]}],model:[{type:e.Input,args:["ngModel"]}],options:[{type:e.Input,args:["ngModelOptions"]}],update:[{type:e.Output,args:["ngModelChange"]}]},n}(nt),Gt=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      "+Nt.formControlName)},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        '+Nt.formGroupName+"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        "+Nt.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+Nt.formControlName)},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      "+Nt.formGroupName)},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        "+Nt.formArrayName)},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}(),qt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Kt={provide:nt,useExisting:e.forwardRef(function(){return Jt})},Jt=function(t){function n(e,n,r){t.call(this),this.update=new Et,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=A(this,r)}return qt(n,t),Object.defineProperty(n.prototype,"isDisabled",{set:function(t){Gt.disabledAttrWarning()},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(S(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),P(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return D(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return x(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},n.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},n.decorators=[{type:e.Directive,args:[{selector:"[formControl]",providers:[Kt],exportAs:"ngForm"}]}],n.ctorParameters=function(){return[{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[K]}]}]},n.propDecorators={form:[{type:e.Input,args:["formControl"]}],model:[{type:e.Input,args:["ngModel"]}],update:[{type:e.Output,args:["ngModelChange"]}],isDisabled:[{type:e.Input,args:["disabled"]}]},n}(nt),$t=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Zt={provide:F,useExisting:e.forwardRef(function(){return Xt})},Xt=function(t){function n(e,n){t.call(this),this._validators=e,this._asyncValidators=n,this._submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Et}return $t(n,t),n.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(n.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),n.prototype.addControl=function(t){var e=this.form.get(t.path);return S(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},n.prototype.getControl=function(t){return this.form.get(t.path)},n.prototype.removeControl=function(t){U.remove(this.directives,t)},n.prototype.addFormGroup=function(t){var e=this.form.get(t.path);C(e,t),e.updateValueAndValidity({emitEvent:!1})},n.prototype.removeFormGroup=function(t){},n.prototype.getFormGroup=function(t){return this.form.get(t.path)},n.prototype.addFormArray=function(t){var e=this.form.get(t.path);C(e,t),e.updateValueAndValidity({emitEvent:!1})},n.prototype.removeFormArray=function(t){},n.prototype.getFormArray=function(t){return this.form.get(t.path)},n.prototype.updateModel=function(t,e){var n=this.form.get(t.path);n.setValue(e)},n.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},n.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e._control!==n&&(T(e._control,e),n&&S(n,e),e._control=n)}),this.form._updateTreeValidity({emitEvent:!1})},n.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},n.prototype._updateValidators=function(){var t=D(this._validators);this.form.validator=q.compose([this.form.validator,t]);var e=x(this._asyncValidators);this.form.asyncValidator=q.composeAsync([this.form.asyncValidator,e])},n.prototype._checkFormPresent=function(){this.form||Gt.missingFormException()},n.decorators=[{type:e.Directive,args:[{selector:"[formGroup]",providers:[Zt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],n.ctorParameters=function(){return[{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]}]},n.propDecorators={form:[{type:e.Input,args:["formGroup"]}],ngSubmit:[{type:e.Output}]},n}(F),Qt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},te={provide:F,useExisting:e.forwardRef(function(){return ee})},ee=function(t){function n(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return Qt(n,t),n.prototype._checkParentType=function(){R(this._parent)&&Gt.groupParentException()},n.decorators=[{type:e.Directive,args:[{selector:"[formGroupName]",providers:[te]}]}],n.ctorParameters=function(){return[{type:F,decorators:[{type:e.Optional},{type:e.Host},{type:e.SkipSelf}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]}]},n.propDecorators={name:[{type:e.Input,args:["formGroupName"]}]},n}(yt),ne={provide:F,useExisting:e.forwardRef(function(){return re})},re=function(t){function n(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return Qt(n,t),n.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(n.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return E(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return D(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return x(this._asyncValidators)},enumerable:!0,configurable:!0}),n.prototype._checkParentType=function(){R(this._parent)&&Gt.arrayParentException()},n.decorators=[{type:e.Directive,args:[{selector:"[formArrayName]",providers:[ne]}]}],n.ctorParameters=function(){return[{type:F,decorators:[{type:e.Optional},{type:e.Host},{type:e.SkipSelf}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]}]},n.propDecorators={name:[{type:e.Input,args:["formArrayName"]}]},n}(F),ie=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},oe={provide:nt,useExisting:e.forwardRef(function(){return se})},se=function(t){function n(e,n,r,i){
t.call(this),this._added=!1,this.update=new Et,this._parent=e,this._rawValidators=n||[],this._rawAsyncValidators=r||[],this.valueAccessor=A(this,i)}return ie(n,t),Object.defineProperty(n.prototype,"isDisabled",{set:function(t){Gt.disabledAttrWarning()},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),P(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},n.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(n.prototype,"path",{get:function(){return E(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return D(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return x(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),n.prototype._checkParentType=function(){!(this._parent instanceof ee)&&this._parent instanceof yt?Gt.ngModelGroupException():this._parent instanceof ee||this._parent instanceof Xt||this._parent instanceof re||Gt.controlParentException()},n.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},n.decorators=[{type:e.Directive,args:[{selector:"[formControlName]",providers:[oe]}]}],n.ctorParameters=function(){return[{type:F,decorators:[{type:e.Optional},{type:e.Host},{type:e.SkipSelf}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[z]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[G]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[K]}]}]},n.propDecorators={name:[{type:e.Input,args:["formControlName"]}],model:[{type:e.Input,args:["ngModel"]}],update:[{type:e.Output,args:["ngModelChange"]}],isDisabled:[{type:e.Input,args:["disabled"]}]},n}(nt),ae=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ue={provide:z,useExisting:e.forwardRef(function(){return le}),multi:!0},ce={provide:z,useExisting:e.forwardRef(function(){return pe}),multi:!0},le=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&t!==!1&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?q.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:e.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[ue],host:{"[attr.required]":'required ? "" : null'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={required:[{type:e.Input}]},t}(),pe=function(t){function n(){t.apply(this,arguments)}return ae(n,t),n.prototype.validate=function(t){return this.required?q.requiredTrue(t):null},n.decorators=[{type:e.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[ce],host:{"[attr.required]":'required ? "" : null'}}]}],n.ctorParameters=function(){return[]},n}(le),he={provide:z,useExisting:e.forwardRef(function(){return de}),multi:!0},de=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=q.minLength(parseInt(this.minlength,10))},t.decorators=[{type:e.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[he],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={minlength:[{type:e.Input}]},t}(),fe={provide:z,useExisting:e.forwardRef(function(){return me}),multi:!0},me=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=q.maxLength(parseInt(this.maxlength,10))},t.decorators=[{type:e.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[fe],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={maxlength:[{type:e.Input}]},t}(),ye={provide:z,useExisting:e.forwardRef(function(){return _e}),multi:!0},_e=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=q.pattern(this.pattern)},t.decorators=[{type:e.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[ye],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={pattern:[{type:e.Input}]},t}(),ve=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=s(e)?e.validator:null,i=s(e)?e.asyncValidator:null;return new Pt(n,r,i)},t.prototype.control=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),new xt(t,e,n)},t.prototype.array=function(t,e,n){var r=this;void 0===e&&(e=null),void 0===n&&(n=null);var i=t.map(function(t){return r._createControl(t)});return new Ot(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof xt||t instanceof Pt||t instanceof Ot)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),ge=new e.Version("2.3.1"),we=[lt,dt,X,tt,at,$,ct,ht,ot,wt,bt,le,de,me,_e,pe],be=[zt,Ft,jt],Me=[Jt,Xt,se,ee,re],Ee=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:we,exports:we}]}],t.ctorParameters=function(){return[]},t}(),Se=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:be,providers:[it],exports:[Ee,be]}]}],t.ctorParameters=function(){return[]},t}(),Te=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[Me],providers:[ve,it],exports:[Ee,Me]}]}],t.ctorParameters=function(){return[]},t}();t.AbstractControlDirective=H,t.AbstractFormGroupDirective=yt,t.CheckboxControlValueAccessor=$,t.ControlContainer=F,t.NG_VALUE_ACCESSOR=K,t.DefaultValueAccessor=X,t.NgControl=nt,t.NgControlStatus=wt,t.NgControlStatusGroup=bt,t.NgForm=jt,t.NgModel=zt,t.NgModelGroup=Ft,t.RadioControlValueAccessor=ot,t.FormControlDirective=Jt,t.FormControlName=se,t.FormGroupDirective=Xt,t.FormArrayName=re,t.FormGroupName=ee,t.NgSelectOption=lt,t.SelectControlValueAccessor=ct,t.SelectMultipleControlValueAccessor=ht,t.CheckboxRequiredValidator=pe,t.MaxLengthValidator=me,t.MinLengthValidator=de,t.PatternValidator=_e,t.RequiredValidator=le,t.FormBuilder=ve,t.AbstractControl=Dt,t.FormArray=Ot,t.FormControl=xt,t.FormGroup=Pt,t.NG_ASYNC_VALIDATORS=G,t.NG_VALIDATORS=z,t.Validators=q,t.VERSION=ge,t.FormsModule=Se,t.ReactiveFormsModule=Te})},function(t,e,n){"use strict";function r(t){var e=this;if(t||(i.root.Rx&&i.root.Rx.config&&i.root.Rx.config.Promise?t=i.root.Rx.config.Promise:i.root.Promise&&(t=i.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})}var i=n(6);e.toPromise=r},function(t,e,n){"use strict";var r=n(27);e.fromPromise=r.PromiseObservable.create},function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function i(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(6),a=n(5),u=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return o(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,o=this.scheduler;if(null==o)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return o.schedule(r,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(o.schedule(r,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(o.schedule(i,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throw t})})},e}(a.Observable);e.PromiseObservable=u},function(t,e,n){!function(t,r){r(e,n(3),n(5),n(21))}(this,function(t,e,n,r){"use strict";function i(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return y.Get;case"POST":return y.Post;case"PUT":return y.Put;case"DELETE":return y.Delete;case"OPTIONS":return y.Options;case"HEAD":return y.Head;case"PATCH":return y.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}function o(t){return"responseURL"in t?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):void 0}function s(t){for(var e=new Uint16Array(t.length),n=0,r=t.length;r>n;n++)e[n]=t.charCodeAt(n);return e.buffer}function a(t){void 0===t&&(t="");var e=new Map;if(t.length>0){var n=t.split("&");n.forEach(function(t){var n=t.indexOf("="),r=-1==n?[t,""]:[t.slice(0,n),t.slice(n+1)],i=r[0],o=r[1],s=e.get(i)||[];s.push(o),e.set(i,s)})}return e}function u(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,"/")}function c(){var t="object"==typeof window?window:{};return null===j&&(j=t[I]={}),j}function l(t,e){return t.createConnection(e).response}function p(t,e,n,r){var i=t;return e?i.merge(new $({method:e.method||n,url:e.url||r,search:e.search,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):i.merge(new $({method:n,url:r}))}function h(){return new q}function d(t,e){return new st(t,e)}function f(t,e){return new at(t,e)}var m=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),y={};y.Get=0,y.Post=1,y.Put=2,y.Delete=3,y.Options=4,y.Head=5,y.Patch=6,y[y.Get]="Get",y[y.Post]="Post",y[y.Put]="Put",y[y.Delete]="Delete",y[y.Options]="Options",y[y.Head]="Head",y[y.Patch]="Patch";var _={};_.Unsent=0,_.Open=1,_.HeadersReceived=2,_.Loading=3,_.Done=4,_.Cancelled=5,_[_.Unsent]="Unsent",_[_.Open]="Open",_[_.HeadersReceived]="HeadersReceived",_[_.Loading]="Loading",_[_.Done]="Done",_[_.Cancelled]="Cancelled";var v={};v.Basic=0,v.Cors=1,v.Default=2,v.Error=3,v.Opaque=4,v[v.Basic]="Basic",v[v.Cors]="Cors",v[v.Default]="Default",v[v.Error]="Error",v[v.Opaque]="Opaque";var g={};g.NONE=0,g.JSON=1,g.FORM=2,g.FORM_DATA=3,g.TEXT=4,g.BLOB=5,g.ARRAY_BUFFER=6,g[g.NONE]="NONE",g[g.JSON]="JSON",g[g.FORM]="FORM",g[g.FORM_DATA]="FORM_DATA",g[g.TEXT]="TEXT",g[g.BLOB]="BLOB",g[g.ARRAY_BUFFER]="ARRAY_BUFFER";var w={};w.Text=0,w.Json=1,w.ArrayBuffer=2,w.Blob=3,w[w.Text]="Text",w[w.Json]="Json",w[w.ArrayBuffer]="ArrayBuffer",w[w.Blob]="Blob";var b=function(){function t(e){var n=this;return this._headers=new Map,this._normalizedNames=new Map,e?e instanceof t?void e.forEach(function(t,e){t.forEach(function(t){return n.append(e,t)})}):void Object.keys(e).forEach(function(t){var r=Array.isArray(e[t])?e[t]:[e[t]];n["delete"](t),r.forEach(function(e){return n.append(t,e)})}):void 0}return t.fromResponseHeaderString=function(e){var n=new t;return e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),i=t.slice(e+1).trim();n.set(r,i)}}),n},t.prototype.append=function(t,e){var n=this.getAll(t);null===n?this.set(t,e):n.push(e)},t.prototype["delete"]=function(t){var e=t.toLowerCase();this._normalizedNames["delete"](e),this._headers["delete"](e)},t.prototype.forEach=function(t){var e=this;this._headers.forEach(function(n,r){return t(n,e._normalizedNames.get(r),e._headers)})},t.prototype.get=function(t){var e=this.getAll(t);return null===e?null:e.length>0?e[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,e){Array.isArray(e)?e.length&&this._headers.set(t.toLowerCase(),[e.join(",")]):this._headers.set(t.toLowerCase(),[e]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,e={};return this._headers.forEach(function(n,r){var i=[];n.forEach(function(t){return i.push.apply(i,t.split(","))}),e[t._normalizedNames.get(r)]=i}),e},t.prototype.getAll=function(t){return this.has(t)?this._headers.get(t.toLowerCase()):null},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t.prototype.mayBeSetNormalizedName=function(t){var e=t.toLowerCase();this._normalizedNames.has(e)||this._normalizedNames.set(e,t)},t}(),M=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},E=function(){function t(t){var e=void 0===t?{}:t,n=e.body,r=e.status,i=e.headers,o=e.statusText,s=e.type,a=e.url;this.body=null!=n?n:null,this.status=null!=r?r:null,this.headers=null!=i?i:null,this.statusText=null!=o?o:null,this.type=null!=s?s:null,this.url=null!=a?a:null}return t.prototype.merge=function(e){return new t({body:e&&null!=e.body?e.body:this.body,status:e&&null!=e.status?e.status:this.status,headers:e&&null!=e.headers?e.headers:this.headers,statusText:e&&null!=e.statusText?e.statusText:this.statusText,type:e&&null!=e.type?e.type:this.type,url:e&&null!=e.url?e.url:this.url})},t}(),S=function(t){function n(){t.call(this,{status:200,statusText:"Ok",type:v.Default,headers:new b})}return M(n,t),n.decorators=[{type:e.Injectable}],n.ctorParameters=function(){return[]},n}(E),T=function(){function t(){}return t.prototype.createConnection=function(t){},t}(),C=function(){function t(){}return t}(),k=function(){function t(){}return t.prototype.configureRequest=function(t){},t}(),L=function(t){return t>=200&&300>t},D=function(){function t(){}return t.prototype.encodeKey=function(t){return u(t)},t.prototype.encodeValue=function(t){return u(t)},t}(),x=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new D),this.rawParams=t,this.queryEncoder=e,this.paramsMap=a(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return Array.isArray(e)?e[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,e){if(void 0===e||null===e)return void this["delete"](t);var n=this.paramsMap.get(t)||[];n.length=0,n.push(e),this.paramsMap.set(t,n)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0,r.push(t[0]),e.paramsMap.set(n,r)})},t.prototype.append=function(t,e){if(void 0!==e&&null!==e){var n=this.paramsMap.get(t)||[];n.push(e),this.paramsMap.set(t,n)}},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){for(var r=e.paramsMap.get(n)||[],i=0;i<t.length;++i)r.push(t[i]);e.paramsMap.set(n,r)})},t.prototype.replaceAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0;for(var i=0;i<t.length;++i)r.push(t[i]);e.paramsMap.set(n,r)})},t.prototype.toString=function(){var t=this,e=[];return this.paramsMap.forEach(function(n,r){n.forEach(function(n){return e.push(t.queryEncoder.encodeKey(r)+"="+t.queryEncoder.encodeValue(n))})}),e.join("&")},t.prototype["delete"]=function(t){this.paramsMap["delete"](t)},t}(),P=function(){function t(){}return t.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},t.prototype.text=function(){return this._body instanceof x?this._body.toString():this._body instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint16Array(this._body)):null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},t.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:s(this.text())},t.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},t}(),O=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},A=function(t){function e(e){t.call(this),this._body=e.body,this.status=e.status,this.ok=this.status>=200&&this.status<=299,this.statusText=e.statusText,this.headers=e.headers,this.type=e.type,this.url=e.url}return O(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(P),Y=0,I="__ng_jsonp__",j=null,N=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+Y++},t.prototype.requestCallback=function(t){return I+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){var n=c();n[t]=e},t.prototype.removeConnection=function(t){var e=c();e[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),R=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},H="JSONP injected script did not invoke callback.",V="JSONP requests must use GET request method.",F=function(){function t(){}return t.prototype.finished=function(t){},t}(),B=function(t){function e(e,r,i){var o=this;if(t.call(this),this._dom=r,this.baseResponseOptions=i,this._finished=!1,e.method!==y.Get)throw new TypeError(V);this.request=e,this.response=new n.Observable(function(t){o.readyState=_.Loading;var n=o._id=r.nextRequestID();r.exposeConnection(n,o);var s=r.requestCallback(o._id),a=e.url;a.indexOf("=JSONP_CALLBACK&")>-1?a=a.replace("=JSONP_CALLBACK&","="+s+"&"):a.lastIndexOf("=JSONP_CALLBACK")===a.length-"=JSONP_CALLBACK".length&&(a=a.substring(0,a.length-"=JSONP_CALLBACK".length)+("="+s));var u=o._script=r.build(a),c=function(e){if(o.readyState!==_.Cancelled){if(o.readyState=_.Done,r.cleanup(u),!o._finished){var n=new E({body:H,type:v.Error,url:a});return i&&(n=i.merge(n)),void t.error(new A(n))}var s=new E({body:o._responseData,url:a});o.baseResponseOptions&&(s=o.baseResponseOptions.merge(s)),t.next(new A(s)),t.complete()}},l=function(e){if(o.readyState!==_.Cancelled){o.readyState=_.Done,r.cleanup(u);var n=new E({body:e.message,type:v.Error});i&&(n=i.merge(n)),t.error(new A(n))}};return u.addEventListener("load",c),u.addEventListener("error",l),r.send(u),function(){o.readyState=_.Cancelled,u.removeEventListener("load",c),u.removeEventListener("error",l),o._dom.cleanup(u)}})}return R(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==_.Cancelled&&(this._responseData=t)},e}(F),U=function(t){function e(){t.apply(this,arguments)}return R(e,t),e}(T),W=function(t){function n(e,n){t.call(this),this._browserJSONP=e,this._baseResponseOptions=n}return R(n,t),n.prototype.createConnection=function(t){return new B(t,this._browserJSONP,this._baseResponseOptions)},n.decorators=[{type:e.Injectable}],n.ctorParameters=function(){return[{type:N},{type:E}]},n}(U),z=/^\)\]\}',?\n/,G=function(){function t(t,e,r){var i=this;this.request=t,this.response=new n.Observable(function(n){var s=e.build();s.open(y[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(s.withCredentials=t.withCredentials);var a=function(){var e=1223===s.status?204:s.status,i=null;204!==e&&(i="undefined"==typeof s.response?s.responseText:s.response,"string"==typeof i&&(i=i.replace(z,""))),0===e&&(e=i?200:0);var a=b.fromResponseHeaderString(s.getAllResponseHeaders()),u=o(s)||t.url,c=s.statusText||"OK",l=new E({body:i,status:e,headers:a,statusText:c,url:u});null!=r&&(l=r.merge(l));var p=new A(l);return p.ok=L(e),p.ok?(n.next(p),void n.complete()):void n.error(p)},u=function(t){var e=new E({body:t,type:v.Error,status:s.status,statusText:s.statusText});null!=r&&(e=r.merge(e)),n.error(new A(e))};if(i.setDetectedContentType(t,s),null==t.headers&&(t.headers=new b),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,e){return s.setRequestHeader(e,t.join(","))}),null!=t.responseType&&null!=s.responseType)switch(t.responseType){case w.ArrayBuffer:s.responseType="arraybuffer";break;case w.Json:s.responseType="json";break;case w.Text:s.responseType="text";break;case w.Blob:s.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return s.addEventListener("load",a),s.addEventListener("error",u),s.send(i.request.getBody()),function(){s.removeEventListener("load",a),s.removeEventListener("error",u),s.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case g.NONE:break;case g.JSON:e.setRequestHeader("content-type","application/json");break;case g.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case g.TEXT:e.setRequestHeader("content-type","text/plain");break;case g.BLOB:var n=t.blob();n.type&&e.setRequestHeader("content-type",n.type)}},t}(),q=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=r.__platform_browser_private__.getDOM().getCookie(this._cookieName);e&&t.headers.set(this._headerName,e)},t}(),K=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new G(t,this._browserXHR,this._baseResponseOptions)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:m},{type:E},{type:k}]},t}(),J=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},$=function(){function t(t){var e=void 0===t?{}:t,n=e.method,r=e.headers,o=e.body,s=e.url,a=e.search,u=e.withCredentials,c=e.responseType;this.method=null!=n?i(n):null,this.headers=null!=r?r:null,this.body=null!=o?o:null,this.url=null!=s?s:null,this.search=null!=a?"string"==typeof a?new x(a):a:null,this.withCredentials=null!=u?u:null,this.responseType=null!=c?c:null}return t.prototype.merge=function(e){return new t({method:e&&null!=e.method?e.method:this.method,headers:e&&null!=e.headers?e.headers:new b(this.headers),body:e&&null!=e.body?e.body:this.body,url:e&&null!=e.url?e.url:this.url,search:e&&null!=e.search?"string"==typeof e.search?new x(e.search):e.search.clone():this.search,withCredentials:e&&null!=e.withCredentials?e.withCredentials:this.withCredentials,responseType:e&&null!=e.responseType?e.responseType:this.responseType})},t}(),Z=function(t){function n(){t.call(this,{method:y.Get,headers:new b})}return J(n,t),n.decorators=[{type:e.Injectable}],n.ctorParameters=function(){return[]},n}($),X=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Q=function(t){function e(e){t.call(this);var n=e.url;if(this.url=e.url,e.search){var r=e.search.toString();if(r.length>0){var o="?";-1!=this.url.indexOf("?")&&(o="&"==this.url[this.url.length-1]?"":"&"),this.url=n+o+r}}this._body=e.body,this.method=i(e.method),this.headers=new b(e.headers),this.contentType=this.detectContentType(),this.withCredentials=e.withCredentials,this.responseType=e.responseType}return X(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return g.JSON;case"application/x-www-form-urlencoded":return g.FORM;case"multipart/form-data":return g.FORM_DATA;case"text/plain":case"text/html":return g.TEXT;case"application/octet-stream":return g.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?g.NONE:this._body instanceof x?g.FORM:this._body instanceof nt?g.FORM_DATA:this._body instanceof rt?g.BLOB:this._body instanceof it?g.ARRAY_BUFFER:this._body&&"object"==typeof this._body?g.JSON:g.TEXT},e.prototype.getBody=function(){switch(this.contentType){case g.JSON:return this.text();case g.FORM:return this.text();case g.FORM_DATA:return this._body;case g.TEXT:return this.text();case g.BLOB:return this.blob();case g.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(P),tt=function(){},et="object"==typeof window?window:tt,nt=et.FormData||tt,rt=et.Blob||tt,it=et.ArrayBuffer||tt,ot=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},st=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if("string"==typeof t)n=l(this._backend,new Q(p(this._defaultOptions,e,y.Get,t)));else{if(!(t instanceof Q))throw new Error("First argument must be a url string or Request instance.");n=l(this._backend,t)}return n},t.prototype.get=function(t,e){return this.request(new Q(p(this._defaultOptions,e,y.Get,t)))},t.prototype.post=function(t,e,n){return this.request(new Q(p(this._defaultOptions.merge(new $({body:e})),n,y.Post,t)))},t.prototype.put=function(t,e,n){return this.request(new Q(p(this._defaultOptions.merge(new $({body:e})),n,y.Put,t)))},t.prototype["delete"]=function(t,e){return this.request(new Q(p(this._defaultOptions,e,y.Delete,t)))},t.prototype.patch=function(t,e,n){return this.request(new Q(p(this._defaultOptions.merge(new $({body:e})),n,y.Patch,t)))},t.prototype.head=function(t,e){return this.request(new Q(p(this._defaultOptions,e,y.Head,t)))},t.prototype.options=function(t,e){return this.request(new Q(p(this._defaultOptions,e,y.Options,t)))},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:T},{type:$}]},t}(),at=function(t){function n(e,n){t.call(this,e,n)}return ot(n,t),n.prototype.request=function(t,e){var n;if("string"==typeof t&&(t=new Q(p(this._defaultOptions,e,y.Get,t))),!(t instanceof Q))throw new Error("First argument must be a url string or Request instance.");if(t.method!==y.Get)throw new Error("JSONP requests must use GET request method.");return n=l(this._backend,t)},n.decorators=[{type:e.Injectable}],n.ctorParameters=function(){return[{type:T},{type:$}]},n}(st),ut=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[{provide:st,useFactory:d,deps:[K,$]},m,{provide:$,useClass:Z},{provide:E,useClass:S},K,{provide:k,useFactory:h}]}]}],t.ctorParameters=function(){return[]},t}(),ct=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[{provide:at,useFactory:f,deps:[U,$]},N,{provide:$,useClass:Z},{provide:E,useClass:S},{provide:U,useClass:W}]}]}],t.ctorParameters=function(){return[]},t}(),lt=new e.Version("2.3.1");t.BrowserXhr=m,t.JSONPBackend=U,t.JSONPConnection=F,t.CookieXSRFStrategy=q,t.XHRBackend=K,t.XHRConnection=G,t.BaseRequestOptions=Z,t.RequestOptions=$,t.BaseResponseOptions=S,t.ResponseOptions=E,t.ReadyState=_,t.RequestMethod=y,t.ResponseContentType=w,t.ResponseType=v,t.Headers=b,t.Http=st,t.Jsonp=at,t.HttpModule=ut,t.JsonpModule=ct,t.Connection=C,t.ConnectionBackend=T,t.XSRFStrategy=k,t.Request=Q,t.Response=A,t.QueryEncoder=D,t.URLSearchParams=x,t.VERSION=lt})},,function(t,e,n){"use strict";var r=n(5),i=n(25);r.Observable.prototype.toPromise=i.toPromise},,,function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}r(n(34)),r(n(40)),r(n(43)),r(n(47)),r(n(53)),r(n(54)),r(n(170)),r(n(176)),r(n(182)),r(n(186)),r(n(191)),r(n(194)),r(n(200)),r(n(203)),r(n(209)),r(n(205)),r(n(199)),r(n(49));var i=n(37);e.AccordionModule=i.AccordionModule;var o=n(42);e.AlertModule=o.AlertModule;var s=n(46);e.ButtonsModule=s.ButtonsModule;var a=n(51);e.CarouselModule=a.CarouselModule;var u=n(38);e.CollapseModule=u.CollapseModule;var c=n(165);e.DatepickerModule=c.DatepickerModule;var l=n(181);e.DropdownModule=l.DropdownModule;var p=n(175);e.ModalModule=p.ModalModule;var h=n(185);e.PaginationModule=h.PaginationModule;var d=n(190);e.ProgressbarModule=d.ProgressbarModule;var f=n(193);e.RatingModule=f.RatingModule;var m=n(198);e.TabsModule=m.TabsModule;var y=n(202);e.TimepickerModule=y.TimepickerModule;var _=n(208);e.TooltipModule=_.TooltipModule;var v=n(247);e.TypeaheadModule=v.TypeaheadModule;var g=n(169);e.ComponentsHelper=g.ComponentsHelper;var w=n(248);e.Ng2BootstrapModule=w.Ng2BootstrapModule},function(t,e,n){"use strict";var r=n(35);e.AccordionPanelComponent=r.AccordionPanelComponent;var i=n(36);e.AccordionComponent=i.AccordionComponent;var o=n(37);e.AccordionModule=o.AccordionModule},function(t,e,n){(function(t){"use strict";var r=n(3),i=n(36),o=(t.MouseEvent,function(){function t(t){this.accordion=t}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._isOpen},set:function(t){this._isOpen=t,t&&this.accordion.closeOtherPanels(this)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.panelClass=this.panelClass||"panel-default",this.accordion.addGroup(this)},t.prototype.ngOnDestroy=function(){this.accordion.removeGroup(this)},t.prototype.toggleOpen=function(t){t.preventDefault(),this.isDisabled||(this.isOpen=!this.isOpen)},t.decorators=[{type:r.Component,args:[{selector:"accordion-group, accordion-panel",template:'\n    <div class="panel" [ngClass]="panelClass">\n      <div class="panel-heading" (click)="toggleOpen($event)">\n        <h4 class="panel-title">\n          <a href tabindex="0" class="accordion-toggle">\n            <span *ngIf="heading" [ngClass]="{\'text-muted\': isDisabled}">{{heading}}</span>\n            <ng-content select="[accordion-heading]"></ng-content>\n          </a>\n        </h4>\n      </div>\n      <div class="panel-collapse collapse" [collapse]="!isOpen">\n        <div class="panel-body">\n          <ng-content></ng-content>\n        </div>\n      </div>\n    </div>\n  '
}]}],t.ctorParameters=[{type:i.AccordionComponent,decorators:[{type:r.Inject,args:[i.AccordionComponent]}]}],t.propDecorators={heading:[{type:r.Input}],panelClass:[{type:r.Input}],isDisabled:[{type:r.Input}],isOpen:[{type:r.HostBinding,args:["class.panel-open"]},{type:r.Input}]},t}());e.AccordionPanelComponent=o}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=n(3),i=function(){function t(){this.addClass=!0,this.groups=[]}return t.prototype.closeOtherPanels=function(t){this.closeOthers&&this.groups.forEach(function(e){e!==t&&(e.isOpen=!1)})},t.prototype.addGroup=function(t){this.groups.push(t)},t.prototype.removeGroup=function(t){var e=this.groups.indexOf(t);-1!==e&&this.groups.splice(e,1)},t.decorators=[{type:r.Component,args:[{selector:"accordion",template:"<ng-content></ng-content>"}]}],t.ctorParameters=[],t.propDecorators={closeOthers:[{type:r.Input}],addClass:[{type:r.HostBinding,args:["class.panel-group"]}]},t}();e.AccordionComponent=i},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(38),s=n(35),a=n(36),u=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.CollapseModule],declarations:[a.AccordionComponent,s.AccordionPanelComponent],exports:[a.AccordionComponent,s.AccordionPanelComponent]}]}],t.ctorParameters=[],t}();e.AccordionModule=u},function(t,e,n){"use strict";var r=n(3),i=n(39),o=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{declarations:[i.CollapseDirective],exports:[i.CollapseDirective]}]}],t.ctorParameters=[],t}();e.CollapseModule=o},function(t,e,n){"use strict";var r=n(3),i=function(){function t(t,e){this.collapsed=new r.EventEmitter(!1),this.expanded=new r.EventEmitter(!1),this.isExpanded=!0,this.isCollapsed=!1,this.isCollapse=!0,this.isCollapsing=!1,this._el=t,this._renderer=e}return Object.defineProperty(t.prototype,"collapse",{get:function(){return this.isExpanded},set:function(t){this.isExpanded=t,this.toggle()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.toggle=function(){this.isExpanded?this.hide():this.show()},t.prototype.hide=function(){this.isCollapse=!1,this.isCollapsing=!0,this.isExpanded=!1,this.isCollapsed=!0,this.isCollapse=!0,this.isCollapsing=!1,this.display="none",this.collapsed.emit(this)},t.prototype.show=function(){this.isCollapse=!1,this.isCollapsing=!0,this.isExpanded=!0,this.isCollapsed=!1,this.display="block",this.isCollapse=!0,this.isCollapsing=!1,this._renderer.setElementStyle(this._el.nativeElement,"overflow","visible"),this._renderer.setElementStyle(this._el.nativeElement,"height","auto"),this.expanded.emit(this)},t.decorators=[{type:r.Directive,args:[{selector:"[collapse]"}]}],t.ctorParameters=[{type:r.ElementRef},{type:r.Renderer}],t.propDecorators={collapsed:[{type:r.Output}],expanded:[{type:r.Output}],display:[{type:r.HostBinding,args:["style.display"]}],isExpanded:[{type:r.HostBinding,args:["class.in"]},{type:r.HostBinding,args:["attr.aria-expanded"]}],isCollapsed:[{type:r.HostBinding,args:["attr.aria-hidden"]}],isCollapse:[{type:r.HostBinding,args:["class.collapse"]}],isCollapsing:[{type:r.HostBinding,args:["class.collapsing"]}],collapse:[{type:r.Input}]},t}();e.CollapseDirective=i},function(t,e,n){"use strict";var r=n(41);e.AlertComponent=r.AlertComponent;var i=n(42);e.AlertModule=i.AlertModule},function(t,e,n){"use strict";var r=n(3),i='\n  <div class="alert" role="alert" [ngClass]="classes" *ngIf="!closed">\n    <button *ngIf="dismissible" type="button" class="close" (click)="onClose()" (touch)="onClose()">\n      <span aria-hidden="true">&times;</span>\n      <span class="sr-only">Close</span>\n    </button>\n    <ng-content></ng-content>\n  </div>\n  ',o=function(){function t(){this.type="warning",this.close=new r.EventEmitter(!1),this.classes=[]}return t.prototype.ngOnInit=function(){var t=this;this.classes[0]="alert-"+this.type,this.dismissible?this.classes[1]="alert-dismissible":this.classes.length=1,this.dismissOnTimeout&&setTimeout(function(){return t.onClose()},this.dismissOnTimeout)},t.prototype.onClose=function(){this.closed=!0,this.close.emit(this)},t.decorators=[{type:r.Component,args:[{selector:"alert",template:i}]}],t.ctorParameters=[],t.propDecorators={type:[{type:r.Input}],dismissible:[{type:r.Input}],dismissOnTimeout:[{type:r.Input}],close:[{type:r.Output}]},t}();e.AlertComponent=o},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(41),s=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[o.AlertComponent],exports:[o.AlertComponent]}]}],t.ctorParameters=[],t}();e.AlertModule=s},function(t,e,n){"use strict";var r=n(44);e.ButtonCheckboxDirective=r.ButtonCheckboxDirective;var i=n(45);e.ButtonRadioDirective=i.ButtonRadioDirective;var o=n(46);e.ButtonsModule=o.ButtonsModule},function(t,e,n){"use strict";var r=n(3),i=n(24),o=function(){function t(t){this.state=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.cd=t,t.valueAccessor=this}return t.prototype.onClick=function(){this.toggle(!this.state),this.cd.viewToModelUpdate(this.value)},t.prototype.ngOnInit=function(){this.toggle(this.trueValue===this.value)},Object.defineProperty(t.prototype,"trueValue",{get:function(){return"undefined"!=typeof this.btnCheckboxTrue?this.btnCheckboxTrue:!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"falseValue",{get:function(){return"undefined"!=typeof this.btnCheckboxFalse?this.btnCheckboxFalse:!1},enumerable:!0,configurable:!0}),t.prototype.toggle=function(t){this.state=t,this.value=this.state?this.trueValue:this.falseValue},t.prototype.writeValue=function(t){this.state=this.trueValue===t,this.value=t},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.decorators=[{type:r.Directive,args:[{selector:"[btnCheckbox][ngModel]"}]}],t.ctorParameters=[{type:i.NgModel,decorators:[{type:r.Self}]}],t.propDecorators={btnCheckboxTrue:[{type:r.Input}],btnCheckboxFalse:[{type:r.Input}],state:[{type:r.HostBinding,args:["class.active"]}],onClick:[{type:r.HostListener,args:["click"]}]},t}();e.ButtonCheckboxDirective=o},function(t,e,n){"use strict";var r=n(3),i=n(24);e.RADIO_CONTROL_VALUE_ACCESSOR={provide:i.NG_VALUE_ACCESSOR,useExisting:r.forwardRef(function(){return o}),multi:!0};var o=function(){function t(t){this.el=t,this.onChange=Function.prototype,this.onTouched=Function.prototype}return Object.defineProperty(t.prototype,"isActive",{get:function(){return this.btnRadio===this.value},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){this.el.nativeElement.attributes.disabled||(this.uncheckable&&this.btnRadio===this.value?this.value=void 0:this.value=this.btnRadio,this.onTouched(),this.onChange(this.value))},t.prototype.ngOnInit=function(){this.uncheckable="undefined"!=typeof this.uncheckable},t.prototype.onBlur=function(){this.onTouched()},t.prototype.writeValue=function(t){this.value=t},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.decorators=[{type:r.Directive,args:[{selector:"[btnRadio]",providers:[e.RADIO_CONTROL_VALUE_ACCESSOR]}]}],t.ctorParameters=[{type:r.ElementRef}],t.propDecorators={btnRadio:[{type:r.Input}],uncheckable:[{type:r.Input}],value:[{type:r.Input}],isActive:[{type:r.HostBinding,args:["class.active"]}],onClick:[{type:r.HostListener,args:["click"]}]},t}();e.ButtonRadioDirective=o},function(t,e,n){"use strict";var r=n(3),i=n(24),o=n(44),s=n(45),a=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{imports:[i.FormsModule],declarations:[o.ButtonCheckboxDirective,s.ButtonRadioDirective],exports:[o.ButtonCheckboxDirective,s.ButtonRadioDirective,i.FormsModule]}]}],t.ctorParameters=[],t}();e.ButtonsModule=a},function(t,e,n){"use strict";var r=n(48);e.CarouselComponent=r.CarouselComponent;var i=n(51);e.CarouselModule=i.CarouselModule;var o=n(52);e.SlideComponent=o.SlideComponent},function(t,e,n){"use strict";var r=n(3),i=n(49);!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.NEXT=1]="NEXT",t[t.PREV=2]="PREV"}(e.Direction||(e.Direction={}));var o=e.Direction,s=function(){function t(){this.slides=[],this.destroyed=!1}return Object.defineProperty(t.prototype,"interval",{get:function(){return this._interval},set:function(t){this._interval=t,this.restartTimer()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBS4",{get:function(){return i.Ng2BootstrapConfig.theme===i.Ng2BootstrapTheme.BS4},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.destroyed=!0},t.prototype.select=function(t,e){void 0===e&&(e=o.UNKNOWN);var n=t.index;e===o.UNKNOWN&&(e=n>this.getCurrentIndex()?o.NEXT:o.PREV),t&&t!==this.currentSlide&&this.goNext(t,e)},t.prototype.play=function(){this.isPlaying||(this.isPlaying=!0,this.restartTimer())},t.prototype.pause=function(){this.noPause||(this.isPlaying=!1,this.resetTimer())},t.prototype.next=function(){var t=(this.getCurrentIndex()+1)%this.slides.length;return 0===t&&this.noWrap?void this.pause():this.select(this.getSlideByIndex(t),o.NEXT)},t.prototype.prev=function(){var t=this.getCurrentIndex()-1<0?this.slides.length-1:this.getCurrentIndex()-1;return this.noWrap&&t===this.slides.length-1?void this.pause():this.select(this.getSlideByIndex(t),o.PREV)},t.prototype.addSlide=function(t){t.index=this.slides.length,this.slides.push(t),1===this.slides.length||t.active?(this.select(this.slides[this.slides.length-1]),1===this.slides.length&&this.play()):t.active=!1},t.prototype.removeSlide=function(t){if(this.slides.splice(t.index,1),0===this.slides.length)return void(this.currentSlide=void 0);for(var e=0;e<this.slides.length;e++)this.slides[e].index=e},t.prototype.goNext=function(t,e){this.destroyed||(t.direction=e,t.active=!0,this.currentSlide&&(this.currentSlide.direction=e,this.currentSlide.active=!1),this.currentSlide=t,this.restartTimer())},t.prototype.getSlideByIndex=function(t){for(var e=this.slides.length,n=0;e>n;++n)if(this.slides[n].index===t)return this.slides[n];return void 0},t.prototype.getCurrentIndex=function(){return this.currentSlide?this.currentSlide.index:0},t.prototype.restartTimer=function(){var t=this;this.resetTimer();var e=+this.interval;!isNaN(e)&&e>0&&(this.currentInterval=setInterval(function(){var e=+t.interval;t.isPlaying&&!isNaN(t.interval)&&e>0&&t.slides.length?t.next():t.pause()},e))},t.prototype.resetTimer=function(){this.currentInterval&&(clearInterval(this.currentInterval),this.currentInterval=void 0)},t.decorators=[{type:r.Component,args:[{selector:"carousel",template:'\n    <div (mouseenter)="pause()" (mouseleave)="play()" class="carousel slide">\n      <ol class="carousel-indicators" *ngIf="slides.length > 1">\n         <li *ngFor="let slidez of slides" [class.active]="slidez.active === true" (click)="select(slidez)"></li>\n      </ol>\n      <div class="carousel-inner"><ng-content></ng-content></div>\n      <a class="left carousel-control" (click)="prev()" *ngIf="slides.length">\n        <span class="icon-prev" aria-hidden="true"></span>\n        <span *ngIf="isBS4" class="sr-only">Previous</span>\n      </a>\n      <a class="right carousel-control" (click)="next()" *ngIf="slides.length">\n        <span class="icon-next" aria-hidden="true"></span>\n        <span *ngIf="isBS4" class="sr-only">Next</span>\n      </a>\n    </div>\n  '}]}],t.ctorParameters=[],t.propDecorators={noWrap:[{type:r.Input}],noPause:[{type:r.Input}],noTransition:[{type:r.Input}],interval:[{type:r.Input}]},t}();e.CarouselComponent=s},function(t,e,n){"use strict";var r=n(50);!function(t){t[t.BS3=1]="BS3",t[t.BS4=2]="BS4"}(e.Ng2BootstrapTheme||(e.Ng2BootstrapTheme={}));var i=e.Ng2BootstrapTheme,o=function(){function t(){}return Object.defineProperty(t,"theme",{get:function(){return"bs4"===r.window.__theme?i.BS4:this._theme||i.BS3},set:function(t){this._theme=t},enumerable:!0,configurable:!0}),t}();e.Ng2BootstrapConfig=o},function(t,e){"use strict";var n="undefined"!=typeof window&&window||{};e.window=n,e.document=n.document,e.location=n.location,e.gc=n.gc?function(){return n.gc()}:function(){return null},e.performance=n.performance?n.performance:null,e.Event=n.Event,e.MouseEvent=n.MouseEvent,e.KeyboardEvent=n.KeyboardEvent,e.EventTarget=n.EventTarget,e.History=n.History,e.Location=n.Location,e.EventListener=n.EventListener},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(48),s=n(52),a=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[s.SlideComponent,o.CarouselComponent],exports:[s.SlideComponent,o.CarouselComponent]}]}],t.ctorParameters=[],t}();e.CarouselModule=a},function(t,e,n){"use strict";var r=n(3),i=n(48),o=function(){function t(t){this.addClass=!0,this.carousel=t}return t.prototype.ngOnInit=function(){this.carousel.addSlide(this)},t.prototype.ngOnDestroy=function(){this.carousel.removeSlide(this)},t.decorators=[{type:r.Component,args:[{selector:"slide",template:'\n    <div [class.active]="active" class="item">\n      <ng-content></ng-content>\n    </div>\n  '}]}],t.ctorParameters=[{type:i.CarouselComponent}],t.propDecorators={index:[{type:r.Input}],direction:[{type:r.Input}],active:[{type:r.HostBinding,args:["class.active"]},{type:r.Input}],addClass:[{type:r.HostBinding,args:["class.item"]},{type:r.HostBinding,args:["class.carousel-item"]}]},t}();e.SlideComponent=o},function(t,e,n){"use strict";var r=n(39);e.CollapseDirective=r.CollapseDirective;var i=n(38);e.CollapseModule=i.CollapseModule},function(t,e,n){"use strict";var r=n(55);e.DatePickerComponent=r.DatePickerComponent;var i=n(165);e.DatepickerModule=i.DatepickerModule;var o=n(166);e.DayPickerComponent=o.DayPickerComponent;var s=n(167);e.MonthPickerComponent=s.MonthPickerComponent;var a=n(168);e.YearPickerComponent=a.YearPickerComponent;var u=n(57);e.DateFormatter=u.DateFormatter},function(t,e,n){"use strict";var r=n(3),i=n(56),o=n(24),s=function(){function t(t){this.selectionDone=new r.EventEmitter(void 0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this._now=new Date,this.cd=t,t.valueAccessor=this}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate||this._now},set:function(t){this._activeDate=t},enumerable:!0,configurable:!0}),t.prototype.onUpdate=function(t){this.cd.viewToModelUpdate(t)},t.prototype.onSelectionDone=function(t){this.selectionDone.emit(t)},t.prototype.writeValue=function(t){return 0!==this._datePicker.compare(t,this._activeDate)?t&&t instanceof Date?(this.activeDate=t,void this._datePicker.select(t,!1)):void(this.activeDate=t?new Date(t):void 0):void 0},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.decorators=[{type:r.Component,args:[{selector:"datepicker[ngModel]",template:'\n    <datepicker-inner [activeDate]="activeDate"\n                      (update)="onUpdate($event)"\n                      [datepickerMode]="datepickerMode"\n                      [initDate]="initDate"\n                      [minDate]="minDate"\n                      [maxDate]="maxDate"\n                      [minMode]="minMode"\n                      [maxMode]="maxMode"\n                      [showWeeks]="showWeeks"\n                      [formatDay]="formatDay"\n                      [formatMonth]="formatMonth"\n                      [formatYear]="formatYear"\n                      [formatDayHeader]="formatDayHeader"\n                      [formatDayTitle]="formatDayTitle"\n                      [formatMonthTitle]="formatMonthTitle"\n                      [startingDay]="startingDay"\n                      [yearRange]="yearRange"\n                      [customClass]="customClass"\n                      [dateDisabled]="dateDisabled"\n                      [onlyCurrentMonth]="onlyCurrentMonth"\n                      [shortcutPropagation]="shortcutPropagation"\n                      (selectionDone)="onSelectionDone($event)">\n      <daypicker tabindex="0"></daypicker>\n      <monthpicker tabindex="0"></monthpicker>\n      <yearpicker tabindex="0"></yearpicker>\n    </datepicker-inner>\n    ',providers:[o.NgModel]}]}],t.ctorParameters=[{type:o.NgModel,decorators:[{type:r.Self}]}],t.propDecorators={datepickerMode:[{type:r.Input}],initDate:[{type:r.Input}],minDate:[{type:r.Input}],maxDate:[{type:r.Input}],minMode:[{type:r.Input}],maxMode:[{type:r.Input}],showWeeks:[{type:r.Input}],formatDay:[{type:r.Input}],formatMonth:[{type:r.Input}],formatYear:[{type:r.Input}],formatDayHeader:[{type:r.Input}],formatDayTitle:[{type:r.Input}],formatMonthTitle:[{type:r.Input}],startingDay:[{type:r.Input}],yearRange:[{type:r.Input}],onlyCurrentMonth:[{type:r.Input}],shortcutPropagation:[{type:r.Input}],customClass:[{type:r.Input}],dateDisabled:[{type:r.Input}],selectionDone:[{type:r.Output}],_datePicker:[{type:r.ViewChild,args:[i.DatePickerInnerComponent]}],activeDate:[{type:r.Input}]},t}();e.DatePickerComponent=s},function(t,e,n){"use strict";var r=n(3),i=n(57),o="DD",s="MMMM",a="YYYY",u="dd",c="MMMM YYYY",l="YYYY",p="day",h="day",d="year",f=!0,m=!1,y=0,_=20,v=!1,g=function(){function t(){this.selectionDone=new r.EventEmitter(void 0),this.update=new r.EventEmitter(!1),this.stepDay={},this.stepMonth={},this.stepYear={},this.modes=["day","month","year"],this.dateFormatter=new i.DateFormatter}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){this._activeDate=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.formatDay=this.formatDay||o,this.formatMonth=this.formatMonth||s,this.formatYear=this.formatYear||a,this.formatDayHeader=this.formatDayHeader||u,this.formatDayTitle=this.formatDayTitle||c,this.formatMonthTitle=this.formatMonthTitle||l,this.showWeeks=void 0===this.showWeeks?f:this.showWeeks,this.onlyCurrentMonth=void 0===this.onlyCurrentMonth?m:this.onlyCurrentMonth,this.startingDay=this.startingDay||y,this.yearRange=this.yearRange||_,this.shortcutPropagation=this.shortcutPropagation||v,this.datepickerMode=this.datepickerMode||p,this.minMode=this.minMode||h,this.maxMode=this.maxMode||d,this.uniqueId="datepicker--"+Math.floor(1e4*Math.random()),this.initDate?(this.activeDate=this.initDate,this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate)):void 0===this.activeDate&&(this.activeDate=new Date)},t.prototype.ngOnChanges=function(t){this.refreshView()},t.prototype.setCompareHandler=function(t,e){"day"===e&&(this.compareHandlerDay=t),"month"===e&&(this.compareHandlerMonth=t),"year"===e&&(this.compareHandlerYear=t)},t.prototype.compare=function(t,e){return void 0===t||void 0===e?void 0:"day"===this.datepickerMode&&this.compareHandlerDay?this.compareHandlerDay(t,e):"month"===this.datepickerMode&&this.compareHandlerMonth?this.compareHandlerMonth(t,e):"year"===this.datepickerMode&&this.compareHandlerYear?this.compareHandlerYear(t,e):void 0},t.prototype.setRefreshViewHandler=function(t,e){"day"===e&&(this.refreshViewHandlerDay=t),"month"===e&&(this.refreshViewHandlerMonth=t),"year"===e&&(this.refreshViewHandlerYear=t)},t.prototype.refreshView=function(){"day"===this.datepickerMode&&this.refreshViewHandlerDay&&this.refreshViewHandlerDay(),"month"===this.datepickerMode&&this.refreshViewHandlerMonth&&this.refreshViewHandlerMonth(),"year"===this.datepickerMode&&this.refreshViewHandlerYear&&this.refreshViewHandlerYear()},t.prototype.dateFilter=function(t,e){return this.dateFormatter.format(t,e)},t.prototype.isActive=function(t){return 0===this.compare(t.date,this.activeDate)?(this.activeDateId=t.uid,!0):!1},t.prototype.createDateObject=function(t,e){var n={};return n.date=new Date(t.getFullYear(),t.getMonth(),t.getDate()),n.label=this.dateFilter(t,e),n.selected=0===this.compare(t,this.selectedDate),n.disabled=this.isDisabled(t),n.current=0===this.compare(t,new Date),n.customClass=this.getCustomClassForDate(n.date),n},t.prototype.split=function(t,e){for(var n=[];t.length>0;)n.push(t.splice(0,e));return n},t.prototype.fixTimeZone=function(t){var e=t.getHours();return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23===e?e+2:0)},t.prototype.select=function(t,e){void 0===e&&(e=!0),this.datepickerMode===this.minMode?(this.activeDate||(this.activeDate=new Date(0,0,0,0,0,0,0)),this.activeDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),e&&this.selectionDone.emit(this.activeDate)):(this.activeDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)-1]),this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate),this.refreshView()},t.prototype.move=function(t){var e;if("day"===this.datepickerMode&&(e=this.stepDay),"month"===this.datepickerMode&&(e=this.stepMonth),"year"===this.datepickerMode&&(e=this.stepYear),e){var n=this.activeDate.getFullYear()+t*(e.years||0),r=this.activeDate.getMonth()+t*(e.months||0);this.activeDate=new Date(n,r,1),this.refreshView()}},t.prototype.toggleMode=function(t){t=t||1,this.datepickerMode===this.maxMode&&1===t||this.datepickerMode===this.minMode&&-1===t||(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)+t],this.refreshView())},t.prototype.getCustomClassForDate=function(t){var e=this;if(!this.customClass)return"";var n=this.customClass.find(function(n){return n.date.valueOf()===t.valueOf()&&n.mode===e.datepickerMode},this);return void 0===n?"":n.clazz},t.prototype.isDisabled=function(t){return this.minDate&&this.compare(t,this.minDate)<0||this.maxDate&&this.compare(t,this.maxDate)>0},t.decorators=[{type:r.Component,args:[{selector:"datepicker-inner",template:'\n    <div *ngIf="datepickerMode" class="well well-sm bg-faded p-a card" role="application" ><!--&lt;!&ndash;ng-keydown="keydown($event)"&ndash;&gt;-->\n      <ng-content></ng-content>\n    </div>\n  '}]}],t.ctorParameters=[],t.propDecorators={datepickerMode:[{type:r.Input}],startingDay:[{type:r.Input}],yearRange:[{type:r.Input}],minDate:[{type:r.Input}],maxDate:[{type:r.Input}],minMode:[{type:r.Input}],maxMode:[{type:r.Input}],showWeeks:[{type:r.Input}],formatDay:[{type:r.Input}],formatMonth:[{type:r.Input}],formatYear:[{type:r.Input}],formatDayHeader:[{type:r.Input}],formatDayTitle:[{type:r.Input}],formatMonthTitle:[{type:r.Input}],onlyCurrentMonth:[{type:r.Input}],shortcutPropagation:[{type:r.Input}],customClass:[{type:r.Input}],dateDisabled:[{type:r.Input}],initDate:[{type:r.Input}],selectionDone:[{type:r.Output}],update:[{type:r.Output}],activeDate:[{type:r.Input}]},t}();e.DatePickerInnerComponent=g},function(t,e,n){"use strict";var r=n(58),i=function(){function t(){}return t.prototype.format=function(t,e){return r(t.getTime()).format(e)},t}();e.DateFormatter=i},function(t,e,n){(function(t){!function(e,n){t.exports=n()}(this,function(){"use strict";function e(){return mr.apply(null,arguments)}function r(t){mr=t}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){var e;for(e in t)return!1;return!0}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,r){return ve(t,e,n,r,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function d(t){return null==t._pf&&(t._pf=h()),t._pf}function f(t){if(null==t._isValid){var e=d(t),n=yr.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function m(t){var e=p(NaN);return null!=t?l(d(e),t):d(e).userInvalidated=!0,e}function y(t){return void 0===t}function _(t,e){var n,r,i;if(y(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),y(e._i)||(t._i=e._i),y(e._f)||(t._f=e._f),y(e._l)||(t._l=e._l),y(e._strict)||(t._strict=e._strict),y(e._tzm)||(t._tzm=e._tzm),y(e._isUTC)||(t._isUTC=e._isUTC),y(e._offset)||(t._offset=e._offset),y(e._pf)||(t._pf=d(e)),y(e._locale)||(t._locale=e._locale),_r.length>0)for(n in _r)r=_r[n],i=e[r],y(i)||(t[r]=i);return t}function v(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),vr===!1&&(vr=!0,e.updateOffset(this),vr=!1)}function g(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function w(t){return 0>t?Math.ceil(t)||0:Math.floor(t)}function b(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function M(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(r=0;i>r;r++)(n&&t[r]!==e[r]||!n&&b(t[r])!==b(e[r]))&&s++;return s+o}function E(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,n){var r=!0;return l(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,o=[],s=0;s<arguments.length;s++){if(i="","object"==typeof arguments[s]){i+="\n["+s+"] ";for(var a in arguments[0])i+=a+": "+arguments[0][a]+", ";i=i.slice(0,-2)}else i=arguments[s];o.push(i)}E(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function T(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),gr[t]||(E(n),gr[t]=!0)}function C(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function k(t){var e,n;for(n in t)e=t[n],C(e)?this[n]=e:this["_"+n]=e;this._config=t,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function L(t,e){var n,r=l({},t);for(n in e)c(e,n)&&(o(t[n])&&o(e[n])?(r[n]={},l(r[n],t[n]),l(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)c(t,n)&&!c(e,n)&&o(t[n])&&(r[n]=l({},r[n]));return r}function D(t){null!=t&&this.set(t)}function x(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return C(r)?r.call(e,n):r}function P(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function O(){return this._invalidDate}function A(t){return this._ordinal.replace("%d",t)}function Y(t,e,n,r){var i=this._relativeTime[n];return C(i)?i(t,e,n,r):i.replace(/%d/i,t)}function I(t,e){var n=this._relativeTime[t>0?"future":"past"];return C(n)?n(e):n.replace(/%s/i,e)}function j(t,e){var n=t.toLowerCase();Lr[n]=Lr[n+"s"]=Lr[e]=t}function N(t){return"string"==typeof t?Lr[t]||Lr[t.toLowerCase()]:void 0}function R(t){var e,n,r={};for(n in t)c(t,n)&&(e=N(n),e&&(r[e]=t[n]));return r}function H(t,e){Dr[t]=e}function V(t){var e=[];for(var n in t)e.push({unit:n,priority:Dr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function F(t,n){return function(r){return null!=r?(U(this,t,r),e.updateOffset(this,n),this):B(this,t)}}function B(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function U(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function W(t){return t=N(t),C(this[t])?this[t]():this}function z(t,e){if("object"==typeof t){t=R(t);for(var n=V(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=N(t),C(this[t]))return this[t](e);return this}function G(t,e,n){var r=""+Math.abs(t),i=e-r.length,o=t>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function q(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Ar[t]=i),e&&(Ar[e[0]]=function(){return G(i.apply(this,arguments),e[1],e[2])}),n&&(Ar[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function K(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function J(t){var e,n,r=t.match(xr);for(e=0,n=r.length;n>e;e++)Ar[r[e]]?r[e]=Ar[r[e]]:r[e]=K(r[e]);return function(e){var i,o="";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(e,t):r[i];return o}}function $(t,e){return t.isValid()?(e=Z(e,t.localeData()),Or[e]=Or[e]||J(e),Or[e](t)):t.localeData().invalidDate()}function Z(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Pr.lastIndex=0;r>=0&&Pr.test(t);)t=t.replace(Pr,n),Pr.lastIndex=0,r-=1;return t}function X(t,e,n){Zr[t]=C(e)?e:function(t,r){return t&&n?n:e}}function Q(t,e){return c(Zr,t)?Zr[t](e._strict,e._locale):new RegExp(tt(t))}function tt(t){return et(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function et(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function nt(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(r=function(t,n){n[e]=b(t)}),n=0;n<t.length;n++)Xr[t[n]]=r}function rt(t,e){nt(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function it(t,e,n){null!=e&&c(Xr,t)&&Xr[t](e,n._a,n,t)}function ot(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function st(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ui).test(e)?"format":"standalone"][t.month()]:this._months}function at(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ui.test(e)?"format":"standalone"][t.month()]:this._monthsShort}function ut(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(i=br.call(this._shortMonthsParse,s),-1!==i?i:null):(i=br.call(this._longMonthsParse,s),-1!==i?i:null):"MMM"===e?(i=br.call(this._shortMonthsParse,s),-1!==i?i:(i=br.call(this._longMonthsParse,s),-1!==i?i:null)):(i=br.call(this._longMonthsParse,s),-1!==i?i:(i=br.call(this._shortMonthsParse,s),-1!==i?i:null))}function ct(t,e,n){var r,i,o;if(this._monthsParseExact)return ut.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function lt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=b(e);else if(e=t.localeData().monthsParse(e),"number"!=typeof e)return t;return n=Math.min(t.date(),ot(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function pt(t){return null!=t?(lt(this,t),e.updateOffset(this,!0),this):B(this,"Month")}function ht(){return ot(this.year(),this.month())}function dt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||mt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=pi),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(t){return this._monthsParseExact?(c(this,"_monthsRegex")||mt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=hi),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function mt(){function t(t,e){return e.length-t.length;
}var e,n,r=[],i=[],o=[];for(e=0;12>e;e++)n=p([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;12>e;e++)r[e]=et(r[e]),i[e]=et(i[e]);for(e=0;24>e;e++)o[e]=et(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function yt(t){return _t(t)?366:365}function _t(t){return t%4===0&&t%100!==0||t%400===0}function vt(){return _t(this.year())}function gt(t,e,n,r,i,o,s){var a=new Date(t,e,n,r,i,o,s);return 100>t&&t>=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}function wt(t){var e=new Date(Date.UTC.apply(null,arguments));return 100>t&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function bt(t,e,n){var r=7+e-n,i=(7+wt(t,0,r).getUTCDay()-e)%7;return-i+r-1}function Mt(t,e,n,r,i){var o,s,a=(7+n-r)%7,u=bt(t,r,i),c=1+7*(e-1)+a+u;return 0>=c?(o=t-1,s=yt(o)+c):c>yt(t)?(o=t+1,s=c-yt(t)):(o=t,s=c),{year:o,dayOfYear:s}}function Et(t,e,n){var r,i,o=bt(t.year(),e,n),s=Math.floor((t.dayOfYear()-o-1)/7)+1;return 1>s?(i=t.year()-1,r=s+St(i,e,n)):s>St(t.year(),e,n)?(r=s-St(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function St(t,e,n){var r=bt(t,e,n),i=bt(t+1,e,n);return(yt(t)-r+i)/7}function Tt(t){return Et(t,this._week.dow,this._week.doy).week}function Ct(){return this._week.dow}function kt(){return this._week.doy}function Lt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Dt(t){var e=Et(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function xt(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Pt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ot(t,e){return t?i(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:this._weekdays}function At(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Yt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function It(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=br.call(this._weekdaysParse,s),-1!==i?i:null):"ddd"===e?(i=br.call(this._shortWeekdaysParse,s),-1!==i?i:null):(i=br.call(this._minWeekdaysParse,s),-1!==i?i:null):"dddd"===e?(i=br.call(this._weekdaysParse,s),-1!==i?i:(i=br.call(this._shortWeekdaysParse,s),-1!==i?i:(i=br.call(this._minWeekdaysParse,s),-1!==i?i:null))):"ddd"===e?(i=br.call(this._shortWeekdaysParse,s),-1!==i?i:(i=br.call(this._weekdaysParse,s),-1!==i?i:(i=br.call(this._minWeekdaysParse,s),-1!==i?i:null))):(i=br.call(this._minWeekdaysParse,s),-1!==i?i:(i=br.call(this._weekdaysParse,s),-1!==i?i:(i=br.call(this._shortWeekdaysParse,s),-1!==i?i:null)))}function jt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return It.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Nt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=xt(t,this.localeData()),this.add(t-e,"d")):e}function Rt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ht(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Vt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ut.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=vi),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ft(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ut.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gi),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ut.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wi),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ut(){function t(t,e){return e.length-t.length}var e,n,r,i,o,s=[],a=[],u=[],c=[];for(e=0;7>e;e++)n=p([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),s.push(r),a.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(s.sort(t),a.sort(t),u.sort(t),c.sort(t),e=0;7>e;e++)a[e]=et(a[e]),u[e]=et(u[e]),c[e]=et(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Wt(){return this.hours()%12||12}function zt(){return this.hours()||24}function Gt(t,e){q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qt(t,e){return e._meridiemParse}function Kt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Jt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function $t(t){return t?t.toLowerCase().replace("_","-"):t}function Zt(t){for(var e,n,r,i,o=0;o<t.length;){for(i=$t(t[o]).split("-"),e=i.length,n=$t(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=Xt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&M(i,n,!0)>=e-1)break;e--}o++}return null}function Xt(e){var r=null;if(!Ti[e]&&"undefined"!=typeof t&&t&&t.exports)try{r=bi._abbr,n(60)("./"+e),Qt(r)}catch(i){}return Ti[e]}function Qt(t,e){var n;return t&&(n=y(e)?ne(t):te(t,e),n&&(bi=n)),bi._abbr}function te(t,e){if(null!==e){var n=Si;return e.abbr=t,null!=Ti[t]?(T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ti[t]._config):null!=e.parentLocale&&(null!=Ti[e.parentLocale]?n=Ti[e.parentLocale]._config:T("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Ti[t]=new D(L(n,e)),Qt(t),Ti[t]}return delete Ti[t],null}function ee(t,e){if(null!=e){var n,r=Si;null!=Ti[t]&&(r=Ti[t]._config),e=L(r,e),n=new D(e),n.parentLocale=Ti[t],Ti[t]=n,Qt(t)}else null!=Ti[t]&&(null!=Ti[t].parentLocale?Ti[t]=Ti[t].parentLocale:null!=Ti[t]&&delete Ti[t]);return Ti[t]}function ne(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return bi;if(!i(t)){if(e=Xt(t))return e;t=[t]}return Zt(t)}function re(){return wr(Ti)}function ie(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[ti]<0||n[ti]>11?ti:n[ei]<1||n[ei]>ot(n[Qr],n[ti])?ei:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,d(t)._overflowDayOfYear&&(Qr>e||e>ei)&&(e=ei),d(t)._overflowWeeks&&-1===e&&(e=si),d(t)._overflowWeekday&&-1===e&&(e=ai),d(t).overflow=e),t}function oe(t){var e,n,r,i,o,s,a=t._i,u=Ci.exec(a)||ki.exec(a);if(u){for(d(t).iso=!0,e=0,n=Di.length;n>e;e++)if(Di[e][1].exec(u[1])){i=Di[e][0],r=Di[e][2]!==!1;break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=xi.length;n>e;e++)if(xi[e][1].exec(u[3])){o=(u[2]||" ")+xi[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!Li.exec(u[4]))return void(t._isValid=!1);s="Z"}t._f=i+(o||"")+(s||""),pe(t)}else t._isValid=!1}function se(t){var n=Pi.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(oe(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function ae(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ce(t){var e,n,r,i,o=[];if(!t._d){for(r=ue(t),t._w&&null==t._a[ei]&&null==t._a[ti]&&le(t),t._dayOfYear&&(i=ae(t._a[Qr],r[Qr]),t._dayOfYear>yt(i)&&(d(t)._overflowDayOfYear=!0),n=wt(i,0,t._dayOfYear),t._a[ti]=n.getUTCMonth(),t._a[ei]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;7>e;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ni]&&0===t._a[ri]&&0===t._a[ii]&&0===t._a[oi]&&(t._nextDay=!0,t._a[ni]=0),t._d=(t._useUTC?wt:gt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ni]=24)}}function le(t){var e,n,r,i,o,s,a,u;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,s=4,n=ae(e.GG,t._a[Qr],Et(ge(),1,4).year),r=ae(e.W,1),i=ae(e.E,1),(1>i||i>7)&&(u=!0)):(o=t._locale._week.dow,s=t._locale._week.doy,n=ae(e.gg,t._a[Qr],Et(ge(),o,s).year),r=ae(e.w,1),null!=e.d?(i=e.d,(0>i||i>6)&&(u=!0)):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o),1>r||r>St(n,o,s)?d(t)._overflowWeeks=!0:null!=u?d(t)._overflowWeekday=!0:(a=Mt(n,r,i,o,s),t._a[Qr]=a.year,t._dayOfYear=a.dayOfYear)}function pe(t){if(t._f===e.ISO_8601)return void oe(t);t._a=[],d(t).empty=!0;var n,r,i,o,s,a=""+t._i,u=a.length,c=0;for(i=Z(t._f,t._locale).match(xr)||[],n=0;n<i.length;n++)o=i[n],r=(a.match(Q(o,t))||[])[0],r&&(s=a.substr(0,a.indexOf(r)),s.length>0&&d(t).unusedInput.push(s),a=a.slice(a.indexOf(r)+r.length),c+=r.length),Ar[o]?(r?d(t).empty=!1:d(t).unusedTokens.push(o),it(o,r,t)):t._strict&&!r&&d(t).unusedTokens.push(o);d(t).charsLeftOver=u-c,a.length>0&&d(t).unusedInput.push(a),t._a[ni]<=12&&d(t).bigHour===!0&&t._a[ni]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[ni]=he(t._locale,t._a[ni],t._meridiem),ce(t),ie(t)}function he(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&12>e&&(e+=12),r||12!==e||(e=0),e):e}function de(t){var e,n,r,i,o;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=_({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],pe(e),f(e)&&(o+=d(e).charsLeftOver,o+=10*d(e).unusedTokens.length,d(e).score=o,(null==r||r>o)&&(r=o,n=e));l(t,n||e)}function fe(t){if(!t._d){var e=R(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ce(t)}}function me(t){var e=new v(ie(ye(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function ye(t){var e=t._i,n=t._f;return t._locale=t._locale||ne(t._l),null===e||void 0===n&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),g(e)?new v(ie(e)):(i(n)?de(t):a(e)?t._d=e:n?pe(t):_e(t),f(t)||(t._d=null),t))}function _e(t){var n=t._i;void 0===n?t._d=new Date(e.now()):a(n)?t._d=new Date(n.valueOf()):"string"==typeof n?se(t):i(n)?(t._a=u(n.slice(0),function(t){return parseInt(t,10)}),ce(t)):"object"==typeof n?fe(t):"number"==typeof n?t._d=new Date(n):e.createFromInputFallback(t)}function ve(t,e,n,r,a){var u={};return"boolean"==typeof n&&(r=n,n=void 0),(o(t)&&s(t)||i(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=t,u._f=e,u._strict=r,me(u)}function ge(t,e,n,r){return ve(t,e,n,r,!1)}function we(t,e){var n,r;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return ge();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function be(){var t=[].slice.call(arguments,0);return we("isBefore",t)}function Me(){var t=[].slice.call(arguments,0);return we("isAfter",t)}function Ee(t){var e=R(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,s=e.day||0,a=e.hour||0,u=e.minute||0,c=e.second||0,l=e.millisecond||0;this._milliseconds=+l+1e3*c+6e4*u+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ne(),this._bubble()}function Se(t){return t instanceof Ee}function Te(t){return 0>t?-1*Math.round(-1*t):Math.round(t)}function Ce(t,e){q(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+G(~~(t/60),2)+e+G(~~t%60,2)})}function ke(t,e){var n=(e||"").match(t)||[],r=n[n.length-1]||[],i=(r+"").match(Ii)||["-",0,0],o=+(60*i[1])+b(i[2]);return"+"===i[0]?o:-o}function Le(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(g(t)||a(t)?t.valueOf():ge(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):ge(t).local()}function De(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function xe(t,n){var r,i=this._offset||0;return this.isValid()?null!=t?("string"==typeof t?t=ke(Kr,t):Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(r=De(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!n||this._changeInProgress?Ge(this,Fe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:De(this):null!=t?this:NaN}function Pe(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Oe(t){return this.utcOffset(0,t)}function Ae(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(De(this),"m")),this}function Ye(){if(this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var t=ke(qr,this._i);0===t?this.utcOffset(0,!0):this.utcOffset(ke(qr,this._i))}return this}function Ie(t){return this.isValid()?(t=t?ge(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function je(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ne(){if(!y(this._isDSTShifted))return this._isDSTShifted;var t={};if(_(t,this),t=ye(t),t._a){var e=t._isUTC?p(t._a):ge(t._a);this._isDSTShifted=this.isValid()&&M(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Re(){return this.isValid()?!this._isUTC:!1}function He(){return this.isValid()?this._isUTC:!1}function Ve(){return this.isValid()?this._isUTC&&0===this._offset:!1}function Fe(t,e){var n,r,i,o=t,s=null;return Se(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(s=ji.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:b(s[ei])*n,h:b(s[ni])*n,m:b(s[ri])*n,s:b(s[ii])*n,ms:b(Te(1e3*s[oi]))*n}):(s=Ni.exec(t))?(n="-"===s[1]?-1:1,o={y:Be(s[2],n),M:Be(s[3],n),w:Be(s[4],n),d:Be(s[5],n),h:Be(s[6],n),m:Be(s[7],n),s:Be(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=We(ge(o.from),ge(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ee(o),Se(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function Be(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ue(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function We(t,e){var n;return t.isValid()&&e.isValid()?(e=Le(e,t),t.isBefore(e)?n=Ue(t,e):(n=Ue(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ze(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Fe(n,r),Ge(this,i,t),this}}function Ge(t,n,r,i){var o=n._milliseconds,s=Te(n._days),a=Te(n._months);t.isValid()&&(i=null==i?!0:i,o&&t._d.setTime(t._d.valueOf()+o*r),s&&U(t,"Date",B(t,"Date")+s*r),a&&lt(t,B(t,"Month")+a*r),i&&e.updateOffset(t,s||a))}function qe(t,e){var n=t.diff(e,"days",!0);return-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse"}function Ke(t,n){var r=t||ge(),i=Le(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",s=n&&(C(n[o])?n[o].call(this,r):n[o]);return this.format(s||this.localeData().calendar(o,this,ge(r)))}function Je(){return new v(this)}function $e(t,e){var n=g(t)?t:ge(t);return this.isValid()&&n.isValid()?(e=N(y(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function Ze(t,e){var n=g(t)?t:ge(t);return this.isValid()&&n.isValid()?(e=N(y(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function Xe(t,e,n,r){return r=r||"()",("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function Qe(t,e){var n,r=g(t)?t:ge(t);return this.isValid()&&r.isValid()?(e=N(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function tn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function en(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function nn(t,e,n){var r,i,o,s;return this.isValid()?(r=Le(t,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),e=N(e),"year"===e||"month"===e||"quarter"===e?(s=rn(this,r),"quarter"===e?s/=3:"year"===e&&(s/=12)):(o=this-r,s="second"===e?o/1e3:"minute"===e?o/6e4:"hour"===e?o/36e5:"day"===e?(o-i)/864e5:"week"===e?(o-i)/6048e5:o),n?s:w(s)):NaN):NaN}function rn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return 0>e-o?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)||0}function on(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function sn(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?C(Date.prototype.toISOString)?this.toDate().toISOString():$(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):$(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function an(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=$(this,t);return this.localeData().postformat(n)}function un(t,e){return this.isValid()&&(g(t)&&t.isValid()||ge(t).isValid())?Fe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function cn(t){return this.from(ge(),t)}function ln(t,e){return this.isValid()&&(g(t)&&t.isValid()||ge(t).isValid())?Fe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function pn(t){return this.to(ge(),t)}function hn(t){var e;return void 0===t?this._locale._abbr:(e=ne(t),null!=e&&(this._locale=e),this)}function dn(){return this._locale}function fn(t){switch(t=N(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function mn(t){return t=N(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function yn(){return this._d.valueOf()-6e4*(this._offset||0)}function _n(){return Math.floor(this.valueOf()/1e3)}function vn(){return new Date(this.valueOf())}function gn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function wn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function bn(){return this.isValid()?this.toISOString():null}function Mn(){return f(this)}function En(){return l({},d(this))}function Sn(){return d(this).overflow}function Tn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Cn(t,e){q(0,[t,t.length],0,e)}function kn(t){return Pn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ln(t){return Pn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Dn(){return St(this.year(),1,4)}function xn(){var t=this.localeData()._week;return St(this.year(),t.dow,t.doy)}function Pn(t,e,n,r,i){var o;return null==t?Et(this,r,i).year:(o=St(t,r,i),e>o&&(e=o),On.call(this,t,e,n,r,i))}function On(t,e,n,r,i){var o=Mt(t,e,n,r,i),s=wt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function An(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Yn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function In(t,e){e[oi]=b(1e3*("0."+t))}function jn(){return this._isUTC?"UTC":""}function Nn(){return this._isUTC?"Coordinated Universal Time":""}function Rn(t){return ge(1e3*t)}function Hn(){return ge.apply(null,arguments).parseZone()}function Vn(t){return t}function Fn(t,e,n,r){var i=ne(),o=p().set(r,e);return i[n](o,t)}function Bn(t,e,n){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return Fn(t,e,n,"month");var r,i=[];for(r=0;12>r;r++)i[r]=Fn(t,r,n,"month");return i}function Un(t,e,n,r){"boolean"==typeof t?("number"==typeof e&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,"number"==typeof e&&(n=e,e=void 0),e=e||"");var i=ne(),o=t?i._week.dow:0;if(null!=n)return Fn(e,(n+o)%7,r,"day");var s,a=[];for(s=0;7>s;s++)a[s]=Fn(e,(s+o)%7,r,"day");return a}function Wn(t,e){return Bn(t,e,"months")}function zn(t,e){return Bn(t,e,"monthsShort")}function Gn(t,e,n){return Un(t,e,n,"weekdays")}function qn(t,e,n){return Un(t,e,n,"weekdaysShort")}function Kn(t,e,n){return Un(t,e,n,"weekdaysMin")}function Jn(){var t=this._data;return this._milliseconds=Ji(this._milliseconds),this._days=Ji(this._days),this._months=Ji(this._months),t.milliseconds=Ji(t.milliseconds),t.seconds=Ji(t.seconds),t.minutes=Ji(t.minutes),t.hours=Ji(t.hours),t.months=Ji(t.months),t.years=Ji(t.years),this}function $n(t,e,n,r){var i=Fe(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Zn(t,e){return $n(this,t,e,1)}function Xn(t,e){return $n(this,t,e,-1)}function Qn(t){return 0>t?Math.floor(t):Math.ceil(t)}function tr(){var t,e,n,r,i,o=this._milliseconds,s=this._days,a=this._months,u=this._data;return o>=0&&s>=0&&a>=0||0>=o&&0>=s&&0>=a||(o+=864e5*Qn(nr(a)+s),s=0,a=0),u.milliseconds=o%1e3,t=w(o/1e3),u.seconds=t%60,e=w(t/60),u.minutes=e%60,n=w(e/60),u.hours=n%24,s+=w(n/24),i=w(er(s)),a+=i,s-=Qn(nr(i)),r=w(a/12),a%=12,u.days=s,u.months=a,u.years=r,this}function er(t){return 4800*t/146097}function nr(t){return 146097*t/4800}function rr(t){var e,n,r=this._milliseconds;if(t=N(t),"month"===t||"year"===t)return e=this._days+r/864e5,n=this._months+er(e),"month"===t?n:n/12;switch(e=this._days+Math.round(nr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function or(t){return function(){return this.as(t)}}function sr(t){return t=N(t),this[t+"s"]()}function ar(t){return function(){return this._data[t]}}function ur(){return w(this.days()/7)}function cr(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function lr(t,e,n){var r=Fe(t).abs(),i=po(r.as("s")),o=po(r.as("m")),s=po(r.as("h")),a=po(r.as("d")),u=po(r.as("M")),c=po(r.as("y")),l=i<ho.s&&["s",i]||1>=o&&["m"]||o<ho.m&&["mm",o]||1>=s&&["h"]||s<ho.h&&["hh",s]||1>=a&&["d"]||a<ho.d&&["dd",a]||1>=u&&["M"]||u<ho.M&&["MM",u]||1>=c&&["y"]||["yy",c];return l[2]=e,l[3]=+t>0,l[4]=n,cr.apply(null,l)}function pr(t){return void 0===t?po:"function"==typeof t?(po=t,!0):!1}function hr(t,e){return void 0===ho[t]?!1:void 0===e?ho[t]:(ho[t]=e,!0)}function dr(t){var e=this.localeData(),n=lr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function fr(){var t,e,n,r=fo(this._milliseconds)/1e3,i=fo(this._days),o=fo(this._months);t=w(r/60),e=w(t/60),r%=60,t%=60,n=w(o/12),o%=12;var s=n,a=o,u=i,c=e,l=t,p=r,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(s?s+"Y":"")+(a?a+"M":"")+(u?u+"D":"")+(c||l||p?"T":"")+(c?c+"H":"")+(l?l+"M":"")+(p?p+"S":""):"P0D"}var mr,yr;yr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;n>r;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var _r=e.momentProperties=[],vr=!1,gr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var wr;wr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var br,Mr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Er={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Sr="Invalid date",Tr="%d",Cr=/\d{1,2}/,kr={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Lr={},Dr={},xr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Pr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Or={},Ar={},Yr=/\d/,Ir=/\d\d/,jr=/\d{3}/,Nr=/\d{4}/,Rr=/[+-]?\d{6}/,Hr=/\d\d?/,Vr=/\d\d\d\d?/,Fr=/\d\d\d\d\d\d?/,Br=/\d{1,3}/,Ur=/\d{1,4}/,Wr=/[+-]?\d{1,6}/,zr=/\d+/,Gr=/[+-]?\d+/,qr=/Z|[+-]\d\d:?\d\d/gi,Kr=/Z|[+-]\d\d(?::?\d\d)?/gi,Jr=/[+-]?\d+(\.\d{1,3})?/,$r=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Zr={},Xr={},Qr=0,ti=1,ei=2,ni=3,ri=4,ii=5,oi=6,si=7,ai=8;br=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},q("M",["MM",2],"Mo",function(){return this.month()+1}),q("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),q("MMMM",0,0,function(t){return this.localeData().months(this,t)}),j("month","M"),H("month",8),X("M",Hr),X("MM",Hr,Ir),X("MMM",function(t,e){return e.monthsShortRegex(t)}),X("MMMM",function(t,e){return e.monthsRegex(t)}),nt(["M","MM"],function(t,e){e[ti]=b(t)-1}),nt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ti]=i:d(n).invalidMonth=t});var ui=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,ci="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),li="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),pi=$r,hi=$r;q("Y",0,0,function(){var t=this.year();return 9999>=t?""+t:"+"+t}),q(0,["YY",2],0,function(){return this.year()%100}),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),j("year","y"),H("year",1),X("Y",Gr),X("YY",Hr,Ir),X("YYYY",Ur,Nr),X("YYYYY",Wr,Rr),X("YYYYYY",Wr,Rr),nt(["YYYYY","YYYYYY"],Qr),nt("YYYY",function(t,n){n[Qr]=2===t.length?e.parseTwoDigitYear(t):b(t)}),nt("YY",function(t,n){n[Qr]=e.parseTwoDigitYear(t)}),nt("Y",function(t,e){e[Qr]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var di=F("FullYear",!0);q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),H("week",5),H("isoWeek",5),X("w",Hr),X("ww",Hr,Ir),X("W",Hr),X("WW",Hr,Ir),rt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=b(t)});var fi={dow:0,doy:6};q("d",0,"do","day"),q("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),q("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),q("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),X("d",Hr),X("e",Hr),X("E",Hr),X("dd",function(t,e){return e.weekdaysMinRegex(t)}),X("ddd",function(t,e){return e.weekdaysShortRegex(t)}),X("dddd",function(t,e){return e.weekdaysRegex(t)}),rt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:d(n).invalidWeekday=t}),rt(["d","e","E"],function(t,e,n,r){e[r]=b(t)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),yi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),_i="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vi=$r,gi=$r,wi=$r;q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Wt),q("k",["kk",2],0,zt),q("hmm",0,0,function(){return""+Wt.apply(this)+G(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Wt.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)}),Gt("a",!0),Gt("A",!1),j("hour","h"),H("hour",13),X("a",qt),X("A",qt),X("H",Hr),X("h",Hr),X("HH",Hr,Ir),X("hh",Hr,Ir),X("hmm",Vr),X("hmmss",Fr),X("Hmm",Vr),X("Hmmss",Fr),nt(["H","HH"],ni),nt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),nt(["h","hh"],function(t,e,n){e[ni]=b(t),d(n).bigHour=!0}),nt("hmm",function(t,e,n){var r=t.length-2;e[ni]=b(t.substr(0,r)),e[ri]=b(t.substr(r)),d(n).bigHour=!0}),nt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ni]=b(t.substr(0,r)),e[ri]=b(t.substr(r,2)),e[ii]=b(t.substr(i)),d(n).bigHour=!0}),nt("Hmm",function(t,e,n){var r=t.length-2;e[ni]=b(t.substr(0,r)),e[ri]=b(t.substr(r))}),nt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ni]=b(t.substr(0,r)),e[ri]=b(t.substr(r,2)),e[ii]=b(t.substr(i))});var bi,Mi=/[ap]\.?m?\.?/i,Ei=F("Hours",!0),Si={calendar:Mr,longDateFormat:Er,invalidDate:Sr,ordinal:Tr,ordinalParse:Cr,relativeTime:kr,months:ci,monthsShort:li,week:fi,weekdays:mi,weekdaysMin:_i,weekdaysShort:yi,meridiemParse:Mi},Ti={},Ci=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ki=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Di=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Pi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=S("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){
t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Oi=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ge.apply(null,arguments);return this.isValid()&&t.isValid()?this>t?this:t:m()}),Ai=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ge.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()}),Yi=function(){return Date.now?Date.now():+new Date};Ce("Z",":"),Ce("ZZ",""),X("Z",Kr),X("ZZ",Kr),nt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=ke(Kr,t)});var Ii=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var ji=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ni=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Fe.fn=Ee.prototype;var Ri=ze(1,"add"),Hi=ze(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Vi=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Cn("gggg","weekYear"),Cn("ggggg","weekYear"),Cn("GGGG","isoWeekYear"),Cn("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),X("G",Gr),X("g",Gr),X("GG",Hr,Ir),X("gg",Hr,Ir),X("GGGG",Ur,Nr),X("gggg",Ur,Nr),X("GGGGG",Wr,Rr),X("ggggg",Wr,Rr),rt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=b(t)}),rt(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),q("Q",0,"Qo","quarter"),j("quarter","Q"),H("quarter",7),X("Q",Yr),nt("Q",function(t,e){e[ti]=3*(b(t)-1)}),q("D",["DD",2],"Do","date"),j("date","D"),H("date",9),X("D",Hr),X("DD",Hr,Ir),X("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),nt(["D","DD"],ei),nt("Do",function(t,e){e[ei]=b(t.match(Hr)[0],10)});var Fi=F("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),H("dayOfYear",4),X("DDD",Br),X("DDDD",jr),nt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=b(t)}),q("m",["mm",2],0,"minute"),j("minute","m"),H("minute",14),X("m",Hr),X("mm",Hr,Ir),nt(["m","mm"],ri);var Bi=F("Minutes",!1);q("s",["ss",2],0,"second"),j("second","s"),H("second",15),X("s",Hr),X("ss",Hr,Ir),nt(["s","ss"],ii);var Ui=F("Seconds",!1);q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),H("millisecond",16),X("S",Br,Yr),X("SS",Br,Ir),X("SSS",Br,jr);var Wi;for(Wi="SSSS";Wi.length<=9;Wi+="S")X(Wi,zr);for(Wi="S";Wi.length<=9;Wi+="S")nt(Wi,In);var zi=F("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Gi=v.prototype;Gi.add=Ri,Gi.calendar=Ke,Gi.clone=Je,Gi.diff=nn,Gi.endOf=mn,Gi.format=an,Gi.from=un,Gi.fromNow=cn,Gi.to=ln,Gi.toNow=pn,Gi.get=W,Gi.invalidAt=Sn,Gi.isAfter=$e,Gi.isBefore=Ze,Gi.isBetween=Xe,Gi.isSame=Qe,Gi.isSameOrAfter=tn,Gi.isSameOrBefore=en,Gi.isValid=Mn,Gi.lang=Vi,Gi.locale=hn,Gi.localeData=dn,Gi.max=Ai,Gi.min=Oi,Gi.parsingFlags=En,Gi.set=z,Gi.startOf=fn,Gi.subtract=Hi,Gi.toArray=gn,Gi.toObject=wn,Gi.toDate=vn,Gi.toISOString=sn,Gi.toJSON=bn,Gi.toString=on,Gi.unix=_n,Gi.valueOf=yn,Gi.creationData=Tn,Gi.year=di,Gi.isLeapYear=vt,Gi.weekYear=kn,Gi.isoWeekYear=Ln,Gi.quarter=Gi.quarters=An,Gi.month=pt,Gi.daysInMonth=ht,Gi.week=Gi.weeks=Lt,Gi.isoWeek=Gi.isoWeeks=Dt,Gi.weeksInYear=xn,Gi.isoWeeksInYear=Dn,Gi.date=Fi,Gi.day=Gi.days=Nt,Gi.weekday=Rt,Gi.isoWeekday=Ht,Gi.dayOfYear=Yn,Gi.hour=Gi.hours=Ei,Gi.minute=Gi.minutes=Bi,Gi.second=Gi.seconds=Ui,Gi.millisecond=Gi.milliseconds=zi,Gi.utcOffset=xe,Gi.utc=Oe,Gi.local=Ae,Gi.parseZone=Ye,Gi.hasAlignedHourOffset=Ie,Gi.isDST=je,Gi.isLocal=Re,Gi.isUtcOffset=He,Gi.isUtc=Ve,Gi.isUTC=Ve,Gi.zoneAbbr=jn,Gi.zoneName=Nn,Gi.dates=S("dates accessor is deprecated. Use date instead.",Fi),Gi.months=S("months accessor is deprecated. Use month instead",pt),Gi.years=S("years accessor is deprecated. Use year instead",di),Gi.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Pe),Gi.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ne);var qi=Gi,Ki=D.prototype;Ki.calendar=x,Ki.longDateFormat=P,Ki.invalidDate=O,Ki.ordinal=A,Ki.preparse=Vn,Ki.postformat=Vn,Ki.relativeTime=Y,Ki.pastFuture=I,Ki.set=k,Ki.months=st,Ki.monthsShort=at,Ki.monthsParse=ct,Ki.monthsRegex=ft,Ki.monthsShortRegex=dt,Ki.week=Tt,Ki.firstDayOfYear=kt,Ki.firstDayOfWeek=Ct,Ki.weekdays=Ot,Ki.weekdaysMin=Yt,Ki.weekdaysShort=At,Ki.weekdaysParse=jt,Ki.weekdaysRegex=Vt,Ki.weekdaysShortRegex=Ft,Ki.weekdaysMinRegex=Bt,Ki.isPM=Kt,Ki.meridiem=Jt,Qt("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),e.lang=S("moment.lang is deprecated. Use moment.locale instead.",Qt),e.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ne);var Ji=Math.abs,$i=or("ms"),Zi=or("s"),Xi=or("m"),Qi=or("h"),to=or("d"),eo=or("w"),no=or("M"),ro=or("y"),io=ar("milliseconds"),oo=ar("seconds"),so=ar("minutes"),ao=ar("hours"),uo=ar("days"),co=ar("months"),lo=ar("years"),po=Math.round,ho={s:45,m:45,h:22,d:26,M:11},fo=Math.abs,mo=Ee.prototype;mo.abs=Jn,mo.add=Zn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=$i,mo.asSeconds=Zi,mo.asMinutes=Xi,mo.asHours=Qi,mo.asDays=to,mo.asWeeks=eo,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=tr,mo.get=sr,mo.milliseconds=io,mo.seconds=oo,mo.minutes=so,mo.hours=ao,mo.days=uo,mo.weeks=ur,mo.months=co,mo.years=lo,mo.humanize=dr,mo.toISOString=fr,mo.toString=fr,mo.toJSON=fr,mo.locale=hn,mo.localeData=dn,mo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",fr),mo.lang=Vi,q("X",0,0,"unix"),q("x",0,0,"valueOf"),X("x",Gr),X("X",Jr),nt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),nt("x",function(t,e,n){n._d=new Date(b(t))}),e.version="2.15.1",r(ge),e.fn=qi,e.min=be,e.max=Me,e.now=Yi,e.utc=p,e.unix=Rn,e.months=Wn,e.isDate=a,e.locale=Qt,e.invalid=m,e.duration=Fe,e.isMoment=g,e.weekdays=Gn,e.parseZone=Hn,e.localeData=ne,e.isDuration=Se,e.monthsShort=zn,e.weekdaysMin=Kn,e.defineLocale=te,e.updateLocale=ee,e.locales=re,e.weekdaysShort=qn,e.normalizeUnits=N,e.relativeTimeRounding=pr,e.relativeTimeThreshold=hr,e.calendarFormat=qe,e.prototype=qi;var yo=e;return yo})}).call(e,n(59)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./af":61,"./af.js":61,"./ar":62,"./ar-ly":63,"./ar-ly.js":63,"./ar-ma":64,"./ar-ma.js":64,"./ar-sa":65,"./ar-sa.js":65,"./ar-tn":66,"./ar-tn.js":66,"./ar.js":62,"./az":67,"./az.js":67,"./be":68,"./be.js":68,"./bg":69,"./bg.js":69,"./bn":70,"./bn.js":70,"./bo":71,"./bo.js":71,"./br":72,"./br.js":72,"./bs":73,"./bs.js":73,"./ca":74,"./ca.js":74,"./cs":75,"./cs.js":75,"./cv":76,"./cv.js":76,"./cy":77,"./cy.js":77,"./da":78,"./da.js":78,"./de":79,"./de-at":80,"./de-at.js":80,"./de.js":79,"./dv":81,"./dv.js":81,"./el":82,"./el.js":82,"./en-au":83,"./en-au.js":83,"./en-ca":84,"./en-ca.js":84,"./en-gb":85,"./en-gb.js":85,"./en-ie":86,"./en-ie.js":86,"./en-nz":87,"./en-nz.js":87,"./eo":88,"./eo.js":88,"./es":89,"./es-do":90,"./es-do.js":90,"./es.js":89,"./et":91,"./et.js":91,"./eu":92,"./eu.js":92,"./fa":93,"./fa.js":93,"./fi":94,"./fi.js":94,"./fo":95,"./fo.js":95,"./fr":96,"./fr-ca":97,"./fr-ca.js":97,"./fr-ch":98,"./fr-ch.js":98,"./fr.js":96,"./fy":99,"./fy.js":99,"./gd":100,"./gd.js":100,"./gl":101,"./gl.js":101,"./he":102,"./he.js":102,"./hi":103,"./hi.js":103,"./hr":104,"./hr.js":104,"./hu":105,"./hu.js":105,"./hy-am":106,"./hy-am.js":106,"./id":107,"./id.js":107,"./is":108,"./is.js":108,"./it":109,"./it.js":109,"./ja":110,"./ja.js":110,"./jv":111,"./jv.js":111,"./ka":112,"./ka.js":112,"./kk":113,"./kk.js":113,"./km":114,"./km.js":114,"./ko":115,"./ko.js":115,"./ky":116,"./ky.js":116,"./lb":117,"./lb.js":117,"./lo":118,"./lo.js":118,"./lt":119,"./lt.js":119,"./lv":120,"./lv.js":120,"./me":121,"./me.js":121,"./mi":122,"./mi.js":122,"./mk":123,"./mk.js":123,"./ml":124,"./ml.js":124,"./mr":125,"./mr.js":125,"./ms":126,"./ms-my":127,"./ms-my.js":127,"./ms.js":126,"./my":128,"./my.js":128,"./nb":129,"./nb.js":129,"./ne":130,"./ne.js":130,"./nl":131,"./nl.js":131,"./nn":132,"./nn.js":132,"./pa-in":133,"./pa-in.js":133,"./pl":134,"./pl.js":134,"./pt":135,"./pt-br":136,"./pt-br.js":136,"./pt.js":135,"./ro":137,"./ro.js":137,"./ru":138,"./ru.js":138,"./se":139,"./se.js":139,"./si":140,"./si.js":140,"./sk":141,"./sk.js":141,"./sl":142,"./sl.js":142,"./sq":143,"./sq.js":143,"./sr":144,"./sr-cyrl":145,"./sr-cyrl.js":145,"./sr.js":144,"./ss":146,"./ss.js":146,"./sv":147,"./sv.js":147,"./sw":148,"./sw.js":148,"./ta":149,"./ta.js":149,"./te":150,"./te.js":150,"./th":151,"./th.js":151,"./tl-ph":152,"./tl-ph.js":152,"./tlh":153,"./tlh.js":153,"./tr":154,"./tr.js":154,"./tzl":155,"./tzl.js":155,"./tzm":156,"./tzm-latn":157,"./tzm-latn.js":157,"./tzm.js":156,"./uk":158,"./uk.js":158,"./uz":159,"./uz.js":159,"./vi":160,"./vi.js":160,"./x-pseudo":161,"./x-pseudo.js":161,"./zh-cn":162,"./zh-cn.js":162,"./zh-hk":163,"./zh-hk.js":163,"./zh-tw":164,"./zh-tw.js":164};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=60},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return 12>t?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,n,o,s){var a=r(e),u=i[t][r(e)];return 2===a&&(u=u[n?0:1]),u.replace(/%d/i,e)}},s=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],a=t.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return a})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,o,s){var a=n(e),u=r[t][n(e)];return 2===a&&(u=u[i?0:1]),u.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return s})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return 4>t?"gecə":12>t?"səhər":17>t?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10,r=t%100-n,i=t>=100?100:null;return t+(e[n]||e[r]||e[i])},week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function n(t,n,r){var i={mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":t+" "+e(i[r],+t)}var r=t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночы":12>t?"раніцы":17>t?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!==2&&t%10!==3||t%100===12||t%100===13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&20>n?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&5>t||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"রাত":10>t?"সকাল":17>t?"দুপুর":20>t?"বিকাল":"রাত"},week:{dow:0,doy:6}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&5>t||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"མཚན་མོ":10>t?"ཞོགས་ཀས":17>t?"ཉིན་གུང":20>t?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+i(r[n],t)}function n(t){switch(r(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function r(t){return t>9?r(t%10):t}function i(t,e){return 2===e?o(t):t}function o(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}var s=t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:n},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}});return s})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}var n=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return("w"===e||"W"===e)&&(n="a"),t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t){return t>1&&5>t&&1!==~~(t/10)}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?o+(e(t)?"minuty":"minut"):o+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(e(t)?"hodiny":"hodin"):o+"hodinami";
case"d":return n||i?"den":"dnem";case"dd":return n||i?o+(e(t)?"dny":"dní"):o+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?o+(e(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?o+(e(t)?"roky":"let"):o+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),o=t.defineLocale("cs",{months:r,monthsShort:i,monthsParse:function(t,e){var n,r=[];for(n=0;12>n;n++)r[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return r}(r,i),shortMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(i),longMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(r),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){var e=/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран";return t+e},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e=t,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=r[e]),t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}var n=t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}var n=t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r=t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return 12>t?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}var n=t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,n){var r=this._calendarEl[t],i=n&&n.hours();return e(r)&&(r=r.apply(n)),r.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return/-MMM-/.test(r)?n[t.month()]:e[t.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return/-MMM-/.test(r)?n[t.month()]:e[t.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}var n=t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return 12>t?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,r,i){var o="";switch(r){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=n(t,i)+" "+o}function n(t,e){return 10>t?e?i[t]:r[t]:t}var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]],o=t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(t){return t+(1===t?"er":"")},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(t){return t+(1===t?"er":"e")}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(t){return t+(1===t?"er":"e")},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,r){return/-MMM-/.test(r)?n[t.month()]:e[t.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,
ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],s=t.defineLocale("gd",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return s})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10===0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return 5>t?"לפנות בוקר":10>t?"בבוקר":12>t?n?'לפנה"צ':"לפני הצהריים":18>t?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?4>t?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"रात":10>t?"सुबह":17>t?"दोपहर":20>t?"शाम":"रात"},week:{dow:0,doy:6}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}var n=t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i=t;switch(n){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return i+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return i+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return i+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return i+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return i+(r||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),i=t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return 12>t?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return 4>t?"գիշերվա":12>t?"առավոտվա":17>t?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"siang":19>t?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t){return t%100===11?!0:t%10===1?!1:!0}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return e(t)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}var r=t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return 12>t?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"enjing":15>t?"siyang":19>t?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":20>t||100>=t&&t%20===0||t%100===0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var n=t%10,r=t>=100?100:null;return t+(e[t]||e[n]||e[r])},week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return 12>t?"오전":"오후"}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var n=t%10,r=t>=100?100:null;return t+(e[t]||e[n]||e[r])},week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[n][0]:i[n][1]}function n(t){var e=t.substr(0,t.indexOf(" "));return i(e)?"a "+t:"an "+t}function r(t){var e=t.substr(0,t.indexOf(" "));return i(e)?"viru "+t:"virun "+t}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(0>t)return!0;if(10>t)return t>=4&&7>=t?!0:!1;if(100>t){var e=t%10,n=t/10;return i(0===e?n:e)}if(1e4>t){for(;t>=10;)t/=10;return i(t)}return t/=1e3,i(t)}var o=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return 12>t?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function n(t,e,n,r){return e?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(t){return t%10===0||t>10&&20>t}function i(t){return s[t].split("_")}function o(t,e,o,s){var a=t+" ";return 1===t?a+n(t,e,o[0],s):e?a+(r(t)?i(o)[1]:i(o)[0]):s?a+i(o)[1]:a+(r(t)?i(o)[1]:i(o)[2])}var s={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},a=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:e,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},ordinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return a})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n){return n?e%10===1&&e%100!==11?t[2]:t[3]:e%10===1&&e%100!==11?t[0]:t[1]}function n(t,n,r){return t+" "+e(o[r],t,n)}function r(t,n,r){return e(o[r],t,n)}function i(t,e){return e?"dažas sekundes":"dažām sekundēm"}var o={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")},s=t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:i,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}},n=t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),
monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&20>n?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"രാത്രി":12>t?"രാവിലെ":17>t?"ഉച്ച കഴിഞ്ഞ്":20>t?"വൈകുന്നേരം":"രാത്രി"}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i="";if(e)switch(n){case"s":i="काही सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,t)}var n={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return n[t]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?4>t?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"रात्री":10>t?"सकाळी":17>t?"दुपारी":20>t?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"tengahari":19>t?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"tengahari":19>t?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r=t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?4>t?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return 3>t?"राति":12>t?"बिहान":16>t?"दिउँसो":20>t?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return/-MMM-/.test(r)?n[t.month()]:e[t.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return o})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r=t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?4>t?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"ਰਾਤ":10>t?"ਸਵੇਰ":17>t?"ਦੁਪਹਿਰ":20>t?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t){return 5>t%10&&t%10>1&&~~(t/10)%10!==1}function n(t,n,r){var i=t+" ";switch(r){case"m":return n?"minuta":"minutę";case"mm":return i+(e(t)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return i+(e(t)?"godziny":"godzin");case"MM":return i+(e(t)?"miesiące":"miesięcy");case"yy":return i+(e(t)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),o=t.defineLocale("pl",{months:function(t,e){return""===e?"("+i[t.month()]+"|"+r[t.month()]+")":/D MMMM/.test(e)?i[t.month()]:r[t.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n){var r={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},i=" ";return(t%100>=20||t>=100&&t%100===0)&&(i=" de "),t+i+r[n]}var n=t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function n(t,n,r){var i={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":t+" "+e(i[r],+t)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночи":12>t?"утра":17>t?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:7}});return i})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t){return t>1&&5>t}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":i?"minútu":"minútou";case"mm":return n||i?o+(e(t)?"minúty":"minút"):o+"minútami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(e(t)?"hodiny":"hodín"):o+"hodinami";case"d":return n||i?"deň":"dňom";case"dd":return n||i?o+(e(t)?"dni":"dní"):o+"dňami";case"M":return n||i?"mesiac":"mesiacom";case"MM":return n||i?o+(e(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return n||i?"rok":"rokom";case"yy":return n||i?o+(e(t)?"roky":"rokov"):o+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),o=t.defineLocale("sk",{months:r,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":5>t?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":5>t?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return i+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return i+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":5>t?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return i+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":5>t?e||r?"leta":"leti":e||r?"let":"leti"}}var n=t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,
meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return 12>t?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}},n=t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}},n=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return 11>t?"ekuseni":15>t?"emini":19>t?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"e":1===e?"a":2===e?"a":"e";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r=t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return 2>t?" யாமம்":6>t?" வைகறை":10>t?" காலை":14>t?" நண்பகல்":18>t?" எற்பாடு":22>t?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?2>t?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}});return r})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?4>t?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"రాత్రి":10>t?"ఉదయం":17>t?"మధ్యాహ్నం":20>t?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return 12>t?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"}function n(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"}function r(t,e,n,r){var o=i(t);switch(n){case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}function i(t){var e=Math.floor(t%1e3/100),n=Math.floor(t%100/10),r=t%10,i="";return e>0&&(i+=o[e]+"vatlh"),n>0&&(i+=(""!==i?" ":"")+o[n]+"maH"),r>0&&(i+=(""!==i?" ":"")+o[r]),""===i?"pagh":i}var o="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"),s=t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:e,past:n,s:"puS lup",m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(t){if(0===t)return t+"'ıncı";var n=t%10,r=t%100-n,i=t>=100?100:null;return t+(e[n]||e[r]||e[i])},week:{dow:1,doy:7}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e,n,r){var i={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",""+t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",""+t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",""+t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",""+t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",""+t+" ars"]};return r?i[n][0]:e?i[n][0]:i[n][1]}var n=t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function n(t,n,r){var i={mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":t+" "+e(i[r],+t)}function r(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative";return n[r][t.day()]}function i(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночі":12>t?"ранку":17>t?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}});return o})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return 12>t?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return 600>r?"凌晨":900>r?"早上":1130>r?"上午":1230>r?"中午":1800>r?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var e,n;return e=t().startOf("week"),n=this.diff(e,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var e,n;return e=t().startOf("week"),n=this.unix()<e.unix()?"[上]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return 600>r?"凌晨":900>r?"早上":1130>r?"上午":1230>r?"中午":1800>r?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e})},function(t,e,n){!function(t,e){e(n(58))}(this,function(t){"use strict";var e=t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return 600>r?"凌晨":900>r?"早上":1130>r?"上午":1230>r?"中午":1800>r?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e})},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(24),s=n(56),a=n(55),u=n(166),c=n(167),l=n(168),p=n(169),h=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.FormsModule],declarations:[a.DatePickerComponent,s.DatePickerInnerComponent,u.DayPickerComponent,c.MonthPickerComponent,l.YearPickerComponent],exports:[a.DatePickerComponent,s.DatePickerInnerComponent,u.DayPickerComponent,o.FormsModule,c.MonthPickerComponent,l.YearPickerComponent],providers:[p.ComponentsHelper]}]}],t.ctorParameters=[],t}();e.DatepickerModule=h},function(t,e,n){"use strict";var r=n(3),i=n(49),o=n(56),s=(u={},u[i.Ng2BootstrapTheme.BS4]={ARROW_LEFT:"&lt;",ARROW_RIGHT:"&gt;"},u[i.Ng2BootstrapTheme.BS3]={ARROW_LEFT:'\n    <i class="glyphicon glyphicon-chevron-left"></i>\n    ',ARROW_RIGHT:'\n    <i class="glyphicon glyphicon-chevron-right"></i>\n    '},u),a=function(){function t(t){this.labels=[],this.rows=[],this.weekNumbers=[],this.CURRENT_THEME_TEMPLATE=s[i.Ng2BootstrapConfig.theme||i.Ng2BootstrapTheme.BS3],this.datePicker=t}return Object.defineProperty(t.prototype,"isBS4",{get:function(){return i.Ng2BootstrapConfig.theme===i.Ng2BootstrapTheme.BS4},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.datePicker.stepDay={months:1},this.datePicker.setRefreshViewHandler(function(){var e=this.activeDate.getFullYear(),n=this.activeDate.getMonth(),r=new Date(e,n,1),i=this.startingDay-r.getDay(),o=i>0?7-i:-i,s=new Date(r.getTime());o>0&&s.setDate(-o+1);for(var a=t.getDates(s,42),u=[],c=0;42>c;c++){var l=this.createDateObject(a[c],this.formatDay);l.secondary=a[c].getMonth()!==n,l.uid=this.uniqueId+"-"+c,u[c]=l}t.labels=[];for(var p=0;7>p;p++)t.labels[p]={},t.labels[p].abbr=this.dateFilter(u[p].date,this.formatDayHeader),t.labels[p].full=this.dateFilter(u[p].date,"EEEE");if(t.title=this.dateFilter(this.activeDate,this.formatDayTitle),
t.rows=this.split(u,7),this.showWeeks){t.weekNumbers=[];for(var h=(11-this.startingDay)%7,d=t.rows.length,f=0;d>f;f++)t.weekNumbers.push(t.getISO8601WeekNumber(t.rows[f][h].date))}},"day"),this.datePicker.setCompareHandler(function(t,e){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate()),r=new Date(e.getFullYear(),e.getMonth(),e.getDate());return n.getTime()-r.getTime()},"day"),this.datePicker.refreshView()},t.prototype.getDates=function(t,e){for(var n,r=new Array(e),i=new Date(t.getTime()),o=0;e>o;)n=new Date(i.getTime()),n=this.datePicker.fixTimeZone(n),r[o++]=n,i=new Date(i.getFullYear(),i.getMonth(),i.getDate()+1);return r},t.prototype.getISO8601WeekNumber=function(t){var e=new Date(t.getTime());e.setDate(e.getDate()+4-(e.getDay()||7));var n=e.getTime();return e.setMonth(0),e.setDate(1),Math.floor(Math.round((n-e.getTime())/864e5)/7)+1},t.decorators=[{type:r.Component,args:[{selector:"daypicker",template:'\n<table *ngIf="datePicker.datepickerMode===\'day\'" role="grid" [attr.aria-labelledby]="datePicker.uniqueId+\'-title\'" aria-activedescendant="activeDateId">\n  <thead>\n    <tr>\n      <th>\n        <button type="button" \n                class="btn btn-default btn-secondary btn-sm pull-left" \n                (click)="datePicker.move(-1)" \n                tabindex="-1"\n                [innerHTML]="CURRENT_THEME_TEMPLATE.ARROW_LEFT">\n        </button>\n      </th>\n      <th [attr.colspan]="5 + (datePicker.showWeeks ? 1 : 0)">\n        <button [id]="datePicker.uniqueId + \'-title\'"\n                type="button" class="btn btn-default btn-secondary btn-sm"\n                (click)="datePicker.toggleMode()"\n                [disabled]="datePicker.datepickerMode === datePicker.maxMode"\n                [ngClass]="{disabled: datePicker.datepickerMode === datePicker.maxMode}" tabindex="-1" style="width:100%;">\n          <strong>{{title}}</strong>\n        </button>\n      </th>\n      <th>\n        <button type="button" \n                class="btn btn-default btn-secondary btn-sm pull-right" \n                (click)="datePicker.move(1)" \n                tabindex="-1"\n                [innerHTML]="CURRENT_THEME_TEMPLATE.ARROW_RIGHT">\n        </button>\n      </th>\n    </tr>\n    <tr>\n      <th *ngIf="datePicker.showWeeks"></th>\n      <th *ngFor="let labelz of labels" [ngClass]="{\'text-xs-center\':isBS4, \'text-center\': !isBS4}">\n        <small aria-label="labelz.full"><b>{{labelz.abbr}}</b></small>\n      </th>\n    </tr>\n  </thead>\n  <tbody>\n    <template ngFor [ngForOf]="rows" let-rowz="$implicit" let-index="index">\n      <tr *ngIf="!(datePicker.onlyCurrentMonth && rowz[0].secondary && rowz[6].secondary)">\n        <td *ngIf="datePicker.showWeeks" class="h6" [ngClass]="{\'text-xs-center\':isBS4, \'text-center\': !isBS4}">\n          <em>{{ weekNumbers[index] }}</em>\n        </td>\n        <td *ngFor="let dtz of rowz" [ngClass]="{\'text-xs-center\':isBS4, \'text-center\': !isBS4}" role="gridcell" [id]="dtz.uid">\n          <button type="button" style="min-width:100%;" class="btn btn-sm {{dtz.customClass}}"\n                  *ngIf="!(datePicker.onlyCurrentMonth && dtz.secondary)"\n                  [ngClass]="{\'btn-secondary\': isBS4 && !dtz.selected && !datePicker.isActive(dtz), \'btn-info\': dtz.selected, disabled: dtz.disabled, active: !isBS4 && datePicker.isActive(dtz), \'btn-default\': !isBS4}"\n                  [disabled]="dtz.disabled"\n                  (click)="datePicker.select(dtz.date)" tabindex="-1">\n            <span [ngClass]="{\'text-muted\': dtz.secondary || dtz.current, \'text-info\': !isBS4 && dtz.current}">{{dtz.label}}</span>\n          </button>\n        </td>\n      </tr>\n    </template>\n  </tbody>\n</table>\n  '}]}],t.ctorParameters=[{type:o.DatePickerInnerComponent}],t}();e.DayPickerComponent=a;var u},function(t,e,n){"use strict";var r=n(3),i=n(49),o=n(56),s=function(){function t(t){this.rows=[],this.datePicker=t}return Object.defineProperty(t.prototype,"isBS4",{get:function(){return i.Ng2BootstrapConfig.theme===i.Ng2BootstrapTheme.BS4},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.datePicker.stepMonth={years:1},this.datePicker.setRefreshViewHandler(function(){for(var e,n=new Array(12),r=this.activeDate.getFullYear(),i=0;12>i;i++)e=new Date(r,i,1),e=this.fixTimeZone(e),n[i]=this.createDateObject(e,this.formatMonth),n[i].uid=this.uniqueId+"-"+i;t.title=this.dateFilter(this.activeDate,this.formatMonthTitle),t.rows=this.split(n,3)},"month"),this.datePicker.setCompareHandler(function(t,e){var n=new Date(t.getFullYear(),t.getMonth()),r=new Date(e.getFullYear(),e.getMonth());return n.getTime()-r.getTime()},"month"),this.datePicker.refreshView()},t.decorators=[{type:r.Component,args:[{selector:"monthpicker",template:'\n<table *ngIf="datePicker.datepickerMode===\'month\'" role="grid">\n  <thead>\n    <tr>\n      <th>\n        <button type="button" class="btn btn-default btn-sm pull-left"\n                (click)="datePicker.move(-1)" tabindex="-1">\n          <i class="glyphicon glyphicon-chevron-left"></i>\n        </button></th>\n      <th>\n        <button [id]="datePicker.uniqueId + \'-title\'"\n                type="button" class="btn btn-default btn-sm"\n                (click)="datePicker.toggleMode()"\n                [disabled]="datePicker.datepickerMode === maxMode"\n                [ngClass]="{disabled: datePicker.datepickerMode === maxMode}" tabindex="-1" style="width:100%;">\n          <strong>{{title}}</strong>\n        </button>\n      </th>\n      <th>\n        <button type="button" class="btn btn-default btn-sm pull-right"\n                (click)="datePicker.move(1)" tabindex="-1">\n          <i class="glyphicon glyphicon-chevron-right"></i>\n        </button>\n      </th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr *ngFor="let rowz of rows">\n      <td *ngFor="let dtz of rowz" class="text-center" role="gridcell" id="{{dtz.uid}}" [ngClass]="dtz.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default"\n                [ngClass]="{\'btn-link\': isBS4 && !dtz.selected && !datePicker.isActive(dtz), \'btn-info\': dtz.selected || (isBS4 && !dtz.selected && datePicker.isActive(dtz)), disabled: dtz.disabled, active: !isBS4 && datePicker.isActive(dtz)}"\n                [disabled]="dtz.disabled"\n                (click)="datePicker.select(dtz.date)" tabindex="-1">\n          <span [ngClass]="{\'text-success\': isBS4 && dtz.current, \'text-info\': !isBS4 && dtz.current}">{{dtz.label}}</span>\n        </button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n  '}]}],t.ctorParameters=[{type:o.DatePickerInnerComponent}],t}();e.MonthPickerComponent=s},function(t,e,n){"use strict";var r=n(3),i=n(49),o=n(56),s=function(){function t(t){this.rows=[],this.datePicker=t}return Object.defineProperty(t.prototype,"isBS4",{get:function(){return i.Ng2BootstrapConfig.theme===i.Ng2BootstrapTheme.BS4},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.datePicker.stepYear={years:this.datePicker.yearRange},this.datePicker.setRefreshViewHandler(function(){for(var e,n=new Array(this.yearRange),r=t.getStartingYear(this.activeDate.getFullYear()),i=0;i<this.yearRange;i++)e=new Date(r+i,0,1),e=this.fixTimeZone(e),n[i]=this.createDateObject(e,this.formatYear),n[i].uid=this.uniqueId+"-"+i;t.title=[n[0].label,n[this.yearRange-1].label].join(" - "),t.rows=this.split(n,5)},"year"),this.datePicker.setCompareHandler(function(t,e){return t.getFullYear()-e.getFullYear()},"year"),this.datePicker.refreshView()},t.prototype.getStartingYear=function(t){return(t-1)/this.datePicker.yearRange*this.datePicker.yearRange+1},t.decorators=[{type:r.Component,args:[{selector:"yearpicker",template:'\n<table *ngIf="datePicker.datepickerMode===\'year\'" role="grid">\n  <thead>\n    <tr>\n      <th>\n        <button type="button" class="btn btn-default btn-sm pull-left"\n                (click)="datePicker.move(-1)" tabindex="-1">\n          <i class="glyphicon glyphicon-chevron-left"></i>\n        </button>\n      </th>\n      <th colspan="3">\n        <button [id]="datePicker.uniqueId + \'-title\'" role="heading"\n                type="button" class="btn btn-default btn-sm"\n                (click)="datePicker.toggleMode()"\n                [disabled]="datePicker.datepickerMode === datePicker.maxMode"\n                [ngClass]="{disabled: datePicker.datepickerMode === datePicker.maxMode}" tabindex="-1" style="width:100%;">\n          <strong>{{title}}</strong>\n        </button>\n      </th>\n      <th>\n        <button type="button" class="btn btn-default btn-sm pull-right"\n                (click)="datePicker.move(1)" tabindex="-1">\n          <i class="glyphicon glyphicon-chevron-right"></i>\n        </button>\n      </th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr *ngFor="let rowz of rows">\n      <td *ngFor="let dtz of rowz" class="text-center" role="gridcell">\n        <button type="button" style="min-width:100%;" class="btn btn-default"\n                [ngClass]="{\'btn-link\': isBS4 && !dtz.selected && !datePicker.isActive(dtz), \'btn-info\': dtz.selected || (isBS4 && !dtz.selected && datePicker.isActive(dtz)), disabled: dtz.disabled, active: !isBS4 && datePicker.isActive(dtz)}"\n                [disabled]="dtz.disabled"\n                (click)="datePicker.select(dtz.date)" tabindex="-1">\n          <span [ngClass]="{\'text-success\': isBS4 && dtz.current, \'text-info\': !isBS4 && dtz.current}">{{dtz.label}}</span>\n        </button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n  '}]}],t.ctorParameters=[{type:o.DatePickerInnerComponent}],t}();e.YearPickerComponent=s},function(t,e,n){"use strict";var r=n(3),i=n(21),o=function(){function t(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}return t.prototype.getDocument=function(){return this.injector.get(i.DOCUMENT)},t.prototype.setRootViewContainerRef=function(t){this.root=t},t.prototype.getRootViewContainerRef=function(){if(this.root)return this.root;var t=this.applicationRef.components;if(!t.length)throw new Error("ApplicationRef instance not found");try{var e=this.applicationRef._rootComponents[0];return this.root=e._hostElement.vcRef,this.root}catch(n){throw new Error("ApplicationRef instance not found")}},t.prototype.appendNextToLocation=function(t,e,n){var i=this.componentFactoryResolver.resolveComponentFactory(t),o=e.parentInjector,s=o;return n&&n.length>0&&(s=r.ReflectiveInjector.fromResolvedProviders(n,o)),e.createComponent(i,e.length,s)},t.prototype.appendNextToRoot=function(t,e,n){var i=this.getRootViewContainerRef(),o=r.ReflectiveInjector.resolve([{provide:e,useValue:n}]);return this.appendNextToLocation(t,i,o)},t.decorators=[{type:r.Injectable}],t.ctorParameters=[{type:r.ApplicationRef},{type:r.ComponentFactoryResolver},{type:r.Injector}],t}();e.ComponentsHelper=o},function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}r(n(171)),r(n(172)),r(n(173));var i=n(175);e.ModalModule=i.ModalModule},function(t,e,n){"use strict";var r=n(3),i=n(172),o=function(){function t(t){this.animate=!0,Object.assign(this,t)}return t}();e.ModalBackdropOptions=o;var s=function(){function t(t,e,n){this._isShown=!1,this.element=e,this.renderer=n,this.isAnimated=t.animate!==!1}return Object.defineProperty(t.prototype,"isAnimated",{get:function(){return this._isAnimated},set:function(t){this._isAnimated=t,this.renderer.setElementClass(this.element.nativeElement,""+i.ClassName.FADE,t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShown",{get:function(){return this._isShown},set:function(t){this._isShown=t,this.renderer.setElementClass(this.element.nativeElement,""+i.ClassName.IN,t)},enumerable:!0,configurable:!0}),t.decorators=[{type:r.Component,args:[{selector:"bs-modal-backdrop",template:"",host:{"class":i.ClassName.BACKDROP}}]}],t.ctorParameters=[{type:o},{type:r.ElementRef},{type:r.Renderer}],t}();e.ModalBackdropComponent=s},function(t,e){"use strict";e.modalConfigDefaults={backdrop:!0,keyboard:!0,focus:!0,show:!0,ignoreBackdropClick:!1},e.ClassName={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",IN:"in"},e.Selector={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed"}},function(t,e,n){"use strict";var r=n(3),i=n(169),o=n(174),s=n(171),a=n(172),u=n(50),c=300,l=150,p=function(){function t(t,e,n){this.element=t,this.renderer=e,this.componentsHelper=n,this.onShow=new r.EventEmitter,this.onShown=new r.EventEmitter,this.onHide=new r.EventEmitter,this.onHidden=new r.EventEmitter,this.isAnimated=!0,this._isShown=!1,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0}return Object.defineProperty(t.prototype,"config",{get:function(){return this._config},set:function(t){this._config=this.getConfig(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShown",{get:function(){return this._isShown},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"document",{get:function(){return this.componentsHelper.getDocument()},enumerable:!0,configurable:!0}),t.prototype.onClick=function(t){this.config.ignoreBackdropClick||"static"===this.config.backdrop||t.target!==this.element.nativeElement||this.hide(t)},t.prototype.onEsc=function(){this.config.keyboard&&this.hide()},t.prototype.ngOnDestroy=function(){this.config=void 0,this._isShown&&(this._isShown=!1,this.hideModal()),this._isShown=void 0,this.isBodyOverflowing=void 0,this.originalBodyPadding=void 0,this.scrollbarWidth=void 0},t.prototype.ngAfterViewInit=function(){this._config=this._config||this.getConfig()},t.prototype.toggle=function(){return this._isShown?this.hide():this.show()},t.prototype.show=function(){var t=this;this.onShow.emit(this),this._isShown||(this._isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.document&&this.document.body&&this.renderer.setElementClass(this.document.body,a.ClassName.OPEN,!0),this.showBackdrop(function(){t.showElement()}))},t.prototype.hide=function(t){var e=this;t&&t.preventDefault(),this.onHide.emit(this),this._isShown&&(this._isShown=!1,this.renderer.setElementClass(this.element.nativeElement,a.ClassName.IN,!1),this.isAnimated?setTimeout(function(){return e.hideModal()},c):this.hideModal())},t.prototype.getConfig=function(t){return Object.assign({},a.modalConfigDefaults,t)},t.prototype.showElement=function(){var t=this;this.element.nativeElement.parentNode&&this.element.nativeElement.parentNode.nodeType===Node.ELEMENT_NODE||this.document&&this.document.body&&this.document.body.appendChild(this.element.nativeElement),this.renderer.setElementAttribute(this.element.nativeElement,"aria-hidden","false"),this.renderer.setElementStyle(this.element.nativeElement,"display","block"),this.renderer.setElementProperty(this.element.nativeElement,"scrollTop",0),this.isAnimated&&o.Utils.reflow(this.element.nativeElement),this.renderer.setElementClass(this.element.nativeElement,a.ClassName.IN,!0),this.onShown.emit(this);var e=function(){t._config.focus&&t.element.nativeElement.focus(),t.onShown.emit(t)};this.isAnimated?setTimeout(e,c):e()},t.prototype.hideModal=function(){var t=this;this.renderer.setElementAttribute(this.element.nativeElement,"aria-hidden","true"),this.renderer.setElementStyle(this.element.nativeElement,"display","none"),this.showBackdrop(function(){t.document&&t.document.body&&t.renderer.setElementClass(t.document.body,a.ClassName.OPEN,!1),t.resetAdjustments(),t.resetScrollbar(),t.onHidden.emit(t)})},t.prototype.showBackdrop=function(t){var e=this;if(this._isShown&&this.config.backdrop){if(this.backdrop=this.componentsHelper.appendNextToRoot(s.ModalBackdropComponent,s.ModalBackdropOptions,new s.ModalBackdropOptions({animate:!1})),this.isAnimated&&(this.backdrop.instance.isAnimated=this.isAnimated,o.Utils.reflow(this.backdrop.instance.element.nativeElement)),this.backdrop.instance.isShown=!0,!t)return;if(!this.isAnimated)return void t();setTimeout(t,l)}else if(!this._isShown&&this.backdrop){this.backdrop.instance.isShown=!1;var n=function(){e.removeBackdrop(),t&&t()};this.backdrop.instance.isAnimated?setTimeout(n,l):n()}else t&&t()},t.prototype.removeBackdrop=function(){this.backdrop&&(this.backdrop.destroy(),this.backdrop=void 0)},t.prototype.resetAdjustments=function(){this.renderer.setElementStyle(this.element.nativeElement,"paddingLeft",""),this.renderer.setElementStyle(this.element.nativeElement,"paddingRight","")},t.prototype.checkScrollbar=function(){this.isBodyOverflowing=this.document.body.clientWidth<u.window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()},t.prototype.setScrollbar=function(){if(this.document){var t=this.document.querySelector(a.Selector.FIXED_CONTENT);if(t){var e=parseInt(o.Utils.getStyles(t).paddingRight||0,10);this.originalBodyPadding=parseInt(this.document.body.style.paddingRight||0,10),this.isBodyOverflowing&&(this.document.body.style.paddingRight=e+this.scrollbarWidth+"px")}}},t.prototype.resetScrollbar=function(){this.document.body.style.paddingRight=this.originalBodyPadding},t.prototype.getScrollbarWidth=function(){var t=this.renderer.createElement(this.document.body,"div",void 0);t.className=a.ClassName.SCROLLBAR_MEASURER;var e=t.offsetWidth-t.clientWidth;return this.document.body.removeChild(t),e},t.decorators=[{type:r.Directive,args:[{selector:"[bsModal]",exportAs:"bs-modal"}]}],t.ctorParameters=[{type:r.ElementRef},{type:r.Renderer},{type:i.ComponentsHelper}],t.propDecorators={config:[{type:r.Input}],onShow:[{type:r.Output}],onShown:[{type:r.Output}],onHide:[{type:r.Output}],onHidden:[{type:r.Output}],onClick:[{type:r.HostListener,args:["click",["$event"]]}],onEsc:[{type:r.HostListener,args:["keydown.esc"]}]},t}();e.ModalDirective=p},function(t,e,n){"use strict";var r=n(50),i=function(){function t(){}return t.reflow=function(t){new Function("bs","return bs")(t.offsetHeight)},t.getStyles=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=r.window),e.getComputedStyle(t)},t}();e.Utils=i},function(t,e,n){"use strict";var r=n(3),i=n(171),o=n(173),s=n(169),a=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{declarations:[i.ModalBackdropComponent,o.ModalDirective],exports:[i.ModalBackdropComponent,o.ModalDirective],entryComponents:[i.ModalBackdropComponent],providers:[s.ComponentsHelper]}]}],t.ctorParameters=[],t}();e.ModalModule=a},function(t,e,n){"use strict";var r=n(177);e.DropdownMenuDirective=r.DropdownMenuDirective;var i=n(180);e.DropdownToggleDirective=i.DropdownToggleDirective;var o=n(178);e.DropdownDirective=o.DropdownDirective;var s=n(179);e.DropdownService=s.DropdownService;var a=n(181);e.DropdownModule=a.DropdownModule},function(t,e,n){"use strict";var r=n(3),i=n(178),o=function(){function t(t,e){this.addClass=!0,this.dropdown=t,this.el=e}return t.prototype.ngOnInit=function(){this.dropdown.dropDownMenu=this},t.decorators=[{type:r.Directive,args:[{selector:"[dropdownMenu]",exportAs:"bs-dropdown-menu"}]}],t.ctorParameters=[{type:i.DropdownDirective,decorators:[{type:r.Host}]},{type:r.ElementRef}],t.propDecorators={addClass:[{type:r.HostBinding,args:["class.dropdown-menu"]}]},t}();e.DropdownMenuDirective=o},function(t,e,n){"use strict";var r=n(3),i=n(179),o=function(){function t(t,e){this.onToggle=new r.EventEmitter(!1),this.isOpenChange=new r.EventEmitter(!1),this.addClass=!0,this.el=t,this._changeDetector=e}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._isOpen},set:function(t){this._isOpen=!!t,this.isOpen?(this.focusToggleElement(),i.dropdownService.open(this)):(i.dropdownService.close(this),this.selectedOption=void 0),this.onToggle.emit(this.isOpen),this.isOpenChange.emit(this.isOpen),this._changeDetector.markForCheck()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.autoClose=this.autoClose||i.NONINPUT,this.isOpen},t.prototype.ngOnDestroy=function(){this.appendToBody&&this.menuEl&&this.menuEl.nativeElement.remove()},Object.defineProperty(t.prototype,"dropDownMenu",{set:function(t){this.menuEl=t.el,this.appendToBody&&window.document.body.appendChild(this.menuEl.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dropDownToggle",{set:function(t){this.toggleEl=t.el},enumerable:!0,configurable:!0}),t.prototype.toggle=function(t){return this.isOpen=arguments.length?!!t:!this.isOpen},t.prototype.focusDropdownEntry=function(t){var e=this.menuEl?this.menuEl.nativeElement:this.el.nativeElement.getElementsByTagName("ul")[0];if(e){var n=e.getElementsByTagName("a");if(n&&n.length){switch(t){case 40:if("number"!=typeof this.selectedOption){this.selectedOption=0;break}if(this.selectedOption===n.length-1)break;this.selectedOption++;break;case 38:if("number"!=typeof this.selectedOption)return;if(0===this.selectedOption)break;this.selectedOption--}n[this.selectedOption].focus()}}},t.prototype.focusToggleElement=function(){this.toggleEl&&this.toggleEl.nativeElement.focus()},t.decorators=[{type:r.Directive,args:[{selector:"[dropdown]",exportAs:"bs-dropdown"}]}],t.ctorParameters=[{type:r.ElementRef},{type:r.ChangeDetectorRef}],t.propDecorators={isOpen:[{type:r.HostBinding,args:["class.open"]},{type:r.Input}],autoClose:[{type:r.Input}],keyboardNav:[{type:r.Input}],appendToBody:[{type:r.Input}],onToggle:[{type:r.Output}],isOpenChange:[{type:r.Output}],addClass:[{type:r.HostBinding,args:["class.dropdown"]}]},t}();e.DropdownDirective=o},function(t,e){(function(t){"use strict";e.ALWAYS="always",e.DISABLED="disabled",e.OUTSIDECLICK="outsideClick",e.NONINPUT="nonInput";var n=(t.KeyboardEvent,t.MouseEvent,function(){function t(){this.closeDropdownBind=this.closeDropdown.bind(this),this.keybindFilterBind=this.keybindFilter.bind(this)}return t.prototype.open=function(t){this.openScope||(window.document.addEventListener("click",this.closeDropdownBind,!0),window.document.addEventListener("keydown",this.keybindFilterBind)),this.openScope&&this.openScope!==t&&(this.openScope.isOpen=!1),this.openScope=t},t.prototype.close=function(t){this.openScope===t&&(this.openScope=void 0,window.document.removeEventListener("click",this.closeDropdownBind,!0),window.document.removeEventListener("keydown",this.keybindFilterBind))},t.prototype.closeDropdown=function(t){this.openScope&&(t&&this.openScope.autoClose===e.DISABLED||t&&this.openScope.toggleEl&&this.openScope.toggleEl.nativeElement.contains(t.target)||t&&this.openScope.autoClose===e.NONINPUT&&this.openScope.menuEl&&/input|textarea/i.test(t.target.tagName)&&this.openScope.menuEl.nativeElement.contains(t.target)||t&&this.openScope.autoClose===e.OUTSIDECLICK&&this.openScope.menuEl&&this.openScope.menuEl.nativeElement.contains(t.target)||(this.openScope.isOpen=!1))},t.prototype.keybindFilter=function(t){return 27===t.which?(this.openScope.focusToggleElement(),void this.closeDropdown(void 0)):void(this.openScope.keyboardNav&&this.openScope.isOpen&&(38===t.which||40===t.which)&&(t.preventDefault(),t.stopPropagation(),this.openScope.focusDropdownEntry(t.which)))},t}());e.DropdownService=n,e.dropdownService=new n}).call(e,function(){return this}())},function(t,e,n){(function(t){"use strict";var r=n(3),i=n(178),o=(t.MouseEvent,function(){function t(t,e){this.isDisabled=!1,this.addToggleClass=!0,this.addClass=!0,this.dropdown=t,this.el=e}return t.prototype.ngOnInit=function(){this.dropdown.dropDownToggle=this},Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.dropdown.isOpen},enumerable:!0,configurable:!0}),t.prototype.toggleDropdown=function(t){return t.stopPropagation(),this.isDisabled||this.dropdown.toggle(),!1},t.decorators=[{type:r.Directive,args:[{selector:"[dropdownToggle]",exportAs:"bs-dropdown-toggle"}]}],t.ctorParameters=[{type:i.DropdownDirective,decorators:[{type:r.Host}]},{type:r.ElementRef}],t.propDecorators={isDisabled:[{type:r.HostBinding,args:["class.disabled"]},{type:r.Input}],addToggleClass:[{type:r.HostBinding,args:["class.dropdown-toggle"]},{type:r.Input}],addClass:[{type:r.HostBinding,args:["attr.aria-haspopup"]}],isOpen:[{type:r.HostBinding,args:["attr.aria-expanded"]}],toggleDropdown:[{type:r.HostListener,args:["click",["$event"]]}]},t}());e.DropdownToggleDirective=o}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=n(3),i=n(177),o=n(180),s=n(178),a=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{declarations:[s.DropdownDirective,i.DropdownMenuDirective,o.DropdownToggleDirective],exports:[s.DropdownDirective,i.DropdownMenuDirective,o.DropdownToggleDirective]}]}],t.ctorParameters=[],t}();e.DropdownModule=a},function(t,e,n){"use strict";var r=n(183);e.PagerComponent=r.PagerComponent;var i=n(184);e.PaginationComponent=i.PaginationComponent;var o=n(185);e.PaginationModule=o.PaginationModule},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(3),o=n(24),s=n(184),a={itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0},u='\n    <ul class="pager">\n      <li [class.disabled]="noPrevious()" [class.previous]="align" [ngClass]="{\'pull-right\': align}">\n        <a href (click)="selectPage(page - 1, $event)">{{getText(\'previous\')}}</a>\n      </li>\n      <li [class.disabled]="noNext()" [class.next]="align" [ngClass]="{\'pull-right\': align}">\n        <a href (click)="selectPage(page + 1, $event)">{{getText(\'next\')}}</a>\n      </li>\n  </ul>\n',c=function(t){function e(e,n,r){t.call(this,e,n,r),this.config=a}return r(e,t),e.decorators=[{type:i.Component,args:[{selector:"pager[ngModel]",template:u,providers:[o.NgModel]}]}],e.ctorParameters=[{type:o.NgModel,decorators:[{type:i.Self}]},{type:i.Renderer},{type:i.ElementRef}],e}(s.PaginationComponent);e.PagerComponent=c},function(t,e,n){(function(t){"use strict";var r=n(3),i=n(24),o=(t.MouseEvent,{maxSize:void 0,itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}),s='\n  <ul class="pagination" [ngClass]="classMap">\n    <li class="pagination-first page-item"\n        *ngIf="boundaryLinks"\n        [class.disabled]="noPrevious()||disabled">\n      <a class="page-link" href (click)="selectPage(1, $event)" [innerHTML]="getText(\'first\')"></a>\n    </li>\n\n    <li class="pagination-prev page-item"\n        *ngIf="directionLinks"\n        [class.disabled]="noPrevious()||disabled">\n      <a class="page-link" href (click)="selectPage(page - 1, $event)" [innerHTML]="getText(\'previous\')"></a>\n      </li>\n\n    <li *ngFor="let pg of pages"\n        [class.active]="pg.active"\n        [class.disabled]="disabled&&!pg.active"\n        class="pagination-page page-item">\n      <a class="page-link" href (click)="selectPage(pg.number, $event)" [innerHTML]="pg.text"></a>\n    </li>\n\n    <li class="pagination-next page-item"\n        *ngIf="directionLinks"\n        [class.disabled]="noNext()||disabled">\n      <a class="page-link" href (click)="selectPage(page + 1, $event)" [innerHTML]="getText(\'next\')"></a></li>\n\n    <li class="pagination-last page-item"\n        *ngIf="boundaryLinks"\n        [class.disabled]="noNext()||disabled">\n      <a class="page-link" href (click)="selectPage(totalPages, $event)" [innerHTML]="getText(\'last\')"></a></li>\n  </ul>\n  ',a=function(){function t(t,e,n){this.numPages=new r.EventEmitter(!1),this.pageChanged=new r.EventEmitter(!1),this.onChange=Function.prototype,this.onTouched=Function.prototype,this.inited=!1,this.cd=t,this.renderer=e,this.elementRef=n,t.valueAccessor=this,this.config=this.config||o}return Object.defineProperty(t.prototype,"itemsPerPage",{get:function(){return this._itemsPerPage},set:function(t){this._itemsPerPage=t,this.totalPages=this.calculateTotalPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalItems",{get:function(){return this._totalItems},set:function(t){this._totalItems=t,this.totalPages=this.calculateTotalPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalPages",{get:function(){return this._totalPages},set:function(t){this._totalPages=t,this.numPages.emit(t),this.inited&&this.selectPage(this.page)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(t){var e=this._page;this._page=t>this.totalPages?this.totalPages:t||1,e!==this._page&&"undefined"!=typeof e&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.classMap=this.elementRef.nativeElement.getAttribute("class")||"",this.maxSize="undefined"!=typeof this.maxSize?this.maxSize:o.maxSize,this.rotate="undefined"!=typeof this.rotate?this.rotate:o.rotate,this.boundaryLinks="undefined"!=typeof this.boundaryLinks?this.boundaryLinks:o.boundaryLinks,this.directionLinks="undefined"!=typeof this.directionLinks?this.directionLinks:o.directionLinks,this.itemsPerPage="undefined"!=typeof this.itemsPerPage?this.itemsPerPage:o.itemsPerPage,this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.page=this.cd.value,this.inited=!0},t.prototype.writeValue=function(t){this.page=t,this.pages=this.getPages(this.page,this.totalPages)},t.prototype.getText=function(t){return this[t+"Text"]||o[t+"Text"]},t.prototype.noPrevious=function(){return 1===this.page},t.prototype.noNext=function(){return this.page===this.totalPages},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.selectPage=function(t,e){if(e&&e.preventDefault(),!this.disabled){if(e&&e.target){var n=e.target;n.blur()}this.writeValue(t),this.cd.viewToModelUpdate(this.page)}},t.prototype.makePage=function(t,e,n){return{number:t,text:e,active:n}},t.prototype.getPages=function(t,e){var n=[],r=1,i=e,o="undefined"!=typeof this.maxSize&&this.maxSize<e;o&&(this.rotate?(r=Math.max(t-Math.floor(this.maxSize/2),1),i=r+this.maxSize-1,i>e&&(i=e,r=i-this.maxSize+1)):(r=(Math.ceil(t/this.maxSize)-1)*this.maxSize+1,i=Math.min(r+this.maxSize-1,e)));for(var s=r;i>=s;s++){var a=this.makePage(s,s.toString(),s===t);n.push(a)}if(o&&!this.rotate){if(r>1){var u=this.makePage(r-1,"...",!1);n.unshift(u)}if(e>i){var c=this.makePage(i+1,"...",!1);n.push(c)}}return n},t.prototype.calculateTotalPages=function(){var t=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(t||0,1)},t.decorators=[{type:r.Component,args:[{selector:"pagination[ngModel]",template:s,providers:[i.NgModel]}]}],t.ctorParameters=[{type:i.NgModel,decorators:[{type:r.Self}]},{type:r.Renderer},{type:r.ElementRef}],t.propDecorators={align:[{type:r.Input}],maxSize:[{type:r.Input}],boundaryLinks:[{type:r.Input}],directionLinks:[{type:r.Input}],firstText:[{type:r.Input}],previousText:[{type:r.Input}],nextText:[{type:r.Input}],lastText:[{type:r.Input}],rotate:[{type:r.Input}],disabled:[{type:r.Input}],numPages:[{type:r.Output}],pageChanged:[{type:r.Output}],itemsPerPage:[{type:r.Input}],totalItems:[{type:r.Input}]},t}();e.PaginationComponent=a}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(24),s=n(183),a=n(184),u=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.FormsModule],declarations:[s.PagerComponent,a.PaginationComponent],exports:[o.FormsModule,s.PagerComponent,a.PaginationComponent]}]}],t.ctorParameters=[],t}();e.PaginationModule=u},function(t,e,n){"use strict";var r=n(187);e.BarComponent=r.BarComponent;var i=n(188);e.ProgressDirective=i.ProgressDirective;var o=n(189);e.ProgressbarComponent=o.ProgressbarComponent;var s=n(190);e.ProgressbarModule=s.ProgressbarModule},function(t,e,n){"use strict";var r=n(3),i=n(188),o=function(){function t(t){
this.percent=0,this.progress=t}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){(t||0===t)&&(this._value=t,this.recalculatePercentage())},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.progress.addBar(this)},t.prototype.ngOnDestroy=function(){this.progress.removeBar(this)},t.prototype.recalculatePercentage=function(){this.percent=+(100*this.value/this.progress.max).toFixed(2);var t=this.progress.bars.reduce(function(t,e){return t+e.percent},0);t>100&&(this.percent-=t-100)},t.decorators=[{type:r.Component,args:[{selector:"bar",template:'\n  <div class="progress-bar"\n    style="min-width: 0;"\n    role="progressbar"\n    [ngClass]="type && \'progress-bar-\' + type"\n    [ngStyle]="{width: (percent < 100 ? percent : 100) + \'%\', transition: transition}"\n    aria-valuemin="0"\n    [attr.aria-valuenow]="value"\n    [attr.aria-valuetext]="percent.toFixed(0) + \'%\'"\n    [attr.aria-valuemax]="max"><ng-content></ng-content></div>\n'}]}],t.ctorParameters=[{type:i.ProgressDirective,decorators:[{type:r.Host}]}],t.propDecorators={type:[{type:r.Input}],value:[{type:r.Input}]},t}();e.BarComponent=o},function(t,e,n){"use strict";var r=n(3),i={animate:!0,max:100},o=function(){function t(){this.addClass=!0,this.bars=[]}return Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(t){this._max=t,this.bars.forEach(function(t){t.recalculatePercentage()})},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.animate=this.animate!==!1,this.max="number"==typeof this.max?this.max:i.max},t.prototype.addBar=function(t){this.animate||(t.transition="none"),this.bars.push(t)},t.prototype.removeBar=function(t){this.bars.splice(this.bars.indexOf(t),1)},t.decorators=[{type:r.Directive,args:[{selector:"bs-progress, [progress]"}]}],t.ctorParameters=[],t.propDecorators={animate:[{type:r.Input}],max:[{type:r.HostBinding,args:["attr.max"]},{type:r.Input}],addClass:[{type:r.HostBinding,args:["class.progress"]}]},t}();e.ProgressDirective=o},function(t,e,n){"use strict";var r=n(3),i=function(){function t(){}return t.decorators=[{type:r.Component,args:[{selector:"progressbar",template:'\n    <div progress [animate]="animate" [max]="max">\n      <bar [type]="type" [value]="value">\n          <ng-content></ng-content>\n      </bar>\n    </div>\n  '}]}],t.ctorParameters=[],t.propDecorators={animate:[{type:r.Input}],max:[{type:r.Input}],type:[{type:r.Input}],value:[{type:r.Input}]},t}();e.ProgressbarComponent=i},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(187),s=n(188),a=n(189),u=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[s.ProgressDirective,o.BarComponent,a.ProgressbarComponent],exports:[s.ProgressDirective,o.BarComponent,a.ProgressbarComponent]}]}],t.ctorParameters=[],t}();e.ProgressbarModule=u},function(t,e,n){"use strict";var r=n(192);e.RatingComponent=r.RatingComponent;var i=n(193);e.RatingModule=i.RatingModule},function(t,e,n){(function(t){"use strict";var r=n(3),i=n(24),o=(t.KeyboardEvent,function(){function t(t){this.onHover=new r.EventEmitter(!1),this.onLeave=new r.EventEmitter(!1),this.onChange=Function.prototype,this.onTouched=Function.prototype,this.cd=t,t.valueAccessor=this}return t.prototype.onKeydown=function(t){if(-1!==[37,38,39,40].indexOf(t.which)){t.preventDefault(),t.stopPropagation();var e=38===t.which||39===t.which?1:-1;this.rate(this.value+e)}},t.prototype.ngOnInit=function(){this.max="undefined"!=typeof this.max?this.max:5,this.readonly=this.readonly===!0,this.stateOn="undefined"!=typeof this.stateOn?this.stateOn:"glyphicon-star",this.stateOff="undefined"!=typeof this.stateOff?this.stateOff:"glyphicon-star-empty",this.titles="undefined"!=typeof this.titles&&this.titles.length>0?this.titles:["one","two","three","four","five"],this.range=this.buildTemplateObjects(this.ratingStates,this.max)},t.prototype.writeValue=function(t){return t%1!==t?(this.value=Math.round(t),void(this.preValue=t)):(this.preValue=t,void(this.value=t))},t.prototype.enter=function(t){this.readonly||(this.value=t,this.onHover.emit(t))},t.prototype.reset=function(){this.value=this.preValue,this.onLeave.emit(this.value)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.buildTemplateObjects=function(t,e){t=t||[];for(var n=t.length||e,r=[],i=0;n>i;i++)r.push(Object.assign({index:i,stateOn:this.stateOn,stateOff:this.stateOff,title:this.titles[i]||i+1},t[i]||{}));return r},t.prototype.rate=function(t){!this.readonly&&t>=0&&t<=this.range.length&&(this.writeValue(t),this.cd.viewToModelUpdate(t))},t.decorators=[{type:r.Component,args:[{selector:"rating[ngModel]",template:'\n    <span (mouseleave)="reset()" (keydown)="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" [attr.aria-valuemax]="range.length" [attr.aria-valuenow]="value">\n      <template ngFor let-r [ngForOf]="range" let-index="index">\n        <span class="sr-only">({{ index < value ? \'*\' : \' \' }})</span>\n        <i (mouseenter)="enter(index + 1)" (click)="rate(index + 1)" class="glyphicon" [ngClass]="index < value ? r.stateOn : r.stateOff" [title]="r.title" ></i>\n      </template>\n    </span>\n  ',providers:[i.NgModel]}]}],t.ctorParameters=[{type:i.NgModel,decorators:[{type:r.Self}]}],t.propDecorators={max:[{type:r.Input}],stateOn:[{type:r.Input}],stateOff:[{type:r.Input}],readonly:[{type:r.Input}],titles:[{type:r.Input}],ratingStates:[{type:r.Input}],onHover:[{type:r.Output}],onLeave:[{type:r.Output}],onKeydown:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}());e.RatingComponent=o}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(24),s=n(192),a=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.FormsModule],declarations:[s.RatingComponent],exports:[o.FormsModule,s.RatingComponent]}]}],t.ctorParameters=[],t}();e.RatingModule=a},function(t,e,n){"use strict";var r=n(195);e.TabHeadingDirective=r.TabHeadingDirective;var i=n(197);e.TabsetComponent=i.TabsetComponent;var o=n(196);e.TabDirective=o.TabDirective;var s=n(198);e.TabsModule=s.TabsModule},function(t,e,n){"use strict";var r=n(3),i=n(196),o=function(){function t(t,e){e.headingRef=t}return t.decorators=[{type:r.Directive,args:[{selector:"[tabHeading]"}]}],t.ctorParameters=[{type:r.TemplateRef},{type:i.TabDirective}],t}();e.TabHeadingDirective=o},function(t,e,n){"use strict";var r=n(3),i=n(197),o=function(){function t(t){this.select=new r.EventEmitter(!1),this.deselect=new r.EventEmitter(!1),this.removed=new r.EventEmitter(!1),this.addClass=!0,this.tabset=t,this.tabset.addTab(this)}return Object.defineProperty(t.prototype,"active",{get:function(){return this._active},set:function(t){var e=this;return this.disabled&&t||!t?(t||(this._active=t),void this.deselect.emit(this)):(this._active=t,this.select.emit(this),void this.tabset.tabs.forEach(function(t){t!==e&&(t.active=!1)}))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.removable=!!this.removable},t.prototype.ngOnDestroy=function(){this.tabset.removeTab(this)},t.decorators=[{type:r.Directive,args:[{selector:"tab, [tab]"}]}],t.ctorParameters=[{type:i.TabsetComponent}],t.propDecorators={heading:[{type:r.Input}],disabled:[{type:r.Input}],removable:[{type:r.Input}],customClass:[{type:r.Input}],active:[{type:r.HostBinding,args:["class.active"]},{type:r.Input}],select:[{type:r.Output}],deselect:[{type:r.Output}],removed:[{type:r.Output}],addClass:[{type:r.HostBinding,args:["class.tab-pane"]}]},t}();e.TabDirective=o},function(t,e,n){"use strict";var r=n(3),i=function(){function t(){this.clazz=!0,this.tabs=[],this.classMap={}}return Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=t,this.setClassMap()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"justified",{get:function(){return this._justified},set:function(t){this._justified=t,this.setClassMap()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t,this.setClassMap()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.type="undefined"!==this.type?this.type:"tabs"},t.prototype.ngOnDestroy=function(){this.isDestroyed=!0},t.prototype.addTab=function(t){this.tabs.push(t),t.active=1===this.tabs.length&&t.active!==!1},t.prototype.removeTab=function(t){var e=this.tabs.indexOf(t);if(-1!==e&&!this.isDestroyed){if(t.active&&this.hasAvailableTabs(e)){var n=this.getClosestTabIndex(e);this.tabs[n].active=!0}t.removed.emit(t),this.tabs.splice(e,1)}},t.prototype.getClosestTabIndex=function(t){var e=this.tabs.length;if(!e)return-1;for(var n=1;e>=n;n+=1){var r=t-n,i=t+n;if(this.tabs[r]&&!this.tabs[r].disabled)return r;if(this.tabs[i]&&!this.tabs[i].disabled)return i}return-1},t.prototype.hasAvailableTabs=function(t){var e=this.tabs.length;if(!e)return!1;for(var n=0;e>n;n+=1)if(!this.tabs[n].disabled&&n!==t)return!0;return!1},t.prototype.setClassMap=function(){this.classMap=(t={"nav-stacked":this.vertical,"nav-justified":this.justified},t["nav-"+(this.type||"tabs")]=!0,t);var t},t.decorators=[{type:r.Component,args:[{selector:"tabset",template:'\n    <ul class="nav" [ngClass]="classMap" (click)="$event.preventDefault()">\n        <li *ngFor="let tabz of tabs" class="nav-item {{tabz.customClass}}"\n          [class.active]="tabz.active" [class.disabled]="tabz.disabled">\n          <a href="javascript:void(0);" class="nav-link"\n            [class.active]="tabz.active" [class.disabled]="tabz.disabled"\n            (click)="tabz.active = true">\n            <span [ngTransclude]="tabz.headingRef">{{tabz.heading}}</span>\n            <span *ngIf="tabz.removable">\n              <span (click)="$event.preventDefault(); removeTab(tabz);" class="glyphicon glyphicon-remove-circle"></span>\n            </span>\n          </a>\n        </li>\n    </ul>\n    <div class="tab-content">\n      <ng-content></ng-content>\n    </div>\n  '}]}],t.ctorParameters=[],t.propDecorators={vertical:[{type:r.Input}],justified:[{type:r.Input}],type:[{type:r.Input}],clazz:[{type:r.HostBinding,args:["class.tab-container"]}]},t}();e.TabsetComponent=i},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(199),s=n(195),a=n(196),u=n(197),c=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[o.NgTranscludeDirective,a.TabDirective,u.TabsetComponent,s.TabHeadingDirective],exports:[a.TabDirective,u.TabsetComponent,s.TabHeadingDirective]}]}],t.ctorParameters=[],t}();e.TabsModule=c},function(t,e,n){"use strict";var r=n(3),i=function(){function t(t){this._viewRef=t,this.viewRef=t}return Object.defineProperty(t.prototype,"ngTransclude",{get:function(){return this._ngTransclude},set:function(t){this._ngTransclude=t,t&&this.viewRef.createEmbeddedView(t)},enumerable:!0,configurable:!0}),t.decorators=[{type:r.Directive,args:[{selector:"[ngTransclude]"}]}],t.ctorParameters=[{type:r.ViewContainerRef}],t.propDecorators={ngTransclude:[{type:r.Input}]},t}();e.NgTranscludeDirective=i},function(t,e,n){"use strict";var r=n(201);e.TimepickerComponent=r.TimepickerComponent;var i=n(202);e.TimepickerModule=i.TimepickerModule},function(t,e,n){"use strict";function r(t){return"undefined"!=typeof t}function i(t,e,n){return e(t)?t:n}function o(t,e){var n=new Date(t.getTime()+6e4*e),r=new Date(t);return r.setHours(n.getHours(),n.getMinutes()),r}var s=n(3),a=n(24);e.timepickerConfig={hourStep:1,minuteStep:1,showMeridian:!0,meridians:void 0,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,min:void 0,max:void 0};var u=function(){function t(t){this.meridians=["AM","PM"],this.onChange=Function.prototype,this.onTouched=Function.prototype,this._selected=new Date,this.cd=t,t.valueAccessor=this}return Object.defineProperty(t.prototype,"showMeridian",{get:function(){return this._showMeridian},set:function(t){this._showMeridian=t,this.updateTemplate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){t&&(this._selected=t,this.updateTemplate(),this.cd.viewToModelUpdate(this.selected))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.meridians=i(this.meridians,r,e.timepickerConfig.meridians)||["AM","PM"],this.mousewheel=i(this.mousewheel,r,e.timepickerConfig.mousewheel),this.mousewheel,this.arrowkeys=i(this.arrowkeys,r,e.timepickerConfig.arrowkeys),this.arrowkeys,this.readonlyInput=i(this.readonlyInput,r,e.timepickerConfig.readonlyInput),this.hourStep=i(this.hourStep,r,e.timepickerConfig.hourStep),this.minuteStep=i(this.minuteStep,r,e.timepickerConfig.minuteStep),this.min=i(this.min,r,e.timepickerConfig.min),this.max=i(this.max,r,e.timepickerConfig.max),this.showMeridian=i(this.showMeridian,r,e.timepickerConfig.showMeridian),this.showSpinners=i(this.showSpinners,r,e.timepickerConfig.showSpinners)},t.prototype.writeValue=function(t){return t!==this.selected?t&&t instanceof Date?void(this.selected=t):void(this.selected=t?new Date(t):void 0):void 0},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.readonlyInput=t},t.prototype.updateHours=function(){if(!this.readonlyInput){var t=this.getHoursFromTemplate(),e=this.getMinutesFromTemplate();this.invalidHours=!r(t),this.invalidMinutes=!r(e),this.invalidHours||this.invalidMinutes||(this.selected.setHours(t),this.invalidHours=this.selected<this.min||this.selected>this.max,this.invalidHours||this.refresh())}},t.prototype.hoursOnBlur=function(t){this.readonlyInput||!this.invalidHours&&parseInt(this.hours,10)<10&&(this.hours=this.pad(this.hours))},t.prototype.updateMinutes=function(){if(!this.readonlyInput){var t=this.getMinutesFromTemplate(),e=this.getHoursFromTemplate();this.invalidMinutes=!r(t),this.invalidHours=!r(e),this.invalidMinutes||this.invalidHours||(this.selected.setMinutes(t),this.invalidMinutes=this.selected<this.min||this.selected>this.max,this.invalidMinutes||this.refresh())}},t.prototype.minutesOnBlur=function(t){this.readonlyInput||!this.invalidMinutes&&parseInt(this.minutes,10)<10&&(this.minutes=this.pad(this.minutes))},t.prototype.incrementHours=function(){this.noIncrementHours()||this.addMinutesToSelected(60*this.hourStep)},t.prototype.decrementHours=function(){this.noDecrementHours()||this.addMinutesToSelected(60*-this.hourStep)},t.prototype.incrementMinutes=function(){this.noIncrementMinutes()||this.addMinutesToSelected(this.minuteStep)},t.prototype.decrementMinutes=function(){this.noDecrementMinutes()||this.addMinutesToSelected(-this.minuteStep)},t.prototype.noIncrementHours=function(){var t=o(this.selected,60*this.hourStep);return t>this.max||t<this.selected&&t<this.min},t.prototype.noDecrementHours=function(){var t=o(this.selected,60*-this.hourStep);return t<this.min||t>this.selected&&t>this.max},t.prototype.noIncrementMinutes=function(){var t=o(this.selected,this.minuteStep);return t>this.max||t<this.selected&&t<this.min},t.prototype.noDecrementMinutes=function(){var t=o(this.selected,-this.minuteStep);return t<this.min||t>this.selected&&t>this.max},t.prototype.toggleMeridian=function(){if(!this.noToggleMeridian()){var t=this.selected.getHours()<12?1:-1;this.addMinutesToSelected(720*t)}},t.prototype.refresh=function(){this.updateTemplate(),this.cd.viewToModelUpdate(this.selected)},t.prototype.updateTemplate=function(){var t=this.selected.getHours(),e=this.selected.getMinutes();this.showMeridian&&(t=0===t||12===t?12:t%12),this.hours=this.pad(t),this.minutes=this.pad(e),this.meridian=this.selected.getHours()<12?this.meridians[0]:this.meridians[1]},t.prototype.getHoursFromTemplate=function(){var t=parseInt(this.hours,10),e=this.showMeridian?t>0&&13>t:t>=0&&24>t;return e?(this.showMeridian&&(12===t&&(t=0),this.meridian===this.meridians[1]&&(t+=12)),t):void 0},t.prototype.getMinutesFromTemplate=function(){var t=parseInt(this.minutes,10);return t>=0&&60>t?t:void 0},t.prototype.pad=function(t){return r(t)&&t.toString().length<2?"0"+t:t.toString()},t.prototype.addMinutesToSelected=function(t){this.selected=o(this.selected,t),this.refresh()},t.prototype.noToggleMeridian=function(){return this.readonlyInput?!0:this.selected.getHours()<13?o(this.selected,720)>this.max:o(this.selected,-720)<this.min},t.decorators=[{type:s.Component,args:[{selector:"timepicker[ngModel]",template:'\n    <table>\n      <tbody>\n        <tr class="text-center" [ngClass]="{hidden: !showSpinners || readonlyInput}">\n          <td><a (click)="incrementHours()" [ngClass]="{disabled: noIncrementHours()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n          <td>&nbsp;</td>\n          <td><a (click)="incrementMinutes()" [ngClass]="{disabled: noIncrementMinutes()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n          <td [ngClass]="{hidden: !showMeridian}" *ngIf="showMeridian"></td>\n        </tr>\n        <tr>\n          <td class="form-group" [ngClass]="{\'has-error\': invalidHours}">\n            <input style="width:50px;" type="text" [(ngModel)]="hours" (change)="updateHours()" class="form-control text-center" [readonly]="readonlyInput" (blur)="hoursOnBlur($event)" maxlength="2">\n          </td>\n          <td>:</td>\n          <td class="form-group" [ngClass]="{\'has-error\': invalidMinutes}">\n            <input style="width:50px;" type="text" [(ngModel)]="minutes" (change)="updateMinutes()" class="form-control text-center" [readonly]="readonlyInput" (blur)="minutesOnBlur($event)" maxlength="2">\n          </td>\n          <td [ngClass]="{hidden: !showMeridian}" *ngIf="showMeridian"><button type="button" [ngClass]="{disabled: noToggleMeridian() || readonlyInput}" class="btn btn-default text-center" (click)="toggleMeridian()">{{meridian}}</button></td>\n        </tr>\n        <tr class="text-center" [ngClass]="{hidden: !showSpinners || readonlyInput}">\n          <td><a (click)="decrementHours()" [ngClass]="{disabled: noDecrementHours()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n          <td>&nbsp;</td>\n          <td><a (click)="decrementMinutes()" [ngClass]="{disabled: noDecrementMinutes()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n          <td [ngClass]="{hidden: !showMeridian}" *ngIf="showMeridian"></td>\n        </tr>\n      </tbody>\n    </table>\n  ',providers:[a.NgModel]}]}],t.ctorParameters=[{type:a.NgModel,decorators:[{type:s.Self}]}],t.propDecorators={hourStep:[{type:s.Input}],minuteStep:[{type:s.Input}],readonlyInput:[{type:s.Input}],mousewheel:[{type:s.Input}],arrowkeys:[{type:s.Input}],showSpinners:[{type:s.Input}],min:[{type:s.Input}],max:[{type:s.Input}],meridians:[{type:s.Input}],showMeridian:[{type:s.Input}]},t}();e.TimepickerComponent=u},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(24),s=n(201),a=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.FormsModule],declarations:[s.TimepickerComponent],exports:[o.FormsModule,s.TimepickerComponent]}]}],t.ctorParameters=[],t}();e.TimepickerModule=a},function(t,e,n){"use strict";var r=n(204);e.TooltipContainerComponent=r.TooltipContainerComponent;var i=n(207);e.TooltipDirective=i.TooltipDirective;var o=n(208);e.TooltipModule=o.TooltipModule},function(t,e,n){"use strict";var r=n(3),i=n(205),o=n(206),s=function(){function t(t,e,n){this.top="-1000px",this.left="-1000px",this.display="block",this.element=t,this.cdr=e,Object.assign(this,n),this.classMap={"in":!1,fade:!1},this.classMap[n.placement]=!0,this.classMap["tooltip-"+n.placement]=!0}return t.prototype.ngAfterViewInit=function(){var t=i.positionService.positionElements(this.hostEl.nativeElement,this.element.nativeElement.children[0],this.placement,this.appendToBody);this.top=t.top+"px",this.left=t.left+"px",this.classMap["in"]=!0,this.animation&&(this.classMap.fade=!0),this.popupClass&&(this.classMap[this.popupClass]=!0),this.cdr.detectChanges()},Object.defineProperty(t.prototype,"isTemplate",{get:function(){return this.htmlContent instanceof r.TemplateRef},enumerable:!0,configurable:!0}),t.decorators=[{type:r.Component,args:[{selector:"tooltip-container",template:'<div class="tooltip" role="tooltip"\n     [ngStyle]="{top: top, left: left, display: display}"\n     [ngClass]="classMap">\n      <div class="tooltip-arrow"></div>\n      <div class="tooltip-inner"\n           *ngIf="htmlContent && !isTemplate" \n           innerHtml="{{htmlContent}}">\n      </div>\n      <div class="tooltip-inner"\n           *ngIf="htmlContent && isTemplate">\n        <template [ngTemplateOutlet]="htmlContent"\n                  [ngOutletContext]="{model: context}">\n        </template>\n      </div>\n      <div class="tooltip-inner"\n           *ngIf="content">\n        {{content}}\n      </div>\n    </div>'}]}],t.ctorParameters=[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:o.TooltipOptions,decorators:[{type:r.Inject,args:[o.TooltipOptions]}]}],t}();e.TooltipContainerComponent=s},function(t,e){"use strict";var n=function(){function t(){}return t.prototype.position=function(t){var e=this.offset(t),n={top:0,left:0},r=this.parentOffsetEl(t);r!==this.document&&(n=this.offset(r),n.top+=r.clientTop-r.scrollTop,n.left+=r.clientLeft-r.scrollLeft);var i=t.getBoundingClientRect();return{width:i.width||t.offsetWidth,height:i.height||t.offsetHeight,top:e.top-n.top,left:e.left-n.left}},t.prototype.offset=function(t){var e=t.getBoundingClientRect();return{width:e.width||t.offsetWidth,height:e.height||t.offsetHeight,top:e.top+(this.window.pageYOffset||this.document.documentElement.scrollTop),left:e.left+(this.window.pageXOffset||this.document.documentElement.scrollLeft)}},t.prototype.positionElements=function(t,e,n,r){var i,o=n.split("-"),s=o[0],a=o[1]||"center",u=r?this.offset(t):this.position(t),c=e.offsetWidth,l=e.offsetHeight,p={center:function(){return u.left+u.width/2-c/2},left:function(){return u.left},right:function(){return u.left+u.width}},h={center:function(){return u.top+u.height/2-l/2},top:function(){return u.top},bottom:function(){return u.top+u.height}};switch(s){case"right":i={top:h[a](),left:p[s]()};break;case"left":i={top:h[a](),left:u.left-c};break;case"bottom":i={top:h[s](),left:p[a]()};break;default:i={top:u.top-l,left:p[a]()}}return i},Object.defineProperty(t.prototype,"window",{get:function(){return window},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"document",{get:function(){return window.document},enumerable:!0,configurable:!0}),t.prototype.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:this.window.getComputedStyle?this.window.getComputedStyle(t)[e]:t.style[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.parentOffsetEl=function(t){for(var e=t.offsetParent||this.document;e&&e!==this.document&&this.isStaticPositioned(e);)e=e.offsetParent;return e||this.document},t}();e.PositionService=n,e.positionService=new n},function(t,e,n){"use strict";var r=n(3),i=function(){function t(t){Object.assign(this,t)}return t.decorators=[{type:r.Injectable}],t.ctorParameters=[{type:Object}],t}();e.TooltipOptions=i},function(t,e,n){"use strict";var r=n(3),i=n(204),o=n(206),s=n(169),a=function(){function t(t,e){this.placement="top",this.enable=!0,this.animation=!0,this.tooltipStateChanged=new r.EventEmitter,this.visible=!1,this.viewContainerRef=t,this.componentsHelper=e}return t.prototype.show=function(){if(!this.visible&&this.enable){this.visible=!0;var t=new o.TooltipOptions({content:this.content,htmlContent:this.htmlContent,placement:this.placement,animation:this.animation,hostEl:this.viewContainerRef.element,popupClass:this.popupClass,context:this.tooltipContext}),e=r.ReflectiveInjector.resolve([{provide:o.TooltipOptions,useValue:t}]);this.tooltip=this.componentsHelper.appendNextToLocation(i.TooltipContainerComponent,this.viewContainerRef,e),this.triggerStateChanged()}},t.prototype.hide=function(){this.visible&&(this.visible=!1,this.tooltip.destroy(),this.triggerStateChanged())},t.prototype.triggerStateChanged=function(){this.tooltipStateChanged.emit(this.visible)},t.decorators=[{type:r.Directive,args:[{selector:"[tooltip], [tooltipHtml]",exportAs:"bs-tooltip"}]}],t.ctorParameters=[{type:r.ViewContainerRef},{type:s.ComponentsHelper}],t.propDecorators={content:[{type:r.Input,args:["tooltip"]}],htmlContent:[{type:r.Input,args:["tooltipHtml"]}],placement:[{type:r.Input,args:["tooltipPlacement"]}],isOpen:[{type:r.Input,args:["tooltipIsOpen"]}],enable:[{type:r.Input,args:["tooltipEnable"]}],animation:[{type:r.Input,args:["tooltipAnimation"]}],appendToBody:[{type:r.Input,args:["tooltipAppendToBody"]}],popupClass:[{type:r.Input,args:["tooltipClass"]}],tooltipContext:[{type:r.Input,args:["tooltipContext"]}],tooltipStateChanged:[{type:r.Output}],show:[{type:r.HostListener,args:["focusin"]},{type:r.HostListener,args:["mouseenter"]}],hide:[{type:r.HostListener,args:["focusout"]},{type:r.HostListener,args:["mouseleave"]}]},t}();e.TooltipDirective=a},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(204),s=n(207),a=n(169),u=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule],declarations:[s.TooltipDirective,o.TooltipContainerComponent],exports:[s.TooltipDirective,o.TooltipContainerComponent],providers:[a.ComponentsHelper],entryComponents:[o.TooltipContainerComponent]}]}],t.ctorParameters=[],t}();e.TooltipModule=u},function(t,e,n){"use strict";var r=n(210);e.TypeaheadMatch=r.TypeaheadMatch;var i=n(211);e.TypeaheadOptions=i.TypeaheadOptions;var o=n(212);e.TypeaheadUtils=o.TypeaheadUtils;var s=n(214);e.TypeaheadContainerComponent=s.TypeaheadContainerComponent;var a=n(215);e.TypeaheadDirective=a.TypeaheadDirective;var u=n(247);e.TypeaheadModule=u.TypeaheadModule},function(t,e){"use strict";var n=function(){function t(t,e,n){void 0===e&&(e=t),void 0===n&&(n=!1),this.item=t,this.value=e,this.header=n}return t.prototype.isHeader=function(){return this.header},t.prototype.toString=function(){return this.value},t}();e.TypeaheadMatch=n},function(t,e){"use strict";var n=function(){function t(t){Object.assign(this,t)}return t}();e.TypeaheadOptions=n},function(t,e,n){"use strict";var r=n(213),i=function(){function t(){}return t.latinize=function(e){return e?e.replace(/[^A-Za-z0-9\[\] ]/g,function(e){return t.latinMap[e]||e}):""},t.escapeRegexp=function(t){return t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")},t.tokenize=function(t,e,n){void 0===e&&(e=" "),void 0===n&&(n="");for(var r,i="(?:["+n+"])([^"+n+"]+)(?:["+n+"])|([^"+e+"]+)",o=t.split(new RegExp(i,"g")),s=[],a=o.length,u=new RegExp("["+n+"]+","g"),c=0;a>c;c+=1)r=o[c],r&&r.length&&r!==e&&s.push(r.replace(u,""));return s},t.getValueFromObject=function(t,e){if(!e||"object"!=typeof t)return t.toString();if(e.endsWith("()")){var n=e.slice(0,e.length-2);return t[n]().toString()}for(var r=e.replace(/\[(\w+)\]/g,".$1").replace(/^\./,""),i=r.split("."),o=0,s=i;o<s.length;o++){var a=s[o];a in t&&(t=t[a])}return t.toString()},t.latinMap=r.latinMap,t}();e.TypeaheadUtils=i},function(t,e){"use strict";e.latinMap={"Á":"A","Ă":"A","Ắ":"A","Ặ":"A","Ằ":"A","Ẳ":"A","Ẵ":"A","Ǎ":"A","Â":"A","Ấ":"A","Ậ":"A","Ầ":"A","Ẩ":"A","Ẫ":"A","Ä":"A","Ǟ":"A","Ȧ":"A","Ǡ":"A","Ạ":"A","Ȁ":"A","À":"A","Ả":"A","Ȃ":"A","Ā":"A","Ą":"A","Å":"A","Ǻ":"A","Ḁ":"A","Ⱥ":"A","Ã":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ḃ":"B","Ḅ":"B","Ɓ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ć":"C","Č":"C","Ç":"C","Ḉ":"C","Ĉ":"C","Ċ":"C","Ƈ":"C","Ȼ":"C","Ď":"D","Ḑ":"D","Ḓ":"D","Ḋ":"D","Ḍ":"D","Ɗ":"D","Ḏ":"D","ǲ":"D","ǅ":"D","Đ":"D","Ƌ":"D","Ǳ":"DZ","Ǆ":"DZ","É":"E","Ĕ":"E","Ě":"E","Ȩ":"E","Ḝ":"E","Ê":"E","Ế":"E","Ệ":"E","Ề":"E","Ể":"E","Ễ":"E","Ḙ":"E","Ë":"E","Ė":"E","Ẹ":"E","Ȅ":"E","È":"E","Ẻ":"E","Ȇ":"E","Ē":"E","Ḗ":"E","Ḕ":"E","Ę":"E","Ɇ":"E","Ẽ":"E","Ḛ":"E","Ꝫ":"ET","Ḟ":"F","Ƒ":"F","Ǵ":"G","Ğ":"G","Ǧ":"G","Ģ":"G","Ĝ":"G","Ġ":"G","Ɠ":"G","Ḡ":"G","Ǥ":"G","Ḫ":"H","Ȟ":"H","Ḩ":"H","Ĥ":"H","Ⱨ":"H","Ḧ":"H","Ḣ":"H","Ḥ":"H","Ħ":"H","Í":"I","Ĭ":"I","Ǐ":"I","Î":"I","Ï":"I","Ḯ":"I","İ":"I","Ị":"I","Ȉ":"I","Ì":"I","Ỉ":"I","Ȋ":"I","Ī":"I","Į":"I","Ɨ":"I","Ĩ":"I","Ḭ":"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS","Ĵ":"J","Ɉ":"J","Ḱ":"K","Ǩ":"K","Ķ":"K","Ⱪ":"K","Ꝃ":"K","Ḳ":"K","Ƙ":"K","Ḵ":"K","Ꝁ":"K","Ꝅ":"K","Ĺ":"L","Ƚ":"L","Ľ":"L","Ļ":"L","Ḽ":"L","Ḷ":"L","Ḹ":"L","Ⱡ":"L","Ꝉ":"L","Ḻ":"L","Ŀ":"L","Ɫ":"L","ǈ":"L","Ł":"L","Ǉ":"LJ","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ń":"N","Ň":"N","Ņ":"N","Ṋ":"N","Ṅ":"N","Ṇ":"N","Ǹ":"N","Ɲ":"N","Ṉ":"N","Ƞ":"N","ǋ":"N","Ñ":"N","Ǌ":"NJ","Ó":"O","Ŏ":"O","Ǒ":"O","Ô":"O","Ố":"O","Ộ":"O","Ồ":"O","Ổ":"O","Ỗ":"O","Ö":"O","Ȫ":"O","Ȯ":"O","Ȱ":"O","Ọ":"O","Ő":"O","Ȍ":"O","Ò":"O","Ỏ":"O","Ơ":"O","Ớ":"O","Ợ":"O","Ờ":"O","Ở":"O","Ỡ":"O","Ȏ":"O","Ꝋ":"O","Ꝍ":"O","Ō":"O","Ṓ":"O","Ṑ":"O","Ɵ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Õ":"O","Ṍ":"O","Ṏ":"O","Ȭ":"O","Ƣ":"OI","Ꝏ":"OO","Ɛ":"E","Ɔ":"O","Ȣ":"OU","Ṕ":"P","Ṗ":"P","Ꝓ":"P","Ƥ":"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q","Ŕ":"R","Ř":"R","Ŗ":"R","Ṙ":"R","Ṛ":"R","Ṝ":"R","Ȑ":"R","Ȓ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C","Ǝ":"E","Ś":"S","Ṥ":"S","Š":"S","Ṧ":"S","Ş":"S","Ŝ":"S","Ș":"S","Ṡ":"S","Ṣ":"S","Ṩ":"S","Ť":"T","Ţ":"T","Ṱ":"T","Ț":"T","Ⱦ":"T","Ṫ":"T","Ṭ":"T","Ƭ":"T","Ṯ":"T","Ʈ":"T","Ŧ":"T","Ɐ":"A","Ꞁ":"L","Ɯ":"M","Ʌ":"V","Ꜩ":"TZ","Ú":"U","Ŭ":"U","Ǔ":"U","Û":"U","Ṷ":"U","Ü":"U","Ǘ":"U","Ǚ":"U","Ǜ":"U","Ǖ":"U","Ṳ":"U","Ụ":"U","Ű":"U","Ȕ":"U","Ù":"U","Ủ":"U","Ư":"U","Ứ":"U","Ự":"U","Ừ":"U","Ử":"U","Ữ":"U","Ȗ":"U","Ū":"U","Ṻ":"U","Ų":"U","Ů":"U","Ũ":"U","Ṹ":"U","Ṵ":"U","Ꝟ":"V","Ṿ":"V","Ʋ":"V","Ṽ":"V","Ꝡ":"VY","Ẃ":"W","Ŵ":"W","Ẅ":"W","Ẇ":"W","Ẉ":"W","Ẁ":"W","Ⱳ":"W","Ẍ":"X","Ẋ":"X","Ý":"Y","Ŷ":"Y","Ÿ":"Y","Ẏ":"Y","Ỵ":"Y","Ỳ":"Y","Ƴ":"Y","Ỷ":"Y","Ỿ":"Y","Ȳ":"Y","Ɏ":"Y","Ỹ":"Y","Ź":"Z","Ž":"Z","Ẑ":"Z","Ⱬ":"Z","Ż":"Z","Ẓ":"Z","Ȥ":"Z","Ẕ":"Z","Ƶ":"Z","Ĳ":"IJ","Œ":"OE","ᴀ":"A","ᴁ":"AE","ʙ":"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F","ɢ":"G","ʛ":"G","ʜ":"H","ɪ":"I","ʁ":"R","ᴊ":"J","ᴋ":"K","ʟ":"L","ᴌ":"L","ᴍ":"M","ɴ":"N","ᴏ":"O","ɶ":"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P","ʀ":"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W","ʏ":"Y","ᴢ":"Z","á":"a","ă":"a","ắ":"a","ặ":"a","ằ":"a","ẳ":"a","ẵ":"a","ǎ":"a","â":"a","ấ":"a","ậ":"a","ầ":"a","ẩ":"a","ẫ":"a","ä":"a","ǟ":"a","ȧ":"a","ǡ":"a","ạ":"a","ȁ":"a","à":"a","ả":"a","ȃ":"a","ā":"a","ą":"a","ᶏ":"a","ẚ":"a","å":"a","ǻ":"a","ḁ":"a","ⱥ":"a","ã":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ḃ":"b","ḅ":"b","ɓ":"b","ḇ":"b","ᵬ":"b","ᶀ":"b","ƀ":"b","ƃ":"b","ɵ":"o","ć":"c","č":"c","ç":"c","ḉ":"c","ĉ":"c","ɕ":"c","ċ":"c","ƈ":"c","ȼ":"c","ď":"d","ḑ":"d","ḓ":"d","ȡ":"d","ḋ":"d","ḍ":"d","ɗ":"d","ᶑ":"d","ḏ":"d","ᵭ":"d","ᶁ":"d","đ":"d","ɖ":"d","ƌ":"d","ı":"i","ȷ":"j","ɟ":"j","ʄ":"j","ǳ":"dz","ǆ":"dz","é":"e","ĕ":"e","ě":"e","ȩ":"e","ḝ":"e","ê":"e","ế":"e","ệ":"e","ề":"e","ể":"e","ễ":"e","ḙ":"e","ë":"e","ė":"e","ẹ":"e","ȅ":"e","è":"e","ẻ":"e","ȇ":"e","ē":"e","ḗ":"e","ḕ":"e","ⱸ":"e","ę":"e","ᶒ":"e","ɇ":"e","ẽ":"e","ḛ":"e","ꝫ":"et","ḟ":"f","ƒ":"f","ᵮ":"f","ᶂ":"f","ǵ":"g","ğ":"g","ǧ":"g","ģ":"g","ĝ":"g","ġ":"g","ɠ":"g","ḡ":"g","ᶃ":"g","ǥ":"g","ḫ":"h","ȟ":"h","ḩ":"h","ĥ":"h","ⱨ":"h","ḧ":"h","ḣ":"h","ḥ":"h","ɦ":"h","ẖ":"h","ħ":"h","ƕ":"hv","í":"i","ĭ":"i","ǐ":"i","î":"i","ï":"i","ḯ":"i","ị":"i","ȉ":"i","ì":"i","ỉ":"i","ȋ":"i","ī":"i","į":"i","ᶖ":"i","ɨ":"i","ĩ":"i","ḭ":"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is","ǰ":"j","ĵ":"j","ʝ":"j","ɉ":"j","ḱ":"k","ǩ":"k","ķ":"k","ⱪ":"k","ꝃ":"k","ḳ":"k","ƙ":"k","ḵ":"k","ᶄ":"k","ꝁ":"k","ꝅ":"k","ĺ":"l","ƚ":"l","ɬ":"l","ľ":"l","ļ":"l","ḽ":"l","ȴ":"l","ḷ":"l","ḹ":"l","ⱡ":"l","ꝉ":"l","ḻ":"l","ŀ":"l","ɫ":"l","ᶅ":"l","ɭ":"l","ł":"l","ǉ":"lj","ſ":"s","ẜ":"s","ẛ":"s","ẝ":"s","ḿ":"m","ṁ":"m",
"ṃ":"m","ɱ":"m","ᵯ":"m","ᶆ":"m","ń":"n","ň":"n","ņ":"n","ṋ":"n","ȵ":"n","ṅ":"n","ṇ":"n","ǹ":"n","ɲ":"n","ṉ":"n","ƞ":"n","ᵰ":"n","ᶇ":"n","ɳ":"n","ñ":"n","ǌ":"nj","ó":"o","ŏ":"o","ǒ":"o","ô":"o","ố":"o","ộ":"o","ồ":"o","ổ":"o","ỗ":"o","ö":"o","ȫ":"o","ȯ":"o","ȱ":"o","ọ":"o","ő":"o","ȍ":"o","ò":"o","ỏ":"o","ơ":"o","ớ":"o","ợ":"o","ờ":"o","ở":"o","ỡ":"o","ȏ":"o","ꝋ":"o","ꝍ":"o","ⱺ":"o","ō":"o","ṓ":"o","ṑ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","õ":"o","ṍ":"o","ṏ":"o","ȭ":"o","ƣ":"oi","ꝏ":"oo","ɛ":"e","ᶓ":"e","ɔ":"o","ᶗ":"o","ȣ":"ou","ṕ":"p","ṗ":"p","ꝓ":"p","ƥ":"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q","ʠ":"q","ɋ":"q","ꝗ":"q","ŕ":"r","ř":"r","ŗ":"r","ṙ":"r","ṛ":"r","ṝ":"r","ȑ":"r","ɾ":"r","ᵳ":"r","ȓ":"r","ṟ":"r","ɼ":"r","ᵲ":"r","ᶉ":"r","ɍ":"r","ɽ":"r","ↄ":"c","ꜿ":"c","ɘ":"e","ɿ":"r","ś":"s","ṥ":"s","š":"s","ṧ":"s","ş":"s","ŝ":"s","ș":"s","ṡ":"s","ṣ":"s","ṩ":"s","ʂ":"s","ᵴ":"s","ᶊ":"s","ȿ":"s","ɡ":"g","ᴑ":"o","ᴓ":"o","ᴝ":"u","ť":"t","ţ":"t","ṱ":"t","ț":"t","ȶ":"t","ẗ":"t","ⱦ":"t","ṫ":"t","ṭ":"t","ƭ":"t","ṯ":"t","ᵵ":"t","ƫ":"t","ʈ":"t","ŧ":"t","ᵺ":"th","ɐ":"a","ᴂ":"ae","ǝ":"e","ᵷ":"g","ɥ":"h","ʮ":"h","ʯ":"h","ᴉ":"i","ʞ":"k","ꞁ":"l","ɯ":"m","ɰ":"m","ᴔ":"oe","ɹ":"r","ɻ":"r","ɺ":"r","ⱹ":"r","ʇ":"t","ʌ":"v","ʍ":"w","ʎ":"y","ꜩ":"tz","ú":"u","ŭ":"u","ǔ":"u","û":"u","ṷ":"u","ü":"u","ǘ":"u","ǚ":"u","ǜ":"u","ǖ":"u","ṳ":"u","ụ":"u","ű":"u","ȕ":"u","ù":"u","ủ":"u","ư":"u","ứ":"u","ự":"u","ừ":"u","ử":"u","ữ":"u","ȗ":"u","ū":"u","ṻ":"u","ų":"u","ᶙ":"u","ů":"u","ũ":"u","ṹ":"u","ṵ":"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v","ṿ":"v","ʋ":"v","ᶌ":"v","ⱱ":"v","ṽ":"v","ꝡ":"vy","ẃ":"w","ŵ":"w","ẅ":"w","ẇ":"w","ẉ":"w","ẁ":"w","ⱳ":"w","ẘ":"w","ẍ":"x","ẋ":"x","ᶍ":"x","ý":"y","ŷ":"y","ÿ":"y","ẏ":"y","ỵ":"y","ỳ":"y","ƴ":"y","ỷ":"y","ỿ":"y","ȳ":"y","ẙ":"y","ɏ":"y","ỹ":"y","ź":"z","ž":"z","ẑ":"z","ʑ":"z","ⱬ":"z","ż":"z","ẓ":"z","ȥ":"z","ẕ":"z","ᵶ":"z","ᶎ":"z","ʐ":"z","ƶ":"z","ɀ":"z","ﬀ":"ff","ﬃ":"ffi","ﬄ":"ffl","ﬁ":"fi","ﬂ":"fl","ĳ":"ij","œ":"oe","ﬆ":"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x"}},function(t,e,n){"use strict";var r=n(3),i=n(49),o=n(205),s=n(211),a=n(212),u='\n  <div class="dropdown-menu"\n       [ngStyle]="{top: top, left: left, display: \'block\'}"\n       (mouseleave)="focusLost()">\n    <template ngFor let-match let-i="index" [ngForOf]="matches">\n       <h6 *ngIf="match.isHeader()" class="dropdown-header">{{match}}</h6>\n       <div *ngIf="!match.isHeader() && !itemTemplate">\n          <a href="#"\n            class="dropdown-item"\n            (click)="selectMatch(match, $event)"\n            (mouseenter)="selectActive(match)"\n            [class.active]="isActive(match)"\n            [innerHtml]="hightlight(match, query)"></a>\n      </div>\n      <div *ngIf="!match.isHeader() && itemTemplate">\n        <a href="#"\n         class="dropdown-item"\n         (click)="selectMatch(match, $event)"\n         (mouseenter)="selectActive(match)"\n         [class.active]="isActive(match)">\n          <template [ngTemplateOutlet]="itemTemplate"\n                    [ngOutletContext]="{item: match.item, index: i}">\n          </template>\n         </a>\n      </div>\n    </template>\n  </div>\n',c='\n  <ul class="dropdown-menu"\n      [ngStyle]="{top: top, left: left, display: \'block\'}"\n      (mouseleave)="focusLost()">\n    <template ngFor let-match let-i="index" [ngForOf]="matches">\n      <li *ngIf="match.isHeader()" class="dropdown-header">{{match}}</li>\n      <li *ngIf="!match.isHeader()"\n        [class.active]="isActive(match)"\n        (mouseenter)="selectActive(match)">\n        <a href="#"\n           *ngIf="!itemTemplate"\n           (click)="selectMatch(match, $event)"\n           tabindex="-1"\n           [innerHtml]="hightlight(match, query)"></a>\n        <a href="#"\n           *ngIf="itemTemplate"\n           (click)="selectMatch(match, $event)"\n           tabindex="-1">\n            <template [ngTemplateOutlet]="itemTemplate"\n                      [ngOutletContext]="{item: match.item, index: i}">\n            </template>\n        </a>\n      </li>\n    </template>\n  </ul>\n',l=i.Ng2BootstrapConfig.theme===i.Ng2BootstrapTheme.BS4,p=function(){function t(t,e){this.isFocused=!1,this._matches=[],this.element=t,Object.assign(this,e)}return Object.defineProperty(t.prototype,"matches",{get:function(){return this._matches},set:function(t){this._matches=t,this._matches.length>0&&(this._active=this._matches[0],this._active.isHeader()&&this.nextActiveMatch())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemTemplate",{get:function(){return this.parent?this.parent.typeaheadItemTemplate:void 0},enumerable:!0,configurable:!0}),t.prototype.position=function(t){this.top="0px",this.left="0px";var e=o.positionService.positionElements(t.nativeElement,this.element.nativeElement.children[0],this.placement,!1);this.top=e.top+"px",this.left=e.left+"px"},t.prototype.selectActiveMatch=function(){this.selectMatch(this._active)},t.prototype.prevActiveMatch=function(){var t=this.matches.indexOf(this._active);this._active=this.matches[0>t-1?this.matches.length-1:t-1],this._active.isHeader()&&this.prevActiveMatch()},t.prototype.nextActiveMatch=function(){var t=this.matches.indexOf(this._active);this._active=this.matches[t+1>this.matches.length-1?0:t+1],this._active.isHeader()&&this.nextActiveMatch()},t.prototype.selectActive=function(t){this.isFocused=!0,this._active=t},t.prototype.hightlight=function(t,e){var n,r,i=t.value,o=(this.parent&&this.parent.typeaheadLatinize?a.TypeaheadUtils.latinize(i):i).toLowerCase();if("object"==typeof e)for(var s=e.length,u=0;s>u;u+=1)n=o.indexOf(e[u]),r=e[u].length,n>=0&&r>0&&(i=i.substring(0,n)+"<strong>"+i.substring(n,n+r)+"</strong>"+i.substring(n+r),o=o.substring(0,n)+"        "+" ".repeat(r)+"         "+o.substring(n+r));else e&&(n=o.indexOf(e),r=e.length,n>=0&&r>0&&(i=i.substring(0,n)+"<strong>"+i.substring(n,n+r)+"</strong>"+i.substring(n+r)));return i},t.prototype.focusLost=function(){this.isFocused=!1},t.prototype.isActive=function(t){return this._active===t},t.prototype.selectMatch=function(t,e){var n=this;return void 0===e&&(e=void 0),e&&(e.stopPropagation(),e.preventDefault()),this.parent.changeModel(t),setTimeout(function(){return n.parent.typeaheadOnSelect.emit(t)},0),!1},t.decorators=[{type:r.Component,args:[{selector:"typeahead-container",template:l?u:c,encapsulation:r.ViewEncapsulation.None}]}],t.ctorParameters=[{type:r.ElementRef},{type:s.TypeaheadOptions}],t}();e.TypeaheadContainerComponent=p},function(t,e,n){(function(t){"use strict";var r=n(3),i=n(24),o=n(214),s=n(211),a=n(212),u=n(5);n(216),n(229),n(236),n(238),n(240),n(245);var c=n(169),l=n(210),p=(t.KeyboardEvent,function(){function t(t,e,n,i,o){this.typeaheadLoading=new r.EventEmitter(!1),this.typeaheadNoResults=new r.EventEmitter(!1),this.typeaheadOnSelect=new r.EventEmitter(!1),this.typeaheadMinLength=void 0,this.typeaheadAsync=void 0,this.typeaheadLatinize=!0,this.typeaheadSingleWords=!0,this.typeaheadWordDelimiters=" ",this.typeaheadPhraseDelimiters="'\"",this.isTypeaheadOptionsListActive=!1,this.keyUpEventEmitter=new r.EventEmitter,this.placement="bottom-left",this.element=n,this.ngControl=t,this.viewContainerRef=e,this.renderer=i,this.componentsHelper=o}return t.prototype.onChange=function(t){if(this.container){if(27===t.keyCode)return void this.hide();if(38===t.keyCode)return void this.container.prevActiveMatch();if(40===t.keyCode)return void this.container.nextActiveMatch();if(13===t.keyCode)return void this.container.selectActiveMatch()}var e=void 0!==t.target.value?t.target.value:t.target.innerText;e.trim().length>=this.typeaheadMinLength?(this.typeaheadLoading.emit(!0),this.keyUpEventEmitter.emit(t.target.value)):(this.typeaheadLoading.emit(!1),this.typeaheadNoResults.emit(!1),this.hide())},t.prototype.onFocus=function(){0===this.typeaheadMinLength&&(this.typeaheadLoading.emit(!0),this.keyUpEventEmitter.emit(""))},t.prototype.onBlur=function(){this.container&&!this.container.isFocused&&this.hide()},t.prototype.onKeydown=function(t){return this.container?13===t.keyCode?void t.preventDefault():9===t.keyCode?void this.hide():void 0:void 0},t.prototype.ngOnInit=function(){this.typeaheadOptionsLimit=this.typeaheadOptionsLimit||20,this.typeaheadMinLength=void 0===this.typeaheadMinLength?1:this.typeaheadMinLength,this.typeaheadWaitMs=this.typeaheadWaitMs||0,void 0!==this.typeaheadAsync||this.typeahead instanceof u.Observable||(this.typeaheadAsync=!1),this.typeahead instanceof u.Observable&&(this.typeaheadAsync=!0),this.typeaheadAsync?this.asyncActions():this.syncActions()},t.prototype.changeModel=function(t){var e=t.value;this.ngControl.viewToModelUpdate(e),this.ngControl.control.setValue(e),this.hide()},Object.defineProperty(t.prototype,"matches",{get:function(){return this._matches},enumerable:!0,configurable:!0}),t.prototype.show=function(){var t=new s.TypeaheadOptions({typeaheadRef:this,placement:this.placement,animation:!1}),e=r.ReflectiveInjector.resolve([{provide:s.TypeaheadOptions,useValue:t}]);this.popup=this.componentsHelper.appendNextToLocation(o.TypeaheadContainerComponent,this.viewContainerRef,e),this.popup.instance.position(this.viewContainerRef.element),this.container=this.popup.instance,this.container.parent=this;var n=(this.typeaheadLatinize?a.TypeaheadUtils.latinize(this.ngControl.control.value):this.ngControl.control.value).toString().toLowerCase();this.container.query=this.typeaheadSingleWords?a.TypeaheadUtils.tokenize(n,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters):n,this.container.matches=this._matches,this.element.nativeElement.focus()},t.prototype.hide=function(){this.container&&(this.popup.destroy(),this.container=void 0)},t.prototype.asyncActions=function(){var t=this;this.keyUpEventEmitter.debounceTime(this.typeaheadWaitMs).mergeMap(function(){return t.typeahead}).subscribe(function(e){t.finalizeAsyncCall(e)},function(t){console.error(t)})},t.prototype.syncActions=function(){var t=this;this.keyUpEventEmitter.debounceTime(this.typeaheadWaitMs).mergeMap(function(e){var n=t.normalizeQuery(e);return u.Observable.from(t.typeahead).filter(function(e){return e&&t.testMatch(t.normalizeOption(e),n)}).toArray()}).subscribe(function(e){t.finalizeAsyncCall(e)},function(t){console.error(t)})},t.prototype.normalizeOption=function(t){var e=a.TypeaheadUtils.getValueFromObject(t,this.typeaheadOptionField),n=this.typeaheadLatinize?a.TypeaheadUtils.latinize(e):e;return n.toLowerCase()},t.prototype.normalizeQuery=function(t){var e=(this.typeaheadLatinize?a.TypeaheadUtils.latinize(t):t).toString().toLowerCase();return e=this.typeaheadSingleWords?a.TypeaheadUtils.tokenize(e,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters):e},t.prototype.testMatch=function(t,e){var n;if("object"==typeof e){n=e.length;for(var r=0;n>r;r+=1)if(e[r].length>0&&t.indexOf(e[r])<0)return!1;return!0}return t.indexOf(e)>=0},t.prototype.finalizeAsyncCall=function(t){if(this.prepareMatches(t),this.typeaheadLoading.emit(!1),this.typeaheadNoResults.emit(!this.hasMatches()),!this.hasMatches())return void this.hide();if(this.container){var e=(this.typeaheadLatinize?a.TypeaheadUtils.latinize(this.ngControl.control.value):this.ngControl.control.value).toString().toLowerCase();this.container.query=this.typeaheadSingleWords?a.TypeaheadUtils.tokenize(e,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters):e,this.container.matches=this._matches}else this.show()},t.prototype.prepareMatches=function(t){var e=this,n=t.slice(0,this.typeaheadOptionsLimit);if(this.typeaheadGroupField){var r=[],i=n.map(function(t){return a.TypeaheadUtils.getValueFromObject(t,e.typeaheadGroupField)}).filter(function(t,e,n){return n.indexOf(t)===e});i.forEach(function(t){r.push(new l.TypeaheadMatch(t,t,!0)),r=r.concat(n.filter(function(n){return a.TypeaheadUtils.getValueFromObject(n,e.typeaheadGroupField)===t}).map(function(t){return new l.TypeaheadMatch(t,a.TypeaheadUtils.getValueFromObject(t,e.typeaheadOptionField))}))}),this._matches=r}else this._matches=n.map(function(t){return new l.TypeaheadMatch(t,a.TypeaheadUtils.getValueFromObject(t,e.typeaheadOptionField))})},t.prototype.hasMatches=function(){return this._matches.length>0},t.decorators=[{type:r.Directive,args:[{selector:"[typeahead][ngModel],[typeahead][formControlName]"}]}],t.ctorParameters=[{type:i.NgControl},{type:r.ViewContainerRef},{type:r.ElementRef},{type:r.Renderer},{type:c.ComponentsHelper}],t.propDecorators={typeaheadLoading:[{type:r.Output}],typeaheadNoResults:[{type:r.Output}],typeaheadOnSelect:[{type:r.Output}],typeahead:[{type:r.Input}],typeaheadMinLength:[{type:r.Input}],typeaheadWaitMs:[{type:r.Input}],typeaheadOptionsLimit:[{type:r.Input}],typeaheadOptionField:[{type:r.Input}],typeaheadGroupField:[{type:r.Input}],typeaheadAsync:[{type:r.Input}],typeaheadLatinize:[{type:r.Input}],typeaheadSingleWords:[{type:r.Input}],typeaheadWordDelimiters:[{type:r.Input}],typeaheadPhraseDelimiters:[{type:r.Input}],typeaheadItemTemplate:[{type:r.Input}],onChange:[{type:r.HostListener,args:["keyup",["$event"]]}],onFocus:[{type:r.HostListener,args:["focus"]}],onBlur:[{type:r.HostListener,args:["blur"]}],onKeydown:[{type:r.HostListener,args:["keydown",["$event"]]}]},t}());e.TypeaheadDirective=p}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=n(5),i=n(217);r.Observable.from=i.from},function(t,e,n){"use strict";var r=n(218);e.from=r.FromObservable.create},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(11),o=n(219),s=n(27),a=n(220),u=n(222),c=n(226),l=n(221),p=n(5),h=n(227),d=n(18),f=function(t){return t&&"number"==typeof t.length},m=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return r(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[d.$$observable])return t instanceof p.Observable&&!n?t:new e(t,n);if(i.isArray(t))return new u.ArrayObservable(t,n);if(o.isPromise(t))return new s.PromiseObservable(t,n);if("function"==typeof t[l.$$iterator]||"string"==typeof t)return new a.IteratorObservable(t,n);if(f(t))return new c.ArrayLikeObservable(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[d.$$observable]().subscribe(t):e[d.$$observable]().subscribe(new h.ObserveOnSubscriber(t,n,0))},e}(p.Observable);e.FromObservable=m},function(t,e){"use strict";function n(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=n},function(t,e,n){"use strict";function r(t){var e=t[l.$$iterator];if(!e&&"string"==typeof t)return new h(t);if(!e&&void 0!==t.length)return new d(t);if(!e)throw new TypeError("object is not iterable");return t[l.$$iterator]()}function i(t){var e=+t.length;return isNaN(e)?0:0!==e&&o(e)?(e=s(e)*Math.floor(Math.abs(e)),0>=e?0:e>f?f:e):e}function o(t){return"number"==typeof t&&u.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:0>e?-1:1}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n(6),c=n(5),l=n(221),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,i=t.subscriber;if(n)return void i.error(t.error);var o=r.next();return o.done?void i.complete():(i.next(o.value),t.index=e+1,i.closed?void("function"==typeof r["return"]&&r["return"]()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=0,r=this,i=r.iterator,o=r.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,iterator:i,subscriber:t});for(;;){var s=i.next();if(s.done){t.complete();break}if(t.next(s.value),t.closed){"function"==typeof i["return"]&&i["return"]();break}}},e}(c.Observable);e.IteratorObservable=p;var h=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.$$iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),d=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=i(t)),this.arr=t,this.idx=e,this.len=n}return t.prototype[l.$$iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),f=Math.pow(2,53)-1},function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o<i.length;++o){var s=i[o];if("entries"!==s&&"size"!==s&&r.prototype[s]===r.prototype.entries)return s}return"@@iterator"}var i=n(6);e.symbolIteratorPonyfill=r,e.$$iterator=r(i.root)},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(5),o=n(223),s=n(224),a=n(225),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var r=t[t.length-1];a.isScheduler(r)?t.pop():r=null;var i=t.length;return i>1?new e(t,r):1===i?new o.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,i=t.subscriber;return n>=r?void i.complete():(i.next(e[n]),void(i.closed||(t.index=n+1,this.schedule(t))))},e.prototype._subscribe=function(t){var n=0,r=this.array,i=r.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:r,index:n,count:i,subscriber:t});for(var s=0;i>s&&!t.closed;s++)t.next(r[s]);t.complete()},e}(i.Observable);e.ArrayObservable=u},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(5),o=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;return e?void r.complete():(r.next(n),void(r.closed||(t.done=!0,this.schedule(t))))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;return r?r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t}):(t.next(n),void(t.closed||t.complete()))},e}(i.Observable);e.ScalarObservable=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(5),o=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){var e=t.subscriber;e.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;return n?n.schedule(e.dispatch,0,{subscriber:t}):void t.complete()},e}(i.Observable);e.EmptyObservable=o},function(t,e){"use strict";function n(t){return t&&"function"==typeof t.schedule}e.isScheduler=n},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(5),o=n(223),s=n(224),a=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new s.EmptyObservable:1===r?new o.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,i=t.subscriber;if(!i.closed){if(n>=r)return void i.complete();i.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=0,r=this,i=r.arrayLike,o=r.scheduler,s=i.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:i,index:n,length:s,subscriber:t});for(var a=0;s>a&&!t.closed;a++)t.next(i[a]);t.complete()},e}(i.Observable);e.ArrayLikeObservable=a},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),this.lift(new a(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(8),s=n(228);e.observeOn=r;var a=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.scheduler,this.delay))},t}();e.ObserveOnOperator=a;var u=function(t){function e(e,n,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=n,this.delay=r}return i(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n)},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(s.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(s.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(s.Notification.createComplete())},e}(o.Subscriber);e.ObserveOnSubscriber=u;var c=function(){function t(t,e){this.notification=t,this.destination=e}return t}();e.ObserveOnMessage=c},function(t,e,n){"use strict";var r=n(5),i=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){var r=this.kind;switch(r){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(){var t=this.kind;switch(t){case"N":return r.Observable.of(this.value);case"E":return r.Observable["throw"](this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return"undefined"!=typeof e?new t("N",e):this.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return this.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();e.Notification=i},function(t,e,n){"use strict";var r=n(5),i=n(230);r.Observable.prototype.debounceTime=i.debounceTime},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){t.debouncedNext()}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(8),a=n(231);e.debounceTime=r;var u=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(s.Subscriber)},function(t,e,n){"use strict";var r=n(232),i=n(234);e.async=new i.AsyncScheduler(r.AsyncAction)},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(6),o=n(233),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n?e:i.root.clearInterval(e)&&void 0||void 0},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);return n?n:void(this.pending===!1&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null)))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}return n?(this.unsubscribe(),r):void 0},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.delay=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null))},e}(o.Action);e.AsyncAction=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(10),o=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);e.Action=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(235),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do if(n=t.execute(t.state,t.delay))break;while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(i.Scheduler);e.AsyncScheduler=o},function(t,e){"use strict";var n=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=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=n},function(t,e,n){"use strict";var r=n(5),i=n(237);r.Observable.prototype.filter=i.filter},function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(8);e.filter=r;var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0,this.predicate=n}return i(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(o.Subscriber)},function(t,e,n){"use strict";var r=n(5),i=n(239);r.Observable.prototype.map=i.map},function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new s(t,e))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(8);e.map=r;var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.project,this.thisArg))},t}();e.MapOperator=s;var a=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return i(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(o.Subscriber)},function(t,e,n){"use strict";var r=n(5),i=n(241);r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(242),s=n(244);e.mergeMap=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=a;var u=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(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(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){this.add(o.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._notifyResultSelector(t,e,n,r):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(o){return void this.destination.error(o)}this.destination.next(i)},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}(s.OuterSubscriber);e.MergeMapSubscriber=u},function(t,e,n){"use strict";function r(t,e,n,r){var p=new c.InnerSubscriber(t,n,r);if(p.closed)return null;if(e instanceof a.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):e.subscribe(p);if(o.isArray(e)){for(var h=0,d=e.length;d>h&&!p.closed;h++)p.next(e[h]);p.closed||p.complete()}else{if(s.isPromise(e))return e.then(function(t){p.closed||(p.next(t),p.complete())},function(t){return p.error(t)}).then(null,function(t){i.root.setTimeout(function(){throw t})}),p;if("function"==typeof e[u.$$iterator])for(var f=e[u.$$iterator]();;){var m=f.next();if(m.done){p.complete();break}if(p.next(m.value),p.closed)break}else if("function"==typeof e[l.$$observable]){var y=e[l.$$observable]();if("function"==typeof y.subscribe)return y.subscribe(new c.InnerSubscriber(t,n,r));p.error(new Error("invalid observable"))}else p.error(new TypeError("unknown type returned"))}return null}var i=n(6),o=n(11),s=n(219),a=n(5),u=n(221),c=n(243),l=n(18);
e.subscribeToResult=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(8),o=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(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}(i.Subscriber);e.InnerSubscriber=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(8),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(i.Subscriber);e.OuterSubscriber=o},function(t,e,n){"use strict";var r=n(5),i=n(246);r.Observable.prototype.toArray=i.toArray},function(t,e,n){"use strict";function r(){return this.lift(new s)}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(8);e.toArray=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.array=[]}return i(e,t),e.prototype._next=function(t){this.array.push(t)},e.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},e}(o.Subscriber)},function(t,e,n){"use strict";var r=n(22),i=n(3),o=n(24),s=n(214),a=n(215),u=n(169),c=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.FormsModule],declarations:[s.TypeaheadContainerComponent,a.TypeaheadDirective],exports:[o.FormsModule,s.TypeaheadContainerComponent,a.TypeaheadDirective],providers:[u.ComponentsHelper],entryComponents:[s.TypeaheadContainerComponent]}]}],t.ctorParameters=[],t}();e.TypeaheadModule=c},function(t,e,n){"use strict";var r=n(3),i=n(37),o=n(42),s=n(46),a=n(51),u=n(38),c=n(165),l=n(181),p=n(175),h=n(185),d=n(190),f=n(193),m=n(198),y=n(202),_=n(208),v=n(247),g=n(169),w=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{exports:[i.AccordionModule,o.AlertModule,s.ButtonsModule,a.CarouselModule,u.CollapseModule,c.DatepickerModule,l.DropdownModule,p.ModalModule,h.PaginationModule,d.ProgressbarModule,f.RatingModule,m.TabsModule,y.TimepickerModule,_.TooltipModule,v.TypeaheadModule],providers:[{provide:g.ComponentsHelper,useClass:g.ComponentsHelper}]}]}],t.ctorParameters=[],t}();e.Ng2BootstrapModule=w},,,,,,,,,,,,,,,,function(t,e,n){(function(t){"use strict";n(250);var r=n(265),i=n(1),o=function(){function e(){this.isLoginLoaded=!1}return e.prototype.login=function(){this.isLoginLoaded||(i.platformBrowserDynamic().bootstrapModule(r.LoginModule),this.isLoginLoaded=!0),console.log("this.$loginModal:",this.$loginModal),setTimeout(function(){t("#login-modal").modal("show")},0)},e}();e.UsersModule=o}).call(e,n(250))},function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=3>o?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(3>o?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},i=this&&this.__metadata||function(t,e){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(t,e):void 0},o=n(3),s=n(21),a=n(24),u=n(28),c=n(266),l=n(267),p=n(33),h=function(){function t(){}return t=r([o.NgModule({imports:[s.BrowserModule,a.FormsModule,u.HttpModule,p.AlertModule],declarations:[l.LoginFormComponent],providers:[c.LoginService],bootstrap:[l.LoginFormComponent]}),i("design:paramtypes",[])],t)}();e.LoginModule=h},function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=3>o?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(3>o?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},i=this&&this.__metadata||function(t,e){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(t,e):void 0},o=n(3),s=n(28);n(30);var a=function(){function t(t){this.http=t,this.headers=new s.Headers({"Content-Type":"application/json"}),this.apiUrl="api/login"}return t.prototype.handleError=function(t){return console.error("An error occurred",t),Promise.reject(t.message||t)},t.prototype.send=function(t){var e={};return e.email=t.email,e.password=t.password,this.http.post(this.apiUrl,e,{headers:this.headers}).toPromise().then(function(t){return t.json()})},t=r([o.Injectable(),i("design:paramtypes",[s.Http])],t)}();e.LoginService=a},function(t,e,n){(function(t){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=3>o?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(3>o?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},i=this&&this.__metadata||function(t,e){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(t,e):void 0};n(250);var o=n(3),s=n(268),a=n(266),u=function(){function e(t){this.loginService=t,this.user=new s.User,this.alertMessage="",this.$loginModal=null}return e.prototype.ngOnInit=function(){var e=this;this.$loginModal=t("#login-modal").modal(),t(document).on("click",".log-in-link",function(t){e.$loginModal.modal("show")})},e.prototype.sendLogin=function(){var t=this;this.loginService.send(this.user).then(function(e){"success"===e.status?(t.$loginModal.modal("hide"),t.alertMessage="",t.user.reset()):t.alertMessage=e.message})},r([o.ViewChild("childModal"),i("design:type",Object)],e.prototype,"childModal",void 0),e=r([o.Component({selector:"login-form",templateUrl:window.GlobalVariables.app.templateSrc+"login/login-form.html"}),i("design:paramtypes",[a.LoginService])],e)}();e.LoginFormComponent=u}).call(e,n(250))},function(t,e){"use strict";var n=function(){function t(){this.errors={email:"",password:""}}return t.prototype.reset=function(){this.email="",this.password=""},t}();e.User=n}]);