var __awaiter=this&&this.__awaiter||function(n,t,i,a){function e(n){return n instanceof i?n:new i((function(t){t(n)}))}return new(i||(i=Promise))((function(i,r){function o(n){try{f(a.next(n))}catch(n){r(n)}}function c(n){try{f(a["throw"](n))}catch(n){r(n)}}function f(n){n.done?i(n.value):e(n.value).then(o,c)}f((a=a.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,e,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(n){return function(t){return f([n,t])}}function f(c){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,c[0]&&(i=0)),i)try{if(a=1,e&&(r=c[0]&2?e["return"]:c[0]?e["throw"]||((r=e["return"])&&r.call(e),0):e.next)&&!(r=r.call(e,c[1])).done)return r;if(e=0,r)c=[c[0]&2,r.value];switch(c[0]){case 0:case 1:r=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;e=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1];r=c;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(c);break}if(r[2])i.ops.pop();i.trys.pop();continue}c=t.call(n,i)}catch(n){c=[6,n];e=0}finally{a=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}}; /*! * (C) Ionic http://ionicframework.com - MIT License */System.register(["./p-332c71da.system.js","./p-ca86ce8b.system.js"],(function(n){"use strict";var t,i,a,e,r,o,c;return{setters:[function(n){t=n.r;i=n.e;a=n.w;e=n.h;r=n.f;o=n.H},function(n){c=n.b}],execute:function(){var f=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";var s=f;var u=n("ion_ripple_effect",function(){function n(n){t(this,n);this.type="bounded"}n.prototype.addRipple=function(n,t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(r){return[2,new Promise((function(r){i((function(){var i=e.el.getBoundingClientRect();var o=i.width;var c=i.height;var f=Math.sqrt(o*o+c*c);var s=Math.max(c,o);var u=e.unbounded?s:f+m;var v=Math.floor(s*b);var d=u/v;var p=n-i.left;var w=t-i.top;if(e.unbounded){p=o*.5;w=c*.5}var y=p-v*.5;var h=w-v*.5;var k=o*.5-p;var g=c*.5-w;a((function(){var n=document.createElement("div");n.classList.add("ripple-effect");var t=n.style;t.top=h+"px";t.left=y+"px";t.width=t.height=v+"px";t.setProperty("--final-scale","".concat(d));t.setProperty("--translate-end","".concat(k,"px, ").concat(g,"px"));var i=e.el.shadowRoot||e.el;i.appendChild(n);setTimeout((function(){r((function(){l(n)}))}),225+100)}))}))}))]}))}))};Object.defineProperty(n.prototype,"unbounded",{get:function(){return this.type==="unbounded"},enumerable:false,configurable:true});n.prototype.render=function(){var n;var t=c(this);return e(o,{key:"9f2578664e5ff8a0a7e27cd90b2339bd430e72b8",role:"presentation",class:(n={},n[t]=true,n.unbounded=this.unbounded,n)})};Object.defineProperty(n.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return n}());var l=function(n){n.classList.add("fade-out");setTimeout((function(){n.remove()}),200)};var m=10;var b=.5;u.style=s}}}));