!function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,function(e){var n=t[s][1][e];return i(n?n:e)},l,l.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s0&&t-1 in e}function o(e,t,n){var r;if(e)if(C(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r);else if(Nr(e)||i(e))for(r=0;r=0&&e.splice(n,1),t}function q(e,t,n,r){if(T(e)||k(e))throw kr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(e===t)throw kr("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],y(e)){var i=M(n,e);if(-1!==i)return r[i];n.push(e),r.push(t)}var s;if(Nr(e)){t.length=0;for(var a=0;ai;i++)if(!R(e[i],t[i]))return!1;return!0}}return!1}function H(e,t,n){return e.concat(Cr.call(t,n))}function F(e,t){return Cr.call(e,t||0)}function _(e,t){var n=arguments.length>2?F(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,n.concat(Cr.call(arguments,0))):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function I(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)?i=n:T(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":k(r)&&(i="$SCOPE"),i}function U(e,t){return"undefined"==typeof e?n:JSON.stringify(e,I,t?" ":null)}function V(e){return x(e)?JSON.parse(e):e}function B(e){if("function"==typeof e)e=!0;else if(e&&0!==e.length){var t=pr(""+e);e=!("f"==t||"0"==t||"false"==t||"no"==t||"n"==t||"[]"==t)}else e=!1;return e}function W(e){e=yr(e).clone();try{e.empty()}catch(t){}var n=3,r=yr("
").append(e).html();try{return e[0].nodeType===n?pr(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+pr(t)})}catch(t){return pr(r)}}function z(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t,n,r={};return o((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),n=z(t[0]),$(n))){var i=$(t[1])?z(t[1]):!0;dr.call(r,n)?Nr(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function Y(e){var t=[];return o(e,function(e,n){Nr(e)?o(e,function(e){t.push(Q(n,!0)+(e===!0?"":"="+Q(e,!0)))}):t.push(Q(n,!0)+(e===!0?"":"="+Q(e,!0)))}),t.length?t.join("&"):""}function G(e){return Q(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Q(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function J(e,n){function r(e){e&&a.push(e)}var i,s,a=[e],u=["ng:app","ng-app","x-ng-app","data-ng-app"],c=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;o(u,function(n){u[n]=!0,r(t.getElementById(n)),n=n.replace(":","\\:"),e.querySelectorAll&&(o(e.querySelectorAll("."+n),r),o(e.querySelectorAll("."+n+"\\:"),r),o(e.querySelectorAll("["+n+"]"),r))}),o(a,function(e){if(!i){var t=" "+e.className+" ",n=c.exec(t);n?(i=e,s=(n[2]||"").replace(/\s+/g,",")):o(e.attributes,function(t){!i&&u[t.name]&&(i=e,s=t.value)})}}),i&&n(i,s?[s]:[])}function K(n,r){var i=function(){if(n=yr(n),n.injector()){var e=n[0]===t?"document":W(n);throw kr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(//,">"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),r.unshift("ng");var i=Mt(r);return i.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),i},s=/^NG_DEFER_BOOTSTRAP!/;return e&&!s.test(e.name)?i():(e.name=e.name.replace(s,""),void(Er.resumeBootstrap=function(e){o(e,function(e){r.push(e)}),i()}))}function Z(e,t){return t=t||"_",e.replace(Dr,function(e,n){return(n?t:"")+e.toLowerCase()})}function et(){xr=e.jQuery,xr&&xr.fn.on?(yr=xr,f(xr.fn,{scope:zr.scope,isolateScope:zr.isolateScope,controller:zr.controller,injector:zr.injector,inheritedData:zr.inheritedData}),lt("remove",!0,!0,!1),lt("empty",!1,!1,!1),lt("html",!1,!1,!0)):yr=dt,Er.element=yr}function tt(e,t,n){if(!e)throw kr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function nt(e,t,n){return n&&Nr(e)&&(e=e[e.length-1]),tt(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function rt(e,t){if("hasOwnProperty"===e)throw kr("badname","hasOwnProperty is not a valid {0} name",t)}function it(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,s=i.length,a=0;s>a;a++)r=i[a],e&&(e=(o=e)[r]);return!n&&C(e)?_(o,e):e}function ot(e){var t=e[0],n=e[e.length-1];if(t===n)return yr(t);var r=t,i=[r];do{if(r=r.nextSibling,!r)break;i.push(r)}while(r!==n);return yr(i)}function st(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,s){var a=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return a(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,n,r){return function(){return t[r||"push"]([e,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var t=[],i=[],a=e("$injector","invoke"),u={_invokeQueue:t,_runBlocks:i,requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:a,run:function(e){return i.push(e),this}};return s&&a(s),u})}})}function at(t){f(t,{bootstrap:K,copy:q,extend:f,equals:R,element:yr,forEach:o,injector:Mt,noop:d,bind:_,toJson:U,fromJson:V,identity:v,isUndefined:m,isDefined:$,isString:x,isFunction:C,isObject:y,isNumber:b,isElement:j,isArray:Nr,version:Mr,isDate:w,lowercase:pr,uppercase:vr,callbacks:{counter:0},$$minErr:r,$$csp:Or}),br=st(e);try{br("ngLocale")}catch(n){br("ngLocale",[]).provider("$locale",nn)}br("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Nn}),e.provider("$compile",_t).directive({a:Ni,input:_i,textarea:_i,form:Mi,script:wo,select:To,style:Eo,option:ko,ngBind:Ki,ngBindHtml:eo,ngBindTemplate:Zi,ngClass:to,ngClassEven:ro,ngClassOdd:no,ngCloak:io,ngController:oo,ngForm:Pi,ngHide:go,ngIf:ao,ngInclude:uo,ngInit:lo,ngNonBindable:fo,ngPluralize:ho,ngRepeat:po,ngShow:vo,ngStyle:mo,ngSwitch:$o,ngSwitchWhen:yo,ngSwitchDefault:xo,ngOptions:So,ngTransclude:bo,ngModel:zi,ngList:Gi,ngChange:Xi,required:Yi,ngRequired:Yi,ngValue:Ji}).directive({ngInclude:co}).directive(ji).directive(so),e.provider({$anchorScroll:Pt,$animate:ti,$browser:Rt,$cacheFactory:Ht,$controller:Vt,$document:Bt,$exceptionHandler:Wt,$filter:_n,$interpolate:en,$interval:tn,$http:Qt,$httpBackend:Kt,$location:gn,$log:mn,$parse:Sn,$rootScope:An,$q:Tn,$sce:Pn,$sceDelegate:Mn,$sniffer:qn,$templateCache:Ft,$timeout:Ln,$window:Fn,$$rAF:En,$$asyncCallback:qt})}])}function ut(){return++qr}function ct(e){return e.replace(Hr,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Fr,"Moz$1")}function lt(e,t,n,r){function i(e){var i,s,a,u,c,l,f,h=n&&e?[this.filter(e)]:[this],p=t;if(!r||null!=e)for(;h.length;)for(i=h.shift(),s=0,a=i.length;a>s;s++)for(u=yr(i[s]),p?u.triggerHandler("$destroy"):p=!p,c=0,l=(f=u.children()).length;l>c;c++)h.push(xr(f[c]));return o.apply(this,arguments)}var o=xr.fn[e];o=o.$original||o,i.$original=o,xr.fn[e]=i}function ft(e){return!Ur.test(e)}function ht(e,t){var n,r,i,o,s,a,u=t.createDocumentFragment(),c=[];if(ft(e))c.push(t.createTextNode(e));else{for(n=u.appendChild(t.createElement("div")),r=(Vr.exec(e)||["",""])[1].toLowerCase(),i=Wr[r]||Wr._default,n.innerHTML="
 
"+i[1]+e.replace(Br,"<$1>")+i[2],n.removeChild(n.firstChild),o=i[0];o--;)n=n.lastChild;for(s=0,a=n.childNodes.length;a>s;++s)c.push(n.childNodes[s]);n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",c}function pt(e,n){n=n||t;var r;return(r=Ir.exec(e))?[n.createElement(r[1])]:ht(e,n)}function dt(e){if(e instanceof dt)return e;if(x(e)&&(e=jr(e)),!(this instanceof dt)){if(x(e)&&"<"!=e.charAt(0))throw _r("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new dt(e)}if(x(e)){St(this,pt(e));var n=yr(t.createDocumentFragment());n.append(this)}else St(this,e)}function vt(e){return e.cloneNode(!0)}function gt(e){$t(e);for(var t=0,n=e.childNodes||[];t-1:!1}function wt(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",jr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+jr(t)+" "," ")))})}function Ct(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=jr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",jr(n))}}function St(e,t){if(t){t=t.nodeName||!$(t.length)||T(t)?[t]:t;for(var n=0;no;o++)if((r=yr.data(e,i[o]))!==n)return r;e=e.parentNode||11===e.nodeType&&e.host}}function Et(e){for(var t=0,n=e.childNodes;t=$r?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=e,r}function jt(e,t){var r,i=typeof e;return"function"==i||"object"==i&&null!==e?"function"==typeof(r=e.$$hashKey)?r=e.$$hashKey():r===n&&(r=e.$$hashKey=(t||c)()):r=e,i+":"+r}function Ot(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function Dt(e){var t,n,r,i;return"function"==typeof e?(t=e.$inject)||(t=[],e.length&&(n=e.toString().replace(Kr,""),r=n.match(Gr),o(r[1].split(Qr),function(e){e.replace(Jr,function(e,n,r){t.push(r)})})),e.$inject=t):Nr(e)?(i=e.length-1,nt(e[i],"fn"),t=e.slice(0,i)):nt(e,"fn",!0),t}function Mt(e){function t(e){return function(t,n){return y(t)?void o(t,u(e)):e(t,n)}}function n(e,t){if(rt(e,"service"),(C(t)||Nr(t))&&(t=b.instantiate(t)),!t.$get)throw Zr("pget","Provider '{0}' must define $get factory method.",e);return $[e+p]=t}function r(e,t){return n(e,{$get:t})}function i(e,t){return r(e,["$injector",function(e){return e.instantiate(t)}])}function s(e,t){return r(e,g(t))}function a(e,t){rt(e,"constant"),$[e]=t,w[e]=t}function c(e,t){var n=b.get(e+p),r=n.$get;n.$get=function(){var e=S.invoke(r,n);return S.invoke(t,null,{$delegate:e})}}function l(e){var t,n,r,i,s=[];return o(e,function(e){if(!m.get(e)){m.put(e,!0);try{if(x(e))for(t=br(e),s=s.concat(l(t.requires)).concat(t._runBlocks),n=t._invokeQueue,r=0,i=n.length;i>r;r++){var o=n[r],a=b.get(o[0]);a[o[1]].apply(a,o[2])}else C(e)?s.push(b.invoke(e)):Nr(e)?s.push(b.invoke(e)):nt(e,"module")}catch(u){throw Nr(e)&&(e=e[e.length-1]),u.message&&u.stack&&-1==u.stack.indexOf(u.message)&&(u=u.message+"\n"+u.stack),Zr("modulerr","Failed to instantiate module {0} due to:\n{1}",e,u.stack||u.message||u)}}}),s}function f(e,t){function n(n){if(e.hasOwnProperty(n)){if(e[n]===h)throw Zr("cdep","Circular dependency found: {0}",n+" <- "+v.join(" <- "));return e[n]}try{return v.unshift(n),e[n]=h,e[n]=t(n)}catch(r){throw e[n]===h&&delete e[n],r}finally{v.shift()}}function r(e,t,r){var i,o,s,a=[],u=Dt(e);for(o=0,i=u.length;i>o;o++){if(s=u[o],"string"!=typeof s)throw Zr("itkn","Incorrect injection token! Expected service name as string, got {0}",s);a.push(r&&r.hasOwnProperty(s)?r[s]:n(s))}return Nr(e)&&(e=e[i]),e.apply(t,a)}function i(e,t){var n,i,o=function(){};return o.prototype=(Nr(e)?e[e.length-1]:e).prototype,n=new o,i=r(e,n,t),y(i)||C(i)?i:n}return{invoke:r,instantiate:i,get:n,annotate:Dt,has:function(t){return $.hasOwnProperty(t+p)||e.hasOwnProperty(t)}}}var h={},p="Provider",v=[],m=new Ot([],!0),$={$provide:{provider:t(n),factory:t(r),service:t(i),value:t(s),constant:t(a),decorator:c}},b=$.$injector=f($,function(){throw Zr("unpr","Unknown provider: {0}",v.join(" <- "))}),w={},S=w.$injector=f(w,function(e){var t=b.get(e+p);return S.invoke(t.$get,t)});return o(l(e),function(e){S.invoke(e||d)}),S}function Pt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return o(e,function(e){t||"a"!==pr(e.nodeName)||(t=e)}),t}function s(){var e,r=n.hash();r?(e=a.getElementById(r))?e.scrollIntoView():(e=i(a.getElementsByName(r)))?e.scrollIntoView():"top"===r&&t.scrollTo(0,0):t.scrollTo(0,0)}var a=t.document;return e&&r.$watch(function(){return n.hash()},function(){r.$evalAsync(s)}),s}]}function qt(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Lt(e,t,r,i){function s(e){try{e.apply(null,F(arguments,1))}finally{if($--,0===$)for(;y.length;)try{y.pop()()}catch(t){r.error(t)}}}function a(e,t){!function n(){o(w,function(e){e()}),b=t(n,e)}()}function u(){T=null,C!=c.url()&&(C=c.url(),o(k,function(e){e(c.url())}))}var c=this,l=t[0],f=e.location,h=e.history,p=e.setTimeout,v=e.clearTimeout,g={};c.isMock=!1;var $=0,y=[];c.$$completeOutstandingRequest=s,c.$$incOutstandingRequestCount=function(){$++},c.notifyWhenNoOutstandingRequests=function(e){o(w,function(e){e()}),0===$?e():y.push(e)};var b,w=[];c.addPollFn=function(e){return m(b)&&a(100,p),w.push(e),e};var C=f.href,S=t.find("base"),T=null;c.url=function(t,n){if(f!==e.location&&(f=e.location),h!==e.history&&(h=e.history),t){if(C==t)return;return C=t,i.history?n?h.replaceState(null,"",t):(h.pushState(null,"",t),S.attr("href",S.attr("href"))):(T=t,n?f.replace(t):f.href=t),c}return T||f.href.replace(/%27/g,"'")};var k=[],E=!1;c.onUrlChange=function(t){return E||(i.history&&yr(e).on("popstate",u),i.hashchange?yr(e).on("hashchange",u):c.addPollFn(u),E=!0),k.push(t),t},c.baseHref=function(){var e=S.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var A={},N="",j=c.baseHref();c.cookies=function(e,t){var i,o,s,a,u;if(!e){if(l.cookie!==N)for(N=l.cookie,o=N.split("; "),A={},a=0;a0&&(e=unescape(s.substring(0,u)),A[e]===n&&(A[e]=unescape(s.substring(u+1))));return A}t===n?l.cookie=escape(e)+"=;path="+j+";expires=Thu, 01 Jan 1970 00:00:00 GMT":x(t)&&(i=(l.cookie=escape(e)+"="+escape(t)+";path="+j).length+1,i>4096&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},c.defer=function(e,t){var n;return $++,n=p(function(){delete g[n],s(e)},t||0),g[n]=!0,n},c.defer.cancel=function(e){return g[e]?(delete g[e],v(e),s(d),!0):!1}}function Rt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Lt(e,r,t,n)}]}function Ht(){this.$get=function(){function e(e,n){function i(e){e!=h&&(p?p==e&&(p=e.n):p=e,o(e.n,e.p),o(e,h),h=e,h.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var s=0,a=f({},n,{id:e}),u={},c=n&&n.capacity||Number.MAX_VALUE,l={},h=null,p=null;return t[e]={put:function(e,t){if(cc&&this.remove(p.key),t},get:function(e){if(c").parent()[0])});var s=A(e,t,e,n,r,i);return E(e,"ng-scope"),function(t,n,r,i){tt(t,"scope");var a=n?zr.clone.call(e):e;o(r,function(e,t){a.data("$"+t+"Controller",e)});for(var u=0,c=a.length;c>u;u++){var l=a[u],f=l.nodeType;(1===f||9===f)&&a.eq(u).data("$scope",t)}return n&&n(a,t),s&&s(t,a,a,i),a}}function E(e,t){try{e.addClass(t)}catch(n){}}function A(e,t,r,i,o,s){function a(e,r,i,o){var s,a,u,c,l,f,h,p,v=r.length,g=new Array(v);for(l=0;v>l;l++)g[l]=r[l];for(l=0,h=0,f=d.length;f>l;h++)u=g[h],s=d[l++],a=d[l++],s?(s.scope?(c=e.$new(),yr.data(u,"$scope",c)):c=e,p=s.transcludeOnThisElement?N(e,s.transclude,o):!s.templateOnThisElement&&o?o:!o&&t?N(e,t):null,s(a,c,u,i,p)):a&&a(e,u.childNodes,n,o)}for(var u,c,l,f,h,p,d=[],v=0;v$;$++){var b=!1,w=!1;if(f=m[$],!$r||$r>=8||f.specified){h=f.name,v=jr(f.value),d=It(h),(g=et.test(d))&&(h=Z(d.substr(6),"-"));var C=d.replace(/(Start|End)$/,"");d===C+"Start"&&(b=h,w=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),p=It(h.toLowerCase()),l[p]=h,(g||!n.hasOwnProperty(p))&&(n[p]=v,At(e,p)&&(n[p]=!0)),z(e,t,v,p),q(t,p,"A",r,i,b,w)}}if(s=e.className,x(s)&&""!==s)for(;o=c.exec(s);)p=It(o[2]),q(t,p,"C",r,i)&&(n[p]=jr(o[3])),s=s.substr(o.index+o[0].length);break;case 3:V(t,e.nodeValue);break;case 8:try{o=a.exec(e.nodeValue),o&&(p=It(o[1]),q(t,p,"M",r,i)&&(n[p]=jr(o[2])))}catch(S){}}return t.sort(I),t}function O(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw ni("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);1==e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return yr(r)}function D(e,t,n){return function(r,i,o,s,a){return i=O(i[0],t,n),e(r,i,o,s,a)}}function M(e,i,s,a,c,l,f,h,p){function d(e,t,n,r){e&&(n&&(e=D(e,n,r)),e.require=w.require,e.directiveName=S,(I===w||w.$$isolateScope)&&(e=Y(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=D(t,n,r)),t.require=w.require,t.directiveName=S,(I===w||w.$$isolateScope)&&(t=Y(t,{isolateScope:!0})),h.push(t))}function v(e,t,n,r){var i,s="data",a=!1;if(x(t)){for(;"^"==(i=t.charAt(0))||"?"==i;)t=t.substr(1),"^"==i&&(s="inheritedData"),a=a||"?"==i;if(i=null,r&&"data"===s&&(i=r[t]),i=i||n[s]("$"+t+"Controller"),!i&&!a)throw ni("ctreq","Controller '{0}', required by directive '{1}', can't be found!",t,e);return i}return Nr(t)&&(i=[],o(t,function(t){i.push(v(e,t,n,r))})),i}function $(e,t,a,c,l){function p(e,t){var r;return arguments.length<2&&(t=e,e=n),J&&(r=T),l(e,t,r)}var d,$,y,x,b,w,C,S,T={};if(d=i===a?s:L(s,new G(yr(a),s.$attr)),$=d.$$element,I){var k=/^\s*([@=&])(\??)\s*(\w*)\s*$/;C=t.$new(!0),!V||V!==I&&V!==I.$$originalDirective?$.data("$isolateScopeNoTemplate",C):$.data("$isolateScope",C),E($,"ng-isolate-scope"),o(I.scope,function(e,n){var i,o,s,a,u=e.match(k)||[],c=u[3]||n,l="?"==u[2],f=u[1];switch(C.$$isolateBindings[n]=f+c,f){case"@":d.$observe(c,function(e){C[n]=e}),d.$$observers[c].$$scope=t,d[c]&&(C[n]=r(d[c])(t));break;case"=":if(l&&!d[c])return;o=g(d[c]),a=o.literal?R:function(e,t){return e===t||e!==e&&t!==t},s=o.assign||function(){throw i=C[n]=o(t),ni("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",d[c],I.name)},i=C[n]=o(t),C.$watch(function(){var e=o(t);return a(e,C[n])||(a(e,i)?s(t,e=C[n]):C[n]=e),i=e},null,o.literal);break;case"&":o=g(d[c]),C[n]=function(e){return o(t,e)};break;default:throw ni("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",I.name,n,e)}})}for(S=l&&p,q&&o(q,function(e){var n,r={$scope:e===I||e.$$isolateScope?C:t,$element:$,$attrs:d,$transclude:S};w=e.controller,"@"==w&&(w=d[e.name]),n=m(w,r),T[e.name]=n,J||$.data("$"+e.name+"Controller",n),e.controllerAs&&(r.$scope[e.controllerAs]=n)}),y=0,x=f.length;x>y;y++)try{b=f[y],b(b.isolateScope?C:t,$,d,b.require&&v(b.directiveName,b.require,$,T),S)}catch(A){u(A,W($))}var N=t;for(I&&(I.template||null===I.templateUrl)&&(N=C),e&&e(N,a.childNodes,n,l),y=h.length-1;y>=0;y--)try{b=h[y],b(b.isolateScope?C:t,$,d,b.require&&v(b.directiveName,b.require,$,T),S)}catch(A){u(A,W($))}}p=p||{};for(var b,w,S,T,A,N,M=-Number.MAX_VALUE,q=p.controllerDirectives,I=p.newIsolateScopeDirective,V=p.templateDirective,B=p.nonTlbTranscludeDirective,z=!1,Q=!1,J=p.hasElementTranscludeDirective,Z=s.$$element=yr(i),et=l,tt=a,nt=0,rt=e.length;rt>nt;nt++){w=e[nt];var it=w.$$start,ot=w.$$end;if(it&&(Z=O(i,it,ot)),T=n,M>w.priority)break;if((N=w.scope)&&(b=b||w,w.templateUrl||(U("new/isolated scope",I,w,Z),y(N)&&(I=w))),S=w.name,!w.templateUrl&&w.controller&&(N=w.controller,q=q||{},U("'"+S+"' controller",q[S],w,Z),q[S]=w),(N=w.transclude)&&(z=!0,w.$$tlb||(U("transclusion",B,w,Z),B=w),"element"==N?(J=!0,M=w.priority,T=Z,Z=s.$$element=yr(t.createComment(" "+S+": "+s[S]+" ")),i=Z[0],X(c,F(T),i),tt=k(T,a,M,et&&et.name,{nonTlbTranscludeDirective:B})):(T=yr(vt(i)).contents(),Z.empty(),tt=k(T,a))),w.template)if(Q=!0,U("template",V,w,Z),V=w,N=C(w.template)?w.template(Z,s):w.template,N=K(N),w.replace){if(et=w,T=ft(N)?[]:yr(jr(N)),i=T[0],1!=T.length||1!==i.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",S,"");X(c,Z,i);var st={$attr:{}},at=j(i,[],st),ut=e.splice(nt+1,e.length-(nt+1));I&&P(at),e=e.concat(at).concat(ut),H(s,st),rt=e.length}else Z.html(N);if(w.templateUrl)Q=!0,U("template",V,w,Z),V=w,w.replace&&(et=w),$=_(e.splice(nt,e.length-nt),Z,s,c,z&&tt,f,h,{controllerDirectives:q,newIsolateScopeDirective:I,templateDirective:V,nonTlbTranscludeDirective:B}),rt=e.length;else if(w.compile)try{A=w.compile(Z,s,tt),C(A)?d(null,A,it,ot):A&&d(A.pre,A.post,it,ot)}catch(ct){u(ct,W(Z))}w.terminal&&($.terminal=!0,M=Math.max(M,w.priority))}return $.scope=b&&b.scope===!0,$.transcludeOnThisElement=z,$.templateOnThisElement=Q,$.transclude=tt,p.hasElementTranscludeDirective=J,$}function P(e){for(var t=0,n=e.length;n>t;t++)e[t]=p(e[t],{$$isolateScope:!0})}function q(t,r,o,a,c,l,f){if(r===c)return null;var h=null;if(i.hasOwnProperty(r))for(var d,v=e.get(r+s),g=0,m=v.length;m>g;g++)try{d=v[g],(a===n||a>d.priority)&&-1!=d.restrict.indexOf(o)&&(l&&(d=p(d,{$$start:l,$$end:f})),t.push(d),h=d)}catch($){u($)}return h}function H(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(E(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function _(e,t,n,r,i,s,a,u){var c,l,p=[],v=t[0],g=e.shift(),m=f({},g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),$=C(g.templateUrl)?g.templateUrl(t,n):g.templateUrl;return t.empty(),h.get(w.getTrustedResourceUrl($),{cache:d}).success(function(f){var h,d,x,b;if(f=K(f),g.replace){if(x=ft(f)?[]:yr(jr(f)),h=x[0],1!=x.length||1!==h.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,$);d={$attr:{}},X(r,t,h);var w=j(h,[],d);y(g.scope)&&P(w),e=w.concat(e),H(n,d)}else h=v,t.html(f);for(e.unshift(m),c=M(e,h,n,i,t,g,s,a,u),o(r,function(e,n){e==h&&(r[n]=t[0])}),l=A(t[0].childNodes,i);p.length;){var C=p.shift(),S=p.shift(),T=p.shift(),k=p.shift(),O=t[0];if(S!==v){var D=S.className;u.hasElementTranscludeDirective&&g.replace||(O=vt(h)),X(T,yr(S),O),E(yr(O),D)}b=c.transcludeOnThisElement?N(C,c.transclude,k):k,c(l,C,O,r,b)}p=null}).error(function(e,t,n,r){throw ni("tpload","Failed to load template: {0}",r.url)}),function(e,t,n,r,i){var o=i;p?(p.push(t),p.push(n),p.push(r),p.push(o)):(c.transcludeOnThisElement&&(o=N(t,c.transclude,i)),c(l,t,n,r,o))}}function I(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.namei;i++)if(e[i]==s){e[i++]=r;for(var c=i,l=c+a-1,f=e.length;f>c;c++,l++)f>l?e[c]=e[l]:delete e[c];e.length-=a-1;break}u&&u.replaceChild(r,s);var h=t.createDocumentFragment();h.appendChild(s),r[yr.expando]=s[yr.expando];for(var p=1,d=n.length;d>p;p++){var v=n[p];yr(v).remove(),h.appendChild(v),delete n[p]}n[0]=r,n.length=1}function Y(e,t){return f(function(){return e.apply(null,arguments)},e,t)}var G=function(e,t){this.$$element=e,this.$attr=t||{}};G.prototype={$normalize:It,$addClass:function(e){e&&e.length>0&&S.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&S.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Ut(e,t),r=Ut(t,e);0===n.length?S.removeClass(this.$$element,r):0===r.length?S.addClass(this.$$element,n):S.setClass(this.$$element,n,r)},$set:function(e,t,r,i){var s,a=At(this.$$element[0],e);a&&(this.$$element.prop(e,t),i=a),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e],i||(this.$attr[e]=i=Z(e,"-"))),s=wr(this.$$element),("A"===s&&"href"===e||"IMG"===s&&"src"===e)&&(this[e]=t=T(t,"src"===e)),r!==!1&&(null===t||t===n?this.$$element.removeAttr(i):this.$$element.attr(i,t));var c=this.$$observers;c&&o(c[e],function(e){try{e(t)}catch(n){u(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers={}),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){i.$$inter||t(n[e])}),t}};var Q=r.startSymbol(),J=r.endSymbol(),K="{{"==Q||"}}"==J?v:function(e){return e.replace(/\{\{/g,Q).replace(/}}/g,J)},et=/^ngAttr[A-Z]/;return k}]}function It(e){return ct(e.replace(ri,""))}function Ut(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+s}return n}function Vt(){var e={},t=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){rt(t,"controller"),y(t)?f(e,t):e[t]=n},this.$get=["$injector","$window",function(n,i){return function(o,s){var a,u,c,l;if(x(o)&&(u=o.match(t),c=u[1],l=u[3],o=e.hasOwnProperty(c)?e[c]:it(s.$scope,c,!0)||it(i,c,!0),nt(o,c,!0)),a=n.instantiate(o,s),l){if(!s||"object"!=typeof s.$scope)throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",c||o.name,l);s.$scope[l]=a}return a}}]}function Bt(){this.$get=["$window",function(e){return yr(e.document)}]}function Wt(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function zt(e){var t,n,r,i={};return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=pr(jr(e.substr(0,r))),n=jr(e.substr(r+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)}),i):i}function Xt(e){var t=y(e)?e:n;return function(n){return t||(t=zt(e)),n?t[pr(n)]||null:t}}function Yt(e,t,n){return C(n)?n(e,t):(o(n,function(n){e=n(e,t)}),e)}function Gt(e){return e>=200&&300>e}function Qt(){var e=/^\s*(\[|\{[^\{])/,t=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,i={"Content-Type":"application/json;charset=utf-8"},s=this.defaults={transformResponse:[function(n){return x(n)&&(n=n.replace(r,""),e.test(n)&&t.test(n)&&(n=V(n))),n}],transformRequest:[function(e){return!y(e)||E(e)||A(e)?e:U(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:L(i),put:L(i),patch:L(i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},u=this.interceptors=[],c=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(e,t,r,i,l,h){function p(e){function t(e){var t=f({},e,{data:Yt(e.data,e.headers,i.transformResponse)});return Gt(e.status)?t:l.reject(t)}function r(e){function t(e){var t;o(e,function(n,r){C(n)&&(t=n(),null!=t?e[r]=t:delete e[r])})}var n,r,i,a=s.headers,u=f({},e.headers);a=f({},a.common,a[pr(e.method)]);e:for(n in a){r=pr(n);for(i in u)if(pr(i)===r)continue e;u[n]=a[n]}return t(u),u}var i={method:"get",transformRequest:s.transformRequest,transformResponse:s.transformResponse},a=r(e);f(i,e),i.headers=a,i.method=vr(i.method);var u=function(e){a=e.headers;var n=Yt(e.data,Xt(a),e.transformRequest);return m(n)&&o(a,function(e,t){"content-type"===pr(t)&&delete a[t]}),m(e.withCredentials)&&!m(s.withCredentials)&&(e.withCredentials=s.withCredentials),g(e,n,a).then(t,t)},c=[u,n],h=l.when(i);for(o(T,function(e){(e.request||e.requestError)&&c.unshift(e.request,e.requestError),(e.response||e.responseError)&&c.push(e.response,e.responseError)});c.length;){var p=c.shift(),d=c.shift();h=h.then(p,d)}return h.success=function(e){return h.then(function(t){e(t.data,t.status,t.headers,i)}),h},h.error=function(e){return h.then(null,function(t){e(t.data,t.status,t.headers,i)}),h},h}function d(){o(arguments,function(e){p[e]=function(t,n){return p(f(n||{},{method:e,url:t}))}})}function v(){o(arguments,function(e){p[e]=function(t,n,r){return p(f(r||{},{method:e,url:t,data:n}))}})}function g(r,o,a){function u(e,t,n,r){h&&(Gt(e)?h.put(x,[e,t,zt(n),r]):h.remove(x)),c(t,e,n,r),i.$$phase||i.$apply()}function c(e,t,n,i){t=Math.max(t,0),(Gt(t)?v.resolve:v.reject)({data:e,status:t,headers:Xt(n),config:r,statusText:i})}function f(){var e=M(p.pendingRequests,r);-1!==e&&p.pendingRequests.splice(e,1)}var h,d,v=l.defer(),g=v.promise,x=b(r.url,r.params);if(p.pendingRequests.push(r),g.then(f,f),!r.cache&&!s.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(h=y(r.cache)?r.cache:y(s.cache)?s.cache:S),h)if(d=h.get(x),$(d)){if(N(d))return d.then(f,f),d;Nr(d)?c(d[1],d[0],L(d[2]),d[3]):c(d,200,{},"OK")}else h.put(x,g);if(m(d)){var w=Hn(r.url)?t.cookies()[r.xsrfCookieName||s.xsrfCookieName]:n;w&&(a[r.xsrfHeaderName||s.xsrfHeaderName]=w),e(r.method,x,o,u,a,r.timeout,r.withCredentials,r.responseType)}return g}function b(e,t){if(!t)return e;var n=[];return a(t,function(e,t){null===e||m(e)||(Nr(e)||(e=[e]),o(e,function(e){y(e)&&(w(e)?e=e.toISOString():y(e)&&(e=U(e))),n.push(Q(t)+"="+Q(e))}))}),n.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var S=r("$http"),T=[];return o(u,function(e){T.unshift(x(e)?h.get(e):h.invoke(e))}),o(c,function(e,t){var n=x(e)?h.get(e):h.invoke(e);T.splice(t,0,{response:function(e){return n(l.when(e))},responseError:function(e){return n(l.reject(e))}})}),p.pendingRequests=[],d("get","delete","head","jsonp"),v("post","put"),p.defaults=s,p}]}function Jt(t){if(8>=$r&&(!t.match(/^(get|post|head|put|delete|options)$/i)||!e.XMLHttpRequest))return new e.ActiveXObject("Microsoft.XMLHTTP");if(e.XMLHttpRequest)return new e.XMLHttpRequest;throw r("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.")}function Kt(){this.$get=["$browser","$window","$document",function(e,t,n){return Zt(e,Jt,e.defer,t.angular.callbacks,n[0])}]}function Zt(e,t,n,r,i){function s(e,t,n){var o=i.createElement("script"),s=null;return o.type="text/javascript",o.src=e,o.async=!0,s=function(e){Rr(o,"load",s),Rr(o,"error",s),i.body.removeChild(o),o=null;var a=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,a="error"===e.type?404:200),n&&n(a,u)},Lr(o,"load",s),Lr(o,"error",s),8>=$r&&(o.onreadystatechange=function(){x(o.readyState)&&/loaded|complete/.test(o.readyState)&&(o.onreadystatechange=null,s({type:"load"}))}),i.body.appendChild(o),s}var a=-1;return function(i,u,c,l,f,h,p,v){function g(){y=a,b&&b(),w&&w.abort()}function m(t,r,i,o,s){S&&n.cancel(S),b=w=null,0===r&&(r=i?200:"file"==Rn(u).protocol?404:0),r=1223===r?204:r,s=s||"",t(r,i,o,s),e.$$completeOutstandingRequest(d)}var y;if(e.$$incOutstandingRequestCount(),u=u||e.url(),"jsonp"==pr(i)){var x="_"+(r.counter++).toString(36);r[x]=function(e){r[x].data=e,r[x].called=!0};var b=s(u.replace("JSON_CALLBACK","angular.callbacks."+x),x,function(e,t){m(l,e,r[x].data,"",t),r[x]=d})}else{var w=t(i);if(w.open(i,u,!0),o(f,function(e,t){$(e)&&w.setRequestHeader(t,e)}),w.onreadystatechange=function(){if(w&&4==w.readyState){var e=null,t=null,n="";y!==a&&(e=w.getAllResponseHeaders(),t="response"in w?w.response:w.responseText),y===a&&10>$r||(n=w.statusText),m(l,y||w.status,t,e,n)}},p&&(w.withCredentials=!0),v)try{w.responseType=v}catch(C){if("json"!==v)throw C}w.send(c||null)}if(h>0)var S=n(g,h);else N(h)&&h.then(g)}}function en(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(o,u,c){for(var l,f,h,p,d=0,v=[],g=o.length,m=!1,$=[];g>d;)-1!=(l=o.indexOf(e,d))&&-1!=(f=o.indexOf(t,l+s))?(d!=l&&v.push(o.substring(d,l)),v.push(h=n(p=o.substring(l+s,f))),h.exp=p,d=f+a,m=!0):(d!=g&&v.push(o.substring(d)),d=g);if((g=v.length)||(v.push(""),g=1),c&&v.length>1)throw ii("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);return!u||m?($.length=g,h=function(e){try{for(var t,n=0,s=g;s>n;n++){if("function"==typeof(t=v[n]))if(t=t(e),t=c?i.getTrusted(c,t):i.valueOf(t),null==t)t="";else switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=U(t)}$[n]=t}return $.join("")}catch(a){var u=ii("interr","Can't interpolate: {0}\n{1}",o,a.toString());r(u)}},h.exp=o,h.parts=v,h):void 0}var s=e.length,a=t.length;return o.startSymbol=function(){return e},o.endSymbol=function(){return t},o}]}function tn(){this.$get=["$rootScope","$window","$q",function(e,t,n){function r(r,o,s,a){var u=t.setInterval,c=t.clearInterval,l=n.defer(),f=l.promise,h=0,p=$(a)&&!a;return s=$(s)?s:0,f.then(null,null,r),f.$$intervalId=u(function(){l.notify(h++),s>0&&h>=s&&(l.resolve(h),c(f.$$intervalId),delete i[f.$$intervalId]),p||e.$apply()},o),i[f.$$intervalId]=l,f}var i={};return r.cancel=function(e){return e&&e.$$intervalId in i?(i[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete i[e.$$intervalId],!0):!1},r}]}function nn(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(e){return 1===e?"one":"other"}}}}function rn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=G(t[n]);return t.join("/")}function on(e,t,n){var r=Rn(e,n);t.$$protocol=r.protocol,t.$$host=r.hostname,t.$$port=h(r.port)||si[r.protocol]||null}function sn(e,t,n){var r="/"!==e.charAt(0);r&&(e="/"+e);var i=Rn(e,n);t.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),t.$$search=X(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function an(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function un(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function cn(e){return e.substr(0,un(e).lastIndexOf("/")+1)}function ln(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function fn(e,t){this.$$html5=!0,t=t||"";var r=cn(e);on(e,this,e),this.$$parse=function(t){var n=an(r,t);if(!x(n))throw ai("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,r);sn(n,this,e),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Y(this.$$search),t=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o,s;return(o=an(e,i))!==n?(s=o,(o=an(t,o))!==n?r+(an("/",o)||o):e+s):(o=an(r,i))!==n?r+o:r==i+"/"?r:void 0}}function hn(e,t){var n=cn(e);on(e,this,e),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o=an(e,r)||an(n,r),s="#"==o.charAt(0)?an(t,o):this.$$html5?o:"";if(!x(s))throw ai("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,t);sn(s,this,e),this.$$path=i(this.$$path,s,e),this.$$compose()},this.$$compose=function(){var n=Y(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$rewrite=function(t){return un(e)==un(t)?t:void 0}}function pn(e,t){this.$$html5=!0,hn.apply(this,arguments);var n=cn(e);this.$$rewrite=function(r){var i;return e==un(r)?r:(i=an(n,r))?e+t+i:n===r+"/"?n:void 0},this.$$compose=function(){var n=Y(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+t+this.$$url}}function dn(e){return function(){return this[e]}}function vn(e,t){return function(n){return m(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function gn(){var t="",n=!1;this.hashPrefix=function(e){return $(e)?(t=e,this):t},this.html5Mode=function(e){return $(e)?(n=e,this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,i,o,s){function a(e){r.$broadcast("$locationChangeSuccess",u.absUrl(),e)}var u,c,l,f=i.baseHref(),h=i.url();n?(l=ln(h)+(f||"/"),c=o.history?fn:pn):(l=un(h),c=hn),u=new c(l,"#"+t),u.$$parse(u.$$rewrite(h));var p=/^\s*(javascript|mailto):/i;s.on("click",function(n){if(!n.ctrlKey&&!n.metaKey&&2!=n.which){for(var o=yr(n.target);"a"!==pr(o[0].nodeName);)if(o[0]===s[0]||!(o=o.parent())[0])return;var a=o.prop("href");if(y(a)&&"[object SVGAnimatedString]"===a.toString()&&(a=Rn(a.animVal).href),!p.test(a)){if(c===pn){var f=o.attr("href")||o.attr("xlink:href");if(f&&f.indexOf("://")<0){var h="#"+t;if("/"==f[0])a=l+h+f;else if("#"==f[0])a=l+h+(u.path()||"/")+f;else{var d=u.path().split("/"),v=f.split("/");2!==d.length||d[1]||(d.length=1);for(var g=0;g1;u++){s=$n(a.shift(),i);var c=e[s];c||(c={},e[s]=c),e=c,e.then&&o.unwrapPromises&&(ui(i),"$$v"in e||!function(e){e.then(function(t){e.$$v=t})}(e),e.$$v===n&&(e.$$v={}),e=e.$$v)}return s=$n(a.shift(),i),yn(e,i),yn(e[s],i),e[s]=r,r}function wn(e,t,r,i,o,s,a){return $n(e,s),$n(t,s),$n(r,s),$n(i,s),$n(o,s),a.unwrapPromises?function(a,u){var c,l=u&&u.hasOwnProperty(e)?u:a;return null==l?l:(l=l[e],l&&l.then&&(ui(s),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),t?null==l?n:(l=l[t],l&&l.then&&(ui(s),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),r?null==l?n:(l=l[r],l&&l.then&&(ui(s),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),i?null==l?n:(l=l[i],l&&l.then&&(ui(s),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),o?null==l?n:(l=l[o],l&&l.then&&(ui(s),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),l):l):l):l):l)}:function(s,a){var u=a&&a.hasOwnProperty(e)?a:s;return null==u?u:(u=u[e],t?null==u?n:(u=u[t],r?null==u?n:(u=u[r],i?null==u?n:(u=u[i],o?null==u?n:u=u[o]:u):u):u):u)}}function Cn(e,t,r){if($i.hasOwnProperty(e))return $i[e];var i,s=e.split("."),a=s.length;if(t.csp)i=6>a?wn(s[0],s[1],s[2],s[3],s[4],r,t):function(e,i){var o,u=0;do o=wn(s[u++],s[u++],s[u++],s[u++],s[u++],r,t)(e,i),i=n,e=o;while(a>u);return o};else{var u="var p;\n";o(s,function(e,n){$n(e,r),u+="if(s == null) return undefined;\ns="+(n?"s":'((k&&k.hasOwnProperty("'+e+'"))?k:s)')+'["'+e+'"];\n'+(t.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")}),u+="return s;";var c=new Function("s","k","pw",u);c.toString=g(u),i=t.unwrapPromises?function(e,t){return c(e,t,ui)}:c}return"hasOwnProperty"!==e&&($i[e]=i),i}function Sn(){var e={},t={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(e){return $(e)?(t.unwrapPromises=!!e,this):t.unwrapPromises},this.logPromiseWarnings=function(e){return $(e)?(t.logPromiseWarnings=e,this):t.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return t.csp=r.csp,ui=function(e){t.logPromiseWarnings&&!li.hasOwnProperty(e)&&(li[e]=!0,i.warn("[$parse] Promise found in the expression `"+e+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var i;switch(typeof r){case"string":if(e.hasOwnProperty(r))return e[r];var o=new gi(t),s=new mi(o,n,t);return i=s.parse(r),"hasOwnProperty"!==r&&(e[r]=i),i;case"function":return r;default:return d}}}]}function Tn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return kn(function(t){e.$evalAsync(t)},t)}]}function kn(e,t){function r(e){return e}function i(e){return c(e)}function s(e){var t=a(),n=0,r=Nr(e)?[]:{};return o(e,function(e,i){n++,u(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var a=function(){var o,s,c=[];return s={resolve:function(t){if(c){var r=c;c=n,o=u(t),r.length&&e(function(){for(var e,t=0,n=r.length;n>t;t++)e=r[t],o.then(e[0],e[1],e[2])})}},reject:function(e){s.resolve(l(e))},notify:function(t){if(c){var n=c;c.length&&e(function(){for(var e,r=0,i=n.length;i>r;r++)e=n[r],e[2](t)})}},promise:{then:function(e,n,s){var u=a(),l=function(n){try{u.resolve((C(e)?e:r)(n))}catch(i){u.reject(i),t(i)}},f=function(e){try{u.resolve((C(n)?n:i)(e))}catch(r){u.reject(r),t(r)}},h=function(e){try{u.notify((C(s)?s:r)(e))}catch(n){t(n)}};return c?c.push([l,f,h]):o.then(l,f,h),u.promise},"catch":function(e){return this.then(null,e)},"finally":function(e){function t(e,t){var n=a();return t?n.resolve(e):n.reject(e),n.promise}function n(n,i){var o=null;try{o=(e||r)()}catch(s){return t(s,!1)}return N(o)?o.then(function(){return t(n,i)},function(e){return t(e,!1)}):t(n,i)}return this.then(function(e){return n(e,!0)},function(e){return n(e,!1)})}}}},u=function(t){return N(t)?t:{then:function(n){var r=a();return e(function(){r.resolve(n(t))}),r.promise}}},c=function(e){var t=a();return t.reject(e),t.promise},l=function(n){return{then:function(r,o){var s=a();return e(function(){try{s.resolve((C(o)?o:i)(n))}catch(e){s.reject(e),t(e)}}),s.promise}}},f=function(n,o,s,l){var f,h=a(),p=function(e){try{return(C(o)?o:r)(e)}catch(n){return t(n),c(n)}},d=function(e){try{return(C(s)?s:i)(e)}catch(n){return t(n),c(n)}},v=function(e){try{return(C(l)?l:r)(e)}catch(n){t(n)}};return e(function(){u(n).then(function(e){f||(f=!0,h.resolve(u(e).then(p,d,v)))},function(e){f||(f=!0,h.resolve(d(e)))},function(e){f||h.notify(v(e))})}),h.promise};return{defer:a,reject:c,when:f,all:s}}function En(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function An(){var e=10,t=r("$rootScope"),n=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,s,a,u){function l(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function f(e){if(m.$$phase)throw t("inprog","{0} already in progress",m.$$phase);m.$$phase=e}function h(){m.$$phase=null}function p(e,t){var n=a(e);return nt(n,t),n}function v(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function g(){}l.prototype={constructor:l,$new:function(e){var t;return e?(t=new l,t.$root=this.$root,t.$$asyncQueue=this.$$asyncQueue,t.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=c(),this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),t=new this.$$childScopeClass),t["this"]=t,t.$parent=this,t.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=t,this.$$childTail=t):this.$$childHead=this.$$childTail=t,t},$watch:function(e,t,r){var i=this,o=p(e,"watch"),s=i.$$watchers,a={fn:t,last:g,get:o,exp:e,eq:!!r};if(n=null,!C(t)){var u=p(t||d,"listener");a.fn=function(e,t,n){u(n)}}if("string"==typeof e&&o.constant){var c=a.fn;a.fn=function(e,t,n){c.call(this,e,t,n),P(s,a)}}return s||(s=i.$$watchers=[]),s.unshift(a),function(){P(s,a),n=null}},$watchCollection:function(e,t){function n(){o=h(c);var e,t,n;if(y(o))if(i(o)){s!==p&&(s=p,g=s.length=0,f++),e=o.length,g!==e&&(f++,s.length=g=e);for(var r=0;e>r;r++)n=s[r]!==s[r]&&o[r]!==o[r],n||s[r]===o[r]||(f++,s[r]=o[r])}else{s!==d&&(s=d={},g=0,f++),e=0;for(t in o)o.hasOwnProperty(t)&&(e++,s.hasOwnProperty(t)?(n=s[t]!==s[t]&&o[t]!==o[t],n||s[t]===o[t]||(f++,s[t]=o[t])):(g++,s[t]=o[t],f++));if(g>e){f++;for(t in s)s.hasOwnProperty(t)&&!o.hasOwnProperty(t)&&(g--,delete s[t])}}else s!==o&&(s=o,f++);return f}function r(){if(v?(v=!1,t(o,o,c)):t(o,u,c),l)if(y(o))if(i(o)){u=new Array(o.length);for(var e=0;e1,f=0,h=a(e),p=[],d={},v=!0,g=0;return this.$watch(n,r)},$digest:function(){var r,i,o,a,u,c,l,p,d,v,m,$=this.$$asyncQueue,y=this.$$postDigestQueue,x=e,b=this,w=[];f("$digest"),n=null;do{for(c=!1,p=b;$.length;){try{m=$.shift(),m.scope.$eval(m.expression)}catch(S){h(),s(S)}n=null}e:do{if(a=p.$$watchers)for(u=a.length;u--;)try{if(r=a[u])if((i=r.get(p))===(o=r.last)||(r.eq?R(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){c=!1;break e}}else c=!0,n=r,r.last=r.eq?q(i,null):i,r.fn(i,o===g?i:o,p),5>x&&(d=4-x,w[d]||(w[d]=[]),v=C(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,v+="; newVal: "+U(i)+"; oldVal: "+U(o),w[d].push(v))}catch(S){h(),s(S)}if(!(l=p.$$childHead||p!==b&&p.$$nextSibling))for(;p!==b&&!(l=p.$$nextSibling);)p=p.$parent}while(p=l);if((c||$.length)&&!x--)throw h(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,U(w))}while(c||$.length);for(h();y.length;)try{y.shift()()}catch(S){s(S)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==m&&(o(this.$$listenerCount,_(null,v,this)),e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=d,this.$on=this.$watch=function(){return d})}},$eval:function(e,t){return a(e)(this,t)},$evalAsync:function(e){m.$$phase||m.$$asyncQueue.length||u.defer(function(){m.$$asyncQueue.length&&m.$digest()}),this.$$asyncQueue.push({scope:this,expression:e})},$$postDigest:function(e){this.$$postDigestQueue.push(e)},$apply:function(e){try{return f("$apply"),this.$eval(e)}catch(t){s(t)}finally{h();try{m.$digest()}catch(t){throw s(t),t}}},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){n[M(n,t)]=null,v(i,1,e)}},$emit:function(e){var t,n,r,i=[],o=this,a=!1,u={name:e,targetScope:o,stopPropagation:function(){a=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=H([u],arguments,1);do{for(t=o.$$listeners[e]||i,u.currentScope=o,n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,c)}catch(l){s(l)}else t.splice(n,1),n--,r--;if(a)return u;o=o.$parent}while(o);return u},$broadcast:function(e){for(var t,n,r,i=this,o=i,a=i,u={name:e,targetScope:i,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=H([u],arguments,1);o=a;){for(u.currentScope=o,t=o.$$listeners[e]||[],n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,c)}catch(l){s(l)}else t.splice(n,1),n--,r--;if(!(a=o.$$listenerCount[e]&&o.$$childHead||o!==i&&o.$$nextSibling))for(;o!==i&&!(a=o.$$nextSibling);)o=o.$parent}return u}};var m=new l;return m}]}function Nn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return $r&&!($r>=8)||(i=Rn(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function jn(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#-1)throw yi("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=jn(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw yi("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Dn(e){var t=[];return $(e)&&o(e,function(e){t.push(On(e))}),t}function Mn(){this.SCE_CONTEXTS=xi;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Dn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Dn(e)),t},this.$get=["$injector",function(r){function i(e,t){return"self"===e?Hn(t):!!e.exec(t.href)}function o(n){var r,o,s=Rn(n.toString()),a=!1;for(r=0,o=e.length;o>r;r++)if(i(e[r],s)){a=!0;break}if(a)for(r=0,o=t.length;o>r;r++)if(i(t[r],s)){a=!1;break}return a}function s(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var r=h.hasOwnProperty(e)?h[e]:null;if(!r)throw yi("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw yi("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new r(t)}function u(e){return e instanceof f?e.$$unwrapTrustedValue():e}function c(e,t){if(null===t||t===n||""===t)return t;var r=h.hasOwnProperty(e)?h[e]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(e===xi.RESOURCE_URL){if(o(t))return t;throw yi("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===xi.HTML)return l(t);throw yi("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw yi("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(l=r.get("$sanitize"));var f=s(),h={};return h[xi.HTML]=s(f),h[xi.CSS]=s(f),h[xi.URL]=s(f),h[xi.JS]=s(f),h[xi.RESOURCE_URL]=s(h[xi.URL]),{trustAs:a,getTrusted:c,valueOf:u}}]}function Pn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sniffer","$sceDelegate",function(t,n,r){if(e&&n.msie&&n.msieDocumentMode<8)throw yi("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=L(xi);i.isEnabled=function(){return e},i.trustAs=r.trustAs,i.getTrusted=r.getTrusted,i.valueOf=r.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=v),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:function(t,n){return i.getTrusted(e,r(t,n))}};var s=i.parseAs,a=i.getTrusted,u=i.trustAs;return o(xi,function(e,t){var n=pr(t);i[ct("parse_as_"+n)]=function(t){return s(e,t)},i[ct("get_trusted_"+n)]=function(t){return a(e,t)},i[ct("trust_as_"+n)]=function(t){return u(e,t) }}),i}]}function qn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=h((/android (\d+)/.exec(pr((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),a=t[0]||{},u=a.documentMode,c=/^(Moz|webkit|O|ms)(?=[A-Z])/,l=a.body&&a.body.style,f=!1,p=!1;if(l){for(var d in l)if(r=c.exec(d)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),f=!!("transition"in l||n+"Transition"in l),p=!!("animation"in l||n+"Animation"in l),!o||f&&p||(f=x(a.body.style.webkitTransition),p=x(a.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||s),hashchange:"onhashchange"in e&&(!u||u>7),hasEvent:function(e){if("input"==e&&9==$r)return!1;if(m(i[e])){var t=a.createElement("div");i[e]="on"+e in t}return i[e]},csp:Or(),vendorPrefix:n,transitions:f,animations:p,android:o,msie:$r,msieDocumentMode:u}}]}function Ln(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(e,t,n,r){function i(i,s,a){var u,c=n.defer(),l=c.promise,f=$(a)&&!a;return u=t.defer(function(){try{c.resolve(i())}catch(t){c.reject(t),r(t)}finally{delete o[l.$$timeoutId]}f||e.$apply()},s),l.$$timeoutId=u,o[u]=c,l}var o={};return i.cancel=function(e){return e&&e.$$timeoutId in o?(o[e.$$timeoutId].reject("canceled"),delete o[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},i}]}function Rn(e){var t=e;return $r&&(bi.setAttribute("href",t),t=bi.href),bi.setAttribute("href",t),{href:bi.href,protocol:bi.protocol?bi.protocol.replace(/:$/,""):"",host:bi.host,search:bi.search?bi.search.replace(/^\?/,""):"",hash:bi.hash?bi.hash.replace(/^#/,""):"",hostname:bi.hostname,port:bi.port,pathname:"/"===bi.pathname.charAt(0)?bi.pathname:"/"+bi.pathname}}function Hn(e){var t=x(e)?Rn(e):e;return t.protocol===wi.protocol&&t.host===wi.host}function Fn(){this.$get=g(e)}function _n(e){function t(r,i){if(y(r)){var s={};return o(r,function(e,n){s[n]=t(n,e)}),s}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Un),t("date",Qn),t("filter",In),t("json",Jn),t("limitTo",Kn),t("lowercase",Ei),t("number",Vn),t("orderBy",Zn),t("uppercase",Ai)}function In(){return function(e,t,n){if(!Nr(e))return e;var r=typeof n,i=[];i.check=function(e){for(var t=0;t-1});var o=function(e,t){if("string"==typeof t&&"!"===t.charAt(0))return!o(e,t.substr(1));switch(typeof e){case"boolean":case"number":case"string":return n(e,t);case"object":switch(typeof t){case"object":return n(e,t);default:for(var r in e)if("$"!==r.charAt(0)&&o(e[r],t))return!0}return!1;case"array":for(var i=0;ie;e=Math.abs(e);var s=e+"",a="",u=[],c=!1;if(-1!==s.indexOf("e")){var l=s.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>i+1?(s="0",e=0):(a=s,c=!0)}if(c)i>0&&e>-1&&1>e&&(a=e.toFixed(i));else{var f=(s.split(Ci)[1]||"").length;m(i)&&(i=Math.min(Math.max(t.minFrac,f),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i);var h=(""+e).split(Ci),p=h[0];h=h[1]||"";var d,v=0,g=t.lgSize,$=t.gSize;if(p.length>=g+$)for(v=p.length-g,d=0;v>d;d++)(v-d)%$===0&&0!==d&&(a+=n),a+=p.charAt(d);for(d=v;de&&(r="-",e=-e),e=""+e;e.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),Wn(o,t,r)}}function Xn(e,t){return function(n,r){var i=n["get"+e](),o=vr(t?"SHORT"+e:e);return r[o][i]}}function Yn(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=Wn(Math[t>0?"floor":"ceil"](t/60),2)+Wn(Math.abs(t%60),2)}function Gn(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Qn(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,s=t[8]?r.setUTCFullYear:r.setFullYear,a=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=h(t[9]+t[10]),o=h(t[9]+t[11])),s.call(r,h(t[1]),h(t[2])-1,h(t[3]));var u=h(t[4]||0)-i,c=h(t[5]||0)-o,l=h(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return a.call(r,u,c,l,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r){var i,s,a="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,x(n)&&(n=ki.test(n)?h(n):t(n)),b(n)&&(n=new Date(n)),!w(n))return n;for(;r;)s=Ti.exec(r),s?(u=H(u,s,1),r=u.pop()):(u.push(r),r=null);return o(u,function(t){i=Si[t],a+=i?i(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),a}}function Jn(){return function(e){return U(e,!0)}}function Kn(){return function(e,t){if(!Nr(e)&&!x(e))return e;if(t=1/0===Math.abs(Number(t))?Number(t):h(t),x(e))return t?t>=0?e.slice(0,t):e.slice(t,e.length):"";var n,r,i=[];for(t>e.length?t=e.length:t<-e.length&&(t=-e.length),t>0?(n=0,r=t):(n=e.length+t,r=e.length);r>n;n++)i.push(e[n]);return i}}function Zn(e){return function(t,n,r){function i(e,t){for(var r=0;re?-1:1):r>n?-1:1}if(!Nr(t))return t;if(!n)return t;n=Nr(n)?n:[n],n=O(n,function(t){var n=!1,r=t||v;if(x(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),r=e(t),r.constant)){var i=r();return o(function(e,t){return s(e[i],t[i])},n)}return o(function(e,t){return s(r(e),r(t))},n)});for(var a=[],u=0;u15&&19>t||t>=37&&40>=t||v()}),o.hasEvent("paste")&&t.on("paste cut",v)}t.on("change",p),i.$render=function(){t.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var g,m,$=n.ngPattern;if($){var y=function(e,t){return nr(i,"pattern",i.$isEmpty(t)||e.test(t),t)};m=$.match(/^\/(.*)\/([gim]*)$/),m?($=new RegExp(m[1],m[2]),g=function(e){return y($,e)}):g=function(n){var i=e.$eval($);if(!i||!i.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",$,i,W(t));return y(i,n)},i.$formatters.push(g),i.$parsers.push(g)}if(n.ngMinlength){var x=h(n.ngMinlength),b=function(e){return nr(i,"minlength",i.$isEmpty(e)||e.length>=x,e)};i.$parsers.push(b),i.$formatters.push(b)}if(n.ngMaxlength){var w=h(n.ngMaxlength),C=function(e){return nr(i,"maxlength",i.$isEmpty(e)||e.length<=w,e)};i.$parsers.push(C),i.$formatters.push(C)}}function sr(e,t,r,i,o,s){if(or(e,t,r,i,o,s),i.$parsers.push(function(e){var t=i.$isEmpty(e);return t||Ri.test(e)?(i.$setValidity("number",!0),""===e?null:t?e:parseFloat(e)):(i.$setValidity("number",!1),n)}),ir(i,"number",Fi,null,i.$$validityState),i.$formatters.push(function(e){return i.$isEmpty(e)?"":""+e}),r.min){var a=function(e){var t=parseFloat(r.min);return nr(i,"min",i.$isEmpty(e)||e>=t,e)};i.$parsers.push(a),i.$formatters.push(a)}if(r.max){var u=function(e){var t=parseFloat(r.max);return nr(i,"max",i.$isEmpty(e)||t>=e,e)};i.$parsers.push(u),i.$formatters.push(u)}i.$formatters.push(function(e){return nr(i,"number",i.$isEmpty(e)||b(e),e)})}function ar(e,t,n,r,i,o){or(e,t,n,r,i,o);var s=function(e){return nr(r,"url",r.$isEmpty(e)||qi.test(e),e)};r.$formatters.push(s),r.$parsers.push(s)}function ur(e,t,n,r,i,o){or(e,t,n,r,i,o);var s=function(e){return nr(r,"email",r.$isEmpty(e)||Li.test(e),e)};r.$formatters.push(s),r.$parsers.push(s)}function cr(e,t,n,r){m(n.name)&&t.attr("name",c()),t.on("click",function(){t[0].checked&&e.$apply(function(){r.$setViewValue(n.value)})}),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function lr(e,t,n,r){var i=n.ngTrueValue,o=n.ngFalseValue;x(i)||(i=!0),x(o)||(o=!1),t.on("click",function(){e.$apply(function(){r.$setViewValue(t[0].checked)})}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e!==i},r.$formatters.push(function(e){return e===i}),r.$parsers.push(function(e){return e?i:o})}function fr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),a.data("$classCounts",n),r.join(" ")}function h(e,t){var i=r(t,e),o=r(e,t);o=f(o,-1),i=f(i,1),0===i.length?n.removeClass(a,o):0===o.length?n.addClass(a,i):n.setClass(a,i,o)}function p(e){if(t===!0||s.$index%2===t){var n=i(e||[]);if(d){if(!R(e,d)){var r=i(d);h(r,n)}}else c(n)}d=L(e)}var d;s.$watch(u[e],p,!0),u.$observe("class",function(){p(s.$eval(u[e]))}),"ngClass"!==e&&s.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var a=i(s.$eval(u[e]));o===t?c(a):l(a)}})}}}]}var hr="validity",pr=function(e){return x(e)?e.toLowerCase():e},dr=Object.prototype.hasOwnProperty,vr=function(e){return x(e)?e.toUpperCase():e},gr=function(e){return x(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},mr=function(e){return x(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(pr=gr,vr=mr);var $r,yr,xr,br,wr,Cr=[].slice,Sr=[].push,Tr=Object.prototype.toString,kr=r("ng"),Er=e.angular||(e.angular={}),Ar=["0","0","0"];$r=h((/msie (\d+)/.exec(pr(navigator.userAgent))||[])[1]),isNaN($r)&&($r=h((/trident\/.*; rv:(\d+)/.exec(pr(navigator.userAgent))||[])[1])),d.$inject=[],v.$inject=[];var Nr=function(){return C(Array.isArray)?Array.isArray:function(e){return"[object Array]"===Tr.call(e)}}(),jr=function(){return String.prototype.trim?function(e){return x(e)?e.trim():e}:function(e){return x(e)?e.replace(/^\s\s*/,"").replace(/\s\s*$/,""):e}}();wr=9>$r?function(e){return e=e.nodeName?e:e[0],e.scopeName&&"HTML"!=e.scopeName?vr(e.scopeName+":"+e.nodeName):e.nodeName}:function(e){return e.nodeName?e.nodeName:e[0].nodeName};var Or=function(){if($(Or.isActive_))return Or.isActive_;var e=!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"));if(!e)try{new Function("")}catch(n){e=!0}return Or.isActive_=e},Dr=/[A-Z]/g,Mr={full:"1.2.23",major:1,minor:2,dot:23,codeName:"superficial-malady"};dt.expando="ng339";var Pr=dt.cache={},qr=1,Lr=e.document.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},Rr=e.document.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)},Hr=(dt._data=function(e){return this.cache[e[this.expando]]||{}},/([\:\-\_]+(.))/g),Fr=/^moz([A-Z])/,_r=r("jqLite"),Ir=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Ur=/<|&#?\w+;/,Vr=/<([\w:]+)/,Br=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Wr={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Wr.optgroup=Wr.option,Wr.tbody=Wr.tfoot=Wr.colgroup=Wr.caption=Wr.thead,Wr.th=Wr.td;var zr=dt.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),dt(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return yr(e>=0?this[e]:this[this.length+e])},length:0,push:Sr,sort:[].sort,splice:[].splice},Xr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Xr[pr(e)]=e});var Yr={};o("input,select,option,textarea,button,form,details".split(","),function(e){Yr[vr(e)]=!0}),o({data:xt,removeData:$t},function(e,t){dt[t]=e}),o({data:xt,inheritedData:kt,scope:function(e){return yr.data(e,"$scope")||kt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return yr.data(e,"$isolateScope")||yr.data(e,"$isolateScopeNoTemplate")},controller:Tt,injector:function(e){return kt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:bt,css:function(e,t,r){if(t=ct(t),!$(r)){var i;return 8>=$r&&(i=e.currentStyle&&e.currentStyle[t],""===i&&(i="auto")),i=i||e.style[t],8>=$r&&(i=""===i?n:i),i}e.style[t]=r},attr:function(e,t,r){var i=pr(t);if(Xr[i]){if(!$(r))return e[t]||(e.attributes.getNamedItem(t)||d).specified?i:n;r?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(r))e.setAttribute(t,r);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?n:o}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,n){var r=t[e.nodeType];return m(n)?r?e[r]:"":void(e[r]=n)}var t=[];return 9>$r?(t[1]="innerText",t[3]="nodeValue"):t[1]=t[3]="textContent",e.$dv="",e}(),val:function(e,t){if(m(t)){if("SELECT"===wr(e)&&e.multiple){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(m(t))return e.innerHTML;for(var n=0,r=e.childNodes;ni;i++)if(e===xt)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}for(var a=e.$dv,u=a===n?Math.min(s,1):s,c=0;u>c;c++){var l=e(this[c],t,r);a=a?a+l:l}return a}for(i=0;s>i;i++)e(this[i],t,r);return this}}),o({removeData:$t,dealoc:gt,on:function Ao(e,n,r,i){if($(i))throw _r("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var s=yt(e,"events"),a=yt(e,"handle");s||yt(e,"events",s={}),a||yt(e,"handle",a=Nt(e,s)),o(n.split(" "),function(n){var i=s[n];if(!i){if("mouseenter"==n||"mouseleave"==n){var o=t.body.contains||t.body.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1};s[n]=[];var u={mouseleave:"mouseout",mouseenter:"mouseover"};Ao(e,u[n],function(e){var t=this,r=e.relatedTarget;(!r||r!==t&&!o(t,r))&&a(e,n)})}else Lr(e,n,a),s[n]=[];i=s[n]}i.push(r)})},off:mt,one:function(e,t,n){e=yr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;gt(e),o(new dt(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){o(new dt(t),function(t){(1===e.nodeType||11===e.nodeType)&&e.appendChild(t)})},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;o(new dt(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=yr(t)[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:function(e){gt(e);var t=e.parentNode;t&&t.removeChild(e)},after:function(e,t){var n=e,r=e.parentNode;o(new dt(t),function(e){r.insertBefore(e,n.nextSibling),n=e})},addClass:Ct,removeClass:wt,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;m(r)&&(r=!bt(e,t)),(r?Ct:wt)(e,t)})},parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},next:function(e){if(e.nextElementSibling)return e.nextElementSibling;for(var t=e.nextSibling;null!=t&&1!==t.nodeType;)t=t.nextSibling;return t},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:vt,triggerHandler:function(e,t,n){var r,i,s,a=t.type||t,u=(yt(e,"events")||{})[a];u&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopPropagation:d,type:a,target:e},t.type&&(r=f(r,t)),i=L(u),s=n?[r].concat(n):[r],o(i,function(t){t.apply(e,s)}))}},function(e,t){dt.prototype[t]=function(t,n,r){for(var i,o=0;o":function(e,t,n,r){return n(e,t)>r(e,t)},"<=":function(e,t,n,r){return n(e,t)<=r(e,t)},">=":function(e,t,n,r){return n(e,t)>=r(e,t)},"&&":function(e,t,n,r){return n(e,t)&&r(e,t)},"||":function(e,t,n,r){return n(e,t)||r(e,t)},"&":function(e,t,n,r){return n(e,t)&r(e,t)},"|":function(e,t,n,r){return r(e,t)(e,t,n(e,t))},"!":function(e,t,n){return!n(e,t)}},vi={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},gi=function(e){this.options=e};gi.prototype={constructor:gi,lex:function(e){for(this.text=e,this.index=0,this.ch=n,this.lastCh=":",this.tokens=[];this.index="0"&&"9">=e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||" "===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw ci("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0){var i=this.tokens[0],o=i.text;if(o===e||o===t||o===n||o===r||!e&&!t&&!n&&!r)return i}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},consume:function(e){this.expect(e)||this.throwError("is unexpected, expecting ["+e+"]",this.peek())},unaryFn:function(e,t){return f(function(n,r){return e(n,r,t)},{constant:t.constant})},ternaryFn:function(e,t,n){return f(function(r,i){return e(r,i)?t(r,i):n(r,i)},{constant:e.constant&&t.constant&&n.constant})},binaryFn:function(e,t,n){return f(function(r,i){return t(r,i,e,n)},{constant:e.constant&&n.constant})},statements:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.filterChain()),!this.expect(";"))return 1===e.length?e[0]:function(t,n){for(var r,i=0;i","<=",">="))&&(t=this.binaryFn(t,e.fn,this.relational())),t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.fn,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.fn,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(mi.ZERO,e.fn,this.unary()):(e=this.expect("!"))?this.unaryFn(e.fn,this.unary()):this.primary()},fieldAccess:function(e){var t=this,n=this.expect().text,r=Cn(n,this.options,this.text);return f(function(t,n,i){return r(i||e(t,n))},{assign:function(r,i,o){var s=e(r,o);return s||e.assign(r,s={}),bn(s,n,i,t.text,t.options)}})},objectIndex:function(e){var t=this,r=this.expression();return this.consume("]"),f(function(i,o){var s,a,u=e(i,o),c=r(i,o);return $n(c,t.text),u?(s=yn(u[c],t.text),s&&s.then&&t.options.unwrapPromises&&(a=s,"$$v"in s||(a.$$v=n,a.then(function(e){a.$$v=e})),s=s.$$v),s):n},{assign:function(n,i,o){var s=$n(r(n,o),t.text),a=yn(e(n,o),t.text);return a||e.assign(n,a={}),a[s]=i}})},functionCall:function(e,t){var n=[];if(")"!==this.peekToken().text)do n.push(this.expression());while(this.expect(","));this.consume(")");var r=this;return function(i,o){for(var s=[],a=t?t(i,o):i,u=0;u=$r&&(n.href||n.name||n.$set("href",""),e.append(t.createComment("IE fix"))),n.href||n.xlinkHref||n.name?void 0:function(e,t){var n="[object SVGAnimatedString]"===Tr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}),ji={};o(Xr,function(e,t){if("multiple"!=e){var n=It("ng-"+t);ji[n]=function(){return{priority:100,link:function(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}}}}),o(["src","srcset","href"],function(e){var t=It("ng-"+e);ji[t]=function(){return{priority:99,link:function(n,r,i){var o=e,s=e;"href"===e&&"[object SVGAnimatedString]"===Tr.call(r.prop("href"))&&(s="xlinkHref",i.$attr[s]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(s,t),void($r&&o&&r.prop(o,i[s]))):void("href"===e&&i.$set(s,null))})}}}});var Oi={$addControl:d,$removeControl:d,$setValidity:d,$setDirty:d,$setPristine:d};tr.$inject=["$element","$attrs","$scope","$animate"];var Di=function(e){return["$timeout",function(t){var r={name:"form",restrict:e?"EAC":"E",controller:tr,compile:function(){return{pre:function(e,r,i,o){if(!i.action){var s=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};Lr(r[0],"submit",s),r.on("$destroy",function(){t(function(){Rr(r[0],"submit",s)},0,!1)})}var a=r.parent().controller("form"),u=i.name||i.ngForm;u&&bn(e,u,o,u),a&&r.on("$destroy",function(){a.$removeControl(o),u&&bn(e,u,n,u),f(o,Oi)})}}}};return r}]},Mi=Di(),Pi=Di(!0),qi=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Li=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Ri=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Hi={text:or,number:sr,url:ar,email:ur,radio:cr,checkbox:lr,hidden:d,button:d,submit:d,reset:d,file:d},Fi=["badInput"],_i=["$browser","$sniffer",function(e,t){return{restrict:"E",require:"?ngModel",link:function(n,r,i,o){o&&(Hi[pr(i.type)]||Hi.text)(n,r,i,o,t,e)}}}],Ii="ng-valid",Ui="ng-invalid",Vi="ng-pristine",Bi="ng-dirty",Wi=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(e,t,n,i,s,a){function u(e,t){t=t?"-"+Z(t,"-"):"",a.removeClass(i,(e?Ui:Ii)+t),a.addClass(i,(e?Ii:Ui)+t)}this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=n.name;var c=s(n.ngModel),l=c.assign;if(!l)throw r("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,W(i));this.$render=d,this.$isEmpty=function(e){return m(e)||""===e||null===e||e!==e};var f=i.inheritedData("$formController")||Oi,h=0,p=this.$error={};i.addClass(Vi),u(!0),this.$setValidity=function(e,t){p[e]!==!t&&(t?(p[e]&&h--,h||(u(!0),this.$valid=!0,this.$invalid=!1)):(u(!1),this.$invalid=!0,this.$valid=!1,h++),p[e]=!t,u(t,e),f.$setValidity(e,t,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,a.removeClass(i,Bi),a.addClass(i,Vi)},this.$setViewValue=function(n){this.$viewValue=n,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,a.removeClass(i,Vi),a.addClass(i,Bi),f.$setDirty()),o(this.$parsers,function(e){n=e(n)}),this.$modelValue!==n&&(this.$modelValue=n,l(e,n),o(this.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}}))};var v=this;e.$watch(function(){var t=c(e);if(v.$modelValue!==t){var n=v.$formatters,r=n.length;for(v.$modelValue=t;r--;)t=n[r](t);v.$viewValue!==t&&(v.$viewValue=t,v.$render())}return t})}],zi=function(){return{require:["ngModel","^?form"],controller:Wi,link:function(e,t,n,r){var i=r[0],o=r[1]||Oi;o.$addControl(i),e.$on("$destroy",function(){o.$removeControl(i)})}}},Xi=g({require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Yi=function(){return{require:"?ngModel",link:function(e,t,n,r){if(r){n.required=!0;var i=function(e){return n.required&&r.$isEmpty(e)?void r.$setValidity("required",!1):(r.$setValidity("required",!0),e)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},Gi=function(){return{require:"ngModel",link:function(e,t,r,i){var s=/\/(.*)\//.exec(r.ngList),a=s&&new RegExp(s[1])||r.ngList||",",u=function(e){if(!m(e)){var t=[];return e&&o(e.split(a),function(e){e&&t.push(jr(e))}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Nr(e)?e.join(", "):n}),i.$isEmpty=function(e){return!e||!e.length}}}},Qi=/^(true|false|\d+)$/,Ji=function(){return{priority:100,compile:function(e,t){return Qi.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ki=er({compile:function(e){return e.addClass("ng-binding"),function(e,t,r){t.data("$binding",r.ngBind),e.$watch(r.ngBind,function(e){t.text(e==n?"":e)})}}}),Zi=["$interpolate",function(e){return function(t,n,r){var i=e(n.attr(r.$attr.ngBindTemplate));n.addClass("ng-binding").data("$binding",i),r.$observe("ngBindTemplate",function(e){n.text(e)})}}],eo=["$sce","$parse",function(e,t){return{compile:function(n){return n.addClass("ng-binding"),function(n,r,i){function o(){return(s(n)||"").toString()}r.data("$binding",i.ngBindHtml);var s=t(i.ngBindHtml);n.$watch(o,function(){r.html(e.getTrustedHtml(s(n))||"")})}}}}],to=fr("",!0),no=fr("Odd",0),ro=fr("Even",1),io=er({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),oo=[function(){return{scope:!0,controller:"@",priority:500}}],so={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=It("ng-"+e);so[t]=["$parse",function(n){return{compile:function(r,i){var o=n(i[t]);return function(t,n){n.on(pr(e),function(e){t.$apply(function(){o(t,{$event:e})})})}}}}]});var ao=["$animate",function(e){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,s){var a,u,c;n.$watch(i.ngIf,function(o){B(o)?u||(u=n.$new(),s(u,function(n){n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),a={clone:n},e.enter(n,r.parent(),r)})):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),a&&(c=ot(a.clone),e.leave(c,function(){c=null}),a=null))})}}}],uo=["$http","$templateCache","$anchorScroll","$animate","$sce",function(e,t,n,r,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Er.noop,compile:function(o,s){var a=s.ngInclude||s.src,u=s.onload||"",c=s.autoscroll;return function(o,s,l,f,h){var p,d,v,g=0,m=function(){d&&(d.remove(),d=null),p&&(p.$destroy(),p=null),v&&(r.leave(v,function(){d=null}),d=v,v=null)};o.$watch(i.parseAsResourceUrl(a),function(i){var a=function(){!$(c)||c&&!o.$eval(c)||n()},l=++g;i?(e.get(i,{cache:t}).success(function(e){if(l===g){var t=o.$new();f.template=e;var n=h(t,function(e){m(),r.enter(e,null,s,a)});p=t,v=n,p.$emit("$includeContentLoaded"),o.$eval(u)}}).error(function(){l===g&&m()}),o.$emit("$includeContentRequested")):(m(),f.template=null)})}}}}],co=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,n,r,i){n.html(i.template),e(n.contents())(t)}}}],lo=er({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),fo=er({terminal:!0,priority:1e3}),ho=["$locale","$interpolate",function(e,t){var n=/{}/g;return{restrict:"EA",link:function(r,i,s){var a=s.count,u=s.$attr.when&&i.attr(s.$attr.when),c=s.offset||0,l=r.$eval(u)||{},f={},h=t.startSymbol(),p=t.endSymbol(),d=/^when(Minus)?(.+)$/;o(s,function(e,t){d.test(t)&&(l[pr(t.replace("when","").replace("Minus","-"))]=i.attr(s.$attr[t]))}),o(l,function(e,r){f[r]=t(e.replace(n,h+a+"-"+c+p))}),r.$watch(function(){var t=parseFloat(r.$eval(a));return isNaN(t)?"":(t in l||(t=e.pluralCat(t-c)),f[t](r,i,!0))},function(e){i.text(e)})}}}],po=["$parse","$animate",function(e,n){function s(e){return e.clone[0]}function a(e){return e.clone[e.clone.length-1]}var u="$$NG_REMOVED",c=r("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(r,l,f,h,p){var d,v,g,m,$,y,x,b,w,C=f.ngRepeat,S=C.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),T={$id:jt};if(!S)throw c("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",C);if(y=S[1],x=S[2],d=S[3],d?(v=e(d),g=function(e,t,n){return w&&(T[w]=e),T[b]=t,T.$index=n,v(r,T)}):(m=function(e,t){return jt(t)},$=function(e){return e}),S=y.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!S)throw c("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",y);b=S[3]||S[1],w=S[2];var k={};r.$watchCollection(x,function(e){var f,h,d,v,y,x,S,T,E,A,N,j,O=l[0],D={},M=[];if(i(e))A=e,E=g||m;else{E=g||$,A=[];for(x in e)e.hasOwnProperty(x)&&"$"!=x.charAt(0)&&A.push(x);A.sort()}for(v=A.length,h=M.length=A.length,f=0;h>f;f++)if(x=e===A?f:A[f],S=e[x],T=E(x,S,f),rt(T,"`track by` id"),k.hasOwnProperty(T))N=k[T],delete k[T],D[T]=N,M[f]=N;else{if(D.hasOwnProperty(T))throw o(M,function(e){e&&e.scope&&(k[e.id]=e)}),c("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}",C,T);M[f]={id:T},D[T]=!1}for(x in k)k.hasOwnProperty(x)&&(N=k[x],j=ot(N.clone),n.leave(j),o(j,function(e){e[u]=!0}),N.scope.$destroy());for(f=0,h=A.length;h>f;f++){if(x=e===A?f:A[f],S=e[x],N=M[f],M[f-1]&&(O=a(M[f-1])),N.scope){y=N.scope,d=O;do d=d.nextSibling;while(d&&d[u]);s(N)!=d&&n.move(ot(N.clone),null,yr(O)),O=a(N)}else y=r.$new();y[b]=S,w&&(y[w]=x),y.$index=f,y.$first=0===f,y.$last=f===v-1,y.$middle=!(y.$first||y.$last),y.$odd=!(y.$even=0===(1&f)),N.scope||p(y,function(e){e[e.length++]=t.createComment(" end ngRepeat: "+C+" "),n.enter(e,null,yr(O)),O=e,N.scope=y,N.clone=e,D[N.id]=N})}k=D})}}}],vo=["$animate",function(e){return function(t,n,r){t.$watch(r.ngShow,function(t){e[B(t)?"removeClass":"addClass"](n,"ng-hide")})}}],go=["$animate",function(e){return function(t,n,r){t.$watch(r.ngHide,function(t){e[B(t)?"addClass":"removeClass"](n,"ng-hide")})}}],mo=er(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),$o=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(t,n,r,i){var s=r.ngSwitch||r.on,a=[],u=[],c=[],l=[];t.$watch(s,function(n){var s,f;for(s=0,f=c.length;f>s;++s)c[s].remove();for(c.length=0,s=0,f=l.length;f>s;++s){var h=u[s];l[s].$destroy(),c[s]=h,e.leave(h,function(){c.splice(s,1)})}u.length=0,l.length=0,(a=i.cases["!"+n]||i.cases["?"])&&(t.$eval(r.change),o(a,function(n){var r=t.$new();l.push(r),n.transclude(r,function(t){var r=n.element;u.push(t),e.enter(t,r.parent(),r)})}))})}}}],yo=er({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),xo=er({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),bo=er({link:function(e,t,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",W(t));o(function(e){t.empty(),t.append(e)})}}),wo=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Co=r("ngOptions"),So=g({terminal:!0}),To=["$compile","$parse",function(e,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,a={$setViewValue:d};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var r,i,o=this,s={},u=a;o.databound=n.ngModel,o.init=function(e,t,n){u=e,r=t,i=n},o.addOption=function(t){rt(t,'"option value"'),s[t]=!0,u.$viewValue==t&&(e.val(t),i.parent()&&i.remove())},o.removeOption=function(e){this.hasOption(e)&&(delete s[e],u.$viewValue==e&&this.renderUnknownOption(e))},o.renderUnknownOption=function(t){var n="? "+jt(t)+" ?";i.val(n),e.prepend(i),e.val(n),i.prop("selected",!0)},o.hasOption=function(e){return s.hasOwnProperty(e)},t.$on("$destroy",function(){o.renderUnknownOption=d})}],link:function(a,u,c,l){function f(e,t,n,r){n.$render=function(){var e=n.$viewValue;r.hasOption(e)?(S.parent()&&S.remove(),t.val(e),""===e&&d.prop("selected",!0)):m(e)&&d?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){S.parent()&&S.remove(),n.$setViewValue(t.val())})})}function h(e,t,n){var r;n.$render=function(){var e=new Ot(n.$viewValue);o(t.find("option"),function(t){t.selected=$(e.get(t.value))})},e.$watch(function(){R(r,n.$viewValue)||(r=L(n.$viewValue),n.$render())}),t.on("change",function(){e.$apply(function(){var e=[];o(t.find("option"),function(t){t.selected&&e.push(t.value)}),n.$setViewValue(e)})})}function p(t,o,a){function u(){var e=!1;if(y){var n=a.$modelValue;if(S&&Nr(n)){e=new Ot([]);for(var r={},i=0;iA;A++){if(m=A,p){if(m=R[A],"$"===m.charAt(0))continue;H[p]=m}if(H[h]=L[m],e=d(t,H)||"",(n=M[e])||(n=M[e]=[],P.push(e)),y)N=$(F.remove(S?S(t,H):v(t,H)));else{if(S){var _={};_[h]=q,N=S(t,_)===S(t,H)}else N=q===v(t,H);F=F||N}D=f(t,H),D=$(D)?D:"",n.push({id:S?S(t,H):p?R[A]:A,label:D,selected:N})}for(y||(b||null===q?M[""].unshift({id:"",label:"",selected:!F}):F||M[""].unshift({id:"?",label:"",selected:!0})),E=0,x=P.length;x>E;E++){for(e=P[E],n=M[e],T.length<=E?(i={element:C.clone().attr("label",e),label:n.label},c=[i],T.push(c),o.append(i.element)):(c=T[E],i=c[0],i.label!=e&&i.element.attr("label",i.label=e)),j=null,A=0,k=n.length;k>A;A++)r=n[A],(l=c[A+1])?(j=l.element,l.label!==r.label&&j.text(l.label=r.label),l.id!==r.id&&j.val(l.id=r.id),j[0].selected!==r.selected&&(j.prop("selected",l.selected=r.selected),$r&&j.prop("selected",l.selected))):(""===r.id&&b?O=b:(O=w.clone()).val(r.id).prop("selected",r.selected).attr("selected",r.selected).text(r.label),c.push(l={element:O,label:r.label,id:r.id,selected:r.selected}),j?j.after(O):i.element.append(O),j=O);for(A++;c.length>A;)c.pop().element.remove()}for(;T.length>E;)T.pop()[0].element.remove()}var l;if(!(l=x.match(i)))throw Co("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",x,W(o));var f=r(l[2]||l[1]),h=l[4]||l[6],p=l[5],d=r(l[3]||""),v=r(l[2]?l[1]:h),g=r(l[7]),m=l[8],S=m?r(l[8]):null,T=[[{element:o,label:""}]];b&&(e(b)(t),b.removeClass("ng-scope"),b.remove()),o.empty(),o.on("change",function(){t.$apply(function(){var e,r,i,s,u,l,f,d,m,$=g(t)||[],x={};if(y){for(i=[],l=0,d=T.length;d>l;l++)for(e=T[l],u=1,f=e.length;f>u;u++)if((s=e[u].element)[0].selected){if(r=s.val(),p&&(x[p]=r),S)for(m=0;m<$.length&&(x[h]=$[m],S(t,x)!=r);m++);else x[h]=$[r];i.push(v(t,x))}}else if(r=o.val(),"?"==r)i=n;else if(""===r)i=null;else if(S){for(m=0;m<$.length;m++)if(x[h]=$[m],S(t,x)==r){i=v(t,x);break}}else x[h]=$[r],p&&(x[p]=r),i=v(t,x);a.$setViewValue(i),c()})}),a.$render=c,t.$watchCollection(g,c),y&&t.$watchCollection(function(){return a.$modelValue},c)}if(l[1]){for(var d,v=l[0],g=l[1],y=c.multiple,x=c.ngOptions,b=!1,w=yr(t.createElement("option")),C=yr(t.createElement("optgroup")),S=w.clone(),T=0,k=u.children(),E=k.length;E>T;T++)if(""===k[T].value){d=b=k.eq(T);break}v.init(g,b,S),y&&(g.$isEmpty=function(e){return!e||0===e.length}),x?p(a,u,g):y?h(a,u,g):f(a,u,g,v)}}}}],ko=["$interpolate",function(e){var t={addOption:d,removeOption:d};return{restrict:"E",priority:100,compile:function(n,r){if(m(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o="$selectController",s=n.parent(),a=s.data(o)||s.parent().data(o);a&&a.databound?n.prop("selected",!1):a=t,i?e.$watch(i,function(e,t){r.$set("value",e),e!==t&&a.removeOption(t),a.addOption(e)}):a.addOption(r.value),n.on("$destroy",function(){a.removeOption(r.value)})}}}}],Eo=g({restrict:"E",terminal:!0});return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(et(),at(Er),void yr(t).ready(function(){J(t,K)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('')},{}],"/home/bspeice/Android Studio Projects/MinimalBible/node_modules/jquery/dist/jquery.js":[function(e,t){!function(e,n){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=Z.type(e);return"function"===n||Z.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(Z.isFunction(t))return Z.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return Z.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(at.test(t))return Z.filter(t,e,n);t=Z.filter(t,e)}return Z.grep(e,function(e){return z.call(t,e)>=0!==n})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function o(e){var t=dt[e]={};return Z.each(e.match(pt)||[],function(e,n){t[n]=!0}),t}function s(){J.removeEventListener("DOMContentLoaded",s,!1),e.removeEventListener("load",s,!1),Z.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+Math.random()}function u(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(xt,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:yt.test(n)?Z.parseJSON(n):n}catch(i){}$t.set(e,t,n)}else n=void 0;return n}function c(){return!0}function l(){return!1}function f(){try{return J.activeElement}catch(e){}}function h(e,t){return Z.nodeName(e,"table")&&Z.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function p(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function d(e){var t=Lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function v(e,t){for(var n=0,r=e.length;r>n;n++)mt.set(e[n],"globalEval",!t||mt.get(t[n],"globalEval"))}function g(e,t){var n,r,i,o,s,a,u,c;if(1===t.nodeType){if(mt.hasData(e)&&(o=mt.access(e),s=mt.set(t,o),c=o.events)){delete s.handle,s.events={};for(i in c)for(n=0,r=c[i].length;r>n;n++)Z.event.add(t,i,c[i][n])}$t.hasData(e)&&(a=$t.access(e),u=Z.extend({},a),$t.set(t,u))}}function m(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&Z.nodeName(e,t)?Z.merge([e],n):n}function $(e,t){var n=t.nodeName.toLowerCase();"input"===n&&St.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function y(t,n){var r,i=Z(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(i[0]))?r.display:Z.css(i[0],"display");return i.detach(),o}function x(e){var t=J,n=_t[e];return n||(n=y(e,t),"none"!==n&&n||(Ft=(Ft||Z("