!function(){"use strict";angular.module("ionic.contrib.frostedGlass",["ionic"]).factory("$ionicFrostedDelegate",["$rootScope",function(e){return{update:function(){e.$emit("ionicFrosted.update")}}}]).directive("frostedBar",["$timeout","$rootScope","$ionicScrollDelegate",function(e,t){var n=function(e){var t=e[0],n=e.parent()[0].querySelector(".scroll");if(n){var o=n.style[ionic.CSS.TRANSFORM],i=parseFloat(o.replace("translate3d(","").split(",")[1])||0,r=n.parentNode.offsetTop,c=t.offsetHeight,a=n.cloneNode(!0),l=document.createElement("div");return l.className="ionic-contrib-blur",l.style.overflow="hidden",l.style.height=c+"px",l.appendChild(a),n.parentNode.addEventListener("scroll",function(e){a.style[ionic.CSS.TRANSFORM]="translate3d(0,"+(-e.detail.scrollTop+r)+"px, 0)"}),a.style[ionic.CSS.TRANSFORM]="translate3d(0,"+(i+r)+"px, 0)",e.append(l),l}};return{restrict:"AC",link:function(o,i){var r=null;t.$on("ionicFrosted.update",function(){ionic.requestAnimationFrame(function(){r&&(r.remove(),r=n(i))})}),e(function(){ionic.requestAnimationFrame(function(){r=n(i)})})}}}])}();