"use strict";var AngularFire,AngularFireAuth;angular.module("firebase",[]).value("Firebase",Firebase),angular.module("firebase").factory("$firebase",["$q","$parse","$timeout",function(a,b,c){return function(d){var e=new AngularFire(a,b,c,d);return e.construct()}}]),angular.module("firebase").filter("orderByPriority",function(){return function(a){if(!a.$getIndex||"function"!=typeof a.$getIndex){var b=Object.prototype.toString.call(a);if("object"==typeof a&&"[object Object]"==b){var c=[];for(var d in a)a.hasOwnProperty(d)&&c.push(a[d]);return c}return a}var e=[],f=a.$getIndex();if(f.length<=0)return a;for(var g=0;g0)for(var d=0;d=e;){var i=d.slice(0,e);d=d.slice(e),c+=String.fromCharCode(parseInt(i,2))}}return c},_deconstructJWT:function(a){var b=a.split(".");if(!b instanceof Array||3!==b.length)throw new Error("Invalid JWT");var c="",d=b[1];return c=window.atob?window.atob(d):this._decodeBase64(d),JSON.parse(decodeURIComponent(escape(c)))}};