/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
System.register(["./p-389a3e58.system.js","./p-4ca794f9.system.js","./p-48158f96.system.js"],(function(n){"use strict";var t,e,r,u,i;return{setters:[function(n){t=n.e},function(n){e=n.h;r=n.a;u=n.b},function(n){i=n.createGesture}],execute:function(){var c=n("c",(function(n,c){var o;var f;var a=function(n,t,e){if(typeof document==="undefined"){return}var r=document.elementFromPoint(n,t);if(!r||!c(r)){v();return}if(r!==o){v();s(r,e)}};var s=function(n,e){o=n;if(!f){f=o}var r=o;t((function(){return r.classList.add("ion-activated")}));e()};var v=function(n){if(n===void 0){n=false}if(!o){return}var e=o;t((function(){return e.classList.remove("ion-activated")}));if(n&&f!==o){o.click()}o=undefined};return i({el:n,gestureName:"buttonActiveDrag",threshold:0,onStart:function(n){return a(n.currentX,n.currentY,r)},onMove:function(n){return a(n.currentX,n.currentY,u)},onEnd:function(){v(true);e();f=undefined}})}))}}}));