/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
System.register(["./p-c34d8902.system.js","./p-db937795.system.js","./p-808e924f.system.js","./p-b0da91c5.system.js"],(function(n){"use strict";var e,t;return{setters:[function(n){e=n.c},function(n){t=n.g},function(){},function(){}],execute:function(){var a=n("mdTransitionAnimation",(function(n,a){var i="40px";var r="0px";var o=a.direction==="back";var s=a.enteringEl;var c=a.leavingEl;var d=t(s);var l=d.querySelector("ion-toolbar");var u=e();u.addElement(d).fill("both").beforeRemoveClass("ion-page-invisible");if(o){u.duration(a.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{u.duration(a.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(i,")"),"translateY(".concat(r,")")).fromTo("opacity",.01,1)}if(l){var f=e();f.addElement(l);u.addAnimation(f)}if(c&&o){u.duration(a.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var m=e();m.addElement(t(c)).onFinish((function(n){if(n===1&&m.elements.length>0){m.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(r,")"),"translateY(".concat(i,")")).fromTo("opacity",1,0);u.addAnimation(m)}return u}))}}}));