text: !function(){"use strict";function t(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function e(t){return t.name||typeof t}function n(t){return void 0!==t&&null!==t}function r(t){return void 0===t||null===t}function i(t){return"function"==typeof t}function o(t){return Array.isArray(t)}function s(t){if("string"==typeof t)return t;if(void 0===t||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 n===-1?e:e.substring(0,n)}function a(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function l(t){return t}function c(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function u(t){console.log(t)}function p(t){console.warn(t)}function h(){if(r(ll))if(n(rl.Symbol)&&n(Symbol.iterator))ll=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e<t.length;++e){var i=t[e];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(ll=i)}return ll}function f(t){return!c(t)}function d(t){return"function"==typeof t&&t.hasOwnProperty("annotation")&&(t=t.annotation),t}function _(t,e){if(t===Object||t===String||t===Function||t===Number||t===Array)throw new Error("Can not use native "+s(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 '"+s(i)+"'");if(r!=i.length)throw new Error("Number of annotations ("+r+") does not match number of arguments ("+i.length+") in the function: "+s(i));for(var o=[],a=0,l=n.length-1;a<l;a++){var c=[];o.push(c);var u=n[a];if(Array.isArray(u))for(var p=0;p<u.length;p++)c.push(d(u[p]));else"function"==typeof u?c.push(d(u)):c.push(u)}return ul.defineMetadata("parameters",o,i),i}throw new Error("Only Function or Array is supported in Class definition for key '"+e+"' is '"+s(t)+"'")}function y(t){var e=_(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: "+s(t.extends));e.prototype=n=Object.create(t.extends.prototype)}for(var r in t)"extends"!==r&&"prototype"!==r&&t.hasOwnProperty(r)&&(n[r]=_(t[r],r));this&&this.annotations instanceof Array&&ul.defineMetadata("annotations",this.annotations,e);var i=e.name;return i&&"constructor"!==i||(e.overriddenName="class"+cl++),e}function g(t,e,n,r){function i(t){if(!ul||!ul.getMetadata)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=ul.getOwnMetadata("annotations",t)||[];return n.push(e),ul.defineMetadata("annotations",n,t),t};return s.annotations=n,s.Class=y,r&&r(s),s}void 0===r&&(r=null);var o=m([e]);return n&&(i.prototype=Object.create(n.prototype)),i.prototype.toString=function(){return"@"+t},i.annotationCls=i,i}function m(t){function e(){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]]=i&&void 0!==i?i:t[1];else for(var o in t)e[o]=i&&void 0!==i[o]?i[o]:t[o]})}return e}function v(t,e,n){function r(){function t(t,e,n){for(var r=ul.getMetadata("parameters",t)||[];r.length<=n;)r.push(null);return r[n]=r[n]||[],r[n].push(o),ul.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=m(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=ul.getOwnMetadata("propMetadata",t.constructor)||{};r[e]=r[e]||[],r[e].unshift(n),ul.defineMetadata("propMetadata",r,t.constructor)};var o}var i=m(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.toString=function(){return"@"+t},r.annotationCls=r,r}function w(t){return r(t)||t===al.Default}function C(t){return t.__forward_ref__=C,t.toString=function(){return s(this())},t}function E(t){return i(t)&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===C?t():t}function x(){throw new Error("unimplemented")}function O(t,e){if(n(t))for(var r=0;r<t.length;r++){var i=t[r];o(i)?O(i,e):e.push(i)}return e}function T(t){return!!c(t)&&(o(t)||!(t instanceof Map)&&h()in t)}function P(t,e,n){for(var r=t[h()](),i=e[h()]();;){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 S(t,e){if(o(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r,i=t[h()]();!(r=i.next()).done;)e(r.value)}function I(t){for(var e=[],n=0;n<t.length;++n){if(Kl.contains(e,t[n]))return e.push(t[n]),e;e.push(t[n])}return e}function A(t){if(t.length>1){var e=I(Kl.reversed(t)),n=e.map(function(t){return s(t.token)});return" ("+n.join(" -> ")+")"}return""}function k(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 R(t,e){Object.keys(e).forEach(function(n){t.set(n,e[n])})}function j(t){var e,r;if(n(t.useClass)){var i=E(t.useClass);e=dc.factory(i),r=F(i)}else n(t.useExisting)?(e=function(t){return t},r=[_c.fromKey(sc.get(t.useExisting))]):n(t.useFactory)?(e=t.useFactory,r=V(t.useFactory,t.deps)):(e=function(){return t.useValue},r=yc);return new mc(e,r)}function D(t){return new gc(sc.get(t.provide),[j(t)],t.multi)}function N(t){var e=L(t,[]),n=e.map(D);return Xl.values(M(n,new Map))}function M(t,e){for(var r=0;r<t.length;r++){var i=t[r],o=e.get(i.key.id);if(n(o)){if(i.multiProvider!==o.multiProvider)throw new oc(o,i);if(i.multiProvider)for(var s=0;s<i.resolvedFactories.length;s++)o.resolvedFactories.push(i.resolvedFactories[s]);else e.set(i.key.id,i)}else{var a;a=i.multiProvider?new gc(i.key,Kl.clone(i.resolvedFactories),i.multiProvider):i,e.set(i.key.id,a)}}return e}function L(t,e){return t.forEach(function(t){if(t instanceof cc)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 nc(t);L(t,e)}}),e}function V(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return B(t,e,n)})}return F(t)}function F(t){var e=dc.parameters(t);if(!e)return[];if(e.some(r))throw new rc(t,e);return e.map(function(n){return B(t,n,e)})}function B(t,e,r){var i=[],s=null,a=!1;if(!o(e))return e instanceof pl?H(e.token,a,null,null,i):H(e,a,null,null,i);for(var l=null,c=null,u=0;u<e.length;++u){var p=e[u];p instanceof cc?s=p:p instanceof pl?s=p.token:p instanceof hl?a=!0:p instanceof dl?c=p:p instanceof yl?c=p:p instanceof _l&&(l=p)}if(s=E(s),n(s))return H(s,a,l,c,i);throw new rc(t,r)}function H(t,e,n,r,i){return new _c(sc.get(t),e,n,r,i)}function z(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 U(t){return!!t&&"function"==typeof t.then}function G(){return""+W()+W()+W()}function W(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function q(){throw new Error("Runtime compiler is not loaded")}function Y(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 X(t,e){return T(t)&&T(e)?P(t,e,X):!(T(t)||f(t)||T(e)||f(e))||a(t,e)}function $(){var t=sl.wtf;return!(!t||!(pu=t.trace))&&(hu=pu.events,!0)}function K(t,e){return void 0===e&&(e=null),hu.createScope(t,e)}function Z(t,e){return pu.leaveScope(t,e),e}function Q(t,e){return null}function J(t){return tt(t,[])}function tt(t,e){for(var r=0;r<t.length;r++){var i=t[r];if(i instanceof xu){var o=i;if(e.push(o.nativeElement),n(o.nestedViews))for(var s=0;s<o.nestedViews.length;s++)tt(o.nestedViews[s].rootNodesOrAppElements,e)}else e.push(i)}return e}function et(t,e){var n;if(t)if(t.length<e){var r=t.length;n=new Array(e);for(var i=0;i<e;i++)n[i]=i<r?t[i]:Au}else n=t;else n=Au;return n}function nt(t,e,n,r,i,o,s,a,l,c,u,p,h,f,d,_,y,g,m,v){switch(t){case 1:return e+rt(n)+r;case 2:return e+rt(n)+r+rt(i)+o;case 3:return e+rt(n)+r+rt(i)+o+rt(s)+a;case 4:return e+rt(n)+r+rt(i)+o+rt(s)+a+rt(l)+c;case 5:return e+rt(n)+r+rt(i)+o+rt(s)+a+rt(l)+c+rt(u)+p;case 6:return e+rt(n)+r+rt(i)+o+rt(s)+a+rt(l)+c+rt(u)+p+rt(h)+f;case 7:return e+rt(n)+r+rt(i)+o+rt(s)+a+rt(l)+c+rt(u)+p+rt(h)+f+rt(d)+_;case 8:return e+rt(n)+r+rt(i)+o+rt(s)+a+rt(l)+c+rt(u)+p+rt(h)+f+rt(d)+_+rt(y)+g;case 9:return e+rt(n)+r+rt(i)+o+rt(s)+a+rt(l)+c+rt(u)+p+rt(h)+f+rt(d)+_+rt(y)+g+rt(m)+v;default:throw new Error("Does not support more than 9 expressions")}}function rt(t){return null!=t?t.toString():""}function it(t,e,n){if(t){if(!X(e,n))throw new Tu(e,n);return!1}return!a(e,n)}function ot(t,e){return t}function st(t){var e,n=Qc;return function(r){return a(n,r)||(n=r,e=t(r)),e}}function at(t){var e,n=Qc,r=Qc;return function(i,o){return a(n,i)&&a(r,o)||(n=i,r=o,e=t(i,o)),e}}function lt(t){var e,n=Qc,r=Qc,i=Qc;return function(o,s,l){return a(n,o)&&a(r,s)&&a(i,l)||(n=o,r=s,i=l,e=t(o,s,l)),e}}function ct(t){var e,n,r,i,o;return n=r=i=o=Qc,function(s,l,c,u){return a(n,s)&&a(r,l)&&a(i,c)&&a(o,u)||(n=s,r=l,i=c,o=u,e=t(s,l,c,u)),e}}function ut(t){var e,n,r,i,o,s;return n=r=i=o=s=Qc,function(l,c,u,p,h){return a(n,l)&&a(r,c)&&a(i,u)&&a(o,p)&&a(s,h)||(n=l,r=c,i=u,o=p,s=h,e=t(l,c,u,p,h)),e}}function pt(t){var e,n,r,i,o,s,l;return n=r=i=o=s=l=Qc,function(c,u,p,h,f,d){return a(n,c)&&a(r,u)&&a(i,p)&&a(o,h)&&a(s,f)&&a(l,d)||(n=c,r=u,i=p,o=h,s=f,l=d,e=t(c,u,p,h,f,d)),e}}function ht(t){var e,n,r,i,o,s,l,c;return n=r=i=o=s=l=c=Qc,function(u,p,h,f,d,_,y){return a(n,u)&&a(r,p)&&a(i,h)&&a(o,f)&&a(s,d)&&a(l,_)&&a(c,y)||(n=u,r=p,i=h,o=f,s=d,l=_,c=y,e=t(u,p,h,f,d,_,y)),e}}function ft(t){var e,n,r,i,o,s,l,c,u;return n=r=i=o=s=l=c=u=Qc,function(p,h,f,d,_,y,g,m){return a(n,p)&&a(r,h)&&a(i,f)&&a(o,d)&&a(s,_)&&a(l,y)&&a(c,g)&&a(u,m)||(n=p,r=h,i=f,o=d,s=_,l=y,c=g,u=m,e=t(p,h,f,d,_,y,g,m)),e}}function dt(t){var e,n,r,i,o,s,l,c,u,p;return n=r=i=o=s=l=c=u=p=Qc,function(h,f,d,_,y,g,m,v,b){return a(n,h)&&a(r,f)&&a(i,d)&&a(o,_)&&a(s,y)&&a(l,g)&&a(c,m)&&a(u,v)&&a(p,b)||(n=h,r=f,i=d,o=_,s=y,l=g,c=m,u=v,p=b,e=t(h,f,d,_,y,g,m,v,b)),e}}function _t(t){var e,n,r,i,o,s,l,c,u,p,h;return n=r=i=o=s=l=c=u=p=h=Qc,function(f,d,_,y,g,m,v,b,w,C){return a(n,f)&&a(r,d)&&a(i,_)&&a(o,y)&&a(s,g)&&a(l,m)&&a(c,v)&&a(u,b)&&a(p,w)&&a(h,C)||(n=f,r=d,i=_,o=y,s=g,l=m,c=v,u=b,p=w,h=C,e=t(f,d,_,y,g,m,v,b,w,C)),e}}function yt(t,e){return e={exports:{}},t(e,e.exports),e.exports}function gt(t){return"function"==typeof t}function mt(t){return null!=t&&"object"==typeof t}function vt(){try{return wu.apply(this,arguments)}catch(t){return tp.errorObject.e=t,tp.errorObject}}function bt(t){return wu=t,vt}function wt(t,e,n){if(t){if(t instanceof kp.Subscriber)return t;if(t[Rp.$$rxSubscriber])return t[Rp.$$rxSubscriber]()}return t||e||n?new kp.Subscriber(t,e,n):new kp.Subscriber}function Ct(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}function Et(t){gh=t}function xt(){if(bh)throw new Error("Cannot enable prod mode after platform setup.");vh=!1}function Ot(){return bh=!0,vh}function Tt(t){if(Cu&&!Cu.destroyed)throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Cu=t.get(wh);var e=t.get(Dc,null);return e&&e.forEach(function(t){return t()}),Cu}function Pt(t,e,n){void 0===n&&(n=[]);var r=new gl("Platform: "+e);return function(e){return void 0===e&&(e=[]),It()||(t?t(n.concat(e).concat({provide:r,useValue:!0})):Tt(Tc.resolveAndCreate(n.concat(e).concat({provide:r,useValue:!0})))),St(r)}}function St(t){var e=It();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 It(){return Cu&&!Cu.destroyed?Cu:null}function At(t,e){try{var n=e();return U(n)?n.catch(function(e){throw t.handleError(e),e}):n}catch(e){throw t.handleError(e),e}}function kt(t,e){var n=Ih.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Ih.set(t,e)}function Rt(t){Dh.push(t)}function jt(){for(var t=0;t<Dh.length;t++){var e=Dh[t];e.play()}Dh=[]}function Dt(t,e,n){t.childNodes.forEach(function(t){t instanceof Hh&&(e(t)&&n.push(t),Dt(t,e,n))})}function Nt(t,e,n){t instanceof Hh&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Hh&&Nt(t,e,n)})}function Mt(t){return zh.get(t)}function Lt(t){zh.set(t.nativeNode,t)}function Vt(t){zh.delete(t.nativeNode)}function Ft(){return dc}function Bt(){return ou}function Ht(){return su}function zt(t,e,r){void 0===r&&(r=null);var i={};return Object.keys(e).forEach(function(t){var n=e[t];i[t]=n==of?r:n.toString()}),Object.keys(t).forEach(function(t){n(i[t])||(i[t]=r)}),i}function Ut(t,e,r){var i=r.length-1,o=r[0],s=Yt(o.styles.styles),a={},l=!1;Object.keys(t).forEach(function(e){var n=t[e];s[e]||(s[e]=n,a[e]=n,l=!0)});var c=$l.merge({},s),u=r[i];Kl.insert(u.styles.styles,0,e);var p=Yt(u.styles.styles),h={},f=!1;return Object.keys(c).forEach(function(t){n(p[t])||(h[t]=of,f=!0)}),f&&u.styles.styles.push(h),Object.keys(p).forEach(function(t){n(s[t])||(a[t]=of,l=!0)}),l&&o.styles.styles.push(a),r}function Gt(t){var e={};return Object.keys(t).forEach(function(t){e[t]=null}),e}function Wt(t,e){return e.map(function(e){var r={};return Object.keys(e).forEach(function(i){var o=e[i];o==Yh&&(o=t[i],n(o)||(o=of)),t[i]=o,r[i]=o}),r})}function qt(t,e,n){Object.keys(n).forEach(function(r){e.setElementStyle(t,r,n[r])})}function Yt(t){var e={};return t.forEach(function(t){Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function Xt(t){var e;if(t instanceof xu){var r=t;if(e=r.nativeElement,n(r.nestedViews))for(var i=r.nestedViews.length-1;i>=0;i--){var o=r.nestedViews[i];o.rootNodesOrAppElements.length>0&&(e=Xt(o.rootNodesOrAppElements[o.rootNodesOrAppElements.length-1]))}}else e=t;return e}function $t(t){return t.name||typeof t}function Kt(t){return void 0!==t&&null!==t}function Zt(t){return void 0===t||null===t}function Qt(t){return"object"==typeof t&&null!==t}function Jt(t){return Array.isArray(t)}function te(t){return t instanceof Date&&!isNaN(t.valueOf())}function ee(t){if("string"==typeof t)return t;if(void 0===t||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 n===-1?e:e.substring(0,n)}function ne(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function re(){if(Zt(kf))if(Kt(Eu.Symbol)&&Kt(Symbol.iterator))kf=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&&(kf=n)}return kf}function ie(t,e){return t.length>0&&e.startsWith(t)?e.substring(t.length):e}function oe(t){return/\/index.html$/g.test(t)?t.substring(0,t.length-11):t}function se(t,e,n){var r="="+t;return e.indexOf(r)>-1?r:n.getPluralCategory(t)}function ae(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,l=t.split("-")[0].toLowerCase();switch(l){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?Sf.One:Sf.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&&n<=1?Sf.One:Sf.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?Sf.One:Sf.Other;case"ar":return 0===n?Sf.Zero:1===n?Sf.One:2===n?Sf.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Sf.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Sf.Many:Sf.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?Sf.One:Sf.Other;case"be":return n%10===1&&n%100!==11?Sf.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Sf.Few:n%10===0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Sf.Many:Sf.Other;case"br":return n%10===1&&n%100!==11&&n%100!==71&&n%100!==91?Sf.One:n%10===2&&n%100!==12&&n%100!==72&&n%100!==92?Sf.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10===9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Sf.Few:0!==n&&n%1e6===0?Sf.Many:Sf.Other;case"bs":case"hr":case"sr":return 0===o&&i%10===1&&i%100!==11||s%10===1&&s%100!==11?Sf.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?Sf.Few:Sf.Other;case"cs":case"sk":return 1===i&&0===o?Sf.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?Sf.Few:0!==o?Sf.Many:Sf.Other;case"cy":return 0===n?Sf.Zero:1===n?Sf.One:2===n?Sf.Two:3===n?Sf.Few:6===n?Sf.Many:Sf.Other;case"da":return 1===n||0!==a&&(0===i||1===i)?Sf.One:Sf.Other;case"dsb":case"hsb":return 0===o&&i%100===1||s%100===1?Sf.One:0===o&&i%100===2||s%100===2?Sf.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||s%100===Math.floor(s%100)&&s%100>=3&&s%100<=4?Sf.Few:Sf.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?Sf.One:Sf.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?Sf.One:Sf.Other;case"ga":return 1===n?Sf.One:2===n?Sf.Two:n===Math.floor(n)&&n>=3&&n<=6?Sf.Few:n===Math.floor(n)&&n>=7&&n<=10?Sf.Many:Sf.Other;case"gd":return 1===n||11===n?Sf.One:2===n||12===n?Sf.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Sf.Few:Sf.Other;case"gv":return 0===o&&i%10===1?Sf.One:0===o&&i%10===2?Sf.Two:0!==o||i%100!==0&&i%100!==20&&i%100!==40&&i%100!==60&&i%100!==80?0!==o?Sf.Many:Sf.Other:Sf.Few;case"he":return 1===i&&0===o?Sf.One:2===i&&0===o?Sf.Two:0!==o||n>=0&&n<=10||n%10!==0?Sf.Other:Sf.Many;case"is":return 0===a&&i%10===1&&i%100!==11||0!==a?Sf.One:Sf.Other;case"ksh":return 0===n?Sf.Zero:1===n?Sf.One:Sf.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Sf.One:2===n?Sf.Two:Sf.Other;case"lag":return 0===n?Sf.Zero:0!==i&&1!==i||0===n?Sf.Other:Sf.One;case"lt":return n%10!==1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Sf.Few:0!==s?Sf.Many:Sf.Other:Sf.One;case"lv":case"prg":return n%10===0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=19?Sf.Zero:n%10===1&&n%100!==11||2===o&&s%10===1&&s%100!==11||2!==o&&s%10===1?Sf.One:Sf.Other;case"mk":return 0===o&&i%10===1||s%10===1?Sf.One:Sf.Other;case"mt":return 1===n?Sf.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Sf.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Sf.Many:Sf.Other;case"pl":return 1===i&&0===o?Sf.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Sf.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?Sf.Many:Sf.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Sf.One:Sf.Other;case"ro":return 1===i&&0===o?Sf.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Sf.Few:Sf.Other;case"ru":case"uk":return 0===o&&i%10===1&&i%100!==11?Sf.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Sf.Few:0===o&&i%10===0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?Sf.Many:Sf.Other;case"shi":return 0===i||1===n?Sf.One:n===Math.floor(n)&&n>=2&&n<=10?Sf.Few:Sf.Other;case"si":return 0===n||1===n||0===i&&1===s?Sf.One:Sf.Other;case"sl":return 0===o&&i%100===1?Sf.One:0===o&&i%100===2?Sf.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?Sf.Few:Sf.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Sf.One:Sf.Other;default:return Sf.Other}}function le(t,e){if(Kt(t))for(var n=0;n<t.length;n++){var r=t[n];Jt(r)?le(r,e):e.push(r)}return e}function ce(t){return!!ne(t)&&(Jt(t)||!(t instanceof Map)&&re()in t)}function ue(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function pe(t){return function(e,n){var r=t(e,n);return r.split(" ")[1]}}function he(t){return function(e,n){var r=t(e,n);return r.split(" ")[0]}}function fe(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function de(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=fe(t,n,e);return r?r.substring(3):""}}function _e(t,e){return t.hour12=e,t}function ye(t,e){var n={};return n[t]=2==e?"2-digit":"numeric",n}function ge(t,e){var n={};return n[t]=e<4?"short":"long",n}function me(t){var e={};return t.forEach(function(t){Object.assign(e,t)}),e}function ve(t){return function(e,n){return fe(e,n,t)}}function be(t,e,n){var r,i,o="",s=[];if(yd[t])return yd[t](e,n);if(md.has(t))s=md.get(t);else{for(_d.exec(t);t;)r=_d.exec(t),r?(s=we(s,r,1),t=s.pop()):(s.push(t),t=null);md.set(t,s)}return s.forEach(function(t){i=gd[t],o+=i?i(e,n):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),o}function we(t,e,n){return t.concat(vd.call(e,n))}function Ce(t,e,n,r,i,o,s){if(void 0===o&&(o=null),void 0===s&&(s=!1),Zt(n))return null;if(n="string"==typeof n&&If.isNumeric(n)?+n:n,"number"!=typeof n)throw new ad(t,n);var a,l,c;if(r!==Bf.Currency&&(a=1,l=0,c=3),i){var u=i.match(Pd);if(null===u)throw new Error(i+" is not a valid digit info for number pipes");Kt(u[1])&&(a=If.parseIntAutoRadix(u[1])),Kt(u[3])&&(l=If.parseIntAutoRadix(u[3])),Kt(u[5])&&(c=If.parseIntAutoRadix(u[5]))}return dd.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:l,maximumFractionDigits:c,currency:o,currencyAsSymbol:s})}function Ee(t){return void 0!==t&&null!==t}function xe(t){return void 0===t||null===t}function Oe(t){return"number"==typeof t}function Te(t){return"string"==typeof t}function Pe(t){return Array.isArray(t)}function Se(t){if("string"==typeof t)return t;if(void 0===t||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 n===-1?e:e.substring(0,n)}function Ie(t,e,n){for(var r=e.split("."),i=t;r.length>1;){var o=r.shift();i=i.hasOwnProperty(o)&&Ee(i[o])?i[o]:i[o]={}}void 0!==i&&null!==i||(i={}),i[r.shift()]=n}function Ae(t){return t.replace(Gd,function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return"-"+t[1].toLowerCase()})}function ke(t){return t.replace(Wd,function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return t[1].toUpperCase()})}function Re(){return qd}function je(t){qd||(qd=t)}function De(t,e){return Re().getComputedStyle(t)[e]}function Ne(t,e,n){var r={};return e.styles.forEach(function(t){Object.keys(t).forEach(function(e){var n=t[e],i=ke(e);r[i]=n==of?n:n.toString()+Me(n,e,i)})}),Object.keys(n).forEach(function(t){Ee(r[t])||(r[t]=n[t])}),r}function Me(t,e,n){var r="";if(Ve(n)&&0!=t&&"0"!=t)if(Oe(t))r="px";else if(0==Le(t.toString()).length)throw new Error("Please provide a CSS unit value for "+e+":"+t);return r}function Le(t){for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(!(n>=Kd&&n<=Zd||n==Qd))return t.substring(e,t.length)}return""}function Ve(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 Fe(){return a_||(a_=document.querySelector("base"))?a_.getAttribute("href"):null}function Be(t){return Bd||(Bd=document.createElement("a")),Bd.setAttribute("href",t),"/"===Bd.pathname.charAt(0)?Bd.pathname:"/"+Bd.pathname}function He(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var i=r[n],o=i.indexOf("="),s=o==-1?[i,""]:[i.slice(0,o),i.slice(o+1)],a=s[0],l=s[1];if(a.trim()===e)return decodeURIComponent(l)}return null}function ze(){return!!window.history.pushState}function Ue(t,e){if(Ee(t))for(var n=0;n<t.length;n++){var r=t[n];Pe(r)?Ue(r,e):e.push(r)}return e}function Ge(t,e){var n=Re().parentElement(t);if(e.length>0&&Ee(n)){var r=Re().nextSibling(t);if(Ee(r))for(var i=0;i<e.length;i++)Re().insertBefore(r,e[i]);else for(var i=0;i<e.length;i++)Re().appendChild(n,e[i])}}function We(t,e){for(var n=0;n<e.length;n++)Re().appendChild(t,e[n])}function qe(t){return function(e){var n=t(e);n===!1&&Re().preventDefault(e)}}function Ye(t){return k_.replace(S_,t)}function Xe(t){return A_.replace(S_,t)}function $e(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Pe(i)?$e(t,i,n):(i=i.replace(S_,t),n.push(i))}return n}function Ke(t){if(":"!=t[0])return[null,t];var e=t.match(R_);return[e[1],e[2]]}function Ze(t){return Mt(t)}function Qe(t,e){return Ot()?Je(t,e):t}function Je(t,e){return Re().setGlobalVar(D_,Ze),Re().setGlobalVar(N_,u_.merge(j_,tn(e||[]))),new Nd(t)}function tn(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function en(t){return t=String(t),t.match(Z_)||t.match(Q_)?t:(Ot()&&Re().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function nn(t){return t=String(t),t.split(",").map(function(t){return en(t.trim())}).join(", ")}function rn(){if(J_)return J_;ty=Re();var t=ty.createElement("template");if("content"in t)return t;var e=ty.createHtmlDocument();if(J_=ty.querySelector(e,"body"),null==J_){var n=ty.createElement("html",e);J_=ty.createElement("body",e),ty.appendChild(n,J_),ty.appendChild(e,n)}return J_}function on(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){var i=r[n];e[i]=!0}return e}function sn(){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 an(t){return t.replace(/&/g,"&amp;").replace(fy,function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+(1024*(e-55296)+(n-56320)+65536)+";"}).replace(dy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ln(t){ty.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||ty.removeAttribute(t,n)});for(var e=0,n=ty.childNodesAsList(t);e<n.length;e++){var r=n[e];ty.isElementNode(r)&&ln(r)}}function cn(t){try{var e=rn(),n=t?String(t):"",r=5,i=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=i,ty.setInnerHTML(e,n),ty.defaultDoc().documentMode&&ln(e),i=ty.getInnerHTML(e)}while(n!==i);for(var o=new hy,s=o.sanitizeChildren(ty.getTemplateContent(e)||e),a=ty.getTemplateContent(e)||e,l=0,c=ty.childNodesAsList(a);l<c.length;l++){var u=c[l];ty.removeChild(a,u)}return Ot()&&o.sanitizedSomething&&ty.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}catch(t){throw J_=null,t}}function un(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 pn(t){if(t=String(t).trim(),!t)return"";var e=t.match(by);return e&&en(e[1])===e[1]||t.match(vy)&&un(t)?t:(Ot()&&Re().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}function hn(){s_.makeCurrent(),h_.init()}function fn(){return new Ic}function dn(){return Re().defaultDoc()}function _n(){return Re().supportsWebAnimation()?new $d:Vd.NOOP}function yn(t){return void 0!==t&&null!==t}function gn(t){return void 0===t||null===t}function mn(t){return"string"==typeof t}function vn(t){return"object"==typeof t&&null!==t}function bn(t){return Array.isArray(t)}function wn(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Cn(t){return!gn(t)&&t}function En(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function xn(t){return!En(t)}function On(t,e){return t.constructor===e}function Tn(t,e){if(yn(t))for(var n=0;n<t.length;n++){var r=t[n];bn(r)?Tn(r,e):e.push(r)}return e}function Pn(t){var e=this;if(t||(Xy.root.Rx&&Xy.root.Rx.config&&Xy.root.Rx.config.Promise?t=Xy.root.Rx.config.Promise:Xy.root.Promise&&(t=Xy.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)})})}function Sn(t){return null==t||"string"==typeof t&&0===t.length}function In(t){return Ky(t)?t:$y.call(t)}function An(t,e){return e.map(function(e){return e(t)})}function kn(t,e){return e.map(function(e){return e(t)})}function Rn(t){var e=t.reduce(function(t,e){return yn(e)?qy.merge(t,e):t},{});return 0===Object.keys(e).length?null:e}function jn(t){return void 0!==t.validate?function(e){return t.validate(e)}:t}function Dn(t){return void 0!==t.validate?function(e){return t.validate(e)}:t}function Nn(){throw new Error("unimplemented")}function Mn(t,e){return gn(t)?""+e:(xn(e)||(e="Object"),(t+": "+e).slice(0,50))}function Ln(t){return t.split(":")[0]}function Vn(t,e){return gn(t)?""+e:(mn(e)&&(e="'"+e+"'"),xn(e)||(e="Object"),(t+": "+e).slice(0,50))}function Fn(t){return t.split(":")[0]}function Bn(t,e){var n=Yy.clone(e.path);return n.push(t),n}function Hn(t,e){t||Wn(e,"Cannot find control with"),e.valueAccessor||Wn(e,"No value accessor for form control with"),t.validator=Jy.compose([t.validator,e.validator]),t.asyncValidator=Jy.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 zn(t,e){e.valueAccessor.registerOnChange(function(){return Gn(e)}),e.valueAccessor.registerOnTouched(function(){return Gn(e)}),e._rawValidators.forEach(function(t){return t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){return t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function Un(t,e){gn(t)&&Wn(e,"Cannot find control with"),t.validator=Jy.compose([t.validator,e.validator]),
  t.asyncValidator=Jy.composeAsync([t.asyncValidator,e.asyncValidator])}function Gn(t){return Wn(t,"There is no FormControl instance attached to form control element with")}function Wn(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 qn(t){return yn(t)?Jy.compose(t.map(jn)):null}function Yn(t){return yn(t)?Jy.composeAsync(t.map(Dn)):null}function Xn(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!wn(e,n.currentValue)}function $n(t){return On(t,ng)||On(t,sg)||On(t,fg)||On(t,yg)||On(t,pg)}function Kn(t,e){if(!e)return null;var n,r,i;return e.forEach(function(e){On(e,ig)?n=e:$n(e)?(yn(r)&&Wn(t,"More than one built-in value accessor matches form control with"),r=e):(yn(i)&&Wn(t,"More than one custom value accessor matches form control with"),i=e)}),yn(i)?i:yn(r)?r:yn(n)?n:(Wn(t,"No valid value accessor for form control with"),null)}function Zn(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function Qn(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}function Jn(t,e,n){return gn(e)?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&Yy.isEmpty(e)?null:e.reduce(function(t,e){return t instanceof zg?t.controls[e]||null:t instanceof Ug?t.at(e)||null:null},t))}function tr(t){return Ky(t)?Dg(t):t}function er(t){return Array.isArray(t)?qn(t):t}function nr(t){return Array.isArray(t)?Yn(t):t}function rr(t){return!(t instanceof hm||t instanceof cm||t instanceof dm)}function ir(t){return void 0!==t&&null!==t}function or(t){return void 0===t||null===t}function sr(t){return"string"==typeof t}function ar(t){return Array.isArray(t)}function lr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function cr(t,e){if(ir(t))for(var n=0;n<t.length;n++){var r=t[n];ar(r)?cr(r,e):e.push(r)}return e}function ur(t){if(sr(t)){var e=t;if(t=t.replace(/(\w)(\w*)/g,function(t,e,n){return e.toUpperCase()+n.toLowerCase()}),t=Nm[t],"number"!=typeof t)throw new Error('Invalid request method. The method "'+e+'" is not supported.')}return t}function pr(t){return"responseURL"in t?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):void 0}function hr(t){for(var e=new Uint16Array(t.length),n=0,r=t.length;n<r;n++)e[n]=t.charCodeAt(n);return e.buffer}function fr(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=n==-1?[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 dr(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 _r(){return null===ov&&(ov=Dm[iv]={}),ov}function yr(t,e){return t.createConnection(e).response}function gr(t,e,n,r){var i=t;return ir(e)?i.merge(new mv({method:e.method||n,url:e.url||r,search:e.search,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):ir(n)?i.merge(new mv({method:n,url:r})):i.merge(new mv({url:r}))}function mr(){return new _v}function vr(t,e){return new Sv(t,e)}function br(t,e,n){return Math.max(t,Math.min(e,n))}function wr(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return"function"!=typeof Object.assign?Er(t[0],[].slice.call(t,1),!1):Object.assign.apply(null,t)}function Cr(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Er(t,[].slice.call(arguments,1),!0)}function Er(t,e,n){for(var r=0,i=e.length;r<i;++r){var o=e[r];if(o&&(Lv(o)||Rv(o)))for(var s=Object.keys(o),a=0,l=s.length;a<l;a++){var c=s[a],u=o[c];n&&Lv(u)?(Lv(t[c])||(t[c]=Vv(u)?[]:{}),Er(t[c],[u],!0)):t[c]=u}}return t}function xr(t,e,n){void 0===n&&(n=!1);var r,i,o,s,a;return function(){o=this,i=arguments,s=Date.now();var l=function(){var c=Date.now()-s;c<e?r=setTimeout(l,e-c):(r=null,n||(a=t.apply(o,i)))},c=n&&!r;return r||(r=setTimeout(l,e)),c&&(a=t.apply(o,i)),a}}function Or(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=arguments.length-1;r>=1;r--){var i=arguments[r];if(i)for(var o in i)i.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=i[o])}return t}function Tr(t,e,n){var r=new Hv;return r.init(t,e,n),r}function Pr(t){return!!(t&&t._didLoad&&t._willUnload)}function Sr(t,e,n){if(e){if(Pr(e))return e;if("function"==typeof e)return new qv(e,n);if("string"==typeof e){var r=t.getComponentFromName(e);if(r)return new qv(r,n)}}return console.error("invalid page component: "+e),null}function Ir(t,e){var n=[];if(Vv(e))for(var r=0;r<e.length;r++){var i=e[r];i&&(Pr(i)?n.push(i):i.page?n.push(Sr(t,i.page,i.params)):n.push(Sr(t,i,null)))}return n}function Ar(t,e,n,r,i){e&&(n=n||t.getPrevious(e),n&&Nv(n._zIndex)?r===Qv?e._setZIndex(n._zIndex-1,i):e._setZIndex(n._zIndex+1,i):e._setZIndex(t._isPortal?Zv:Kv,i))}function kr(t){return!!t&&!!t.getSelected}function Rr(t){return!!t&&Nv(t._tabId)}function jr(t){return!!t&&!!t.push}function Dr(t,e){t=Math.ceil(t),t<2?nb(e):ob(function(){nb(e)},16.6667*(t-1))}function Nr(t,e){t=Math.ceil(t),t<2?rb(e):setTimeout(function(){rb(e)},16.6667*(t-1))}function Mr(t,e){function n(){ab.transitionEnd.split(" ").forEach(function(e){t.removeEventListener(e,r)})}function r(r){t===r.target&&(n(),e(r))}if(t)return ab.transitionEnd.split(" ").forEach(function(e){t.addEventListener(e,r)}),n}function Lr(t){function e(){document.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),t()}var n=null;return t||(n=new Promise(function(e){t=e})),"complete"===document.readyState||"interactive"===document.readyState?t():(document.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)),n}function Vr(t){function e(){window.removeEventListener("load",e,!1),t()}var n=null;return t||(n=new Promise(function(e){t=e})),"complete"===document.readyState?t():window.addEventListener("load",e,!1),n}function Fr(t){var e={x:0,y:0};if(t){var n=t.touches&&t.touches.length?t.touches:[t],r=t.changedTouches&&t.changedTouches[0]||n[0];r&&(e.x=r.clientX||r.pageX||0,e.y=r.clientY||r.pageY||0)}return e}function Br(t,e,n){var r=e.x-n.x,i=e.y-n.y,o=r*r+i*i;return o>t*t}function Hr(t){return!(!t||document.activeElement!==t)}function zr(t){return Hr(t)&&t.parentElement.querySelector(":focus")===t}function Ur(t){return!!t&&("TEXTAREA"===t.tagName||"true"===t.contentEditable||"INPUT"===t.tagName&&!/^(radio|checkbox|range|file|submit|reset|color|image|button)$/i.test(t.type))}function Gr(){var t=document.activeElement;return!!Ur(t)&&t.parentElement.querySelector(":focus")===t}function Wr(t,e){for(var n=t.attributes,r=0;r<n.length;r++){var i=n[r];cb.test(i.name)||e.setAttribute(i.name,i.value)}}function qr(t,e){var n=ub[e];if(!n){if(!t.offsetWidth||!t.offsetHeight)return{width:0,height:0,left:0,top:0};n=ub[e]={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop}}return n}function Yr(t){delete ub[t]}function Xr(){if(!ub.win){if(!window.innerWidth||!window.innerHeight)return{width:0,height:0};ub.win={width:window.innerWidth,height:window.innerHeight}}return ub.win}function $r(){ub={}}function Kr(t,e){var n=e.superset();if(n){var r=new hb(t,n);r.parent=e.parent,r.child=e,r.parent&&(r.parent.child=r),e.parent=r}}function Zr(t,e,n,r,i,o,s){var a=new pb;return a.setDefault("core"),a.setPlatformConfigs(t),a.setUserAgent(n),a.setQueryParams(e),a.setNavigatorPlatform(r),a.setDir(i,!1),a.setLang(o,!1),a.setZone(s),a.init(),a}function Qr(t,e,n){var r=new Pb(t,e,n);return r.init(),r}function Jr(t){return t=t.trim(),"/"!==t.charAt(0)&&(t="/"+t),t.length>1&&"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),t}function ti(t){var e=new jb;return ob(function(){window.addEventListener("online",function(t){e.publish("app:online",t)},!1),window.addEventListener("offline",function(t){e.publish("app:offline",t)},!1),window.addEventListener("orientationchange",function(t){e.publish("app:rotated",t)}),window.addEventListener("statusTap",function(e){var n=document.elementFromPoint(t.width()/2,t.height()/2);if(n){var r=n.closest(".scroll-content");if(r){var i=new Sb(r);i.scrollTo(0,0,300)}}}),window.addEventListener("resize",function(){t.windowResize()})},2e3),e}function ei(t){return function(){return ti(t)}}function ni(t,e,n,r,i){var o=!n&&"__zone_symbol__addEventListener"in t;return o?(t.__zone_symbol__addEventListener(e,i,r),function(){return t.__zone_symbol__removeEventListener(e,i)}):(t.addEventListener(e,i,r),function(){return t.removeEventListener(e,i)})}function ri(t){return t.indexOf("px")>0?parseInt(t,10):0}function ii(t){return t>0?t+"px":""}function oi(t){return function(){t.setTransition("ios-transition",jw),t.setTransition("md-transition",Fw),t.setTransition("wp-transition",Uw),t.setTransition("action-sheet-slide-in",Ww),t.setTransition("action-sheet-slide-out",qw),t.setTransition("action-sheet-md-slide-in",Yw),t.setTransition("action-sheet-md-slide-out",Xw),t.setTransition("action-sheet-wp-slide-in",$w),t.setTransition("action-sheet-wp-slide-out",Kw),t.setTransition("alert-pop-in",Qw),t.setTransition("alert-pop-out",Jw),t.setTransition("alert-md-pop-in",tC),t.setTransition("alert-md-pop-out",eC),t.setTransition("alert-wp-pop-in",nC),t.setTransition("alert-wp-pop-out",rC),t.setTransition("loading-pop-in",oC),t.setTransition("loading-pop-out",sC),t.setTransition("loading-md-pop-in",aC),t.setTransition("loading-md-pop-out",lC),t.setTransition("loading-wp-pop-in",cC),t.setTransition("loading-wp-pop-out",uC),t.setTransition("modal-slide-in",hC),t.setTransition("modal-slide-out",fC),t.setTransition("modal-md-slide-in",dC),t.setTransition("modal-md-slide-out",_C),t.setTransition("picker-slide-in",gC),t.setTransition("picker-slide-out",mC),t.setTransition("popover-pop-in",wC),t.setTransition("popover-pop-out",CC),t.setTransition("popover-md-pop-in",EC),t.setTransition("popover-md-pop-out",xC),t.setTransition("toast-slide-in",SC),t.setTransition("toast-slide-out",IC),t.setTransition("toast-md-slide-in",AC),t.setTransition("toast-md-slide-out",kC),t.setTransition("toast-wp-slide-out",jC),t.setTransition("toast-wp-slide-in",RC)}}function si(t,e,n,r,i){var o=t.getTransition(e);return o||(o=t.getTransition("ios-transition")),new o(n,r,i)}function ai(t){return t.testNavigatorPlatform("iphone|ipad|ipod")}function li(){return aE}function ci(t){return new dE(t)}function ui(t){for(var e=t,n=0;n<4&&e;n++){if(CE(e))return e;e=e.parentElement}return null}function pi(t,e,n){document.addEventListener(t,e,n)}function hi(t,e){document.removeEventListener(t,e)}function fi(t,e,n){return function(){return new wE(t,e,n)}}function di(t){return function(){t.setModeConfig("ios",LE),t.setModeConfig("md",VE),t.setModeConfig("wp",FE)}}function _i(t,e){return t.partsLen>e.partsLen?-1:t.partsLen<e.partsLen?1:t.staticLen>e.staticLen?-1:t.staticLen<e.staticLen?1:t.dataLen<e.dataLen?-1:t.dataLen>e.dataLen?1:0}function yi(t){return new BE(t)}function gi(t,e,n){if(Mv(e))return"";var r=[],i=!1;if(Hx.forEach(function(o,s){if(t.indexOf(o.f)>-1){var a="{"+s+"}",l=mi(o.f,e[o.k],e,n);!i&&l&&Nv(e[o.k])&&(i=!0),r.push(a,l),t=t.replace(o.f,a)}}),!i)return"";for(var o=0;o<r.length;o+=2)t=t.replace(r[o],r[o+1]);return t}function mi(t,e,n,r){if(t===Px||t===Sx){try{return e=new Date(n.year,n.month-1,n.day).getDay(),t===Px?(Nv(r.dayNames)?r.dayNames:zx)[e]:(Nv(r.dayShortNames)?r.dayShortNames:Ux)[e]}catch(t){}return""}if(t===Fx)return n?n.hour<12?"AM":"PM":Nv(e)?e.toUpperCase():"";if(t===Bx)return n?n.hour<12?"am":"pm":Nv(e)?e:"";if(Mv(e))return"";if(t===Cx||t===Ox||t===Ix||t===kx||t===Nx||t===Lx)return Ai(e);if(t===wx)return Ri(e);if(t===Ex)return(Nv(r.monthNames)?r.monthNames:Gx)[e-1];if(t===xx)return(Nv(r.monthShortNames)?r.monthShortNames:Wx)[e-1];if(t===jx||t===Dx){if(0===e)return"12";if(e>12&&(e-=12),t===jx&&e<10)return"0"+e}return e.toString()}function vi(t,e,n){var r,i=[];if(t===wx||t===Cx)for(r=n.year;r>=e.year;)i.push(r--);else if(t===Ex||t===xx||t===Ox||t===Tx||t===jx||t===Dx)for(r=1;r<13;r++)i.push(r);else if(t===Px||t===Sx||t===Ix||t===Ax)for(r=1;r<32;r++)i.push(r);else if(t===kx||t===Rx)for(r=0;r<24;r++)i.push(r);else if(t===Nx||t===Mx)for(r=0;r<60;r++)i.push(r);else if(t===Lx||t===Vx)for(r=0;r<60;r++)i.push(r);else t!==Fx&&t!==Bx||i.push("am","pm");return i}function bi(t,e,n){return parseInt("1"+Ri(t)+Ai(e)+Ai(n),10)}function wi(t){return t?bi(t.year,t.month,t.day):-1}function Ci(t,e){return 4===t||6===t||9===t||11===t?30:2===t?Ei(e)?29:28:31}function Ei(t){return t%4===0&&t%100!==0||t%400===0}function xi(t){var e;if(Nv(t)&&""!==t&&(e=bx.exec(t),Nv(e)?(e.unshift(void 0,void 0),e[2]=e[3]=void 0):e=vx.exec(t)),Mv(e))return null;for(var n=1;n<8;n++)e[n]=void 0!==e[n]?parseInt(e[n],10):null;var r=0;return Nv(e[9])&&Nv(e[10])&&(r=60*parseInt(e[10],10),Nv(e[11])&&(r+=parseInt(e[11],10)),"-"===e[9]&&(r*=-1)),{year:e[1],month:e[2],day:e[3],hour:e[4],minute:e[5],second:e[6],millisecond:e[7],tzOffset:r}}function Oi(t,e){if(Nv(e)&&""!==e){if(Av(e)){if(e=xi(e))return void wr(t,e)}else if(Nv(e.year)||Nv(e.hour)||Nv(e.month)||Nv(e.day)||Nv(e.minute)||Nv(e.second)){Nv(e.ampm)&&Nv(e.hour)&&("pm"===e.ampm.value?e.hour.value=12===e.hour.value?12:e.hour.value+12:e.hour.value=12===e.hour.value?0:e.hour.value);for(var n in e)t[n]=e[n].value;return}console.warn('Error parsing date: "'+e+'". Please provide a valid ISO 8601 datetime format: https://www.w3.org/TR/NOTE-datetime')}else for(var n in t)delete t[n]}function Ti(t){var e=[];t=t.replace(/[^\w\s]/gi," "),Hx.forEach(function(e){e.f.length>1&&t.indexOf(e.f)>-1&&t.indexOf(e.f+e.f.charAt(0))<0&&(t=t.replace(e.f," "+e.f+" "))});var n=t.split(" ").filter(function(t){return t.length>0});return n.forEach(function(t,r){Hx.forEach(function(i){if(t===i.f){if((t===Fx||t===Bx)&&(e.indexOf(Dx)<0&&e.indexOf(jx)<0||n[r-1]!==Mx&&n[r-1]!==Nx))return;e.push(t)}})}),e}function Pi(t,e){return e===Fx||e===Bx?t.hour<12?"am":"pm":e===jx||e===Dx?t.hour>12?t.hour-12:t.hour:t[Si(e)]}function Si(t){for(var e in Hx)if(Hx[e].f===t)return Hx[e].k;return null}function Ii(t){var e="";return Nv(t)&&(Nv(t.year)?(e=Ri(t.year),Nv(t.month)&&(e+="-"+Ai(t.month),Nv(t.day)&&(e+="-"+Ai(t.day),Nv(t.hour)&&(e+="T"+Ai(t.hour)+":"+Ai(t.minute)+":"+Ai(t.second),t.millisecond>0&&(e+="."+ki(t.millisecond)),e+=Mv(t.tzOffset)||0===t.tzOffset?"Z":(t.tzOffset>0?"+":"-")+Ai(Math.floor(t.tzOffset/60))+":"+Ai(t.tzOffset%60))))):Nv(t.hour)&&(e=Ai(t.hour)+":"+Ai(t.minute),Nv(t.second)&&(e+=":"+Ai(t.second),Nv(t.millisecond)&&(e+="."+ki(t.millisecond))))),e}function Ai(t){return("0"+(Nv(t)?Math.abs(t):"0")).slice(-2)}function ki(t){return("00"+(Nv(t)?Math.abs(t):"0")).slice(-3)}function Ri(t){return("000"+(Nv(t)?Math.abs(t):"0")).slice(-4)}function ji(t,e){var n=[];return Av(t)&&(t=t.replace(/\[|\]|\s/g,"").split(",")),Vv(t)&&t.forEach(function(t){t=parseInt(t,10),isNaN(t)||n.push(t)}),n.length||console.warn('Invalid "'+e+'Values". Must be an array of numbers, or a comma separated string of numbers.'),n}function Di(t,e){if(Nv(t)){var n=[];return Av(t)&&(t=t.replace(/\[|\]/g,"").split(",")),Vv(t)&&t.forEach(function(t){t=t.trim(),t&&n.push(t)}),n.length||console.warn('Invalid "'+e+'Names". Must be an array of strings, or a comma separated string.'),n}}function Ni(t){if(Nv(t))if("string"==typeof t){if(t.indexOf("%")>-1||t.indexOf("px")>-1)return t;if(t.length)return t+"px"}else if("number"==typeof t)return t+"px";return""}function Mi(t,e,n){var r=document.elementFromPoint(t,e);return Li(r,n)}function Li(t,e){for(var n=0;t&&n<4;){if(void 0!==Vi(t))return e&&t.parentNode!==e?null:t;t=t.parentNode,n++}return null}function Vi(t){return t.$ionIndex}function Fi(t){var e=t.target.closest("ion-item-sliding");return e?e.$ionComponent:null}function Bi(t){var e=t.target.closest("ion-item-options>button");return!!e}function Hi(t,e,n){var r=!e&&n||t&&e;return r}function zi(t,e){var n=t.cloneNode(!0);return n.classList.add("cloned-input"),n.classList.add(e),n.setAttribute("aria-hidden",!0),n.removeAttribute("aria-labelledby"),n.tabIndex=-1,n.style.width=t.offsetWidth+10+"px",n.style.height=t.offsetHeight+"px",n.value=t.value,n}function Ui(t,e){var n=t.parentElement.querySelector("."+e);n&&n.parentNode.removeChild(n)}function Gi(t,e,n){return setTimeout(Xi(t,n),e)}function Wi(t,e,n){return!!Array.isArray(t)&&(qi(t,n[e],n),!0)}function qi(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function Yi(t,e,n){var r,i=e.prototype;r=t.prototype=Object.create(i),r.constructor=t,r._super=i,n&&wr(r,n)}function Xi(t,e){return function(){return t.apply(e,arguments)}}function $i(t,e){return typeof t==IT?t.apply(e?e[0]||void 0:void 0,e):t}function Ki(t,e){return void 0===t?e:t}function Zi(t,e,n){qi(eo(e),function(e){t.addEventListener(e,n,!1)})}function Qi(t,e,n){qi(eo(e),function(e){t.removeEventListener(e,n,!1)})}function Ji(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function to(t,e){return t.indexOf(e)>-1}function eo(t){return t.trim().split(/\s+/g)}function no(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function ro(t){return Array.prototype.slice.call(t,0)}function io(t,e,n){for(var r=[],i=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];no(i,s)<0&&r.push(t[o]),i[o]=s,o++}return n&&(r=e?r.sort(function(t,n){return t[e]>n[e]?1:0}):r.sort()),r}function oo(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o<PT.length;){if(n=PT[o],r=n?n+i:e,r in t)return r;o++}}function so(){return jT++}function ao(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}function lo(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){$i(t.options.enable,[t])&&n.handler(e)},this.init()}function co(t){var e,n=t.options.inputClass;return new(e=n?n:MT?xo:LT?Po:NT?Io:Eo)(t,uo)}function uo(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,o=e&UT&&r-i===0,s=e&(WT|qT)&&r-i===0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,po(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function po(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=_o(e)),i>1&&!n.firstMultiple?n.firstMultiple=_o(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,l=e.center=yo(r);e.timeStamp=RT(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=bo(a,l),e.distance=vo(a,l),ho(n,e),e.offsetDirection=mo(e.deltaX,e.deltaY);var c=go(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=kT(c.x)>kT(c.y)?c.x:c.y,e.scale=s?Co(s.pointers,r):1,e.rotation=s?wo(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,fo(n,e);var u=t.element;Ji(e.srcEvent.target,u)&&(u=e.srcEvent.target),e.target=u}function ho(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==UT&&o.eventType!==WT||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}function fo(t,e){var n,r,i,o,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(e.eventType!=qT&&(a>zT||void 0===s.velocity)){var l=e.deltaX-s.deltaX,c=e.deltaY-s.deltaY,u=go(a,l,c);r=u.x,i=u.y,n=kT(u.x)>kT(u.y)?u.x:u.y,o=mo(l,c),t.lastInterval=e}else n=s.velocity,r=s.velocityX,i=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}function _o(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:AT(t.pointers[n].clientX),clientY:AT(t.pointers[n].clientY)},n++;return{timeStamp:RT(),pointers:e,center:yo(e),deltaX:t.deltaX,deltaY:t.deltaY}}function yo(t){var e=t.length;if(1===e)return{x:AT(t[0].clientX),y:AT(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:AT(n/e),y:AT(r/e)}}function go(t,e,n){return{x:e/t||0,y:n/t||0}}function mo(t,e){return t===e?YT:kT(t)>=kT(e)?t<0?XT:$T:e<0?KT:ZT}function vo(t,e,n){n||(n=eP);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function bo(t,e,n){n||(n=eP);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function wo(t,e){return bo(e[1],e[0],nP)+bo(t[1],t[0],nP)}function Co(t,e){return vo(e[0],e[1],nP)/vo(t[0],t[1],nP)}function Eo(t,e){this.evEl=iP,this.evWin=oP,this.allow=!0,this.pressed=!1,lo.apply(this,arguments)}function xo(){this.evEl=lP,this.evWin=cP,lo.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function Oo(){this.evTarget=pP,this.evWin=hP,this.started=!1,lo.apply(this,arguments)}function To(t,e){var n=ro(t.touches),r=ro(t.changedTouches);return e&(WT|qT)&&(n=io(n.concat(r),"identifier",!0)),[n,r]}function Po(t,e){this.evTarget=dP,this.targetIds={},lo.apply(this,arguments)}function So(t,e){var n=ro(t.touches),r=this.targetIds;if(e&(UT|GT)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,s=ro(t.changedTouches),a=[],l=this.target;if(o=n.filter(function(t){return Ji(t.target,l)}),e===UT)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&a.push(s[i]),e&(WT|qT)&&delete r[s[i].identifier],i++;return a.length?[io(o.concat(a),"identifier",!0),a]:void 0}function Io(){lo.apply(this,arguments);var t=Xi(this.handler,this);this.touch=new Po(this.manager,t),this.mouse=new Eo(this.manager,t)}function Ao(t,e){this.manager=t,this.set(e)}function ko(t){if(to(t,bP))return bP;var e=to(t,wP),n=to(t,CP);return e&&n?bP:e||n?e?wP:CP:to(t,vP)?vP:mP}function Ro(t){this.options=wr({},this.defaults,t||{}),this.id=so(),this.manager=null,this.options.enable=Ki(this.options.enable,!0),this.state=EP,this.simultaneous={},this.requireFail=[]}function jo(t){return t&SP?"cancel":t&TP?"end":t&OP?"move":t&xP?"start":""}function Do(t){return t==ZT?"down":t==KT?"up":t==XT?"left":t==$T?"right":""}function No(t,e){var n=e.manager;return n?n.get(t):t}function Mo(){Ro.apply(this,arguments)}function Lo(){Mo.apply(this,arguments),this.pX=null,this.pY=null}function Vo(){Mo.apply(this,arguments)}function Fo(){Ro.apply(this,arguments),this._timer=null,this._input=null}function Bo(){Mo.apply(this,arguments)}function Ho(){Mo.apply(this,arguments)}function zo(){Ro.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Uo(t,e){return e=e||{},e.recognizers=Ki(e.recognizers,AP.preset),new Go(t,e)}function Go(t,e){this.options=wr({},AP,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=co(this),this.touchAction=new Ao(this,this.options.touchAction),Wo(this,!0),qi(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Wo(t,e){var n=t.element;n.style&&qi(t.options.cssProps,function(t,r){n.style[oo(n.style,r)]=e?t:""})}function qo(t,e){var n=TT.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}function Yo(t,e){function n(){return"horizontal"===_.params.direction}function r(t){return Math.floor(t)}function i(){_.autoplayTimeoutId=setTimeout(function(){_.params.loop?(_.fixLoop(),_._slideNext()):_.isEnd?e.autoplayStopOnLast?_.stopAutoplay():_._slideTo(0):_._slideNext()},_.params.autoplay)}function o(t,e){var n=jP(t.target);if(!n.is(e))if("string"==typeof e)n=n.parents(e);else if(e.nodeType){var r;return n.parents().each(function(t,n){n===e&&(r=e)}),r?e:void 0}if(0!==n.length)return n[0]}function s(t,e){e=e||{};var n=window.MutationObserver||window.WebkitMutationObserver,r=new n(function(t){t.forEach(function(t){_.onResize(!0),_.emit("onObserverUpdate",_,t)})});r.observe(t,{attributes:"undefined"==typeof e.attributes||e.attributes,childList:"undefined"==typeof e.childList||e.childList,characterData:"undefined"==typeof e.characterData||e.characterData}),_.observers.push(r)}function a(t){t.originalEvent&&(t=t.originalEvent);var e=t.keyCode||t.charCode;if(!_.params.allowSwipeToNext&&(n()&&39===e||!n()&&40===e))return!1;if(!_.params.allowSwipeToPrev&&(n()&&37===e||!n()&&38===e))return!1;if(!(t.shiftKey||t.altKey||t.ctrlKey||t.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===e||39===e||38===e||40===e){var r=!1;if(_.container.parents(".swiper-slide").length>0&&0===_.container.parents(".swiper-slide-active").length)return;var i={left:window.pageXOffset,top:window.pageYOffset},o=window.innerWidth,s=window.innerHeight,a=_.container.offset();_.rtl&&(a.left=a.left-_.container[0].scrollLeft);for(var l=[[a.left,a.top],[a.left+_.width,a.top],[a.left,a.top+_.height],[a.left+_.width,a.top+_.height]],c=0;c<l.length;c++){var u=l[c];u[0]>=i.left&&u[0]<=i.left+o&&u[1]>=i.top&&u[1]<=i.top+s&&(r=!0)}if(!r)return}n()?(37!==e&&39!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),(39===e&&!_.rtl||37===e&&_.rtl)&&_.slideNext(),(37===e&&!_.rtl||39===e&&_.rtl)&&_.slidePrev()):(38!==e&&40!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),40===e&&_.slideNext(),38===e&&_.slidePrev())}}function l(t){t.originalEvent&&(t=t.originalEvent);var e=_.mousewheel.event,r=0;if(t.detail)r=-t.detail;else if("mousewheel"===e)if(_.params.mousewheelForceToAxis)if(n()){if(!(Math.abs(t.wheelDeltaX)>Math.abs(t.wheelDeltaY)))return;r=t.wheelDeltaX}else{if(!(Math.abs(t.wheelDeltaY)>Math.abs(t.wheelDeltaX)))return;r=t.wheelDeltaY}else r=t.wheelDelta;else if("DOMMouseScroll"===e)r=-t.detail;else if("wheel"===e)if(_.params.mousewheelForceToAxis)if(n()){if(!(Math.abs(t.deltaX)>Math.abs(t.deltaY)))return;r=-t.deltaX}else{if(!(Math.abs(t.deltaY)>Math.abs(t.deltaX)))return;r=-t.deltaY}else r=Math.abs(t.deltaX)>Math.abs(t.deltaY)?-t.deltaX:-t.deltaY;if(_.params.mousewheelInvert&&(r=-r),_.params.freeMode){var i=_.getWrapperTranslate()+r*_.params.mousewheelSensitivity;if(i>0&&(i=0),i<_.maxTranslate()&&(i=_.maxTranslate()),_.setWrapperTransition(0),_.setWrapperTranslate(i),_.updateProgress(),_.updateActiveIndex(),_.params.freeModeSticky&&(clearTimeout(_.mousewheel.timeout),_.mousewheel.timeout=setTimeout(function(){_.slideReset()},300)),0===i||i===_.maxTranslate())return}else{if((new window.Date).getTime()-_.mousewheel.lastScrollTime>60)if(r<0)if(_.isEnd&&!_.params.loop||_.animating){if(_.params.mousewheelReleaseOnEdges)return!0}else _.slideNext();else if(_.isBeginning&&!_.params.loop||_.animating){if(_.params.mousewheelReleaseOnEdges)return!0}else _.slidePrev();_.mousewheel.lastScrollTime=(new window.Date).getTime()}return _.params.autoplay&&_.stopAutoplay(),t.preventDefault?t.preventDefault():t.returnValue=!1,!1}function c(t,e){t=jP(t);var r,i,o;r=t.attr("data-swiper-parallax")||"0",i=t.attr("data-swiper-parallax-x"),o=t.attr("data-swiper-parallax-y"),i||o?(i=i||"0",o=o||"0"):n()?(i=r,o="0"):(o=r,i="0"),i=i.indexOf("%")>=0?parseInt(i,10)*e+"%":i*e+"px",o=o.indexOf("%")>=0?parseInt(o,10)*e+"%":o*e+"px",t.transform("translate3d("+i+", "+o+",0px)")}function u(t){return 0!==t.indexOf("on")&&(t=t[0]!==t[0].toUpperCase()?"on"+t[0].toUpperCase()+t.substring(1):"on"+t),t}if(!(this instanceof Yo))return new Yo(t,e);var p={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeSticky:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,scrollbar:null,scrollbarHide:!0,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,hashnav:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationHiddenClass:"swiper-pagination-hidden",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},h=e&&e.virtualTranslate;e=e||{};for(var f in p)if("undefined"==typeof e[f])e[f]=p[f];else if("object"==typeof e[f])for(var d in p[f])"undefined"==typeof e[f][d]&&(e[f][d]=p[f][d]);var _=this;if(_.version="3.1.0",_.params=e,_.classNames=[],"undefined"!=typeof jP&&"undefined"!=typeof NP&&(jP=NP),("undefined"!=typeof jP||(jP="undefined"==typeof NP?window.Dom7||window.Zepto||window.jQuery:NP))&&(_.$=jP,_.container=jP(t),0!==_.container.length)){if(_.container.length>1)return void _.container.each(function(){new Yo(this,e)});_.container[0].swiper=_,_.container.data("swiper",_),_.classNames.push("swiper-container-"+_.params.direction),_.params.freeMode&&_.classNames.push("swiper-container-free-mode"),_.support.flexbox||(_.classNames.push("swiper-container-no-flexbox"),_.params.slidesPerColumn=1),(_.params.parallax||_.params.watchSlidesVisibility)&&(_.params.watchSlidesProgress=!0),["cube","coverflow"].indexOf(_.params.effect)>=0&&(_.support.transforms3d?(_.params.watchSlidesProgress=!0,_.classNames.push("swiper-container-3d")):_.params.effect="slide"),"slide"!==_.params.effect&&_.classNames.push("swiper-container-"+_.params.effect),"cube"===_.params.effect&&(_.params.resistanceRatio=0,_.params.slidesPerView=1,_.params.slidesPerColumn=1,_.params.slidesPerGroup=1,_.params.centeredSlides=!1,_.params.spaceBetween=0,_.params.virtualTranslate=!0,_.params.setWrapperSize=!1),"fade"===_.params.effect&&(_.params.slidesPerView=1,_.params.slidesPerColumn=1,_.params.slidesPerGroup=1,_.params.watchSlidesProgress=!0,_.params.spaceBetween=0,"undefined"==typeof h&&(_.params.virtualTranslate=!0)),_.params.grabCursor&&_.support.touch&&(_.params.grabCursor=!1),_.wrapper=_.container.children("."+_.params.wrapperClass),_.params.pagination&&(_.paginationContainer=jP(_.params.pagination),_.params.paginationClickable&&_.paginationContainer.addClass("swiper-pagination-clickable")),_.rtl=n()&&("rtl"===_.container[0].dir.toLowerCase()||"rtl"===_.container.css("direction")),_.rtl&&_.classNames.push("swiper-container-rtl"),_.rtl&&(_.wrongRTL="-webkit-box"===_.wrapper.css("display")),_.params.slidesPerColumn>1&&_.classNames.push("swiper-container-multirow"),_.device.android&&_.classNames.push("swiper-container-android"),_.container.addClass(_.classNames.join(" ")),_.translate=0,
  _.progress=0,_.velocity=0,_.lockSwipeToNext=function(){_.params.allowSwipeToNext=!1},_.lockSwipeToPrev=function(){_.params.allowSwipeToPrev=!1},_.lockSwipes=function(){_.params.allowSwipeToNext=_.params.allowSwipeToPrev=!1},_.unlockSwipeToNext=function(){_.params.allowSwipeToNext=!0},_.unlockSwipeToPrev=function(){_.params.allowSwipeToPrev=!0},_.unlockSwipes=function(){_.params.allowSwipeToNext=_.params.allowSwipeToPrev=!0},_.params.grabCursor&&(_.container[0].style.cursor="move",_.container[0].style.cursor="-webkit-grab",_.container[0].style.cursor="-moz-grab",_.container[0].style.cursor="grab"),_.imagesToLoad=[],_.imagesLoaded=0,_.loadImage=function(t,e,n,r){function i(){r&&r()}var o;t.complete&&n?i():e?(o=new window.Image,o.onload=i,o.onerror=i,o.src=e):i()},_.preloadImages=function(){function t(){"undefined"!=typeof _&&null!==_&&(void 0!==_.imagesLoaded&&_.imagesLoaded++,_.imagesLoaded===_.imagesToLoad.length&&(_.params.updateOnImagesReady&&_.update(),_.emit("onImagesReady",_)))}_.imagesToLoad=_.container.find("img");for(var e=0;e<_.imagesToLoad.length;e++)_.loadImage(_.imagesToLoad[e],_.imagesToLoad[e].currentSrc||_.imagesToLoad[e].getAttribute("src"),!0,t)},_.autoplayTimeoutId=void 0,_.autoplaying=!1,_.autoplayPaused=!1,_.startAutoplay=function(){return"undefined"==typeof _.autoplayTimeoutId&&(!!_.params.autoplay&&(!_.autoplaying&&(_.autoplaying=!0,_.emit("onAutoplayStart",_),void i())))},_.stopAutoplay=function(t){_.autoplayTimeoutId&&(_.autoplayTimeoutId&&clearTimeout(_.autoplayTimeoutId),_.autoplaying=!1,_.autoplayTimeoutId=void 0,_.emit("onAutoplayStop",_))},_.pauseAutoplay=function(t){_.autoplayPaused||(_.autoplayTimeoutId&&clearTimeout(_.autoplayTimeoutId),_.autoplayPaused=!0,0===t?(_.autoplayPaused=!1,i()):_.wrapper.transitionEnd(function(){_&&(_.autoplayPaused=!1,_.autoplaying?i():_.stopAutoplay())}))},_.minTranslate=function(){return-_.snapGrid[0]},_.maxTranslate=function(){return-_.snapGrid[_.snapGrid.length-1]},_.updateContainerSize=function(){var t,e;t="undefined"!=typeof _.params.width?_.params.width:_.container[0].clientWidth,e="undefined"!=typeof _.params.height?_.params.height:_.container[0].clientHeight,0===t&&n()||0===e&&!n()||(t=t-parseInt(_.container.css("padding-left"),10)-parseInt(_.container.css("padding-right"),10),e=e-parseInt(_.container.css("padding-top"),10)-parseInt(_.container.css("padding-bottom"),10),_.width=t,_.height=e,_.size=n()?_.width:_.height)},_.updateSlidesSize=function(){_.slides=_.wrapper.children("."+_.params.slideClass),_.snapGrid=[],_.slidesGrid=[],_.slidesSizesGrid=[];var t,e=_.params.spaceBetween,i=-_.params.slidesOffsetBefore,o=0,s=0;"string"==typeof e&&e.indexOf("%")>=0&&(e=parseFloat(e.replace("%",""))/100*_.size),_.virtualSize=-e,_.rtl?_.slides.css({marginLeft:"",marginTop:""}):_.slides.css({marginRight:"",marginBottom:""});var a;_.params.slidesPerColumn>1&&(a=Math.floor(_.slides.length/_.params.slidesPerColumn)===_.slides.length/_.params.slidesPerColumn?_.slides.length:Math.ceil(_.slides.length/_.params.slidesPerColumn)*_.params.slidesPerColumn);var l,c=_.params.slidesPerColumn,u=a/c,p=u-(_.params.slidesPerColumn*u-_.slides.length);for(t=0;t<_.slides.length;t++){l=0;var h=_.slides.eq(t);if(_.params.slidesPerColumn>1){var f,d,y;"column"===_.params.slidesPerColumnFill?(d=Math.floor(t/c),y=t-d*c,(d>p||d===p&&y===c-1)&&++y>=c&&(y=0,d++),f=d+y*a/c,h.css({"-webkit-box-ordinal-group":f,"-moz-box-ordinal-group":f,"-ms-flex-order":f,"-webkit-order":f,order:f})):(y=Math.floor(t/u),d=t-y*u),h.css({"margin-top":0!==y&&_.params.spaceBetween&&_.params.spaceBetween+"px"}).attr("data-swiper-column",d).attr("data-swiper-row",y)}"none"!==h.css("display")&&("auto"===_.params.slidesPerView?(l=n()?h.outerWidth(!0):h.outerHeight(!0),_.params.roundLengths&&(l=r(l))):(l=(_.size-(_.params.slidesPerView-1)*e)/_.params.slidesPerView,_.params.roundLengths&&(l=r(l)),n()?_.slides[t].style.width=l+"px":_.slides[t].style.height=l+"px"),_.slides[t].swiperSlideSize=l,_.slidesSizesGrid.push(l),_.params.centeredSlides?(i=i+l/2+o/2+e,0===t&&(i=i-_.size/2-e),Math.abs(i)<.001&&(i=0),s%_.params.slidesPerGroup===0&&_.snapGrid.push(i),_.slidesGrid.push(i)):(s%_.params.slidesPerGroup===0&&_.snapGrid.push(i),_.slidesGrid.push(i),i=i+l+e),_.virtualSize+=l+e,o=l,s++)}_.virtualSize=Math.max(_.virtualSize,_.size)+_.params.slidesOffsetAfter;var g;if(_.rtl&&_.wrongRTL&&("slide"===_.params.effect||"coverflow"===_.params.effect)&&_.wrapper.css({width:_.virtualSize+_.params.spaceBetween+"px"}),_.support.flexbox&&!_.params.setWrapperSize||(n()?_.wrapper.css({width:_.virtualSize+_.params.spaceBetween+"px"}):_.wrapper.css({height:_.virtualSize+_.params.spaceBetween+"px"})),_.params.slidesPerColumn>1&&(_.virtualSize=(l+_.params.spaceBetween)*a,_.virtualSize=Math.ceil(_.virtualSize/_.params.slidesPerColumn)-_.params.spaceBetween,_.wrapper.css({width:_.virtualSize+_.params.spaceBetween+"px"}),_.params.centeredSlides)){for(g=[],t=0;t<_.snapGrid.length;t++)_.snapGrid[t]<_.virtualSize+_.snapGrid[0]&&g.push(_.snapGrid[t]);_.snapGrid=g}if(!_.params.centeredSlides){for(g=[],t=0;t<_.snapGrid.length;t++)_.snapGrid[t]<=_.virtualSize-_.size&&g.push(_.snapGrid[t]);_.snapGrid=g,Math.floor(_.virtualSize-_.size)>Math.floor(_.snapGrid[_.snapGrid.length-1])&&_.snapGrid.push(_.virtualSize-_.size)}0===_.snapGrid.length&&(_.snapGrid=[0]),0!==_.params.spaceBetween&&(n()?_.rtl?_.slides.css({marginLeft:e+"px"}):_.slides.css({marginRight:e+"px"}):_.slides.css({marginBottom:e+"px"})),_.params.watchSlidesProgress&&_.updateSlidesOffset()},_.updateSlidesOffset=function(){for(var t=0;t<_.slides.length;t++)_.slides[t].swiperSlideOffset=n()?_.slides[t].offsetLeft:_.slides[t].offsetTop},_.updateSlidesProgress=function(t){if("undefined"==typeof t&&(t=_.translate||0),0!==_.slides.length){"undefined"==typeof _.slides[0].swiperSlideOffset&&_.updateSlidesOffset();var e=-t;_.rtl&&(e=t);_.container[0].getBoundingClientRect(),n()?"left":"top",n()?"right":"bottom";_.slides.removeClass(_.params.slideVisibleClass);for(var r=0;r<_.slides.length;r++){var i=_.slides[r],o=(e-i.swiperSlideOffset)/(i.swiperSlideSize+_.params.spaceBetween);if(_.params.watchSlidesVisibility){var s=-(e-i.swiperSlideOffset),a=s+_.slidesSizesGrid[r],l=s>=0&&s<_.size||a>0&&a<=_.size||s<=0&&a>=_.size;l&&_.slides.eq(r).addClass(_.params.slideVisibleClass)}i.progress=_.rtl?-o:o}}},_.updateProgress=function(t){"undefined"==typeof t&&(t=_.translate||0);var e=_.maxTranslate()-_.minTranslate();0===e?(_.progress=0,_.isBeginning=_.isEnd=!0):(_.progress=(t-_.minTranslate())/e,_.isBeginning=_.progress<=0,_.isEnd=_.progress>=1),_.isBeginning&&_.emit("onReachBeginning",_),_.isEnd&&_.emit("onReachEnd",_),_.params.watchSlidesProgress&&_.updateSlidesProgress(t),_.emit("onProgress",_,_.progress)},_.updateActiveIndex=function(){var t,e,n,r=_.rtl?_.translate:-_.translate;for(e=0;e<_.slidesGrid.length;e++)"undefined"!=typeof _.slidesGrid[e+1]?r>=_.slidesGrid[e]&&r<_.slidesGrid[e+1]-(_.slidesGrid[e+1]-_.slidesGrid[e])/2?t=e:r>=_.slidesGrid[e]&&r<_.slidesGrid[e+1]&&(t=e+1):r>=_.slidesGrid[e]&&(t=e);(t<0||"undefined"==typeof t)&&(t=0),n=Math.floor(t/_.params.slidesPerGroup),n>=_.snapGrid.length&&(n=_.snapGrid.length-1),t!==_.activeIndex&&(_.snapIndex=n,_.previousIndex=_.activeIndex,_.activeIndex=t,_.updateClasses())},_.updateClasses=function(){_.slides.removeClass(_.params.slideActiveClass+" "+_.params.slideNextClass+" "+_.params.slidePrevClass);var t=_.slides.eq(_.activeIndex);if(t.addClass(_.params.slideActiveClass),t.next("."+_.params.slideClass).addClass(_.params.slideNextClass),t.prev("."+_.params.slideClass).addClass(_.params.slidePrevClass),_.bullets&&_.bullets.length>0){_.bullets.removeClass(_.params.bulletActiveClass);var e;_.params.loop?(e=Math.ceil(_.activeIndex-_.loopedSlides)/_.params.slidesPerGroup,e>_.slides.length-1-2*_.loopedSlides&&(e-=_.slides.length-2*_.loopedSlides),e>_.bullets.length-1&&(e-=_.bullets.length)):e="undefined"!=typeof _.snapIndex?_.snapIndex:_.activeIndex||0,_.paginationContainer.length>1?_.bullets.each(function(){jP(this).index()===e&&jP(this).addClass(_.params.bulletActiveClass)}):_.bullets.eq(e).addClass(_.params.bulletActiveClass)}_.params.loop||(_.params.prevButton&&(_.isBeginning?(jP(_.params.prevButton).addClass(_.params.buttonDisabledClass),_.params.a11y&&_.a11y&&_.a11y.disable(jP(_.params.prevButton))):(jP(_.params.prevButton).removeClass(_.params.buttonDisabledClass),_.params.a11y&&_.a11y&&_.a11y.enable(jP(_.params.prevButton)))),_.params.nextButton&&(_.isEnd?(jP(_.params.nextButton).addClass(_.params.buttonDisabledClass),_.params.a11y&&_.a11y&&_.a11y.disable(jP(_.params.nextButton))):(jP(_.params.nextButton).removeClass(_.params.buttonDisabledClass),_.params.a11y&&_.a11y&&_.a11y.enable(jP(_.params.nextButton)))))},_.updatePagination=function(){if(_.params.pagination&&_.paginationContainer&&_.paginationContainer.length>0){for(var t="",e=_.params.loop?Math.ceil((_.slides.length-2*_.loopedSlides)/_.params.slidesPerGroup):_.snapGrid.length,n=0;n<e;n++)t+=_.params.paginationBulletRender?_.params.paginationBulletRender(n,_.params.bulletClass):"<"+_.params.paginationElement+' class="'+_.params.bulletClass+'"></'+_.params.paginationElement+">";_.paginationContainer.html(t),_.bullets=_.paginationContainer.find("."+_.params.bulletClass),_.params.paginationClickable&&_.params.a11y&&_.a11y&&_.a11y.initPagination()}},_.update=function(t){function e(){r=Math.min(Math.max(_.translate,_.maxTranslate()),_.minTranslate()),_.setWrapperTranslate(r),_.updateActiveIndex(),_.updateClasses()}if(_.updateContainerSize(),_.updateSlidesSize(),_.updateProgress(),_.updatePagination(),_.updateClasses(),_.params.scrollbar&&_.scrollbar&&_.scrollbar.set(),t){var n,r;_.controller&&_.controller.spline&&(_.controller.spline=void 0),_.params.freeMode?e():(n=("auto"===_.params.slidesPerView||_.params.slidesPerView>1)&&_.isEnd&&!_.params.centeredSlides?_.slideTo(_.slides.length-1,0,!1,!0):_.slideTo(_.activeIndex,0,!1,!0),n||e())}},_.onResize=function(t){var e=_.params.allowSwipeToPrev,n=_.params.allowSwipeToNext;if(_.params.allowSwipeToPrev=_.params.allowSwipeToNext=!0,_.updateContainerSize(),_.updateSlidesSize(),("auto"===_.params.slidesPerView||_.params.freeMode||t)&&_.updatePagination(),_.params.scrollbar&&_.scrollbar&&_.scrollbar.set(),_.controller&&_.controller.spline&&(_.controller.spline=void 0),_.params.freeMode){var r=Math.min(Math.max(_.translate,_.maxTranslate()),_.minTranslate());_.setWrapperTranslate(r),_.updateActiveIndex(),_.updateClasses()}else _.updateClasses(),("auto"===_.params.slidesPerView||_.params.slidesPerView>1)&&_.isEnd&&!_.params.centeredSlides?_.slideTo(_.slides.length-1,0,!1,!0):_.slideTo(_.activeIndex,0,!1,!0);_.params.allowSwipeToPrev=e,_.params.allowSwipeToNext=n};var y=["mousedown","mousemove","mouseup"];window.navigator.pointerEnabled?y=["pointerdown","pointermove","pointerup"]:window.navigator.msPointerEnabled&&(y=["MSPointerDown","MSPointerMove","MSPointerUp"]),_.touchEvents={start:_.support.touch||!_.params.simulateTouch?"touchstart":y[0],move:_.support.touch||!_.params.simulateTouch?"touchmove":y[1],end:_.support.touch||!_.params.simulateTouch?"touchend":y[2]},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===_.params.touchEventsTarget?_.container:_.wrapper).addClass("swiper-wp8-"+_.params.direction),_.initEvents=function(t){var n=t?"off":"on",r=t?"removeEventListener":"addEventListener",i="container"===_.params.touchEventsTarget?_.container[0]:_.wrapper[0],o=_.support.touch?i:document,s=!!_.params.nested;_.browser.ie?(i[r](_.touchEvents.start,_.onTouchStart,!1),o[r](_.touchEvents.move,_.onTouchMove,s),o[r](_.touchEvents.end,_.onTouchEnd,!1)):(_.support.touch&&(i[r](_.touchEvents.start,_.onTouchStart,!1),i[r](_.touchEvents.move,_.onTouchMove,s),i[r](_.touchEvents.end,_.onTouchEnd,!1)),!e.simulateTouch||_.device.ios||_.device.android||(i[r]("mousedown",_.onTouchStart,!1),document[r]("mousemove",_.onTouchMove,s),document[r]("mouseup",_.onTouchEnd,!1))),window[r]("resize",_.onResize),_.params.nextButton&&(jP(_.params.nextButton)[n]("click",_.onClickNext),_.params.a11y&&_.a11y&&jP(_.params.nextButton)[n]("keydown",_.a11y.onEnterKey)),_.params.prevButton&&(jP(_.params.prevButton)[n]("click",_.onClickPrev),_.params.a11y&&_.a11y&&jP(_.params.prevButton)[n]("keydown",_.a11y.onEnterKey)),_.params.pagination&&_.params.paginationClickable&&(jP(_.paginationContainer)[n]("click","."+_.params.bulletClass,_.onClickIndex),_.params.a11y&&_.a11y&&jP(_.paginationContainer)[n]("keydown","."+_.params.bulletClass,_.a11y.onEnterKey)),(_.params.preventClicks||_.params.preventClicksPropagation)&&i[r]("click",_.preventClicks,!0)},_.attachEvents=function(t){_.initEvents()},_.detachEvents=function(){_.initEvents(!0)},_.allowClick=!0,_.preventClicks=function(t){_.allowClick||(_.params.preventClicks&&t.preventDefault(),_.params.preventClicksPropagation&&_.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))},_.onClickNext=function(t){t.preventDefault(),_.isEnd&&!_.params.loop||_.slideNext()},_.onClickPrev=function(t){t.preventDefault(),_.isBeginning&&!_.params.loop||_.slidePrev()},_.onClickIndex=function(t){t.preventDefault();var e=jP(this).index()*_.params.slidesPerGroup;_.params.loop&&(e+=_.loopedSlides),_.slideTo(e)},_.updateClickedSlide=function(t){var e=o(t,"."+_.params.slideClass),n=!1;if(e)for(var r=0;r<_.slides.length;r++)_.slides[r]===e&&(n=!0);if(!e||!n)return _.clickedSlide=void 0,void(_.clickedIndex=void 0);if(_.clickedSlide=e,_.clickedIndex=jP(e).index(),_.params.slideToClickedSlide&&void 0!==_.clickedIndex&&_.clickedIndex!==_.activeIndex){var i,s=_.clickedIndex;if(_.params.loop)if(i=jP(_.clickedSlide).attr("data-swiper-slide-index"),s>_.slides.length-_.params.slidesPerView)_.fixLoop(),s=_.wrapper.children("."+_.params.slideClass+'[data-swiper-slide-index="'+i+'"]').eq(0).index(),setTimeout(function(){_.slideTo(s)},0);else if(s<_.params.slidesPerView-1){_.fixLoop();var a=_.wrapper.children("."+_.params.slideClass+'[data-swiper-slide-index="'+i+'"]');s=a.eq(a.length-1).index(),setTimeout(function(){_.slideTo(s)},0)}else _.slideTo(s);else _.slideTo(s)}};var g,m,v,b,w,C,E,x,O,T="input, select, textarea, button",P=Date.now(),S=[];_.animating=!1,_.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var I,A;if(_.onTouchStart=function(t){if(t.originalEvent&&(t=t.originalEvent),I="touchstart"===t.type,I||!("which"in t)||3!==t.which){if(_.params.noSwiping&&o(t,"."+_.params.noSwipingClass))return void(_.allowClick=!0);if(!_.params.swipeHandler||o(t,_.params.swipeHandler)){var e=_.touches.currentX="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,n=_.touches.currentY="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY;if(!(_.device.ios&&_.params.iOSEdgeSwipeDetection&&e<=_.params.iOSEdgeSwipeThreshold)){if(g=!0,m=!1,b=void 0,A=void 0,_.touches.startX=e,_.touches.startY=n,v=Date.now(),_.allowClick=!0,_.updateContainerSize(),_.swipeDirection=void 0,_.params.threshold>0&&(E=!1),"touchstart"!==t.type){var r=!0;jP(t.target).is(T)&&(r=!1),document.activeElement&&jP(document.activeElement).is(T)&&document.activeElement.blur(),r&&t.preventDefault()}_.emit("onTouchStart",_,t)}}}},_.onTouchMove=function(t){if(t.originalEvent&&(t=t.originalEvent),!(I&&"mousemove"===t.type||t.preventedByNestedSwiper)){if(_.params.onlyExternal)return _.allowClick=!1,void(g&&(_.touches.startX=_.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,_.touches.startY=_.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,v=Date.now()));if(I&&document.activeElement&&t.target===document.activeElement&&jP(t.target).is(T))return m=!0,void(_.allowClick=!1);if(_.emit("onTouchMove",_,t),!(t.targetTouches&&t.targetTouches.length>1)){if(_.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,_.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,"undefined"==typeof b){var r=180*Math.atan2(Math.abs(_.touches.currentY-_.touches.startY),Math.abs(_.touches.currentX-_.touches.startX))/Math.PI;b=n()?r>_.params.touchAngle:90-r>_.params.touchAngle}if(b&&_.emit("onTouchMoveOpposite",_,t),"undefined"==typeof A&&_.browser.ieTouch&&(_.touches.currentX===_.touches.startX&&_.touches.currentY===_.touches.startY||(A=!0)),g){if(b)return void(g=!1);if(A||!_.browser.ieTouch){_.allowClick=!1,_.emit("onSliderMove",_,t),t.preventDefault(),_.params.touchMoveStopPropagation&&!_.params.nested&&t.stopPropagation(),m||(e.loop&&_.fixLoop(),C=_.getWrapperTranslate(),_.setWrapperTransition(0),_.animating&&_.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),_.params.autoplay&&_.autoplaying&&(_.params.autoplayDisableOnInteraction?_.stopAutoplay():_.pauseAutoplay()),O=!1,_.params.grabCursor&&(_.container[0].style.cursor="move",_.container[0].style.cursor="-webkit-grabbing",_.container[0].style.cursor="-moz-grabbin",_.container[0].style.cursor="grabbing")),m=!0;var i=_.touches.diff=n()?_.touches.currentX-_.touches.startX:_.touches.currentY-_.touches.startY;i*=_.params.touchRatio,_.rtl&&(i=-i),_.swipeDirection=i>0?"prev":"next",w=i+C;var o=!0;if(i>0&&w>_.minTranslate()?(o=!1,_.params.resistance&&(w=_.minTranslate()-1+Math.pow(-_.minTranslate()+C+i,_.params.resistanceRatio))):i<0&&w<_.maxTranslate()&&(o=!1,_.params.resistance&&(w=_.maxTranslate()+1-Math.pow(_.maxTranslate()-C-i,_.params.resistanceRatio))),o&&(t.preventedByNestedSwiper=!0),!_.params.allowSwipeToNext&&"next"===_.swipeDirection&&w<C&&(w=C),!_.params.allowSwipeToPrev&&"prev"===_.swipeDirection&&w>C&&(w=C),_.params.followFinger){if(_.params.threshold>0){if(!(Math.abs(i)>_.params.threshold||E))return void(w=C);if(!E)return E=!0,_.touches.startX=_.touches.currentX,_.touches.startY=_.touches.currentY,w=C,void(_.touches.diff=n()?_.touches.currentX-_.touches.startX:_.touches.currentY-_.touches.startY)}(_.params.freeMode||_.params.watchSlidesProgress)&&_.updateActiveIndex(),_.params.freeMode&&(0===S.length&&S.push({position:_.touches[n()?"startX":"startY"],time:v}),S.push({position:_.touches[n()?"currentX":"currentY"],time:(new window.Date).getTime()})),_.updateProgress(w),_.setWrapperTranslate(w)}}}}}},_.onTouchEnd=function(t){if(t.originalEvent&&(t=t.originalEvent),_.emit("onTouchEnd",_,t),g){_.params.grabCursor&&m&&g&&(_.container[0].style.cursor="move",_.container[0].style.cursor="-webkit-grab",_.container[0].style.cursor="-moz-grab",_.container[0].style.cursor="grab");var e=Date.now(),n=e-v;if(_.allowClick&&(_.updateClickedSlide(t),_.emit("onTap",_,t),n<300&&e-P>300&&(x&&clearTimeout(x),x=setTimeout(function(){_&&(_.params.paginationHide&&_.paginationContainer.length>0&&!jP(t.target).hasClass(_.params.bulletClass)&&_.paginationContainer.toggleClass(_.params.paginationHiddenClass),_.emit("onClick",_,t))},300)),n<300&&e-P<300&&(x&&clearTimeout(x),_.emit("onDoubleTap",_,t))),P=Date.now(),setTimeout(function(){_&&(_.allowClick=!0)},0),!g||!m||!_.swipeDirection||0===_.touches.diff||w===C)return void(g=m=!1);g=m=!1;var r;if(r=_.params.followFinger?_.rtl?_.translate:-_.translate:-w,_.params.freeMode){if(r<-_.minTranslate())return void _.slideTo(_.activeIndex);if(r>-_.maxTranslate())return void(_.slides.length<_.snapGrid.length?_.slideTo(_.snapGrid.length-1):_.slideTo(_.slides.length-1));if(_.params.freeModeMomentum){if(S.length>1){var i=S.pop(),o=S.pop(),s=i.position-o.position,a=i.time-o.time;_.velocity=s/a,_.velocity=_.velocity/2,Math.abs(_.velocity)<.02&&(_.velocity=0),(a>150||(new window.Date).getTime()-i.time>300)&&(_.velocity=0)}else _.velocity=0;S.length=0;var l=1e3*_.params.freeModeMomentumRatio,c=_.velocity*l,u=_.translate+c;_.rtl&&(u=-u);var p,h=!1,f=20*Math.abs(_.velocity)*_.params.freeModeMomentumBounceRatio;if(u<_.maxTranslate())_.params.freeModeMomentumBounce?(u+_.maxTranslate()<-f&&(u=_.maxTranslate()-f),p=_.maxTranslate(),h=!0,O=!0):u=_.maxTranslate();else if(u>_.minTranslate())_.params.freeModeMomentumBounce?(u-_.minTranslate()>f&&(u=_.minTranslate()+f),p=_.minTranslate(),h=!0,O=!0):u=_.minTranslate();else if(_.params.freeModeSticky){var d,y=0;for(y=0;y<_.snapGrid.length;y+=1)if(_.snapGrid[y]>-u){d=y;break}u=Math.abs(_.snapGrid[d]-u)<Math.abs(_.snapGrid[d-1]-u)||"next"===_.swipeDirection?_.snapGrid[d]:_.snapGrid[d-1],_.rtl||(u=-u)}if(0!==_.velocity)l=_.rtl?Math.abs((-u-_.translate)/_.velocity):Math.abs((u-_.translate)/_.velocity);else if(_.params.freeModeSticky)return void _.slideReset();_.params.freeModeMomentumBounce&&h?(_.updateProgress(p),_.setWrapperTransition(l),_.setWrapperTranslate(u),_.onTransitionStart(),_.animating=!0,_.wrapper.transitionEnd(function(){_&&O&&(_.emit("onMomentumBounce",_),_.setWrapperTransition(_.params.speed),_.setWrapperTranslate(p),_.wrapper.transitionEnd(function(){_&&_.onTransitionEnd()}))})):_.velocity?(_.updateProgress(u),_.setWrapperTransition(l),_.setWrapperTranslate(u),_.onTransitionStart(),_.animating||(_.animating=!0,_.wrapper.transitionEnd(function(){_&&_.onTransitionEnd()}))):_.updateProgress(u),_.updateActiveIndex()}return void((!_.params.freeModeMomentum||n>=_.params.longSwipesMs)&&(_.updateProgress(),_.updateActiveIndex()))}var b,E=0,T=_.slidesSizesGrid[0];for(b=0;b<_.slidesGrid.length;b+=_.params.slidesPerGroup)"undefined"!=typeof _.slidesGrid[b+_.params.slidesPerGroup]?r>=_.slidesGrid[b]&&r<_.slidesGrid[b+_.params.slidesPerGroup]&&(E=b,T=_.slidesGrid[b+_.params.slidesPerGroup]-_.slidesGrid[b]):r>=_.slidesGrid[b]&&(E=b,T=_.slidesGrid[_.slidesGrid.length-1]-_.slidesGrid[_.slidesGrid.length-2]);var I=(r-_.slidesGrid[E])/T;if(n>_.params.longSwipesMs){if(!_.params.longSwipes)return void _.slideTo(_.activeIndex);"next"===_.swipeDirection&&(I>=_.params.longSwipesRatio?_.slideTo(E+_.params.slidesPerGroup):_.slideTo(E)),"prev"===_.swipeDirection&&(I>1-_.params.longSwipesRatio?_.slideTo(E+_.params.slidesPerGroup):_.slideTo(E))}else{if(!_.params.shortSwipes)return void _.slideTo(_.activeIndex);"next"===_.swipeDirection&&_.slideTo(E+_.params.slidesPerGroup),"prev"===_.swipeDirection&&_.slideTo(E)}}},_._slideTo=function(t,e){return _.slideTo(t,e,!0,!0)},_.slideTo=function(t,e,r,i){"undefined"==typeof r&&(r=!0),"undefined"==typeof t&&(t=0),t<0&&(t=0),_.snapIndex=Math.floor(t/_.params.slidesPerGroup),_.snapIndex>=_.snapGrid.length&&(_.snapIndex=_.snapGrid.length-1);var o=-_.snapGrid[_.snapIndex];_.params.autoplay&&_.autoplaying&&(i||!_.params.autoplayDisableOnInteraction?_.pauseAutoplay(e):_.stopAutoplay()),_.updateProgress(o);for(var s=0;s<_.slidesGrid.length;s++)-Math.floor(100*o)>=Math.floor(100*_.slidesGrid[s])&&(t=s);if(!_.params.allowSwipeToNext&&o<_.translate&&o<_.minTranslate())return!1;if(!_.params.allowSwipeToPrev&&o>_.translate&&o>_.maxTranslate()&&(_.activeIndex||0)!==t)return!1;if("undefined"==typeof e&&(e=_.params.speed),_.previousIndex=_.activeIndex||0,_.activeIndex=t,o===_.translate)return _.updateClasses(),!1;_.updateClasses(),_.onTransitionStart(r);n()?o:0,n()?0:o;return 0===e?(_.setWrapperTransition(0),_.setWrapperTranslate(o),_.onTransitionEnd(r)):(_.setWrapperTransition(e),_.setWrapperTranslate(o),_.animating||(_.animating=!0,_.wrapper.transitionEnd(function(){_&&_.onTransitionEnd(r)}))),!0},_.onTransitionStart=function(t){"undefined"==typeof t&&(t=!0),_.lazy&&_.lazy.onTransitionStart(),t&&(_.emit("onTransitionStart",_),_.activeIndex!==_.previousIndex&&_.emit("onSlideChangeStart",_))},_.onTransitionEnd=function(t){_.animating=!1,_.setWrapperTransition(0),"undefined"==typeof t&&(t=!0),_.lazy&&_.lazy.onTransitionEnd(),t&&(_.emit("onTransitionEnd",_),_.activeIndex!==_.previousIndex&&_.emit("onSlideChangeEnd",_)),_.params.hashnav&&_.hashnav&&_.hashnav.setHash()},_.slideNext=function(t,e,n){if(_.params.loop){if(_.animating)return!1;_.fixLoop();_.container[0].clientLeft;return _.slideTo(_.activeIndex+_.params.slidesPerGroup,e,t,n)}return _.slideTo(_.activeIndex+_.params.slidesPerGroup,e,t,n)},_._slideNext=function(t){return _.slideNext(!0,t,!0)},_.slidePrev=function(t,e,n){if(_.params.loop){if(_.animating)return!1;_.fixLoop();_.container[0].clientLeft;return _.slideTo(_.activeIndex-1,e,t,n)}return _.slideTo(_.activeIndex-1,e,t,n)},_._slidePrev=function(t){return _.slidePrev(!0,t,!0)},_.slideReset=function(t,e,n){return _.slideTo(_.activeIndex,e,t)},_.setWrapperTransition=function(t,e){_.wrapper.transition(t),"slide"!==_.params.effect&&_.effects[_.params.effect]&&_.effects[_.params.effect].setTransition(t),_.params.parallax&&_.parallax&&_.parallax.setTransition(t),_.params.scrollbar&&_.scrollbar&&_.scrollbar.setTransition(t),_.params.control&&_.controller&&_.controller.setTransition(t,e),_.emit("onSetTransition",_,t)},_.setWrapperTranslate=function(t,e,r){var i=0,o=0,s=0;n()?i=_.rtl?-t:t:o=t,_.params.virtualTranslate||(_.support.transforms3d?_.wrapper.transform("translate3d("+i+"px, "+o+"px, "+s+"px)"):_.wrapper.transform("translate("+i+"px, "+o+"px)")),_.translate=n()?i:o,e&&_.updateActiveIndex(),"slide"!==_.params.effect&&_.effects[_.params.effect]&&_.effects[_.params.effect].setTranslate(_.translate),_.params.parallax&&_.parallax&&_.parallax.setTranslate(_.translate),_.params.scrollbar&&_.scrollbar&&_.scrollbar.setTranslate(_.translate),_.params.control&&_.controller&&_.controller.setTranslate(_.translate,r),_.emit("onSetTranslate",_,_.translate)},_.getTranslate=function(t,e){var n,r,i,o;return"undefined"==typeof e&&(e="x"),_.params.virtualTranslate?_.rtl?-_.translate:_.translate:(i=window.getComputedStyle(t,null),window.WebKitCSSMatrix?o=new window.WebKitCSSMatrix("none"===i.webkitTransform?"":i.webkitTransform):(o=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===e&&(r=window.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(r=window.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),_.rtl&&r&&(r=-r),r||0)},_.getWrapperTranslate=function(t){return"undefined"==typeof t&&(t=n()?"x":"y"),_.getTranslate(_.wrapper[0],t)},_.observers=[],_.initObservers=function(){if(_.params.observeParents)for(var t=_.container.parents(),e=0;e<t.length;e++)s(t[e]);s(_.container[0],{childList:!1}),s(_.wrapper[0],{attributes:!1})},_.disconnectObservers=function(){for(var t=0;t<_.observers.length;t++)_.observers[t].disconnect();_.observers=[]},_.createLoop=function(){_.wrapper.children("."+_.params.slideClass+"."+_.params.slideDuplicateClass).remove();var t=_.wrapper.children("."+_.params.slideClass);"auto"!==_.params.slidesPerView||_.params.loopedSlides||(_.params.loopedSlides=t.length),_.loopedSlides=parseInt(_.params.loopedSlides||_.params.slidesPerView,10),_.loopedSlides=_.loopedSlides+_.params.loopAdditionalSlides,_.loopedSlides>t.length&&(_.loopedSlides=t.length);var e,n=[],r=[];for(t.each(function(e,i){var o=jP(this);e<_.loopedSlides&&r.push(i),e<t.length&&e>=t.length-_.loopedSlides&&n.push(i),o.attr("data-swiper-slide-index",e)}),e=0;e<r.length;e++)_.wrapper.append(jP(r[e].cloneNode(!0)).addClass(_.params.slideDuplicateClass));for(e=n.length-1;e>=0;e--)_.wrapper.prepend(jP(n[e].cloneNode(!0)).addClass(_.params.slideDuplicateClass))},_.destroyLoop=function(){_.wrapper.children("."+_.params.slideClass+"."+_.params.slideDuplicateClass).remove(),_.slides.removeAttr("data-swiper-slide-index")},_.fixLoop=function(){var t;_.activeIndex<_.loopedSlides?(t=_.slides.length-3*_.loopedSlides+_.activeIndex,t+=_.loopedSlides,_.slideTo(t,0,!1,!0)):("auto"===_.params.slidesPerView&&_.activeIndex>=2*_.loopedSlides||_.activeIndex>_.slides.length-2*_.params.slidesPerView)&&(t=-_.slides.length+_.activeIndex+_.loopedSlides,t+=_.loopedSlides,_.slideTo(t,0,!1,!0))},_.appendSlide=function(t){if(_.params.loop&&_.destroyLoop(),"object"==typeof t&&t.length)for(var e=0;e<t.length;e++)t[e]&&_.wrapper.append(t[e]);else _.wrapper.append(t);_.params.loop&&_.createLoop(),_.params.observer&&_.support.observer||_.update(!0)},_.prependSlide=function(t){_.params.loop&&_.destroyLoop();var e=_.activeIndex+1;if("object"==typeof t&&t.length){for(var n=0;n<t.length;n++)t[n]&&_.wrapper.prepend(t[n]);e=_.activeIndex+t.length}else _.wrapper.prepend(t);_.params.loop&&_.createLoop(),_.params.observer&&_.support.observer||_.update(!0),_.slideTo(e,0,!1)},_.removeSlide=function(t){_.params.loop&&(_.destroyLoop(),_.slides=_.wrapper.children("."+_.params.slideClass));var e,n=_.activeIndex;if("object"==typeof t&&t.length){for(var r=0;r<t.length;r++)e=t[r],_.slides[e]&&_.slides.eq(e).remove(),e<n&&n--;n=Math.max(n,0)}else e=t,_.slides[e]&&_.slides.eq(e).remove(),e<n&&n--,n=Math.max(n,0);_.params.loop&&_.createLoop(),_.params.observer&&_.support.observer||_.update(!0),_.params.loop?_.slideTo(n+_.loopedSlides,0,!1):_.slideTo(n,0,!1)},_.removeAllSlides=function(){for(var t=[],e=0;e<_.slides.length;e++)t.push(e);_.removeSlide(t)},_.effects={fade:{setTranslate:function(){for(var t=0;t<_.slides.length;t++){var e=_.slides.eq(t),r=e[0].swiperSlideOffset,i=-r;_.params.virtualTranslate||(i-=_.translate);var o=0;n()||(o=i,i=0);var s=_.params.fade.crossFade?Math.max(1-Math.abs(e[0].progress),0):1+Math.min(Math.max(e[0].progress,-1),0);e.css({opacity:s}).transform("translate3d("+i+"px, "+o+"px, 0px)")}},setTransition:function(t){if(_.slides.transition(t),_.params.virtualTranslate&&0!==t){var e=!1;_.slides.transitionEnd(function(){if(!e&&_){e=!0,_.animating=!1;for(var t=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],n=0;n<t.length;n++)_.wrapper.trigger(t[n])}})}}},cube:{setTranslate:function(){var t,e=0;_.params.cube.shadow&&(n()?(t=_.wrapper.find(".swiper-cube-shadow"),0===t.length&&(t=jP('<div class="swiper-cube-shadow"></div>'),_.wrapper.append(t)),t.css({height:_.width+"px"})):(t=_.container.find(".swiper-cube-shadow"),0===t.length&&(t=jP('<div class="swiper-cube-shadow"></div>'),_.container.append(t))));for(var r=0;r<_.slides.length;r++){var i=_.slides.eq(r),o=90*r,s=Math.floor(o/360);_.rtl&&(o=-o,s=Math.floor(-o/360));var a=Math.max(Math.min(i[0].progress,1),-1),l=0,c=0,u=0;r%4===0?(l=4*-s*_.size,u=0):(r-1)%4===0?(l=0,u=4*-s*_.size):(r-2)%4===0?(l=_.size+4*s*_.size,u=_.size):(r-3)%4===0&&(l=-_.size,u=3*_.size+4*_.size*s),_.rtl&&(l=-l),n()||(c=l,l=0);var p="rotateX("+(n()?0:-o)+"deg) rotateY("+(n()?o:0)+"deg) translate3d("+l+"px, "+c+"px, "+u+"px)";if(a<=1&&a>-1&&(e=90*r+90*a,_.rtl&&(e=90*-r-90*a)),i.transform(p),_.params.cube.slideShadows){var h=n()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),f=n()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===h.length&&(h=jP('<div class="swiper-slide-shadow-'+(n()?"left":"top")+'"></div>'),i.append(h)),0===f.length&&(f=jP('<div class="swiper-slide-shadow-'+(n()?"right":"bottom")+'"></div>'),i.append(f));i[0].progress;h.length&&(h[0].style.opacity=-i[0].progress),f.length&&(f[0].style.opacity=i[0].progress)}}if(_.wrapper.css({"-webkit-transform-origin":"50% 50% -"+_.size/2+"px","-moz-transform-origin":"50% 50% -"+_.size/2+"px","-ms-transform-origin":"50% 50% -"+_.size/2+"px","transform-origin":"50% 50% -"+_.size/2+"px"}),_.params.cube.shadow)if(n())t.transform("translate3d(0px, "+(_.width/2+_.params.cube.shadowOffset)+"px, "+-_.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+_.params.cube.shadowScale+")");else{var d=Math.abs(e)-90*Math.floor(Math.abs(e)/90),y=1.5-(Math.sin(2*d*Math.PI/360)/2+Math.cos(2*d*Math.PI/360)/2),g=_.params.cube.shadowScale,m=_.params.cube.shadowScale/y,v=_.params.cube.shadowOffset;t.transform("scale3d("+g+", 1, "+m+") translate3d(0px, "+(_.height/2+v)+"px, "+-_.height/2/m+"px) rotateX(-90deg)")}var b=_.isSafari||_.isUiWebView?-_.size/2:0;_.wrapper.transform("translate3d(0px,0,"+b+"px) rotateX("+(n()?0:e)+"deg) rotateY("+(n()?-e:0)+"deg)")},setTransition:function(t){_.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),_.params.cube.shadow&&!n()&&_.container.find(".swiper-cube-shadow").transition(t)}},coverflow:{setTranslate:function(){for(var t=_.translate,e=n()?-t+_.width/2:-t+_.height/2,r=n()?_.params.coverflow.rotate:-_.params.coverflow.rotate,i=_.params.coverflow.depth,o=0,s=_.slides.length;o<s;o++){
  var a=_.slides.eq(o),l=_.slidesSizesGrid[o],c=a[0].swiperSlideOffset,u=(e-c-l/2)/l*_.params.coverflow.modifier,p=n()?r*u:0,h=n()?0:r*u,f=-i*Math.abs(u),d=n()?0:_.params.coverflow.stretch*u,y=n()?_.params.coverflow.stretch*u:0;Math.abs(y)<.001&&(y=0),Math.abs(d)<.001&&(d=0),Math.abs(f)<.001&&(f=0),Math.abs(p)<.001&&(p=0),Math.abs(h)<.001&&(h=0);var g="translate3d("+y+"px,"+d+"px,"+f+"px)  rotateX("+h+"deg) rotateY("+p+"deg)";if(a.transform(g),a[0].style.zIndex=-Math.abs(Math.round(u))+1,_.params.coverflow.slideShadows){var m=n()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),v=n()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===m.length&&(m=jP('<div class="swiper-slide-shadow-'+(n()?"left":"top")+'"></div>'),a.append(m)),0===v.length&&(v=jP('<div class="swiper-slide-shadow-'+(n()?"right":"bottom")+'"></div>'),a.append(v)),m.length&&(m[0].style.opacity=u>0?u:0),v.length&&(v[0].style.opacity=-u>0?-u:0)}}if(_.browser.ie){var b=_.wrapper[0].style;b.perspectiveOrigin=e+"px 50%"}},setTransition:function(t){_.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}}},_.lazy={initialImageLoaded:!1,loadImageInSlide:function(t,e){if("undefined"!=typeof t&&("undefined"==typeof e&&(e=!0),0!==_.slides.length)){var n=_.slides.eq(t),r=n.find(".swiper-lazy:not(.swiper-lazy-loaded):not(.swiper-lazy-loading)");!n.hasClass("swiper-lazy")||n.hasClass("swiper-lazy-loaded")||n.hasClass("swiper-lazy-loading")||r.add(n[0]),0!==r.length&&r.each(function(){var t=jP(this);t.addClass("swiper-lazy-loading");var r=t.attr("data-background"),i=t.attr("data-src");_.loadImage(t[0],i||r,!1,function(){if(r?(t.css("background-image","url("+r+")"),t.removeAttr("data-background")):(t.attr("src",i),t.removeAttr("data-src")),t.addClass("swiper-lazy-loaded").removeClass("swiper-lazy-loading"),n.find(".swiper-lazy-preloader, .preloader").remove(),_.params.loop&&e){var o=n.attr("data-swiper-slide-index");if(n.hasClass(_.params.slideDuplicateClass)){var s=_.wrapper.children('[data-swiper-slide-index="'+o+'"]:not(.'+_.params.slideDuplicateClass+")");_.lazy.loadImageInSlide(s.index(),!1)}else{var a=_.wrapper.children("."+_.params.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]');_.lazy.loadImageInSlide(a.index(),!1)}}_.emit("onLazyImageReady",_,n[0],t[0])}),_.emit("onLazyImageLoad",_,n[0],t[0])})}},load:function(){var t;if(_.params.watchSlidesVisibility)_.wrapper.children("."+_.params.slideVisibleClass).each(function(){_.lazy.loadImageInSlide(jP(this).index())});else if(_.params.slidesPerView>1)for(t=_.activeIndex;t<_.activeIndex+_.params.slidesPerView;t++)_.slides[t]&&_.lazy.loadImageInSlide(t);else _.lazy.loadImageInSlide(_.activeIndex);if(_.params.lazyLoadingInPrevNext)if(_.params.slidesPerView>1){for(t=_.activeIndex+_.params.slidesPerView;t<_.activeIndex+_.params.slidesPerView+_.params.slidesPerView;t++)_.slides[t]&&_.lazy.loadImageInSlide(t);for(t=_.activeIndex-_.params.slidesPerView;t<_.activeIndex;t++)_.slides[t]&&_.lazy.loadImageInSlide(t)}else{var e=_.wrapper.children("."+_.params.slideNextClass);e.length>0&&_.lazy.loadImageInSlide(e.index());var n=_.wrapper.children("."+_.params.slidePrevClass);n.length>0&&_.lazy.loadImageInSlide(n.index())}},onTransitionStart:function(){_.params.lazyLoading&&(_.params.lazyLoadingOnTransitionStart||!_.params.lazyLoadingOnTransitionStart&&!_.lazy.initialImageLoaded)&&_.lazy.load()},onTransitionEnd:function(){_.params.lazyLoading&&!_.params.lazyLoadingOnTransitionStart&&_.lazy.load()}},_.scrollbar={set:function(){if(_.params.scrollbar){var t=_.scrollbar;t.track=jP(_.params.scrollbar),t.drag=t.track.find(".swiper-scrollbar-drag"),0===t.drag.length&&(t.drag=jP('<div class="swiper-scrollbar-drag"></div>'),t.track.append(t.drag)),t.drag[0].style.width="",t.drag[0].style.height="",t.trackSize=n()?t.track[0].offsetWidth:t.track[0].offsetHeight,t.divider=_.size/_.virtualSize,t.moveDivider=t.divider*(t.trackSize/_.size),t.dragSize=t.trackSize*t.divider,n()?t.drag[0].style.width=t.dragSize+"px":t.drag[0].style.height=t.dragSize+"px",t.divider>=1?t.track[0].style.display="none":t.track[0].style.display="",_.params.scrollbarHide&&(t.track[0].style.opacity=0)}},setTranslate:function(){if(_.params.scrollbar){var t,e=_.scrollbar,r=(_.translate||0,e.dragSize);t=(e.trackSize-e.dragSize)*_.progress,_.rtl&&n()?(t=-t,t>0?(r=e.dragSize-t,t=0):-t+e.dragSize>e.trackSize&&(r=e.trackSize+t)):t<0?(r=e.dragSize+t,t=0):t+e.dragSize>e.trackSize&&(r=e.trackSize-t),n()?(_.support.transforms3d?e.drag.transform("translate3d("+t+"px, 0, 0)"):e.drag.transform("translateX("+t+"px)"),e.drag[0].style.width=r+"px"):(_.support.transforms3d?e.drag.transform("translate3d(0px, "+t+"px, 0)"):e.drag.transform("translateY("+t+"px)"),e.drag[0].style.height=r+"px"),_.params.scrollbarHide&&(clearTimeout(e.timeout),e.track[0].style.opacity=1,e.timeout=setTimeout(function(){e.track[0].style.opacity=0,e.track.transition(400)},1e3))}},setTransition:function(t){_.params.scrollbar&&_.scrollbar.drag.transition(t)}},_.controller={LinearSpline:function(t,e){this.x=t,this.y=e,this.lastIndex=t.length-1;var n,r;this.x.length;this.interpolate=function(t){return t?(r=i(this.x,t),n=r-1,(t-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0};var i=function(){var t,e,n;return function(r,i){for(e=-1,t=r.length;t-e>1;)r[n=t+e>>1]<=i?e=n:t=n;return t}}()},getInterpolateFunction:function(t){_.controller.spline||(_.controller.spline=_.params.loop?new _.controller.LinearSpline(_.slidesGrid,t.slidesGrid):new _.controller.LinearSpline(_.snapGrid,t.snapGrid))},setTranslate:function(t,e){function n(e){t=e.rtl&&"horizontal"===e.params.direction?-_.translate:_.translate,"slide"===_.params.controlBy&&(_.controller.getInterpolateFunction(e),i=-_.controller.spline.interpolate(-t)),i&&"container"!==_.params.controlBy||(r=(e.maxTranslate()-e.minTranslate())/(_.maxTranslate()-_.minTranslate()),i=(t-_.minTranslate())*r+e.minTranslate()),_.params.controlInverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setWrapperTranslate(i,!1,_),e.updateActiveIndex()}var r,i,o=_.params.control;if(_.isArray(o))for(var s=0;s<o.length;s++)o[s]!==e&&o[s]instanceof Yo&&n(o[s]);else o instanceof Yo&&e!==o&&n(o)},setTransition:function(t,e){function n(e){e.setWrapperTransition(t,_),0!==t&&(e.onTransitionStart(),e.wrapper.transitionEnd(function(){i&&(e.params.loop&&"slide"===_.params.controlBy&&e.fixLoop(),e.onTransitionEnd())}))}var r,i=_.params.control;if(_.isArray(i))for(r=0;r<i.length;r++)i[r]!==e&&i[r]instanceof Yo&&n(i[r]);else i instanceof Yo&&e!==i&&n(i)}},_.hashnav={init:function(){if(_.params.hashnav){_.hashnav.initialized=!0;var t=document.location.hash.replace("#","");if(t)for(var e=0,n=0,r=_.slides.length;n<r;n++){var i=_.slides.eq(n),o=i.attr("data-hash");if(o===t&&!i.hasClass(_.params.slideDuplicateClass)){var s=i.index();_.slideTo(s,e,_.params.runCallbacksOnInit,!0)}}}},setHash:function(){_.hashnav.initialized&&_.params.hashnav&&(document.location.hash=_.slides.eq(_.activeIndex).attr("data-hash")||"")}},_.disableKeyboardControl=function(){jP(document).off("keydown",a)},_.enableKeyboardControl=function(){jP(document).on("keydown",a)},_.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},_.params.mousewheelControl){try{new window.WheelEvent("wheel"),_.mousewheel.event="wheel"}catch(t){}_.mousewheel.event||void 0===document.onmousewheel||(_.mousewheel.event="mousewheel"),_.mousewheel.event||(_.mousewheel.event="DOMMouseScroll")}_.disableMousewheelControl=function(){return!!_.mousewheel.event&&(_.container.off(_.mousewheel.event,l),!0)},_.enableMousewheelControl=function(){return!!_.mousewheel.event&&(_.container.on(_.mousewheel.event,l),!0)},_.parallax={setTranslate:function(){_.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){c(this,_.progress)}),_.slides.each(function(){var t=jP(this);t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var e=Math.min(Math.max(t[0].progress,-1),1);c(this,e)})})},setTransition:function(t){"undefined"==typeof t&&(t=_.params.speed),_.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var e=jP(this),n=parseInt(e.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),e.transition(n)})}},_._plugins=[];for(var k in _.plugins){var R=_.plugins[k](_,_.params[k]);R&&_._plugins.push(R)}return _.callPlugins=function(t){for(var e=0;e<_._plugins.length;e++)t in _._plugins[e]&&_._plugins[e][t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},_.emitterEventListeners={},_.emit=function(t){_.params[t]&&_.params[t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var e;if(_.emitterEventListeners[t])for(e=0;e<_.emitterEventListeners[t].length;e++)_.emitterEventListeners[t][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);_.callPlugins&&_.callPlugins(t,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},_.on=function(t,e){return t=u(t),_.emitterEventListeners[t]||(_.emitterEventListeners[t]=[]),_.emitterEventListeners[t].push(e),_},_.off=function(t,e){var n;if(t=u(t),"undefined"==typeof e)return _.emitterEventListeners[t]=[],_;if(_.emitterEventListeners[t]&&0!==_.emitterEventListeners[t].length){for(n=0;n<_.emitterEventListeners[t].length;n++)_.emitterEventListeners[t][n]===e&&_.emitterEventListeners[t].splice(n,1);return _}},_.once=function(t,e){t=u(t);var n=function(){e(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),_.off(t,n)};return _.on(t,n),_},_.a11y={makeFocusable:function(t){return t.attr("tabIndex","0"),t},addRole:function(t,e){return t.attr("role",e),t},addLabel:function(t,e){return t.attr("aria-label",e),t},disable:function(t){return t.attr("aria-disabled",!0),t},enable:function(t){return t.attr("aria-disabled",!1),t},onEnterKey:function(t){13===t.keyCode&&(jP(t.target).is(_.params.nextButton)?(_.onClickNext(t),_.isEnd?_.a11y.notify(_.params.lastSlideMessage):_.a11y.notify(_.params.nextSlideMessage)):jP(t.target).is(_.params.prevButton)&&(_.onClickPrev(t),_.isBeginning?_.a11y.notify(_.params.firstSlideMessage):_.a11y.notify(_.params.prevSlideMessage)),jP(t.target).is("."+_.params.bulletClass)&&jP(t.target)[0].click())},liveRegion:jP('<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>'),notify:function(t){var e=_.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},init:function(){if(_.params.nextButton){var t=jP(_.params.nextButton);_.a11y.makeFocusable(t),_.a11y.addRole(t,"button"),_.a11y.addLabel(t,_.params.nextSlideMessage)}if(_.params.prevButton){var e=jP(_.params.prevButton);_.a11y.makeFocusable(e),_.a11y.addRole(e,"button"),_.a11y.addLabel(e,_.params.prevSlideMessage)}jP(_.container).append(_.a11y.liveRegion)},initPagination:function(){_.params.pagination&&_.params.paginationClickable&&_.bullets&&_.bullets.length&&_.bullets.each(function(){var t=jP(this);_.a11y.makeFocusable(t),_.a11y.addRole(t,"button"),_.a11y.addLabel(t,_.params.paginationBulletMessage.replace(/{{index}}/,t.index()+1))})},destroy:function(){_.a11y.liveRegion&&_.a11y.liveRegion.length>0&&_.a11y.liveRegion.remove()}},_.init=function(){_.params.loop&&_.createLoop(),_.updateContainerSize(),_.updateSlidesSize(),_.updatePagination(),_.params.scrollbar&&_.scrollbar&&_.scrollbar.set(),"slide"!==_.params.effect&&_.effects[_.params.effect]&&(_.params.loop||_.updateProgress(),_.effects[_.params.effect].setTranslate()),_.params.loop?_.slideTo(_.params.initialSlide+_.loopedSlides,0,_.params.runCallbacksOnInit):(_.slideTo(_.params.initialSlide,0,_.params.runCallbacksOnInit),0===_.params.initialSlide&&(_.parallax&&_.params.parallax&&_.parallax.setTranslate(),_.lazy&&_.params.lazyLoading&&(_.lazy.load(),_.lazy.initialImageLoaded=!0))),_.attachEvents(),_.params.observer&&_.support.observer&&_.initObservers(),_.params.preloadImages&&!_.params.lazyLoading&&_.preloadImages(),_.params.autoplay&&_.startAutoplay(),_.params.keyboardControl&&_.enableKeyboardControl&&_.enableKeyboardControl(),_.params.mousewheelControl&&_.enableMousewheelControl&&_.enableMousewheelControl(),_.params.hashnav&&_.hashnav&&_.hashnav.init(),_.params.a11y&&_.a11y&&_.a11y.init(),_.emit("onInit",_)},_.cleanupStyles=function(){_.container.removeClass(_.classNames.join(" ")).removeAttr("style"),_.wrapper.removeAttr("style"),_.slides&&_.slides.length&&_.slides.removeClass([_.params.slideVisibleClass,_.params.slideActiveClass,_.params.slideNextClass,_.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),_.paginationContainer&&_.paginationContainer.length&&_.paginationContainer.removeClass(_.params.paginationHiddenClass),_.bullets&&_.bullets.length&&_.bullets.removeClass(_.params.bulletActiveClass),_.params.prevButton&&jP(_.params.prevButton).removeClass(_.params.buttonDisabledClass),_.params.nextButton&&jP(_.params.nextButton).removeClass(_.params.buttonDisabledClass),_.params.scrollbar&&_.scrollbar&&(_.scrollbar.track&&_.scrollbar.track.length&&_.scrollbar.track.removeAttr("style"),_.scrollbar.drag&&_.scrollbar.drag.length&&_.scrollbar.drag.removeAttr("style"))},_.destroy=function(t,e){_.detachEvents(),_.stopAutoplay(),_.params.loop&&_.destroyLoop(),e&&_.cleanupStyles(),_.disconnectObservers(),_.params.keyboardControl&&_.disableKeyboardControl&&_.disableKeyboardControl(),_.params.mousewheelControl&&_.disableMousewheelControl&&_.disableMousewheelControl(),_.params.a11y&&_.a11y&&_.a11y.destroy(),_.emit("onDestroy"),t!==!1&&(_=null)},_.init(),_}}function Xo(t){t.fn.swiper=function(e){var n;return t(this).each(function(){var t=new Yo(this,e);n||(n=t)}),n}}function $o(t){t=Math.abs(t);var e=t/JP;return Math.min(400,Math.max(150,e))}function Ko(t,e,n,r,i,o){var s,a,l,c,u=e.length-1;if(n.length){if(l=n[n.length-1],l.top+l.height>t)return;a=l.record+1}else l={row:0,width:0,height:0,top:0,left:0,tmpl:-1},a=0;for(var p=0,h=a;h<=u;h++)if(s=e[h],r&&(c=r(s,h,e),null!==c&&(l=Zo(l,h,_S,c,o.hdrWidth,o.hdrHeight,o.viewWidth),n.push(l))),l=Zo(l,h,dS,null,o.itmWidth,o.itmHeight,o.viewWidth),n.push(l),i&&(c=i(s,h,e),null!==c&&(l=Zo(l,h,yS,c,o.ftrWidth,o.ftrHeight,o.viewWidth),n.push(l))),l.record===u&&(l.isLast=!0),p++,l.top+l.height+o.itmHeight>t&&p>3)return}function Zo(t,e,n,r,i,o,s){var a;return a=t.left+t.width+i>s?{record:e,tmpl:n,row:t.row+1,width:i,height:o,top:t.top+t.height,left:0,reads:0}:{record:e,tmpl:n,row:t.row,width:i,height:o,top:t.top,left:t.left+t.width,reads:0},r&&(a.data=r),a}function Qo(t,e,n,r,i,o,s,a,l,c,u,p){var h,f,d,_,y,g=!1,m=o.length-1,v=null,b=s.length;t=Math.max(t,0),e=Math.min(e,i.length-1);for(var w=t;w<=e;w++){if(d=i[w],f=null,_=!1,!p){for(var C=0;C<b;C++)if(h=s[C],d.tmpl===h.tmpl&&(0!==C||0===w))if(h.isLastRecord){if(d.record===m){f=s[C],f.hidden=!1;break}}else{if(h.cell===w){_=!0;break}(h.cell<t||h.cell>e)&&(f?r?h.cell<f.cell&&(f=s[C]):h.cell>f.cell&&(f=s[C]):f=s[C])}if(_)continue}if(!f){if(null===v){v=-1;for(var E=b-1;E>=0;E--)if(h=s[E],h&&!h.isLastRecord){v=a.indexOf(h.view);break}}if(y=d.tmpl===_S?c:d.tmpl===yS?u:l,!y){console.error("virtual"+(d.tmpl===_S?"Header":d.tmpl===yS?"Footer":"Item")+" template required");continue}f={tmpl:d.tmpl,view:a.createEmbeddedView(y,new fS(null,null,null),v)},b=s.push(f)}f.cell=w,f.view.context.$implicit=d.data||o[d.record],f.view.context.index=w,f.hasChanges=!0,f.lastTransform=null,g=!0}if(p){var x=o[m]||{};Jo(s,a,_S,c,x),Jo(s,a,dS,l,x),Jo(s,a,yS,u,x)}return g}function Jo(t,e,n,r,i){if(r){var o={tmpl:n,view:e.createEmbeddedView(r),isLastRecord:!0,hidden:!0};o.view.context.$implicit=i,t.push(o)}}function ts(t,e,n){if(t.length&&e.length){var r=us(t[0]);e[0].top=r.clientTop,e[0].left=r.clientLeft,e[0].row=0,es(t,e,n,!0);for(var i=0;i<t.length;i++)t[i].hidden&&us(t[i]).classList.add("virtual-hidden")}}function es(t,e,n,r){for(var i,o,s,a,l=e.length,c=0;c<t.length;c++)i=t[c],s=e[i.cell],s&&s.reads<mS&&!i.hidden&&(o=us(i),ns(s,o),r&&(s.tmpl===_S?(n.hdrHeight=s.height,0===s.left&&(n.hdrWidth=s.width)):s.tmpl===yS?(n.ftrHeight=s.height,0===s.left&&(n.ftrWidth=s.width)):(n.itmHeight=s.height,0===s.left&&(n.itmWidth=s.width))),s.reads++);var u=n.scrollTop+n.viewHeight;n.topViewCell=l,n.bottomViewCell=0;for(var c=1;c<l;c++)s=e[c],a=e[c-1],a.left+a.width+s.width>n.viewWidth?(s.row++,s.top=a.top+a.height,s.left=0):(s.row=a.row,s.top=a.top,s.left=a.left+a.width),s.top+s.height>n.scrollTop&&c<n.topViewCell?n.topViewCell=c:s.top<u&&c>n.bottomViewCell&&(n.bottomViewCell=c)}function ns(t,e){var n=window.getComputedStyle(e);t.left=e.offsetLeft-parseFloat(n.marginLeft),t.width=e.offsetWidth+parseFloat(n.marginLeft)+parseFloat(n.marginRight),t.height=e.offsetHeight+parseFloat(n.marginTop)+parseFloat(n.marginBottom)}function rs(t,e,n){for(var r,i,o,s,a=Math.max(n,e.length).toString(),l=0,c=t.length;l<c;l++)r=t[l],r.hidden||(o=e[r.cell],s="translate3d("+o.left+"px,"+o.top+"px,0px)",r.lastTransform!==s&&(i=us(r),i&&(i.style[ab.transform]=r.lastTransform=s,i.classList.add("virtual-position"),r.isLastRecord&&i.classList.remove("virtual-hidden"),i.setAttribute("aria-posinset",(r.cell+1).toString()),i.setAttribute("aria-setsize",a))))}function is(t,e){var n,r=-1,i=0,o=e.renderHeight-e.itmHeight,s=t.length,a=e.itmHeight<90?gS:0;if(e.scrollDiff>0){e.topCell=Math.max(e.topViewCell-a,0),e.bottomCell=Math.min(e.topCell+2,s-1);for(var l=e.topCell;l<s&&(n=t[l],n.row!==r&&(i+=n.height,r=n.row),l>e.bottomCell&&(e.bottomCell=l),!(i>=o));l++);}else{e.bottomCell=Math.min(e.bottomViewCell+a,s-1),e.topCell=Math.max(e.bottomCell-2,0);for(var l=e.bottomCell;l>=0&&(n=t[l],n.row!==r&&(i+=n.height,r=n.row),l<e.topCell&&(e.topCell=l),!(i>=o));l--);}}function os(t,e){if(e.record>=t-1)return e.top+e.height;var n=t-e.record-1,r=e.top+e.height;return Math.ceil(r+r/(t-n)*n)}function ss(t,e,n,r){var i=os(t,e),o=e.record/(t-1),s=Math.abs(n-i);return s>i*r||o>.995?i:n}function as(t,e,n,r,i,o,s,a,l){t.viewWidth=e.offsetWidth,t.viewHeight=e.offsetHeight,t.renderHeight=t.viewHeight*l,t.viewWidth>0&&t.viewHeight>0&&(t.itmWidth=ls(t.viewWidth,n),t.itmHeight=cs(t.viewHeight,r),t.hdrWidth=ls(t.viewWidth,i),t.hdrHeight=cs(t.viewHeight,o),t.ftrWidth=ls(t.viewWidth,s),t.ftrHeight=cs(t.viewHeight,a),t.valid=!0)}function ls(t,e){if(e.indexOf("%")>0)return t*(parseFloat(e)/100);if(e.indexOf("px")>0)return parseFloat(e);throw'virtual scroll width can only use "%" or "px" units'}function cs(t,e){if(e.indexOf("px")>0)return parseFloat(e);throw'virtual scroll height must use "px" units'}function us(t){for(var e=t.view.rootNodes,n=0;n<e.length;n++)if(1===e[n].nodeType)return e[n];return null}function ps(t,e,n){return"path"===n.get("locationStrategy")?new Mf(t,e):new Df(t,e)}function hs(){return window&&window.navigator.userAgent}function fs(){return window&&window.navigator.platform}function ds(){return window&&window.location.href}function _s(){return document&&document.documentElement.dir}function ys(){return document&&document.documentElement.lang}function gs(t){if(window.angular){var e=window.angular.module("ionic.native",[]);for(var n in t){var r="$cordova"+n,i=t[n];!function(t,n,r){e.service(t,[function(){var t=window.angular.copy(n);return t.prototype.name=r,t}])}(r,i,n)}}}function ms(t,e){for(var n=0,e=e.split("."),r=e.length;n<r;n++){if(!t)return null;t=t[e[n]]}return t}function vs(t,e,n,r){if(void 0===e&&(e={}),e.sync)return t;if("reverse"===e.callbackOrder)t.unshift(r),t.unshift(n);else if("node"===e.callbackStyle)t.push(function(t,e){t?r(t):n(e)});else if("object"===e.callbackStyle&&e.successName&&e.errorName){var i={};i[e.successName]=n,i[e.errorName]=r,t.push(i)}else"undefined"!=typeof e.successIndex||"undefined"!=typeof e.errorIndex?(e.successIndex>t.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n),e.errorIndex>t.length?t[e.errorIndex]=r:t.splice(e.errorIndex,0,r)):(t.push(n),t.push(r));return t}function bs(t,e,n,r,i,o){void 0===r&&(r={}),n=vs(n,r,i,o);var s=NS(t.pluginRef);return s?ms(window,t.pluginRef)[e].apply(s,n):window.cordova?(MS(t,e),{error:"plugin_not_installed"}):(LS(t.name,e),{error:"cordova_not_available"})}function ws(t){var e=function(){return window.Promise?new Promise(function(e,n){t(e,n)}):void console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular 1/2 or on a recent browser.")};if(window.angular){var n=window.angular.element(document.querySelector("[ng-app]")||document.body).injector();if(n){var r=n.get("$q");return r(function(e,n){t(e,n)})}return console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve."),e()}return e()}function Cs(t,e,n,r){void 0===r&&(r={});var i,o,s=ws(function(s,a){i=bs(t,e,n,r,s,a),o=a});return i&&i.error&&(s.catch(function(){}),o(i.error)),s}function Es(t,e,n,r){return void 0===r&&(r={}),ws(function(i,o){var s=bs(t,e,n,r);s&&s.error&&o(s.error),s.then(i).catch(o)})}function xs(t,e,n,r){return void 0===r&&(r={}),new Up(function(i){var o=bs(t,e,n,r,i.next.bind(i),i.error.bind(i));return o&&o.error&&i.error(o.error),function(){try{if(r.clearFunction)return r.clearWithArgs?ms(window,t.pluginRef)[r.clearFunction].apply(t,n):ms(window,t.pluginRef)[r.clearFunction].call(t,o)}catch(n){console.warn("Unable to clear the previous observable watch for",t.name,e),console.error(n)}}})}function Os(t,e,n,r,i,o){return void 0===r&&(r={}),n=vs(n,r,i,o),t._objectInstance[e].apply(t._objectInstance,n)}function Ts(t,e,n){return void 0===n&&(n={}),function(){for(var r=[],i=0;i<arguments.length;i++)r[i-0]=arguments[i];return n.sync?Os(t,e,r,n):n.observable?new Up(function(i){var o=Os(t,e,r,n,i.next.bind(i),i.error.bind(i));return function(){try{return n.clearWithArgs?t._objectInstance[n.clearFunction].apply(t._objectInstance,r):t._objectInstance[n.clearFunction].call(t,o)}catch(n){console.warn("Unable to clear the previous observable watch for",t.name,e),console.error(n)}}}):ws(n.otherPromise?function(i,o){var s=Os(t,e,r,n,i,o);s.then(i,o)}:function(i,o){Os(t,e,r,n,i,o)})}}function Ps(t){return new Up(function(e){return window.addEventListener(t,e.next.bind(e),!1),function(){return window.removeEventListener(t,e.next.bind(e),!1)}})}function Ss(t,e,n,r){return void 0===r&&(r={}),new Up(function(n){var r=NS(t.pluginRef);if(!r)return window.cordova||(LS(t.name,e),n.error({error:"cordova_not_available"})),MS(t,e),void n.error({error:"plugin_not_installed"});var i=r[e];return i?void(r[e]=n.next.bind(n)):(n.error({error:"no_such_method"}),void n.complete())})}function Is(t){return function(e){for(var n in t)e[n]=t[n];return e.installed=function(e){return!!NS(t.pluginRef)},e.getPlugin=function(){return NS(t.pluginRef)},e.checkInstall=function(){var n=NS(t.pluginRef);return!!n||(MS(e),!1)},e}}function As(t){return void 0===t&&(t={}),function(e,n,r){return{value:function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];return VS(this,n,t).apply(this,e)}}}}function ks(t){return void 0===t&&(t={}),function(e,n){return{value:function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];return Ts(this,n,t).apply(this,e)}}}}function Rs(t,e,n){var r=n.get;return n.get=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];if(!window.cordova)return LS(this.name,null),{};var i=this,o=NS(i.pluginRef);return o?r.apply(this,t):(MS(this,e),{})},n}function js(t,e,n){return n.get=function(){return this._objectInstance[e]},n.set=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];this._objectInstance[e]=t[0]},n}function Ds(t){return void 0===t&&(t={}),function(e,n,r){return{value:function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];return Ss(this,n,t)}}}}function Ns(t,e,n){return null===oj&&(oj=t.createRenderComponentType("",0,Dl.None,[],{})),new sj(t,e,n)}function Ms(t,e,n){return null===lj&&(lj=t.createRenderComponentType("",1,Dl.None,aj,{})),new cj(t,e,n)}function Ls(t,e,n){return null===pj&&(pj=t.createRenderComponentType("",0,Dl.None,[],{})),new hj(t,e,n)}function Vs(t,e,n){return null===_j&&(_j=t.createRenderComponentType("",0,Dl.None,dj,{})),new yj(t,e,n)}function Fs(t,e,n){return new gj(t,e,n)}function Bs(t,e,n){return new mj(t,e,n)}function Hs(t,e,n){return new vj(t,e,n)}function zs(t,e,n){return new bj(t,e,n)}function Us(t,e,n){return new wj(t,e,n)}function Gs(t,e,n){return new Cj(t,e,n)}function Ws(t,e,n){return null===xj&&(xj=t.createRenderComponentType("",0,Dl.None,[],{})),new Oj(t,e,n)}function qs(t,e,n){return null===Sj&&(Sj=t.createRenderComponentType("",0,Dl.None,Pj,{})),new Ij(t,e,n)}function Ys(t,e,n){return new Aj(t,e,n)}function Xs(t,e,n){return new kj(t,e,n)}function $s(t,e,n){return new Rj(t,e,n)}function Ks(t,e,n){return new jj(t,e,n)}function Zs(t,e,n){return new Dj(t,e,n)}function Qs(t,e,n){return new Nj(t,e,n)}function Js(t,e,n){return new Mj(t,e,n)}function ta(t,e,n){return new Lj(t,e,n)}function ea(t,e,n){return new Vj(t,e,n)}function na(t,e,n){return new Fj(t,e,n)}function ra(t,e,n){return null===Hj&&(Hj=t.createRenderComponentType("",0,Dl.None,[],{})),new zj(t,e,n)}function ia(t,e,n){return null===Wj&&(Wj=t.createRenderComponentType("",0,Dl.None,Gj,{})),new qj(t,e,n)}function oa(t,e,n){return null===Xj&&(Xj=t.createRenderComponentType("",0,Dl.None,[],{})),new $j(t,e,n)}function sa(t,e,n){return null===Zj&&(Zj=t.createRenderComponentType("",0,Dl.None,Kj,{})),new Qj(t,e,n)}function aa(t,e,n){return new Jj(t,e,n)}function la(t,e,n){return new tD(t,e,n)}function ca(t,e,n){return null===nD&&(nD=t.createRenderComponentType("",0,Dl.None,[],{})),new rD(t,e,n)}function ua(t,e,n){return null===sD&&(sD=t.createRenderComponentType("",0,Dl.None,oD,{})),new aD(t,e,n)}function pa(t,e,n){return new lD(t,e,n)}function ha(t,e,n){return new cD(t,e,n)}function fa(t,e,n){return null===pD&&(pD=t.createRenderComponentType("",0,Dl.None,[],{})),new hD(t,e,n)}function da(t,e,n){return null===_D&&(_D=t.createRenderComponentType("",0,Dl.None,dD,{})),new yD(t,e,n)}function _a(t,e,n){return null===mD&&(mD=t.createRenderComponentType("",0,Dl.None,[],{})),new vD(t,e,n)}function ya(t,e,n){return null===wD&&(wD=t.createRenderComponentType("",0,Dl.None,bD,{})),new CD(t,e,n)}function ga(t,e,n){return new ED(t,e,n)}function ma(t,e,n){return new xD(t,e,n)}function va(t,e,n){return new OD(t,e,n)}function ba(t,e,n){return null===TD&&(TD=t.createRenderComponentType("",0,Dl.None,[],{})),new PD(t,e,n)}function wa(t,e,n){return null===AD&&(AD=t.createRenderComponentType("",0,Dl.None,ID,{})),new kD(t,e,n)}function Ca(t,e,n){return new RD(t,e,n)}function Ea(t,e,n){return new jD(t,e,n)}function xa(t,e,n){return null===ND&&(ND=t.createRenderComponentType("",0,Dl.None,[],{})),new MD(t,e,n)}function Oa(t,e,n){return null===FD&&(FD=t.createRenderComponentType("",0,Dl.None,VD,{})),new BD(t,e,n)}function Ta(t,e,n){return null===zD&&(zD=t.createRenderComponentType("",0,Dl.None,[],{})),new UD(t,e,n)}function Pa(t,e,n){return null===qD&&(qD=t.createRenderComponentType("",0,Dl.None,WD,{})),new YD(t,e,n)}function Sa(t,e,n){return new XD(t,e,n)}function Ia(t,e,n){return new $D(t,e,n)}function Aa(t,e,n){return null===ZD&&(ZD=t.createRenderComponentType("",0,Dl.None,[],{})),new QD(t,e,n)}function ka(t,e,n){return null===tN&&(tN=t.createRenderComponentType("",0,Dl.None,JD,{})),new eN(t,e,n)}function Ra(t,e,n){return null===rN&&(rN=t.createRenderComponentType("",0,Dl.None,[],{})),new iN(t,e,n)}function ja(t,e,n){return null===aN&&(aN=t.createRenderComponentType("",0,Dl.None,sN,{})),new lN(t,e,n)}function Da(t,e,n){return null===uN&&(uN=t.createRenderComponentType("",0,Dl.None,[],{})),new pN(t,e,n)}function Na(t,e,n){return null===fN&&(fN=t.createRenderComponentType("",4,Dl.None,hN,{})),new dN(t,e,n)}function Ma(t,e,n){return null===yN&&(yN=t.createRenderComponentType("",0,Dl.None,[],{})),new gN(t,e,n)}function La(t,e,n){return null===vN&&(vN=t.createRenderComponentType("",1,Dl.None,mN,{})),new bN(t,e,n)}function Va(t,e,n){return null===CN&&(CN=t.createRenderComponentType("",0,Dl.None,[],{})),new EN(t,e,n)}function Fa(t,e,n){return null===ON&&(ON=t.createRenderComponentType("",3,Dl.None,xN,{})),new TN(t,e,n)}function Ba(t,e,n){return null===SN&&(SN=t.createRenderComponentType("",0,Dl.None,[],{})),new IN(t,e,n)}function Ha(t,e,n){return null===RN&&(RN=t.createRenderComponentType("",0,Dl.Emulated,kN,{})),new jN(t,e,n)}function za(t,e,n){return null===NN&&(NN=t.createRenderComponentType("",0,Dl.None,[],{})),new MN(t,e,n)}function Ua(t,e,n){return null===VN&&(VN=t.createRenderComponentType("",0,Dl.None,LN,{})),new FN(t,e,n)}function Ga(t,e,n){return null===HN&&(HN=t.createRenderComponentType("",0,Dl.None,[],{})),new zN(t,e,n)}function Wa(t,e,n){return null===GN&&(GN=t.createRenderComponentType("",5,Dl.None,UN,{})),new WN(t,e,n)}function qa(t,e,n){return new qN(t,e,n)}function Ya(t,e,n){return null===XN&&(XN=t.createRenderComponentType("",0,Dl.None,[],{})),new $N(t,e,n)}function Xa(t,e,n){return null===ZN&&(ZN=t.createRenderComponentType("",0,Dl.None,KN,{})),new QN(t,e,n)}function $a(t,e,n){return new JN(t,e,n)}function Ka(t,e,n){return new tM(t,e,n)}function Za(t,e,n){return null===eM&&(eM=t.createRenderComponentType("",0,Dl.None,[],{})),new nM(t,e,n)}function Qa(t,e,n){return null===iM&&(iM=t.createRenderComponentType("",0,Dl.None,rM,{})),new oM(t,e,n)}function Ja(t,e,n){return new sM(t,e,n)}function tl(t,e,n){return new aM(t,e,n)}function el(t,e,n){return null===cM&&(cM=t.createRenderComponentType("",0,Dl.None,[],{})),new uM(t,e,n)}function nl(t,e,n){return null===fM&&(fM=t.createRenderComponentType("",0,Dl.Emulated,hM,{})),new dM(t,e,n)}var rl,il=function(){function t(){}return 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}(),ol="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};rl="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:ol:window;var sl=rl;sl.assert=function(t){};var al,ll=(function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),null),cl=0,ul=sl.Reflect,pl=v("Inject",[["token",void 0]]),hl=v("Optional",[]),fl=v("Injectable",[]),dl=v("Self",[]),_l=v("SkipSelf",[]),yl=v("Host",[]),gl=function(){function t(t){this._desc=t}return t.prototype.toString=function(){return"Token "+this._desc},t.decorators=[{type:fl}],t.ctorParameters=[null],t}(),ml=new gl("AnalyzeForEntryComponents"),vl=v("Attribute",[["attributeName",void 0]]),bl=function(){function t(){}return t}(),wl=b("ContentChildren",[["selector",void 0],{first:!1,isViewQuery:!1,descendants:!1,read:void 0}],bl),Cl=b("ContentChild",[["selector",void 0],{first:!0,isViewQuery:!1,descendants:!0,read:void 0}],bl),El=b("ViewChildren",[["selector",void 0],{first:!1,isViewQuery:!0,descendants:!0,read:void 0}],bl),xl=b("ViewChild",[["selector",void 0],{
  first:!0,isViewQuery:!0,descendants:!0,read:void 0}],bl);!function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"}(al||(al={}));var Ol;!function(t){t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed"}(Ol||(Ol={}));var Tl,Pl=g("Directive",{selector:void 0,inputs:void 0,outputs:void 0,host:void 0,providers:void 0,exportAs:void 0,queries:void 0}),Sl=g("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:al.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},Pl),Il=g("Pipe",{name:void 0,pure:!0}),Al=b("Input",[["bindingPropertyName",void 0]]),kl=b("Output",[["bindingPropertyName",void 0]]),Rl=b("HostBinding",[["hostPropertyName",void 0]]),jl=b("HostListener",[["eventName",void 0],["args",[]]]);!function(t){t[t.OnInit=0]="OnInit",t[t.OnDestroy=1]="OnDestroy",t[t.DoCheck=2]="DoCheck",t[t.OnChanges=3]="OnChanges",t[t.AfterContentInit=4]="AfterContentInit",t[t.AfterContentChecked=5]="AfterContentChecked",t[t.AfterViewInit=6]="AfterViewInit",t[t.AfterViewChecked=7]="AfterViewChecked"}(Tl||(Tl={}));var Dl,Nl=[Tl.OnInit,Tl.OnDestroy,Tl.DoCheck,Tl.OnChanges,Tl.AfterContentInit,Tl.AfterContentChecked,Tl.AfterViewInit,Tl.AfterViewChecked],Ml=g("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});!function(t){t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None"}(Dl||(Dl={}));var Ll,Vl=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,l=e.interpolation;this.templateUrl=n,this.template=r,this.styleUrls=s,this.styles=o,this.encapsulation=i,this.animations=a,this.interpolation=l}return t}(),Fl=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)},Bl=function(t){function e(e){var n=t.call(this,e);this._nativeError=n}return Fl(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),Hl=function(t){function e(e,n){t.call(this,e+" caused by: "+(n instanceof Error?n.message:n)),this.originalError=n}return Fl(e,t),Object.defineProperty(e.prototype,"stack",{get:function(){return(this.originalError instanceof Error?this.originalError:this._nativeError).stack},enumerable:!0,configurable:!0}),e}(Bl),zl=new Object,Ul=zl,Gl=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=zl),e===zl)throw new Error("No provider for "+s(t)+"!");return e},t}(),Wl=function(){function t(){}return t.prototype.get=function(t,e){return x()},t.THROW_IF_NOT_FOUND=zl,t.NULL=new Gl,t}(),ql=function(){try{if(1===new Map([[1,2]]).size)return function(t){return new Map(t)}}catch(t){}return function(t){for(var e=new Map,n=0;n<t.length;n++){var r=t[n];e.set(r[0],r[1])}return e}}(),Yl=(function(){try{if(new Map(new Map))return function(t){return new Map(t)}}catch(t){}return function(t){var e=new Map;return t.forEach(function(t,n){e.set(n,t)}),e}}(),function(){return(new Map).keys().next?function(t){for(var e,n=t.keys();!(e=n.next()).done;)t.set(e.value,null)}:function(t){t.forEach(function(e,n){t.set(n,null)})}}(),function(){try{if((new Map).values().next)return function(t,e){return e?Array.from(t.values()):Array.from(t.keys())}}catch(t){}return function(t,e){var n=new Array(t.size),r=0;return t.forEach(function(t,i){n[r]=e?t:i,r++}),n}}()),Xl=function(){function t(){}return t.createFromStringMap=function(t){var e=new Map;for(var n in t)e.set(n,t[n]);return e},t.toStringMap=function(t){var e={};return t.forEach(function(t,n){return e[n]=t}),e},t.createFromPairs=function(t){return ql(t)},t.iterable=function(t){return t},t.keys=function(t){return Yl(t,!1)},t.values=function(t){return Yl(t,!0)},t}(),$l=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}(),Kl=function(){function t(){}return t.createFixedSize=function(t){return new Array(t)},t.createGrowableSize=function(t){return new Array(t)},t.clone=function(t){return t.slice(0)},t.forEachWithIndex=function(t,e){for(var n=0;n<t.length;n++)e(t[n],n)},t.first=function(t){return t?t[0]:null},t.last=function(t){return t&&0!=t.length?t[t.length-1]:null},t.indexOf=function(t,e,n){return void 0===n&&(n=0),t.indexOf(e,n)},t.contains=function(t,e){return t.indexOf(e)!==-1},t.reversed=function(e){var n=t.clone(e);return n.reverse()},t.concat=function(t,e){return t.concat(e)},t.insert=function(t,e,n){t.splice(e,0,n)},t.removeAt=function(t,e){var n=t[e];return t.splice(e,1),n},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},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.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.splice=function(t,e,n){return t.splice(e,n)},t.sort=function(t,e){n(e)?t.sort(e):t.sort()},t.toString=function(t){return t.toString()},t.toJSON=function(t){return JSON.stringify(t)},t.maximum=function(t,e){if(0==t.length)return null;for(var n=null,i=-(1/0),o=0;o<t.length;o++){var s=t[o];if(!r(s)){var a=e(s);a>i&&(n=s,i=a)}}return n},t.flatten=function(t){var e=[];return O(t,e),e},t.addAll=function(t,e){for(var n=0;n<e.length;n++)t.push(e[n])},t}(),Zl=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)},Ql=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 Zl(e,t),e.prototype.addKey=function(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)},e}(Bl),Jl=function(t){function e(e,n){t.call(this,e,n,function(t){var e=s(Kl.first(t).token);return"No provider for "+e+"!"+A(t)})}return Zl(e,t),e}(Ql),tc=function(t){function e(e,n){t.call(this,e,n,function(t){return"Cannot instantiate cyclic dependency!"+A(t)})}return Zl(e,t),e}(Ql),ec=function(t){function e(e,n,r,i){t.call(this,"DI Error",n),this.keys=[i],this.injectors=[e]}return Zl(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=s(Kl.first(this.keys).token);return this.originalError.message+": Error during instantiation of "+t+"!"+A(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),e}(Hl),nc=function(t){function e(e){t.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+e)}return Zl(e,t),e}(Bl),rc=function(t){function e(n,r){t.call(this,e._genMessage(n,r))}return Zl(e,t),e._genMessage=function(t,e){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];o&&0!=o.length?n.push(o.map(s).join(" ")):n.push("?")}return"Cannot resolve all parameters for '"+s(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+s(t)+"' is decorated with Injectable."},e}(Bl),ic=function(t){function e(e){t.call(this,"Index "+e+" is out-of-bounds.")}return Zl(e,t),e}(Bl),oc=function(t){function e(e,n){t.call(this,"Cannot mix multi providers and regular providers, got: "+e.toString()+" "+n.toString())}return Zl(e,t),e}(Bl),sc=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 s(this.token)},enumerable:!0,configurable:!0}),t.get=function(t){return lc.get(E(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return lc.numberOfKeys},enumerable:!0,configurable:!0}),t}(),ac=function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof sc)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new sc(t,sc.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}(),lc=new ac,cc=Function,uc=function(){function t(t){this._reflect=t||sl.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 r;r="undefined"==typeof t?new Array(e.length):new Array(t.length);for(var i=0;i<r.length;i++)"undefined"==typeof t?r[i]=[]:t[i]!=Object?r[i]=[t[i]]:r[i]=[],e&&n(e[i])&&(r[i]=r[i].concat(e[i]));return r},t.prototype.parameters=function(t){if(t.parameters)return t.parameters;if(t.ctorParameters){var e=t.ctorParameters,r=e.map(function(t){return t&&t.type}),i=e.map(function(t){return t&&k(t.decorators)});return this._zipTypesAndAnnotations(r,i)}if(n(this._reflect)&&n(this._reflect.getMetadata)){var i=this._reflect.getMetadata("parameters",t),r=this._reflect.getMetadata("design:paramtypes",t);if(r||i)return this._zipTypesAndAnnotations(r,i)}return new Array(t.length).fill(void 0)},t.prototype.annotations=function(t){if(t.annotations){var e=t.annotations;return i(e)&&e.annotations&&(e=e.annotations),e}if(t.decorators)return k(t.decorators);if(this._reflect&&this._reflect.getMetadata){var e=this._reflect.getMetadata("annotations",t);if(e)return e}return[]},t.prototype.propMetadata=function(t){if(t.propMetadata){var e=t.propMetadata;return i(e)&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators){var n=t.propDecorators,r={};return Object.keys(n).forEach(function(t){r[t]=k(n[t])}),r}if(this._reflect&&this._reflect.getMetadata){var e=this._reflect.getMetadata("propMetadata",t);if(e)return e}return{}},t.prototype.interfaces=function(t){return[]},t.prototype.hasLifecycleHook=function(t,e,n){if(!(t instanceof cc))return!1;var r=t.prototype;return!!r[n]},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:"./"+s(t)},t.prototype.resolveIdentifier=function(t,e,n){return n},t.prototype.resolveEnum=function(t,e){return t[e]},t}(),pc=function(){function t(){}return t}(),hc=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)},fc=function(t){function e(e){t.call(this),this.reflectionCapabilities=e,this._injectableInfo=new Map,this._getters=new Map,this._setters=new Map,this._methods=new Map,this._usedKeys=null}return hc(e,t),e.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},e.prototype.isReflectionEnabled=function(){return this.reflectionCapabilities.isReflectionEnabled()},e.prototype.trackUsage=function(){this._usedKeys=new Set},e.prototype.listUnusedKeys=function(){var t=this;if(!this._usedKeys)throw new Error("Usage tracking is disabled");var e=Xl.keys(this._injectableInfo);return e.filter(function(e){return!t._usedKeys.has(e)})},e.prototype.registerFunction=function(t,e){this._injectableInfo.set(t,e)},e.prototype.registerType=function(t,e){this._injectableInfo.set(t,e)},e.prototype.registerGetters=function(t){R(this._getters,t)},e.prototype.registerSetters=function(t){R(this._setters,t)},e.prototype.registerMethods=function(t){R(this._methods,t)},e.prototype.factory=function(t){return this._containsReflectionInfo(t)?this._getReflectionInfo(t).factory||null:this.reflectionCapabilities.factory(t)},e.prototype.parameters=function(t){return this._injectableInfo.has(t)?this._getReflectionInfo(t).parameters||[]:this.reflectionCapabilities.parameters(t)},e.prototype.annotations=function(t){return this._injectableInfo.has(t)?this._getReflectionInfo(t).annotations||[]:this.reflectionCapabilities.annotations(t)},e.prototype.propMetadata=function(t){return this._injectableInfo.has(t)?this._getReflectionInfo(t).propMetadata||{}:this.reflectionCapabilities.propMetadata(t)},e.prototype.interfaces=function(t){return this._injectableInfo.has(t)?this._getReflectionInfo(t).interfaces||[]:this.reflectionCapabilities.interfaces(t)},e.prototype.hasLifecycleHook=function(t,e,n){return this.interfaces(t).indexOf(e)!==-1||this.reflectionCapabilities.hasLifecycleHook(t,e,n)},e.prototype.getter=function(t){return this._getters.has(t)?this._getters.get(t):this.reflectionCapabilities.getter(t)},e.prototype.setter=function(t){return this._setters.has(t)?this._setters.get(t):this.reflectionCapabilities.setter(t)},e.prototype.method=function(t){return this._methods.has(t)?this._methods.get(t):this.reflectionCapabilities.method(t)},e.prototype._getReflectionInfo=function(t){return this._usedKeys&&this._usedKeys.add(t),this._injectableInfo.get(t)},e.prototype._containsReflectionInfo=function(t){return this._injectableInfo.has(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}(pc),dc=new fc(new uc),_c=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}(),yc=[],gc=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}(),mc=function(){function t(t,e){this.factory=t,this.dependencies=e}return t}(),vc=10,bc=new Object,wc=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 ic(t)},t.prototype.createInjectorStrategy=function(t){return new xc(t,this)},t}(),Cc=function(){function t(t,e){this.providers=e;var n=e.length;this.keyIds=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=e[r].key.id}return t.prototype.getProviderAtIndex=function(t){if(t<0||t>=this.providers.length)throw new ic(t);return this.providers[t]},t.prototype.createInjectorStrategy=function(t){return new Oc(this,t)},t}(),Ec=function(){function t(t){this.numberOfProviders=t.length,this._strategy=t.length>vc?new Cc(this,t):new wc(this,t)}return t.fromResolvedProviders=function(e){return new t(e)},t.prototype.getProviderAtIndex=function(t){return this._strategy.getProviderAtIndex(t)},t}(),xc=function(){function t(t,e){this.injector=t,this.protoStrategy=e,this.obj0=bc,this.obj1=bc,this.obj2=bc,this.obj3=bc,this.obj4=bc,this.obj5=bc,this.obj6=bc,this.obj7=bc,this.obj8=bc,this.obj9=bc}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===bc&&(this.obj0=n._new(e.provider0)),this.obj0):e.keyId1===t?(this.obj1===bc&&(this.obj1=n._new(e.provider1)),this.obj1):e.keyId2===t?(this.obj2===bc&&(this.obj2=n._new(e.provider2)),this.obj2):e.keyId3===t?(this.obj3===bc&&(this.obj3=n._new(e.provider3)),this.obj3):e.keyId4===t?(this.obj4===bc&&(this.obj4=n._new(e.provider4)),this.obj4):e.keyId5===t?(this.obj5===bc&&(this.obj5=n._new(e.provider5)),this.obj5):e.keyId6===t?(this.obj6===bc&&(this.obj6=n._new(e.provider6)),this.obj6):e.keyId7===t?(this.obj7===bc&&(this.obj7=n._new(e.provider7)),this.obj7):e.keyId8===t?(this.obj8===bc&&(this.obj8=n._new(e.provider8)),this.obj8):e.keyId9===t?(this.obj9===bc&&(this.obj9=n._new(e.provider9)),this.obj9):bc},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 ic(t)},t.prototype.getMaxNumberOfObjects=function(){return vc},t}(),Oc=function(){function t(t,e){this.protoStrategy=t,this.injector=e,this.objs=new Array(t.providers.length),Kl.fill(this.objs,bc)}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]===bc&&(this.objs[n]=this.injector._new(e.providers[n])),this.objs[n];return bc},t.prototype.getObjAtIndex=function(t){if(t<0||t>=this.objs.length)throw new ic(t);return this.objs[t]},t.prototype.getMaxNumberOfObjects=function(){return this.objs.length},t}(),Tc=function(){function t(){}return t.resolve=function(t){return N(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 Pc(Ec.fromResolvedProviders(t),e)},Object.defineProperty(t.prototype,"parent",{get:function(){return x()},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){return x()},t.prototype.createChildFromResolved=function(t){return x()},t.prototype.resolveAndInstantiate=function(t){return x()},t.prototype.instantiateResolved=function(t){return x()},t}(),Pc=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=Ul),this._getByKey(sc.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=Tc.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new Ec(e),r=new t(n);return r._parent=this,r},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(Tc.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 tc(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,l,c,u,p,h,f,d,_,y,g,m,v,b,w,C=e.factory,E=e.dependencies,x=E.length;try{n=x>0?this._getByReflectiveDependency(t,E[0]):null,r=x>1?this._getByReflectiveDependency(t,E[1]):null,i=x>2?this._getByReflectiveDependency(t,E[2]):null,o=x>3?this._getByReflectiveDependency(t,E[3]):null,s=x>4?this._getByReflectiveDependency(t,E[4]):null,a=x>5?this._getByReflectiveDependency(t,E[5]):null,l=x>6?this._getByReflectiveDependency(t,E[6]):null,c=x>7?this._getByReflectiveDependency(t,E[7]):null,u=x>8?this._getByReflectiveDependency(t,E[8]):null,p=x>9?this._getByReflectiveDependency(t,E[9]):null,h=x>10?this._getByReflectiveDependency(t,E[10]):null,f=x>11?this._getByReflectiveDependency(t,E[11]):null,d=x>12?this._getByReflectiveDependency(t,E[12]):null,_=x>13?this._getByReflectiveDependency(t,E[13]):null,y=x>14?this._getByReflectiveDependency(t,E[14]):null,g=x>15?this._getByReflectiveDependency(t,E[15]):null,m=x>16?this._getByReflectiveDependency(t,E[16]):null,v=x>17?this._getByReflectiveDependency(t,E[17]):null,b=x>18?this._getByReflectiveDependency(t,E[18]):null,w=x>19?this._getByReflectiveDependency(t,E[19]):null}catch(e){throw(e instanceof Ql||e instanceof ec)&&e.addKey(this,t.key),e}var O;try{switch(x){case 0:O=C();break;case 1:O=C(n);break;case 2:O=C(n,r);break;case 3:O=C(n,r,i);break;case 4:O=C(n,r,i,o);break;case 5:O=C(n,r,i,o,s);break;case 6:O=C(n,r,i,o,s,a);break;case 7:O=C(n,r,i,o,s,a,l);break;case 8:O=C(n,r,i,o,s,a,l,c);break;case 9:O=C(n,r,i,o,s,a,l,c,u);break;case 10:O=C(n,r,i,o,s,a,l,c,u,p);break;case 11:O=C(n,r,i,o,s,a,l,c,u,p,h);break;case 12:O=C(n,r,i,o,s,a,l,c,u,p,h,f);break;case 13:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d);break;case 14:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d,_);break;case 15:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d,_,y);break;case 16:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d,_,y,g);break;case 17:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d,_,y,g,m);break;case 18:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d,_,y,g,m,v);break;case 19:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d,_,y,g,m,v,b);break;case 20:O=C(n,r,i,o,s,a,l,c,u,p,h,f,d,_,y,g,m,v,b,w);break;default:throw new Error("Cannot instantiate '"+t.key.displayName+"' because it has more than 20 dependencies")}}catch(e){throw new ec(this,e,e.stack,t.key)}return O},t.prototype._getByReflectiveDependency=function(t,e){return this._getByKey(e.key,e.lowerBoundVisibility,e.upperBoundVisibility,e.optional?null:Ul)},t.prototype._getByKey=function(t,e,n,r){return t===Sc?this:n instanceof dl?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,e)},t.prototype._throwOrNull=function(t,e){if(e!==Ul)return e;throw new Jl(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._strategy.getObjByKeyId(t.id);return n!==bc?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var i;for(i=r instanceof _l?this._parent:this;i instanceof t;){var o=i,s=o._strategy.getObjByKeyId(e.id);if(s!==bc)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=z(this,function(t){return' "'+t.key.displayName+'" '}).join(", ");return"ReflectiveInjector(providers: ["+t+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t}(),Sc=sc.get(Wl),Ic=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}(),Ac=new gl("Application Initializer"),kc=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]();U(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:fl}],t.ctorParameters=[{type:Array,decorators:[{type:pl,args:[Ac]},{type:hl}]}],t}(),Rc=new gl("AppId"),jc={provide:Rc,useFactory:G,deps:[]},Dc=new gl("Platform Initializer"),Nc=new gl("appBootstrapListener"),Mc=(new gl("Application Packages Root URL"),function(){function t(){}return t.prototype.log=function(t){u(t)},t.prototype.warn=function(t){p(t)},t.decorators=[{type:fl}],t.ctorParameters=[],t}()),Lc=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)},Vc=function(t){function e(e){t.call(this,"Can't compile synchronously as "+s(e)+" is still being loaded!"),this.compType=e}return Lc(e,t),e}(Bl),Fc=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw q()},t.prototype.compileModuleAsync=function(t){throw q()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw q()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw q()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}(),Bc=(new gl("compilerOptions"),function(){function t(){}return t}()),Hc=function(){function t(){}return t.prototype.supports=function(t){return T(t)},t.prototype.create=function(t,e){return new Uc(e)},t}(),zc=function(t,e){return e},Uc=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||zc}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<Y(n,r,i)?e:n,s=Y(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 l=s-r,c=a-r;if(l!=c){for(var u=0;u<l;u++){var p=u<i.length?i[u]:i[u]=0,h=p+u;c<=h&&h<l&&(i[u]=p+1)}var f=o.previousIndex;i[f]=c-l}}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(r(t)&&(t=[]),!T(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,s=this._itHead,l=!1;if(o(t)){var c=t;for(this._length=t.length,n=0;n<this._length;n++)r=c[n],i=this._trackByFn(n,r),null!==s&&a(s.trackById,i)?(l&&(s=this._verifyReinsertion(s,r,i,n)),a(s.item,r)||this._addIdentityChange(s,r)):(s=this._mismatch(s,r,i,n),l=!0),s=s._next}else n=0,S(t,function(t){i=e._trackByFn(n,t),null!==s&&a(s.trackById,i)?(l&&(s=e._verifyReinsertion(s,t,i,n)),a(s.item,t)||e._addIdentityChange(s,t)):(s=e._mismatch(s,t,i,n),l=!0),s=s._next,n++}),this._length=n;return this._truncate(s),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,e;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?(a(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n),null!==t?(a(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new Gc(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 qc),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 qc),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}(),Gc=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?s(this.item):s(this.item)+"["+s(this.previousIndex)+"->"+s(this.currentIndex)+"]"},t}(),Wc=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)&&a(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}(),qc=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=l(t.trackById),r=this.map.get(e);n(r)||(r=new Wc,this.map.set(e,r)),r.add(t)},t.prototype.get=function(t,e){void 0===e&&(e=null);var n=l(t),r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=l(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("+s(this.map)+")"},t}(),Yc=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||c(t)},t.prototype.create=function(t){return new Xc},t}(),Xc=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||c(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 l;r&&a===r.key?(l=r,e._maybeAddToChanges(l,t)):(s=!0,null!==r&&(e._removeFromSeq(i,r),e._addToRemovals(r)),n.has(a)?(l=n.get(a),e._maybeAddToChanges(l,t)):(l=new $c(a),n.set(a,l),l.currentValue=t,e._addToAdditions(l))),s&&(e._isInRemovals(l)&&e._removeFromRemovals(l),null==o?e._mapHead=l:o._next=l),i=r,o=l,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){a(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(s(t));for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n.push(s(t));for(t=this._changesHead;null!==t;t=t._nextChanged)r.push(s(t));for(t=this._additionsHead;null!==t;t=t._nextAdded)i.push(s(t));for(t=this._removalsHead;null!==t;t=t._nextRemoved)o.push(s(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}(),$c=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 a(this.previousValue,this.currentValue)?s(this.key):s(this.key)+"["+s(this.previousValue)+"->"+s(this.currentValue)+"]"},t}(),Kc=function(){function t(t){this.factories=t}return t.create=function(e,r){if(n(r)){var i=Kl.clone(r.factories);return e=e.concat(i),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 _l,new hl]]}},t.prototype.find=function(t){var r=this.factories.find(function(e){return e.supports(t)});if(n(r))return r;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+e(t)+"'")},t}(),Zc=function(){function t(t){this.factories=t}return t.create=function(e,r){if(n(r)){var i=Kl.clone(r.factories);return e=e.concat(i),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 _l,new hl]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(n(e))return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),Qc={toString:function(){return"CD_INIT_VALUE"}},Jc=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),tu=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof Jc?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),eu=function(){function t(t,e){this.previousValue=t,this.currentValue=e}return t.prototype.isFirstChange=function(){return this.previousValue===Qc},t}(),nu=function(){function t(){}return t}(),ru=[new Yc],iu=[new Hc],ou=new Kc(iu),su=new Zc(ru),au=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}(),lu=function(){function t(){}return Object.defineProperty(t.prototype,"injector",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return x()},enumerable:!0,configurable:!0}),t}(),cu=function(){function t(){}return t}(),uu=function(){function t(){}return t}();!function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"}(Ll||(Ll={}));var pu,hu,fu,du=function(){function t(){}return t}(),_u=function(){function t(t){this.nativeElement=t}return t}(),yu=$(),gu=yu?K:function(t,e){return Q},mu=yu?Z:function(t,e){return e},vu=function(){function t(){}return Object.defineProperty(t.prototype,"element",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return x()},enumerable:!0,configurable:!0}),t}(),bu=function(){function t(t){this._element=t,this._createComponentInContainerScope=gu("ViewContainerRef#createComponent()"),this._insertScope=gu("ViewContainerRef#insert()"),this._removeScope=gu("ViewContainerRef#remove()"),this._detachScope=gu("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 n(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),mu(i,s)},t.prototype.insert=function(t,e){void 0===e&&(e=-1);var n=this._insertScope();e==-1&&(e=this.length);var r=t;return this._element.attachView(r.internalView,e),mu(n,r)},t.prototype.move=function(t,e){var n=this._insertScope();if(e!=-1){var r=t;return this._element.moveView(r.internalView,e),mu(n,r)}},t.prototype.indexOf=function(t){return Kl.indexOf(this._element.nestedViews,t.internalView)},t.prototype.remove=function(t){void 0===t&&(t=-1);var e=this._removeScope();t==-1&&(t=this.length-1);var n=this._element.detachView(t);n.destroy(),mu(e)},t.prototype.detach=function(t){void 0===t&&(t=-1);var e=this._detachScope();t==-1&&(t=this.length-1);var n=this._element.detachView(t);return mu(e,n.ref)},t.prototype.clear=function(){for(var t=this.length-1;t>=0;t--)this.remove(t)},t}();!function(t){t[t.HOST=0]="HOST",t[t.COMPONENT=1]="COMPONENT",t[t.EMBEDDED=2]="EMBEDDED"}(fu||(fu={}));var wu,Cu,Eu,xu=function(){function t(t,e,n,r){this.index=t,this.parentIndex=e,this.parentView=n,this.nativeElement=r,this.nestedViews=null,this.componentView=null}return Object.defineProperty(t.prototype,"elementRef",{get:function(){return new _u(this.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vcRef",{get:function(){return new bu(this)},enumerable:!0,configurable:!0}),t.prototype.initComponent=function(t,e,n){this.component=t,this.componentConstructorViewQueries=e,this.componentView=n},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.mapNestedViews=function(t,e){var r=[];return n(this.nestedViews)&&this.nestedViews.forEach(function(n){n.clazz===t&&r.push(e(n))}),r},t.prototype.moveView=function(t,e){var r=this.nestedViews.indexOf(t);if(t.type===fu.COMPONENT)throw new Error("Component views can't be moved!");var i=this.nestedViews;null==i&&(i=[],this.nestedViews=i),Kl.removeAt(i,r),Kl.insert(i,e,t);var o;if(e>0){var s=i[e-1];o=s.lastRootNode}else o=this.nativeElement;n(o)&&t.renderer.attachViewAfter(o,t.flatRootNodes),t.markContentChildAsMoved(this)},t.prototype.attachView=function(t,e){if(t.type===fu.COMPONENT)throw new Error("Component views can't be moved!");var r=this.nestedViews;null==r&&(r=[],this.nestedViews=r),Kl.insert(r,e,t);var i;if(e>0){var o=r[e-1];i=o.lastRootNode}else i=this.nativeElement;n(i)&&t.renderer.attachViewAfter(i,t.flatRootNodes),t.addToContentChildren(this)},t.prototype.detachView=function(t){var e=Kl.removeAt(this.nestedViews,t);if(e.type===fu.COMPONENT)throw new Error("Component views can't be moved!");return e.detach(),e.removeFromContentChildren(this),e},t}(),Ou=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=function(t){function e(e,n){var r="Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";e===Qc&&(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 Ou(e,t),e}(Bl),Pu=function(t){function e(e,n){t.call(this,"Error in "+n.source,e),this.context=n}return Ou(e,t),e}(Hl),Su=function(t){function e(e){t.call(this,"Attempt to use a destroyed view: "+e)}return Ou(e,t),e}(Bl),Iu=function(){function t(t,e,n){this._renderer=t,this._appId=e,this._nextCompTypeId=0,this.sanitizer=n}return t.prototype.createRenderComponentType=function(t,e,n,r,i){return new au(this._appId+"-"+this._nextCompTypeId++,t,e,n,r,i)},t.prototype.renderComponent=function(t){return this._renderer.renderComponent(t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:uu},{type:void 0,decorators:[{type:pl,args:[Rc]}]},{type:du}],t}(),Au=[],ku=9,Ru=[],ju={},Du=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)},Nu=function(){function t(){}return Object.defineProperty(t.prototype,"location",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"instance",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostView",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"changeDetectorRef",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return x()},enumerable:!0,configurable:!0}),t}(),Mu=function(t){function e(e,n){t.call(this),this._hostElement=e,this._componentType=n}return Du(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this._hostElement.elementRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this._hostElement.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"instance",{get:function(){return this._hostElement.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostView",{get:function(){return this._hostElement.parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"changeDetectorRef",{get:function(){return this._hostElement.parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._componentType},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._hostElement.parentView.destroy()},e.prototype.onDestroy=function(t){this.hostView.onDestroy(t)},e}(Nu),Lu=new Object,Vu=function(){function t(t,e,n){this.selector=t,this._viewFactory=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(Iu);e||(e=[]);var i=this._viewFactory(r,t,null),o=i.create(Lu,e,n);return new Mu(o,this._componentType)},t}(),Fu=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)},Bu=function(t){function e(e){t.call(this,"No component factory found for "+s(e)),this.component=e}return Fu(e,t),e}(Bl),Hu=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw new Bu(t)},t}(),zu=function(){function t(){}return t.NULL=new Hu,t}(),Uu=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}(),Gu="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Wu=yt(function(t,e){var n={boolean:!1,function:!0,object:!0,number:!1,string:!1,undefined:!1};e.root=n[typeof self]&&self||n[typeof window]&&window;var r=n[typeof Gu]&&Gu;!r||r.global!==r&&r.window!==r||(e.root=r)}),qu=gt,Yu={isFunction:qu},Xu=Array.isArray||function(t){return t&&"number"==typeof t.length},$u={isArray:Xu},Ku=mt,Zu={isObject:Ku},Qu={e:{}},Ju={errorObject:Qu},tp=Ju,ep=bt,np={tryCatch:ep},rp=Gu&&Gu.__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)},ip=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 rp(e,t),e}(Error),op=ip,sp={UnsubscriptionError:op},ap=$u,lp=Zu,cp=Yu,up=np,pp=Ju,hp=sp,fp=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,r=n._unsubscribe,i=n._subscriptions;if(this._subscriptions=null,cp.isFunction(r)){var o=up.tryCatch(r).call(this);o===pp.errorObject&&(e=!0,(t=t||[]).push(pp.errorObject.e))}if(ap.isArray(i))for(var s=-1,a=i.length;++s<a;){var l=i[s];if(lp.isObject(l)){var o=up.tryCatch(l.unsubscribe).call(l);if(o===pp.errorObject){e=!0,t=t||[];var c=pp.errorObject.e;c instanceof hp.UnsubscriptionError?t=t.concat(c.errors):t.push(c)}}}if(e)throw new hp.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);r!==-1&&n.splice(r,1)}}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}(),dp=fp,_p={Subscription:dp},yp={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}},gp={empty:yp},mp=Wu,vp=mp.root.Symbol,bp="function"==typeof vp&&"function"==typeof vp.for?vp.for("rxSubscriber"):"@@rxSubscriber",wp={$$rxSubscriber:bp},Cp=Gu&&Gu.__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)},Ep=Yu,xp=_p,Op=gp,Tp=wp,Pp=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=Op.empty;break;case 1:if(!n){this.destination=Op.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new Ip(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new Ip(this,n,r,i)}}return Cp(e,t),e.prototype[Tp.$$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}(xp.Subscription),Sp=Pp,Ip=function(t){function e(e,n,r,i){t.call(this),this._parent=e;var o,s=this;Ep.isFunction(n)?o=n:n&&(s=n,o=n.next,r=n.error,i=n.complete,Ep.isFunction(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this)),this._context=s,this._next=o,this._error=r,this._complete=i}return Cp(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(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parent;this._context=null,this._parent=null,t.unsubscribe()},e}(Pp),Ap={Subscriber:Sp},kp=Ap,Rp=wp,jp=wt,Dp={toSubscriber:jp},Np=Wu,Mp=Ct,Lp=Ct(Np.root),Vp={getSymbolObservable:Mp,$$observable:Lp},Fp=Wu,Bp=Dp,Hp=Vp,zp=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,i=Bp.toSubscriber(t,e,n);if(r?r.call(i,this):i.add(this._subscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype.forEach=function(t,e){var n=this;if(e||(Fp.root.Rx&&Fp.root.Rx.config&&Fp.root.Rx.config.Promise?e=Fp.root.Rx.config.Promise:Fp.root.Promise&&(e=Fp.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(t){r(t),i.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[Hp.$$observable]=function(){return this},t.create=function(e){return new t(e)},t}(),Up=zp,Gp={Observable:Up},Wp=Gu&&Gu.__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)},qp=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 Wp(e,t),e}(Error),Yp=qp,Xp={ObjectUnsubscribedError:Yp},$p=Gu&&Gu.__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)},Kp=_p,Zp=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return $p(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);n!==-1&&e.splice(n,1)}}},e}(Kp.Subscription),Qp=Zp,Jp={SubjectSubscription:Qp},th=Gu&&Gu.__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)},eh=Gp,nh=Ap,rh=_p,ih=Xp,oh=Jp,sh=wp,ah=function(t){function e(e){t.call(this,e),this.destination=e}return th(e,t),e}(nh.Subscriber),lh=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return th(e,t),e.prototype[sh.$$rxSubscriber]=function(){return new ah(this)},e.prototype.lift=function(t){var e=new uh(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new ih.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new ih.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new ih.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;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 ih.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),rh.Subscription.EMPTY):this.isStopped?(t.complete(),rh.Subscription.EMPTY):(this.observers.push(t),new oh.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new eh.Observable;return t.source=this,t},e.create=function(t,e){return new uh(t,e)},e}(eh.Observable),ch=lh,uh=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n}return th(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):rh.Subscription.EMPTY},e}(lh),ph=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)},hh=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return ph(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}(ch),fh=function(){function t(t){var e=t.enableLongStackTrace,n=void 0!==e&&e;if(this._hasPendingMicrotasks=!1,this._hasPendingMacrotasks=!1,this._isStable=!0,this._nesting=0,this._onUnstable=new hh(!1),this._onMicrotaskEmpty=new hh(!1),this._onStable=new hh(!1),this._onErrorEvents=new hh(!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}(),dh=function(){function e(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){fh.assertNotInAngularZone(),t(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;this.isStable()?t(function(){for(;0!==e._callbacks.length;)e._callbacks.pop()(e._didWork);e._didWork=!1}):this._didWork=!0},e.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findBindings=function(t,e,n){return[]},e.prototype.findProviders=function(t,e,n){return[]},e.decorators=[{type:fl}],e.ctorParameters=[{type:fh}],e}(),_h=function(){function t(){this._applications=new Map,gh.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 Xl.values(this._applications)},t.prototype.getAllRootElements=function(){return Xl.keys(this._applications)},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),gh.findTestabilityInTree(this,t,e)},t.decorators=[{type:fl}],t.ctorParameters=[],t}(),yh=function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}(),gh=new yh,mh=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)},vh=!0,bh=!1,wh=function(){function t(){}return t.prototype.bootstrapModuleFactory=function(t){throw x()},t.prototype.bootstrapModule=function(t,e){throw void 0===e&&(e=[]),x()},Object.defineProperty(t.prototype,"injector",{get:function(){throw x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){throw x()},enumerable:!0,configurable:!0}),t}(),Ch=function(t){function e(e){t.call(this),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return mh(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 fh({enableLongStackTrace:Ot()})),e.run(function(){var r=Tc.resolveAndCreate([{provide:fh,useValue:e}],n.injector),i=t.create(r),o=i.injector.get(Ic,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(function(){return Kl.remove(n._modules,i)}),e.onError.subscribe({next:function(t){o.handleError(t)}}),At(o,function(){var t=i.injector.get(kc);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(Bc),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(Eh);if(t.bootstrapFactories.length>0)t.bootstrapFactories.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+s(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:fl}],e.ctorParameters=[{type:Wl}],e}(wh),Eh=function(){function t(){}return Object.defineProperty(t.prototype,"componentTypes",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"components",{get:function(){return x()},enumerable:!0,configurable:!0}),t}(),xh=function(t){function e(e,n,r,i,o,s,a,l){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=l,this._bootstrapListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._changeDetectorRefs=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._enforceNoNewChanges=Ot(),this._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run(function(){c.tick()})}})}return mh(e,t),e.prototype.registerChangeDetector=function(t){this._changeDetectorRefs.push(t)},e.prototype.unregisterChangeDetector=function(t){Kl.remove(this._changeDetectorRefs,t)},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 Vu?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(dh,null);return i&&r.injector.get(_h).registerApplication(r.location.nativeElement,i),this._loadComponent(r),Ot()&&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._changeDetectorRefs.push(t.changeDetectorRef),this.tick(),this._rootComponents.push(t);var e=this._injector.get(Nc,[]).concat(this._bootstrapListeners);e.forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this._rootComponents.indexOf(t)!=-1&&(this.unregisterChangeDetector(t.changeDetectorRef),Kl.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._changeDetectorRefs.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._changeDetectorRefs.forEach(function(t){return t.checkNoChanges()})}finally{this._runningTick=!1,mu(t)}},e.prototype.ngOnDestroy=function(){this._rootComponents.slice().forEach(function(t){return t.destroy()})},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=gu("ApplicationRef#tick()"),e.decorators=[{type:fl}],e.ctorParameters=[{type:fh},{type:Mc},{type:Wl},{type:Ic},{type:zu},{type:kc},{type:_h,decorators:[{type:hl}]},{type:dh,decorators:[{type:hl}]}],e}(Eh),Oh=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)},Th=(function(){function t(){}return Object.defineProperty(t.prototype,"injector",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"instance",{get:function(){return x()},enumerable:!0,configurable:!0}),t}(),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=Wl.NULL);var e=new this._injectorClass(t);return e.create(),e},t}()),Ph=new Object,Sh=function(t){function e(e,n,r){t.call(this,n,e.get(zu,zu.NULL)),this.parent=e,this.bootstrapFactories=r,this._destroyListeners=[],this._destroyed=!1}return Oh(e,t),e.prototype.create=function(){this.instance=this.createInternal()},e.prototype.get=function(t,e){if(void 0===e&&(e=Ul),t===Wl||t===zu)return this;var n=this.getInternal(t,Ph);return n===Ph?this.parent.get(t,e):n},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 "+s(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}(Uu),Ih=new Map,Ah=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new hh}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.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[h()]=function(){return this._results[h()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=Kl.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}(),kh=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)},Rh=function(){function t(){}return Object.defineProperty(t.prototype,"elementRef",{get:function(){return null},enumerable:!0,configurable:!0}),t}(),jh=function(t){function e(e,n){t.call(this),this._appElement=e,this._viewFactory=n}return kh(e,t),e.prototype.createEmbeddedView=function(t){var e=this._viewFactory(this._appElement.parentView.viewUtils,this._appElement.parentInjector,this._appElement);return e.create(t||{},null,null),e.ref},Object.defineProperty(e.prototype,"elementRef",{get:function(){return this._appElement.elementRef},enumerable:!0,configurable:!0}),e}(Rh),Dh=[],Nh=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)},Mh=function(){function t(){}return Object.defineProperty(t.prototype,"destroyed",{get:function(){return x()},enumerable:!0,configurable:!0}),t}(),Lh=(function(t){function e(){t.apply(this,arguments)}return Nh(e,t),Object.defineProperty(e.prototype,"context",{get:function(){return x()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootNodes",{get:function(){return x()},enumerable:!0,configurable:!0}),e}(Mh),function(){function t(t){this._view=t,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=Ol.Detached},t.prototype.detectChanges=function(){this._view.detectChanges(!1),jt()},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.push(t)},t.prototype.destroy=function(){this._view.destroy()},t}()),Vh=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)},Fh=function(){function t(t,e){this.name=t,this.callback=e}return t}(),Bh=function(){function t(t,e,r){this._debugInfo=r,this.nativeNode=t,n(e)&&e instanceof Hh?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return n(this._debugInfo)?this._debugInfo.injector:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return n(this._debugInfo)?this._debugInfo.component:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return n(this._debugInfo)?this._debugInfo.context:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return n(this._debugInfo)?this._debugInfo.references:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return n(this._debugInfo)?this._debugInfo.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return n(this._debugInfo)?this._debugInfo.source:null},enumerable:!0,configurable:!0}),t}(),Hh=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 Vh(e,t),e.prototype.addChild=function(t){n(t)&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);e!==-1&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var r=this.childNodes.indexOf(t);if(r!==-1){var i=this.childNodes.slice(0,r+1),o=this.childNodes.slice(r+1);this.childNodes=Kl.concat(Kl.concat(i,e),o);for(var s=0;s<e.length;++s){var a=e[s];n(a.parent)&&a.parent.removeChild(a),a.parent=this}}},e.prototype.query=function(t){var e=this.queryAll(t);return e.length>0?e[0]:null},e.prototype.queryAll=function(t){var e=[];return Dt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Nt(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){var t=[];return this.childNodes.forEach(function(n){n instanceof e&&t.push(n)}),t},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Bh),zh=new Map,Uh=[Ch,{provide:wh,useExisting:Ch},{provide:fc,useFactory:Ft,deps:[]},{provide:pc,useExisting:fc},_h,Mc],Gh=Pt(null,"core",Uh),Wh=new gl("LocaleId"),qh=(new gl("Translations"),new gl("TranslationsFormat"),function(){function t(){}return t.decorators=[{type:Ml,args:[{providers:[xh,{provide:Eh,useExisting:xh},kc,Fc,jc,Iu,{provide:Kc,useFactory:Bt},{provide:Zc,useFactory:Ht},{provide:Wh,useValue:"en-US"}]}]}],t.ctorParameters=[],t}()),Yh="true",Xh="*",$h="*",Kh="void",Zh=sl.Math,Qh=function(){function e(e){var n=this;this._players=e,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this.parentPlayer=null;var r=0,i=this._players.length;0==i?t(function(){return n._onFinish()}):this._players.forEach(function(t){t.parentPlayer=n,t.onDone(function(){++r>=i&&n._onFinish()})})}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,n(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},e.prototype.init=function(){this._players.forEach(function(t){return t.init()})},e.prototype.onStart=function(t){this._onStartFns.push(t)},e.prototype.onDone=function(t){this._onDoneFns.push(t)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){n(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()})},e.prototype.pause=function(){this._players.forEach(function(t){return t.pause()})},e.prototype.restart=function(){this._players.forEach(function(t){return t.restart()})},e.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},e.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(t){return t.destroy()})},e.prototype.reset=function(){this._players.forEach(function(t){return t.reset()})},e.prototype.setPosition=function(t){this._players.forEach(function(e){e.setPosition(t)})},e.prototype.getPosition=function(){var t=0;return this._players.forEach(function(e){var n=e.getPosition();t=Zh.min(n,t)}),t},e}(),Jh=function(){function t(t,e){this.offset=t,this.styles=e}return t}(),tf=function(){function t(){}return 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}(),ef=function(){function e(){var e=this;this._onDoneFns=[],this._onStartFns=[],this._started=!1,this.parentPlayer=null,t(function(){return e._onFinish()})}return e.prototype._onFinish=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},e.prototype.onStart=function(t){this._onStartFns.push(t)},e.prototype.onDone=function(t){this._onDoneFns.push(t)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]),this._started=!0},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){},e.prototype.reset=function(){},e.prototype.setPosition=function(t){},e.prototype.getPosition=function(){return 0},e}(),nf=function(){function e(t){var e=this;this._players=t,this._currentIndex=0,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this.parentPlayer=null,this._players.forEach(function(t){t.parentPlayer=e}),this._onNext(!1)}return e.prototype._onNext=function(e){var n=this;if(!this._finished)if(0==this._players.length)this._activePlayer=new ef,t(function(){return n._onFinish()});else if(this._currentIndex>=this._players.length)this._activePlayer=new ef,this._onFinish();else{var r=this._players[this._currentIndex++];r.onDone(function(){return n._onNext(!0)}),this._activePlayer=r,e&&r.play()}},e.prototype._onFinish=function(){this._finished||(this._finished=!0,n(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},e.prototype.init=function(){this._players.forEach(function(t){return t.init()})},e.prototype.onStart=function(t){this._onStartFns.push(t)},e.prototype.onDone=function(t){this._onDoneFns.push(t)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){n(this.parentPlayer)||this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._activePlayer.play()},e.prototype.pause=function(){this._activePlayer.pause()},e.prototype.restart=function(){this._players.length>0&&(this.reset(),this._players[0].restart())},e.prototype.reset=function(){this._players.forEach(function(t){return t.reset()})},e.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},e.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(t){return t.destroy()})},e.prototype.setPosition=function(t){this._players[0].setPosition(t)},e.prototype.getPosition=function(){return this._players[0].getPosition()},e}(),rf=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)},of="*",sf=function(){function t(){}return t}(),af=(function(t){function e(e,n){t.call(this),this.stateNameExpr=e,this.styles=n}return rf(e,t),e}(sf),function(t){function e(e,n){t.call(this),this.stateChangeExpr=e,this.steps=n}return rf(e,t),e}(sf),function(){function t(){}return t}()),lf=(function(t){function e(e){t.call(this),this.steps=e}return rf(e,t),e}(af),function(t){function e(e,n){void 0===n&&(n=null),t.call(this),this.styles=e,this.offset=n}return rf(e,t),e}(af),function(t){function e(e,n){t.call(this),this.timings=e,this.styles=n}return rf(e,t),e}(af),function(t){function e(){t.call(this)}return rf(e,t),Object.defineProperty(e.prototype,"steps",{get:function(){throw new Error("NOT IMPLEMENTED: Base Class")},enumerable:!0,configurable:!0}),e}(af)),cf=(function(t){function e(e){t.call(this),this._steps=e}return rf(e,t),Object.defineProperty(e.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),e}(lf),function(t){function e(e){t.call(this),this._steps=e}return rf(e,t),Object.defineProperty(e.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),e}(lf),function(){function t(t){this.styles=t}return t}()),uf=function(){function t(t){this._delegate=t}return t.prototype.renderComponent=function(t){return new pf(this._delegate.renderComponent(t))},t}(),pf=function(){function t(t){this._delegate=t}return t.prototype.selectRootElement=function(t,e){var n=this._delegate.selectRootElement(t,e),r=new Hh(n,null,e);return Lt(r),n},t.prototype.createElement=function(t,e,n){var r=this._delegate.createElement(t,e,n),i=new Hh(r,Mt(t),n);return i.name=e,Lt(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 Bh(n,Mt(t),e);return Lt(r),n},t.prototype.createText=function(t,e,n){var r=this._delegate.createText(t,e,n),i=new Bh(r,Mt(t),n);return Lt(i),r},t.prototype.projectNodes=function(t,e){var r=Mt(t);if(n(r)&&r instanceof Hh){var i=r;e.forEach(function(t){i.addChild(Mt(t))})}this._delegate.projectNodes(t,e)},t.prototype.attachViewAfter=function(t,e){var r=Mt(t);if(n(r)){var i=r.parent;if(e.length>0&&n(i)){var o=[];e.forEach(function(t){return o.push(Mt(t))}),i.insertChildrenAfter(r,o)}}this._delegate.attachViewAfter(t,e)},t.prototype.detachView=function(t){t.forEach(function(t){var e=Mt(t);n(e)&&n(e.parent)&&e.parent.removeChild(e)}),this._delegate.detachView(t)},t.prototype.destroyView=function(t,e){e.forEach(function(t){Vt(Mt(t))}),this._delegate.destroyView(t,e)},t.prototype.listen=function(t,e,r){var i=Mt(t);return n(i)&&i.listeners.push(new Fh(e,r)),this._delegate.listen(t,e,r)},t.prototype.listenGlobal=function(t,e,n){return this._delegate.listenGlobal(t,e,n)},t.prototype.setElementProperty=function(t,e,r){var i=Mt(t);n(i)&&i instanceof Hh&&(i.properties[e]=r),this._delegate.setElementProperty(t,e,r)},t.prototype.setElementAttribute=function(t,e,r){var i=Mt(t);n(i)&&i instanceof Hh&&(i.attributes[e]=r),this._delegate.setElementAttribute(t,e,r)},t.prototype.setBindingDebugInfo=function(t,e,n){this._delegate.setBindingDebugInfo(t,e,n)},t.prototype.setElementClass=function(t,e,r){var i=Mt(t);n(i)&&i instanceof Hh&&(i.classes[e]=r),this._delegate.setElementClass(t,e,r)},t.prototype.setElementStyle=function(t,e,r){var i=Mt(t);n(i)&&i instanceof Hh&&(i.styles[e]=r),this._delegate.setElementStyle(t,e,r)},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){return this._delegate.animate(t,e,n,r,i,o)},t}(),hf=function(){function t(t,e,n){this.providerTokens=t,this.componentToken=e,this.refTokens=n}return t}(),ff=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 n(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 n(t)&&n(t.componentToken)?this.injector.get(t.componentToken):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){for(var t=this._view;n(t.declarationAppElement)&&t.type!==fu.COMPONENT;)t=t.declarationAppElement.parentView;return n(t.declarationAppElement)?t.declarationAppElement.nativeElement:null},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 n(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 n(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={},i=this._staticNodeInfo;if(n(i)){var o=i.refTokens;Object.keys(o).forEach(function(n){var i,s=o[n];i=r(s)?t._view.allNodes?t._view.allNodes[t._nodeIndex]:null:t._view.injectorGet(s,t._nodeIndex,null),e[n]=i})}return e},enumerable:!0,configurable:!0}),t}(),df=function(){function t(t){var e=t.fromState,n=t.toState,r=t.totalTime;this.fromState=e,this.toState=n,this.totalTime=r}return t}(),_f=function(){function t(){this._map=new Map,this._allPlayers=[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.getAllPlayers().length},enumerable:!0,configurable:!0}),t.prototype.find=function(t,e){var r=this._map.get(t);if(n(r))return r[e]},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,r){var i=this._map.get(t);n(i)||(i={});var o=i[e];n(o)&&this.remove(t,e),i[e]=r,this._allPlayers.push(r),this._map.set(t,i)},t.prototype.getAllPlayers=function(){return this._allPlayers},t.prototype.remove=function(t,e){var n=this._map.get(t);if(n){var r=n[e];delete n[e];var i=this._allPlayers.indexOf(r);this._allPlayers.splice(i,1),0===Object.keys(n).length&&this._map.delete(t)}},t}(),yf=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)},gf=new Object,mf=function(t){function e(e,n){t.call(this),this._view=e,this._nodeIndex=n}return yf(e,t),e.prototype.get=function(t,e){void 0===e&&(e=Ul);var n=gf;return n===gf&&(n=this._view.injectorGet(t,this._nodeIndex,gf)),n===gf&&(n=this._view.parentInjector.get(t,e)),n},e}(Wl),vf=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)},bf=gu("AppView#check(ascii id)"),wf=function(){function t(t,e,n,r,i,o,s){this.clazz=t,this.componentType=e,this.type=n,this.viewUtils=r,this.parentInjector=i,this.declarationAppElement=o,this.cdMode=s,this.contentChildren=[],this.viewChildren=[],this.viewContainerElement=null,this.numberOfChecks=0,this.animationPlayers=new _f,this._animationListeners=new Map,this.ref=new Lh(this),n===fu.COMPONENT||n===fu.HOST?this.renderer=r.renderComponent(e):this.renderer=o.parentView.renderer}return Object.defineProperty(t.prototype,"destroyed",{get:function(){return this.cdMode===Ol.Destroyed},enumerable:!0,configurable:!0}),t.prototype.cancelActiveAnimation=function(t,e,r){if(void 0===r&&(r=!1),r)this.animationPlayers.findAllPlayersByElement(t).forEach(function(t){return t.destroy()});else{var i=this.animationPlayers.find(t,e);n(i)&&i.destroy()}},t.prototype.queueAnimation=function(t,e,n,r,i,o){var s=this;Rt(n);var a=new df({
  fromState:i,toState:o,totalTime:r});this.animationPlayers.set(t,e,n),n.onDone(function(){s.triggerAnimationOutput(t,e,"done",a),s.animationPlayers.remove(t,e)}),n.onStart(function(){s.triggerAnimationOutput(t,e,"start",a)})},t.prototype.triggerAnimationOutput=function(t,e,r,i){var o=this._animationListeners.get(t);if(n(o)&&o.length)for(var s=0;s<o.length;s++){var a=o[s];if(a.eventName===e&&a.eventPhase===r){a.handler(i);break}}},t.prototype.registerAnimationOutput=function(t,e,r,i){var o=this._animationListeners.get(t);n(o)||this._animationListeners.set(t,o=[]),o.push(new Ef(e,r,i))},t.prototype.create=function(t,e,r){this.context=t;var i;switch(this.type){case fu.COMPONENT:i=et(e,this.componentType.slotCount);break;case fu.EMBEDDED:i=this.declarationAppElement.parentView.projectableNodes;break;case fu.HOST:i=e}return this._hasExternalHostElement=n(r),this.projectableNodes=i,this.createInternal(r)},t.prototype.createInternal=function(t){return null},t.prototype.init=function(t,e,n,r){this.rootNodesOrAppElements=t,this.allNodes=e,this.disposables=n,this.subscriptions=r,this.type===fu.COMPONENT&&(this.declarationAppElement.parentView.viewChildren.push(this),this.dirtyParentQueriesInternal())},t.prototype.selectOrCreateHostElement=function(t,e,r){var i;return i=n(e)?this.renderer.selectRootElement(e,r):this.renderer.createElement(null,t,r)},t.prototype.injectorGet=function(t,e,n){return this.injectorGetInternal(t,e,n)},t.prototype.injectorGetInternal=function(t,e,n){return n},t.prototype.injector=function(t){return n(t)?new mf(this,t):this.parentInjector},t.prototype.destroy=function(){this._hasExternalHostElement?this.renderer.detachView(this.flatRootNodes):n(this.viewContainerElement)&&this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this)),this._destroyRecurse()},t.prototype._destroyRecurse=function(){if(this.cdMode!==Ol.Destroyed){for(var t=this.contentChildren,e=0;e<t.length;e++)t[e]._destroyRecurse();t=this.viewChildren;for(var e=0;e<t.length;e++)t[e]._destroyRecurse();this.destroyLocal(),this.cdMode=Ol.Destroyed}},t.prototype.destroyLocal=function(){for(var t=this,e=this.type===fu.COMPONENT?this.declarationAppElement.nativeElement:null,n=0;n<this.disposables.length;n++)this.disposables[n]();for(var n=0;n<this.subscriptions.length;n++)this.subscriptions[n].unsubscribe();if(this.destroyInternal(),this.dirtyParentQueriesInternal(),0==this.animationPlayers.length)this.renderer.destroyView(e,this.allNodes);else{var r=new Qh(this.animationPlayers.getAllPlayers());r.onDone(function(){t.renderer.destroyView(e,t.allNodes)})}},t.prototype.destroyInternal=function(){},t.prototype.detachInternal=function(){},t.prototype.detach=function(){var t=this;if(this.detachInternal(),0==this.animationPlayers.length)this.renderer.detachView(this.flatRootNodes);else{var e=new Qh(this.animationPlayers.getAllPlayers());e.onDone(function(){t.renderer.detachView(t.flatRootNodes)})}},Object.defineProperty(t.prototype,"changeDetectorRef",{get:function(){return this.ref},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return n(this.declarationAppElement)?this.declarationAppElement.parentView:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"flatRootNodes",{get:function(){return J(this.rootNodesOrAppElements)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastRootNode",{get:function(){var t=this.rootNodesOrAppElements.length>0?this.rootNodesOrAppElements[this.rootNodesOrAppElements.length-1]:null;return Xt(t)},enumerable:!0,configurable:!0}),t.prototype.dirtyParentQueriesInternal=function(){},t.prototype.detectChanges=function(t){var e=bf(this.clazz);this.cdMode!==Ol.Checked&&this.cdMode!==Ol.Errored&&(this.cdMode===Ol.Destroyed&&this.throwDestroyedError("detectChanges"),this.detectChangesInternal(t),this.cdMode===Ol.CheckOnce&&(this.cdMode=Ol.Checked),this.numberOfChecks++,mu(e))},t.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},t.prototype.detectContentChildrenChanges=function(t){for(var e=0;e<this.contentChildren.length;++e){var n=this.contentChildren[e];n.cdMode!==Ol.Detached&&n.detectChanges(t)}},t.prototype.detectViewChildrenChanges=function(t){for(var e=0;e<this.viewChildren.length;++e){var n=this.viewChildren[e];n.cdMode!==Ol.Detached&&n.detectChanges(t)}},t.prototype.markContentChildAsMoved=function(t){this.dirtyParentQueriesInternal()},t.prototype.addToContentChildren=function(t){t.parentView.contentChildren.push(this),this.viewContainerElement=t,this.dirtyParentQueriesInternal()},t.prototype.removeFromContentChildren=function(t){Kl.remove(t.parentView.contentChildren,this),this.dirtyParentQueriesInternal(),this.viewContainerElement=null},t.prototype.markAsCheckOnce=function(){this.cdMode=Ol.CheckOnce},t.prototype.markPathToRootAsCheckOnce=function(){for(var t=this;n(t)&&t.cdMode!==Ol.Detached;){t.cdMode===Ol.Checked&&(t.cdMode=Ol.CheckOnce);var e=t.type===fu.COMPONENT?t.declarationAppElement:t.viewContainerElement;t=n(e)?e.parentView:null}},t.prototype.eventHandler=function(t){return t},t.prototype.throwDestroyedError=function(t){throw new Su(t)},t}(),Cf=function(t){function e(e,n,r,i,o,s,a,l){t.call(this,e,n,r,i,o,s,a),this.staticNodeDebugInfos=l,this._currentDebugContext=null}return vf(e,t),e.prototype.create=function(e,n,r){this._resetDebug();try{return t.prototype.create.call(this,e,n,r)}catch(t){throw this._rethrowWithContext(t),t}},e.prototype.injectorGet=function(e,n,r){this._resetDebug();try{return t.prototype.injectorGet.call(this,e,n,r)}catch(t){throw this._rethrowWithContext(t),t}},e.prototype.detach=function(){this._resetDebug();try{t.prototype.detach.call(this)}catch(t){throw this._rethrowWithContext(t),t}},e.prototype.destroyLocal=function(){this._resetDebug();try{t.prototype.destroyLocal.call(this)}catch(t){throw this._rethrowWithContext(t),t}},e.prototype.detectChanges=function(e){this._resetDebug();try{t.prototype.detectChanges.call(this,e)}catch(t){throw this._rethrowWithContext(t),t}},e.prototype._resetDebug=function(){this._currentDebugContext=null},e.prototype.debug=function(t,e,n){return this._currentDebugContext=new ff(this,t,e,n)},e.prototype._rethrowWithContext=function(t){if(!(t instanceof Pu)&&(t instanceof Tu||(this.cdMode=Ol.Errored),n(this._currentDebugContext)))throw new Pu(t,this._currentDebugContext)},e.prototype.eventHandler=function(e){var n=this,r=t.prototype.eventHandler.call(this,e);return function(t){n._resetDebug();try{return r(t)}catch(t){throw n._rethrowWithContext(t),t}}},e}(wf),Ef=function(){function t(t,e,n){this.eventName=t,this.eventPhase=e,this.handler=n}return t}(),xf={isDefaultChangeDetectionStrategy:w,ChangeDetectorStatus:Ol,constructDependencies:V,LifecycleHooks:Tl,LIFECYCLE_HOOKS_VALUES:Nl,ReflectorReader:pc,CodegenComponentFactoryResolver:Uu,AppElement:xu,AppView:wf,DebugAppView:Cf,NgModuleInjector:Sh,registerModuleFactory:kt,ViewType:fu,MAX_INTERPOLATION_VALUES:ku,checkBinding:it,flattenNestedViewRenderNodes:J,interpolate:nt,ViewUtils:Iu,ViewMetadata:Vl,DebugContext:ff,StaticNodeDebugInfo:hf,devModeEqual:X,UNINITIALIZED:Qc,ValueUnwrapper:tu,RenderDebugInfo:lu,TemplateRef_:jh,ReflectionCapabilities:uc,makeDecorator:g,DebugDomRootRenderer:uf,EMPTY_ARRAY:Ru,EMPTY_MAP:ju,pureProxy1:st,pureProxy2:at,pureProxy3:lt,pureProxy4:ct,pureProxy5:ut,pureProxy6:pt,pureProxy7:ht,pureProxy8:ft,pureProxy9:dt,pureProxy10:_t,castByValue:ot,Console:Mc,reflector:dc,Reflector:fc,NoOpAnimationPlayer:ef,AnimationPlayer:tf,AnimationSequencePlayer:nf,AnimationGroupPlayer:Qh,AnimationKeyframe:Jh,prepareFinalAnimationStyles:zt,balanceAnimationKeyframes:Ut,flattenStyles:Yt,clearStyles:Gt,renderStyles:qt,collectAndResolveStyles:Wt,AnimationStyles:cf,ANY_STATE:Xh,DEFAULT_STATE:$h,EMPTY_STATE:Kh,FILL_STYLE_FLAG:Yh,ComponentStillLoadingError:Vc,isPromise:U},Of=function(){function t(){}return t}(),Tf=new gl("appBaseHref");Eu="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:ol:window;var Pf=Eu;Pf.assert=function(t){};var Sf,If=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),Af=function(){function t(){}return t.parse=function(t){return Pf.JSON.parse(t)},t.stringify=function(t){return Pf.JSON.stringify(t,null,2)},t}(),kf=null,Rf=function(){function t(e){var n=this;this._subject=new hh,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(oe(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.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(ie(this._baseHref,oe(e)))},t.prototype.prepareExternalUrl=function(t){return t.length>0&&!t.startsWith("/")&&(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.length>0&&"?"!=t.substring(0,1)?"?"+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/\/$/g.test(t)&&(t=t.substring(0,t.length-1)),t},t.decorators=[{type:fl}],t.ctorParameters=[{type:Of}],t}(),jf=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)},Df=function(t){function e(e,n){t.call(this),this._platformLocation=e,this._baseHref="",Kt(n)&&(this._baseHref=n)}return jf(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 Kt(e)||(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Rf.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Rf.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+Rf.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:fl}],e.ctorParameters=[{type:il},{type:void 0,decorators:[{type:hl},{type:pl,args:[Tf]}]}],e}(Of),Nf=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)},Mf=function(t){function e(e,n){if(t.call(this),this._platformLocation=e,Zt(n)&&(n=this._platformLocation.getBaseHrefFromDOM()),Zt(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 Nf(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 Rf.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Rf.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+Rf.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Rf.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:fl}],e.ctorParameters=[{type:il},{type:void 0,decorators:[{type:hl},{type:pl,args:[Tf]}]}],e}(Of),Lf=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)},Vf=function(){function t(){}return t}(),Ff=function(t){function e(e){t.call(this),this._locale=e}return Lf(e,t),e.prototype.getPluralCategory=function(t){var e=ae(this._locale,t);switch(e){case Sf.Zero:return"zero";case Sf.One:return"one";case Sf.Two:return"two";case Sf.Few:return"few";case Sf.Many:return"many";default:return"other"}},e.decorators=[{type:fl}],e.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[Wh]}]}],e}(Vf);!function(t){t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other"}(Sf||(Sf={}));var Bf,Hf=(function(){try{if(1===new Map([[1,2]]).size)return function(t){return new Map(t)}}catch(t){}return function(t){for(var e=new Map,n=0;n<t.length;n++){var r=t[n];e.set(r[0],r[1])}return e}}(),function(){try{if(new Map(new Map))return function(t){return new Map(t)}}catch(t){}return function(t){var e=new Map;return t.forEach(function(t,n){e.set(n,t)}),e}}(),function(){return(new Map).keys().next?function(t){for(var e,n=t.keys();!(e=n.next()).done;)t.set(e.value,null)}:function(t){t.forEach(function(e,n){t.set(n,null)})}}(),function(){try{if((new Map).values().next)return function(t,e){return e?Array.from(t.values()):Array.from(t.keys())}}catch(t){}return function(t,e){var n=new Array(t.size),r=0;return t.forEach(function(t,i){n[r]=e?t:i,r++}),n}}(),function(){function t(){}return t.createFixedSize=function(t){return new Array(t)},t.createGrowableSize=function(t){return new Array(t)},t.clone=function(t){return t.slice(0)},t.forEachWithIndex=function(t,e){for(var n=0;n<t.length;n++)e(t[n],n)},t.first=function(t){return t?t[0]:null},t.last=function(t){return t&&0!=t.length?t[t.length-1]:null},t.indexOf=function(t,e,n){return void 0===n&&(n=0),t.indexOf(e,n)},t.contains=function(t,e){return t.indexOf(e)!==-1},t.reversed=function(e){var n=t.clone(e);return n.reverse()},t.concat=function(t,e){return t.concat(e)},t.insert=function(t,e,n){t.splice(e,0,n)},t.removeAt=function(t,e){var n=t[e];return t.splice(e,1),n},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},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.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.splice=function(t,e,n){return t.splice(e,n)},t.sort=function(t,e){Kt(e)?t.sort(e):t.sort()},t.toString=function(t){return t.toString()},t.toJSON=function(t){return JSON.stringify(t)},t.maximum=function(t,e){if(0==t.length)return null;for(var n=null,r=-(1/0),i=0;i<t.length;i++){var o=t[i];if(!Zt(o)){var s=e(o);s>r&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return le(t,e),e},t.addAll=function(t,e){for(var n=0;n<e.length;n++)t.push(e[n])},t}()),zf=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&&(ce(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){return 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){Kt(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:Pl,args:[{selector:"[ngClass]"}]}],t.ctorParameters=[{type:Kc},{type:Zc},{type:_u},{type:cu}],t.propDecorators={klass:[{type:Al,args:["class"]}],ngClass:[{type:Al}]},t}(),Uf=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}(),Gf=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(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+$t(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 Uf(null,null,null),i),s=new Wf(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 Wf(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;r<i;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:Pl,args:[{selector:"[ngFor][ngForOf]"}]}],t.ctorParameters=[{type:vu},{type:Rh},{type:Kc},{type:nu}],t.propDecorators={ngForOf:[{type:Al}],ngForTrackBy:[{type:Al}],ngForTemplate:[{type:Al}]},t}(),Wf=function(){function t(t,e){this.record=t,this.view=e}return t}(),qf=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:Pl,args:[{selector:"[ngIf]"}]}],t.ctorParameters=[{type:vu},{type:Rh}],t.propDecorators={ngIf:[{type:Al}]},t}(),Yf=new Object,Xf=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e}return t.prototype.create=function(){this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._viewContainerRef.clear()},t}(),$f=function(){function t(){this._useDefault=!1,this._valueViews=new Map,this._activeViews=[]}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._emptyAllActiveViews(),this._useDefault=!1;var e=this._valueViews.get(t);e||(this._useDefault=!0,e=this._valueViews.get(Yf)||null),this._activateViews(e),this._switchValue=t},enumerable:!0,configurable:!0}),t.prototype._onCaseValueChanged=function(t,e,n){this._deregisterView(t,n),this._registerView(e,n),t===this._switchValue?(n.destroy(),Hf.remove(this._activeViews,n)):e===this._switchValue&&(this._useDefault&&(this._useDefault=!1,this._emptyAllActiveViews()),n.create(),this._activeViews.push(n)),0!==this._activeViews.length||this._useDefault||(this._useDefault=!0,this._activateViews(this._valueViews.get(Yf)))},t.prototype._emptyAllActiveViews=function(){for(var t=this._activeViews,e=0;e<t.length;e++)t[e].destroy();this._activeViews=[]},t.prototype._activateViews=function(t){if(t){for(var e=0;e<t.length;e++)t[e].create();this._activeViews=t}},t.prototype._registerView=function(t,e){var n=this._valueViews.get(t);n||(n=[],this._valueViews.set(t,n)),n.push(e)},t.prototype._deregisterView=function(t,e){if(t!==Yf){var n=this._valueViews.get(t);1==n.length?this._valueViews.delete(t):Hf.remove(n,e)}},t.decorators=[{type:Pl,args:[{selector:"[ngSwitch]"}]}],t.ctorParameters=[],t.propDecorators={ngSwitch:[{type:Al}]},t}(),Kf=function(){function t(t,e,n){this._value=Yf,this._switch=n,this._view=new Xf(t,e)}return Object.defineProperty(t.prototype,"ngSwitchCase",{set:function(t){this._switch._onCaseValueChanged(this._value,t,this._view),this._value=t},enumerable:!0,configurable:!0}),t.decorators=[{type:Pl,args:[{selector:"[ngSwitchCase]"}]}],t.ctorParameters=[{type:vu},{type:Rh},{type:$f,decorators:[{type:yl}]}],t.propDecorators={ngSwitchCase:[{type:Al}]},t}(),Zf=function(){function t(t,e,n){n._registerView(Yf,new Xf(t,e))}return t.decorators=[{type:Pl,args:[{selector:"[ngSwitchDefault]"}]}],t.ctorParameters=[{type:vu},{type:Rh},{type:$f,decorators:[{type:yl}]}],t}(),Qf=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=se(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:Pl,args:[{selector:"[ngPlural]"}]}],t.ctorParameters=[{type:Vf}],t.propDecorators={ngPlural:[{type:Al}]},t}(),Jf=function(){function t(t,e,n,r){this.value=t,r.addCase(t,new Xf(n,e))}return t.decorators=[{type:Pl,args:[{selector:"[ngPluralCase]"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:vl,args:["ngPluralCase"]}]},{type:Rh},{type:vu},{type:Qf,decorators:[{type:yl}]}],t}(),td=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:Pl,args:[{selector:"[ngStyle]"}]}],t.ctorParameters=[{type:Zc},{type:_u},{type:cu}],t.propDecorators={ngStyle:[{type:Al}]},t}(),ed=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:Pl,args:[{selector:"[ngTemplateOutlet]"}]}],t.ctorParameters=[{type:vu}],t.propDecorators={ngOutletContext:[{type:Al}],ngTemplateOutlet:[{type:Al}]},t}(),nd=[zf,Gf,qf,ed,td,$f,Kf,Zf,Qf,Jf],rd=xf.isPromise,id=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)},od=function(t){function e(e){var n=t.call(this,e);this._nativeError=n}return id(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),sd=(function(t){function e(e,n){t.call(this,e+" caused by: "+(n instanceof Error?n.message:n)),this.originalError=n}return id(e,t),Object.defineProperty(e.prototype,"stack",{get:function(){return(this.originalError instanceof Error?this.originalError:this._nativeError).stack},enumerable:!0,configurable:!0}),e}(od),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)}),ad=function(t){function e(e,n){t.call(this,"Invalid argument '"+n+"' for pipe '"+ee(e)+"'")}return sd(e,t),e}(od),ld=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}(),cd=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}(),ud=new cd,pd=new ld,hd=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,Jc.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(rd(e))return ud;if(e.subscribe)return pd;throw new ad(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:Il,args:[{name:"async",pure:!1}]}],t.ctorParameters=[{type:nu}],t}();!function(t){t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency"}(Bf||(Bf={}));var fd,dd=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,l=i.currency,c=i.currencyAsSymbol,u=void 0!==c&&c,p={minimumIntegerDigits:o,minimumFractionDigits:s,maximumFractionDigits:a,style:Bf[n].toLowerCase()};return n==Bf.Currency&&(p.currency=l,p.currencyDisplay=u?"symbol":"code"),new Intl.NumberFormat(e,p).format(t)},t}(),_d=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,yd={yMMMdjms:ve(me([ye("year",1),ge("month",3),ye("day",1),ye("hour",1),ye("minute",1),ye("second",1)])),yMdjm:ve(me([ye("year",1),ye("month",1),ye("day",1),ye("hour",1),ye("minute",1)])),yMMMMEEEEd:ve(me([ye("year",1),ge("month",4),ge("weekday",4),ye("day",1)])),yMMMMd:ve(me([ye("year",1),ge("month",4),ye("day",1)])),yMMMd:ve(me([ye("year",1),ge("month",3),ye("day",1)])),yMd:ve(me([ye("year",1),ye("month",1),ye("day",1)])),jms:ve(me([ye("hour",1),ye("second",1),ye("minute",1)])),jm:ve(me([ye("hour",1),ye("minute",1)]))},gd={yyyy:ve(ye("year",4)),yy:ve(ye("year",2)),y:ve(ye("year",1)),MMMM:ve(ge("month",4)),MMM:ve(ge("month",3)),MM:ve(ye("month",2)),M:ve(ye("month",1)),LLLL:ve(ge("month",4)),dd:ve(ye("day",2)),d:ve(ye("day",1)),HH:ue(he(ve(_e(ye("hour",2),!1)))),H:he(ve(_e(ye("hour",1),!1))),hh:ue(he(ve(_e(ye("hour",2),!0)))),h:he(ve(_e(ye("hour",1),!0))),jj:ve(ye("hour",2)),j:ve(ye("hour",1)),mm:ue(ve(ye("minute",2))),m:ve(ye("minute",1)),ss:ue(ve(ye("second",2))),s:ve(ye("second",1)),sss:ve(ye("second",3)),EEEE:ve(ge("weekday",4)),EEE:ve(ge("weekday",3)),EE:ve(ge("weekday",2)),E:ve(ge("weekday",1)),a:pe(ve(_e(ye("hour",1),!0))),Z:de("short"),z:de("long"),ww:ve({}),w:ve({}),G:ve(ge("era",1)),GG:ve(ge("era",2)),GGG:ve(ge("era",3)),GGGG:ve(ge("era",4))},md=new Map,vd=[].slice,bd=function(){function t(){}return t.format=function(t,e,n){return be(n,t,e)},t}(),wd=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){if(void 0===n&&(n="mediumDate"),Zt(e))return null;if(!this.supports(e))throw new ad(t,e);return If.isNumeric(e)&&(e=parseFloat(e)),
  bd.format(new Date(e),this._locale,t._ALIASES[n]||n)},t.prototype.supports=function(t){return te(t)||If.isNumeric(t)||"string"==typeof t&&te(new Date(t))},t._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},t.decorators=[{type:Il,args:[{name:"date",pure:!0}]}],t.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[Wh]}]}],t}(),Cd=/#/g,Ed=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,n){if(Zt(e))return"";if(!Qt(n))throw new ad(t,n);var r=se(e,Object.keys(n),this._localization);return n[r].replace(Cd,e.toString())},t.decorators=[{type:Il,args:[{name:"i18nPlural",pure:!0}]}],t.ctorParameters=[{type:Vf}],t}(),xd=function(){function t(){}return t.prototype.transform=function(e,n){if(Zt(e))return"";if(!Qt(n))throw new ad(t,n);return n.hasOwnProperty(e)?n[e]:""},t.decorators=[{type:Il,args:[{name:"i18nSelect",pure:!0}]}],t.ctorParameters=[],t}(),Od=function(){function t(){}return t.prototype.transform=function(t){return Af.stringify(t)},t.decorators=[{type:Il,args:[{name:"json",pure:!1}]}],t.ctorParameters=[],t}(),Td=function(){function t(){}return t.prototype.transform=function(e){if(Zt(e))return e;if("string"!=typeof e)throw new ad(t,e);return e.toLowerCase()},t.decorators=[{type:Il,args:[{name:"lowercase"}]}],t.ctorParameters=[],t}(),Pd=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Sd=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),Ce(t,this._locale,e,Bf.Decimal,n)},t.decorators=[{type:Il,args:[{name:"number"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[Wh]}]}],t}(),Id=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),Ce(t,this._locale,e,Bf.Percent,n)},t.decorators=[{type:Il,args:[{name:"percent"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[Wh]}]}],t}(),Ad=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),Ce(t,this._locale,e,Bf.Currency,i,n,r)},t.decorators=[{type:Il,args:[{name:"currency"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[Wh]}]}],t}(),kd=function(){function t(){}return t.prototype.transform=function(e,n,r){if(Zt(e))return e;if(!this.supports(e))throw new ad(t,e);return e.slice(n,r)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t.decorators=[{type:Il,args:[{name:"slice",pure:!1}]}],t.ctorParameters=[],t}(),Rd=function(){function t(){}return t.prototype.transform=function(e){if(Zt(e))return e;if("string"!=typeof e)throw new ad(t,e);return e.toUpperCase()},t.decorators=[{type:Il,args:[{name:"uppercase"}]}],t.ctorParameters=[],t}(),jd=[hd,Rd,Td,Od,kd,Sd,Id,Ad,wd,Ed,xd],Dd=function(){function t(){}return t.decorators=[{type:Ml,args:[{declarations:[nd,jd],exports:[nd,jd],providers:[{provide:Vf,useClass:Ff}]}]}],t.ctorParameters=[],t}(),Nd=xf.DebugDomRootRenderer,Md=xf.NoOpAnimationPlayer,Ld=function(){function t(){}return t.prototype.animate=function(t,e,n,r,i,o){return new Md},t}(),Vd=function(){function t(){}return t.NOOP=new Ld,t}();fd="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:ol:window;var Fd=fd;Fd.assert=function(t){};var Bd,Hd,zd=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),Ud=function(){function t(){}return t.parse=function(t){return Fd.JSON.parse(t)},t.stringify=function(t){return Fd.JSON.stringify(t,null,2)},t}(),Gd=/([A-Z])/g,Wd=/-([a-z])/g,qd=null,Yd=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),Xd=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._initialized=!1,this._started=!1,this.parentPlayer=null,this._duration=n.duration}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,Ee(this.parentPlayer)||this.destroy(),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(r){var i=e[r];n[r]=i==of?De(t.element,r):i}),n});this._player=this._triggerWebAnimation(this.element,e,this.options),this.reset(),this._player.onfinish=function(){return t._onFinish()}}},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.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._player.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this.reset(),this._onFinish()},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}(),$d=function(){function t(){}return t.prototype.animate=function(t,e,n,r,i,o){var s=[],a={};if(Ee(e)&&e.styles.length>0&&(a=Ne(t,e,{}),a.offset=0,s.push(a)),n.forEach(function(e){var n=Ne(t,e.styles,a);n.offset=e.offset,s.push(n)}),1==s.length){var l=s[0];l.offset=null,s=[l,l]}var c={duration:r,delay:i,fill:"both"};return o&&(c.easing=o),new Xd(t,s,c)},t}(),Kd=48,Zd=57,Qd=46,Jd=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)},t_=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(Ee(this.getStyle(n,"animationName")))this._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i<r.length;i++)if(Ee(this.getStyle(n,r[i]+"AnimationName"))){this._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(t){Ee(e.getStyle(n,t))&&(e._transitionEnd=o[t])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}return Jd(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 Ee(this._animationPrefix)&&Ee(this._transitionEnd)},e}(Yd),e_=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)},n_={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},r_=3,i_={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},o_={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"},s_=function(t){function e(){t.apply(this,arguments)}return e_(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){je(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.error||window.console.log)(t)},e.prototype.log=function(t){window.console.log(t)},e.prototype.logGroup=function(t){window.console.group&&window.console.group(t),this.logError(t)},e.prototype.logGroupEnd=function(){window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return n_},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||Ee(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(t){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))},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 Ee(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(xe(e)){if(e=t.keyIdentifier,xe(e))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),t.location===r_&&o_.hasOwnProperty(e)&&(e=o_[e]))}return i_[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=Fe();return xe(t)?null:Be(t)},e.prototype.resetBaseElement=function(){a_=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){Ie(Fd,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 He(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(t_),a_=null,l_=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)},c_=function(t){function e(){t.call(this),this._init()}return l_(e,t),e.prototype._init=function(){this._location=Re().getLocation(),this._history=Re().getHistory()},Object.defineProperty(e.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),e.prototype.getBaseHrefFromDOM=function(){return Re().getBaseHref()},e.prototype.onPopState=function(t){Re().getGlobalEventTarget("window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Re().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){ze()?this._history.pushState(t,e,n):this._location.hash=n},e.prototype.replaceState=function(t,e,n){ze()?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:fl}],e.ctorParameters=[],e}(il),u_=(function(){try{if(1===new Map([[1,2]]).size)return function(t){return new Map(t)}}catch(t){}return function(t){for(var e=new Map,n=0;n<t.length;n++){var r=t[n];e.set(r[0],r[1])}return e}}(),function(){try{if(new Map(new Map))return function(t){return new Map(t)}}catch(t){}return function(t){var e=new Map;return t.forEach(function(t,n){e.set(n,t)}),e}}(),function(){return(new Map).keys().next?function(t){for(var e,n=t.keys();!(e=n.next()).done;)t.set(e.value,null)}:function(t){t.forEach(function(e,n){t.set(n,null)})}}(),function(){try{if((new Map).values().next)return function(t,e){return e?Array.from(t.values()):Array.from(t.keys())}}catch(t){}return function(t,e){var n=new Array(t.size),r=0;return t.forEach(function(t,i){n[r]=e?t:i,r++}),n}}(),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}()),p_=function(){function t(){}return t.createFixedSize=function(t){return new Array(t)},t.createGrowableSize=function(t){return new Array(t)},t.clone=function(t){return t.slice(0)},t.forEachWithIndex=function(t,e){for(var n=0;n<t.length;n++)e(t[n],n)},t.first=function(t){return t?t[0]:null},t.last=function(t){return t&&0!=t.length?t[t.length-1]:null},t.indexOf=function(t,e,n){return void 0===n&&(n=0),t.indexOf(e,n)},t.contains=function(t,e){return t.indexOf(e)!==-1},t.reversed=function(e){var n=t.clone(e);return n.reverse()},t.concat=function(t,e){return t.concat(e)},t.insert=function(t,e,n){t.splice(e,0,n)},t.removeAt=function(t,e){var n=t[e];return t.splice(e,1),n},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},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.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.splice=function(t,e,n){return t.splice(e,n)},t.sort=function(t,e){Ee(e)?t.sort(e):t.sort()},t.toString=function(t){return t.toString()},t.toJSON=function(t){return JSON.stringify(t)},t.maximum=function(t,e){if(0==t.length)return null;for(var n=null,r=-(1/0),i=0;i<t.length;i++){var o=t[i];if(!xe(o)){var s=e(o);s>r&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return Ue(t,e),e},t.addAll=function(t,e){for(var n=0;n<e.length;n++)t.push(e[n])},t}(),h_=function(){function t(){}return t.init=function(){Et(new t)},t.prototype.addToWindow=function(t){Fd.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},Fd.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Fd.getAllAngularRootElements=function(){return t.getAllRootElements()};var e=function(t){var e=Fd.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(i)})};Fd.frameworkStabilizers||(Fd.frameworkStabilizers=p_.createGrowableSize(0)),Fd.frameworkStabilizers.push(e)},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return Ee(r)?r:n?Re().isShadowRoot(e)?this.findTestabilityInTree(t,Re().getHost(e),!0):this.findTestabilityInTree(t,Re().parentElement(e),!0):null},t}(),f_=function(){function t(){}return t.prototype.getTitle=function(){return Re().getTitle()},t.prototype.setTitle=function(t){Re().setTitle(t)},t}(),d_=new gl("DocumentToken"),__=new gl("EventManagerPlugins"),y_=function(){function t(t,e){var n=this;this._zone=e,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){for(var e=this._plugins,n=0;n<e.length;n++){var r=e[n];if(r.supports(t))return r}throw new Error("No event manager plugin found for event "+t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:Array,decorators:[{type:pl,args:[__]}]},{type:fh}],t}(),g_=function(){function t(){}return t.prototype.supports=function(t){return!1},t.prototype.addEventListener=function(t,e,n){throw"not implemented"},t.prototype.addGlobalEventListener=function(t,e,n){throw"not implemented"},t}(),m_=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(){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:fl}],t.ctorParameters=[],t}(),b_=function(t){function e(e){t.call(this),this._hostNodes=new Set,this._hostNodes.add(e.head)}return m_(e,t),e.prototype._addStylesToHost=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];Re().appendChild(e,Re().createStyleElement(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:fl}],e.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[d_]}]}],e}(v_),w_=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)},C_={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml"},E_="template bindings={}",x_=/^template bindings=(.*)$/,O_=function(){function t(t,e,n,r){this.document=t,this.eventManager=e,this.sharedStylesHost=n,this.animationDriver=r,this.registeredComponents=new Map}return t.prototype.renderComponent=function(t){var e=this.registeredComponents.get(t.id);return e||(e=new P_(this,t,this.animationDriver),this.registeredComponents.set(t.id,e)),e},t}(),T_=function(t){function e(e,n,r,i){t.call(this,e,n,r,i)}return w_(e,t),e.decorators=[{type:fl}],e.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[d_]}]},{type:y_},{type:b_},{type:Vd}],e}(O_),P_=function(){function t(t,e,n){this._rootRenderer=t,this.componentProto=e,this._animationDriver=n,this._styles=$e(e.id,e.styles,[]),e.encapsulation!==Dl.Native&&this._rootRenderer.sharedStylesHost.addStyles(this._styles),this.componentProto.encapsulation===Dl.Emulated?(this._contentAttr=Ye(e.id),this._hostAttr=Xe(e.id)):(this._contentAttr=null,this._hostAttr=null)}return t.prototype.selectRootElement=function(t,e){var n;if(Te(t)){if(n=Re().querySelector(this._rootRenderer.document,t),xe(n))throw new Error('The selector "'+t+'" did not match any elements')}else n=t;return Re().clearNodes(n),n},t.prototype.createElement=function(t,e,n){var r=Ke(e),i=Ee(r[0])?Re().createElementNS(C_[r[0]],r[1]):Re().createElement(r[1]);return Ee(this._contentAttr)&&Re().setAttribute(i,this._contentAttr,""),Ee(t)&&Re().appendChild(t,i),i},t.prototype.createViewRoot=function(t){var e;if(this.componentProto.encapsulation===Dl.Native){e=Re().createShadowRoot(t),this._rootRenderer.sharedStylesHost.addHost(e);for(var n=0;n<this._styles.length;n++)Re().appendChild(e,Re().createStyleElement(this._styles[n]))}else Ee(this._hostAttr)&&Re().setAttribute(t,this._hostAttr,""),e=t;return e},t.prototype.createTemplateAnchor=function(t,e){var n=Re().createComment(E_);return Ee(t)&&Re().appendChild(t,n),n},t.prototype.createText=function(t,e,n){var r=Re().createTextNode(e);return Ee(t)&&Re().appendChild(t,r),r},t.prototype.projectNodes=function(t,e){xe(t)||We(t,e)},t.prototype.attachViewAfter=function(t,e){Ge(t,e)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++)Re().remove(t[e])},t.prototype.destroyView=function(t,e){this.componentProto.encapsulation===Dl.Native&&Ee(t)&&this._rootRenderer.sharedStylesHost.removeHost(Re().getShadowRoot(t))},t.prototype.listen=function(t,e,n){return this._rootRenderer.eventManager.addEventListener(t,e,qe(n))},t.prototype.listenGlobal=function(t,e,n){return this._rootRenderer.eventManager.addGlobalEventListener(t,e,qe(n))},t.prototype.setElementProperty=function(t,e,n){Re().setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r,i=Ke(e);Ee(i[0])&&(e=i[0]+":"+i[1],r=C_[i[0]]),Ee(n)?Ee(r)?Re().setAttributeNS(t,r,e,n):Re().setAttribute(t,e,n):Ee(r)?Re().removeAttributeNS(t,r,i[1]):Re().removeAttribute(t,e)},t.prototype.setBindingDebugInfo=function(t,e,n){var r=Ae(e);if(Re().isCommentNode(t)){var i=Re().getText(t).replace(/\n/g,"").match(x_),o=Ud.parse(i[1]);o[r]=n,Re().setText(t,E_.replace("{}",Ud.stringify(o)))}else this.setElementAttribute(t,e,n)},t.prototype.setElementClass=function(t,e,n){n?Re().addClass(t,e):Re().removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){Ee(n)?Re().setStyle(t,e,Se(n)):Re().removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){Re().invoke(t,e,n)},t.prototype.setText=function(t,e){Re().setText(t,e)},t.prototype.animate=function(t,e,n,r,i,o){return this._animationDriver.animate(t,e,n,r,i,o)},t}(),S_=/%COMP%/g,I_="%COMP%",A_="_nghost-"+I_,k_="_ngcontent-"+I_,R_=/^:([^:]+):(.+)$/,j_={ApplicationRef:Eh,NgZone:fh},D_="ng.probe",N_="ng.coreTokens",M_=function(){function t(t,e){this.name=t,this.token=e}return t}(),L_=[{provide:uu,useFactory:Qe,deps:[O_,[M_,new hl]]}],V_=([{provide:uu,useFactory:Je,deps:[O_,[M_,new hl]]}],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),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this.manager.getZone(),i=function(t){return r.runGuarded(function(){return n(t)})};return this.manager.getZone().runOutsideAngular(function(){return Re().onAndCancel(t,e,i)})},e.prototype.addGlobalEventListener=function(t,e,n){var r=Re().getGlobalEventTarget(t),i=this.manager.getZone(),o=function(t){return i.runGuarded(function(){return n(t)})};return this.manager.getZone().runOutsideAngular(function(){return Re().onAndCancel(r,e,o)})},e.decorators=[{type:fl}],e.ctorParameters=[],e}(g_),B_=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_={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},z_=function(t){function e(){t.call(this)}return B_(e,t),e.prototype.supports=function(t){return H_.hasOwnProperty(t.toLowerCase())},e}(g_),U_=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)},G_=new gl("HammerGestureConfig"),W_=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:fl}],t.ctorParameters=[],t}(),q_=function(t){function e(e){t.call(this),this._config=e}return U_(e,t),e.prototype.supports=function(e){if(!t.prototype.supports.call(this,e)&&!this.isCustomEvent(e))return!1;if(!Ee(window.Hammer))throw new Error("Hammer.js is not loaded, can not bind "+e+" 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(){o.off(e,s)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e.decorators=[{type:fl}],e.ctorParameters=[{type:W_,decorators:[{type:pl,args:[G_]}]}],e}(z_),Y_=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)},X_=["alt","control","meta","shift"],$_={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey;
  },meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},K_=function(t){function e(){t.call(this)}return Y_(e,t),e.prototype.supports=function(t){return Ee(e.parseEventName(t))},e.prototype.addEventListener=function(t,n,r){var i=e.parseEventName(n),o=e.eventCallback(t,i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Re().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(X_.forEach(function(t){p_.contains(n,t)&&(p_.remove(n,t),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=Re().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),X_.forEach(function(r){if(r!=n){var i=$_[r];i(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r,i){return function(t){e.getEventFullKey(t)===n&&i.runGuarded(function(){return r(t)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:fl}],e.ctorParameters=[],e}(g_),Z_=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Q_=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,J_=null,ty=null,ey=on("area,br,col,hr,img,wbr"),ny=on("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ry=on("rp,rt"),iy=sn(ry,ny),oy=sn(ny,on("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")),sy=sn(ry,on("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")),ay=sn(ey,oy,sy,iy),ly=on("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cy=on("srcset"),uy=on("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"),py=sn(ly,cy,uy),hy=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(ty.isElementNode(e)?this.startElement(e):ty.isTextNode(e)?this.chars(ty.nodeValue(e)):this.sanitizedSomething=!0,ty.firstChild(e))e=ty.firstChild(e);else for(;e;){if(ty.isElementNode(e)&&this.endElement(e),ty.nextSibling(e)){e=ty.nextSibling(e);break}e=ty.parentElement(e)}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=ty.nodeName(t).toLowerCase();return ay.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),ty.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();return py.hasOwnProperty(r)?(ly[r]&&(t=en(t)),cy[r]&&(t=nn(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(an(t)),void e.buf.push('"')):void(e.sanitizedSomething=!0)}),void this.buf.push(">")):void(this.sanitizedSomething=!0)},t.prototype.endElement=function(t){var e=ty.nodeName(t).toLowerCase();ay.hasOwnProperty(e)&&!ey.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(an(t))},t}(),fy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dy=/([^\#-~ |!])/g,_y="[-,.\"'%_!# a-zA-Z0-9]+",yy="(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?",gy="(?:rgb|hsl)a?",my="\\([-0-9.%, a-zA-Z]+\\)",vy=new RegExp("^("+_y+"|(?:"+yy+"|"+gy+")"+my+")$","g"),by=/^url\(([^)]+)\)$/,wy=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)},Cy=function(){function t(){}return t}(),Ey=function(t){function e(){t.apply(this,arguments)}return wy(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case Ll.NONE:return e;case Ll.HTML:return e instanceof Oy?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),cn(String(e)));case Ll.STYLE:return e instanceof Ty?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),pn(e));case Ll.SCRIPT:if(e instanceof Py)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case Ll.URL:return e instanceof Iy||e instanceof Sy?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),en(String(e)));case Ll.RESOURCE_URL:if(e instanceof Iy)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 xy)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 Oy(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Ty(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Py(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Sy(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Iy(t)},e.decorators=[{type:fl}],e.ctorParameters=[],e}(Cy),xy=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Oy=function(t){function e(){t.apply(this,arguments)}return wy(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(xy),Ty=function(t){function e(){t.apply(this,arguments)}return wy(e,t),e.prototype.getTypeName=function(){return"Style"},e}(xy),Py=function(t){function e(){t.apply(this,arguments)}return wy(e,t),e.prototype.getTypeName=function(){return"Script"},e}(xy),Sy=function(t){function e(){t.apply(this,arguments)}return wy(e,t),e.prototype.getTypeName=function(){return"URL"},e}(xy),Iy=function(t){function e(){t.apply(this,arguments)}return wy(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(xy),Ay=[{provide:Dc,useValue:hn,multi:!0},{provide:il,useClass:c_}],ky=[{provide:du,useExisting:Cy},{provide:Cy,useClass:Ey}],Ry=Pt(Gh,"browser",Ay),jy=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:Ml,args:[{providers:[ky,{provide:Ic,useFactory:fn,deps:[]},{provide:d_,useFactory:dn,deps:[]},{provide:__,useClass:F_,multi:!0},{provide:__,useClass:K_,multi:!0},{provide:__,useClass:q_,multi:!0},{provide:G_,useClass:W_},{provide:O_,useClass:T_},{provide:uu,useExisting:O_},{provide:v_,useExisting:b_},{provide:Vd,useFactory:_n},b_,dh,y_,L_,f_],exports:[Dd,qh]}]}],t.ctorParameters=[{type:t,decorators:[{type:hl},{type:_l}]}],t}(),Dy="undefined"!=typeof window&&window||{},Ny=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),My=(function(){function t(t){this.profiler=new My(t)}return t}(),function(){function t(t){this.appRef=t.injector.get(Eh)}return t.prototype.timeChangeDetection=function(t){var e=Ee(t)&&t.record,n="Change Detection",r=Ee(Dy.console.profile);e&&r&&Dy.console.profile(n);for(var i=Re().performanceNow(),o=0;o<5||Re().performanceNow()-i<500;)this.appRef.tick(),o++;var s=Re().performanceNow();e&&r&&Dy.console.profileEnd(n);var a=(s-i)/o;return Dy.console.log("ran "+o+" change detection cycles"),Dy.console.log(zd.toFixed(a,2)+" ms per check"),new Ny(a,o)},t}()),Ly={BrowserPlatformLocation:c_,DomAdapter:Yd,BrowserDomAdapter:s_,BrowserGetTestability:h_,getDOM:Re,setRootDomAdapter:je,DomRootRenderer_:T_,DomRootRenderer:O_,DomSharedStylesHost:b_,SharedStylesHost:v_,ELEMENT_PROBE_PROVIDERS:L_,DomEventsPlugin:F_,KeyEventsPlugin:K_,HammerGesturesPlugin:q_,initDomAdapter:hn,INTERNAL_BROWSER_PLATFORM_PROVIDERS:Ay,BROWSER_SANITIZATION_PROVIDERS:ky};Hd="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:ol:window;var Vy=Hd;Vy.assert=function(t){};var Fy,By=(function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),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 yn(this.control)?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return yn(this.control)?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return yn(this.control)?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return yn(this.control)?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return yn(this.control)?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return yn(this.control)?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return yn(this.control)?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return yn(this.control)?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return yn(this.control)?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return yn(this.control)?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return yn(this.control)?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return yn(this.control)?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return yn(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),yn(this.control)&&this.control.reset(t)},t}()),Hy=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)},zy=function(t){function e(){t.apply(this,arguments)}return Hy(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}(By),Uy=function(){try{if(1===new Map([[1,2]]).size)return function(t){return new Map(t)}}catch(t){}return function(t){for(var e=new Map,n=0;n<t.length;n++){var r=t[n];e.set(r[0],r[1])}return e}}(),Gy=(function(){try{if(new Map(new Map))return function(t){return new Map(t)}}catch(t){}return function(t){var e=new Map;return t.forEach(function(t,n){e.set(n,t)}),e}}(),function(){return(new Map).keys().next?function(t){for(var e,n=t.keys();!(e=n.next()).done;)t.set(e.value,null)}:function(t){t.forEach(function(e,n){t.set(n,null)})}}(),function(){try{if((new Map).values().next)return function(t,e){return e?Array.from(t.values()):Array.from(t.keys())}}catch(t){}return function(t,e){var n=new Array(t.size),r=0;return t.forEach(function(t,i){n[r]=e?t:i,r++}),n}}()),Wy=function(){function t(){}return t.createFromStringMap=function(t){var e=new Map;for(var n in t)e.set(n,t[n]);return e},t.toStringMap=function(t){var e={};return t.forEach(function(t,n){return e[n]=t}),e},t.createFromPairs=function(t){return Uy(t)},t.iterable=function(t){return t},t.keys=function(t){return Gy(t,!1)},t.values=function(t){return Gy(t,!0)},t}(),qy=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}(),Yy=function(){function t(){}return t.createFixedSize=function(t){return new Array(t)},t.createGrowableSize=function(t){return new Array(t)},t.clone=function(t){return t.slice(0)},t.forEachWithIndex=function(t,e){for(var n=0;n<t.length;n++)e(t[n],n)},t.first=function(t){return t?t[0]:null},t.last=function(t){return t&&0!=t.length?t[t.length-1]:null},t.indexOf=function(t,e,n){return void 0===n&&(n=0),t.indexOf(e,n)},t.contains=function(t,e){return t.indexOf(e)!==-1},t.reversed=function(e){var n=t.clone(e);return n.reverse()},t.concat=function(t,e){return t.concat(e)},t.insert=function(t,e,n){t.splice(e,0,n)},t.removeAt=function(t,e){var n=t[e];return t.splice(e,1),n},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},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.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.splice=function(t,e,n){return t.splice(e,n)},t.sort=function(t,e){yn(e)?t.sort(e):t.sort()},t.toString=function(t){return t.toString()},t.toJSON=function(t){return JSON.stringify(t)},t.maximum=function(t,e){if(0==t.length)return null;for(var n=null,r=-(1/0),i=0;i<t.length;i++){var o=t[i];if(!gn(o)){var s=e(o);s>r&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return Tn(t,e),e},t.addAll=function(t,e){for(var n=0;n<e.length;n++)t.push(e[n])},t}(),Xy=Wu,$y=Pn,Ky=xf.isPromise,Zy=new gl("NgValidators"),Qy=new gl("NgAsyncValidators"),Jy=function(){function t(){}return t.required=function(t){return Sn(t.value)?{required:!0}:null},t.minLength=function(t){return function(e){if(Sn(e.value))return null;var n="string"==typeof e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n="string"==typeof e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(t){return function(e){if(Sn(e.value))return null;var n=new RegExp("^"+t+"$"),r=e.value;return n.test(r)?null:{pattern:{requiredPattern:"^"+t+"$",actualValue:r}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(yn);return 0==e.length?null:function(t){return Rn(An(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(yn);return 0==e.length?null:function(t){var n=kn(t,e).map(In);return Promise.all(n).then(Rn)}},t}(),tg=new gl("NgValueAccessor"),eg={provide:tg,useExisting:C(function(){return ng}),multi:!0},ng=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:Pl,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[eg]}]}],t.ctorParameters=[{type:cu},{type:_u}],t}(),rg={provide:tg,useExisting:C(function(){return ig}),multi:!0},ig=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=gn(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:Pl,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:[rg]}]}],t.ctorParameters=[{type:cu},{type:_u}],t}(),og={provide:tg,useExisting:C(function(){return sg}),multi:!0},sg=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=gn(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:Pl,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:[og]}]}],t.ctorParameters=[{type:cu},{type:_u}],t}(),ag=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)},lg=function(t){function e(){t.apply(this,arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}return ag(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return Nn()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Nn()},enumerable:!0,configurable:!0}),e}(By),cg={provide:tg,useExisting:C(function(){return pg}),multi:!0},ug=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=-1,n=0;n<this._accessors.length;++n)this._accessors[n][1]===t&&(e=n);Yy.removeAt(this._accessors,e)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t.decorators=[{type:fl}],t.ctorParameters=[],t}(),pg=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(lg),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:Pl,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[cg]}]}],t.ctorParameters=[{type:cu},{type:_u},{type:ug},{type:Wl}],t.propDecorators={name:[{type:Al}],formControlName:[{type:Al}],value:[{type:Al}]},t}(),hg={provide:tg,useExisting:C(function(){return fg}),multi:!0},fg=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=Mn(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=Wy.keys(this._optionMap);e<n.length;e++){var r=n[e];if(wn(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=this._optionMap.get(Ln(t));return yn(e)?e:t},t.decorators=[{type:Pl,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[hg]}]}],t.ctorParameters=[{type:cu},{type:_u}],t}(),dg=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,yn(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(Mn(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),yn(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(){yn(this._select)&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t.decorators=[{type:Pl,args:[{selector:"option"}]}],t.ctorParameters=[{type:_u},{type:cu},{type:fg,decorators:[{type:hl},{type:yl}]}],t.propDecorators={ngValue:[{type:Al,args:["ngValue"]}],value:[{type:Al,args:["value"]}]},t}(),_g={provide:tg,useExisting:C(function(){return yg}),multi:!0},yg=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;if(this.value=t,null!=t){var n=t,r=n.map(function(t){return e._getOptionId(t)});this._optionMap.forEach(function(t,e){t._setSelected(r.indexOf(e.toString())>-1)})}},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)}}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=Wy.keys(this._optionMap);e<n.length;e++){var r=n[e];if(wn(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=this._optionMap.get(Fn(t));return yn(e)?e._value:t},t.decorators=[{type:Pl,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[_g]}]}],t.ctorParameters=[{type:cu},{type:_u}],t}(),gg=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,yn(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(Vn(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){yn(this._select)?(this._value=t,this._setElementValue(Vn(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(){yn(this._select)&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t.decorators=[{type:Pl,args:[{selector:"option"}]}],t.ctorParameters=[{type:_u},{type:cu},{type:yg,decorators:[{type:hl},{type:yl}]}],t.propDecorators={ngValue:[{type:Al,args:["ngValue"]}],value:[{type:Al,args:["value"]}]},t}(),mg=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)},vg=function(t){function e(){t.apply(this,arguments)}return mg(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 Bn(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 qn(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Yn(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(zy),bg=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)},wg=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!yn(this._cd.control)&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!yn(this._cd.control)&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!yn(this._cd.control)&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!yn(this._cd.control)&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!yn(this._cd.control)&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!yn(this._cd.control)&&this._cd.control.invalid},enumerable:!0,configurable:!0}),t}(),Cg={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid"},Eg=function(t){function e(e){t.call(this,e)}return bg(e,t),e.decorators=[{type:Pl,args:[{selector:"[formControlName],[ngModel],[formControl]",host:Cg}]}],e.ctorParameters=[{type:lg,decorators:[{type:dl}]}],e}(wg),xg=function(t){function e(e){t.call(this,e)}return bg(e,t),e.decorators=[{type:Pl,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:Cg}]}],e.ctorParameters=[{type:zy,decorators:[{type:dl}]}],e}(wg),Og=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)},Tg=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return Og(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}(ch),Pg=Gu&&Gu.__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)},Sg=Wu,Ig=Gp,Ag=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return Pg(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,r=this.scheduler;if(null==r)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){Sg.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Zn,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(r.schedule(Zn,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(r.schedule(Qn,0,{err:e,subscriber:t}))}).then(null,function(t){
  Sg.root.setTimeout(function(){throw t})})},e}(Ig.Observable),kg=Ag,Rg={PromiseObservable:kg},jg=Rg,Dg=jg.PromiseObservable.create,Ng=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)},Mg="VALID",Lg="INVALID",Vg="PENDING",Fg="DISABLED",Bg=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,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this._status===Mg},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this._status===Lg},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this._status==Vg},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._status===Fg},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._status!==Fg},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=er(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=nr(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;e=Cn(e),this._touched=!0,yn(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})}),yn(this._parent)&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype.markAsDirty=function(t){var e=(void 0===t?{}:t).onlySelf;e=Cn(e),this._pristine=!1,yn(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})}),yn(this._parent)&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype.markAsPending=function(t){var e=(void 0===t?{}:t).onlySelf;e=Cn(e),this._status=Vg,yn(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;r=!yn(r)||r,this._status=Fg,this._errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),r&&(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=Mg,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){yn(this._parent)&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;n=Cn(n),r=!yn(r)||r,this._setInitialStatus(),this._updateValue(),this.enabled&&(this._errors=this._runValidator(),this._status=this._calculateStatus(),this._status!==Mg&&this._status!==Vg||this._runAsyncValidator(r)),r&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),yn(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()?Fg:Mg},t.prototype._runValidator=function(){return yn(this.validator)?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(yn(this.asyncValidator)){this._status=Vg,this._cancelExistingSubscription();var n=tr(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe({next:function(n){return e.setErrors(n,{emitEvent:t})}})}},t.prototype._cancelExistingSubscription=function(){yn(this._asyncValidationSubscription)&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){var n=(void 0===e?{}:e).emitEvent;n=!yn(n)||n,this._errors=t,this._updateControlsErrors(n)},t.prototype.get=function(t){return Jn(this,t,".")},t.prototype.getError=function(t,e){void 0===e&&(e=null);var n=yn(e)&&!Yy.isEmpty(e)?this.get(e):this;return yn(n)&&yn(n._errors)?n._errors[t]:null},t.prototype.hasError=function(t,e){return void 0===e&&(e=null),yn(this.getError(t,e))},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;yn(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),yn(this._parent)&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this._valueChanges=new Tg,this._statusChanges=new Tg},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?Fg:yn(this._errors)?Lg:this._anyControlsHaveStatus(Vg)?Vg:this._anyControlsHaveStatus(Lg)?Lg:Mg},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(),yn(this._parent)&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype._updateTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=this._anyControlsTouched(),yn(this._parent)&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype._isBoxedValue=function(t){return vn(t)&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t}(),Hg=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,er(n),nr(r)),this._onChange=[],this._applyFormState(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return Ng(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;s=!yn(s)||s,a=!yn(a)||a,this._value=t,this._onChange.length&&s&&this._onChange.forEach(function(t){return t(n._value,a)}),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).onlySelf;this._applyFormState(t),this.markAsPristine({onlySelf:n}),this.markAsUntouched({onlySelf:n}),this.setValue(this._value,{onlySelf:n})},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}(Bg),zg=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 Ng(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).onlySelf;this._checkAllValuesPresent(t),Object.keys(t).forEach(function(e){n._throwIfControlMissing(e),n.controls[e].setValue(t[e],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.patchValue=function(t,e){var n=this,r=(void 0===e?{}:e).onlySelf;Object.keys(t).forEach(function(e){n.controls[e]&&n.controls[e].patchValue(t[e],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.reset=function(t,e){void 0===t&&(t={});var n=(void 0===e?{}:e).onlySelf;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:n}),this._updatePristine({onlySelf:n}),this._updateTouched({onlySelf:n})},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}(Bg),Ug=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 Ng(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){Yy.insert(this.controls,t,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),Yy.removeAt(this.controls,t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),Yy.removeAt(this.controls,t),e&&(Yy.insert(this.controls,t,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).onlySelf;this._checkAllValuesPresent(t),t.forEach(function(t,e){n._throwIfControlMissing(e),n.at(e).setValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.patchValue=function(t,e){var n=this,r=(void 0===e?{}:e).onlySelf;t.forEach(function(t,e){n.at(e)&&n.at(e).patchValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:r})},e.prototype.reset=function(t,e){void 0===t&&(t=[]);var n=(void 0===e?{}:e).onlySelf;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:n}),this._updatePristine({onlySelf:n}),this._updateTouched({onlySelf:n})},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}(Bg),Gg=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)},Wg={provide:zy,useExisting:C(function(){return Yg})},qg=Promise.resolve(null),Yg=function(t){function e(e,n){t.call(this),this._submitted=!1,this.ngSubmit=new Tg,this.form=new zg({},qn(e),Yn(n))}return Gg(e,t),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;qg.then(function(){var n=e._findContainer(t.path);t._control=n.registerControl(t.name,t.control),Hn(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;qg.then(function(){var n=e._findContainer(t.path);yn(n)&&n.removeControl(t.name)})},e.prototype.addFormGroup=function(t){var e=this;qg.then(function(){var n=e._findContainer(t.path),r=new zg({});Un(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;qg.then(function(){var n=e._findContainer(t.path);yn(n)&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;qg.then(function(){var r=n.form.get(t.path);r.setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._findContainer=function(t){return t.pop(),Yy.isEmpty(t)?this.form:this.form.get(t)},e.decorators=[{type:Pl,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[Wg],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]}],e}(zy),Xg={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  '},$g=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      '+Xg.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      "+Xg.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      "+Xg.formGroupName+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+Xg.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      "+Xg.formGroupName+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+Xg.ngModelGroup)},t}(),Kg=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)},Zg={provide:zy,useExisting:C(function(){return Qg})},Qg=function(t){function e(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return Kg(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Yg||$g.modelGroupParentException()},e.decorators=[{type:Pl,args:[{selector:"[ngModelGroup]",providers:[Zg],exportAs:"ngModelGroup"}]}],e.ctorParameters=[{type:zy,decorators:[{type:yl},{type:_l}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]}],e.propDecorators={name:[{type:Al,args:["ngModelGroup"]}]},e}(vg),Jg=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)},tm={provide:lg,useExisting:C(function(){return nm})},em=Promise.resolve(null),nm=function(t){function e(e,n,r,i){t.call(this),this._control=new Hg,this._registered=!1,this.update=new Tg,this._parent=e,this._rawValidators=n||[],this._rawAsyncValidators=r||[],this.valueAccessor=Kn(this,i)}return Jg(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Xn(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?Bn(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return qn(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Yn(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||this.options&&this.options.standalone},e.prototype._setUpStandalone=function(){Hn(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Qg)&&this._parent instanceof vg?$g.formGroupNameException():this._parent instanceof Qg||this._parent instanceof Yg||$g.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||$g.missingNameException()},e.prototype._updateValue=function(t){var e=this;em.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;em.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:Pl,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[tm],exportAs:"ngModel"}]}],e.ctorParameters=[{type:zy,decorators:[{type:hl},{type:yl}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[tg]}]}],e.propDecorators={name:[{type:Al}],isDisabled:[{type:Al,args:["disabled"]}],model:[{type:Al,args:["ngModel"]}],options:[{type:Al,args:["ngModelOptions"]}],update:[{type:kl,args:["ngModelChange"]}]},e}(lg),rm=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      "+Xg.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        '+Xg.formGroupName+"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        "+Xg.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+Xg.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      "+Xg.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        "+Xg.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}(),im=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)},om={provide:lg,useExisting:C(function(){return sm})},sm=function(t){function e(e,n,r){t.call(this),this.update=new Tg,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=Kn(this,r)}return im(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){rm.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(Hn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Xn(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return qn(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Yn(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e.decorators=[{type:Pl,args:[{selector:"[formControl]",providers:[om],exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[tg]}]}],e.propDecorators={form:[{type:Al,args:["formControl"]}],model:[{type:Al,args:["ngModel"]}],update:[{type:kl,args:["ngModelChange"]}],isDisabled:[{type:Al,args:["disabled"]}]},e}(lg),am=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)},lm={provide:zy,useExisting:C(function(){return cm})},cm=function(t){function e(e,n){t.call(this),this._validators=e,this._asyncValidators=n,this._submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Tg}return am(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return Hn(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){Yy.remove(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Un(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);Un(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this.form.get(t.path);n.setValue(e)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e._control!==n&&(zn(e._control,e),n&&Hn(n,e),e._control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=qn(this._validators);this.form.validator=Jy.compose([this.form.validator,t]);var e=Yn(this._asyncValidators);this.form.asyncValidator=Jy.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||rm.missingFormException()},e.decorators=[{type:Pl,args:[{selector:"[formGroup]",providers:[lm],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"
  },exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]}],e.propDecorators={form:[{type:Al,args:["formGroup"]}],ngSubmit:[{type:kl}]},e}(zy),um=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)},pm={provide:zy,useExisting:C(function(){return hm})},hm=function(t){function e(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return um(e,t),e.prototype._checkParentType=function(){rr(this._parent)&&rm.groupParentException()},e.decorators=[{type:Pl,args:[{selector:"[formGroupName]",providers:[pm]}]}],e.ctorParameters=[{type:zy,decorators:[{type:hl},{type:yl},{type:_l}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]}],e.propDecorators={name:[{type:Al,args:["formGroupName"]}]},e}(vg),fm={provide:zy,useExisting:C(function(){return dm})},dm=function(t){function e(e,n,r){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=r}return um(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return Bn(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return qn(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Yn(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){rr(this._parent)&&rm.arrayParentException()},e.decorators=[{type:Pl,args:[{selector:"[formArrayName]",providers:[fm]}]}],e.ctorParameters=[{type:zy,decorators:[{type:hl},{type:yl},{type:_l}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]}],e.propDecorators={name:[{type:Al,args:["formArrayName"]}]},e}(zy),_m=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)},ym={provide:lg,useExisting:C(function(){return gm})},gm=function(t){function e(e,n,r,i){t.call(this),this._added=!1,this.update=new Tg,this._parent=e,this._rawValidators=n||[],this._rawAsyncValidators=r||[],this.valueAccessor=Kn(this,i)}return _m(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){rm.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),Xn(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return Bn(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 qn(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Yn(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof hm)&&this._parent instanceof vg?rm.ngModelGroupException():this._parent instanceof hm||this._parent instanceof cm||this._parent instanceof dm||rm.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e.decorators=[{type:Pl,args:[{selector:"[formControlName]",providers:[ym]}]}],e.ctorParameters=[{type:zy,decorators:[{type:hl},{type:yl},{type:_l}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Zy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[Qy]}]},{type:Array,decorators:[{type:hl},{type:dl},{type:pl,args:[tg]}]}],e.propDecorators={name:[{type:Al,args:["formControlName"]}],model:[{type:Al,args:["ngModel"]}],update:[{type:kl,args:["ngModelChange"]}],isDisabled:[{type:Al,args:["disabled"]}]},e}(lg),mm={provide:Zy,useExisting:C(function(){return vm}),multi:!0},vm=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=yn(t)&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?Jy.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:Pl,args:[{selector:"[required][formControlName],[required][formControl],[required][ngModel]",providers:[mm],host:{"[attr.required]":'required? "" : null'}}]}],t.ctorParameters=[],t.propDecorators={required:[{type:Al}]},t}(),bm={provide:Zy,useExisting:C(function(){return wm}),multi:!0},wm=function(){function t(){}return t.prototype._createValidator=function(){this._validator=Jy.minLength(parseInt(this.minlength,10))},t.prototype.ngOnChanges=function(t){t.minlength&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return yn(this.minlength)?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:Pl,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[bm],host:{"[attr.minlength]":"minlength? minlength : null"}}]}],t.ctorParameters=[],t.propDecorators={minlength:[{type:Al}]},t}(),Cm={provide:Zy,useExisting:C(function(){return Em}),multi:!0},Em=function(){function t(){}return t.prototype._createValidator=function(){this._validator=Jy.maxLength(parseInt(this.maxlength,10))},t.prototype.ngOnChanges=function(t){t.maxlength&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return yn(this.maxlength)?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:Pl,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[Cm],host:{"[attr.maxlength]":"maxlength? maxlength : null"}}]}],t.ctorParameters=[],t.propDecorators={maxlength:[{type:Al}]},t}(),xm={provide:Zy,useExisting:C(function(){return Om}),multi:!0},Om=function(){function t(){}return t.prototype._createValidator=function(){this._validator=Jy.pattern(this.pattern)},t.prototype.ngOnChanges=function(t){t.pattern&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return yn(this.pattern)?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:Pl,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[xm],host:{"[attr.pattern]":"pattern? pattern : null"}}]}],t.ctorParameters=[],t.propDecorators={pattern:[{type:Al}]},t}(),Tm=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=yn(e)?e.validator:null,i=yn(e)?e.asyncValidator:null;return new zg(n,r,i)},t.prototype.control=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),new Hg(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 Ug(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 Hg||t instanceof zg||t instanceof Ug)return t;if(bn(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:fl}],t.ctorParameters=[],t}(),Pm=[dg,gg,ig,sg,ng,fg,yg,pg,Eg,xg,vm,wm,Em,Om],Sm=[nm,Qg,Yg],Im=[sm,cm,gm,hm,dm],Am=function(){function t(){}return t.decorators=[{type:Ml,args:[{declarations:Pm,exports:Pm}]}],t.ctorParameters=[],t}(),km=function(){function t(){}return t.decorators=[{type:Ml,args:[{declarations:Sm,providers:[ug],exports:[Am,Sm]}]}],t.ctorParameters=[],t}(),Rm=function(){function t(){}return t.decorators=[{type:Ml,args:[{declarations:[Im],providers:[Tm,ug],exports:[Am,Im]}]}],t.ctorParameters=[],t}(),jm=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.decorators=[{type:fl}],t.ctorParameters=[],t}();Fy="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:ol:window;var Dm=Fy;Dm.assert=function(t){};var Nm,Mm=(function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),function(){function t(){}return t.parse=function(t){return Dm.JSON.parse(t)},t.stringify=function(t){return Dm.JSON.stringify(t,null,2)},t}());!function(t){t[t.Get=0]="Get",t[t.Post=1]="Post",t[t.Put=2]="Put",t[t.Delete=3]="Delete",t[t.Options=4]="Options",t[t.Head=5]="Head",t[t.Patch=6]="Patch"}(Nm||(Nm={}));var Lm;!function(t){t[t.Unsent=0]="Unsent",t[t.Open=1]="Open",t[t.HeadersReceived=2]="HeadersReceived",t[t.Loading=3]="Loading",t[t.Done=4]="Done",t[t.Cancelled=5]="Cancelled"}(Lm||(Lm={}));var Vm;!function(t){t[t.Basic=0]="Basic",t[t.Cors=1]="Cors",t[t.Default=2]="Default",t[t.Error=3]="Error",t[t.Opaque=4]="Opaque"}(Vm||(Vm={}));var Fm;!function(t){t[t.NONE=0]="NONE",t[t.JSON=1]="JSON",t[t.FORM=2]="FORM",t[t.FORM_DATA=3]="FORM_DATA",t[t.TEXT=4]="TEXT",t[t.BLOB=5]="BLOB",t[t.ARRAY_BUFFER=6]="ARRAY_BUFFER"}(Fm||(Fm={}));var Bm;!function(t){t[t.Text=0]="Text",t[t.Json=1]="Json",t[t.ArrayBuffer=2]="ArrayBuffer",t[t.Blob=3]="Blob"}(Bm||(Bm={}));var Hm,zm=function(){try{if(1===new Map([[1,2]]).size)return function(t){return new Map(t)}}catch(t){}return function(t){for(var e=new Map,n=0;n<t.length;n++){var r=t[n];e.set(r[0],r[1])}return e}}(),Um=(function(){try{if(new Map(new Map))return function(t){return new Map(t)}}catch(t){}return function(t){var e=new Map;return t.forEach(function(t,n){e.set(n,t)}),e}}(),function(){return(new Map).keys().next?function(t){for(var e,n=t.keys();!(e=n.next()).done;)t.set(e.value,null)}:function(t){t.forEach(function(e,n){t.set(n,null)})}}(),function(){try{if((new Map).values().next)return function(t,e){return e?Array.from(t.values()):Array.from(t.keys())}}catch(t){}return function(t,e){var n=new Array(t.size),r=0;return t.forEach(function(t,i){n[r]=e?t:i,r++}),n}}()),Gm=function(){function t(){}return t.createFromStringMap=function(t){var e=new Map;for(var n in t)e.set(n,t[n]);return e},t.toStringMap=function(t){var e={};return t.forEach(function(t,n){return e[n]=t}),e},t.createFromPairs=function(t){return zm(t)},t.iterable=function(t){return t},t.keys=function(t){return Um(t,!1)},t.values=function(t){return Um(t,!0)},t}(),Wm=(function(){function t(){}return t.createFixedSize=function(t){return new Array(t)},t.createGrowableSize=function(t){return new Array(t)},t.clone=function(t){return t.slice(0)},t.forEachWithIndex=function(t,e){for(var n=0;n<t.length;n++)e(t[n],n)},t.first=function(t){return t?t[0]:null},t.last=function(t){return t&&0!=t.length?t[t.length-1]:null},t.indexOf=function(t,e,n){return void 0===n&&(n=0),t.indexOf(e,n)},t.contains=function(t,e){return t.indexOf(e)!==-1},t.reversed=function(e){var n=t.clone(e);return n.reverse()},t.concat=function(t,e){return t.concat(e)},t.insert=function(t,e,n){t.splice(e,0,n)},t.removeAt=function(t,e){var n=t[e];return t.splice(e,1),n},t.removeAll=function(t,e){for(var n=0;n<e.length;++n){var r=t.indexOf(e[n]);t.splice(r,1)}},t.remove=function(t,e){var n=t.indexOf(e);return n>-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},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.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.splice=function(t,e,n){return t.splice(e,n)},t.sort=function(t,e){ir(e)?t.sort(e):t.sort()},t.toString=function(t){return t.toString()},t.toJSON=function(t){return JSON.stringify(t)},t.maximum=function(t,e){if(0==t.length)return null;for(var n=null,r=-(1/0),i=0;i<t.length;i++){var o=t[i];if(!or(o)){var s=e(o);s>r&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return cr(t,e),e},t.addAll=function(t,e){for(var n=0;n<e.length;n++)t.push(e[n])},t}(),function(){function t(e){var n=this;if(this._headers=new Map,this._normalizedNames=new Map,e)return e instanceof t?void e._headers.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)})})}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 Gm.values(this._normalizedNames)},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 Gm.values(this._headers)},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}()),qm=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)},Ym=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=ir(n)?n:null,this.status=ir(r)?r:null,this.headers=ir(i)?i:null,this.statusText=ir(o)?o:null,this.type=ir(s)?s:null,this.url=ir(a)?a:null}return t.prototype.merge=function(e){return new t({body:ir(e)&&ir(e.body)?e.body:this.body,status:ir(e)&&ir(e.status)?e.status:this.status,headers:ir(e)&&ir(e.headers)?e.headers:this.headers,statusText:ir(e)&&ir(e.statusText)?e.statusText:this.statusText,type:ir(e)&&ir(e.type)?e.type:this.type,url:ir(e)&&ir(e.url)?e.url:this.url})},t}(),Xm=function(t){function e(){t.call(this,{status:200,statusText:"Ok",type:Vm.Default,headers:new Wm})}return qm(e,t),e.decorators=[{type:fl}],e.ctorParameters=[],e}(Ym),$m=function(){function t(){}return t}(),Km=function(){function t(){}return t}(),Zm=function(t){return t>=200&&t<300},Qm=function(){function t(){}return t.prototype.encodeKey=function(t){return dr(t)},t.prototype.encodeValue=function(t){return dr(t)},t}(),Jm=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new Qm),this.rawParams=t,this.queryEncoder=e,this.paramsMap=fr(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}(),tv=function(){function t(){}return t.prototype.json=function(){return sr(this._body)?Mm.parse(this._body):this._body instanceof ArrayBuffer?Mm.parse(this.text()):this._body},t.prototype.text=function(){return this._body instanceof Jm?this._body.toString():this._body instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint16Array(this._body)):null===this._body?"":lr(this._body)?Mm.stringify(this._body):this._body.toString()},t.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:hr(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}(),ev=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)},nv=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 ev(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(tv),rv=0,iv="__ng_jsonp__",ov=null,sv=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"+rv++},t.prototype.requestCallback=function(t){return iv+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){var n=_r();n[t]=e},t.prototype.removeConnection=function(t){var e=_r();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:fl}],t.ctorParameters=[],t}(),av=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)},lv="JSONP injected script did not invoke callback.",cv="JSONP requests must use GET request method.",uv=function(){function t(){}return t}(),pv=function(t){function e(e,n,r){var i=this;if(t.call(this),this._dom=n,this.baseResponseOptions=r,this._finished=!1,e.method!==Nm.Get)throw new TypeError(cv);this.request=e,this.response=new Up(function(t){i.readyState=Lm.Loading;var o=i._id=n.nextRequestID();n.exposeConnection(o,i);var s=n.requestCallback(i._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 l=i._script=n.build(a),c=function(e){if(i.readyState!==Lm.Cancelled){if(i.readyState=Lm.Done,n.cleanup(l),!i._finished){var o=new Ym({body:lv,type:Vm.Error,url:a});return ir(r)&&(o=r.merge(o)),void t.error(new nv(o))}var s=new Ym({body:i._responseData,url:a});ir(i.baseResponseOptions)&&(s=i.baseResponseOptions.merge(s)),t.next(new nv(s)),t.complete()}},u=function(e){if(i.readyState!==Lm.Cancelled){i.readyState=Lm.Done,n.cleanup(l);var o=new Ym({body:e.message,type:Vm.Error});ir(r)&&(o=r.merge(o)),t.error(new nv(o))}};return l.addEventListener("load",c),l.addEventListener("error",u),n.send(l),function(){i.readyState=Lm.Cancelled,l.removeEventListener("load",c),l.removeEventListener("error",u),ir(l)&&i._dom.cleanup(l)}})}return av(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==Lm.Cancelled&&(this._responseData=t)},e}(uv),hv=function(t){function e(){t.apply(this,arguments)}return av(e,t),e}($m),fv=(function(t){function e(e,n){t.call(this),this._browserJSONP=e,this._baseResponseOptions=n}return av(e,t),e.prototype.createConnection=function(t){return new pv(t,this._browserJSONP,this._baseResponseOptions)},e.decorators=[{type:fl}],e.ctorParameters=[{type:sv},{type:Ym}],e}(hv),/^\)\]\}',?\n/),dv=function(){function t(t,e,n){var r=this;this.request=t,this.response=new Up(function(i){var o=e.build();o.open(Nm[t.method].toUpperCase(),t.url),ir(t.withCredentials)&&(o.withCredentials=t.withCredentials);var s=function(){var t=void 0===o.response?o.responseText:o.response;sr(t)&&(t=t.replace(fv,""));var e=Wm.fromResponseHeaderString(o.getAllResponseHeaders()),r=pr(o),s=1223===o.status?204:o.status;0===s&&(s=t?200:0);var a=o.statusText||"OK",l=new Ym({body:t,status:s,headers:e,statusText:a,url:r});ir(n)&&(l=n.merge(l));var c=new nv(l);return c.ok=Zm(s),c.ok?(i.next(c),void i.complete()):void i.error(c)},a=function(t){var e=new Ym({body:t,type:Vm.Error,status:o.status,statusText:o.statusText});ir(n)&&(e=n.merge(e)),i.error(new nv(e))};if(r.setDetectedContentType(t,o),ir(t.headers)&&t.headers.forEach(function(t,e){return o.setRequestHeader(e,t.join(","))}),ir(t.responseType)&&ir(o.responseType))switch(t.responseType){case Bm.ArrayBuffer:o.responseType="arraybuffer";break;case Bm.Json:o.responseType="json";break;case Bm.Text:o.responseType="text";break;case Bm.Blob:o.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return o.addEventListener("load",s),o.addEventListener("error",a),o.send(r.request.getBody()),function(){o.removeEventListener("load",s),o.removeEventListener("error",a),o.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(!ir(t.headers)||!ir(t.headers.get("Content-Type")))switch(t.contentType){case Fm.NONE:break;case Fm.JSON:e.setRequestHeader("content-type","application/json");break;case Fm.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case Fm.TEXT:e.setRequestHeader("content-type","text/plain");break;case Fm.BLOB:var n=t.blob();n.type&&e.setRequestHeader("content-type",n.type)}},t}(),_v=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=Ly.getDOM().getCookie(this._cookieName);e&&!t.headers.has(this._headerName)&&t.headers.set(this._headerName,e)},t}(),yv=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 dv(t,this._browserXHR,this._baseResponseOptions)},t.decorators=[{type:fl}],t.ctorParameters=[{type:jm},{type:Ym},{type:Km}],t}(),gv=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)},mv=function(){function t(t){var e=void 0===t?{}:t,n=e.method,r=e.headers,i=e.body,o=e.url,s=e.search,a=e.withCredentials,l=e.responseType;this.method=ir(n)?ur(n):null,this.headers=ir(r)?r:null,this.body=ir(i)?i:null,this.url=ir(o)?o:null,this.search=ir(s)?sr(s)?new Jm(s):s:null,this.withCredentials=ir(a)?a:null,this.responseType=ir(l)?l:null}return t.prototype.merge=function(e){return new t({method:ir(e)&&ir(e.method)?e.method:this.method,headers:ir(e)&&ir(e.headers)?e.headers:this.headers,body:ir(e)&&ir(e.body)?e.body:this.body,url:ir(e)&&ir(e.url)?e.url:this.url,search:ir(e)&&ir(e.search)?sr(e.search)?new Jm(e.search):e.search.clone():this.search,withCredentials:ir(e)&&ir(e.withCredentials)?e.withCredentials:this.withCredentials,responseType:ir(e)&&ir(e.responseType)?e.responseType:this.responseType})},t}(),vv=function(t){function e(){t.call(this,{method:Nm.Get,headers:new Wm})}return gv(e,t),e.decorators=[{type:fl}],e.ctorParameters=[],e}(mv),bv=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)},wv=function(t){function e(e){t.call(this);var n=e.url;if(this.url=e.url,ir(e.search)){var r=e.search.toString();if(r.length>0){var i="?";this.url.indexOf("?")!=-1&&(i="&"==this.url[this.url.length-1]?"":"&"),this.url=n+i+r}}this._body=e.body,this.method=ur(e.method),this.headers=new Wm(e.headers),this.contentType=this.detectContentType(),this.withCredentials=e.withCredentials,this.responseType=e.responseType}return bv(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return Fm.JSON;case"application/x-www-form-urlencoded":return Fm.FORM;case"multipart/form-data":return Fm.FORM_DATA;case"text/plain":case"text/html":return Fm.TEXT;case"application/octet-stream":return Fm.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?Fm.NONE:this._body instanceof Jm?Fm.FORM:this._body instanceof xv?Fm.FORM_DATA:this._body instanceof Ov?Fm.BLOB:this._body instanceof Tv?Fm.ARRAY_BUFFER:this._body&&"object"==typeof this._body?Fm.JSON:Fm.TEXT},e.prototype.getBody=function(){switch(this.contentType){case Fm.JSON:return this.text();case Fm.FORM:return this.text();case Fm.FORM_DATA:return this._body;case Fm.TEXT:return this.text();case Fm.BLOB:return this.blob();case Fm.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(tv),Cv=function(){},Ev="object"==typeof window?window:Cv,xv=Ev.FormData||Cv,Ov=Ev.Blob||Cv,Tv=Ev.ArrayBuffer||Cv,Pv=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)},Sv=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if(sr(t))n=yr(this._backend,new wv(gr(this._defaultOptions,e,Nm.Get,t)));else{if(!(t instanceof wv))throw new Error("First argument must be a url string or Request instance.");n=yr(this._backend,t)}return n},t.prototype.get=function(t,e){return yr(this._backend,new wv(gr(this._defaultOptions,e,Nm.Get,t)))},t.prototype.post=function(t,e,n){return yr(this._backend,new wv(gr(this._defaultOptions.merge(new mv({body:e})),n,Nm.Post,t)))},t.prototype.put=function(t,e,n){return yr(this._backend,new wv(gr(this._defaultOptions.merge(new mv({body:e})),n,Nm.Put,t)))},t.prototype.delete=function(t,e){return yr(this._backend,new wv(gr(this._defaultOptions,e,Nm.Delete,t)))},t.prototype.patch=function(t,e,n){return yr(this._backend,new wv(gr(this._defaultOptions.merge(new mv({body:e})),n,Nm.Patch,t)))},t.prototype.head=function(t,e){return yr(this._backend,new wv(gr(this._defaultOptions,e,Nm.Head,t)))},t.prototype.options=function(t,e){return yr(this._backend,new wv(gr(this._defaultOptions,e,Nm.Options,t)))},t.decorators=[{type:fl}],t.ctorParameters=[{type:$m},{type:mv}],t}(),Iv=(function(t){function e(e,n){t.call(this,e,n)}return Pv(e,t),e.prototype.request=function(t,e){var n;if(sr(t)&&(t=new wv(gr(this._defaultOptions,e,Nm.Get,t))),!(t instanceof wv))throw new Error("First argument must be a url string or Request instance.");if(t.method!==Nm.Get)throw new Error("JSONP requests must use GET request method.");return n=yr(this._backend,t)},e.decorators=[{type:fl}],e.ctorParameters=[{type:$m},{type:mv}],e}(Sv),function(){function t(){}return t.decorators=[{type:Ml,args:[{providers:[{provide:Sv,useFactory:vr,deps:[yv,mv]},jm,{provide:mv,useClass:vv},{provide:Ym,useClass:Xm},yv,{provide:Km,useFactory:mr}]}]}],t.ctorParameters=[],t}()),Av=function(t){return"string"==typeof t},kv=function(t){return"number"==typeof t},Rv=function(t){return"function"==typeof t},jv=function(t){return"undefined"!=typeof t},Dv=function(t){return"undefined"==typeof t},Nv=function(t){return void 0!==t&&null!==t},Mv=function(t){return void 0===t||null===t},Lv=function(t){return"object"==typeof t},Vv=Array.isArray,Fv=function(t){return"string"==typeof t?(t=t.toLowerCase().trim(),"true"===t||"on"===t||""===t):!!t},Bv=function(t,e){return void 0===t||null===t||""===t?void 0===e||null===e||""===e:t===!0||"true"===t?e===!0||"true"===e:t===!1||"false"===t?e===!1||"false"===e:0===t||"0"===t?0===e||"0"===e:t==e},Hv=function(){function t(){this._c={},this._modes={},this._trns={}}return t.prototype.init=function(t,e,n){this._s=t&&Lv(t)&&!Vv(t)?t:{},this._qp=e,this.platform=n},t.prototype.get=function(t,e){if(void 0===e&&(e=null),!jv(this._c[t])){if(!jv(t))throw"config key is not defined";var n=void 0,r=this._s[t],i=void 0,o=void 0,s=void 0,a=void 0,l=null;if(this.platform){var c=this._qp.get("ionic"+t);if(jv(c))return this._c[t]="true"===c||"false"!==c&&c;for(var u=this.platform.platforms(),p=0,h=u.length;p<h;p++)this._s.platforms&&(l=this._s.platforms[u[p]],l&&(jv(l[t])&&(n=l[t]),l=this.getModeConfig(l.mode),l&&jv(l[t])&&(i=l[t]))),l=this.platform.getPlatformConfig(u[p]),l&&l.settings&&(jv(l.settings[t])&&(s=l.settings[t]),l=this.getModeConfig(l.settings.mode),l&&jv(l[t])&&(a=l[t]))}l=this.getModeConfig(this._s.mode),l&&jv(l[t])&&(o=l[t]),this._c[t]=jv(n)?n:jv(r)?r:jv(i)?i:jv(o)?o:jv(s)?s:jv(a)?a:null}var f=this._c[t];return Rv(f)&&(f=f(this.platform)),null!==f?f:e},t.prototype.getBoolean=function(t,e){void 0===e&&(e=!1);var n=this.get(t);return null===n?e:"string"==typeof n?"true"===n:!!n},t.prototype.getNumber=function(t,e){void 0===e&&(e=NaN);var n=parseFloat(this.get(t));return isNaN(n)?e:n},t.prototype.set=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[0],r=t[1];switch(t.length){case 2:this._s[n]=r,delete this._c[n];break;case 3:this._s.platforms=this._s.platforms||{},this._s.platforms[n]=this._s.platforms[n]||{},this._s.platforms[n][r]=t[2],delete this._c[r]}return this},t.prototype.settings=function(t,e){
  switch(arguments.length){case 0:return this._s;case 1:this._s=t,this._c={};break;case 2:this._s.platforms=this._s.platforms||{},this._s.platforms[t]=e,this._c={}}return this},t.prototype.setModeConfig=function(t,e){this._modes[t]=e},t.prototype.getModeConfig=function(t){return this._modes[t]||null},t.prototype.setTransition=function(t,e){this._trns[t]=e},t.prototype.getTransition=function(t){return this._trns[t]||null},t}(),zv=new gl("USERCONFIG"),Uv=function(){function t(){this._focused=null,this._ids=-1,this._inputs=[]}return t.prototype.register=function(t){this._inputs.push(t)},t.prototype.deregister=function(t){var e=this._inputs.indexOf(t);e>-1&&this._inputs.splice(e,1),t===this._focused&&(this._focused=null)},t.prototype.focusOut=function(){var t=document.activeElement;t&&t.blur&&t.blur()},t.prototype.setAsFocused=function(t){this._focused=t},t.prototype.tabFocus=function(t){var e=this._inputs.indexOf(t);if(e>-1&&e+1<this._inputs.length){var n=this._inputs[e+1];if(n!==this._focused)return n.initFocus()}if(e=this._inputs.indexOf(this._focused),e>0){var r=this._inputs[e-1];r&&r.initFocus()}},t.prototype.nextId=function(){return++this._ids},t.decorators=[{type:fl}],t.ctorParameters=[],t}();!function(t){t[t.ENTER=13]="ENTER",t[t.ESCAPE=27]="ESCAPE",t[t.TAB=9]="TAB"}(Hm||(Hm={}));var Gv,Wv=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}(),qv=function(){function t(t,e,n){void 0===n&&(n=Yv),this.component=t,this._isHidden=!1,this.isOverlay=!1,this._emitter=new hh,this.data=e instanceof Wv?e.data:Nv(e)?e:{},this._cssClass=n,this.willEnter=new hh,this.didEnter=new hh,this.willLeave=new hh,this.didLeave=new hh,this.willUnload=new hh}return t.prototype.init=function(t){this._cmp=t,this.instance=this.instance||t.instance,this._detached=!1},t.prototype._setNav=function(t){this._nav=t},t.prototype._setInstance=function(t){this.instance=t},t.prototype.subscribe=function(t){return this._emitter.subscribe(t)},t.prototype.emit=function(t){this._emitter.emit(t)},t.prototype.onDidDismiss=function(t){this._onDidDismiss=t},t.prototype.onWillDismiss=function(t){this._onWillDismiss=t},t.prototype.dismiss=function(t,e,n){var r=this;if(void 0===n&&(n={}),!this._nav)return Promise.resolve(!1);var i=wr({},this._leavingOpts,n);return this._onWillDismiss&&this._onWillDismiss(t,e),this._nav.remove(this._nav.indexOf(this),1,i).then(function(){return r._onDidDismiss&&r._onDidDismiss(t,e),r._onDidDismiss=null,t})},t.prototype.getNav=function(){return this._nav},t.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("pageTransition")},t.prototype.getNavParams=function(){return new Wv(this.data)},t.prototype.setLeavingOpts=function(t){this._leavingOpts=t},t.prototype.enableBack=function(){if(this._nav){var t=this._nav.getPrevious(this);return!!t}return!1},Object.defineProperty(t.prototype,"name",{get:function(){return this.component?this.component.name:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this._nav?this._nav.indexOf(this):-1},enumerable:!0,configurable:!0}),t.prototype.isFirst=function(){return!!this._nav&&this._nav.first()===this},t.prototype.isLast=function(){return!!this._nav&&this._nav.last()===this},t.prototype._domShow=function(t,e){if(this._cmp&&t===this._isHidden){this._isHidden=!t;var n=t?null:"";e.setElementAttribute(this.pageRef().nativeElement,"hidden",n)}},t.prototype._setZIndex=function(t,e){if(t!==this._zIndex){this._zIndex=t;var n=this.pageRef();n&&e.setElementStyle(n.nativeElement,"z-index",t)}},t.prototype.pageRef=function(){return this._cmp&&this._cmp.location},t.prototype._setContent=function(t){this._cntDir=t},t.prototype.getContent=function(){return this._cntDir},t.prototype._setContentRef=function(t){this._cntRef=t},t.prototype.contentRef=function(){return this._cntRef},t.prototype._setHeader=function(t){this._hdrDir=t},t.prototype.getHeader=function(){return this._hdrDir},t.prototype._setFooter=function(t){this._ftrDir=t},t.prototype.getFooter=function(){return this._ftrDir},t.prototype._setNavbar=function(t){this._nb=t},t.prototype.getNavbar=function(){return this._nb},t.prototype.hasNavbar=function(){return!!this._nb},t.prototype.setBackButtonText=function(t){this._nb&&this._nb.setBackButtonText(t)},t.prototype.showBackButton=function(t){this._nb&&(this._nb.hideBackButton=!t)},t.prototype._willLoad=function(){this._lifecycle("WillLoad")},t.prototype._didLoad=function(){this._lifecycle("DidLoad")},t.prototype._willEnter=function(){this._detached&&this._cmp&&(this._cmp.changeDetectorRef.reattach(),this._detached=!1),this.willEnter.emit(null),this._lifecycle("WillEnter")},t.prototype._didEnter=function(){this._nb&&this._nb.didEnter(),this.didEnter.emit(null),this._lifecycle("DidEnter")},t.prototype._willLeave=function(){this.willLeave.emit(null),this._lifecycle("WillLeave")},t.prototype._didLeave=function(){this.didLeave.emit(null),this._lifecycle("DidLeave"),!this._detached&&this._cmp&&(this._cmp.changeDetectorRef.detach(),this._detached=!0)},t.prototype._willUnload=function(){this.willUnload.emit(null),this._lifecycle("WillUnload")},t.prototype._destroy=function(t){if(this._cmp){if(t){var e=this._cmp.location.nativeElement;t.setElementAttribute(e,"class",null),t.setElementAttribute(e,"style",null)}this._cmp.destroy()}if(this._nav){var n=this._nav.indexOf(this);n>-1&&this._nav._views.splice(n,1)}this._nav=this._cmp=this.instance=this._cntDir=this._cntRef=this._hdrDir=this._ftrDir=this._nb=this._onWillDismiss=null},t.prototype._lifecycleTest=function(t){var e=this.instance,n="ionViewCan"+t;if(e&&e[n])try{return e[n]()}catch(t){return console.error(this.name+" "+n+" error: "+t.message),!1}return!0},t.prototype._lifecycle=function(t){var e=this.instance,n="ionView"+t;if(e&&e[n])try{e[n]()}catch(t){console.error(this.name+" "+n+" error: "+t.message)}},t.propDecorators={_emitter:[{type:kl}]},t}(),Yv="ion-page",Xv=function(){function t(t,e,n,r,i,o){this._viewCtrl=t,this._config=e,this._elementRef=n,this._form=r,this.d=i.data,this.mode=e.get("mode"),o.setElementClass(n.nativeElement,"action-sheet-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&o.setElementClass(n.nativeElement,t,!0)}),this.id=++$v,this.d.title&&(this.hdrId="acst-hdr-"+this.id),this.d.subTitle&&(this.descId="acst-subhdr-"+this.id)}return t.prototype.ionViewDidLoad=function(){var t=this,e=[];this.d.buttons.forEach(function(n){"string"==typeof n&&(n={text:n}),n.cssClass||(n.cssClass=""),"cancel"===n.role?t.d.cancelButton=n:("destructive"===n.role?n.cssClass=(n.cssClass+" "||"")+"action-sheet-destructive":"selected"===n.role&&(n.cssClass=(n.cssClass+" "||"")+"action-sheet-selected"),e.push(n))}),this.d.buttons=e},t.prototype.ionViewDidEnter=function(){this._form.focusOut();var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.keyUp=function(t){this.enabled&&this._viewCtrl.isLast()&&t.keyCode===Hm.ESCAPE&&this.bdClick()},t.prototype.click=function(t,e){var n=this;if(this.enabled){var r=!0;t.handler&&t.handler()===!1&&(r=!1),r&&setTimeout(function(){n.dismiss(t.role)},e||this._config.get("pageTransitionDelay"))}},t.prototype.bdClick=function(){this.enabled&&this.d.enableBackdropDismiss&&(this.d.cancelButton?this.click(this.d.cancelButton,1):this.dismiss("backdrop"))},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(null,t)},t.decorators=[{type:Sl,args:[{selector:"ion-action-sheet",template:'<ion-backdrop (click)="bdClick()"></ion-backdrop><div class="action-sheet-wrapper"><div class="action-sheet-container"><div class="action-sheet-group"><div class="action-sheet-title" id="{{hdrId}}" *ngIf="d.title">{{d.title}}</div><div class="action-sheet-sub-title" id="{{descId}}" *ngIf="d.subTitle">{{d.subTitle}}</div><button ion-button="action-sheet-button" (click)="click(b)" *ngFor="let b of d.buttons" class="disable-hover" [attr.icon-left]="b.icon ? \'\' : null" [ngClass]="b.cssClass"><ion-icon [name]="b.icon" *ngIf="b.icon" class="action-sheet-icon"></ion-icon>{{b.text}}</button></div><div class="action-sheet-group" *ngIf="d.cancelButton"><button ion-button="action-sheet-button" (click)="click(d.cancelButton)" class="action-sheet-cancel disable-hover" [attr.icon-left]="d.cancelButton.icon ? \'\' : null" [ngClass]="d.cancelButton.cssClass"><ion-icon [name]="d.cancelButton.icon" *ngIf="d.cancelButton.icon" class="action-sheet-icon"></ion-icon>{{d.cancelButton.text}}</button></div></div></div>',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"},encapsulation:Dl.None}]}],t.ctorParameters=[{type:qv},{type:Hv},{type:_u},{type:Uv},{type:Wv},{type:cu}],t.propDecorators={keyUp:[{type:jl,args:["body:keyup",["$event"]]}]},t}(),$v=-1;!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.PRE_RENDERED=1]="PRE_RENDERED",t[t.LOADED=2]="LOADED"}(Gv||(Gv={}));var Kv=100,Zv=9999,Qv="back",Jv="forward",tb="switch";!function(){var t=0,e=window;e.requestAnimationFrame||(e.requestAnimationFrame=function(e){var n=Date.now(),r=Math.max(0,16-(n-t)),i=window.setTimeout(function(){e(n+r)},r);return t=n+r,i}),e.cancelAnimationFrame||(e.cancelAnimationFrame=function(t){clearTimeout(t)})}();var eb=window[window.Zone.__symbol__("requestAnimationFrame")]||window[window.Zone.__symbol__("webkitRequestAnimationFrame")],nb=void 0!==eb?eb.bind(window):window.requestAnimationFrame.bind(window),rb=window.requestAnimationFrame.bind(window),ib=window.cancelAnimationFrame.bind(window),ob=window[window.Zone.__symbol__("setTimeout")].bind(window),sb=window[window.Zone.__symbol__("clearTimeout")].bind(window),ab={};!function(){var t,e=["webkitTransform","transform","-webkit-transform","webkit-transform","-moz-transform","moz-transform","MozTransform","mozTransform","msTransform"];for(t=0;t<e.length;t++)if(void 0!==document.documentElement.style[e[t]]){ab.transform=e[t];break}for(e=["webkitTransition","mozTransition","msTransition","transition"],t=0;t<e.length;t++)if(void 0!==document.documentElement.style[e[t]]){ab.transition=e[t];break}var n=ab.transition.indexOf("webkit")>-1;ab.transitionDuration=(n?"-webkit-":"")+"transition-duration",ab.transitionTimingFn=(n?"-webkit-":"")+"transition-timing-function",ab.transitionDelay=(n?"-webkit-":"")+"transition-delay",ab.transitionEnd=(n?"webkitTransitionEnd ":"")+"transitionend",ab.transformOrigin=(n?"-webkit-":"")+"transform-origin",ab.animationDelay=n?"webkitAnimationDelay":"animationDelay"}();var lb,cb=/^(value|checked|disabled|type|class|style|id|autofocus|autocomplete|autocorrect)$/i,ub={},pb=function(){function t(){var t=this;this._versions={},this._onResizes=[],this._bbActions=[],this._platforms=[],this.backButton=new hh,this.pause=new hh,this.resume=new hh,this._readyPromise=new Promise(function(e){t._readyResolve=e}),this.backButton.subscribe(function(){t.runBackButtonAction()})}return t.prototype.setZone=function(t){this.zone=t},t.prototype.is=function(t){return this._platforms.indexOf(t)>-1},t.prototype.platforms=function(){return this._platforms},t.prototype.versions=function(){return this._versions},t.prototype.version=function(){for(var t in this._versions)if(this._versions[t])return this._versions[t];return{}},t.prototype.ready=function(){return this._readyPromise},t.prototype.triggerReady=function(t){var e=this;this.zone.run(function(){e._readyResolve(t)})},t.prototype.prepareReady=function(){var t=this;Lr(function(){t.triggerReady("dom")})},t.prototype.setDir=function(t,e){this._dir=(t||"").toLowerCase(),e!==!1&&document.documentElement.setAttribute("dir",t)},t.prototype.dir=function(){return this._dir},t.prototype.isRTL=function(){return"rtl"===this._dir},t.prototype.setLang=function(t,e){this._lang=t,e!==!1&&document.documentElement.setAttribute("lang",t)},t.prototype.lang=function(){return this._lang},t.prototype.exitApp=function(){},t.prototype.registerBackButtonAction=function(t,e){var n=this;void 0===e&&(e=0);var r={fn:t,priority:e};return this._bbActions.push(r),function(){var t=n._bbActions.indexOf(r);t>-1&&n._bbActions.splice(t,1)}},t.prototype.runBackButtonAction=function(){var t=null;this._bbActions.forEach(function(e){(!t||e.priority>=t.priority)&&(t=e)}),t&&t.fn&&t.fn()},t.prototype.setUserAgent=function(t){this._ua=t},t.prototype.setQueryParams=function(t){this._qp=t},t.prototype.userAgent=function(){return this._ua||""},t.prototype.setNavigatorPlatform=function(t){this._bPlt=t},t.prototype.navigatorPlatform=function(){return this._bPlt||""},t.prototype.width=function(){return Xr().width},t.prototype.height=function(){return Xr().height},t.prototype.isPortrait=function(){return this.width()<this.height()},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype.windowResize=function(){var t=this;clearTimeout(t._resizeTm),t._resizeTm=setTimeout(function(){$r();for(var e=0;e<t._onResizes.length;e++)try{t._onResizes[e]()}catch(t){console.error(t)}},200)},t.prototype.onResize=function(t){var e=this;return e._onResizes.push(t),function(){var n=e._onResizes.indexOf(t);n>-1&&e._onResizes.splice(n,1)}},t.prototype.setPlatformConfigs=function(t){this._registry=t||{}},t.prototype.getPlatformConfig=function(t){return this._registry[t]||{}},t.prototype.registry=function(){return this._registry},t.prototype.setDefault=function(t){this._default=t},t.prototype.testQuery=function(t,e){var n=t.toLowerCase().split(";");return n.indexOf(e)>-1},t.prototype.testNavigatorPlatform=function(t){var e=new RegExp(t,"i");return e.test(this._bPlt)},t.prototype.matchUserAgentVersion=function(t){if(this._ua&&t){var e=this._ua.match(t);if(e)return{major:e[1],minor:e[2]}}},t.prototype.isPlatformMatch=function(t,e,n){void 0===n&&(n=[]);var r=this._qp.get("ionicplatform");if(r)return this.testQuery(r,t);e=e||[t];for(var i=this._ua.toLowerCase(),o=0;o<e.length;o++)if(i.indexOf(e[o])>-1){for(var s=0;s<n.length;s++)if(i.indexOf(n[s])>-1)return!1;return!0}return!1},t.prototype.init=function(){var t,e,n;for(var r in this._registry)n=this.matchPlatform(r),n&&(n.isEngine?e=n:(!t||n.depth>t.depth)&&(t=n));if(t||(t=new hb(this._registry,this._default)),t){e&&(e.child=t,t.parent=e,t=e);for(var i=t;i;)Kr(this._registry,i),i=i.child;for(i=t.parent;i;)t=i,i=i.parent;for(i=t;i;)i.initialize(this),this._platforms.push(i.name),this._versions[i.name]=i.version(this),i=i.child}this._platforms.indexOf("mobile")>-1&&this._platforms.indexOf("cordova")===-1&&this._platforms.push("mobileweb")},t.prototype.matchPlatform=function(t){var e=new hb(this._registry,t),n=e.getRoot(this);if(n){n.depth=0;for(var r=n.child;r;)n.depth++,r=r.child}return n},t}(),hb=function(){function t(t,e){this.registry=t,this.c=t[e],this.name=e,this.isEngine=this.c.isEngine}return t.prototype.settings=function(){return this.c.settings||{}},t.prototype.superset=function(){return this.c.superset},t.prototype.isMatch=function(t){return this.c.isMatch&&this.c.isMatch(t)||!1},t.prototype.initialize=function(t){this.c.initialize&&this.c.initialize(t)},t.prototype.version=function(t){if(this.c.versionParser){var e=this.c.versionParser(t);if(e){var n=e.major+"."+e.minor;return{str:n,num:parseFloat(n),major:parseInt(e.major,10),minor:parseInt(e.minor,10)}}}},t.prototype.getRoot=function(e){if(this.isMatch(e)){var n=this.getSubsetParents(this.name);if(!n.length)return this;for(var r=null,i=null,o=0;o<n.length;o++)if(r=new t(this.registry,n[o]),r.child=this,i=r.getRoot(e))return this.parent=r,i}return null},t.prototype.getSubsetParents=function(t){var e=[],n=null;for(var r in this.registry)n=this.registry[r],n.subsets&&n.subsets.indexOf(t)>-1&&e.push(r);return e},t}(),fb=new gl("USERAGENT"),db=new gl("NAVPLT"),_b=new gl("DOCDIR"),yb=new gl("DOCLANG"),gb=function(){function t(t,e){this._config=t,this._platform=e,this._disTime=0,this._scrollTime=0,this._title="",this._titleSrv=new f_,this._rootNav=null,this.viewDidLoad=new hh,this.viewWillEnter=new hh,this.viewDidEnter=new hh,this.viewWillLeave=new hh,this.viewDidLeave=new hh,this.viewWillUnload=new hh,e.registerBackButtonAction(this.navPop.bind(this))}return t.prototype.setTitle=function(t){t!==this._title&&(this._title=t,this._titleSrv.setTitle(t))},t.prototype.setElementClass=function(t,e){this._appRoot.setElementClass(t,e)},t.prototype.setEnabled=function(t,e){void 0===e&&(e=700),this._disTime=t?0:Date.now()+e,this._clickBlock&&(t||e<=32?this._clickBlock.activate(!1,0):this._clickBlock.activate(!0,e+mb))},t.prototype.setScrollDisabled=function(t){this._config.get("canDisableScroll",!0)&&this._appRoot._disableScroll(t)},t.prototype.isEnabled=function(){return this._disTime<Date.now()},t.prototype.setScrolling=function(){this._scrollTime=Date.now()},t.prototype.isScrolling=function(){return this._scrollTime+48>Date.now()},t.prototype.getActiveNav=function(){for(var t,e=this._rootNav||null;e&&(t=e.getActiveChildNav());)e=t;return e},t.prototype.getRootNav=function(){return this._rootNav},t.prototype._setRootNav=function(t){this._rootNav=t},t.prototype.present=function(t,e,n){var r=this._appRoot._getPortal(n);return t._setNav(r),e.keyboardClose=!1,e.direction=Jv,e.animation||(e.animation=t.getTransitionName(Jv)),t.setLeavingOpts({keyboardClose:!1,direction:Qv,animation:t.getTransitionName(Qv),ev:e.ev}),r.insertPages(-1,[t],e)},t.prototype.navPop=function(){function t(e){if(e){if(kr(e)){var n=e.previousTab(!0);if(n)return e.select(n),Promise.resolve()}else if(jr(e)&&e.length()>1)return e.pop();return t(e.parent)}return null}if(this._rootNav&&this.isEnabled()){var e=this._appRoot._getPortal();if(e.length()>0)return e.pop();var n=t(this.getActiveNav());return null===n&&this._config.getBoolean("navExitApp",!0)&&this._platform.exitApp(),n}return Promise.resolve()},t.decorators=[{type:fl}],t.ctorParameters=[{type:Hv},{type:pb}],t}(),mb=64,vb=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)},bb=function(t){function e(e,n){n.buttons=n.buttons||[],n.enableBackdropDismiss=!Nv(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,t.call(this,Xv,n,null),this._app=e,this.isOverlay=!0}return vb(e,t),e.prototype.getTransitionName=function(t){var e="actionSheet"+("back"===t?"Leave":"Enter");return this._nav&&this._nav.config.get(e)},e.prototype.setTitle=function(t){this.data.title=t},e.prototype.setSubTitle=function(t){this.data.subTitle=t},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(qv),wb=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new bb(this._app,t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb}],t}(),Cb=function(){function t(t,e,n,r,i){this._viewCtrl=t,this._elementRef=e,this._config=n,this.d=r.data,this.mode=n.get("mode"),i.setElementClass(e.nativeElement,"alert-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&i.setElementClass(e.nativeElement,t,!0)}),this.id=++Eb,this.descId="",this.hdrId="alert-hdr-"+this.id,this.subHdrId="alert-subhdr-"+this.id,this.msgId="alert-msg-"+this.id,this.activeId="",this.lastClick=0,this.d.message?this.descId=this.msgId:this.d.subTitle&&(this.descId=this.subHdrId),this.d.message||(this.d.message="")}return t.prototype.ionViewDidLoad=function(){var t=this,e=this.d;e.buttons=e.buttons.map(function(t){return"string"==typeof t?{text:t}:t}),e.inputs=e.inputs.map(function(e,n){return{type:e.type||"text",name:Nv(e.name)?e.name:n,placeholder:Nv(e.placeholder)?e.placeholder:"",value:Nv(e.value)?e.value:"",label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:"alert-input-"+t.id+"-"+n}});var n=[];e.inputs.forEach(function(t){n.indexOf(t.type)<0&&n.push(t.type)}),n.length>1&&(n.indexOf("checkbox")>-1||n.indexOf("radio")>-1)&&console.warn("Alert cannot mix input types: "+n.join("/")+". Please see alert docs for more info."),this.inputType=n.length?n[0]:null;var r=this.d.inputs.find(function(t){return t.checked});r&&(this.activeId=r.id)},t.prototype.keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===Hm.ENTER){if(this.lastClick+1e3<Date.now()){var e=this.d.buttons[this.d.buttons.length-1];this.btnClick(e)}}else t.keyCode===Hm.ESCAPE&&this.bdClick()},t.prototype.ionViewDidEnter=function(){var t=document.activeElement;document.activeElement&&t.blur();var e=this._elementRef.nativeElement.querySelector("input,button");e&&e.focus(),this.enabled=!0},t.prototype.btnClick=function(t,e){var n=this;if(this.enabled){this.lastClick=Date.now();var r=!0;t.handler&&t.handler(this.getValues())===!1&&(r=!1),r&&setTimeout(function(){n.dismiss(t.role)},e||this._config.get("pageTransitionDelay"))}},t.prototype.rbClick=function(t){this.enabled&&(this.d.inputs.forEach(function(e){e.checked=t===e}),this.activeId=t.id)},t.prototype.cbClick=function(t){this.enabled&&(t.checked=!t.checked)},t.prototype.bdClick=function(){if(this.enabled&&this.d.enableBackdropDismiss){var t=this.d.buttons.find(function(t){return"cancel"===t.role});t?this.btnClick(t,1):this.dismiss("backdrop")}},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(this.getValues(),t)},t.prototype.getValues=function(){if("radio"===this.inputType){var t=this.d.inputs.find(function(t){return t.checked});return t?t.value:void 0}if("checkbox"===this.inputType)return this.d.inputs.filter(function(t){return t.checked}).map(function(t){return t.value});var e={};return this.d.inputs.forEach(function(t){e[t.name]=t.value}),e},t.decorators=[{type:Sl,args:[{selector:"ion-alert",template:'<ion-backdrop (click)="bdClick()"></ion-backdrop><div class="alert-wrapper"><div class="alert-head"><h2 id="{{hdrId}}" class="alert-title" *ngIf="d.title" [innerHTML]="d.title"></h2><h3 id="{{subHdrId}}" class="alert-sub-title" *ngIf="d.subTitle" [innerHTML]="d.subTitle"></h3></div><div id="{{msgId}}" class="alert-message" [innerHTML]="d.message"></div><div *ngIf="d.inputs.length" [ngSwitch]="inputType"><template ngSwitchCase="radio"><div class="alert-radio-group" role="radiogroup" [attr.aria-labelledby]="hdrId" [attr.aria-activedescendant]="activeId"><button ion-button="alert-radio-button" *ngFor="let i of d.inputs" (click)="rbClick(i)" [attr.aria-checked]="i.checked" [disabled]="i.disabled" [attr.id]="i.id" class="alert-tappable alert-radio" role="radio"><div class="alert-radio-icon"><div class="alert-radio-inner"></div></div><div class="alert-radio-label">{{i.label}}</div></button></div></template><template ngSwitchCase="checkbox"><div class="alert-checkbox-group"><button ion-button="alert-checkbox-button" *ngFor="let i of d.inputs" (click)="cbClick(i)" [attr.aria-checked]="i.checked" [disabled]="i.disabled" class="alert-tappable alert-checkbox" role="checkbox"><div class="alert-checkbox-icon"><div class="alert-checkbox-inner"></div></div><div class="alert-checkbox-label">{{i.label}}</div></button></div></template><template ngSwitchDefault><div class="alert-input-group"><div *ngFor="let i of d.inputs" class="alert-input-wrapper"><input [placeholder]="i.placeholder" [(ngModel)]="i.value" [type]="i.type" class="alert-input"></div></div></template></div><div class="alert-button-group" [ngClass]="{\'alert-button-group-vertical\':d.buttons.length>2}"><button ion-button="alert-button" *ngFor="let b of d.buttons" (click)="btnClick(b)" [ngClass]="b.cssClass">{{b.text}}</button></div></div>',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"},encapsulation:Dl.None}]}],t.ctorParameters=[{type:qv},{type:_u},{type:Hv},{type:Wv},{type:cu}],t.propDecorators={keyUp:[{type:jl,args:["body:keyup",["$event"]]}]},t}(),Eb=-1,xb=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)},Ob=function(t){function e(e,n){void 0===n&&(n={}),n.inputs=n.inputs||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!Nv(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,t.call(this,Cb,n,null),this._app=e,this.isOverlay=!0}return xb(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"alertLeave":"alertEnter";return this._nav&&this._nav.config.get(e)},e.prototype.setTitle=function(t){this.data.title=t},e.prototype.setSubTitle=function(t){this.data.subTitle=t},e.prototype.setMessage=function(t){this.data.message=t},e.prototype.addInput=function(t){this.data.inputs.push(t)},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.setCssClass=function(t){this.data.cssClass=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(qv),Tb=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new Ob(this._app,t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb}],t}(),Pb=function(){function t(t,e,n){this._app=t,this._serializer=e,this._location=n,this.segments=[],this.history=[]}return t.prototype.init=function(){var t=this,e=Jr(this._location.path());this.segments=this._serializer.parse(e),this.historyPush(e),this._location.subscribe(function(e){t.urlChange(Jr(e.url))})},t.prototype.urlChange=function(t){if(!this.isCurrentUrl(t)){this.isBackUrl(t)?this.historyPop():this.historyPush(t);var e=this._app.getRootNav();if(e){if("/"===t){if(!Nv(this.indexAliasUrl))return void e.goToRoot({updateUrl:!1,isNavRoot:!0});t=this.indexAliasUrl}this.segments=this._serializer.parse(t),this.loadNavFromPath(e)}}},t.prototype.navChange=function(t){if(t){var e=this._app.getActiveNav();if(e){this.segments=this.pathFromNavs(e);var n=this._serializer.serialize(this.segments);this.updateLocation(n,t)}}},t.prototype.updateLocation=function(t,e){this.indexAliasUrl===t&&(t="/"),e===Qv&&this.isBackUrl(t)?(this.historyPop(),this._location.back()):this.isCurrentUrl(t)||(this.historyPush(t),this._location.go(t))},t.prototype.getComponentFromName=function(t){var e=this._serializer.createSegmentFromName(t);return e&&e.component?e.component:null},t.prototype.createUrl=function(t,e,n,r){void 0===r&&(r=!0);var i=this._serializer.createSegmentFromName(e);if(i){var o=this.pathFromNavs(t,i.component,n),s=this._serializer.serialize(o);return r?this._location.prepareExternalUrl(s):s}return""},t.prototype.pathFromNavs=function(t,e,n){for(var r,i,o,s=[];t&&(!e&&jr(t)&&(r=t.getActive(!0),r&&(e=r.component,n=r.data)),i=this._serializer.serializeComponent(e,n),e=n=null,i);)s.push(i),Rr(t)?(o=this.getTabSelector(t),s.push({id:o,name:o,component:null,data:null}),t=t.parent&&t.parent.parent):t=t.parent;return s.reverse()},t.prototype.getTabSelector=function(t){return Nv(t.tabUrlPath)?t.tabUrlPath:Nv(t.tabTitle)?this._serializer.formatUrlPart(t.tabTitle):"tab-"+t.index},t.prototype.getSelectedTabIndex=function(t,e,n){var r=this;void 0===n&&(n=0);var i=e.match(/tab-(\d+)/);if(i)return parseInt(i[1],10);var o=t._tabs.find(function(t){return Nv(t.tabUrlPath)&&t.tabUrlPath===e||Nv(t.tabTitle)&&r._serializer.formatUrlPart(t.tabTitle)===e});return Nv(o)?o.index:n},t.prototype.initNav=function(t){var e=this.segments;if(t&&e.length){if(!t.parent)return e[0].navId=t.id,e[0];for(var n=1;n<e.length;n++)if(e[n-1].navId===t.parent.id)return e[n].navId=t.id,e[n]}return null},t.prototype.initViews=function(t){var e;e=Vv(t.defaultHistory)?Ir(this,t.defaultHistory):[];var n=new qv(t.component,t.data);return n.id=t.id,e.push(n),e},t.prototype.loadNavFromPath=function(t,e){var n=this;t?this.loadViewFromSegment(t,function(){n.loadNavFromPath(t.getActiveChildNav(),e)}):e&&e()},t.prototype.loadViewFromSegment=function(t,e){var n=this.initNav(t);if(!n)return void e();if(kr(t))return t.select(this.getSelectedTabIndex(t,n.name),{updateUrl:!1,animate:!1}),void e();for(var r,i=t,o=i.length()-1,s=o;s>=0;s--)if(r=i.getByIndex(s),r&&r.id===n.id)return void(s===o?e():i.popTo(r,{animate:!1,updateUrl:!1},e));i.push(n.component,n.data,{id:n.id,animate:!1,updateUrl:!1},e)},t.prototype.isBackUrl=function(t){return t===this.history[this.history.length-2]},t.prototype.isCurrentUrl=function(t){return t===this.history[this.history.length-1]},t.prototype.historyPush=function(t){this.isCurrentUrl(t)||(this.history.push(t),this.history.length>30&&this.history.shift())},t.prototype.historyPop=function(){this.history.pop(),this.history.length||this.historyPush(this._location.path())},t}(),Sb=function(){function t(t){this._js=!1,this._top=0,this._el=t}return t.prototype.getTop=function(){return this._js?this._top:this._top=this._el.scrollTop},t.prototype.setTop=function(t){this._top=t,this._js?this._el.style[ab.transform]="translate3d(0px,"+t*-1+"px,0px)":this._el.scrollTop=t},t.prototype.scrollTo=function(t,e,n){var r=this;if(!r._el)return Promise.resolve();t=t||0,e=e||0;var i=r._el.scrollTop,o=r._el.scrollLeft,s=n/16+100;return new Promise(function(a){function l(){if(u++,!r._el||!r.isPlaying||u>s)return r.isPlaying=!1,void a();var p=Math.min(1,(Date.now()-c)/n),h=--p*p*p+1;i!==e&&r.setTop(h*(e-i)+i),o!==t&&(r._el.scrollLeft=Math.floor(h*(t-o)+o)),h<1?nb(l):a()}var c,u=0;r.isPlaying=!0,nb(function(){c=Date.now(),nb(l)})})},t.prototype.scrollToTop=function(t){return this.scrollTo(0,0,t)},t.prototype.scrollToBottom=function(t){var e=0;return this._el&&(e=this._el.scrollHeight-this._el.clientHeight),this.scrollTo(0,e,t)},t.prototype.stop=function(){this.isPlaying=!1},t.prototype.jsScroll=function(t){var e=this;return this._js=!0,this._cb=t,this._pos=[],this._el&&(this._el.addEventListener("touchstart",this._start.bind(this)),this._el.addEventListener("touchmove",this._move.bind(this)),this._el.addEventListener("touchend",this._end.bind(this)),this._el.parentElement.classList.add("js-scroll")),function(){e._el&&(e._el.removeEventListener("touchstart",e._start.bind(e)),e._el.removeEventListener("touchmove",e._move.bind(e)),e._el.removeEventListener("touchend",e._end.bind(e)),e._el.parentElement.classList.remove("js-scroll"))}},t.prototype._start=function(t){this._velocity=0,this._pos.length=0,this._max=null,this._pos.push(Fr(t).y,Date.now())},t.prototype._move=function(t){if(this._pos.length){var e=Fr(t).y;this._setMax(),this._top-=e-this._pos[this._pos.length-2],this._top=Math.min(Math.max(this._top,0),this._max),this._pos.push(e,Date.now()),this._cb(this._top),this.setTop(this._top)}},t.prototype._setMax=function(){this._max||(this._max=this._el.offsetHeight-this._el.parentElement.offsetHeight+this._el.parentElement.offsetTop)},t.prototype._end=function(t){var e=this._pos;if(this._velocity=0,ib(this._rafId),e.length){var n=Fr(t).y;e.push(n,Date.now());for(var r=e.length-1,i=r,o=Date.now()-100,s=r;s>0&&e[s]>o;s-=2)i=s;if(i!==r){var a=e[r]-e[i],l=e[i-1]-e[r-1];this._velocity=l/a*Rb,Math.abs(this._velocity)>Ib&&(this._setMax(),this._rafId=nb(this._decelerate.bind(this)))}e.length=0}},t.prototype._decelerate=function(){var t=this;t._velocity&&(t._velocity*=kb,t._top=Math.min(Math.max(t._top+t._velocity,0),t._max),t._cb(t._top),t.setTop(t._top),t._top>0&&t._top<t._max&&Math.abs(t._velocity)>Ab&&(t._rafId=nb(t._decelerate.bind(t))))},t.prototype.destroy=function(){this._velocity=0,this.stop(),this._el=null},t}(),Ib=4,Ab=.12,kb=.97,Rb=1e3/60,jb=function(){function t(){this._channels=[]}return t.prototype.subscribe=function(t){for(var e=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this._channels[t]||(this._channels[t]=[]),n.forEach(function(n){e._channels[t].push(n)})},t.prototype.unsubscribe=function(t,e){void 0===e&&(e=null);var n=this._channels[t];if(!n)return!1;if(!e)return delete this._channels[t],!0;var r=n.indexOf(e);return!(r<0)&&(n.splice(r,1),n.length||delete this._channels[t],!0)},t.prototype.publish=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this._channels[t];if(!r)return null;var i=[];return r.forEach(function(t){i.push(t(e))}),i},t}(),Db=function(){function t(t){this._app=t,this.id=1,this.requestedStart={},this.disabledGestures={},this.disabledScroll=new Set,this.capturedID=null}return t.prototype.create=function(t,e){
  return void 0===e&&(e={}),new Nb(t,this.newID(),this,e)},t.prototype.newID=function(){var t=this.id;return this.id++,t},t.prototype.start=function(t,e,n){return this.canStart(t)?(this.requestedStart[e]=n,!0):(delete this.requestedStart[e],!1)},t.prototype.capture=function(t,e,n){if(!this.start(t,e,n))return!1;var r=this.requestedStart,i=-1e4;for(var o in r)i=Math.max(i,r[o]);return i===n?(this.capturedID=e,this.requestedStart={},!0):(delete r[e],!1)},t.prototype.release=function(t){delete this.requestedStart[t],this.capturedID&&t===this.capturedID&&(this.capturedID=null)},t.prototype.disableGesture=function(t,e){var n=this.disabledGestures[t];n||(n=new Set,this.disabledGestures[t]=n),n.add(e)},t.prototype.enableGesture=function(t,e){var n=this.disabledGestures[t];n&&n.delete(e)},t.prototype.disableScroll=function(t){var e=!this.isScrollDisabled();this.disabledScroll.add(t),this._app&&e&&this.isScrollDisabled()&&this._app.setScrollDisabled(!0)},t.prototype.enableScroll=function(t){var e=this.isScrollDisabled();this.disabledScroll.delete(t),this._app&&e&&!this.isScrollDisabled()&&this._app.setScrollDisabled(!1)},t.prototype.canStart=function(t){return!this.capturedID&&!this.isDisabled(t)},t.prototype.isCaptured=function(){return!!this.capturedID},t.prototype.isScrollDisabled=function(){return this.disabledScroll.size>0},t.prototype.isDisabled=function(t){var e=this.disabledGestures[t];return!!(e&&e.size>0)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb,decorators:[{type:pl,args:[C(function(){return gb})]}]}],t}(),Nb=function(){function t(t,e,n,r){this.name=t,this.id=e,this.controller=n,this.priority=0,this.disable=r.disable||[],this.disableScroll=r.disableScroll||0,this.priority=r.priority||0;for(var i=0,o=this.disable;i<o.length;i++){var s=o[i];n.disableGesture(s,e)}2===this.disableScroll&&n.disableScroll(e)}return t.prototype.canStart=function(){return!!this.controller&&this.controller.canStart(this.name)},t.prototype.start=function(){return!!this.controller&&this.controller.start(this.name,this.id,this.priority)},t.prototype.capture=function(){if(!this.controller)return!1;var t=this.controller.capture(this.name,this.id,this.priority);return t&&1===this.disableScroll&&this.controller.disableScroll(this.id),t},t.prototype.release=function(){this.controller&&(this.controller.release(this.id),1===this.disableScroll&&this.controller.enableScroll(this.id))},t.prototype.destroy=function(){if(this.controller){this.release();for(var t=0,e=this.disable;t<e.length;t++){var n=e[t];this.controller.enableGesture(n,this.id)}2===this.disableScroll&&this.controller.enableScroll(this.id),this.controller=null}},t}(),Mb=function(){function t(t){var e=this;t.ready().then(function(){e.plugin=window.TapticEngine})}return t.prototype.available=function(){return!!this.plugin},t.prototype.selection=function(){this.plugin&&this.plugin.selection()},t.prototype.gestureSelectionStart=function(){this.plugin&&this.plugin.gestureSelectionStart()},t.prototype.gestureSelectionChanged=function(){this.plugin&&this.plugin.gestureSelectionChanged()},t.prototype.gestureSelectionEnd=function(){this.plugin&&this.plugin.gestureSelectionEnd()},t.prototype.notification=function(t){this.plugin&&this.plugin.notification(t)},t.prototype.impact=function(t){this.plugin&&this.plugin.impact(t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:pb}],t}(),Lb=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)},Vb=function(t){function e(){t.apply(this,arguments)}return Lb(e,t),e.prototype.buildHammer=function(t){var e=new window.Hammer(t);for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},e.decorators=[{type:fl}],e.ctorParameters=[],e}(W_),Fb=function(){function t(t,e,n){var r=this;this._form=e,this._zone=n,n.runOutsideAngular(function(){r.focusOutline(t.get("focusOutline"),document)})}return t.prototype.isOpen=function(){return Gr()},t.prototype.onClose=function(t,e,n){function r(){!i.isOpen()||o>n?Nr(30,function(){t()}):ob(r,e),o++}void 0===e&&(e=Bb),void 0===n&&(n=Hb);var i=this,o=0,s=null;return t||(s=new Promise(function(e){t=e})),ob(r,e),s},t.prototype.close=function(){var t=this;nb(function(){Gr()&&t._form.focusOut()})},t.prototype.focusOutline=function(t,e){function n(){nb(function(){e.body.classList[a?"add":"remove"]("focus-outline")})}function r(t){a||t.keyCode!==Hm.TAB||(a=!0,o())}function i(){a=!1,o()}function o(){n(),s._zone.runOutsideAngular(function(){e.removeEventListener("mousedown",i),e.removeEventListener("touchstart",i),a&&(e.addEventListener("mousedown",i),e.addEventListener("touchstart",i))})}var s=this,a=!1;return t===!0?(a=!0,n()):void(t!==!1&&e.addEventListener("keydown",r))},t.decorators=[{type:fl}],t.ctorParameters=[{type:Hv},{type:Uv},{type:fh}],t}(),Bb=150,Hb=100,zb=function(){function t(t,e,n){this._config=t,this._elementRef=e,this._renderer=n}return t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.setElementStyle=function(t,e){this._renderer.setElementStyle(this._elementRef.nativeElement,t,e)},t.prototype._setColor=function(t,e){this._color&&this.setElementClass(t+"-"+this._mode+"-"+this._color,!1),e&&(this.setElementClass(t+"-"+this._mode+"-"+e,!0),this._color=e)},t.prototype._setMode=function(t,e){this._mode&&this.setElementClass(t+"-"+this._mode,!1),e&&(this.setElementClass(t+"-"+e,!0),this._setColor(t,null),this._mode=e,this._setColor(t,this._color))},t.prototype.getElementRef=function(){return this._elementRef},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.getDimensions=function(){return qr(this.getNativeElement(),this._getId())},t.prototype.width=function(){return qr(this.getNativeElement(),this._getId()).width},t.prototype.height=function(){return qr(this.getNativeElement(),this._getId()).height},t.prototype.destroy=function(){Yr(this._ionId)},t.prototype._getId=function(){return this._ionId||(this._ionId="i"+Ub++),this._ionId},t}(),Ub=0,Gb=function(){function t(){}return t}(),Wb=function(){function t(t,e,n){this.direction=t,this.dirty=!1,this._angle=0,this._isPan=0;var r=n*(Math.PI/180);this.maxCosine=Math.cos(r),this.threshold=e*e}return t.prototype.start=function(t){this.startCoord=t,this._angle=0,this._isPan=0,this.dirty=!0},t.prototype.detect=function(t){if(!this.dirty)return!1;var e=t.x-this.startCoord.x,n=t.y-this.startCoord.y,r=e*e+n*n;if(r>=this.threshold){var i=Math.atan2(n,e),o="y"===this.direction?Math.sin(i):Math.cos(i);return this._angle=i,o>this.maxCosine?this._isPan=1:o<-this.maxCosine?this._isPan=-1:this._isPan=0,this.dirty=!1,!0}return!1},t.prototype.angle=function(){return this._angle},t.prototype.pan=function(){return this._isPan},t}(),qb=function(){function t(t,e,n,r,i,o){this.ele=t,this.pointerDown=e,this.pointerMove=n,this.pointerUp=r,this.zone=i,this.option=o,this.rmTouchStart=null,this.rmTouchMove=null,this.rmTouchEnd=null,this.rmTouchCancel=null,this.rmMouseStart=null,this.rmMouseMove=null,this.rmMouseUp=null,this.lastTouchEvent=0,this.mouseWait=2e3,this.bindTouchEnd=this.handleTouchEnd.bind(this),this.bindMouseUp=this.handleMouseUp.bind(this),this.rmTouchStart=ni(t,"touchstart",i,o,this.handleTouchStart.bind(this)),this.rmMouseStart=ni(t,"mousedown",i,o,this.handleMouseDown.bind(this))}return t.prototype.handleTouchStart=function(t){this.lastTouchEvent=Date.now()+this.mouseWait,this.pointerDown(t)&&(!this.rmTouchMove&&this.pointerMove&&(this.rmTouchMove=ni(this.ele,"touchmove",this.zone,this.option,this.pointerMove)),this.rmTouchEnd||(this.rmTouchEnd=ni(this.ele,"touchend",this.zone,this.option,this.bindTouchEnd)),this.rmTouchCancel||(this.rmTouchCancel=ni(this.ele,"touchcancel",this.zone,this.option,this.bindTouchEnd)))},t.prototype.handleMouseDown=function(t){this.lastTouchEvent>Date.now()||this.pointerDown(t)&&(!this.rmMouseMove&&this.pointerMove&&(this.rmMouseMove=ni(document,"mousemove",this.zone,this.option,this.pointerMove)),this.rmMouseUp||(this.rmMouseUp=ni(document,"mouseup",this.zone,this.option,this.bindMouseUp)))},t.prototype.handleTouchEnd=function(t){this.stopTouch(),this.pointerUp&&this.pointerUp(t)},t.prototype.handleMouseUp=function(t){this.stopMouse(),this.pointerUp&&this.pointerUp(t)},t.prototype.stopTouch=function(){this.rmTouchMove&&this.rmTouchMove(),this.rmTouchEnd&&this.rmTouchEnd(),this.rmTouchCancel&&this.rmTouchCancel(),this.rmTouchMove=null,this.rmTouchEnd=null,this.rmTouchCancel=null},t.prototype.stopMouse=function(){this.rmMouseMove&&this.rmMouseMove(),this.rmMouseUp&&this.rmMouseUp(),this.rmMouseMove=null,this.rmMouseUp=null},t.prototype.stop=function(){this.stopTouch(),this.stopMouse()},t.prototype.destroy=function(){this.rmTouchStart&&this.rmTouchStart(),this.rmTouchStart=null,this.rmMouseStart&&this.rmMouseStart(),this.rmMouseStart=null,this.stop(),this.pointerDown=null,this.pointerMove=null,this.pointerUp=null,this.ele=null},t}(),Yb=function(){function t(t){void 0===t&&(t=!0),this.zoneWrapped=t,this.events=[]}return t.prototype.listenRef=function(t,e,n,r){return this.listen(t.nativeElement,e,n,r)},t.prototype.pointerEvents=function(t){var e=t.element;if(e||(e=t.elementRef.nativeElement),!e||!t.pointerDown)return void console.error("PointerEvents config is invalid");var n=t.zone||this.zoneWrapped,r=t.nativeOptions||!1,i=new qb(e,t.pointerDown,t.pointerMove,t.pointerUp,n,r),o=function(){return i.destroy()};return this.events.push(o),i},t.prototype.listen=function(t,e,n,r){if(void 0===r&&(r=!1),t){var i=ni(t,e,this.zoneWrapped,r,n);return this.events.push(i),i}},t.prototype.unlistenAll=function(){for(var t=0,e=this.events;t<e.length;t++){var n=e[t];n()}this.events.length=0},t}(),Xb=function(){function t(t,e){void 0===e&&(e={}),this.element=t,this.events=new Yb(!1),this.started=!1,this.captured=!1,this.isListening=!1,Or(e,{threshold:20,maxAngle:40,direction:"x"}),this.gestute=e.gesture,this.direction=e.direction,this.detector=new Wb(e.direction,e.threshold,e.maxAngle)}return t.prototype.listen=function(){this.isListening||(this.pointerEvents=this.events.pointerEvents({element:this.element,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this)}),this.isListening=!0)},t.prototype.unlisten=function(){this.gestute&&this.gestute.release(),this.events.unlistenAll(),this.isListening=!1},t.prototype.destroy=function(){this.gestute&&this.gestute.destroy(),this.unlisten(),this.element=null},t.prototype.pointerDown=function(t){if(!this.started){if(!this.canStart(t))return!1;if(this.gestute&&(this.gestute.release(),!this.gestute.start()))return!1;var e=Fr(t);return this.detector.start(e),this.started=!0,this.captured=!1,!0}},t.prototype.pointerMove=function(t){if(this.started){if(this.captured)return void this.onDragMove(t);var e=Fr(t);if(this.detector.detect(e)){if(0!==this.detector.pan()&&this.canCapture(t)&&(!this.gestute||this.gestute.capture()))return this.onDragStart(t),void(this.captured=!0);this.started=!1,this.captured=!1,this.pointerEvents.stop(),this.notCaptured(t)}}},t.prototype.pointerUp=function(t){this.started&&(this.gestute&&this.gestute.release(),this.captured?this.onDragEnd(t):this.notCaptured(t),this.captured=!1,this.started=!1)},t.prototype.getNativeElement=function(){return this.element},t.prototype.canStart=function(t){return!0},t.prototype.canCapture=function(t){return!0},t.prototype.onDragStart=function(t){},t.prototype.onDragMove=function(t){},t.prototype.onDragEnd=function(t){},t.prototype.notCaptured=function(t){},t}(),$b=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)},Kb=function(t){function e(e,n){void 0===n&&(n={}),t.call(this,e,n),this.slide=null}return $b(e,t),e.prototype.getSlideBoundaries=function(t,e){return{min:0,max:this.getNativeElement().offsetWidth}},e.prototype.getElementStartPos=function(t,e){return 0},e.prototype.onDragStart=function(t){this.onSlideBeforeStart(t);var e=Fr(t),n=e[this.direction];this.slide={min:0,max:0,pointerStartPos:n,pos:n,timestamp:Date.now(),elementStartPos:0,started:!0,delta:0,distance:0,velocity:0};var r=this.getSlideBoundaries(this.slide,t),i=r.min,o=r.max;this.slide.min=i,this.slide.max=o,this.slide.elementStartPos=this.getElementStartPos(this.slide,t),this.onSlideStart(this.slide,t)},e.prototype.onDragMove=function(t){var e=this.slide,n=Fr(t),r=n[this.direction],i=Date.now(),o=(r-e.pos)/(i-e.timestamp);return e.pos=r,e.timestamp=i,e.distance=br(e.min,r-e.pointerStartPos+e.elementStartPos,e.max),e.velocity=o,e.delta=r-e.pointerStartPos,this.onSlide(e,t),!0},e.prototype.onDragEnd=function(t){this.onSlideEnd(this.slide,t),this.slide=null},e.prototype.onSlideBeforeStart=function(t){},e.prototype.onSlideStart=function(t,e){},e.prototype.onSlide=function(t,e){},e.prototype.onSlideEnd=function(t,e){},e}(Xb),Zb=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)},Qb=function(t){function e(e,n){void 0===n&&(n={}),Or(n,{edge:"left",maxEdgeStart:50}),t.call(this,e,n),this.edges=n.edge.split(" "),this.maxEdgeStart=n.maxEdgeStart}return Zb(e,t),e.prototype.canStart=function(t){var e=this,n=Fr(t);return this._d=this.getContainerDimensions(),this.edges.every(function(t){return e._checkEdge(t,n)})},e.prototype.getContainerDimensions=function(){return{left:0,top:0,width:Xr().width,height:Xr().height}},e.prototype._checkEdge=function(t,e){switch(t){case"left":return e.x<=this._d.left+this.maxEdgeStart;case"right":return e.x>=this._d.width-this.maxEdgeStart;case"top":return e.y<=this._d.top+this.maxEdgeStart;case"bottom":return e.y>=this._d.height-this.maxEdgeStart}},e}(Kb),Jb=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)},tw=function(t){function e(e,n,r,i){t.call(this,e,wr({direction:"x",maxEdgeStart:75,gesture:i.create("goback-swipe",{priority:20})},n)),this._nav=r}return Jb(e,t),e.prototype.canStart=function(e){return this._nav.canSwipeBack()&&t.prototype.canStart.call(this,e)},e.prototype.onSlideBeforeStart=function(t){this._nav.swipeBackStart()},e.prototype.onSlide=function(t){var e=t.distance/t.max;this._nav.swipeBackProgress(e)},e.prototype.onSlideEnd=function(t,e){var n=Math.abs(t.velocity)>.2||Math.abs(t.delta)>.5*Math.abs(t.max),r=t.distance/t.max;this._nav.swipeBackEnd(n,r)},e}(Qb),ew=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)},nw=function(t){function e(e,n,r,i,o,s,a,l,c,u,p){t.call(this,r,o,a),this.parent=e,this._app=n,this.config=r,this._keyboard=i,this._zone=s,this._cfr=l,this._gestureCtrl=c,this._trnsCtrl=u,this._linker=p,this._children=[],this._ids=-1,this._init=!1,this._queue=[],this._trnsId=null,this._trnsTm=0,this._views=[],this.viewDidLoad=new hh,this.viewWillEnter=new hh,this.viewDidEnter=new hh,this.viewWillLeave=new hh,this.viewDidLeave=new hh,this.viewWillUnload=new hh,this._sbEnabled=r.getBoolean("swipeBackEnabled"),this._sbThreshold=r.getNumber("swipeBackThreshold",40),this.id="n"+ ++rw}return ew(e,t),e.prototype.push=function(t,e,n,r){return this._queueTrns({insertStart:-1,insertViews:[Sr(this._linker,t,e)],opts:n},r)},e.prototype.insert=function(t,e,n,r,i){return this._queueTrns({insertStart:t,insertViews:[Sr(this._linker,e,n)],opts:r},i)},e.prototype.insertPages=function(t,e,n,r){return this._queueTrns({insertStart:t,insertViews:Ir(this._linker,e),opts:n},r)},e.prototype.pop=function(t,e){return this._queueTrns({removeStart:-1,removeCount:1,opts:t},e)},e.prototype.popTo=function(t,e,n){var r=Pr(t)?this.indexOf(t):kv(t)?t:-1;return this._queueTrns({removeStart:r+1,removeCount:-1,opts:e},n)},e.prototype.popToRoot=function(t,e){return this._queueTrns({removeStart:1,removeCount:-1,opts:t},e)},e.prototype.popAll=function(){for(var t=[],e=this._views.length-1;e>=0;e--)t.push(this.pop(null));return Promise.all(t)},e.prototype.remove=function(t,e,n,r){return void 0===e&&(e=1),this._queueTrns({removeStart:t,removeCount:e,opts:n},r)},e.prototype.setRoot=function(t,e,n,r){var i=[Sr(this._linker,t,e)];return this._setPages(i,n,r)},e.prototype.setPages=function(t,e,n){var r=Ir(this._linker,t);return this._setPages(r,e,n)},e.prototype._setPages=function(t,e,n){return Mv(e)&&(e={}),e.animate!==!0&&(e.animate=!1),this._queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},n)},e.prototype._queueTrns=function(t,e){var n,r=this,i=e,o=e;if(void 0===e&&(n=new Promise(function(t,e){i=t,o=e})),t.resolve=function(t,e,n,o,s){r.setTransitioning(!1),r._trnsId=null,i&&i(t,e,n,o,s),r._sbCheck(),r._nextTrns()},t.reject=function(t,e){for(r.setTransitioning(!1),r._trnsId=null,r._queue.length=0;e&&(e.enteringView&&e.enteringView._state!==Gv.LOADED&&e.enteringView._destroy(r._renderer),e.parent););e&&r._trnsCtrl.destroy(e.trnsId),r._sbCheck(),o&&o(!1,!1,t),r._nextTrns()},t.insertViews){if(t.insertViews=t.insertViews.filter(function(t){return null!==t}),!t.insertViews.length)return void t.reject("invalid views to insert")}else if(Nv(t.removeStart)&&!this._views.length&&!this._isPortal)return void t.reject("no views in the stack to be removed");return this._queue.push(t),this._nextTrns(),n},e.prototype._nextTrns=function(){if(this.isTransitioning())return!1;var t=this._nextTI();if(!t)return!1;var e=this.getActive(),n=this._getEnteringView(t,e);n&&Mv(n._state)&&this._viewInit(n);var r=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&n!==e;return r?this._viewTest(n,e,t):(this._postViewInit(n,e,t,t.resolve),!0)},e.prototype._nextTI=function(){var t=this._queue.shift();if(!t)return null;var e=this._views.length;return Nv(t.removeStart)&&(t.removeStart<0&&(t.removeStart=e-1),t.removeCount<0&&(t.removeCount=e-t.removeStart),t.leavingRequiresTransition=t.removeStart+t.removeCount===e),t.insertViews&&((t.insertStart<0||t.insertStart>e)&&(t.insertStart=e),t.enteringRequiresTransition=t.insertStart===e),t},e.prototype._getEnteringView=function(t,e){var n=t.insertViews;if(n)return n[n.length-1];var r=t.removeStart;if(Nv(r))for(var i=this._views,o=r+t.removeCount,s=i.length-1;s>=0;s--){var a=i[s];if((s<r||s>=o)&&a!==e)return a}return null},e.prototype._postViewInit=function(t,e,n,r){var i=n.opts||{},o=n.insertViews,s=n.removeStart,a=[];if(Nv(s)){for(var l=0;l<n.removeCount;l++)a.push(this._views[l+s]);i.direction=i.direction||Qv}if(o){Nv(i.id)&&(t.id=i.id);for(var l=0;l<o.length;l++){var c=o[l],u=this._views.indexOf(c);u>-1?this._views.splice(n.insertStart+l,0,this._views.splice(u,1)[0]):(c._setNav(this),c.id=this.id+"-"+ ++this._ids,this._views.splice(n.insertStart+l,0,c))}n.enteringRequiresTransition&&(i.direction=i.direction||Jv)}for(var l=0;l<a.length;l++){var c=a[l];c&&c!==t&&c!==e&&(this._willLeave(c),this._didLeave(c),this._willUnload(c))}for(var l=0;l<a.length;l++){var c=a[l];c&&c!==t&&c!==e&&c._destroy(this._renderer)}a.length=0,n.enteringRequiresTransition||n.leavingRequiresTransition&&t!==e?(i.animation||(Nv(n.removeStart)?i.animation=(e||t).getTransitionName(i.direction):i.animation=(t||e).getTransitionName(i.direction)),this._transition(t,e,i,r)):r(!0,!1)},e.prototype._viewInit=function(t){var e=Tc.resolve([{provide:Gb,useValue:this},{provide:qv,useValue:t},{provide:Wv,useValue:t.getNavParams()}]),n=this._cfr.resolveComponentFactory(t.component),r=Tc.fromResolvedProviders(e,this._viewport.parentInjector);t.init(n.create(r,[])),t._state=Gv.INITIALIZED,this._willLoad(t)},e.prototype._viewTest=function(t,e,n){var r=this,i=[],o=n.reject,s=n.resolve;if(e){var a=e._lifecycleTest("Leave");if(Nv(a)&&a!==!0){if(!(a instanceof Promise))return o(a!==!1?a:"ionViewCanLeave rejected"),!1;i.push(a)}}if(t){var l=t._lifecycleTest("Enter");if(Nv(l)&&l!==!0){if(!(l instanceof Promise))return o(l!==!1?l:"ionViewCanEnter rejected"),!1;i.push(l)}}return i.length?(Promise.all(i).then(function(){r._postViewInit(t,e,n,s)}).catch(o),!0):(this._postViewInit(t,e,n,s),!0)},e.prototype._transition=function(t,e,n,r){var i=this;this._trnsId=this._trnsCtrl.getRootTrnsId(this),null===this._trnsId&&(this._trnsId=this._trnsCtrl.nextId());var o={animation:n.animation,direction:n.direction,duration:n.animate===!1?0:n.duration,easing:n.easing,isRTL:this.config.platform.isRTL(),ev:n.ev},s=this._trnsCtrl.get(this._trnsId,t,e,o);this._sbTrns&&this._sbTrns.destroy(),s.parent?s.parent.hasChildTrns=!0:n.progressAnimation&&(this._sbTrns=s),s.registerStart(function(){i._trnsStart(s,t,e,n,r),s.parent&&s.parent.start()}),t&&t._state===Gv.INITIALIZED&&this._viewInsert(t,t._cmp,this._viewport),s.hasChildTrns||s.start()},e.prototype._viewInsert=function(t,e,n){if(this._didLoad(t),n.insert(e.hostView,n.length),t._state=Gv.PRE_RENDERED,t._cssClass){var r=e.location.nativeElement;this._renderer.setElementClass(r,t._cssClass,!0)}e.changeDetectorRef.detectChanges()},e.prototype._trnsStart=function(t,e,n,r,i){var o=this;this._trnsId=null,Ar(this,e,n,r.direction,this._renderer),e&&e._domShow(!0,this._renderer),n&&n._domShow(!0,this._renderer),t.init(),(this._init||1!==this._views.length||this._isPortal)&&this.config.get("animate")!==!1||(r.animate=!1),r.animate===!1&&t.duration(0),t.beforeAddRead(function(){o._zone.run(o._viewsWillLifecycles.bind(o,e,n))}),t.onFinish(function(){o._zone.run(o._trnsFinish.bind(o,t,r,i))});var s=t.getDuration();this.setTransitioning(!0,s),t.parent||(s>iw&&this._app.setEnabled(!1,s),r.progressAnimation?t.progressStart():t.play())},e.prototype._viewsWillLifecycles=function(t,e){t&&this._willEnter(t),e&&this._willLeave(e)},e.prototype._trnsFinish=function(t,e,n){var r,i,o=t.hasCompleted;o&&(t.enteringView&&(r=t.enteringView.name,this._didEnter(t.enteringView)),t.leavingView&&(i=t.leavingView.name,this._didLeave(t.leavingView)),this._cleanup(t.enteringView)),t.parent||(this._trnsCtrl.destroy(t.trnsId),this._app.setEnabled(!0),e.updateUrl!==!1&&this._linker.navChange(e.direction),e.keyboardClose!==!1&&this._keyboard.isOpen()&&this._keyboard.close()),n(o,!0,r,i,e.direction)},e.prototype._cleanup=function(t){for(var e=this,n=this.indexOf(t),r=!1,i=this._views.length-1;i>=0;i--){var o=this._views[i];i>n?(this._willUnload(o),o._destroy(this._renderer)):i<n&&!this._isPortal&&o._domShow(!1,this._renderer),o._zIndex<=0&&(r=!0)}this._isPortal||r&&this._views.forEach(function(t){t._setZIndex(t._zIndex+Kv+1,e._renderer)})},e.prototype._willLoad=function(t){t._willLoad()},e.prototype._didLoad=function(t){t._didLoad(),this.viewDidLoad.emit(t),this._app.viewDidLoad.emit(t)},e.prototype._willEnter=function(t){t._willEnter(),this.viewWillEnter.emit(t),this._app.viewWillEnter.emit(t)},e.prototype._didEnter=function(t){t._didEnter(),this.viewDidEnter.emit(t),this._app.viewDidEnter.emit(t)},e.prototype._willLeave=function(t){t._willLeave(),this.viewWillLeave.emit(t),this._app.viewWillLeave.emit(t)},e.prototype._didLeave=function(t){t._didLeave(),this.viewDidLeave.emit(t),this._app.viewDidLeave.emit(t)},e.prototype._willUnload=function(t){t._willUnload(),this.viewWillUnload.emit(t),this._app.viewWillUnload.emit(t)},e.prototype.getActiveChildNav=function(){return this._children[this._children.length-1]},e.prototype.registerChildNav=function(t){this._children.push(t)},e.prototype.unregisterChildNav=function(t){var e=this._children.indexOf(t);e>-1&&this._children.splice(e,1)},e.prototype.destroy=function(){for(var t=this._views.length-1;t>=0;t--)this._views[t]._willUnload(),this._views[t]._destroy(this._renderer);this._views.length=0,this._sbGesture&&this._sbGesture.destroy(),this._sbTrns&&this._sbTrns.destroy(),this._sbGesture=this._sbTrns=null,this.parent&&this.parent.unregisterChildNav&&this.parent.unregisterChildNav(this)},e.prototype.swipeBackStart=function(){if(!(this.isTransitioning()||this._queue.length>0)){var t={direction:Qv,progressAnimation:!0};this._queueTrns({removeStart:-1,removeCount:1,opts:t},null)}},e.prototype.swipeBackProgress=function(t){this._sbTrns&&this._sbGesture&&(this._app.setEnabled(!1,ow),this.setTransitioning(!0,ow),this._sbTrns.progressStep(t))},e.prototype.swipeBackEnd=function(t,e){this._sbTrns&&this._sbGesture&&this._sbTrns.progressEnd(t,e)},e.prototype._sbCheck=function(){var t=this;if(this._sbEnabled&&!this._isPortal){if(!this._sbGesture){var e={edge:"left",threshold:this._sbThreshold};this._sbGesture=new tw(this.getNativeElement(),e,this,this._gestureCtrl)}this.canSwipeBack()?this._sbGesture.isListening||this._zone.runOutsideAngular(function(){t._sbGesture.listen()}):this._sbGesture.isListening&&this._sbGesture.unlisten()}},e.prototype.canSwipeBack=function(){return this._sbEnabled&&!this._children.length&&!this.isTransitioning()&&this._app.isEnabled()&&this.canGoBack()},e.prototype.canGoBack=function(){var t=this.getActive();return!(!t||!t.enableBack())||!1},e.prototype.isTransitioning=function(){return 0!==this._trnsTm&&this._trnsTm>Date.now()},e.prototype.setTransitioning=function(t,e){void 0===e&&(e=2e3),this._trnsTm=t?Date.now()+e+sw:0},e.prototype.getActive=function(){return this._views[this._views.length-1]},e.prototype.isActive=function(t){return t===this.getActive()},e.prototype.getByIndex=function(t){return this._views[t]},e.prototype.getPrevious=function(t){return t||(t=this.getActive()),this._views[this.indexOf(t)-1]},e.prototype.first=function(){return this._views[0]},e.prototype.last=function(){return this._views[this._views.length-1]},e.prototype.indexOf=function(t){return this._views.indexOf(t)},e.prototype.length=function(){return this._views.length},e.prototype.getViews=function(){return this._views},e.prototype.isSwipeBackEnabled=function(){return this._sbEnabled},e.prototype.dismissPageChangeViews=function(){for(var t=0;t<this._views.length;t++){var e=this._views[t];e.data&&e.data.dismissOnPageChange&&e.dismiss()}},e.prototype.setViewport=function(t){this._viewport=t},e}(zb),rw=-1,iw=64,ow=5e3,sw=2e3,aw=function(){function t(t,e,n){this._dur=null,this._es=null,this._upd=0,this.isPlaying=!1,this.hasCompleted=!1,this.element(t).opts=e,this._raf=n||nb}return t.prototype.element=function(t){if(t)if("string"==typeof t){t=document.querySelectorAll(t);for(var e=0;e<t.length;e++)this._addEle(t[e])}else if(t.length)for(var e=0;e<t.length;e++)this._addEle(t[e]);else this._addEle(t);return this},t.prototype._addEle=function(t){t.nativeElement&&(t=t.nativeElement),1===t.nodeType&&(this._eL=(this._e=this._e||[]).push(t))},t.prototype.add=function(t){return t.parent=this,this._cL=(this._c=this._c||[]).push(t),this},t.prototype.getDuration=function(t){return t&&jv(t.duration)?t.duration:null!==this._dur?this._dur:this.parent&&this.parent.getDuration()||0},t.prototype.duration=function(t){return this._dur=t,this},t.prototype.getEasing=function(){return null!==this._es?this._es:this.parent&&this.parent.getEasing()||null},t.prototype.easing=function(t){return this._es=t,this},t.prototype.from=function(t,e){return this._addProp("from",t,e),this},t.prototype.to=function(t,e,n){var r=this._addProp("to",t,e);return n&&this.afterClearStyles([r.trans?ab.transform:t]),this},t.prototype.fromTo=function(t,e,n,r){return this.from(t,e).to(t,n,r)},t.prototype._addProp=function(t,e,n){this._fx=this._fx||{};var r=this._fx[e];r||(r=this._fx[e]={trans:1===lw[e]},r.wc=r.trans?ab.transform:e);var i=r[t]={val:n,num:null,unit:""};if("string"==typeof n&&n.indexOf(" ")<0){var o=n.match(cw),s=parseFloat(o[1]);isNaN(s)||(i.num=s),i.unit=o[0]!==o[2]?o[2]:""}else"number"==typeof n&&(i.num=n);return r},t.prototype.beforeAddClass=function(t){return(this._bfAdd=this._bfAdd||[]).push(t),this},t.prototype.beforeRemoveClass=function(t){return(this._bfRm=this._bfRm||[]).push(t),this},t.prototype.beforeStyles=function(t){return this._bfSty=t,this},t.prototype.beforeClearStyles=function(t){this._bfSty=this._bfSty||{};for(var e=0;e<t.length;e++)this._bfSty[t[e]]="";return this},t.prototype.beforeAddRead=function(t){return(this._rdFn=this._rdFn||[]).push(t),this},t.prototype.beforeAddWrite=function(t){return(this._wrFn=this._wrFn||[]).push(t),this},t.prototype.afterAddClass=function(t){return(this._afAdd=this._afAdd||[]).push(t),this},t.prototype.afterRemoveClass=function(t){return(this._afRm=this._afRm||[]).push(t),this},t.prototype.afterStyles=function(t){return this._afSty=t,this},t.prototype.afterClearStyles=function(t){this._afSty=this._afSty||{};for(var e=0;e<t.length;e++)this._afSty[t[e]]="";return this},t.prototype.play=function(t){var e=this,n=this.getDuration(t);this._isAsync=this._hasDuration(t),this._clearAsync(),this._playInit(t),this._isAsync&&this._asyncEnd(n,!0),this._raf&&this._raf(function(){e._raf&&e._raf(e._playDomInspect.bind(e,t))})},t.prototype._playInit=function(t){this._twn=!1,this.isPlaying=!0,this.hasCompleted=!1,this._hasDur=this.getDuration(t)>uw;for(var e=0;e<this._cL;e++)this._c[e]._playInit(t);this._hasDur&&(this._progress(0),this._willChg(!0))},t.prototype._playDomInspect=function(t){this._beforeReadFn(),this._beforeWriteFn(),this._playProgress(t),this._isAsync&&this._raf&&this._raf(this._playToStep.bind(this,1))},t.prototype._playProgress=function(t){for(var e=0;e<this._cL;e++)this._c[e]._playProgress(t);this._before(),this._hasDur?this._setTrans(this.getDuration(t),!1):(this._progress(1),this._after(),this._didFinish(!0))},t.prototype._playToStep=function(t){for(var e=0;e<this._cL;e++)this._c[e]._playToStep(t);this._hasDur&&this._progress(t)},t.prototype._asyncEnd=function(t,e){function n(t){i._clearAsync(),i._playEnd(),i._didFinishAll(e,!0,!1)}function r(){i._tm=0,i._clearAsync(),i._playEnd(1),i._didFinishAll(e,!0,!1)}var i=this;i._unrgTrns=Mr(i._transEl(),n),i._tm=ob(r,t+pw)},t.prototype._playEnd=function(t){for(var e=0;e<this._cL;e++)this._c[e]._playEnd(t);this._hasDur&&(jv(t)&&(this._setTrans(0,!0),this._progress(t)),this._after(),this._willChg(!1))},t.prototype._hasDuration=function(t){if(this.getDuration(t)>uw)return!0;for(var e=0;e<this._cL;e++)if(this._c[e]._hasDuration(t))return!0;return!1},t.prototype._hasDomReads=function(){if(this._rdFn&&this._rdFn.length)return!0;for(var t=0;t<this._cL;t++)if(this._c[t]._hasDomReads())return!0;return!1},t.prototype.stop=function(t){void 0===t&&(t=1),this._clearAsync(),this._hasDur=!0,this._playEnd(t)},t.prototype._clearAsync=function(){this._unrgTrns&&this._unrgTrns(),this._tm&&clearTimeout(this._tm),this._tm=this._unrgTrns=void 0},t.prototype._progress=function(t){var e;if(this._fx&&this._eL){this._rv&&(t=t*-1+1);var n=[];for(var r in this._fx){var i=this._fx[r];if(i.from&&i.to){var o=i.from.num!==i.to.num;if(o&&(this._twn=!0),e=0===t?i.from.val:1===t?i.to.val:o?(i.to.num-i.from.num)*t+i.from.num+i.to.unit:null,null!==e)if(i.trans)n.push(r+"("+e+")");else for(var s=0;s<this._eL;s++)this._e[s].style[r]=e}}if(n.length){(!this._rv&&1!==t||this._rv&&0!==t)&&n.push("translateZ(0px)");for(var s=0;s<this._eL;s++)this._e[s].style[ab.transform]=n.join(" ")}}},t.prototype._setTrans=function(t,e){if(this._fx)for(var n=e?"linear":this.getEasing(),r=0;r<this._eL;r++)t>0?(this._e[r].style[ab.transition]="",this._e[r].style[ab.transitionDuration]=t+"ms",n&&(this._e[r].style[ab.transitionTimingFn]=n)):this._e[r].style[ab.transition]="none"},t.prototype._before=function(){if(!this._rv)for(var t=void 0,e=0;e<this._eL;e++){if(t=this._e[e],this._bfAdd)for(var n=0;n<this._bfAdd.length;n++)t.classList.add(this._bfAdd[n]);if(this._bfRm)for(var n=0;n<this._bfRm.length;n++)t.classList.remove(this._bfRm[n]);if(this._bfSty)for(var r in this._bfSty)t.style[r]=this._bfSty[r]}},t.prototype._beforeReadFn=function(){for(var t=0;t<this._cL;t++)this._c[t]._beforeReadFn();if(this._rdFn)for(var t=0;t<this._rdFn.length;t++)this._rdFn[t]()},t.prototype._beforeWriteFn=function(){for(var t=0;t<this._cL;t++)this._c[t]._beforeWriteFn();
  if(this._wrFn)for(var t=0;t<this._wrFn.length;t++)this._wrFn[t]()},t.prototype._after=function(){for(var t,e=0;e<this._eL;e++)if(t=this._e[e],t.style[ab.transitionDuration]=t.style[ab.transitionTimingFn]="",this._rv){if(this._bfAdd)for(var n=0;n<this._bfAdd.length;n++)t.classList.remove(this._bfAdd[n]);if(this._bfRm)for(var n=0;n<this._bfRm.length;n++)t.classList.add(this._bfRm[n]);if(this._bfSty)for(var r in this._bfSty)t.style[r]=""}else{if(this._afAdd)for(var n=0;n<this._afAdd.length;n++)t.classList.add(this._afAdd[n]);if(this._afRm)for(var n=0;n<this._afRm.length;n++)t.classList.remove(this._afRm[n]);if(this._afSty)for(var r in this._afSty)t.style[r]=this._afSty[r]}},t.prototype._willChg=function(t){var e;if(t){e=[];for(var n in this._fx)"webkitTransform"===this._fx[n].wc?e.push("transform","-webkit-transform"):e.push(this._fx[n].wc)}for(var r=0;r<this._eL;r++)this._e[r].style.willChange=t?e.join(","):""},t.prototype.progressStart=function(){for(var t=0;t<this._cL;t++)this._c[t].progressStart();this._before(),this._setTrans(0,!0),this._willChg(!0)},t.prototype.progressStep=function(t){var e=Date.now();if(e-15>this._upd){this._upd=e,t=Math.min(1,Math.max(0,t));for(var n=0;n<this._cL;n++)this._c[n].progressStep(t);this._rv&&(t=t*-1+1),this._progress(t)}},t.prototype.progressEnd=function(t,e){this._isAsync=e>.05&&e<.95;var n=64,r=t?1:0;this._progressEnd(t,r,n,this._isAsync),this._isAsync&&(this._asyncEnd(n,!0),this._raf&&this._raf(this._playToStep.bind(this,r)))},t.prototype._progressEnd=function(t,e,n,r){for(var i=0;i<this._cL;i++)this._c[i]._progressEnd(t,e,n,r);r?(this.isPlaying=!0,this.hasCompleted=!1,this._hasDur=!0,this._willChg(!0),this._setTrans(n,!1)):(this._progress(e),this._willChg(!1),this._after(),this._didFinish(t))},t.prototype.onFinish=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=!1),n&&(this._fFn=this._fOneFn=void 0),e?(this._fOneFn=this._fOneFn||[],this._fOneFn.push(t)):(this._fFn=this._fFn||[],this._fFn.push(t)),this},t.prototype._didFinishAll=function(t,e,n){for(var r=0;r<this._cL;r++)this._c[r]._didFinishAll(t,e,n);(e&&this._isAsync||n&&!this._isAsync)&&this._didFinish(t)},t.prototype._didFinish=function(t){if(this.isPlaying=!1,this.hasCompleted=t,this._fFn)for(var e=0;e<this._fFn.length;e++)this._fFn[e](this);if(this._fOneFn){for(var e=0;e<this._fOneFn.length;e++)this._fOneFn[e](this);this._fOneFn.length=0}},t.prototype.reverse=function(t){void 0===t&&(t=!0);for(var e=0;e<this._cL;e++)this._c[e].reverse(t);return this._rv=t,this},t.prototype.destroy=function(){for(var t=0;t<this._cL;t++)this._c[t].destroy();this._clearAsync(),this.parent=this._e=this._rdFn=this._wrFn=this._raf=null,this._c&&(this._c.length=this._cL=0),this._fFn&&(this._fFn.length=0),this._fOneFn&&(this._fOneFn.length=0)},t.prototype._transEl=function(){for(var t,e=0;e<this._cL;e++)if(t=this._c[e]._transEl())return t;return this._twn&&this._hasDur&&this._eL?this._e[0]:null},t}(),lw={translateX:1,translateY:1,translateZ:1,scale:1,scaleX:1,scaleY:1,scaleZ:1,rotate:1,rotateX:1,rotateY:1,rotateZ:1,skewX:1,skewY:1,perspective:1},cw=/(^-?\d*\.?\d*)(.*)/,uw=32,pw=400,hw=function(){function t(t){this._elementRef=t}return t.prototype.select=function(t){var e=this;Dr(3,function(){var n=t.btn.getDimensions(),r=e._elementRef.nativeElement;r.style.transform="translate3d("+n.left+"px,0,0) scaleX("+n.width+")",e._init||(e._init=!0,Dr(6,function(){r.classList.add("animate")}))})},t.decorators=[{type:Pl,args:[{selector:".tab-highlight"}]}],t.ctorParameters=[{type:_u}],t}(),fw=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)},dw=function(t){function e(e,n,r,i,o,s,a,l){t.call(this,i,o,a),this.viewCtrl=n,this._app=r,this._platform=s,this._linker=l,this._ids=-1,this._tabs=[],this._selectHistory=[],this.ionChange=new hh,this.mode=i.get("mode"),this.parent=e,this.id="t"+ ++_w,this._sbPadding=i.getBoolean("statusbarPadding"),this._subPages=i.getBoolean("tabsHideOnSubPages"),this.tabsHighlight=i.getBoolean("tabsHighlight"),this.parent?this.parent.registerChildNav(this):n&&n.getNav()?(this.parent=n.getNav(),this.parent.registerChildNav(this)):this._app&&this._app._setRootNav(this),n&&(n._setContent(this),n._setContentRef(o))}return fw(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("tabs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("tabs",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.parent.unregisterChildNav(this)},e.prototype.ngAfterViewInit=function(){var t=this;this._setConfig("tabsPlacement","bottom"),this._setConfig("tabsLayout","icon-top"),this._setConfig("tabsHighlight",this.tabsHighlight),this.tabsHighlight&&this._platform.onResize(function(){t._highlight.select(t.getSelected())}),this.initTabs()},e.prototype.initTabs=function(){var t=Mv(this.selectedIndex)?0:parseInt(this.selectedIndex,10),e=this._linker.initNav(this);e&&Mv(e.component)&&(t=this._linker.getSelectedTabIndex(this,e.name,t));var n=this._tabs.find(function(e,n){return n===t&&e.enabled&&e.show});if(n||(n=this._tabs.find(function(t){return t.enabled&&t.show})),n){var r=null;if(e){var i=this._linker.initNav(n);i&&i.component&&(n.root=i.component,n.rootParams=i.data,r=i.id)}this.select(n,{id:r})}this._tabs.forEach(function(t){t.updateHref(t.root,t.rootParams)})},e.prototype._setConfig=function(t,e){var n=this[t];Mv(n)&&(n=this._config.get(t,e)),this.setElementAttribute(t,n)},e.prototype.add=function(t){return this._tabs.push(t),this.id+"-"+ ++this._ids},e.prototype.select=function(t,e){var n=this;void 0===e&&(e={});var r="number"==typeof t?this.getByIndex(t):t;if(!Mv(r)){var i=this.getSelected();if(r===i)return this._touchActive(r);var o;i&&(o=i.getActive(),o&&o._willLeave()),e.animate=!1;var s=r.getActive();s&&s._willEnter(),r.load(e,function(t){if(r.ionSelect.emit(r),n.ionChange.emit(r),r.root&&(n._tabs.forEach(function(t){t.setSelected(t===r)}),n.tabsHighlight&&n._highlight.select(r),e.updateUrl!==!1&&n._linker.navChange(tb)),s&&s._didEnter(),o&&o._didLeave(),n._selectHistory[n._selectHistory.length-1]!==r.id&&n._selectHistory.push(r.id),t&&s){var i=s.getContent();i&&i instanceof gw&&i.resize()}})}},e.prototype.previousTab=function(t){var e=this;void 0===t&&(t=!0);for(var n=this._selectHistory.length-2;n>=0;n--){var r=this._tabs.find(function(t){return t.id===e._selectHistory[n]});if(r&&r.enabled&&r.show)return t&&this._selectHistory.splice(n+1),r}return null},e.prototype.getByIndex=function(t){return this._tabs[t]},e.prototype.getSelected=function(){for(var t=0;t<this._tabs.length;t++)if(this._tabs[t].isSelected)return this._tabs[t];return null},e.prototype.getActiveChildNav=function(){return this.getSelected()},e.prototype.getIndex=function(t){return this._tabs.indexOf(t)},e.prototype.length=function(){return this._tabs.length},e.prototype._touchActive=function(t){var e=t.getActive();e&&(e._cmp&&e._cmp.instance.ionSelected?e._cmp.instance.ionSelected():t.length()>1?t.popToRoot(null,null):t.root!==e.component&&t.setRoot(t.root))},e.prototype.setTabbarPosition=function(t,e){if(this._top!==t||this._bottom!==e){var n=this._tabbar.nativeElement;n.style.top=t>-1?t+"px":"",n.style.bottom=e>-1?e+"px":"",n.classList.add("show-tabbar"),this._top=t,this._bottom=e}},e.decorators=[{type:Sl,args:[{selector:"ion-tabs",template:'<div class="tabbar" role="tablist" #tabbar><a *ngFor="let t of _tabs" [tab]="t" class="tab-button" [class.tab-disabled]="!t.enabled" [class.tab-hidden]="!t.show" role="tab" href="#" (ionSelect)="select($event)"><ion-icon *ngIf="t.tabIcon" [name]="t.tabIcon" [isActive]="t.isSelected" class="tab-button-icon"></ion-icon><span *ngIf="t.tabTitle" class="tab-button-text">{{t.tabTitle}}</span><ion-badge *ngIf="t.tabBadge" class="tab-badge" [color]="t.tabBadgeStyle">{{t.tabBadge}}</ion-badge><div class="button-effect"></div></a><div class="tab-highlight"></div></div><ng-content></ng-content><div #portal tab-portal></div>',encapsulation:Dl.None}]}],e.ctorParameters=[{type:Gb,decorators:[{type:hl}]},{type:qv,decorators:[{type:hl}]},{type:gb},{type:Hv},{type:_u},{type:pb},{type:cu},{type:Pb}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],selectedIndex:[{type:Al}],tabsLayout:[{type:Al}],tabsPlacement:[{type:Al}],tabsHighlight:[{type:Al}],ionChange:[{type:kl}],_highlight:[{type:xl,args:[hw]}],_tabbar:[{type:xl,args:["tabbar"]}],portal:[{type:xl,args:["portal",{read:vu}]}]},e}(zb),_w=-1,yw=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)},gw=function(t){function e(e,n,r,i,o,s,a,l){t.call(this,e,n,r),this._app=i,this._keyboard=o,this._zone=s,this._tabs=l,this._inputPolling=!1,this._mode=e.get("mode"),this._setMode("content",this._mode),this._sbPadding=e.getBoolean("statusbarPadding",!1),a&&(a._setContent(this),a._setContentRef(n))}return yw(e,t),e.prototype.ngOnInit=function(){var t=this;this._fixedEle=this._elementRef.nativeElement.children[0],this._scrollEle=this._elementRef.nativeElement.children[1],this._zone.runOutsideAngular(function(){t._scroll=new Sb(t._scrollEle),t._scLsn=t.addScrollListener(t._app.setScrolling)})},e.prototype.ngOnDestroy=function(){this._scLsn&&this._scLsn(),this._scroll&&this._scroll.destroy(),this._scrollEle=this._footerEle=this._scLsn=this._scroll=null},e.prototype.addScrollListener=function(t){return this._addListener("scroll",t)},e.prototype.addTouchStartListener=function(t){return this._addListener("touchstart",t)},e.prototype.addTouchMoveListener=function(t){return this._addListener("touchmove",t)},e.prototype.addTouchEndListener=function(t){return this._addListener("touchend",t)},e.prototype.addMouseDownListener=function(t){return this._addListener("mousedown",t)},e.prototype.addMouseUpListener=function(t){return this._addListener("mouseup",t)},e.prototype.addMouseMoveListener=function(t){return this._addListener("mousemove",t)},e.prototype._addListener=function(t,e){var n=this;if(this._scrollEle)return this._scrollEle.removeEventListener(t,e),this._scrollEle.addEventListener(t,e),function(){n._scrollEle&&n._scrollEle.removeEventListener(t,e)}},e.prototype.getScrollElement=function(){return this._scrollEle},e.prototype.onScrollEnd=function(t){function e(){var o=i.scrollTop;return null!==n&&(Math.round(n)===Math.round(o)?r++:r=0,r>9)?t():(n=o,void nb(function(){nb(e)}))}var n=null,r=0,i=this._scrollEle;ob(e,100)},e.prototype.onScrollElementTransitionEnd=function(t){Mr(this._scrollEle,t)},e.prototype.scrollTo=function(t,e,n){return void 0===n&&(n=300),this._scroll.scrollTo(t,e,n)},e.prototype.scrollToTop=function(t){return void 0===t&&(t=300),this._scroll.scrollToTop(t)},e.prototype.getScrollTop=function(){return this._scroll.getTop()},e.prototype.setScrollTop=function(t){this._scroll.setTop(t)},e.prototype.scrollToBottom=function(t){return void 0===t&&(t=300),this._scroll.scrollToBottom(t)},e.prototype.jsScroll=function(t){return this._scroll.jsScroll(t)},Object.defineProperty(e.prototype,"fullscreen",{get:function(){return!!this._fullscreen},set:function(t){this._fullscreen=Fv(t)},enumerable:!0,configurable:!0}),e.prototype.setScrollElementStyle=function(t,e){this._scrollEle.style[t]=e},e.prototype.getContentDimensions=function(){var t=this._scrollEle,e=t.parentElement;return{contentHeight:e.offsetHeight,contentTop:e.offsetTop,contentBottom:e.offsetTop+e.offsetHeight,contentWidth:e.offsetWidth,contentLeft:e.offsetLeft,contentRight:e.offsetLeft+e.offsetWidth,scrollHeight:t.scrollHeight,scrollTop:t.scrollTop,scrollBottom:t.scrollTop+t.scrollHeight,scrollWidth:t.scrollWidth,scrollLeft:t.scrollLeft,scrollRight:t.scrollLeft+t.scrollWidth}},e.prototype.addScrollPadding=function(t){t>this._scrollPadding&&(this._scrollPadding=t,this._scrollEle.style.paddingBottom=t+"px")},e.prototype.clearScrollPaddingFocusOut=function(){var t=this;this._inputPolling||(this._inputPolling=!0,this._keyboard.onClose(function(){t._scrollPadding=0,t._scrollEle.style.paddingBottom=t._paddingBottom>0?t._paddingBottom+"px":"",t._inputPolling=!1,t.addScrollPadding(0)},200,1/0))},e.prototype.resize=function(){var t=this;nb(function(){t.readDimensions(),t.writeDimensions()})},e.prototype.readDimensions=function(){this._paddingTop=0,this._paddingRight=0,this._paddingBottom=0,this._paddingLeft=0,this._headerHeight=0,this._footerHeight=0,this._tabsPlacement=null;var t=this._elementRef.nativeElement;if(t){for(var e,n=t.parentElement,r=0;r<n.children.length;r++)t=n.children[r],"ION-CONTENT"===t.tagName?this._fullscreen&&(e=getComputedStyle(t),this._paddingTop=ri(e.paddingTop),this._paddingBottom=ri(e.paddingBottom),this._paddingRight=ri(e.paddingRight),this._paddingLeft=ri(e.paddingLeft)):"ION-HEADER"===t.tagName?this._headerHeight=t.clientHeight:"ION-FOOTER"===t.tagName&&(this._footerHeight=t.clientHeight,this._footerEle=t);t=n;for(var i;t&&"ION-MODAL"!==t.tagName&&!t.classList.contains("tab-subpage");)"ION-TABS"===t.tagName&&(i=t.firstElementChild,this._tabbarHeight=i.clientHeight,null===this._tabsPlacement&&(this._tabsPlacement=t.getAttribute("tabsplacement"))),t=t.parentElement}},e.prototype.writeDimensions=function(){var t=this._scrollEle;if(t){var e=this._fixedEle;if(e){var n=this._headerHeight,r=this._footerHeight;"top"===this._tabsPlacement?n+=this._tabbarHeight:"bottom"===this._tabsPlacement&&(r+=this._tabbarHeight,r>0&&this._footerEle&&(this._footerEle.style.bottom=ii(r-this._footerHeight)));var i="marginTop",o="marginBottom",s=n,a=r;this._fullscreen&&(n+=this._paddingTop,r+=this._paddingBottom,i="paddingTop",o="paddingBottom"),n!==this.contentTop&&(t.style[i]=ii(n),e.style.marginTop=ii(s),this.contentTop=n),r!==this.contentBottom&&(t.style[o]=ii(r),e.style.marginBottom=ii(a),this.contentBottom=r),null!==this._tabsPlacement&&this._tabs&&("top"===this._tabsPlacement?this._tabs.setTabbarPosition(this._headerHeight,-1):this._tabs.setTabbarPosition(-1,0))}}},e.decorators=[{type:Sl,args:[{selector:"ion-content",template:'<div class="fixed-content"><ng-content select="[ion-fixed],ion-fab"></ng-content></div><div class="scroll-content"><ng-content></ng-content></div><ng-content select="ion-refresher"></ng-content>',host:{"[class.statusbar-padding]":"_sbPadding"},changeDetection:al.OnPush,encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:gb},{type:Fb},{type:fh},{type:qv,decorators:[{type:hl}]},{type:dw,decorators:[{type:hl}]}],e.propDecorators={fullscreen:[{type:Al}]},e}(zb),mw=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)},vw=function(t){function e(e,n,r,i){t.call(this,null,r,i),this.enteringView=e,this.leavingView=n,this.hasChildTrns=!1}return mw(e,t),e.prototype.init=function(){},e.prototype.registerStart=function(t){this._trnsStart=t},e.prototype.start=function(){this._trnsStart&&this._trnsStart(),this._trnsStart=null},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.enteringView=this.leavingView=this._trnsStart=null},e}(aw),bw=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)},ww=function(t){function e(){t.apply(this,arguments)}return bw(e,t),e.prototype.init=function(){this.enteringView&&(this.enteringPage=new aw(this.enteringView.pageRef()),this.add(this.enteringPage.beforeAddClass("show-page")),this.beforeAddRead(this.readDimensions.bind(this)),this.beforeAddWrite(this.writeDimensions.bind(this)))},e.prototype.readDimensions=function(){var t=this.enteringView.getContent();t&&t instanceof gw&&t.readDimensions()},e.prototype.writeDimensions=function(){var t=this.enteringView.getContent();t&&t instanceof gw&&t.writeDimensions()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.enteringPage=null},e}(vw),Cw=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)},Ew=500,xw="cubic-bezier(0.36,0.66,0.04,1)",Ow="opacity",Tw="transform",Pw="translateX",Sw="99.5%",Iw="-33%",Aw="0%",kw=.8,Rw="show-back-button",jw=function(t){function e(){t.apply(this,arguments)}return Cw(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView,n=this.leavingView,r=this.opts;this.duration(Nv(r.duration)?r.duration:Ew),this.easing(Nv(r.easing)?r.easing:xw);var i="back"===r.direction,o=e&&e.hasNavbar(),s=n&&n.hasNavbar();if(e){var a=e.pageRef().nativeElement,l=new aw(e.contentRef());if(l.element(a.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(l),i?l.fromTo(Pw,Iw,Aw,!0).fromTo(Ow,kw,1,!0):l.beforeClearStyles([Ow]).fromTo(Pw,Sw,Aw,!0),o){var c=a.querySelector("ion-navbar"),u=new aw(c);this.add(u);var p=new aw(c.querySelector("ion-title")),h=new aw(c.querySelectorAll("ion-buttons,[menuToggle]")),f=new aw(c.querySelector(".toolbar-background")),d=new aw(c.querySelector(".back-button"));if(u.add(p).add(h).add(f).add(d),p.fromTo(Ow,.01,1,!0),h.fromTo(Ow,.01,1,!0),i)p.fromTo(Pw,Iw,Aw,!0),e.enableBack()&&d.beforeAddClass(Rw).fromTo(Ow,.01,1,!0);else if(p.fromTo(Pw,Sw,Aw,!0),f.beforeClearStyles([Ow]).fromTo(Pw,Sw,Aw,!0),e.enableBack()){d.beforeAddClass(Rw).fromTo(Ow,.01,1,!0);var _=new aw(c.querySelector(".back-button-text"));_.fromTo(Pw,"100px","0px"),u.add(_)}else d.beforeRemoveClass(Rw)}}if(n&&n.pageRef()){var y=n.pageRef().nativeElement,g=new aw(n.contentRef());if(g.element(y.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(g),i?g.beforeClearStyles([Ow]).fromTo(Pw,Aw,"100%"):g.fromTo(Pw,Aw,Iw).fromTo(Ow,1,kw).afterClearStyles([Tw,Ow]),s){var m=y.querySelector("ion-navbar"),v=new aw(m),b=new aw(m.querySelector("ion-title")),w=new aw(m.querySelectorAll("ion-buttons,[menuToggle]")),C=new aw(m.querySelector(".toolbar-background")),E=new aw(m.querySelector(".back-button"));if(v.add(b).add(w).add(E).add(C),this.add(v),E.fromTo(Ow,.99,0),b.fromTo(Ow,.99,0),w.fromTo(Ow,.99,0),i){b.fromTo(Pw,Aw,"100%"),C.beforeClearStyles([Ow]).fromTo(Pw,Aw,"100%");var x=new aw(m.querySelector(".back-button-text"));x.fromTo(Pw,Aw,"300px"),v.add(x)}else b.fromTo(Pw,Aw,Iw).afterClearStyles([Tw]),E.afterClearStyles([Ow]),b.afterClearStyles([Ow]),w.afterClearStyles([Ow])}}},e}(ww),Dw=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)},Nw="translateY",Mw="40px",Lw="0px",Vw="show-back-button",Fw=function(t){function e(){t.apply(this,arguments)}return Dw(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView,n=this.leavingView,r=this.opts,i="back"===r.direction;if(e&&(i?this.duration(Nv(r.duration)?r.duration:200).easing("cubic-bezier(0.47,0,0.745,0.715)"):(this.duration(Nv(r.duration)?r.duration:280).easing("cubic-bezier(0.36,0.66,0.04,1)"),this.enteringPage.fromTo(Nw,Mw,Lw,!0).fromTo("opacity",.01,1,!0)),e.hasNavbar())){var o=e.pageRef().nativeElement,s=o.querySelector("ion-navbar"),a=new aw(s);this.add(a);var l=new aw(s.querySelector(".back-button"));this.add(l),e.enableBack()?l.beforeAddClass(Vw):l.beforeRemoveClass(Vw)}if(n&&i){this.duration(r.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var c=new aw(n.pageRef());this.add(c.fromTo(Nw,Lw,Mw).fromTo("opacity",.99,0))}},e}(ww),Bw=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)},Hw="show-back-button",zw=.95,Uw=function(t){function e(){t.apply(this,arguments)}return Bw(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView,n=this.leavingView,r=this.opts,i="back"===r.direction;if(e&&(i?(this.duration(Nv(r.duration)?r.duration:120).easing("cubic-bezier(0.47,0,0.745,0.715)"),this.enteringPage.beforeClearStyles(["scale"])):(this.duration(Nv(r.duration)?r.duration:280).easing("cubic-bezier(0,0 0.05,1)"),this.enteringPage.fromTo("scale",zw,1,!0).fromTo("opacity",.01,1,!0)),e.hasNavbar())){var o=e.pageRef().nativeElement,s=o.querySelector("ion-navbar"),a=new aw(s);this.add(a);var l=new aw(s.querySelector(".back-button"));this.add(l),e.enableBack()?l.beforeAddClass(Hw):l.beforeRemoveClass(Hw)}if(n&&i){this.duration(r.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var c=new aw(n.pageRef());this.add(c.fromTo("scale",1,zw).fromTo("opacity",.99,0))}},e}(ww),Gw=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)},Ww=function(t){function e(){t.apply(this,arguments)}return Gw(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.4),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(vw),qw=function(t){function e(){t.apply(this,arguments)}return Gw(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.4,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(e).add(n)},e}(vw),Yw=function(t){function e(){t.apply(this,arguments)}return Gw(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(vw),Xw=function(t){function e(){t.apply(this,arguments)}return Gw(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(vw),$w=function(t){function e(){t.apply(this,arguments)}return Gw(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.16),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(vw),Kw=function(t){function e(){t.apply(this,arguments)}return Gw(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.1,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(vw),Zw=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)},Qw=function(t){function e(){t.apply(this,arguments)}return Zw(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),Jw=function(t){function e(){t.apply(this,arguments)}return Zw(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),tC=function(t){function e(){t.apply(this,arguments)}return Zw(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),eC=function(t){function e(){t.apply(this,arguments)}return Zw(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),nC=function(t){function e(){t.apply(this,arguments)}return Zw(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.5),this.easing("cubic-bezier(0,0 0.05,1)").duration(200).add(e).add(n)},e}(vw),rC=function(t){function e(){t.apply(this,arguments)}return Zw(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.5,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(vw),iC=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)},oC=function(t){function e(){t.apply(this,arguments)}return iC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),sC=function(t){function e(){t.apply(this,arguments)}return iC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),aC=function(t){function e(){t.apply(this,arguments)}return iC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),lC=function(t){function e(){t.apply(this,arguments)}return iC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(vw),cC=function(t){function e(){t.apply(this,arguments)}return iC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.16),this.easing("cubic-bezier(0,0 0.05,1)").duration(200).add(e).add(n)},e}(vw),uC=function(t){function e(){t.apply(this,arguments)}return iC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.16,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(vw),pC=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)},hC=function(t){function e(){t.apply(this,arguments)}return pC(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=e.querySelector("ion-backdrop"),r=new aw(n),i=new aw(e.querySelector(".modal-wrapper"));r.fromTo("opacity",.01,.4),i.fromTo("translateY","100%","0%"),this.element(this.enteringView.pageRef()).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(400).add(r).add(i)},e}(ww),fC=function(t){function e(){t.apply(this,arguments)}return pC(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new aw(e.querySelector("ion-backdrop")),r=e.querySelector(".modal-wrapper"),i=r.getBoundingClientRect(),o=new aw(r),s=Xr();o.fromTo("translateY","0px",s.height-i.top+"px"),n.fromTo("opacity",.4,0),this.element(this.leavingView.pageRef()).easing("ease-out").duration(250).add(n).add(o)},e}(ww),dC=function(t){function e(){t.apply(this,arguments)}return pC(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=new aw(e.querySelector("ion-backdrop")),r=new aw(e.querySelector(".modal-wrapper"));n.fromTo("opacity",.01,.4),r.fromTo("translateY","40px","0px"),r.fromTo("opacity",.01,1);var i=280,o="cubic-bezier(0.36,0.66,0.04,1)";this.element(this.enteringView.pageRef()).easing(o).duration(i).add(n).add(r)},e}(ww),_C=function(t){function e(){t.apply(this,arguments)}return pC(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new aw(e.querySelector("ion-backdrop")),r=new aw(e.querySelector(".modal-wrapper"));n.fromTo("opacity",.4,0),r.fromTo("translateY","0px","40px"),r.fromTo("opacity",.99,0),this.element(this.leavingView.pageRef()).duration(200).easing("cubic-bezier(0.47,0,0.745,0.715)").add(r).add(n)},e}(ww),yC=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 e(){t.apply(this,arguments)}return yC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".picker-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(vw),mC=function(t){function e(){t.apply(this,arguments)}return yC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".picker-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(vw),vC=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)},bC=function(t){function e(){t.apply(this,arguments)}return vC(e,t),e.prototype.mdPositionView=function(t,e){var n="top",r="left",i=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),s=o.getBoundingClientRect(),a=s.width,l=s.height,c=window.innerWidth,u=window.innerHeight,p=e&&e.target&&e.target.getBoundingClientRect(),h=p&&"top"in p?p.top:u/2-l/2,f=p&&"left"in p?p.left:c/2-a/2,d=p&&p.height||0,_={top:h,left:f};_.left<TC?_.left=TC:a+TC+_.left>c&&(_.left=c-a-TC,r="right"),h+d+l>u&&h-l>0?(_.top=h-l,t.className=t.className+" popover-bottom",n="bottom"):h+d+l>u&&(o.style.bottom=TC+"px"),o.style.top=_.top+"px",o.style.left=_.left+"px",o.style[ab.transformOrigin]=n+" "+r,i.style.opacity="1"},e.prototype.iosPositionView=function(t,e){var n="top",r="left",i=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),s=o.getBoundingClientRect(),a=s.width,l=s.height,c=window.innerWidth,u=window.innerHeight,p=e&&e.target&&e.target.getBoundingClientRect(),h=p&&"top"in p?p.top:u/2-l/2,f=p&&"left"in p?p.left:c/2,d=p&&p.width||0,_=p&&p.height||0,y=t.querySelector(".popover-arrow"),g=y.getBoundingClientRect(),m=g.width,v=g.height;
  p||(y.style.display="none");var b={top:h+_,left:f+d/2-m/2},w={top:h+_+(v-1),left:f+d/2-a/2};w.left<OC?w.left=OC:a+OC+w.left>c&&(w.left=c-a-OC,r="right"),h+_+l>u&&h-l>0?(b.top=h-(v+1),w.top=h-l-(v-1),t.className=t.className+" popover-bottom",n="bottom"):h+_+l>u&&(o.style.bottom=OC+"%"),y.style.top=b.top+"px",y.style.left=b.left+"px",o.style.top=w.top+"px",o.style.left=w.left+"px",o.style[ab.transformOrigin]=n+" "+r,i.style.opacity="1"},e}(ww),wC=function(t){function e(){t.apply(this,arguments)}return vC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".popover-wrapper"));n.fromTo("opacity",.01,1),e.fromTo("opacity",.01,.08),this.easing("ease").duration(100).add(e).add(n)},e.prototype.play=function(){var e=this;nb(function(){e.iosPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(bC),CC=function(t){function e(){t.apply(this,arguments)}return vC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector("ion-backdrop")),n=new aw(t.querySelector(".popover-wrapper"));n.fromTo("opacity",.99,0),e.fromTo("opacity",.08,0),this.easing("ease").duration(500).add(e).add(n)},e}(bC),EC=function(t){function e(){t.apply(this,arguments)}return vC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new aw(t.querySelector(".popover-content")),n=new aw(t.querySelector(".popover-viewport"));e.fromTo("scale",.001,1),n.fromTo("opacity",.01,1),this.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).add(e).add(n)},e.prototype.play=function(){var e=this;nb(function(){e.mdPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(bC),xC=function(t){function e(){t.apply(this,arguments)}return vC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new aw(t.querySelector(".popover-wrapper"));e.fromTo("opacity",.99,0),this.easing("ease").duration(500).fromTo("opacity",.01,1).add(e)},e}(bC),OC=2,TC=12,PC=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.apply(this,arguments)}return PC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new aw(e);if(this.enteringView.data&&this.enteringView.data.position===DC)n.fromTo("translateY","-100%","10px");else if(this.enteringView.data&&this.enteringView.data.position===NC){var r=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=r+"px",n.fromTo("opacity",.01,1)}else n.fromTo("translateY","100%","-10px");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n)},e}(vw),IC=function(t){function e(){t.apply(this,arguments)}return PC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new aw(e);this.leavingView.data&&this.leavingView.data.position===DC?n.fromTo("translateY","10px","-100%"):this.leavingView.data&&this.leavingView.data.position===NC?n.fromTo("opacity",.99,0):n.fromTo("translateY","-10px","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(n)},e}(vw),AC=function(t){function e(){t.apply(this,arguments)}return PC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new aw(e);if(this.enteringView.data&&this.enteringView.data.position===DC)n.fromTo("translateY","-100%","0%");else if(this.enteringView.data&&this.enteringView.data.position===NC){var r=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=r+"px",n.fromTo("opacity",.01,1)}else n.fromTo("translateY","100%","0%");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n)},e}(vw),kC=function(t){function e(){t.apply(this,arguments)}return PC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new aw(e);this.leavingView.data&&this.leavingView.data.position===DC?n.fromTo("translateY","0%","-100%"):this.leavingView.data&&this.leavingView.data.position===NC?n.fromTo("opacity",.99,0):n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(n)},e}(vw),RC=function(t){function e(){t.apply(this,arguments)}return PC(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new aw(e);if(this.enteringView.data&&this.enteringView.data.position===DC)n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1);else if(this.enteringView.data&&this.enteringView.data.position===NC){var r=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=r+"px",n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1)}else n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1);this.easing("cubic-bezier(0,0 0.05,1)").duration(200).add(n)},e}(vw),jC=function(t){function e(){t.apply(this,arguments)}return PC(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new aw(e);this.leavingView.data&&this.leavingView.data.position===DC?(n.fromTo("opacity",.99,0),n.fromTo("scale",1,1.3)):this.leavingView.data&&this.leavingView.data.position===NC?(n.fromTo("opacity",.99,0),n.fromTo("scale",1,1.3)):(n.fromTo("opacity",.99,0),n.fromTo("scale",1,1.3));var r="ease-out",i=150;this.easing(r).duration(i).add(n)},e}(vw),DC="top",NC="middle",MC=function(){function t(t){this._config=t,this._ids=0,this._trns={}}return t.prototype.getRootTrnsId=function(t){for(var e=t.parent;e;){if(Nv(e._trnsId))return e._trnsId;e=e.parent}return null},t.prototype.nextId=function(){return this._ids++},t.prototype.get=function(t,e,n,r){var i=si(this._config,r.animation,e,n,r);return i.trnsId=t,this._trns[t]?this._trns[t].add(i):this._trns[t]=i,i},t.prototype.destroy=function(t){this._trns[t]&&(this._trns[t].destroy(),delete this._trns[t])},t.decorators=[{type:fl}],t.ctorParameters=[{type:Hv}],t}(),LC=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)},VC=function(t){function e(e,n,r,i,o,s,a,l,c,u,p){t.call(this,null,e,n,r,i,o,s,a,l,c,u),this._isPortal=!0,this._init=!0,this.setViewport(p),e.viewDidLeave.subscribe(this.dismissPageChangeViews.bind(this))}return LC(e,t),e.decorators=[{type:Pl,args:[{selector:"[overlay-portal]"}]}],e.ctorParameters=[{type:gb,decorators:[{type:pl,args:[C(function(){return gb})]}]},{type:Hv},{type:Fb},{type:_u},{type:fh},{type:cu},{type:zu},{type:Db},{type:MC},{type:Pb,decorators:[{type:hl}]},{type:vu}],e}(nw),FC=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)},BC=new gl("USERROOT"),HC=function(t){function e(e,n,r,i,o,s,a){t.call(this,o,r,i),this._userCmp=e,this._cfr=n,this._platform=s,a._appRoot=this}return FC(e,t),e.prototype.ngOnInit=function(){var t=this,e=this._cfr.resolveComponentFactory(this._userCmp),n=this._viewport.createComponent(e);this._renderer.setElementClass(n.location.nativeElement,"app-root",!0),n.changeDetectorRef.detectChanges(),this.setElementClass(this._config.get("mode"),!0);var r=this._platform.versions();this._platform.platforms().forEach(function(e){var n="platform-"+e;t.setElementClass(n,!0);var i=r[e];i&&(n+=i.major,t.setElementClass(n,!0),t.setElementClass(n+"_"+i.minor,!0))}),this._config.getBoolean("hoverCSS",!0)&&this.setElementClass("enable-hover",!0),this._platform.prepareReady()},e.prototype._getPortal=function(t){return t===lb.LOADING?this._loadingPortal:t===lb.TOAST?this._toastPortal:t===lb.MODAL?this._modalPortal:this._overlayPortal},e.prototype._disableScroll=function(t){this.setElementClass("disable-scroll",t)},e.decorators=[{type:Sl,args:[{selector:"ion-app",template:'<div #viewport app-viewport></div><div #modalPortal overlay-portal></div><div #overlayPortal overlay-portal></div><div #loadingPortal class="loading-portal" overlay-portal></div><div #toastPortal class="toast-portal" overlay-portal></div><div class="click-block"></div>'}]}],e.ctorParameters=[{type:void 0,decorators:[{type:pl,args:[BC]}]},{type:zu},{type:_u},{type:cu},{type:Hv},{type:pb},{type:gb}],e.propDecorators={_viewport:[{type:xl,args:["viewport",{read:vu}]}],_modalPortal:[{type:xl,args:["modalPortal",{read:VC}]}],_overlayPortal:[{type:xl,args:["overlayPortal",{read:VC}]}],_loadingPortal:[{type:xl,args:["loadingPortal",{read:VC}]}],_toastPortal:[{type:xl,args:["toastPortal",{read:VC}]}]},e}(zb);!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.MODAL=1]="MODAL",t[t.LOADING=2]="LOADING",t[t.TOAST=3]="TOAST"}(lb||(lb={}));var zC=function(){function t(t,e,n,r,i){this._viewCtrl=t,this._config=e,this._elementRef=n,this.d=r.data,i.setElementClass(n.nativeElement,"loading-"+e.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&i.setElementClass(n.nativeElement,t,!0)}),this.id=++UC}return t.prototype.ngOnInit=function(){Dv(this.d.spinner)&&(this.d.spinner=this._config.get("loadingSpinner",this._config.get("spinner","ios"))),this.showSpinner=jv(this.d.spinner)&&"hide"!==this.d.spinner},t.prototype.ionViewDidEnter=function(){var t=this,e=document.activeElement;document.activeElement&&e.blur(),this.d&&this.d.duration&&(this.durationTimeout=setTimeout(function(){t.dismiss("backdrop")},this.d.duration))},t.prototype.dismiss=function(t){return this.durationTimeout&&clearTimeout(this.durationTimeout),this._viewCtrl.dismiss(null,t)},t.decorators=[{type:Sl,args:[{selector:"ion-loading",template:'<ion-backdrop [class.hide-backdrop]="!d.showBackdrop"></ion-backdrop><div class="loading-wrapper"><div *ngIf="showSpinner" class="loading-spinner"><ion-spinner [name]="d.spinner"></ion-spinner></div><div *ngIf="d.content" [innerHTML]="d.content" class="loading-content"></div></div>',host:{role:"dialog"},encapsulation:Dl.None}]}],t.ctorParameters=[{type:qv},{type:Hv},{type:_u},{type:Wv},{type:cu}],t}(),UC=-1,GC=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)},WC=function(t){function e(e,n){void 0===n&&(n={}),n.showBackdrop=!Nv(n.showBackdrop)||!!n.showBackdrop,n.dismissOnPageChange=!!Nv(n.dismissOnPageChange)&&!!n.dismissOnPageChange,t.call(this,zC,n,null),this._app=e,this.isOverlay=!0}return GC(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"loadingLeave":"loadingEnter";return this._nav&&this._nav.config.get(e)},e.prototype.setContent=function(t){this.data.content=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,lb.LOADING)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(qv),qC=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new WC(this._app,t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb}],t}(),YC=function(){function t(){this._menus=[]}return t.prototype.open=function(t){var e=this.get(t);if(e){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.open()}return Promise.resolve(!1)},t.prototype.close=function(t){var e;return e=t?this.get(t):this.getOpen(),e?e.close():Promise.resolve(!1)},t.prototype.toggle=function(t){var e=this.get(t);if(e){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.toggle()}return Promise.resolve(!1)},t.prototype.enable=function(t,e){var n=this.get(e);if(n)return n.enable(t)},t.prototype.swipeEnable=function(t,e){var n=this.get(e);if(n)return n.swipeEnable(t)},t.prototype.isOpen=function(t){var e=this.get(t);return e&&e.isOpen||!1},t.prototype.isEnabled=function(t){var e=this.get(t);return e&&e.enabled||!1},t.prototype.get=function(t){var e;return"left"===t||"right"===t?(e=this._menus.find(function(e){return e.side===t&&e.enabled}),e?e:this._menus.find(function(e){return e.side===t})||null):t?this._menus.find(function(e){return e.id===t})||null:(e=this._menus.find(function(t){return t.enabled}),e?e:this._menus.length?this._menus[0]:null)},t.prototype.getOpen=function(){return this._menus.find(function(t){return t.isOpen})},t.prototype.getMenus=function(){return this._menus},t.prototype.register=function(t){this._menus.push(t)},t.prototype.unregister=function(t){var e=this._menus.indexOf(t);e>-1&&this._menus.splice(e,1)},t.registerType=function(t,e){XC[t]=e},t.create=function(t,e,n){return new XC[t](e,n)},t}(),XC={},$C=function(){function t(t,e,n,r){this._cfr=t,this._renderer=e,this._navParams=n,this._viewCtrl=r,this._bdDismiss=n.data.opts.enableBackdropDismiss}return t.prototype.ionViewWillLoad=function(){this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var e=this._cfr.resolveComponentFactory(t),n=this._viewport.createComponent(e,this._viewport.length,this._viewport.parentInjector,[]);this._viewCtrl._setInstance(n.instance),this._setCssClass(n,"ion-page"),this._setCssClass(n,"show-page"),this._enabled=!0}},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this._bdDismiss)return this._viewCtrl.dismiss(null,"backdrop")},t.prototype._keyUp=function(t){this._enabled&&this._viewCtrl.isLast()&&t.keyCode===Hm.ESCAPE&&this._bdClick()},t.decorators=[{type:Sl,args:[{selector:"ion-modal",template:'<ion-backdrop disableScroll="false" (click)="_bdClick()"></ion-backdrop><div class="modal-wrapper"><div #viewport nav-viewport></div></div>'}]}],t.ctorParameters=[{type:zu},{type:cu},{type:Wv},{type:qv}],t.propDecorators={_viewport:[{type:xl,args:["viewport",{read:vu}]}],_keyUp:[{type:jl,args:["body:keyup",["$event"]]}]},t}(),KC=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)},ZC=function(t){function e(e,n,r,i){void 0===r&&(r={}),void 0===i&&(i={}),r.component=n,i.showBackdrop=!Nv(i.showBackdrop)||!!i.showBackdrop,i.enableBackdropDismiss=!Nv(i.enableBackdropDismiss)||!!i.enableBackdropDismiss,r.opts=i,t.call(this,$C,r,null),this._app=e,this.isOverlay=!0}return KC(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"modalLeave":"modalEnter";return this._nav&&this._nav.config.get(e)},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,lb.MODAL)},e}(qv),QC=function(){function t(t){this._app=t}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new ZC(this._app,t,e,n)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb}],t}(),JC=function(){function t(t,e,n,r){this.elementRef=e,this._sanitizer=n,this._haptic=r,this.y=0,this.pos=[],this.startY=null,this.receivingEvents=!1,this.events=new Yb,this.ionChange=new hh,this.rotateFactor=t.getNumber("pickerRotateFactor",0)}return t.prototype.ngAfterViewInit=function(){var t=this.colEle.nativeElement;this.colHeight=t.clientHeight,this.optHeight=t.firstElementChild?t.firstElementChild.clientHeight:0,this.setSelected(this.col.selectedIndex,0),this.events.pointerEvents({elementRef:this.elementRef,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this)})},t.prototype.ngOnDestroy=function(){this.events.unlistenAll()},t.prototype.pointerStart=function(t){ib(this.rafId),this.startY=Fr(t).y,this.receivingEvents=!0,this.velocity=0,this.pos.length=0,this.pos.push(this.startY,Date.now());for(var e=this.col.options.length-1,n=0,r=0;r<this.col.options.length;r++)this.col.options[r].disabled||(e=Math.min(e,r),n=Math.max(n,r));return this.minY=e*this.optHeight*-1,this.maxY=n*this.optHeight*-1,this._haptic.gestureSelectionStart(),!0},t.prototype.pointerMove=function(t){if(t.preventDefault(),t.stopPropagation(),null!==this.startY){var e=Fr(t).y;this.pos.push(e,Date.now());var n=this.y+(e-this.startY);n>this.minY?(n=Math.pow(n,.8),this.bounceFrom=n):n<this.maxY?(n+=Math.pow(this.maxY-n,.9),this.bounceFrom=n):this.bounceFrom=0,this.update(n,0,!1,!1);var r=Math.max(Math.abs(Math.round(n/this.optHeight)),0);r!==this.lastTempIndex&&this._haptic.gestureSelectionChanged(),this.lastTempIndex=r}},t.prototype.pointerEnd=function(t){if(this.receivingEvents){if(this.receivingEvents=!1,this.velocity=0,this.bounceFrom>0)this.update(this.minY,100,!0,!0);else if(this.bounceFrom<0)this.update(this.maxY,100,!0,!0);else if(null!==this.startY){var e=Fr(t).y;this.pos.push(e,Date.now());for(var n=this.pos.length-1,r=n,i=Date.now()-100,o=n;o>0&&this.pos[o]>i;o-=2)r=o;if(r!==n){var s=this.pos[n]-this.pos[r],a=this.pos[r-1]-this.pos[n-1];this.velocity=a/s*rE}if(Math.abs(e-this.startY)>3){t.preventDefault(),t.stopPropagation();var l=this.y+(e-this.startY);this.update(l,0,!0,!0)}}this.startY=null,this.decelerate()}},t.prototype.decelerate=function(){var t=0;if(ib(this.rafId),isNaN(this.y)||!this.optHeight)this.update(t,0,!0,!0),this._haptic.gestureSelectionEnd();else if(Math.abs(this.velocity)>0){this.velocity*=nE,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1),t=Math.round(this.y-this.velocity),t>this.minY?(t=this.minY,this.velocity=0):t<this.maxY&&(t=this.maxY,this.velocity=0);var e=t%this.optHeight!==0||Math.abs(this.velocity)>1;this.update(t,0,!0,!e),e&&(this.rafId=rb(this.decelerate.bind(this)))}else if(this.y%this.optHeight!==0){var n=Math.abs(this.y%this.optHeight);this.velocity=n>this.optHeight/2?1:-1,this._haptic.gestureSelectionEnd(),this.decelerate()}var r=Math.max(Math.abs(Math.round(t/this.optHeight)),0);r!==this.lastTempIndex&&this._haptic.gestureSelectionChanged(),this.lastTempIndex=r},t.prototype.optClick=function(t,e){this.velocity||(t.preventDefault(),t.stopPropagation(),this.setSelected(e,150))},t.prototype.setSelected=function(t,e){var n=t>-1?t*this.optHeight*-1:0;ib(this.rafId),this.velocity=0,this.update(n,e,!0,!0)},t.prototype.update=function(t,e,n,r){t=Math.round(t),this.col.selectedIndex=Math.max(Math.abs(Math.round(t/this.optHeight)),0);for(var i=0;i<this.col.options.length;i++){var o=this.col.options[i],s=i*this.optHeight,a=s+t,l=a*this.rotateFactor,c=0,u=0,p=0;0!==this.rotateFactor?(c=0,p=90,(l>90||l<-90)&&(c=-9999,l=0)):u=a,o._trans=this._sanitizer.bypassSecurityTrustStyle("rotateX("+l+"deg) translate3d("+c+"px,"+u+"px,"+p+"px)"),o._dur=e>0?e+"ms":""}n&&(this.y=t),r&&(void 0===this.lastIndex?this.lastIndex=this.col.selectedIndex:this.lastIndex!==this.col.selectedIndex&&(this.lastIndex=this.col.selectedIndex,this.ionChange.emit(this.col.options[this.col.selectedIndex])))},t.prototype.refresh=function(){for(var t=this.col.options.length-1,e=0,n=0;n<this.col.options.length;n++)this.col.options[n].disabled||(t=Math.min(t,n),e=Math.max(e,n));var r=br(t,this.col.selectedIndex,e);if(r!==this.col.selectedIndex){var i=r*this.optHeight*-1;this.update(i,150,!0,!0)}},t.decorators=[{type:Sl,args:[{selector:".picker-col",template:'<div *ngIf="col.prefix" class="picker-prefix" [style.width]="col.prefixWidth">{{col.prefix}}</div><div class="picker-opts" #colEle [style.width]="col.optionsWidth"><button *ngFor="let o of col.options; let i=index" [style.transform]="o._trans" [style.transitionDuration]="o._dur" [style.webkitTransform]="o._trans" [style.webkitTransitionDuration]="o._dur" [class.picker-opt-selected]="col.selectedIndex === i" [class.picker-opt-disabled]="o.disabled" (click)="optClick($event, i)" type="button" ion-button="picker-opt">{{o.text}}</button></div><div *ngIf="col.suffix" class="picker-suffix" [style.width]="col.suffixWidth">{{col.suffix}}</div>',host:{"[style.min-width]":"col.columnWidth","[class.picker-opts-left]":'col.align=="left"',"[class.picker-opts-right]":'col.align=="right"'}}]}],t.ctorParameters=[{type:Hv},{type:_u},{type:Cy},{type:Mb}],t.propDecorators={colEle:[{type:xl,args:["colEle"]}],col:[{type:Al}],ionChange:[{type:kl}]},t}(),tE=function(){function t(t,e,n,r,i){this._viewCtrl=t,this._elementRef=e,this._config=n,this.d=r.data,this.mode=n.get("mode"),i.setElementClass(e.nativeElement,"picker-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){i.setElementClass(e.nativeElement,t,!0)}),this.id=++eE,this.lastClick=0}return t.prototype.ionViewDidLoad=function(){var t=this.d;t.buttons=t.buttons.map(function(t){return Av(t)?{text:t}:(t.role&&(t.cssRole="picker-toolbar-"+t.role),t)}),t.columns=t.columns.map(function(e){return Nv(e.columnWidth)||(e.columnWidth=100/t.columns.length+"%"),Nv(e.options)||(e.options=[]),e.options=e.options.map(function(t){var e={text:"",value:"",disabled:t.disabled};return Nv(t)&&(Av(t)||kv(t)?(e.text=t.toString(),e.value=t):(e.text=Nv(t.text)?t.text:t.value,e.value=Nv(t.value)?t.value:t.text)),e}),e})},t.prototype.refresh=function(){this._cols.forEach(function(t){t.refresh()})},t.prototype._colChange=function(t){var e=this._viewCtrl;e.ionChange.emit(this.getSelected())},t.prototype._keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===Hm.ENTER){if(this.lastClick+1e3<Date.now()){var e=this.d.buttons[this.d.buttons.length-1];this.btnClick(e)}}else t.keyCode===Hm.ESCAPE&&this.bdClick()},t.prototype.ionViewDidEnter=function(){var t=document.activeElement;t&&t.blur();var e=this._elementRef.nativeElement.querySelector("button");e&&e.focus(),this.enabled=!0},t.prototype.btnClick=function(t,e){var n=this;if(this.enabled){this.lastClick=Date.now();var r=!0;t.handler&&t.handler(this.getSelected())===!1&&(r=!1),r&&setTimeout(function(){n.dismiss(t.role)},e||this._config.get("pageTransitionDelay"))}},t.prototype.bdClick=function(){this.enabled&&this.d.enableBackdropDismiss&&this.dismiss("backdrop")},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(this.getSelected(),t)},t.prototype.getSelected=function(){var t={};return this.d.columns.forEach(function(e,n){var r=e.options[e.selectedIndex];t[e.name]={text:r?r.text:null,value:r?r.value:null,columnIndex:n}}),t},t.decorators=[{type:Sl,args:[{selector:"ion-picker-cmp",template:'\n    <ion-backdrop (click)="bdClick()"></ion-backdrop>\n    <div class="picker-wrapper">\n      <div class="picker-toolbar">\n        <div *ngFor="let b of d.buttons" class="picker-toolbar-button" [ngClass]="b.cssRole">\n          <button ion-button (click)="btnClick(b)" [ngClass]="b.cssClass" class="picker-button" clear>\n            {{b.text}}\n          </button>\n        </div>\n      </div>\n      <div class="picker-columns">\n        <div class="picker-above-highlight"></div>\n        <div *ngFor="let c of d.columns" [col]="c" class="picker-col" (ionChange)="_colChange($event)"></div>\n        <div class="picker-below-highlight"></div>\n      </div>\n    </div>\n  ',host:{role:"dialog"},encapsulation:Dl.None}]}],t.ctorParameters=[{type:qv},{type:_u},{type:Hv},{type:Wv},{type:cu}],t.propDecorators={_cols:[{type:El,args:[JC]}],_keyUp:[{type:jl,args:["body:keyup",["$event"]]}]},t}(),eE=-1,nE=.97,rE=1e3/60,iE=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=function(t){function e(e,n){void 0===n&&(n={}),n.columns=n.columns||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!Nv(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,t.call(this,tE,n,null),this._app=e,this.isOverlay=!0,this.ionChange=new hh}return iE(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"pickerLeave":"pickerEnter";return this._nav&&this._nav.config.get(e)},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.addColumn=function(t){this.data.columns.push(t)},e.prototype.getColumns=function(){return this.data.columns},e.prototype.refresh=function(){this._cmp&&this._cmp.instance.refresh&&this._cmp.instance.refresh()},e.prototype.setCssClass=function(t){this.data.cssClass=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e.propDecorators={ionChange:[{type:kl}]},e}(qv),sE=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new oE(this._app,t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb}],t}(),aE={core:{settings:{mode:"md",keyboardHeight:290}},mobile:{},phablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>390&&e<520&&n>620&&n<800}},tablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>460&&e<820&&n>780&&n<1400}},android:{superset:"mobile",subsets:["phablet","tablet"],settings:{activator:function(t){if(t.testNavigatorPlatform("linux")){var e=t.matchUserAgentVersion(/Chrome\/(\d+).(\d+)?/);if(e)return parseInt(e.major,10)<36?"none":"ripple";if(t.version().major<5)return"none"}return"ripple"},autoFocusAssist:"immediate",hoverCSS:!1,keyboardHeight:300,mode:"md"},isMatch:function(t){return t.isPlatformMatch("android",["android","silk"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Android (\d+).(\d+)?/)}},ios:{superset:"mobile",subsets:["ipad","iphone"],settings:{autoFocusAssist:"delay",hoverCSS:!1,inputBlurring:ai,inputCloning:ai,keyboardHeight:300,mode:"ios",scrollAssist:ai,statusbarPadding:!!window.cordova,swipeBackEnabled:ai,swipeBackThreshold:40,tapPolyfill:ai,virtualScrollEventAssist:!window.indexedDB,canDisableScroll:!!window.indexedDB},isMatch:function(t){return t.isPlatformMatch("ios",["iphone","ipad","ipod"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/OS (\d+)_(\d+)?/)}},ipad:{superset:"tablet",settings:{keyboardHeight:500},isMatch:function(t){return t.isPlatformMatch("ipad")}},iphone:{subsets:["phablet"],isMatch:function(t){return t.isPlatformMatch("iphone")}},windows:{superset:"mobile",subsets:["phablet","tablet"],settings:{mode:"wp",autoFocusAssist:"immediate",hoverCSS:!1},isMatch:function(t){return t.isPlatformMatch("windows",["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Windows Phone (\d+).(\d+)?/)}},cordova:{isEngine:!0,initialize:function(t){t.prepareReady=function(){Vr(function(){document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(e){t.zone.run(function(){t.backButton.emit(e)})}),document.addEventListener("pause",function(e){t.zone.run(function(){t.pause.emit(e)})}),document.addEventListener("resume",function(e){t.zone.run(function(){t.resume.emit(e)})}),t.exitApp=function(){window.navigator.app.exitApp()},t.triggerReady("cordova")})})}},isMatch:function(){return!!(window.cordova||window.PhoneGap||window.phonegap)}}},lE=new gl("PLTCONFIG"),cE=function(){function t(t,e,n,r,i,o){this._cfr=t,this._elementRef=e,this._renderer=n,this._config=r,this._navParams=i,this._viewCtrl=o,this.d=i.data.opts,n.setElementClass(e.nativeElement,"popover-"+r.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&n.setElementClass(e.nativeElement,t,!0)}),this.id=++uE}return t.prototype.ionViewWillLoad=function(){var t=document.activeElement;document.activeElement&&t.blur(),this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var e=this._cfr.resolveComponentFactory(t),n=this._viewport.createComponent(e,this._viewport.length,this._viewport.parentInjector,[]);this._viewCtrl._setInstance(n.instance),this._enabled=!0}},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this.d.enableBackdropDismiss)return this._viewCtrl.dismiss(null,"backdrop")},t.prototype._keyUp=function(t){this._enabled&&t.keyCode===Hm.ESCAPE&&this._viewCtrl.isLast()&&this._bdClick()},t.decorators=[{type:Sl,args:[{selector:"ion-popover",template:'<ion-backdrop (click)="_bdClick()" [class.hide-backdrop]="!d.showBackdrop"></ion-backdrop><div class="popover-wrapper"><div class="popover-arrow"></div><div class="popover-content"><div class="popover-viewport"><div #viewport nav-viewport></div></div></div></div>'}]}],t.ctorParameters=[{type:zu},{type:_u},{type:cu},{type:Hv},{type:Wv},{type:qv}],t.propDecorators={_viewport:[{type:xl,args:["viewport",{read:vu}]}],_keyUp:[{type:jl,args:["body:keyup",["$event"]]}]},t}(),uE=-1,pE=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)},hE=function(t){function e(e,n,r,i){void 0===r&&(r={}),void 0===i&&(i={}),i.showBackdrop=!Nv(i.showBackdrop)||!!i.showBackdrop,i.enableBackdropDismiss=!Nv(i.enableBackdropDismiss)||!!i.enableBackdropDismiss,r.component=n,r.opts=i,t.call(this,cE,r,null),this._app=e,this.isOverlay=!0}return pE(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"popoverLeave":"popoverEnter";return this._nav&&this._nav.config.get(e)},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(qv),fE=function(){function t(t){this._app=t}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new hE(this._app,t,e,n)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb}],t}(),dE=function(){function t(t){if(this.data={},t){var e=t.indexOf("?");if(e>-1)for(var n=t.slice(e+1).split("&"),r=0;r<n.length;r++)if(n[r].indexOf("=")>0){var i=n[r].split("=");i.length>1&&(this.data[i[0].toLowerCase()]=i[1].split("#")[0])}}}return t.prototype.get=function(t){return this.data[t.toLowerCase()]},t}(),_E=new gl("USERURL"),yE=function(){function t(t,e){this.app=t,this._queue=[],this._active=[],this._css=e.get("activatedClass")||"activated"}return t.prototype.downAction=function(t,e,n){var r=this;this.disableActivated(t)||(this._queue.push(e),Dr(2,function(){for(var t,e=0;e<r._queue.length;e++)t=r._queue[e],t&&t.parentNode&&(r._active.push(t),t.classList.add(r._css));r._queue=[]}))},t.prototype.upAction=function(t,e,n){var r=this;Dr(gE,function(){r.clearState()})},t.prototype.clearState=function(){var t=this;this.app.isEnabled()?this.deactivate():ob(function(){t.clearState()},600)},t.prototype.deactivate=function(){var t=this;this._queue=[],Dr(2,function(){for(var e=0;e<t._active.length;e++)t._active[e].classList.remove(t._css);t._active=[]})},t.prototype.disableActivated=function(t){if(t.defaultPrevented)return!0;for(var e=t.target,n=0;n<4&&e;n++){if(e.hasAttribute("disable-activated"))return!0;e=e.parentElement}return!1},t}(),gE=5,mE=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)},vE=function(t){function e(e,n){t.call(this,e,n)}return mE(e,t),e.prototype.downAction=function(t,e,n){if(!this.disableActivated(t)){this._queue.push(e);for(var r=0;r<this._queue.length;r++){var i=this._queue[r];if(i&&i.parentNode){this._active.push(i),i.classList.add(this._css);for(var o=i.childElementCount;o--;){var s=i.children[o];if(s.classList.contains("button-effect")){var a=e.getBoundingClientRect();s.$top=a.top,s.$left=a.left,s.$width=a.width,s.$height=a.height;break}}}}this._queue=[]}},e.prototype.upAction=function(e,n,r){if(!Br(6,r,Fr(e)))for(var i=n.childElementCount;i--;){var o=n.children[i];if(o.classList.contains("button-effect")){this.startRippleEffect(o,n,r);break}}t.prototype.upAction.call(this,e,n,r)},e.prototype.startRippleEffect=function(t,e,n){var r=n.x-t.$left,i=n.y-t.$top,o=2*Math.max(Math.abs(t.$width-r),r),s=2*Math.max(Math.abs(t.$height-i),i),a=Math.min(Math.max(Math.hypot(o,s),64),240);e.hasAttribute("ion-item")&&(a=Math.min(a,140)),r-=a/2,i-=a/2,r=Math.round(r),i=Math.round(i),a=Math.round(a),t.style.opacity="",t.style[ab.transform]="translate3d("+r+"px, "+i+"px, 0px) scale(0.001)",t.style[ab.transition]="";var l=Math.sqrt(t.$width+t.$height),c=Math.max(1600*Math.sqrt(l/bE)+.5,260),u=Math.round(.7*c),p=Math.round(c-u);c=Math.round(c);var h="translate3d("+r+"px, "+i+"px, 0px) scale(1)",f="transform "+c+"ms,opacity "+u+"ms "+p+"ms";Dr(2,function(){
  t.style.width=t.style.height=a+"px",t.style.opacity="0",t.style[ab.transform]=h,t.style[ab.transition]=f})},e.prototype.deactivate=function(){var t=this;this._queue=[],Dr(2,function(){for(var e=0;e<t._active.length;e++)t._active[e].classList.remove(t._css);t._active=[]})},e}(yE),bE=300,wE=function(){function t(t,e,n){var r=this;this.app=e,this.lastTouch=0,this.disableClick=0,this.lastActivated=0,"ripple"===t.get("activator")?this.activator=new vE(e,t):"highlight"===t.get("activator")&&(this.activator=new yE(e,t)),this.usePolyfill=t.get("tapPolyfill")===!0,n.runOutsideAngular(function(){pi("click",r.click.bind(r),!0),pi("touchstart",r.touchStart.bind(r)),pi("touchend",r.touchEnd.bind(r)),pi("touchcancel",r.pointerCancel.bind(r)),pi("mousedown",r.mouseDown.bind(r),!0),pi("mouseup",r.mouseUp.bind(r),!0)}),this.pointerMove=function(t){r.startCoord&&!Br(TE,r.startCoord,Fr(t))||r.pointerCancel(t)}}return t.prototype.touchStart=function(t){this.lastTouch=Date.now(),this.pointerStart(t)},t.prototype.touchEnd=function(t){if(this.lastTouch=Date.now(),this.usePolyfill&&this.startCoord&&this.app.isEnabled()){var e=Fr(t);if(!Br(OE,this.startCoord,e))if(this.disableClick=this.lastTouch+PE,this.app.isScrolling());else{var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,1,0,0,e.x,e.y,!1,!1,!1,!1,0,null),n.isIonicTap=!0,t.target.dispatchEvent(n)}}this.pointerEnd(t)},t.prototype.mouseDown=function(t){this.isDisabledNativeClick()?t.stopPropagation():this.lastTouch+PE<Date.now()&&this.pointerStart(t)},t.prototype.mouseUp=function(t){this.isDisabledNativeClick()&&(t.preventDefault(),t.stopPropagation()),this.lastTouch+PE<Date.now()&&this.pointerEnd(t)},t.prototype.pointerStart=function(t){var e=ui(t.target);if(e){this.startCoord=Fr(t);var n=Date.now();this.lastActivated+150<n&&!this.app.isScrolling()&&(this.activator&&this.activator.downAction(t,e,this.startCoord),this.lastActivated=n),this.moveListeners(!0)}else this.startCoord=null},t.prototype.pointerEnd=function(t){if(this.startCoord&&this.activator){var e=ui(t.target);e&&this.activator.upAction(t,e,this.startCoord)}this.moveListeners(!1)},t.prototype.pointerCancel=function(t){this.activator&&this.activator.clearState(),this.moveListeners(!1)},t.prototype.moveListeners=function(t){hi(this.usePolyfill?"touchmove":"mousemove",this.pointerMove),t&&pi(this.usePolyfill?"touchmove":"mousemove",this.pointerMove)},t.prototype.click=function(t){var e=null;this.app.isEnabled()?!t.isIonicTap&&this.isDisabledNativeClick()&&(e="nativeClick"):e="appDisabled",null!==e&&(t.preventDefault(),t.stopPropagation())},t.prototype.isDisabledNativeClick=function(){return this.disableClick>Date.now()},t.decorators=[{type:fl}],t.ctorParameters=[{type:Hv},{type:gb},{type:fh}],t}(),CE=function(t){if(EE.test(t.tagName))return!0;for(var e=t.attributes,n=0,r=e.length;n<r;n++)if(xE.test(e[n].name))return!0;return!1},EE=/^(A|BUTTON)$/,xE=/tappable|button/i,OE=4,TE=10,PE=2500,SE=function(){function t(t,e,n,r,i){this._viewCtrl=t,this._config=e,this._elementRef=n,this.dismissTimeout=void 0,i.setElementClass(n.nativeElement,"toast-"+e.get("mode"),!0),this.d=r.data,this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&i.setElementClass(n.nativeElement,t,!0)}),this.id=++IE,this.d.message&&(this.hdrId="toast-hdr-"+this.id)}return t.prototype.ngAfterViewInit=function(){var t=this;this.d.duration&&(this.dismissTimeout=setTimeout(function(){t.dismiss("backdrop")},this.d.duration)),this.enabled=!0},t.prototype.ionViewDidEnter=function(){var t=document.activeElement;t&&t.blur();var e=this._elementRef.nativeElement.querySelector("button");e&&e.focus()},t.prototype.cbClick=function(){this.enabled&&this.dismiss("close")},t.prototype.dismiss=function(t){return clearTimeout(this.dismissTimeout),this.dismissTimeout=void 0,this._viewCtrl.dismiss(null,t)},t.decorators=[{type:Sl,args:[{selector:"ion-toast",template:'<div class="toast-wrapper" [class.toast-bottom]="d.position === \'bottom\'" [class.toast-middle]="d.position === \'middle\'" [class.toast-top]="d.position === \'top\'"> <div class="toast-container"> <div class="toast-message" id="{{hdrId}}" *ngIf="d.message">{{d.message}}</div> <button ion-button clear class="toast-button" *ngIf="d.showCloseButton" (click)="cbClick()"> {{ d.closeButtonText || \'Close\' }} </button> </div> </div>',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"}}]}],t.ctorParameters=[{type:qv},{type:Hv},{type:_u},{type:Wv},{type:cu}],t}(),IE=-1,AE=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)},kE=function(t){function e(e,n){void 0===n&&(n={}),n.dismissOnPageChange=!!Nv(n.dismissOnPageChange)&&!!n.dismissOnPageChange,t.call(this,SE,n,null),this._app=e,n.position&&this.isValidPosition(n.position)||(n.position=NE),this.isOverlay=!0}return AE(e,t),e.prototype.getTransitionName=function(t){var e="toast"+("back"===t?"Leave":"Enter");return this._nav&&this._nav.config.get(e)},e.prototype.isValidPosition=function(t){return t===jE||t===DE||t===NE},e.prototype.setMessage=function(t){this.data.message=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,lb.TOAST)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(qv),RE=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new kE(this._app,t)},t.decorators=[{type:fl}],t.ctorParameters=[{type:gb}],t}(),jE="top",DE="middle",NE="bottom",ME=function(){function t(){this._transMap={},this._language={}}return t.prototype.translations=function(t,e){this._transMap[t]=e},t.prototype.setLanguage=function(t){this._language=t,console.warn("Translate provider and TranslatePipe has been deprecated and will be removed in the next version. Please use NG2-Translate instead: http://ionicframework.com/docs/v2/resources/ng2-translate/")},t.prototype.getTranslations=function(t){return this._transMap[t]},t.prototype.translate=function(t,e){if(!e&&!this._language)return t;var n=e||this._language,r=this.getTranslations(n);return r?this._getTranslation(r,t):(console.warn("I18N: No translation for key",t,"using language",n),"")},t.prototype._getTranslation=function(t,e){return t&&t[e]||""},t}(),LE={activator:"highlight",actionSheetEnter:"action-sheet-slide-in",actionSheetLeave:"action-sheet-slide-out",alertEnter:"alert-pop-in",alertLeave:"alert-pop-out",backButtonText:"Back",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-pop-in",loadingLeave:"loading-pop-out",menuType:"reveal",modalEnter:"modal-slide-in",modalLeave:"modal-slide-out",pageTransition:"ios-transition",pageTransitionDelay:16,pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:-.46,popoverEnter:"popover-pop-in",popoverLeave:"popover-pop-out",spinner:"ios",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-slide-in",toastLeave:"toast-slide-out"},VE={activator:"ripple",actionSheetEnter:"action-sheet-md-slide-in",actionSheetLeave:"action-sheet-md-slide-out",alertEnter:"alert-md-pop-in",alertLeave:"alert-md-pop-out",backButtonText:"",backButtonIcon:"md-arrow-back",iconMode:"md",loadingEnter:"loading-md-pop-in",loadingLeave:"loading-md-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"md-transition",pageTransitionDelay:64,pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"crescent",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-md-slide-in",toastLeave:"toast-md-slide-out"},FE={activator:"highlight",actionSheetEnter:"action-sheet-wp-slide-in",actionSheetLeave:"action-sheet-wp-slide-out",alertEnter:"alert-wp-pop-in",alertLeave:"alert-wp-pop-out",backButtonText:"",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-wp-pop-in",loadingLeave:"loading-wp-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"wp-transition",pageTransitionDelay:96,pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"circles",tabsHighlight:!1,tabsPlacement:"top",tabsHideOnSubPages:!0,toastEnter:"toast-wp-slide-in",toastLeave:"toast-wp-slide-out"},BE=function(){function t(t){t&&Vv(t.links)?this.links=qE(t.links):this.links=[]}return t.prototype.parse=function(t){return"/"===t.charAt(0)&&(t=t.substr(1)),t=t.split("?")[0].split("#")[0],HE(t.split("/"),this.links)},t.prototype.createSegmentFromName=function(t){var e=this.links.find(function(e){return e.component===t||e.name===t||e.component.name===t});return e?{id:e.name,name:e.name,component:e.component,data:null,defaultHistory:e.defaultHistory}:null},t.prototype.serialize=function(t){return"/"+t.map(function(t){return t.id}).join("/")},t.prototype.serializeComponent=function(t,e){if(t){var n=WE(this.links,t,e);if(n)return this.createSegment(n,e)}return null},t.prototype.createSegment=function(t,e){var n=t.parts;if(Nv(e)){n=n.slice();var r=Object.keys(e),i=r.length;if(i)for(var o=0;o<n.length;o++)if(":"===n[o].charAt(0))for(var s=0;s<i;s++)if(n[o]===":"+r[s]){n[o]=encodeURIComponent(e[r[s]]);break}}return{id:n.join("/"),name:t.name,component:t.component,data:e,defaultHistory:t.defaultHistory}},t.prototype.formatUrlPart=function(t){for(t=t.replace(YE,"-"),t=t.charAt(0).toLowerCase()+t.substring(1).replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});t.indexOf("--")>-1;)t=t.replace("--","-");return"-"===t.charAt(0)&&(t=t.substring(1)),"-"===t.substring(t.length-1)&&(t=t.substring(0,t.length-1)),encodeURIComponent(t)},t}(),HE=function(t,e){for(var n=e.length,r=t.length,i=new Array(r),o=0;o<n;o++){var s=e[o];s.partsLen<=r&&zE(i,t,s)}for(var o=r-1;o>=0;o--)void 0===i[o]&&(void 0===t[o]?i.splice(o,1):i[o]={id:t[o],name:t[o],component:null,data:null});return i},zE=function(t,e,n){for(var r=0;r<e.length;r++){for(var i=r,o=0;o<n.partsLen&&UE(e[i],n.parts[o]);o++)i++;if(i-r===n.partsLen){for(var s=e.slice(r,i),o=r;o<i;o++)e[o]=void 0;t[r]={id:s.join("/"),name:n.name,component:n.component,data:GE(s,n),defaultHistory:n.defaultHistory}}}},UE=function(t,e){return!(!Nv(t)||!Nv(e))&&(":"===e.charAt(0)||t===e)},GE=function(t,e){for(var n=null,r=0;r<e.partsLen;r++)":"===e.parts[r].charAt(0)&&(n=n||{},n[e.parts[r].substring(1)]=decodeURIComponent(t[r]));return n},WE=function(t,e,n){for(var r=null,i=-1,o=0;o<t.length;o++){var s=t[o];if(s.component===e){var a=0;if(n)for(var l=Object.keys(n),c=0;c<l.length;c++)Nv(s.dataKeys[l[c]])&&a++;else if(s.dataLen)continue;a>=i&&(r=s,i=a)}}return r},qE=function(t){for(var e=0,n=t.length;e<n;e++){var r=t[e];Mv(r.segment)&&(r.segment=r.name),r.dataKeys={},r.parts=r.segment.split("/"),r.partsLen=r.parts.length,r.staticLen=r.dataLen=0;for(var i=!0,o=0;o<r.partsLen;o++)":"===r.parts[o].charAt(0)?(r.dataLen++,i=!1,r.dataKeys[r.parts[o].substring(1)]=!0):i&&r.staticLen++}return t.sort(_i)},YE=/\s+|\?|\!|\$|\,|\.|\+|\"|\'|\*|\^|\||\/|\\|\[|\]|#|%|`|>|<|;|:|@|&|=/g,XE=new gl("USERLINKS"),$E=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-avatar"}]}],t.ctorParameters=[],t}(),KE=function(){function t(t,e,n){this._gestureCtrl=t,this._elementRef=e,this._renderer=n,this._gestureID=null,this.disableScroll=!0}return t.prototype.ngOnInit=function(){Fv(this.disableScroll)&&(this._gestureID=this._gestureCtrl.newID(),this._gestureCtrl.disableScroll(this._gestureID))},t.prototype.ngOnDestroy=function(){this._gestureID&&this._gestureCtrl.enableScroll(this._gestureID)},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.decorators=[{type:Pl,args:[{selector:"ion-backdrop",host:{role:"presentation",tappable:"","disable-activated":""}}]}],t.ctorParameters=[{type:Db},{type:_u},{type:cu}],t.propDecorators={disableScroll:[{type:Al}]},t}(),ZE=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)},QE=function(t){function e(e,n,r){t.call(this,e,n,r),this.mode=e.get("mode")}return ZE(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("badge",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("badge",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:Pl,args:[{selector:"ion-badge"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}]},e}(zb),JE=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)},tx=function(t){function e(e,n,r,i,o){t.call(this,r,i,o),this._role="button",this._style="default",this._mode=r.get("mode"),r.get("hoverCSS")===!1&&this.setElementClass("disable-hover",!0),n.trim().length>0&&this.setRole(n),null!==e&&(this._mt=!0)}return JE(e,t),Object.defineProperty(e.prototype,"large",{set:function(t){this._attr("_size","large",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"small",{set:function(t){this._attr("_size","small",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"default",{set:function(t){this._attr("_size","default",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outline",{set:function(t){this._attr("_style","outline",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clear",{set:function(t){this._attr("_style","clear",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"solid",{set:function(t){this._attr("_style","solid",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{set:function(t){this._attr("_shape","round",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"block",{set:function(t){this._attr("_display","block",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"full",{set:function(t){this._attr("_display","full",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._assignCss(!1),this._mode=t,this._assignCss(!0)},enumerable:!0,configurable:!0}),e.prototype._attr=function(t,e,n){"_style"===t&&this._updateColor(this._color,Fv(n)),this._setClass(this[t],!1),Fv(n)?(this[t]=e,this._setClass(e,!0)):(this[t]="_style"===t?"default":null,this._setClass(this[t],!0))},Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(this._color,!1),this._updateColor(t,!0),this._color=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._init=!0,this._assignCss(!0)},e.prototype.setRole=function(t){this._assignCss(!1),this._role=t,this._assignCss(!0)},e.prototype._assignCss=function(t){var e=this._role;e&&(this.setElementClass(e,t),this.setElementClass(e+"-"+this._mode,t),this._setClass("menutoggle",this._mt),this._setClass(this._style,t),this._setClass(this._shape,t),this._setClass(this._display,t),this._setClass(this._size,t),this._updateColor(this._color,t))},e.prototype._setClass=function(t,e){t&&this._init&&(t=t.toLocaleLowerCase(),this.setElementClass(this._role+"-"+t,e),this.setElementClass(this._role+"-"+t+"-"+this._mode,e))},e.prototype._updateColor=function(t,e){if(t&&this._init){var n=this._role,r=this._style;r="bar-button"!==this._role&&"solid"===r?"default":r,n+=null!==r&&""!==r&&"default"!==r?"-"+r.toLowerCase():"",null!==t&&""!==t&&this.setElementClass(n+"-"+this._mode+"-"+t,e)}},e.decorators=[{type:Sl,args:[{selector:"[ion-button]",template:'<span class="button-inner"><ng-content></ng-content></span><div class="button-effect"></div>',changeDetection:al.OnPush,encapsulation:Dl.None}]}],e.ctorParameters=[{type:void 0,decorators:[{type:vl,args:["menuToggle"]}]},{type:void 0,decorators:[{type:vl,args:["ion-button"]}]},{type:Hv},{type:_u},{type:cu}],e.propDecorators={large:[{type:Al}],small:[{type:Al}],default:[{type:Al}],outline:[{type:Al}],clear:[{type:Al}],solid:[{type:Al}],round:[{type:Al}],block:[{type:Al}],full:[{type:Al}],mode:[{type:Al}],color:[{type:Al}]},e}(zb),ex=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)},nx=function(t){function e(e,n,r){t.call(this,e,n,r),this.mode=e.get("mode")}return ex(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("card",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("card",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:Pl,args:[{selector:"ion-card"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}]},e}(zb),rx=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-card-content"}]}],t.ctorParameters=[],t}(),ix=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-card-header"}]}],t.ctorParameters=[],t}(),ox=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-card-title"}]}],t.ctorParameters=[],t}(),sx=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)},ax=function(t){function e(e,n,r){t.call(this,e,n,r),this._name="",this._ios="",this._md="",this._css="",this._hidden=!1,this.mode=e.get("mode"),this._iconMode=e.get("iconMode")}return sx(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._setColor("icon",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("icon",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._css&&this.setElementClass(this._css,!1)},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){/^md-|^ios-|^logo-/.test(t)?this._name=t:this._name=this._iconMode+"-"+t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ios",{get:function(){return this._ios},set:function(t){this._ios=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"md",{get:function(){return this._md},set:function(t){this._md=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return void 0===this._isActive||this._isActive===!0||"true"===this._isActive},set:function(t){this._isActive=t,this.update()},enumerable:!0,configurable:!0}),e.prototype.update=function(){var t;t=this._ios&&"ios"===this._iconMode?this._ios:this._md&&"md"===this._iconMode?this._md:this._name;var e=this._hidden=null===t;if(!e){var n=t.split("-",2)[0];"ios"===n&&!this.isActive&&t.indexOf("logo-")<0&&t.indexOf("-outline")<0&&(t+="-outline");var r="ion-"+t;if(this._css!==r){this._css&&this.setElementClass(this._css,!1),this._css=r,this.setElementClass(r,!0);var i=t.replace("ios-","").replace("md-","").replace("-"," ");this.setElementAttribute("aria-label",i)}}},e.decorators=[{type:Pl,args:[{selector:"ion-icon",host:{role:"img"}}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],name:[{type:Al}],ios:[{type:Al}],md:[{type:Al}],isActive:[{type:Al}],_hidden:[{type:Rl,args:["class.hide"]}]},e}(zb),lx=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)},cx=function(t){function e(e,n,r,i,o,s,a){t.call(this,e,n,r),this.mode=e.get("mode"),this.type=""===i?"floating":""===o?"stacked":""===s?"fixed":""===a?"inset":null}return lx(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("label",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("label",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,t&&this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.getNativeElement().textContent||""},enumerable:!0,configurable:!0}),e.decorators=[{type:Pl,args:[{selector:"ion-label"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:void 0,decorators:[{type:vl,args:["floating"]}]},{type:void 0,decorators:[{type:vl,args:["stacked"]}]},{type:void 0,decorators:[{type:vl,args:["fixed"]}]},{type:void 0,decorators:[{type:vl,args:["inset"]}]}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],id:[{type:Al}]},e}(zb),ux=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)},px=function(t){function e(e,n,r,i){t.call(this,n,r,i),this._ids=-1,this._inputs=[],this._viewLabel=!0,this.labelId=null,this.mode=n.get("mode"),this.id=e.nextId().toString()}return ux(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("item",t)},enumerable:!0,configurable:!0}),e.prototype.registerInput=function(t){return this._inputs.push(t),this.id+"-"+ ++this._ids},e.prototype.ngAfterContentInit=function(){if(this._viewLabel&&this._inputs.length){var t=this.getLabelText().trim();this._viewLabel=t.length>0}this._inputs.length>1&&this.setElementClass("item-multiple-inputs",!0)},e.prototype._updateColor=function(t,e){e=e||"item",this._setColor(e,t)},e.prototype.getLabelText=function(){return this._label?this._label.text:""},Object.defineProperty(e.prototype,"contentLabel",{set:function(t){t&&(this._label=t,this.labelId=t.id="lbl-"+this.id,t.type&&this.setElementClass("item-label-"+t.type,!0),this._viewLabel=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewLabel",{set:function(t){this._label||(this._label=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_buttons",{set:function(t){t.forEach(function(t){t._size||t.setElementClass("item-button",!0)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_icons",{set:function(t){t.forEach(function(t){t.setElementClass("item-icon",!0)})},enumerable:!0,configurable:!0}),e.decorators=[{type:Sl,args:[{selector:"ion-list-header,ion-item,[ion-item],ion-item-divider",template:'<ng-content select="[item-left],ion-checkbox:not([item-right])"></ng-content><div class="item-inner"><div class="input-wrapper"><ng-content select="ion-label"></ng-content><ion-label *ngIf="_viewLabel"><ng-content></ng-content></ion-label><ng-content select="ion-select,ion-input,ion-textarea,ion-datetime,ion-range,[item-content]"></ng-content></div><ng-content select="[item-right],ion-radio,ion-toggle"></ng-content><ion-reorder></ion-reorder></div><div class="button-effect"></div>',host:{class:"item"},changeDetection:al.OnPush,encapsulation:Dl.None}]}],e.ctorParameters=[{type:Uv},{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],contentLabel:[{type:Cl,args:[cx]}],viewLabel:[{type:xl,args:[cx]}],_buttons:[{type:wl,args:[tx]}],_icons:[{type:wl,args:[ax]}]},e}(zb),hx=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-item,[ion-item]",host:{class:"item-block"}}]}],t.ctorParameters=[],t}(),fx=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-item-group"}]}],t.ctorParameters=[],t}(),dx=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)},_x={provide:tg,useExisting:C(function(){return yx}),multi:!0},yx=function(t){function e(e,n,r,i,o){t.call(this,e,i,o),this._form=n,this._item=r,this._checked=!1,this._disabled=!1,this.ionChange=new hh,this.mode=e.get("mode"),n.register(this),r&&(this.id="chk-"+r.registerInput("checkbox"),this._labelId="lbl-"+r.id,this._item.setElementClass("item-checkbox",!0))}return dx(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("checkbox",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("checkbox",t)},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.onChange(!this._checked)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._setChecked(Fv(t)),this.onChange(this._checked)},enumerable:!0,configurable:!0}),e.prototype._setChecked=function(t){this._disabled||t===this._checked||(this._checked=t,this._init&&this.ionChange.emit(this),this._item&&this._item.setElementClass("item-checkbox-checked",t))},e.prototype.writeValue=function(t){this._setChecked(Fv(t))},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e._setChecked(n),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t),this._item&&this._item.setElementClass("item-checkbox-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.onChange=function(t){this._setChecked(t),this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngAfterContentInit=function(){this._init=!0},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.decorators=[{type:Sl,args:[{selector:"ion-checkbox",template:'<div class="checkbox-icon" [class.checkbox-checked]="_checked"><div class="checkbox-inner"></div></div><button role="checkbox" type="button" ion-button="item-cover" [id]="id" [attr.aria-checked]="_checked" [attr.aria-labelledby]="_labelId" [attr.aria-disabled]="_disabled" class="item-cover"> </button>',host:{"[class.checkbox-disabled]":"_disabled"},providers:[_x],encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:Uv},{type:px,decorators:[{type:hl}]},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],ionChange:[{type:kl}],_click:[{type:jl,args:["click",["$event"]]}],checked:[{type:Al}],disabled:[{type:Al}]},e}(zb),gx=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)},mx=function(t){function e(e,n,r){t.call(this,e,n,r),this.mode=e.get("mode")}return gx(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("chip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("chip",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:Pl,args:[{selector:"ion-chip"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}]},e}(zb),vx=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,bx=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,wx="YYYY",Cx="YY",Ex="MMMM",xx="MMM",Ox="MM",Tx="M",Px="DDDD",Sx="DDD",Ix="DD",Ax="D",kx="HH",Rx="H",jx="hh",Dx="h",Nx="mm",Mx="m",Lx="ss",Vx="s",Fx="A",Bx="a",Hx=[{f:wx,k:"year"},{f:Ex,k:"month"},{f:Px,k:"day"},{f:xx,k:"month"},{f:Sx,k:"day"},{f:Cx,k:"year"},{f:Ox,k:"month"},{f:Ix,k:"day"},{f:kx,k:"hour"},{f:jx,k:"hour"},{f:Nx,k:"minute"},{f:Lx,k:"second"},{f:Tx,k:"month"},{f:Ax,k:"day"},{f:Rx,k:"hour"},{f:Dx,k:"hour"},{f:Mx,k:"minute"},{f:Vx,k:"second"},{f:Fx,k:"ampm"},{f:Bx,k:"ampm"}],zx=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Ux=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Gx=["January","February","March","April","May","June","July","August","September","October","November","December"],Wx=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],qx=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)},Yx={provide:tg,useExisting:C(function(){return Xx}),multi:!0},Xx=function(t){function e(e,n,r,i,o,s){t.call(this,n,r,i),this._form=e,this._item=o,this._pickerCtrl=s,this._disabled=!1,this._text="",this._isOpen=!1,this._value={},this._locale={},this.displayFormat="MMM D, YYYY",this.cancelText="Cancel",this.doneText="Done",this.pickerOptions={},this.ionChange=new hh,this.ionCancel=new hh,this.mode=n.get("mode"),e.register(this),o&&(this.id="dt-"+o.registerInput("datetime"),this._labelId="lbl-"+o.id,this._item.setElementClass("item-datetime",!0))}return qx(e,t),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("datetime",t)},enumerable:!0,configurable:!0}),e.prototype._click=function(t){0!==t.detail&&(t.preventDefault(),t.stopPropagation(),this.open())},e.prototype._keyup=function(){this._isOpen||this.open()},e.prototype.open=function(){var t=this;if(!this._disabled){var e=Cr({},this.pickerOptions),n=this._pickerCtrl.create(e);e.buttons=[{text:this.cancelText,role:"cancel",handler:function(){t.ionCancel.emit(null)}},{text:this.doneText,handler:function(e){console.log("datetime, done",e),t.onChange(e),t.ionChange.emit(e)}}],this.generate(n),this.validate(n),n.ionChange.subscribe(function(){t.validate(n)}),n.present(e),this._isOpen=!0,n.onDidDismiss(function(){t._isOpen=!1})}},e.prototype.generate=function(t){var e=this,n=this.pickerFormat||this.displayFormat;Nv(n)&&(this.calcMinMax(),n=n.replace("DDDD","{~}").replace("DDD","{~}"),n.indexOf("D")===-1&&(n=n.replace("{~}","D")),n=n.replace(/{~}/g,""),Ti(n).forEach(function(n){var r,i=Si(n);r=Nv(e[i+"Values"])?ji(e[i+"Values"],i):vi(n,e._min,e._max);var o={name:i,options:r.map(function(t){return{value:t,text:mi(n,t,null,e._locale)}})};if(o.options.length){var s=o.options.find(function(t){return t.value===Pi(e._value,n)});s&&(o.selectedIndex=o.options.indexOf(s)),t.addColumn(o)}}),this.divyColumns(t))},e.prototype.validate=function(t){var e,n,r,i,o=new Date,s=t.getColumns(),a=s.find(function(t){return"year"===t.name}),l=s.find(function(t){return"month"===t.name}),c=s.find(function(t){return"day"===t.name}),u=o.getFullYear();a&&(n=a.options[a.selectedIndex],n&&(u=n.value));var p,h=31;l&&(r=l.options[l.selectedIndex],r&&(p=r.value,h=Ci(p,u)));var f=wi(this._min),d=wi(this._max);if(l)for(e=0;e<l.options.length;e++)r=l.options[e],r.disabled=bi(u,r.value,31)<f||bi(u,r.value,1)>d;if(c)if(Nv(p))for(e=0;e<31;e++){i=c.options[e];var _=bi(u,p,i.value);i.disabled=_<f||_>d||h<=e}else for(e=0;e<31;e++)c.options[e].disabled=h<=e;t.refresh()},e.prototype.divyColumns=function(t){var e=t.getColumns(),n=[];if(e.forEach(function(t,e){n.push(0),t.options.forEach(function(t){t.text.length>n[e]&&(n[e]=t.text.length)})}),2===n.length){var r=Math.max(n[0],n[1]);e[0].columnWidth=e[1].columnWidth=16*r+"px"}else if(3===n.length){var r=Math.max(n[0],n[2]);e[1].columnWidth=16*n[1]+"px",e[0].columnWidth=e[2].columnWidth=16*r+"px"}else n.length>3&&n.forEach(function(t,n){e[n].columnWidth=12*t+"px"})},e.prototype.setValue=function(t){Oi(this._value,t)},e.prototype.getValue=function(){return this._value},e.prototype.checkHasValue=function(t){this._item&&this._item.setElementClass("input-has-value",!(!t||""===t))},e.prototype.updateText=function(){this._text=gi(this.displayFormat,this._value,this._locale)},e.prototype.calcMinMax=function(){var t=(new Date).getFullYear();Mv(this.min)&&(Nv(this.yearValues)?this.min=Math.min.apply(Math,ji(this.yearValues,"year")):this.min=(t-100).toString()),Mv(this.max)&&(Nv(this.yearValues)?this.max=Math.max.apply(Math,ji(this.yearValues,"year")):this.max=t.toString());var e=this._min=xi(this.min),n=this._max=xi(this.max);
  e.month=e.month||1,e.day=e.day||1,e.hour=e.hour||0,e.minute=e.minute||0,e.second=e.second||0,n.month=n.month||12,n.day=n.day||31,n.hour=n.hour||23,n.minute=n.minute||59,n.second=n.second||59},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t),this._item&&this._item.setElementClass("item-datetime-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(t){this.setValue(t),this.updateText(),this.checkHasValue(t)},e.prototype.ngAfterContentInit=function(){var t=this;["monthNames","monthShortNames","dayNames","dayShortNames"].forEach(function(e){t._locale[e]=Di(Nv(t[e])?t[e]:t._config.get(e),e)}),this.updateText()},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){e.setValue(n),e.updateText(),e.checkHasValue(n),t(Ii(e._value)),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.onChange=function(t){this.setValue(t),this.updateText(),this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.decorators=[{type:Sl,args:[{selector:"ion-datetime",template:'<div class="datetime-text">{{_text}}</div><button aria-haspopup="true" type="button" [id]="id" ion-button="item-cover" [attr.aria-labelledby]="_labelId" [attr.aria-disabled]="_disabled" class="item-cover"></button>',host:{"[class.datetime-disabled]":"_disabled"},providers:[Yx],encapsulation:Dl.None}]}],e.ctorParameters=[{type:Uv},{type:Hv},{type:_u},{type:cu},{type:px,decorators:[{type:hl}]},{type:sE,decorators:[{type:hl}]}],e.propDecorators={min:[{type:Al}],max:[{type:Al}],displayFormat:[{type:Al}],pickerFormat:[{type:Al}],cancelText:[{type:Al}],doneText:[{type:Al}],yearValues:[{type:Al}],monthValues:[{type:Al}],dayValues:[{type:Al}],hourValues:[{type:Al}],minuteValues:[{type:Al}],monthNames:[{type:Al}],monthShortNames:[{type:Al}],dayNames:[{type:Al}],dayShortNames:[{type:Al}],pickerOptions:[{type:Al}],mode:[{type:Al}],ionChange:[{type:kl}],ionCancel:[{type:kl}],_click:[{type:jl,args:["click",["$event"]]}],_keyup:[{type:jl,args:["keyup.space"]}],disabled:[{type:Al}]},e}(zb),$x=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)},Kx=function(t){function e(e,n,r){t.call(this,e,n,r),this.setElementClass("fab",!0),this.mode=e.get("mode")}return $x(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("fab",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("fab",t)},enumerable:!0,configurable:!0}),e.prototype.setActiveClose=function(t){this.setElementClass("fab-close-active",t)},e.decorators=[{type:Sl,args:[{selector:"[ion-fab]",template:'<ion-icon name="close" class="fab-close-icon"></ion-icon><span class="button-inner"><ng-content></ng-content></span><div class="button-effect"></div>',changeDetection:al.OnPush,encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}]},e}(zb),Zx=function(){function t(t,e){this._elementRef=t,this._renderer=e,this._visible=!1,this._fabs=[]}return Object.defineProperty(t.prototype,"_setbuttons",{set:function(t){for(var e=this._fabs=t.toArray(),n=0,r=e;n<r.length;n++){var i=r[n];i.setElementClass("fab-in-list",!0)}},enumerable:!0,configurable:!0}),t.prototype.setVisible=function(t){var e=Fv(t);if(e!==this._visible){this._visible=e;var n=this._fabs,r=1;e?n.forEach(function(t){ob(function(){return t.setElementClass("show",!0)},30*r),r++}):n.forEach(function(t){return t.setElementClass("show",!1)}),this.setElementClass("fab-list-active",e)}},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.decorators=[{type:Pl,args:[{selector:"ion-fab-list"}]}],t.ctorParameters=[{type:_u},{type:cu}],t.propDecorators={_setbuttons:[{type:wl,args:[Kx]}]},t}(),Qx=function(){function t(t){this._elementRef=t,this._events=new Yb,this._listsActive=!1}return t.prototype.ngAfterContentInit=function(){this._events.listen(this._mainButton.getNativeElement(),"click",this.pointerUp.bind(this))},t.prototype.pointerUp=function(t){this.canActivateList(t)&&this.toggleList()},t.prototype.canActivateList=function(t){if(this._fabLists.length>0&&this._mainButton&&t.target){var e=t.target.closest("ion-fab>button");return e&&e===this._mainButton.getNativeElement()}return!1},t.prototype.toggleList=function(){this.setActiveLists(!this._listsActive)},t.prototype.setActiveLists=function(t){if(t!==this._listsActive){for(var e=this._fabLists.toArray(),n=0,r=e;n<r.length;n++){var i=r[n];i.setVisible(t)}this._mainButton.setActiveClose(t),this._listsActive=t}},t.prototype.close=function(){this.setActiveLists(!1)},t.prototype.ngOnDestroy=function(){this._events.unlistenAll()},t.decorators=[{type:Sl,args:[{selector:"ion-fab",template:"<ng-content></ng-content>"}]}],t.ctorParameters=[{type:_u}],t.propDecorators={_mainButton:[{type:Cl,args:[Kx]}],_fabLists:[{type:wl,args:[Zx]}]},t}(),Jx=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-grid"}]}],t.ctorParameters=[],t}(),tO=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-row"}]}],t.ctorParameters=[],t}(),eO=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-col"}]}],t.ctorParameters=[],t}(),nO=function(){function t(t,e,n){this._elementRef=t,this._platform=e,this._zone=n,this._src="",this._normalizeSrc="",this._imgs=[],this._enabled=!0}return Object.defineProperty(t.prototype,"src",{set:function(t){var e=new Image;e.src=Nv(t)?t:"",this._src=Nv(t)?t:"",this._normalizeSrc=e.src,this._init&&this._update()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._init=!0,this._update()},t.prototype._update=function(){var t=this;if(this._enabled&&""!==this._src){for(var e=this._imgs.length-1;e>=0;e--)this._imgs[e].src===this._normalizeSrc?this._imgs[e].complete&&this._loaded(!0):(this._imgs[e].parentElement&&this._imgs[e].parentElement.removeChild(this._imgs[e]),this._imgs.splice(e,1));this._imgs.length||this._zone.runOutsideAngular(function(){var e=new Image;e.style.width=t._width,e.style.height=t._height,Nv(t.alt)&&(e.alt=t.alt),Nv(t.title)&&(e.title=t.title),e.addEventListener("load",function(){e.src===t._normalizeSrc&&(t._elementRef.nativeElement.appendChild(e),nb(function(){t._update()}))}),e.src=t._src,t._imgs.push(e),t._loaded(!1)})}else this._imgs.some(function(e){return e.src===t._normalizeSrc})||this._loaded(!1)},t.prototype._loaded=function(t){this._elementRef.nativeElement.classList[t?"add":"remove"]("img-loaded")},t.prototype.enable=function(t){this._enabled=t,this._update()},Object.defineProperty(t.prototype,"width",{set:function(t){this._w=Ni(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{set:function(t){this._h=Ni(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_width",{get:function(){return Nv(this._w)?this._w:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_height",{get:function(){return Nv(this._h)?this._h:""},enumerable:!0,configurable:!0}),t.decorators=[{type:Sl,args:[{selector:"ion-img",template:'<div class="img-placeholder" [style.height]="_h" [style.width]="_w"></div>',changeDetection:al.OnPush,encapsulation:Dl.None}]}],t.ctorParameters=[{type:_u},{type:pb},{type:fh}],t.propDecorators={src:[{type:Al}],width:[{type:Al}],height:[{type:Al}],alt:[{type:Al}],title:[{type:Al}],_width:[{type:Rl,args:["style.width"]}],_height:[{type:Rl,args:["style.height"]}]},t}(),rO=function(){function t(t,e,n){this._content=t,this._zone=e,this._elementRef=n,this._lastCheck=0,this._highestY=0,this._thr="15%",this._thrPx=0,this._thrPc=.15,this._init=!1,this.state=iO,this.ionInfinite=new hh,t.setElementClass("has-infinite-scroll",!0)}return Object.defineProperty(t.prototype,"threshold",{get:function(){return this._thr},set:function(t){this._thr=t,t.indexOf("%")>-1?(this._thrPx=0,this._thrPc=parseFloat(t)/100):(this._thrPx=parseFloat(t),this._thrPc=0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{set:function(t){this.enable(t)},enumerable:!0,configurable:!0}),t.prototype._onScroll=function(){var t=this;if(this.state===sO||this.state===oO)return 1;var e=Date.now();if(this._lastCheck+32>e)return 2;this._lastCheck=e;var n=this._elementRef.nativeElement.scrollHeight;if(!n)return 3;var r=this._content.getContentDimensions(),i=r.contentHeight;i+=this._thrPc?i*this._thrPc:this._thrPx;var o=r.scrollHeight-n-r.scrollTop-i;return o<0?(this._zone.run(function(){t.state!==sO&&t.state!==oO&&(t.state=sO,t.ionInfinite.emit(t))}),5):6},t.prototype.complete=function(){this.state=iO},t.prototype.enable=function(t){this.state=t?iO:oO,this._setListeners(t)},t.prototype._setListeners=function(t){var e=this;this._init&&(t?this._scLsn||this._zone.runOutsideAngular(function(){e._scLsn=e._content.addScrollListener(e._onScroll.bind(e))}):(this._scLsn&&this._scLsn(),this._scLsn=null))},t.prototype.ngAfterContentInit=function(){this._init=!0,this._setListeners(this.state!==oO)},t.prototype.ngOnDestroy=function(){this._setListeners(!1)},t.decorators=[{type:Pl,args:[{selector:"ion-infinite-scroll"}]}],t.ctorParameters=[{type:gw,decorators:[{type:yl}]},{type:fh},{type:_u}],t.propDecorators={threshold:[{type:Al}],enabled:[{type:Al}],ionInfinite:[{type:kl}]},t}(),iO="enabled",oO="disabled",sO="loading",aO=function(){function t(t,e){this.inf=t,this._config=e}return t.prototype.ngOnInit=function(){this.loadingSpinner||(this.loadingSpinner=this._config.get("infiniteLoadingSpinner",this._config.get("spinner","ios")))},t.decorators=[{type:Sl,args:[{selector:"ion-infinite-scroll-content",template:'<div class="infinite-loading"><div class="infinite-loading-spinner" *ngIf="loadingSpinner"><ion-spinner [name]="loadingSpinner"></ion-spinner></div><div class="infinite-loading-text" [innerHTML]="loadingText" *ngIf="loadingText"></div></div>',host:{"[attr.state]":"inf.state"},encapsulation:Dl.None}]}],t.ctorParameters=[{type:rO},{type:Hv}],t.propDecorators={loadingSpinner:[{type:Al}],loadingText:[{type:Al}]},t}(),lO=60,cO=10,uO="reorder-active",pO=function(){function t(t){this.reorderList=t,this.selectedItemEle=null,this.events=new Yb(!1),this.events.pointerEvents({element:this.reorderList.getNativeElement(),pointerDown:this.onDragStart.bind(this),pointerMove:this.onDragMove.bind(this),pointerUp:this.onDragEnd.bind(this)})}return t.prototype.onDragStart=function(t){if(this.selectedItemEle)return!1;var e=t.target;if("ION-REORDER"!==e.nodeName)return!1;var n=e.$ionComponent;if(!n)return console.error("ion-reorder does not contain $ionComponent"),!1;this.reorderList.reorderPrepare();var r=n.getReorderNode();return r?(t.preventDefault(),this.selectedItemEle=r,this.selectedItemHeight=r.offsetHeight,this.lastYcoord=-100,this.lastToIndex=Vi(r),this.windowHeight=window.innerHeight-lO,this.lastScrollPosition=this.reorderList.scrollContent(0),this.offset=Fr(t),this.offset.y+=this.lastScrollPosition,r.classList.add(uO),this.reorderList.reorderStart(),!0):(console.error("reorder node not found"),!1)},t.prototype.onDragMove=function(t){var e=this.selectedItemEle;if(e){t.preventDefault();var n=Fr(t),r=n.y,i=this.scroll(r);if(Math.abs(r-this.lastYcoord)>30){var o=this.itemForCoord(n);if(o){var s=Vi(o);if(void 0!==s&&(s!==this.lastToIndex||this.emptyZone)){var a=Vi(e);this.lastToIndex=s,this.lastYcoord=r,this.emptyZone=!1,this.reorderList.reorderMove(a,s,this.selectedItemHeight)}}else this.emptyZone=!0}var l=Math.round(r-this.offset.y+i);e.style[ab.transform]="translateY("+l+"px)"}},t.prototype.onDragEnd=function(t){var e=this,n=this.selectedItemEle;if(n){t&&(t.preventDefault(),t.stopPropagation());var r=this.lastToIndex,i=Vi(n),o=function(){e.selectedItemEle.style.transition="",e.selectedItemEle.classList.remove(uO),e.selectedItemEle=null};r===i?(n.style.transition="transform 200ms ease-in-out",setTimeout(o,200)):o(),this.reorderList.reorderEmit(i,r)}},t.prototype.itemForCoord=function(t){return Mi(this.offset.x-100,t.y,this.reorderList.getNativeElement())},t.prototype.scroll=function(t){return t<lO?this.lastScrollPosition=this.reorderList.scrollContent(-cO):t>this.windowHeight&&(this.lastScrollPosition=this.reorderList.scrollContent(cO)),this.lastScrollPosition},t.prototype.destroy=function(){this.onDragEnd(null),this.events.unlistenAll(),this.events=null,this.reorderList=null},t}(),hO=function(){function t(t,e,n,r){this._rendered=e,this._zone=n,this._content=r,this._enableReorder=!1,this._visibleReorder=!1,this._lastToIndex=-1,this.ionItemReorder=new hh,this._element=t.nativeElement}return t.prototype.ngOnDestroy=function(){this._element=null,this._reorderGesture&&this._reorderGesture.destroy()},Object.defineProperty(t.prototype,"reorder",{get:function(){return this._enableReorder},set:function(t){var e=this,n=Fv(t);!n&&this._reorderGesture?(this._reorderGesture.destroy(),this._reorderGesture=null,this._visibleReorder=!1,setTimeout(function(){return e._enableReorder=!1},400)):n&&!this._reorderGesture&&(this._reorderGesture=new pO(this),this._enableReorder=!0,Nr(2,function(){return e._visibleReorder=!0}))},enumerable:!0,configurable:!0}),t.prototype.reorderPrepare=function(){for(var t=this._element,e=t.children,n=0,r=e.length;n<r;n++){var i=e[n];i.$ionIndex=n,i.$ionReorderList=t}},t.prototype.reorderStart=function(){this.setElementClass("reorder-list-active",!0)},t.prototype.reorderEmit=function(t,e){var n=this;this.reorderReset(),t!==e&&this._zone.run(function(){n.ionItemReorder.emit({from:t,to:e})})},t.prototype.scrollContent=function(t){var e=this._content.getScrollTop()+t;return 0!==t&&this._content.scrollTo(0,e,0),e},t.prototype.reorderReset=function(){var t=this._element.children,e=t.length;this.setElementClass("reorder-list-active",!1);for(var n=ab.transform,r=0;r<e;r++)t[r].style[n]="";this._lastToIndex=-1},t.prototype.reorderMove=function(t,e,n){this._lastToIndex===-1&&(this._lastToIndex=t);var r=this._lastToIndex;this._lastToIndex=e;var i=this._element.children,o=ab.transform;if(e>=r)for(var s=r;s<=e;s++)s!==t&&(i[s].style[o]=s>t?"translateY("+-n+"px)":"");if(e<=r)for(var s=e;s<=r;s++)s!==t&&(i[s].style[o]=s<t?"translateY("+n+"px)":"")},t.prototype.setElementClass=function(t,e){this._rendered.setElementClass(this._element,t,e)},t.prototype.getNativeElement=function(){return this._element},t.decorators=[{type:Pl,args:[{selector:"ion-list[reorder],ion-item-group[reorder]",host:{"[class.reorder-enabled]":"_enableReorder","[class.reorder-visible]":"_visibleReorder"}}]}],t.ctorParameters=[{type:_u},{type:cu},{type:fh},{type:gw,decorators:[{type:hl}]}],t.propDecorators={ionItemReorder:[{type:kl}],reorder:[{type:Al}]},t}(),fO=function(){function t(t,e){this.item=t,this.elementRef=e,e.nativeElement.$ionComponent=this}return t.prototype.getReorderNode=function(){var t=this.item.getNativeElement();return Li(t,null)},t.prototype.onClick=function(t){t.preventDefault(),t.stopPropagation()},t.decorators=[{type:Sl,args:[{selector:"ion-reorder",template:'<ion-icon name="reorder"></ion-icon>'}]}],t.ctorParameters=[{type:hO,decorators:[{type:pl,args:[C(function(){return px})]}]},{type:_u}],t.propDecorators={onClick:[{type:jl,args:["click",["$event"]]}]},t}(),dO=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=10,yO=20,gO=function(t){function e(e){t.call(this,e.getNativeElement(),{maxAngle:yO,threshold:_O,gesture:e._gestureCtrl.create("item-sliding",{priority:-10})}),this.list=e,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null}return dO(e,t),e.prototype.canStart=function(t){if(this.selectedContainer)return!1;var e=Fi(t);if(!e)return this.closeOpened(),!1;e!==this.openContainer&&this.closeOpened();var n=Fr(t);return this.preSelectedContainer=e,this.firstCoordX=n.x,this.firstTimestamp=Date.now(),!0},e.prototype.onDragStart=function(t){t.preventDefault();var e=Fr(t);this.selectedContainer=this.openContainer=this.preSelectedContainer,this.selectedContainer.startSliding(e.x)},e.prototype.onDragMove=function(t){t.preventDefault();var e=Fr(t).x;this.selectedContainer.moveSliding(e)},e.prototype.onDragEnd=function(t){t.preventDefault();var e=Fr(t).x,n=e-this.firstCoordX,r=Date.now()-this.firstTimestamp;this.selectedContainer.endSliding(n/r),this.selectedContainer=null,this.preSelectedContainer=null},e.prototype.notCaptured=function(t){Bi(t)||this.closeOpened()},e.prototype.closeOpened=function(){return this.selectedContainer=null,!!this.openContainer&&(this.openContainer.close(),this.openContainer=null,!0)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.closeOpened(),this.list=null,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null},e}(Xb),mO=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)},vO=function(t){function e(e,n,r,i){t.call(this,e,n,r),this._gestureCtrl=i,this._enableSliding=!0,this._containsSlidingItems=!1,this.mode=e.get("mode")}return mO(e,t),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("list",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sliding",{get:function(){return this._enableSliding},set:function(t){this._enableSliding=Fv(t),this._updateSlidingState()},enumerable:!0,configurable:!0}),e.prototype.containsSlidingItem=function(t){this._containsSlidingItems=t,this._updateSlidingState()},e.prototype._updateSlidingState=function(){var t=this._enableSliding&&this._containsSlidingItems;t?this._slidingGesture||(this._slidingGesture=new gO(this),this._slidingGesture.listen()):(this._slidingGesture&&this._slidingGesture.destroy(),this._slidingGesture=null)},e.prototype.closeSlidingItems=function(){this._slidingGesture&&this._slidingGesture.closeOpened()},e.prototype.destroy=function(){this._slidingGesture&&this._slidingGesture.destroy()},e.decorators=[{type:Pl,args:[{selector:"ion-list"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:Db}],e.propDecorators={mode:[{type:Al}],sliding:[{type:Al}]},e}(zb),bO=30,wO=.55,CO=function(){function t(t,e){this._elementRef=t,this._renderer=e,this.ionSwipe=new hh}return t.prototype.getSides=function(){return Nv(this.side)&&"left"===this.side?1:2},t.prototype.width=function(){return this._elementRef.nativeElement.offsetWidth},t.decorators=[{type:Pl,args:[{selector:"ion-item-options"}]}],t.ctorParameters=[{type:_u},{type:cu}],t.propDecorators={side:[{type:Al}],ionSwipe:[{type:kl}]},t}(),EO=function(){function t(t,e,n,r){this._renderer=e,this._elementRef=n,this._zone=r,this._openAmount=0,this._startX=0,this._optsWidthRightSide=0,this._optsWidthLeftSide=0,this._timer=null,this._optsDirty=!0,this._state=2,this.ionDrag=new hh,t&&t.containsSlidingItem(!0),n.nativeElement.$ionComponent=this,this.setElementClass("item-wrapper",!0)}return Object.defineProperty(t.prototype,"_itemOptions",{set:function(t){for(var e=0,n=0,r=t.toArray();n<r.length;n++){var i=r[n],o=i.getSides();1===o?this._leftOptions=i:this._rightOptions=i,e|=i.getSides()}this._optsDirty=!0,this._sides=e},enumerable:!0,configurable:!0}),t.prototype.getOpenAmount=function(){return this._openAmount},t.prototype.getSlidingPercent=function(){var t=this._openAmount;return t>0?t/this._optsWidthRightSide:t<0?t/this._optsWidthLeftSide:0},t.prototype.startSliding=function(t){this._timer&&(sb(this._timer),this._timer=null),0===this._openAmount&&(this._optsDirty=!0,this._setState(4)),this._startX=t+this._openAmount,this.item.setElementStyle(ab.transition,"none")},t.prototype.moveSliding=function(t){if(this._optsDirty)return void this.calculateOptsWidth();var e=this._startX-t;switch(this._sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;default:return}if(e>this._optsWidthRightSide){var n=this._optsWidthRightSide;e=n+(e-n)*wO}else if(e<-this._optsWidthLeftSide){var n=-this._optsWidthLeftSide;e=n+(e-n)*wO}return this._setOpenAmount(e,!1),e},t.prototype.endSliding=function(t){var e=this._openAmount>0?this._optsWidthRightSide:-this._optsWidthLeftSide,n=this._openAmount>0==!(t<0),r=Math.abs(t)>.3,i=Math.abs(this._openAmount)<Math.abs(e/2);return Hi(n,r,i)&&(e=0),this._setOpenAmount(e,!0),this.fireSwipeEvent(),e},t.prototype.fireSwipeEvent=function(){var t=this;32&this._state?this._zone.run(function(){return t._rightOptions.ionSwipe.emit(t)}):64&this._state&&this._zone.run(function(){return t._leftOptions.ionSwipe.emit(t)})},t.prototype.calculateOptsWidth=function(){var t=this;nb(function(){t._optsDirty&&(t._optsWidthRightSide=0,t._rightOptions&&(t._optsWidthRightSide=t._rightOptions.width()),t._optsWidthLeftSide=0,t._leftOptions&&(t._optsWidthLeftSide=t._leftOptions.width()),t._optsDirty=!1)})},t.prototype._setOpenAmount=function(t,e){var n=this;if(this._timer&&(sb(this._timer),this._timer=null),this._openAmount=t,e)this.item.setElementStyle(ab.transition,"");else if(t>0){var r=t>=this._optsWidthRightSide+bO?40:8;this._setState(r)}else if(t<0){var r=t<=-this._optsWidthLeftSide-bO?80:16;this._setState(r)}return 0===t?(this._timer=ob(function(){n._setState(2),n._timer=null},600),void this.item.setElementStyle(ab.transform,"")):(this.item.setElementStyle(ab.transform,"translate3d("+-t+"px,0,0)"),void this._zone.run(function(){return n.ionDrag.emit(n)}))},t.prototype._setState=function(t){t!==this._state&&(this.setElementClass("active-slide",2!==t),this.setElementClass("active-options-right",!!(8&t)),this.setElementClass("active-options-left",!!(16&t)),this.setElementClass("active-swipe-right",!!(32&t)),this.setElementClass("active-swipe-left",!!(64&t)),this._state=t)},t.prototype.close=function(){this._setOpenAmount(0,!0)},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.decorators=[{type:Sl,args:[{selector:"ion-item-sliding",template:'\n    <ng-content select="ion-item,[ion-item]"></ng-content>\n    <ng-content select="ion-item-options"></ng-content>\n  ',changeDetection:al.OnPush,encapsulation:Dl.None}]}],t.ctorParameters=[{type:vO,decorators:[{type:hl}]},{type:cu},{type:_u},{type:fh}],t.propDecorators={item:[{type:Cl,args:[px]}],ionDrag:[{type:kl}],_itemOptions:[{type:wl,args:[CO]}]},t}(),xO=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)},OO=function(t){function e(e,n,r,i){t.call(this,e,r,n),this._id=i,this._setMode("list-header",e.get("mode"))}return xO(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:Pl,args:[{selector:"ion-list-header"}]}],e.ctorParameters=[{type:Hv},{type:cu},{type:_u},{type:void 0,decorators:[{type:vl,args:["id"]}]}],e}(zb),TO=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)},PO=function(t){function e(e,n,r){void 0===r&&(r={}),t.call(this,n,wr({direction:"x",edge:e.side,threshold:0,maxEdgeStart:e.maxEdgeStart||50,maxAngle:40,gesture:e.gestureCtrl.create("menu-swipe",{priority:10})},r)),this.menu=e}return TO(e,t),e.prototype.canStart=function(e){var n=this.menu;return!!n.canSwipe()&&(!!n.isOpen||!n.getMenuController().getOpen()&&t.prototype.canStart.call(this,e))},e.prototype.onSlideBeforeStart=function(t){this.menu.swipeStart()},e.prototype.onSlide=function(t,e){var n="right"===this.menu.side?t.min:t.max,r=t.distance/n;e.preventDefault(),this.menu.swipeProgress(r)},e.prototype.onSlideEnd=function(t,e){var n="right"===this.menu.side?t.min:t.max,r=t.distance/n,i=t.velocity;n=Math.abs(.5*n);var o=i>=0&&(i>.2||t.delta>n),s=i<=0&&(i<-.2||t.delta<-n);this.menu.swipeEnd(s,o,r)},e.prototype.getElementStartPos=function(t,e){return"right"===this.menu.side?this.menu.isOpen?t.min:t.max:this.menu.isOpen?t.max:t.min},e.prototype.getSlideBoundaries=function(){return"right"===this.menu.side?{min:-this.menu.width(),max:0}:{min:0,max:this.menu.width()}},e}(Qb),SO=function(){function t(t,e,n,r,i,o,s,a){this._menuCtrl=t,this._elementRef=e,this._config=n,this._platform=r,this._renderer=i,this._keyboard=o,this._zone=s,this.gestureCtrl=a,this._isEnabled=!0,this._isSwipeEnabled=!0,this._isAnimating=!1,this._isPers=!1,this._init=!1,this._events=new Yb,this.isOpen=!1,this.ionDrag=new hh,this.ionOpen=new hh,this.ionClose=new hh}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=Fv(t),this._setListeners()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swipeEnabled",{get:function(){return this._isSwipeEnabled},set:function(t){this._isSwipeEnabled=Fv(t),this._setListeners()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"persistent",{get:function(){return this._isPers},set:function(t){this._isPers=Fv(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._init=!0;var e=this.content;if(this._cntEle=e instanceof Node?e:e&&e.getNativeElement&&e.getNativeElement(),!this._cntEle)return console.error('Menu: must have a [content] element to listen for drag events on. Example:\n\n<ion-menu [content]="content"></ion-menu>\n\n<ion-nav #content></ion-nav>');"left"!==this.side&&"right"!==this.side&&(this.side="left"),this.setElementAttribute("side",this.side),this.type||(this.type=this._config.get("menuType")),this.setElementAttribute("type",this.type),this._cntGesture=new PO(this,document.body);var n=this._menuCtrl.getMenus().some(function(e){return e.side===t.side&&e.enabled});n&&(this._isEnabled=!1),this._setListeners(),this._cntEle.classList.add("menu-content"),this._cntEle.classList.add("menu-content-"+this.type),this._menuCtrl.register(this)},t.prototype.onBackdropClick=function(t){return t.preventDefault(),t.stopPropagation(),this._menuCtrl.close(),!1},t.prototype._setListeners=function(){this._init&&(this._isEnabled&&this._isSwipeEnabled&&!this._cntGesture.isListening?this._cntGesture.listen():!this._cntGesture.isListening||this._isEnabled&&this._isSwipeEnabled||this._cntGesture.unlisten())},t.prototype._getType=function(){return this._type||(this._type=YC.create(this.type,this,this._platform),this._config.get("animate")===!1&&this._type.ani.duration(0)),this._type},t.prototype.setOpen=function(t,e){var n=this;return void 0===e&&(e=!0),t&&this.isOpen||!this._isEnabled||this._isAnimating?Promise.resolve(this.isOpen):(this._before(),new Promise(function(r){n._getType().setOpen(t,e,function(){n._after(t),r(n.isOpen)})}))},t.prototype.canSwipe=function(){return this._isEnabled&&this._isSwipeEnabled&&!this._isAnimating},t.prototype.swipeStart=function(){this.canSwipe()&&(this._before(),this._getType().setProgressStart(this.isOpen))},t.prototype.swipeProgress=function(t){this._isAnimating&&(this._getType().setProgessStep(t),this.ionDrag.emit(t))},t.prototype.swipeEnd=function(t,e,n){var r=this;if(this._isAnimating){var i=!this.isOpen,o=!1;o=i?"right"===this.side?t:e:"right"===this.side?e:t,this._getType().setProgressEnd(o,n,function(t){r._after(t)})}},t.prototype._before=function(){this.menuContent&&this.menuContent.resize(),this.setElementClass("show-menu",!0),this.backdrop.setElementClass("show-backdrop",!0),this._keyboard.close(),this._isAnimating=!0},t.prototype._after=function(t){if(this.isOpen=t,this._isAnimating=!1,this._events.unlistenAll(),t){this._cntEle.classList.add("menu-content-open");var e=this.onBackdropClick.bind(this);this._events.pointerEvents({element:this._cntEle,pointerDown:e}),this._events.pointerEvents({element:this.backdrop.getNativeElement(),pointerDown:e}),this.ionOpen.emit(!0)}else this._cntEle.classList.remove("menu-content-open"),this.setElementClass("show-menu",!1),this.backdrop.setElementClass("show-menu",!1),this.ionClose.emit(!0)},t.prototype.open=function(){return this.setOpen(!0)},t.prototype.close=function(){return this.setOpen(!1)},t.prototype.toggle=function(){return this.setOpen(!this.isOpen)},t.prototype.enable=function(t){var e=this;return this.enabled=t,!t&&this.isOpen&&this.close(),t&&this._menuCtrl.getMenus().filter(function(t){return t.side===e.side&&t!==e}).map(function(t){return t.enabled=!1}),this},t.prototype.swipeEnable=function(t){return this.swipeEnabled=t,this},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.getMenuElement=function(){return this.getNativeElement().querySelector(".menu-inner")},t.prototype.getContentElement=function(){return this._cntEle},t.prototype.getBackdropElement=function(){return this.backdrop.getNativeElement()},t.prototype.width=function(){return this.getMenuElement().offsetWidth},t.prototype.getMenuController=function(){return this._menuCtrl},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.ngOnDestroy=function(){this._menuCtrl.unregister(this),this._events.unlistenAll(),this._cntGesture&&this._cntGesture.destroy(),this._type&&this._type.destroy(),this._resizeUnreg&&this._resizeUnreg(),this._cntGesture=null,this._type=null,this._cntEle=null,this._resizeUnreg=null},t.decorators=[{type:Sl,args:[{selector:"ion-menu",template:'<div class="menu-inner"><ng-content></ng-content></div><ion-backdrop disableScroll="false"></ion-backdrop>',host:{role:"navigation"},changeDetection:al.OnPush,encapsulation:Dl.None}]}],t.ctorParameters=[{type:YC},{type:_u},{type:Hv},{type:pb},{type:cu},{type:Fb},{type:fh},{type:Db}],t.propDecorators={backdrop:[{type:xl,args:[KE]}],menuContent:[{type:Cl,args:[gw]}],content:[{type:Al}],id:[{type:Al}],side:[{type:Al}],type:[{type:Al}],enabled:[{type:Al}],swipeEnabled:[{type:Al}],persistent:[{type:Al}],maxEdgeStart:[{type:Al}],ionDrag:[{type:kl}],ionOpen:[{type:kl}],ionClose:[{type:kl}]},t}(),IO=function(){function t(t){this._menu=t}return t.prototype.close=function(){var t=this._menu.get(this.menuClose);t&&t.close()},t.decorators=[{type:Pl,args:[{selector:"[menuClose]"}]}],t.ctorParameters=[{type:YC}],t.propDecorators={menuClose:[{type:Al}],close:[{type:jl,args:["click"]}]},t}(),AO=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)},kO=function(t){function e(e,n,r,i){t.call(this,e,n,r),this._setMode("header",e.get("mode")),i&&i._setHeader(this)}return AO(e,t),e.decorators=[{type:Pl,args:[{selector:"ion-header"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:qv,decorators:[{type:hl}]}],e}(zb),RO=function(t){function e(e,n,r,i){t.call(this,e,n,r),this._setMode("footer",e.get("mode")),i&&i._setFooter(this)}return AO(e,t),e.decorators=[{type:Pl,args:[{selector:"ion-footer"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:qv,decorators:[{type:hl}]}],e}(zb),jO=function(t){function e(e,n,r){t.call(this,e,n,r)}return AO(e,t),e.prototype._setTitle=function(t){this._title=t},e.prototype.getTitleText=function(){return this._title&&this._title.getTitleText()||""},e}(zb),DO=function(t){function e(e,n,r,i){t.call(this,n,r,i),this.mode=n.get("mode"),this._sbPadding=n.getBoolean("statusbarPadding")}return AO(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("toolbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("toolbar",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:Sl,args:[{selector:"ion-toolbar",template:'<div class="toolbar-background" [ngClass]="\'toolbar-background-\' + _mode"></div><ng-content select="[menuToggle],ion-buttons[left]"></ng-content><ng-content select="ion-buttons[start]"></ng-content><ng-content select="ion-buttons[end],ion-buttons[right]"></ng-content><div class="toolbar-content" [ngClass]="\'toolbar-content-\' + _mode"><ng-content></ng-content></div>',
  host:{class:"toolbar","[class.statusbar-padding]":"_sbPadding"},changeDetection:al.OnPush}]}],e.ctorParameters=[{type:qv,decorators:[{type:hl}]},{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}]},e}(jO),NO=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)},MO=function(t){function e(e,n,r,i,o,s){t.call(this,i,o,s),this._app=e,this.navCtrl=r,this._hidden=!1,this._hideBb=!1,this.mode=i.get("mode"),n&&n._setNavbar(this),this._bbIcon=i.get("backButtonIcon"),this._sbPadding=i.getBoolean("statusbarPadding")}return NO(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("toolbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("toolbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideBackButton",{get:function(){return this._hideBb},set:function(t){this._hideBb=Fv(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setBackButtonText(this._config.get("backButtonText","Back"))},e.prototype.backButtonClick=function(t){t.preventDefault(),t.stopPropagation(),this.navCtrl&&this.navCtrl.pop(null,null)},e.prototype.setBackButtonText=function(t){this._renderer.setText(this._bbTxt.nativeElement,t)},e.prototype.didEnter=function(){try{this._app.setTitle(this.getTitleText())}catch(t){console.error(t)}},e.prototype.setHidden=function(t){this._hidden=t},e.decorators=[{type:Sl,args:[{selector:"ion-navbar",template:'<div class="toolbar-background" [ngClass]="\'toolbar-background-\' + _mode"></div><button (click)="backButtonClick($event)" ion-button="bar-button" class="back-button" [ngClass]="\'back-button-\' + _mode" [hidden]="_hideBb"><span class="button-inner"><ion-icon class="back-button-icon" [ngClass]="\'back-button-icon-\' + _mode" [name]="_bbIcon"></ion-icon><span class="back-button-text" [ngClass]="\'back-button-text-\' + _mode" #bbTxt></span></span></button><ng-content select="[menuToggle],ion-buttons[left]"></ng-content><ng-content select="ion-buttons[start]"></ng-content><ng-content select="ion-buttons[end],ion-buttons[right]"></ng-content><div class="toolbar-content" [ngClass]="\'toolbar-content-\' + _mode"><ng-content></ng-content></div>',host:{"[hidden]":"_hidden",class:"toolbar","[class.statusbar-padding]":"_sbPadding"}}]}],e.ctorParameters=[{type:gb},{type:qv,decorators:[{type:hl}]},{type:Gb,decorators:[{type:hl}]},{type:Hv},{type:_u},{type:cu}],e.propDecorators={_bbTxt:[{type:xl,args:["bbTxt"]}],color:[{type:Al}],mode:[{type:Al}],hideBackButton:[{type:Al}]},e}(jO),LO=function(){function t(t,e,n,r){this._menu=t,this._viewCtrl=n,this._navbar=r,this._inNavbar=!!r}return t.prototype.toggle=function(){var t=this._menu.get(this.menuToggle);t&&t.toggle()},Object.defineProperty(t.prototype,"isHidden",{get:function(){if(this._inNavbar&&this._viewCtrl){if(this._viewCtrl.isFirst())return!1;var t=this._menu.get(this.menuToggle);if(t)return!t.persistent}return!1},enumerable:!0,configurable:!0}),t.decorators=[{type:Pl,args:[{selector:"[menuToggle]",host:{"[hidden]":"isHidden",menuToggle:""}}]}],t.ctorParameters=[{type:YC},{type:_u},{type:qv,decorators:[{type:hl}]},{type:MO,decorators:[{type:hl}]}],t.propDecorators={menuToggle:[{type:Al}],toggle:[{type:jl,args:["click"]}]},t}(),VO=function(){function t(t,e,n,r){this._elementRef=t,this._renderer=e,this.ngControl=r,this.focusChange=new hh,this.valueChange=new hh,this._clone=n.getBoolean("inputCloning",!1),this._blurring=n.getBoolean("inputBlurring",!1)}return t.prototype._change=function(t){this.valueChange.emit(t.target.value)},t.prototype._focus=function(){function t(t){var n=t.target;n&&e.element()&&("INPUT"===n.tagName||"TEXTAREA"===n.tagName||n.classList.contains("input-cover")||e.element().blur())}var e=this;e.focusChange.emit(!0),e._blurring&&(document.addEventListener("touchend",t,!0),e._unrefBlur=function(){document.removeEventListener("touchend",t,!0)})},t.prototype._blur=function(){this.focusChange.emit(!1),this.hideFocus(!1),this._unrefBlur&&this._unrefBlur(),this._unrefBlur=null},t.prototype.labelledBy=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-labelledby",t)},t.prototype.isDisabled=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"disabled",t?"":null)},t.prototype.setFocus=function(){document.activeElement!==this.element()&&this.element().focus()},t.prototype.beginFocus=function(t,e){if(this._relocated!==t){var n=this.element();if(t){if(this._clone){var r=zi(n,"cloned-focus");n.parentNode.insertBefore(r,n),n.style[ab.transform]="translate3d(-9999px,"+e+"px,0)",n.style.opacity="0"}this.setFocus(),this._clone&&n.classList.add("cloned-active")}else this._clone&&(n.classList.remove("cloned-active"),n.style[ab.transform]="",n.style.opacity="",Ui(n,"cloned-focus"));this._relocated=t}},t.prototype.hideFocus=function(t){var e=this.element();if(t){var n=zi(e,"cloned-move");e.classList.add("cloned-active"),e.parentNode.insertBefore(n,e)}else e.classList.remove("cloned-active"),Ui(e,"cloned-move")},t.prototype.hasFocus=function(){return zr(this.element())},t.prototype.getValue=function(){return this.element().value},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.element=function(){return this._elementRef.nativeElement},t.prototype.ngOnDestroy=function(){this._unrefBlur&&this._unrefBlur()},t.decorators=[{type:Pl,args:[{selector:".text-input"}]}],t.ctorParameters=[{type:_u},{type:cu},{type:Hv},{type:lg}],t.propDecorators={focusChange:[{type:kl}],valueChange:[{type:kl}],_change:[{type:jl,args:["input",["$event"]]}],_focus:[{type:jl,args:["focus"]}],_blur:[{type:jl,args:["blur"]}]},t}(),FO=function(){function t(){this.focused=new hh}return t.prototype.receivedFocus=function(){this.focused.emit(!0)},t.decorators=[{type:Pl,args:[{selector:"[next-input]"}]}],t.ctorParameters=[],t.propDecorators={focused:[{type:kl}],receivedFocus:[{type:jl,args:["focus"]}]},t}(),BO=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,r,i,o,s,a,l,c,u,p,h){t.call(this,n,r,i,o,s,a,l,c,u,p,h),this._hasInit=!1,e&&e._setContent(this),n?n.registerChildNav(this):e&&e.getNav()?(this.parent=e.getNav(),this.parent.registerChildNav(this)):r&&!r.getRootNav()&&r._setRootNav(this)}return BO(e,t),Object.defineProperty(e.prototype,"_vp",{set:function(t){this.setViewport(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this._hasInit=!0;var t=this._linker.initNav(this);t&&t.component?this.setPages(this._linker.initViews(t),null,null):this._root&&this.push(this._root,this.rootParams,{isNavRoot:this._app.getRootNav()===this},null)},e.prototype.goToRoot=function(t){this.setRoot(this._root,this.rootParams,t,null)},Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(t){this._root=t,this._hasInit&&this.setRoot(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=Fv(t)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroy()},e.decorators=[{type:Sl,args:[{selector:"ion-nav",template:'<div #viewport nav-viewport></div><div class="nav-decor"></div>',encapsulation:Dl.None}]}],e.ctorParameters=[{type:qv,decorators:[{type:hl}]},{type:nw,decorators:[{type:hl}]},{type:gb},{type:Hv},{type:Fb},{type:_u},{type:fh},{type:cu},{type:zu},{type:Db},{type:MC},{type:Pb,decorators:[{type:hl}]}],e.propDecorators={_vp:[{type:xl,args:["viewport",{read:vu}]}],root:[{type:Al}],rootParams:[{type:Al}],swipeBackEnabled:[{type:Al}]},e}(nw),zO=function(){function t(t){this._nav=t,t||console.error("navPop must be within a NavController")}return t.prototype.onClick=function(){return!this._nav||(this._nav.pop(null,null),!1)},t.decorators=[{type:Pl,args:[{selector:"[navPop]"}]}],t.ctorParameters=[{type:Gb,decorators:[{type:hl}]}],t.propDecorators={onClick:[{type:jl,args:["click"]}]},t}(),UO=function(){function t(t,e,n){this.host=t,this.linker=e,this.viewCtrl=n}return t.prototype.updateHref=function(){if(this.host&&this.viewCtrl){var t=this.host._nav.getPrevious(this.viewCtrl);this.href=t&&this.linker.createUrl(this.host._nav,this.viewCtrl.component,this.viewCtrl.data)||"#"}else this.href="#"},t.prototype.ngOnChanges=function(){this.updateHref()},t.prototype.ngAfterViewInit=function(){this.updateHref()},t.decorators=[{type:Pl,args:[{selector:"a[navPop]"}]}],t.ctorParameters=[{type:zO,decorators:[{type:hl}]},{type:Pb},{type:qv,decorators:[{type:hl}]}],t.propDecorators={href:[{type:Rl}]},t}(),GO=function(){function t(t){this._nav=t,t||console.error("navPush must be within a NavController")}return t.prototype.onClick=function(){return!this._nav||(this._nav.push(this.navPush,this.navParams,null),!1)},t.decorators=[{type:Pl,args:[{selector:"[navPush]"}]}],t.ctorParameters=[{type:Gb,decorators:[{type:hl}]}],t.propDecorators={navPush:[{type:Al}],navParams:[{type:Al}],onClick:[{type:jl,args:["click"]}]},t}(),WO=function(){function t(t,e){this.host=t,this.linker=e}return t.prototype.updateHref=function(){this.host&&this.linker?this.href=this.linker.createUrl(this.host._nav,this.host.navPush,this.host.navParams)||"#":this.href="#"},t.prototype.ngOnChanges=function(){this.updateHref()},t.prototype.ngAfterViewInit=function(){this.updateHref()},t.decorators=[{type:Pl,args:[{selector:"a[navPush]"}]}],t.ctorParameters=[{type:GO,decorators:[{type:yl}]},{type:Pb,decorators:[{type:hl}]}],t.propDecorators={href:[{type:Rl}]},t}(),qO=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-note"}]}],t.ctorParameters=[],t}(),YO=function(){function t(t){this._elementRef=t,this._selected=!1,this._disabled=!1,this.ionSelect=new hh}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return Nv(this._value)?this._value:this.text},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._elementRef.nativeElement.textContent},enumerable:!0,configurable:!0}),t.decorators=[{type:Pl,args:[{selector:"ion-option"}]}],t.ctorParameters=[{type:_u}],t.propDecorators={ionSelect:[{type:kl}],selected:[{type:Al}],value:[{type:Al}],disabled:[{type:Al}]},t}(),XO={provide:tg,useExisting:C(function(){return $O}),multi:!0},$O=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._btns=[],this._ids=-1,this._init=!1,this.ionChange=new hh,this.id=++KO}return t.prototype.ngAfterContentInit=function(){var t=this._btns.find(function(t){return t.checked});t&&this._setActive(t)},t.prototype.writeValue=function(t){this.value=t,this._init&&(this._update(),this.onTouched(),this.ionChange.emit(t)),this._init=!0},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e.value=n,e._update(),e.onTouched(),e.ionChange.emit(n)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._update=function(){var t=this,e=!1;this._btns.forEach(function(n){n.checked=Bv(t.value,n.value)&&!e,n.checked&&(t._setActive(n),e=!0)})},t.prototype._setActive=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-activedescendant",t.id)},t.prototype.add=function(t){var e=this;return this._btns.push(t),t.ionSelect.subscribe(function(t){e.onChange(t)}),this.id+"-"+ ++this._ids},t.prototype.remove=function(t){var e=this._btns.indexOf(t);e>-1&&(t.value===this.value&&(this.value=null),this._btns.splice(e,1))},Object.defineProperty(t.prototype,"_header",{set:function(t){t&&(t.id||(t.id="rg-hdr-"+this.id),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-describedby",t.id))},enumerable:!0,configurable:!0}),t.prototype.onChange=function(t){this.value=t,this._update(),this.onTouched(),this.ionChange.emit(t)},t.prototype.onTouched=function(){},t.decorators=[{type:Pl,args:[{selector:"[radio-group]",host:{role:"radiogroup"},providers:[XO]}]}],t.ctorParameters=[{type:cu},{type:_u}],t.propDecorators={ionChange:[{type:kl}],_header:[{type:Cl,args:[OO]}]},t}(),KO=-1,ZO=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)},QO=function(t){function e(e,n,r,i,o,s){t.call(this,n,r,i),this._form=e,this._item=o,this._group=s,this._checked=!1,this._disabled=!1,this._value=null,this.ionSelect=new hh,this.mode=n.get("mode"),e.register(this),s&&(this.id="rb-"+s.add(this)),o&&(this.id="rb-"+o.registerInput("radio"),this._labelId="lbl-"+o.id,this._item.setElementClass("item-radio",!0))}return ZO(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("radio",t),this._item&&this._item._updateColor(t,"item-radio")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("radio",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return Mv(this._value)?this.id:this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=Fv(t),this._item&&this._item.setElementClass("item-radio-checked",this._checked)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t),this._item&&this._item.setElementClass("item-radio-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.checked=!0,this.ionSelect.emit(this.value)},e.prototype.ngOnInit=function(){this._group&&Nv(this._group.value)&&(this.checked=Bv(this._group.value,this.value))},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._group&&this._group.remove(this)},e.decorators=[{type:Sl,args:[{selector:"ion-radio",template:'<div class="radio-icon" [class.radio-checked]="_checked"> <div class="radio-inner"></div> </div> <button role="radio" type="button" ion-button="item-cover" [id]="id" [attr.aria-checked]="_checked" [attr.aria-labelledby]="_labelId" [attr.aria-disabled]="_disabled" class="item-cover"> </button>',host:{"[class.radio-disabled]":"_disabled"},encapsulation:Dl.None}]}],e.ctorParameters=[{type:Uv},{type:Hv},{type:_u},{type:cu},{type:px,decorators:[{type:hl}]},{type:$O,decorators:[{type:hl}]}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],ionSelect:[{type:kl}],value:[{type:Al}],checked:[{type:Al}],disabled:[{type:Al}],_click:[{type:jl,args:["click",["$event"]]}]},e}(zb),JO=function(){function t(t){this.wait=t,this.timer=null}return t.prototype.debounce=function(t){this.callback=t,this.schedule()},t.prototype.schedule=function(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.wait<=0?this.callback():this.timer=setTimeout(this.callback,this.wait)},t}(),tT=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={provide:tg,useExisting:C(function(){return rT}),multi:!0},nT=function(){function t(t){this.range=t}return Object.defineProperty(t.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=br(0,t,1),this._val=this.range.ratioToValue(this._ratio),this.range.snaps&&(this._ratio=this.range.valueToRatio(this._val))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._val},set:function(t){Av(t)&&(t=Math.round(t)),kv(t)&&!isNaN(t)&&(this._ratio=this.range.valueToRatio(t),this._val=this.range.ratioToValue(this._ratio))},enumerable:!0,configurable:!0}),t.prototype.position=function(){this._x=100*this._ratio+"%"},t.prototype.ngOnInit=function(){Nv(this.range.value)?this.range.dualKnobs?this.upper?this.value=this.range.value.upper:this.value=this.range.value.lower:this.value=this.range.value:this.ratio=this.range.dualKnobs&&this.upper?1:0,this.position()},t.decorators=[{type:Sl,args:[{selector:".range-knob-handle",template:'<div class="range-pin" *ngIf="range.pin">{{_val}}</div><div class="range-knob"></div>',host:{"[class.range-knob-pressed]":"pressed","[class.range-knob-min]":"_val===range.min","[class.range-knob-max]":"_val===range.max","[style.left]":"_x","[attr.aria-valuenow]":"_val","[attr.aria-valuemin]":"range.min","[attr.aria-valuemax]":"range.max",role:"slider",tabindex:"0"}}]}],t.ctorParameters=[{type:rT,decorators:[{type:pl,args:[C(function(){return rT})]}]}],t.propDecorators={upper:[{type:Al}]},t}(),rT=function(t){function e(e,n,r,i,o,s){t.call(this,i,o,s),this._form=e,this._haptic=n,this._item=r,this._dual=!1,this._disabled=!1,this._start=null,this._min=0,this._max=100,this._step=1,this._snaps=!1,this._debouncer=new JO(0),this._events=new Yb,this.ionChange=new hh,this.mode=i.get("mode"),e.register(this),r&&(this.id="rng-"+r.registerInput("range"),this._labelId="lbl-"+r.id,r.setElementClass("item-range",!0))}return tT(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("range",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("range",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this._min},set:function(t){t=Math.round(t),isNaN(t)||(this._min=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this._max},set:function(t){t=Math.round(t),isNaN(t)||(this._max=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},set:function(t){t=Math.round(t),!isNaN(t)&&t>0&&(this._step=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snaps",{get:function(){return this._snaps},set:function(t){this._snaps=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pin",{get:function(){return this._pin},set:function(t){this._pin=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debouncer.wait},set:function(t){this._debouncer.wait=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dualKnobs",{get:function(){return this._dual},set:function(t){this._dual=Fv(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t="",e="",n=this._knobs.first.ratio;if(this._dual){var r=this._knobs.last.ratio;t=100*Math.min(n,r)+"%",e=100-100*Math.max(n,r)+"%"}else e=100-100*n+"%";this._renderer.setElementStyle(this._bar.nativeElement,"left",t),this._renderer.setElementStyle(this._bar.nativeElement,"right",e),this._events.pointerEvents({elementRef:this._slider,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this)}),this.createTicks()},e.prototype.pointerDown=function(t){if(this._disabled)return!1;t.preventDefault(),t.stopPropagation(),this._start=Fr(t);var e=this._rect=this._slider.nativeElement.getBoundingClientRect();return this._start.x<e.left?e.xOffset=this._start.x-e.left:this._start.x>e.right?e.xOffset=this._start.x-e.right:e.xOffset=0,this.setActiveKnob(this._start,e),this.updateKnob(this._start,e),this._active.position(),this._pressed=this._active.pressed=!0,this._haptic.gestureSelectionStart(),!0},e.prototype.pointerMove=function(t){t.preventDefault(),t.stopPropagation(),this.updateKnob(Fr(t),this._rect),this._active.position(),this._pressed=this._active.pressed=!0},e.prototype.pointerUp=function(t){t.preventDefault(),t.stopPropagation(),this.updateKnob(Fr(t),this._rect),this._active.position(),this._haptic.gestureSelectionEnd(),this._start=this._active=null,this._pressed=this._knobs.first.pressed=this._knobs.last.pressed=!1},e.prototype.setActiveKnob=function(t,e){var n=(t.x-e.left)/e.width;this._dual&&Math.abs(n-this._knobs.first.ratio)>Math.abs(n-this._knobs.last.ratio)?this._active=this._knobs.last:this._active=this._knobs.first},e.prototype.updateKnob=function(t,e){var n=this;if(this._active){var r=this._active.value;this._active.ratio=(t.x-e.left)/e.width;var i=this._active.value;r!==i&&(this.snaps&&this._haptic.gestureSelectionChanged(),this._dual?this.value={lower:Math.min(this._knobs.first.value,this._knobs.last.value),upper:Math.max(this._knobs.first.value,this._knobs.last.value)}:this.value=i,this._debouncer.debounce(function(){n.onChange(n.value),n.ionChange.emit(n)})),this.updateBar()}},e.prototype.updateBar=function(){var t=this._knobs.first.ratio;if(this._dual){var e=this._knobs.last.ratio;this._barL=100*Math.min(t,e)+"%",this._barR=100-100*Math.max(t,e)+"%"}else this._barL="",this._barR=100-100*t+"%";this.updateTicks()},e.prototype.createTicks=function(){var t=this;this._snaps&&rb(function(){t._ticks=[];for(var e=t._min;e<=t._max;e+=t._step){var n=t.valueToRatio(e);t._ticks.push({ratio:n,left:100*n+"%"})}t.updateTicks()})},e.prototype.updateTicks=function(){if(this._snaps&&this._ticks){var t=this.ratio;if(this._dual){var e=this.ratioUpper;this._ticks.forEach(function(n){n.active=n.ratio>=t&&n.ratio<=e})}else this._ticks.forEach(function(e){e.active=e.ratio<=t})}},e.prototype.ratioToValue=function(t){return t=Math.round((this._max-this._min)*t+this._min),Math.round(t/this._step)*this._step},e.prototype.valueToRatio=function(t){return t=Math.round(br(this._min,t,this._max)/this._step)*this._step,(t-this._min)/(this._max-this._min)},e.prototype.writeValue=function(t){if(Nv(t)){var e=this._knobs;this.value=t,this._knobs&&(this._dual?(e.first.value=t.lower,e.last.value=t.upper,e.last.position()):e.first.value=t,e.first.position(),this.updateBar())}},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t),this._item&&this._item.setElementClass("item-range-disabled",this._disabled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratio",{get:function(){return this._dual?Math.min(this._knobs.first.ratio,this._knobs.last.ratio):this._knobs.first.ratio},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratioUpper",{get:function(){return this._dual?Math.max(this._knobs.first.ratio,this._knobs.last.ratio):null},enumerable:!0,configurable:!0}),e.prototype.onChange=function(t){this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._events.unlistenAll()},e.decorators=[{type:Sl,args:[{selector:"ion-range",template:'<ng-content select="[range-left]"></ng-content><div class="range-slider" #slider><div class="range-tick" *ngFor="let t of _ticks" [style.left]="t.left" [class.range-tick-active]="t.active"></div><div class="range-bar"></div><div class="range-bar range-bar-active" [style.left]="_barL" [style.right]="_barR" #bar></div><div class="range-knob-handle"></div><div class="range-knob-handle" [upper]="true" *ngIf="_dual"></div></div><ng-content select="[range-right]"></ng-content>',host:{"[class.range-disabled]":"_disabled","[class.range-pressed]":"_pressed","[class.range-has-pin]":"_pin"},providers:[eT],encapsulation:Dl.None}]}],e.ctorParameters=[{type:Uv},{type:Mb},{type:px,decorators:[{type:hl}]},{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],_bar:[{type:xl,args:["bar"]}],_slider:[{type:xl,args:["slider"]}],_knobs:[{type:El,args:[nT]}],min:[{type:Al}],max:[{type:Al}],step:[{type:Al}],snaps:[{type:Al}],pin:[{type:Al}],debounce:[{type:Al}],dualKnobs:[{type:Al}],ionChange:[{type:kl}],disabled:[{type:Al}]},e}(zb),iT=function(){function t(t,e,n){this._content=t,this._zone=e,this._appliedStyles=!1,this._lastCheck=0,this._isEnabled=!0,this._events=new Yb(!1),this._top="",this.state=oT,this.startY=null,this.currentY=null,this.deltaY=null,this.progress=0,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration=280,this.snapbackDuration=280,this.ionRefresh=new hh,this.ionPull=new hh,this.ionStart=new hh,t.setElementClass("has-refresher",!0),this._gesture=n.create("refresher",{priority:0})}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=Fv(t),this._setListeners(this._isEnabled)},enumerable:!0,configurable:!0}),t.prototype._onStart=function(t){if(t.touches&&t.touches.length>1)return!1;if(this.state!==oT)return!1;var e=this._content.getContentDimensions().scrollTop;if(e>0)return!1;if(!this._gesture.canStart())return!1;var n=Fr(t);if(this._content.contentTop>0){var r=this._content.contentTop+"px";this._top!==r&&(this._top=r)}return this.startY=this.currentY=n.y,this.progress=0,this.state=oT,!0},t.prototype._onMove=function(t){var e=this;if(t.touches&&t.touches.length>1)return 1;if(!this._gesture.canStart())return 0;if(null===this.startY||this.state===lT||this.state===cT||this.state===uT)return 2;var n=Date.now();if(this._lastCheck+16>n)return 3;this._lastCheck=n;var r=Fr(t);if(this.currentY=r.y,this.deltaY=r.y-this.startY,this.deltaY<=0)return this.progress=0,this.state!==oT&&this._zone.run(function(){e.state=oT}),this._appliedStyles?(this._setCss(0,"",!1,""),5):6;if(this.state===oT){var i=this._content.getContentDimensions().scrollTop;if(i>0)return this.progress=0,this.startY=null,7;this.state=sT}return t.preventDefault(),this._setCss(this.deltaY,"0ms",!0,""),this.deltaY?void this._zone.run(function(){e._onMoveInZone()}):(this.progress=0,8)},t.prototype._onMoveInZone=function(){return this.progress=this.deltaY/this.pullMin,this._didStart||(this._didStart=!0,this.ionStart.emit(this)),this.ionPull.emit(this),this.deltaY<this.pullMin?(this.state=sT,2):this.deltaY>this.pullMax?(this._beginRefresh(),3):(this.state=aT,4)},t.prototype._onEnd=function(){var t=this;this.state===aT?this._zone.run(function(){t._beginRefresh()}):this.state===sT&&this._zone.run(function(){t.cancel()}),this.startY=null},t.prototype._beginRefresh=function(){this.state=lT,this._setCss(this.pullMin,this.snapbackDuration+"ms",!0,""),this.ionRefresh.emit(this)},t.prototype.complete=function(){this._close(uT,"120ms")},t.prototype.cancel=function(){this._close(cT,"")},t.prototype._close=function(t,e){function n(t){t&&clearTimeout(r),this.state=oT,this.progress=0,this._didStart=this.startY=this.currentY=this.deltaY=null,this._setCss(0,"0ms",!1,"")}var r;r=setTimeout(n.bind(this),600),this._content.onScrollElementTransitionEnd(n.bind(this)),this.state=t,this._setCss(0,"",!0,e),this._pointerEvents&&this._pointerEvents.stop()},t.prototype._setCss=function(t,e,n,r){this._appliedStyles=t>0;var i=this._content;i.setScrollElementStyle(ab.transform,t>0?"translateY("+t+"px) translateZ(0px)":"translateZ(0px)"),i.setScrollElementStyle(ab.transitionDuration,e),i.setScrollElementStyle(ab.transitionDelay,r),i.setScrollElementStyle("overflow",n?"hidden":"")},t.prototype._setListeners=function(t){this._events.unlistenAll(),this._pointerEvents=null,t&&(this._pointerEvents=this._events.pointerEvents({element:this._content.getScrollElement(),pointerDown:this._onStart.bind(this),pointerMove:this._onMove.bind(this),pointerUp:this._onEnd.bind(this)}))},t.prototype.ngOnInit=function(){this._setListeners(this._isEnabled)},t.prototype.ngOnDestroy=function(){this._gesture.destroy(),this._setListeners(!1)},t.decorators=[{type:Pl,args:[{selector:"ion-refresher",host:{"[class.refresher-active]":'state !== "inactive"',"[style.top]":"_top"}}]}],t.ctorParameters=[{type:gw,decorators:[{type:yl}]},{type:fh},{type:Db}],t.propDecorators={pullMin:[{type:Al}],pullMax:[{type:Al}],closeDuration:[{type:Al}],snapbackDuration:[{type:Al}],enabled:[{type:Al}],ionRefresh:[{type:kl}],ionPull:[{type:kl}],ionStart:[{type:kl}]},t}(),oT="inactive",sT="pulling",aT="ready",lT="refreshing",cT="cancelling",uT="completing",pT=function(){function t(t,e){this.r=t,this._config=e}return t.prototype.ngOnInit=function(){this.pullingIcon||(this.pullingIcon=this._config.get("ionPullIcon","arrow-down")),this.refreshingSpinner||(this.refreshingSpinner=this._config.get("ionRefreshingSpinner",this._config.get("spinner","ios")))},t.decorators=[{type:Sl,args:[{selector:"ion-refresher-content",template:'<div class="refresher-pulling"><div class="refresher-pulling-icon" *ngIf="pullingIcon"><ion-icon [name]="pullingIcon"></ion-icon></div><div class="refresher-pulling-text" [innerHTML]="pullingText" *ngIf="pullingText"></div></div><div class="refresher-refreshing"><div class="refresher-refreshing-icon"><ion-spinner [name]="refreshingSpinner"></ion-spinner></div><div class="refresher-refreshing-text" [innerHTML]="refreshingText" *ngIf="refreshingText"></div></div>',host:{"[attr.state]":"r.state"},encapsulation:Dl.None}]}],t.ctorParameters=[{type:iT},{type:Hv}],t.propDecorators={pullingIcon:[{type:Al}],pullingText:[{type:Al}],refreshingSpinner:[{type:Al}],refreshingText:[{type:Al}]},t}(),hT=function(){function t(t){this._elementRef=t,this._scrollX=!1,this._scrollY=!1,this._zoom=!1,this._maxZoom=1,this.maxScale=3,this.zoomDuration=250}return Object.defineProperty(t.prototype,"scrollX",{get:function(){return this._scrollX},set:function(t){this._scrollX=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollY",{get:function(){return this._scrollY},set:function(t){this._scrollY=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this._zoom},set:function(t){this._zoom=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxZoom",{get:function(){return this._maxZoom},set:function(t){this._maxZoom=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.scrollElement=this._elementRef.nativeElement.children[0]},t.prototype.addScrollEventListener=function(t){var e=this;if(this.scrollElement)return this.scrollElement.addEventListener("scroll",t),function(){e.scrollElement.removeEventListener("scroll",t)}},t.decorators=[{type:Sl,args:[{selector:"ion-scroll",template:'<div class="scroll-content"><div class="scroll-zoom-wrapper"><ng-content></ng-content></div></div>',host:{"[class.scroll-x]":"scrollX","[class.scroll-y]":"scrollY"},changeDetection:al.OnPush,encapsulation:Dl.None}]}],t.ctorParameters=[{type:_u}],t.propDecorators={scrollX:[{type:Al}],scrollY:[{type:Al}],zoom:[{type:Al}],maxZoom:[{type:Al}]},t}(),fT=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)},dT=function(t){function e(e,n,r,i){t.call(this,e,n,r),this._value="",this._shouldBlur=!0,this._shouldAlignLeft=!0,this._isCancelVisible=!1,this._spellcheck=!1,this._autocomplete="off",this._autocorrect="off",this._isActive=!1,this._debouncer=new JO(250),this.cancelButtonText="Cancel",this.showCancelButton=!1,this.placeholder="Search",this.type="search",this.animated=!1,this.ionInput=new hh,this.ionBlur=new hh,this.ionFocus=new hh,this.ionCancel=new hh,this.ionClear=new hh,this.onChange=function(t){},this.onTouched=function(){},this.mode=e.get("mode"),i&&(i.valueAccessor=this)}return fT(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("searchbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("searchbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){
  return this._debouncer.wait},set:function(t){this._debouncer.wait=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocomplete",{set:function(t){this._autocomplete=""===t||"on"===t?"on":this._config.get("autocomplete","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocorrect",{set:function(t){this._autocorrect=""===t||"on"===t?"on":this._config.get("autocorrect","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spellcheck",{set:function(t){this._spellcheck=""===t||"true"===t||t===!0||this._config.getBoolean("spellcheck",!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){if(this._value=t,this._searchbarInput){var e=this._searchbarInput.nativeElement;e&&(e.value=t)}},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this.showCancelButton;"string"==typeof t&&(this.showCancelButton=""===t||"true"===t)},e.prototype.ngAfterContentInit=function(){this.positionElements()},e.prototype.positionElements=function(){var t=Fv(this.animated),e=this._shouldAlignLeft,n=!t||this._value&&""!==this._value.toString().trim()||this._sbHasFocus===!0;this._shouldAlignLeft=n,"ios"===this._config.get("mode")&&(e!==n&&this.positionPlaceholder(),t&&this.positionCancelButton())},e.prototype.positionPlaceholder=function(){if(this._searchbarInput&&this._searchbarIcon){var t=this._searchbarInput.nativeElement,e=this._searchbarIcon.nativeElement;if(this._shouldAlignLeft)t.removeAttribute("style"),e.removeAttribute("style");else{var n=document.createElement("span");n.innerHTML=this.placeholder,document.body.appendChild(n);var r=n.offsetWidth;n.remove();var i="calc(50% - "+r/2+"px)";t.style.paddingLeft=i;var o="calc(50% - "+(r/2+30)+"px)";e.style.marginLeft=o}}},e.prototype.positionCancelButton=function(){if(this._cancelButton&&this._cancelButton.nativeElement){var t=this._sbHasFocus;if(t!==this._isCancelVisible){var e=this._cancelButton.nativeElement,n=e.style;if(this._isCancelVisible=t,t)n.marginRight="0";else{var r=e.offsetWidth;r>0&&(n.marginRight=-r+"px")}}}},e.prototype.inputChanged=function(t){var e=this;this._value=t.target.value,this._debouncer.debounce(function(){e.onChange(e._value),e.ionInput.emit(t)})},e.prototype.inputFocused=function(t){this.ionFocus.emit(t),this._sbHasFocus=!0,this._isActive=!0,this.positionElements()},e.prototype.inputBlurred=function(t){return this._shouldBlur===!1?(this._searchbarInput.nativeElement.focus(),void(this._shouldBlur=!0)):(this.ionBlur.emit(t),this._sbHasFocus=!1,void this.positionElements())},e.prototype.clearInput=function(t){var e=this;this.ionClear.emit(t),setTimeout(function(){var n=e._value;Nv(n)&&""!==n&&(e.value="",e.onChange(e._value),e.ionInput.emit(t))},64),this._shouldBlur=!1},e.prototype.cancelSearchbar=function(t){this.ionCancel.emit(t),this.clearInput(t),this._shouldBlur=!0,this._isActive=!1},e.prototype.writeValue=function(t){this.value=t,this.positionElements()},e.prototype.registerOnChange=function(t){this.onChange=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.setFocus=function(){this._renderer.invokeElementMethod(this._searchbarInput.nativeElement,"focus")},e.decorators=[{type:Sl,args:[{selector:"ion-searchbar",template:'<div class="searchbar-input-container"><button ion-button (click)="cancelSearchbar($event)" (mousedown)="cancelSearchbar($event)" clear color="dark" class="searchbar-md-cancel" type="button"><ion-icon name="arrow-back"></ion-icon></button><div #searchbarIcon class="searchbar-search-icon"></div><input #searchbarInput class="searchbar-input" (input)="inputChanged($event)" (blur)="inputBlurred($event)" (focus)="inputFocused($event)" [attr.placeholder]="placeholder" [attr.type]="type" [attr.autocomplete]="_autocomplete" [attr.autocorrect]="_autocorrect" [attr.spellcheck]="_spellcheck"><button ion-button clear class="searchbar-clear-icon" (click)="clearInput($event)" (mousedown)="clearInput($event)" type="button"></button></div><button ion-button #cancelButton [tabindex]="_isActive ? 1 : -1" clear (click)="cancelSearchbar($event)" (mousedown)="cancelSearchbar($event)" class="searchbar-ios-cancel" type="button">{{cancelButtonText}}</button>',host:{"[class.searchbar-animated]":"animated","[class.searchbar-has-value]":"_value","[class.searchbar-active]":"_isActive","[class.searchbar-show-cancel]":"showCancelButton","[class.searchbar-left-aligned]":"_shouldAlignLeft"},encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:lg,decorators:[{type:hl}]}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],cancelButtonText:[{type:Al}],showCancelButton:[{type:Al}],debounce:[{type:Al}],placeholder:[{type:Al}],autocomplete:[{type:Al}],autocorrect:[{type:Al}],spellcheck:[{type:Al}],type:[{type:Al}],animated:[{type:Al}],ionInput:[{type:kl}],ionBlur:[{type:kl}],ionFocus:[{type:kl}],ionCancel:[{type:kl}],ionClear:[{type:kl}],_sbHasFocus:[{type:Rl,args:["class.searchbar-has-focus"]}],_searchbarInput:[{type:xl,args:["searchbarInput"]}],_searchbarIcon:[{type:xl,args:["searchbarIcon"]}],_cancelButton:[{type:xl,args:["cancelButton",{read:_u}]}],value:[{type:Al}]},e}(zb),_T=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(){function t(t,e){this._renderer=t,this._elementRef=e,this._disabled=!1,this.ionSelect=new hh}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t),this._setElementClass("segment-button-disabled",this._disabled)},enumerable:!0,configurable:!0}),t.prototype._setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.onClick=function(){this.ionSelect.emit(this)},t.prototype.ngOnInit=function(){Nv(this.value)||console.warn('<ion-segment-button> requires a "value" attribute')},Object.defineProperty(t.prototype,"isActive",{set:function(t){this._renderer.setElementClass(this._elementRef.nativeElement,"segment-activated",t),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-pressed",t)},enumerable:!0,configurable:!0}),t.decorators=[{type:Sl,args:[{selector:"ion-segment-button",template:'<ng-content></ng-content><div class="button-effect"></div>',host:{tappable:"",class:"segment-button",role:"button"},encapsulation:Dl.None}]}],t.ctorParameters=[{type:cu},{type:_u}],t.propDecorators={value:[{type:Al}],ionSelect:[{type:kl}],disabled:[{type:Al}],onClick:[{type:jl,args:["click"]}]},t}(),gT=function(t){function e(e,n,r,i){t.call(this,e,n,r),this._disabled=!1,this.ionChange=new hh,this.onChange=function(t){},this.onTouched=function(t){},this.mode=e.get("mode"),i&&(i.valueAccessor=this)}return _T(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("segment",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("segment",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){var e=this;this._disabled=Fv(t),this._buttons&&this._buttons.forEach(function(t){t._setElementClass("segment-button-disabled",e._disabled)})},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(t){if(this.value=Nv(t)?t:"",this._buttons)for(var e=this._buttons.toArray(),n=0,r=e;n<r.length;n++){var i=r[n];i.isActive=i.value===this.value}},e.prototype.ngAfterViewInit=function(){var t=this;this._buttons.forEach(function(e){e.ionSelect.subscribe(function(e){t.writeValue(e.value),t.onChange(e.value),t.ionChange.emit(e)}),Nv(t.value)&&(e.isActive=e.value===t.value),Fv(t._disabled)&&e._setElementClass("segment-button-disabled",t._disabled)})},e.prototype.registerOnChange=function(t){this.onChange=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.decorators=[{type:Pl,args:[{selector:"ion-segment"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:lg,decorators:[{type:hl}]}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],ionChange:[{type:kl}],_buttons:[{type:wl,args:[yT]}],disabled:[{type:Al}]},e}(zb),mT=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:tg,useExisting:C(function(){return bT}),multi:!0},bT=function(t){function e(e,n,r,i,o,s,a){t.call(this,r,i,o),this._app=e,this._form=n,this._item=s,this._nav=a,this._disabled=!1,this._multi=!1,this._values=[],this._texts=[],this._text="",this._isOpen=!1,this.cancelText="Cancel",this.okText="OK",this.selectOptions={},this.interface="",this.selectedText="",this.ionChange=new hh,this.ionCancel=new hh,this.mode=r.get("mode"),n.register(this),s&&(this.id="sel-"+s.registerInput("select"),this._labelId="lbl-"+s.id,this._item.setElementClass("item-select",!0))}return mT(e,t),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("select",t)},enumerable:!0,configurable:!0}),e.prototype._click=function(t){0!==t.detail&&(t.preventDefault(),t.stopPropagation(),this.open())},e.prototype._keyup=function(){this._isOpen||this.open()},e.prototype.open=function(){var t=this;if(!this._disabled){var e=Cr({},this.selectOptions);e.buttons=[{text:this.cancelText,role:"cancel",handler:function(){t.ionCancel.emit(null)}}],!e.title&&this._item&&(e.title=this._item.getLabelText());var n=this._options.toArray();"action-sheet"===this.interface&&n.length>6&&(console.warn('Interface cannot be "action-sheet" with more than 6 options. Using the "alert" interface.'),this.interface="alert"),"action-sheet"===this.interface&&this._multi&&(console.warn('Interface cannot be "action-sheet" with a multi-value select. Using the "alert" interface.'),this.interface="alert");var r;if("action-sheet"===this.interface){e.buttons=e.buttons.concat(n.map(function(e){return{role:e.selected?"selected":"",text:e.text,handler:function(){t.onChange(e.value),t.ionChange.emit(e.value)}}}));var i="select-action-sheet";i+=e.cssClass?" "+e.cssClass:"",e.cssClass=i,r=new bb(this._app,e)}else{this.interface="alert",e.inputs=this._options.map(function(e){return{type:t._multi?"checkbox":"radio",label:e.text,value:e.value,checked:e.selected,disabled:e.disabled}});var i="select-alert";r=new Ob(this._app,e),i+=this._multi?" multiple-select-alert":" single-select-alert",i+=e.cssClass?" "+e.cssClass:"",r.setCssClass(i),r.addButton({text:this.okText,handler:function(e){t.onChange(e),t.ionChange.emit(e)}})}r.present(e),this._isOpen=!0,r.onDidDismiss(function(){t._isOpen=!1})}},Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multi},set:function(t){this._multi=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._multi?this._texts:this._texts.join()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{set:function(t){this._options=t,this._values.length||(this._values=t.filter(function(t){return t.selected}).map(function(t){return t.value})),this._updOpts()},enumerable:!0,configurable:!0}),e.prototype._updOpts=function(){var t=this;this._texts=[],this._options&&this._options.forEach(function(e){e.selected=t._values.some(function(t){return Bv(t,e.value)}),e.selected&&t._texts.push(e.text)}),this._text=this._texts.join(", ")},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t),this._item&&this._item.setElementClass("item-select-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(t){this._values=Array.isArray(t)?t:Mv(t)?[]:[t],this._updOpts()},e.prototype.ngAfterContentInit=function(){this._updOpts()},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e._values=Array.isArray(n)?n:Mv(n)?[]:[n],e._updOpts(),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.onChange=function(t){this._values=Array.isArray(t)?t:Mv(t)?[]:[t],this._updOpts(),this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.decorators=[{type:Sl,args:[{selector:"ion-select",template:'<div *ngIf="!_text" class="select-placeholder select-text">{{placeholder}}</div><div *ngIf="_text" class="select-text">{{selectedText || _text}}</div><div class="select-icon"><div class="select-icon-inner"></div></div><button aria-haspopup="true" [id]="id" ion-button="item-cover" [attr.aria-labelledby]="_labelId" [attr.aria-disabled]="_disabled" class="item-cover"></button>',host:{"[class.select-disabled]":"_disabled"},providers:[vT],encapsulation:Dl.None}]}],e.ctorParameters=[{type:gb},{type:Uv},{type:Hv},{type:_u},{type:cu},{type:px,decorators:[{type:hl}]},{type:Gb,decorators:[{type:hl}]}],e.propDecorators={cancelText:[{type:Al}],okText:[{type:Al}],placeholder:[{type:Al}],selectOptions:[{type:Al}],interface:[{type:Al}],selectedText:[{type:Al}],mode:[{type:Al}],ionChange:[{type:kl}],ionCancel:[{type:kl}],_click:[{type:jl,args:["click",["$event"]]}],_keyup:[{type:jl,args:["keyup.space"]}],multiple:[{type:Al}],options:[{type:wl,args:[YO]}],disabled:[{type:Al}]},e}(zb),wT=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(){function t(t,e,n){var r=this;if(this.platform=e,this.zone=n,this.isMatch=!1,this.platform=e,t){this.conditions=t.split(",");for(var i=0;i<this.conditions.length;i++)if(this.conditions[i]&&e.is(this.conditions[i]))return void(this.isMatch=!0);return this.orientation()?void e.onResize(function(){n.run(function(){r.orientation()})}):void 0}}return t.prototype.orientation=function(){for(var t=0;t<this.conditions.length;t++){if("portrait"===this.conditions[t])return this.isMatch=this.platform.isPortrait(),!0;if("landscape"===this.conditions[t])return this.isMatch=this.platform.isLandscape(),!0}},t}(),ET=function(t){function e(e,n,r){t.call(this,e,n,r)}return wT(e,t),e.decorators=[{type:Pl,args:[{selector:"[showWhen]",host:{"[class.hidden-show-when]":"!isMatch"}}]}],e.ctorParameters=[{type:void 0,decorators:[{type:vl,args:["showWhen"]}]},{type:pb},{type:fh}],e}(CT),xT=function(t){function e(e,n,r){t.call(this,e,n,r)}return wT(e,t),e.decorators=[{type:Pl,args:[{selector:"[hideWhen]",host:{"[class.hidden-hide-when]":"isMatch"}}]}],e.ctorParameters=[{type:void 0,decorators:[{type:vl,args:["hideWhen"]}]},{type:pb},{type:fh}],e}(CT),OT=window,TT=document,PT=["","webkit","Moz","MS","ms","o"],ST=TT.createElement("div"),IT="function",AT=Math.round,kT=Math.abs,RT=Date.now,jT=1,DT=/mobile|tablet|ip(ad|hone|od)|android/i,NT="ontouchstart"in window,MT=void 0!==oo(window,"PointerEvent"),LT=NT&&DT.test(navigator.userAgent),VT="touch",FT="pen",BT="mouse",HT="kinect",zT=25,UT=1,GT=2,WT=4,qT=8,YT=1,XT=2,$T=4,KT=8,ZT=16,QT=XT|$T,JT=KT|ZT,tP=QT|JT,eP=["x","y"],nP=["clientX","clientY"];lo.prototype={handler:function(){},init:function(){this.evEl&&Zi(this.element,this.evEl,this.domHandler),this.evTarget&&Zi(this.target,this.evTarget,this.domHandler),this.evWin&&Zi(ao(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&Qi(this.element,this.evEl,this.domHandler),this.evTarget&&Qi(this.target,this.evTarget,this.domHandler),this.evWin&&Qi(ao(this.element),this.evWin,this.domHandler)}};var rP={mousedown:UT,mousemove:GT,mouseup:WT},iP="mousedown",oP="mousemove mouseup";Yi(Eo,lo,{handler:function(t){var e=rP[t.type];e&UT&&0===t.button&&(this.pressed=!0),e&GT&&1!==t.which&&(e=WT),this.pressed&&this.allow&&(e&WT&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:BT,srcEvent:t}))}});var sP={pointerdown:UT,pointermove:GT,pointerup:WT,pointercancel:qT,pointerout:qT},aP={2:VT,3:FT,4:BT,5:HT},lP="pointerdown",cP="pointermove pointerup pointercancel";OT.MSPointerEvent&&!OT.PointerEvent&&(lP="MSPointerDown",cP="MSPointerMove MSPointerUp MSPointerCancel"),Yi(xo,lo,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=sP[r],o=aP[t.pointerType]||t.pointerType,s=o==VT,a=no(e,t.pointerId,"pointerId");i&UT&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):i&(WT|qT)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var uP={touchstart:UT,touchmove:GT,touchend:WT,touchcancel:qT},pP="touchstart",hP="touchstart touchmove touchend touchcancel";Yi(Oo,lo,{handler:function(t){var e=uP[t.type];if(e===UT&&(this.started=!0),this.started){var n=To.call(this,t,e);e&(WT|qT)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:VT,srcEvent:t})}}});var fP={touchstart:UT,touchmove:GT,touchend:WT,touchcancel:qT},dP="touchstart touchmove touchend touchcancel";Yi(Po,lo,{handler:function(t){var e=fP[t.type],n=So.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:VT,srcEvent:t})}}),Yi(Io,lo,{handler:function(t,e,n){var r=n.pointerType==VT,i=n.pointerType==BT;if(r)this.mouse.allow=!1;else if(i&&!this.mouse.allow)return;e&(WT|qT)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var _P=oo(ST.style,"touchAction"),yP=void 0!==_P,gP="compute",mP="auto",vP="manipulation",bP="none",wP="pan-x",CP="pan-y";Ao.prototype={set:function(t){t==gP&&(t=this.compute()),yP&&this.manager.element.style&&(this.manager.element.style[_P]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return qi(this.manager.recognizers,function(e){$i(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),ko(t.join(" "))},preventDefaults:function(t){if(!yP){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var r=this.actions,i=to(r,bP),o=to(r,CP),s=to(r,wP);if(i){var a=1===t.pointers.length,l=t.distance<2,c=t.deltaTime<250;if(a&&l&&c)return}if(!s||!o)return i||o&&n&QT||s&&n&JT?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var EP=1,xP=2,OP=4,TP=8,PP=TP,SP=16,IP=32;Ro.prototype={defaults:{},set:function(t){return wr(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(Wi(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=No(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return Wi(t,"dropRecognizeWith",this)?this:(t=No(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(Wi(t,"requireFailure",this))return this;var e=this.requireFail;return t=No(t,this),no(e,t)===-1&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(Wi(t,"dropRequireFailure",this))return this;t=No(t,this);var e=no(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,r=this.state;r<TP&&e(n.options.event+jo(r)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),r>=TP&&e(n.options.event+jo(r))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=IP)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(IP|EP)))return!1;t++}return!0},recognize:function(t){var e=wr({},t);return $i(this.options.enable,[this,e])?(this.state&(PP|SP|IP)&&(this.state=EP),this.state=this.process(e),void(this.state&(xP|OP|TP|SP)&&this.tryEmit(e))):(this.reset(),void(this.state=IP))},process:function(t){},getTouchAction:function(){},reset:function(){}},Yi(Mo,Ro,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=e&(xP|OP),i=this.attrTest(t);return r&&(n&qT||!i)?e|SP:r||i?n&WT?e|TP:e&xP?e|OP:xP:IP}}),Yi(Lo,Mo,{defaults:{event:"pan",threshold:10,pointers:1,direction:tP},getTouchAction:function(){var t=this.options.direction,e=[];return t&QT&&e.push(CP),t&JT&&e.push(wP),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,i=t.direction,o=t.deltaX,s=t.deltaY;return i&e.direction||(e.direction&QT?(i=0===o?YT:o<0?XT:$T,n=o!=this.pX,r=Math.abs(t.deltaX)):(i=0===s?YT:s<0?KT:ZT,n=s!=this.pY,r=Math.abs(t.deltaY))),t.direction=i,n&&r>e.threshold&&i&e.direction},attrTest:function(t){return Mo.prototype.attrTest.call(this,t)&&(this.state&xP||!(this.state&xP)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Do(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),Yi(Vo,Mo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[bP]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&xP)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),Yi(Fo,Ro,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[mP]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime>e.time;if(this._input=t,!r||!n||t.eventType&(WT|qT)&&!i)this.reset();else if(t.eventType&UT)this.reset(),this._timer=Gi(function(){this.state=PP,this.tryEmit()},e.time,this);else if(t.eventType&WT)return PP;return IP},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===PP&&(t&&t.eventType&WT?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=RT(),this.manager.emit(this.options.event,this._input)))}}),Yi(Bo,Mo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[bP]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&xP)}}),Yi(Ho,Mo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:QT|JT,pointers:1},getTouchAction:function(){return Lo.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(QT|JT)?e=t.overallVelocity:n&QT?e=t.overallVelocityX:n&JT&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&kT(e)>this.options.velocity&&t.eventType&WT},emit:function(t){var e=Do(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),Yi(zo,Ro,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[vP]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime<e.time;if(this.reset(),t.eventType&UT&&0===this.count)return this.failTimeout();if(r&&i&&n){if(t.eventType!=WT)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||vo(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t;var a=this.count%e.taps;if(0===a)return this.hasRequireFailures()?(this._timer=Gi(function(){this.state=PP,this.tryEmit()},e.interval,this),xP):PP}return IP},failTimeout:function(){return this._timer=Gi(function(){this.state=IP},this.options.interval,this),IP},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==PP&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});var AP={domEvents:!1,touchAction:gP,enable:!0,inputTarget:null,inputClass:null,preset:[[Bo,{enable:!1}],[Vo,{enable:!1},["rotate"]],[Ho,{direction:QT}],[Lo,{direction:QT},["swipe"]],[zo],[zo,{event:"doubletap",taps:2},["tap"]],[Fo]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},kP=1,RP=2;Go.prototype={set:function(t){return wr(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?RP:kP},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,r=this.recognizers,i=e.curRecognizer;(!i||i&&i.state&PP)&&(i=e.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],e.stopped===RP||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&n.state&(xP|OP|TP)&&(i=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Ro)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(Wi(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(Wi(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=no(e,t);n!==-1&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){var n=this.handlers;return qi(eo(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return qi(eo(t),function(t){e?n[t]&&n[t].splice(no(n[t],e),1):delete n[t]}),this},emit:function(t,e){this.options.domEvents&&qo(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&Wo(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},wr(Uo,{INPUT_START:UT,INPUT_MOVE:GT,INPUT_END:WT,INPUT_CANCEL:qT,STATE_POSSIBLE:EP,STATE_BEGAN:xP,STATE_CHANGED:OP,STATE_ENDED:TP,STATE_RECOGNIZED:PP,STATE_CANCELLED:SP,STATE_FAILED:IP,DIRECTION_NONE:YT,DIRECTION_LEFT:XT,DIRECTION_RIGHT:$T,DIRECTION_UP:KT,DIRECTION_DOWN:ZT,DIRECTION_HORIZONTAL:QT,DIRECTION_VERTICAL:JT,DIRECTION_ALL:tP,Manager:Go,Input:lo,TouchAction:Ao,TouchInput:Po,MouseInput:Eo,PointerEventInput:xo,TouchMouseInput:Io,SingleTouchInput:Oo,Recognizer:Ro,AttrRecognizer:Mo,Tap:zo,Pan:Lo,Swipe:Ho,Pinch:Vo,Rotate:Bo,Press:Fo,on:Zi,off:Qi,each:qi,inherit:Yi,bindFn:Xi,prefixed:oo}),OT.Hammer=Uo;var jP,DP=function(){function t(t,e){void 0===e&&(e={}),this._callbacks={},this.isListening=!1,Or(e,{domEvents:!0}),this.element=t,this.direction=e.direction||"x",e.direction="x"===this.direction?QT:JT,this._options=e}return t.prototype.options=function(t){wr(this._options,t)},t.prototype.on=function(t,e){"pinch"!==t&&"rotate"!==t||this._hammer.get("pinch").set({enable:!0}),this._hammer.on(t,e),(this._callbacks[t]||(this._callbacks[t]=[])).push(e)},t.prototype.off=function(t,e){this._hammer.off(t,this._callbacks[t]?e:null)},t.prototype.listen=function(){this.isListening||(this._hammer=Uo(this.element,this._options)),this.isListening=!0},t.prototype.unlisten=function(){var t,e;if(this._hammer&&this.isListening){for(t in this._callbacks)for(e=0;e<this._callbacks[t].length;e++)this._hammer.off(t,this._callbacks[t]);this._hammer.destroy()}this._callbacks={},this._hammer=null,this.isListening=!1},t.prototype.destroy=function(){this.unlisten(),this.element=this._options=null},t}();Yo.prototype={isSafari:function(){var t=navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(t){return"[object Array]"===Object.prototype.toString.apply(t)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1},device:function(){var t=navigator.userAgent,e=t.match(/(Android);?[\s\/]+([\d.]+)?/),n=t.match(/(iPad).*OS\s([\d_]+)/),r=t.match(/(iPod)(.*OS\s([\d_]+))?/),i=!n&&t.match(/(iPhone\sOS)\s([\d_]+)/);return{ios:n||i||r,android:e}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var t=document.createElement("div").style;return"webkitPerspective"in t||"MozPerspective"in t||"OPerspective"in t||"MsPerspective"in t||"perspective"in t}(),flexbox:function(){for(var t=document.createElement("div").style,e="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<e.length;n++)if(e[n]in t)return!0}(),observer:function(){return"MutationObserver"in window||"WebkitMutationObserver"in window}()},plugins:{}};for(var NP=(function(){var t=function(t){var e=this,n=0;for(n=0;n<t.length;n++)e[n]=t[n];return e.length=t.length,this},e=function(e,n){var r=[],i=0;if(e&&!n&&e instanceof t)return e;if(e)if("string"==typeof e){var o,s,a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){var l="div";for(0===a.indexOf("<li")&&(l="ul"),0===a.indexOf("<tr")&&(l="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(l="tr"),0===a.indexOf("<tbody")&&(l="table"),0===a.indexOf("<option")&&(l="select"),s=document.createElement(l),s.innerHTML=e,i=0;i<s.childNodes.length;i++)r.push(s.childNodes[i])}else for(o=n||"#"!==e[0]||e.match(/[ .<>:~]/)?(n||document).querySelectorAll(e):[document.getElementById(e.split("#")[1])],i=0;i<o.length;i++)o[i]&&r.push(o[i])}else if(e.nodeType||e===window||e===document)r.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i++)r.push(e[i]);return new t(r)};return t.prototype={addClass:function(t){if("undefined"==typeof t)return this;for(var e=t.split(" "),n=0;n<e.length;n++)for(var r=0;r<this.length;r++)this[r].classList.add(e[n]);return this},removeClass:function(t){for(var e=t.split(" "),n=0;n<e.length;n++)for(var r=0;r<this.length;r++)this[r].classList.remove(e[n]);return this},hasClass:function(t){return!!this[0]&&this[0].classList.contains(t)},toggleClass:function(t){for(var e=t.split(" "),n=0;n<e.length;n++)for(var r=0;r<this.length;r++)this[r].classList.toggle(e[n]);return this},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n++)if(2===arguments.length)this[n].setAttribute(t,e);else for(var r in t)this[n][r]=t[r],this[n].setAttribute(r,t[r]);return this},removeAttr:function(t){for(var e=0;e<this.length;e++)this[e].removeAttribute(t);return this},data:function(t,e){if("undefined"!=typeof e){for(var n=0;n<this.length;n++){var r=this[n];r.dom7ElementDataStorage||(r.dom7ElementDataStorage={}),r.dom7ElementDataStorage[t]=e}return this}if(this[0]){var i=this[0].getAttribute("data-"+t);return i?i:this[0].dom7ElementDataStorage&&t in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[t]:void 0}},transform:function(t){for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=t}return this},transition:function(t){"string"!=typeof t&&(t+="ms");for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=t}return this},on:function(t,n,r,i){function o(t){var i=t.target;if(e(i).is(n))r.call(i,t);else for(var o=e(i).parents(),s=0;s<o.length;s++)e(o[s]).is(n)&&r.call(o[s],t)}var s,a,l=t.split(" ");for(s=0;s<this.length;s++)if("function"==typeof n||n===!1)for("function"==typeof n&&(r=arguments[1],i=arguments[2]||!1),a=0;a<l.length;a++)this[s].addEventListener(l[a],r,i);else for(a=0;a<l.length;a++)this[s].dom7LiveListeners||(this[s].dom7LiveListeners=[]),this[s].dom7LiveListeners.push({
  listener:r,liveListener:o}),this[s].addEventListener(l[a],o,i);return this},off:function(t,e,n,r){for(var i=t.split(" "),o=0;o<i.length;o++)for(var s=0;s<this.length;s++)if("function"==typeof e||e===!1)"function"==typeof e&&(n=arguments[1],r=arguments[2]||!1),this[s].removeEventListener(i[o],n,r);else if(this[s].dom7LiveListeners)for(var a=0;a<this[s].dom7LiveListeners.length;a++)this[s].dom7LiveListeners[a].listener===n&&this[s].removeEventListener(i[o],this[s].dom7LiveListeners[a].liveListener,r);return this},once:function(t,e,n,r){function i(s){n(s),o.off(t,e,i,r)}var o=this;"function"==typeof e&&(e=!1,n=arguments[1],r=arguments[2]),o.on(t,e,i,r)},trigger:function(t,e){for(var n=0;n<this.length;n++){var r;try{r=new window.CustomEvent(t,{detail:e,bubbles:!0,cancelable:!0})}catch(n){r=document.createEvent("Event"),r.initEvent(t,!0,!0),r.detail=e}this[n].dispatchEvent(r)}return this},transitionEnd:function(t){function e(o){if(o.target===this)for(t.call(this,o),n=0;n<r.length;n++)i.off(r[n],e)}var n,r=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=this;if(t)for(n=0;n<r.length;n++)i.on(r[n],e);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width")):null},outerWidth:function(t){return this.length>0?t?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(t){return this.length>0?t?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var t=this[0],e=t.getBoundingClientRect(),n=document.body,r=t.clientTop||n.clientTop||0,i=t.clientLeft||n.clientLeft||0,o=window.pageYOffset||t.scrollTop,s=window.pageXOffset||t.scrollLeft;return{top:e.top+o-r,left:e.left+s-i}}return null},css:function(t,e){var n;if(1===arguments.length){if("string"!=typeof t){for(n=0;n<this.length;n++)for(var r in t)this[n].style[r]=t[r];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(n=0;n<this.length;n++)this[n].style[t]=e;return this}return this},each:function(t){for(var e=0;e<this.length;e++)t.call(this[e],e,this[e]);return this},html:function(t){if("undefined"==typeof t)return this[0]?this[0].innerHTML:void 0;for(var e=0;e<this.length;e++)this[e].innerHTML=t;return this},is:function(n){if(!this[0])return!1;var r,i;if("string"==typeof n){var o=this[0];if(o===document)return n===document;if(o===window)return n===window;if(o.matches)return o.matches(n);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(n);if(o.mozMatchesSelector)return o.mozMatchesSelector(n);if(o.msMatchesSelector)return o.msMatchesSelector(n);for(r=e(n),i=0;i<r.length;i++)if(r[i]===this[0])return!0;return!1}if(n===document)return this[0]===document;if(n===window)return this[0]===window;if(n.nodeType||n instanceof t){for(r=n.nodeType?[n]:n,i=0;i<r.length;i++)if(r[i]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var t=this[0],e=0;null!==(t=t.previousSibling);)1===t.nodeType&&e++;return e}},eq:function(e){if("undefined"==typeof e)return this;var n,r=this.length;return e>r-1?new t([]):e<0?(n=r+e,new t(n<0?[]:[this[n]])):new t([this[e]])},append:function(e){var n,r;for(n=0;n<this.length;n++)if("string"==typeof e){var i=document.createElement("div");for(i.innerHTML=e;i.firstChild;)this[n].appendChild(i.firstChild)}else if(e instanceof t)for(r=0;r<e.length;r++)this[n].appendChild(e[r]);else this[n].appendChild(e);return this},prepend:function(e){var n,r;for(n=0;n<this.length;n++)if("string"==typeof e){var i=document.createElement("div");for(i.innerHTML=e,r=i.childNodes.length-1;r>=0;r--)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(e instanceof t)for(r=0;r<e.length;r++)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},insertBefore:function(t){for(var n=e(t),r=0;r<this.length;r++)if(1===n.length)n[0].parentNode.insertBefore(this[r],n[0]);else if(n.length>1)for(var i=0;i<n.length;i++)n[i].parentNode.insertBefore(this[r].cloneNode(!0),n[i])},insertAfter:function(t){for(var n=e(t),r=0;r<this.length;r++)if(1===n.length)n[0].parentNode.insertBefore(this[r],n[0].nextSibling);else if(n.length>1)for(var i=0;i<n.length;i++)n[i].parentNode.insertBefore(this[r].cloneNode(!0),n[i].nextSibling)},next:function(n){return new t(this.length>0?n?this[0].nextElementSibling&&e(this[0].nextElementSibling).is(n)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(n){var r=[],i=this[0];if(!i)return new t([]);for(;i.nextElementSibling;){var o=i.nextElementSibling;n?e(o).is(n)&&r.push(o):r.push(o),i=o}return new t(r)},prev:function(n){return new t(this.length>0?n?this[0].previousElementSibling&&e(this[0].previousElementSibling).is(n)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(n){var r=[],i=this[0];if(!i)return new t([]);for(;i.previousElementSibling;){var o=i.previousElementSibling;n?e(o).is(n)&&r.push(o):r.push(o),i=o}return new t(r)},parent:function(t){for(var n=[],r=0;r<this.length;r++)t?e(this[r].parentNode).is(t)&&n.push(this[r].parentNode):n.push(this[r].parentNode);return e(e.unique(n))},parents:function(t){for(var n=[],r=0;r<this.length;r++)for(var i=this[r].parentNode;i;)t?e(i).is(t)&&n.push(i):n.push(i),i=i.parentNode;return e(e.unique(n))},find:function(e){for(var n=[],r=0;r<this.length;r++)for(var i=this[r].querySelectorAll(e),o=0;o<i.length;o++)n.push(i[o]);return new t(n)},children:function(n){for(var r=[],i=0;i<this.length;i++)for(var o=this[i].childNodes,s=0;s<o.length;s++)n?1===o[s].nodeType&&e(o[s]).is(n)&&r.push(o[s]):1===o[s].nodeType&&r.push(o[s]);return new t(e.unique(r))},remove:function(){for(var t=0;t<this.length;t++)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this},add:function(){var t,n,r=this;for(t=0;t<arguments.length;t++){var i=e(arguments[t]);for(n=0;n<i.length;n++)r[r.length]=i[n],r.length++}return r}},e.fn=t.prototype,e.unique=function(t){for(var e=[],n=0;n<t.length;n++)e.indexOf(t[n])===-1&&e.push(t[n]);return e},e}()),MP=["jQuery","Zepto","Dom7"],LP=0;LP<MP.length;LP++)window[MP[LP]]&&Xo(window[MP[LP]]);var VP;VP="undefined"==typeof NP?window.Dom7||window.Zepto||window.jQuery:NP,VP&&("transitionEnd"in VP.fn||(VP.fn.transitionEnd=function(t){function e(o){if(o.target===this)for(t.call(this,o),n=0;n<r.length;n++)i.off(r[n],e)}var n,r=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=this;if(t)for(n=0;n<r.length;n++)i.on(r[n],e);return this}),"transform"in VP.fn||(VP.fn.transform=function(t){for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=t}return this}),"transition"in VP.fn||(VP.fn.transition=function(t){"string"!=typeof t&&(t+="ms");for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=t}return this}));var FP=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)},BP=function(t){function e(e,n,r){var i=this;t.call(this,e,n,r),this.ionWillChange=new hh,this.ionDidChange=new hh,this.ionDrag=new hh,this.rapidUpdate=xr(function(){i.update()},10),this.id=++UP,this.slideId="slides-"+this.id,this.setElementClass(this.slideId,!0)}return FP(e,t),e.prototype.ngOnInit=function(){var t=this;this.options||(this.options={}),Nv(this.options.pager)&&(this.showPager=Fv(this.options.pager));var e="."+this.slideId+" .swiper-pagination",n=Or({pagination:e},this.options);n.onTap=function(e,n){return t.onTap(e,n),t.options.onTap&&t.options.onTap(e,n)},n.onClick=function(e,n){return t.onClick(e,n),t.options.onClick&&t.options.onClick(e,n)},n.onDoubleTap=function(e,n){return t.onDoubleTap(e,n),t.options.onDoubleTap&&t.options.onDoubleTap(e,n)},n.onTransitionStart=function(e,n){return t.onTransitionStart(e,n),t.options.onTransitionStart&&t.options.onTransitionStart(e,n)},n.onTransitionEnd=function(e,n){return t.onTransitionEnd(e,n),t.options.onTransitionEnd&&t.options.onTransitionEnd(e,n)},n.onSlideChangeStart=function(e){return t.ionWillChange.emit(e),t.options.onSlideChangeStart&&t.options.onSlideChangeStart(e)},n.onSlideChangeEnd=function(e){return t.ionDidChange.emit(e),t.options.onSlideChangeEnd&&t.options.onSlideChangeEnd(e)},n.onLazyImageLoad=function(e,n,r){return t.options.onLazyImageLoad&&t.options.onLazyImageLoad(e,n,r)},n.onLazyImageReady=function(e,n,r){return t.options.onLazyImageReady&&t.options.onLazyImageReady(e,n,r)},n.onSliderMove=function(e,n){return t.ionDrag.emit(e),t.options.onSliderMove&&t.options.onSliderMove(e,n)},setTimeout(function(){var e=new Yo(t.getNativeElement().children[0],n);t.slider=e},300)},e.prototype.onTap=function(t,e){},e.prototype.onClick=function(t,e){},e.prototype.onDoubleTap=function(t,e){this.toggleZoom(t,e)},e.prototype.onLazyImageLoad=function(t,e,n){},e.prototype.onLazyImageReady=function(t,e,n){},e.prototype.initZoom=function(){var t=this;this.zoomDuration=this.zoomDuration||230,this.maxScale=this.zoomMax||3,this.zoomElement=this.getNativeElement().children[0].children[0],this.zoomElement&&this.zoomElement.classList.add("ion-scroll-zoom"),this.zoomGesture=new DP(this.zoomElement),this.zoomGesture.listen(),this.scale=1,this.zoomLastPosX=0,this.zoomLastPosY=0;var e,n;this.viewportWidth=this.getNativeElement().offsetWidth,this.viewportHeight=this.getNativeElement().offsetHeight,this.zoomElement.addEventListener("touchstart",function(e){t.onTouchStart(e)}),this.zoomElement.addEventListener("touchmove",function(e){t.onTouchMove(e)}),this.zoomElement.addEventListener("touchend",function(e){t.onTouchEnd(e)}),this.zoomGesture.on("pinchstart",function(n){e=t.scale}),this.zoomGesture.on("pinch",function(r){t.scale=Math.max(1,Math.min(e*r.scale,10)),t.zoomElement.style[ab.transform]="scale("+t.scale+")",n=t.zoomElement.getBoundingClientRect()}),this.zoomGesture.on("pinchend",function(){if(t.scale>t.maxScale){var e=new aw(t.zoomElement).duration(t.zoomDuration).easing("linear").from("scale",t.scale).to("scale",t.maxScale);e.play(),t.scale=t.maxScale}})},e.prototype.resetZoom=function(){this.zoomElement&&(this.zoomElement.parentElement.style[ab.transform]="",this.zoomElement.style[ab.transform]="scale(1)"),this.scale=1,this.zoomLastPosX=0,this.zoomLastPosY=0},e.prototype.toggleZoom=function(t,e){if(this.enableZoom){var n=new aw(this.touch.target.children[0]).duration(this.zoomDuration).easing("linear"),r=new aw;r.add(n),this.scale>1?(n.from("scale",this.scale),n.to("scale",1),r.play(),this.scale=1):(n.from("scale",this.scale),n.to("scale",this.maxScale),r.play(),this.scale=this.maxScale)}},e.prototype.onTransitionStart=function(t,e){},e.prototype.onTransitionEnd=function(t,e){},e.prototype.onTouchStart=function(t){var e=t.target.closest(".slide").children[0].children[0];this.touch={x:null,y:null,startX:t.touches[0].clientX,startY:t.touches[0].clientY,deltaX:0,deltaY:0,lastX:0,lastY:0,target:e.parentElement,zoomable:e,zoomableWidth:e.offsetWidth,zoomableHeight:e.offsetHeight}},e.prototype.onTouchMove=function(t){this.touch.deltaX=t.touches[0].clientX-this.touch.startX,this.touch.deltaY=t.touches[0].clientY-this.touch.startY;var e=this.touch.zoomableWidth*this.scale,n=this.touch.zoomableHeight*this.scale,r=Math.min(this.viewportWidth/2-e/2,0),i=-r;Math.min(this.viewportHeight/2-n/2,0);if(!(this.scale<=1))if(this.touch.x=this.touch.deltaX+this.touch.lastX,this.touch.y=this.touch.deltaY+this.touch.lastY,this.touch.x<r,this.touch.x>i,this.touch.x>this.viewportWidth);else if(!(-this.touch.x>this.viewportWidth))return this.touch.target.style[ab.transform]="translateX("+this.touch.x+"px) translateY("+this.touch.y+"px)",t.preventDefault(),t.stopPropagation(),!1},e.prototype.onTouchEnd=function(t){if(this.scale>1){if(Math.abs(this.touch.x)>this.viewportWidth)var e=e>0?this.viewportWidth-1:-(this.viewportWidth-1);this.touch.lastX=this.touch.x,this.touch.lastY=this.touch.y}},e.prototype.update=function(){var t=this;setTimeout(function(){t.slider.update(),t.length()>10&&(t.showPager=!1)},300)},e.prototype.slideTo=function(t,e,n){this.slider.slideTo(t,e,n)},e.prototype.slideNext=function(t,e){this.slider.slideNext(e,t)},e.prototype.slidePrev=function(t,e){this.slider.slidePrev(e,t)},e.prototype.getActiveIndex=function(){return this.slider.activeIndex},e.prototype.getPreviousIndex=function(){return this.slider.previousIndex},e.prototype.length=function(){return this.slider.slides.length},e.prototype.isEnd=function(){return this.slider.isEnd},e.prototype.isBeginning=function(){return this.slider.isBeginning},e.prototype.getSlider=function(){return this.slider},e.decorators=[{type:Sl,args:[{selector:"ion-slides",template:'<div class="swiper-container"><div class="swiper-wrapper"><ng-content></ng-content></div><div [class.hide]="!showPager" class="swiper-pagination"></div></div>',changeDetection:al.OnPush,encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={options:[{type:Al}],pager:[{type:Al}],zoom:[{type:Al}],zoomDuration:[{type:Al}],zoomMax:[{type:Al}],ionWillChange:[{type:kl}],ionDidChange:[{type:kl}],ionDrag:[{type:kl}]},e}(zb),HP=function(){function t(t,e){this.slides=e,this.ele=t.nativeElement,this.ele.classList.add("swiper-slide"),e.rapidUpdate()}return t.prototype.ngOnDestroy=function(){this.slides.rapidUpdate()},t.decorators=[{type:Sl,args:[{selector:"ion-slide",template:'<div class="slide-zoom"><ng-content></ng-content></div>',changeDetection:al.OnPush,encapsulation:Dl.None}]}],t.ctorParameters=[{type:_u},{type:BP,decorators:[{type:yl}]}],t.propDecorators={zoom:[{type:Al}]},t}(),zP=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"slide-lazy",host:{class:"swiper-lazy"}}]}],t.ctorParameters=[],t}(),UP=-1,GP=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)},WP=function(t){function e(e,n,r){t.call(this,e,n,r),this._dur=null,this.paused=!1,this.mode=e.get("mode")}return GP(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._setColor("spinner",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("spinner",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this._dur},set:function(t){this._dur=t,this.load()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._init=!0,this.load()},e.prototype.load=function(){if(this._init){this._l=[],this._c=[];var t=this._name||this._config.get("spinner","ios"),e=qP[t];if(e){if(this._applied="spinner-"+t,e.lines)for(var n=0,r=e.lines;n<r;n++)this._l.push(this._loadEle(e,n,r));else if(e.circles)for(var n=0,r=e.circles;n<r;n++)this._c.push(this._loadEle(e,n,r));this.setElementClass(this._applied,!0)}}},e.prototype._loadEle=function(t,e,n){var r=this._dur||t.dur,i=t.fn(r,e,n);return i.style.animationDuration=r+"ms",i},e.decorators=[{type:Sl,args:[{selector:"ion-spinner",template:'<svg viewBox="0 0 64 64" *ngFor="let i of _c" [ngStyle]="i.style"><circle [attr.r]="i.r" transform="translate(32,32)"></circle></svg><svg viewBox="0 0 64 64" *ngFor="let i of _l" [ngStyle]="i.style"><line [attr.y1]="i.y1" [attr.y2]="i.y2" transform="translate(32,32)"></line></svg>',host:{"[class.spinner-paused]":"paused"},changeDetection:al.OnPush,encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],name:[{type:Al}],duration:[{type:Al}],paused:[{type:Al}]},e}(zb),qP={ios:{dur:1e3,lines:12,fn:function(t,e,n){return{y1:17,y2:29,style:(r={},r[ab.transform]="rotate("+(30*e+(e<6?180:-180))+"deg)",r[ab.animationDelay]=-(t-t/n*e)+"ms",r)};var r}},"ios-small":{dur:1e3,lines:12,fn:function(t,e,n){return{y1:12,y2:20,style:(r={},r[ab.transform]="rotate("+(30*e+(e<6?180:-180))+"deg)",r[ab.animationDelay]=-(t-t/n*e)+"ms",r)};var r}},bubbles:{dur:1e3,circles:9,fn:function(t,e,n){return{r:5,style:(r={top:9*Math.sin(2*Math.PI*e/n),left:9*Math.cos(2*Math.PI*e/n)},r[ab.animationDelay]=-(t-t/n*e)+"ms",r)};var r}},circles:{dur:1e3,circles:8,fn:function(t,e,n){return{r:5,style:(r={top:9*Math.sin(2*Math.PI*e/n),left:9*Math.cos(2*Math.PI*e/n)},r[ab.animationDelay]=-(t-t/n*e)+"ms",r)};var r}},crescent:{dur:750,circles:1,fn:function(t){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(t,e,n){return{r:6,style:(r={left:9-9*e},r[ab.animationDelay]=-(110*e)+"ms",r)};var r}}},YP=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)},XP=function(t){function e(e,n,r,i,o,s,a,l,c,u,p,h){t.call(this,e,n,r,i,o,s,a,l,u,p,h),this._cd=c,this.linker=h,this._isEnabled=!0,this._isShown=!0,this.ionSelect=new hh,this.id=e.add(this),this._tabId="tabpanel-"+this.id,this._btnId="tab-"+this.id}return YP(e,t),Object.defineProperty(e.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"show",{get:function(){return this._isShown},set:function(t){this._isShown=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_vp",{set:function(t){this.setViewport(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.tabBadgeStyle=this.tabBadgeStyle?this.tabBadgeStyle:"default"},e.prototype.load=function(t,e){!this._loaded&&this.root?(this.push(this.root,this.rootParams,t,e),this._loaded=!0):e(!0)},e.prototype._viewInsert=function(e,n,r){var i=this.parent._subPages&&e.index>0;if(i&&(r=this.parent.portal),t.prototype._viewInsert.call(this,e,n,r),i){var o=e.pageRef();o&&this._renderer.setElementClass(o.nativeElement,"tab-subpage",!0)}},e.prototype.setSelected=function(t){this.isSelected=t,this.setElementClass("show-tab",t),this.setElementAttribute("aria-hidden",(!t).toString()),t?this._cd.reattach():this._cd.detach()},Object.defineProperty(e.prototype,"index",{get:function(){return this.parent.getIndex(this)},enumerable:!0,configurable:!0}),e.prototype.updateHref=function(t,e){if(this.btn&&this.linker){var n=this.linker.createUrl(this,t,e)||"#";this.btn.updateHref(n)}},e.prototype.destroy=function(){this.destroy()},e.decorators=[{type:Sl,args:[{selector:"ion-tab",template:'<div #viewport></div><div class="nav-decor"></div>',host:{"[attr.id]":"_tabId","[attr.aria-labelledby]":"_btnId",role:"tabpanel"},encapsulation:Dl.None}]}],e.ctorParameters=[{type:dw},{type:gb},{type:Hv},{type:Fb},{type:_u},{type:fh},{type:cu},{type:zu},{type:nu},{type:Db},{type:MC},{type:Pb,decorators:[{type:hl}]}],e.propDecorators={root:[{type:Al}],rootParams:[{type:Al}],tabUrlPath:[{type:Al}],tabTitle:[{type:Al}],tabIcon:[{type:Al}],tabBadge:[{type:Al}],tabBadgeStyle:[{type:Al}],enabled:[{type:Al}],show:[{type:Al}],swipeBackEnabled:[{type:Al}],ionSelect:[{type:kl}],_vp:[{type:xl,args:["viewport",{read:vu}]}]},e}(nw),$P=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)},KP=function(t){function e(e,n,r){t.call(this,e,n,r),this.ionSelect=new hh,this.disHover=e.get("hoverCSS")===!1,this.layout=e.get("tabsLayout")}return $P(e,t),e.prototype.ngOnInit=function(){this.tab.btn=this,this.layout=this.tab.parent.tabsLayout||this.layout,this.hasTitle=!!this.tab.tabTitle,this.hasIcon=!!this.tab.tabIcon&&"icon-hide"!==this.layout,this.hasTitleOnly=this.hasTitle&&!this.hasIcon,this.hasIconOnly=this.hasIcon&&!this.hasTitle,this.hasBadge=!!this.tab.tabBadge},e.prototype.onClick=function(){return this.ionSelect.emit(this.tab),!1},e.prototype.updateHref=function(t){this.setElementAttribute("href",t)},e.decorators=[{type:Pl,args:[{selector:".tab-button",host:{"[attr.id]":"tab._btnId","[attr.aria-controls]":"tab._tabId","[attr.aria-selected]":"tab.isSelected","[class.has-title]":"hasTitle","[class.has-icon]":"hasIcon","[class.has-title-only]":"hasTitleOnly","[class.icon-only]":"hasIconOnly","[class.has-badge]":"hasBadge","[class.disable-hover]":"disHover"}}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={tab:[{type:Al}],ionSelect:[{type:kl}],onClick:[{type:jl,args:["click"]}]},e}(zb),ZP=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)},QP=function(t){function e(e,n,r,i,o,s,a,l,c,u){t.call(this,e,s,a),this._form=n,this._item=r,this._app=i,this._platform=o,this._scrollView=l,this._disabled=!1,this._type="text",this._value="",this._nav=c,this._useAssist=e.getBoolean("scrollAssist",!1),this._usePadding=e.getBoolean("scrollPadding",this._useAssist),this._keyboardHeight=e.getNumber("keyboardHeight"),this._autoFocusAssist=e.get("autoFocusAssist","delay"),this._autoComplete=e.get("autocomplete","off"),this._autoCorrect=e.get("autocorrect","off"),u&&(u.valueAccessor=this,this.inputControl=u),n.register(this)}return ZP(e,t),e.prototype.scrollMove=function(t){var e=this;this._nav&&this._nav.isTransitioning()||(this.deregScrollMove(),this.hasFocus()&&(this._native.hideFocus(!0),this._scrollView.onScrollEnd(function(){e._native.hideFocus(!1),e.hasFocus()&&e.regScrollMove()})))},e.prototype.setItemInputControlCss=function(){var t=this._item,e=this._native,n=this.inputControl;t&&n&&this.setControlCss(t,n),e&&n&&this.setControlCss(e,n)},e.prototype.setControlCss=function(t,e){t.setElementClass("ng-untouched",e.untouched),t.setElementClass("ng-touched",e.touched),t.setElementClass("ng-pristine",e.pristine),t.setElementClass("ng-dirty",e.dirty),t.setElementClass("ng-valid",e.valid),t.setElementClass("ng-invalid",!e.valid)},e.prototype.setValue=function(t){this._value=t,this.checkHasValue(t)},e.prototype.setType=function(t){this._type="text",t&&(t=t.toLowerCase(),/password|email|number|search|tel|url|date|month|time|week/.test(t)&&(this._type=t))},e.prototype.setDisabled=function(t){this._disabled=Fv(t),this._item&&this._item.setElementClass("item-input-disabled",this._disabled),this._native&&this._native.isDisabled(this._disabled)},e.prototype.setNativeInput=function(t){var e=this;this._native=t,this._item&&null!==this._item.labelId&&t.labelledBy(this._item.labelId),t.valueChange.subscribe(function(t){e.onChange(t)}),this.focusChange(this.hasFocus()),t.focusChange.subscribe(function(n){e.focusChange(n),e.checkHasValue(t.getValue()),n||e.onTouched(n)}),this.checkHasValue(t.getValue()),this.setDisabled(this._disabled);var n=this._elementRef.nativeElement,r=t.element();Wr(n,r),n.hasAttribute("autofocus")&&(n.removeAttribute("autofocus"),"immediate"===this._autoFocusAssist?r.focus():"delay"===this._autoFocusAssist&&setTimeout(function(){r.focus()},650)),n.hasAttribute("autocomplete")&&(this._autoComplete=n.getAttribute("autocomplete")),r.setAttribute("autocomplete",this._autoComplete),n.hasAttribute("autocorrect")&&(this._autoCorrect=n.getAttribute("autocorrect")),r.setAttribute("autocorrect",this._autoCorrect)},e.prototype.setNextInput=function(t){var e=this;t&&t.focused.subscribe(function(){e._form.tabFocus(e)})},e.prototype.writeValue=function(t){this._value=t,this.checkHasValue(t)},e.prototype.onChange=function(t){this.checkHasValue(t)},e.prototype.onTouched=function(t){},e.prototype.hasFocus=function(){return this._native.hasFocus()},e.prototype.checkHasValue=function(t){if(this._item){var e=null!==t&&void 0!==t&&""!==t;this._item.setElementClass("input-has-value",e)}},e.prototype.focusChange=function(t){this._item&&this._item.setElementClass("input-has-focus",t),t||this.deregScrollMove()},e.prototype.pointerStart=function(t){"touchstart"===t.type&&(this._isTouch=!0),(this._isTouch||!this._isTouch&&"mousedown"===t.type)&&this._app.isEnabled()&&(this._coord=Fr(t))},e.prototype.pointerEnd=function(t){if(this._isTouch&&"mouseup"===t.type||!this._app.isEnabled())t.preventDefault(),t.stopPropagation();else if(this._coord){var e=Fr(t);Br(8,this._coord,e)||this.hasFocus()||(t.preventDefault(),t.stopPropagation(),this.initFocus())}this._coord=null},e.prototype.initFocus=function(){var t=this,n=this._scrollView;if(n){var r=this._elementRef.nativeElement;r=r.closest("ion-item,[ion-item]")||r;var i=e.getScrollData(r.offsetTop,r.offsetHeight,n.getContentDimensions(),this._keyboardHeight,this._platform.height());if(i.scrollAmount>-3&&i.scrollAmount<3)return this.setFocus(),void this.regScrollMove();this._usePadding&&n.addScrollPadding(i.scrollPadding);var o=$o(i.scrollAmount);this._app.setEnabled(!1,o),this._nav&&this._nav.setTransitioning(!0,o),this._native.beginFocus(!0,i.inputSafeY),n.scrollTo(0,i.scrollTo,o).then(function(){t._native.beginFocus(!1,0),t.setFocus(),t._app.setEnabled(!0),t._nav&&t._nav.setTransitioning(!1),t.regScrollMove(),t._usePadding&&t._scrollView.clearScrollPaddingFocusOut()})}else this.setFocus(),this.regScrollMove()},e.prototype.setFocus=function(){this._form.setAsFocused(this),this._native.setFocus(),document.body.scrollTop=0},e.prototype.registerOnChange=function(t){this.onChange=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.regScrollMove=function(){var t=this;this._useAssist&&this._scrollView&&setTimeout(function(){t.deregScrollMove(),t._deregScroll=t._scrollView.addScrollListener(t.scrollMove.bind(t))},80)},e.prototype.deregScrollMove=function(){this._deregScroll&&this._deregScroll()},e.prototype.focusNext=function(){this._form.tabFocus(this)},e.getScrollData=function(t,e,n,r,i){var o=t+n.contentTop-n.scrollTop,s=o+e,a=n.contentTop,l=i-r-a;l/=2;var c=a+l,u=o>=a&&o<=c,p=o<a,h=o>c,f=s>=a&&s<=c,d=s>c,_={scrollAmount:0,scrollTo:0,scrollPadding:0,inputSafeY:0};if(u&&f)return _;if(h||d?(l>e?_.scrollAmount=Math.round(c-s):_.scrollAmount=Math.round(a-o),_.inputSafeY=-(o-a)+4):p&&(_.scrollAmount=Math.round(a-o),_.inputSafeY=a-o+4),_.scrollTo=n.scrollTop-_.scrollAmount,_.scrollAmount<0){var y=n.scrollHeight-n.scrollTop-n.contentHeight,g=y+_.scrollAmount;g<0&&(_.scrollPadding=n.contentHeight-l)}return _},e}(zb),JP=.3,tS=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)},eS=function(t){function e(e,n,r,i,o,s,a,l,c,u){t.call(this,e,n,r,i,o,s,a,l,c,u),this._clearInput=!1,this.placeholder="",this.blur=new hh,this.focus=new hh,this.mode=e.get("mode")}return tS(e,t),Object.defineProperty(e.prototype,"clearInput",{get:function(){return this._clearInput},set:function(t){this._clearInput=Fv(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){t.prototype.setValue.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){t.prototype.setType.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){t.prototype.setDisabled.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("input",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nativeInput",{set:function(e){t.prototype.setNativeInput.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nextInput",{set:function(e){t.prototype.setNextInput.call(this,e)},enumerable:!0,configurable:!0}),e.prototype.inputBlurred=function(t){this.blur.emit(t)},e.prototype.inputFocused=function(t){this.focus.emit(t)},e.prototype.ngOnInit=function(){this._item&&(this._item.setElementClass("item-input",!0),this._item.registerInput(this._type))},e.prototype.ngAfterContentChecked=function(){this.setItemInputControlCss()},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.prototype.clearTextInput=function(){this._value="",this.onChange(this._value),this.writeValue(this._value)},e.decorators=[{type:Sl,args:[{selector:"ion-input",template:'<input [type]="type" [(ngModel)]="_value" (blur)="inputBlurred($event)" (focus)="inputFocused($event)" [placeholder]="placeholder" class="text-input" [ngClass]="\'text-input-\' + _mode"><input [type]="type" aria-hidden="true" next-input *ngIf="_useAssist"><button ion-button clear [hidden]="!clearInput" type="button" class="text-input-clear-icon" (click)="clearTextInput()" (mousedown)="clearTextInput()"></button><div (touchstart)="pointerStart($event)" (touchend)="pointerEnd($event)" (mousedown)="pointerStart($event)" (mouseup)="pointerEnd($event)" class="input-cover" tappable *ngIf="_useAssist"></div>',encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:Uv},{type:px,decorators:[{type:hl}]},{type:gb},{type:pb},{type:_u},{type:cu},{type:gw,decorators:[{type:hl}]},{type:Gb,decorators:[{type:hl}]},{type:lg,decorators:[{type:hl}]}],e.propDecorators={placeholder:[{type:Al}],clearInput:[{type:Al}],value:[{type:Al}],type:[{type:Al}],disabled:[{type:Al}],mode:[{type:Al}],_nativeInput:[{type:xl,args:[VO]}],_nextInput:[{type:xl,args:[FO]}],blur:[{type:kl}],focus:[{type:kl}]},e}(QP),nS=function(t){function e(e,n,r,i,o,s,a,l,c,u){t.call(this,e,n,r,i,o,s,a,l,c,u),this.placeholder="",this.blur=new hh,this.focus=new hh,this.mode=e.get("mode")}return tS(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){t.prototype.setValue.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){t.prototype.setType.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){t.prototype.setDisabled.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("input",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nativeInput",{set:function(e){t.prototype.setNativeInput.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nextInput",{set:function(e){t.prototype.setNextInput.call(this,e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._item&&(this._item.setElementClass("item-textarea",!0),this._item.setElementClass("item-input",!0),this._item.registerInput(this._type))},e.prototype.ngAfterContentChecked=function(){this.setItemInputControlCss()},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.prototype.inputBlurred=function(t){this.blur.emit(t)},e.prototype.inputFocused=function(t){this.focus.emit(t)},e.decorators=[{type:Sl,args:[{selector:"ion-textarea",template:'<textarea [(ngModel)]="_value" (blur)="inputBlurred($event)" (focus)="inputFocused($event)" [placeholder]="placeholder" class="text-input" [ngClass]="\'text-input-\' + _mode"></textarea><input type="text" aria-hidden="true" next-input *ngIf="_useAssist"><div (touchstart)="pointerStart($event)" (touchend)="pointerEnd($event)" (mousedown)="pointerStart($event)" (mouseup)="pointerEnd($event)" class="input-cover" tappable *ngIf="_useAssist"></div>',
  encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:Uv},{type:px,decorators:[{type:hl}]},{type:gb},{type:pb},{type:_u},{type:cu},{type:gw,decorators:[{type:hl}]},{type:Gb,decorators:[{type:hl}]},{type:lg,decorators:[{type:hl}]}],e.propDecorators={placeholder:[{type:Al}],value:[{type:Al}],type:[{type:Al}],disabled:[{type:Al}],mode:[{type:Al}],_nativeInput:[{type:xl,args:[VO]}],_nextInput:[{type:xl,args:[FO]}],blur:[{type:kl}],focus:[{type:kl}]},e}(QP),rS=function(){function t(){}return t.decorators=[{type:Pl,args:[{selector:"ion-thumbnail"}]}],t.ctorParameters=[],t}(),iS=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)},oS={provide:tg,useExisting:C(function(){return sS}),multi:!0},sS=function(t){function e(e,n,r,i,o,s){t.call(this,n,r,i),this._form=e,this._haptic=o,this._item=s,this._checked=!1,this._init=!1,this._disabled=!1,this._activated=!1,this._msPrv=0,this._fn=null,this._events=new Yb,this.ionChange=new hh,this.mode=n.get("mode"),e.register(this),s&&(this.id="tgl-"+s.registerInput("toggle"),this._labelId="lbl-"+s.id,this._item.setElementClass("item-toggle",!0))}return iS(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("toggle",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("toggle",t)},enumerable:!0,configurable:!0}),e.prototype.pointerDown=function(t){return this._startX=Fr(t).x,this._activated=!0,!0},e.prototype.pointerMove=function(t){if(this._startX){var e=Fr(t).x;this._checked?e+15<this._startX&&(this.onChange(!1),this._haptic.selection(),this._startX=e,this._activated=!0):e-15>this._startX&&(this.onChange(!0),this._haptic.selection(),this._startX=e,this._activated=e<this._startX+5)}},e.prototype.pointerUp=function(t){if(this._startX){var e=Fr(t).x;this.checked?this._startX+4>e&&(this.onChange(!1),this._haptic.selection()):this._startX-4<e&&(this.onChange(!0),this._haptic.selection()),this._activated=!1,this._startX=null}},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._setChecked(Fv(t)),this.onChange(this._checked)},enumerable:!0,configurable:!0}),e.prototype._setChecked=function(t){this._disabled||t===this._checked||(this._checked=t,this._init&&this.ionChange.emit(this),this._item&&this._item.setElementClass("item-toggle-checked",t))},e.prototype.writeValue=function(t){this._setChecked(Fv(t))},e.prototype.registerOnChange=function(t){this._fn=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Fv(t),this._item&&this._item.setElementClass("item-toggle-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.onChange=function(t){this._fn&&this._fn(t),this._setChecked(t),this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngAfterContentInit=function(){this._init=!0,this._events.pointerEvents({elementRef:this._elementRef,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this)})},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._events.unlistenAll(),this._fn=null},e.decorators=[{type:Sl,args:[{selector:"ion-toggle",template:'<div class="toggle-icon" [class.toggle-checked]="_checked" [class.toggle-activated]="_activated"><div class="toggle-inner"></div></div><button role="checkbox" type="button" ion-button="item-cover" [id]="id" [attr.aria-checked]="_checked" [attr.aria-labelledby]="_labelId" [attr.aria-disabled]="_disabled" class="item-cover"></button>',host:{"[class.toggle-disabled]":"_disabled"},providers:[oS],encapsulation:Dl.None}]}],e.ctorParameters=[{type:Uv},{type:Hv},{type:_u},{type:cu},{type:Mb},{type:px,decorators:[{type:hl}]}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}],ionChange:[{type:kl}],checked:[{type:Al}],disabled:[{type:Al}]},e}(zb),aS=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)},lS=function(t){function e(e,n,r,i,o){t.call(this,e,n,r),this._setMode("bar-buttons",e.get("mode")),this.inToolbar=!(!i&&!o)}return aS(e,t),Object.defineProperty(e.prototype,"_buttons",{set:function(t){this.inToolbar&&t.forEach(function(t){t.setRole("bar-button")})},enumerable:!0,configurable:!0}),e.decorators=[{type:Pl,args:[{selector:"ion-buttons,[menuToggle]"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:DO,decorators:[{type:hl}]},{type:MO,decorators:[{type:hl},{type:pl,args:[C(function(){return MO})]}]}],e.propDecorators={_buttons:[{type:wl,args:[tx]}]},e}(zb),cS=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)},uS=function(t){function e(e,n,r,i,o){t.call(this,e,n,r),this._setMode("title",this._mode=e.get("mode")),i&&i._setTitle(this),o&&o._setTitle(this)}return cS(e,t),e.prototype.getTitleText=function(){return this._elementRef.nativeElement.textContent},e.decorators=[{type:Sl,args:[{selector:"ion-title",template:'<div class="toolbar-title" [ngClass]="\'toolbar-title-\' + _mode"><ng-content></ng-content></div>',changeDetection:al.OnPush,encapsulation:Dl.None}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu},{type:DO,decorators:[{type:hl}]},{type:MO,decorators:[{type:hl},{type:pl,args:[C(function(){return MO})]}]}],e}(zb),pS=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)},hS=function(t){function e(e,n,r){t.call(this,e,n,r),this.mode=e.get("mode")}return pS(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("text",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("text",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:Pl,args:[{selector:"h1[color], h2[color], h3[color], h4[color], h5[color], h6[color], a[color]:not([ion-button]), p[color], span[color], b[color], i[color], strong[color], em[color], small[color], sub[color], sup[color]"}]}],e.ctorParameters=[{type:Hv},{type:_u},{type:cu}],e.propDecorators={color:[{type:Al}],mode:[{type:Al}]},e}(zb),fS=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}(),dS=0,_S=1,yS=2,gS=3,mS=2,vS=function(){function t(t){this.templateRef=t}return t.decorators=[{type:Pl,args:[{selector:"[virtualHeader]"}]}],t.ctorParameters=[{type:Rh}],t}(),bS=function(){function t(t){this.templateRef=t}return t.decorators=[{type:Pl,args:[{selector:"[virtualFooter]"}]}],t.ctorParameters=[{type:Rh}],t}(),wS=function(){function t(t,e){this.templateRef=t,this.viewContainer=e}return t.decorators=[{type:Pl,args:[{selector:"[virtualItem]"}]}],t.ctorParameters=[{type:Rh},{type:vu}],t}(),CS=function(){function t(t,e,n,r,i,o,s,a,l){this._iterableDiffers=t,this._elementRef=e,this._renderer=n,this._zone=r,this._cd=i,this._content=o,this._platform=s,this._ctrl=a,this._records=[],this._cells=[],this._nodes=[],this._vHeight=0,this._lastCheck=0,this._data={scrollTop:0},this._queue=null,this.bufferRatio=2,this.approxItemWidth="100%",this.approxHeaderWidth="100%",this.approxHeaderHeight="40px",this.approxFooterWidth="100%",this.approxFooterHeight="40px",this._eventAssist=l.getBoolean("virtualScrollEventAssist")}return Object.defineProperty(t.prototype,"virtualScroll",{set:function(t){this._records=t,Mv(this._differ)&&Nv(t)&&(this._differ=this._iterableDiffers.find(t).create(this._cd,this._trackBy))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerFn",{set:function(t){Rv(t)&&(this._hdrFn=t.bind(this._ctrl&&this._ctrl._cmp||this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"footerFn",{set:function(t){Rv(t)&&(this._ftrFn=t.bind(this._ctrl&&this._ctrl._cmp||this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"virtualTrackBy",{set:function(t){this._trackBy=t},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){this._init&&this.update(!0)},t.prototype.ngAfterContentInit=function(){var t=this;if(!this._init){if(!this._itmTmp)throw"virtualItem required within virtualScroll";this._init=!0,this.approxItemHeight||(this.approxItemHeight="40px",console.warn('Virtual Scroll: Please provide an "approxItemHeight" input to ensure proper virtual scroll rendering')),this.update(!0),this._platform.onResize(function(){t.update(!1)})}},t.prototype.update=function(t){function e(t){n._data.valid?t():(as(n._data,n._elementRef.nativeElement.parentElement,n.approxItemWidth,n.approxItemHeight,n.approxHeaderWidth,n.approxHeaderHeight,n.approxFooterWidth,n.approxFooterHeight,n.bufferRatio),n._data.valid?t():i<30&&(i++,nb(function(){e(t)})))}var n=this;if(n._records&&n._records.length){if(t&&Nv(n._differ)){var r=n._differ.diff(n._records);if(!Nv(r))return}n._cells.length=0,n._nodes.length=0,n._itmTmp.viewContainer.clear(),n._elementRef.nativeElement.parentElement.scrollTop=0;var i=0;e(function(){Ko(n._data.renderHeight,n._records,n._cells,n._hdrFn,n._ftrFn,n._data),n.renderVirtual(),n.addScrollListener()})}},t.prototype.renderVirtual=function(){this._data.topCell=0,this._data.bottomCell=this._cells.length-1,Qo(0,this._data.bottomCell,this._data.viewWidth,!0,this._cells,this._records,this._nodes,this._itmTmp.viewContainer,this._itmTmp.templateRef,this._hdrTmp&&this._hdrTmp.templateRef,this._ftrTmp&&this._ftrTmp.templateRef,!0),this._cd.detectChanges(),nb(this.postRenderVirtual.bind(this))},t.prototype.postRenderVirtual=function(){ts(this._nodes,this._cells,this._data),this._renderer.setElementClass(this._elementRef.nativeElement,"virtual-scroll",!0),rs(this._nodes,this._cells,this._records.length),this.setVirtualHeight(ss(this._records.length,this._cells[this._cells.length-1],this._vHeight,.25))},t.prototype.scrollUpdate=function(){sb(this._tmId),this._tmId=ob(this.onScrollEnd.bind(this),ES);var t=this._data;if(this._queue===OS)this._cd.detectChanges(),rs(this._nodes,this._cells,this._records.length),this.setVirtualHeight(ss(this._records.length,this._cells[this._cells.length-1],this._vHeight,.25)),this._queue=null;else if(t.scrollDiff=t.scrollTop-this._lastCheck,Math.abs(t.scrollDiff)>xS){if(this._lastCheck=t.scrollTop,t.scrollDiff>0){var e=t.scrollTop+t.renderHeight;Ko(e,this._records,this._cells,this._hdrFn,this._ftrFn,t)}es(this._nodes,this._cells,t,!1),is(this._cells,t);var n=Qo(t.topCell,t.bottomCell,t.viewWidth,t.scrollDiff>0,this._cells,this._records,this._nodes,this._itmTmp.viewContainer,this._itmTmp.templateRef,this._hdrTmp&&this._hdrTmp.templateRef,this._ftrTmp&&this._ftrTmp.templateRef,!1);n?(this._imgs.forEach(function(t){t.enable(!1)}),this._queue=OS):this._queue=null}},t.prototype.onScrollEnd=function(){this._imgs.forEach(function(t){t.enable(!0)}),es(this._nodes,this._cells,this._data,!1),is(this._cells,this._data),this._cd.detectChanges(),this.setVirtualHeight(ss(this._records.length,this._cells[this._cells.length-1],this._vHeight,.05))},t.prototype.setVirtualHeight=function(t){t!==this._vHeight&&(this._renderer.setElementStyle(this._elementRef.nativeElement,"height",t>0?t+"px":""),this._vHeight=t)},t.prototype.addScrollListener=function(){var t=this;t._unreg||t._zone.runOutsideAngular(function(){function e(){t._data.scrollTop=t._content.getScrollTop(),t.scrollUpdate()}t._eventAssist?t._unreg=t._content.jsScroll(e):t._unreg=t._content.addScrollListener(e)})},t.prototype.ngOnDestroy=function(){this._unreg&&this._unreg(),this._unreg=null},t.decorators=[{type:Pl,args:[{selector:"[virtualScroll]"}]}],t.ctorParameters=[{type:Kc},{type:_u},{type:cu},{type:fh},{type:nu},{type:gw},{type:pb},{type:qv,decorators:[{type:hl}]},{type:Hv}],t.propDecorators={_itmTmp:[{type:Cl,args:[wS]}],_hdrTmp:[{type:Cl,args:[vS]}],_ftrTmp:[{type:Cl,args:[bS]}],_imgs:[{type:wl,args:[nO]}],virtualScroll:[{type:Al}],bufferRatio:[{type:Al}],approxItemWidth:[{type:Al}],approxItemHeight:[{type:Al}],approxHeaderWidth:[{type:Al}],approxHeaderHeight:[{type:Al}],approxFooterWidth:[{type:Al}],approxFooterHeight:[{type:Al}],headerFn:[{type:Al}],footerFn:[{type:Al}],virtualTrackBy:[{type:Al}]},t}(),ES=140,xS=20,OS=0,TS=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)},PS=function(){function t(){this.ani=new aw}return t.prototype.setOpen=function(t,e,n){var r=this.ani.onFinish(n,!0).reverse(!t);e?r.play():r.play({duration:0})},t.prototype.setProgressStart=function(t){this.isOpening=!t,this.ani.reverse(t).progressStart()},t.prototype.setProgessStep=function(t){this.ani.progressStep(t)},t.prototype.setProgressEnd=function(t,e,n){var r=this,i=this.isOpening&&t;this.isOpening||t||(i=!0),this.ani.onFinish(function(){r.isOpening=!1,n(i)},!0),this.ani.progressEnd(t,e)},t.prototype.destroy=function(){this.ani&&this.ani.destroy()},t}(),SS=function(t){function e(e,n){t.call(this);var r=e.width()*("right"===e.side?-1:1)+"px";this.ani.easing("ease").duration(250);var i=new aw(e.getContentElement());i.fromTo("translateX","0px",r),this.ani.add(i)}return TS(e,t),e}(PS);YC.registerType("reveal",SS);var IS=function(t){function e(e,n){t.call(this),this.ani.easing("ease").duration(250);var r,i,o;"right"===e.side?(r=-e.width()+"px",i=e.width()+"px",o="0px"):(r=e.width()+"px",o="0px",i=-e.width()+"px");var s=new aw(e.getMenuElement());s.fromTo("translateX",i,o),this.ani.add(s);var a=new aw(e.getContentElement());a.fromTo("translateX","0px",r),this.ani.add(a)}return TS(e,t),e}(PS);YC.registerType("push",IS);var AS=function(t){function e(e,n){t.call(this),this.ani.easing("ease").duration(250);var r,i;"right"===e.side?(r=8+e.width()+"px",i="0px"):(r=-(8+e.width())+"px",i="0px");var o=new aw(e.getMenuElement());o.fromTo("translateX",r,i),this.ani.add(o);var s=new aw(e.getBackdropElement());s.fromTo("opacity",.01,.35),this.ani.add(s)}return TS(e,t),e}(PS);YC.registerType("overlay",AS);var kS,RS=[$E,KE,QE,tx,nx,rx,ix,ox,yx,mx,eO,gw,Xx,Qx,Kx,Zx,RO,Jx,kO,xT,ax,nO,rO,aO,HC,px,hx,fx,CO,hO,EO,cx,vO,OO,SO,IO,LO,VO,HO,MO,zO,UO,GO,WO,FO,qO,YO,VC,JC,QO,$O,rT,nT,iT,pT,fO,tO,hT,dT,gT,yT,bT,ET,HP,BP,zP,WP,XP,dw,KP,hw,nS,eS,rS,sS,DO,lS,uS,hS,bS,vS,wS,CS],jS=function(){function t(){}return t.forRoot=function(e,n,r){return void 0===n&&(n=null),void 0===r&&(r=null),{ngModule:t,providers:[{provide:BC,useValue:e},{provide:zv,useValue:n},{provide:XE,useValue:r},{provide:fb,useFactory:hs},{provide:_b,useFactory:_s},{provide:yb,useFactory:ys},{provide:db,useFactory:fs},{provide:_E,useFactory:ds},{provide:lE,useFactory:li},{provide:dE,useFactory:ci,deps:[_E]},{provide:pb,useFactory:Zr,deps:[lE,dE,fb,db,_b,yb,fh]},{provide:Hv,useFactory:Tr,deps:[zv,dE,pb]},{provide:Ac,useFactory:di,deps:[Hv],multi:!0},{provide:Ac,useFactory:oi,deps:[Hv],multi:!0},{provide:Ac,useFactory:ei,deps:[pb],multi:!0},{provide:Ac,useFactory:fi,deps:[Hv,gb,fh],multi:!0},{provide:G_,useClass:Vb},{provide:ml,useValue:e,multi:!0},wb,Tb,gb,jb,Uv,Mb,Db,Fb,qC,Rf,YC,QC,sE,fE,wE,RE,ME,MC,{provide:Of,useFactory:ps,deps:[il,[new pl(Tf),new hl],Hv]},{provide:BE,useFactory:yi,deps:[XE]},{provide:Pb,useFactory:Qr,deps:[gb,BE,Rf]}]}},t.decorators=[{type:Ml,args:[{imports:[jy,Iv,km,Rm],exports:[jy,Iv,km,Rm,RS],declarations:[Xv,Cb,RS,zC,$C,tE,cE,SE],entryComponents:[Xv,Cb,HC,zC,$C,tE,cE,SE]}]}],t.ctorParameters=[],t}(),DS=330,NS=(function(){function t(t,e,n,r){this.elementRef=n,this.renderer=r,this._showing=!1,t._clickBlock=this,this.isEnabled=e.getBoolean("clickBlock",!0)}return t.prototype.activate=function(t,e){this.isEnabled&&(sb(this._tmrId),t&&(this._tmrId=ob(this.activate.bind(this,!1),e||DS)),this._showing!==t&&(this.renderer.setElementClass(this.elementRef.nativeElement,"click-block-active",t),this._showing=t))},t.decorators=[{type:Pl,args:[{selector:".click-block"}]}],t.ctorParameters=[{type:gb,decorators:[{type:pl,args:[C(function(){return gb})]}]},{type:Hv},{type:_u},{type:cu}],t}(),function(t){return ms(window,t)}),MS=function(t,e){var n=t.name,r=t.plugin;e?console.warn("Native: tried calling "+n+"."+e+", but the "+n+" plugin is not installed."):console.warn("Native: tried accessing the "+n+" plugin but it's not installed."),console.warn("Install the "+n+" plugin: 'ionic plugin add "+r+"'")},LS=function(t,e){e?console.warn("Native: tried calling "+t+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+t+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")},VS=function(t,e,n){return void 0===n&&(n={}),function(){for(var r=[],i=0;i<arguments.length;i++)r[i-0]=arguments[i];return n.sync?bs(t,e,r,n):n.observable?xs(t,e,r,n):n.eventObservable&&n.event?Ps(n.event):n.otherPromise?Es(t,e,r,n):Cs(t,e,r,n)}},FS=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},BS=function(){function t(){}return t.show=function(t){},t.hide=function(t){},FS([As()],t,"show",null),FS([As()],t,"hide",null),t=FS([Is({plugin:"cordova-plugin-actionsheet",pluginRef:"plugins.actionsheet",repo:"https://github.com/EddyVerbruggen/cordova-plugin-actionsheet",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),HS=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},zS=function(){function t(){}return t.createBanner=function(t){},t.removeBanner=function(){},t.showBanner=function(t){},t.showBannerAtXY=function(t,e){},t.hideBanner=function(){},t.prepareInterstitial=function(t){},t.showInterstitial=function(){},t.isInterstitialReady=function(){},t.prepareRewardVideoAd=function(t){},t.showRewardVideoAd=function(){},t.setOptions=function(t){},t.getAdSettings=function(){},t.onBannerFailedToReceive=function(){},t.onBannerReceive=function(){},t.onBannerPresent=function(){},t.onBannerLeaveApp=function(){},t.onBannerDismiss=function(){},t.onInterstitialFailedToReceive=function(){},t.onInterstitialReceive=function(){},t.onInterstitialPresent=function(){},t.onInterstitialLeaveApp=function(){},t.onInterstitialDismiss=function(){},HS([As()],t,"createBanner",null),HS([As({sync:!0})],t,"removeBanner",null),HS([As({sync:!0})],t,"showBanner",null),HS([As({sync:!0})],t,"showBannerAtXY",null),HS([As({sync:!0})],t,"hideBanner",null),HS([As()],t,"prepareInterstitial",null),HS([As({sync:!0})],t,"showInterstitial",null),HS([As()],t,"isInterstitialReady",null),HS([As()],t,"prepareRewardVideoAd",null),HS([As({sync:!0})],t,"showRewardVideoAd",null),HS([As()],t,"setOptions",null),HS([As()],t,"getAdSettings",null),HS([As({eventObservable:!0,event:"onBannerFailedToReceive"})],t,"onBannerFailedToReceive",null),HS([As({eventObservable:!0,event:"onBannerReceive"})],t,"onBannerReceive",null),HS([As({eventObservable:!0,event:"onBannerPresent"})],t,"onBannerPresent",null),HS([As({eventObservable:!0,event:"onBannerLeaveApp"})],t,"onBannerLeaveApp",null),HS([As({eventObservable:!0,event:"onBannerDismiss"})],t,"onBannerDismiss",null),HS([As({eventObservable:!0,event:"onInterstitialFailedToReceive"})],t,"onInterstitialFailedToReceive",null),HS([As({eventObservable:!0,event:"onInterstitialReceive"})],t,"onInterstitialReceive",null),HS([As({eventObservable:!0,event:"onInterstitialPresent"})],t,"onInterstitialPresent",null),HS([As({eventObservable:!0,event:"onInterstitialLeaveApp"})],t,"onInterstitialLeaveApp",null),HS([As({eventObservable:!0,event:"onInterstitialDismiss"})],t,"onInterstitialDismiss",null),t=HS([Is({plugin:"cordova-plugin-admobpro",pluginRef:"AdMob",repo:"https://github.com/floatinghotpot/cordova-admob-pro",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),US=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},GS=function(){function t(){}return t.show=function(t){},t.isAvailable=function(){},US([As()],t,"show",null),US([As()],t,"isAvailable",null),t=US([Is({plugin:"cordova-plugin-android-fingerprint-auth",pluginRef:"FingerprintAuth",repo:"https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth"})],t)}(),WS=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},qS=function(){function t(){}return t.check=function(t){},WS([As()],t,"check",null),t=WS([Is({plugin:"cordova-plugin-appavailability",pluginRef:"appAvailability",repo:"https://github.com/ohh2ahh/AppAvailability",platforms:["Android","iOS"]})],t)}(),YS=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},XS=function(){function t(){}return Object.defineProperty(t,"preferences",{get:function(){return window.AppRate.preferences},enumerable:!0,configurable:!0}),t.promptForRating=function(t){},YS([Rs],t,"preferences",null),YS([As()],t,"promptForRating",null),t=YS([Is({plugin:"cordova-plugin-apprate",pluginRef:"AppRate",repo:"https://github.com/pushandplay/cordova-plugin-apprate",platforms:["Android","iOS"]})],t)}(),$S=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},KS=function(){function t(){}return t.getAppName=function(){},t.getPackageName=function(){},t.getVersionCode=function(){},t.getVersionNumber=function(){},$S([As()],t,"getAppName",null),$S([As()],t,"getPackageName",null),$S([As()],t,"getVersionCode",null),$S([As()],t,"getVersionNumber",null),t=$S([Is({plugin:"cordova-plugin-app-version",pluginRef:"cordova.getAppVersion",repo:"https://github.com/whiteoctober/cordova-plugin-app-version",platforms:["Android","iOS"]})],t)}(),ZS=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},QS=function(){function t(){}return t.clear=function(){},t.set=function(t){},t.get=function(){},t.increase=function(t){},t.decrease=function(t){},t.hasPermission=function(){},t.registerPermission=function(){},ZS([As()],t,"clear",null),ZS([As()],t,"set",null),ZS([As()],t,"get",null),ZS([As()],t,"increase",null),ZS([As()],t,"decrease",null),ZS([As()],t,"hasPermission",null),ZS([As()],t,"registerPermission",null),t=ZS([Is({plugin:"cordova-plugin-badge",pluginRef:"cordova.plugins.notification.badge",repo:"https://github.com/katzer/cordova-plugin-badge",platforms:["Android","iOS","Browser","Windows","Amazon FireOS","Windows Phone 8"]})],t)}(),JS=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},tI=function(){function t(){}return t.configure=function(t,e,n){},t.start=function(){},t.stop=function(){},t.finish=function(){},t.changePace=function(t){},t.setConfig=function(t){},t.getStationaryLocation=function(){},t.onStationary=function(){},t.isLocationEnabled=function(){},t.showAppSettings=function(){},t.showLocationSettings=function(){},t.watchLocationMode=function(){},t.stopWatchingLocationMode=function(){},t.getLocations=function(){},t.getValidLocations=function(){},t.deleteLocation=function(t){},t.deleteAllLocations=function(){},t.switchMode=function(t){},t.getLogEntries=function(t){},t.LocationProvider={ANDROID_DISTANCE_FILTER_PROVIDER:0,ANDROID_ACTIVITY_PROVIDER:1},t.Accuracy={HIGH:0,MEDIUM:10,LOW:100,PASSIVE:1e3},t.Mode={BACKGROUND:0,FOREGROUND:1},JS([As({sync:!0})],t,"configure",null),JS([As()],t,"start",null),JS([As()],t,"stop",null),JS([As()],t,"finish",null),JS([As()],t,"changePace",null),JS([As({callbackOrder:"reverse"})],t,"setConfig",null),JS([As()],t,"getStationaryLocation",null),JS([As()],t,"onStationary",null),JS([As()],t,"isLocationEnabled",null),JS([As({sync:!0})],t,"showAppSettings",null),JS([As({sync:!0})],t,"showLocationSettings",null),JS([As()],t,"watchLocationMode",null),JS([As()],t,"stopWatchingLocationMode",null),JS([As()],t,"getLocations",null),JS([As()],t,"getValidLocations",null),JS([As()],t,"deleteLocation",null),JS([As()],t,"deleteAllLocations",null),JS([As()],t,"switchMode",null),JS([As()],t,"getLogEntries",null),t=JS([Is({plugin:"cordova-plugin-mauron85-background-geolocation",pluginRef:"backgroundGeolocation",repo:"https://github.com/mauron85/cordova-plugin-background-geolocation",platforms:["iOS","Android","Windows Phone 8"]})],t)}(),eI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},nI=function(){function t(){}return t.enable=function(){},t.disable=function(){},t.isEnabled=function(){},t.isActive=function(){},t.setDefaults=function(t){},t.configure=function(t){},t.onactivate=function(){},t.ondeactivate=function(){},t.onfailure=function(){},eI([As({sync:!0})],t,"enable",null),eI([As()],t,"disable",null),eI([As()],t,"isEnabled",null),eI([As()],t,"isActive",null),eI([As({platforms:["Android"]})],t,"setDefaults",null),eI([As({platforms:["Android"]})],t,"configure",null),eI([Ds()],t,"onactivate",null),eI([Ds()],t,"ondeactivate",null),eI([Ds()],t,"onfailure",null),t=eI([Is({plugin:"cordova-plugin-background-mode",pluginRef:"cordova.plugins.backgroundMode",repo:"https://github.com/katzer/cordova-plugin-background-mode",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),rI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},iI=function(){function t(){}return t.scan=function(t){},t.encode=function(t,e){},t.Encode={TEXT_TYPE:"TEXT_TYPE",EMAIL_TYPE:"EMAIL_TYPE",PHONE_TYPE:"PHONE_TYPE",SMS_TYPE:"SMS_TYPE"},rI([As({callbackOrder:"reverse"})],t,"scan",null),rI([As()],t,"encode",null),t=rI([Is({plugin:"phonegap-plugin-barcodescanner",pluginRef:"cordova.plugins.barcodeScanner",repo:"https://github.com/phonegap/phonegap-plugin-barcodescanner",platforms:["Android","iOS","Windows Phone 8","Windows 10","Windows 8","BlackBerry 10","Browser"]})],t)}(),oI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},sI=function(){function t(){}return t.base64ToGallery=function(t,e){},oI([As({successIndex:2,errorIndex:3})],t,"base64ToGallery",null),t=oI([Is({plugin:"cordova-base64-to-gallery",pluginRef:"cordova",repo:"https://github.com/Nexxa/cordova-base64-to-gallery",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),aI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},lI=function(){function t(){}return t.onChange=function(){},t.onLow=function(){},t.onCritical=function(){},aI([As({eventObservable:!0,event:"batterystatus"})],t,"onChange",null),aI([As({eventObservable:!0,event:"batterylow"})],t,"onLow",null),aI([As({eventObservable:!0,event:"batterycritical"})],t,"onCritical",null),t=aI([Is({plugin:"cordova-plugin-battery-status",repo:"https://github.com/apache/cordova-plugin-battery-status",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"]})],t)}(),cI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},uI=function(){function t(){}return t.setBrightness=function(t){},t.getBrightness=function(){},t.setKeepScreenOn=function(t){},cI([As()],t,"setBrightness",null),cI([As()],t,"getBrightness",null),cI([As()],t,"setKeepScreenOn",null),t=cI([Is({plugin:"cordova-plugin-brightness",pluginRef:"cordova.plugins.brightness",repo:"https://github.com/mgcrea/cordova-plugin-brightness",platforms:["Android","iOS"]})],t)}(),pI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},hI=function(){function t(){}return t.scan=function(t,e){},t.startScan=function(t){},t.startScanWithOptions=function(t,e){},t.stopScan=function(){},t.connect=function(t){},t.disconnect=function(t){},t.read=function(t,e,n){},t.write=function(t,e,n,r){},t.writeWithoutResponse=function(t,e,n,r){},t.startNotification=function(t,e,n){},t.stopNotification=function(t,e,n){},t.isConnected=function(t){},t.isEnabled=function(){},t.showBluetoothSettings=function(){},t.enable=function(){},pI([As({observable:!0})],t,"scan",null),pI([As({observable:!0,clearFunction:"stopScan",clearWithArgs:!0})],t,"startScan",null),pI([As({observable:!0,clearFunction:"stopScan",clearWithArgs:!0})],t,"startScanWithOptions",null),pI([As()],t,"stopScan",null),pI([As({observable:!0,clearFunction:"disconnect",clearWithArgs:!0})],t,"connect",null),pI([As()],t,"disconnect",null),pI([As()],t,"read",null),pI([As()],t,"write",null),pI([As()],t,"writeWithoutResponse",null),
  pI([As({observable:!0,clearFunction:"stopNotification",clearWithArgs:!0})],t,"startNotification",null),pI([As()],t,"stopNotification",null),pI([As()],t,"isConnected",null),pI([As()],t,"isEnabled",null),pI([As()],t,"showBluetoothSettings",null),pI([As()],t,"enable",null),t=pI([Is({plugin:"cordova-plugin-ble-central",pluginRef:"ble",repo:"https://github.com/don/cordova-plugin-ble-central",platforms:["iOS","Android"]})],t)}(),fI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},dI=function(){function t(){}return t.connect=function(t){},t.connectInsecure=function(t){},t.write=function(t){},t.available=function(){},t.read=function(){},t.readUntil=function(t){},t.subscribe=function(t){},t.subscribeRawData=function(){},t.clear=function(){},t.list=function(){},t.isEnabled=function(){},t.isConnected=function(){},t.readRSSI=function(){},t.showBluetoothSettings=function(){},t.enable=function(){},t.discoverUnpaired=function(){},t.setDeviceDiscoveredListener=function(){},t.setName=function(t){},t.setDiscoverable=function(t){},fI([As({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"disconnect"})],t,"connect",null),fI([As({platforms:["Android"],observable:!0,clearFunction:"disconnect"})],t,"connectInsecure",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"write",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"available",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"read",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"readUntil",null),fI([As({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"unsubscribe"})],t,"subscribe",null),fI([As({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"unsubscribeRawData"})],t,"subscribeRawData",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"clear",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"list",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"isEnabled",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"isConnected",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"readRSSI",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"showBluetoothSettings",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"enable",null),fI([As({platforms:["Android","iOS","Windows Phone"]})],t,"discoverUnpaired",null),fI([As({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"clearDeviceDiscoveredListener"})],t,"setDeviceDiscoveredListener",null),fI([As({platforms:["Android"],sync:!0})],t,"setName",null),fI([As({platforms:["Android"],sync:!0})],t,"setDiscoverable",null),t=fI([Is({repo:"https://github.com/don/BluetoothSerial",plugin:"cordova-plugin-bluetooth-serial",pluginRef:"bluetoothSerial",platforms:["Android","iOS","Windows Phone","Browser"]})],t)}(),_I=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},yI=function(){function t(){}return t.hasReadWritePermission=function(){},t.hasReadPermission=function(){},t.hasWritePermission=function(){},t.requestWritePermission=function(){},t.requestReadPermission=function(){},t.requestReadWritePermission=function(){},t.createCalendar=function(t){},t.deleteCalendar=function(t){},t.getCalendarOptions=function(){return{firstReminderMinutes:60,secondReminderMinutes:null,recurrence:null,recurrenceInterval:1,recurrenceEndDate:null,calendarName:null,calendarId:null,url:null}},t.createEvent=function(t,e,n,r,i){},t.createEventWithOptions=function(t,e,n,r,i,o){},t.createEventInteractively=function(t,e,n,r,i){},t.createEventInteractivelyWithOptions=function(t,e,n,r,i,o){},t.findEvent=function(t,e,n,r,i){},t.findEventWithOptions=function(t,e,n,r,i,o){},t.listEventsInRange=function(t,e){},t.listCalendars=function(){},t.findAllEventsInNamedCalendar=function(t){},t.modifyEvent=function(t,e,n,r,i,o,s,a,l,c){},t.modifyEventWithOptions=function(t,e,n,r,i,o,s,a,l,c,u,p){},t.deleteEvent=function(t,e,n,r,i){},t.deleteEventFromNamedCalendar=function(t,e,n,r,i,o){},t.openCalendar=function(t){},_I([As()],t,"hasReadWritePermission",null),_I([As()],t,"hasReadPermission",null),_I([As()],t,"hasWritePermission",null),_I([As()],t,"requestWritePermission",null),_I([As()],t,"requestReadPermission",null),_I([As()],t,"requestReadWritePermission",null),_I([As()],t,"createCalendar",null),_I([As()],t,"deleteCalendar",null),_I([As({sync:!0})],t,"getCalendarOptions",null),_I([As()],t,"createEvent",null),_I([As()],t,"createEventWithOptions",null),_I([As()],t,"createEventInteractively",null),_I([As()],t,"createEventInteractivelyWithOptions",null),_I([As()],t,"findEvent",null),_I([As()],t,"findEventWithOptions",null),_I([As()],t,"listEventsInRange",null),_I([As()],t,"listCalendars",null),_I([As()],t,"findAllEventsInNamedCalendar",null),_I([As()],t,"modifyEvent",null),_I([As()],t,"modifyEventWithOptions",null),_I([As()],t,"deleteEvent",null),_I([As()],t,"deleteEventFromNamedCalendar",null),_I([As()],t,"openCalendar",null),t=_I([Is({plugin:"cordova-plugin-calendar",pluginRef:"plugins.calendar",repo:"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin",platforms:["Android","iOS"]})],t)}(),gI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},mI=function(){function t(){}return t.callNumber=function(t,e){},gI([As({callbackOrder:"reverse"})],t,"callNumber",null),t=gI([Is({plugin:"call-number",pluginRef:"plugins.CallNumber",repo:"https://github.com/Rohfosho/CordovaCallNumberPlugin",platforms:["iOS","Android"]})],t)}(),vI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},bI=function(){function t(){}return t.getPicture=function(t){},t.cleanup=function(){},t.DestinationType={DATA_URL:0,FILE_URI:1,NATIVE_URI:2},t.EncodingType={JPEG:0,PNG:1},t.MediaType={PICTURE:0,VIDEO:1,ALLMEDIA:2},t.PictureSourceType={PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},t.PopoverArrowDirection={ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15},t.Direction={BACK:0,FRONT:1},vI([As({callbackOrder:"reverse"})],t,"getPicture",null),vI([As({platforms:["iOS"]})],t,"cleanup",null),t=vI([Is({plugin:"cordova-plugin-camera",pluginRef:"navigator.camera",repo:"https://github.com/apache/cordova-plugin-camera",platforms:["Android","BlackBerry","Browser","Firefox","FireOS","iOS","Windows","Windows Phone 8","Ubuntu"]})],t)}(),wI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},CI=function(){function t(){}return t.startCamera=function(t,e,n,r,i,o){},t.stopCamera=function(){},t.takePicture=function(t){},t.setOnPictureTakenHandler=function(){},t.switchCamera=function(){},t.show=function(){},t.hide=function(){},t.setColorEffect=function(t){},wI([As({sync:!0})],t,"startCamera",null),wI([As({sync:!0})],t,"stopCamera",null),wI([As({sync:!0})],t,"takePicture",null),wI([As({observable:!0})],t,"setOnPictureTakenHandler",null),wI([As({sync:!0})],t,"switchCamera",null),wI([As({sync:!0})],t,"show",null),wI([As({sync:!0})],t,"hide",null),wI([As({sync:!0})],t,"setColorEffect",null),t=wI([Is({plugin:"cordova-plugin-camera-preview",pluginRef:"cordova.plugins.camerapreview",repo:"https://github.com/westonganger/cordova-plugin-camera-preview",platforms:["Android","iOS"]})],t)}(),EI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},xI=function(){function t(){}return t.canScan=function(){},t.scan=function(t){},t.version=function(){},EI([As()],t,"canScan",null),EI([As()],t,"scan",null),EI([As()],t,"version",null),t=EI([Is({plugin:"https://github.com/card-io/card.io-Cordova-Plugin",pluginRef:"CardIO",repo:"https://github.com/card-io/card.io-Cordova-Plugin",platforms:["iOS","Android"]})],t)}(),OI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},TI=function(){function t(){}return t.copy=function(t){},t.paste=function(){},OI([As()],t,"copy",null),OI([As()],t,"paste",null),t=OI([Is({plugin:"https://github.com/VersoSolutions/CordovaClipboard.git",pluginRef:"cordova.plugins.clipboard",repo:"https://github.com/VersoSolutions/CordovaClipboard",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"]})],t)}(),PI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};!function(t){t[t.UP_TO_DATE=0]="UP_TO_DATE",t[t.UPDATE_INSTALLED=1]="UPDATE_INSTALLED",t[t.UPDATE_IGNORED=2]="UPDATE_IGNORED",t[t.ERROR=3]="ERROR",t[t.IN_PROGRESS=4]="IN_PROGRESS",t[t.CHECKING_FOR_UPDATE=5]="CHECKING_FOR_UPDATE",t[t.AWAITING_USER_ACTION=6]="AWAITING_USER_ACTION",t[t.DOWNLOADING_PACKAGE=7]="DOWNLOADING_PACKAGE",t[t.INSTALLING_UPDATE=8]="INSTALLING_UPDATE"}(kS||(kS={}));var SI;!function(t){t[t.IMMEDIATE=0]="IMMEDIATE",t[t.ON_NEXT_RESTART=1]="ON_NEXT_RESTART",t[t.ON_NEXT_RESUME=2]="ON_NEXT_RESUME"}(SI||(SI={}));var II=function(){function t(){}return t.getCurrentPackage=function(){},t.getPendingPackage=function(){},t.checkForUpdate=function(t){},t.notifyApplicationReady=function(){},t.restartApplication=function(){},t.sync=function(t,e){},PI([As()],t,"getCurrentPackage",null),PI([As()],t,"getPendingPackage",null),PI([As({callbackOrder:"reverse"})],t,"checkForUpdate",null),PI([As()],t,"notifyApplicationReady",null),PI([As()],t,"restartApplication",null),PI([As({observable:!0,successIndex:0,errorIndex:3})],t,"sync",null),t=PI([Is({plugin:"cordova-plugin-code-push",pluginRef:"codePush",repo:"https://github.com/Microsoft/cordova-plugin-code-push",platforms:["Android","iOS"]})],t)}(),AI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},kI=function(){function t(){this._objectInstance=navigator.contacts.create()}return Object.defineProperty(t.prototype,"id",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nickname",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"phoneNumbers",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"emails",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addresses",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ims",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"organizations",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"birthday",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"note",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"photos",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"categories",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"urls",{get:function(){},enumerable:!0,configurable:!0}),t.prototype.clone=function(){var e=new t;for(var n in this){if("id"===n)return;e[n]=this[n]}return e},t.prototype.remove=function(){},t.prototype.save=function(){},AI([js],t.prototype,"id",null),AI([js],t.prototype,"displayName",null),AI([js],t.prototype,"name",null),AI([js],t.prototype,"nickname",null),AI([js],t.prototype,"phoneNumbers",null),AI([js],t.prototype,"emails",null),AI([js],t.prototype,"addresses",null),AI([js],t.prototype,"ims",null),AI([js],t.prototype,"organizations",null),AI([js],t.prototype,"birthday",null),AI([js],t.prototype,"note",null),AI([js],t.prototype,"photos",null),AI([js],t.prototype,"categories",null),AI([js],t.prototype,"urls",null),AI([ks()],t.prototype,"remove",null),AI([ks()],t.prototype,"save",null),t}(),RI=(function(){function t(t,e,n,r,i,o){this._objectInstance=new window.ContactName(t,e,n,r,i,o)}return Object.defineProperty(t.prototype,"formatted",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"familyName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"givenName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"middleName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"honorificPrefix",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"honorificSuffix",{get:function(){},enumerable:!0,configurable:!0}),AI([js],t.prototype,"formatted",null),AI([js],t.prototype,"familyName",null),AI([js],t.prototype,"givenName",null),AI([js],t.prototype,"middleName",null),AI([js],t.prototype,"honorificPrefix",null),AI([js],t.prototype,"honorificSuffix",null),t}(),function(){function t(t,e,n){this._objectInstance=new window.ContactField(t,e,n)}return Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),AI([js],t.prototype,"type",null),AI([js],t.prototype,"value",null),AI([js],t.prototype,"pref",null),t}(),function(){function t(t,e,n,r,i,o,s,a){this._objectInstance=new window.ContactAddress(t,e,n,r,i,o,s,a)}return Object.defineProperty(t.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formatted",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"streetAddress",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locality",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"postalCode",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"country",{get:function(){},enumerable:!0,configurable:!0}),AI([js],t.prototype,"pref",null),AI([js],t.prototype,"type",null),AI([js],t.prototype,"formatted",null),AI([js],t.prototype,"streetAddress",null),AI([js],t.prototype,"locality",null),AI([js],t.prototype,"region",null),AI([js],t.prototype,"postalCode",null),AI([js],t.prototype,"country",null),t}(),function(){function t(){this._objectInstance=new window.ContactOrganization}return Object.defineProperty(t.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"department",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){},enumerable:!0,configurable:!0}),AI([js],t.prototype,"pref",null),AI([js],t.prototype,"type",null),AI([js],t.prototype,"name",null),AI([js],t.prototype,"department",null),AI([js],t.prototype,"title",null),t}(),function(){function t(){this._objectInstance=new window.ContactFindOptions}return Object.defineProperty(t.prototype,"filter",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredFields",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPhoneNumber",{get:function(){},enumerable:!0,configurable:!0}),AI([js],t.prototype,"filter",null),AI([js],t.prototype,"multiple",null),AI([js],t.prototype,"desiredFields",null),AI([js],t.prototype,"hasPhoneNumber",null),t}(),function(){function t(){}return t.create=function(){return new kI},t.find=function(t,e){},t.pickContact=function(){},AI([As({successIndex:1,errorIndex:2})],t,"find",null),AI([As()],t,"pickContact",null),t=AI([Is({plugin:"cordova-plugin-contacts",pluginRef:"navigator.contacts",repo:"https://github.com/apache/cordova-plugin-contacts"})],t)}()),jI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},DI=function(){function t(){}return t.crop=function(t,e){},jI([As({callbackOrder:"reverse"})],t,"crop",null),t=jI([Is({plugin:"cordova-plugin-crop",pluginRef:"plugins",repo:"https://github.com/jeduan/cordova-plugin-crop"})],t)}(),NI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},MI=function(){function t(){}return t.show=function(t){},t.ANDROID_THEMES={THEME_TRADITIONAL:1,THEME_HOLO_DARK:2,THEME_HOLO_LIGHT:3,THEME_DEVICE_DEFAULT_DARK:4,THEME_DEVICE_DEFAULT_LIGHT:5},NI([As()],t,"show",null),t=NI([Is({plugin:"cordova-plugin-datepicker",pluginRef:"datePicker",repo:"https://github.com/VitaliiBlagodir/cordova-plugin-datepicker"})],t)}(),LI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},VI=function(){function t(){}return t.start=function(){},t.stop=function(){},t.isListening=function(){},t.delete=function(){},LI([As({observable:!0,clearFunction:"stop"})],t,"start",null),LI([As()],t,"stop",null),LI([As()],t,"isListening",null),LI([As()],t,"delete",null),t=LI([Is({plugin:"cordova-plugin-dbmeter",pluginRef:"DBMeter",repo:"https://github.com/akofman/cordova-plugin-dbmeter",platforms:["iOS","Android"]})],t)}(),FI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},BI=function(){function t(){}return t.route=function(t){},t.routeWithNavController=function(t,e){},FI([As({observable:!0})],t,"route",null),FI([As({observable:!0})],t,"routeWithNavController",null),t=FI([Is({plugin:"ionic-plugin-deeplinks",pluginRef:"IonicDeeplink",repo:"https://github.com/driftyco/ionic-plugin-deeplinks",platforms:["iOS","Android"],install:"ionic plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/"})],t)}(),HI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},zI=function(){function t(){}return Object.defineProperty(t,"device",{get:function(){return window.device},enumerable:!0,configurable:!0}),HI([Rs],t,"device",null),t=HI([Is({plugin:"cordova-plugin-device",pluginRef:"device",repo:"https://github.com/apache/cordova-plugin-device"})],t)}(),UI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},GI=function(){function t(){}return t.acoustic=function(){},t.haptic=function(t){},t.isFeedbackEnabled=function(){},UI([As({sync:!0})],t,"acoustic",null),UI([As({sync:!0})],t,"haptic",null),UI([As()],t,"isFeedbackEnabled",null),t=UI([Is({plugin:"cordova-plugin-velda-devicefeedback",pluginRef:"plugins.deviceFeedback",repo:"https://github.com/VVelda/device-feedback",platforms:["Android"]})],t)}(),WI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},qI=function(){function t(){}return t.get=function(){},t.getByType=function(t){},t.getEmails=function(){},t.getEmail=function(){},WI([As()],t,"get",null),WI([As()],t,"getByType",null),WI([As()],t,"getEmails",null),WI([As()],t,"getEmail",null),t=WI([Is({plugin:"https://github.com/loicknuchel/cordova-device-accounts.git",pluginRef:"plugins.DeviceAccounts",repo:"https://github.com/loicknuchel/cordova-device-accounts",platforms:["Android"]})],t)}(),YI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},XI=function(){function t(){}return t.getCurrentAcceleration=function(){},t.watchAcceleration=function(t){},YI([As()],t,"getCurrentAcceleration",null),YI([As({callbackOrder:"reverse",observable:!0,clearFunction:"clearWatch"})],t,"watchAcceleration",null),t=YI([Is({plugin:"cordova-plugin-device-motion",pluginRef:"navigator.accelerometer",repo:"https://github.com/apache/cordova-plugin-device-motion"})],t)}(),$I=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},KI=function(){function t(){}return t.getCurrentHeading=function(){},t.watchHeading=function(t){},$I([As()],t,"getCurrentHeading",null),$I([As({callbackOrder:"reverse",observable:!0,clearFunction:"clearWatch"})],t,"watchHeading",null),t=$I([Is({plugin:"cordova-plugin-device-orientation",pluginRef:"navigator.compass",repo:"https://github.com/apache/cordova-plugin-device-orientation"})],t)}(),ZI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},QI=function(){function t(){}return t.isLocationAvailable=function(){},t.isWifiAvailable=function(){},t.isCameraAvailable=function(){},t.isBluetoothAvailable=function(){},t.switchToLocationSettings=function(){},t.switchToMobileDataSettings=function(){},t.switchToBluetoothSettings=function(){},t.switchToWifiSettings=function(){},t.isWifiEnabled=function(){},t.setWifiState=function(t){},t.setBluetoothState=function(t){},t.isLocationEnabled=function(){},t.isLocationAuthorized=function(){},t.getLocationAuthorizationStatus=function(){},t.requestLocationAuthorization=function(t){},t.isCameraPresent=function(){},t.isCameraAuthorized=function(){},t.getCameraAuthorizationStatus=function(){},t.requestCameraAuthorization=function(){},t.isMicrophoneAuthorized=function(){},t.getMicrophoneAuthorizationStatus=function(){},t.requestMicrophoneAuthorization=function(){},t.isContactsAuthorized=function(){},t.getContactsAuthorizationStatus=function(){},t.requestContactsAuthorization=function(){},t.isCalendarAuthorized=function(){},t.getCalendarAuthorizationStatus=function(){},t.requestCalendarAuthorization=function(){},t.switchToSettings=function(){},t.getBluetoothState=function(){},t.registerBluetoothStateChangeHandler=function(t){},t.registerLocationStateChangeHandler=function(t){},t.isGpsLocationAvailable=function(){},t.isGpsLocationEnabled=function(){},t.isNetworkLocationAvailable=function(){},t.isNetworkLocationEnabled=function(){},t.getLocationMode=function(){},t.getPermissionAuthorizationStatus=function(t){},t.getPermissionsAuthorizationStatus=function(t){},t.requestRuntimePermission=function(t){},t.requestRuntimePermissions=function(t){},t.isBluetoothEnabled=function(){},t.hasBluetoothSupport=function(){},t.hasBluetoothLESupport=function(){},t.hasBluetoothLEPeripheralSupport=function(){},t.isCameraRollAuthorized=function(){},t.getCameraRollAuthorizationStatus=function(){},t.requestCameraRollAuthorization=function(){},t.isRemoteNotificationsEnabled=function(){},t.isRegisteredForRemoteNotifications=function(){},t.getRemoteNotificationTypes=function(){},t.isRemindersAuthorized=function(){},t.getRemindersAuthorizationStatus=function(){},t.requestRemindersAuthorization=function(){},t.isBackgroundRefreshAuthorized=function(){},t.getBackgroundRefreshStatus=function(){},t.permission={READ_CALENDAR:"READ_CALENDAR",WRITE_CALENDAR:"WRITE_CALENDAR",CAMERA:"CAMERA",READ_CONTACTS:"READ_CONTACTS",WRITE_CONTACTS:"WRITE_CONTACTS",GET_ACCOUNTS:"GET_ACCOUNTS",ACCESS_FINE_LOCATION:"ACCESS_FINE_LOCATION",ACCESS_COARSE_LOCATION:"ACCESS_COARSE_LOCATION",RECORD_AUDIO:"RECORD_AUDIO",READ_PHONE_STATE:"READ_PHONE_STATE",CALL_PHONE:"CALL_PHONE",ADD_VOICEMAIL:"ADD_VOICEMAIL",USE_SIP:"USE_SIP",PROCESS_OUTGOING_CALLS:"PROCESS_OUTGOING_CALLS",READ_CALL_LOG:"READ_CALL_LOG",WRITE_CALL_LOG:"WRITE_CALL_LOG",SEND_SMS:"SEND_SMS",RECEIVE_SMS:"RECEIVE_SMS",READ_SMS:"READ_SMS",RECEIVE_WAP_PUSH:"RECEIVE_WAP_PUSH",RECEIVE_MMS:"RECEIVE_MMS",WRITE_EXTERNAL_STORAGE:"WRITE_EXTERNAL_STORAGE",READ_EXTERNAL_STORAGE:"READ_EXTERNAL_STORAGE",BODY_SENSORS:"BODY_SENSORS"},t.permissionStatus={GRANTED:"GRANTED",GRANTED_WHEN_IN_USE:"GRANTED_WHEN_IN_USE",RESTRICTED:"RESTRICTED",DENIED:"DENIED",DENIED_ALWAYS:"DENIED_ALWAYS",NOT_REQUESTED:"NOT_REQUESTED"},t.locationAuthorizationMode={ALWAYS:"ALWAYS",WHEN_IN_USE:"WHEN_IN_USE"},t.permissionGroups={CALENDAR:["READ_CALENDAR","WRITE_CALENDAR"],CAMERA:["CAMERA"],CONTACTS:["READ_CONTACTS","WRITE_CONTACTS","GET_ACCOUNTS"],LOCATION:["ACCESS_FINE_LOCATION","ACCESS_COARSE_LOCATION"],MICROPHONE:["RECORD_AUDIO"],PHONE:["READ_PHONE_STATE","CALL_PHONE","ADD_VOICEMAIL","USE_SIP","PROCESS_OUTGOING_CALLS","READ_CALL_LOG","WRITE_CALL_LOG"],SENSORS:["BODY_SENSORS"],SMS:["SEND_SMS","RECEIVE_SMS","READ_SMS","RECEIVE_WAP_PUSH","RECEIVE_MMS"],STORAGE:["READ_EXTERNAL_STORAGE","WRITE_EXTERNAL_STORAGE"]},t.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},t.bluetoothState={UNKNOWN:"unknown",RESETTING:"resetting",UNSUPPORTED:"unsupported",UNAUTHORIZED:"unauthorized",POWERED_OFF:"powered_off",POWERED_ON:"powered_on",POWERING_OFF:"powering_off",POWERING_ON:"powering_on"},ZI([As()],t,"isLocationAvailable",null),ZI([As()],t,"isWifiAvailable",null),ZI([As()],t,"isCameraAvailable",null),ZI([As()],t,"isBluetoothAvailable",null),ZI([As({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToLocationSettings",null),ZI([As({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToMobileDataSettings",null),ZI([As({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToBluetoothSettings",null),ZI([As({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToWifiSettings",null),ZI([As({platforms:["Android","Windows 10"]})],t,"isWifiEnabled",null),ZI([As({callbackOrder:"reverse",platforms:["Android","Windows 10"]})],t,"setWifiState",null),ZI([As({callbackOrder:"reverse",platforms:["Android","Windows 10"]})],t,"setBluetoothState",null),ZI([As({platforms:["Android","iOS"]})],t,"isLocationEnabled",null),ZI([As()],t,"isLocationAuthorized",null),ZI([As({platforms:["Android","iOS"]})],t,"getLocationAuthorizationStatus",null),ZI([As({platforms:["Android","iOS"]})],t,"requestLocationAuthorization",null),ZI([As({platforms:["Android","iOS"]})],t,"isCameraPresent",null),ZI([As({platforms:["Android","iOS"]})],t,"isCameraAuthorized",null),ZI([As({platforms:["Android","iOS"]})],t,"getCameraAuthorizationStatus",null),ZI([As({platforms:["Android","iOS"]})],t,"requestCameraAuthorization",null),ZI([As({platforms:["Android","iOS"]})],t,"isMicrophoneAuthorized",null),ZI([As({platforms:["Android","iOS"]})],t,"getMicrophoneAuthorizationStatus",null),ZI([As({platforms:["Android","iOS"]})],t,"requestMicrophoneAuthorization",null),ZI([As({platforms:["Android","iOS"]})],t,"isContactsAuthorized",null),ZI([As({platforms:["Android","iOS"]})],t,"getContactsAuthorizationStatus",null),ZI([As({platforms:["Android","iOS"]})],t,"requestContactsAuthorization",null),ZI([As({platforms:["Android","iOS"]})],t,"isCalendarAuthorized",null),ZI([As({platforms:["Android","iOS"]})],t,"getCalendarAuthorizationStatus",null),ZI([As({platforms:["Android","iOS"]})],t,"requestCalendarAuthorization",null),ZI([As({platforms:["Android","iOS"]})],t,"switchToSettings",null),ZI([As({platforms:["Android","iOS"]})],t,"getBluetoothState",null),ZI([As({platforms:["Android","iOS"],sync:!0})],t,"registerBluetoothStateChangeHandler",null),ZI([As({platforms:["Android","iOS"],sync:!0})],t,"registerLocationStateChangeHandler",null),ZI([As({platforms:["Android"]})],t,"isGpsLocationAvailable",null),ZI([As({platforms:["Android"]})],t,"isGpsLocationEnabled",null),ZI([As({platforms:["Android"]})],t,"isNetworkLocationAvailable",null),ZI([As({platforms:["Android"]})],t,"isNetworkLocationEnabled",null),ZI([As({platforms:["Android"]})],t,"getLocationMode",null),ZI([As({platforms:["Android"],callbackOrder:"reverse"})],t,"getPermissionAuthorizationStatus",null),ZI([As({platforms:["Android"],callbackOrder:"reverse"})],t,"getPermissionsAuthorizationStatus",null),
  ZI([As({platforms:["Android"],callbackOrder:"reverse"})],t,"requestRuntimePermission",null),ZI([As({platforms:["Android"],callbackOrder:"reverse"})],t,"requestRuntimePermissions",null),ZI([As({platforms:["Android"]})],t,"isBluetoothEnabled",null),ZI([As({platforms:["Android"]})],t,"hasBluetoothSupport",null),ZI([As({platforms:["Android"]})],t,"hasBluetoothLESupport",null),ZI([As({platforms:["Android"]})],t,"hasBluetoothLEPeripheralSupport",null),ZI([As({platforms:["iOS"]})],t,"isCameraRollAuthorized",null),ZI([As({platforms:["iOS"]})],t,"getCameraRollAuthorizationStatus",null),ZI([As({platforms:["iOS"]})],t,"requestCameraRollAuthorization",null),ZI([As({platforms:["iOS"]})],t,"isRemoteNotificationsEnabled",null),ZI([As({platforms:["iOS"]})],t,"isRegisteredForRemoteNotifications",null),ZI([As({platforms:["iOS"]})],t,"getRemoteNotificationTypes",null),ZI([As({platforms:["iOS"]})],t,"isRemindersAuthorized",null),ZI([As({platforms:["iOS"]})],t,"getRemindersAuthorizationStatus",null),ZI([As({platforms:["iOS"]})],t,"requestRemindersAuthorization",null),ZI([As({platforms:["iOS"]})],t,"isBackgroundRefreshAuthorized",null),ZI([As({platforms:["iOS"]})],t,"getBackgroundRefreshStatus",null),t=ZI([Is({plugin:"cordova.plugins.diagnostic",pluginRef:"cordova.plugins.diagnostic",repo:"https://github.com/dpa99c/cordova-diagnostic-plugin"})],t)}(),JI=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},tA=function(){function t(){}return t.alert=function(t,e,n){void 0===e&&(e="Alert"),void 0===n&&(n="OK")},t.confirm=function(t,e,n){void 0===e&&(e="Confirm"),void 0===n&&(n=["OK","Cancel"])},t.prompt=function(t,e,n,r){void 0===e&&(e="Prompt"),void 0===n&&(n=["OK","Cancel"]),void 0===r&&(r="")},t.beep=function(t){},JI([As({successIndex:1,errorIndex:4})],t,"alert",null),JI([As({successIndex:1,errorIndex:4})],t,"confirm",null),JI([As({successIndex:1,errorIndex:5})],t,"prompt",null),JI([As({sync:!0})],t,"beep",null),t=JI([Is({plugin:"cordova-plugin-dialogs",pluginRef:"navigator.notification",repo:"https://github.com/apache/cordova-plugin-dialogs.git"})],t)}(),eA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},nA=function(){function t(){}return t.isAvailable=function(t){return new Promise(function(e,n){t?cordova.plugins.email.isAvailable(t,function(t){t?e():n()}):cordova.plugins.email.isAvailable(function(t){t?e():n()})})},t.addAlias=function(t,e){},t.open=function(t,e){},eA([As()],t,"addAlias",null),eA([As({successIndex:1,errorIndex:3})],t,"open",null),t=eA([Is({plugin:"cordova-plugin-email",pluginRef:"cordova.plugins.email",repo:"https://github.com/hypery2k/cordova-email-plugin",platforms:["Android","iOS"]})],t)}(),rA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},iA=function(){function t(){}return t.requestWhenInUseAuthorization=function(){},t.requestAlwaysAuthorization=function(){},t.authorizationStatus=function(){},t.startAdvertisingAsBeacon=function(t,e,n,r){},t.stopAdvertisingAsBeacon=function(){},t.enableAnalytics=function(t){},t.isAnalyticsEnabled=function(){},t.isAuthorized=function(){},t.setupAppIDAndAppToken=function(t,e){},t.startEstimoteBeaconDiscovery=function(){},t.stopEstimoteBeaconDiscovery=function(){},t.startRangingBeaconsInRegion=function(t){},t.stopRangingBeaconsInRegion=function(t){},t.startRangingSecureBeaconsInRegion=function(t){},t.stopRangingSecureBeaconsInRegion=function(t){},t.startMonitoringForRegion=function(t,e){},t.stopMonitoringForRegion=function(t){},t.startSecureMonitoringForRegion=function(t,e){},t.stopSecureMonitoringForRegion=function(t){},t.connectToBeacon=function(t){},t.disconnectConnectedBeacon=function(){},t.writeConnectedProximityUUID=function(t){},t.writeConnectedMajor=function(t){},t.writeConnectedMinor=function(t){},t.ProximityUnknown=0,t.ProximityImmediate=1,t.ProximityNear=2,t.ProximityFar=3,t.BeaconColorUnknown=0,t.BeaconColorMintCocktail=1,t.BeaconColorIcyMarshmallow=2,t.BeaconColorBlueberryPie=3,t.BeaconColorSweetBeetroot=4,t.BeaconColorCandyFloss=5,t.BeaconColorLemonTart=6,t.BeaconColorVanillaJello=7,t.BeaconColorLiquoriceSwirl=8,t.BeaconColorWhite=9,t.BeaconColorTransparent=10,t.RegionStateUnknown="unknown",t.RegionStateOutside="outside",t.RegionStateInside="inside",rA([As()],t,"requestWhenInUseAuthorization",null),rA([As()],t,"requestAlwaysAuthorization",null),rA([As()],t,"authorizationStatus",null),rA([As({clearFunction:"stopAdvertisingAsBeacon"})],t,"startAdvertisingAsBeacon",null),rA([As()],t,"stopAdvertisingAsBeacon",null),rA([As()],t,"enableAnalytics",null),rA([As()],t,"isAnalyticsEnabled",null),rA([As()],t,"isAuthorized",null),rA([As()],t,"setupAppIDAndAppToken",null),rA([As({observable:!0,clearFunction:"stopEstimoteBeaconDiscovery"})],t,"startEstimoteBeaconDiscovery",null),rA([As()],t,"stopEstimoteBeaconDiscovery",null),rA([As({observable:!0,clearFunction:"stopRangingBeaconsInRegion",clearWithArgs:!0})],t,"startRangingBeaconsInRegion",null),rA([As()],t,"stopRangingBeaconsInRegion",null),rA([As({observable:!0,clearFunction:"stopRangingSecureBeaconsInRegion",clearWithArgs:!0})],t,"startRangingSecureBeaconsInRegion",null),rA([As()],t,"stopRangingSecureBeaconsInRegion",null),rA([As({observable:!0,clearFunction:"stopMonitoringForRegion",clearWithArgs:!0,successIndex:1,errorIndex:2})],t,"startMonitoringForRegion",null),rA([As()],t,"stopMonitoringForRegion",null),rA([As({observable:!0,clearFunction:"stopSecureMonitoringForRegion",clearWithArgs:!0,successIndex:1,errorIndex:2})],t,"startSecureMonitoringForRegion",null),rA([As()],t,"stopSecureMonitoringForRegion",null),rA([As()],t,"connectToBeacon",null),rA([As()],t,"disconnectConnectedBeacon",null),rA([As()],t,"writeConnectedProximityUUID",null),rA([As()],t,"writeConnectedMajor",null),rA([As()],t,"writeConnectedMinor",null),t=rA([Is({plugin:"cordova-plugin-estimote",pluginRef:"estimote.beacons",repo:"https://github.com/evothings/phonegap-estimotebeacons",platforms:["iOS","Android"]})],t)}(),oA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},sA=function(){function t(){}return t.browserInit=function(t,e){},t.login=function(t){},t.logout=function(){},t.getLoginStatus=function(){},t.getAccessToken=function(){},t.showDialog=function(t){},t.api=function(t,e){},t.logEvent=function(t,e,n){},t.logPurchase=function(t,e){},t.appInvite=function(t){},oA([As()],t,"browserInit",null),oA([As()],t,"login",null),oA([As()],t,"logout",null),oA([As()],t,"getLoginStatus",null),oA([As()],t,"getAccessToken",null),oA([As()],t,"showDialog",null),oA([As()],t,"api",null),oA([As()],t,"logEvent",null),oA([As()],t,"logPurchase",null),oA([As()],t,"appInvite",null),t=oA([Is({plugin:"cordova-plugin-facebook4",pluginRef:"facebookConnectPlugin",repo:"https://github.com/jeduan/cordova-plugin-facebook4",install:'ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"'})],t)}(),aA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},lA={plugin:"cordova-plugin-file",pluginRef:"cordova.file",repo:"https://github.com/apache/cordova-plugin-file"},cA=function(){function t(){}return t.getFreeDiskSpace=function(){return new Promise(function(t,e){cordova&&cordova.exec?cordova.exec(t,e,"File","getFreeDiskSpace",[]):(MS(lA),e({error:"plugin_not_installed"}))})},t.checkDir=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}var i=e+n;return t.resolveDirectoryUrl(i).then(function(){return!0})},t.createDir=function(e,n,r){if(/^\//.test(n)){var i=new FileError(5);return i.message="directory cannot start with /",Promise.reject(i)}var o={create:!0};return r||(o.exclusive=!0),t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,o)})},t.removeDir=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,{create:!1})}).then(function(e){return t.remove(e)})},t.moveDir=function(e,n,r,i){var o=this;if(i=i||n,/^\//.test(i)){var s=new FileError(5);return s.message="directory cannot start with /",Promise.reject(s)}return this.resolveDirectoryUrl(e).then(function(t){return o.getDirectory(t,n,{create:!1})}).then(function(e){return o.resolveDirectoryUrl(r).then(function(n){return t.move(e,n,i)})})},t.copyDir=function(e,n,r,i){var o=this;if(/^\//.test(i)){var s=new FileError(5);return s.message="directory cannot start with /",Promise.reject(s)}return this.resolveDirectoryUrl(e).then(function(t){return o.getDirectory(t,n,{create:!1})}).then(function(e){return o.resolveDirectoryUrl(r).then(function(n){return t.copy(e,n,i)})})},t.listDir=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,{create:!1,exclusive:!1})}).then(function(e){var n=e.createReader();return t.readEntries(n)})},t.removeRecursively=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,{create:!1})}).then(function(e){return t.rimraf(e)})},t.checkFile=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="file cannot start with /",Promise.reject(r)}return t.resolveLocalFilesystemUrl(e+n).then(function(t){if(t.isFile)return!0;var e=new FileError(13);return e.message="input is not a file",Promise.reject(e)})},t.createFile=function(e,n,r){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}var o={create:!0};return r||(o.exclusive=!0),t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,o)})},t.removeFile=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(e){return t.remove(e)})},t.writeFile=function(e,n,r,i){if(/^\//.test(n)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}var s={create:!0,exclusive:i.replace};return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,s)}).then(function(e){return t.createWriter(e)}).then(function(e){return i.append&&e.seek(e.length),i.truncate&&e.truncate(i.truncate),t.write(e,r)})},t.writeExistingFile=function(e,n,r){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(e){return t.createWriter(e)}).then(function(e){return t.write(e,r)})},t.readAsText=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,r){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):r(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsText(t)},function(t){r(t)})})})},t.readAsDataURL=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,r){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):r(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsDataURL(t)},function(t){r(t)})})})},t.readAsBinaryString=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,r){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):r(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsBinaryString(t)},function(t){r(t)})})})},t.readAsArrayBuffer=function(e,n){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,r){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):r(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsArrayBuffer(t)},function(t){r(t)})})})},t.moveFile=function(e,n,r,i){var o=this;if(i=i||n,/^\//.test(i)){var s=new FileError(5);return s.message="file name cannot start with /",Promise.reject(s)}return this.resolveDirectoryUrl(e).then(function(t){return o.getFile(t,n,{create:!1})}).then(function(e){return o.resolveDirectoryUrl(r).then(function(n){return t.move(e,n,i)})})},t.copyFile=function(e,n,r,i){var o=this;if(i=i||n,/^\//.test(i)){var s=new FileError(5);return s.message="file name cannot start with /",Promise.reject(s)}return this.resolveDirectoryUrl(e).then(function(t){return o.getFile(t,n,{create:!1})}).then(function(e){return o.resolveDirectoryUrl(r).then(function(n){return t.copy(e,n,i)})})},t.fillErrorMessage=function(e){e.message=t.cordovaFileError[e.code]},t.resolveLocalFilesystemUrl=function(e){return new Promise(function(n,r){try{window.resolveLocalFileSystemURL(e,function(t){n(t)},function(e){t.fillErrorMessage(e),r(e)})}catch(e){t.fillErrorMessage(e),r(e)}})},t.resolveDirectoryUrl=function(e){return t.resolveLocalFilesystemUrl(e).then(function(t){if(t.isDirectory)return t;var e=new FileError(13);return e.message="input is not a directory",Promise.reject(e)})},t.getDirectory=function(e,n,r){return new Promise(function(i,o){try{e.getDirectory(n,r,function(t){i(t)},function(e){t.fillErrorMessage(e),o(e)})}catch(e){t.fillErrorMessage(e),o(e)}})},t.getFile=function(e,n,r){return new Promise(function(i,o){try{e.getFile(n,r,i,function(e){t.fillErrorMessage(e),o(e)})}catch(e){t.fillErrorMessage(e),o(e)}})},t.remove=function(e){return new Promise(function(n,r){e.remove(function(){n({success:!0,fileRemoved:e})},function(e){t.fillErrorMessage(e),r(e)})})},t.move=function(e,n,r){return new Promise(function(i,o){e.moveTo(n,r,function(t){i(t)},function(e){t.fillErrorMessage(e),o(e)})})},t.copy=function(e,n,r){return new Promise(function(i,o){e.copyTo(n,r,function(t){i(t)},function(e){t.fillErrorMessage(e),o(e)})})},t.readEntries=function(e){return new Promise(function(n,r){e.readEntries(function(t){n(t)},function(e){t.fillErrorMessage(e),r(e)})})},t.rimraf=function(e){return new Promise(function(n,r){e.removeRecursively(function(){n({success:!0,fileRemoved:e})},function(e){t.fillErrorMessage(e),r(e)})})},t.createWriter=function(e){return new Promise(function(n,r){e.createWriter(function(t){n(t)},function(e){t.fillErrorMessage(e),r(e)})})},t.write=function(t,e){return e instanceof Blob?this.writeFileInChunks(t,e):new Promise(function(n,r){t.onwriteend=function(e){t.error?r(t.error):n(e)},t.write(e)})},t.writeFileInChunks=function(t,e){function n(){var n=Math.min(r,e.size-i),o=e.slice(i,i+n);i+=n,t.write(o)}var r=1048576,i=0;return new Promise(function(r,o){t.onerror=o,t.onwrite=function(){i<e.size?n():r()},n()})},t.cordovaFileError={1:"NOT_FOUND_ERR",2:"SECURITY_ERR",3:"ABORT_ERR",4:"NOT_READABLE_ERR",5:"ENCODING_ERR",6:"NO_MODIFICATION_ALLOWED_ERR",7:"INVALID_STATE_ERR",8:"SYNTAX_ERR",9:"INVALID_MODIFICATION_ERR",10:"QUOTA_EXCEEDED_ERR",11:"TYPE_MISMATCH_ERR",12:"PATH_EXISTS_ERR",13:"WRONG_ENTRY_TYPE",14:"DIR_READ_ERR"},t=aA([Is(lA)],t)}(),uA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},pA=function(){function t(){}return t.open=function(){},uA([As()],t,"open",null),t=uA([Is({plugin:"http://github.com/don/cordova-filechooser.git",pluginRef:"fileChooser",repo:"https://github.com/don/cordova-filechooser",platforms:["Android"]})],t)}(),hA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},fA=function(){function t(){}return t.open=function(t,e){},t.uninstall=function(t){},t.appIsInstalled=function(t){},hA([As({callbackStyle:"object",successName:"success",errorName:"error"})],t,"open",null),hA([As({callbackStyle:"object",successName:"success",errorName:"error"})],t,"uninstall",null),hA([As({callbackStyle:"object",successName:"success",errorName:"error"})],t,"appIsInstalled",null),t=hA([Is({plugin:"cordova-plugin-file-opener2",pluginRef:"cordova.plugins.fileOpener2",repo:"https://github.com/pwlin/cordova-plugin-file-opener2"})],t)}(),dA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},_A=function(){function t(){this._objectInstance=new FileTransfer}return t.prototype.upload=function(t,e,n,r){},t.prototype.download=function(t,e,n,r){},t.prototype.onProgress=function(t){this._objectInstance.onprogress=t},t.prototype.abort=function(){},t.FileTransferErrorCode={FILE_NOT_FOUND_ERR:1,INVALID_URL_ERR:2,CONNECTION_ERR:3,ABORT_ERR:4,NOT_MODIFIED_ERR:5},dA([ks({successIndex:2,errorIndex:3})],t.prototype,"upload",null),dA([ks({successIndex:2,errorIndex:3})],t.prototype,"download",null),dA([ks({sync:!0})],t.prototype,"abort",null),t=dA([Is({plugin:"cordova-plugin-file-transfer",pluginRef:"FileTransfer",repo:"https://github.com/apache/cordova-plugin-file-transfer"})],t)}(),yA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},gA=function(){function t(){}return t.available=function(){},t.switchOn=function(){},t.switchOff=function(){},t.toggle=function(){},t.isSwitchedOn=function(){},yA([As()],t,"available",null),yA([As()],t,"switchOn",null),yA([As()],t,"switchOff",null),yA([As()],t,"toggle",null),yA([As({sync:!0})],t,"isSwitchedOn",null),t=yA([Is({plugin:"cordova-plugin-flashlight",pluginRef:"window.plugins.flashlight",repo:"https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git"})],t)}(),mA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},vA=function(){function t(){}return t.initialize=function(){},t.addOrUpdate=function(t){},t.remove=function(t){},t.removeAll=function(){},t.getWatched=function(){},t.onTransitionReceived=function(){return new Up(function(t){return window&&window.geofence&&(window.geofence.onTransitionReceived=t.next.bind(t)),function(){return window.geofence.onTransitionReceived=function(){}}})},t.onNotificationClicked=function(){return new Up(function(t){return window&&window.geofence&&(window.geofence.onNotificationClicked=t.next.bind(t)),function(){return window.geofence.onNotificationClicked=function(){}}})},t.TransitionType={ENTER:1,EXIT:2,BOTH:3},mA([As()],t,"initialize",null),mA([As()],t,"addOrUpdate",null),mA([As()],t,"remove",null),mA([As()],t,"removeAll",null),mA([As()],t,"getWatched",null),t=mA([Is({plugin:"cordova-plugin-geofence",pluginRef:"geofence",repo:"https://github.com/cowbell/cordova-plugin-geofence/",platforms:["Android","iOS","Windows Phone 8","Windows Phone"]})],t)}(),bA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},wA=function(){function t(){}return t.getCurrentPosition=function(t){},t.watchPosition=function(t){return new Up(function(e){var n=navigator.geolocation.watchPosition(e.next.bind(e),e.next.bind(e),t);return function(){return navigator.geolocation.clearWatch(n)}})},bA([As({callbackOrder:"reverse"})],t,"getCurrentPosition",null),t=bA([Is({plugin:"cordova-plugin-geolocation",pluginRef:"navigator.geolocation",repo:"https://github.com/apache/cordova-plugin-geolocation"})],t)}(),CA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},EA=function(){function t(){}return t.getPreferredLanguage=function(){},t.getLocaleName=function(){},t.dateToString=function(t,e){},t.stringToDate=function(t,e){},t.getDatePattern=function(t){},t.getDateNames=function(t){},t.isDayLightSavingsTime=function(t){},t.getFirstDayOfWeek=function(){},t.numberToString=function(t){},t.stringToNumber=function(t,e){},t.getNumberPattern=function(t){},t.getCurrencyPattern=function(t){},CA([As()],t,"getPreferredLanguage",null),CA([As()],t,"getLocaleName",null),CA([As({successIndex:1,errorIndex:2})],t,"dateToString",null),CA([As({successIndex:1,errorIndex:2})],t,"stringToDate",null),CA([As({callbackOrder:"reverse"})],t,"getDatePattern",null),CA([As({callbackOrder:"reverse"})],t,"getDateNames",null),CA([As()],t,"isDayLightSavingsTime",null),CA([As()],t,"getFirstDayOfWeek",null),CA([As({successIndex:1,errorIndex:2})],t,"numberToString",null),CA([As({successIndex:1,errorIndex:2})],t,"stringToNumber",null),CA([As({callbackOrder:"reverse"})],t,"getNumberPattern",null),CA([As()],t,"getCurrencyPattern",null),t=CA([Is({plugin:"cordova-plugin-globalization",pluginRef:"navigator.globalization",repo:"https://github.com/apache/cordova-plugin-globalization"})],t)}(),xA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},OA=function(){function t(){}return t.login=function(t){},t.trySilentLogin=function(t){},t.logout=function(){},t.disconnect=function(){},xA([As()],t,"login",null),xA([As()],t,"trySilentLogin",null),xA([As()],t,"logout",null),xA([As()],t,"disconnect",null),t=xA([Is({plugin:"cordova-plugin-googleplus",pluginRef:"window.plugins.googleplus",repo:"https://github.com/EddyVerbruggen/cordova-plugin-googleplus",platforms:["Web","Android","iOS"],install:"ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid"})],t)}(),TA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},PA={pluginRef:"plugin.google.maps.Map",plugin:"cordova-plugin-googlemaps",repo:"https://github.com/mapsplugin/cordova-plugin-googlemaps",install:'ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"'},SA=function(){function t(t,e){NS("plugin.google.maps.Map")?("string"==typeof t&&(t=document.getElementById(t)),this._objectInstance=plugin.google.maps.Map.getMap(t,e)):MS(PA)}return t.isAvailable=function(){},t.prototype.on=function(t){var e=this;return new Up(this._objectInstance?function(n){return e._objectInstance.on(t,n.next.bind(n)),function(){return e._objectInstance.off(t)}}:function(t){t.error({error:"plugin_not_installed"})})},t.prototype.one=function(t){var e=this;return this._objectInstance?new Promise(function(n){return e._objectInstance.one(t,n)}):Promise.reject({error:"plugin_not_installed"})},t.prototype.setDebuggable=function(t){},t.prototype.setClickable=function(t){},t.prototype.getCameraPosition=function(){},t.prototype.getMyLocation=function(t){},t.prototype.getVisibleRegion=function(){},t.prototype.showDialog=function(){},t.prototype.closeDialog=function(){},t.prototype.getLicenseInfo=function(){},t.prototype.setCenter=function(t){},t.prototype.setZoom=function(t){},t.prototype.setMapTypeId=function(t){},t.prototype.setTilt=function(t){},t.prototype.animateCamera=function(t){},t.prototype.moveCamera=function(t){},t.prototype.setMyLocationEnabled=function(t){},t.prototype.setIndoorEnabled=function(t){},t.prototype.setTrafficEnabled=function(t){},t.prototype.setCompassEnabled=function(t){},t.prototype.setAllGesturesEnabled=function(t){},t.prototype.addMarker=function(t){var e=this;return this._objectInstance?new Promise(function(n,r){e._objectInstance.addMarker(t,function(t){t?n(new IA(t)):r()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addCircle=function(t){var e=this;return this._objectInstance?new Promise(function(n,r){e._objectInstance.addCircle(t,function(t){t?n(new AA(t)):r()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addPolygon=function(t){var e=this;return this._objectInstance?new Promise(function(n,r){e._objectInstance.addPolygon(t,function(t){t?n(new RA(t)):r()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addPolyline=function(t){var e=this;return this._objectInstance?new Promise(function(n,r){e._objectInstance.addPolyline(t,function(t){t?n(new kA(t)):r()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addTileOverlay=function(t){var e=this;return this._objectInstance?new Promise(function(n,r){e._objectInstance.addTileOverlay(t,function(t){t?n(new jA(t)):r()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addGroundOverlay=function(t){var e=this;return this._objectInstance?new Promise(function(n,r){e._objectInstance.addGroundOverlay(t,function(t){t?n(new DA(t)):r()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addKmlOverlay=function(t){var e=this;return this._objectInstance?new Promise(function(n,r){e._objectInstance.addKmlOverlay(t,function(t){t?n(new NA(t)):r()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.setDiv=function(t){},t.prototype.setVisible=function(t){},t.prototype.setOptions=function(t){},t.prototype.setBackgroundColor=function(t){},t.prototype.setPadding=function(t,e,n,r){},t.prototype.clear=function(){},t.prototype.refreshLayout=function(){},t.prototype.fromLatLngToPoint=function(t,e){},t.prototype.fromPointToLatLng=function(t,e){},t.prototype.toDataURL=function(){},t.prototype.remove=function(){},t.prototype.panBy=function(){},TA([ks({sync:!0})],t.prototype,"setDebuggable",null),TA([ks({sync:!0})],t.prototype,"setClickable",null),TA([ks()],t.prototype,"getCameraPosition",null),TA([ks()],t.prototype,"getMyLocation",null),TA([ks()],t.prototype,"getVisibleRegion",null),TA([ks({sync:!0})],t.prototype,"showDialog",null),TA([ks({sync:!0})],t.prototype,"closeDialog",null),TA([ks()],t.prototype,"getLicenseInfo",null),TA([ks({sync:!0})],t.prototype,"setCenter",null),TA([ks({sync:!0})],t.prototype,"setZoom",null),TA([ks({sync:!0})],t.prototype,"setMapTypeId",null),TA([ks({sync:!0})],t.prototype,"setTilt",null),TA([ks()],t.prototype,"animateCamera",null),TA([ks()],t.prototype,"moveCamera",null),TA([ks({sync:!0})],t.prototype,"setMyLocationEnabled",null),TA([ks({sync:!0})],t.prototype,"setIndoorEnabled",null),TA([ks({sync:!0})],t.prototype,"setTrafficEnabled",null),TA([ks({sync:!0})],t.prototype,"setCompassEnabled",null),TA([ks({sync:!0})],t.prototype,"setAllGesturesEnabled",null),TA([ks({sync:!0})],t.prototype,"setDiv",null),TA([ks({sync:!0})],t.prototype,"setVisible",null),TA([ks({sync:!0})],t.prototype,"setOptions",null),TA([ks({sync:!0})],t.prototype,"setBackgroundColor",null),TA([ks({sync:!0})],t.prototype,"setPadding",null),TA([ks({sync:!0})],t.prototype,"clear",null),TA([ks({sync:!0})],t.prototype,"refreshLayout",null),TA([ks()],t.prototype,"fromLatLngToPoint",null),TA([ks()],t.prototype,"fromPointToLatLng",null),TA([ks()],t.prototype,"toDataURL",null),TA([ks({sync:!0})],t.prototype,"remove",null),TA([ks({sync:!0})],t.prototype,"panBy",null),TA([As()],t,"isAvailable",null),t=TA([Is(PA)],t)}(),IA=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new Up(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.isVisible=function(){},t.prototype.setVisible=function(t){},t.prototype.getHashCode=function(){},t.prototype.remove=function(){},t.prototype.setOpacity=function(t){},t.prototype.getOpacity=function(){},t.prototype.setZIndex=function(){},t.prototype.setIconAnchor=function(t,e){},t.prototype.setInfoWindowAnchor=function(t,e){},t.prototype.setDraggable=function(t){},t.prototype.isDraggable=function(){},t.prototype.setFlat=function(t){},t.prototype.setIcon=function(t){},t.prototype.setTitle=function(t){},t.prototype.getTitle=function(){},t.prototype.setSnippet=function(t){},t.prototype.getSnippet=function(){},t.prototype.setRotation=function(t){},t.prototype.getRotation=function(){},t.prototype.showInfoWindow=function(){},t.prototype.hideInfoWindow=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){},t.prototype.getMap=function(){},t.prototype.setAnimation=function(t){},TA([ks({sync:!0})],t.prototype,"isVisible",null),TA([ks()],t.prototype,"setVisible",null),TA([ks({sync:!0})],t.prototype,"getHashCode",null),TA([ks({sync:!0})],t.prototype,"remove",null),TA([ks({sync:!0})],t.prototype,"setOpacity",null),TA([ks({sync:!0})],t.prototype,"getOpacity",null),
  TA([ks({sync:!0})],t.prototype,"setZIndex",null),TA([ks({sync:!0})],t.prototype,"setIconAnchor",null),TA([ks({sync:!0})],t.prototype,"setInfoWindowAnchor",null),TA([ks({sync:!0})],t.prototype,"setDraggable",null),TA([ks({sync:!0})],t.prototype,"isDraggable",null),TA([ks({sync:!0})],t.prototype,"setFlat",null),TA([ks({sync:!0})],t.prototype,"setIcon",null),TA([ks({sync:!0})],t.prototype,"setTitle",null),TA([ks({sync:!0})],t.prototype,"getTitle",null),TA([ks({sync:!0})],t.prototype,"setSnippet",null),TA([ks({sync:!0})],t.prototype,"getSnippet",null),TA([ks({sync:!0})],t.prototype,"setRotation",null),TA([ks({sync:!0})],t.prototype,"getRotation",null),TA([ks({sync:!0})],t.prototype,"showInfoWindow",null),TA([ks({sync:!0})],t.prototype,"hideInfoWindow",null),TA([ks({sync:!0})],t.prototype,"setPosition",null),TA([ks()],t.prototype,"getPosition",null),TA([ks({sync:!0})],t.prototype,"getMap",null),TA([ks({sync:!0})],t.prototype,"setAnimation",null),t}(),AA=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new Up(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.getCenter=function(){},t.prototype.getRadius=function(){},t.prototype.getStrokeColor=function(){},t.prototype.getVisible=function(){},t.prototype.getZIndex=function(){},t.prototype.remove=function(){},t.prototype.setCenter=function(t){},t.prototype.setFillColor=function(t){},t.prototype.setStrokeColor=function(t){},t.prototype.setStrokeWidth=function(t){},t.prototype.setVisible=function(t){},t.prototype.setZIndex=function(t){},t.prototype.setRadius=function(t){},t.prototype.getMap=function(){},TA([ks({sync:!0})],t.prototype,"getCenter",null),TA([ks({sync:!0})],t.prototype,"getRadius",null),TA([ks({sync:!0})],t.prototype,"getStrokeColor",null),TA([ks({sync:!0})],t.prototype,"getVisible",null),TA([ks({sync:!0})],t.prototype,"getZIndex",null),TA([ks({sync:!0})],t.prototype,"remove",null),TA([ks({sync:!0})],t.prototype,"setCenter",null),TA([ks({sync:!0})],t.prototype,"setFillColor",null),TA([ks({sync:!0})],t.prototype,"setStrokeColor",null),TA([ks({sync:!0})],t.prototype,"setStrokeWidth",null),TA([ks({sync:!0})],t.prototype,"setVisible",null),TA([ks({sync:!0})],t.prototype,"setZIndex",null),TA([ks({sync:!0})],t.prototype,"setRadius",null),TA([ks({sync:!0})],t.prototype,"getMap",null),t}(),kA=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new Up(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.getPoints=function(){},t.prototype.getCOlor=function(){},t.prototype.getWidth=function(){},t.prototype.getGeodesic=function(){},t.prototype.getZIndex=function(){},t.prototype.remove=function(){},t.prototype.setPoints=function(t){},t.prototype.setColor=function(t){},t.prototype.setWidth=function(t){},t.prototype.setVisible=function(t){},t.prototype.setZIndex=function(t){},t.prototype.setGeoDesic=function(t){},t.prototype.getMap=function(){},TA([ks({sync:!0})],t.prototype,"getPoints",null),TA([ks({sync:!0})],t.prototype,"getCOlor",null),TA([ks({sync:!0})],t.prototype,"getWidth",null),TA([ks({sync:!0})],t.prototype,"getGeodesic",null),TA([ks({sync:!0})],t.prototype,"getZIndex",null),TA([ks({sync:!0})],t.prototype,"remove",null),TA([ks({sync:!0})],t.prototype,"setPoints",null),TA([ks({sync:!0})],t.prototype,"setColor",null),TA([ks({sync:!0})],t.prototype,"setWidth",null),TA([ks({sync:!0})],t.prototype,"setVisible",null),TA([ks({sync:!0})],t.prototype,"setZIndex",null),TA([ks({sync:!0})],t.prototype,"setGeoDesic",null),TA([ks({sync:!0})],t.prototype,"getMap",null),t}(),RA=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new Up(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.getPoints=function(){},t.prototype.getStrokeColor=function(){},t.prototype.getFillColor=function(){},t.prototype.getStrokeWidth=function(){},t.prototype.getGeodesic=function(){},t.prototype.getVisible=function(){},t.prototype.getZIndex=function(){},t.prototype.remove=function(){},t.prototype.setPoints=function(t){},t.prototype.setStrokeColor=function(t){},t.prototype.setFillColor=function(t){},t.prototype.setStrokeWidth=function(t){},t.prototype.setVisible=function(t){},t.prototype.setZIndex=function(t){},t.prototype.setGeodesic=function(t){},TA([ks({sync:!0})],t.prototype,"getPoints",null),TA([ks({sync:!0})],t.prototype,"getStrokeColor",null),TA([ks({sync:!0})],t.prototype,"getFillColor",null),TA([ks({sync:!0})],t.prototype,"getStrokeWidth",null),TA([ks({sync:!0})],t.prototype,"getGeodesic",null),TA([ks({sync:!0})],t.prototype,"getVisible",null),TA([ks({sync:!0})],t.prototype,"getZIndex",null),TA([ks({sync:!0})],t.prototype,"remove",null),TA([ks({sync:!0})],t.prototype,"setPoints",null),TA([ks({sync:!0})],t.prototype,"setStrokeColor",null),TA([ks({sync:!0})],t.prototype,"setFillColor",null),TA([ks({sync:!0})],t.prototype,"setStrokeWidth",null),TA([ks({sync:!0})],t.prototype,"setVisible",null),TA([ks({sync:!0})],t.prototype,"setZIndex",null),TA([ks({sync:!0})],t.prototype,"setGeodesic",null),t}(),jA=function(){function t(t){this._objectInstance=t}return t.prototype.getVisible=function(){},t.prototype.setVisible=function(t){},t.prototype.getFadeIn=function(){},t.prototype.setFadeIn=function(t){},t.prototype.getZIndex=function(){},t.prototype.setZIndex=function(t){},t.prototype.getOpacity=function(){},t.prototype.setOpacity=function(t){},t.prototype.clearTileCache=function(){},t.prototype.remove=function(){},TA([ks({sync:!0})],t.prototype,"getVisible",null),TA([ks({sync:!0})],t.prototype,"setVisible",null),TA([ks({sync:!0})],t.prototype,"getFadeIn",null),TA([ks({sync:!0})],t.prototype,"setFadeIn",null),TA([ks({sync:!0})],t.prototype,"getZIndex",null),TA([ks({sync:!0})],t.prototype,"setZIndex",null),TA([ks({sync:!0})],t.prototype,"getOpacity",null),TA([ks({sync:!0})],t.prototype,"setOpacity",null),TA([ks({sync:!0})],t.prototype,"clearTileCache",null),TA([ks({sync:!0})],t.prototype,"remove",null),t}(),DA=function(){function t(t){this._objectInstance=t}return t.prototype.setBearing=function(t){},t.prototype.getBearing=function(){},t.prototype.setOpacity=function(t){},t.prototype.getOpacity=function(){},t.prototype.setVisible=function(t){},t.prototype.getVisible=function(){},t.prototype.setImage=function(t){},t.prototype.remove=function(){},TA([ks({sync:!0})],t.prototype,"setBearing",null),TA([ks({sync:!0})],t.prototype,"getBearing",null),TA([ks({sync:!0})],t.prototype,"setOpacity",null),TA([ks({sync:!0})],t.prototype,"getOpacity",null),TA([ks({sync:!0})],t.prototype,"setVisible",null),TA([ks({sync:!0})],t.prototype,"getVisible",null),TA([ks({sync:!0})],t.prototype,"setImage",null),TA([ks({sync:!0})],t.prototype,"remove",null),t}(),NA=function(){function t(t){this._objectInstance=t}return t.prototype.remove=function(){},t.prototype.getOverlays=function(){},TA([ks({sync:!0})],t.prototype,"remove",null),TA([ks({sync:!0})],t.prototype,"getOverlays",null),t}(),MA=(function(){function t(t,e){var n=e?[t,e]:t;this._objectInstance=new plugin.google.maps.LatLngBounds(n)}return Object.defineProperty(t.prototype,"northeast",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"southwest",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),t.prototype.toString=function(){},t.prototype.toUrlValue=function(t){},t.prototype.extend=function(t){},t.prototype.contains=function(t){},t.prototype.getCenter=function(){},TA([js],t.prototype,"northeast",null),TA([js],t.prototype,"southwest",null),TA([js],t.prototype,"type",null),TA([ks({sync:!0})],t.prototype,"toString",null),TA([ks({sync:!0})],t.prototype,"toUrlValue",null),TA([ks({sync:!0})],t.prototype,"extend",null),TA([ks({sync:!0})],t.prototype,"contains",null),TA([ks({sync:!0})],t.prototype,"getCenter",null),t}(),function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}),LA=function(){function t(){}return t.startTrackerWithId=function(t){},t.setAllowIDFACollection=function(t){},t.setUserId=function(t){},t.setAnonymizeIp=function(t){},t.setAppVersion=function(t){},t.setOptOut=function(t){},t.debugMode=function(){},t.trackMetric=function(t,e){},t.trackView=function(t,e,n){},t.addCustomDimension=function(t,e){},t.trackEvent=function(t,e,n,r,i){},t.trackException=function(t,e){},t.trackTiming=function(t,e,n,r){},t.addTransaction=function(t,e,n,r,i,o){},t.addTransactionItem=function(t,e,n,r,i,o,s){},t.enableUncaughtExceptionReporting=function(t){},MA([As()],t,"startTrackerWithId",null),MA([As()],t,"setAllowIDFACollection",null),MA([As()],t,"setUserId",null),MA([As()],t,"setAnonymizeIp",null),MA([As()],t,"setAppVersion",null),MA([As()],t,"setOptOut",null),MA([As()],t,"debugMode",null),MA([As({successIndex:2,errorIndex:3})],t,"trackMetric",null),MA([As({successIndex:3,errorIndex:4})],t,"trackView",null),MA([As()],t,"addCustomDimension",null),MA([As({successIndex:5,errorIndex:6})],t,"trackEvent",null),MA([As()],t,"trackException",null),MA([As()],t,"trackTiming",null),MA([As()],t,"addTransaction",null),MA([As()],t,"addTransactionItem",null),MA([As()],t,"enableUncaughtExceptionReporting",null),t=MA([Is({plugin:"cordova-plugin-google-analytics",pluginRef:"ga",repo:"https://github.com/danwilson/google-analytics-plugin",platforms:["Android","iOS"]})],t)}(),VA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},FA=function(){function t(){}return t.isAvailable=function(){},t.toggleWifi=function(){},t.createHotspot=function(t,e,n){},t.startHotspot=function(){},t.configureHotspot=function(t,e,n){},t.stopHotspot=function(){},t.isHotspotEnabled=function(){},t.getAllHotspotDevices=function(){},t.connectToWifi=function(t,e){},t.connectToWifiAuthEncrypt=function(t,e,n,r){},t.addWifiNetwork=function(t,e,n){},t.removeWifiNetwork=function(t){},t.isConnectedToInternet=function(){},t.isConnectedToInternetViaWifi=function(){},t.isWifiOn=function(){},t.isWifiSupported=function(){},t.isWifiDirectSupported=function(){},t.scanWifi=function(){},t.scanWifiByLevel=function(){},t.startWifiPeriodicallyScan=function(t,e){},t.stopWifiPeriodicallyScan=function(){},t.getNetConfig=function(){},t.getConnectionInfo=function(){},t.pingHost=function(t){},t.getMacAddressOfHost=function(t){},t.isDnsLive=function(t){},t.isPortLive=function(t){},t.isRooted=function(){},VA([As()],t,"isAvailable",null),VA([As()],t,"toggleWifi",null),VA([As()],t,"createHotspot",null),VA([As()],t,"startHotspot",null),VA([As()],t,"configureHotspot",null),VA([As()],t,"stopHotspot",null),VA([As()],t,"isHotspotEnabled",null),VA([As()],t,"getAllHotspotDevices",null),VA([As()],t,"connectToWifi",null),VA([As()],t,"connectToWifiAuthEncrypt",null),VA([As()],t,"addWifiNetwork",null),VA([As()],t,"removeWifiNetwork",null),VA([As()],t,"isConnectedToInternet",null),VA([As()],t,"isConnectedToInternetViaWifi",null),VA([As()],t,"isWifiOn",null),VA([As()],t,"isWifiSupported",null),VA([As()],t,"isWifiDirectSupported",null),VA([As()],t,"scanWifi",null),VA([As()],t,"scanWifiByLevel",null),VA([As()],t,"startWifiPeriodicallyScan",null),VA([As()],t,"stopWifiPeriodicallyScan",null),VA([As()],t,"getNetConfig",null),VA([As()],t,"getConnectionInfo",null),VA([As()],t,"pingHost",null),VA([As()],t,"getMacAddressOfHost",null),VA([As()],t,"isDnsLive",null),VA([As()],t,"isPortLive",null),VA([As()],t,"isRooted",null),t=VA([Is({plugin:"cordova-plugin-hotspot",pluginRef:"cordova.plugins.hotspot",repo:"https://github.com/hypery2k/cordova-hotspot-plugin",platforms:["Android"]})],t)}(),BA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},HA=function(){function t(){}return t.getBasicAuthHeader=function(t,e){},t.useBasicAuth=function(t,e){},t.setHeader=function(t,e){},t.enableSSLPinning=function(t){},t.acceptAllCerts=function(t){},t.validateDomainName=function(t){},t.post=function(t,e,n){},t.get=function(t,e,n){},t.uploadFile=function(t,e,n,r,i){},t.downloadFile=function(t,e,n,r){},BA([As({sync:!0})],t,"getBasicAuthHeader",null),BA([As({sync:!0})],t,"useBasicAuth",null),BA([As({sync:!0})],t,"setHeader",null),BA([As()],t,"enableSSLPinning",null),BA([As()],t,"acceptAllCerts",null),BA([As()],t,"validateDomainName",null),BA([As()],t,"post",null),BA([As()],t,"get",null),BA([As()],t,"uploadFile",null),BA([As()],t,"downloadFile",null),t=BA([Is({plugin:"cordova-plugin-http",pluginRef:"cordovaHTTP",repo:"https://github.com/wymsee/cordova-HTTP",platforms:["Android","iOS"]})],t)}(),zA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},UA=function(){function t(){}return t.startServer=function(t){},t.getUrl=function(){},t.getLocalPath=function(){},zA([As({observable:!0,clearFunction:"stopServer"})],t,"startServer",null),zA([As()],t,"getUrl",null),zA([As()],t,"getLocalPath",null),t=zA([Is({plugin:"https://github.com/floatinghotpot/cordova-httpd.git",pluginRef:"cordova.plugins.CorHttpd",repo:"https://github.com/floatinghotpot/cordova-httpd",platforms:["iOS","Android"]})],t)}(),GA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},WA=function(){function t(){}return t.Delegate=function(){var t=new cordova.plugins.locationManager.Delegate;return t.didChangeAuthorizationStatus=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.didChangeAuthorizationStatus=n})},t.didDetermineStateForRegion=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.didDetermineStateForRegion=n})},t.didEnterRegion=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.didEnterRegion=n})},t.didExitRegion=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.didExitRegion=n})},t.didRangeBeaconsInRegion=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.didRangeBeaconsInRegion=n})},t.didStartMonitoringForRegion=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.didStartMonitoringForRegion=n})},t.monitoringDidFailForRegionWithError=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.monitoringDidFailForRegionWithError=n})},t.peripheralManagerDidStartAdvertising=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.peripheralManagerDidStartAdvertising=n})},t.peripheralManagerDidUpdateState=function(e){return new Up(function(e){var n=function(t){return e.next(t)};return t.peripheralManagerDidUpdateState=n})},cordova.plugins.locationManager.setDelegate(t),t},t.BeaconRegion=function(t,e,n,r,i){return new cordova.plugins.locationManager.BeaconRegion(t,e,n,r,i)},t.getDelegate=function(){},t.setDelegate=function(t){},t.onDomDelegateReady=function(){},t.isBluetoothEnabled=function(){},t.enableBluetooth=function(){},t.disableBluetooth=function(){},t.startMonitoringForRegion=function(t){},t.stopMonitoringForRegion=function(t){},t.requestStateForRegion=function(t){},t.startRangingBeaconsInRegion=function(t){},t.stopRangingBeaconsInRegion=function(t){},t.getAuthorizationStatus=function(){},t.requestWhenInUseAuthorization=function(){},t.requestAlwaysAuthorization=function(){},t.getMonitoredRegions=function(){},t.getRangedRegions=function(){},t.isRangingAvailable=function(){},t.isMonitoringAvailableForClass=function(t){},t.startAdvertising=function(t,e){},t.stopAdvertising=function(t){},t.isAdvertisingAvailable=function(){},t.isAdvertising=function(){},t.disableDebugLogs=function(){},t.enableDebugNotifications=function(){},t.disableDebugNotifications=function(){},t.enableDebugLogs=function(){},t.appendToDeviceLog=function(t){},GA([As()],t,"getDelegate",null),GA([As()],t,"setDelegate",null),GA([As({otherPromise:!0})],t,"onDomDelegateReady",null),GA([As({otherPromise:!0})],t,"isBluetoothEnabled",null),GA([As({otherPromise:!0})],t,"enableBluetooth",null),GA([As({otherPromise:!0})],t,"disableBluetooth",null),GA([As({otherPromise:!0})],t,"startMonitoringForRegion",null),GA([As({otherPromise:!0})],t,"stopMonitoringForRegion",null),GA([As({otherPromise:!0})],t,"requestStateForRegion",null),GA([As({otherPromise:!0})],t,"startRangingBeaconsInRegion",null),GA([As({otherPromise:!0})],t,"stopRangingBeaconsInRegion",null),GA([As({otherPromise:!0})],t,"getAuthorizationStatus",null),GA([As({otherPromise:!0})],t,"requestWhenInUseAuthorization",null),GA([As({otherPromise:!0})],t,"requestAlwaysAuthorization",null),GA([As({otherPromise:!0})],t,"getMonitoredRegions",null),GA([As({otherPromise:!0})],t,"getRangedRegions",null),GA([As({otherPromise:!0})],t,"isRangingAvailable",null),GA([As({otherPromise:!0})],t,"isMonitoringAvailableForClass",null),GA([As({otherPromise:!0})],t,"startAdvertising",null),GA([As({otherPromise:!0})],t,"stopAdvertising",null),GA([As({otherPromise:!0})],t,"isAdvertisingAvailable",null),GA([As({otherPromise:!0})],t,"isAdvertising",null),GA([As({otherPromise:!0})],t,"disableDebugLogs",null),GA([As({otherPromise:!0})],t,"enableDebugNotifications",null),GA([As({otherPromise:!0})],t,"disableDebugNotifications",null),GA([As({otherPromise:!0})],t,"enableDebugLogs",null),GA([As({otherPromise:!0})],t,"appendToDeviceLog",null),t=GA([Is({plugin:"cordova-plugin-ibeacon",pluginRef:"cordova.plugins.locationManager",repo:"https://github.com/petermetz/cordova-plugin-ibeacon",platforms:["Android","iOS"]})],t)}(),qA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},YA=function(){function t(){}return t.getPictures=function(t){},t.hasReadPermission=function(){},t.requestReadPermission=function(){},qA([As({callbackOrder:"reverse"})],t,"getPictures",null),qA([As({platforms:["Android"]})],t,"hasReadPermission",null),qA([As({platforms:["Android"]})],t,"requestReadPermission",null),t=qA([Is({plugin:"cordova-plugin-image-picker",pluginRef:"window.imagePicker",repo:"https://github.com/wymsee/cordova-imagePicker"})],t)}(),XA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},$A=function(){function t(){}return t.resize=function(t){},XA([As()],t,"resize",null),t=XA([Is({plugin:"https://github.com/protonet/cordova-plugin-image-resizer.git",pluginRef:"ImageResizer",repo:"https://github.com/protonet/cordova-plugin-image-resizer"})],t)}(),KA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},ZA=function(){function t(t,e,n){try{this._objectInstance=cordova.InAppBrowser.open(t,e,n)}catch(e){window.open(t),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open, all instance methods will NOT work.")}}return t.open=function(t,e,n){console.warn("Native: Your current usage of the InAppBrowser plugin is depreciated as of ionic-native@1.3.8. Please check the Ionic Native docs for the latest usage details.")},t.prototype.show=function(){},t.prototype.close=function(){},t.prototype.executeScript=function(t){},t.prototype.insertCss=function(t){},t.prototype.on=function(t){var e=this;return new Up(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},KA([ks({sync:!0})],t.prototype,"show",null),KA([ks({sync:!0})],t.prototype,"close",null),KA([ks()],t.prototype,"executeScript",null),KA([ks()],t.prototype,"insertCss",null),t=KA([Is({plugin:"cordova-plugin-inappbrowser",pluginRef:"cordova.InAppBrowser",repo:"https://github.com/apache/cordova-plugin-inappbrowser"})],t)}(),QA=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},JA=function(){function t(){}return t.getProducts=function(t){},t.buy=function(t){},t.subscribe=function(t){},t.consume=function(t,e,n){},t.restorePurchases=function(){},t.getReceipt=function(){},QA([As({otherPromise:!0})],t,"getProducts",null),QA([As({otherPromise:!0})],t,"buy",null),QA([As({otherPromise:!0})],t,"subscribe",null),QA([As({otherPromise:!0})],t,"consume",null),QA([As({otherPromise:!0})],t,"restorePurchases",null),QA([As({otherPromise:!0,platforms:["iOS"]})],t,"getReceipt",null),t=QA([Is({plugin:"cordova-plugin-inapppurchase",pluginRef:"inAppPurchase",platforms:["Android","iOS"],repo:"https://github.com/AlexDisler/cordova-plugin-inapppurchase"})],t)}(),tk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},ek=function(){function t(){}return t.keepAwake=function(){},t.allowSleepAgain=function(){},tk([As()],t,"keepAwake",null),tk([As()],t,"allowSleepAgain",null),t=tk([Is({plugin:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git",pluginRef:"plugins.insomnia",repo:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),nk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},rk=function(){function t(){}return t.isInstalled=function(){},t.share=function(t,e){},t.shareAsset=function(t){},nk([As({callbackStyle:"node"})],t,"isInstalled",null),nk([As({callbackStyle:"node"})],t,"share",null),nk([As({callbackOrder:"reverse"})],t,"shareAsset",null),t=nk([Is({plugin:"cordova-instagram-plugin",pluginRef:"Instagram",repo:"https://github.com/vstirbu/InstagramPlugin"})],t)}(),ik=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},ok=function(){function t(){}return t.getIsDebug=function(){},ik([As()],t,"getIsDebug",null),t=ik([Is({plugin:"cordova-plugin-is-debug",pluginRef:"cordova.plugins.IsDebug",repo:"https://github.com/mattlewis92/cordova-plugin-is-debug"})],t)}(),sk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},ak=function(){function t(){}return t.hideKeyboardAccessoryBar=function(t){},t.show=function(){},t.close=function(){},t.disableScroll=function(t){},t.onKeyboardShow=function(){},t.onKeyboardHide=function(){},sk([As({sync:!0})],t,"hideKeyboardAccessoryBar",null),sk([As({sync:!0,platforms:["Android","BlackBerry 10","Windows"]})],t,"show",null),sk([As({sync:!0,platforms:["iOS","Android","BlackBerry 10","Windows"]})],t,"close",null),sk([As({sync:!0,platforms:["iOS","Windows"]})],t,"disableScroll",null),sk([As({eventObservable:!0,event:"native.keyboardshow",platforms:["iOS","Android","BlackBerry 10","Windows"]})],t,"onKeyboardShow",null),sk([As({eventObservable:!0,event:"native.keyboardhide",platforms:["iOS","Android","BlackBerry 10","Windows"]})],t,"onKeyboardHide",null),t=sk([Is({plugin:"ionic-plugin-keyboard",pluginRef:"cordova.plugins.Keyboard",repo:"https://github.com/driftyco/ionic-plugin-keyboard"})],t)}(),lk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},ck=function(){function t(){}return t.navigate=function(t,e){},t.isAppAvailable=function(t){},t.availableApps=function(){},t.getAppDisplayName=function(t){},t.getAppsForPlatform=function(t){},t.supportsTransportMode=function(t,e){},t.getTransportModes=function(t,e){},t.supportsLaunchMode=function(t,e){},t.supportsStart=function(t,e){},t.supportsStartName=function(t,e){},t.supportsDestName=function(t,e){},t.userSelect=function(t,e){},t.APP={USER_SELECT:"user_select",APPLE_MAPS:"apple_maps",GOOGLE_MAPS:"google_maps",WAZE:"waze",CITYMAPPER:"citymapper",NAVIGON:"navigon",TRANSIT_APP:"transit_app",YANDEX:"yandex",UBER:"uber",TOMTOM:"tomtom",BING_MAPS:"bing_maps",SYGIC:"sygic",HERE_MAPS:"here_maps",MOOVIT:"moovit"},t.TRANSPORT_MODE={DRIVING:"driving",WALKING:"walking",BICYCLING:"bicycling",TRANSIT:"transit"},lk([As({successIndex:1,errorIndex:2})],t,"navigate",null),lk([As()],t,"isAppAvailable",null),lk([As()],t,"availableApps",null),lk([As({sync:!0})],t,"getAppDisplayName",null),lk([As({sync:!0})],t,"getAppsForPlatform",null),lk([As({sync:!0})],t,"supportsTransportMode",null),lk([As({sync:!0})],t,"getTransportModes",null),lk([As({sync:!0})],t,"supportsLaunchMode",null),lk([As({sync:!0})],t,"supportsStart",null),lk([As({sync:!0})],t,"supportsStartName",null),lk([As({sync:!0})],t,"supportsDestName",null),lk([As({sync:!0})],t,"userSelect",null),t=lk([Is({plugin:"uk.co.workingedge.phonegap.plugin.launchnavigator",pluginRef:"launchnavigator",repo:"https://github.com/dpa99c/phonegap-launch-navigator.git"})],t)}(),uk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},pk=function(){function t(){}return t.schedule=function(t){},t.update=function(t){},t.clear=function(t){},t.clearAll=function(){},t.cancel=function(t){},t.cancelAll=function(){},t.isPresent=function(t){},t.isScheduled=function(t){},t.isTriggered=function(t){},t.getAllIds=function(){},t.getTriggeredIds=function(){},t.getScheduledIds=function(){},t.get=function(t){},t.getScheduled=function(t){},t.getTriggered=function(t){},t.getAll=function(){},t.getAllScheduled=function(){},t.getAllTriggered=function(){},t.registerPermission=function(){},t.hasPermission=function(){},t.on=function(t,e){},uk([As({sync:!0})],t,"schedule",null),uk([As({sync:!0})],t,"update",null),uk([As()],t,"clear",null),uk([As({successIndex:0,errorIndex:2})],t,"clearAll",null),uk([As()],t,"cancel",null),uk([As({successIndex:0,errorIndex:2})],t,"cancelAll",null),uk([As()],t,"isPresent",null),uk([As()],t,"isScheduled",null),uk([As()],t,"isTriggered",null),uk([As()],t,"getAllIds",null),uk([As()],t,"getTriggeredIds",null),uk([As()],t,"getScheduledIds",null),uk([As()],t,"get",null),uk([As()],t,"getScheduled",null),uk([As()],t,"getTriggered",null),uk([As()],t,"getAll",null),uk([As()],t,"getAllScheduled",null),uk([As()],t,"getAllTriggered",null),uk([As()],t,"registerPermission",null),uk([As()],t,"hasPermission",null),uk([As({sync:!0})],t,"on",null),t=uk([Is({plugin:"de.appplant.cordova.plugin.local-notification",pluginRef:"cordova.plugins.notification.local",repo:"https://github.com/katzer/cordova-plugin-local-notifications"})],t)}(),hk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},fk=function(){function t(){}return t.canRequest=function(){},t.isRequesting=function(){},t.request=function(t){},t.REQUEST_PRIORITY_NO_POWER=0,t.REQUEST_PRIORITY_LOW_POWER=1,t.REQUEST_PRIORITY_BALANCED_POWER_ACCURACY=2,t.REQUEST_PRIORITY_HIGH_ACCURACY=3,t.SUCCESS_SETTINGS_SATISFIED=0,t.SUCCESS_USER_AGREED=1,t.ERROR_ALREADY_REQUESTING=-1,t.ERROR_INVALID_ACTION=0,t.ERROR_INVALID_ACCURACY=1,t.ERROR_EXCEPTION=1,t.ERROR_CANNOT_CHANGE_ACCURACY=3,t.ERROR_USER_DISAGREED=4,t.ERROR_GOOGLE_API_CONNECTION_FAILED=4,hk([As()],t,"canRequest",null),hk([As()],t,"isRequesting",null),hk([As({callbackOrder:"reverse"})],t,"request",null),t=hk([Is({plugin:"cordova-plugin-request-location-accuracy",pluginRef:"cordova.plugins.locationAccuracy",repo:"https://github.com/dpa99c/cordova-plugin-request-location-accuracy"})],t)}(),dk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},_k=function(){function t(){}return Object.defineProperty(t,"supportedImageModes",{get:function(){return navigator.device.capture.supportedImageModes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"supportedAudioModes",{get:function(){return navigator.device.capture.supportedAudioModes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"supportedVideoModes",{get:function(){return navigator.device.capture.supportedVideoModes},enumerable:!0,configurable:!0}),t.captureAudio=function(t){},t.captureImage=function(t){},t.captureVideo=function(t){},t.onPendingCaptureResult=function(){},t.onPendingCaptureError=function(){},dk([Rs],t,"supportedImageModes",null),dk([Rs],t,"supportedAudioModes",null),dk([Rs],t,"supportedVideoModes",null),dk([As({callbackOrder:"reverse"})],t,"captureAudio",null),dk([As({
  callbackOrder:"reverse"})],t,"captureImage",null),dk([As({callbackOrder:"reverse"})],t,"captureVideo",null),dk([As({eventObservable:!0,event:"pendingcaptureresult"})],t,"onPendingCaptureResult",null),dk([As({eventObservable:!0,event:"pendingcaptureerror"})],t,"onPendingCaptureError",null),t=dk([Is({plugin:"cordova-plugin-media-capture",pluginRef:"navigator.device.capture",repo:"https://github.com/apache/cordova-plugin-media-capture"})],t)}(),yk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},gk=function(){function t(){}return t.preloadSimple=function(t,e){},t.preloadComplex=function(t,e,n,r,i){},t.play=function(t,e){},t.stop=function(t){},t.loop=function(t){},t.unload=function(t){},t.setVolumeForComplexAsset=function(t,e){},yk([As()],t,"preloadSimple",null),yk([As()],t,"preloadComplex",null),yk([As({successIndex:1,errorIndex:2})],t,"play",null),yk([As()],t,"stop",null),yk([As()],t,"loop",null),yk([As()],t,"unload",null),yk([As()],t,"setVolumeForComplexAsset",null),t=yk([Is({plugin:"cordova-plugin-nativeaudio",pluginRef:"plugins.NativeAudio",repo:"https://github.com/floatinghotpot/cordova-plugin-nativeaudio"})],t)}(),mk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},vk=function(){function t(){}return t.slide=function(t){},t.flip=function(t){},t.fade=function(t){},t.drawer=function(t){},t.curl=function(t){},mk([As()],t,"slide",null),mk([As()],t,"flip",null),mk([As({platforms:["iOS","Android"]})],t,"fade",null),mk([As({platforms:["iOS","Android"]})],t,"drawer",null),mk([As({platforms:["iOS"]})],t,"curl",null),t=mk([Is({plugin:"com.telerik.plugins.nativepagetransitions",pluginRef:"plugins.nativepagetransitions",repo:"https://github.com/Telerik-Verified-Plugins/NativePageTransitions",platforms:["iOS","Android","Windows Phone"]})],t)}(),bk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},wk=function(){function t(){}return t.setItem=function(t,e){},t.getItem=function(t){},t.remove=function(t){},t.clear=function(){},bk([As()],t,"setItem",null),bk([As()],t,"getItem",null),bk([As()],t,"remove",null),bk([As()],t,"clear",null),t=bk([Is({plugin:"cordova-plugin-nativestorage",pluginRef:"NativeStorage",repo:"https://github.com/TheCocoaProject/cordova-plugin-nativestorage"})],t)}(),Ck=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Ek=function(){function t(){}return t.open=function(t,e){},Ck([As({sync:!0})],t,"open",null),t=Ck([Is({plugin:"cordova-plugin-market",pluginRef:"plugins.market",repo:"https://github.com/xmartlabs/cordova-plugin-market"})],t)}(),xk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Ok={repo:"https://github.com/apache/cordova-plugin-media",plugin:"cordova-plugin-media",pluginRef:"Media"},Tk=function(){function t(t,e){var n=this;NS("Media")?this.init=new Promise(function(r,i){n._objectInstance=new Media(t,r,i,e)}):MS(Ok)}return t.prototype.getCurrentAmplitude=function(){},t.prototype.getCurrentPosition=function(){},t.prototype.getDuration=function(){},t.prototype.play=function(t){},t.prototype.pause=function(){},t.prototype.release=function(){},t.prototype.seekTo=function(t){},t.prototype.setVolume=function(t){},t.prototype.startRecord=function(){},t.prototype.stopRecord=function(){},t.prototype.stop=function(){},t.MEDIA_NONE=0,t.MEDIA_STARTING=1,t.MEDIA_RUNNING=2,t.MEDIA_PAUSED=3,t.MEDIA_STOPPED=4,t.MEDIA_ERR_ABORTED=1,t.MEDIA_ERR_NETWORK=2,t.MEDIA_ERR_DECODE=3,t.MEDIA_ERR_NONE_SUPPORTED=4,xk([ks()],t.prototype,"getCurrentAmplitude",null),xk([ks()],t.prototype,"getCurrentPosition",null),xk([ks({sync:!0})],t.prototype,"getDuration",null),xk([ks({sync:!0})],t.prototype,"play",null),xk([ks({sync:!0})],t.prototype,"pause",null),xk([ks({sync:!0})],t.prototype,"release",null),xk([ks({sync:!0})],t.prototype,"seekTo",null),xk([ks({sync:!0})],t.prototype,"setVolume",null),xk([ks({sync:!0})],t.prototype,"startRecord",null),xk([ks({sync:!0})],t.prototype,"stopRecord",null),xk([ks({sync:!0})],t.prototype,"stop",null),t=xk([Is(Ok)],t)}(),Pk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Sk={plugin:"cordova-plugin-mixpanel",pluginRef:"mixpanel",repo:"https://github.com/samzilverberg/cordova-mixpanel-plugin"},Ik=function(){function t(){}return t.alias=function(t,e){},t.distinctId=function(){},t.flush=function(){},t.identify=function(t){},t.init=function(t){},t.registerSuperProperties=function(t){},t.reset=function(){},t.track=function(t,e){},t.showSurvey=function(){},Object.defineProperty(t,"people",{get:function(){return Ak},enumerable:!0,configurable:!0}),Pk([As()],t,"alias",null),Pk([As()],t,"distinctId",null),Pk([As()],t,"flush",null),Pk([As()],t,"identify",null),Pk([As()],t,"init",null),Pk([As()],t,"registerSuperProperties",null),Pk([As()],t,"reset",null),Pk([As()],t,"track",null),Pk([As()],t,"showSurvey",null),t=Pk([Is(Sk)],t)}(),Ak=function(){function t(){}return t.identify=function(t){},t.increment=function(t){},t.setPushId=function(t){},t.set=function(t){},t.setOnce=function(t){},t.plugin=Sk.plugin,t.pluginRef=Sk.pluginRef+".people",Pk([As()],t,"identify",null),Pk([As()],t,"increment",null),Pk([As()],t,"setPushId",null),Pk([As()],t,"set",null),Pk([As()],t,"setOnce",null),t}(),kk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Rk=function(){function t(){}return t.create=function(t){},t.destroy=function(){},t.subscribe=function(){},t.listen=function(){},t.updateIsPlaying=function(t){},kk([As()],t,"create",null),kk([As()],t,"destroy",null),kk([As({observable:!0})],t,"subscribe",null),kk([As({sync:!0})],t,"listen",null),kk([As({sync:!0})],t,"updateIsPlaying",null),t=kk([Is({plugin:"cordova-plugin-music-controls",pluginRef:"MusicControls",repo:"https://github.com/homerours/cordova-music-controls-plugin"})],t)}(),jk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Dk=function(){function t(){}return Object.defineProperty(t,"connection",{get:function(){return navigator.connection.type},enumerable:!0,configurable:!0}),t.onDisconnect=function(){},t.onConnect=function(){},jk([Rs],t,"connection",null),jk([As({eventObservable:!0,event:"offline"})],t,"onDisconnect",null),jk([As({eventObservable:!0,event:"online"})],t,"onConnect",null),t=jk([Is({plugin:"cordova-plugin-network-information",repo:"https://github.com/apache/cordova-plugin-network-information",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"],pluginRef:"navigator.connection"})],t)}(),Nk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Mk=function(){function t(){}return t.addNdefListener=function(t,e){},t.addTagDiscoveredListener=function(t,e,n){},t.addMimeTypeListener=function(t,e){},t.addNdefFormatableListener=function(t,e){},t.write=function(t){},t.makeReadyOnly=function(){},t.share=function(t){},t.unshare=function(){},t.erase=function(){},t.handover=function(t){},t.stopHandover=function(){},t.showSettings=function(){},t.enabled=function(){},Nk([As({observable:!0,successIndex:0,errorIndex:3,clearFunction:"removeNdefListener",clearWithArgs:!0})],t,"addNdefListener",null),Nk([As({observable:!0,successIndex:1,errorIndex:4,clearFunction:"removeTagDiscoveredListener",clearWithArgs:!0})],t,"addTagDiscoveredListener",null),Nk([As({observable:!0,successIndex:0,errorIndex:3,clearFunction:"removeMimeTypeListener",clearWithArgs:!0})],t,"addMimeTypeListener",null),Nk([As({observable:!0,successIndex:0,errorIndex:3})],t,"addNdefFormatableListener",null),Nk([As()],t,"write",null),Nk([As()],t,"makeReadyOnly",null),Nk([As()],t,"share",null),Nk([As()],t,"unshare",null),Nk([As()],t,"erase",null),Nk([As()],t,"handover",null),Nk([As()],t,"stopHandover",null),Nk([As()],t,"showSettings",null),Nk([As()],t,"enabled",null),t=Nk([Is({plugin:"phonegap-nfc",pluginRef:"nfc",repo:"https://github.com/chariotsolutions/phonegap-nfc"})],t)}(),Lk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Vk=function(){function t(){}return t.startInit=function(t,e){},t.handleNotificationReceived=function(){},t.handleNotificationOpened=function(){},t.iOSSettings=function(t){},t.endInit=function(){},t.getTags=function(){},t.getIds=function(){},t.sendTag=function(t,e){},t.sendTags=function(t){},t.deleteTag=function(t){},t.deleteTags=function(t){},t.registerForPushNotifications=function(){},t.enableVibrate=function(t){},t.enableSound=function(t){},t.inFocusDisplaying=function(t){},t.setSubscription=function(t){},t.postNotification=function(t){},t.promptLocation=function(){},t.syncHashedEmail=function(t){},t.setLogLevel=function(t){},t.OSInFocusDisplayOption={None:0,InAppAlert:1,Notification:2},Lk([As({sync:!0})],t,"startInit",null),Lk([As({observable:!0})],t,"handleNotificationReceived",null),Lk([As({observable:!0})],t,"handleNotificationOpened",null),Lk([As({sync:!0})],t,"iOSSettings",null),Lk([As({sync:!0})],t,"endInit",null),Lk([As()],t,"getTags",null),Lk([As()],t,"getIds",null),Lk([As({sync:!0})],t,"sendTag",null),Lk([As({sync:!0})],t,"sendTags",null),Lk([As({sync:!0})],t,"deleteTag",null),Lk([As({sync:!0})],t,"deleteTags",null),Lk([As({sync:!0})],t,"registerForPushNotifications",null),Lk([As({sync:!0})],t,"enableVibrate",null),Lk([As({sync:!0})],t,"enableSound",null),Lk([As({sync:!0})],t,"inFocusDisplaying",null),Lk([As({sync:!0})],t,"setSubscription",null),Lk([As()],t,"postNotification",null),Lk([As({sync:!0})],t,"promptLocation",null),Lk([As({sync:!0})],t,"syncHashedEmail",null),Lk([As({sync:!0})],t,"setLogLevel",null),t=Lk([Is({plugin:"onesignal-cordova-plugin",pluginRef:"plugins.OneSignal",repo:"https://github.com/OneSignal/OneSignal-Cordova-SDK"})],t)}(),Fk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Bk=function(){function t(){}return t.show=function(t,e,n){},Fk([As({sync:!0})],t,"show",null),t=Fk([Is({plugin:"com-sarriaroman-photoviewer",pluginRef:"PhotoViewer",repo:"https://github.com/sarriaroman/photoviewer"})],t)}(),Hk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},zk=function(){function t(){}return t.lockOrientation=function(t){},t.unlockOrientation=function(){},Object.defineProperty(t,"orientation",{get:function(){return window.screen.orientation},enumerable:!0,configurable:!0}),Hk([As({sync:!0})],t,"lockOrientation",null),Hk([As({sync:!0})],t,"unlockOrientation",null),Hk([Rs],t,"orientation",null),t=Hk([Is({plugin:"cordova-plugin-screen-orientation",pluginRef:"window.screen",repo:"https://github.com/apache/cordova-plugin-screen-orientation",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),Uk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Gk=function(){function t(){}return t.version=function(){},t.init=function(t){},t.prepareToRender=function(t,e){},t.renderSinglePaymentUI=function(t){},t.clientMetadataID=function(){},t.renderFuturePaymentUI=function(){},t.renderProfileSharingUI=function(t){},Uk([As()],t,"version",null),Uk([As()],t,"init",null),Uk([As()],t,"prepareToRender",null),Uk([As()],t,"renderSinglePaymentUI",null),Uk([As()],t,"clientMetadataID",null),Uk([As()],t,"renderFuturePaymentUI",null),Uk([As()],t,"renderProfileSharingUI",null),t=Uk([Is({plugin:"com.paypal.cordova.mobilesdk",pluginRef:"PayPalMobile",repo:"https://github.com/paypal/PayPal-Cordova-Plugin"})],t)}(),Wk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},qk=function(){function t(){}return t.prompt=function(t,e,n){},Wk([As({successIndex:1})],t,"prompt",null),t=Wk([Is({plugin:"cordova-plugin-pin-dialog",pluginRef:"plugins.pinDialog",repo:"https://github.com/Paldom/PinDialog"})],t)}(),Yk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Xk=function(){function t(){}return t.acquire=function(){},t.dim=function(){},t.release=function(){},t.setReleaseOnPause=function(t){},Yk([As()],t,"acquire",null),Yk([As()],t,"dim",null),Yk([As()],t,"release",null),Yk([As()],t,"setReleaseOnPause",null),t=Yk([Is({plugin:"cordova-plugin-powermanagement-orig",pluginRef:"powerManagement",repo:"https://github.com/Viras-/cordova-plugin-powermanagement"})],t)}(),$k=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Kk=function(){function t(){}return t.isAvailable=function(){},t.print=function(t,e){},$k([As()],t,"isAvailable",null),$k([As()],t,"print",null),t=$k([Is({plugin:"de.appplant.cordova.plugin.printer",pluginRef:"cordova.plugins.printer",repo:"https://github.com/katzer/cordova-plugin-printer.git",platforms:["Android","iOS"]})],t)}(),Zk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},Qk=function(){function t(){}return t.init=function(t){},t.hasPermission=function(){},Zk([As({sync:!0})],t,"init",null),Zk([As()],t,"hasPermission",null),t=Zk([Is({plugin:"phonegap-plugin-push",pluginRef:"PushNotification",repo:"https://github.com/phonegap/phonegap-plugin-push"})],t)}(),Jk=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},tR=function(){function t(){}return t.isAvailable=function(){},t.show=function(t){},t.hide=function(){},t.connectToService=function(){},t.warmUp=function(){},t.mayLaunchUrl=function(t){},Jk([As()],t,"isAvailable",null),Jk([As()],t,"show",null),Jk([As()],t,"hide",null),Jk([As()],t,"connectToService",null),Jk([As()],t,"warmUp",null),Jk([As()],t,"mayLaunchUrl",null),t=Jk([Is({plugin:"cordova-plugin-safariviewcontroller",pluginRef:"SafariViewController",platforms:["iOS","Android"],repo:"https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller"})],t)}(),eR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},nR=function(){function t(){}return t.save=function(t,e,n){return new Promise(function(r,i){navigator.screenshot.save(function(t,e){t?i(t):r(e)},t,e,n)})},t.URI=function(t){return new Promise(function(e,n){navigator.screenshot.URI(function(t,r){t?n(t):e(r)},t)})},t=eR([Is({plugin:"https://github.com/gitawego/cordova-screenshot.git",pluginRef:"navigator.screenshot",repo:"https://github.com/gitawego/cordova-screenshot.git"})],t)}(),rR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},iR=function(){function t(){}return t.prototype.create=function(t){var e=this;return new Promise(function(n,r){e._objectInstance=new cordova.plugins.SecureStorage(n,r,t)})},t.prototype.get=function(t){},t.prototype.set=function(t,e){},t.prototype.remove=function(t){},rR([ks({callbackOrder:"reverse"})],t.prototype,"get",null),rR([ks({callbackOrder:"reverse"})],t.prototype,"set",null),rR([ks({callbackOrder:"reverse"})],t.prototype,"remove",null),t=rR([Is({plugin:"cordova-plugin-secure-storage",pluginRef:"plugins.securestorage",repo:"https://github.com/Crypho/cordova-plugin-secure-storage",platforms:["Android","iOS","Windows Phone","Browser"]})],t)}(),oR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},sR=function(){function t(){}return t.startWatch=function(t){},oR([As({observable:!0,clearFunction:"stopWatch",successIndex:0,errorIndex:2})],t,"startWatch",null),t=oR([Is({plugin:"cordova-plugin-shake",pluginRef:"shake",repo:"https://github.com/leecrossley/cordova-plugin-shake"})],t)}(),aR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},lR=function(){function t(){}return t.getSimInfo=function(){},aR([As()],t,"getSimInfo",null),t=aR([Is({plugin:"cordova-plugin-sim",pluginRef:"plugins.sim",repo:"https://github.com/pbakondy/cordova-plugin-sim",platforms:["Android","iOS","Windows Phone"]})],t)}(),cR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},uR=function(){function t(){}return t.send=function(t,e,n){},cR([As()],t,"send",null),t=cR([Is({plugin:"cordova-sms-plugin",pluginRef:"sms",repo:"https://github.com/cordova-sms/cordova-sms-plugin",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),pR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},hR=function(){function t(){}return t.share=function(t,e,n,r){},t.shareWithOptions=function(t){},t.canShareVia=function(t,e,n,r,i){},t.shareViaTwitter=function(t,e,n){},t.shareViaFacebook=function(t,e,n){},t.shareViaFacebookWithPasteMessageHint=function(t,e,n,r){},t.shareViaInstagram=function(t,e){},t.shareViaWhatsApp=function(t,e,n){},t.shareViaWhatsAppToReceiver=function(t,e,n,r){},t.shareViaSMS=function(t,e){},t.canShareViaEmail=function(){},t.shareViaEmail=function(t,e,n,r,i,o){},t.shareVia=function(t,e,n,r,i){},pR([As()],t,"share",null),pR([As({platforms:["iOS","Android"]})],t,"shareWithOptions",null),pR([As({successIndex:5,errorIndex:6,platforms:["iOS","Android"]})],t,"canShareVia",null),pR([As({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],t,"shareViaTwitter",null),pR([As({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],t,"shareViaFacebook",null),pR([As({successIndex:4,errorIndex:5,platforms:["iOS","Android"]})],t,"shareViaFacebookWithPasteMessageHint",null),pR([As({platforms:["iOS","Android"]})],t,"shareViaInstagram",null),pR([As({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],t,"shareViaWhatsApp",null),pR([As({successIndex:4,errorIndex:5,platforms:["iOS","Android"]})],t,"shareViaWhatsAppToReceiver",null),pR([As({platforms:["iOS","Android"]})],t,"shareViaSMS",null),pR([As({platforms:["iOS","Android"]})],t,"canShareViaEmail",null),pR([As({platforms:["iOS","Android"],successIndex:6,errorIndex:7})],t,"shareViaEmail",null),pR([As({successIndex:5,errorIndex:6,platforms:["iOS","Android"]})],t,"shareVia",null),t=pR([Is({plugin:"cordova-plugin-x-socialsharing",pluginRef:"plugins.socialsharing",repo:"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin",platforms:["iOS","Android","Windows Phone"]})],t)}(),fR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},dR=function(){function t(){}return t.show=function(t,e,n,r){},t.hide=function(){},fR([As({sync:!0})],t,"show",null),fR([As({sync:!0})],t,"hide",null),t=fR([Is({plugin:"cordova-plugin-spinner-dialog",pluginRef:"window.plugins.spinnerDialog",repo:"https://github.com/Paldom/SpinnerDialog",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),_R=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},yR=function(){function t(){}return t.show=function(){},t.hide=function(){},_R([As({sync:!0})],t,"show",null),_R([As({sync:!0})],t,"hide",null),t=_R([Is({plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen"})],t)}(),gR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},mR=function(){function t(){}return Object.defineProperty(t.prototype,"databaseFeatures",{get:function(){return this._objectInstance.databaseFeatures},enumerable:!0,configurable:!0}),t.prototype.openDatabase=function(t){var e=this;return new Promise(function(n,r){sqlitePlugin.openDatabase(t,function(t){e._objectInstance=t,n(t)},function(t){console.warn(t),r(t)})})},t.prototype.addTransaction=function(t){},t.prototype.transaction=function(t){},t.prototype.readTransaction=function(t){},t.prototype.startNextTransaction=function(){},t.prototype.close=function(){},t.prototype.start=function(){},t.prototype.executeSql=function(t,e){},t.prototype.addStatement=function(t,e){},t.prototype.sqlBatch=function(t){},t.prototype.abortallPendingTransactions=function(){},t.prototype.handleStatementSuccess=function(t,e){},t.prototype.handleStatementFailure=function(t,e){},t.prototype.run=function(){},t.prototype.abort=function(t){},t.prototype.finish=function(){},t.prototype.abortFromQ=function(t){},t.echoTest=function(){},t.deleteDatabase=function(t){},gR([ks({sync:!0})],t.prototype,"addTransaction",null),gR([ks({successIndex:2,errorIndex:1})],t.prototype,"transaction",null),gR([ks()],t.prototype,"readTransaction",null),gR([ks({sync:!0})],t.prototype,"startNextTransaction",null),gR([ks()],t.prototype,"close",null),gR([ks({sync:!0})],t.prototype,"start",null),gR([ks()],t.prototype,"executeSql",null),gR([ks()],t.prototype,"addStatement",null),gR([ks()],t.prototype,"sqlBatch",null),gR([ks({sync:!0})],t.prototype,"abortallPendingTransactions",null),gR([ks({sync:!0})],t.prototype,"handleStatementSuccess",null),gR([ks({sync:!0})],t.prototype,"handleStatementFailure",null),gR([ks({sync:!0})],t.prototype,"run",null),gR([ks({sync:!0})],t.prototype,"abort",null),gR([ks({sync:!0})],t.prototype,"finish",null),gR([ks({sync:!0})],t.prototype,"abortFromQ",null),gR([As()],t,"echoTest",null),gR([As()],t,"deleteDatabase",null),t=gR([Is({pluginRef:"sqlitePlugin",plugin:"cordova-sqlite-storage",repo:"https://github.com/litehelpers/Cordova-sqlite-storage"})],t)}(),vR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},bR=function(){function t(){}return t.overlaysWebView=function(t){},t.styleDefault=function(){},t.styleLightContent=function(){},t.styleBlackTranslucent=function(){},t.styleBlackOpaque=function(){},t.backgroundColorByName=function(t){},t.backgroundColorByHexString=function(t){},t.hide=function(){},t.show=function(){},Object.defineProperty(t,"isVisible",{get:function(){return window.StatusBar.isVisible},enumerable:!0,configurable:!0}),vR([As({sync:!0})],t,"overlaysWebView",null),vR([As({sync:!0})],t,"styleDefault",null),vR([As({sync:!0})],t,"styleLightContent",null),vR([As({sync:!0})],t,"styleBlackTranslucent",null),vR([As({sync:!0})],t,"styleBlackOpaque",null),vR([As({sync:!0})],t,"backgroundColorByName",null),vR([As({sync:!0})],t,"backgroundColorByHexString",null),vR([As({sync:!0})],t,"hide",null),vR([As({sync:!0})],t,"show",null),vR([Rs],t,"isVisible",null),t=vR([Is({plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["iOS","Android","Windows Phone 8","Windows 8","Windows 10"]})],t)}(),wR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},CR=function(){function t(){}return t.start=function(t){},t.stop=function(){},t.getTodayStepCount=function(){},t.getStepCount=function(){},t.deviceCanCountSteps=function(){},t.getHistory=function(){},wR([As()],t,"start",null),wR([As()],t,"stop",null),wR([As()],t,"getTodayStepCount",null),wR([As()],t,"getStepCount",null),wR([As()],t,"deviceCanCountSteps",null),wR([As()],t,"getHistory",null),t=wR([Is({plugin:"https://github.com/texh/cordova-plugin-stepcounter",pluginRef:"stepcounter",repo:"https://github.com/texh/cordova-plugin-stepcounter",platforms:["Android"]})],t)}(),ER=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},xR=function(){function t(){}return t.playVideo=function(t,e){},t.playAudio=function(t,e){},t.stopAudio=function(){},t.pauseAudio=function(){},t.resumeAudio=function(){},ER([As({sync:!0})],t,"playVideo",null),ER([As({sync:!0})],t,"playAudio",null),ER([As({sync:!0})],t,"stopAudio",null),ER([As({sync:!0,platforms:["iOS"]})],t,"pauseAudio",null),ER([As({sync:!0,platforms:["iOS"]})],t,"resumeAudio",null),t=ER([Is({plugin:"cordova-plugin-streaming-media",pluginRef:"plugins.streamingMedia",repo:"https://github.com/nchutchind/cordova-plugin-streaming-media",platforms:["Android","iOS"]})],t)}(),OR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},TR=function(){function t(){}return t.isAvailable=function(){},t.watchForceTouches=function(){},t.configureQuickActions=function(t){},t.onHomeIconPressed=function(){return new Up(function(t){window.ThreeDeeTouch&&window.ThreeDeeTouch.onHomeIconPressed?window.ThreeDeeTouch.onHomeIconPressed=t.next.bind(t):(t.error("3dTouch plugin is not available."),t.complete())})},t.enableLinkPreview=function(){},t.disableLinkPreview=function(){},OR([As()],t,"isAvailable",null),OR([As({observable:!0})],t,"watchForceTouches",null),OR([As({sync:!0})],t,"configureQuickActions",null),OR([As({sync:!0})],t,"enableLinkPreview",null),OR([As({sync:!0})],t,"disableLinkPreview",null),t=OR([Is({plugin:"cordova-plugin-3dtouch",pluginRef:"ThreeDeeTouch",repo:"https://github.com/EddyVerbruggen/cordova-plugin-3dtouch",platforms:["iOS"]})],t)}(),PR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);
  return o>3&&s&&Object.defineProperty(e,n,s),s},SR=function(){function t(){}return t.show=function(t,e,n){},t.hide=function(){},t.showWithOptions=function(t){},t.showShortTop=function(t){},t.showShortCenter=function(t){},t.showShortBottom=function(t){},t.showLongTop=function(t){},t.showLongCenter=function(t){},t.showLongBottom=function(t){},PR([As({observable:!0,clearFunction:"hide"})],t,"show",null),PR([As()],t,"hide",null),PR([As({observable:!0,clearFunction:"hide"})],t,"showWithOptions",null),PR([As({observable:!0,clearFunction:"hide"})],t,"showShortTop",null),PR([As({observable:!0,clearFunction:"hide"})],t,"showShortCenter",null),PR([As({observable:!0,clearFunction:"hide"})],t,"showShortBottom",null),PR([As({observable:!0,clearFunction:"hide"})],t,"showLongTop",null),PR([As({observable:!0,clearFunction:"hide"})],t,"showLongCenter",null),PR([As({observable:!0,clearFunction:"hide"})],t,"showLongBottom",null),t=PR([Is({plugin:"cordova-plugin-x-toast",pluginRef:"plugins.toast",repo:"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),IR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},AR=function(){function t(){}return t.isAvailable=function(){},t.verifyFingerprint=function(t){},t.verifyFingerprintWithCustomPasswordFallback=function(t){},t.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel=function(t,e){},IR([As()],t,"isAvailable",null),IR([As()],t,"verifyFingerprint",null),IR([As()],t,"verifyFingerprintWithCustomPasswordFallback",null),IR([As()],t,"verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel",null),t=IR([Is({plugin:"cordova-plugin-touch-id",pluginRef:"plugins.touchid",repo:"https://github.com/EddyVerbruggen/cordova-plugin-touch-id",platforms:["iOS"]})],t)}(),kR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},RR=function(){function t(){}return t.speak=function(t){},kR([As({successIndex:1,errorIndex:2})],t,"speak",null),t=kR([Is({plugin:"cordova-plugin-tts",pluginRef:"TTS",repo:"https://github.com/vilic/cordova-plugin-tts"})],t)}(),jR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},DR=function(){function t(t,e,n){try{this._objectInstance=cordova.ThemeableBrowser.open(t,e,n)}catch(e){window.open(t),console.warn("Native: ThemeableBrowser is not installed or you are running on a browser. Falling back to window.open, all instance methods will NOT work.")}}return t.prototype.show=function(){},t.prototype.close=function(){},t.prototype.reload=function(){},t.prototype.executeScript=function(t){},t.prototype.insertCss=function(t){},t.prototype.on=function(t){var e=this;return new Up(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},jR([ks({sync:!0})],t.prototype,"show",null),jR([ks({sync:!0})],t.prototype,"close",null),jR([ks({sync:!0})],t.prototype,"reload",null),jR([ks()],t.prototype,"executeScript",null),jR([ks()],t.prototype,"insertCss",null),t=jR([Is({plugin:"cordova-plugin-themeablebrowser",pluginRef:"cordova.ThemeableBrowser",repo:"https://github.com/initialxy/cordova-plugin-themeablebrowser"})],t)}(),NR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},MR=function(){function t(){}return t.login=function(){},t.logout=function(){},t.showUser=function(){},NR([As()],t,"login",null),NR([As()],t,"logout",null),NR([As()],t,"showUser",null),t=NR([Is({plugin:"twitter-connect-plugin",pluginRef:"TwitterConnect",repo:"https://github.com/ManifestWebDesign/twitter-connect-plugin",install:"ionic plugin add twitter-connect-plugin --variable FABRIC_KEY=fabric_API_key"})],t)}(),LR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},VR=function(){function t(){}return t.vibrate=function(t){},LR([As({sync:!0})],t,"vibrate",null),t=LR([Is({plugin:"cordova-plugin-vibration",pluginRef:"navigator",repo:"https://github.com/apache/cordova-plugin-vibration",platforms:["Android","iOS","Windows 8.1 Phone","Windows 8.1","Windows 10"]})],t)}(),FR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},BR=function(){function t(){}return t.transcodeVideo=function(t){},t.trim=function(t){},t.createThumbnail=function(t){},t.getVideoInfo=function(t){},t.OptimizeForNetworkUse={NO:0,YES:1},t.OutputFileType={M4V:0,MPEG4:1,M4A:2,QUICK_TIME:3},FR([As({callbackOrder:"reverse"})],t,"transcodeVideo",null),FR([As({callbackOrder:"reverse",platforms:["iOS"]})],t,"trim",null),FR([As({callbackOrder:"reverse"})],t,"createThumbnail",null),FR([As({callbackOrder:"reverse"})],t,"getVideoInfo",null),t=FR([Is({plugin:"cordova-plugin-video-editor",pluginRef:"VideoEditor",repo:"https://github.com/jbavari/cordova-plugin-video-editor",platforms:["Android","iOS","Windows Phone 8"]})],t)}(),HR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},zR=function(){function t(){}return t.play=function(t,e){},t.close=function(){},HR([As()],t,"play",null),HR([As({sync:!0})],t,"close",null),t=HR([Is({plugin:"cordova-plugin-videoplayer",pluginRef:"VideoPlayer",repo:"https://github.com/moust/cordova-plugin-videoplayer",platforms:["Android"]})],t)}(),UR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},GR=function(){function t(){}return Object.defineProperty(t,"ACTION_VIEW",{get:function(){return window.plugins.webintent.ACTION_VIEW},enumerable:!0,configurable:!0}),Object.defineProperty(t,"EXTRA_TEXT",{get:function(){return window.plugins.webintent.EXTRA_TEXT},enumerable:!0,configurable:!0}),t.startActivity=function(t){},t.hasExtra=function(t){},t.getExtra=function(t){},t.getUri=function(){},t.onNewIntent=function(){},t.sendBroadcast=function(t){},UR([Rs],t,"ACTION_VIEW",null),UR([Rs],t,"EXTRA_TEXT",null),UR([As()],t,"startActivity",null),UR([As()],t,"hasExtra",null),UR([As()],t,"getExtra",null),UR([As()],t,"getUri",null),UR([As()],t,"onNewIntent",null),UR([As()],t,"sendBroadcast",null),t=UR([Is({plugin:"https://github.com/Initsogar/cordova-webintent.git",pluginRef:"window.plugins.webintent",repo:"https://github.com/Initsogar/cordova-webintent.git",platforms:["Android"]})],t)}(),WR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},qR=function(){function t(){}return t.openVideo=function(t){},WR([As({sync:!0})],t,"openVideo",null),t=WR([Is({plugin:"https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git",pluginRef:"YoutubeVideoPlayer",repo:"https://github.com/Glitchbone/CordovaYoutubeVideoPlayer",platforms:["Android","iOS"]})],t)}(),YR=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},XR=function(){function t(){}return t.scan=function(t){},YR([As()],t,"scan",null),t=YR([Is({plugin:"cordova-plugin-cszbar",pluginRef:"cloudSky.zBar",repo:"https://github.com/tjwoon/csZBar",platforms:["Android","iOS"]})],t)}(),$R=function(t,e,n,r){var i,o=arguments.length,s=o<3?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=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},KR=function(){function t(){}return t.unzip=function(t,e,n){},$R([As({successIndex:2,errorIndex:4})],t,"unzip",null),t=$R([Is({plugin:"cordova-plugin-zip",pluginRef:"zip",repo:"https://github.com/MobileChromeApps/cordova-plugin-zip"})],t)}(),ZR=2e3;window.IonicNative={ActionSheet:BS,AdMob:zS,AndroidFingerprintAuth:GS,AppAvailability:qS,AppRate:XS,AppVersion:KS,Badge:QS,BackgroundGeolocation:tI,BackgroundMode:nI,BarcodeScanner:iI,Base64ToGallery:sI,BatteryStatus:lI,Brightness:uI,BLE:hI,BluetoothSerial:dI,Calendar:yI,CallNumber:mI,Camera:bI,CameraPreview:CI,CardIO:xI,Clipboard:TI,CodePush:II,Contacts:RI,Crop:DI,DatePicker:MI,DBMeter:VI,Deeplinks:BI,Device:zI,DeviceFeedback:GI,DeviceAccounts:qI,DeviceMotion:XI,DeviceOrientation:KI,Dialogs:tA,Diagnostic:QI,EmailComposer:nA,EstimoteBeacons:iA,Facebook:sA,File:cA,FileChooser:pA,FileOpener:fA,Flashlight:gA,Geofence:vA,Geolocation:wA,Globalization:EA,GooglePlus:OA,GoogleMap:SA,GoogleAnalytics:LA,Hotspot:FA,HTTP:HA,Httpd:UA,IBeacon:WA,ImagePicker:YA,ImageResizer:$A,InAppBrowser:ZA,InAppPurchase:JA,Insomnia:ek,Instagram:rk,IsDebug:ok,Keyboard:ak,LaunchNavigator:ck,LocalNotifications:pk,LocationAccuracy:fk,Market:Ek,MediaCapture:_k,MediaPlugin:Tk,Mixpanel:Ik,MusicControls:Rk,NativeAudio:gk,NativePageTransitions:vk,NativeStorage:wk,Network:Dk,PayPal:Gk,NFC:Mk,Printer:Kk,Push:Qk,OneSignal:Vk,PhotoViewer:Bk,ScreenOrientation:zk,PinDialog:qk,PowerManagement:Xk,SafariViewController:tR,Screenshot:nR,SecureStorage:iR,Shake:sR,Sim:lR,SMS:uR,SocialSharing:hR,SpinnerDialog:dR,Splashscreen:yR,SQLite:mR,StatusBar:bR,Stepcounter:CR,StreamingMedia:xR,ThreeDeeTouch:TR,Toast:SR,TouchID:AR,Transfer:_A,TextToSpeech:RR,ThemeableBrowser:DR,TwitterConnect:MR,VideoEditor:BR,VideoPlayer:zR,Vibration:VR,WebIntent:GR,YoutubeVideoPlayer:qR,ZBar:XR,Zip:KR},gs(window.IonicNative);var QR=Date.now(),JR=!1;document.addEventListener("deviceready",function(){console.log("DEVICE READY FIRED AFTER",Date.now()-QR,"ms"),JR=!0}),setTimeout(function(){!JR&&window.cordova&&console.warn("Native: deviceready did not fire within "+ZR+"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},ZR);var tj=function(){function t(t,e){this.navCtrl=e,this.data=t.get("data"),this.amount="$"+this.data.amount,this.phoneNumber=this.data.storeName}return t.prototype.dismiss=function(){this.navCtrl.pop()},t.decorators=[{type:Sl,args:[{selector:"page-pay",templateUrl:"pay.html",styles:["ion-content button {background-color: #f27e11;}"]}]}],t.ctorParameters=[{type:Wv},{type:Gb}],t}(),ej=function(){function t(t,e){this.navCtrl=t,this.modalCtrl=e}return t.prototype.openQRScan=function(){var t=this;iI.scan().then(function(e){if(0===e.cancelled||!e.cancelled){var n=JSON.parse(e.text),r=t.modalCtrl.create(tj,{data:n});r.present()}},function(t){alert(t)})},t.decorators=[{type:Sl,args:[{selector:"page-users",templateUrl:"users.html",styles:["ion-content button {background-color: #f27e11;}"]}]}],t.ctorParameters=[{type:Gb},{type:QC}],t}(),nj=function(){function t(t,e){this.platform=t,this.menu=e,this.rootPage=ej,this.initializeApp()}return t.prototype.initializeApp=function(){this.platform.ready().then(function(){bR.styleDefault()})},t.decorators=[{type:Sl,args:[{templateUrl:"app.html"}]}],t.ctorParameters=[{type:pb},{type:YC}],t.propDecorators={nav:[{type:xl,args:[HO]}]},t}(),rj=function(){function t(){}return t.decorators=[{type:Ml,args:[{declarations:[nj,ej,tj],imports:[jS.forRoot(nj)],bootstrap:[HC],entryComponents:[nj,ej,tj],providers:[]}]}],t.ctorParameters=[],t}(),ij=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)},oj=null,sj=function(t){function e(n,r,i){t.call(this,e,oj,fu.HOST,n,r,i,Ol.CheckAlways)}return ij(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("div",t,null),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ms(this.viewUtils,this.injector(0),this._appEl_0);return this._Button_0_4=new tx(null,"",this.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),e.create(this._Button_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===tx&&0===e?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e}(wf),aj=(new Vu("[ion-button]",Ns,tx),[]),lj=null,cj=function(t){function e(n,r,i){t.call(this,e,lj,fu.COMPONENT,n,r,i,Ol.CheckOnce)}return ij(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"span",null),this.renderer.setElementAttribute(this._el_0,"class","button-inner"),this.renderer.projectNodes(this._el_0,J(this.projectableNodes[0])),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","button-effect"),this.init([],[this._el_0,this._el_1],[],[]),null},e}(wf),uj=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)},pj=null,hj=function(t){function e(n,r,i){t.call(this,e,pj,fu.HOST,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-action-sheet",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Vs(this.viewUtils,this.injector(0),this._appEl_0);this._ActionSheetCmp_0_4=new Xv(this.parentInjector.get(qv),this.parentInjector.get(Hv),new _u(this._el_0),this.parentInjector.get(Uv),this.parentInjector.get(Wv),this.renderer),this._appEl_0.initComponent(this._ActionSheetCmp_0_4,[],e),e.create(this._ActionSheetCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===Xv&&0===e?this._ActionSheetCmp_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this._ActionSheetCmp_0_4.hdrId;it(t,this._expr_1,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-labelledby",null==e?null:e.toString()),this._expr_1=e);var n=this._ActionSheetCmp_0_4.descId;it(t,this._expr_2,n)&&(this.renderer.setElementAttribute(this._el_0,"aria-describedby",null==n?null:n.toString()),this._expr_2=n),this.detectViewChildrenChanges(t)},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._ActionSheetCmp_0_4.keyUp(t)!==!1;return e},e}(wf),fj=new Vu("ion-action-sheet",Ls,Xv),dj=[],_j=null,yj=function(t){function e(n,r,i){t.call(this,e,_j,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new KE(this.parentInjector.get(Db),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","action-sheet-wrapper"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","action-sheet-container"),this._el_3=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_3,"class","action-sheet-group"),this._anchor_4=this.renderer.createTemplateAnchor(this._el_3,null),this._appEl_4=new xu(4,3,this,this._anchor_4),this._TemplateRef_4_5=new jh(this._appEl_4,Fs),this._NgIf_4_6=new qf(this._appEl_4.vcRef,this._TemplateRef_4_5),this._anchor_5=this.renderer.createTemplateAnchor(this._el_3,null),this._appEl_5=new xu(5,3,this,this._anchor_5),this._TemplateRef_5_5=new jh(this._appEl_5,Bs),this._NgIf_5_6=new qf(this._appEl_5.vcRef,this._TemplateRef_5_5),this._anchor_6=this.renderer.createTemplateAnchor(this._el_3,null),this._appEl_6=new xu(6,3,this,this._anchor_6),this._TemplateRef_6_5=new jh(this._appEl_6,Hs),this._NgFor_6_6=new Gf(this._appEl_6.vcRef,this._TemplateRef_6_5,this.parentInjector.get(Kc),this.ref),this._anchor_7=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_7=new xu(7,2,this,this._anchor_7),this._TemplateRef_7_5=new jh(this._appEl_7,Us),this._NgIf_7_6=new qf(this._appEl_7.vcRef,this._TemplateRef_7_5);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=Qc,this._expr_2=Qc,this._expr_3=Qc,this._expr_4=Qc,this.init([],[this._el_0,this._el_1,this._el_2,this._el_3,this._anchor_4,this._anchor_5,this._anchor_6,this._anchor_7],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===KE&&0===e?this._Backdrop_0_3:t===Rh&&4===e?this._TemplateRef_4_5:t===qf&&4===e?this._NgIf_4_6:t===Rh&&5===e?this._TemplateRef_5_5:t===qf&&5===e?this._NgIf_5_6:t===Rh&&6===e?this._TemplateRef_6_5:t===Gf&&6===e?this._NgFor_6_6:t===Rh&&7===e?this._TemplateRef_7_5:t===qf&&7===e?this._NgIf_7_6:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit();var n=this.context.d.title;it(t,this._expr_1,n)&&(this._NgIf_4_6.ngIf=n,this._expr_1=n);var r=this.context.d.subTitle;it(t,this._expr_2,r)&&(this._NgIf_5_6.ngIf=r,this._expr_2=r),e=null;var i=this.context.d.buttons;it(t,this._expr_3,i)&&(this._NgFor_6_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new eu(this._expr_3,i),this._expr_3=i),null!==e&&this._NgFor_6_6.ngOnChanges(e),t||this._NgFor_6_6.ngDoCheck();var o=this.context.d.cancelButton;it(t,this._expr_4,o)&&(this._NgIf_7_6.ngIf=o,this._expr_4=o),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.bdClick()!==!1;return e},e}(wf),gj=function(t){function e(n,r,i){t.call(this,e,_j,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","action-sheet-title"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=nt(1,"",this.parent.context.hdrId,"");it(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=nt(1,"",this.parent.context.d.title,"");it(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),mj=function(t){function e(n,r,i){t.call(this,e,_j,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","action-sheet-sub-title"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=nt(1,"",this.parent.context.descId,"");it(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=nt(1,"",this.parent.context.d.subTitle,"");it(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),vj=function(t){function e(n,r,i){t.call(this,e,_j,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button","action-sheet-button"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ms(this.viewUtils,this.injector(0),this._appEl_0);this._NgClass_0_4=new zf(this.parent.parentInjector.get(Kc),this.parent.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._Button_0_5=new tx(null,"action-sheet-button",this.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_5,[],e),this._anchor_1=this.renderer.createTemplateAnchor(null,null),this._appEl_1=new xu(1,0,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,zs),this._NgIf_1_6=new qf(this._appEl_1.vcRef,this._TemplateRef_1_5),this._text_2=this.renderer.createText(null,"",null),e.create(this._Button_0_5,[[].concat([this._appEl_1,this._text_2])],null),this._expr_1=Qc;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_2=Qc,this._expr_3=Qc,this._expr_4=Qc,this._expr_5=Qc,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1,this._text_2],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&1===e?this._TemplateRef_1_5:t===qf&&1===e?this._NgIf_1_6:t===zf&&0<=e&&e<=2?this._NgClass_0_4:t===tx&&0<=e&&e<=2?this._Button_0_5:n},e.prototype.detectChangesInternal=function(t){var e="disable-hover";it(t,this._expr_2,e)&&(this._NgClass_0_4.klass=e,this._expr_2=e);var n=this.context.$implicit.cssClass;it(t,this._expr_3,n)&&(this._NgClass_0_4.ngClass=n,this._expr_3=n),t||this._NgClass_0_4.ngDoCheck();var r=this.context.$implicit.icon;it(t,this._expr_4,r)&&(this._NgIf_1_6.ngIf=r,this._expr_4=r),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_5.ngAfterContentInit();var i=this.context.$implicit.icon?"":null;it(t,this._expr_1,i)&&(this.renderer.setElementAttribute(this._el_0,"icon-left",null==i?null:i.toString()),this._expr_1=i);var o=nt(1,"",this.context.$implicit.text,"");it(t,this._expr_5,o)&&(this.renderer.setText(this._text_2,o),this._expr_5=o),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.click(this.context.$implicit)!==!1;return e},e}(wf),bj=function(t){function e(n,r,i){t.call(this,e,_j,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-icon",null),this.renderer.setElementAttribute(this._el_0,"class","action-sheet-icon"),this.renderer.setElementAttribute(this._el_0,"role","img"),this._Icon_0_3=new ax(this.parent.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ax&&0===e?this._Icon_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.context.$implicit.icon;it(t,this._expr_0,e)&&(this._Icon_0_3.name=e,this._expr_0=e),this.detectContentChildrenChanges(t);var n=this._Icon_0_3._hidden;it(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"hide",n),this._expr_1=n),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Icon_0_3.ngOnDestroy()},e}(wf),wj=function(t){function e(n,r,i){t.call(this,e,_j,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","action-sheet-group"),this._el_1=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_1,"class","action-sheet-cancel disable-hover"),this.renderer.setElementAttribute(this._el_1,"ion-button","action-sheet-button"),this._appEl_1=new xu(1,0,this,this._el_1);var e=Ms(this.viewUtils,this.injector(1),this._appEl_1);this._NgClass_1_4=new zf(this.parent.parentInjector.get(Kc),this.parent.parentInjector.get(Zc),new _u(this._el_1),this.renderer),this._Button_1_5=new tx(null,"action-sheet-button",this.parent.parentInjector.get(Hv),new _u(this._el_1),this.renderer),this._appEl_1.initComponent(this._Button_1_5,[],e),this._anchor_2=this.renderer.createTemplateAnchor(null,null),this._appEl_2=new xu(2,1,this,this._anchor_2),this._TemplateRef_2_5=new jh(this._appEl_2,Gs),this._NgIf_2_6=new qf(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(null,"",null),e.create(this._Button_1_5,[[].concat([this._appEl_2,this._text_3])],null),this._expr_1=Qc;var n=this.renderer.listen(this._el_1,"click",this.eventHandler(this._handle_click_1_0.bind(this)));return this._expr_2=Qc,this._expr_3=Qc,this._expr_4=Qc,this._expr_5=Qc,this.init([].concat([this._el_0]),[this._el_0,this._el_1,this._anchor_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&2===e?this._TemplateRef_2_5:t===qf&&2===e?this._NgIf_2_6:t===zf&&1<=e&&e<=3?this._NgClass_1_4:t===tx&&1<=e&&e<=3?this._Button_1_5:n},e.prototype.detectChangesInternal=function(t){var e="action-sheet-cancel disable-hover";it(t,this._expr_2,e)&&(this._NgClass_1_4.klass=e,this._expr_2=e);var n=this.parent.context.d.cancelButton.cssClass;it(t,this._expr_3,n)&&(this._NgClass_1_4.ngClass=n,this._expr_3=n),t||this._NgClass_1_4.ngDoCheck();var r=this.parent.context.d.cancelButton.icon;it(t,this._expr_4,r)&&(this._NgIf_2_6.ngIf=r,this._expr_4=r),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_1_5.ngAfterContentInit();var i=this.parent.context.d.cancelButton.icon?"":null;it(t,this._expr_1,i)&&(this.renderer.setElementAttribute(this._el_1,"icon-left",null==i?null:i.toString()),this._expr_1=i);var o=nt(1,"",this.parent.context.d.cancelButton.text,"");it(t,this._expr_5,o)&&(this.renderer.setText(this._text_3,o),this._expr_5=o),this.detectViewChildrenChanges(t)},e.prototype._handle_click_1_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.click(this.parent.context.d.cancelButton)!==!1;return e},e}(wf),Cj=function(t){function e(n,r,i){t.call(this,e,_j,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return uj(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-icon",null),this.renderer.setElementAttribute(this._el_0,"class","action-sheet-icon"),this.renderer.setElementAttribute(this._el_0,"role","img"),this._Icon_0_3=new ax(this.parent.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ax&&0===e?this._Icon_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.parent.context.d.cancelButton.icon;it(t,this._expr_0,e)&&(this._Icon_0_3.name=e,this._expr_0=e),this.detectContentChildrenChanges(t);var n=this._Icon_0_3._hidden;it(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"hide",n),this._expr_1=n),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Icon_0_3.ngOnDestroy()},e}(wf),Ej=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)},xj=null,Oj=function(t){function e(n,r,i){t.call(this,e,xj,fu.HOST,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-alert",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new xu(0,null,this,this._el_0);var e=qs(this.viewUtils,this.injector(0),this._appEl_0);this._AlertCmp_0_4=new Cb(this.parentInjector.get(qv),new _u(this._el_0),this.parentInjector.get(Hv),this.parentInjector.get(Wv),this.renderer),this._appEl_0.initComponent(this._AlertCmp_0_4,[],e),e.create(this._AlertCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===Cb&&0===e?this._AlertCmp_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this._AlertCmp_0_4.hdrId;it(t,this._expr_1,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-labelledby",null==e?null:e.toString()),this._expr_1=e);var n=this._AlertCmp_0_4.descId;it(t,this._expr_2,n)&&(this.renderer.setElementAttribute(this._el_0,"aria-describedby",null==n?null:n.toString()),this._expr_2=n),this.detectViewChildrenChanges(t)},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._AlertCmp_0_4.keyUp(t)!==!1;return e},e}(wf),Tj=new Vu("ion-alert",Ws,Cb),Pj=[],Sj=null,Ij=function(t){function e(n,r,i){t.call(this,e,Sj,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new KE(this.parentInjector.get(Db),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","alert-wrapper"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","alert-head"),this._anchor_3=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_3=new xu(3,2,this,this._anchor_3),this._TemplateRef_3_5=new jh(this._appEl_3,Ys),this._NgIf_3_6=new qf(this._appEl_3.vcRef,this._TemplateRef_3_5),
  this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new xu(4,2,this,this._anchor_4),this._TemplateRef_4_5=new jh(this._appEl_4,Xs),this._NgIf_4_6=new qf(this._appEl_4.vcRef,this._TemplateRef_4_5),this._el_5=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_5,"class","alert-message"),this._anchor_6=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_6=new xu(6,1,this,this._anchor_6),this._TemplateRef_6_5=new jh(this._appEl_6,$s),this._NgIf_6_6=new qf(this._appEl_6.vcRef,this._TemplateRef_6_5),this._el_7=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_7,"class","alert-button-group"),this._NgClass_7_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_7),this.renderer),this._anchor_8=this.renderer.createTemplateAnchor(this._el_7,null),this._appEl_8=new xu(8,7,this,this._anchor_8),this._TemplateRef_8_5=new jh(this._appEl_8,na),this._NgFor_8_6=new Gf(this._appEl_8.vcRef,this._TemplateRef_8_5,this.parentInjector.get(Kc),this.ref);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=Qc,this._expr_2=Qc,this._expr_3=Qc,this._expr_4=Qc,this._expr_5=Qc,this._expr_6=Qc,this._map_0=st(function(t){return{"alert-button-group-vertical":t}}),this._expr_7=Qc,this._expr_8=Qc,this.init([],[this._el_0,this._el_1,this._el_2,this._anchor_3,this._anchor_4,this._el_5,this._anchor_6,this._el_7,this._anchor_8],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===KE&&0===e?this._Backdrop_0_3:t===Rh&&3===e?this._TemplateRef_3_5:t===qf&&3===e?this._NgIf_3_6:t===Rh&&4===e?this._TemplateRef_4_5:t===qf&&4===e?this._NgIf_4_6:t===Rh&&6===e?this._TemplateRef_6_5:t===qf&&6===e?this._NgIf_6_6:t===Rh&&8===e?this._TemplateRef_8_5:t===Gf&&8===e?this._NgFor_8_6:t===zf&&7<=e&&e<=8?this._NgClass_7_3:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit();var n=this.context.d.title;it(t,this._expr_1,n)&&(this._NgIf_3_6.ngIf=n,this._expr_1=n);var r=this.context.d.subTitle;it(t,this._expr_2,r)&&(this._NgIf_4_6.ngIf=r,this._expr_2=r);var i=this.context.d.inputs.length;it(t,this._expr_5,i)&&(this._NgIf_6_6.ngIf=i,this._expr_5=i);var o="alert-button-group";it(t,this._expr_6,o)&&(this._NgClass_7_3.klass=o,this._expr_6=o);var s=this._map_0(this.context.d.buttons.length>2);it(t,this._expr_7,s)&&(this._NgClass_7_3.ngClass=s,this._expr_7=s),t||this._NgClass_7_3.ngDoCheck(),e=null;var a=this.context.d.buttons;it(t,this._expr_8,a)&&(this._NgFor_8_6.ngForOf=a,null===e&&(e={}),e.ngForOf=new eu(this._expr_8,a),this._expr_8=a),null!==e&&this._NgFor_8_6.ngOnChanges(e),t||this._NgFor_8_6.ngDoCheck(),this.detectContentChildrenChanges(t);var l=nt(1,"",this.context.msgId,"");it(t,this._expr_3,l)&&(this.renderer.setElementProperty(this._el_5,"id",l),this._expr_3=l);var c=this.context.d.message;it(t,this._expr_4,c)&&(this.renderer.setElementProperty(this._el_5,"innerHTML",this.viewUtils.sanitizer.sanitize(Ll.HTML,c)),this._expr_4=c),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.bdClick()!==!1;return e},e}(wf),Aj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"h2",null),this.renderer.setElementAttribute(this._el_0,"class","alert-title"),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=nt(1,"",this.parent.context.hdrId,"");it(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=this.parent.context.d.title;it(t,this._expr_1,n)&&(this.renderer.setElementProperty(this._el_0,"innerHTML",this.viewUtils.sanitizer.sanitize(Ll.HTML,n)),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),kj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"h3",null),this.renderer.setElementAttribute(this._el_0,"class","alert-sub-title"),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=nt(1,"",this.parent.context.subHdrId,"");it(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=this.parent.context.d.subTitle;it(t,this._expr_1,n)&&(this.renderer.setElementProperty(this._el_0,"innerHTML",this.viewUtils.sanitizer.sanitize(Ll.HTML,n)),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),Rj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._NgSwitch_0_3=new $f,this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new xu(1,0,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,Ks),this._NgSwitchCase_1_6=new Kf(this._appEl_1.vcRef,this._TemplateRef_1_5,this._NgSwitch_0_3),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new xu(2,0,this,this._anchor_2),this._TemplateRef_2_5=new jh(this._appEl_2,Qs),this._NgSwitchCase_2_6=new Kf(this._appEl_2.vcRef,this._TemplateRef_2_5,this._NgSwitch_0_3),this._anchor_3=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_3=new xu(3,0,this,this._anchor_3),this._TemplateRef_3_5=new jh(this._appEl_3,ta),this._NgSwitchDefault_3_6=new Zf(this._appEl_3.vcRef,this._TemplateRef_3_5,this._NgSwitch_0_3),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1,this._anchor_2,this._anchor_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&1===e?this._TemplateRef_1_5:t===Kf&&1===e?this._NgSwitchCase_1_6:t===Rh&&2===e?this._TemplateRef_2_5:t===Kf&&2===e?this._NgSwitchCase_2_6:t===Rh&&3===e?this._TemplateRef_3_5:t===Zf&&3===e?this._NgSwitchDefault_3_6:t===$f&&0<=e&&e<=3?this._NgSwitch_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.context.inputType;it(t,this._expr_0,e)&&(this._NgSwitch_0_3.ngSwitch=e,this._expr_0=e);var n="radio";it(t,this._expr_1,n)&&(this._NgSwitchCase_1_6.ngSwitchCase=n,this._expr_1=n);var r="checkbox";it(t,this._expr_2,r)&&(this._NgSwitchCase_2_6.ngSwitchCase=r,this._expr_2=r),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(wf),jj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-radio-group"),this.renderer.setElementAttribute(this._el_0,"role","radiogroup"),this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new xu(1,0,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,Zs),this._NgFor_1_6=new Gf(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parent.parent.parentInjector.get(Kc),this.parent.parent.ref),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&1===e?this._TemplateRef_1_5:t===Gf&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.d.inputs;it(t,this._expr_2,n)&&(this._NgFor_1_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new eu(this._expr_2,n),this._expr_2=n),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t);var r=this.parent.parent.context.hdrId;it(t,this._expr_0,r)&&(this.renderer.setElementAttribute(this._el_0,"aria-labelledby",null==r?null:r.toString()),this._expr_0=r);var i=this.parent.parent.context.activeId;it(t,this._expr_1,i)&&(this.renderer.setElementAttribute(this._el_0,"aria-activedescendant",null==i?null:i.toString()),this._expr_1=i),this.detectViewChildrenChanges(t)},e}(wf),Dj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","alert-tappable alert-radio"),this.renderer.setElementAttribute(this._el_0,"ion-button","alert-radio-button"),this.renderer.setElementAttribute(this._el_0,"role","radio"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ms(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new tx(null,"alert-radio-button",this.parent.parent.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._el_1=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_1,"class","alert-radio-icon"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","alert-radio-inner"),this._el_3=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_3,"class","alert-radio-label"),this._text_4=this.renderer.createText(this._el_3,"",null),e.create(this._Button_0_4,[[].concat([this._el_1,this._el_3])],null),this._expr_1=Qc,this._expr_2=Qc,this._expr_3=Qc;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_4=Qc,this.init([].concat([this._el_0]),[this._el_0,this._el_1,this._el_2,this._el_3,this._text_4],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===tx&&0<=e&&e<=4?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var e=this.context.$implicit.checked;it(t,this._expr_1,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-checked",null==e?null:e.toString()),this._expr_1=e);var n=this.context.$implicit.disabled;it(t,this._expr_2,n)&&(this.renderer.setElementProperty(this._el_0,"disabled",n),this._expr_2=n);var r=this.context.$implicit.id;it(t,this._expr_3,r)&&(this.renderer.setElementAttribute(this._el_0,"id",null==r?null:r.toString()),this._expr_3=r);var i=nt(1,"",this.context.$implicit.label,"");it(t,this._expr_4,i)&&(this.renderer.setText(this._text_4,i),this._expr_4=i),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.rbClick(this.context.$implicit)!==!1;return e},e}(wf),Nj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-checkbox-group"),this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new xu(1,0,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,Js),this._NgFor_1_6=new Gf(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parent.parent.parentInjector.get(Kc),this.parent.parent.ref),this._expr_0=Qc,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&1===e?this._TemplateRef_1_5:t===Gf&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.d.inputs;it(t,this._expr_0,n)&&(this._NgFor_1_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new eu(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(wf),Mj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","alert-tappable alert-checkbox"),this.renderer.setElementAttribute(this._el_0,"ion-button","alert-checkbox-button"),this.renderer.setElementAttribute(this._el_0,"role","checkbox"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ms(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new tx(null,"alert-checkbox-button",this.parent.parent.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._el_1=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_1,"class","alert-checkbox-icon"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","alert-checkbox-inner"),this._el_3=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_3,"class","alert-checkbox-label"),this._text_4=this.renderer.createText(this._el_3,"",null),e.create(this._Button_0_4,[[].concat([this._el_1,this._el_3])],null),this._expr_1=Qc,this._expr_2=Qc;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_3=Qc,this.init([].concat([this._el_0]),[this._el_0,this._el_1,this._el_2,this._el_3,this._text_4],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===tx&&0<=e&&e<=4?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var e=this.context.$implicit.checked;it(t,this._expr_1,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-checked",null==e?null:e.toString()),this._expr_1=e);var n=this.context.$implicit.disabled;it(t,this._expr_2,n)&&(this.renderer.setElementProperty(this._el_0,"disabled",n),this._expr_2=n);var r=nt(1,"",this.context.$implicit.label,"");it(t,this._expr_3,r)&&(this.renderer.setText(this._text_4,r),this._expr_3=r),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.cbClick(this.context.$implicit)!==!1;return e},e}(wf),Lj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-input-group"),this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new xu(1,0,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,ea),this._NgFor_1_6=new Gf(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parent.parent.parentInjector.get(Kc),this.parent.parent.ref),this._expr_0=Qc,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&1===e?this._TemplateRef_1_5:t===Gf&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.d.inputs;it(t,this._expr_0,n)&&(this._NgFor_1_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new eu(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(wf),Vj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-input-wrapper"),this._el_1=this.renderer.createElement(this._el_0,"input",null),this.renderer.setElementAttribute(this._el_1,"class","alert-input"),this._DefaultValueAccessor_1_3=new ig(this.renderer,new _u(this._el_1)),this._NG_VALUE_ACCESSOR_1_4=[this._DefaultValueAccessor_1_3],this._NgModel_1_5=new nm(null,null,null,this._NG_VALUE_ACCESSOR_1_4),this._NgControl_1_6=this._NgModel_1_5,this._NgControlStatus_1_7=new Eg(this._NgControl_1_6),this._expr_3=Qc,this._expr_4=Qc;var e=this.renderer.listen(this._el_1,"ngModelChange",this.eventHandler(this._handle_ngModelChange_1_0.bind(this))),n=this.renderer.listen(this._el_1,"input",this.eventHandler(this._handle_input_1_1.bind(this))),r=this.renderer.listen(this._el_1,"blur",this.eventHandler(this._handle_blur_1_2.bind(this)));this._expr_5=Qc;var i=this._NgModel_1_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_1_0.bind(this)));return this._expr_6=Qc,this._expr_7=Qc,this._expr_8=Qc,this._expr_9=Qc,this._expr_10=Qc,this._expr_11=Qc,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[e,n,r],[i]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ig&&1===e?this._DefaultValueAccessor_1_3:t===tg&&1===e?this._NG_VALUE_ACCESSOR_1_4:t===nm&&1===e?this._NgModel_1_5:t===lg&&1===e?this._NgControl_1_6:t===Eg&&1===e?this._NgControlStatus_1_7:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.$implicit.value;it(t,this._expr_5,n)&&(this._NgModel_1_5.model=n,null===e&&(e={}),e.model=new eu(this._expr_5,n),this._expr_5=n),null!==e&&this._NgModel_1_5.ngOnChanges(e),this.detectContentChildrenChanges(t);var r=this.context.$implicit.placeholder;it(t,this._expr_3,r)&&(this.renderer.setElementProperty(this._el_1,"placeholder",r),this._expr_3=r);var i=this.context.$implicit.type;it(t,this._expr_4,i)&&(this.renderer.setElementProperty(this._el_1,"type",i),this._expr_4=i);var o=this._NgControlStatus_1_7.ngClassUntouched;it(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_1,"ng-untouched",o),this._expr_6=o);var s=this._NgControlStatus_1_7.ngClassTouched;it(t,this._expr_7,s)&&(this.renderer.setElementClass(this._el_1,"ng-touched",s),this._expr_7=s);var a=this._NgControlStatus_1_7.ngClassPristine;it(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_1,"ng-pristine",a),this._expr_8=a);var l=this._NgControlStatus_1_7.ngClassDirty;it(t,this._expr_9,l)&&(this.renderer.setElementClass(this._el_1,"ng-dirty",l),this._expr_9=l);var c=this._NgControlStatus_1_7.ngClassValid;it(t,this._expr_10,c)&&(this.renderer.setElementClass(this._el_1,"ng-valid",c),this._expr_10=c);var u=this._NgControlStatus_1_7.ngClassInvalid;it(t,this._expr_11,u)&&(this.renderer.setElementClass(this._el_1,"ng-invalid",u),this._expr_11=u),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_1_5.ngOnDestroy()},e.prototype._handle_ngModelChange_1_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.$implicit.value=t)!==!1;return e},e.prototype._handle_input_1_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_1_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_1_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_1_3.onTouched()!==!1;return e},e}(wf),Fj=function(t){function e(n,r,i){t.call(this,e,Sj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Ej(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"ion-button","alert-button"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ms(this.viewUtils,this.injector(0),this._appEl_0);this._NgClass_0_4=new zf(this.parent.parentInjector.get(Kc),this.parent.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._Button_0_5=new tx(null,"alert-button",this.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_5,[],e),this._text_1=this.renderer.createText(null,"",null),e.create(this._Button_0_5,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===zf&&0<=e&&e<=1?this._NgClass_0_4:t===tx&&0<=e&&e<=1?this._Button_0_5:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit.cssClass;it(t,this._expr_1,e)&&(this._NgClass_0_4.ngClass=e,this._expr_1=e),t||this._NgClass_0_4.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_5.ngAfterContentInit();var n=nt(1,"",this.context.$implicit.text,"");it(t,this._expr_2,n)&&(this.renderer.setText(this._text_1,n),this._expr_2=n),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.btnClick(this.context.$implicit)!==!1;return e},e}(wf),Bj=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)},Hj=null,zj=function(t){function e(n,r,i){t.call(this,e,Hj,fu.HOST,n,r,i,Ol.CheckAlways)}return Bj(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-app",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=ia(this.viewUtils,this.injector(0),this._appEl_0);return this._IonicApp_0_4=new HC(this.parentInjector.get(BC),this.parentInjector.get(zu),new _u(this._el_0),this.renderer,this.parentInjector.get(Hv),this.parentInjector.get(pb),this.parentInjector.get(gb)),this._appEl_0.initComponent(this._IonicApp_0_4,[],e),e.create(this._IonicApp_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===HC&&0===e?this._IonicApp_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._IonicApp_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(wf),Uj=new Vu("ion-app",ra,HC),Gj=[],Wj=null,qj=function(t){function e(n,r,i){t.call(this,e,Wj,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return Bj(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_viewport_0=new Ah,this._viewQuery_modalPortal_1=new Ah,this._viewQuery_overlayPortal_2=new Ah,this._viewQuery_loadingPortal_3=new Ah,this._viewQuery_toastPortal_4=new Ah,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"app-viewport",""),this._appEl_0=new xu(0,null,this,this._el_0),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"overlay-portal",""),this._appEl_1=new xu(1,null,this,this._el_1),this._OverlayPortal_1_5=new VC(this.parentInjector.get(gb),this.parentInjector.get(Hv),this.parentInjector.get(Fb),new _u(this._el_1),this.parentInjector.get(fh),this.renderer,this.parentInjector.get(zu),this.parentInjector.get(Db),this.parentInjector.get(MC),this.parentInjector.get(Pb,null),this._appEl_1.vcRef),this._el_2=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_2,"overlay-portal",""),this._appEl_2=new xu(2,null,this,this._el_2),this._OverlayPortal_2_5=new VC(this.parentInjector.get(gb),this.parentInjector.get(Hv),this.parentInjector.get(Fb),new _u(this._el_2),this.parentInjector.get(fh),this.renderer,this.parentInjector.get(zu),this.parentInjector.get(Db),this.parentInjector.get(MC),this.parentInjector.get(Pb,null),this._appEl_2.vcRef),this._el_3=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_3,"class","loading-portal"),this.renderer.setElementAttribute(this._el_3,"overlay-portal",""),this._appEl_3=new xu(3,null,this,this._el_3),this._OverlayPortal_3_5=new VC(this.parentInjector.get(gb),this.parentInjector.get(Hv),this.parentInjector.get(Fb),new _u(this._el_3),this.parentInjector.get(fh),this.renderer,this.parentInjector.get(zu),this.parentInjector.get(Db),this.parentInjector.get(MC),this.parentInjector.get(Pb,null),this._appEl_3.vcRef),this._el_4=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_4,"class","toast-portal"),this.renderer.setElementAttribute(this._el_4,"overlay-portal",""),this._appEl_4=new xu(4,null,this,this._el_4),this._OverlayPortal_4_5=new VC(this.parentInjector.get(gb),this.parentInjector.get(Hv),this.parentInjector.get(Fb),new _u(this._el_4),this.parentInjector.get(fh),this.renderer,this.parentInjector.get(zu),this.parentInjector.get(Db),this.parentInjector.get(MC),this.parentInjector.get(Pb,null),this._appEl_4.vcRef),this._el_5=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_5,"class","click-block"),this._viewQuery_viewport_0.reset([this._appEl_0.vcRef]),this.context._viewport=this._viewQuery_viewport_0.first,this._viewQuery_modalPortal_1.reset([this._OverlayPortal_1_5]),this.context._modalPortal=this._viewQuery_modalPortal_1.first,this._viewQuery_overlayPortal_2.reset([this._OverlayPortal_2_5]),this.context._overlayPortal=this._viewQuery_overlayPortal_2.first,this._viewQuery_loadingPortal_3.reset([this._OverlayPortal_3_5]),this.context._loadingPortal=this._viewQuery_loadingPortal_3.first,this._viewQuery_toastPortal_4.reset([this._OverlayPortal_4_5]),this.context._toastPortal=this._viewQuery_toastPortal_4.first,this.init([],[this._el_0,this._el_1,this._el_2,this._el_3,this._el_4,this._el_5],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===VC&&1===e?this._OverlayPortal_1_5:t===VC&&2===e?this._OverlayPortal_2_5:t===VC&&3===e?this._OverlayPortal_3_5:t===VC&&4===e?this._OverlayPortal_4_5:n},e}(wf),Yj=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)},Xj=null,$j=function(t){function e(n,r,i){t.call(this,e,Xj,fu.HOST,n,r,i,Ol.CheckAlways)}return Yj(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-spinner",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=sa(this.viewUtils,this.injector(0),this._appEl_0);return this._Spinner_0_4=new WP(this.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Spinner_0_4,[],e),e.create(this._Spinner_0_4,this.projectableNodes,null),this._expr_0=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===WP&&0===e?this._Spinner_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Spinner_0_4.ngOnInit(),this.detectContentChildrenChanges(t);var e=this._Spinner_0_4.paused;it(t,this._expr_0,e)&&(this.renderer.setElementClass(this._el_0,"spinner-paused",e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(wf),Kj=(new Vu("ion-spinner",oa,WP),[]),Zj=null,Qj=function(t){function e(n,r,i){t.call(this,e,Zj,fu.COMPONENT,n,r,i,Ol.CheckOnce)}return Yj(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._anchor_0=this.renderer.createTemplateAnchor(e,null),this._appEl_0=new xu(0,null,this,this._anchor_0),this._TemplateRef_0_5=new jh(this._appEl_0,aa),this._NgFor_0_6=new Gf(this._appEl_0.vcRef,this._TemplateRef_0_5,this.parentInjector.get(Kc),this.ref),this._anchor_1=this.renderer.createTemplateAnchor(e,null),this._appEl_1=new xu(1,null,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,la),this._NgFor_1_6=new Gf(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parentInjector.get(Kc),this.ref),this._expr_0=Qc,this._expr_1=Qc,this.init([],[this._anchor_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&0===e?this._TemplateRef_0_5:t===Gf&&0===e?this._NgFor_0_6:t===Rh&&1===e?this._TemplateRef_1_5:t===Gf&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context._c;it(t,this._expr_0,n)&&(this._NgFor_0_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new eu(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_0_6.ngOnChanges(e),t||this._NgFor_0_6.ngDoCheck(),e=null;var r=this.context._l;it(t,this._expr_1,r)&&(this._NgFor_1_6.ngForOf=r,null===e&&(e={}),e.ngForOf=new eu(this._expr_1,r),this._expr_1=r),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(wf),Jj=function(t){function e(n,r,i){t.call(this,e,Zj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Yj(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,":svg:svg",null),this.renderer.setElementAttribute(this._el_0,"viewBox","0 0 64 64"),this._NgStyle_0_3=new td(this.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(this._el_0,":svg:circle",null),this.renderer.setElementAttribute(this._el_1,"transform","translate(32,32)"),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===td&&0<=e&&e<=1?this._NgStyle_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit.style;it(t,this._expr_0,e)&&(this._NgStyle_0_3.ngStyle=e,this._expr_0=e),t||this._NgStyle_0_3.ngDoCheck(),this.detectContentChildrenChanges(t);var n=this.context.$implicit.r;it(t,this._expr_1,n)&&(this.renderer.setElementAttribute(this._el_1,"r",null==n?null:n.toString()),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),tD=function(t){function e(n,r,i){t.call(this,e,Zj,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return Yj(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,":svg:svg",null),this.renderer.setElementAttribute(this._el_0,"viewBox","0 0 64 64"),this._NgStyle_0_3=new td(this.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(this._el_0,":svg:line",null),this.renderer.setElementAttribute(this._el_1,"transform","translate(32,32)"),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===td&&0<=e&&e<=1?this._NgStyle_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit.style;it(t,this._expr_0,e)&&(this._NgStyle_0_3.ngStyle=e,this._expr_0=e),t||this._NgStyle_0_3.ngDoCheck(),this.detectContentChildrenChanges(t);var n=this.context.$implicit.y1;it(t,this._expr_1,n)&&(this.renderer.setElementAttribute(this._el_1,"y1",null==n?null:n.toString()),this._expr_1=n);var r=this.context.$implicit.y2;it(t,this._expr_2,r)&&(this.renderer.setElementAttribute(this._el_1,"y2",null==r?null:r.toString()),this._expr_2=r),this.detectViewChildrenChanges(t)},e}(wf),eD=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)},nD=null,rD=function(t){function e(n,r,i){t.call(this,e,nD,fu.HOST,n,r,i,Ol.CheckAlways)}return eD(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-loading",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new xu(0,null,this,this._el_0);var e=ua(this.viewUtils,this.injector(0),this._appEl_0);return this._LoadingCmp_0_4=new zC(this.parentInjector.get(qv),this.parentInjector.get(Hv),new _u(this._el_0),this.parentInjector.get(Wv),this.renderer),this._appEl_0.initComponent(this._LoadingCmp_0_4,[],e),e.create(this._LoadingCmp_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===zC&&0===e?this._LoadingCmp_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._LoadingCmp_0_4.ngOnInit(),
  this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(wf),iD=new Vu("ion-loading",ca,zC),oD=[],sD=null,aD=function(t){function e(n,r,i){t.call(this,e,sD,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return eD(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new KE(this.parentInjector.get(Db),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","loading-wrapper"),this._anchor_2=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_2=new xu(2,1,this,this._anchor_2),this._TemplateRef_2_5=new jh(this._appEl_2,pa),this._NgIf_2_6=new qf(this._appEl_2.vcRef,this._TemplateRef_2_5),this._anchor_3=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_3=new xu(3,1,this,this._anchor_3),this._TemplateRef_3_5=new jh(this._appEl_3,ha),this._NgIf_3_6=new qf(this._appEl_3.vcRef,this._TemplateRef_3_5),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc,this.init([],[this._el_0,this._el_1,this._anchor_2,this._anchor_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===KE&&0===e?this._Backdrop_0_3:t===Rh&&2===e?this._TemplateRef_2_5:t===qf&&2===e?this._NgIf_2_6:t===Rh&&3===e?this._TemplateRef_3_5:t===qf&&3===e?this._NgIf_3_6:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit();var e=this.context.showSpinner;it(t,this._expr_1,e)&&(this._NgIf_2_6.ngIf=e,this._expr_1=e);var n=this.context.d.content;it(t,this._expr_2,n)&&(this._NgIf_3_6.ngIf=n,this._expr_2=n),this.detectContentChildrenChanges(t);var r=!this.context.d.showBackdrop;it(t,this._expr_0,r)&&(this.renderer.setElementClass(this._el_0,"hide-backdrop",r),this._expr_0=r),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e}(wf),lD=function(t){function e(n,r,i){t.call(this,e,sD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return eD(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","loading-spinner"),this._el_1=this.renderer.createElement(this._el_0,"ion-spinner",null),this._appEl_1=new xu(1,0,this,this._el_1);var e=sa(this.viewUtils,this.injector(1),this._appEl_1);return this._Spinner_1_4=new WP(this.parent.parentInjector.get(Hv),new _u(this._el_1),this.renderer),this._appEl_1.initComponent(this._Spinner_1_4,[],e),e.create(this._Spinner_1_4,[],null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===WP&&1===e?this._Spinner_1_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n=this.parent.context.d.spinner;it(t,this._expr_0,n)&&(this._Spinner_1_4.name=n,e=!0,this._expr_0=n),e&&this._appEl_1.componentView.markAsCheckOnce(),0!==this.numberOfChecks||t||this._Spinner_1_4.ngOnInit(),this.detectContentChildrenChanges(t);var r=this._Spinner_1_4.paused;it(t,this._expr_1,r)&&(this.renderer.setElementClass(this._el_1,"spinner-paused",r),this._expr_1=r),this.detectViewChildrenChanges(t)},e}(wf),cD=function(t){function e(n,r,i){t.call(this,e,sD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return eD(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","loading-content"),this._expr_0=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.d.content;it(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"innerHTML",this.viewUtils.sanitizer.sanitize(Ll.HTML,e)),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(wf),uD=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)},pD=null,hD=function(t){function e(n,r,i){t.call(this,e,pD,fu.HOST,n,r,i,Ol.CheckAlways)}return uD(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-modal",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=da(this.viewUtils,this.injector(0),this._appEl_0);this._ModalCmp_0_4=new $C(this.parentInjector.get(zu),this.renderer,this.parentInjector.get(Wv),this.parentInjector.get(qv)),this._appEl_0.initComponent(this._ModalCmp_0_4,[],e),e.create(this._ModalCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===$C&&0===e?this._ModalCmp_0_4:n},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._ModalCmp_0_4._keyUp(t)!==!1;return e},e}(wf),fD=new Vu("ion-modal",fa,$C),dD=[],_D=null,yD=function(t){function e(n,r,i){t.call(this,e,_D,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return uD(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_viewport_0=new Ah,this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"disableScroll","false"),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new KE(this.parentInjector.get(Db),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","modal-wrapper"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"nav-viewport",""),this._appEl_2=new xu(2,1,this,this._el_2);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=Qc,this._viewQuery_viewport_0.reset([this._appEl_2.vcRef]),this.context._viewport=this._viewQuery_viewport_0.first,this.init([],[this._el_0,this._el_1,this._el_2],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===KE&&0===e?this._Backdrop_0_3:n},e.prototype.detectChangesInternal=function(t){var e="false";it(t,this._expr_1,e)&&(this._Backdrop_0_3.disableScroll=e,this._expr_1=e),0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context._bdClick()!==!1;return e},e}(wf),gD=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)},mD=null,vD=function(t){function e(n,r,i){t.call(this,e,mD,fu.HOST,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("div",t,null),this.renderer.setElementAttribute(this._el_0,"class","picker-col"),this._appEl_0=new xu(0,null,this,this._el_0);var e=ya(this.viewUtils,this.injector(0),this._appEl_0);return this._PickerColumnCmp_0_4=new JC(this.parentInjector.get(Hv),new _u(this._el_0),this.parentInjector.get(Cy),this.parentInjector.get(Mb)),this._appEl_0.initComponent(this._PickerColumnCmp_0_4,[],e),e.create(this._PickerColumnCmp_0_4,this.projectableNodes,null),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===JC&&0===e?this._PickerColumnCmp_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this._PickerColumnCmp_0_4.col.columnWidth;it(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_0,"min-width",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,e).toString()),this._expr_0=e);var n="left"==this._PickerColumnCmp_0_4.col.align;it(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"picker-opts-left",n),this._expr_1=n);var r="right"==this._PickerColumnCmp_0_4.col.align;it(t,this._expr_2,r)&&(this.renderer.setElementClass(this._el_0,"picker-opts-right",r),this._expr_2=r),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._PickerColumnCmp_0_4.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._PickerColumnCmp_0_4.ngOnDestroy()},e}(wf),bD=(new Vu(".picker-col",_a,JC),[]),wD=null,CD=function(t){function e(n,r,i){t.call(this,e,wD,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_colEle_0=new Ah,this._anchor_0=this.renderer.createTemplateAnchor(e,null),this._appEl_0=new xu(0,null,this,this._anchor_0),this._TemplateRef_0_5=new jh(this._appEl_0,ga),this._NgIf_0_6=new qf(this._appEl_0.vcRef,this._TemplateRef_0_5),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","picker-opts"),this._anchor_2=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_2=new xu(2,1,this,this._anchor_2),this._TemplateRef_2_5=new jh(this._appEl_2,ma),this._NgFor_2_6=new Gf(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parentInjector.get(Kc),this.ref),this._anchor_3=this.renderer.createTemplateAnchor(e,null),this._appEl_3=new xu(3,null,this,this._anchor_3),this._TemplateRef_3_5=new jh(this._appEl_3,va),this._NgIf_3_6=new qf(this._appEl_3.vcRef,this._TemplateRef_3_5),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc,this._expr_3=Qc,this._viewQuery_colEle_0.reset([new _u(this._el_1)]),this.context.colEle=this._viewQuery_colEle_0.first,this.init([],[this._anchor_0,this._el_1,this._anchor_2,this._anchor_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&0===e?this._TemplateRef_0_5:t===qf&&0===e?this._NgIf_0_6:t===Rh&&2===e?this._TemplateRef_2_5:t===Gf&&2===e?this._NgFor_2_6:t===Rh&&3===e?this._TemplateRef_3_5:t===qf&&3===e?this._NgIf_3_6:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this.context.col.prefix;it(t,this._expr_0,n)&&(this._NgIf_0_6.ngIf=n,this._expr_0=n),e=null;var r=this.context.col.options;it(t,this._expr_2,r)&&(this._NgFor_2_6.ngForOf=r,null===e&&(e={}),e.ngForOf=new eu(this._expr_2,r),this._expr_2=r),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck();var i=this.context.col.suffix;it(t,this._expr_3,i)&&(this._NgIf_3_6.ngIf=i,this._expr_3=i),this.detectContentChildrenChanges(t);var o=this.context.col.optionsWidth;it(t,this._expr_1,o)&&(this.renderer.setElementStyle(this._el_1,"width",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,o)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,o).toString()),this._expr_1=o),this.detectViewChildrenChanges(t)},e}(wf),ED=function(t){function e(n,r,i){t.call(this,e,wD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-prefix"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.col.prefixWidth;it(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_0,"width",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,e).toString()),this._expr_0=e);var n=nt(1,"",this.parent.context.col.prefix,"");it(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),xD=function(t){function e(n,r,i){t.call(this,e,wD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"ion-button","picker-opt"),this.renderer.setElementAttribute(this._el_0,"type","button"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ms(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new tx(null,"picker-opt",this.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null),this._expr_1=Qc,this._expr_2=Qc,this._expr_3=Qc,this._expr_4=Qc,this._expr_5=Qc,this._expr_6=Qc;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_7=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===tx&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var e=this.context.$implicit._trans;it(t,this._expr_1,e)&&(this.renderer.setElementStyle(this._el_0,"transform",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,e).toString()),this._expr_1=e);var n=this.context.$implicit._dur;it(t,this._expr_2,n)&&(this.renderer.setElementStyle(this._el_0,"transitionDuration",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,n)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,n).toString()),this._expr_2=n);var r=this.context.$implicit._trans;it(t,this._expr_3,r)&&(this.renderer.setElementStyle(this._el_0,"webkitTransform",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,r)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,r).toString()),this._expr_3=r);var i=this.context.$implicit._dur;it(t,this._expr_4,i)&&(this.renderer.setElementStyle(this._el_0,"webkitTransitionDuration",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,i)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,i).toString()),this._expr_4=i);var o=this.parent.context.col.selectedIndex===this.context.index;it(t,this._expr_5,o)&&(this.renderer.setElementClass(this._el_0,"picker-opt-selected",o),this._expr_5=o);var s=this.context.$implicit.disabled;it(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_0,"picker-opt-disabled",s),this._expr_6=s);var a=nt(1,"",this.context.$implicit.text,"");it(t,this._expr_7,a)&&(this.renderer.setText(this._text_1,a),this._expr_7=a),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.optClick(t,this.context.index)!==!1;return e},e}(wf),OD=function(t){function e(n,r,i){t.call(this,e,wD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-suffix"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.col.suffixWidth;it(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_0,"width",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,e).toString()),this._expr_0=e);var n=nt(1,"",this.parent.context.col.suffix,"");it(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),TD=null,PD=function(t){function e(n,r,i){t.call(this,e,TD,fu.HOST,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-picker-cmp",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new xu(0,null,this,this._el_0);var e=wa(this.viewUtils,this.injector(0),this._appEl_0);this._PickerCmp_0_4=new tE(this.parentInjector.get(qv),new _u(this._el_0),this.parentInjector.get(Hv),this.parentInjector.get(Wv),this.renderer),this._appEl_0.initComponent(this._PickerCmp_0_4,[],e),e.create(this._PickerCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===tE&&0===e?this._PickerCmp_0_4:n},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._PickerCmp_0_4._keyUp(t)!==!1;return e},e}(wf),SD=new Vu("ion-picker-cmp",ba,tE),ID=[],AD=null,kD=function(t){function e(n,r,i){t.call(this,e,AD,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_PickerColumnCmp_0=new Ah,this._text_0=this.renderer.createText(e,"\n    ",null),this._el_1=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_1,"disable-activated",""),this.renderer.setElementAttribute(this._el_1,"role","presentation"),this.renderer.setElementAttribute(this._el_1,"tappable",""),this._Backdrop_1_3=new KE(this.parentInjector.get(Db),new _u(this._el_1),this.renderer),this._text_2=this.renderer.createText(e,"\n    ",null),this._el_3=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_3,"class","picker-wrapper"),this._text_4=this.renderer.createText(this._el_3,"\n      ",null),this._el_5=this.renderer.createElement(this._el_3,"div",null),this.renderer.setElementAttribute(this._el_5,"class","picker-toolbar"),this._text_6=this.renderer.createText(this._el_5,"\n        ",null),this._anchor_7=this.renderer.createTemplateAnchor(this._el_5,null),this._appEl_7=new xu(7,5,this,this._anchor_7),this._TemplateRef_7_5=new jh(this._appEl_7,Ca),this._NgFor_7_6=new Gf(this._appEl_7.vcRef,this._TemplateRef_7_5,this.parentInjector.get(Kc),this.ref),this._text_8=this.renderer.createText(this._el_5,"\n      ",null),this._text_9=this.renderer.createText(this._el_3,"\n      ",null),this._el_10=this.renderer.createElement(this._el_3,"div",null),this.renderer.setElementAttribute(this._el_10,"class","picker-columns"),this._text_11=this.renderer.createText(this._el_10,"\n        ",null),this._el_12=this.renderer.createElement(this._el_10,"div",null),this.renderer.setElementAttribute(this._el_12,"class","picker-above-highlight"),this._text_13=this.renderer.createText(this._el_10,"\n        ",null),this._anchor_14=this.renderer.createTemplateAnchor(this._el_10,null),this._appEl_14=new xu(14,10,this,this._anchor_14),this._TemplateRef_14_5=new jh(this._appEl_14,Ea),this._NgFor_14_6=new Gf(this._appEl_14.vcRef,this._TemplateRef_14_5,this.parentInjector.get(Kc),this.ref),this._text_15=this.renderer.createText(this._el_10,"\n        ",null),this._el_16=this.renderer.createElement(this._el_10,"div",null),this.renderer.setElementAttribute(this._el_16,"class","picker-below-highlight"),this._text_17=this.renderer.createText(this._el_10,"\n      ",null),this._text_18=this.renderer.createText(this._el_3,"\n    ",null),this._text_19=this.renderer.createText(e,"\n  ",null);var n=this.renderer.listen(this._el_1,"click",this.eventHandler(this._handle_click_1_0.bind(this)));return this._expr_1=Qc,this._expr_2=Qc,this.init([],[this._text_0,this._el_1,this._text_2,this._el_3,this._text_4,this._el_5,this._text_6,this._anchor_7,this._text_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._anchor_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===KE&&1===e?this._Backdrop_1_3:t===Rh&&7===e?this._TemplateRef_7_5:t===Gf&&7===e?this._NgFor_7_6:t===Rh&&14===e?this._TemplateRef_14_5:t===Gf&&14===e?this._NgFor_14_6:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Backdrop_1_3.ngOnInit(),e=null;var n=this.context.d.buttons;it(t,this._expr_1,n)&&(this._NgFor_7_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new eu(this._expr_1,n),this._expr_1=n),null!==e&&this._NgFor_7_6.ngOnChanges(e),t||this._NgFor_7_6.ngDoCheck(),e=null;var r=this.context.d.columns;it(t,this._expr_2,r)&&(this._NgFor_14_6.ngForOf=r,null===e&&(e={}),e.ngForOf=new eu(this._expr_2,r),this._expr_2=r),null!==e&&this._NgFor_14_6.ngOnChanges(e),t||this._NgFor_14_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||this._viewQuery_PickerColumnCmp_0.dirty&&(this._viewQuery_PickerColumnCmp_0.reset([this._appEl_14.mapNestedViews(jD,function(t){return[t._PickerColumnCmp_0_4]})]),this.context._cols=this._viewQuery_PickerColumnCmp_0,this._viewQuery_PickerColumnCmp_0.notifyOnChanges())},e.prototype.destroyInternal=function(){this._Backdrop_1_3.ngOnDestroy()},e.prototype._handle_click_1_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.bdClick()!==!1;return e},e}(wf),RD=function(t){function e(n,r,i){t.call(this,e,AD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-toolbar-button"),this._NgClass_0_3=new zf(this.parent.parentInjector.get(Kc),this.parent.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n          ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","picker-button"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new xu(2,0,this,this._el_2);var e=Ms(this.viewUtils,this.injector(2),this._appEl_2);this._NgClass_2_4=new zf(this.parent.parentInjector.get(Kc),this.parent.parentInjector.get(Zc),new _u(this._el_2),this.renderer),this._Button_2_5=new tx(null,"",this.parent.parentInjector.get(Hv),new _u(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_5,[],e),this._text_3=this.renderer.createText(null,"",null),e.create(this._Button_2_5,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(this._el_0,"\n        ",null),this._expr_0=Qc,this._expr_1=Qc;var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_3=Qc,this._expr_4=Qc,this._expr_5=Qc,this._expr_6=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===zf&&2<=e&&e<=3?this._NgClass_2_4:t===tx&&2<=e&&e<=3?this._Button_2_5:t===zf&&0<=e&&e<=4?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n="picker-toolbar-button";it(t,this._expr_0,n)&&(this._NgClass_0_3.klass=n,this._expr_0=n);var r=this.context.$implicit.cssRole;it(t,this._expr_1,r)&&(this._NgClass_0_3.ngClass=r,this._expr_1=r),t||this._NgClass_0_3.ngDoCheck();var i="picker-button";it(t,this._expr_3,i)&&(this._NgClass_2_4.klass=i,this._expr_3=i);var o=this.context.$implicit.cssClass;it(t,this._expr_4,o)&&(this._NgClass_2_4.ngClass=o,this._expr_4=o),t||this._NgClass_2_4.ngDoCheck(),e=!1;var s="";it(t,this._expr_5,s)&&(this._Button_2_5.clear=s,e=!0,this._expr_5=s),e&&this._appEl_2.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_5.ngAfterContentInit();var a=nt(1,"\n            ",this.context.$implicit.text,"\n          ");it(t,this._expr_6,a)&&(this.renderer.setText(this._text_3,a),this._expr_6=a),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.btnClick(this.context.$implicit)!==!1;return e},e}(wf),jD=function(t){function e(n,r,i){t.call(this,e,AD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return gD(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-col"),this._appEl_0=new xu(0,null,this,this._el_0);var e=ya(this.viewUtils,this.injector(0),this._appEl_0);this._PickerColumnCmp_0_4=new JC(this.parent.parentInjector.get(Hv),new _u(this._el_0),this.parent.parentInjector.get(Cy),this.parent.parentInjector.get(Mb)),this._appEl_0.initComponent(this._PickerColumnCmp_0_4,[],e),e.create(this._PickerColumnCmp_0_4,[],null);var n=this.renderer.listen(this._el_0,"ionChange",this.eventHandler(this._handle_ionChange_0_0.bind(this)));this._expr_1=Qc,this._expr_2=Qc,this._expr_3=Qc,this._expr_4=Qc;var r=this._PickerColumnCmp_0_4.ionChange.subscribe(this.eventHandler(this._handle_ionChange_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[r]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===JC&&0===e?this._PickerColumnCmp_0_4:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit;it(t,this._expr_1,e)&&(this._PickerColumnCmp_0_4.col=e,this._expr_1=e),this.detectContentChildrenChanges(t);var n=this._PickerColumnCmp_0_4.col.columnWidth;it(t,this._expr_2,n)&&(this.renderer.setElementStyle(this._el_0,"min-width",null==this.viewUtils.sanitizer.sanitize(Ll.STYLE,n)?null:this.viewUtils.sanitizer.sanitize(Ll.STYLE,n).toString()),this._expr_2=n);var r="left"==this._PickerColumnCmp_0_4.col.align;it(t,this._expr_3,r)&&(this.renderer.setElementClass(this._el_0,"picker-opts-left",r),this._expr_3=r);var i="right"==this._PickerColumnCmp_0_4.col.align;it(t,this._expr_4,i)&&(this.renderer.setElementClass(this._el_0,"picker-opts-right",i),this._expr_4=i),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._PickerColumnCmp_0_4.ngAfterViewInit()},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_PickerColumnCmp_0.setDirty()},e.prototype.destroyInternal=function(){this._PickerColumnCmp_0_4.ngOnDestroy()},e.prototype._handle_ionChange_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context._colChange(t)!==!1;return e},e}(wf),DD=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)},ND=null,MD=function(t){function e(n,r,i){t.call(this,e,ND,fu.HOST,n,r,i,Ol.CheckAlways)}return DD(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-popover",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=Oa(this.viewUtils,this.injector(0),this._appEl_0);this._PopoverCmp_0_4=new cE(this.parentInjector.get(zu),new _u(this._el_0),this.renderer,this.parentInjector.get(Hv),this.parentInjector.get(Wv),this.parentInjector.get(qv)),this._appEl_0.initComponent(this._PopoverCmp_0_4,[],e),e.create(this._PopoverCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===cE&&0===e?this._PopoverCmp_0_4:n},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._PopoverCmp_0_4._keyUp(t)!==!1;return e},e}(wf),LD=new Vu("ion-popover",xa,cE),VD=[],FD=null,BD=function(t){function e(n,r,i){t.call(this,e,FD,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return DD(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_viewport_0=new Ah,this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new KE(this.parentInjector.get(Db),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","popover-wrapper"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","popover-arrow"),this._el_3=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_3,"class","popover-content"),this._el_4=this.renderer.createElement(this._el_3,"div",null),this.renderer.setElementAttribute(this._el_4,"class","popover-viewport"),this._el_5=this.renderer.createElement(this._el_4,"div",null),this.renderer.setElementAttribute(this._el_5,"nav-viewport",""),this._appEl_5=new xu(5,4,this,this._el_5),this._expr_1=Qc;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._viewQuery_viewport_0.reset([this._appEl_5.vcRef]),this.context._viewport=this._viewQuery_viewport_0.first,this.init([],[this._el_0,this._el_1,this._el_2,this._el_3,this._el_4,this._el_5],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===KE&&0===e?this._Backdrop_0_3:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit(),this.detectContentChildrenChanges(t);var e=!this.context.d.showBackdrop;it(t,this._expr_1,e)&&(this.renderer.setElementClass(this._el_0,"hide-backdrop",e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context._bdClick()!==!1;return e},e}(wf),HD=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)},zD=null,UD=function(t){function e(n,r,i){t.call(this,e,zD,fu.HOST,n,r,i,Ol.CheckAlways)}return HD(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-toast",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Pa(this.viewUtils,this.injector(0),this._appEl_0);return this._ToastCmp_0_4=new SE(this.parentInjector.get(qv),this.parentInjector.get(Hv),new _u(this._el_0),this.parentInjector.get(Wv),this.renderer),this._appEl_0.initComponent(this._ToastCmp_0_4,[],e),e.create(this._ToastCmp_0_4,this.projectableNodes,null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===SE&&0===e?this._ToastCmp_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this._ToastCmp_0_4.hdrId;it(t,this._expr_0,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-labelledby",null==e?null:e.toString()),this._expr_0=e);var n=this._ToastCmp_0_4.descId;it(t,this._expr_1,n)&&(this.renderer.setElementAttribute(this._el_0,"aria-describedby",null==n?null:n.toString()),this._expr_1=n),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._ToastCmp_0_4.ngAfterViewInit()},e}(wf),GD=new Vu("ion-toast",Ta,SE),WD=[],qD=null,YD=function(t){function e(n,r,i){t.call(this,e,qD,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return HD(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","toast-wrapper"),
  this._text_1=this.renderer.createText(this._el_0," ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","toast-container"),this._text_3=this.renderer.createText(this._el_2," ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new xu(4,2,this,this._anchor_4),this._TemplateRef_4_5=new jh(this._appEl_4,Sa),this._NgIf_4_6=new qf(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_2," ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_6=new xu(6,2,this,this._anchor_6),this._TemplateRef_6_5=new jh(this._appEl_6,Ia),this._NgIf_6_6=new qf(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_2," ",null),this._text_8=this.renderer.createText(this._el_0," ",null),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc,this._expr_3=Qc,this._expr_4=Qc,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._text_8],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&4===e?this._TemplateRef_4_5:t===qf&&4===e?this._NgIf_4_6:t===Rh&&6===e?this._TemplateRef_6_5:t===qf&&6===e?this._NgIf_6_6:n},e.prototype.detectChangesInternal=function(t){var e=this.context.d.message;it(t,this._expr_3,e)&&(this._NgIf_4_6.ngIf=e,this._expr_3=e);var n=this.context.d.showCloseButton;it(t,this._expr_4,n)&&(this._NgIf_6_6.ngIf=n,this._expr_4=n),this.detectContentChildrenChanges(t);var r="bottom"===this.context.d.position;it(t,this._expr_0,r)&&(this.renderer.setElementClass(this._el_0,"toast-bottom",r),this._expr_0=r);var i="middle"===this.context.d.position;it(t,this._expr_1,i)&&(this.renderer.setElementClass(this._el_0,"toast-middle",i),this._expr_1=i);var o="top"===this.context.d.position;it(t,this._expr_2,o)&&(this.renderer.setElementClass(this._el_0,"toast-top",o),this._expr_2=o),this.detectViewChildrenChanges(t)},e}(wf),XD=function(t){function e(n,r,i){t.call(this,e,qD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return HD(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","toast-message"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=nt(1,"",this.parent.context.hdrId,"");it(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=nt(1,"",this.parent.context.d.message,"");it(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(wf),$D=function(t){function e(n,r,i){t.call(this,e,qD,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return HD(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","toast-button"),this.renderer.setElementAttribute(this._el_0,"clear",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ms(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new tx(null,"",this.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=Qc,this._expr_2=Qc,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===tx&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";it(t,this._expr_1,n)&&(this._Button_0_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_0.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var r=nt(1," ",this.parent.context.d.closeButtonText||"Close"," ");it(t,this._expr_2,r)&&(this.renderer.setText(this._text_1,r),this._expr_2=r),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.cbClick()!==!1;return e},e}(wf),KD=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)},ZD=null,QD=function(t){function e(n,r,i){t.call(this,e,ZD,fu.HOST,n,r,i,Ol.CheckAlways)}return KD(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-nav",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=ka(this.viewUtils,this.injector(0),this._appEl_0);return this._Nav_0_4=new HO(this.parentInjector.get(qv,null),this.parentInjector.get(nw,null),this.parentInjector.get(gb),this.parentInjector.get(Hv),this.parentInjector.get(Fb),new _u(this._el_0),this.parentInjector.get(fh),this.renderer,this.parentInjector.get(zu),this.parentInjector.get(Db),this.parentInjector.get(MC),this.parentInjector.get(Pb,null)),this._appEl_0.initComponent(this._Nav_0_4,[],e),e.create(this._Nav_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===HO&&0===e?this._Nav_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._Nav_0_4.ngAfterViewInit()},e}(wf),JD=(new Vu("ion-nav",Aa,HO),[]),tN=null,eN=function(t){function e(n,r,i){t.call(this,e,tN,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return KD(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_viewport_0=new Ah,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"nav-viewport",""),this._appEl_0=new xu(0,null,this,this._el_0),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","nav-decor"),this._viewQuery_viewport_0.reset([this._appEl_0.vcRef]),this.context._vp=this._viewQuery_viewport_0.first,this.init([],[this._el_0,this._el_1],[],[]),null},e}(wf),nN=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)},rN=null,iN=function(t){function e(n,r,i){t.call(this,e,rN,fu.HOST,n,r,i,Ol.CheckAlways)}return nN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=ja(this.viewUtils,this.injector(0),this._appEl_0);return this._MyApp_0_4=new nj(this.parentInjector.get(pb),this.parentInjector.get(YC)),this._appEl_0.initComponent(this._MyApp_0_4,[],e),e.create(this._MyApp_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===nj&&0===e?this._MyApp_0_4:n},e}(wf),oN=new Vu("ng-component",Ra,nj),sN=[],aN=null,lN=function(t){function e(n,r,i){t.call(this,e,aN,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return nN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_Nav_0=new Ah,this._el_0=this.renderer.createElement(e,"ion-nav",null),this.renderer.setElementAttribute(this._el_0,"swipeBackEnabled","false"),this._appEl_0=new xu(0,null,this,this._el_0);var n=ka(this.viewUtils,this.injector(0),this._appEl_0);return this._Nav_0_4=new HO(this.parentInjector.get(qv,null),this.parentInjector.get(nw,null),this.parentInjector.get(gb),this.parentInjector.get(Hv),this.parentInjector.get(Fb),new _u(this._el_0),this.parentInjector.get(fh),this.renderer,this.parentInjector.get(zu),this.parentInjector.get(Db),this.parentInjector.get(MC),this.parentInjector.get(Pb,null)),this._appEl_0.initComponent(this._Nav_0_4,[],n),n.create(this._Nav_0_4,[],null),this._text_1=this.renderer.createText(e,"\n",null),this._expr_0=Qc,this._expr_1=Qc,this._viewQuery_Nav_0.reset([this._Nav_0_4]),this.context.nav=this._viewQuery_Nav_0.first,this.init([],[this._el_0,this._text_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===HO&&0===e?this._Nav_0_4:n},e.prototype.detectChangesInternal=function(t){var e=this.context.rootPage;it(t,this._expr_0,e)&&(this._Nav_0_4.root=e,this._expr_0=e);var n="false";it(t,this._expr_1,n)&&(this._Nav_0_4.swipeBackEnabled=n,this._expr_1=n),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._Nav_0_4.ngAfterViewInit()},e}(wf),cN=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=null,pN=function(t){function e(n,r,i){t.call(this,e,uN,fu.HOST,n,r,i,Ol.CheckAlways)}return cN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-navbar",t,null),this.renderer.setElementAttribute(this._el_0,"class","toolbar"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Na(this.viewUtils,this.injector(0),this._appEl_0);return this._Navbar_0_4=new MO(this.parentInjector.get(gb),this.parentInjector.get(qv,null),this.parentInjector.get(Gb,null),this.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._appEl_0.initComponent(this._Navbar_0_4,[],e),e.create(this._Navbar_0_4,this.projectableNodes,null),this._expr_0=Qc,this._expr_1=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===MO&&0===e?this._Navbar_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this._Navbar_0_4._hidden;it(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"hidden",e),this._expr_0=e);var n=this._Navbar_0_4._sbPadding;it(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",n),this._expr_1=n),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._Navbar_0_4.ngAfterViewInit()},e}(wf),hN=(new Vu("ion-navbar",Da,MO),[]),fN=null,dN=function(t){function e(n,r,i){t.call(this,e,fN,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return cN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_bbTxt_0=new Ah,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","toolbar-background"),this._NgClass_0_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"button",null),this.renderer.setElementAttribute(this._el_1,"class","back-button"),this.renderer.setElementAttribute(this._el_1,"ion-button","bar-button"),this._appEl_1=new xu(1,null,this,this._el_1);var n=Ms(this.viewUtils,this.injector(1),this._appEl_1);this._NgClass_1_4=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_1),this.renderer),this._Button_1_5=new tx(null,"bar-button",this.parentInjector.get(Hv),new _u(this._el_1),this.renderer),this._appEl_1.initComponent(this._Button_1_5,[],n),this._el_2=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_2,"class","button-inner"),this._el_3=this.renderer.createElement(this._el_2,"ion-icon",null),this.renderer.setElementAttribute(this._el_3,"class","back-button-icon"),this.renderer.setElementAttribute(this._el_3,"role","img"),this._NgClass_3_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_3),this.renderer),this._Icon_3_4=new ax(this.parentInjector.get(Hv),new _u(this._el_3),this.renderer),this._el_4=this.renderer.createElement(this._el_2,"span",null),this.renderer.setElementAttribute(this._el_4,"class","back-button-text"),this._NgClass_4_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_4),this.renderer),n.create(this._Button_1_5,[[].concat([this._el_2])],null),this.renderer.projectNodes(e,J(this.projectableNodes[0])),this.renderer.projectNodes(e,J(this.projectableNodes[1])),this.renderer.projectNodes(e,J(this.projectableNodes[2])),this._el_5=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_5,"class","toolbar-content"),this._NgClass_5_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_5),this.renderer),this.renderer.projectNodes(this._el_5,J(this.projectableNodes[3])),this._expr_0=Qc,this._expr_1=Qc,this._expr_3=Qc;var r=this.renderer.listen(this._el_1,"click",this.eventHandler(this._handle_click_1_0.bind(this)));return this._expr_4=Qc,this._expr_5=Qc,this._expr_6=Qc,this._expr_7=Qc,this._expr_8=Qc,this._expr_9=Qc,this._expr_10=Qc,this._expr_11=Qc,this._expr_12=Qc,this._expr_13=Qc,this._viewQuery_bbTxt_0.reset([new _u(this._el_4)]),this.context._bbTxt=this._viewQuery_bbTxt_0.first,this.init([],[this._el_0,this._el_1,this._el_2,this._el_3,this._el_4,this._el_5],[r],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===zf&&0===e?this._NgClass_0_3:t===zf&&3===e?this._NgClass_3_3:t===ax&&3===e?this._Icon_3_4:t===zf&&4===e?this._NgClass_4_3:t===zf&&1<=e&&e<=4?this._NgClass_1_4:t===tx&&1<=e&&e<=4?this._Button_1_5:t===zf&&5===e?this._NgClass_5_3:n},e.prototype.detectChangesInternal=function(t){var e="toolbar-background";it(t,this._expr_0,e)&&(this._NgClass_0_3.klass=e,this._expr_0=e);var n="toolbar-background-"+this.context._mode;it(t,this._expr_1,n)&&(this._NgClass_0_3.ngClass=n,this._expr_1=n),t||this._NgClass_0_3.ngDoCheck();var r="back-button";it(t,this._expr_4,r)&&(this._NgClass_1_4.klass=r,this._expr_4=r);var i="back-button-"+this.context._mode;it(t,this._expr_5,i)&&(this._NgClass_1_4.ngClass=i,this._expr_5=i),t||this._NgClass_1_4.ngDoCheck();var o="back-button-icon";it(t,this._expr_6,o)&&(this._NgClass_3_3.klass=o,this._expr_6=o);var s="back-button-icon-"+this.context._mode;it(t,this._expr_7,s)&&(this._NgClass_3_3.ngClass=s,this._expr_7=s),t||this._NgClass_3_3.ngDoCheck();var a=this.context._bbIcon;it(t,this._expr_8,a)&&(this._Icon_3_4.name=a,this._expr_8=a);var l="back-button-text";it(t,this._expr_10,l)&&(this._NgClass_4_3.klass=l,this._expr_10=l);var c="back-button-text-"+this.context._mode;it(t,this._expr_11,c)&&(this._NgClass_4_3.ngClass=c,this._expr_11=c),t||this._NgClass_4_3.ngDoCheck();var u="toolbar-content";it(t,this._expr_12,u)&&(this._NgClass_5_3.klass=u,this._expr_12=u);var p="toolbar-content-"+this.context._mode;it(t,this._expr_13,p)&&(this._NgClass_5_3.ngClass=p,this._expr_13=p),t||this._NgClass_5_3.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_1_5.ngAfterContentInit();var h=this.context._hideBb;it(t,this._expr_3,h)&&(this.renderer.setElementProperty(this._el_1,"hidden",h),this._expr_3=h);var f=this._Icon_3_4._hidden;it(t,this._expr_9,f)&&(this.renderer.setElementClass(this._el_3,"hide",f),this._expr_9=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Icon_3_4.ngOnDestroy()},e.prototype._handle_click_1_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.backButtonClick(t)!==!1;return e},e}(wf),_N=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)},yN=null,gN=function(t){function e(n,r,i){t.call(this,e,yN,fu.HOST,n,r,i,Ol.CheckAlways)}return _N(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-title",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=La(this.viewUtils,this.injector(0),this._appEl_0);return this._ToolbarTitle_0_4=new uS(this.parentInjector.get(Hv),new _u(this._el_0),this.renderer,this.parentInjector.get(DO,null),this.parentInjector.get(MO,null)),this._appEl_0.initComponent(this._ToolbarTitle_0_4,[],e),e.create(this._ToolbarTitle_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===uS&&0===e?this._ToolbarTitle_0_4:n},e}(wf),mN=(new Vu("ion-title",Ma,uS),[]),vN=null,bN=function(t){function e(n,r,i){t.call(this,e,vN,fu.COMPONENT,n,r,i,Ol.CheckOnce)}return _N(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","toolbar-title"),this._NgClass_0_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this.renderer.projectNodes(this._el_0,J(this.projectableNodes[0])),this._expr_0=Qc,this._expr_1=Qc,this.init([],[this._el_0],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===zf&&0===e?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e="toolbar-title";it(t,this._expr_0,e)&&(this._NgClass_0_3.klass=e,this._expr_0=e);var n="toolbar-title-"+this.context._mode;it(t,this._expr_1,n)&&(this._NgClass_0_3.ngClass=n,this._expr_1=n),t||this._NgClass_0_3.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(wf),wN=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)},CN=null,EN=function(t){function e(n,r,i){t.call(this,e,CN,fu.HOST,n,r,i,Ol.CheckAlways)}return wN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-content",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=Fa(this.viewUtils,this.injector(0),this._appEl_0);return this._Content_0_4=new gw(this.parentInjector.get(Hv),new _u(this._el_0),this.renderer,this.parentInjector.get(gb),this.parentInjector.get(Fb),this.parentInjector.get(fh),this.parentInjector.get(qv,null),this.parentInjector.get(dw,null)),this._appEl_0.initComponent(this._Content_0_4,[],e),e.create(this._Content_0_4,this.projectableNodes,null),this._expr_0=Qc,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===gw&&0===e?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),this.detectContentChildrenChanges(t);var e=this._Content_0_4._sbPadding;it(t,this._expr_0,e)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",e),this._expr_0=e),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Content_0_4.ngOnDestroy()},e}(wf),xN=(new Vu("ion-content",Va,gw),[]),ON=null,TN=function(t){function e(n,r,i){t.call(this,e,ON,fu.COMPONENT,n,r,i,Ol.CheckOnce)}return wN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","fixed-content"),this.renderer.projectNodes(this._el_0,J(this.projectableNodes[0])),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","scroll-content"),this.renderer.projectNodes(this._el_1,J(this.projectableNodes[1])),this.renderer.projectNodes(e,J(this.projectableNodes[2])),this.init([],[this._el_0,this._el_1],[],[]),null},e}(wf),PN=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=null,IN=function(t){function e(n,r,i){t.call(this,e,SN,fu.HOST,n,r,i,Ol.CheckAlways)}return PN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("page-users",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ha(this.viewUtils,this.injector(0),this._appEl_0);return this._Users_0_4=new ej(this.parentInjector.get(Gb),this.parentInjector.get(QC)),this._appEl_0.initComponent(this._Users_0_4,[],e),e.create(this._Users_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===ej&&0===e?this._Users_0_4:n},e}(wf),AN=new Vu("page-users",Ba,ej),kN=["ion-content[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {background-color: #f27e11;}"],RN=null,jN=function(t){function e(n,r,i){t.call(this,e,RN,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return PN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._text_0=this.renderer.createText(e,"\n",null),this._el_1=this.renderer.createElement(e,"ion-header",null),this._Header_1_3=new kO(this.parentInjector.get(Hv),new _u(this._el_1),this.renderer,this.parentInjector.get(qv,null)),this._text_2=this.renderer.createText(this._el_1,"\n\n  ",null),this._el_3=this.renderer.createElement(this._el_1,"ion-navbar",null),this.renderer.setElementAttribute(this._el_3,"class","toolbar"),this._appEl_3=new xu(3,1,this,this._el_3);var n=Na(this.viewUtils,this.injector(3),this._appEl_3);this._Navbar_3_4=new MO(this.parentInjector.get(gb),this.parentInjector.get(qv,null),this.parentInjector.get(Gb,null),this.parentInjector.get(Hv),new _u(this._el_3),this.renderer),this._appEl_3.initComponent(this._Navbar_3_4,[],n),this._text_4=this.renderer.createText(null,"\n    ",null),this._el_5=this.renderer.createElement(null,"ion-title",null),this._appEl_5=new xu(5,3,this,this._el_5);var r=La(this.viewUtils,this.injector(5),this._appEl_5);this._ToolbarTitle_5_4=new uS(this.parentInjector.get(Hv),new _u(this._el_5),this.renderer,this.parentInjector.get(DO,null),this._Navbar_3_4),this._appEl_5.initComponent(this._ToolbarTitle_5_4,[],r),this._text_6=this.renderer.createText(null,"\n      Main\n    ",null),r.create(this._ToolbarTitle_5_4,[[].concat([this._text_6])],null),this._text_7=this.renderer.createText(null,"\n\n  ",null),n.create(this._Navbar_3_4,[[],[],[],[].concat([this._text_4,this._el_5,this._text_7])],null),this._text_8=this.renderer.createText(this._el_1,"\n\n",null),this._text_9=this.renderer.createText(e,"\n\n\n",null),this._el_10=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_10,"padding",""),this._appEl_10=new xu(10,null,this,this._el_10);var i=Fa(this.viewUtils,this.injector(10),this._appEl_10);this._Content_10_4=new gw(this.parentInjector.get(Hv),new _u(this._el_10),this.renderer,this.parentInjector.get(gb),this.parentInjector.get(Fb),this.parentInjector.get(fh),this.parentInjector.get(qv,null),this.parentInjector.get(dw,null)),this._appEl_10.initComponent(this._Content_10_4,[],i),this._text_11=this.renderer.createText(null,"\n\n  ",null),this._el_12=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_12,"full",""),this.renderer.setElementAttribute(this._el_12,"ion-button",""),this._appEl_12=new xu(12,10,this,this._el_12);var o=Ms(this.viewUtils,this.injector(12),this._appEl_12);this._Button_12_4=new tx(null,"",this.parentInjector.get(Hv),new _u(this._el_12),this.renderer),this._appEl_12.initComponent(this._Button_12_4,[],o),this._text_13=this.renderer.createText(null,"Scan",null),o.create(this._Button_12_4,[[].concat([this._text_13])],null),this._text_14=this.renderer.createText(null,"\n\n",null),i.create(this._Content_10_4,[[],[].concat([this._text_11,this._el_12,this._text_14]),[]],null),this._text_15=this.renderer.createText(e,"\n",null),this._expr_0=Qc,this._expr_1=Qc,this._expr_2=Qc;var s=this.renderer.listen(this._el_12,"click",this.eventHandler(this._handle_click_12_0.bind(this)));return this._expr_4=Qc,this.init([],[this._text_0,this._el_1,this._text_2,this._el_3,this._text_4,this._el_5,this._text_6,this._text_7,this._text_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._text_14,this._text_15],[s],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===uS&&5<=e&&e<=6?this._ToolbarTitle_5_4:t===MO&&3<=e&&e<=7?this._Navbar_3_4:t===kO&&1<=e&&e<=8?this._Header_1_3:t===tx&&12<=e&&e<=13?this._Button_12_4:t===gw&&10<=e&&e<=14?this._Content_10_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;0!==this.numberOfChecks||t||this._Content_10_4.ngOnInit(),e=!1;var n="";it(t,this._expr_4,n)&&(this._Button_12_4.full=n,e=!0,this._expr_4=n),e&&this._appEl_12.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_12_4.ngAfterContentInit();var r=this._Navbar_3_4._hidden;it(t,this._expr_0,r)&&(this.renderer.setElementProperty(this._el_3,"hidden",r),this._expr_0=r);var i=this._Navbar_3_4._sbPadding;it(t,this._expr_1,i)&&(this.renderer.setElementClass(this._el_3,"statusbar-padding",i),this._expr_1=i);var o=this._Content_10_4._sbPadding;it(t,this._expr_2,o)&&(this.renderer.setElementClass(this._el_10,"statusbar-padding",o),this._expr_2=o),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._Navbar_3_4.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._Content_10_4.ngOnDestroy()},e.prototype._handle_click_12_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openQRScan()!==!1;return e},e}(wf),DN=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)},NN=null,MN=function(t){function e(n,r,i){t.call(this,e,NN,fu.HOST,n,r,i,Ol.CheckAlways)}return DN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-reorder",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=Ua(this.viewUtils,this.injector(0),this._appEl_0);this._Reorder_0_4=new fO(this.parentInjector.get(px),new _u(this._el_0)),this._appEl_0.initComponent(this._Reorder_0_4,[],e),e.create(this._Reorder_0_4,this.projectableNodes,null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===fO&&0===e?this._Reorder_0_4:n},e.prototype._handle_click_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._Reorder_0_4.onClick(t)!==!1;return e},e}(wf),LN=(new Vu("ion-reorder",za,fO),[]),VN=null,FN=function(t){function e(n,r,i){t.call(this,e,VN,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return DN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"ion-icon",null),this.renderer.setElementAttribute(this._el_0,"name","reorder"),this.renderer.setElementAttribute(this._el_0,"role","img"),this._Icon_0_3=new ax(this.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._expr_0=Qc,this._expr_1=Qc,this.init([],[this._el_0],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ax&&0===e?this._Icon_0_3:n},e.prototype.detectChangesInternal=function(t){var e="reorder";it(t,this._expr_0,e)&&(this._Icon_0_3.name=e,this._expr_0=e),this.detectContentChildrenChanges(t);var n=this._Icon_0_3._hidden;it(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"hide",n),this._expr_1=n),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Icon_0_3.ngOnDestroy()},e}(wf),BN=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)},HN=null,zN=function(t){function e(n,r,i){t.call(this,e,HN,fu.HOST,n,r,i,Ol.CheckAlways)}return BN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-list-header",t,null),this.renderer.setElementAttribute(this._el_0,"class","item"),this._appEl_0=new xu(0,null,this,this._el_0);var e=Wa(this.viewUtils,this.injector(0),this._appEl_0);return this._Item_0_4=new px(this.parentInjector.get(Uv),this.parentInjector.get(Hv),new _u(this._el_0),this.renderer),this._query_Label_0_0=new Ah,this._query_Button_0_1=new Ah,this._query_Icon_0_2=new Ah,this._appEl_0.initComponent(this._Item_0_4,[],e),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===px&&0===e?this._Item_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e}(wf),UN=(new Vu("ion-list-header,ion-item,[ion-item],ion-item-divider",Ga,px),[]),GN=null,WN=function(t){function e(n,r,i){t.call(this,e,GN,fu.COMPONENT,n,r,i,Ol.CheckOnce)}return BN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_Label_0=new Ah,this.renderer.projectNodes(e,J(this.projectableNodes[0])),this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","item-inner"),this._el_1=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_1,"class","input-wrapper"),this.renderer.projectNodes(this._el_1,J(this.projectableNodes[1])),this._anchor_2=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_2=new xu(2,1,this,this._anchor_2),this._TemplateRef_2_5=new jh(this._appEl_2,qa),this._NgIf_2_6=new qf(this._appEl_2.vcRef,this._TemplateRef_2_5),this.renderer.projectNodes(this._el_1,J(this.projectableNodes[3])),this.renderer.projectNodes(this._el_0,J(this.projectableNodes[4])),this._el_3=this.renderer.createElement(this._el_0,"ion-reorder",null),this._appEl_3=new xu(3,0,this,this._el_3);var n=Ua(this.viewUtils,this.injector(3),this._appEl_3);this._Reorder_3_4=new fO(this.parentInjector.get(px),new _u(this._el_3)),this._appEl_3.initComponent(this._Reorder_3_4,[],n),n.create(this._Reorder_3_4,[],null),this._el_4=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_4,"class","button-effect"),this._expr_0=Qc;var r=this.renderer.listen(this._el_3,"click",this.eventHandler(this._handle_click_3_0.bind(this)));return this.init([],[this._el_0,this._el_1,this._anchor_2,this._el_3,this._el_4],[r],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Rh&&2===e?this._TemplateRef_2_5:t===qf&&2===e?this._NgIf_2_6:t===fO&&3===e?this._Reorder_3_4:n},e.prototype.detectChangesInternal=function(t){var e=this.context._viewLabel;it(t,this._expr_0,e)&&(this._NgIf_2_6.ngIf=e,this._expr_0=e),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||this._viewQuery_Label_0.dirty&&(this._viewQuery_Label_0.reset([this._appEl_2.mapNestedViews(qN,function(t){return[t._Label_0_3]})]),this.context.viewLabel=this._viewQuery_Label_0.first)},e.prototype._handle_click_3_0=function(t){this._appEl_3.componentView.markPathToRootAsCheckOnce();var e=this._Reorder_3_4.onClick(t)!==!1;return e},e}(wf),qN=function(t){function e(n,r,i){t.call(this,e,GN,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return BN(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-label",null),this._Label_0_3=new cx(this.parent.parentInjector.get(Hv),new _u(this._el_0),this.renderer,null,null,null,null),this.renderer.projectNodes(this._el_0,J(this.projectableNodes[2])),
  this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===cx&&0===e?this._Label_0_3:n},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_Label_0.setDirty()},e}(wf),YN=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=null,$N=function(t){function e(n,r,i){t.call(this,e,XN,fu.HOST,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-input",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=Xa(this.viewUtils,this.injector(0),this._appEl_0);return this._TextInput_0_4=new eS(this.parentInjector.get(Hv),this.parentInjector.get(Uv),this.parentInjector.get(px,null),this.parentInjector.get(gb),this.parentInjector.get(pb),new _u(this._el_0),this.renderer,this.parentInjector.get(gw,null),this.parentInjector.get(Gb,null),this.parentInjector.get(lg,null)),this._appEl_0.initComponent(this._TextInput_0_4,[],e),e.create(this._TextInput_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===eS&&0===e?this._TextInput_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._TextInput_0_4.ngOnInit(),this.detectContentChildrenChanges(t),t||this._TextInput_0_4.ngAfterContentChecked(),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._TextInput_0_4.ngOnDestroy()},e}(wf),KN=(new Vu("ion-input",Ya,eS),[]),ZN=null,QN=function(t){function e(n,r,i){t.call(this,e,ZN,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_NativeInput_0=new Ah,this._viewQuery_NextInput_1=new Ah,this._el_0=this.renderer.createElement(e,"input",null),this.renderer.setElementAttribute(this._el_0,"class","text-input"),this._NgClass_0_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._DefaultValueAccessor_0_4=new ig(this.renderer,new _u(this._el_0)),this._NG_VALUE_ACCESSOR_0_5=[this._DefaultValueAccessor_0_4],this._NgModel_0_6=new nm(null,null,null,this._NG_VALUE_ACCESSOR_0_5),this._NgControl_0_7=this._NgModel_0_6,this._NgControlStatus_0_8=new Eg(this._NgControl_0_7),this._NativeInput_0_9=new VO(new _u(this._el_0),this.renderer,this.parentInjector.get(Hv),this._NgControl_0_7),this._anchor_1=this.renderer.createTemplateAnchor(e,null),this._appEl_1=new xu(1,null,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,$a),this._NgIf_1_6=new qf(this._appEl_1.vcRef,this._TemplateRef_1_5),this._el_2=this.renderer.createElement(e,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-input-clear-icon"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"type","button"),this._appEl_2=new xu(2,null,this,this._el_2);var n=Ms(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new tx(null,"",this.parentInjector.get(Hv),new _u(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),n.create(this._Button_2_4,[[]],null),this._anchor_3=this.renderer.createTemplateAnchor(e,null),this._appEl_3=new xu(3,null,this,this._anchor_3),this._TemplateRef_3_5=new jh(this._appEl_3,Ka),this._NgIf_3_6=new qf(this._appEl_3.vcRef,this._TemplateRef_3_5),this._expr_8=Qc,this._expr_9=Qc;var r=this.renderer.listen(this._el_0,"ngModelChange",this.eventHandler(this._handle_ngModelChange_0_0.bind(this))),i=this.renderer.listen(this._el_0,"blur",this.eventHandler(this._handle_blur_0_1.bind(this))),o=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_2.bind(this))),s=this.renderer.listen(this._el_0,"input",this.eventHandler(this._handle_input_0_3.bind(this)));this._expr_10=Qc,this._expr_11=Qc,this._expr_12=Qc;var a=this._NgModel_0_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_0_0.bind(this)));this._expr_13=Qc,this._expr_14=Qc,this._expr_15=Qc,this._expr_16=Qc,this._expr_17=Qc,this._expr_18=Qc,this._expr_19=Qc,this._expr_22=Qc;var l=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this))),c=this.renderer.listen(this._el_2,"mousedown",this.eventHandler(this._handle_mousedown_2_1.bind(this)));return this._expr_23=Qc,this._expr_24=Qc,this._viewQuery_NativeInput_0.reset([this._NativeInput_0_9]),this.context._nativeInput=this._viewQuery_NativeInput_0.first,this.init([],[this._el_0,this._anchor_1,this._el_2,this._anchor_3],[r,i,o,s,l,c],[a]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===zf&&0===e?this._NgClass_0_3:t===ig&&0===e?this._DefaultValueAccessor_0_4:t===tg&&0===e?this._NG_VALUE_ACCESSOR_0_5:t===nm&&0===e?this._NgModel_0_6:t===lg&&0===e?this._NgControl_0_7:t===Eg&&0===e?this._NgControlStatus_0_8:t===VO&&0===e?this._NativeInput_0_9:t===Rh&&1===e?this._TemplateRef_1_5:t===qf&&1===e?this._NgIf_1_6:t===tx&&2===e?this._Button_2_4:t===Rh&&3===e?this._TemplateRef_3_5:t===qf&&3===e?this._NgIf_3_6:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,r="text-input";it(t,this._expr_10,r)&&(this._NgClass_0_3.klass=r,this._expr_10=r);var i="text-input-"+this.context._mode;it(t,this._expr_11,i)&&(this._NgClass_0_3.ngClass=i,this._expr_11=i),t||this._NgClass_0_3.ngDoCheck(),n=null;var o=this.context._value;it(t,this._expr_12,o)&&(this._NgModel_0_6.model=o,null===n&&(n={}),n.model=new eu(this._expr_12,o),this._expr_12=o),null!==n&&this._NgModel_0_6.ngOnChanges(n);var s=this.context._useAssist;it(t,this._expr_19,s)&&(this._NgIf_1_6.ngIf=s,this._expr_19=s),e=!1;var a="";it(t,this._expr_23,a)&&(this._Button_2_4.clear=a,e=!0,this._expr_23=a),e&&this._appEl_2.componentView.markAsCheckOnce();var l=this.context._useAssist;it(t,this._expr_24,l)&&(this._NgIf_3_6.ngIf=l,this._expr_24=l),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit();var c=this.context.type;it(t,this._expr_8,c)&&(this.renderer.setElementProperty(this._el_0,"type",c),this._expr_8=c);var u=this.context.placeholder;it(t,this._expr_9,u)&&(this.renderer.setElementProperty(this._el_0,"placeholder",u),this._expr_9=u);var p=this._NgControlStatus_0_8.ngClassUntouched;it(t,this._expr_13,p)&&(this.renderer.setElementClass(this._el_0,"ng-untouched",p),this._expr_13=p);var h=this._NgControlStatus_0_8.ngClassTouched;it(t,this._expr_14,h)&&(this.renderer.setElementClass(this._el_0,"ng-touched",h),this._expr_14=h);var f=this._NgControlStatus_0_8.ngClassPristine;it(t,this._expr_15,f)&&(this.renderer.setElementClass(this._el_0,"ng-pristine",f),this._expr_15=f);var d=this._NgControlStatus_0_8.ngClassDirty;it(t,this._expr_16,d)&&(this.renderer.setElementClass(this._el_0,"ng-dirty",d),this._expr_16=d);var _=this._NgControlStatus_0_8.ngClassValid;it(t,this._expr_17,_)&&(this.renderer.setElementClass(this._el_0,"ng-valid",_),this._expr_17=_);var y=this._NgControlStatus_0_8.ngClassInvalid;it(t,this._expr_18,y)&&(this.renderer.setElementClass(this._el_0,"ng-invalid",y),this._expr_18=y);var g=!this.context.clearInput;it(t,this._expr_22,g)&&(this.renderer.setElementProperty(this._el_2,"hidden",g),this._expr_22=g),this.detectViewChildrenChanges(t),t||this._viewQuery_NextInput_1.dirty&&(this._viewQuery_NextInput_1.reset([this._appEl_1.mapNestedViews(JN,function(t){return[t._NextInput_0_3]})]),this.context._nextInput=this._viewQuery_NextInput_1.first)},e.prototype.destroyInternal=function(){this._NgModel_0_6.ngOnDestroy(),this._NativeInput_0_9.ngOnDestroy()},e.prototype._handle_ngModelChange_0_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context._value=t)!==!1;return e},e.prototype._handle_blur_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputBlurred(t)!==!1,n=this._DefaultValueAccessor_0_4.onTouched()!==!1,r=this._NativeInput_0_9._blur()!==!1;return e&&n&&r},e.prototype._handle_focus_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputFocused(t)!==!1,n=this._NativeInput_0_9._focus()!==!1;return e&&n},e.prototype._handle_input_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_0_4.onChange(t.target.value)!==!1,n=this._NativeInput_0_9._change(t)!==!1;return e&&n},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.clearTextInput()!==!1;return e},e.prototype._handle_mousedown_2_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.clearTextInput()!==!1;return e},e}(wf),JN=function(t){function e(n,r,i){t.call(this,e,ZN,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"input",null),this.renderer.setElementAttribute(this._el_0,"aria-hidden","true"),this.renderer.setElementAttribute(this._el_0,"next-input",""),this._NextInput_0_3=new FO,this._expr_1=Qc;var e=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===FO&&0===e?this._NextInput_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.type;it(t,this._expr_1,e)&&(this.renderer.setElementProperty(this._el_0,"type",e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_NextInput_1.setDirty()},e.prototype._handle_focus_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this._NextInput_0_3.receivedFocus()!==!1;return e},e}(wf),tM=function(t){function e(n,r,i){t.call(this,e,ZN,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","input-cover"),this.renderer.setElementAttribute(this._el_0,"tappable","");var e=this.renderer.listen(this._el_0,"touchstart",this.eventHandler(this._handle_touchstart_0_0.bind(this))),n=this.renderer.listen(this._el_0,"touchend",this.eventHandler(this._handle_touchend_0_1.bind(this))),r=this.renderer.listen(this._el_0,"mousedown",this.eventHandler(this._handle_mousedown_0_2.bind(this))),i=this.renderer.listen(this._el_0,"mouseup",this.eventHandler(this._handle_mouseup_0_3.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e,n,r,i],[]),null},e.prototype._handle_touchstart_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_touchend_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e.prototype._handle_mousedown_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_mouseup_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e}(wf),eM=null,nM=function(t){function e(n,r,i){t.call(this,e,eM,fu.HOST,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-textarea",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=Qa(this.viewUtils,this.injector(0),this._appEl_0);return this._TextArea_0_4=new nS(this.parentInjector.get(Hv),this.parentInjector.get(Uv),this.parentInjector.get(px,null),this.parentInjector.get(gb),this.parentInjector.get(pb),new _u(this._el_0),this.renderer,this.parentInjector.get(gw,null),this.parentInjector.get(Gb,null),this.parentInjector.get(lg,null)),this._appEl_0.initComponent(this._TextArea_0_4,[],e),e.create(this._TextArea_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===nS&&0===e?this._TextArea_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._TextArea_0_4.ngOnInit(),this.detectContentChildrenChanges(t),t||this._TextArea_0_4.ngAfterContentChecked(),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._TextArea_0_4.ngOnDestroy()},e}(wf),rM=(new Vu("ion-textarea",Za,nS),[]),iM=null,oM=function(t){function e(n,r,i){t.call(this,e,iM,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_NativeInput_0=new Ah,this._viewQuery_NextInput_1=new Ah,this._el_0=this.renderer.createElement(e,"textarea",null),this.renderer.setElementAttribute(this._el_0,"class","text-input"),this._NgClass_0_3=new zf(this.parentInjector.get(Kc),this.parentInjector.get(Zc),new _u(this._el_0),this.renderer),this._DefaultValueAccessor_0_4=new ig(this.renderer,new _u(this._el_0)),this._NG_VALUE_ACCESSOR_0_5=[this._DefaultValueAccessor_0_4],this._NgModel_0_6=new nm(null,null,null,this._NG_VALUE_ACCESSOR_0_5),this._NgControl_0_7=this._NgModel_0_6,this._NgControlStatus_0_8=new Eg(this._NgControl_0_7),this._NativeInput_0_9=new VO(new _u(this._el_0),this.renderer,this.parentInjector.get(Hv),this._NgControl_0_7),this._anchor_1=this.renderer.createTemplateAnchor(e,null),this._appEl_1=new xu(1,null,this,this._anchor_1),this._TemplateRef_1_5=new jh(this._appEl_1,Ja),this._NgIf_1_6=new qf(this._appEl_1.vcRef,this._TemplateRef_1_5),this._anchor_2=this.renderer.createTemplateAnchor(e,null),this._appEl_2=new xu(2,null,this,this._anchor_2),this._TemplateRef_2_5=new jh(this._appEl_2,tl),this._NgIf_2_6=new qf(this._appEl_2.vcRef,this._TemplateRef_2_5),this._expr_8=Qc;var n=this.renderer.listen(this._el_0,"ngModelChange",this.eventHandler(this._handle_ngModelChange_0_0.bind(this))),r=this.renderer.listen(this._el_0,"blur",this.eventHandler(this._handle_blur_0_1.bind(this))),i=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_2.bind(this))),o=this.renderer.listen(this._el_0,"input",this.eventHandler(this._handle_input_0_3.bind(this)));this._expr_9=Qc,this._expr_10=Qc,this._expr_11=Qc;var s=this._NgModel_0_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_0_0.bind(this)));return this._expr_12=Qc,this._expr_13=Qc,this._expr_14=Qc,this._expr_15=Qc,this._expr_16=Qc,this._expr_17=Qc,this._expr_18=Qc,this._expr_19=Qc,this._viewQuery_NativeInput_0.reset([this._NativeInput_0_9]),this.context._nativeInput=this._viewQuery_NativeInput_0.first,this.init([],[this._el_0,this._anchor_1,this._anchor_2],[n,r,i,o],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===zf&&0===e?this._NgClass_0_3:t===ig&&0===e?this._DefaultValueAccessor_0_4:t===tg&&0===e?this._NG_VALUE_ACCESSOR_0_5:t===nm&&0===e?this._NgModel_0_6:t===lg&&0===e?this._NgControl_0_7:t===Eg&&0===e?this._NgControlStatus_0_8:t===VO&&0===e?this._NativeInput_0_9:t===Rh&&1===e?this._TemplateRef_1_5:t===qf&&1===e?this._NgIf_1_6:t===Rh&&2===e?this._TemplateRef_2_5:t===qf&&2===e?this._NgIf_2_6:n},e.prototype.detectChangesInternal=function(t){var e=null,n="text-input";it(t,this._expr_9,n)&&(this._NgClass_0_3.klass=n,this._expr_9=n);var r="text-input-"+this.context._mode;it(t,this._expr_10,r)&&(this._NgClass_0_3.ngClass=r,this._expr_10=r),t||this._NgClass_0_3.ngDoCheck(),e=null;var i=this.context._value;it(t,this._expr_11,i)&&(this._NgModel_0_6.model=i,null===e&&(e={}),e.model=new eu(this._expr_11,i),this._expr_11=i),null!==e&&this._NgModel_0_6.ngOnChanges(e);var o=this.context._useAssist;it(t,this._expr_18,o)&&(this._NgIf_1_6.ngIf=o,this._expr_18=o);var s=this.context._useAssist;it(t,this._expr_19,s)&&(this._NgIf_2_6.ngIf=s,this._expr_19=s),this.detectContentChildrenChanges(t);var a=this.context.placeholder;it(t,this._expr_8,a)&&(this.renderer.setElementProperty(this._el_0,"placeholder",a),this._expr_8=a);var l=this._NgControlStatus_0_8.ngClassUntouched;it(t,this._expr_12,l)&&(this.renderer.setElementClass(this._el_0,"ng-untouched",l),this._expr_12=l);var c=this._NgControlStatus_0_8.ngClassTouched;it(t,this._expr_13,c)&&(this.renderer.setElementClass(this._el_0,"ng-touched",c),this._expr_13=c);var u=this._NgControlStatus_0_8.ngClassPristine;it(t,this._expr_14,u)&&(this.renderer.setElementClass(this._el_0,"ng-pristine",u),this._expr_14=u);var p=this._NgControlStatus_0_8.ngClassDirty;it(t,this._expr_15,p)&&(this.renderer.setElementClass(this._el_0,"ng-dirty",p),this._expr_15=p);var h=this._NgControlStatus_0_8.ngClassValid;it(t,this._expr_16,h)&&(this.renderer.setElementClass(this._el_0,"ng-valid",h),this._expr_16=h);var f=this._NgControlStatus_0_8.ngClassInvalid;it(t,this._expr_17,f)&&(this.renderer.setElementClass(this._el_0,"ng-invalid",f),this._expr_17=f),this.detectViewChildrenChanges(t),t||this._viewQuery_NextInput_1.dirty&&(this._viewQuery_NextInput_1.reset([this._appEl_1.mapNestedViews(sM,function(t){return[t._NextInput_0_3]})]),this.context._nextInput=this._viewQuery_NextInput_1.first)},e.prototype.destroyInternal=function(){this._NgModel_0_6.ngOnDestroy(),this._NativeInput_0_9.ngOnDestroy()},e.prototype._handle_ngModelChange_0_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context._value=t)!==!1;return e},e.prototype._handle_blur_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputBlurred(t)!==!1,n=this._DefaultValueAccessor_0_4.onTouched()!==!1,r=this._NativeInput_0_9._blur()!==!1;return e&&n&&r},e.prototype._handle_focus_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputFocused(t)!==!1,n=this._NativeInput_0_9._focus()!==!1;return e&&n},e.prototype._handle_input_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_0_4.onChange(t.target.value)!==!1,n=this._NativeInput_0_9._change(t)!==!1;return e&&n},e}(wf),sM=function(t){function e(n,r,i){t.call(this,e,iM,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"input",null),this.renderer.setElementAttribute(this._el_0,"aria-hidden","true"),this.renderer.setElementAttribute(this._el_0,"next-input",""),this.renderer.setElementAttribute(this._el_0,"type","text"),this._NextInput_0_3=new FO;var e=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===FO&&0===e?this._NextInput_0_3:n},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_NextInput_1.setDirty()},e.prototype._handle_focus_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this._NextInput_0_3.receivedFocus()!==!1;return e},e}(wf),aM=function(t){function e(n,r,i){t.call(this,e,iM,fu.EMBEDDED,n,r,i,Ol.CheckAlways)}return YN(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","input-cover"),this.renderer.setElementAttribute(this._el_0,"tappable","");var e=this.renderer.listen(this._el_0,"touchstart",this.eventHandler(this._handle_touchstart_0_0.bind(this))),n=this.renderer.listen(this._el_0,"touchend",this.eventHandler(this._handle_touchend_0_1.bind(this))),r=this.renderer.listen(this._el_0,"mousedown",this.eventHandler(this._handle_mousedown_0_2.bind(this))),i=this.renderer.listen(this._el_0,"mouseup",this.eventHandler(this._handle_mouseup_0_3.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e,n,r,i],[]),null},e.prototype._handle_touchstart_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_touchend_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e.prototype._handle_mousedown_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_mouseup_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e}(wf),lM=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)},cM=null,uM=function(t){function e(n,r,i){t.call(this,e,cM,fu.HOST,n,r,i,Ol.CheckAlways)}return lM(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("page-pay",t,null),this._appEl_0=new xu(0,null,this,this._el_0);var e=nl(this.viewUtils,this.injector(0),this._appEl_0);return this._Pay_0_4=new tj(this.parentInjector.get(Wv),this.parentInjector.get(Gb)),this._appEl_0.initComponent(this._Pay_0_4,[],e),e.create(this._Pay_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===tj&&0===e?this._Pay_0_4:n},e}(wf),pM=new Vu("page-pay",el,tj),hM=["ion-content[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {background-color: #f27e11;}"],fM=null,dM=function(t){function e(n,r,i){t.call(this,e,fM,fu.COMPONENT,n,r,i,Ol.CheckAlways)}return lM(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._text_0=this.renderer.createText(e,"\n",null),this._el_1=this.renderer.createElement(e,"ion-header",null),this._Header_1_3=new kO(this.parentInjector.get(Hv),new _u(this._el_1),this.renderer,this.parentInjector.get(qv,null)),this._text_2=this.renderer.createText(this._el_1,"\n\n  ",null),this._el_3=this.renderer.createElement(this._el_1,"ion-navbar",null),this.renderer.setElementAttribute(this._el_3,"class","toolbar"),this._appEl_3=new xu(3,1,this,this._el_3);var n=Na(this.viewUtils,this.injector(3),this._appEl_3);this._Navbar_3_4=new MO(this.parentInjector.get(gb),this.parentInjector.get(qv,null),this.parentInjector.get(Gb,null),this.parentInjector.get(Hv),new _u(this._el_3),this.renderer),this._appEl_3.initComponent(this._Navbar_3_4,[],n),this._text_4=this.renderer.createText(null,"\n    ",null),this._el_5=this.renderer.createElement(null,"ion-title",null),this._appEl_5=new xu(5,3,this,this._el_5);var r=La(this.viewUtils,this.injector(5),this._appEl_5);this._ToolbarTitle_5_4=new uS(this.parentInjector.get(Hv),new _u(this._el_5),this.renderer,this.parentInjector.get(DO,null),this._Navbar_3_4),this._appEl_5.initComponent(this._ToolbarTitle_5_4,[],r),this._text_6=this.renderer.createText(null,"Pay",null),r.create(this._ToolbarTitle_5_4,[[].concat([this._text_6])],null),this._text_7=this.renderer.createText(null,"\n    ",null),this._el_8=this.renderer.createElement(null,"ion-buttons",null),this.renderer.setElementAttribute(this._el_8,"end",""),this._ToolbarItem_8_3=new lS(this.parentInjector.get(Hv),new _u(this._el_8),this.renderer,this.parentInjector.get(DO,null),this._Navbar_3_4),this._query_Button_8_0=new Ah,this._text_9=this.renderer.createText(this._el_8,"\n      ",null),this._el_10=this.renderer.createElement(this._el_8,"button",null),this.renderer.setElementAttribute(this._el_10,"icon-only",""),this.renderer.setElementAttribute(this._el_10,"ion-button",""),this._appEl_10=new xu(10,8,this,this._el_10);var i=Ms(this.viewUtils,this.injector(10),this._appEl_10);this._Button_10_4=new tx(null,"",this.parentInjector.get(Hv),new _u(this._el_10),this.renderer),this._appEl_10.initComponent(this._Button_10_4,[],i),this._text_11=this.renderer.createText(null,"\n        Cancel\n      ",null),i.create(this._Button_10_4,[[].concat([this._text_11])],null),this._text_12=this.renderer.createText(this._el_8,"\n    ",null),this._text_13=this.renderer.createText(null,"\n  ",null),n.create(this._Navbar_3_4,[[],[],[].concat([this._el_8]),[].concat([this._text_4,this._el_5,this._text_7,this._text_13])],null),this._text_14=this.renderer.createText(this._el_1,"\n\n",null),this._text_15=this.renderer.createText(e,"\n\n\n",null),this._el_16=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_16,"padding",""),this._appEl_16=new xu(16,null,this,this._el_16);var o=Fa(this.viewUtils,this.injector(16),this._appEl_16);this._Content_16_4=new gw(this.parentInjector.get(Hv),new _u(this._el_16),this.renderer,this.parentInjector.get(gb),this.parentInjector.get(Fb),this.parentInjector.get(fh),this.parentInjector.get(qv,null),this.parentInjector.get(dw,null)),this._appEl_16.initComponent(this._Content_16_4,[],o),this._text_17=this.renderer.createText(null,"\n  ",null),this._el_18=this.renderer.createElement(null,"ion-list",null),this._List_18_3=new vO(this.parentInjector.get(Hv),new _u(this._el_18),this.renderer,this.parentInjector.get(Db)),this._text_19=this.renderer.createText(this._el_18,"\n\n    ",null),this._el_20=this.renderer.createElement(this._el_18,"ion-item",null),this.renderer.setElementAttribute(this._el_20,"class","item item-block"),this._appEl_20=new xu(20,18,this,this._el_20);var s=Wa(this.viewUtils,this.injector(20),this._appEl_20);this._Item_20_4=new px(this.parentInjector.get(Uv),this.parentInjector.get(Hv),new _u(this._el_20),this.renderer),this._ItemContent_20_5=new hx,this._query_Label_20_0=new Ah,this._query_Button_20_1=new Ah,this._query_Icon_20_2=new Ah,this._appEl_20.initComponent(this._Item_20_4,[],s),this._text_21=this.renderer.createText(null,"\n      ",null),this._el_22=this.renderer.createElement(null,"ion-label",null),this._Label_22_3=new cx(this.parentInjector.get(Hv),new _u(this._el_22),this.renderer,null,null,null,null),this._text_23=this.renderer.createText(this._el_22,"To",null),this._text_24=this.renderer.createText(null,"\n      ",null),this._el_25=this.renderer.createElement(null,"ion-input",null),this.renderer.setElementAttribute(this._el_25,"disabled",""),this.renderer.setElementAttribute(this._el_25,"type","text"),this._appEl_25=new xu(25,20,this,this._el_25);var a=Xa(this.viewUtils,this.injector(25),this._appEl_25);this._NgModel_25_4=new nm(null,null,null,null),this._NgControl_25_5=this._NgModel_25_4,this._NgControlStatus_25_6=new Eg(this._NgControl_25_5),this._TextInput_25_7=new eS(this.parentInjector.get(Hv),this.parentInjector.get(Uv),this._Item_20_4,this.parentInjector.get(gb),this.parentInjector.get(pb),new _u(this._el_25),this.renderer,this._Content_16_4,this.parentInjector.get(Gb,null),this._NgControl_25_5),this._appEl_25.initComponent(this._TextInput_25_7,[],a),a.create(this._TextInput_25_7,[],null),this._text_26=this.renderer.createText(null,"\n    ",null),this._query_Label_20_0.reset([this._Label_22_3]),this._Item_20_4.contentLabel=this._query_Label_20_0.first,s.create(this._Item_20_4,[[],[].concat([this._el_22]),[].concat([this._text_21,this._text_24,this._text_26]),[].concat([this._el_25]),[]],null),this._text_27=this.renderer.createText(this._el_18,"\n\n    ",null),this._el_28=this.renderer.createElement(this._el_18,"ion-item",null),this.renderer.setElementAttribute(this._el_28,"class","item item-block"),this._appEl_28=new xu(28,18,this,this._el_28);var l=Wa(this.viewUtils,this.injector(28),this._appEl_28);this._Item_28_4=new px(this.parentInjector.get(Uv),this.parentInjector.get(Hv),new _u(this._el_28),this.renderer),this._ItemContent_28_5=new hx,this._query_Label_28_0=new Ah,this._query_Button_28_1=new Ah,this._query_Icon_28_2=new Ah,this._appEl_28.initComponent(this._Item_28_4,[],l),this._text_29=this.renderer.createText(null,"\n      ",null),this._el_30=this.renderer.createElement(null,"ion-label",null),this._Label_30_3=new cx(this.parentInjector.get(Hv),new _u(this._el_30),this.renderer,null,null,null,null),this._text_31=this.renderer.createText(this._el_30,"Amount",null),this._text_32=this.renderer.createText(null,"\n      ",null),this._el_33=this.renderer.createElement(null,"ion-input",null),this.renderer.setElementAttribute(this._el_33,"disabled",""),this.renderer.setElementAttribute(this._el_33,"type","text"),this._appEl_33=new xu(33,28,this,this._el_33);var c=Xa(this.viewUtils,this.injector(33),this._appEl_33);this._NgModel_33_4=new nm(null,null,null,null),this._NgControl_33_5=this._NgModel_33_4,this._NgControlStatus_33_6=new Eg(this._NgControl_33_5),this._TextInput_33_7=new eS(this.parentInjector.get(Hv),this.parentInjector.get(Uv),this._Item_28_4,this.parentInjector.get(gb),this.parentInjector.get(pb),new _u(this._el_33),this.renderer,this._Content_16_4,this.parentInjector.get(Gb,null),this._NgControl_33_5),this._appEl_33.initComponent(this._TextInput_33_7,[],c),c.create(this._TextInput_33_7,[],null),this._text_34=this.renderer.createText(null,"\n    ",null),this._query_Label_28_0.reset([this._Label_30_3]),this._Item_28_4.contentLabel=this._query_Label_28_0.first,l.create(this._Item_28_4,[[],[].concat([this._el_30]),[].concat([this._text_29,this._text_32,this._text_34]),[].concat([this._el_33]),[]],null),this._text_35=this.renderer.createText(this._el_18,"\n\n  ",null),this._text_36=this.renderer.createText(null,"\n  ",null),this._el_37=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_37,"full",""),this.renderer.setElementAttribute(this._el_37,"ion-button",""),this._appEl_37=new xu(37,16,this,this._el_37);var u=Ms(this.viewUtils,this.injector(37),this._appEl_37);this._Button_37_4=new tx(null,"",this.parentInjector.get(Hv),new _u(this._el_37),this.renderer),this._appEl_37.initComponent(this._Button_37_4,[],u),this._text_38=this.renderer.createText(null,"Pay",null),u.create(this._Button_37_4,[[].concat([this._text_38])],null),this._text_39=this.renderer.createText(null,"\n",null),o.create(this._Content_16_4,[[],[].concat([this._text_17,this._el_18,this._text_36,this._el_37,this._text_39]),[]],null),this._text_40=this.renderer.createText(e,"\n",null),this._expr_0=Qc,this._expr_1=Qc;var p=this.renderer.listen(this._el_10,"click",this.eventHandler(this._handle_click_10_0.bind(this)));this._expr_3=Qc;var h=this.renderer.listen(this._el_25,"ngModelChange",this.eventHandler(this._handle_ngModelChange_25_0.bind(this)));this._expr_5=Qc,this._expr_6=Qc;var f=this._NgModel_25_4.update.subscribe(this.eventHandler(this._handle_ngModelChange_25_0.bind(this)));this._expr_7=Qc,this._expr_8=Qc,this._expr_9=Qc,this._expr_10=Qc,this._expr_11=Qc,this._expr_12=Qc,this._expr_13=Qc,this._expr_14=Qc;var d=this.renderer.listen(this._el_33,"ngModelChange",this.eventHandler(this._handle_ngModelChange_33_0.bind(this)));this._expr_16=Qc,this._expr_17=Qc;var _=this._NgModel_33_4.update.subscribe(this.eventHandler(this._handle_ngModelChange_33_0.bind(this)));return this._expr_18=Qc,this._expr_19=Qc,this._expr_20=Qc,this._expr_21=Qc,this._expr_22=Qc,this._expr_23=Qc,this._expr_24=Qc,this._expr_25=Qc,this._expr_26=Qc,this.init([],[this._text_0,this._el_1,this._text_2,this._el_3,this._text_4,this._el_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._text_24,this._el_25,this._text_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._el_33,this._text_34,this._text_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40],[p,h,d],[f,_]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===uS&&5<=e&&e<=6?this._ToolbarTitle_5_4:t===tx&&10<=e&&e<=11?this._Button_10_4:t===lS&&8<=e&&e<=12?this._ToolbarItem_8_3:t===MO&&3<=e&&e<=13?this._Navbar_3_4:t===kO&&1<=e&&e<=14?this._Header_1_3:t===cx&&22<=e&&e<=23?this._Label_22_3:t===nm&&25===e?this._NgModel_25_4:t===lg&&25===e?this._NgControl_25_5:t===Eg&&25===e?this._NgControlStatus_25_6:t===eS&&25===e?this._TextInput_25_7:t===px&&20<=e&&e<=26?this._Item_20_4:t===hx&&20<=e&&e<=26?this._ItemContent_20_5:t===cx&&30<=e&&e<=31?this._Label_30_3:t===nm&&33===e?this._NgModel_33_4:t===lg&&33===e?this._NgControl_33_5:t===Eg&&33===e?this._NgControlStatus_33_6:t===eS&&33===e?this._TextInput_33_7:t===px&&28<=e&&e<=34?this._Item_28_4:t===hx&&28<=e&&e<=34?this._ItemContent_28_5:t===vO&&18<=e&&e<=35?this._List_18_3:t===tx&&37<=e&&e<=38?this._Button_37_4:t===gw&&16<=e&&e<=39?this._Content_16_4:n;
  },e.prototype.detectChangesInternal=function(t){var e=!0,n=null;0!==this.numberOfChecks||t||this._Content_16_4.ngOnInit(),n=null;var r="";it(t,this._expr_5,r)&&(this._NgModel_25_4.isDisabled=r,null===n&&(n={}),n.isDisabled=new eu(this._expr_5,r),this._expr_5=r);var i=this.context.phoneNumber;it(t,this._expr_6,i)&&(this._NgModel_25_4.model=i,null===n&&(n={}),n.model=new eu(this._expr_6,i),this._expr_6=i),null!==n&&this._NgModel_25_4.ngOnChanges(n);var o="text";it(t,this._expr_13,o)&&(this._TextInput_25_7.type=o,this._expr_13=o);var s="";it(t,this._expr_14,s)&&(this._TextInput_25_7.disabled=s,this._expr_14=s),0!==this.numberOfChecks||t||this._TextInput_25_7.ngOnInit(),n=null;var a="";it(t,this._expr_16,a)&&(this._NgModel_33_4.isDisabled=a,null===n&&(n={}),n.isDisabled=new eu(this._expr_16,a),this._expr_16=a);var l=this.context.amount;it(t,this._expr_17,l)&&(this._NgModel_33_4.model=l,null===n&&(n={}),n.model=new eu(this._expr_17,l),this._expr_17=l),null!==n&&this._NgModel_33_4.ngOnChanges(n);var c="text";it(t,this._expr_24,c)&&(this._TextInput_33_7.type=c,this._expr_24=c);var u="";it(t,this._expr_25,u)&&(this._TextInput_33_7.disabled=u,this._expr_25=u),0!==this.numberOfChecks||t||this._TextInput_33_7.ngOnInit(),e=!1;var p="";it(t,this._expr_26,p)&&(this._Button_37_4.full=p,e=!0,this._expr_26=p),e&&this._appEl_37.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_8_0.dirty&&(this._query_Button_8_0.reset([this._Button_10_4]),this._ToolbarItem_8_3._buttons=this._query_Button_8_0,this._query_Button_8_0.notifyOnChanges()),this._query_Button_20_1.dirty&&(this._query_Button_20_1.reset([]),this._Item_20_4._buttons=this._query_Button_20_1,this._query_Button_20_1.notifyOnChanges()),this._query_Icon_20_2.dirty&&(this._query_Icon_20_2.reset([]),this._Item_20_4._icons=this._query_Icon_20_2,this._query_Icon_20_2.notifyOnChanges()),this._query_Button_28_1.dirty&&(this._query_Button_28_1.reset([]),this._Item_28_4._buttons=this._query_Button_28_1,this._query_Button_28_1.notifyOnChanges()),this._query_Icon_28_2.dirty&&(this._query_Icon_28_2.reset([]),this._Item_28_4._icons=this._query_Icon_28_2,this._query_Icon_28_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_10_4.ngAfterContentInit(),this._TextInput_25_7.ngAfterContentChecked(),0===this.numberOfChecks&&this._Item_20_4.ngAfterContentInit(),this._TextInput_33_7.ngAfterContentChecked(),0===this.numberOfChecks&&this._Item_28_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_37_4.ngAfterContentInit());var h=this._Navbar_3_4._hidden;it(t,this._expr_0,h)&&(this.renderer.setElementProperty(this._el_3,"hidden",h),this._expr_0=h);var f=this._Navbar_3_4._sbPadding;it(t,this._expr_1,f)&&(this.renderer.setElementClass(this._el_3,"statusbar-padding",f),this._expr_1=f);var d=this._Content_16_4._sbPadding;it(t,this._expr_3,d)&&(this.renderer.setElementClass(this._el_16,"statusbar-padding",d),this._expr_3=d);var _=this._NgControlStatus_25_6.ngClassUntouched;it(t,this._expr_7,_)&&(this.renderer.setElementClass(this._el_25,"ng-untouched",_),this._expr_7=_);var y=this._NgControlStatus_25_6.ngClassTouched;it(t,this._expr_8,y)&&(this.renderer.setElementClass(this._el_25,"ng-touched",y),this._expr_8=y);var g=this._NgControlStatus_25_6.ngClassPristine;it(t,this._expr_9,g)&&(this.renderer.setElementClass(this._el_25,"ng-pristine",g),this._expr_9=g);var m=this._NgControlStatus_25_6.ngClassDirty;it(t,this._expr_10,m)&&(this.renderer.setElementClass(this._el_25,"ng-dirty",m),this._expr_10=m);var v=this._NgControlStatus_25_6.ngClassValid;it(t,this._expr_11,v)&&(this.renderer.setElementClass(this._el_25,"ng-valid",v),this._expr_11=v);var b=this._NgControlStatus_25_6.ngClassInvalid;it(t,this._expr_12,b)&&(this.renderer.setElementClass(this._el_25,"ng-invalid",b),this._expr_12=b);var w=this._NgControlStatus_33_6.ngClassUntouched;it(t,this._expr_18,w)&&(this.renderer.setElementClass(this._el_33,"ng-untouched",w),this._expr_18=w);var C=this._NgControlStatus_33_6.ngClassTouched;it(t,this._expr_19,C)&&(this.renderer.setElementClass(this._el_33,"ng-touched",C),this._expr_19=C);var E=this._NgControlStatus_33_6.ngClassPristine;it(t,this._expr_20,E)&&(this.renderer.setElementClass(this._el_33,"ng-pristine",E),this._expr_20=E);var x=this._NgControlStatus_33_6.ngClassDirty;it(t,this._expr_21,x)&&(this.renderer.setElementClass(this._el_33,"ng-dirty",x),this._expr_21=x);var O=this._NgControlStatus_33_6.ngClassValid;it(t,this._expr_22,O)&&(this.renderer.setElementClass(this._el_33,"ng-valid",O),this._expr_22=O);var T=this._NgControlStatus_33_6.ngClassInvalid;it(t,this._expr_23,T)&&(this.renderer.setElementClass(this._el_33,"ng-invalid",T),this._expr_23=T),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._Navbar_3_4.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._NgModel_25_4.ngOnDestroy(),this._TextInput_25_7.ngOnDestroy(),this._NgModel_33_4.ngOnDestroy(),this._TextInput_33_7.ngOnDestroy(),this._Content_16_4.ngOnDestroy()},e.prototype._handle_click_10_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.dismiss()!==!1;return e},e.prototype._handle_ngModelChange_25_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.phoneNumber=t)!==!1;return e},e.prototype._handle_ngModelChange_33_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.amount=t)!==!1;return e},e}(wf),_M=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)},yM=function(t){function e(e){t.call(this,e,[fj,Tj,Uj,iD,fD,SD,LD,GD,oN,oN,AN,pM,Uj],[Uj])}return _M(e,t),Object.defineProperty(e.prototype,"_LOCALE_ID_9",{get:function(){return null==this.__LOCALE_ID_9&&(this.__LOCALE_ID_9="en-US"),this.__LOCALE_ID_9},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_NgLocalization_10",{get:function(){return null==this.__NgLocalization_10&&(this.__NgLocalization_10=new Ff(this._LOCALE_ID_9)),this.__NgLocalization_10},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ApplicationRef_27",{get:function(){return null==this.__ApplicationRef_27&&(this.__ApplicationRef_27=this._ApplicationRef__26),this.__ApplicationRef_27},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Compiler_28",{get:function(){return null==this.__Compiler_28&&(this.__Compiler_28=new Fc),this.__Compiler_28},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_APP_ID_29",{get:function(){return null==this.__APP_ID_29&&(this.__APP_ID_29=G()),this.__APP_ID_29},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DOCUMENT_30",{get:function(){return null==this.__DOCUMENT_30&&(this.__DOCUMENT_30=dn()),this.__DOCUMENT_30},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_HAMMER_GESTURE_CONFIG_31",{get:function(){return null==this.__HAMMER_GESTURE_CONFIG_31&&(this.__HAMMER_GESTURE_CONFIG_31=new Vb),this.__HAMMER_GESTURE_CONFIG_31},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_EVENT_MANAGER_PLUGINS_32",{get:function(){return null==this.__EVENT_MANAGER_PLUGINS_32&&(this.__EVENT_MANAGER_PLUGINS_32=[new F_,new K_,new q_(this._HAMMER_GESTURE_CONFIG_31)]),this.__EVENT_MANAGER_PLUGINS_32},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_EventManager_33",{get:function(){return null==this.__EventManager_33&&(this.__EventManager_33=new y_(this._EVENT_MANAGER_PLUGINS_32,this.parent.get(fh))),this.__EventManager_33},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DomSharedStylesHost_34",{get:function(){return null==this.__DomSharedStylesHost_34&&(this.__DomSharedStylesHost_34=new b_(this._DOCUMENT_30)),this.__DomSharedStylesHost_34},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_AnimationDriver_35",{get:function(){return null==this.__AnimationDriver_35&&(this.__AnimationDriver_35=_n()),this.__AnimationDriver_35},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DomRootRenderer_36",{get:function(){return null==this.__DomRootRenderer_36&&(this.__DomRootRenderer_36=new T_(this._DOCUMENT_30,this._EventManager_33,this._DomSharedStylesHost_34,this._AnimationDriver_35)),this.__DomRootRenderer_36},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RootRenderer_37",{get:function(){return null==this.__RootRenderer_37&&(this.__RootRenderer_37=Qe(this._DomRootRenderer_36,this.parent.get(M_,null))),this.__RootRenderer_37},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DomSanitizer_38",{get:function(){return null==this.__DomSanitizer_38&&(this.__DomSanitizer_38=new Ey),this.__DomSanitizer_38},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Sanitizer_39",{get:function(){return null==this.__Sanitizer_39&&(this.__Sanitizer_39=this._DomSanitizer_38),this.__Sanitizer_39},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ViewUtils_40",{get:function(){return null==this.__ViewUtils_40&&(this.__ViewUtils_40=new Iu(this._RootRenderer_37,this._APP_ID_29,this._Sanitizer_39)),this.__ViewUtils_40},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_IterableDiffers_41",{get:function(){return null==this.__IterableDiffers_41&&(this.__IterableDiffers_41=Bt()),this.__IterableDiffers_41},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_KeyValueDiffers_42",{get:function(){return null==this.__KeyValueDiffers_42&&(this.__KeyValueDiffers_42=Ht()),this.__KeyValueDiffers_42},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_SharedStylesHost_43",{get:function(){return null==this.__SharedStylesHost_43&&(this.__SharedStylesHost_43=this._DomSharedStylesHost_34),this.__SharedStylesHost_43},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Title_44",{get:function(){return null==this.__Title_44&&(this.__Title_44=new f_),this.__Title_44},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_BrowserXhr_45",{get:function(){return null==this.__BrowserXhr_45&&(this.__BrowserXhr_45=new jm),this.__BrowserXhr_45},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ResponseOptions_46",{get:function(){return null==this.__ResponseOptions_46&&(this.__ResponseOptions_46=new Xm),this.__ResponseOptions_46},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_XSRFStrategy_47",{get:function(){return null==this.__XSRFStrategy_47&&(this.__XSRFStrategy_47=mr()),this.__XSRFStrategy_47},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_XHRBackend_48",{get:function(){return null==this.__XHRBackend_48&&(this.__XHRBackend_48=new yv(this._BrowserXhr_45,this._ResponseOptions_46,this._XSRFStrategy_47)),this.__XHRBackend_48},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RequestOptions_49",{get:function(){return null==this.__RequestOptions_49&&(this.__RequestOptions_49=new vv),this.__RequestOptions_49},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Http_50",{get:function(){return null==this.__Http_50&&(this.__Http_50=vr(this._XHRBackend_48,this._RequestOptions_49)),this.__Http_50},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RadioControlRegistry_51",{get:function(){return null==this.__RadioControlRegistry_51&&(this.__RadioControlRegistry_51=new ug),this.__RadioControlRegistry_51},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_FormBuilder_52",{get:function(){return null==this.__FormBuilder_52&&(this.__FormBuilder_52=new Tm),this.__FormBuilder_52},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_AppRootToken_53",{get:function(){return null==this.__AppRootToken_53&&(this.__AppRootToken_53=nj),this.__AppRootToken_53},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DeepLinkConfigToken_54",{get:function(){return null==this.__DeepLinkConfigToken_54&&(this.__DeepLinkConfigToken_54=null),this.__DeepLinkConfigToken_54},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ActionSheetController_55",{get:function(){return null==this.__ActionSheetController_55&&(this.__ActionSheetController_55=new wb(this._App_22)),this.__ActionSheetController_55},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_AlertController_56",{get:function(){return null==this.__AlertController_56&&(this.__AlertController_56=new Tb(this._App_22)),this.__AlertController_56},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Events_57",{get:function(){return null==this.__Events_57&&(this.__Events_57=new jb),this.__Events_57},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Form_58",{get:function(){return null==this.__Form_58&&(this.__Form_58=new Uv),this.__Form_58},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Haptic_59",{get:function(){return null==this.__Haptic_59&&(this.__Haptic_59=new Mb(this._Platform_20)),this.__Haptic_59},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_GestureController_60",{get:function(){return null==this.__GestureController_60&&(this.__GestureController_60=new Db(this._App_22)),this.__GestureController_60},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Keyboard_61",{get:function(){return null==this.__Keyboard_61&&(this.__Keyboard_61=new Fb(this._Config_21,this._Form_58,this.parent.get(fh))),this.__Keyboard_61},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_LoadingController_62",{get:function(){return null==this.__LoadingController_62&&(this.__LoadingController_62=new qC(this._App_22)),this.__LoadingController_62},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_LocationStrategy_63",{get:function(){return null==this.__LocationStrategy_63&&(this.__LocationStrategy_63=ps(this.parent.get(il),this.parent.get(Tf,null),this._Config_21)),this.__LocationStrategy_63},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Location_64",{get:function(){return null==this.__Location_64&&(this.__Location_64=new Rf(this._LocationStrategy_63)),this.__Location_64},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_MenuController_65",{get:function(){return null==this.__MenuController_65&&(this.__MenuController_65=new YC),this.__MenuController_65},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ModalController_66",{get:function(){return null==this.__ModalController_66&&(this.__ModalController_66=new QC(this._App_22)),this.__ModalController_66},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_PickerController_67",{get:function(){return null==this.__PickerController_67&&(this.__PickerController_67=new sE(this._App_22)),this.__PickerController_67},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_PopoverController_68",{get:function(){return null==this.__PopoverController_68&&(this.__PopoverController_68=new fE(this._App_22)),this.__PopoverController_68},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_TapClick_69",{get:function(){return null==this.__TapClick_69&&(this.__TapClick_69=new wE(this._Config_21,this._App_22,this.parent.get(fh))),this.__TapClick_69},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ToastController_70",{get:function(){return null==this.__ToastController_70&&(this.__ToastController_70=new RE(this._App_22)),this.__ToastController_70},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Translate_71",{get:function(){return null==this.__Translate_71&&(this.__Translate_71=new ME),this.__Translate_71},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_TransitionController_72",{get:function(){return null==this.__TransitionController_72&&(this.__TransitionController_72=new MC(this._Config_21)),this.__TransitionController_72},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_UrlSerializer_73",{get:function(){return null==this.__UrlSerializer_73&&(this.__UrlSerializer_73=yi(this._DeepLinkConfigToken_54)),this.__UrlSerializer_73},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DeepLinker_74",{get:function(){return null==this.__DeepLinker_74&&(this.__DeepLinker_74=Qr(this._App_22,this._UrlSerializer_73,this._Location_64)),this.__DeepLinker_74},enumerable:!0,configurable:!0}),e.prototype.createInternal=function(){return this._CommonModule_0=new Dd,this._ApplicationModule_1=new qh,this._BrowserModule_2=new jy(this.parent.get(jy,null)),this._HttpModule_3=new Iv,this._InternalFormsSharedModule_4=new Am,this._FormsModule_5=new km,this._ReactiveFormsModule_6=new Rm,this._IonicModule_7=new jS,this._AppModule_8=new rj,this._ErrorHandler_11=fn(),this._ConfigToken_12=null,this._UrlToken_13=ds(),this._QueryParams_14=ci(this._UrlToken_13),this._PlatformConfigToken_15=li(),this._UserAgentToken_16=hs(),this._NavigatorPlatformToken_17=fs(),this._DocumentDirToken_18=_s(),this._DocLangToken_19=ys(),this._Platform_20=Zr(this._PlatformConfigToken_15,this._QueryParams_14,this._UserAgentToken_16,this._NavigatorPlatformToken_17,this._DocumentDirToken_18,this._DocLangToken_19,this.parent.get(fh)),this._Config_21=Tr(this._ConfigToken_12,this._QueryParams_14,this._Platform_20),this._App_22=new gb(this._Config_21,this._Platform_20),this._APP_INITIALIZER_23=[di(this._Config_21),oi(this._Config_21),ei(this._Platform_20),fi(this._Config_21,this._App_22,this.parent.get(fh))],this._ApplicationInitStatus_24=new kc(this._APP_INITIALIZER_23),this._Testability_25=new dh(this.parent.get(fh)),this._ApplicationRef__26=new xh(this.parent.get(fh),this.parent.get(Mc),this,this._ErrorHandler_11,this,this._ApplicationInitStatus_24,this.parent.get(_h,null),this._Testability_25),this._AppModule_8},e.prototype.getInternal=function(t,e){return t===Dd?this._CommonModule_0:t===qh?this._ApplicationModule_1:t===jy?this._BrowserModule_2:t===Iv?this._HttpModule_3:t===Am?this._InternalFormsSharedModule_4:t===km?this._FormsModule_5:t===Rm?this._ReactiveFormsModule_6:t===jS?this._IonicModule_7:t===rj?this._AppModule_8:t===Wh?this._LOCALE_ID_9:t===Vf?this._NgLocalization_10:t===Ic?this._ErrorHandler_11:t===zv?this._ConfigToken_12:t===_E?this._UrlToken_13:t===dE?this._QueryParams_14:t===lE?this._PlatformConfigToken_15:t===fb?this._UserAgentToken_16:t===db?this._NavigatorPlatformToken_17:t===_b?this._DocumentDirToken_18:t===yb?this._DocLangToken_19:t===pb?this._Platform_20:t===Hv?this._Config_21:t===gb?this._App_22:t===Ac?this._APP_INITIALIZER_23:t===kc?this._ApplicationInitStatus_24:t===dh?this._Testability_25:t===xh?this._ApplicationRef__26:t===Eh?this._ApplicationRef_27:t===Fc?this._Compiler_28:t===Rc?this._APP_ID_29:t===d_?this._DOCUMENT_30:t===G_?this._HAMMER_GESTURE_CONFIG_31:t===__?this._EVENT_MANAGER_PLUGINS_32:t===y_?this._EventManager_33:t===b_?this._DomSharedStylesHost_34:t===Vd?this._AnimationDriver_35:t===O_?this._DomRootRenderer_36:t===uu?this._RootRenderer_37:t===Cy?this._DomSanitizer_38:t===du?this._Sanitizer_39:t===Iu?this._ViewUtils_40:t===Kc?this._IterableDiffers_41:t===Zc?this._KeyValueDiffers_42:t===v_?this._SharedStylesHost_43:t===f_?this._Title_44:t===jm?this._BrowserXhr_45:t===Ym?this._ResponseOptions_46:t===Km?this._XSRFStrategy_47:t===yv?this._XHRBackend_48:t===mv?this._RequestOptions_49:t===Sv?this._Http_50:t===ug?this._RadioControlRegistry_51:t===Tm?this._FormBuilder_52:t===BC?this._AppRootToken_53:t===XE?this._DeepLinkConfigToken_54:t===wb?this._ActionSheetController_55:t===Tb?this._AlertController_56:t===jb?this._Events_57:t===Uv?this._Form_58:t===Mb?this._Haptic_59:t===Db?this._GestureController_60:t===Fb?this._Keyboard_61:t===qC?this._LoadingController_62:t===Of?this._LocationStrategy_63:t===Rf?this._Location_64:t===YC?this._MenuController_65:t===QC?this._ModalController_66:t===sE?this._PickerController_67:t===fE?this._PopoverController_68:t===wE?this._TapClick_69:t===RE?this._ToastController_70:t===ME?this._Translate_71:t===MC?this._TransitionController_72:t===BE?this._UrlSerializer_73:t===Pb?this._DeepLinker_74:e},e.prototype.destroyInternal=function(){this._ApplicationRef__26.ngOnDestroy()},e}(Sh),gM=new Th(yM,rj);xt(),Ry().bootstrapModuleFactory(gM)}();
  //# sourceMappingURL=main.js.map