/*!
 * jQuery JavaScript Library v2.0.3
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2013-07-03T13:30Z
 */
!function(e,t){function n(e){var t=e.length,n=ot.type(e);return ot.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=dt[e]={};return ot.each(e.match(at)||[],function(e,n){t[n]=!0}),t}function i(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=ot.expando+Math.random()}function o(e,n,r){var i;if(r===t&&1===e.nodeType)if(i="data-"+n.replace(yt,"-$1").toLowerCase(),r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:vt.test(r)?JSON.parse(r):r}catch(o){}gt.set(e,n,r)}else r=t;return r}function s(){return!0}function a(){return!1}function u(){try{return U.activeElement}catch(e){}}function c(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e,t,n){if(ot.isFunction(t))return ot.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ot.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Nt.test(t))return ot.filter(t,e,n);t=ot.filter(t,e)}return ot.grep(e,function(e){return tt.call(t,e)>=0!==n})}function f(e,t){return ot.nodeName(e,"table")&&ot.nodeName(1===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 h(e){var t=Rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function d(e,t){for(var n=e.length,r=0;n>r;r++)mt.set(e[r],"globalEval",!t||mt.get(t[r],"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++)ot.event.add(t,i,c[i][n])}gt.hasData(e)&&(a=gt.access(e),u=ot.extend({},a),gt.set(t,u))}}function m(e,n){var r=e.getElementsByTagName?e.getElementsByTagName(n||"*"):e.querySelectorAll?e.querySelectorAll(n||"*"):[];return n===t||n&&ot.nodeName(e,n)?ot.merge([e],r):r}function v(e,t){var n=t.nodeName.toLowerCase();"input"===n&&qt.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function y(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Zt.length;i--;)if(t=Zt[i]+n,t in e)return t;return r}function $(e,t){return e=t||e,"none"===ot.css(e,"display")||!ot.contains(e.ownerDocument,e)}function x(t){return e.getComputedStyle(t,null)}function b(e,t){for(var n,r,i,o=[],s=0,a=e.length;a>s;s++)r=e[s],r.style&&(o[s]=mt.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&$(r)&&(o[s]=mt.access(r,"olddisplay",k(r.nodeName)))):o[s]||(i=$(r),(n&&"none"!==n||!i)&&mt.set(r,"olddisplay",i?n:ot.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}function w(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function C(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=ot.css(e,n+Kt[o],!0,i)),r?("content"===n&&(s-=ot.css(e,"padding"+Kt[o],!0,i)),"margin"!==n&&(s-=ot.css(e,"border"+Kt[o]+"Width",!0,i))):(s+=ot.css(e,"padding"+Kt[o],!0,i),"padding"!==n&&(s+=ot.css(e,"border"+Kt[o]+"Width",!0,i)));return s}function T(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=x(e),s=ot.support.boxSizing&&"border-box"===ot.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Bt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Xt.test(i))return i;r=s&&(ot.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+C(e,t,n||(s?"border":"content"),r,o)+"px"}function k(e){var t=U,n=Jt[e];return n||(n=S(e,t),"none"!==n&&n||(Wt=(Wt||ot("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Wt[0].contentWindow||Wt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=S(e,t),Wt.detach()),Jt[e]=n),n}function S(e,t){var n=ot(t.createElement(e)).appendTo(t.body),r=ot.css(n[0],"display");return n.remove(),r}function E(e,t,n,r){var i;if(ot.isArray(t))ot.each(t,function(t,i){n||tn.test(e)?r(e,i):E(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==ot.type(t))r(e,t);else for(i in t)E(e+"["+i+"]",t[i],n,r)}function N(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(at)||[];if(ot.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function A(e,t,n,r){function i(a){var u;return o[a]=!0,ot.each(e[a]||[],function(e,a){var c=a(t,n,r);return"string"!=typeof c||s||o[c]?s?!(u=c):void 0:(t.dataTypes.unshift(c),i(c),!1)}),u}var o={},s=e===$n;return i(t.dataTypes[0])||!o["*"]&&i("*")}function j(e,n){var r,i,o=ot.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);return i&&ot.extend(!0,e,i),e}function O(e,n,r){for(var i,o,s,a,u=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("Content-Type"));if(i)for(o in u)if(u[o]&&u[o].test(i)){c.unshift(o);break}if(c[0]in r)s=c[0];else{for(o in r){if(!c[0]||e.converters[o+" "+c[0]]){s=o;break}a||(a=o)}s=s||a}return s?(s!==c[0]&&c.unshift(s),r[s]):void 0}function D(e,t,n,r){var i,o,s,a,u,c={},l=e.dataTypes.slice();if(l[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=c[u+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[i]:c[i]!==!0&&(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(f){return{state:"parsererror",error:s?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function P(){return setTimeout(function(){Nn=t}),Nn=ot.now()}function M(e,t,n){for(var r,i=(Mn[t]||[]).concat(Mn["*"]),o=0,s=i.length;s>o;o++)if(r=i[o].call(n,t,e))return r}function L(e,t,n){var r,i,o=0,s=Pn.length,a=ot.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Nn||P(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,o=1-r,s=0,u=c.tweens.length;u>s;s++)c.tweens[s].run(o);return a.notifyWith(e,[c,o,n]),1>o&&u?n:(a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:ot.extend({},t),opts:ot.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Nn||P(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ot.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)c.tweens[n].run(1);return t?a.resolveWith(e,[c,t]):a.rejectWith(e,[c,t]),this}}),l=c.props;for(q(l,c.opts.specialEasing);s>o;o++)if(r=Pn[o].call(c,e,l,c.opts))return r;return ot.map(l,M,c),ot.isFunction(c.opts.start)&&c.opts.start.call(e,c),ot.fx.timer(ot.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function q(e,t){var n,r,i,o,s;for(n in e)if(r=ot.camelCase(n),i=t[r],o=e[n],ot.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),s=ot.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function H(e,n,r){var i,o,s,a,u,c,l=this,f={},p=e.style,h=e.nodeType&&$(e),d=mt.get(e,"fxshow");r.queue||(u=ot._queueHooks(e,"fx"),null==u.unqueued&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,l.always(function(){l.always(function(){u.unqueued--,ot.queue(e,"fx").length||u.empty.fire()})})),1===e.nodeType&&("height"in n||"width"in n)&&(r.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===ot.css(e,"display")&&"none"===ot.css(e,"float")&&(p.display="inline-block")),r.overflow&&(p.overflow="hidden",l.always(function(){p.overflow=r.overflow[0],p.overflowX=r.overflow[1],p.overflowY=r.overflow[2]}));for(i in n)if(o=n[i],jn.exec(o)){if(delete n[i],s=s||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!d||d[i]===t)continue;h=!0}f[i]=d&&d[i]||ot.style(e,i)}if(!ot.isEmptyObject(f)){d?"hidden"in d&&(h=d.hidden):d=mt.access(e,"fxshow",{}),s&&(d.hidden=!h),h?ot(e).show():l.done(function(){ot(e).hide()}),l.done(function(){var t;mt.remove(e,"fxshow");for(t in f)ot.style(e,t,f[t])});for(i in f)a=M(h?d[i]:0,i,l),i in d||(d[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function R(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Kt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function F(e){return ot.isWindow(e)?e:9===e.nodeType&&e.defaultView}var _,B,W=typeof t,z=e.location,U=e.document,V=U.documentElement,X=e.jQuery,Y=e.$,J={},Q=[],G="2.0.3",K=Q.concat,Z=Q.push,et=Q.slice,tt=Q.indexOf,nt=J.toString,rt=J.hasOwnProperty,it=G.trim,ot=function(e,t){return new ot.fn.init(e,t,_)},st=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,at=/\S+/g,ut=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ct=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,lt=/^-ms-/,ft=/-([\da-z])/gi,pt=function(e,t){return t.toUpperCase()},ht=function(){U.removeEventListener("DOMContentLoaded",ht,!1),e.removeEventListener("load",ht,!1),ot.ready()};ot.fn=ot.prototype={jquery:G,constructor:ot,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ut.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof ot?n[0]:n,ot.merge(this,ot.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:U,!0)),ct.test(i[1])&&ot.isPlainObject(n))for(i in n)ot.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}return o=U.getElementById(i[2]),o&&o.parentNode&&(this.length=1,this[0]=o),this.context=U,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ot.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),ot.makeArray(e,this))},selector:"",length:0,toArray:function(){return et.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=ot.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ot.each(this,e,t)},ready:function(e){return ot.ready.promise().done(e),this},slice:function(){return this.pushStack(et.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(ot.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:Z,sort:[].sort,splice:[].splice},ot.fn.init.prototype=ot.fn,ot.extend=ot.fn.extend=function(){var e,n,r,i,o,s,a=arguments[0]||{},u=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[1]||{},u=2),"object"==typeof a||ot.isFunction(a)||(a={}),c===u&&(a=this,--u);c>u;u++)if(null!=(e=arguments[u]))for(n in e)r=a[n],i=e[n],a!==i&&(l&&i&&(ot.isPlainObject(i)||(o=ot.isArray(i)))?(o?(o=!1,s=r&&ot.isArray(r)?r:[]):s=r&&ot.isPlainObject(r)?r:{},a[n]=ot.extend(l,s,i)):i!==t&&(a[n]=i));return a},ot.extend({expando:"jQuery"+(G+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===ot&&(e.$=Y),t&&e.jQuery===ot&&(e.jQuery=X),ot},isReady:!1,readyWait:1,holdReady:function(e){e?ot.readyWait++:ot.ready(!0)},ready:function(e){(e===!0?--ot.readyWait:ot.isReady)||(ot.isReady=!0,e!==!0&&--ot.readyWait>0||(B.resolveWith(U,[ot]),ot.fn.trigger&&ot(U).trigger("ready").off("ready")))},isFunction:function(e){return"function"===ot.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):"object"==typeof e||"function"==typeof e?J[nt.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==ot.type(e)||e.nodeType||ot.isWindow(e))return!1;try{if(e.constructor&&!rt.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||U;var r=ct.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ot.buildFragment([e],t,i),i&&ot(i).remove(),ot.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var n,r;if(!e||"string"!=typeof e)return null;try{r=new DOMParser,n=r.parseFromString(e,"text/xml")}catch(i){n=t}return(!n||n.getElementsByTagName("parsererror").length)&&ot.error("Invalid XML: "+e),n},noop:function(){},globalEval:function(e){var t,n=eval;e=ot.trim(e),e&&(1===e.indexOf("use strict")?(t=U.createElement("script"),t.text=e,U.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(lt,"ms-").replace(ft,pt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,r){var i,o=0,s=e.length,a=n(e);if(r){if(a)for(;s>o&&(i=t.apply(e[o],r),i!==!1);o++);else for(o in e)if(i=t.apply(e[o],r),i===!1)break}else if(a)for(;s>o&&(i=t.call(e[o],o,e[o]),i!==!1);o++);else for(o in e)if(i=t.call(e[o],o,e[o]),i===!1)break;return e},trim:function(e){return null==e?"":it.call(e)},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?ot.merge(r,"string"==typeof e?[e]:e):Z.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:tt.call(t,e,n)},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else for(;n[o]!==t;)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,s=e.length;for(n=!!n;s>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,r){var i,o=0,s=e.length,a=n(e),u=[];if(a)for(;s>o;o++)i=t(e[o],o,r),null!=i&&(u[u.length]=i);else for(o in e)i=t(e[o],o,r),null!=i&&(u[u.length]=i);return K.apply([],u)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(r=e[n],n=e,e=r),ot.isFunction(e)?(i=et.call(arguments,2),o=function(){return e.apply(n||this,i.concat(et.call(arguments)))},o.guid=e.guid=e.guid||ot.guid++,o):t},access:function(e,n,r,i,o,s,a){var u=0,c=e.length,l=null==r;if("object"===ot.type(r)){o=!0;for(u in r)ot.access(e,n,u,r[u],!0,s,a)}else if(i!==t&&(o=!0,ot.isFunction(i)||(a=!0),l&&(a?(n.call(e,i),n=null):(l=n,n=function(e,t,n){return l.call(ot(e),n)})),n))for(;c>u;u++)n(e[u],r,a?i:i.call(e[u],u,n(e[u],r)));return o?e:l?n.call(e):c?n(e[0],r):s},now:Date.now,swap:function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i}}),ot.ready.promise=function(t){return B||(B=ot.Deferred(),"complete"===U.readyState?setTimeout(ot.ready):(U.addEventListener("DOMContentLoaded",ht,!1),e.addEventListener("load",ht,!1))),B.promise(t)},ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){J["[object "+t+"]"]=t.toLowerCase()}),_=ot(U),/*!
 * Sizzle CSS Selector Engine v1.9.4-pre
 * http://sizzlejs.com/
 *
 * Copyright 2013 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2013-06-03
 */
function(e,t){function n(e,t,n,r){var i,o,s,a,u,c,l,f,d,g;if((t?t.ownerDocument||t:F)!==D&&O(t),t=t||D,n=n||[],!e||"string"!=typeof e)return n;if(1!==(a=t.nodeType)&&9!==a)return[];if(M&&!r){if(i=$t.exec(e))if(s=i[1]){if(9===a){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&I(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return et.apply(n,t.getElementsByTagName(e)),n;if((s=i[3])&&C.getElementsByClassName&&t.getElementsByClassName)return et.apply(n,t.getElementsByClassName(s)),n}if(C.qsa&&(!L||!L.test(e))){if(f=l=R,d=t,g=9===a&&e,1===a&&"object"!==t.nodeName.toLowerCase()){for(c=p(e),(l=t.getAttribute("id"))?f=l.replace(wt,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",u=c.length;u--;)c[u]=f+h(c[u]);d=ht.test(e)&&t.parentNode||t,g=c.join(",")}if(g)try{return et.apply(n,d.querySelectorAll(g)),n}catch(m){}finally{l||t.removeAttribute("id")}}}return b(e.replace(lt,"$1"),t,n,r)}function r(){function e(n,r){return t.push(n+=" ")>k.cacheLength&&delete e[t.shift()],e[n]=r}var t=[];return e}function i(e){return e[R]=!0,e}function o(e){var t=D.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e,t){for(var n=e.split("|"),r=e.length;r--;)k.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||J)-(~e.sourceIndex||J);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function u(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function c(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return i(function(t){return t=+t,i(function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function f(){}function p(e,t){var r,i,o,s,a,u,c,l=z[e+" "];if(l)return t?0:l.slice(0);for(a=e,u=[],c=k.preFilter;a;){(!r||(i=ft.exec(a)))&&(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=pt.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(lt," ")}),a=a.slice(r.length));for(s in k.filter)!(i=vt[s].exec(a))||c[s]&&!(i=c[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return t?a.length:a?n.error(e):z(e,u).slice(0)}function h(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=B++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,s){var a,u,c,l=_+" "+o;if(s){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||i)if(c=t[R]||(t[R]={}),(u=c[r])&&u[0]===l){if((a=u[1])===!0||a===T)return a===!0}else if(u=c[r]=[l],u[1]=e(t,n,s)||T,u[1]===!0)return!0}}function g(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,c=null!=t;u>a;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),c&&t.push(a));return s}function v(e,t,n,r,o,s){return r&&!r[R]&&(r=v(r)),o&&!o[R]&&(o=v(o,s)),i(function(i,s,a,u){var c,l,f,p=[],h=[],d=s.length,g=i||x(t||"*",a.nodeType?[a]:a,[]),v=!e||!i&&t?g:m(g,p,e,a,u),y=n?o||(i?e:d||r)?[]:s:v;if(n&&n(v,y,a,u),r)for(c=m(y,h),r(c,[],a,u),l=c.length;l--;)(f=c[l])&&(y[h[l]]=!(v[h[l]]=f));if(i){if(o||e){if(o){for(c=[],l=y.length;l--;)(f=y[l])&&c.push(v[l]=f);o(null,y=[],c,u)}for(l=y.length;l--;)(f=y[l])&&(c=o?nt.call(i,f):p[l])>-1&&(i[c]=!(s[c]=f))}}else y=m(y===s?y.splice(d,y.length):y),o?o(null,s,y,u):et.apply(s,y)})}function y(e){for(var t,n,r,i=e.length,o=k.relative[e[0].type],s=o||k.relative[" "],a=o?1:0,u=d(function(e){return e===t},s,!0),c=d(function(e){return nt.call(t,e)>-1},s,!0),l=[function(e,n,r){return!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):c(e,n,r))}];i>a;a++)if(n=k.relative[e[a].type])l=[d(g(l),n)];else{if(n=k.filter[e[a].type].apply(null,e[a].matches),n[R]){for(r=++a;i>r&&!k.relative[e[r].type];r++);return v(a>1&&g(l),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(lt,"$1"),n,r>a&&y(e.slice(a,r)),i>r&&y(e=e.slice(r)),i>r&&h(e))}l.push(n)}return g(l)}function $(e,t){var r=0,o=t.length>0,s=e.length>0,a=function(i,a,u,c,l){var f,p,h,d=[],g=0,v="0",y=i&&[],$=null!=l,x=A,b=i||s&&k.find.TAG("*",l&&a.parentNode||a),w=_+=null==x?1:Math.random()||.1;for($&&(A=a!==D&&a,T=r);null!=(f=b[v]);v++){if(s&&f){for(p=0;h=e[p++];)if(h(f,a,u)){c.push(f);break}$&&(_=w,T=++r)}o&&((f=!h&&f)&&g--,i&&y.push(f))}if(g+=v,o&&v!==g){for(p=0;h=t[p++];)h(y,d,a,u);if(i){if(g>0)for(;v--;)y[v]||d[v]||(d[v]=K.call(c));d=m(d)}et.apply(c,d),$&&!i&&d.length>0&&g+t.length>1&&n.uniqueSort(c)}return $&&(_=w,A=x),y};return o?i(a):a}function x(e,t,r){for(var i=0,o=t.length;o>i;i++)n(e,t[i],r);return r}function b(e,t,n,r){var i,o,s,a,u,c=p(e);if(!r&&1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&C.getById&&9===t.nodeType&&M&&k.relative[o[1].type]){if(t=(k.find.ID(s.matches[0].replace(Ct,Tt),t)||[])[0],!t)return n;e=e.slice(o.shift().value.length)}for(i=vt.needsContext.test(e)?0:o.length;i--&&(s=o[i],!k.relative[a=s.type]);)if((u=k.find[a])&&(r=u(s.matches[0].replace(Ct,Tt),ht.test(o[0].type)&&t.parentNode||t))){if(o.splice(i,1),e=r.length&&h(o),!e)return et.apply(n,r),n;break}}return N(e,c)(r,t,!M,n,ht.test(e)),n}var w,C,T,k,S,E,N,A,j,O,D,P,M,L,q,H,I,R="sizzle"+-new Date,F=e.document,_=0,B=0,W=r(),z=r(),U=r(),V=!1,X=function(e,t){return e===t?(V=!0,0):0},Y=typeof t,J=1<<31,Q={}.hasOwnProperty,G=[],K=G.pop,Z=G.push,et=G.push,tt=G.slice,nt=G.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},rt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",st="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",at=st.replace("w","w#"),ut="\\["+it+"*("+st+")"+it+"*(?:([*^$|!~]?=)"+it+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+at+")|)|)"+it+"*\\]",ct=":("+st+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ut.replace(3,8)+")*)|.*)\\)|)",lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ft=new RegExp("^"+it+"*,"+it+"*"),pt=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),ht=new RegExp(it+"*[+~]"),dt=new RegExp("="+it+"*([^\\]'\"]*)"+it+"*\\]","g"),gt=new RegExp(ct),mt=new RegExp("^"+at+"$"),vt={ID:new RegExp("^#("+st+")"),CLASS:new RegExp("^\\.("+st+")"),TAG:new RegExp("^("+st.replace("w","w*")+")"),ATTR:new RegExp("^"+ut),PSEUDO:new RegExp("^"+ct),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+rt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},yt=/^[^{]+\{\s*\[native \w/,$t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xt=/^(?:input|select|textarea|button)$/i,bt=/^h\d$/i,wt=/'|\\/g,Ct=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),Tt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{et.apply(G=tt.call(F.childNodes),F.childNodes),G[F.childNodes.length].nodeType}catch(kt){et={apply:G.length?function(e,t){Z.apply(e,tt.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}E=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},C=n.support={},O=n.setDocument=function(e){var t=e?e.ownerDocument||e:F,n=t.defaultView;return t!==D&&9===t.nodeType&&t.documentElement?(D=t,P=t.documentElement,M=!E(t),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){O()}),C.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=o(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=o(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),C.getById=o(function(e){return P.appendChild(e).id=R,!t.getElementsByName||!t.getElementsByName(R).length}),C.getById?(k.find.ID=function(e,t){if(typeof t.getElementById!==Y&&M){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(e){var t=e.replace(Ct,Tt);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(Ct,Tt);return function(e){var n=typeof e.getAttributeNode!==Y&&e.getAttributeNode("id");return n&&n.value===t}}),k.find.TAG=C.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==Y?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=C.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==Y&&M?t.getElementsByClassName(e):void 0},q=[],L=[],(C.qsa=yt.test(t.querySelectorAll))&&(o(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||L.push("\\["+it+"*(?:value|"+rt+")"),e.querySelectorAll(":checked").length||L.push(":checked")}),o(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&L.push("[*^$]="+it+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(C.matchesSelector=yt.test(H=P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&o(function(e){C.disconnectedMatch=H.call(e,"div"),H.call(e,"[s!='']:x"),q.push("!=",ct)}),L=L.length&&new RegExp(L.join("|")),q=q.length&&new RegExp(q.join("|")),I=yt.test(P.contains)||P.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},X=P.compareDocumentPosition?function(e,n){if(e===n)return V=!0,0;var r=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n);return r?1&r||!C.sortDetached&&n.compareDocumentPosition(e)===r?e===t||I(F,e)?-1:n===t||I(F,n)?1:j?nt.call(j,e)-nt.call(j,n):0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,s=n.parentNode,u=[e],c=[n];if(e===n)return V=!0,0;if(!o||!s)return e===t?-1:n===t?1:o?-1:s?1:j?nt.call(j,e)-nt.call(j,n):0;if(o===s)return a(e,n);for(r=e;r=r.parentNode;)u.unshift(r);for(r=n;r=r.parentNode;)c.unshift(r);for(;u[i]===c[i];)i++;return i?a(u[i],c[i]):u[i]===F?-1:c[i]===F?1:0},t):D},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if((e.ownerDocument||e)!==D&&O(e),t=t.replace(dt,"='$1']"),!(!C.matchesSelector||!M||q&&q.test(t)||L&&L.test(t)))try{var r=H.call(e,t);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return n(t,D,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!==D&&O(e),I(e,t)},n.attr=function(e,n){(e.ownerDocument||e)!==D&&O(e);var r=k.attrHandle[n.toLowerCase()],i=r&&Q.call(k.attrHandle,n.toLowerCase())?r(e,n,!M):t;return i===t?C.attributes||!M?e.getAttribute(n):(i=e.getAttributeNode(n))&&i.specified?i.value:null:i},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},n.uniqueSort=function(e){var t,n=[],r=0,i=0;if(V=!C.detectDuplicates,j=!C.sortStable&&e.slice(0),e.sort(X),V){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return e},S=n.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=S(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=S(t);return n},k=n.selectors={cacheLength:50,createPseudo:i,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Ct,Tt),e[3]=(e[4]||e[5]||"").replace(Ct,Tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||n.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&n.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return vt.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&gt.test(r)&&(n=p(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Ct,Tt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+it+")"+e+"("+it+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Y&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i){var o=n.attr(i,e);return null==o?"!="===t:t?(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o+" ").indexOf(r)>-1:"|="===t?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,h,d,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!u&&!a;if(m){if(o){for(;g;){for(f=t;f=f[g];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&y){for(l=m[R]||(m[R]={}),c=l[e]||[],h=c[0]===_&&c[1],p=c[0]===_&&c[2],f=h&&m.childNodes[h];f=++h&&f&&f[g]||(p=h=0)||d.pop();)if(1===f.nodeType&&++p&&f===t){l[e]=[_,h,p];break}}else if(y&&(c=(t[R]||(t[R]={}))[e])&&c[0]===_)p=c[1];else for(;(f=++h&&f&&f[g]||(p=h=0)||d.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++p||(y&&((f[R]||(f[R]={}))[e]=[_,p]),f!==t)););return p-=i,p===r||0===p%r&&p/r>=0}}},PSEUDO:function(e,t){var r,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return o[R]?o(t):o.length>1?(r=[e,e,"",t],k.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,n){for(var r,i=o(e,t),s=i.length;s--;)r=nt.call(e,i[s]),e[r]=!(n[r]=i[s])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=N(e.replace(lt,"$1"));return r[R]?i(function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:i(function(e){return function(t){return n(e,t).length>0}}),contains:i(function(e){return function(t){return(t.textContent||t.innerText||S(t)).indexOf(e)>-1}}),lang:i(function(e){return mt.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(Ct,Tt).toLowerCase(),function(t){var n;do if(n=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===P},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return bt.test(e.nodeName)},input:function(e){return xt.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},k.pseudos.nth=k.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[w]=u(w);for(w in{submit:!0,reset:!0})k.pseudos[w]=c(w);f.prototype=k.filters=k.pseudos,k.setFilters=new f,N=n.compile=function(e,t){var n,r=[],i=[],o=U[e+" "];if(!o){for(t||(t=p(e)),n=t.length;n--;)o=y(t[n]),o[R]?r.push(o):i.push(o);o=U(e,$(i,r))}return o},C.sortStable=R.split("").sort(X).join("")===R,C.detectDuplicates=V,O(),C.sortDetached=o(function(e){return 1&e.compareDocumentPosition(D.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||s("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||s("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||s(rt,function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),ot.find=n,ot.expr=n.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=n.uniqueSort,ot.text=n.getText,ot.isXMLDoc=n.isXML,ot.contains=n.contains}(e);var dt={};ot.Callbacks=function(e){e="string"==typeof e?dt[e]||r(e):ot.extend({},e);var n,i,o,s,a,u,c=[],l=!e.once&&[],f=function(t){for(n=e.memory&&t,i=!0,u=s||0,s=0,a=c.length,o=!0;c&&a>u;u++)if(c[u].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}o=!1,c&&(l?l.length&&f(l.shift()):n?c=[]:p.disable())},p={add:function(){if(c){var t=c.length;!function r(t){ot.each(t,function(t,n){var i=ot.type(n);"function"===i?e.unique&&p.has(n)||c.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),o?a=c.length:n&&(s=t,f(n))}return this},remove:function(){return c&&ot.each(arguments,function(e,t){for(var n;(n=ot.inArray(t,c,n))>-1;)c.splice(n,1),o&&(a>=n&&a--,u>=n&&u--)}),this},has:function(e){return e?ot.inArray(e,c)>-1:!(!c||!c.length)},empty:function(){return c=[],a=0,this},disable:function(){return c=l=n=t,this},disabled:function(){return!c},lock:function(){return l=t,n||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!c||i&&!l||(t=t||[],t=[e,t.slice?t.slice():t],o?l.push(t):f(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},ot.extend({Deferred:function(e){var t=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ot.Deferred(function(n){ot.each(t,function(t,o){var s=o[0],a=ot.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&ot.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ot.extend(e,r):r}},i={};return r.pipe=r.then,ot.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=et.call(arguments),s=o.length,a=1!==s||e&&ot.isFunction(e.promise)?s:0,u=1===a?e:ot.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?et.call(arguments):i,r===t?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(s>1)for(t=new Array(s),n=new Array(s),r=new Array(s);s>i;i++)o[i]&&ot.isFunction(o[i].promise)?o[i].promise().done(c(i,r,o)).fail(u.reject).progress(c(i,n,t)):--a;return a||u.resolveWith(r,o),u.promise()}}),ot.support=function(t){var n=U.createElement("input"),r=U.createDocumentFragment(),i=U.createElement("div"),o=U.createElement("select"),s=o.appendChild(U.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=s.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,o.disabled=!0,t.optDisabled=!s.disabled,n=U.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,ot(function(){var n,r,o="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",s=U.getElementsByTagName("body")[0];s&&(n=U.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",ot.swap(s,null!=s.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(U.createElement("div")),r.style.cssText=i.style.cssText=o,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),s.removeChild(n))}),t):t}({});var gt,mt,vt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,yt=/([A-Z])/g;i.uid=1,i.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},i.prototype={key:function(e){if(!i.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=i.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,ot.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(ot.isEmptyObject(o))ot.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,n){var r=this.cache[this.key(e)];return n===t?r:r[n]},access:function(e,n,r){var i;return n===t||n&&"string"==typeof n&&r===t?(i=this.get(e,n),i!==t?i:this.get(e,ot.camelCase(n))):(this.set(e,n,r),r!==t?r:n)},remove:function(e,n){var r,i,o,s=this.key(e),a=this.cache[s];if(n===t)this.cache[s]={};else{ot.isArray(n)?i=n.concat(n.map(ot.camelCase)):(o=ot.camelCase(n),n in a?i=[n,o]:(i=o,i=i in a?[i]:i.match(at)||[])),r=i.length;for(;r--;)delete a[i[r]]}},hasData:function(e){return!ot.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}},gt=new i,mt=new i,ot.extend({acceptData:i.accepts,hasData:function(e){return gt.hasData(e)||mt.hasData(e)},data:function(e,t,n){return gt.access(e,t,n)},removeData:function(e,t){gt.remove(e,t)},_data:function(e,t,n){return mt.access(e,t,n)},_removeData:function(e,t){mt.remove(e,t)}}),ot.fn.extend({data:function(e,n){var r,i,s=this[0],a=0,u=null;if(e===t){if(this.length&&(u=gt.get(s),1===s.nodeType&&!mt.get(s,"hasDataAttrs"))){for(r=s.attributes;a<r.length;a++)i=r[a].name,0===i.indexOf("data-")&&(i=ot.camelCase(i.slice(5)),o(s,i,u[i]));mt.set(s,"hasDataAttrs",!0)}return u}return"object"==typeof e?this.each(function(){gt.set(this,e)}):ot.access(this,function(n){var r,i=ot.camelCase(e);if(s&&n===t){if(r=gt.get(s,e),r!==t)return r;if(r=gt.get(s,i),r!==t)return r;if(r=o(s,i,t),r!==t)return r}else this.each(function(){var r=gt.get(this,i);gt.set(this,i,n),-1!==e.indexOf("-")&&r!==t&&gt.set(this,e,n)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){gt.remove(this,e)})}}),ot.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=mt.get(e,t),n&&(!r||ot.isArray(n)?r=mt.access(e,t,ot.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ot.queue(e,t),r=n.length,i=n.shift(),o=ot._queueHooks(e,t),s=function(){ot.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return mt.get(e,n)||mt.access(e,n,{empty:ot.Callbacks("once memory").add(function(){mt.remove(e,[t+"queue",n])})})}}),ot.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length<r?ot.queue(this[0],e):n===t?this:this.each(function(){var t=ot.queue(this,e,n);ot._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&ot.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ot.dequeue(this,e)})},delay:function(e,t){return e=ot.fx?ot.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=ot.Deferred(),s=this,a=this.length,u=function(){--i||o.resolveWith(s,[s])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";a--;)r=mt.get(s[a],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var $t,xt,bt=/[\t\r\n\f]/g,wt=/\r/g,Ct=/^(?:input|select|textarea|button)$/i;ot.fn.extend({attr:function(e,t){return ot.access(this,ot.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ot.removeAttr(this,e)})},prop:function(e,t){return ot.access(this,ot.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ot.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,s=0,a=this.length,u="string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(at)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(bt," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");n.className=ot.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,s=0,a=this.length,u=0===arguments.length||"string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(at)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(bt," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");n.className=e?ot.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ot.isFunction(e)?this.each(function(n){ot(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=ot(this),o=e.match(at)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===W||"boolean"===n)&&(this.className&&mt.set(this,"__className__",this.className),this.className=this.className||e===!1?"":mt.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(bt," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=ot.isFunction(e),this.each(function(r){var o;1===this.nodeType&&(o=i?e.call(this,r,ot(this).val()):e,null==o?o="":"number"==typeof o?o+="":ot.isArray(o)&&(o=ot.map(o,function(e){return null==e?"":e+""})),n=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))});if(o)return n=ot.valHooks[o.type]||ot.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,"string"==typeof r?r.replace(wt,""):null==r?"":r)}}}),ot.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(ot.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ot.nodeName(n.parentNode,"optgroup"))){if(t=ot(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=ot.makeArray(t),s=i.length;s--;)r=i[s],(r.selected=ot.inArray(ot(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===W?ot.prop(e,n,r):(1===s&&ot.isXMLDoc(e)||(n=n.toLowerCase(),i=ot.attrHooks[n]||(ot.expr.match.bool.test(n)?xt:$t)),r===t?i&&"get"in i&&null!==(o=i.get(e,n))?o:(o=ot.find.attr(e,n),null==o?t:o):null!==r?i&&"set"in i&&(o=i.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r):(ot.removeAttr(e,n),void 0))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(at);if(o&&1===e.nodeType)for(;n=o[i++];)r=ot.propFix[n]||n,ot.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!ot.support.radioValue&&"radio"===t&&ot.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,s,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return s=1!==a||!ot.isXMLDoc(e),s&&(n=ot.propFix[n]||n,o=ot.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Ct.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),xt={set:function(e,t,n){return t===!1?ot.removeAttr(e,n):e.setAttribute(n,n),n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(e,n){var r=ot.expr.attrHandle[n]||ot.find.attr;ot.expr.attrHandle[n]=function(e,n,i){var o=ot.expr.attrHandle[n],s=i?t:(ot.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return ot.expr.attrHandle[n]=o,s}}),ot.support.optSelected||(ot.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(e,t){return ot.isArray(t)?e.checked=ot.inArray(ot(e).val(),t)>=0:void 0}},ot.support.checkOn||(ot.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Tt=/^key/,kt=/^(?:mouse|contextmenu)|click/,St=/^(?:focusinfocus|focusoutblur)$/,Et=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(e,n,r,i,o){var s,a,u,c,l,f,p,h,d,g,m,v=mt.get(e);if(v){for(r.handler&&(s=r,r=s.handler,o=s.selector),r.guid||(r.guid=ot.guid++),(c=v.events)||(c=v.events={}),(a=v.handle)||(a=v.handle=function(e){return typeof ot===W||e&&ot.event.triggered===e.type?t:ot.event.dispatch.apply(a.elem,arguments)},a.elem=e),n=(n||"").match(at)||[""],l=n.length;l--;)u=Et.exec(n[l])||[],d=m=u[1],g=(u[2]||"").split(".").sort(),d&&(p=ot.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=ot.event.special[d]||{},f=ot.extend({type:d,origType:m,data:i,handler:r,guid:r.guid,selector:o,needsContext:o&&ot.expr.match.needsContext.test(o),namespace:g.join(".")},s),(h=c[d])||(h=c[d]=[],h.delegateCount=0,p.setup&&p.setup.call(e,i,g,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),p.add&&(p.add.call(e,f),f.handler.guid||(f.handler.guid=r.guid)),o?h.splice(h.delegateCount++,0,f):h.push(f),ot.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,s,a,u,c,l,f,p,h,d,g,m=mt.hasData(e)&&mt.get(e);if(m&&(u=m.events)){for(t=(t||"").match(at)||[""],c=t.length;c--;)if(a=Et.exec(t[c])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){for(f=ot.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,p=u[h]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)l=p[o],!i&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));
s&&!p.length&&(f.teardown&&f.teardown.call(e,d,m.handle)!==!1||ot.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)ot.event.remove(e,h+t[c],n,r,!0);ot.isEmptyObject(u)&&(delete m.handle,mt.remove(e,"events"))}},trigger:function(n,r,i,o){var s,a,u,c,l,f,p,h=[i||U],d=rt.call(n,"type")?n.type:n,g=rt.call(n,"namespace")?n.namespace.split("."):[];if(a=u=i=i||U,3!==i.nodeType&&8!==i.nodeType&&!St.test(d+ot.event.triggered)&&(d.indexOf(".")>=0&&(g=d.split("."),d=g.shift(),g.sort()),l=d.indexOf(":")<0&&"on"+d,n=n[ot.expando]?n:new ot.Event(d,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=g.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:ot.makeArray(r,[n]),p=ot.event.special[d]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!ot.isWindow(i)){for(c=p.delegateType||d,St.test(c+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(i.ownerDocument||U)&&h.push(u.defaultView||u.parentWindow||e)}for(s=0;(a=h[s++])&&!n.isPropagationStopped();)n.type=s>1?c:p.bindType||d,f=(mt.get(a,"events")||{})[n.type]&&mt.get(a,"handle"),f&&f.apply(a,r),f=l&&a[l],f&&ot.acceptData(a)&&f.apply&&f.apply(a,r)===!1&&n.preventDefault();return n.type=d,o||n.isDefaultPrevented()||p._default&&p._default.apply(h.pop(),r)!==!1||!ot.acceptData(i)||l&&ot.isFunction(i[d])&&!ot.isWindow(i)&&(u=i[l],u&&(i[l]=null),ot.event.triggered=d,i[d](),ot.event.triggered=t,u&&(i[l]=u)),n.result}},dispatch:function(e){e=ot.event.fix(e);var n,r,i,o,s,a=[],u=et.call(arguments),c=(mt.get(this,"events")||{})[e.type]||[],l=ot.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=ot.event.handlers.call(this,e,c),n=0;(o=a[n++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,r=0;(s=o.handlers[r++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(s.namespace))&&(e.handleObj=s,e.data=s.data,i=((ot.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,u),i!==t&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,s,a=[],u=n.delegateCount,c=e.target;if(u&&c.nodeType&&(!e.button||"click"!==e.type))for(;c!==this;c=c.parentNode||this)if(c.disabled!==!0||"click"!==e.type){for(i=[],r=0;u>r;r++)s=n[r],o=s.selector+" ",i[o]===t&&(i[o]=s.needsContext?ot(o,this).index(c)>=0:ot.find(o,this,null,[c]).length),i[o]&&i.push(s);i.length&&a.push({elem:c,handlers:i})}return u<n.length&&a.push({elem:this,handlers:n.slice(u)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||U,i=r.documentElement,o=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[ot.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=kt.test(i)?this.mouseHooks:Tt.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new ot.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=U),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==u()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===u()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&ot.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return ot.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=ot.extend(new ot.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?ot.event.trigger(i,null,t):ot.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},ot.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},ot.Event=function(e,t){return this instanceof ot.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?s:a):this.type=e,t&&ot.extend(this,t),this.timeStamp=e&&e.timeStamp||ot.now(),this[ot.expando]=!0,void 0):new ot.Event(e,t)},ot.Event.prototype={isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=s,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=s,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){ot.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!ot.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),ot.support.focusinBubbles||ot.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){ot.event.simulate(t,e.target,ot.event.fix(e),!0)};ot.event.special[t]={setup:function(){0===n++&&U.addEventListener(e,r,!0)},teardown:function(){0===--n&&U.removeEventListener(e,r,!0)}}}),ot.fn.extend({on:function(e,n,r,i,o){var s,u;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(u in e)this.on(u,n,r,e[u],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=a;else if(!i)return this;return 1===o&&(s=i,i=function(e){return ot().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=ot.guid++)),this.each(function(){ot.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,ot(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=a),this.each(function(){ot.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){ot.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ot.event.trigger(e,t,n,!0):void 0}});var Nt=/^.[^:#\[\.,]*$/,At=/^(?:parents|prev(?:Until|All))/,jt=ot.expr.match.needsContext,Ot={children:!0,contents:!0,next:!0,prev:!0};ot.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(ot(e).filter(function(){for(t=0;i>t;t++)if(ot.contains(r[t],this))return!0}));for(t=0;i>t;t++)ot.find(e,r[t],n);return n=this.pushStack(i>1?ot.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t=ot(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(ot.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(l(this,e||[],!0))},filter:function(e){return this.pushStack(l(this,e||[],!1))},is:function(e){return!!l(this,"string"==typeof e&&jt.test(e)?ot(e):e||[],!1).length},closest:function(e,t){for(var n,r=0,i=this.length,o=[],s=jt.test(e)||"string"!=typeof e?ot(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?ot.unique(o):o)},index:function(e){return e?"string"==typeof e?tt.call(ot(e),this[0]):tt.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?ot(e,t):ot.makeArray(e&&e.nodeType?[e]:e),r=ot.merge(this.get(),n);return this.pushStack(ot.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ot.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ot.dir(e,"parentNode")},parentsUntil:function(e,t,n){return ot.dir(e,"parentNode",n)},next:function(e){return c(e,"nextSibling")},prev:function(e){return c(e,"previousSibling")},nextAll:function(e){return ot.dir(e,"nextSibling")},prevAll:function(e){return ot.dir(e,"previousSibling")},nextUntil:function(e,t,n){return ot.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return ot.dir(e,"previousSibling",n)},siblings:function(e){return ot.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ot.sibling(e.firstChild)},contents:function(e){return e.contentDocument||ot.merge([],e.childNodes)}},function(e,t){ot.fn[e]=function(n,r){var i=ot.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ot.filter(r,i)),this.length>1&&(Ot[e]||ot.unique(i),At.test(e)&&i.reverse()),this.pushStack(i)}}),ot.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ot.find.matchesSelector(r,e)?[r]:[]:ot.find.matches(e,ot.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){for(var i=[],o=r!==t;(e=e[n])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&ot(e).is(r))break;i.push(e)}return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Pt=/<([\w:]+)/,Mt=/<|&#?\w+;/,Lt=/<(?:script|style|link)/i,qt=/^(?:checkbox|radio)$/i,Ht=/checked\s*(?:[^=]|=\s*.checked.)/i,It=/^$|\/(?:java|ecma)script/i,Rt=/^true\/(.*)/,Ft=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,_t={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};_t.optgroup=_t.option,_t.tbody=_t.tfoot=_t.colgroup=_t.caption=_t.thead,_t.th=_t.td,ot.fn.extend({text:function(e){return ot.access(this,function(e){return e===t?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||U).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?ot.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||ot.cleanData(m(n)),n.parentNode&&(t&&ot.contains(n.ownerDocument,n)&&d(m(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ot.cleanData(m(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return ot.clone(this,e,t)})},html:function(e){return ot.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof e&&!Lt.test(e)&&!_t[(Pt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Dt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(ot.cleanData(m(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=ot.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),ot(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=K.apply([],e);var r,i,o,s,a,u,c=0,l=this.length,f=this,d=l-1,g=e[0],v=ot.isFunction(g);if(v||!(1>=l||"string"!=typeof g||ot.support.checkClone)&&Ht.test(g))return this.each(function(r){var i=f.eq(r);v&&(e[0]=g.call(this,r,i.html())),i.domManip(e,t,n)});if(l&&(r=ot.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=ot.map(m(r,"script"),p),s=o.length;l>c;c++)a=r,c!==d&&(a=ot.clone(a,!0,!0),s&&ot.merge(o,m(a,"script"))),t.call(this[c],a,c);if(s)for(u=o[o.length-1].ownerDocument,ot.map(o,h),c=0;s>c;c++)a=o[c],It.test(a.type||"")&&!mt.access(a,"globalEval")&&ot.contains(u,a)&&(a.src?ot._evalUrl(a.src):ot.globalEval(a.textContent.replace(Ft,"")))}return this}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ot.fn[e]=function(e){for(var n,r=[],i=ot(e),o=i.length-1,s=0;o>=s;s++)n=s===o?this:this.clone(!0),ot(i[s])[t](n),Z.apply(r,n.get());return this.pushStack(r)}}),ot.extend({clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=ot.contains(e.ownerDocument,e);if(!(ot.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ot.isXMLDoc(e)))for(s=m(a),o=m(e),r=0,i=o.length;i>r;r++)v(o[r],s[r]);if(t)if(n)for(o=o||m(e),s=s||m(a),r=0,i=o.length;i>r;r++)g(o[r],s[r]);else g(e,a);return s=m(a,"script"),s.length>0&&d(s,!u&&m(e,"script")),a},buildFragment:function(e,t,n,r){for(var i,o,s,a,u,c,l=0,f=e.length,p=t.createDocumentFragment(),h=[];f>l;l++)if(i=e[l],i||0===i)if("object"===ot.type(i))ot.merge(h,i.nodeType?[i]:i);else if(Mt.test(i)){for(o=o||p.appendChild(t.createElement("div")),s=(Pt.exec(i)||["",""])[1].toLowerCase(),a=_t[s]||_t._default,o.innerHTML=a[1]+i.replace(Dt,"<$1></$2>")+a[2],c=a[0];c--;)o=o.lastChild;ot.merge(h,o.childNodes),o=p.firstChild,o.textContent=""}else h.push(t.createTextNode(i));for(p.textContent="",l=0;i=h[l++];)if((!r||-1===ot.inArray(i,r))&&(u=ot.contains(i.ownerDocument,i),o=m(p.appendChild(i),"script"),u&&d(o),n))for(c=0;i=o[c++];)It.test(i.type||"")&&n.push(i);return p},cleanData:function(e){for(var n,r,o,s,a,u,c=ot.event.special,l=0;(r=e[l])!==t;l++){if(i.accepts(r)&&(a=r[mt.expando],a&&(n=mt.cache[a]))){if(o=Object.keys(n.events||{}),o.length)for(u=0;(s=o[u])!==t;u++)c[s]?ot.event.remove(r,s):ot.removeEvent(r,s,n.handle);mt.cache[a]&&delete mt.cache[a]}delete gt.cache[r[gt.expando]]}},_evalUrl:function(e){return ot.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),ot.fn.extend({wrapAll:function(e){var t;return ot.isFunction(e)?this.each(function(t){ot(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ot(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return ot.isFunction(e)?this.each(function(t){ot(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ot(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ot.isFunction(e);return this.each(function(n){ot(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}});var Bt,Wt,zt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=new RegExp("^("+st+")(.*)$","i"),Xt=new RegExp("^("+st+")(?!px)[a-z%]+$","i"),Yt=new RegExp("^([+-])=("+st+")","i"),Jt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:0,fontWeight:400},Kt=["Top","Right","Bottom","Left"],Zt=["Webkit","O","Moz","ms"];ot.fn.extend({css:function(e,n){return ot.access(this,function(e,n,r){var i,o,s={},a=0;if(ot.isArray(n)){for(i=x(e),o=n.length;o>a;a++)s[n[a]]=ot.css(e,n[a],!1,i);return s}return r!==t?ot.style(e,n,r):ot.css(e,n)},e,n,arguments.length>1)},show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){$(this)?ot(this).show():ot(this).hide()})}}),ot.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Bt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,s,a,u=ot.camelCase(n),c=e.style;return n=ot.cssProps[u]||(ot.cssProps[u]=y(c,u)),a=ot.cssHooks[n]||ot.cssHooks[u],r===t?a&&"get"in a&&(o=a.get(e,!1,i))!==t?o:c[n]:(s=typeof r,"string"===s&&(o=Yt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(ot.css(e,n)),s="number"),null==r||"number"===s&&isNaN(r)||("number"!==s||ot.cssNumber[u]||(r+="px"),ot.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(c[n]="inherit"),a&&"set"in a&&(r=a.set(e,r,i))===t||(c[n]=r)),void 0)}},css:function(e,n,r,i){var o,s,a,u=ot.camelCase(n);return n=ot.cssProps[u]||(ot.cssProps[u]=y(e.style,u)),a=ot.cssHooks[n]||ot.cssHooks[u],a&&"get"in a&&(o=a.get(e,!0,r)),o===t&&(o=Bt(e,n,i)),"normal"===o&&n in Gt&&(o=Gt[n]),""===r||r?(s=parseFloat(o),r===!0||ot.isNumeric(s)?s||0:o):o}}),Bt=function(e,n,r){var i,o,s,a=r||x(e),u=a?a.getPropertyValue(n)||a[n]:t,c=e.style;return a&&(""!==u||ot.contains(e.ownerDocument,e)||(u=ot.style(e,n)),Xt.test(u)&&Ut.test(n)&&(i=c.width,o=c.minWidth,s=c.maxWidth,c.minWidth=c.maxWidth=c.width=u,u=a.width,c.width=i,c.minWidth=o,c.maxWidth=s)),u},ot.each(["height","width"],function(e,t){ot.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&zt.test(ot.css(e,"display"))?ot.swap(e,Qt,function(){return T(e,t,r)}):T(e,t,r):void 0},set:function(e,n,r){var i=r&&x(e);return w(e,n,r?C(e,t,r,ot.support.boxSizing&&"border-box"===ot.css(e,"boxSizing",!1,i),i):0)}}}),ot(function(){ot.support.reliableMarginRight||(ot.cssHooks.marginRight={get:function(e,t){return t?ot.swap(e,{display:"inline-block"},Bt,[e,"marginRight"]):void 0}}),!ot.support.pixelPosition&&ot.fn.position&&ot.each(["top","left"],function(e,t){ot.cssHooks[t]={get:function(e,n){return n?(n=Bt(e,t),Xt.test(n)?ot(e).position()[t]+"px":n):void 0}}})}),ot.expr&&ot.expr.filters&&(ot.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},ot.expr.filters.visible=function(e){return!ot.expr.filters.hidden(e)}),ot.each({margin:"",padding:"",border:"Width"},function(e,t){ot.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+Kt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(ot.cssHooks[e+t].set=w)});var en=/%20/g,tn=/\[\]$/,nn=/\r?\n/g,rn=/^(?:submit|button|image|reset|file)$/i,on=/^(?:input|select|textarea|keygen)/i;ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ot.prop(this,"elements");return e?ot.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ot(this).is(":disabled")&&on.test(this.nodeName)&&!rn.test(e)&&(this.checked||!qt.test(e))}).map(function(e,t){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(e){return{name:t.name,value:e.replace(nn,"\r\n")}}):{name:t.name,value:n.replace(nn,"\r\n")}}).get()}}),ot.param=function(e,n){var r,i=[],o=function(e,t){t=ot.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(e)||e.jquery&&!ot.isPlainObject(e))ot.each(e,function(){o(this.name,this.value)});else for(r in e)E(r,e[r],n,o);return i.join("&").replace(en,"+")},ot.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ot.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ot.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var sn,an,un=ot.now(),cn=/\?/,ln=/#.*$/,fn=/([?&])_=[^&]*/,pn=/^(.*?):[ \t]*([^\r\n]*)$/gm,hn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,dn=/^(?:GET|HEAD)$/,gn=/^\/\//,mn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,vn=ot.fn.load,yn={},$n={},xn="*/".concat("*");try{an=z.href}catch(bn){an=U.createElement("a"),an.href="",an=an.href}sn=mn.exec(an.toLowerCase())||[],ot.fn.load=function(e,n,r){if("string"!=typeof e&&vn)return vn.apply(this,arguments);var i,o,s,a=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u),e=e.slice(0,u)),ot.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(o="POST"),a.length>0&&ot.ajax({url:e,type:o,dataType:"html",data:n}).done(function(e){s=arguments,a.html(i?ot("<div>").append(ot.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){a.each(r,s||[e.responseText,t,e])}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ot.fn[t]=function(e){return this.on(t,e)}}),ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:an,type:"GET",isLocal:hn.test(sn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":xn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?j(j(e,ot.ajaxSettings),t):j(ot.ajaxSettings,e)},ajaxPrefilter:N(yn),ajaxTransport:N($n),ajax:function(e,n){function r(e,n,r,a){var c,f,y,$,b,C=n;2!==x&&(x=2,u&&clearTimeout(u),i=t,s=a||"",w.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&($=O(p,w,r)),$=D(p,$,w,c),c?(p.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(ot.lastModified[o]=b),b=w.getResponseHeader("etag"),b&&(ot.etag[o]=b)),204===e||"HEAD"===p.type?C="nocontent":304===e?C="notmodified":(C=$.state,f=$.data,y=$.error,c=!y)):(y=C,(e||!C)&&(C="error",0>e&&(e=0))),w.status=e,w.statusText=(n||C)+"",c?g.resolveWith(h,[f,C,w]):g.rejectWith(h,[w,C,y]),w.statusCode(v),v=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[w,p,c?f:y]),m.fireWith(h,[w,C]),l&&(d.trigger("ajaxComplete",[w,p]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,s,a,u,c,l,f,p=ot.ajaxSetup({},n),h=p.context||p,d=p.context&&(h.nodeType||h.jquery)?ot(h):ot.event,g=ot.Deferred(),m=ot.Callbacks("once memory"),v=p.statusCode||{},y={},$={},x=0,b="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!a)for(a={};t=pn.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=$[n]=$[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)v[t]=[v[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||b;return i&&i.abort(t),r(0,t),this}};if(g.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,p.url=((e||p.url||an)+"").replace(ln,"").replace(gn,sn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=ot.trim(p.dataType||"*").toLowerCase().match(at)||[""],null==p.crossDomain&&(c=mn.exec(p.url.toLowerCase()),p.crossDomain=!(!c||c[1]===sn[1]&&c[2]===sn[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(sn[3]||("http:"===sn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ot.param(p.data,p.traditional)),A(yn,p,n,w),2===x)return w;l=p.global,l&&0===ot.active++&&ot.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!dn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(cn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=fn.test(o)?o.replace(fn,"$1_="+un++):o+(cn.test(o)?"&":"?")+"_="+un++)),p.ifModified&&(ot.lastModified[o]&&w.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&w.setRequestHeader("If-None-Match",ot.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+xn+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)w.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(p.beforeSend.call(h,w,p)===!1||2===x))return w.abort();b="abort";for(f in{success:1,error:1,complete:1})w[f](p[f]);if(i=A($n,p,n,w)){w.readyState=1,l&&d.trigger("ajaxSend",[w,p]),p.async&&p.timeout>0&&(u=setTimeout(function(){w.abort("timeout")},p.timeout));try{x=1,i.send(y,r)}catch(C){if(!(2>x))throw C;r(-1,C)}}else r(-1,"No Transport");return w},getJSON:function(e,t,n){return ot.get(e,t,n,"json")},getScript:function(e,n){return ot.get(e,t,n,"script")}}),ot.each(["get","post"],function(e,n){ot[n]=function(e,r,i,o){return ot.isFunction(r)&&(o=o||i,i=r,r=t),ot.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return ot.globalEval(e),e}}}),ot.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ot.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=ot("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),U.head.appendChild(t[0])},abort:function(){n&&n()}}}});var wn=[],Cn=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=wn.pop()||ot.expando+"_"+un++;return this[e]=!0,e}}),ot.ajaxPrefilter("json jsonp",function(n,r,i){var o,s,a,u=n.jsonp!==!1&&(Cn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Cn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=ot.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Cn,"$1"+o):n.jsonp!==!1&&(n.url+=(cn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return a||ot.error(o+" was not called"),a[0]},n.dataTypes[0]="json",s=e[o],e[o]=function(){a=arguments},i.always(function(){e[o]=s,n[o]&&(n.jsonpCallback=r.jsonpCallback,wn.push(o)),a&&ot.isFunction(s)&&s(a[0]),a=s=t}),"script"):void 0}),ot.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var Tn=ot.ajaxSettings.xhr(),kn={0:200,1223:204},Sn=0,En={};e.ActiveXObject&&ot(e).on("unload",function(){for(var e in En)En[e]();En=t}),ot.support.cors=!!Tn&&"withCredentials"in Tn,ot.support.ajax=Tn=!!Tn,ot.ajaxTransport(function(e){var n;return ot.support.cors||Tn&&!e.crossDomain?{send:function(r,i){var o,s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)a.setRequestHeader(o,r[o]);n=function(e){return function(){n&&(delete En[s],n=a.onload=a.onerror=null,"abort"===e?a.abort():"error"===e?i(a.status||404,a.statusText):i(kn[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:t,a.getAllResponseHeaders()))}},a.onload=n(),a.onerror=n("error"),n=En[s=Sn++]=n("abort"),a.send(e.hasContent&&e.data||null)},abort:function(){n&&n()}}:void 0});var Nn,An,jn=/^(?:toggle|show|hide)$/,On=new RegExp("^(?:([+-])=|)("+st+")([a-z%]*)$","i"),Dn=/queueHooks$/,Pn=[H],Mn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=On.exec(t),o=i&&i[3]||(ot.cssNumber[e]?"":"px"),s=(ot.cssNumber[e]||"px"!==o&&+r)&&On.exec(ot.css(n.elem,e)),a=1,u=20;if(s&&s[3]!==o){o=o||s[3],i=i||[],s=+r||1;do a=a||".5",s/=a,ot.style(n.elem,e,s+o);while(a!==(a=n.cur()/r)&&1!==a&&--u)}return i&&(s=n.start=+s||+r||0,n.unit=o,n.end=i[1]?s+(i[1]+1)*i[2]:+i[2]),n}]};ot.Animation=ot.extend(L,{tweener:function(e,t){ot.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],Mn[n]=Mn[n]||[],Mn[n].unshift(t)},prefilter:function(e,t){t?Pn.unshift(e):Pn.push(e)}}),ot.Tween=I,I.prototype={constructor:I,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ot.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.pos=t=this.options.duration?ot.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ot.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){ot.fx.step[e.prop]?ot.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ot.cssProps[e.prop]]||ot.cssHooks[e.prop])?ot.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ot.each(["toggle","show","hide"],function(e,t){var n=ot.fn[t];ot.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(R(t,!0),e,r,i)}}),ot.fn.extend({fadeTo:function(e,t,n,r){return this.filter($).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ot.isEmptyObject(e),o=ot.speed(t,n,r),s=function(){var t=L(this,ot.extend({},e),o);(i||mt.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=ot.timers,s=mt.get(this);if(n)s[n]&&s[n].stop&&i(s[n]);else for(n in s)s[n]&&s[n].stop&&Dn.test(n)&&i(s[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&ot.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=mt.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=ot.timers,s=r?r.length:0;for(n.finish=!0,ot.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;s>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ot.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ot.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ot.speed=function(e,t,n){var r=e&&"object"==typeof e?ot.extend({},e):{complete:n||!n&&t||ot.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ot.isFunction(t)&&t};return r.duration=ot.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ot.fx.speeds?ot.fx.speeds[r.duration]:ot.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){ot.isFunction(r.old)&&r.old.call(this),r.queue&&ot.dequeue(this,r.queue)},r},ot.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},ot.timers=[],ot.fx=I.prototype.init,ot.fx.tick=function(){var e,n=ot.timers,r=0;for(Nn=ot.now();r<n.length;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||ot.fx.stop(),Nn=t},ot.fx.timer=function(e){e()&&ot.timers.push(e)&&ot.fx.start()},ot.fx.interval=13,ot.fx.start=function(){An||(An=setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){clearInterval(An),An=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fx.step={},ot.expr&&ot.expr.filters&&(ot.expr.filters.animated=function(e){return ot.grep(ot.timers,function(t){return e===t.elem
}).length}),ot.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){ot.offset.setOffset(this,e,t)});var n,r,i=this[0],o={top:0,left:0},s=i&&i.ownerDocument;if(s)return n=s.documentElement,ot.contains(n,i)?(typeof i.getBoundingClientRect!==W&&(o=i.getBoundingClientRect()),r=F(s),{top:o.top+r.pageYOffset-n.clientTop,left:o.left+r.pageXOffset-n.clientLeft}):o},ot.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,c,l=ot.css(e,"position"),f=ot(e),p={};"static"===l&&(e.style.position="relative"),a=f.offset(),o=ot.css(e,"top"),u=ot.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=f.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),ot.isFunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(p.top=t.top-a.top+s),null!=t.left&&(p.left=t.left-a.left+i),"using"in t?t.using.call(e,p):f.css(p)}},ot.fn.extend({position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===ot.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ot.nodeName(e[0],"html")||(r=e.offset()),r.top+=ot.css(e[0],"borderTopWidth",!0),r.left+=ot.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-ot.css(n,"marginTop",!0),left:t.left-r.left-ot.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||V;e&&!ot.nodeName(e,"html")&&"static"===ot.css(e,"position");)e=e.offsetParent;return e||V})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var i="pageYOffset"===r;ot.fn[n]=function(o){return ot.access(this,function(n,o,s){var a=F(n);return s===t?a?a[r]:n[o]:(a?a.scrollTo(i?e.pageXOffset:s,i?s:e.pageYOffset):n[o]=s,void 0)},n,o,arguments.length,null)}}),ot.each({Height:"height",Width:"width"},function(e,n){ot.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){ot.fn[i]=function(i,o){var s=arguments.length&&(r||"boolean"!=typeof i),a=r||(i===!0||o===!0?"margin":"border");return ot.access(this,function(n,r,i){var o;return ot.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?ot.css(n,r,a):ot.style(n,r,i,a)},n,s?i:t,s,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=ot:"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot}),"object"==typeof e&&"object"==typeof e.document&&(e.jQuery=e.$=ot)}(window),function(e,t,n){"use strict";function r(e){return function(){var t,n,r=arguments[0],i="["+(e?e+":":"")+r+"] ",o=arguments[1],s=arguments,a=function(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?JSON.stringify(e):e};for(t=i+o.replace(/\{\d+\}/g,function(e){var t,n=+e.slice(1,-1);return n+2<s.length?(t=s[n+2],"function"==typeof t?t.toString().replace(/ ?\{[\s\S]*$/,""):"undefined"==typeof t?"undefined":"string"!=typeof t?B(t):t):e}),t=t+"\nhttp://errors.angularjs.org/1.2.13/"+(e?e+"/":"")+r,n=2;n<arguments.length;n++)t=t+(2==n?"?":"&")+"p"+(n-2)+"="+encodeURIComponent(a(arguments[n]));return new Error(t)}}function i(e){if(null==e||S(e))return!1;var t=e.length;return 1===e.nodeType&&t?!0:x(e)||C(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function o(e,t,n){var r;if(e)if(T(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r);else if(e.forEach&&e.forEach!==o)e.forEach(t,n);else if(i(e))for(r=0;r<e.length;r++)t.call(n,e[r],r);else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r);return e}function s(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t.sort()}function a(e,t,n){for(var r=s(e),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function u(e){return function(t,n){e(n,t)}}function c(){for(var e,t=br.length;t;){if(t--,e=br[t].charCodeAt(0),57==e)return br[t]="A",br.join("");if(90!=e)return br[t]=String.fromCharCode(e+1),br.join("");br[t]="0"}return br.unshift("0"),br.join("")}function l(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function f(e){var t=e.$$hashKey;return o(arguments,function(t){t!==e&&o(t,function(t,n){e[n]=t})}),l(e,t),e}function p(e){return parseInt(e,10)}function h(e,t){return f(new(f(function(){},{prototype:e})),t)}function d(){}function g(e){return e}function m(e){return function(){return e}}function v(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function $(e){return null!=e&&"object"==typeof e}function x(e){return"string"==typeof e}function b(e){return"number"==typeof e}function w(e){return"[object Date]"===yr.call(e)}function C(e){return"[object Array]"===yr.call(e)}function T(e){return"function"==typeof e}function k(e){return"[object RegExp]"===yr.call(e)}function S(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function E(e){return e&&e.$evalAsync&&e.$watch}function N(e){return"[object File]"===yr.call(e)}function A(e){return!(!e||!(e.nodeName||e.on&&e.find))}function j(e,t,n){var r=[];return o(e,function(e,i,o){r.push(t.call(n,e,i,o))}),r}function O(e,t){return-1!=D(e,t)}function D(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}function P(e,t){var n=D(e,t);return n>=0&&e.splice(n,1),t}function M(e,t){if(S(e)||E(e))throw $r("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(e===t)throw $r("cpi","Can't copy! Source and destination are identical.");if(C(e)){t.length=0;for(var n=0;n<e.length;n++)t.push(M(e[n]))}else{var r=t.$$hashKey;o(t,function(e,n){delete t[n]});for(var i in e)t[i]=M(e[i]);l(t,r)}}else t=e,e&&(C(e)?t=M(e,[]):w(e)?t=new Date(e.getTime()):k(e)?t=new RegExp(e.source):$(e)&&(t=M(e,{})));return t}function L(e,t){t=t||{};for(var n in e)!e.hasOwnProperty(n)||"$"===n.charAt(0)&&"$"===n.charAt(1)||(t[n]=e[n]);return t}function q(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var r,i,o,s=typeof e,a=typeof t;if(s==a&&"object"==s){if(!C(e)){if(w(e))return w(t)&&e.getTime()==t.getTime();if(k(e)&&k(t))return e.toString()==t.toString();if(E(e)||E(t)||S(e)||S(t)||C(t))return!1;o={};for(i in e)if("$"!==i.charAt(0)&&!T(e[i])){if(!q(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!o.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t[i]!==n&&!T(t[i]))return!1;return!0}if(!C(t))return!1;if((r=e.length)==t.length){for(i=0;r>i;i++)if(!q(e[i],t[i]))return!1;return!0}}return!1}function H(){return t.securityPolicy&&t.securityPolicy.isActive||t.querySelector&&!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"))}function I(e,t,n){return e.concat(mr.call(t,n))}function R(e,t){return mr.call(e,t||0)}function F(e,t){var n=arguments.length>2?R(arguments,2):[];return!T(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,n.concat(mr.call(arguments,0))):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function _(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)?i=n:S(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":E(r)&&(i="$SCOPE"),i}function B(e,t){return"undefined"==typeof e?n:JSON.stringify(e,_,t?"  ":null)}function W(e){return x(e)?JSON.parse(e):e}function z(e){if("function"==typeof e)e=!0;else if(e&&0!==e.length){var t=sr(""+e);e=!("f"==t||"0"==t||"false"==t||"no"==t||"n"==t||"[]"==t)}else e=!1;return e}function U(e){e=pr(e).clone();try{e.empty()}catch(t){}var n=3,r=pr("<div>").append(e).html();try{return e[0].nodeType===n?sr(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+sr(t)})}catch(t){return sr(r)}}function V(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t,n,r={};return o((e||"").split("&"),function(e){if(e&&(t=e.split("="),n=V(t[0]),y(n))){var i=y(t[1])?V(t[1]):!0;r[n]?C(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){C(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 J(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 G(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=pr(n),n.injector()){var e=n[0]===t?"document":U(n);throw $r("btstrpd","App Already Bootstrapped with this Element '{0}'",e)}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),r.unshift("ng");var i=jt(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,""),xr.resumeBootstrap=function(e){o(e,function(e){r.push(e)}),i()},void 0)}function Z(e,t){return t=t||"_",e.replace(Cr,function(e,n){return(n?t:"")+e.toLowerCase()})}function et(){hr=e.jQuery,hr?(pr=hr,f(hr.fn,{scope:Pr.scope,isolateScope:Pr.isolateScope,controller:Pr.controller,injector:Pr.injector,inheritedData:Pr.inheritedData}),lt("remove",!0,!0,!1),lt("empty",!1,!1,!1),lt("html",!1,!1,!0)):pr=ft,xr.element=pr}function tt(e,t,n){if(!e)throw $r("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function nt(e,t,n){return n&&C(e)&&(e=e[e.length-1]),tt(T(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 $r("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&&T(e)?F(o,e):e}function ot(e){var t=e[0],n=e[e.length-1];if(t===n)return pr(t);var r=t,i=[r];do{if(r=r.nextSibling,!r)break;i.push(r)}while(r!==n);return pr(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:M,extend:f,equals:q,element:pr,forEach:o,injector:jt,noop:d,bind:F,toJson:B,fromJson:W,identity:g,isUndefined:v,isDefined:y,isString:x,isFunction:T,isObject:$,isNumber:b,isElement:A,isArray:C,version:Tr,isDate:w,lowercase:sr,uppercase:ur,callbacks:{counter:0},$$minErr:r,$$csp:H}),dr=st(e);try{dr("ngLocale")}catch(n){dr("ngLocale",[]).provider("$locale",Kt)}dr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",qt).directive({a:hi,input:Ci,textarea:Ci,form:vi,script:io,select:ao,style:co,option:uo,ngBind:Li,ngBindHtml:Hi,ngBindTemplate:qi,ngClass:Ii,ngClassEven:Fi,ngClassOdd:Ri,ngCloak:_i,ngController:Bi,ngForm:yi,ngHide:Ki,ngIf:zi,ngInclude:Ui,ngInit:Xi,ngNonBindable:Yi,ngPluralize:Ji,ngRepeat:Qi,ngShow:Gi,ngStyle:Zi,ngSwitch:eo,ngSwitchWhen:to,ngSwitchDefault:no,ngOptions:so,ngTransclude:ro,ngModel:Ai,ngList:Di,ngChange:ji,required:Oi,ngRequired:Oi,ngValue:Mi}).directive({ngInclude:Vi}).directive(di).directive(Wi),e.provider({$anchorScroll:Ot,$animate:Br,$browser:Pt,$cacheFactory:Mt,$controller:Rt,$document:Ft,$exceptionHandler:_t,$filter:qn,$interpolate:Qt,$interval:Gt,$http:Vt,$httpBackend:Yt,$location:pn,$log:hn,$parse:bn,$rootScope:Tn,$q:wn,$sce:jn,$sceDelegate:An,$sniffer:On,$templateCache:Lt,$timeout:Dn,$window:Ln})}])}function ut(){return++Er}function ct(e){return e.replace(jr,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Or,"Moz$1")}function lt(e,t,n,r){function i(e){var i,s,a,u,c,l,f,p=n&&e?[this.filter(e)]:[this],h=t;if(!r||null!=e)for(;p.length;)for(i=p.shift(),s=0,a=i.length;a>s;s++)for(u=pr(i[s]),h?u.triggerHandler("$destroy"):h=!h,c=0,l=(f=u.children()).length;l>c;c++)p.push(hr(f[c]));return o.apply(this,arguments)}var o=hr.fn[e];o=o.$original||o,i.$original=o,hr.fn[e]=i}function ft(e){if(e instanceof ft)return e;if(x(e)&&(e=wr(e)),!(this instanceof ft)){if(x(e)&&"<"!=e.charAt(0))throw Dr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ft(e)}if(x(e)){var n=t.createElement("div");n.innerHTML="<div>&#160;</div>"+e,n.removeChild(n.firstChild),bt(this,n.childNodes);var r=pr(t.createDocumentFragment());r.append(this)}else bt(this,e)}function pt(e){return e.cloneNode(!0)}function ht(e){gt(e);for(var t=0,n=e.childNodes||[];t<n.length;t++)ht(n[t])}function dt(e,t,n,r){if(y(r))throw Dr("offargs","jqLite#off() does not support the `selector` argument");var i=mt(e,"events"),s=mt(e,"handle");s&&(v(t)?o(i,function(t,n){Ar(e,n,t),delete i[n]}):o(t.split(" "),function(t){v(n)?(Ar(e,t,i[t]),delete i[t]):P(i[t]||[],n)}))}function gt(e,t){var r=e[Sr],i=kr[r];if(i){if(t)return delete kr[r].data[t],void 0;i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),dt(e)),delete kr[r],e[Sr]=n}}function mt(e,t,n){var r=e[Sr],i=kr[r||-1];return y(n)?(i||(e[Sr]=r=ut(),i=kr[r]={}),i[t]=n,void 0):i&&i[t]}function vt(e,t,n){var r=mt(e,"data"),i=y(n),o=!i&&y(t),s=o&&!$(t);if(r||s||mt(e,"data",r={}),i)r[t]=n;else{if(!o)return r;if(s)return r&&r[t];f(r,t)}}function yt(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function $t(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",wr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+wr(t)+" "," ")))})}function xt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=wr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",wr(n))}}function bt(e,t){if(t){t=t.nodeName||!y(t.length)||S(t)?[t]:t;for(var n=0;n<t.length;n++)e.push(t[n])}}function wt(e,t){return Ct(e,"$"+(t||"ngController")+"Controller")}function Ct(e,t,r){e=pr(e),9==e[0].nodeType&&(e=e.find("html"));for(var i=C(t)?t:[t];e.length;){for(var o=0,s=i.length;s>o;o++)if((r=e.data(i[o]))!==n)return r;e=e.parent()}}function Tt(e){for(var t=0,n=e.childNodes;t<n.length;t++)ht(n[t]);for(;e.firstChild;)e.removeChild(e.firstChild)}function kt(e,t){var n=Mr[t.toLowerCase()];return n&&Lr[e.nodeName]&&n}function St(e,n){var r=function(r,i){if(r.preventDefault||(r.preventDefault=function(){r.returnValue=!1}),r.stopPropagation||(r.stopPropagation=function(){r.cancelBubble=!0}),r.target||(r.target=r.srcElement||t),v(r.defaultPrevented)){var s=r.preventDefault;r.preventDefault=function(){r.defaultPrevented=!0,s.call(r)},r.defaultPrevented=!1}r.isDefaultPrevented=function(){return r.defaultPrevented||r.returnValue===!1};var a=L(n[i||r.type]||[]);o(a,function(t){t.call(e,r)}),8>=fr?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=e,r}function Et(e){var t,r=typeof e;return"object"==r&&null!==e?"function"==typeof(t=e.$$hashKey)?t=e.$$hashKey():t===n&&(t=e.$$hashKey=c()):t=e,r+":"+t}function Nt(e){o(e,this.put,this)}function At(e){var t,n,r,i;return"function"==typeof e?(t=e.$inject)||(t=[],e.length&&(n=e.toString().replace(Rr,""),r=n.match(qr),o(r[1].split(Hr),function(e){e.replace(Ir,function(e,n,r){t.push(r)})})),e.$inject=t):C(e)?(i=e.length-1,nt(e[i],"fn"),t=e.slice(0,i)):nt(e,"fn",!0),t}function jt(e){function t(e){return function(t,n){return $(t)?(o(t,u(e)),void 0):e(t,n)}}function n(e,t){if(rt(e,"service"),(T(t)||C(t))&&(t=b.instantiate(t)),!t.$get)throw Fr("pget","Provider '{0}' must define $get factory method.",e);return y[e+h]=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,m(t))}function a(e,t){rt(e,"constant"),y[e]=t,w[e]=t}function c(e,t){var n=b.get(e+h),r=n.$get;n.$get=function(){var e=k.invoke(r,n);return k.invoke(t,null,{$delegate:e})}}function l(e){var t,n,r,i,s=[];return o(e,function(e){if(!v.get(e)){v.put(e,!0);try{if(x(e))for(t=dr(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 T(e)?s.push(b.invoke(e)):C(e)?s.push(b.invoke(e)):nt(e,"module")}catch(u){throw C(e)&&(e=e[e.length-1]),u.message&&u.stack&&-1==u.stack.indexOf(u.message)&&(u=u.message+"\n"+u.stack),Fr("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]===p)throw Fr("cdep","Circular dependency found: {0}",g.join(" <- "));return e[n]}try{return g.unshift(n),e[n]=p,e[n]=t(n)}catch(r){throw e[n]===p&&delete e[n],r}finally{g.shift()}}function r(e,t,r){var i,o,s,a=[],u=At(e);for(o=0,i=u.length;i>o;o++){if(s=u[o],"string"!=typeof s)throw Fr("itkn","Incorrect injection token! Expected service name as string, got {0}",s);a.push(r&&r.hasOwnProperty(s)?r[s]:n(s))}return e.$inject||(e=e[i]),e.apply(t,a)}function i(e,t){var n,i,o=function(){};return o.prototype=(C(e)?e[e.length-1]:e).prototype,n=new o,i=r(e,n,t),$(i)||T(i)?i:n}return{invoke:r,instantiate:i,get:n,annotate:At,has:function(t){return y.hasOwnProperty(t+h)||e.hasOwnProperty(t)}}}var p={},h="Provider",g=[],v=new Nt,y={$provide:{provider:t(n),factory:t(r),service:t(i),value:t(s),constant:t(a),decorator:c}},b=y.$injector=f(y,function(){throw Fr("unpr","Unknown provider: {0}",g.join(" <- "))}),w={},k=w.$injector=f(w,function(e){var t=b.get(e+h);return k.invoke(t.$get,t)});return o(l(e),function(e){k.invoke(e||d)}),k}function Ot(){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"!==sr(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 Dt(e,t,r,i){function s(e){try{e.apply(null,R(arguments,1))}finally{if(y--,0===y)for(;$.length;)try{$.pop()()}catch(t){r.error(t)}}}function a(e,t){!function n(){o(w,function(e){e()}),b=t(n,e)}()}function u(){k=null,C!=c.url()&&(C=c.url(),o(S,function(e){e(c.url())}))}var c=this,l=t[0],f=e.location,p=e.history,h=e.setTimeout,g=e.clearTimeout,m={};c.isMock=!1;var y=0,$=[];c.$$completeOutstandingRequest=s,c.$$incOutstandingRequestCount=function(){y++},c.notifyWhenNoOutstandingRequests=function(e){o(w,function(e){e()}),0===y?e():$.push(e)};var b,w=[];c.addPollFn=function(e){return v(b)&&a(100,h),w.push(e),e};var C=f.href,T=t.find("base"),k=null;c.url=function(t,n){if(f!==e.location&&(f=e.location),p!==e.history&&(p=e.history),t){if(C==t)return;return C=t,i.history?n?p.replaceState(null,"",t):(p.pushState(null,"",t),T.attr("href",T.attr("href"))):(k=t,n?f.replace(t):f.href=t),c}return k||f.href.replace(/%27/g,"'")};var S=[],E=!1;c.onUrlChange=function(t){return E||(i.history&&pr(e).on("popstate",u),i.hashchange?pr(e).on("hashchange",u):c.addPollFn(u),E=!0),S.push(t),t},c.baseHref=function(){var e=T.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var N={},A="",j=c.baseHref();c.cookies=function(e,t){var i,o,s,a,u;if(!e){if(l.cookie!==A)for(A=l.cookie,o=A.split("; "),N={},a=0;a<o.length;a++)s=o[a],u=s.indexOf("="),u>0&&(e=unescape(s.substring(0,u)),N[e]===n&&(N[e]=unescape(s.substring(u+1))));return N}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 y++,n=h(function(){delete m[n],s(e)},t||0),m[n]=!0,n},c.defer.cancel=function(e){return m[e]?(delete m[e],g(e),s(d),!0):!1}}function Pt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Dt(e,r,t,n)}]}function Mt(){this.$get=function(){function e(e,n){function i(e){e!=p&&(h?h==e&&(h=e.n):h=e,o(e.n,e.p),o(e,p),p=e,p.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={},p=null,h=null;return t[e]={put:function(e,t){var n=l[e]||(l[e]={key:e});return i(n),v(t)?void 0:(e in u||s++,u[e]=t,s>c&&this.remove(h.key),t)},get:function(e){var t=l[e];if(t)return i(t),u[e]},remove:function(e){var t=l[e];t&&(t==p&&(p=t.p),t==h&&(h=t.n),o(t.n,t.p),delete l[e],delete u[e],s--)},removeAll:function(){u={},s=0,l={},p=h=null},destroy:function(){u=null,a=null,l=null,delete t[e]},info:function(){return f({},a,{size:s})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function Lt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function qt(e,r){var i={},s="Directive",a=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,c=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,l=/^<\s*(tr|th|td|tbody)(\s+[^>]*)?>/i,p=/^(on[a-z]+|formaction)$/;this.directive=function d(t,n){return rt(t,"directive"),x(t)?(tt(n,"directiveFactory"),i.hasOwnProperty(t)||(i[t]=[],e.factory(t+s,["$injector","$exceptionHandler",function(e,n){var r=[];return o(i[t],function(i,o){try{var s=e.invoke(i);T(s)?s={compile:m(s)}:!s.compile&&s.link&&(s.compile=m(s.link)),s.priority=s.priority||0,s.index=o,s.name=s.name||t,s.require=s.require||s.controller&&s.name,s.restrict=s.restrict||"A",r.push(s)}catch(a){n(a)}}),r}])),i[t].push(n)):o(t,u(d)),this},this.aHrefSanitizationWhitelist=function(e){return y(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()},this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,r,u,d,v,y,b,w,k,S,E,N){function A(e,t,n,r,i){e instanceof pr||(e=pr(e)),o(e,function(t,n){3==t.nodeType&&t.nodeValue.match(/\S+/)&&(e[n]=t=pr(t).wrap("<span></span>").parent()[0])});var s=O(e,t,e,n,r,i);return j(e,"ng-scope"),function(t,n,r){tt(t,"scope");var i=n?Pr.clone.call(e):e;o(r,function(e,t){i.data("$"+t+"Controller",e)});for(var a=0,u=i.length;u>a;a++){var c=i[a],l=c.nodeType;(1===l||9===l)&&i.eq(a).data("$scope",t)}return n&&n(i,t),s&&s(t,i,i),i}}function j(e,t){try{e.addClass(t)}catch(n){}}function O(e,t,r,i,o,s){function a(e,r,i,o){var s,a,u,c,l,f,p,h,g,m=r.length,v=new Array(m);for(p=0;m>p;p++)v[p]=r[p];for(p=0,g=0,h=d.length;h>p;g++)u=v[g],s=d[p++],a=d[p++],c=pr(u),s?(s.scope?(l=e.$new(),c.data("$scope",l)):l=e,f=s.transclude,f||!o&&t?s(a,l,u,i,D(e,f||t)):s(a,l,u,i,o)):a&&a(e,u.childNodes,n,o)}for(var u,c,l,f,p,h,d=[],g=0;g<e.length;g++)u=new nt,c=P(e[g],[],u,0===g?i:n,o),l=c.length?I(c,e[g],u,t,r,null,[],[],s):null,l&&l.scope&&j(pr(e[g]),"ng-scope"),p=l&&l.terminal||!(f=e[g].childNodes)||!f.length?null:O(f,l?l.transclude:t),d.push(l,p),h=h||l||p,s=null;return h?a:null}function D(e,t){return function(n,r,i){var o=!1;n||(n=e.$new(),n.$$transcluded=!0,o=!0);var s=t(n,r,i);return o&&s.on("$destroy",F(n,n.$destroy)),s}}function P(e,t,n,r,i){var o,s,u=e.nodeType,l=n.$attr;switch(u){case 1:B(t,Ht(gr(e).toLowerCase()),"E",r,i);for(var f,p,h,d,g,m=e.attributes,v=0,y=m&&m.length;y>v;v++){var $=!1,b=!1;if(f=m[v],!fr||fr>=8||f.specified){p=f.name,d=Ht(p),st.test(d)&&(p=Z(d.substr(6),"-"));var w=d.replace(/(Start|End)$/,"");d===w+"Start"&&($=p,b=p.substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),h=Ht(p.toLowerCase()),l[h]=p,n[h]=g=wr(f.value),kt(e,h)&&(n[h]=!0),G(e,t,g,h),B(t,h,"A",r,i,$,b)}}if(s=e.className,x(s)&&""!==s)for(;o=c.exec(s);)h=Ht(o[2]),B(t,h,"C",r,i)&&(n[h]=wr(o[3])),s=s.substr(o.index+o[0].length);break;case 3:J(t,e.nodeValue);break;case 8:try{o=a.exec(e.nodeValue),o&&(h=Ht(o[1]),B(t,h,"M",r,i)&&(n[h]=wr(o[2])))}catch(C){}}return t.sort(X),t}function M(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Wr("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 pr(r)}function H(e,t,n){return function(r,i,o,s,a){return i=M(i[0],t,n),e(r,i,o,s,a)}}function I(e,i,s,a,c,l,f,p,h){function d(e,t,n,r){e&&(n&&(e=H(e,n,r)),e.require=w.require,(I===w||w.$$isolateScope)&&(e=et(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=H(t,n,r)),t.require=w.require,(I===w||w.$$isolateScope)&&(t=et(t,{isolateScope:!0})),p.push(t))}function g(e,t,n){var r,i="data",s=!1;if(x(e)){for(;"^"==(r=e.charAt(0))||"?"==r;)e=e.substr(1),"^"==r&&(i="inheritedData"),s=s||"?"==r;if(r=null,n&&"data"===i&&(r=n[e]),r=r||t[i]("$"+e+"Controller"),!r&&!s)throw Wr("ctreq","Controller '{0}', required by directive '{1}', can't be found!",e,k);return r}return C(e)&&(r=[],o(e,function(e){r.push(g(e,t,n))})),r}function m(e,t,a,c,l){function h(e,t){var r;return arguments.length<2&&(t=e,e=n),J&&(r=k),l(e,t,r)}var d,m,v,$,x,w,C,T,k={};if(d=i===a?s:L(s,new nt(pr(a),s.$attr)),m=d.$$element,I){var S=/^\s*([@=&])(\??)\s*(\w*)\s*$/,E=pr(a);C=t.$new(!0),F&&F===I.$$originalDirective?E.data("$isolateScope",C):E.data("$isolateScopeNoTemplate",C),j(E,"ng-isolate-scope"),o(I.scope,function(e,n){var i,o,s,a,u=e.match(S)||[],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=y(d[c]),a=o.literal?q:function(e,t){return e===t},s=o.assign||function(){throw i=C[n]=o(t),Wr("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=y(d[c]),C[n]=function(e){return o(t,e)};break;default:throw Wr("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",I.name,n,e)}})}for(T=l&&h,D&&o(D,function(e){var n,r={$scope:e===I||e.$$isolateScope?C:t,$element:m,$attrs:d,$transclude:T};w=e.controller,"@"==w&&(w=d[e.name]),n=b(w,r),k[e.name]=n,J||m.data("$"+e.name+"Controller",n),e.controllerAs&&(r.$scope[e.controllerAs]=n)}),v=0,$=f.length;$>v;v++)try{x=f[v],x(x.isolateScope?C:t,m,d,x.require&&g(x.require,m,k),T)}catch(N){u(N,U(m))}var A=t;for(I&&(I.template||null===I.templateUrl)&&(A=C),e&&e(A,a.childNodes,n,l),v=p.length-1;v>=0;v--)try{x=p[v],x(x.isolateScope?C:t,m,d,x.require&&g(x.require,m,k),T)}catch(N){u(N,U(m))}}h=h||{};for(var v,w,k,S,E,N,O=-Number.MAX_VALUE,D=h.controllerDirectives,I=h.newIsolateScopeDirective,F=h.templateDirective,B=h.nonTlbTranscludeDirective,X=!1,J=h.hasElementTranscludeDirective,Q=s.$$element=pr(i),G=l,Z=a,tt=0,rt=e.length;rt>tt;tt++){w=e[tt];var it=w.$$start,st=w.$$end;if(it&&(Q=M(i,it,st)),S=n,O>w.priority)break;if((N=w.scope)&&(v=v||w,w.templateUrl||(Y("new/isolated scope",I,w,Q),$(N)&&(I=w))),k=w.name,!w.templateUrl&&w.controller&&(N=w.controller,D=D||{},Y("'"+k+"' controller",D[k],w,Q),D[k]=w),(N=w.transclude)&&(X=!0,w.$$tlb||(Y("transclusion",B,w,Q),B=w),"element"==N?(J=!0,O=w.priority,S=M(i,it,st),Q=s.$$element=pr(t.createComment(" "+k+": "+s[k]+" ")),i=Q[0],K(c,pr(R(S)),i),Z=A(S,a,O,G&&G.name,{nonTlbTranscludeDirective:B})):(S=pr(pt(i)).contents(),Q.empty(),Z=A(S,a))),w.template)if(Y("template",F,w,Q),F=w,N=T(w.template)?w.template(Q,s):w.template,N=ot(N),w.replace){if(G=w,S=z(N),i=S[0],1!=S.length||1!==i.nodeType)throw Wr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",k,"");K(c,Q,i);var at={$attr:{}},ut=P(i,[],at),ct=e.splice(tt+1,e.length-(tt+1));I&&_(ut),e=e.concat(ut).concat(ct),W(s,at),rt=e.length}else Q.html(N);if(w.templateUrl)Y("template",F,w,Q),F=w,w.replace&&(G=w),m=V(e.splice(tt,e.length-tt),Q,s,c,Z,f,p,{controllerDirectives:D,newIsolateScopeDirective:I,templateDirective:F,nonTlbTranscludeDirective:B}),rt=e.length;else if(w.compile)try{E=w.compile(Q,s,Z),T(E)?d(null,E,it,st):E&&d(E.pre,E.post,it,st)}catch(lt){u(lt,U(Q))}w.terminal&&(m.terminal=!0,O=Math.max(O,w.priority))}return m.scope=v&&v.scope===!0,m.transclude=X&&Z,h.hasElementTranscludeDirective=J,m}function _(e){for(var t=0,n=e.length;n>t;t++)e[t]=h(e[t],{$$isolateScope:!0})}function B(t,r,o,a,c,l,f){if(r===c)return null;var p=null;if(i.hasOwnProperty(r))for(var d,g=e.get(r+s),m=0,v=g.length;v>m;m++)try{d=g[m],(a===n||a>d.priority)&&-1!=d.restrict.indexOf(o)&&(l&&(d=h(d,{$$start:l,$$end:f})),t.push(d),p=d)}catch(y){u(y)}return p}function W(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(j(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 z(e){var t;if(e=wr(e),t=l.exec(e)){t=t[1].toLowerCase();var n=pr("<table>"+e+"</table>"),r=n.children("tbody"),i=/(td|th)/.test(t)&&n.find("tr");return r.length&&"tbody"!==t&&(n=r),i&&i.length&&(n=i),n.contents()}return pr("<div>"+e+"</div>").contents()}function V(e,t,n,r,i,s,a,u){var c,l,p=[],h=t[0],g=e.shift(),m=f({},g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),y=T(g.templateUrl)?g.templateUrl(t,n):g.templateUrl;return t.empty(),d.get(S.getTrustedResourceUrl(y),{cache:v}).success(function(f){var d,v,x,b;if(f=ot(f),g.replace){if(x=z(f),d=x[0],1!=x.length||1!==d.nodeType)throw Wr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,y);v={$attr:{}},K(r,t,d);var w=P(d,[],v);$(g.scope)&&_(w),e=w.concat(e),W(n,v)}else d=h,t.html(f);for(e.unshift(m),c=I(e,d,n,i,t,g,s,a,u),o(r,function(e,n){e==d&&(r[n]=t[0])}),l=O(t[0].childNodes,i);p.length;){var C=p.shift(),T=p.shift(),k=p.shift(),S=p.shift(),E=t[0];if(T!==h){var N=T.className;u.hasElementTranscludeDirective&&g.replace||(E=pt(d)),K(k,pr(T),E),j(pr(E),N)}b=c.transclude?D(C,c.transclude):S,c(l,C,E,r,b)}p=null}).error(function(e,t,n,r){throw Wr("tpload","Failed to load template: {0}",r.url)}),function(e,t,n,r,i){p?(p.push(t),p.push(n),p.push(r),p.push(i)):c(l,t,n,r,i)}}function X(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function Y(e,t,n,r){if(t)throw Wr("multidir","Multiple directives [{0}, {1}] asking for {2} on: {3}",t.name,n.name,e,U(r))}function J(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:m(function(e,t){var r=t.parent(),i=r.data("$binding")||[];i.push(n),j(r.data("$binding",i),"ng-binding"),e.$watch(n,function(e){t[0].nodeValue=e})})})}function Q(e,t){if("srcdoc"==t)return S.HTML;var n=gr(e);return"xlinkHref"==t||"FORM"==n&&"action"==t||"IMG"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function G(e,t,n,i){var o=r(n,!0);if(o){if("multiple"===i&&"SELECT"===gr(e))throw Wr("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",U(e));t.push({priority:100,compile:function(){return{pre:function(t,n,s){var a=s.$$observers||(s.$$observers={});if(p.test(i))throw Wr("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");
o=r(s[i],!0,Q(e,i)),o&&(s[i]=o(t),(a[i]||(a[i]=[])).$$inter=!0,(s.$$observers&&s.$$observers[i].$$scope||t).$watch(o,function(e,t){"class"===i&&e!=t?s.$updateClass(e,t):s.$set(i,e)}))}}}})}}function K(e,n,r){var i,o,s=n[0],a=n.length,u=s.parentNode;if(e)for(i=0,o=e.length;o>i;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 p=t.createDocumentFragment();p.appendChild(s),r[pr.expando]=s[pr.expando];for(var h=1,d=n.length;d>h;h++){var g=n[h];pr(g).remove(),p.appendChild(g),delete n[h]}n[0]=r,n.length=1}function et(e,t){return f(function(){return e.apply(null,arguments)},e,t)}var nt=function(e,t){this.$$element=e,this.$attr=t||{}};nt.prototype={$normalize:Ht,$addClass:function(e){e&&e.length>0&&E.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&E.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=It(e,t),r=It(t,e);0===n.length?E.removeClass(this.$$element,r):0===r.length?E.addClass(this.$$element,n):E.setClass(this.$$element,n,r)},$set:function(e,t,r,i){var s,a=kt(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=gr(this.$$element),("A"===s&&"href"===e||"IMG"===s&&"src"===e)&&(this[e]=t=N(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),w.$evalAsync(function(){i.$$inter||t(n[e])}),t}};var rt=r.startSymbol(),it=r.endSymbol(),ot="{{"==rt||"}}"==it?g:function(e){return e.replace(/\{\{/g,rt).replace(/}}/g,it)},st=/^ngAttr[A-Z]/;return A}]}function Ht(e){return ct(e.replace(zr,""))}function It(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var s=r[o],a=0;a<i.length;a++)if(s==i[a])continue e;n+=(n.length>0?" ":"")+s}return n}function Rt(){var e={},t=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){rt(t,"controller"),$(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 Ft(){this.$get=["$window",function(e){return pr(e.document)}]}function _t(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function Bt(e){var t,n,r,i={};return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=sr(wr(e.substr(0,r))),n=wr(e.substr(r+1)),t&&(i[t]?i[t]+=", "+n:i[t]=n)}),i):i}function Wt(e){var t=$(e)?e:n;return function(n){return t||(t=Bt(e)),n?t[sr(n)]||null:t}}function zt(e,t,n){return T(n)?n(e,t):(o(n,function(n){e=n(e,t)}),e)}function Ut(e){return e>=200&&300>e}function Vt(){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=W(n))),n}],transformRequest:[function(e){return $(e)&&!N(e)?B(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:M(i),put:M(i),patch:M(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,p){function h(e){function r(e){var t=f({},e,{data:zt(e.data,e.headers,a.transformResponse)});return Ut(e.status)?t:l.reject(t)}function i(e){function t(e){var t;o(e,function(n,r){T(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[sr(e.method)]),t(a),t(u);e:for(n in a){r=sr(n);for(i in u)if(sr(i)===r)continue e;u[n]=a[n]}return u}var a={transformRequest:s.transformRequest,transformResponse:s.transformResponse},u=i(e);f(a,e),a.headers=u,a.method=ur(a.method);var c=Mn(a.url)?t.cookies()[a.xsrfCookieName||s.xsrfCookieName]:n;c&&(u[a.xsrfHeaderName||s.xsrfHeaderName]=c);var p=function(e){u=e.headers;var t=zt(e.data,Wt(u),e.transformRequest);return v(e.data)&&o(u,function(e,t){"content-type"===sr(t)&&delete u[t]}),v(e.withCredentials)&&!v(s.withCredentials)&&(e.withCredentials=s.withCredentials),m(e,t,u).then(r,r)},h=[p,n],d=l.when(a);for(o(k,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var g=h.shift(),y=h.shift();d=d.then(g,y)}return d.success=function(e){return d.then(function(t){e(t.data,t.status,t.headers,a)}),d},d.error=function(e){return d.then(null,function(t){e(t.data,t.status,t.headers,a)}),d},d}function d(){o(arguments,function(e){h[e]=function(t,n){return h(f(n||{},{method:e,url:t}))}})}function g(){o(arguments,function(e){h[e]=function(t,n,r){return h(f(r||{},{method:e,url:t,data:n}))}})}function m(t,n,r){function o(e,t,n){c&&(Ut(e)?c.put(g,[e,t,Bt(n)]):c.remove(g)),a(t,e,n),i.$$phase||i.$apply()}function a(e,n,r){n=Math.max(n,0),(Ut(n)?p.resolve:p.reject)({data:e,status:n,headers:Wt(r),config:t})}function u(){var e=D(h.pendingRequests,t);-1!==e&&h.pendingRequests.splice(e,1)}var c,f,p=l.defer(),d=p.promise,g=b(t.url,t.params);if(h.pendingRequests.push(t),d.then(u,u),(t.cache||s.cache)&&t.cache!==!1&&"GET"==t.method&&(c=$(t.cache)?t.cache:$(s.cache)?s.cache:w),c)if(f=c.get(g),y(f)){if(f.then)return f.then(u,u),f;C(f)?a(f[1],f[0],M(f[2])):a(f,200,{})}else c.put(g,d);return v(f)&&e(t.method,g,n,o,r,t.timeout,t.withCredentials,t.responseType),d}function b(e,t){if(!t)return e;var n=[];return a(t,function(e,t){null===e||v(e)||(C(e)||(e=[e]),o(e,function(e){$(e)&&(e=B(e)),n.push(Q(t)+"="+Q(e))}))}),e+(-1==e.indexOf("?")?"?":"&")+n.join("&")}var w=r("$http"),k=[];return o(u,function(e){k.unshift(x(e)?p.get(e):p.invoke(e))}),o(c,function(e,t){var n=x(e)?p.get(e):p.invoke(e);k.splice(t,0,{response:function(e){return n(l.when(e))},responseError:function(e){return n(l.reject(e))}})}),h.pendingRequests=[],d("get","delete","head","jsonp"),g("post","put"),h.defaults=s,h}]}function Xt(t){if(8>=fr&&(!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 Yt(){this.$get=["$browser","$window","$document",function(e,t,n){return Jt(e,Xt,e.defer,t.angular.callbacks,n[0])}]}function Jt(e,t,n,r,i){function s(e,t){var n=i.createElement("script"),r=function(){n.onreadystatechange=n.onload=n.onerror=null,i.body.removeChild(n),t&&t()};return n.type="text/javascript",n.src=e,fr&&8>=fr?n.onreadystatechange=function(){/loaded|complete/.test(n.readyState)&&r()}:n.onload=n.onerror=function(){r()},i.body.appendChild(n),r}var a=-1;return function(i,u,c,l,f,p,h,g){function m(){$=a,b&&b(),w&&w.abort()}function v(t,r,i,o){T&&n.cancel(T),b=w=null,r=0===r?i?200:404:r,r=1223==r?204:r,t(r,i,o),e.$$completeOutstandingRequest(d)}var $;if(e.$$incOutstandingRequestCount(),u=u||e.url(),"jsonp"==sr(i)){var x="_"+(r.counter++).toString(36);r[x]=function(e){r[x].data=e};var b=s(u.replace("JSON_CALLBACK","angular.callbacks."+x),function(){r[x].data?v(l,200,r[x].data):v(l,$||-2),r[x]=xr.noop})}else{var w=t(i);if(w.open(i,u,!0),o(f,function(e,t){y(e)&&w.setRequestHeader(t,e)}),w.onreadystatechange=function(){if(w&&4==w.readyState){var e=null,t=null;$!==a&&(e=w.getAllResponseHeaders(),t="response"in w?w.response:w.responseText),v(l,$||w.status,t,e)}},h&&(w.withCredentials=!0),g)try{w.responseType=g}catch(C){if("json"!==g)throw C}w.send(c||null)}if(p>0)var T=n(m,p);else p&&p.then&&p.then(m)}}function Qt(){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,p,h,d=0,g=[],m=o.length,y=!1,$=[];m>d;)-1!=(l=o.indexOf(e,d))&&-1!=(f=o.indexOf(t,l+s))?(d!=l&&g.push(o.substring(d,l)),g.push(p=n(h=o.substring(l+s,f))),p.exp=h,d=f+a,y=!0):(d!=m&&g.push(o.substring(d)),d=m);if((m=g.length)||(g.push(""),m=1),c&&g.length>1)throw Ur("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||y?($.length=m,p=function(e){try{for(var t,n=0,s=m;s>n;n++)"function"==typeof(t=g[n])&&(t=t(e),t=c?i.getTrusted(c,t):i.valueOf(t),null===t||v(t)?t="":"string"!=typeof t&&(t=B(t))),$[n]=t;return $.join("")}catch(a){var u=Ur("interr","Can't interpolate: {0}\n{1}",o,a.toString());r(u)}},p.exp=o,p.parts=g,p):void 0}var s=e.length,a=t.length;return o.startSymbol=function(){return e},o.endSymbol=function(){return t},o}]}function Gt(){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,p=0,h=y(a)&&!a;return s=y(s)?s:0,f.then(null,null,r),f.$$intervalId=u(function(){l.notify(p++),s>0&&p>=s&&(l.resolve(p),c(f.$$intervalId),delete i[f.$$intervalId]),h||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"),clearInterval(e.$$intervalId),delete i[e.$$intervalId],!0):!1},r}]}function Kt(){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 Zt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=J(t[n]);return t.join("/")}function en(e,t,n){var r=Pn(e,n);t.$$protocol=r.protocol,t.$$host=r.hostname,t.$$port=p(r.port)||Xr[r.protocol]||null}function tn(e,t,n){var r="/"!==e.charAt(0);r&&(e="/"+e);var i=Pn(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 nn(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function rn(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function on(e){return e.substr(0,rn(e).lastIndexOf("/")+1)}function sn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function an(e,t){this.$$html5=!0,t=t||"";var r=on(e);en(e,this,e),this.$$parse=function(t){var n=nn(r,t);if(!x(n))throw Yr("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,r);tn(n,this,e),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Y(this.$$search),t=this.$$hash?"#"+J(this.$$hash):"";this.$$url=Zt(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o,s;return(o=nn(e,i))!==n?(s=o,(o=nn(t,o))!==n?r+(nn("/",o)||o):e+s):(o=nn(r,i))!==n?r+o:r==i+"/"?r:void 0}}function un(e,t){var n=on(e);en(e,this,e),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/?.*?:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o=nn(e,r)||nn(n,r),s="#"==o.charAt(0)?nn(t,o):this.$$html5?o:"";if(!x(s))throw Yr("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,t);tn(s,this,e),this.$$path=i(this.$$path,s,e),this.$$compose()},this.$$compose=function(){var n=Y(this.$$search),r=this.$$hash?"#"+J(this.$$hash):"";this.$$url=Zt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$rewrite=function(t){return rn(e)==rn(t)?t:void 0}}function cn(e,t){this.$$html5=!0,un.apply(this,arguments);var n=on(e);this.$$rewrite=function(r){var i;return e==rn(r)?r:(i=nn(n,r))?e+t+i:n===r+"/"?n:void 0}}function ln(e){return function(){return this[e]}}function fn(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function pn(){var t="",n=!1;this.hashPrefix=function(e){return y(e)?(t=e,this):t},this.html5Mode=function(e){return y(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(),p=i.url();n?(l=sn(p)+(f||"/"),c=o.history?an:cn):(l=rn(p),c=un),u=new c(l,"#"+t),u.$$parse(u.$$rewrite(p)),s.on("click",function(t){if(!t.ctrlKey&&!t.metaKey&&2!=t.which){for(var n=pr(t.target);"a"!==sr(n[0].nodeName);)if(n[0]===s[0]||!(n=n.parent())[0])return;var o=n.prop("href");$(o)&&"[object SVGAnimatedString]"===o.toString()&&(o=Pn(o.animVal).href);var a=u.$$rewrite(o);o&&!n.attr("target")&&a&&!t.isDefaultPrevented()&&(t.preventDefault(),a!=i.url()&&(u.$$parse(a),r.$apply(),e.angular["ff-684208-preventDefault"]=!0))}}),u.absUrl()!=p&&i.url(u.absUrl(),!0),i.onUrlChange(function(e){u.absUrl()!=e&&(r.$evalAsync(function(){var t=u.absUrl();u.$$parse(e),r.$broadcast("$locationChangeStart",e,t).defaultPrevented?(u.$$parse(t),i.url(t)):a(t)}),r.$$phase||r.$digest())});var h=0;return r.$watch(function(){var e=i.url(),t=u.$$replace;return h&&e==u.absUrl()||(h++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",u.absUrl(),e).defaultPrevented?u.$$parse(e):(i.url(u.absUrl(),t),a(e))})),u.$$replace=!1,h}),u}]}function hn(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||d,s=!1;try{s=!!i.apply}catch(a){}return s?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function dn(e,t){if("constructor"===e)throw Qr("isecfld",'Referencing "constructor" field in Angular expressions is disallowed! Expression: {0}',t);return e}function gn(e,t){if(e){if(e.constructor===e)throw Qr("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.document&&e.location&&e.alert&&e.setInterval)throw Qr("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.on&&e.find))throw Qr("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t)}return e}function mn(e,t,r,i,o){o=o||{};for(var s,a=t.split("."),u=0;a.length>1;u++){s=dn(a.shift(),i);var c=e[s];c||(c={},e[s]=c),e=c,e.then&&o.unwrapPromises&&(Jr(i),"$$v"in e||function(e){e.then(function(t){e.$$v=t})}(e),e.$$v===n&&(e.$$v={}),e=e.$$v)}return s=dn(a.shift(),i),e[s]=r,r}function vn(e,t,r,i,o,s,a){return dn(e,s),dn(t,s),dn(r,s),dn(i,s),dn(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&&(Jr(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&&(Jr(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&&(Jr(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&&(Jr(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&&(Jr(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 yn(e,t){return dn(e,t),function(t,r){return null==t?n:(r&&r.hasOwnProperty(e)?r:t)[e]}}function $n(e,t,r){return dn(e,r),dn(t,r),function(r,i){return null==r?n:(r=(i&&i.hasOwnProperty(e)?i:r)[e],null==r?n:r[t])}}function xn(e,t,r){if(ni.hasOwnProperty(e))return ni[e];var i,s=e.split("."),a=s.length;if(t.unwrapPromises||1!==a)if(t.unwrapPromises||2!==a)if(t.csp)i=6>a?vn(s[0],s[1],s[2],s[3],s[4],r,t):function(e,i){var o,u=0;do o=vn(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){dn(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=m(u),i=t.unwrapPromises?function(e,t){return c(e,t,Jr)}:c}else i=$n(s[0],s[1],r);else i=yn(s[0],r);return"hasOwnProperty"!==e&&(ni[e]=i),i}function bn(){var e={},t={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(e){return y(e)?(t.unwrapPromises=!!e,this):t.unwrapPromises},this.logPromiseWarnings=function(e){return y(e)?(t.logPromiseWarnings=e,this):t.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return t.csp=r.csp,Jr=function(e){t.logPromiseWarnings&&!Gr.hasOwnProperty(e)&&(Gr[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 ei(t),s=new ti(o,n,t);return i=s.parse(r,!1),"hasOwnProperty"!==r&&(e[r]=i),i;case"function":return r;default:return d}}}]}function wn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Cn(function(t){e.$evalAsync(t)},t)}]}function Cn(e,t){function r(e){return e}function i(e){return c(e)}function s(e){var t=a(),n=0,r=C(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((T(e)?e:r)(n))}catch(i){u.reject(i),t(i)}},f=function(e){try{u.resolve((T(n)?n:i)(e))}catch(r){u.reject(r),t(r)}},p=function(e){try{u.notify((T(s)?s:r)(e))}catch(n){t(n)}};return c?c.push([l,f,p]):o.then(l,f,p),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 o&&T(o.then)?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 t&&T(t.then)?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((T(o)?o:i)(n))}catch(e){s.reject(e),t(e)}}),s.promise}}},f=function(n,o,s,l){var f,p=a(),h=function(e){try{return(T(o)?o:r)(e)}catch(n){return t(n),c(n)}},d=function(e){try{return(T(s)?s:i)(e)}catch(n){return t(n),c(n)}},g=function(e){try{return(T(l)?l:r)(e)}catch(n){t(n)}};return e(function(){u(n).then(function(e){f||(f=!0,p.resolve(u(e).then(h,d,g)))},function(e){f||(f=!0,p.resolve(d(e)))},function(e){f||p.notify(g(e))})}),p.promise};return{defer:a,reject:c,when:f,all:s}}function Tn(){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(v.$$phase)throw t("inprog","{0} already in progress",v.$$phase);v.$$phase=e}function p(){v.$$phase=null}function h(e,t){var n=a(e);return nt(n,t),n}function g(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function m(){}l.prototype={constructor:l,$new:function(e){var t,n;return e?(n=new l,n.$root=this.$root,n.$$asyncQueue=this.$$asyncQueue,n.$$postDigestQueue=this.$$postDigestQueue):(t=function(){},t.prototype=this,n=new t,n.$id=c()),n["this"]=n,n.$$listeners={},n.$$listenerCount={},n.$parent=this,n.$$watchers=n.$$nextSibling=n.$$childHead=n.$$childTail=null,n.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=n,this.$$childTail=n):this.$$childHead=this.$$childTail=n,n},$watch:function(e,t,r){var i=this,o=h(e,"watch"),s=i.$$watchers,a={fn:t,last:m,get:o,exp:e,eq:!!r};if(n=null,!T(t)){var u=h(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(){s=l(u);var e,t;if($(s))if(i(s)){o!==f&&(o=f,h=o.length=0,c++),e=s.length,h!==e&&(c++,o.length=h=e);for(var n=0;e>n;n++)o[n]!==s[n]&&(c++,o[n]=s[n])}else{o!==p&&(o=p={},h=0,c++),e=0;for(t in s)s.hasOwnProperty(t)&&(e++,o.hasOwnProperty(t)?o[t]!==s[t]&&(c++,o[t]=s[t]):(h++,o[t]=s[t],c++));if(h>e){c++;for(t in o)o.hasOwnProperty(t)&&!s.hasOwnProperty(t)&&(h--,delete o[t])}}else o!==s&&(o=s,c++);return c}function r(){t(s,o,u)}var o,s,u=this,c=0,l=a(e),f=[],p={},h=0;return this.$watch(n,r)},$digest:function(){var r,i,o,a,u,c,l,h,d,g,v,y=this.$$asyncQueue,$=this.$$postDigestQueue,x=e,b=this,w=[];f("$digest"),n=null;do{for(c=!1,h=b;y.length;){try{v=y.shift(),v.scope.$eval(v.expression)}catch(C){p(),s(C)}n=null}e:do{if(a=h.$$watchers)for(u=a.length;u--;)try{if(r=a[u])if((i=r.get(h))===(o=r.last)||(r.eq?q(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?M(i):i,r.fn(i,o===m?i:o,h),5>x&&(d=4-x,w[d]||(w[d]=[]),g=T(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,g+="; newVal: "+B(i)+"; oldVal: "+B(o),w[d].push(g))}catch(C){p(),s(C)}if(!(l=h.$$childHead||h!==b&&h.$$nextSibling))for(;h!==b&&!(l=h.$$nextSibling);)h=h.$parent}while(h=l);if((c||y.length)&&!x--)throw p(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,B(w))}while(c||y.length);for(p();$.length;)try{$.shift()()}catch(C){s(C)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==v&&(o(this.$$listenerCount,F(null,g,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=null)}},$eval:function(e,t){return a(e)(this,t)},$evalAsync:function(e){v.$$phase||v.$$asyncQueue.length||u.defer(function(){v.$$asyncQueue.length&&v.$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{p();try{v.$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[D(n,t)]=null,g(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=I([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=I([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 v=new l;return v}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*(https?|ftp|file):|data:image\//;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return fr&&!(fr>=8)||(i=Pn(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function Sn(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}function En(e){if("self"===e)return e;if(x(e)){if(e.indexOf("***")>-1)throw ri("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=Sn(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(k(e))return new RegExp("^"+e.source+"$");throw ri("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Nn(e){var t=[];return y(e)&&o(e,function(e){t.push(En(e))}),t}function An(){this.SCE_CONTEXTS=ii;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Nn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Nn(e)),t},this.$get=["$injector",function(r){function i(e,t){return"self"===e?Mn(t):!!e.exec(t.href)}function o(n){var r,o,s=Pn(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=p.hasOwnProperty(e)?p[e]:null;if(!r)throw ri("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 ri("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=p.hasOwnProperty(e)?p[e]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(e===ii.RESOURCE_URL){if(o(t))return t;throw ri("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===ii.HTML)return l(t);throw ri("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw ri("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(l=r.get("$sanitize"));var f=s(),p={};return p[ii.HTML]=s(f),p[ii.CSS]=s(f),p[ii.URL]=s(f),p[ii.JS]=s(f),p[ii.RESOURCE_URL]=s(p[ii.URL]),{trustAs:a,getTrusted:c,valueOf:u}}]}function jn(){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 ri("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var i=M(ii);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=g),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(ii,function(e,t){var n=sr(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 On(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=p((/android (\d+)/.exec(sr((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,h=!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),h=!!("animation"in l||n+"Animation"in l),!o||f&&h||(f=x(a.body.style.webkitTransition),h=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==fr)return!1;if(v(i[e])){var t=a.createElement("div");i[e]="on"+e in t}return i[e]},csp:H(),vendorPrefix:n,transitions:f,animations:h,android:o,msie:fr,msieDocumentMode:u}}]}function Dn(){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=y(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 Pn(e){var t=e;return fr&&(oi.setAttribute("href",t),t=oi.href),oi.setAttribute("href",t),{href:oi.href,protocol:oi.protocol?oi.protocol.replace(/:$/,""):"",host:oi.host,search:oi.search?oi.search.replace(/^\?/,""):"",hash:oi.hash?oi.hash.replace(/^#/,""):"",hostname:oi.hostname,port:oi.port,pathname:"/"===oi.pathname.charAt(0)?oi.pathname:"/"+oi.pathname}}function Mn(e){var t=x(e)?Pn(e):e;return t.protocol===si.protocol&&t.host===si.host}function Ln(){this.$get=m(e)}function qn(e){function t(r,i){if($(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",In),t("date",Vn),t("filter",Hn),t("json",Xn),t("limitTo",Yn),t("lowercase",fi),t("number",Rn),t("orderBy",Jn),t("uppercase",pi)}function Hn(){return function(e,t,n){if(!C(e))return e;var r=typeof n,i=[];i.check=function(e){for(var t=0;t<i.length;t++)if(!i[t](e))return!1;return!0},"function"!==r&&(n="boolean"===r&&n?function(e,t){return xr.equals(e,t)}:function(e,t){if(e&&t&&"object"==typeof e&&"object"==typeof t){for(var r in e)if("$"!==r.charAt(0)&&ar.call(e,r)&&n(e[r],t[r]))return!0;return!1}return t=(""+t).toLowerCase(),(""+e).toLowerCase().indexOf(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;i<e.length;i++)if(o(e[i],t))return!0;return!1;default:return!1}};switch(typeof t){case"boolean":case"number":case"string":t={$:t};case"object":for(var s in t)!function(e){"undefined"!=typeof t[e]&&i.push(function(n){return o("$"==e?n:n&&n[e],t[e])})}(s);break;case"function":i.push(t);break;default:return e}for(var a=[],u=0;u<e.length;u++){var c=e[u];i.check(c)&&a.push(c)}return a}}function In(e){var t=e.NUMBER_FORMATS;return function(e,n){return v(n)&&(n=t.CURRENCY_SYM),Fn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,2).replace(/\u00A4/g,n)}}function Rn(e){var t=e.NUMBER_FORMATS;return function(e,n){return Fn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Fn(e,t,n,r,i){if(isNaN(e)||!isFinite(e))return"";var o=0>e;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":(a=s,c=!0)}if(c)i>0&&e>-1&&1>e&&(a=e.toFixed(i));else{var f=(s.split(ai)[1]||"").length;v(i)&&(i=Math.min(Math.max(t.minFrac,f),t.maxFrac));var p=Math.pow(10,i);e=Math.round(e*p)/p;var h=(""+e).split(ai),d=h[0];h=h[1]||"";var g,m=0,y=t.lgSize,$=t.gSize;if(d.length>=y+$)for(m=d.length-y,g=0;m>g;g++)0===(m-g)%$&&0!==g&&(a+=n),a+=d.charAt(g);for(g=m;g<d.length;g++)0===(d.length-g)%y&&0!==g&&(a+=n),a+=d.charAt(g);for(;h.length<i;)h+="0";i&&"0"!==i&&(a+=r+h.substr(0,i))}return u.push(o?t.negPre:t.posPre),u.push(a),u.push(o?t.negSuf:t.posSuf),u.join("")}function _n(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function Bn(e,t,n,r){return n=n||0,function(i){var o=i["get"+e]();return(n>0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),_n(o,t,r)}}function Wn(e,t){return function(n,r){var i=n["get"+e](),o=ur(t?"SHORT"+e:e);return r[o][i]}}function zn(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=_n(Math[t>0?"floor":"ceil"](t/60),2)+_n(Math.abs(t%60),2)}function Un(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Vn(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=p(t[9]+t[10]),o=p(t[9]+t[11])),s.call(r,p(t[1]),p(t[2])-1,p(t[3]));var u=p(t[4]||0)-i,c=p(t[5]||0)-o,l=p(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=li.test(n)?p(n):t(n)),b(n)&&(n=new Date(n)),!w(n))return n;for(;r;)s=ci.exec(r),s?(u=I(u,s,1),r=u.pop()):(u.push(r),r=null);return o(u,function(t){i=ui[t],a+=i?i(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),a}}function Xn(){return function(e){return B(e,!0)}}function Yn(){return function(e,t){if(!C(e)&&!x(e))return e;if(t=p(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 Jn(e){return function(t,n,r){function i(e,t){for(var r=0;r<n.length;r++){var i=n[r](e,t);if(0!==i)return i}return 0}function o(e,t){return z(t)?function(t,n){return e(n,t)}:e}function s(e,t){var n=typeof e,r=typeof t;return n==r?("string"==n&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:t>e?-1:1):r>n?-1:1}if(!C(t))return t;if(!n)return t;n=C(n)?n:[n],n=j(n,function(t){var n=!1,r=t||g;return x(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),r=e(t)),o(function(e,t){return s(r(e),r(t))},n)});for(var a=[],u=0;u<t.length;u++)a.push(t[u]);return a.sort(o(i,r))}}function Qn(e){return T(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function Gn(e,t){function n(t,n){n=n?"-"+Z(n,"-"):"",e.removeClass((t?ki:Ti)+n).addClass((t?Ti:ki)+n)}var r=this,i=e.parent().controller("form")||gi,s=0,a=r.$error={},u=[];r.$name=t.name||t.ngForm,r.$dirty=!1,r.$pristine=!0,r.$valid=!0,r.$invalid=!1,i.$addControl(r),e.addClass(Si),n(!0),r.$addControl=function(e){rt(e.$name,"input"),u.push(e),e.$name&&(r[e.$name]=e)},r.$removeControl=function(e){e.$name&&r[e.$name]===e&&delete r[e.$name],o(a,function(t,n){r.$setValidity(n,!0,e)}),P(u,e)},r.$setValidity=function(e,t,o){var u=a[e];if(t)u&&(P(u,o),u.length||(s--,s||(n(t),r.$valid=!0,r.$invalid=!1),a[e]=!1,n(!0,e),i.$setValidity(e,!0,r)));else{if(s||n(t),u){if(O(u,o))return}else a[e]=u=[],s++,n(!1,e),i.$setValidity(e,!1,r);u.push(o),r.$valid=!1,r.$invalid=!0}},r.$setDirty=function(){e.removeClass(Si).addClass(Ei),r.$dirty=!0,r.$pristine=!1,i.$setDirty()},r.$setPristine=function(){e.removeClass(Ei).addClass(Si),r.$dirty=!1,r.$pristine=!0,o(u,function(e){e.$setPristine()})}}function Kn(e,t,r,i){return e.$setValidity(t,r),r?i:n}function Zn(e,t,n,i,o,s){if(!o.android){var a=!1;t.on("compositionstart",function(){a=!0}),t.on("compositionend",function(){a=!1,u()})}var u=function(){if(!a){var r=t.val();z(n.ngTrim||"T")&&(r=wr(r)),i.$viewValue!==r&&(e.$$phase?i.$setViewValue(r):e.$apply(function(){i.$setViewValue(r)}))}};if(o.hasEvent("input"))t.on("input",u);else{var c,l=function(){c||(c=s.defer(function(){u(),c=null}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||l()}),o.hasEvent("paste")&&t.on("paste cut",l)}t.on("change",u),i.$render=function(){t.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var f,h,d=n.ngPattern;if(d){var g=function(e,t){return Kn(i,"pattern",i.$isEmpty(t)||e.test(t),t)};h=d.match(/^\/(.*)\/([gim]*)$/),h?(d=new RegExp(h[1],h[2]),f=function(e){return g(d,e)}):f=function(n){var i=e.$eval(d);if(!i||!i.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",d,i,U(t));return g(i,n)},i.$formatters.push(f),i.$parsers.push(f)}if(n.ngMinlength){var m=p(n.ngMinlength),v=function(e){return Kn(i,"minlength",i.$isEmpty(e)||e.length>=m,e)};i.$parsers.push(v),i.$formatters.push(v)}if(n.ngMaxlength){var y=p(n.ngMaxlength),$=function(e){return Kn(i,"maxlength",i.$isEmpty(e)||e.length<=y,e)};i.$parsers.push($),i.$formatters.push($)}}function er(e,t,r,i,o,s){if(Zn(e,t,r,i,o,s),i.$parsers.push(function(e){var t=i.$isEmpty(e);return t||bi.test(e)?(i.$setValidity("number",!0),""===e?null:t?e:parseFloat(e)):(i.$setValidity("number",!1),n)}),i.$formatters.push(function(e){return i.$isEmpty(e)?"":""+e}),r.min){var a=function(e){var t=parseFloat(r.min);return Kn(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 Kn(i,"max",i.$isEmpty(e)||t>=e,e)};i.$parsers.push(u),i.$formatters.push(u)}i.$formatters.push(function(e){return Kn(i,"number",i.$isEmpty(e)||b(e),e)})}function tr(e,t,n,r,i,o){Zn(e,t,n,r,i,o);var s=function(e){return Kn(r,"url",r.$isEmpty(e)||$i.test(e),e)};r.$formatters.push(s),r.$parsers.push(s)}function nr(e,t,n,r,i,o){Zn(e,t,n,r,i,o);var s=function(e){return Kn(r,"email",r.$isEmpty(e)||xi.test(e),e)};r.$formatters.push(s),r.$parsers.push(s)}function rr(e,t,n,r){v(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 ir(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 or(e,t){return e="ngClass"+e,function(){return{restrict:"AC",link:function(n,r,i){function s(e){if(t===!0||n.$index%2===t){var r=a(e||"");u?q(e,u)||i.$updateClass(r,a(u)):i.$addClass(r)}u=M(e)}function a(e){if(C(e))return e.join(" ");if($(e)){var t=[];return o(e,function(e,n){e&&t.push(n)}),t.join(" ")}return e}var u;n.$watch(i[e],s,!0),i.$observe("class",function(){s(n.$eval(i[e]))}),"ngClass"!==e&&n.$watch("$index",function(r,o){var s=1&r;if(1&s!==o){var u=a(n.$eval(i[e]));s===t?i.$addClass(u):i.$removeClass(u)}})}}}}var sr=function(e){return x(e)?e.toLowerCase():e},ar=Object.prototype.hasOwnProperty,ur=function(e){return x(e)?e.toUpperCase():e},cr=function(e){return x(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},lr=function(e){return x(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(sr=cr,ur=lr);var fr,pr,hr,dr,gr,mr=[].slice,vr=[].push,yr=Object.prototype.toString,$r=r("ng"),xr=(e.angular,e.angular||(e.angular={})),br=["0","0","0"];fr=p((/msie (\d+)/.exec(sr(navigator.userAgent))||[])[1]),isNaN(fr)&&(fr=p((/trident\/.*; rv:(\d+)/.exec(sr(navigator.userAgent))||[])[1])),d.$inject=[],g.$inject=[];var wr=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}}();gr=9>fr?function(e){return e=e.nodeName?e:e[0],e.scopeName&&"HTML"!=e.scopeName?ur(e.scopeName+":"+e.nodeName):e.nodeName}:function(e){return e.nodeName?e.nodeName:e[0].nodeName};var Cr=/[A-Z]/g,Tr={full:"1.2.13",major:1,minor:2,dot:13,codeName:"romantic-transclusion"},kr=ft.cache={},Sr=ft.expando="ng-"+(new Date).getTime(),Er=1,Nr=e.document.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},Ar=e.document.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)};ft._data=function(e){return this.cache[e[this.expando]]||{}};var jr=/([\:\-\_]+(.))/g,Or=/^moz([A-Z])/,Dr=r("jqLite"),Pr=ft.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),ft(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return e>=0?pr(this[e]):pr(this[this.length+e])},length:0,push:vr,sort:[].sort,splice:[].splice},Mr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Mr[sr(e)]=e});var Lr={};o("input,select,option,textarea,button,form,details".split(","),function(e){Lr[ur(e)]=!0}),o({data:vt,inheritedData:Ct,scope:function(e){return pr(e).data("$scope")||Ct(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return pr(e).data("$isolateScope")||pr(e).data("$isolateScopeNoTemplate")},controller:wt,injector:function(e){return Ct(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:yt,css:function(e,t,r){if(t=ct(t),!y(r)){var i;return 8>=fr&&(i=e.currentStyle&&e.currentStyle[t],""===i&&(i="auto")),i=i||e.style[t],8>=fr&&(i=""===i?n:i),i}e.style[t]=r},attr:function(e,t,r){var i=sr(t);if(Mr[i]){if(!y(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(y(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 y(n)?(e[t]=n,void 0):e[t]},text:function(){function e(e,n){var r=t[e.nodeType];return v(n)?r?e[r]:"":(e[r]=n,void 0)}var t=[];return 9>fr?(t[1]="innerText",t[3]="nodeValue"):t[1]=t[3]="textContent",e.$dv="",e}(),val:function(e,t){if(v(t)){if("SELECT"===gr(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(v(t))return e.innerHTML;for(var n=0,r=e.childNodes;n<r.length;n++)ht(r[n]);e.innerHTML=t},empty:Tt},function(e,t){ft.prototype[t]=function(t,r){var i,o;if(e!==Tt&&(2==e.length&&e!==yt&&e!==wt?t:r)===n){if($(t)){for(i=0;i<this.length;i++)if(e===vt)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}for(var s=e.$dv,a=s===n?Math.min(this.length,1):this.length,u=0;a>u;u++){var c=e(this[u],t,r);s=s?s+c:c}return s}for(i=0;i<this.length;i++)e(this[i],t,r);return this}}),o({removeData:gt,dealoc:ht,on:function lo(e,n,r,i){if(y(i))throw Dr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var s=mt(e,"events"),a=mt(e,"handle");s||mt(e,"events",s={}),a||mt(e,"handle",a=St(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"};lo(e,u[n],function(e){var t=this,r=e.relatedTarget;(!r||r!==t&&!o(t,r))&&a(e,n)})}else Nr(e,n,a),s[n]=[];i=s[n]}i.push(r)})},off:dt,one:function(e,t,n){e=pr(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;ht(e),o(new ft(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.childNodes||[]},append:function(e,t){o(new ft(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 ft(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=pr(t)[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:function(e){ht(e);var t=e.parentNode;t&&t.removeChild(e)},after:function(e,t){var n=e,r=e.parentNode;o(new ft(t),function(e){r.insertBefore(e,n.nextSibling),n=e})},addClass:xt,removeClass:$t,toggleClass:function(e,t,n){v(n)&&(n=!yt(e,t)),(n?xt:$t)(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:pt,triggerHandler:function(e,t,n){var r=(mt(e,"events")||{})[t];n=n||[];var i=[{preventDefault:d,stopPropagation:d}];o(r,function(t){t.apply(e,i.concat(n))})}},function(e,t){ft.prototype[t]=function(t,n,r){for(var i,o=0;o<this.length;o++)v(i)?(i=e(this[o],t,n,r),y(i)&&(i=pr(i))):bt(i,e(this[o],t,n,r));return y(i)?i:this},ft.prototype.bind=ft.prototype.on,ft.prototype.unbind=ft.prototype.off}),Nt.prototype={put:function(e,t){this[Et(e)]=t},get:function(e){return this[Et(e)]},remove:function(e){var t=this[e=Et(e)];return delete this[e],t}};var qr=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Hr=/,/,Ir=/^\s*(_?)(\S+?)\1\s*$/,Rr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fr=r("$injector"),_r=r("$animate"),Br=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var r=t+"-animation";if(t&&"."!=t.charAt(0))throw _r("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=r,e.factory(r,n)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$timeout",function(e){return{enter:function(t,n,r,i){r?r.after(t):(n&&n[0]||(n=r.parent()),n.append(t)),i&&e(i,0,!1)},leave:function(t,n){t.remove(),n&&e(n,0,!1)},move:function(e,t,n,r){this.enter(e,t,n,r)},addClass:function(t,n,r){n=x(n)?n:C(n)?n.join(" "):"",o(t,function(e){xt(e,n)}),r&&e(r,0,!1)},removeClass:function(t,n,r){n=x(n)?n:C(n)?n.join(" "):"",o(t,function(e){$t(e,n)}),r&&e(r,0,!1)},setClass:function(t,n,r,i){o(t,function(e){xt(e,n),$t(e,r)}),i&&e(i,0,!1)},enabled:d}}]}],Wr=r("$compile");qt.$inject=["$provide","$$sanitizeUriProvider"];var zr=/^(x[\:\-_]|data[\:\-_])/i,Ur=r("$interpolate"),Vr=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Xr={http:80,https:443,ftp:21},Yr=r("$location");cn.prototype=un.prototype=an.prototype={$$html5:!1,$$replace:!1,absUrl:ln("$$absUrl"),url:function(e,t){if(v(e))return this.$$url;var n=Vr.exec(e);return n[1]&&this.path(decodeURIComponent(n[1])),(n[2]||n[1])&&this.search(n[3]||""),this.hash(n[5]||"",t),this},protocol:ln("$$protocol"),host:ln("$$host"),port:ln("$$port"),path:fn("$$path",function(e){return"/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(x(e))this.$$search=X(e);else{if(!$(e))throw Yr("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");this.$$search=e}break;default:v(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:fn("$$hash",g),replace:function(){return this.$$replace=!0,this}};var Jr,Qr=r("$parse"),Gr={},Kr={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:d,"+":function(e,t,r,i){return r=r(e,t),i=i(e,t),y(r)?y(i)?r+i:r:y(i)?i:n},"-":function(e,t,n,r){return n=n(e,t),r=r(e,t),(y(n)?n:0)-(y(r)?r:0)},"*":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)},"=":d,"===":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 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)}},Zr={n:"\n",f:"\f",r:"\r",t:"	",v:"","'":"'",'"':'"'},ei=function(e){this.options=e};ei.prototype={constructor:ei,lex:function(e){this.text=e,this.index=0,this.ch=n,this.lastCh=":",this.tokens=[];for(var t,r=[];this.index<this.text.length;){if(this.ch=this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent(),this.was("{,")&&"{"===r[0]&&(t=this.tokens[this.tokens.length-1])&&(t.json=-1===t.text.indexOf("."));else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch,json:this.was(":[,")&&this.is("{[")||this.is("}]:,")}),this.is("{[")&&r.unshift(this.ch),this.is("}]")&&r.shift(),this.index++;else{if(this.isWhitespace(this.ch)){this.index++;continue}var i=this.ch+this.peek(),o=i+this.peek(2),s=Kr[this.ch],a=Kr[i],u=Kr[o];u?(this.tokens.push({index:this.index,text:o,fn:u}),this.index+=3):a?(this.tokens.push({index:this.index,text:i,fn:a}),this.index+=2):s?(this.tokens.push({index:this.index,text:this.ch,fn:s,json:this.was("[,:")&&this.is("+-")}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(e){return-1!==e.indexOf(this.ch)},was:function(e){return-1!==e.indexOf(this.lastCh)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="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=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Qr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=sr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}e=1*e,this.tokens.push({index:t,text:e,json:!0,fn:function(){return e}})},readIdent:function(){for(var e,t,n,r,i=this,o="",s=this.index;this.index<this.text.length&&(r=this.text.charAt(this.index),"."===r||this.isIdent(r)||this.isNumber(r));)"."===r&&(e=this.index),o+=r,this.index++;if(e)for(t=this.index;t<this.text.length;){if(r=this.text.charAt(t),"("===r){n=o.substr(e-s+1),o=o.substr(0,e-s),this.index=t;break}if(!this.isWhitespace(r))break;t++}var a={index:s,text:o};if(Kr.hasOwnProperty(o))a.fn=Kr[o],a.json=Kr[o];else{var u=xn(o,this.options,this.text);a.fn=f(function(e,t){return u(e,t)},{assign:function(e,t){return mn(e,o,t,i.text,i.options)}})}this.tokens.push(a),n&&(this.tokens.push({index:e,text:".",json:!1}),this.tokens.push({index:e+1,text:n,json:!1}))},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var s=this.text.substring(this.index+1,this.index+5);s.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+s+"]"),this.index+=4,n+=String.fromCharCode(parseInt(s,16))}else{var a=Zr[o];n+=a?a:o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,this.tokens.push({index:t,text:r,string:n,json:!0,fn:function(){return n}}),void 0;n+=o}this.index++}this.throwError("Unterminated quote",t)}};var ti=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n};ti.ZERO=function(){return 0},ti.prototype={constructor:ti,parse:function(e,t){this.text=e,this.json=t,this.tokens=this.lexer.lex(e),t&&(this.assignment=this.logicalOR,this.functionCall=this.fieldAccess=this.objectIndex=this.filterChain=function(){this.throwError("is not valid json",{text:e,index:0})});var n=t?this.primary():this.statements();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),n.literal=!!n.literal,n.constant=!!n.constant,n},primary:function(){var e;if(this.expect("("))e=this.filterChain(),this.consume(")");else if(this.expect("["))e=this.arrayDeclaration();else if(this.expect("{"))e=this.object();else{var t=this.expect();e=t.fn,e||this.throwError("not a primary expression",t),t.json&&(e.constant=!0,e.literal=!0)}for(var n,r;n=this.expect("(","[",".");)"("===n.text?(e=this.functionCall(e,r),r=null):"["===n.text?(r=e,e=this.objectIndex(e)):"."===n.text?(r=e,e=this.fieldAccess(e)):this.throwError("IMPOSSIBLE");return e},throwError:function(e,t){throw Qr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},peekToken:function(){if(0===this.tokens.length)throw Qr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){if(this.tokens.length>0){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.json&&!i.json&&this.throwError("is not valid json",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<e.length;i++){var o=e[i];o&&(r=o(t,n))}return r}},filterChain:function(){for(var e,t=this.expression();;){if(!(e=this.expect("|")))return t;t=this.binaryFn(t,e.fn,this.filter())}},filter:function(){for(var e=this.expect(),t=this.$filter(e.text),n=[];;){if(!(e=this.expect(":"))){var r=function(e,r,i){for(var o=[i],s=0;s<n.length;s++)o.push(n[s](e,r));return t.apply(e,o)};return function(){return r}}n.push(this.expression())}},expression:function(){return this.assignment()},assignment:function(){var e,t,n=this.ternary();return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),e=this.ternary(),function(t,r){return n.assign(t,e(t,r),r)}):n},ternary:function(){var e,t,n=this.logicalOR();return(t=this.expect("?"))?(e=this.ternary(),(t=this.expect(":"))?this.ternaryFn(n,e,this.ternary()):(this.throwError("expected :",t),void 0)):n},logicalOR:function(){for(var e,t=this.logicalAND();;){if(!(e=this.expect("||")))return t;t=this.binaryFn(t,e.fn,this.logicalAND())}},logicalAND:function(){var e,t=this.equality();return(e=this.expect("&&"))&&(t=this.binaryFn(t,e.fn,this.logicalAND())),t},equality:function(){var e,t=this.relational();return(e=this.expect("==","!=","===","!=="))&&(t=this.binaryFn(t,e.fn,this.equality())),t},relational:function(){var e,t=this.additive();return(e=this.expect("<",">","<=",">="))&&(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(ti.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=xn(n,this.options,this.text);return f(function(t,n,i){return r(i||e(t,n))},{assign:function(r,i,o){return mn(e(r,o),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 u?(s=gn(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=r(n,o),a=gn(e(n,o),t.text);return 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<n.length;u++)s.push(n[u](i,o));var c=e(i,o,a)||d;gn(a,r.text),gn(c,r.text);var l=c.apply?c.apply(a,s):c(s[0],s[1],s[2],s[3],s[4]);return gn(l,r.text)}},arrayDeclaration:function(){var e=[],t=!0;if("]"!==this.peekToken().text)do{var n=this.expression();e.push(n),n.constant||(t=!1)}while(this.expect(","));return this.consume("]"),f(function(t,n){for(var r=[],i=0;i<e.length;i++)r.push(e[i](t,n));return r},{literal:!0,constant:t})},object:function(){var e=[],t=!0;if("}"!==this.peekToken().text)do{var n=this.expect(),r=n.string||n.text;this.consume(":");var i=this.expression();e.push({key:r,value:i}),i.constant||(t=!1)}while(this.expect(","));return this.consume("}"),f(function(t,n){for(var r={},i=0;i<e.length;i++){var o=e[i];r[o.key]=o.value(t,n)}return r},{literal:!0,constant:t})}};var ni={},ri=r("$sce"),ii={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},oi=t.createElement("a"),si=Pn(e.location.href,!0);qn.$inject=["$provide"],In.$inject=["$locale"],Rn.$inject=["$locale"];var ai=".",ui={yyyy:Bn("FullYear",4),yy:Bn("FullYear",2,0,!0),y:Bn("FullYear",1),MMMM:Wn("Month"),MMM:Wn("Month",!0),MM:Bn("Month",2,1),M:Bn("Month",1,1),dd:Bn("Date",2),d:Bn("Date",1),HH:Bn("Hours",2),H:Bn("Hours",1),hh:Bn("Hours",2,-12),h:Bn("Hours",1,-12),mm:Bn("Minutes",2),m:Bn("Minutes",1),ss:Bn("Seconds",2),s:Bn("Seconds",1),sss:Bn("Milliseconds",3),EEEE:Wn("Day"),EEE:Wn("Day",!0),a:Un,Z:zn},ci=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,li=/^\-?\d+$/;Vn.$inject=["$locale"];var fi=m(sr),pi=m(ur);Jn.$inject=["$parse"];var hi=m({restrict:"E",compile:function(e,n){return 8>=fr&&(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]"===yr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}),di={};o(Mr,function(e,t){if("multiple"!=e){var n=Ht("ng-"+t);di[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=Ht("ng-"+e);di[t]=function(){return{priority:99,link:function(n,r,i){i.$observe(t,function(t){t&&(i.$set(e,t),fr&&r.prop(e,i[e]))})}}}});var gi={$addControl:d,$removeControl:d,$setValidity:d,$setDirty:d,$setPristine:d};Gn.$inject=["$element","$attrs","$scope"];var mi=function(e){return["$timeout",function(t){var r={name:"form",restrict:e?"EAC":"E",controller:Gn,compile:function(){return{pre:function(e,r,i,o){if(!i.action){var s=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};Nr(r[0],"submit",s),r.on("$destroy",function(){t(function(){Ar(r[0],"submit",s)},0,!1)})}var a=r.parent().controller("form"),u=i.name||i.ngForm;u&&mn(e,u,o,u),a&&r.on("$destroy",function(){a.$removeControl(o),u&&mn(e,u,n,u),f(o,gi)})}}}};return r}]},vi=mi(),yi=mi(!0),$i=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,xi=/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i,bi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,wi={text:Zn,number:er,url:tr,email:nr,radio:rr,checkbox:ir,hidden:d,button:d,submit:d,reset:d,file:d},Ci=["$browser","$sniffer",function(e,t){return{restrict:"E",require:"?ngModel",link:function(n,r,i,o){o&&(wi[sr(i.type)]||wi.text)(n,r,i,o,t,e)}}}],Ti="ng-valid",ki="ng-invalid",Si="ng-pristine",Ei="ng-dirty",Ni=["$scope","$exceptionHandler","$attrs","$element","$parse",function(e,t,n,i,s){function a(e,t){t=t?"-"+Z(t,"-"):"",i.removeClass((e?ki:Ti)+t).addClass((e?Ti:ki)+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 u=s(n.ngModel),c=u.assign;if(!c)throw r("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,U(i));this.$render=d,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e};var l=i.inheritedData("$formController")||gi,f=0,p=this.$error={};i.addClass(Si),a(!0),this.$setValidity=function(e,t){p[e]!==!t&&(t?(p[e]&&f--,f||(a(!0),this.$valid=!0,this.$invalid=!1)):(a(!1),this.$invalid=!0,this.$valid=!1,f++),p[e]=!t,a(t,e),l.$setValidity(e,t,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,i.removeClass(Ei).addClass(Si)},this.$setViewValue=function(n){this.$viewValue=n,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,i.removeClass(Si).addClass(Ei),l.$setDirty()),o(this.$parsers,function(e){n=e(n)}),this.$modelValue!==n&&(this.$modelValue=n,c(e,n),o(this.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}}))};var h=this;e.$watch(function(){var t=u(e);if(h.$modelValue!==t){var n=h.$formatters,r=n.length;for(h.$modelValue=t;r--;)t=n[r](t);h.$viewValue!==t&&(h.$viewValue=t,h.$render())}return t})}],Ai=function(){return{require:["ngModel","^?form"],controller:Ni,link:function(e,t,n,r){var i=r[0],o=r[1]||gi;o.$addControl(i),e.$on("$destroy",function(){o.$removeControl(i)})}}},ji=m({require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Oi=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)?(r.$setValidity("required",!1),void 0):(r.$setValidity("required",!0),e)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},Di=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(!v(e)){var t=[];return e&&o(e.split(a),function(e){e&&t.push(wr(e))}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return C(e)?e.join(", "):n}),i.$isEmpty=function(e){return!e||!e.length}}}},Pi=/^(true|false|\d+)$/,Mi=function(){return{priority:100,compile:function(e,t){return Pi.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)})}}}},Li=Qn(function(e,t,r){t.addClass("ng-binding").data("$binding",r.ngBind),e.$watch(r.ngBind,function(e){t.text(e==n?"":e)})}),qi=["$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)})}}],Hi=["$sce","$parse",function(e,t){return function(n,r,i){function o(){return(s(n)||"").toString()}r.addClass("ng-binding").data("$binding",i.ngBindHtml);var s=t(i.ngBindHtml);n.$watch(o,function(){r.html(e.getTrustedHtml(s(n))||"")})}}],Ii=or("",!0),Ri=or("Odd",0),Fi=or("Even",1),_i=Qn({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),Bi=[function(){return{scope:!0,controller:"@",priority:500}}],Wi={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Ht("ng-"+e);Wi[t]=["$parse",function(n){return{compile:function(r,i){var o=n(i[t]);return function(t,n){n.on(sr(e),function(e){t.$apply(function(){o(t,{$event:e})})})}}}}]});var zi=["$animate",function(e){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,s){var a,u;n.$watch(i.ngIf,function(o){z(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)
})):(u&&(u.$destroy(),u=null),a&&(e.leave(ot(a.clone)),a=null))})}}}],Ui=["$http","$templateCache","$anchorScroll","$animate","$sce",function(e,t,n,r,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:xr.noop,compile:function(o,s){var a=s.ngInclude||s.src,u=s.onload||"",c=s.autoscroll;return function(o,s,l,f,p){var h,d,g=0,m=function(){h&&(h.$destroy(),h=null),d&&(r.leave(d),d=null)};o.$watch(i.parseAsResourceUrl(a),function(i){var a=function(){!y(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=p(t,function(e){m(),r.enter(e,null,s,a)});h=t,d=n,h.$emit("$includeContentLoaded"),o.$eval(u)}}).error(function(){l===g&&m()}),o.$emit("$includeContentRequested")):(m(),f.template=null)})}}}}],Vi=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,n,r,i){n.html(i.template),e(n.contents())(t)}}}],Xi=Qn({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Yi=Qn({terminal:!0,priority:1e3}),Ji=["$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={},p=t.startSymbol(),h=t.endSymbol(),d=/^when(Minus)?(.+)$/;o(s,function(e,t){d.test(t)&&(l[sr(t.replace("when","").replace("Minus","-"))]=i.attr(s.$attr[t]))}),o(l,function(e,r){f[r]=t(e.replace(n,p+a+"-"+c+h))}),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)})}}}],Qi=["$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,p,h){var d,g,m,v,y,$,x,b,w,C=f.ngRepeat,T=C.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),k={$id:Et};if(!T)throw c("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",C);if($=T[1],x=T[2],d=T[3],d?(g=e(d),m=function(e,t,n){return w&&(k[w]=e),k[b]=t,k.$index=n,g(r,k)}):(v=function(e,t){return Et(t)},y=function(e){return e}),T=$.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!T)throw c("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",$);b=T[3]||T[1],w=T[2];var S={};r.$watchCollection(x,function(e){var f,p,d,g,$,x,T,k,E,N,A,j,O=l[0],D={},P=[];if(i(e))N=e,E=m||v;else{E=m||y,N=[];for(x in e)e.hasOwnProperty(x)&&"$"!=x.charAt(0)&&N.push(x);N.sort()}for(g=N.length,p=P.length=N.length,f=0;p>f;f++)if(x=e===N?f:N[f],T=e[x],k=E(x,T,f),rt(k,"`track by` id"),S.hasOwnProperty(k))A=S[k],delete S[k],D[k]=A,P[f]=A;else{if(D.hasOwnProperty(k))throw o(P,function(e){e&&e.scope&&(S[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,k);P[f]={id:k},D[k]=!1}for(x in S)S.hasOwnProperty(x)&&(A=S[x],j=ot(A.clone),n.leave(j),o(j,function(e){e[u]=!0}),A.scope.$destroy());for(f=0,p=N.length;p>f;f++){if(x=e===N?f:N[f],T=e[x],A=P[f],P[f-1]&&(O=a(P[f-1])),A.scope){$=A.scope,d=O;do d=d.nextSibling;while(d&&d[u]);s(A)!=d&&n.move(ot(A.clone),null,pr(O)),O=a(A)}else $=r.$new();$[b]=T,w&&($[w]=x),$.$index=f,$.$first=0===f,$.$last=f===g-1,$.$middle=!($.$first||$.$last),$.$odd=!($.$even=0===(1&f)),A.scope||h($,function(e){e[e.length++]=t.createComment(" end ngRepeat: "+C+" "),n.enter(e,null,pr(O)),O=e,A.scope=$,A.clone=e,D[A.id]=A})}S=D})}}}],Gi=["$animate",function(e){return function(t,n,r){t.$watch(r.ngShow,function(t){e[z(t)?"removeClass":"addClass"](n,"ng-hide")})}}],Ki=["$animate",function(e){return function(t,n,r){t.$watch(r.ngHide,function(t){e[z(t)?"addClass":"removeClass"](n,"ng-hide")})}}],Zi=Qn(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)}),eo=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(t,n,r,i){var s,a,u=r.ngSwitch||r.on,c=[];t.$watch(u,function(n){for(var u=0,l=c.length;l>u;u++)c[u].$destroy(),e.leave(a[u]);a=[],c=[],(s=i.cases["!"+n]||i.cases["?"])&&(t.$eval(r.change),o(s,function(n){var r=t.$new();c.push(r),n.transclude(r,function(t){var r=n.element;a.push(t),e.enter(t,r.parent(),r)})}))})}}}],to=Qn({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})}}),no=Qn({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),ro=Qn({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}",U(t));o(function(e){t.empty(),t.append(e)})}}),io=["$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)}}}}],oo=r("ngOptions"),so=m({terminal:!0}),ao=["$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="? "+Et(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)?(k.parent()&&k.remove(),t.val(e),""===e&&d.prop("selected",!0)):v(e)&&d?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){k.parent()&&k.remove(),n.$setViewValue(t.val())})})}function p(e,t,n){var r;n.$render=function(){var e=new Nt(n.$viewValue);o(t.find("option"),function(t){t.selected=y(e.get(t.value))})},e.$watch(function(){q(r,n.$viewValue)||(r=M(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 h(t,o,a){function u(){var e,n,r,i,u,c,m,x,S,E,N,A,j,O,D,P={"":[]},M=[""],L=a.$modelValue,q=g(t)||[],H=p?s(q):q,I={},R=!1;if($)if(v&&C(L)){R=new Nt([]);for(var F=0;F<L.length;F++)I[f]=L[F],R.put(v(t,I),L[F])}else R=new Nt(L);for(N=0;S=H.length,S>N;N++){if(m=N,p){if(m=H[N],"$"===m.charAt(0))continue;I[p]=m}if(I[f]=q[m],e=h(t,I)||"",(n=P[e])||(n=P[e]=[],M.push(e)),$)A=y(R.remove(v?v(t,I):d(t,I)));else{if(v){var _={};_[f]=L,A=v(t,_)===v(t,I)}else A=L===d(t,I);R=R||A}D=l(t,I),D=y(D)?D:"",n.push({id:v?v(t,I):p?H[N]:N,label:D,selected:A})}for($||(b||null===L?P[""].unshift({id:"",label:"",selected:!R}):R||P[""].unshift({id:"?",label:"",selected:!0})),E=0,x=M.length;x>E;E++){for(e=M[E],n=P[e],k.length<=E?(i={element:T.clone().attr("label",e),label:n.label},u=[i],k.push(u),o.append(i.element)):(u=k[E],i=u[0],i.label!=e&&i.element.attr("label",i.label=e)),j=null,N=0,S=n.length;S>N;N++)r=n[N],(c=u[N+1])?(j=c.element,c.label!==r.label&&j.text(c.label=r.label),c.id!==r.id&&j.val(c.id=r.id),j[0].selected!==r.selected&&j.prop("selected",c.selected=r.selected)):(""===r.id&&b?O=b:(O=w.clone()).val(r.id).attr("selected",r.selected).text(r.label),u.push(c={element:O,label:r.label,id:r.id,selected:r.selected}),j?j.after(O):i.element.append(O),j=O);for(N++;u.length>N;)u.pop().element.remove()}for(;k.length>E;)k.pop()[0].element.remove()}var c;if(!(c=x.match(i)))throw oo("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",x,U(o));var l=r(c[2]||c[1]),f=c[4]||c[6],p=c[5],h=r(c[3]||""),d=r(c[2]?c[1]:f),g=r(c[7]),m=c[8],v=m?r(c[8]):null,k=[[{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,c,l,h,m,y=g(t)||[],x={};if($){for(i=[],c=0,h=k.length;h>c;c++)for(e=k[c],u=1,l=e.length;l>u;u++)if((s=e[u].element)[0].selected){if(r=s.val(),p&&(x[p]=r),v)for(m=0;m<y.length&&(x[f]=y[m],v(t,x)!=r);m++);else x[f]=y[r];i.push(d(t,x))}}else if(r=o.val(),"?"==r)i=n;else if(""===r)i=null;else if(v){for(m=0;m<y.length;m++)if(x[f]=y[m],v(t,x)==r){i=d(t,x);break}}else x[f]=y[r],p&&(x[p]=r),i=d(t,x);a.$setViewValue(i)})}),a.$render=u,t.$watch(u)}if(l[1]){for(var d,g=l[0],m=l[1],$=c.multiple,x=c.ngOptions,b=!1,w=pr(t.createElement("option")),T=pr(t.createElement("optgroup")),k=w.clone(),S=0,E=u.children(),N=E.length;N>S;S++)if(""===E[S].value){d=b=E.eq(S);break}g.init(m,b,k),$&&(m.$isEmpty=function(e){return!e||0===e.length}),x?h(a,u,m):$?p(a,u,m):f(a,u,m,g)}}}}],uo=["$interpolate",function(e){var t={addOption:d,removeOption:d};return{restrict:"E",priority:100,compile:function(n,r){if(v(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)})}}}}],co=m({restrict:"E",terminal:!0});et(),at(xr),pr(t).ready(function(){G(t,K)})}(window,document),!angular.$$csp()&&angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}.ng-animate-block-transitions{transition:0s all!important;-webkit-transition:0s all!important;}</style>'),/*! Magnific Popup - v0.9.9 - 2013-12-04
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2013 Dmitry Semenov; */
function(e){var t,n,r,i,o,s,a,u="Close",c="BeforeClose",l="AfterClose",f="BeforeAppend",p="MarkupParse",h="Open",d="Change",g="mfp",m="."+g,v="mfp-ready",y="mfp-removing",$="mfp-prevent-close",x=function(){},b=!!window.jQuery,w=e(window),C=function(e,n){t.ev.on(g+e+m,n)},T=function(t,n,r,i){var o=document.createElement("div");return o.className="mfp-"+t,r&&(o.innerHTML=r),i?n&&n.appendChild(o):(o=e(o),n&&o.appendTo(n)),o},k=function(n,r){t.ev.triggerHandler(g+n,r),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(r)?r:[r]))},S=function(n){return n===a&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),a=n),t.currTemplate.closeBtn},E=function(){e.magnificPopup.instance||(t=new x,t.init(),e.magnificPopup.instance=t)},N=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};x.prototype={constructor:x,init:function(){var n=navigator.appVersion;t.isIE7=-1!==n.indexOf("MSIE 7."),t.isIE8=-1!==n.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=N(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){r||(r=e(document.body));var o;if(n.isObj===!1){t.items=n.items.toArray(),t.index=0;var a,u=n.items;for(o=0;u.length>o;o++)if(a=u[o],a.parsed&&(a=a.el[0]),a===n.el[0]){t.index=o;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return t.updateItemHTML(),void 0;t.types=[],s="",t.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=T("bg").on("click"+m,function(){t.close()}),t.wrap=T("wrap").attr("tabindex",-1).on("click"+m,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=T("container",t.wrap)),t.contentContainer=T("content"),t.st.preloader&&(t.preloader=T("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(o=0;c.length>o;o++){var l=c[o];l=l.charAt(0).toUpperCase()+l.slice(1),t["init"+l].call(t)}k("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(C(p,function(e,t,n,r){n.close_replaceWith=S(r.type)}),s+=" mfp-close-btn-in"):t.wrap.append(S())),t.st.alignTop&&(s+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:w.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup"+m,function(e){27===e.keyCode&&t.close()}),w.on("resize"+m,function(){t.updateSize()}),t.st.closeOnContentClick||(s+=" mfp-auto-cursor"),s&&t.wrap.addClass(s);var f=t.wH=w.height(),d={};if(t.fixedContentPos&&t._hasScrollBar(f)){var g=t._getScrollbarSize();g&&(d.marginRight=g)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):d.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),k("BuildControls"),e("html").css(d),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||r),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),i.on("focusin"+m,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(f),k(h),n},close:function(){t.isOpen&&(k(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(y),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){k(u);var n=y+" "+v+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var r={marginRight:""};t.isIE7?e("body, html").css("overflow",""):r.overflow="",e("html").css(r)}i.off("keyup"+m+" focusin"+m),t.ev.off(m),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&t.currTemplate[t.currItem.type]!==!0||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,k(l)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,r=window.innerHeight*n;t.wrap.css("height",r),t.wH=r}else t.wH=e||w.height();t.fixedContentPos||t.wrap.css("height",t.wH),k("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var r=n.type;if(k("BeforeChange",[t.currItem?t.currItem.type:"",r]),t.currItem=n,!t.currTemplate[r]){var i=t.st[r]?t.st[r].markup:!1;k("FirstMarkupParse",i),t.currTemplate[r]=i?e(i):!0}o&&o!==n.type&&t.container.removeClass("mfp-"+o+"-holder");var s=t["get"+r.charAt(0).toUpperCase()+r.slice(1)](n,t.currTemplate[r]);t.appendContent(s,r),n.preloaded=!0,k(d,n),o=n.type,t.container.prepend(t.contentContainer),k("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[n]===!0?t.content.find(".mfp-close").length||t.content.append(S()):t.content=e:t.content="",k(f),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var r=t.items[n],i=r.type;if(r=r.tagName?{el:e(r)}:{data:r,src:r.src},r.el){for(var o=t.types,s=0;o.length>s;s++)if(r.el.hasClass("mfp-"+o[s])){i=o[s];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=i||t.st.type||"inline",r.index=n,r.parsed=!0,t.items[n]=r,k("ElementParse",r),t.items[n]},addGroup:function(e,n){var r=function(r){r.mfpEl=this,t._openClick(r,e,n)};n||(n={});var i="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(i).on(i,r)):(n.isObj=!1,n.delegate?e.off(i).on(i,n.delegate,r):(n.items=e,e.off(i).on(i,r)))},_openClick:function(n,r,i){var o=void 0!==i.midClick?i.midClick:e.magnificPopup.defaults.midClick;if(o||2!==n.which&&!n.ctrlKey&&!n.metaKey){var s=void 0!==i.disableOn?i.disableOn:e.magnificPopup.defaults.disableOn;if(s)if(e.isFunction(s)){if(!s.call(t))return!0}else if(s>w.width())return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),i.el=e(n.mfpEl),i.delegate&&(i.items=r.find(i.delegate)),t.open(i)}},updateStatus:function(e,r){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),r||"loading"!==e||(r=t.st.tLoading);var i={status:e,text:r};k("UpdateStatus",i),e=i.status,r=i.text,t.preloader.html(r),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass($)){var r=t.st.closeOnContentClick,i=t.st.closeOnBgClick;if(r&&i)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(r)return!0}else if(i&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||w.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){return n.target===t.wrap[0]||e.contains(t.wrap[0],n.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,n,r){var i;r.data&&(n=e.extend(r.data,n)),k(p,[t,n,r]),e.each(n,function(e,n){if(void 0===n||n===!1)return!0;if(i=e.split("_"),i.length>1){var r=t.find(m+"-"+i[0]);if(r.length>0){var o=i[1];"replaceWith"===o?r[0]!==n[0]&&r.replaceWith(n):"img"===o?r.is("img")?r.attr("src",n):r.replaceWith('<img src="'+n+'" class="'+r.attr("class")+'" />'):r.attr(i[1],n)}}else t.find(m+"-"+e).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:x.prototype,modules:[],open:function(t,n){return E(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(n){E();var r=e(this);if("string"==typeof n)if("open"===n){var i,o=b?r.data("magnificPopup"):r[0].magnificPopup,s=parseInt(arguments[1],10)||0;o.items?i=o.items[s]:(i=r,o.delegate&&(i=i.find(o.delegate)),i=i.eq(s)),t._openClick({mfpEl:i},r,o)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),b?r.data("magnificPopup",n):r[0].magnificPopup=n,t.addGroup(r,n);return r};var A,j,O,D="inline",P=function(){O&&(j.after(O.addClass(A)).detach(),O=null)};e.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(D),C(u+"."+D,function(){P()})},getInline:function(n,r){if(P(),n.src){var i=t.st.inline,o=e(n.src);if(o.length){var s=o[0].parentNode;s&&s.tagName&&(j||(A=i.hiddenClass,j=T(A),A="mfp-"+A),O=o.after(j).detach().removeClass(A)),t.updateStatus("ready")}else t.updateStatus("error",i.tNotFound),o=e("<div>");return n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(r,{},n),r}}});var M,L="ajax",q=function(){M&&r.removeClass(M)},H=function(){q(),t.req&&t.req.abort()};e.magnificPopup.registerModule(L,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(L),M=t.st.ajax.cursor,C(u+"."+L,H),C("BeforeChange."+L,H)},getAjax:function(n){M&&r.addClass(M),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(r,i,o){var s={data:r,xhr:o};k("ParseAjax",s),t.appendContent(e(s.data),L),n.finished=!0,q(),t._setFocus(),setTimeout(function(){t.wrap.addClass(v)},16),t.updateStatus("ready"),k("AjaxContentAdded")},error:function(){q(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var I,R=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var r=t.st.image.titleSrc;if(r){if(e.isFunction(r))return r.call(t,n);if(n.el)return n.el.attr(r)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=t.st.image,n=".image";t.types.push("image"),C(h+n,function(){"image"===t.currItem.type&&e.cursor&&r.addClass(e.cursor)}),C(u+n,function(){e.cursor&&r.removeClass(e.cursor),w.off("resize"+m)}),C("Resize"+n,t.resizeImage),t.isLowIE&&C("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,I&&clearInterval(I),e.isCheckingImgSize=!1,k("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,r=e.img[0],i=function(o){I&&clearInterval(I),I=setInterval(function(){return r.naturalWidth>0?(t._onImageHasSize(e),void 0):(n>200&&clearInterval(I),n++,3===n?i(10):40===n?i(50):100===n&&i(500),void 0)},o)};i(1)},getImage:function(n,r){var i=0,o=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,k("ImageLoadComplete")):(i++,200>i?setTimeout(o,100):s()))},s=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",a.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},a=t.st.image,u=r.find(".mfp-img");if(u.length){var c=document.createElement("img");c.className="mfp-img",n.img=e(c).on("load.mfploader",o).on("error.mfploader",s),c.src=n.src,u.is("img")&&(n.img=n.img.clone()),c=n.img[0],c.naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(r,{title:R(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(I&&clearInterval(I),n.loadError?(r.addClass("mfp-loading"),t.updateStatus("error",a.tError.replace("%url%",n.src))):(r.removeClass("mfp-loading"),t.updateStatus("ready")),r):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,r.addClass("mfp-loading"),t.findImageSize(n)),r)}}});var F,_=function(){return void 0===F&&(F=void 0!==document.createElement("p").style.MozTransform),F};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,r=".zoom";if(n.enabled&&t.supportsTransition){var i,o,s=n.duration,a=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+n.duration/1e3+"s "+n.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=r,t.css(i),t},l=function(){t.content.css("visibility","visible")};C("BuildControls"+r,function(){if(t._allowZoom()){if(clearTimeout(i),t.content.css("visibility","hidden"),e=t._getItemToZoom(),!e)return l(),void 0;o=a(e),o.css(t._getOffset()),t.wrap.append(o),i=setTimeout(function(){o.css(t._getOffset(!0)),i=setTimeout(function(){l(),setTimeout(function(){o.remove(),e=o=null,k("ZoomAnimationEnded")},16)},s)},16)}}),C(c+r,function(){if(t._allowZoom()){if(clearTimeout(i),t.st.removalDelay=s,!e){if(e=t._getItemToZoom(),!e)return;o=a(e)}o.css(t._getOffset(!0)),t.wrap.append(o),t.content.css("visibility","hidden"),setTimeout(function(){o.css(t._getOffset())},16)}}),C(u+r,function(){t._allowZoom()&&(l(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(n){var r;r=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var i=r.offset(),o=parseInt(r.css("padding-top"),10),s=parseInt(r.css("padding-bottom"),10);i.top-=e(window).scrollTop()-o;var a={width:r.width(),height:(b?r.innerHeight():r[0].offsetHeight)-s-o};return _()?a["-moz-transform"]=a.transform="translate("+i.left+"px,"+i.top+"px)":(a.left=i.left,a.top=i.top),a}}});var B="iframe",W="//about:blank",z=function(e){if(t.currTemplate[B]){var n=t.currTemplate[B].find("iframe");n.length&&(e||(n[0].src=W),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(B,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(B),C("BeforeChange",function(e,t,n){t!==n&&(t===B?z():n===B&&z(!0))}),C(u+"."+B,function(){z()})},getIframe:function(n,r){var i=n.src,o=t.st.iframe;e.each(o.patterns,function(){return i.indexOf(this.index)>-1?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0});var s={};return o.srcAction&&(s[o.srcAction]=i),t._parseMarkup(r,s,n),t.updateStatus("ready"),r}}});var U=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},V=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,r=".mfp-gallery",o=Boolean(e.fn.mfpFastClick);return t.direction=!0,n&&n.enabled?(s+=" mfp-gallery",C(h+r,function(){n.navigateByImgClick&&t.wrap.on("click"+r,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),i.on("keydown"+r,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),C("UpdateStatus"+r,function(e,n){n.text&&(n.text=V(n.text,t.currItem.index,t.items.length))}),C(p+r,function(e,r,i,o){var s=t.items.length;i.counter=s>1?V(n.tCounter,o.index,s):""}),C("BuildControls"+r,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var r=n.arrowMarkup,i=t.arrowLeft=e(r.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass($),s=t.arrowRight=e(r.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass($),a=o?"mfpFastClick":"click";i[a](function(){t.prev()}),s[a](function(){t.next()}),t.isIE7&&(T("b",i[0],!1,!0),T("a",i[0],!1,!0),T("b",s[0],!1,!0),T("a",s[0],!1,!0)),t.container.append(i.add(s))}}),C(d+r,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),C(u+r,function(){i.off(r),t.wrap.off("click"+r),t.arrowLeft&&o&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}),void 0):!1},next:function(){t.direction=!0,t.index=U(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=U(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,r=Math.min(n[0],t.items.length),i=Math.min(n[1],t.items.length);for(e=1;(t.direction?i:r)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?r:i)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=U(n),!t.items[n].preloaded){var r=t.items[n];r.parsed||(r=t.parseEl(n)),k("LazyLoad",r),"image"===r.type&&(r.img=e('<img class="mfp-img" />').on("load.mfploader",function(){r.hasSize=!0}).on("error.mfploader",function(){r.hasSize=!0,r.loadError=!0,k("LazyLoadError",r)}).attr("src",r.src)),r.preloaded=!0}}}});var X="retina";e.magnificPopup.registerModule(X,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(C("ImageHasSize."+X,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),C("ElementParse."+X,function(t,r){r.src=e.replaceSrc(r,n)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,r=function(){w.off("touchmove"+o+" touchend"+o)},i="mfpFastClick",o="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var s,a=e(this);if(n){var u,c,l,f,p,h;a.on("touchstart"+o,function(e){f=!1,h=1,p=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],c=p.clientX,l=p.clientY,w.on("touchmove"+o,function(e){p=e.originalEvent?e.originalEvent.touches:e.touches,h=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-l)>10)&&(f=!0,r())}).on("touchend"+o,function(e){r(),f||h>1||(s=!0,e.preventDefault(),clearTimeout(u),u=setTimeout(function(){s=!1},t),i())})})}a.on("click"+o,function(){s||i()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+o+" click"+o),n&&w.off("touchmove"+o+" touchend"+o)}}(),E()}(window.jQuery||window.Zepto),function(){var e;$(function(){return $("a.modal-help-link").on("click",function(e){return e.preventDefault(),$(this).magnificPopup({type:"ajax"}),$(this).magnificPopup("open")})}),e=angular.module("adminApp",[]),e.controller("AdminIndexCtrl",["$scope","$location","$q",function(e,t,n){return e.data=[],e.readQuery=null,e.writeSeriesName=null,e.writeValues=null,e.successMessage="OK",e.alertMessage="Error",e.authMessage="",e.queryMessage="",e.selectedPane="data",e.writeData=function(){var t;if(!e.writeSeriesName)return e.error("Time Series Name is required."),void 0;try{t=JSON.parse(e.writeValues)}catch(r){return e.alertMessage="Unable to parse JSON.",$("span#writeFailure").show().delay(1500).fadeOut(500),void 0}return n.when(parent.influxdb.writePoint(e.writeSeriesName,t)).then(function(){return e.success("200 OK")})},e.readData=function(){return e.data=[],n.when(window.parent.influxdb.query(e.readQuery)).then(function(t){var n;return n=t,n.forEach(function(t){return e.data.push({name:t.name,columns:t.columns,points:t.points,graphs:e.filteredColumns(t).map(function(n){return e.columnPoints(t,n)})})})},function(t){return e.queryMessage="ERROR: "+t.responseText,$("span#queryFailure").show().delay(2500).fadeOut(1e3)})},e.error=function(t){return e.alertMessage=t,$("span#writeFailure").show().delay(1500).fadeOut(500)},e.success=function(t){return e.successMessage=t,$("span#writeSuccess").show().delay(1500).fadeOut(500)},e.filteredColumns=function(e){var t;return t=[],e.points.length>0?e.points[0].forEach(function(n,r){return"string"==typeof n||n instanceof String?void 0:t.push(e.columns[r])}):t=e.columns,t.filter(function(e){return"time"!==e&&"sequence_number"!==e})},e.columnPoints=function(e,t){var n;return n=e.columns.indexOf(t),{name:t,points:e.points.map(function(e){return{time:new Date(e[0]),value:e[n]}})}},e.username&&e.password&&e.database?e.authenticate():void 0}]),e.directive("lineChart",[function(){return{restrict:"E",replace:!1,scope:{data:"=data",seriesName:"=seriesName"},link:function(e,t,n){var r,i,o;return o=parseInt(n.margin)||20,r=parseInt(n.barHeight)||20,i=parseInt(n.barPadding)||5,e.render=function(e,n){var r,i,s,a,u,c,l,f;if(e)return o={top:10,right:0,bottom:30,left:50},a=970-o.left-o.right,r=200-o.top-o.bottom,u=d3.time.scale().range([0,a]),l=d3.scale.linear().range([r,0]),c=d3.svg.axis().scale(u).orient("bottom"),f=d3.svg.axis().scale(l).orient("left").ticks(5).tickFormat(d3.format("1.2s")),i=d3.svg.line().x(function(e){return u(e.time)}).y(function(e){return l(e.value)}),s=d3.select(t[0]).append("svg").attr("width",a+o.left+o.right).attr("height",r+o.top+o.bottom).append("g").attr("transform","translate("+o.left+","+o.top+")"),u.domain(d3.extent(e,function(e){return e.time})),l.domain(d3.extent(e,function(e){return e.value})),s.append("g").attr("class","x axis").attr("transform","translate(0,"+r+")").call(c),s.append("g").attr("class","y axis").call(f),s.append("text").attr("class","y label").attr("text-anchor","end").attr("y",6).attr("dy",".75em").attr("transform","rotate(-90)").text(n),s.append("path").datum(e).attr("class","line").attr("d",i)},e.render(e.data,e.seriesName)}}}])}.call(this);