/*!
 * jQuery JavaScript Library v3.3.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-ajax/parseJSON,-css/showHide,-effects,-effects/Tween,-effects/animatedSelector,-dimensions,-offset,-css/hiddenVisibleSelectors,-deprecated
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2018-11-13T00:38Z
 */

/*!
 * Sizzle CSS Selector Engine v2.3.3
 * https://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2016-08-08
 */

/**
 * @license AngularJS v1.7.8
 * (c) 2010-2018 Google, Inc. http://angularjs.org
 * License: MIT
 */

/*
 * jQuery Mobile Plugin: jQuery.Event.Special.Fastclick
 * http://nischenspringer.de/jquery/fastclick
 *
 * Copyright 2013 Tobias Plaputta
 * Released under the MIT license.
 * http://nischenspringer.de/license
 *
 */

/*
 * jQuery.bind-first library v0.2.3
 * Copyright (c) 2013 Vladimir Zhuravlev
 *
 * Released under MIT License
 * @license
 *
 * Date: Thu Feb  6 10:13:59 ICT 2014
 **/

/*! nouislider - 8.0.2 - 2015-07-06 13:22:09 */

!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e,t,n){t=t||W;var r,i=t.createElement("script");if(i.text=e,n)for(r in ae)n[r]&&(i[r]=n[r]);t.head.appendChild(i).parentNode.removeChild(i)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Q[Z.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!ie(e)&&!oe(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t,n){return ie(t)?se.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?se.grep(e,function(e){return e===t!==n}):"string"!=typeof t?se.grep(e,function(e){return X.call(t,e)>-1!==n}):se.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function u(e){var t={};return se.each(e.match($e)||[],function(e,n){t[n]=!0}),t}function c(e){return e}function l(e){throw e}function f(e,t,n,r){var i;try{e&&ie(i=e.promise)?i.call(e).done(t).fail(n):e&&ie(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function d(){W.removeEventListener("DOMContentLoaded",d),e.removeEventListener("load",d),se.ready()}function p(e,t){return t.toUpperCase()}function h(e){return e.replace(xe,"ms-").replace(Ce,p)}function v(){this.expando=se.expando+v.uid++}function m(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ae.test(e)?JSON.parse(e):e)}function g(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=m(n)}catch(e){}Ee.set(e,t,n)}else n=void 0;return n}function $(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return se.css(e,t,"")},u=s(),c=n&&n[3]||(se.cssNumber[t]?"":"px"),l=(se.cssNumber[t]||"px"!==c&&+u)&&Me.exec(se.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)se.style(e,t,l+c),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),l/=o;l*=2,se.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}function y(e){var t,n=e.ownerDocument,r=e.nodeName,i=Pe[r];return i||(t=n.body.appendChild(n.createElement(r)),i=se.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Pe[r]=i,i)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=ke.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ne(r)&&(i[o]=y(r))):"none"!==n&&(i[o]="none",ke.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function w(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?se.merge([e],n):n}function x(e,t){for(var n=0,r=e.length;n<r;n++)ke.set(e[n],"globalEval",!t||ke.get(t[n],"globalEval"))}function C(e,t,n,i,o){for(var a,s,u,c,l,f,d=t.createDocumentFragment(),p=[],h=0,v=e.length;h<v;h++)if((a=e[h])||0===a)if("object"===r(a))se.merge(p,a.nodeType?[a]:a);else if(qe.test(a)){for(s=s||d.appendChild(t.createElement("div")),u=(Le.exec(a)||["",""])[1].toLowerCase(),c=Re[u]||Re._default,s.innerHTML=c[1]+se.htmlPrefilter(a)+c[2],f=c[0];f--;)s=s.lastChild;se.merge(p,s.childNodes),s=d.firstChild,s.textContent=""}else p.push(t.createTextNode(a));for(d.textContent="",h=0;a=p[h++];)if(i&&se.inArray(a,i)>-1)o&&o.push(a);else if(l=se.contains(a.ownerDocument,a),s=w(d.appendChild(a),"script"),l&&x(s),n)for(f=0;a=s[f++];)Ie.test(a.type||"")&&n.push(a);return d}function S(){return!0}function k(){return!1}function E(){try{return W.activeElement}catch(e){}}function A(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)A(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=k;else if(!i)return e;return 1===o&&(a=i,i=function(e){return se().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=se.guid++)),e.each(function(){se.event.add(this,t,i,r,n)})}function T(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?se(e).children("tbody")[0]||e:e}function O(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function M(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function D(e,t){var n,r,i,o,a,s,u,c;if(1===t.nodeType){if(ke.hasData(e)&&(o=ke.access(e),a=ke.set(t,o),c=o.events)){delete a.handle,a.events={};for(i in c)for(n=0,r=c[i].length;n<r;n++)se.event.add(t,i,c[i][n])}Ee.hasData(e)&&(s=Ee.access(e),u=se.extend({},s),Ee.set(t,u))}}function N(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function j(e,t,r,i){t=J.apply([],t);var o,a,s,u,c,l,f=0,d=e.length,p=d-1,h=t[0],v=ie(h);if(v||d>1&&"string"==typeof h&&!re.checkClone&&We.test(h))return e.each(function(n){var o=e.eq(n);v&&(t[0]=h.call(this,n,o.html())),j(o,t,r,i)});if(d&&(o=C(t,e[0].ownerDocument,!1,e,i),a=o.firstChild,1===o.childNodes.length&&(o=a),a||i)){for(s=se.map(w(o,"script"),O),u=s.length;f<d;f++)c=o,f!==p&&(c=se.clone(c,!0,!0),u&&se.merge(s,w(c,"script"))),r.call(e[f],c,f);if(u)for(l=s[s.length-1].ownerDocument,se.map(s,M),f=0;f<u;f++)c=s[f],Ie.test(c.type||"")&&!ke.access(c,"globalEval")&&se.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?se._evalUrl&&se._evalUrl(c.src):n(c.textContent.replace(Ge,""),l,c))}return e}function P(e,t,n){for(var r,i=t?se.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||se.cleanData(w(r)),r.parentNode&&(n&&se.contains(r.ownerDocument,r)&&x(w(r,"script")),r.parentNode.removeChild(r));return e}function V(e,t,n){var r,i,o,a,s=e.style;return n=n||Je(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||se.contains(e.ownerDocument,e)||(a=se.style(e,t)),!re.pixelBoxStyles()&&Ye.test(a)&&Ke.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function L(e){if(e in nt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}function I(e){var t=se.cssProps[e];return t||(t=se.cssProps[e]=L(e)||e),t}function R(e,t,n){var r=Me.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function q(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=se.css(e,n+De[a],!0,i)),r?("content"===n&&(u-=se.css(e,"padding"+De[a],!0,i)),"margin"!==n&&(u-=se.css(e,"border"+De[a]+"Width",!0,i))):(u+=se.css(e,"padding"+De[a],!0,i),"padding"!==n?u+=se.css(e,"border"+De[a]+"Width",!0,i):s+=se.css(e,"border"+De[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function U(e,t,n){var r=Je(e),i=V(e,t,r),o="border-box"===se.css(e,"boxSizing",!1,r),a=o;if(Ye.test(i)){if(!n)return i;i="auto"}return a=a&&(re.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===se.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+q(e,t,n||(o?"border":"content"),a,r,i)+"px"}function H(e){return(e.match($e)||[]).join(" ")}function _(e){return e.getAttribute&&e.getAttribute("class")||""}function F(e){return Array.isArray(e)?e:"string"==typeof e?e.match($e)||[]:[]}function B(e,t,n,i){var o;if(Array.isArray(t))se.each(t,function(t,r){n||lt.test(e)?i(e,r):B(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==r(t))i(e,t);else for(o in t)B(e+"["+o+"]",t[o],n,i)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Q[Z.call(e)]||"object":typeof e}var z=[],W=e.document,G=Object.getPrototypeOf,Y=z.slice,J=z.concat,K=z.push,X=z.indexOf,Q={},Z=Q.toString,ee=Q.hasOwnProperty,te=ee.toString,ne=te.call(Object),re={},ie=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},oe=function(e){return null!=e&&e===e.window},ae={type:!0,src:!0,noModule:!0},se=function(e,t){return new se.fn.init(e,t)},ue=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;se.fn=se.prototype={jquery:"3.3.1",constructor:se,length:0,toArray:function(){return Y.call(this)},get:function(e){return null==e?Y.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=se.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return se.each(this,e)},map:function(e){return this.pushStack(se.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(Y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:K,sort:z.sort,splice:z.splice},se.extend=se.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||ie(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(se.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&se.isPlainObject(n)?n:{},a[t]=se.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},se.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==Z.call(e))&&(!(t=G(e))||"function"==typeof(n=ee.call(t,"constructor")&&t.constructor)&&te.call(n)===ne)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){n(e)},each:function(e,t){var n,r=0;if(i(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ue,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?se.merge(n,"string"==typeof e?[e]:e):K.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:X.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(i(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return J.apply([],s)},guid:1,support:re}),"function"==typeof Symbol&&(se.fn[Symbol.iterator]=z[Symbol.iterator]),se.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Q["[object "+t+"]"]=t.toLowerCase()});var ce=function(e){function t(e,t,n,r){var i,o,a,s,u,l,d,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:q)!==D&&M(t),t=t||D,j)){if(11!==h&&(u=ve.exec(e)))if(i=u[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(p&&(a=p.getElementById(i))&&I(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return K.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&b.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!B[e+" "]&&(!P||!P.test(e))){if(1!==h)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ye,be):t.setAttribute("id",s=R),l=S(e),o=l.length;o--;)l[o]="#"+s+" "+f(l[o]);d=l.join(","),p=me.test(e)&&c(t.parentNode)||t}if(d)try{return K.apply(n,p.querySelectorAll(d)),n}catch(e){}finally{s===R&&t.removeAttribute("id")}}}return E(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[R]=!0,e}function i(e){var t=D.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&xe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&void 0!==e.getElementsByTagName&&e}function l(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=H++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var c,l,f,d=[U,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(f=t[R]||(t[R]={}),l=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[o])&&c[0]===U&&c[1]===s)return d[2]=c[2];if(l[o]=d,d[2]=e(t,n,u))return!0}return!1}}function p(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 h(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function v(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function m(e,t,n,i,o,a){return i&&!i[R]&&(i=m(i)),o&&!o[R]&&(o=m(o,a)),r(function(r,a,s,u){var c,l,f,d=[],p=[],m=a.length,g=r||h(t||"*",s.nodeType?[s]:s,[]),$=!e||!r&&t?g:v(g,d,e,s,u),y=n?o||(r?e:m||i)?[]:a:$;if(n&&n($,y,s,u),i)for(c=v(y,p),i(c,[],s,u),l=c.length;l--;)(f=c[l])&&(y[p[l]]=!($[p[l]]=f));if(r){if(o||e){if(o){for(c=[],l=y.length;l--;)(f=y[l])&&c.push($[l]=f);o(null,y=[],c,u)}for(l=y.length;l--;)(f=y[l])&&(c=o?Q(r,f):d[l])>-1&&(r[c]=!(a[c]=f))}}else y=v(y===a?y.splice(m,y.length):y),o?o(null,a,y,u):K.apply(a,y)})}function g(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=d(function(e){return e===t},a,!0),c=d(function(e){return Q(t,e)>-1},a,!0),l=[function(e,n,r){var i=!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,i}];s<i;s++)if(n=w.relative[e[s].type])l=[d(p(l),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[R]){for(r=++s;r<i&&!w.relative[e[r].type];r++);return m(s>1&&p(l),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<r&&g(e.slice(s,r)),r<i&&g(e=e.slice(r)),r<i&&f(e))}l.push(n)}return p(l)}function $(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,c){var l,f,d,p=0,h="0",m=r&&[],g=[],$=A,y=r||o&&w.find.TAG("*",c),b=U+=null==$?1:Math.random()||.1,x=y.length;for(c&&(A=a===D||a||c);h!==x&&null!=(l=y[h]);h++){if(o&&l){for(f=0,a||l.ownerDocument===D||(M(l),s=!j);d=e[f++];)if(d(l,a||D,s)){u.push(l);break}c&&(U=b)}i&&((l=!d&&l)&&p--,r&&m.push(l))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(m,g,a,s);if(r){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=Y.call(u));g=v(g)}K.apply(u,g),c&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(u)}return c&&(U=b,A=$),m};return i?r(a):a}var y,b,w,x,C,S,k,E,A,T,O,M,D,N,j,P,V,L,I,R="sizzle"+1*new Date,q=e.document,U=0,H=0,_=n(),F=n(),B=n(),z=function(e,t){return e===t&&(O=!0),0},W={}.hasOwnProperty,G=[],Y=G.pop,J=G.push,K=G.push,X=G.slice,Q=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ce=new RegExp(re),le=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ge=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),$e=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ye=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,be=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){M()},xe=d(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{K.apply(G=X.call(q.childNodes),q.childNodes),G[q.childNodes.length].nodeType}catch(e){K={apply:G.length?function(e,t){J.apply(e,X.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},M=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:q;return r!==D&&9===r.nodeType&&r.documentElement?(D=r,N=D.documentElement,j=!C(D),q!==D&&(n=D.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(D.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(D.getElementsByClassName),b.getById=i(function(e){return N.appendChild(e).id=R,!D.getElementsByName||!D.getElementsByName(R).length}),b.getById?(w.filter.ID=function(e){var t=e.replace(ge,$e);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(ge,$e);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&j){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(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},w.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&j)return t.getElementsByClassName(e)},V=[],P=[],(b.qsa=he.test(D.querySelectorAll))&&(i(function(e){N.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||P.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+R+"-]").length||P.push("~="),e.querySelectorAll(":checked").length||P.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||P.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=D.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&P.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&P.push(":enabled",":disabled"),N.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(b.matchesSelector=he.test(L=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&i(function(e){b.disconnectedMatch=L.call(e,"*"),L.call(e,"[s!='']:x"),V.push("!=",re)}),P=P.length&&new RegExp(P.join("|")),V=V.length&&new RegExp(V.join("|")),t=he.test(N.compareDocumentPosition),I=t||he.test(N.contains)?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},z=t?function(e,t){if(e===t)return O=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===D||e.ownerDocument===q&&I(q,e)?-1:t===D||t.ownerDocument===q&&I(q,t)?1:T?Q(T,e)-Q(T,t):0:4&n?-1:1)}:function(e,t){if(e===t)return O=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===D?-1:t===D?1:i?-1:o?1:T?Q(T,e)-Q(T,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===q?-1:u[r]===q?1:0},D):D},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==D&&M(e),n=n.replace(ue,"='$1']"),b.matchesSelector&&j&&!B[n+" "]&&(!V||!V.test(n))&&(!P||!P.test(n)))try{var r=L.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==D&&M(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==D&&M(e);var n=w.attrHandle[t.toLowerCase()],r=n&&W.call(w.attrHandle,t.toLowerCase())?n(e,t,!j):void 0;return void 0!==r?r:b.attributes||!j?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(ye,be)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(O=!b.detectDuplicates,T=!b.sortStable&&e.slice(0),e.sort(z),O){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return T=null,e},x=t.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+=x(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:fe,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(ge,$e),e[3]=(e[3]||e[4]||e[5]||"").replace(ge,$e),"~="===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]||t.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]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ge,$e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,d,p,h,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),$=!u&&!s,y=!1;if(m){if(o){for(;v;){for(d=t;d=d[v];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&$){for(d=m,f=d[R]||(d[R]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===U&&c[1],y=p&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[v]||(y=p=0)||h.pop();)if(1===d.nodeType&&++y&&d===t){l[e]=[U,p,y];break}}else if($&&(d=t,f=d[R]||(d[R]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===U&&c[1],y=p),!1===y)for(;(d=++p&&d&&d[v]||(y=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++y||($&&(f=d[R]||(d[R]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),l[e]=[U,y]),d!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[R]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=Q(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(oe,"$1"));return i[R]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ge,$e),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:r(function(e){return le.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ge,$e).toLowerCase(),function(t){var n;do{if(n=j?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===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===N},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!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,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.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"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})w.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return l.prototype=w.filters=w.pseudos,w.setFilters=new l,S=t.tokenize=function(e,n){var r,i,o,a,s,u,c,l=F[e+" "];if(l)return n?0:l.slice(0);for(s=e,u=[],c=w.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),s=s.slice(r.length));for(a in w.filter)!(i=fe[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):F(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=B[e+" "];if(!o){for(t||(t=S(e)),n=t.length;n--;)o=g(t[n]),o[R]?r.push(o):i.push(o);o=B(e,$(i,r)),o.selector=e}return o},E=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,d=!r&&S(e=l.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&j&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(ge,$e),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(ge,$e),me.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return K.apply(n,r),n;break}}return(l||k(e,d))(r,t,!j,n,!t||me.test(e)&&c(t.parentNode)||t),n},b.sortStable=R.split("").sort(z).join("")===R,b.detectDuplicates=!!O,M(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(D.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);se.find=ce,se.expr=ce.selectors,se.expr[":"]=se.expr.pseudos,se.uniqueSort=se.unique=ce.uniqueSort,se.text=ce.getText,se.isXMLDoc=ce.isXML,se.contains=ce.contains,se.escapeSelector=ce.escape;var le=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&se(e).is(n))break;r.push(e)}return r},fe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},de=se.expr.match.needsContext,pe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;se.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?se.find.matchesSelector(r,e)?[r]:[]:se.find.matches(e,se.grep(t,function(e){return 1===e.nodeType}))},se.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(se(e).filter(function(){for(t=0;t<r;t++)if(se.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)se.find(e,i[t],n);return r>1?se.uniqueSort(n):n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return!!a(this,"string"==typeof e&&de.test(e)?se(e):e||[],!1).length}});var he,ve=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(se.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||he,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ve.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof se?t[0]:t,se.merge(this,se.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:W,!0)),pe.test(r[1])&&se.isPlainObject(t))for(r in t)ie(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=W.getElementById(r[2]),i&&(this[0]=i,
this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ie(e)?void 0!==n.ready?n.ready(e):e(se):se.makeArray(e,this)}).prototype=se.fn,he=se(W);var me=/^(?:parents|prev(?:Until|All))/,ge={children:!0,contents:!0,next:!0,prev:!0};se.fn.extend({has:function(e){var t=se(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(se.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&se(e);if(!de.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&se.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?se.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?X.call(se(e),this[0]):X.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(se.uniqueSort(se.merge(this.get(),se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return le(e,"parentNode")},parentsUntil:function(e,t,n){return le(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return le(e,"nextSibling")},prevAll:function(e){return le(e,"previousSibling")},nextUntil:function(e,t,n){return le(e,"nextSibling",n)},prevUntil:function(e,t,n){return le(e,"previousSibling",n)},siblings:function(e){return fe((e.parentNode||{}).firstChild,e)},children:function(e){return fe(e.firstChild)},contents:function(e){return o(e,"iframe")?e.contentDocument:(o(e,"template")&&(e=e.content||e),se.merge([],e.childNodes))}},function(e,t){se.fn[e]=function(n,r){var i=se.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=se.filter(r,i)),this.length>1&&(ge[e]||se.uniqueSort(i),me.test(e)&&i.reverse()),this.pushStack(i)}});var $e=/[^\x20\t\r\n\f]+/g;se.Callbacks=function(e){e="string"==typeof e?u(e):se.extend({},e);var t,n,i,o,a=[],s=[],c=-1,l=function(){for(o=o||e.once,i=t=!0;s.length;c=-1)for(n=s.shift();++c<a.length;)!1===a[c].apply(n[0],n[1])&&e.stopOnFalse&&(c=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},f={add:function(){return a&&(n&&!t&&(c=a.length-1,s.push(n)),function t(n){se.each(n,function(n,i){ie(i)?e.unique&&f.has(i)||a.push(i):i&&i.length&&"string"!==r(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return se.each(arguments,function(e,t){for(var n;(n=se.inArray(t,a,n))>-1;)a.splice(n,1),n<=c&&c--}),this},has:function(e){return e?se.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=s=[],n||t||(a=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!i}};return f},se.extend({Deferred:function(t){var n=[["notify","progress",se.Callbacks("memory"),se.Callbacks("memory"),2],["resolve","done",se.Callbacks("once memory"),se.Callbacks("once memory"),0,"resolved"],["reject","fail",se.Callbacks("once memory"),se.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return se.Deferred(function(t){se.each(n,function(n,r){var i=ie(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&ie(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var s=this,u=arguments,f=function(){var e,f;if(!(t<a)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");f=e&&("object"==typeof e||"function"==typeof e)&&e.then,ie(f)?i?f.call(e,o(a,n,c,i),o(a,n,l,i)):(a++,f.call(e,o(a,n,c,i),o(a,n,l,i),o(a,n,c,n.notifyWith))):(r!==c&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},d=i?f:function(){try{f()}catch(e){se.Deferred.exceptionHook&&se.Deferred.exceptionHook(e,d.stackTrace),t+1>=a&&(r!==l&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?d():(se.Deferred.getStackHook&&(d.stackTrace=se.Deferred.getStackHook()),e.setTimeout(d))}}var a=0;return se.Deferred(function(e){n[0][3].add(o(0,e,ie(i)?i:c,e.notifyWith)),n[1][3].add(o(0,e,ie(t)?t:c)),n[2][3].add(o(0,e,ie(r)?r:l))}).promise()},promise:function(e){return null!=e?se.extend(e,i):i}},o={};return se.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=Y.call(arguments),o=se.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?Y.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(f(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||ie(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],a(n),o.reject);return o.promise()}});var ye=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;se.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&ye.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},se.readyException=function(t){e.setTimeout(function(){throw t})};var be=se.Deferred();se.fn.ready=function(e){return be.then(e).catch(function(e){se.readyException(e)}),this},se.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--se.readyWait:se.isReady)||(se.isReady=!0,!0!==e&&--se.readyWait>0||be.resolveWith(W,[se]))}}),se.ready.then=be.then,"complete"===W.readyState||"loading"!==W.readyState&&!W.documentElement.doScroll?e.setTimeout(se.ready):(W.addEventListener("DOMContentLoaded",d),e.addEventListener("load",d));var we=function(e,t,n,i,o,a,s){var u=0,c=e.length,l=null==n;if("object"===r(n)){o=!0;for(u in n)we(e,t,u,n[u],!0,a,s)}else if(void 0!==i&&(o=!0,ie(i)||(s=!0),l&&(s?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(se(e),n)})),t))for(;u<c;u++)t(e[u],n,s?i:i.call(e[u],u,t(e[u],n)));return o?e:l?t.call(e):c?t(e[0],n):a},xe=/^-ms-/,Ce=/-([a-z])/g,Se=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};v.uid=1,v.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Se(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[h(t)]=n;else for(r in t)i[h(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(h):(t=h(t),t=t in r?[t]:t.match($e)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||se.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!se.isEmptyObject(t)}};var ke=new v,Ee=new v,Ae=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Te=/[A-Z]/g;se.extend({hasData:function(e){return Ee.hasData(e)||ke.hasData(e)},data:function(e,t,n){return Ee.access(e,t,n)},removeData:function(e,t){Ee.remove(e,t)},_data:function(e,t,n){return ke.access(e,t,n)},_removeData:function(e,t){ke.remove(e,t)}}),se.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=Ee.get(o),1===o.nodeType&&!ke.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=h(r.slice(5)),g(o,r,i[r])));ke.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Ee.set(this,e)}):we(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=Ee.get(o,e)))return n;if(void 0!==(n=g(o,e)))return n}else this.each(function(){Ee.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ee.remove(this,e)})}}),se.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ke.get(e,t),n&&(!r||Array.isArray(n)?r=ke.access(e,t,se.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=se.queue(e,t),r=n.length,i=n.shift(),o=se._queueHooks(e,t),a=function(){se.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ke.get(e,n)||ke.access(e,n,{empty:se.Callbacks("once memory").add(function(){ke.remove(e,[t+"queue",n])})})}}),se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?se.queue(this[0],e):void 0===t?this:this.each(function(){var n=se.queue(this,e,t);se._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&se.dequeue(this,e)})},dequeue:function(e){return this.each(function(){se.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=se.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=ke.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Me=new RegExp("^(?:([+-])=|)("+Oe+")([a-z%]*)$","i"),De=["Top","Right","Bottom","Left"],Ne=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&se.contains(e.ownerDocument,e)&&"none"===se.css(e,"display")},je=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},Pe={};se.fn.extend({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(){Ne(this)?se(this).show():se(this).hide()})}});var Ve=/^(?:checkbox|radio)$/i,Le=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Ie=/^$|^module$|\/(?:java|ecma)script/i,Re={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,"",""]};Re.optgroup=Re.option,Re.tbody=Re.tfoot=Re.colgroup=Re.caption=Re.thead,Re.th=Re.td;var qe=/<|&#?\w+;/;!function(){var e=W.createDocumentFragment(),t=e.appendChild(W.createElement("div")),n=W.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),re.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",re.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Ue=W.documentElement,He=/^key/,_e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Fe=/^([^.]*)(?:\.(.+)|)/;!function(){var e=null}();se.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,p,h,v,m=ke.get(e);if(m)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&se.find.matchesSelector(Ue,i),n.guid||(n.guid=se.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==se&&se.event.triggered!==t.type?se.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match($e)||[""],c=t.length;c--;)s=Fe.exec(t[c])||[],p=v=s[1],h=(s[2]||"").split(".").sort(),p&&(f=se.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=se.event.special[p]||{},l=se.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&se.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||(d=u[p]=[],d.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),se.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,d,p,h,v,m=ke.hasData(e)&&ke.get(e);if(m&&(u=m.events)){for(t=(t||"").match($e)||[""],c=t.length;c--;)if(s=Fe.exec(t[c])||[],p=v=s[1],h=(s[2]||"").split(".").sort(),p){for(f=se.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)l=d[o],!i&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||se.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)se.event.remove(e,p+t[c],n,r,!0);se.isEmptyObject(u)&&ke.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=se.event.fix(e),u=new Array(arguments.length),c=(ke.get(this,"events")||{})[s.type]||[],l=se.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=se.event.handlers.call(this,s,c),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((se.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?se(i,this).index(c)>-1:se.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(se.Event.prototype,e,{enumerable:!0,configurable:!0,get:ie(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[se.expando]?e:new se.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==E()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===E()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&o(this,"input"))return this.click(),!1},_default:function(e){return o(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},se.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},se.Event=function(e,t){if(!(this instanceof se.Event))return new se.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?S:k,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&se.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[se.expando]=!0},se.Event.prototype={constructor:se.Event,isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=S,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=S,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=S,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},se.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&He.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&_e.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},se.event.addProp),se.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){se.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||se.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),se.fn.extend({on:function(e,t,n,r){return A(this,e,t,n,r)},one:function(e,t,n,r){return A(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,se(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=k),this.each(function(){se.event.remove(this,e,n,t)})}});var Be=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ze=/<script|<style|<link/i,We=/checked\s*(?:[^=]|=\s*.checked.)/i,Ge=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;se.extend({htmlPrefilter:function(e){return e.replace(Be,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=se.contains(e.ownerDocument,e);if(!(re.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||se.isXMLDoc(e)))for(a=w(s),o=w(e),r=0,i=o.length;r<i;r++)N(o[r],a[r]);if(t)if(n)for(o=o||w(e),a=a||w(s),r=0,i=o.length;r<i;r++)D(o[r],a[r]);else D(e,s);return a=w(s,"script"),a.length>0&&x(a,!u&&w(e,"script")),s},cleanData:function(e){for(var t,n,r,i=se.event.special,o=0;void 0!==(n=e[o]);o++)if(Se(n)){if(t=n[ke.expando]){if(t.events)for(r in t.events)i[r]?se.event.remove(n,r):se.removeEvent(n,r,t.handle);n[ke.expando]=void 0}n[Ee.expando]&&(n[Ee.expando]=void 0)}}}),se.fn.extend({detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return we(this,function(e){return void 0===e?se.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){T(this,e).appendChild(e)}})},prepend:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(se.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return se.clone(this,e,t)})},html:function(e){return we(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ze.test(e)&&!Re[(Le.exec(e)||["",""])[1].toLowerCase()]){e=se.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(se.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return j(this,arguments,function(t){var n=this.parentNode;se.inArray(this,e)<0&&(se.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),se.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){se.fn[e]=function(e){for(var n,r=[],i=se(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),se(i[a])[t](n),K.apply(r,n.get());return this.pushStack(r)}});var Ye=new RegExp("^("+Oe+")(?!px)[a-z%]+$","i"),Je=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ke=new RegExp(De.join("|"),"i");!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ue.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,s=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=36===c.offsetWidth||"absolute",Ue.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u=W.createElement("div"),c=W.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",re.clearCloneStyle="content-box"===c.style.backgroundClip,se.extend(re,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o}}))}();var Xe=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"},tt=["Webkit","Moz","ms"],nt=W.createElement("div").style;se.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=V(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=h(t),u=Qe.test(t),c=e.style;if(u||(t=I(s)),a=se.cssHooks[t]||se.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];o=typeof n,"string"===o&&(i=Me.exec(n))&&i[1]&&(n=$(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(se.cssNumber[s]?"":"px")),re.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=h(t);return Qe.test(t)||(t=I(s)),a=se.cssHooks[t]||se.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=V(e,t,r)),"normal"===i&&t in et&&(i=et[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),se.each(["height","width"],function(e,t){se.cssHooks[t]={get:function(e,n,r){if(n)return!Xe.test(se.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?U(e,t,r):je(e,Ze,function(){return U(e,t,r)})},set:function(e,n,r){var i,o=Je(e),a="border-box"===se.css(e,"boxSizing",!1,o),s=r&&q(e,t,r,a,o);return a&&re.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-q(e,t,"border",!1,o)-.5)),s&&(i=Me.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=se.css(e,t)),R(e,n,s)}}}),se.cssHooks.marginLeft=function(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}(re.reliableMarginLeft,function(e,t){if(t)return(parseFloat(V(e,"marginLeft"))||e.getBoundingClientRect().left-je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),se.each({margin:"",padding:"",border:"Width"},function(e,t){se.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+De[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(se.cssHooks[e+t].set=R)}),se.fn.extend({css:function(e,t){return we(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Je(e),i=t.length;a<i;a++)o[t[a]]=se.css(e,t[a],!1,r);return o}return void 0!==n?se.style(e,t,n):se.css(e,t)},e,t,arguments.length>1)}}),se.fn.delay=function(t,n){return t=se.fx?se.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=W.createElement("input"),t=W.createElement("select"),n=t.appendChild(W.createElement("option"));e.type="checkbox",re.checkOn=""!==e.value,re.optSelected=n.selected,e=W.createElement("input"),e.value="t",e.type="radio",re.radioValue="t"===e.value}();var rt,it=se.expr.attrHandle;se.fn.extend({attr:function(e,t){return we(this,se.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){se.removeAttr(this,e)})}}),se.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?se.prop(e,t,n):(1===o&&se.isXMLDoc(e)||(i=se.attrHooks[t.toLowerCase()]||(se.expr.match.bool.test(t)?rt:void 0)),void 0!==n?null===n?void se.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=se.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!re.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match($e);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),rt={set:function(e,t,n){return!1===t?se.removeAttr(e,n):e.setAttribute(n,n),n}},se.each(se.expr.match.bool.source.match(/\w+/g),function(e,t){var n=it[t]||se.find.attr;it[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=it[a],it[a]=i,i=null!=n(e,t,r)?a:null,it[a]=o),i}});var ot=/^(?:input|select|textarea|button)$/i,at=/^(?:a|area)$/i;se.fn.extend({prop:function(e,t){return we(this,se.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[se.propFix[e]||e]})}}),se.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&se.isXMLDoc(e)||(t=se.propFix[t]||t,i=se.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=se.find.attr(e,"tabindex");return t?parseInt(t,10):ot.test(e.nodeName)||at.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),re.optSelected||(se.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){se.propFix[this.toLowerCase()]=this}),se.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(ie(e))return this.each(function(t){se(this).addClass(e.call(this,t,_(this)))});if(t=F(e),t.length)for(;n=this[u++];)if(i=_(n),r=1===n.nodeType&&" "+H(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=H(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(ie(e))return this.each(function(t){se(this).removeClass(e.call(this,t,_(this)))});if(!arguments.length)return this.attr("class","");if(t=F(e),t.length)for(;n=this[u++];)if(i=_(n),r=1===n.nodeType&&" "+H(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=H(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):ie(e)?this.each(function(n){se(this).toggleClass(e.call(this,n,_(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=se(this),a=F(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=_(this),t&&ke.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":ke.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+H(_(n))+" ").indexOf(t)>-1)return!0;return!1}});var st=/\r/g;se.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=ie(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,se(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=se.map(i,function(e){return null==e?"":e+""})),(t=se.valHooks[this.type]||se.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=se.valHooks[i.type]||se.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(st,""):null==n?"":n)}}}),se.extend({valHooks:{option:{get:function(e){var t=se.find.attr(e,"value");return null!=t?t:H(se.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,s="select-one"===e.type,u=s?null:[],c=s?a+1:i.length;for(r=a<0?c:s?a:0;r<c;r++)if(n=i[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=se(n).val(),s)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,o=se.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=se.inArray(se.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),se.each(["radio","checkbox"],function(){se.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=se.inArray(se(e).val(),t)>-1}},re.checkOn||(se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),re.focusin="onfocusin"in e;var ut=/^(?:focusinfocus|focusoutblur)$/,ct=function(e){e.stopPropagation()};se.extend(se.event,{trigger:function(t,n,r,i){var o,a,s,u,c,l,f,d,p=[r||W],h=ee.call(t,"type")?t.type:t,v=ee.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||W,3!==r.nodeType&&8!==r.nodeType&&!ut.test(h+se.event.triggered)&&(h.indexOf(".")>-1&&(v=h.split("."),h=v.shift(),v.sort()),c=h.indexOf(":")<0&&"on"+h,t=t[se.expando]?t:new se.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:se.makeArray(n,[t]),f=se.event.special[h]||{},i||!f.trigger||!1!==f.trigger.apply(r,n))){if(!i&&!f.noBubble&&!oe(r)){for(u=f.delegateType||h,ut.test(u+h)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||W)&&p.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?u:f.bindType||h,l=(ke.get(a,"events")||{})[t.type]&&ke.get(a,"handle"),l&&l.apply(a,n),(l=c&&a[c])&&l.apply&&Se(a)&&(t.result=l.apply(a,n),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),n)||!Se(r)||c&&ie(r[h])&&!oe(r)&&(s=r[c],s&&(r[c]=null),se.event.triggered=h,t.isPropagationStopped()&&d.addEventListener(h,ct),r[h](),t.isPropagationStopped()&&d.removeEventListener(h,ct),se.event.triggered=void 0,s&&(r[c]=s)),t.result}},simulate:function(e,t,n){var r=se.extend(new se.Event,n,{type:e,isSimulated:!0});se.event.trigger(r,null,t)}}),se.fn.extend({trigger:function(e,t){return this.each(function(){se.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return se.event.trigger(e,t,n,!0)}}),re.focusin||se.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){se.event.simulate(t,e.target,se.event.fix(e))};se.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ke.access(r,t);i||r.addEventListener(e,n,!0),ke.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ke.access(r,t)-1;i?ke.access(r,t,i):(r.removeEventListener(e,n,!0),ke.remove(r,t))}}});var lt=/\[\]$/,ft=/\r?\n/g,dt=/^(?:submit|button|image|reset|file)$/i,pt=/^(?:input|select|textarea|keygen)/i;se.param=function(e,t){var n,r=[],i=function(e,t){var n=ie(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!se.isPlainObject(e))se.each(e,function(){i(this.name,this.value)
});else for(n in e)B(n,e[n],t,i);return r.join("&")},se.fn.extend({serialize:function(){return se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=se.prop(this,"elements");return e?se.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!se(this).is(":disabled")&&pt.test(this.nodeName)&&!dt.test(e)&&(this.checked||!Ve.test(e))}).map(function(e,t){var n=se(this).val();return null==n?null:Array.isArray(n)?se.map(n,function(e){return{name:t.name,value:e.replace(ft,"\r\n")}}):{name:t.name,value:n.replace(ft,"\r\n")}}).get()}}),se.fn.extend({wrapAll:function(e){var t;return this[0]&&(ie(e)&&(e=e.call(this[0])),t=se(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 ie(e)?this.each(function(t){se(this).wrapInner(e.call(this,t))}):this.each(function(){var t=se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ie(e);return this.each(function(n){se(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){se(this).replaceWith(this.childNodes)}),this}}),re.createHTMLDocument=function(){var e=W.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),se.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(re.createHTMLDocument?(t=W.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=W.location.href,t.head.appendChild(r)):t=W),i=pe.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=C([e],t,o),o&&o.length&&se(o).remove(),se.merge([],i.childNodes))},se.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){se.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),se.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),se.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),ie(e))return r=Y.call(arguments,2),i=function(){return e.apply(t||this,r.concat(Y.call(arguments)))},i.guid=e.guid=e.guid||se.guid++,i},se.each({Height:"height",Width:"width"},function(e,t){se.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){se.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return we(this,function(t,n,i){var o;return oe(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?se.css(t,n,s):se.style(t,n,i,s)},t,a?i:void 0,a)}})});var ht=se.event.fix;if(se.event.props=[],se.event.fixHooks={},se.event.fix=function(e){var t,n=e.type,r=this.fixHooks[n],i=se.event.props;if(i.length)for(;i.length;)se.event.addProp(i.pop());if(r&&!r._migrated_&&(r._migrated_=!0,(i=r.props)&&i.length))for(;i.length;)se.event.addProp(i.pop());return t=ht.call(this,e),r&&r.filter?r.filter(t,e):t},se.fn.bind=se.fn.on,se.fn.unbind=se.fn.off,se.type=r,se.isNumeric=function(e){var t=se.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},se.isFunction=ie,!requirejs.s.contexts._.config.paths.jquery||requirejs.s.contexts._.config.paths.angular){"function"==typeof define&&define.amd&&define("jquery",[],function(){return se});var vt=e.jQuery,mt=e.$;se.noConflict=function(t){return e.$===se&&(e.$=mt),t&&e.jQuery===se&&(e.jQuery=vt),se},t||(e.jQuery=e.$=se)}return se}),define("jquery.tiny",function(e){return function(){return e.jQuery}}(this)),function(e){"use strict";function t(e){if(!w(e))return vi;b(e.objectMaxDepth)&&(vi.objectMaxDepth=n(e.objectMaxDepth)?e.objectMaxDepth:NaN),b(e.urlErrorParamsEnabled)&&V(e.urlErrorParamsEnabled)&&(vi.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function n(e){return S(e)&&e>0}function r(e,t){t=t||Error;var n="https://errors.angularjs.org/1.7.8/",r=n.replace(".","\\.")+"[\\s\\S]*",i=new RegExp(r,"g");return function(){var r,o,a=arguments[0],s=arguments[1],u="["+(e?e+":":"")+a+"] ",c=Y(arguments,2).map(function(e){return Se(e,vi.objectMaxDepth)});if(u+=s.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<c.length?c[t].replace(i,""):e}),u+="\n"+n+(e?e+"/":"")+a,vi.urlErrorParamsEnabled)for(o=0,r="?";o<c.length;o++,r="&")u+=r+"p"+o+"="+encodeURIComponent(c[o]);return new t(u)}}function i(e){if(null==e||M(e))return!1;if(E(e)||C(e)||di&&e instanceof di)return!0;var t="length"in Object(e)&&e.length;return S(t)&&(t>=0&&t-1 in e||"function"==typeof e.item)}function o(e,t,n){var r,a;if(e)if(T(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(E(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;r<a;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(x(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)$i.call(e,r)&&t.call(n,e[r],r,e);return e}function a(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function s(e){return function(t,n){e(n,t)}}function u(){return++Ti}function c(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function l(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(w(a)||T(a))for(var s=Object.keys(a),u=0,f=s.length;u<f;u++){var d=s[u],p=a[d];n&&w(p)?k(p)?e[d]=new Date(p.valueOf()):O(p)?e[d]=new RegExp(p):p.nodeName?e[d]=p.cloneNode(!0):q(p)?e[d]=p.clone():(w(e[d])||(e[d]=E(p)?[]:{}),l(e[d],[p],!0)):e[d]=p}}return c(e,r),e}function f(e){return l(e,wi.call(arguments,1),!1)}function d(e){return l(e,wi.call(arguments,1),!0)}function p(e){return parseInt(e,10)}function h(e,t){return f(Object.create(e),t)}function v(){}function m(e){return e}function g(e){return function(){return e}}function $(e){return T(e.toString)&&e.toString!==Si}function y(e){return void 0===e}function b(e){return void 0!==e}function w(e){return null!==e&&"object"==typeof e}function x(e){return null!==e&&"object"==typeof e&&!ki(e)}function C(e){return"string"==typeof e}function S(e){return"number"==typeof e}function k(e){return"[object Date]"===Si.call(e)}function E(e){return Array.isArray(e)||e instanceof Array}function A(e){switch(Si.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function T(e){return"function"==typeof e}function O(e){return"[object RegExp]"===Si.call(e)}function M(e){return e&&e.window===e}function D(e){return e&&e.$evalAsync&&e.$watch}function N(e){return"[object File]"===Si.call(e)}function j(e){return"[object FormData]"===Si.call(e)}function P(e){return"[object Blob]"===Si.call(e)}function V(e){return"boolean"==typeof e}function L(e){return e&&T(e.then)}function I(e){return e&&S(e.length)&&Mi.test(Si.call(e))}function R(e){return"[object ArrayBuffer]"===Si.call(e)}function q(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function U(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function H(e){return yi(e.nodeName||e[0]&&e[0].nodeName)}function _(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function F(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function B(e,t,r){function i(e,t,n){if(--n<0)return"...";var r,i=t.$$hashKey;if(E(e))for(var o=0,s=e.length;o<s;o++)t.push(a(e[o],n));else if(x(e))for(r in e)t[r]=a(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=a(e[r],n));else for(r in e)$i.call(e,r)&&(t[r]=a(e[r],n));return c(t,i),t}function a(e,t){if(!w(e))return e;var n=u.indexOf(e);if(-1!==n)return l[n];if(M(e)||D(e))throw Ei("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,o=s(e);return void 0===o&&(o=E(e)?[]:Object.create(ki(e)),r=!0),u.push(e),l.push(o),r?i(e,o,t):o}function s(e){switch(Si.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(a(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(T(e.cloneNode))return e.cloneNode(!0)}var u=[],l=[];if(r=n(r)?r:NaN,t){if(I(t)||R(t))throw Ei("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Ei("cpi","Can't copy! Source and destination are identical.");return E(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),u.push(e),l.push(t),i(e,t,r)}return a(e,r)}function z(e,t){return e===t||e!==e&&t!==t}function W(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o===a&&"object"===o){if(!E(e)){if(k(e))return!!k(t)&&z(e.getTime(),t.getTime());if(O(e))return!!O(t)&&e.toString()===t.toString();if(D(e)||D(t)||M(e)||M(t)||E(t)||k(t)||O(t))return!1;i=ye();for(r in e)if("$"!==r.charAt(0)&&!T(e[r])){if(!W(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&b(t[r])&&!T(t[r]))return!1;return!0}if(!E(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!W(e[r],t[r]))return!1;return!0}}return!1}function G(e,t,n){return e.concat(wi.call(t,n))}function Y(e,t){return wi.call(e,t||0)}function J(e,t){var n=arguments.length>2?Y(arguments,2):[];return!T(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,G(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function K(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:M(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":D(n)&&(r="$SCOPE"),r}function X(e,t){if(!y(e))return S(t)||(t=t?2:null),JSON.stringify(e,K,t)}function Q(e){return C(e)?JSON.parse(e):e}function Z(e,t){e=e.replace(Vi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return Oi(n)?t:n}function ee(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function te(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return ee(e,n*(Z(t,r)-r))}function ne(e){e=di(e).clone().empty();var t=di("<div></div>").append(e).html();try{return e[0].nodeType===Hi?yi(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+yi(t)})}catch(e){return yi(t)}}function re(e){try{return decodeURIComponent(e)}catch(e){}}function ie(e){var t={};return o((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=re(r),b(r)&&(i=!b(i)||re(i),$i.call(t,r)?E(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function oe(e){var t=[];return o(e,function(e,n){E(e)?o(e,function(e){t.push(se(n,!0)+(!0===e?"":"="+se(e,!0)))}):t.push(se(n,!0)+(!0===e?"":"="+se(e,!0)))}),t.length?t.join("&"):""}function ae(e){return se(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function se(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function ue(e,t){var n,r,i=Li.length;for(r=0;r<i;++r)if(n=Li[r]+t,C(n=e.getAttribute(n)))return n;return null}function ce(t,n){var r,i,a={};if(o(Li,function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))}),o(Li,function(e){var n,o=e+"app";!r&&(n=t.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))}),r){if(!Ii)return void e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==ue(r,"strict-di"),n(r,i?[i]:[],a)}}function le(t,n,r){w(r)||(r={}),r=f({strictDi:!1},r);var i=function(){if(t=di(t),t.injector()){var i=t[0]===e.document?"document":ne(t);throw Ei("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=dt(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&a.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(a,"")),e&&!s.test(e.name))return i();e.name=e.name.replace(s,""),Ai.resumeBootstrap=function(e){return o(e,function(e){n.push(e)}),i()},T(Ai.resumeDeferredBootstrap)&&Ai.resumeDeferredBootstrap()}function fe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function de(e){var t=Ai.element(e).injector();if(!t)throw Ei("test","no injector found for element argument to getTestability");return t.get("$$testability")}function pe(e,t){return t=t||"_",e.replace(Ri,function(e,n){return(n?t:"")+e.toLowerCase()})}function he(e,t,n){if(!e)throw Ei("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ve(e,t,n){return n&&E(e)&&(e=e[e.length-1]),he(T(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function me(e,t){if("hasOwnProperty"===e)throw Ei("badname","hasOwnProperty is not a valid {0} name",t)}function ge(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&T(e)?J(o,e):e}function $e(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=di(wi.call(e,0,i))),t.push(n));return t||e}function ye(){return Object.create(null)}function be(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!$(e)||E(e)||k(e)?X(e):e.toString()}return e}function we(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,a){var s={};return function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)}(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=u),function(){return r[n||"push"]([e,t,arguments]),d}}function t(e,t,n){return n||(n=u),function(i,o){return o&&T(o)&&(o.$$moduleName=r),n.push([e,t,arguments]),d}}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 u=[],c=[],l=[],f=e("$injector","invoke","push",c),d={_invokeQueue:u,_configBlocks:c,_runBlocks:l,info:function(e){if(b(e)){if(!w(e))throw i("aobj","Argument '{0}' must be an object","value");return s=e,this}return s},requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator",c),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:f,run:function(e){return l.push(e),this}};return a&&f(a),d})}})}function xe(e,t){if(E(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(w(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function Ce(e,t){var r=[];return n(t)&&(e=Ai.copy(e,null,t)),JSON.stringify(e,function(e,t){if(t=K(e,t),w(t)){if(r.indexOf(t)>=0)return"...";r.push(t)}return t})}function Se(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?Ce(e,t):e}function ke(){return++Gi}function Ee(e){return Te(e.replace(Ji,"ms-"))}function Ae(e,t){return t.toUpperCase()}function Te(e){return e.replace(Yi,Ae)}function Oe(e){return!Zi.test(e)}function Me(e){var t=e.nodeType;return t===Ui||!t||t===Fi}function De(e){for(var t in Wi[e.ng339])return!0;return!1}function Ne(e,t){var n,r,i,a,s=t.createDocumentFragment(),u=[];if(Oe(e))u.push(t.createTextNode(e));else{for(n=s.appendChild(t.createElement("div")),r=(eo.exec(e)||["",""])[1].toLowerCase(),i=no[r]||no._default,n.innerHTML=i[1]+e.replace(to,"<$1></$2>")+i[2],a=i[0];a--;)n=n.lastChild;u=G(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(e){s.appendChild(e)}),s}function je(t,n){n=n||e.document;var r;return(r=Qi.exec(t))?[n.createElement(r[1])]:(r=Ne(t,n))?r.childNodes:[]}function Pe(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Ve(e){if(e instanceof Ve)return e;var t;if(C(e)&&(e=Di(e),t=!0),!(this instanceof Ve)){if(t&&"<"!==e.charAt(0))throw Xi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Ve(e)}t?Ge(this,je(e)):T(e)?Ze(e):Ge(this,e)}function Le(e){return e.cloneNode(!0)}function Ie(e,t){!t&&Me(e)&&di.cleanData([e]),e.querySelectorAll&&di.cleanData(e.querySelectorAll("*"))}function Re(e){var t;for(t in e)return!1;return!0}function qe(e){var t=e.ng339,n=t&&Wi[t],r=n&&n.events,i=n&&n.data;i&&!Re(i)||r&&!Re(r)||(delete Wi[t],e.ng339=void 0)}function Ue(e,t,n,r){if(b(r))throw Xi("offargs","jqLite#off() does not support the `selector` argument");var i=_e(e),a=i&&i.events,s=i&&i.handle;if(s){if(t){var u=function(t){var r=a[t];b(n)&&F(r||[],n),b(n)&&r&&r.length>0||(e.removeEventListener(t,s),delete a[t])};o(t.split(" "),function(e){u(e),Ki[e]&&u(Ki[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t];qe(e)}}function He(e,t){var n=e.ng339,r=n&&Wi[n];r&&(t?delete r.data[t]:r.data={},qe(e))}function _e(e,t){var n=e.ng339,r=n&&Wi[n];return t&&!r&&(e.ng339=n=ke(),r=Wi[n]={events:{},data:{},handle:void 0}),r}function Fe(e,t,n){if(Me(e)){var r,i=b(n),o=!i&&t&&!w(t),a=!t,s=_e(e,!o),u=s&&s.data;if(i)u[Te(t)]=n;else{if(a)return u;if(o)return u&&u[Te(t)];for(r in t)u[Te(r)]=t[r]}}}function Be(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function ze(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;o(t.split(" "),function(e){e=Di(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",Di(r))}}function We(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;o(t.split(" "),function(e){e=Di(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",Di(r))}}function Ge(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ye(e,t){return Je(e,"$"+(t||"ngController")+"Controller")}function Je(e,t,n){e.nodeType===Fi&&(e=e.documentElement);for(var r=E(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(b(n=di.data(e,r[i])))return n;e=e.parentNode||e.nodeType===Bi&&e.host}}function Ke(e){for(Ie(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Xe(e,t){t||Ie(e);var n=e.parentNode;n&&n.removeChild(e)}function Qe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):di(n).on("load",t)}function Ze(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}function et(e,t){var n=oo[t.toLowerCase()];return n&&ao[H(e)]&&n}function tt(e){return so[e]}function nt(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(y(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||rt;o>1&&(i=xe(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function rt(e,t,n){n.call(e,t)}function it(e,t,n){var r=t.relatedTarget;r&&(r===e||ro.call(e,r))||n.call(e,t)}function ot(){this.$get=function(){return f(Ve,{hasClass:function(e,t){return e.attr&&(e=e[0]),Be(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),We(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),ze(e,t)}})}}function at(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||u)():r+":"+e}function st(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function ut(e){return Function.prototype.toString.call(e)}function ct(e){var t=ut(e).replace(mo,"");return t.match(fo)||t.match(po)}function lt(e){var t=ct(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function ft(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw C(n)&&n||(n=e.name||lt(e)),go("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=ct(e),o(i[1].split(ho),function(e){e.replace(vo,function(e,t,n){r.push(n)})})}e.$inject=r}}else E(e)?(a=e.length-1,ve(e[a],"fn"),r=e.slice(0,a)):ve(e,"fn",!0);return r}function dt(e,t){function n(e){return function(t,n){if(!w(t))return e(t,n);o(t,s(e))}}function r(e,t){if(me(e,"service"),(T(t)||E(t))&&(t=x.instantiate(t)),!t.$get)throw go("pget","Provider '{0}' must define $get factory method.",e);return b[e+v]=t}function i(e,t){return function(){var n=A.invoke(t,this);if(y(n))throw go("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function a(e,t,n){return r(e,{$get:!1!==n?i(e,t):t})}function u(e,t){return a(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return a(e,g(t),!1)}function l(e,t){me(e,"constant"),b[e]=t,S[e]=t}function f(e,t){var n=x.get(e+v),r=n.$get;n.$get=function(){var e=A.invoke(r,n);return A.invoke(t,null,{$delegate:e})}}function d(e){he(y(e)||E(e),"modulesToLoad","not an array");var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=x.get(r[0]);i[r[1]].apply(i,r[2])}}if(!$.get(e)){$.set(e,!0);try{C(e)?(t=hi(e),A.modules[e]=t,n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):T(e)?n.push(x.invoke(e)):E(e)?n.push(x.invoke(e)):ve(e,"module")}catch(t){throw E(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),go("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}}),n}function p(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===h)throw go("cdep","Circular dependency found: {0}",t+" <- "+m.join(" <- "));return e[t]}try{return m.unshift(t),e[t]=h,e[t]=n(t,r),e[t]}catch(n){throw e[t]===h&&delete e[t],n}finally{m.shift()}}function i(e,n,i){for(var o=[],a=dt.$$annotate(e,t,i),s=0,u=a.length;s<u;s++){var c=a[s];if("string"!=typeof c)throw go("itkn","Incorrect injection token! Expected service name as string, got {0}",c);o.push(n&&n.hasOwnProperty(c)?n[c]:r(c,i))}return o}function o(e){if(fi||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return V(t)||(t=e.$$ngIsClass=/^class\b/.test(ut(e))),t}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return E(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=E(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:dt.$$annotate,has:function(t){return b.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=!0===t;var h={},v="Provider",m=[],$=new co,b={$provide:{provider:n(r),factory:n(a),service:n(u),value:n(c),constant:n(l),decorator:f}},x=b.$injector=p(b,function(e,t){throw Ai.isString(t)&&m.push(t),go("unpr","Unknown provider: {0}",m.join(" <- "))}),S={},k=p(S,function(e,t){var n=x.get(e+v,t);return A.invoke(n.$get,n,void 0,e)}),A=k;b["$injector"+v]={$get:g(k)},A.modules=x.modules=ye();var O=d(e);return A=k.get("$injector"),A.strictDi=t,o(O,function(e){e&&A.invoke(e)}),A.loadNewModules=function(e){o(d(e),function(e){e&&A.invoke(e)})},A}function pt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){if("a"===H(e))return t=e,!0}),t}function o(){var e=s.yOffset;if(T(e))e=e();else if(q(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else S(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=C(e)?e:S(e)?e.toString():n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Qe(function(){r.$evalAsync(s)})}),s}]}function ht(e,t){return e||t?e?t?(E(e)&&(e=e.join(" ")),E(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function vt(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===yo)return n}}function mt(e){C(e)&&(e=e.split(" "));var t=ye();return o(e,function(e){e.length&&(t[e]=!0)}),t}function gt(e){return w(e)?e:{}}function $t(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function yt(e){return e.replace(/#$/,"")}function bt(e,t,n,r,i){function a(){x=null,u()}function s(){g=C(),g=y(g)?null:g,W(g,E)&&(g=E),E=g,$=g}function u(){var e=$;s(),b===c.url()&&e===g||(b=c.url(),$=g,o(S,function(e){e(c.url(),g)}))}var c=this,l=e.location,f=e.history,d=e.setTimeout,p=e.clearTimeout,h={},m=i(n);c.isMock=!1,c.$$completeOutstandingRequest=m.completeTask,c.$$incOutstandingRequestCount=m.incTaskCount,c.notifyWhenNoOutstandingRequests=m.notifyWhenNoPendingTasks;var g,$,b=l.href,w=t.find("base"),x=null,C=r.history?function(){try{return f.state}catch(e){}}:v;s(),c.url=function(t,n,i){if(y(i)&&(i=null),l!==e.location&&(l=e.location),f!==e.history&&(f=e.history),t){var o=$===i;if(t=Xn(t).href,b===t&&(!r.history||o))return c;var a=b&&on(b)===on(t);return b=t,$=i,!r.history||a&&o?(a||(x=t),n?l.replace(t):a?l.hash=$t(t):l.href=t,l.href!==t&&(x=t)):(f[n?"replaceState":"pushState"](i,"",t),s()),x&&(x=t),c}return yt(x||l.href)},c.state=function(){return g};var S=[],k=!1,E=null;c.onUrlChange=function(t){return k||(r.history&&di(e).on("popstate",a),di(e).on("hashchange",a),k=!0),S.push(t),t},c.$$applicationDestroyed=function(){di(e).off("hashchange popstate",a)},c.$$checkUrlChange=u,c.baseHref=function(){var e=w.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},c.defer=function(e,t,n){var r;return t=t||0,n=n||m.DEFAULT_TASK_TYPE,m.incTaskCount(n),r=d(function(){delete h[r],m.completeTask(e,n)},t),h[r]=n,r},c.defer.cancel=function(e){if(h.hasOwnProperty(e)){var t=h[e];return delete h[e],p(e),m.completeTask(v,t),!0}return!1}}function wt(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,i){return new bt(e,r,t,n,i)}]}function xt(){this.$get=function(){function e(e,n){function i(e){e!==d&&(p?p===e&&(p=e.n):p=e,o(e.n,e.p),o(e,d),d=e,d.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 a=0,s=f({},n,{id:e}),u=ye(),c=n&&n.capacity||Number.MAX_VALUE,l=ye(),d=null,p=null;return t[e]={put:function(e,t){if(!y(t)){if(c<Number.MAX_VALUE){i(l[e]||(l[e]={key:e}))}return e in u||a++,u[e]=t,a>c&&this.remove(p.key),t}},get:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;t===d&&(d=t.p),t===p&&(p=t.n),o(t.n,t.p),delete l[e]}e in u&&(delete u[e],a--)},removeAll:function(){u=ye(),a=0,l=ye(),d=p=null},destroy:function(){u=null,s=null,l=null,delete t[e]},info:function(){return f({},s,{size:a})}}}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 Ct(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function St(){}function kt(t,n){function r(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=ye();return o(e,function(e,o){if((e=e.trim())in O)return void(i[o]=O[e]);var a=e.match(r);if(!a)throw Eo("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(O[e]=i[o])}),i}function i(e,t){var n={isolateScope:null,bindToController:null};if(w(e.scope)&&(!0===e.bindToController?(n.bindToController=r(e.scope,t,!0),n.isolateScope={}):n.isolateScope=r(e.scope,t,!1)),w(e.bindToController)&&(n.bindToController=r(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw Eo("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}function a(e){var t=e.charAt(0);if(!t||t!==yi(t))throw Eo("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Eo("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}function u(e){var t=e.require||e.controller&&e.name;return!E(t)&&w(t)&&o(t,function(e,n){var r=e.match(S);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}function c(e,t){if(e&&(!C(e)||!/[EACM]/.test(e)))throw Eo("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}var l={},d="Directive",p=/^\s*directive:\s*([\w-]+)\s+(.*)$/,$=/(([\w-]+)(?::([^;]+))?;?)/,x=U("ngSrc,ngSrcset,src,srcset"),S=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/,O=ye();this.directive=function e(n,r){return he(n,"name"),me(n,"directive"),C(n)?(a(n),he(r,"directiveFactory"),l.hasOwnProperty(n)||(l[n]=[],t.factory(n+d,["$injector","$exceptionHandler",function(e,t){var r=[];return o(l[n],function(i,o){try{var a=e.invoke(i);T(a)?a={compile:g(a)}:!a.compile&&a.link&&(a.compile=g(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=u(a),a.restrict=c(a.restrict,n),a.$$moduleName=i.$$moduleName,r.push(a)}catch(e){t(e)}}),r}])),l[n].push(r)):o(n,s(e)),this},this.component=function e(t,n){function r(e){function t(t){return T(t)||E(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var r=n.template||n.templateUrl?n.template:"",a={controller:i,controllerAs:Mt(n.controller)||n.controllerAs||"$ctrl",template:t(r),templateUrl:t(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return o(n,function(e,t){"$"===t.charAt(0)&&(a[t]=e)}),a}if(!C(t))return o(t,s(J(this,e))),this;var i=n.controller||function(){};return o(n,function(e,t){"$"===t.charAt(0)&&(r[t]=e,T(i)&&(i[t]=e))}),r.$inject=["$injector"],this.directive(t,r)},this.aHrefSanitizationWhitelist=function(e){return b(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var M=!0;this.debugInfoEnabled=function(e){return b(e)?(M=e,
this):M};var N=!1;this.strictComponentBindingsEnabled=function(e){return b(e)?(N=e,this):N};var j=10;this.onChangesTtl=function(e){return arguments.length?(j=e,this):j};var P=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(P=e,this):P};var L=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(L=e,this):L};var I=ye();this.addPropertySecurityContext=function(e,t,n){var r=e.toLowerCase()+"|"+t.toLowerCase();if(r in I&&I[r]!==n)throw Eo("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",e,t,I[r],n);return I[r]=n,this},function(){function e(e,t){o(t,function(t){I[t.toLowerCase()]=e})}e(ra.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(ra.CSS,["*|style"]),e(ra.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),e(ra.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),e(ra.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,r,a,s,u,c,g,b){function O(){try{if(!--Re)throw Ne=void 0,Eo("infchng","{0} $onChanges() iterations reached. Aborting!\n",j);c.$apply(function(){for(var e=0,t=Ne.length;e<t;++e)try{Ne[e]()}catch(e){r(e)}Ne=void 0})}finally{Re++}}function R(e,t){if(!e)return e;if(!C(e))throw Eo("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',t,e.toString());for(var n="",r=Di(e),i=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,o=/\s/.test(r)?i:/(,)/,a=r.split(o),s=Math.floor(a.length/2),u=0;u<s;u++){var c=2*u;n+=g.getTrustedMediaUrl(Di(a[c])),n+=" "+Di(a[c+1])}var l=Di(a[2*u]).split(/\s/);return n+=g.getTrustedMediaUrl(Di(l[0])),2===l.length&&(n+=" "+Di(l[1])),n}function q(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function U(e,t,n){Pe.innerHTML="<span "+t+">";var r=Pe.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function _(e,t){try{e.addClass(t)}catch(e){}}function B(e,t,n,r,i){e instanceof di||(e=di(e));var o=K(e,t,e,n,r,i);B.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw Eo("multilink","This element has already been linked.");he(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,c=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=G(c));var l;if(l="html"!==a?di($e(a,di("<div></div>").append(e).html())):n?io.clone.call(e):e,u)for(var f in u)l.data("$"+f+"Controller",u[f].instance);return B.$$addScopeInfo(l,t),n&&n(l,t),o&&o(t,l,l,s),n||(e=o=null),l}}function G(e){var t=e&&e[0];return t&&"foreignobject"!==H(t)&&Si.call(t).match(/SVG/)?"svg":"html"}function K(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,c,l,f,d,v;if(p){var m=n.length;for(v=new Array(m),c=0;c<h.length;c+=3)f=h[c],v[f]=n[f]}else v=n;for(c=0,l=h.length;c<l;)s=v[h[c++]],o=h[c++],a=h[c++],o?(o.scope?(u=e.$new(),B.$$addScopeInfo(di(s),u)):u=e,d=o.transcludeOnThisElement?Q(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?Q(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,c,l,f,d,p,h=[],v=E(e)||e instanceof di,m=0;m<e.length;m++)s=new q,11===fi&&X(e,m,v),u=Z(e[m],[],s,0===m?r:void 0,i),c=u.length?oe(u,e[m],s,t,n,null,[],[],o):null,c&&c.scope&&B.$$addScopeClass(s.$$element),f=c&&c.terminal||!(l=e[m].childNodes)||!l.length?null:K(l,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:t),(c||f)&&(h.push(m,c,f),d=!0,p=p||c),o=null;return d?a:null}function X(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Hi)for(;;){if(!(r=o?i.nextSibling:e[t+1])||r.nodeType!==Hi)break;i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}}function Q(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=ye();for(var o in t.$$slots)t.$$slots[o]?i[o]=Q(e,t.$$slots[o],n):i[o]=null;return r}function Z(e,t,n,r,i){var o,a,s,u=e.nodeType,c=n.$attr;switch(u){case Ui:a=H(e),ce(t,At(a),"E",r,i);for(var l,f,d,p,h,v=e.attributes,m=0,g=v&&v.length;m<g;m++){var y,b=!1,x=!1,S=!1,k=!1,E=!1;l=v[m],f=l.name,p=l.value,d=At(f.toLowerCase()),(h=d.match(_e))?(S="Attr"===h[1],k="Prop"===h[1],E="On"===h[1],f=f.replace(To,"").toLowerCase().substr(4+h[1].length).replace(/_(.)/g,function(e,t){return t.toUpperCase()})):(y=d.match(Fe))&&le(y[1])&&(b=f,x=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),k||E?(n[d]=p,c[d]=l.name,k?Ce(e,t,d,f):Se(t,d,f)):(d=At(f.toLowerCase()),c[d]=f,!S&&n.hasOwnProperty(d)||(n[d]=p,et(e,d)&&(n[d]=!0)),ke(e,t,p,d,S),ce(t,d,"A",r,i,b,x))}if("input"===a&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Ie)break;if(s=e.className,w(s)&&(s=s.animVal),C(s)&&""!==s)for(;o=$.exec(s);)d=At(o[2]),ce(t,d,"C",r,i)&&(n[d]=Di(o[3])),s=s.substr(o.index+o[0].length);break;case Hi:ge(t,e.nodeValue);break;case _i:if(!Ve)break;ee(e,t,n,r,i)}return t.sort(ve),t}function ee(e,t,n,r,i){try{var o=p.exec(e.nodeValue);if(o){var a=At(o[1]);ce(t,a,"M",r,i)&&(n[a]=Di(o[2]))}}catch(e){}}function te(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Eo("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===Ui&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return di(r)}function re(e,t,n){return function(r,i,o,a,s){return i=te(i[0],t,n),e(r,i,o,a,s)}}function ie(e,t,n,r,i,o){var a;return e?B(t,n,r,i,o):function(){return a||(a=B(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function oe(t,n,i,a,s,u,c,l,d){function p(e,t,n,r){e&&(n&&(e=re(e,n,r)),e.require=v.require,e.directiveName=m,(k===v||v.$$isolateScope)&&(e=Ae(e,{isolateScope:!0})),c.push(e)),t&&(n&&(t=re(t,n,r)),t.require=v.require,t.directiveName=m,(k===v||v.$$isolateScope)&&(t=Ae(t,{isolateScope:!0})),l.push(t))}function h(e,t,a,s,u){function d(e,t,n,r){var i;if(D(e)||(r=n,n=t,t=e,e=void 0),j&&(i=$),n||(n=j?x.parent():x),!r)return u(e,t,i,n,I);var o=u.$$slots[r];if(o)return o(e,t,i,n,I);if(y(o))throw Eo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,ne(x))}var p,h,v,m,g,$,b,x,O,M;n===a?(O=i,x=i.$$element):(x=di(a),O=new q(x,i)),g=t,k?m=t.$new(!0):C&&(g=t.$parent),u&&(b=d,b.$$boundTransclude=u,b.isSlotFilled=function(e){return!!u.$$slots[e]}),S&&($=se(x,O,b,S,m,t,k)),k&&(B.$$addScopeInfo(x,m,!0,!(A&&(A===k||A===k.$$originalDirective))),B.$$addScopeClass(x,!0),m.$$isolateBindings=k.$$isolateBindings,M=De(t,O,m,m.$$isolateBindings,k),M.removeWatches&&m.$on("$destroy",M.removeWatches));for(var N in $){var P=S[N],V=$[N],L=P.$$bindings.bindToController;V.instance=V(),x.data("$"+P.name+"Controller",V.instance),V.bindingInfo=De(g,O,V.instance,L,P)}for(o(S,function(e,t){var n=e.require;e.bindToController&&!E(n)&&w(n)&&f($[t].instance,ae(t,n,x,$))}),o($,function(e){var t=e.instance;if(T(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){r(e)}if(T(t.$onInit))try{t.$onInit()}catch(e){r(e)}T(t.$doCheck)&&(g.$watch(function(){t.$doCheck()}),t.$doCheck()),T(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),p=0,h=c.length;p<h;p++)v=c[p],Te(v,v.isolateScope?m:t,x,O,v.require&&ae(v.directiveName,v.require,x,$),b);var I=t;for(k&&(k.template||null===k.templateUrl)&&(I=m),e&&e(I,a.childNodes,void 0,u),p=l.length-1;p>=0;p--)v=l[p],Te(v,v.isolateScope?m:t,x,O,v.require&&ae(v.directiveName,v.require,x,$),b);o($,function(e){var t=e.instance;T(t.$postLink)&&t.$postLink()})}d=d||{};for(var v,m,g,$,b,x=-Number.MAX_VALUE,C=d.newScopeDirective,S=d.controllerDirectives,k=d.newIsolateScopeDirective,A=d.templateDirective,O=d.nonTlbTranscludeDirective,M=!1,N=!1,j=d.hasElementTranscludeDirective,P=i.$$element=di(n),V=u,L=a,I=!1,R=!1,U=0,_=t.length;U<_;U++){v=t[U];var F=v.$$start,z=v.$$end;if(F&&(P=te(n,F,z)),g=void 0,x>v.priority)break;if(b=v.scope,b&&(v.templateUrl||(w(b)?(me("new/isolated scope",k||C,v,P),k=v):me("new/isolated scope",k,v,P)),C=C||v),m=v.name,!I&&(v.replace&&(v.templateUrl||v.template)||v.transclude&&!v.$$tlb)){for(var W,G=U+1;W=t[G++];)if(W.transclude&&!W.$$tlb||W.replace&&(W.templateUrl||W.template)){R=!0;break}I=!0}if(!v.templateUrl&&v.controller&&(S=S||ye(),me("'"+m+"' controller",S[m],v,P),S[m]=v),b=v.transclude)if(M=!0,v.$$tlb||(me("transclusion",O,v,P),O=v),"element"===b)j=!0,x=v.priority,g=P,P=i.$$element=di(B.$$createComment(m,i[m])),n=P[0],Ee(s,Y(g),n),L=ie(R,g,a,x,V&&V.name,{nonTlbTranscludeDirective:O});else{var K=ye();if(w(b)){g=e.document.createDocumentFragment();var X=ye(),Q=ye();o(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,X[e]=t,K[t]=null,Q[t]=n}),o(P.contents(),function(t){var n=X[At(H(t))];n?(Q[n]=!0,K[n]=K[n]||e.document.createDocumentFragment(),K[n].appendChild(t)):g.appendChild(t)}),o(Q,function(e,t){if(!e)throw Eo("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ee in K)if(K[ee]){var oe=di(K[ee].childNodes);K[ee]=ie(R,oe,a)}g=di(g.childNodes)}else g=di(Le(n)).contents();P.empty(),L=ie(R,g,a,void 0,void 0,{needsNewScope:v.$$isolateScope||v.$$newScope}),L.$$slots=K}if(v.template)if(N=!0,me("template",A,v,P),A=v,b=T(v.template)?v.template(P,i):v.template,b=He(b),v.replace){if(V=v,g=Oe(b)?[]:Ot($e(v.templateNamespace,Di(b))),n=g[0],1!==g.length||n.nodeType!==Ui)throw Eo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");Ee(s,P,n);var ce={$attr:{}},le=Z(n,[],ce),pe=t.splice(U+1,t.length-(U+1));(k||C)&&ue(le,k,C),t=t.concat(le).concat(pe),fe(i,ce),_=t.length}else P.html(b);if(v.templateUrl)N=!0,me("template",A,v,P),A=v,v.replace&&(V=v),h=de(t.splice(U,t.length-U),P,i,s,M&&L,c,l,{controllerDirectives:S,newScopeDirective:C!==v&&C,newIsolateScopeDirective:k,templateDirective:A,nonTlbTranscludeDirective:O}),_=t.length;else if(v.compile)try{$=v.compile(P,i,L);var he=v.$$originalDirective||v;T($)?p(null,J(he,$),F,z):$&&p(J(he,$.pre),J(he,$.post),F,z)}catch(e){r(e,ne(P))}v.terminal&&(h.terminal=!0,x=Math.max(x,v.priority))}return h.scope=C&&!0===C.scope,h.transcludeOnThisElement=M,h.templateOnThisElement=N,h.transclude=L,d.hasElementTranscludeDirective=j,h}function ae(e,t,n,r){var i;if(C(t)){var a=t.match(S),s=t.substring(a[0].length),u=a[1]||a[3],c="?"===a[2];if("^^"===u?n=n.parent():(i=r&&r[s],i=i&&i.instance),!i){var l="$"+s+"Controller";i="^^"===u&&n[0]&&n[0].nodeType===Fi?null:u?n.inheritedData(l):n.data(l)}if(!i&&!c)throw Eo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(E(t)){i=[];for(var f=0,d=t.length;f<d;f++)i[f]=ae(e,t[f],n,r)}else w(t)&&(i={},o(t,function(t,o){i[o]=ae(e,t,n,r)}));return i||null}function se(e,t,n,r,i,o,a){var s=ye();for(var c in r){var l=r[c],f={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=l.controller;"@"===d&&(d=t[l.name]);var p=u(d,f,!0,l.controllerAs);s[l.name]=p,e.data("$"+l.name+"Controller",p.instance)}return s}function ue(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=h(e[r],{$$isolateScope:t,$$newScope:n})}function ce(e,n,r,o,a,s,u){if(n===a)return null;var c=null;if(l.hasOwnProperty(n))for(var f,p=t.get(n+d),v=0,m=p.length;v<m;v++)if(f=p[v],(y(o)||o>f.priority)&&-1!==f.restrict.indexOf(r)){if(s&&(f=h(f,{$$start:s,$$end:u})),!f.$$bindings){var g=f.$$bindings=i(f,f.name);w(g.isolateScope)&&(f.$$isolateBindings=g.isolateScope)}e.push(f),c=f}return c}function le(e){if(l.hasOwnProperty(e))for(var n,r=t.get(e+d),i=0,o=r.length;i<o;i++)if(n=r[i],n.multiElement)return!0;return!1}function fe(e,t){var n=t.$attr,r=e.$attr;o(e,function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r.length?r+=("style"===i?";":" ")+t[i]:r=t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(r[i]=n[i]))})}function de(e,t,n,i,s,u,c,l){var f,d,p=[],v=t[0],m=e.shift(),g=h(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),$=T(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,y=m.templateNamespace;return t.empty(),a($).then(function(r){var a,h,b,x;if(r=He(r),m.replace){if(b=Oe(r)?[]:Ot($e(y,Di(r))),a=b[0],1!==b.length||a.nodeType!==Ui)throw Eo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,$);h={$attr:{}},Ee(i,t,a);var C=Z(a,[],h);w(m.scope)&&ue(C,!0),e=C.concat(e),fe(n,h)}else a=v,t.html(r);for(e.unshift(g),f=oe(e,a,n,s,t,m,u,c,l),o(i,function(e,n){e===a&&(i[n]=t[0])}),d=K(t[0].childNodes,s);p.length;){var S=p.shift(),k=p.shift(),E=p.shift(),A=p.shift(),T=t[0];if(!S.$$destroyed){if(k!==v){var O=k.className;l.hasElementTranscludeDirective&&m.replace||(T=Le(a)),Ee(E,di(k),T),_(di(T),O)}x=f.transcludeOnThisElement?Q(S,f.transclude,A):A,f(d,S,T,i,x)}}p=null}).catch(function(e){A(e)&&r(e)}),function(e,t,n,r,i){var o=i;t.$$destroyed||(p?p.push(t,n,r,o):(f.transcludeOnThisElement&&(o=Q(t,f.transclude,i)),f(d,t,n,r,o)))}}function ve(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 me(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Eo("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,ne(r))}function ge(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&B.$$addBindingClass(t),function(e,t){var i=t.parent();n||B.$$addBindingClass(i),B.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}function $e(t,n){switch(t=yi(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function be(e,t){return"srcdoc"===t?g.HTML:"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(e)?g.RESOURCE_URL:g.MEDIA_URL:"xlinkHref"===t?"image"===e?g.MEDIA_URL:"a"===e?g.URL:g.RESOURCE_URL:"form"===e&&"action"===t||"base"===e&&"href"===t||"link"===e&&"href"===t?g.RESOURCE_URL:"a"!==e||"href"!==t&&"ngHref"!==t?void 0:g.URL}function we(e,t){var n=t.toLowerCase();return I[e+"|"+n]||I["*|"+n]}function xe(e){return R(g.valueOf(e),"ng-prop-srcset")}function Ce(e,t,n,r){if(k.test(r))throw Eo("nodomevents","Property bindings for HTML DOM event properties are disallowed");var i=H(e),o=we(i,r),a=m;"srcset"!==r||"img"!==i&&"source"!==i?o&&(a=g.getTrusted.bind(g,o)):a=xe,t.push({priority:100,compile:function(e,t){var i=s(t[n]),o=s(t[n],function(e){return g.valueOf(e)});return{pre:function(e,t){function n(){var n=i(e);t[0][r]=a(n)}n(),e.$watch(o,n)}}}})}function Se(e,t,n){e.push(ri(s,c,r,t,n,!1))}function ke(e,t,r,i,o){var a=H(e),s=be(a,i),u=!o,c=x[i]||o,l=n(r,u,s,c);if(l){if("multiple"===i&&"select"===a)throw Eo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ne(e));if(k.test(i))throw Eo("nodomevents","Interpolations for HTML DOM event attributes are disallowed");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var a=o.$$observers||(o.$$observers=ye()),u=o[i];u!==r&&(l=u&&n(u,!0,s,c),r=u),l&&(o[i]=l(e),(a[i]||(a[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(l,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function Ee(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===a){t[i++]=r;for(var c=i,l=c+s-1,f=t.length;c<f;c++,l++)l<f?t[c]=t[l]:delete t[c];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;i<s;i++)d.appendChild(n[i]);for(di.hasData(a)&&(di.data(r,di.data(a)),di(a).off("$destroy")),di.cleanData(d.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function Ae(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function Te(e,t,n,i,o,a){try{e(t,n,i,o,a)}catch(e){r(e,ne(n))}}function Me(e,t){if(N)throw Eo("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function De(e,t,r,i,a){function u(t,n,i){T(r.$onChanges)&&!z(n,i)&&(Ne||(e.$$postDigest(O),Ne=[]),l||(l={},Ne.push(c)),l[t]&&(i=l[t].previousValue),l[t]=new Et(i,n))}function c(){r.$onChanges(l),l=void 0}var l,f=[],d={};return o(i,function(i,o){var c,l,p,h,m,g=i.attrName,$=i.optional,y=i.mode;switch(y){case"@":$||$i.call(t,g)||(Me(g,a.name),r[o]=t[g]=void 0),m=t.$observe(g,function(e){if(C(e)||V(e)){var t=r[o];u(o,e,t),r[o]=e}}),t.$$observers[g].$$scope=e,c=t[g],C(c)?r[o]=n(c)(e):V(c)&&(r[o]=c),d[o]=new Et(Ao,r[o]),f.push(m);break;case"=":if(!$i.call(t,g)){if($)break;Me(g,a.name),t[g]=void 0}if($&&!t[g])break;l=s(t[g]),h=l.literal?W:z,p=l.assign||function(){throw c=r[o]=l(e),Eo("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[g],g,a.name)},c=r[o]=l(e);var b=function(t){return h(t,r[o])||(h(t,c)?p(e,t=r[o]):r[o]=t),c=t};b.$stateful=!0,m=i.collection?e.$watchCollection(t[g],b):e.$watch(s(t[g],b),null,l.literal),f.push(m);break;case"<":if(!$i.call(t,g)){if($)break;Me(g,a.name),t[g]=void 0}if($&&!t[g])break;l=s(t[g]);var w=l.literal,x=r[o]=l(e);d[o]=new Et(Ao,r[o]),m=e[i.collection?"$watchCollection":"$watch"](l,function(e,t){if(t===e){if(t===x||w&&W(t,x))return;t=x}u(o,e,t),r[o]=e}),f.push(m);break;case"&":if($||$i.call(t,g)||Me(g,a.name),(l=t.hasOwnProperty(g)?s(t[g]):v)===v&&$)break;r[o]=function(t){return l(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;e<t;++e)f[e]()}}}var Ne,je=/^\w/,Pe=e.document.createElement("div"),Ve=P,Ie=L,Re=j;q.prototype={$normalize:At,$addClass:function(e){e&&e.length>0&&b.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&b.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Tt(e,t);n&&n.length&&b.addClass(this.$$element,n);var r=Tt(t,e);r&&r.length&&b.removeClass(this.$$element,r)},$set:function(e,t,n,i){var a,s=this.$$element[0],u=et(s,e),c=tt(e),l=e;u?(this.$$element.prop(e,t),i=u):c&&(this[c]=t,l=c),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=pe(e,"-")),a=H(this.$$element),"img"===a&&"srcset"===e&&(this[e]=t=R(t,"$set('srcset', value)")),!1!==n&&(null===t||y(t)?this.$$element.removeAttr(i):je.test(i)?u&&!1===t?this.$$element.removeAttr(i):this.$$element.attr(i,t):U(this.$$element[0],i,t));var f=this.$$observers;f&&o(f[l],function(e){try{e(t)}catch(e){r(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ye()),i=r[e]||(r[e]=[]);return i.push(t),c.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){F(i,t)}}};var qe=n.startSymbol(),Ue=n.endSymbol(),He="{{"===qe&&"}}"===Ue?m:function(e){return e.replace(/\{\{/g,qe).replace(/}}/g,Ue)},_e=/^ng(Attr|Prop|On)([A-Z].*)$/,Fe=/^(.+)Start$/;return B.$$addBindingInfo=M?function(e,t){var n=e.data("$binding")||[];E(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:v,B.$$addBindingClass=M?function(e){_(e,"ng-binding")}:v,B.$$addScopeInfo=M?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:v,B.$$addScopeClass=M?function(e,t){_(e,t?"ng-isolate-scope":"ng-scope")}:v,B.$$createComment=function(t,n){var r="";return M&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},B}]}function Et(e,t){this.previousValue=e,this.currentValue=t}function At(e){return e.replace(To,"").replace(Oo,function(e,t,n){return n?t.toUpperCase():t})}function Tt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function Ot(e){e=di(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===_i||n.nodeType===Hi&&""===n.nodeValue.trim())&&xi.call(e,t,1)}return e}function Mt(e,t){if(t&&C(t))return t;if(C(e)){var n=Do.exec(e);if(n)return n[3]}}function Dt(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){me(t,"controller"),w(t)?f(e,t):e[t]=n},this.$get=["$injector",function(t){function n(e,t,n,i){if(!e||!w(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,i,o,a){var s,u,c,l;if(o=!0===o,a&&C(a)&&(l=a),C(r)){if(!(u=r.match(Do)))throw Mo("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(c=u[1],l=l||u[3],!(r=e.hasOwnProperty(c)?e[c]:ge(i.$scope,c,!0)))throw Mo("ctrlreg","The controller with the name '{0}' is not registered.",c);ve(r,c,!0)}if(o){var d=(E(r)?r[r.length-1]:r).prototype;return s=Object.create(d||null),l&&n(i,l,s,c||r.name),f(function(){var e=t.invoke(r,s,i,c);return e!==s&&(w(e)||T(e))&&(s=e,l&&n(i,l,s,c||r.name)),s},{instance:s,identifier:l})}return s=t.instantiate(r,i,c),l&&n(i,l,s,c||r.name),s}}]}function Nt(){this.$get=["$window",function(e){return di(e.document)}]}function jt(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function Pt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Vt(e){return w(e)?k(e)?e.toISOString():X(e):e}function Lt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||T(e)||(E(e)?o(e,function(e){t.push(se(n)+"="+se(Vt(e)))}):t.push(se(n)+"="+se(Vt(e))))}),t.join("&")}}}function It(){this.$get=function(){return function(e){function t(e,r,i){E(e)?o(e,function(e,n){t(e,r+"["+(w(e)?n:"")+"]")}):w(e)&&!k(e)?a(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):(T(e)&&(e=e()),n.push(se(r)+"="+(null==e?"":se(Vt(e)))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Rt(e,t){if(C(e)){var n=e.replace(Io,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf(jo);if(i||qt(n))try{e=Q(n)}catch(t){if(!i)return e;throw Ro("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}return e}function qt(e){var t=e.match(Vo);return t&&Lo[t[0]].test(e)}function Ut(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=ye();return C(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(yi(Di(e.substr(0,n))),Di(e.substr(n+1)))}):w(e)&&o(e,function(e,n){t(yi(n),Di(e))}),r}function Ht(e){var t;return function(n){if(t||(t=Ut(e)),n){var r=t[yi(n)];return void 0===r&&(r=null),r}return t}}function _t(e,t,n,r){return T(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Ft(e){return 200<=e&&e<300}function Bt(){var e=this.defaults={transformResponse:[Rt],transformRequest:[function(e){return!w(e)||N(e)||P(e)||j(e)?e:X(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:xe(Po),put:xe(Po),patch:xe(Po)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return b(e)?(t=!!e,this):t};var n=this.interceptors=[],i=this.xsrfWhitelistedOrigins=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(a,s,u,c,l,d,p,h){function m(t){function n(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function i(){a.$$completeOutstandingRequest(v,"$http")}function s(e,t){var n,r={};return o(e,function(e,i){T(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e}),r}function u(t){var n=t.headers,r=_t(t.data,Ht(n),void 0,t.transformRequest);return y(r)&&o(n,function(e,t){"content-type"===yi(t)&&delete n[t]}),y(t.withCredentials)&&!y(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,r).then(c,c)}function c(e){var t=f({},e);return t.data=_t(e.data,e.headers,e.status,l.transformResponse),Ft(e.status)?t:d.reject(t)}if(!w(t))throw r("$http")("badreq","Http request configuration must be an object.  Received: {0}",t);if(!C(h.valueOf(t.url)))throw r("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",t.url);var l=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},t);l.headers=function(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[yi(t.method)]);e:for(n in o){r=yi(n);for(i in a)if(yi(i)===r)continue e;a[n]=o[n]}return s(a,xe(t))}(t),l.method=bi(l.method),l.paramSerializer=C(l.paramSerializer)?p.get(l.paramSerializer):l.paramSerializer,a.$$incOutstandingRequestCount("$http");var m=[],$=[],b=d.resolve(l);return o(k,function(e){(e.request||e.requestError)&&m.unshift(e.request,e.requestError),(e.response||e.responseError)&&$.push(e.response,e.responseError)}),b=n(b,m),b=b.then(u),b=n(b,$),b=b.finally(i)}function g(n,r){function i(e){if(e){var n={};return o(e,function(e,r){n[r]=function(n){function r(){e(n)}t?l.$applyAsync(r):l.$$phase?r():l.$apply(r)}}),n}}function a(e,n,r,i,o){function a(){c(n,e,r,i,o)}v&&(Ft(e)?v.put(D,[e,n,Ut(r),i,o]):v.remove(D)),t?l.$applyAsync(a):(a(),l.$$phase||l.$apply())}function c(e,t,r,i,o){t=t>=-1?t:0,(Ft(t)?k.resolve:k.reject)({data:e,status:t,headers:Ht(r),config:n,statusText:i,xhrStatus:o})}function f(e){c(e.data,e.status,xe(e.headers()),e.statusText,e.xhrStatus)}function p(){var e=m.pendingRequests.indexOf(n);-1!==e&&m.pendingRequests.splice(e,1)}var v,g,k=d.defer(),T=k.promise,O=n.headers,M="jsonp"===yi(n.method),D=n.url;if(M?D=h.getTrustedResourceUrl(D):C(D)||(D=h.valueOf(D)),D=$(D,n.paramSerializer(n.params)),M&&(D=x(D,n.jsonpCallbackParam)),m.pendingRequests.push(n),T.then(p,p),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(v=w(n.cache)?n.cache:w(e.cache)?e.cache:S),v&&(g=v.get(D),b(g)?L(g)?g.then(f,f):E(g)?c(g[1],g[0],xe(g[2]),g[3],g[4]):c(g,200,{},"OK","complete"):v.put(D,T)),y(g)){var N=A(n.url)?u()[n.xsrfCookieName||e.xsrfCookieName]:void 0;N&&(O[n.xsrfHeaderName||e.xsrfHeaderName]=N),s(n.method,D,r,a,O,n.timeout,n.withCredentials,n.responseType,i(n.eventHandlers),i(n.uploadEventHandlers))}return T}function $(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function x(e,t){var n=e.split("?");if(n.length>2)throw Ro("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return o(ie(n[1]),function(n,r){if("JSON_CALLBACK"===n)throw Ro("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw Ro("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)}),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var S=c("$http");e.paramSerializer=C(e.paramSerializer)?p.get(e.paramSerializer):e.paramSerializer;var k=[];o(n,function(e){k.unshift(C(e)?p.get(e):p.invoke(e))});var A=er(i);return m.pendingRequests=[],function(e){o(arguments,function(e){m[e]=function(t,n){return m(f({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){o(arguments,function(e){m[e]=function(t,n,r){return m(f({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),m.defaults=e,m}]}function zt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Wt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Gt(e,r,e.defer,t,n[0])}]}function Gt(e,t,n,r,i){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}return function(i,s,u,c,l,f,d,p,h,v){function m(e){C="timeout"===e,w&&w(),x&&x.abort()}function g(e,t,r,i,o,a){b(A)&&n.cancel(A),w=x=null,e(t,r,i,o,a)}if(s=s||e.url(),"jsonp"===yi(i))var $=r.createCallback(s),w=a(s,$,function(e,t){var n=200===e&&r.getResponse($);g(c,e,n,"",t,"complete"),r.removeCallback($)});else{var x=t(i,s),C=!1;x.open(i,s,!0),o(l,function(e,t){b(e)&&x.setRequestHeader(t,e)}),x.onload=function(){var e=x.statusText||"",t="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=t?200:"file"===Xn(s).protocol?404:0),g(c,n,t,x.getAllResponseHeaders(),e,"complete")};var S=function(){g(c,-1,null,null,"","error")},k=function(){g(c,-1,null,null,"",C?"timeout":"abort")},E=function(){g(c,-1,null,null,"","timeout")};if(x.onerror=S,x.ontimeout=E,x.onabort=k,o(h,function(e,t){x.addEventListener(t,e)}),o(v,function(e,t){x.upload.addEventListener(t,e)}),d&&(x.withCredentials=!0),p)try{x.responseType=p}catch(e){if("json"!==p)throw e}x.send(y(u)?null:u)}if(f>0)var A=n(function(){m("timeout")},f);else L(f)&&f.then(function(){m(b(f.$$timeoutId)?"timeout":"abort")})}}function Yt(){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(e){return"\\\\\\"+e}function a(n){return n.replace(d,e).replace(p,t)}function s(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function u(o,u,d,p){function h(e){try{return e=d&&!v?i.getTrusted(d,e):i.valueOf(e),p&&!b(e)?e:be(e)}catch(e){r(qo.interr(o,e))}}var v=d===i.URL||d===i.MEDIA_URL;if(!o.length||-1===o.indexOf(e)){if(u)return;var m=a(o);v&&(m=i.getTrusted(d,m));var $=g(m);return $.exp=o,$.expressions=[],$.$$watchDelegate=s,$}p=!!p;for(var w,x,C,S,k,E=0,A=[],T=o.length,O=[],M=[];E<T;){if(-1===(w=o.indexOf(e,E))||-1===(x=o.indexOf(t,w+c))){E!==T&&O.push(a(o.substring(E)));break}E!==w&&O.push(a(o.substring(E,w))),S=o.substring(w+c,x),A.push(S),E=x+l,M.push(O.length),O.push("")}k=1===O.length&&1===M.length;var D=v&&k?void 0:h;if(C=A.map(function(e){return n(e,D)}),!u||A.length){var N=function(e){for(var t=0,n=A.length;t<n;t++){if(p&&y(e[t]))return;O[M[t]]=e[t]}return v?i.getTrusted(d,k?O[0]:O.join("")):(d&&O.length>1&&qo.throwNoconcat(o),O.join(""))};return f(function(e){var t=0,n=A.length,i=new Array(n);try{for(;t<n;t++)i[t]=C[t](e);return N(i)}catch(e){r(qo.interr(o,e))}},{exp:o,expressions:A,$$watchDelegate:function(e,t){var n;return e.$watchGroup(C,function(r,i){var o=N(r);t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,l=t.length,d=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return u.startSymbol=function(){return e},u.endSymbol=function(){return t},u}]}function Jt(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},r=function(e,r,i){var o=t.setInterval(e,r);return n[o]=i,o},i=function(e){t.clearInterval(e),delete n[e]},o=e(r,i);return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Uo("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(e.$$intervalId))return!1;var t=e.$$intervalId,r=n[t];return Ln(r.promise),r.reject("canceled"),i(t),!0},o}]}function Kt(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(i,o){return function(a,s,u,c){function l(){d?a.apply(null,p):a(h)}function f(){v?e.defer(l):r.$evalAsync(l),m.notify(h++),u>0&&h>=u&&(m.resolve(h),o(g.$$intervalId)),v||r.$apply()}var d=arguments.length>4,p=d?Y(arguments,4):[],h=0,v=b(c)&&!c,m=(v?n:t).defer(),g=m.promise;return u=b(u)?u:0,g.$$intervalId=i(f,s,m,v),g}}}]}function Xt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ae(t[n].replace(/%2F/g,"/"));return t.join("/")}function Qt(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}function Zt(e,t,n){var r=oe(t),i=n?"#"+ae(n):"";return Xt(e)+(r?"?"+r:"")+i}
function en(e,t){var n=Xn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=p(n.port)||Fo[n.protocol]||null}function tn(e,t,n){if(zo.test(e))throw Bo("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=Xn(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=Qt(o,n),t.$$search=ie(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function nn(e,t){return e.slice(0,t.length)===t}function rn(e,t){if(nn(t,e))return t.substr(e.length)}function on(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function an(e){return e.substr(0,on(e).lastIndexOf("/")+1)}function sn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function un(e,t,n){this.$$html5=!0,n=n||"",en(e,this),this.$$parse=function(e){var n=rn(t,e);if(!C(n))throw Bo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);tn(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(e){return t+e.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return b(o=rn(e,r))?(a=o,s=n&&b(o=rn(n,o))?t+(rn("/",o)||o):e+a):b(o=rn(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function cn(e,t,n){en(e,this),this.$$parse=function(r){var i,o=rn(e,r)||rn(t,r);y(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",y(o)&&(e=r,this.replace())):(i=rn(n,o),y(i)&&(i=o)),tn(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return nn(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}(this.$$path,i,e),this.$$compose()},this.$$normalizeUrl=function(t){return e+(t?n+t:"")},this.$$parseLinkUrl=function(t,n){return on(e)===on(t)&&(this.$$parse(t),!0)}}function ln(e,t,n){this.$$html5=!0,cn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===on(r)?o=r:(a=rn(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$normalizeUrl=function(t){return e+n+t}}function fn(e){return function(){return this[e]}}function dn(e,t){return function(n){return y(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function pn(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return b(t)?(e=t,this):e},this.html5Mode=function(e){return V(e)?(t.enabled=e,this):w(e)?(V(e.enabled)&&(t.enabled=e.enabled),V(e.requireBase)&&(t.requireBase=e.requireBase),(V(e.rewriteLinks)||C(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t){return e===t||Xn(e).href===Xn(t).href}function u(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(e){throw l.url(i),l.$$state=o,e}}function c(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,f,d,p=r.baseHref(),h=r.url();if(t.enabled){if(!p&&t.requireBase)throw Bo("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=sn(h)+(p||"/"),f=i.history?un:ln}else d=on(h),f=cn;var v=an(d);l=new f(d,v,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var a=di(e.target);"a"!==H(a[0]);)if(a[0]===o[0]||!(a=a.parent())[0])return;if(!C(i)||!y(a.attr(i))){var s=a.prop("href"),u=a.attr("href")||a.attr("xlink:href");w(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=Xn(s.animVal).href),m.test(s)||!s||a.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!==r.url()&&n.$apply())}}}),l.absUrl()!==h&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){if(!nn(e,v))return void(a.location.href=e);n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,u(i,!1,o)):(g=!1,c(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(g||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var e=r.url(),t=l.absUrl(),o=r.state(),a=l.$$replace,f=!s(e,t)||l.$$html5&&i.history&&o!==l.$$state;(g||f)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(f&&u(t,a,o===l.$$state?null:l.$$state),c(e,o)))}))}l.$$replace=!1}),l}]}function hn(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return A(e)&&(e.stack&&a?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||v;return function(){var e=[];return o(arguments,function(t){e.push(r(t))}),Function.prototype.apply.call(i,t,e)}}var a=fi||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);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 vn(e){return e+""}function mn(e,t){return void 0!==e?e:t}function gn(e,t){return void 0===e?t:void 0===t?e:e+t}function $n(e,t){return!e(t).$stateful}function yn(e,t){switch(e.type){case Qo.MemberExpression:if(e.computed)return!1;break;case Qo.UnaryExpression:return Zo;case Qo.BinaryExpression:return"+"!==e.operator&&Zo;case Qo.CallExpression:return!1}return void 0===t?ea:t}function bn(e,t,n){var r,i,a,s=e.isPure=yn(e,n);switch(e.type){case Qo.Program:r=!0,o(e.body,function(e){bn(e.expression,t,s),r=r&&e.expression.constant}),e.constant=r;break;case Qo.Literal:e.constant=!0,e.toWatch=[];break;case Qo.UnaryExpression:bn(e.argument,t,s),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Qo.BinaryExpression:bn(e.left,t,s),bn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Qo.LogicalExpression:bn(e.left,t,s),bn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Qo.ConditionalExpression:bn(e.test,t,s),bn(e.alternate,t,s),bn(e.consequent,t,s),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Qo.Identifier:e.constant=!1,e.toWatch=[e];break;case Qo.MemberExpression:bn(e.object,t,s),e.computed&&bn(e.property,t,s),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case Qo.CallExpression:a=!!e.filter&&$n(t,e.callee.name),r=a,i=[],o(e.arguments,function(e){bn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=a?i:[e];break;case Qo.AssignmentExpression:bn(e.left,t,s),bn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Qo.ArrayExpression:r=!0,i=[],o(e.elements,function(e){bn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case Qo.ObjectExpression:r=!0,i=[],o(e.properties,function(e){bn(e.value,t,s),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(bn(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case Qo.ThisExpression:case Qo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function wn(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function xn(e){return e.type===Qo.Identifier||e.type===Qo.MemberExpression}function Cn(e){if(1===e.body.length&&xn(e.body[0].expression))return{type:Qo.AssignmentExpression,left:e.body[0].expression,right:{type:Qo.NGValueParameter},operator:"="}}function Sn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Qo.Literal||e.body[0].expression.type===Qo.ArrayExpression||e.body[0].expression.type===Qo.ObjectExpression)}function kn(e){return e.constant}function En(e){this.$filter=e}function An(e){this.$filter=e}function Tn(e,t,n){this.ast=new Qo(e,n),this.astCompiler=n.csp?new An(t):new En(t)}function On(e){return T(e.valueOf)?e.valueOf():Yo.call(e)}function Mn(){var e,t,n=ye(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){r[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(i){function a(e,t){var r,o;switch(typeof e){case"string":if(e=e.trim(),o=e,!(r=n[o])){r=new Tn(new Xo(y),i,y).parse(e),n[o]=p(r)}return g(r,t);case"function":return g(e,t);default:return g(v,t)}}function s(e){return new Tn(new Xo(y),i,y).getAst(e).ast}function u(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=On(e))&&!n)&&(e===t||e!==e&&t!==t)}function c(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var s=u;return a=a[0],e.$watch(function(e){var t=a(e);return u(t,s,a.isPure)||(o=r(e,void 0,void 0,[t]),s=t&&On(t)),o},t,n,i)}for(var c=[],l=[],f=0,d=a.length;f<d;f++)c[f]=u,l[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;n<i;n++){var s=a[n](e);(t||(t=!u(s,c[n],a[n].isPure)))&&(l[n]=s,c[n]=s&&On(s))}return t&&(o=r(e,void 0,void 0,l)),o},t,n,i)}function l(e,t,n,r,i){function o(){c(u)&&s()}function a(e,t,n,r){return u=h&&r?r[0]:l(e,t,n,r),c(u)&&e.$$postDigest(o),d(u)}var s,u,c=r.literal?f:b,l=r.$$intercepted||r,d=r.$$interceptor||m,h=r.inputs&&!l.inputs;return a.literal=r.literal,a.constant=r.constant,a.inputs=r.inputs,p(a),s=e.$watch(a,t,n,i)}function f(e){var t=!0;return o(e,function(e){b(e)||(t=!1)}),t}function d(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function p(e){return e.constant?e.$$watchDelegate=d:e.oneTime?e.$$watchDelegate=l:e.inputs&&(e.$$watchDelegate=c),e}function h(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}function g(e,t){if(!t)return e;e.$$interceptor&&(t=h(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,i,o,a){var s=n&&a?a[0]:e(r,i,o,a);return t(s)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map(function(e){return e.isPure===ea?function(t){return e(t)}:e}))),p(r)}var $=ji().noUnsafeEval,y={csp:$,literals:B(r),isIdentifierStart:T(e)&&e,isIdentifierContinue:T(t)&&t};return a.$$getAst=s,a}]}function Dn(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return jn(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function Nn(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return jn(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function jn(e,t,n){function i(){return new a}function a(){var e=this.promise=new s;this.resolve=function(t){d(e,t)},this.reject=function(t){h(e,t)},this.notify=function(t){m(e,t)}}function s(){this.$$state={status:0}}function u(r){var i,o,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var s=0,u=a.length;s<u;++s){Vn(r),o=a[s][0],i=a[s][r.status];try{T(i)?d(o,i(r.value)):1===r.status?d(o,r.value):h(o,r.value)}catch(e){h(o,e),e&&!0===e.$$passToExceptionHandler&&t(e)}}}finally{--O,n&&0===O&&e(c)}}function c(){for(;!O&&M.length;){var e=M.shift();if(!Pn(e)){Vn(e);var n="Possibly unhandled rejection: "+Se(e.value);A(e.value)?t(e.value,n):t(n)}}}function l(t){!n||t.pending||2!==t.status||Pn(t)||(0===O&&0===M.length&&e(c),M.push(t)),!t.processScheduled&&t.pending&&(t.processScheduled=!0,++O,e(function(){u(t)}))}function d(e,t){e.$$state.status||(t===e?v(e,k("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):p(e,t))}function p(e,t){function n(t){a||(a=!0,p(e,t))}function r(t){a||(a=!0,v(e,t))}function i(t){m(e,t)}var o,a=!1;try{(w(t)||T(t))&&(o=t.then),T(o)?(e.$$state.status=-1,o.call(t,n,r,i)):(e.$$state.value=t,e.$$state.status=1,l(e.$$state))}catch(e){r(e)}}function h(e,t){e.$$state.status||v(e,t)}function v(e,t){e.$$state.value=t,e.$$state.status=2,l(e.$$state)}function m(n,r){var i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&e(function(){for(var e,n,o=0,a=i.length;o<a;o++){n=i[o][0],e=i[o][3];try{m(n,T(e)?e(r):r)}catch(e){t(e)}}})}function g(e){var t=new s;return h(t,e),t}function $(e,t,n){var r=null;try{T(n)&&(r=n())}catch(e){return g(e)}return L(r)?r.then(function(){return t(e)},g):t(e)}function b(e,t,n,r){var i=new s;return d(i,e),i.then(t,n,r)}function x(e){var t=new s,n=0,r=E(e)?[]:{};return o(e,function(e,i){n++,b(e).then(function(e){r[i]=e,--n||d(t,r)},function(e){h(t,e)})}),0===n&&d(t,r),t}function C(e){var t=i();return o(e,function(e){b(e).then(t.resolve,t.reject)}),t.promise}function S(e){function t(e){d(r,e)}function n(e){h(r,e)}if(!T(e))throw k("norslvr","Expected resolverFn, got '{0}'",e);var r=new s;return e(t,n),r}var k=r("$q",TypeError),O=0,M=[];f(s.prototype,{then:function(e,t,n){if(y(e)&&y(t)&&y(n))return this;var r=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&l(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return $(t,D,e)},function(t){return $(t,g,e)},t)}});var D=b;return S.prototype=s.prototype,S.defer=i,S.reject=g,S.when=b,S.resolve=D,S.all=x,S.race=C,S}function Pn(e){return!!e.pur}function Vn(e){e.pur=!0}function Ln(e){e.$$state&&Vn(e.$$state)}function In(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function Rn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=u(),this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,c,l){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===fi&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=u(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function h(e){if(S.$$phase)throw n("inprog","{0} already in progress",S.$$phase);S.$$phase=e}function m(){S.$$phase=null}function g(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function $(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function b(){}function x(){for(;A.length;)try{A.shift()()}catch(e){r(e)}s=null}function C(){null===s&&(s=l.defer(function(){S.$apply(x)},null,"$applyAsync"))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!==this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=c(e),o=T(t)?t:v;if(i.$$watchDelegate)return i.$$watchDelegate(this,o,n,i,e);var s=this,u=s.$$watchers,l={fn:o,last:b,get:i,exp:r||e,eq:!!n};return a=null,u||(u=s.$$watchers=[],u.$$digestWatchIndex=-1),u.unshift(l),u.$$digestWatchIndex++,g(this,1),function(){var e=F(u,l);e>=0&&(g(s,-1),e<u.$$digestWatchIndex&&u.$$digestWatchIndex--),a=null}},$watchGroup:function(e,t){function n(){u=!1;try{c?(c=!1,t(i,i,s)):t(i,r,s)}finally{for(var n=0;n<e.length;n++)r[n]=i[n]}}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,u=!1,c=!0;if(!e.length){var l=!0;return s.$evalAsync(function(){l&&t(i,i,s)}),function(){l=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var r=s.$watch(e,function(e){i[t]=e,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s;if(!y(o)){if(w(o))if(i(o)){a!==p&&(a=p,m=a.length=0,f++),t=o.length,m!==t&&(f++,a.length=m=t);for(var u=0;u<t;u++)s=a[u],r=o[u],s!==s&&r!==r||s===r||(f++,a[u]=r)}else{a!==h&&(a=h={},m=0,f++),t=0;for(n in o)$i.call(o,n)&&(t++,r=o[n],s=a[n],n in a?s!==s&&r!==r||s===r||(f++,a[n]=r):(m++,a[n]=r,f++));if(m>t){f++;for(n in a)$i.call(o,n)||(m--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function r(){if(v?(v=!1,t(o,o,u)):t(o,s,u),l)if(w(o))if(i(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var n in o)$i.call(o,n)&&(s[n]=o[n])}else s=o}n.$$pure=c(e).literal,n.$stateful=!n.$$pure;var o,a,s,u=this,l=t.length>1,f=0,d=c(e,n),p=[],h={},v=!0,m=0;return this.$watch(d,r)},$digest:function(){var e,i,o,u,c,f,d,p,v,g,$,y=t,w=k.length?S:this,C=[];h("$digest"),l.$$checkUrlChange(),this===S&&null!==s&&(l.defer.cancel(s),x()),a=null;do{d=!1,v=w;for(var A=0;A<k.length;A++){try{$=k[A],u=$.fn,u($.scope,$.locals)}catch(e){r(e)}a=null}k.length=0;e:do{if(f=!v.$$suspended&&v.$$watchers)for(f.$$digestWatchIndex=f.length;f.$$digestWatchIndex--;)try{if(e=f[f.$$digestWatchIndex])if(c=e.get,(i=c(v))===(o=e.last)||(e.eq?W(i,o):Oi(i)&&Oi(o))){if(e===a){d=!1;break e}}else d=!0,a=e,e.last=e.eq?B(i,null):i,u=e.fn,u(i,o===b?i:o,v),y<5&&(g=4-y,C[g]||(C[g]=[]),C[g].push({msg:T(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:i,oldVal:o}))}catch(e){r(e)}if(!(p=!v.$$suspended&&v.$$watchersCount&&v.$$childHead||v!==w&&v.$$nextSibling))for(;v!==w&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((d||k.length)&&!y--)throw m(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,C)}while(d||k.length);for(m();O<E.length;)try{E[O++]()}catch(e){r(e)}E.length=O=0,l.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===S&&l.$$applicationDestroyed(),g(this,-this.$$watchersCount);for(var t in this.$$listenerCount)$(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=v,this.$on=this.$watch=this.$watchGroup=function(){return v},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return c(e)(this,t)},$evalAsync:function(e,t){S.$$phase||k.length||l.defer(function(){k.length&&S.$digest()},null,"$evalAsync"),k.push({scope:this,fn:c(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{h("$apply");try{return this.$eval(e)}finally{m()}}catch(e){r(e)}finally{try{S.$digest()}catch(e){throw r(e),e}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&A.push(t),e=c(e),C()},$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(){var r=n.indexOf(t);-1!==r&&(delete n[r],$(i,1,e))}},$emit:function(e,t){var n,i,o,a=[],s=this,u=!1,c={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},l=G([c],arguments,1);do{for(n=s.$$listeners[e]||a,c.currentScope=s,i=0,o=n.length;i<o;i++)if(n[i])try{n[i].apply(null,l)}catch(e){r(e)}else n.splice(i,1),i--,o--;if(u)break;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,i=n,o=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,u,c,l=G([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,c=s.length;u<c;u++)if(s[u])try{s[u].apply(null,l)}catch(e){r(e)}else s.splice(u,1),u--,c--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==n&&i.$$nextSibling))for(;i!==n&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var S=new p,k=S.$$asyncQueue=[],E=S.$$postDigestQueue=[],A=S.$$applyAsyncQueue=[],O=0;return S}]}function qn(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=Xn(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}function Un(e){return e.replace(ia,Ae)}function Hn(e){if("self"===e)return e;if(C(e)){if(e.indexOf("***")>-1)throw na("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=Ni(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(O(e))return new RegExp("^"+e.source+"$");throw na("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function _n(e){var t=[];return b(e)&&o(e,function(e){t.push(Hn(e))}),t}function Fn(){this.SCE_CONTEXTS=ra;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=_n(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=_n(e)),t},this.$get=["$injector","$$sanitizeUri",function(n,r){function i(e,t){return"self"===e?Qn(t)||Zn(t):!!e.exec(t.href)}function o(n){var r,o,a=Xn(n.toString()),s=!1;for(r=0,o=e.length;r<o;r++)if(i(e[r],a)){s=!0;break}if(s)for(r=0,o=t.length;r<o;r++)if(i(t[r],a)){s=!1;break}return s}function a(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 s(e,t){var n=d.hasOwnProperty(e)?d[e]:null;if(!n)throw na("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||y(t)||""===t)return t;if("string"!=typeof t)throw na("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function u(e){return e instanceof f?e.$$unwrapTrustedValue():e}function c(e,t){if(null===t||y(t)||""===t)return t;var n=d.hasOwnProperty(e)?d[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(T(t.$$unwrapTrustedValue)&&(t=t.$$unwrapTrustedValue()),e===ra.MEDIA_URL||e===ra.URL)return r(t.toString(),e===ra.MEDIA_URL);if(e===ra.RESOURCE_URL){if(o(t))return t;throw na("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===ra.HTML)return l(t);throw na("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw na("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var f=a(),d={};return d[ra.HTML]=a(f),d[ra.CSS]=a(f),d[ra.MEDIA_URL]=a(f),d[ra.URL]=a(d[ra.MEDIA_URL]),d[ra.JS]=a(f),d[ra.RESOURCE_URL]=a(d[ra.URL]),{trustAs:s,getTrusted:c,valueOf:u}}]}function Bn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&fi<8)throw na("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 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 r=xe(ra);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=m),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(ra,function(e,t){var n=yi(t);r[Un("parse_as_"+n)]=function(t){return i(e,t)},r[Un("get_trusted_"+n)]=function(t){return a(e,t)},r[Un("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function zn(){this.$get=["$window","$document",function(e,t){var n={},r=e.nw&&e.nw.process,i=!r&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),o=!i&&e.history&&e.history.pushState,a=p((/android (\d+)/.exec(yi((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),u=t[0]||{},c=u.body&&u.body.style,l=!1,f=!1;return c&&(l=!!("transition"in c||"webkitTransition"in c),f=!!("animation"in c||"webkitAnimation"in c)),{history:!(!o||a<4||s),hasEvent:function(e){if("input"===e&&fi)return!1;if(y(n[e])){var t=u.createElement("div");n[e]="on"+e in t}return n[e]},csp:ji(),transitions:l,animations:f,android:a}}]}function Wn(){this.$get=g(function(e){return new Gn(e)})}function Gn(e){function t(t,o){o=o||f;try{t()}finally{n(o);var a=u[o],s=u[l];if(!s||!a)for(var c,d=s?i:r;c=d(o);)try{c()}catch(t){e.error(t)}}}function n(e){e=e||f,u[e]&&(u[e]--,u[l]--)}function r(){var e=c.pop();return e&&e.cb}function i(e){for(var t=c.length-1;t>=0;--t){var n=c[t];if(n.type===e)return c.splice(t,1),n.cb}}function o(e){e=e||f,u[e]=(u[e]||0)+1,u[l]=(u[l]||0)+1}function a(e,t){t=t||l,u[t]?c.push({type:t,cb:e}):e()}var s=this,u={},c=[],l=s.ALL_TASKS_TYPE="$$all$$",f=s.DEFAULT_TASK_TYPE="$$default$$";s.completeTask=t,s.incTaskCount=o,s.notifyWhenNoPendingTasks=a}function Yn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){function c(e){return u||(e=oa("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,C(s)&&!y(n.get(s))||(s=o.getTrustedResourceUrl(s));var l=r.defaults&&r.defaults.transformResponse;return E(l)?l=l.filter(function(e){return e!==Rt}):l===Rt&&(l=null),r.get(s,f({cache:n,transformResponse:l},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data)},c)}return a.totalPendingRequests=0,a}]}function Jn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=Ai.element(e).data("$binding");r&&o(r,function(r){if(n){new RegExp("(^|\\s)"+Ni(t)+"(\\s|\\||$)").test(r)&&i.push(e)}else-1!==r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},r.getLocation=function(){return n.url()},r.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},r.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},r}]}function Kn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){T(o)||(u=s,s=o,o=v);var c,l=Y(arguments,3),f=b(u)&&!u,d=(f?r:n).defer(),p=d.promise;return c=t.defer(function(){try{d.resolve(o.apply(null,l))}catch(e){d.reject(e),i(e)}finally{delete a[p.$$timeoutId]}f||e.$apply()},s,"$timeout"),p.$$timeoutId=c,a[c]=d,p}var a={};return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw aa("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!a.hasOwnProperty(e.$$timeoutId))return!1;var n=e.$$timeoutId,r=a[n];return Ln(r.promise),r.reject("canceled"),delete a[n],t.defer.cancel(n)},o}]}function Xn(e){if(!C(e))return e;var t=e;fi&&(sa.setAttribute("href",t),t=sa.href),sa.setAttribute("href",t);var n=sa.hostname;return!ca&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:sa.href,protocol:sa.protocol?sa.protocol.replace(/:$/,""):"",host:sa.host,search:sa.search?sa.search.replace(/^\?/,""):"",hash:sa.hash?sa.hash.replace(/^#/,""):"",hostname:n,port:sa.port,pathname:"/"===sa.pathname.charAt(0)?sa.pathname:"/"+sa.pathname}}function Qn(e){return tr(e,ua)}function Zn(e){return tr(e,nr())}function er(e){var t=[ua].concat(e.map(Xn));return function(e){var n=Xn(e);return t.some(tr.bind(null,n))}}function tr(e,t){return e=Xn(e),t=Xn(t),e.protocol===t.protocol&&e.host===t.host}function nr(){return e.document.baseURI?e.document.baseURI:(ta||(ta=e.document.createElement("a"),ta.href=".",ta=ta.cloneNode(!1)),ta.href)}function rr(){this.$get=g(e)}function ir(e){function t(e){try{return e.cookie||""}catch(e){return""}}function n(e){try{return decodeURIComponent(e)}catch(t){return e}}var r=e[0]||{},i={},o="";return function(){var e,a,s,u,c,l=t(r);if(l!==o)for(o=l,e=o.split("; "),i={},s=0;s<e.length;s++)a=e[s],(u=a.indexOf("="))>0&&(c=n(a.substring(0,u)),y(i[c])&&(i[c]=n(a.substring(u+1))));return i}}function or(){this.$get=ir}function ar(e){function t(r,i){if(w(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}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",fr),t("date",Er),t("filter",sr),t("json",Ar),t("limitTo",Tr),t("lowercase",ma),t("number",dr),t("orderBy",Mr),t("uppercase",ga)}function sr(){return function(e,t,n,o){if(!i(e)){if(null==e)return e;throw r("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=lr(t);switch(u){case"function":a=t;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=ur(t,n,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function ur(e,t,n,r){var i=w(e)&&n in e;return!0===t?t=W:T(t)||(t=function(e,t){return!y(e)&&(null===e||null===t?e===t:!(w(t)||w(e)&&!$(e))&&(e=yi(""+e),t=yi(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!w(o)?cr(o,e[n],t,n,!1):cr(o,e,t,n,r)}}function cr(e,t,n,r,i,o){var a=lr(e),s=lr(t);if("string"===s&&"!"===t.charAt(0))return!cr(e,t.substring(1),n,r,i);if(E(e))return e.some(function(e){return cr(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if(u.charAt&&"$"!==u.charAt(0)&&cr(e[u],t,n,r,!0))return!0;return!o&&cr(e,t,n,r,!1)}if("object"===s){for(u in t){var c=t[u];if(!T(c)&&!y(c)){var l=u===r;if(!cr(l?e:e[u],c,n,r,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function lr(e){return null===e?"null":typeof e}function fr(e){var t=e.NUMBER_FORMATS;return function(e,n,r){y(n)&&(n=t.CURRENCY_SYM),y(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:vr(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function dr(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:vr(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function pr(e){var t,n,r,i,o,a=0;for((n=e.indexOf(fa))>-1&&(e=e.replace(fa,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===da;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===da;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>la&&(t=t.splice(0,la-1),a=n-1,n=1),{d:t,e:a,i:n}}function hr(e,t,n,r){var i=e.d,o=i.length-e.i;t=y(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var c=1;c<a;c++)i[c]=0}if(s>=5)if(a-1<0){for(var l=0;l>a;l--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)}function vr(e,t,n,r,i){if(!C(e)&&!S(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",c="";if(a)c="∞";else{
o=pr(u),hr(o,i,t.minFrac,t.maxFrac);var l=o.d,f=o.i,d=o.e,p=[];for(s=l.reduce(function(e,t){return e&&!t},!0);f<0;)l.unshift(0),f++;f>0?p=l.splice(f,l.length):(p=l,l=[0]);var h=[];for(l.length>=t.lgSize&&h.unshift(l.splice(-t.lgSize,l.length).join(""));l.length>t.gSize;)h.unshift(l.splice(-t.gSize,l.length).join(""));l.length&&h.unshift(l.join("")),c=h.join(n),p.length&&(c+=r+p.join("")),d&&(c+="e+"+d)}return e<0&&!s?t.negPre+c+t.negSuf:t.posPre+c+t.posSuf}function mr(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=da+e;return n&&(e=e.substr(e.length-t)),i+e}function gr(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),mr(a,t,r,i)}}function $r(e,t,n){return function(r,i){var o=r["get"+e]();return i[bi((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function yr(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=mr(Math[r>0?"floor":"ceil"](r/60),2)+mr(Math.abs(r%60),2)}function br(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function wr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function xr(e){return function(t){var n=br(t.getFullYear()),r=wr(t),i=+r-+n;return mr(1+Math.round(i/6048e5),e)}}function Cr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Sr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function kr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function Er(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=p(t[9]+t[10]),o=p(t[9]+t[11])),a.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 s.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,i){var a,s,u="",c=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,C(n)&&(n=va.test(n)?p(n):t(n)),S(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;r;)s=ha.exec(r),s?(c=G(c,s,1),r=c.pop()):(c.push(r),r=null);var l=n.getTimezoneOffset();return i&&(l=Z(i,l),n=te(n,i,!0)),o(c,function(t){a=pa[t],u+=a?a(n,e.DATETIME_FORMATS,l):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function Ar(){return function(e,t){return y(t)&&(t=2),X(e,t)}}function Tr(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):p(t),Oi(t)?e:(S(e)&&(e=e.toString()),i(e)?(n=!n||isNaN(n)?0:p(n),n=n<0?Math.max(0,e.length+n):n,t>=0?Or(e,n,n+t):0===n?Or(e,t,e.length):Or(e,Math.max(0,n+t),n)):e)}}function Or(e,t,n){return C(e)?e.slice(t,n):wi.call(e,t,n)}function Mr(e){function t(t){return t.map(function(t){var n=1,r=m;if(T(t))r=t;else if(C(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return T(e.valueOf)&&(e=e.valueOf(),n(e))?e:($(e)&&(e=e.toString(),n(e)),e)}function a(e,t){var n=typeof e;return null===e?n="null":"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(w(o)&&(o=e.index),w(a)&&(a=t.index)),o!==a&&(n=o<a?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i?-1:r<i?-1:1;return n}return function(e,n,o,u){function c(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:f.map(function(n){return a(n.get(e),t)})}}function l(e,t){for(var n=0,r=f.length;n<r;n++){var i=p(e.predicateValues[n],t.predicateValues[n]);if(i)return i*f[n].descending*d}return(p(e.tieBreaker,t.tieBreaker)||s(e.tieBreaker,t.tieBreaker))*d}if(null==e)return e;if(!i(e))throw r("orderBy")("notarray","Expected array but received: {0}",e);E(n)||(n=[n]),0===n.length&&(n=["+"]);var f=t(n),d=o?-1:1,p=T(u)?u:s,h=Array.prototype.map.call(e,c);return h.sort(l),e=h.map(function(e){return e.value})}}function Dr(e){return T(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function Nr(e,t){e.$name=t}function jr(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=ba,this.$$element=e,this.$$animate=r,Pr(this)}function Pr(e){e.$$classCache={},e.$$classCache[is]=!(e.$$classCache[rs]=e.$$element.hasClass(rs))}function Vr(e){function t(e,t,n,r){e[t]||(e[t]={}),a(e[t],n,r)}function n(e,t,n,r){e[t]&&s(e[t],n,r),Lr(e[t])&&(e[t]=void 0)}function r(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function i(e,t,n){t=t?"-"+pe(t,"-"):"",r(e,rs+t,!0===n),r(e,is+t,!1===n)}var o=e.clazz,a=e.set,s=e.unset;o.prototype.$setValidity=function(e,o,u){y(o)?t(this,"$pending",e,u):n(this,"$pending",e,u),V(o)?o?(s(this.$error,e,u),a(this.$$success,e,u)):(a(this.$error,e,u),s(this.$$success,e,u)):(s(this.$error,e,u),s(this.$$success,e,u)),this.$pending?(r(this,wa,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,wa,!1),this.$valid=Lr(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var c;c=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),i(this,e,c),this.$$parentForm.$setValidity(e,c,this)}}function Lr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Ir(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Rr(e,t,n,r,i,o){qr(e,t,n,r,i,o),Ir(r)}function qr(e,t,n,r,i,o){var a=yi(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionupdate",function(e){(y(e.data)||""===e.data)&&(s=!1)}),t.on("compositionend",function(){s=!1,c()})}var u,c=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),c=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Di(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,c)}};if(i.hasEvent("input"))t.on("input",c);else{var l=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||c(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||l(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",l)}t.on("change",c),Va[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Pa,function(e){if(!u){var t=this[gi],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||c(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function Ur(e,t){if(k(e))return e;if(C(e)){Da.lastIndex=0;var n=Da.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,c=br(r),l=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,c.getDate()+l,o,a,s,u)}}return NaN}function Hr(e,t){return function(n,r){var i,a;if(k(n))return n;if(C(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ka.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n)){i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n<t.length&&(a[t[n]]=+e)});var s=new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0);return a.yyyy<100&&s.setFullYear(a.yyyy),s}}return NaN}}function _r(e,t,n,r){return function(i,o,a,s,u,c,l,f){function d(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function p(e){return b(e)&&!k(e)?h(e)||void 0:e}function h(e,t){var r=s.$options.getOption("timezone");g&&g!==r&&(t=ee(t,Z(g)));var i=n(e,t);return!isNaN(i)&&r&&(i=te(i,r)),i}function v(e,t){var n=r;$&&C(s.$options.getOption("timeSecondsFormat"))&&(n=r.replace("ss.sss",s.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var i=l("date")(e,n,t);return $&&s.$options.getOption("timeStripZeroSeconds")&&(i=i.replace(/(?::00)?(?:\.000)?$/,"")),i}Fr(i,o,a,s,e),qr(i,o,a,s,u,c);var m,g,$="time"===e||"datetimelocal"===e;if(s.$parsers.push(function(n){return s.$isEmpty(n)?null:t.test(n)?h(n,m):void(s.$$parserName=e)}),s.$formatters.push(function(e){if(e&&!k(e))throw ss("datefmt","Expected `{0}` to be a date",e);if(d(e)){m=e;var t=s.$options.getOption("timezone");return t&&(g=t,m=te(m,t,!0)),v(e,t)}return m=null,g=null,""}),b(a.min)||a.ngMin){var w=a.min||f(a.ngMin)(i),x=p(w);s.$validators.min=function(e){return!d(e)||y(x)||n(e)>=x},a.$observe("min",function(e){e!==w&&(x=p(e),w=e,s.$validate())})}if(b(a.max)||a.ngMax){var S=a.max||f(a.ngMax)(i),E=p(S);s.$validators.max=function(e){return!d(e)||y(E)||n(e)<=E},a.$observe("max",function(e){e!==S&&(E=p(e),S=e,s.$validate())})}}}function Fr(e,t,n,r,i){var o=t[0];(r.$$hasNativeValidators=w(o.validity))&&r.$parsers.push(function(e){var n=t.prop(gi)||{};return n.badInput||n.typeMismatch?void(r.$$parserName=i):e})}function Br(e){e.$parsers.push(function(t){return e.$isEmpty(t)?null:Ta.test(t)?parseFloat(t):void(e.$$parserName="number")}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!S(t))throw ss("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function zr(e){return b(e)&&!S(e)&&(e=parseFloat(e)),Oi(e)?void 0:e}function Wr(e){return(0|e)===e}function Gr(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function Yr(e,t,n){var r=Number(e),i=!Wr(r),o=!Wr(t),a=!Wr(n);if(i||o||a){var s=i?Gr(r):0,u=o?Gr(t):0,c=a?Gr(n):0,l=Math.max(s,u,c),f=Math.pow(10,l);r*=f,t*=f,n*=f,i&&(r=Math.round(r)),o&&(t=Math.round(t)),a&&(n=Math.round(n))}return(r-t)%n==0}function Jr(e,t,n,r,i,o,a,s){Fr(e,t,n,r,"number"),Br(r),qr(e,t,n,r,i,o);var u;if(b(n.min)||n.ngMin){var c=n.min||s(n.ngMin)(e);u=zr(c),r.$validators.min=function(e,t){return r.$isEmpty(t)||y(u)||t>=u},n.$observe("min",function(e){e!==c&&(u=zr(e),c=e,r.$validate())})}if(b(n.max)||n.ngMax){var l=n.max||s(n.ngMax)(e),f=zr(l);r.$validators.max=function(e,t){return r.$isEmpty(t)||y(f)||t<=f},n.$observe("max",function(e){e!==l&&(f=zr(e),l=e,r.$validate())})}if(b(n.step)||n.ngStep){var d=n.step||s(n.ngStep)(e),p=zr(d);r.$validators.step=function(e,t){return r.$isEmpty(t)||y(p)||Yr(t,u||0,p)},n.$observe("step",function(e){e!==d&&(p=zr(e),d=e,r.$validate())})}}function Kr(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]);var i=n[e];n.$observe(e,function(e){e!==i&&(i=e,r(e))})}function s(e){if(f=zr(e),!Oi(r.$modelValue))if(l){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function u(e){if(d=zr(e),!Oi(r.$modelValue))if(l){var n=t.val();d<n&&(t.val(d),n=d<f?f:d),r.$setViewValue(n)}else r.$validate()}function c(e){p=zr(e),Oi(r.$modelValue)||(l?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate())}Fr(e,t,n,r,"range"),Br(r),qr(e,t,n,r,i,o);var l=r.$$hasNativeValidators&&"range"===t[0].type,f=l?0:void 0,d=l?100:void 0,p=l?1:void 0,h=t[0].validity,v=b(n.min),m=b(n.max),g=b(n.step),$=r.$render;r.$render=l&&b(h.rangeUnderflow)&&b(h.rangeOverflow)?function(){$(),r.$setViewValue(t.val())}:$,v&&(f=zr(n.min),r.$validators.min=l?function(){return!0}:function(e,t){return r.$isEmpty(t)||y(f)||t>=f},a("min",s)),m&&(d=zr(n.max),r.$validators.max=l?function(){return!0}:function(e,t){return r.$isEmpty(t)||y(d)||t<=d},a("max",u)),g&&(p=zr(n.step),r.$validators.step=l?function(){return!h.stepMismatch}:function(e,t){return r.$isEmpty(t)||y(p)||Yr(t,f||0,p)},a("step",c))}function Xr(e,t,n,r,i,o){qr(e,t,n,r,i,o),Ir(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ea.test(n)}}function Qr(e,t,n,r,i,o){qr(e,t,n,r,i,o),Ir(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Aa.test(n)}}function Zr(e,t,n,r){var i=!n.ngTrim||"false"!==Di(n.ngTrim);y(n.name)&&t.attr("name",u());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=Di(o)),r.$setViewValue(o,e&&e.type))};t.on("change",o),r.$render=function(){var e=n.value;i&&(e=Di(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function ei(e,t,n,r,i){var o;if(b(r)){if(o=e(r),!o.constant)throw ss("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function ti(e,t,n,r,i,o,a,s){var u=ei(s,e,"ngTrueValue",n.ngTrueValue,!0),c=ei(s,e,"ngFalseValue",n.ngFalseValue,!1),l=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("change",l),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return W(e,u)}),r.$parsers.push(function(e){return e?u:c})}function ni(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function r(e){return e&&e.split(" ")}function i(e){if(!e)return e;var t=e;return E(e)?t=e.map(i).join(" "):w(e)?t=Object.keys(e).filter(function(t){return e[t]}).join(" "):C(e)||(t=e+""),t}e="ngClass"+e;var a;return["$parse",function(s){return{restrict:"AC",link:function(u,c,l){function f(e){e=h(r(e),1),l.$addClass(e)}function d(e){e=h(r(e),-1),l.$removeClass(e)}function p(e,t){var i=r(e),o=r(t),a=n(i,o),s=n(o,i),u=h(a,-1),c=h(s,1);l.$addClass(c),l.$removeClass(u)}function h(e,t){var n=[];return o(e,function(e){(t>0||$[e])&&($[e]=($[e]||0)+t,$[e]===+(t>0)&&n.push(e))}),n.join(" ")}function v(e){e===t?f(g):d(g),y=e}function m(e){y===t&&p(g,e),g=e}var g,$=c.data("$classCounts"),y=!0;$||($=ye(),c.data("$classCounts",$)),"ngClass"!==e&&(a||(a=s("$index",function(e){return 1&e})),u.$watch(a,v)),u.$watch(s(l[e],i),m)}}}]}function ri(e,t,n,r,i,o){return{restrict:"A",compile:function(a,s){var u=e(s[r]);return function(e,r){r.on(i,function(r){var i=function(){u(e,{$event:r})};if(t.$$phase)if(o)e.$evalAsync(i);else try{i()}catch(e){n(e)}else e.$apply(i)})}}}}function ii(e,t,n,r,i,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=ba,this.$options=us,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,Pr(this),oi(this)}function oi(e){e.$$scope.$watch(function(t){var n=e.$$ngModelGet(t);return n===e.$modelValue||e.$modelValue!==e.$modelValue&&n!==n||e.$$setModelValue(n),n})}function ai(e){this.$$options=e}function si(e,t){o(t,function(t,n){b(e[n])||(e[n]=t)})}function ui(e,t){e.prop("selected",t),e.attr("selected",t)}function ci(e,t,n){if(e){if(C(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,ne(n));return e}}function li(e){var t=p(e);return Oi(t)?-1:t}var fi,di,pi,hi,vi={objectMaxDepth:5,urlErrorParamsEnabled:!0},mi=/^\/(.+)\/([a-z]*)$/,gi="validity",$i=Object.prototype.hasOwnProperty,yi=function(e){return C(e)?e.toLowerCase():e},bi=function(e){return C(e)?e.toUpperCase():e},wi=[].slice,xi=[].splice,Ci=[].push,Si=Object.prototype.toString,ki=Object.getPrototypeOf,Ei=r("ng"),Ai=e.angular||(e.angular={}),Ti=0;fi=e.document.documentMode;var Oi=Number.isNaN||function(e){return e!==e};v.$inject=[],m.$inject=[];var Mi=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,Di=function(e){return C(e)?e.trim():e},Ni=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},ji=function(){if(!b(ji.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");ji.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else ji.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return ji.rules},Pi=function(){if(b(Pi.name_))return Pi.name_;var t,n,r,i,o=Li.length;for(n=0;n<o;++n)if(r=Li[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Pi.name_=i},Vi=/:/g,Li=["ng-","data-ng-","ng:","x-ng-"],Ii=function(t){var n=t.currentScript;if(!n)return!0;if(!(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every(function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}(e.document),Ri=/[A-Z]/g,qi=!1,Ui=1,Hi=3,_i=8,Fi=9,Bi=11,zi={full:"1.7.8",major:1,minor:7,dot:8,codeName:"enthusiastic-oblation"};Ve.expando="ng339";var Wi=Ve.cache={},Gi=1;Ve._data=function(e){return this.cache[e[this.expando]]||{}};var Yi=/-([a-z])/g,Ji=/^-ms-/,Ki={mouseleave:"mouseout",mouseenter:"mouseover"},Xi=r("jqLite"),Qi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Zi=/<|&#?\w+;/,eo=/<([\w:-]+)/,to=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,no={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,"",""]};no.optgroup=no.option,no.tbody=no.tfoot=no.colgroup=no.caption=no.thead,no.th=no.td;var ro=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},io=Ve.prototype={ready:Ze,toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return di(e>=0?this[e]:this[this.length+e])},length:0,push:Ci,sort:[].sort,splice:[].splice},oo={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){oo[yi(e)]=e});var ao={};o("input,select,option,textarea,button,form,details".split(","),function(e){ao[e]=!0});var so={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};o({data:Fe,removeData:He,hasData:De,cleanData:function(e){for(var t=0,n=e.length;t<n;t++)He(e[t]),Ue(e[t])}},function(e,t){Ve[t]=e}),o({data:Fe,inheritedData:Je,scope:function(e){return di.data(e,"$scope")||Je(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return di.data(e,"$isolateScope")||di.data(e,"$isolateScopeNoTemplate")},controller:Ye,injector:function(e){return Je(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Be,css:function(e,t,n){if(t=Ee(t),!b(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Hi&&2!==i&&i!==_i&&e.getAttribute){var o=yi(t),a=oo[o];if(!b(n))return r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)}},prop:function(e,t,n){if(!b(n))return e[t];e[t]=n},text:function(){function e(e,t){if(y(t)){var n=e.nodeType;return n===Ui||n===Hi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===H(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){if(y(t))return e.innerHTML;Ie(e,!0),e.innerHTML=t},empty:Ke},function(e,t){Ve.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Ke&&y(2===e.length&&e!==Be&&e!==Ye?t:n)){if(w(t)){for(r=0;r<o;r++)if(e===Fe)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=y(a)?Math.min(o,1):o,u=0;u<s;u++){var c=e(this[u],t,n);a=a?a+c:c}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),o({removeData:He,on:function(e,t,n,r){if(b(r))throw Xi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Me(e)){var i=_e(e,!0),o=i.events,a=i.handle;a||(a=i.handle=nt(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,c=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};u--;)t=s[u],Ki[t]?(c(Ki[t],it),c(t,void 0,!0)):c(t)}},off:Ue,one:function(e,t,n){e=di(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;Ie(e),o(new Ve(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){e.nodeType===Ui&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Ui||n===Bi){t=new Ve(t);for(var r=0,i=t.length;r<i;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===Ui){var n=e.firstChild;o(new Ve(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Pe(e,di(t).eq(0).clone()[0])},remove:Xe,detach:function(e){Xe(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new Ve(t);for(var i=0,o=t.length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:We,removeClass:ze,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!Be(e,t)),(r?We:ze)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Bi?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Le,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,u=_e(e),c=u&&u.events,l=c&&c[s];l&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:v,type:s,target:e},t.type&&(r=f(r,t)),i=xe(l),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Ve.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;o<a;o++)y(i)?(i=e(this[o],t,n,r),b(i)&&(i=di(i))):Ge(i,e(this[o],t,n,r));return b(i)?i:this}}),Ve.prototype.bind=Ve.prototype.on,Ve.prototype.unbind=Ve.prototype.off;var uo=Object.create(null);st.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return Oi(e)?uo:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},has:function(e){return e=this._transformKey(e),-1!==this._idx(e)},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var co=st,lo=[function(){this.$get=[function(){return co}]}],fo=/^([^(]+?)=>/,po=/^[^(]*\(\s*([^)]*)\)/m,ho=/,/,vo=/^\s*(_?)(\S+?)\1\s*$/,mo=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,go=r("$injector");dt.$$annotate=ft;var $o=r("$animate"),yo=1,bo=function(){this.$get=v},wo=function(){var e=new co,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=C(t)?t.split(" "):E(t)?t:[],o(t,function(t){t&&(r=!0,e[t]=n)})),r}function a(){o(t,function(t){var n=e.get(t);if(n){var r=mt(t.attr("class")),i="",a="";o(n,function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:a+=(a.length?" ":"")+t)}),o(t,function(e){i&&We(e,i),a&&ze(e,a)}),e.delete(t)}}),t.length=0}function s(n,o,s){var u=e.get(n)||{},c=i(u,o,!0),l=i(u,s,!1);(c||l)&&(e.set(n,u),t.push(n),1===t.length&&r.$$postDigest(a))}return{enabled:v,on:v,off:v,pin:v,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},xo=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw $o("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.customFilter=function(e){return 1===arguments.length&&(r=T(e)?e:null),r},this.classNameFilter=function(e){if(1===arguments.length&&(n=e instanceof RegExp?e:null)){if(new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]").test(n.toString()))throw n=null,$o("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=vt(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,r,i,o){return r=r&&di(r),i=i&&di(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",gt(o))},move:function(n,r,i,o){return r=r&&di(r),i=i&&di(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",gt(o))},leave:function(t,n){return e.push(t,"leave",gt(n),function(){t.remove()})},addClass:function(t,n,r){return r=gt(r),r.addClass=ht(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=gt(r),r.removeClass=ht(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=gt(i),i.addClass=ht(i.addClass,n),i.removeClass=ht(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=gt(o),o.from=o.from?f(o.from,n):n,o.to=o.to?f(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ht(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Co=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},So=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function a(e){this.setHost(e);var t=n(),o=function(e){i(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){r()?o(e):t(e)},this._state=0}return a.chain=function(e,t){function n(){if(r===e.length)return void t(!0);e[r](function(e){if(!1===e)return void t(!1);r++,n()})}var r=0;n()},a.all=function(e,t){function n(n){i=i&&n,++r===e.length&&t(i)}var r=0,i=!0;o(e,function(e){e.done(n)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:v,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){!1===t?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(o(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},a}]},ko=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||u.complete(),s=!0}),u}function o(){a.addClass&&(t.addClass(a.addClass),a.addClass=null),a.removeClass&&(t.removeClass(a.removeClass),a.removeClass=null),a.to&&(t.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=B(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(t.css(a.from),a.from=null);var s,u=new n;return{start:i,end:i}}}]},Eo=r("$compile"),Ao=new St;kt.$inject=["$provide","$$sanitizeUriProvider"],Et.prototype.isFirstChange=function(){return this.previousValue===Ao};var To=/^((?:x|data)[:\-_])/i,Oo=/[:\-_]+(.)/g,Mo=r("$controller"),Do=/^(\S+)(\s+as\s+([\w$]+))?$/,No=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof di&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},jo="application/json",Po={"Content-Type":jo+";charset=utf-8"},Vo=/^\[|^\{(?!\{)/,Lo={"[":/]$/,"{":/}$/},Io=/^\)]\}',?\n/,Ro=r("$http"),qo=Ai.$interpolateMinErr=r("$interpolate");qo.throwNoconcat=function(e){throw qo("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",e)},qo.interr=function(e,t){return qo("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Uo=r("$interval"),Ho=function(){this.$get=function(){function e(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}var t=Ai.callbacks,n={};return{createCallback:function(r){var i="_"+(t.$$counter++).toString(36),o="angular.callbacks."+i,a=e(i);return n[o]=t[i]=a,o},wasCalled:function(e){return n[e].called},getResponse:function(e){return n[e].data},removeCallback:function(e){var r=n[e];delete t[r.id],delete n[e]}}}},_o=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Fo={http:80,https:443,ftp:21},Bo=r("$location"),zo=/^\s*[\\/]{2,}/,Wo={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=Zt(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:fn("$$absUrl"),url:function(e){if(y(e))return this.$$url;var t=_o.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:fn("$$protocol"),host:fn("$$host"),port:fn("$$port"),path:dn("$$path",function(e){return e=null!==e?e.toString():"","/"===e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(C(e)||S(e))e=e.toString(),this.$$search=ie(e);else{if(!w(e))throw Bo("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=B(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:y(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:dn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([ln,cn,un],function(e){e.prototype=Object.create(Wo),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==un||!this.$$html5)throw Bo("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=y(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var Go=r("$parse"),Yo={}.constructor.prototype.valueOf,Jo=ye();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Jo[e]=!0});var Ko={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Xo=function(e){this.options=e};Xo.prototype={constructor:Xo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{
var n=t+this.peek(),r=n+this.peek(2),i=Jo[t],o=Jo[n],a=Jo[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Go("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=yi(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++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},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 a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{n+=Ko[o]||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var Qo=function(e,t){this.lexer=e,this.options=t};Qo.Program="Program",Qo.ExpressionStatement="ExpressionStatement",Qo.AssignmentExpression="AssignmentExpression",Qo.ConditionalExpression="ConditionalExpression",Qo.LogicalExpression="LogicalExpression",Qo.BinaryExpression="BinaryExpression",Qo.UnaryExpression="UnaryExpression",Qo.CallExpression="CallExpression",Qo.MemberExpression="MemberExpression",Qo.Identifier="Identifier",Qo.Literal="Literal",Qo.ArrayExpression="ArrayExpression",Qo.Property="Property",Qo.ObjectExpression="ObjectExpression",Qo.ThisExpression="ThisExpression",Qo.LocalsExpression="LocalsExpression",Qo.NGValueParameter="NGValueParameter",Qo.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Qo.Program,body:e}},expressionStatement:function(){return{type:Qo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!xn(e))throw Go("lval","Trying to assign a value to a non l-value");e={type:Qo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Qo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Qo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Qo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Qo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Qo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Qo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Qo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Qo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=B(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Qo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:Qo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Qo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Qo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Qo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Qo.Identifier,name:e.text}},constant:function(){return{type:Qo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Qo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Qo.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Qo.ObjectExpression,properties:t}},throwError:function(e,t){throw Go("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))},consume:function(e){if(0===this.tokens.length)throw Go("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw Go("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:Qo.ThisExpression},$locals:{type:Qo.LocalsExpression}}};var Zo=1,ea=2;En.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},bn(e,t.$filter);var n,r="";if(this.stage="assign",n=Cn(e)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var a=wn(e.body);t.stage="inputs",o(a,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push({name:r,isPure:e.isPure}),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(e);var s='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",u=new Function("$filter","getStringValue","ifDefined","plus",s)(this.$filter,vn,mn,gn);return this.state=this.stage=void 0,u},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(t,function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")}),t.length&&e.push("fn.inputs=["+t.map(function(e){return e.name}).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return o(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,i,a){var s,u,c,l,f,d=this;if(r=r||v,!a&&b(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));switch(e.type){case Qo.Program:o(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case Qo.Literal:l=this.escape(e.value),this.assign(t,l),r(t||l);break;case Qo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),l=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,l),r(l);break;case Qo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),l="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,l),r(l);break;case Qo.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),r(t);break;case Qo.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),r(t);break;case Qo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){i&&1!==i&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),r(t);break;case Qo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),i&&1!==i&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),l=d.computedMember(s,u),d.assign(t,l),n&&(n.computed=!0,n.name=u)):(i&&1!==i&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),l=d.nonComputedMember(s,e.property.name),d.assign(t,l),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),r(t)},!!i);break;case Qo.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),c=[],o(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),c.push(t)}),l=u+"("+c.join(",")+")",d.assign(t,l),r(t)):(u=d.nextId(),s={},c=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){o(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){c.push(e)})}),l=s.name?d.member(s.context,s.name,s.computed)+"("+c.join(",")+")":u+"("+c.join(",")+")",d.assign(t,l)},function(){d.assign(t,"undefined")}),r(t)}));break;case Qo.AssignmentExpression:u=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),l=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,l),r(t||l)})},1);break;case Qo.ArrayExpression:c=[],o(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){c.push(e)})}),l="["+c.join(",")+"]",this.assign(t,l),r(t||l);break;case Qo.ObjectExpression:c=[],f=!1,o(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),o(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===Qo.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(o(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){c.push(d.escape(t.key.type===Qo.Identifier?t.key.name:""+t.key.value)+":"+e)})}),l="{"+c.join(",")+"}",this.assign(t,l)),r(t||l);break;case Qo.ThisExpression:this.assign(t,"s"),r(t||"s");break;case Qo.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case Qo.NGValueParameter:this.assign(t,"v"),r(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(C(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(S(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw Go("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},An.prototype={compile:function(e){var t=this;bn(e,t.$filter);var n,r;(n=Cn(e))&&(r=this.recurse(n));var i,a=wn(e.body);a&&(i=[],o(a,function(e,n){var r=t.recurse(e);r.isPure=e.isPure,e.input=r,i.push(r),e.watchId=n}));var s=[];o(e.body,function(e){s.push(t.recurse(e.expression))});var u=0===e.body.length?v:1===e.body.length?s[0]:function(e,t){var n;return o(s,function(r){n=r(e,t)}),n};return r&&(u.assign=function(e,t,n){return r(e,n,t)}),i&&(u.inputs=i),u},recurse:function(e,t,n){var r,i,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Qo.Literal:return this.value(e.value,t);case Qo.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case Qo.BinaryExpression:case Qo.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case Qo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Qo.Identifier:return s.identifier(e.name,t,n);case Qo.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(i=e.property.name),e.computed&&(i=this.recurse(e.property)),e.computed?this.computedMember(r,i,t,n):this.nonComputedMember(r,i,t,n);case Qo.CallExpression:return a=[],o(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(e,n,r,o){for(var s=[],u=0;u<a.length;++u)s.push(a[u](e,n,r,o));var c=i.apply(void 0,s,o);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,r,o){var s,u=i(e,n,r,o);if(null!=u.value){for(var c=[],l=0;l<a.length;++l)c.push(a[l](e,n,r,o));s=u.value.apply(u.context,c)}return t?{value:s}:s};case Qo.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(e,n,o,a){var s=r(e,n,o,a),u=i(e,n,o,a);return s.context[s.name]=u,t?{value:u}:u};case Qo.ArrayExpression:return a=[],o(e.elements,function(e){a.push(s.recurse(e))}),function(e,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](e,n,r,i));return t?{value:o}:o};case Qo.ObjectExpression:return a=[],o(e.properties,function(e){e.computed?a.push({key:s.recurse(e.key),computed:!0,value:s.recurse(e.value)}):a.push({key:e.key.type===Qo.Identifier?e.key.name:""+e.key.value,computed:!1,value:s.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)a[s].computed?o[a[s].key(e,n,r,i)]=a[s].value(e,n,r,i):o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case Qo.ThisExpression:return function(e){return t?{value:e}:e};case Qo.LocalsExpression:return function(e,n){return t?{value:n}:n};case Qo.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=b(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=b(a)?-a:-0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),c=gn(s,u);return n?{value:c}:c}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),c=(b(s)?s:0)-(b(u)?u:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var u=s?s[e]:void 0;return t?{context:s,name:e,value:u}:u}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,c,l=e(i,o,a,s);return null!=l&&(u=t(i,o,a,s),u=vn(u),r&&1!==r&&l&&!l[u]&&(l[u]={}),c=l[u]),n?{context:l,name:u,value:c}:c}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s);r&&1!==r&&u&&null==u[t]&&(u[t]={});var c=null!=u?u[t]:void 0;return n?{context:u,name:t,value:c}:c}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},Tn.prototype={constructor:Tn,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=Sn(t.ast),n.constant=kn(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return e=e.trim(),":"===e.charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var ta,na=r("$sce"),ra={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},ia=/_([a-z])/g,oa=r("$templateRequest"),aa=r("$timeout"),sa=e.document.createElement("a"),ua=Xn(e.location.href);sa.href="http://[::1]";var ca="[::1]"===sa.hostname;ir.$inject=["$document"],ar.$inject=["$provide"];var la=22,fa=".",da="0";fr.$inject=["$locale"],dr.$inject=["$locale"];var pa={yyyy:gr("FullYear",4,0,!1,!0),yy:gr("FullYear",2,0,!0,!0),y:gr("FullYear",1,0,!1,!0),MMMM:$r("Month"),MMM:$r("Month",!0),MM:gr("Month",2,1),M:gr("Month",1,1),LLLL:$r("Month",!1,!0),dd:gr("Date",2),d:gr("Date",1),HH:gr("Hours",2),H:gr("Hours",1),hh:gr("Hours",2,-12),h:gr("Hours",1,-12),mm:gr("Minutes",2),m:gr("Minutes",1),ss:gr("Seconds",2),s:gr("Seconds",1),sss:gr("Milliseconds",3),EEEE:$r("Day"),EEE:$r("Day",!0),a:Cr,Z:yr,ww:xr(2),w:xr(1),G:Sr,GG:Sr,GGG:Sr,GGGG:kr},ha=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,va=/^-?\d+$/;Er.$inject=["$locale"];var ma=g(yi),ga=g(bi);Mr.$inject=["$parse"];var $a=g({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Si.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),ya={};o(oo,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=At("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),ya[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(so,function(e,t){ya[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(mi);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=At("ng-"+e);ya[t]=["$sce",function(n){return{priority:99,link:function(r,i,o){var a=e,s=e;"href"===e&&"[object SVGAnimatedString]"===Si.call(i.prop("href"))&&(s="xlinkHref",o.$attr[s]="xlink:href",a=null),o.$set(t,n.getTrustedMediaUrl(o[t])),o.$observe(t,function(t){if(!t)return void("href"===e&&o.$set(s,null));o.$set(s,t),fi&&a&&i.prop(a,o[s])})}}}]});var ba={$addControl:v,$getControls:g([]),$$renameControl:Nr,$removeControl:v,$setValidity:v,$setDirty:v,$setPristine:v,$setSubmitted:v,$$setSubmitted:v},wa="ng-pending";jr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],jr.prototype={$rollbackViewValue:function(){o(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){o(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){me(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return xe(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],o(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),o(this.$error,function(t,n){this.$setValidity(n,null,e)},this),o(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),F(this.$$controls,e),e.$$parentForm=ba},$setDirty:function(){this.$$animate.removeClass(this.$$element,os),this.$$animate.addClass(this.$$element,as),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,os,as+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,o(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){o(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==ba;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,o(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},Vr({clazz:jr,set:function(e,t,n){var r=e[t];if(r){-1===r.indexOf(n)&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(F(r,n),0===r.length&&delete e[t])}});var xa=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||v}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:jr,compile:function(n,i){n.addClass(os).addClass(rs);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",u)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var c=o?r(s.$name):v;o&&(c(e,s),i.$observe(o,function(t){s.$name!==t&&(c(e,void 0),s.$$parentForm.$$renameControl(s,t),(c=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),c(e,void 0),f(s,ba)})}}}}}]},Ca=xa(),Sa=xa(!0),ka=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ea=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Aa=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Ta=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Oa=/^(\d{4,})-(\d{2})-(\d{2})$/,Ma=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Da=/^(\d{4,})-W(\d\d)$/,Na=/^(\d{4,})-(\d\d)$/,ja=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Pa="keydown wheel mousedown",Va=ye();o("date,datetime-local,month,time,week".split(","),function(e){Va[e]=!0});var La={text:Rr,date:_r("date",Oa,Hr(Oa,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":_r("datetimelocal",Ma,Hr(Ma,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:_r("time",ja,Hr(ja,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:_r("week",Da,Ur,"yyyy-Www"),month:_r("month",Na,Hr(Na,["yyyy","MM"]),"yyyy-MM"),number:Jr,url:Xr,email:Qr,radio:Zr,range:Kr,checkbox:ti,hidden:v,button:v,submit:v,reset:v,file:v},Ia=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(La[yi(a.type)]||La.text)(i,o,a,s[0],t,e,n,r)}}}}],Ra=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(e){this.setAttribute("value",e)}};return{restrict:"E",priority:200,compile:function(t,n){if("hidden"===yi(n.type))return{pre:function(t,n,r,i){var o=n[0];o.parentNode&&o.parentNode.insertBefore(o,o.nextSibling),Object.defineProperty&&Object.defineProperty(o,"value",e)}}}}},qa=/^(true|false|\d+)$/,Ua=function(){function e(e,t,n){var r=b(n)?n:9===fi?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return qa.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},Ha=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=be(e)})}}}}],_a=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=y(e)?"":e})}}}}],Fa=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],Ba=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),za=ni("",!0),Wa=ni("Odd",0),Ga=ni("Even",1),Ya=Dr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Ja=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ka={},Xa={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=At("ng-"+e);Ka[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return ri(n,r,i,t,e,Xa[e])}]});var Qa=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=$e(s.clone),e.leave(c).done(function(e){!1!==e&&(c=null)}),s=null))})}}}],Za=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ai.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,c,l){var f,d,p,h=0,v=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).done(function(e){!1!==e&&(d=null)}),d=p,p=null)};r.$watch(o,function(o){var u=function(e){!1===e||!b(s)||s&&!r.$eval(s)||t()},d=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===h){var t=r.$new();c.template=e;var s=l(t,function(e){v(),n.enter(e,null,i).done(u)});f=t,p=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===h&&(v(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(v(),c.template=null)})}}}}],es=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){
if(Si.call(r[0]).match(/SVG/))return r.empty(),void t(Ne(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],ts=Dr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ns=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",a="false"!==n.ngTrim,s=a?Di(i):i,u=function(e){if(!y(e)){var t=[];return e&&o(e.split(s),function(e){e&&t.push(a?Di(e):e)}),t}};r.$parsers.push(u),r.$formatters.push(function(e){if(E(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},rs="ng-valid",is="ng-invalid",os="ng-pristine",as="ng-dirty",ss=r("ngModel");ii.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],ii.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return T(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){T(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw ss("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,ne(this.$$element))},$render:v,$isEmpty:function(e){return y(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,as),this.$$animate.addClass(this.$$element,os)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,os),this.$$animate.addClass(this.$$element,as),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!Oi(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function r(e,t){a===s.$$currentValidationRunId&&s.$setValidity(e,t)}function i(e){a===s.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var a=this.$$currentValidationRunId,s=this;return function(){var e=s.$$parserName;return y(s.$$parserValid)?(r(e,null),!0):(s.$$parserValid||(o(s.$validators,function(e,t){r(t,null)}),o(s.$asyncValidators,function(e,t){r(t,null)})),r(e,s.$$parserValid),s.$$parserValid)}()&&function(){var n=!0;return o(s.$validators,function(i,o){var a=Boolean(i(e,t));n=n&&a,r(o,a)}),!!n||(o(s.$asyncValidators,function(e,t){r(t,null)}),!1)}()?void function(){var n=[],a=!0;o(s.$asyncValidators,function(i,o){var s=i(e,t);if(!L(s))throw ss("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);r(o,void 0),n.push(s.then(function(){r(o,!0)},function(){a=!1,r(o,!1)}))}),n.length?s.$$q.all(n).then(function(){i(a)},v):i(!0)}():void i(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){r.$modelValue!==o&&r.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,r=this;if(this.$$parserValid=!y(n)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var i=0;i<this.$parsers.length;i++)if(n=this.$parsers[i](n),y(n)){this.$$parserValid=!1;break}Oi(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var o=this.$modelValue,a=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,a&&(this.$modelValue=n,e()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(t){a||(r.$modelValue=t?n:void 0,e())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),o(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");S(t[e])?t=t[e]:S(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:S(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,v))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},Vr({clazz:ii,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var us,cs=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:ii,priority:1,compile:function(t){return t.addClass(os).addClass("ng-untouched").addClass(rs),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$$setUpdateOnEvents(),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}],ls=/(\s+|^)default(\s+|$)/;ai.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=f({},e),o(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=Di(n.replace(ls,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],si(e,this.$$options)),si(e,us.$$options),new ai(e)}},us=new ai({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var fs=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:us,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},ds=Dr({terminal:!0,priority:1e3}),ps=r("ngOptions"),hs=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\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]+?))?$/,vs=["$compile","$document","$parse",function(t,n,r){function a(e,t,n){function o(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!c&&i(e))t=e;else{t=[];for(var n in e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n)}return t}var s=e.match(hs);if(!s)throw ps("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,ne(t));var u=s[5]||s[7],c=s[6],l=/ as /.test(s[0])&&s[1],f=s[9],d=r(s[2]?s[1]:u),p=l&&r(l),h=p||d,v=f&&r(f),m=f?function(e,t){return v(n,t)}:function(e){return at(e)},g=function(e,t){return m(e,C(e,t))},$=r(s[2]||s[1]),y=r(s[3]||""),b=r(s[4]||""),w=r(s[8]),x={},C=c?function(e,t){return x[c]=t,x[u]=e,x}:function(e){return x[u]=e,x};return{trackBy:f,getTrackByValue:g,getWatchables:r(w,function(e){var t=[];e=e||[];for(var r=a(e),i=r.length,o=0;o<i;o++){var u=e===r?o:r[o],c=e[u],l=C(c,u),f=m(c,l);if(t.push(f),s[2]||s[1]){var d=$(n,l);t.push(d)}if(s[4]){var p=b(n,l);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},r=w(n)||[],i=a(r),s=i.length,u=0;u<s;u++){var c=r===i?u:i[u],l=r[c],d=C(l,c),p=h(n,d),v=m(p,d),x=$(n,d),S=y(n,d),k=b(n,d),E=new o(v,p,x,S,k);e.push(E),t[v]=E}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[g(e)]},getViewValueFromOption:function(e){return f?B(e.viewValue):e.viewValue}}}}}function s(e,r,i,s){function l(e,t){var n=u.cloneNode(!1);t.appendChild(n),d(e,n)}function f(e){var t=x.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}function d(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}function p(){var e=x&&h.readValue();if(x)for(var t=x.items.length-1;t>=0;t--){var n=x.items[t];Xe(b(n.group)?n.element.parentNode:n.element)}x=C.getOptions();var i={};if(x.items.forEach(function(e){var t;b(e.group)?(t=i[e.group],t||(t=c.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),l(e,t)):l(e,S)}),r[0].appendChild(S),v.$render(),!v.$isEmpty(e)){var o=h.readValue();(C.trackBy||m?W(e,o):e===o)||(v.$setViewValue(o),v.$render())}}for(var h=s[0],v=s[1],m=i.multiple,g=0,$=r.children(),y=$.length;g<y;g++)if(""===$[g].value){h.hasEmptyOption=!0,h.emptyOption=$.eq(g);break}r.empty();var w=!!h.emptyOption;di(u.cloneNode(!1)).val("?");var x,C=a(i.ngOptions,r,e),S=n[0].createDocumentFragment();h.generateUnknownOptionValue=function(e){return"?"},m?(h.writeValue=function(e){if(x){var t=e&&e.map(f)||[];x.items.forEach(function(e){e.element.selected&&!_(t,e)&&(e.element.selected=!1)})}},h.readValue=function(){var e=r.val()||[],t=[];return o(e,function(e){var n=x.selectValueMap[e];n&&!n.disabled&&t.push(x.getViewValueFromOption(n))}),t},C.trackBy&&e.$watchCollection(function(){if(E(v.$viewValue))return v.$viewValue.map(function(e){return C.getTrackByValue(e)})},function(){v.$render()})):(h.writeValue=function(e){if(x){var t=r[0].options[r[0].selectedIndex],n=x.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(r[0].value!==n.selectValue&&(h.removeUnknownOption(),r[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):h.selectUnknownOrEmptyOption(e)}},h.readValue=function(){var e=x.selectValueMap[r.val()];return e&&!e.disabled?(h.unselectEmptyOption(),h.removeUnknownOption(),x.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(v.$viewValue)},function(){v.$render()})),w&&(t(h.emptyOption)(e),r.prepend(h.emptyOption),h.emptyOption[0].nodeType===_i?(h.hasEmptyOption=!1,h.registerOption=function(e,t){""===t.val()&&(h.hasEmptyOption=!0,h.emptyOption=t,h.emptyOption.removeClass("ng-scope"),v.$render(),t.on("$destroy",function(){var e=h.$isEmptyOptionSelected();h.hasEmptyOption=!1,h.emptyOption=void 0,e&&v.$render()}))}):h.emptyOption.removeClass("ng-scope")),e.$watchCollection(C.getWatchables,p)}var u=e.document.createElement("option"),c=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=v},post:s}}}],ms=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function c(e){s.text(e||"")}var l,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,h=a.$eval(d)||{},m={},g=t.startSymbol(),$=t.endSymbol(),b=g+f+"-"+p+$,w=Ai.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+yi(n[2]);h[r]=s.attr(u.$attr[t])}}),o(h,function(e,n){m[n]=t(e.replace(r,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=Oi(r);if(i||r in h||(r=e.pluralCat(r-p)),!(r===l||i&&Oi(l))){w();var o=m[r];y(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=v,c()):w=a.$watch(o,c),l=r}})}}}],gs=r("ngRef"),$s=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=At(H(t)),i=e(n.ngRef),o=i.assign||function(){throw gs("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(e,t,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=t;else if(!(s=t.data("$"+a.ngRefRead+"Controller")))throw gs("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',a.ngRefRead,n.ngRef)}else s=t.data("$"+r+"Controller");s=s||t,o(e,s),t.on("$destroy",function(){i(e)===s&&o(e,null)})}}}}],ys=["$parse","$animate","$compile",function(e,t,n){var a=r("ngRepeat"),s=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},u=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]},l=function(e,t,n){return at(n)},f=function(e,t){return t};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,d){var p=d.ngRepeat,h=n.$$createComment("end ngRepeat",p),v=p.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!v)throw a("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);var m=v[1],g=v[2],$=v[3],y=v[4];if(!(v=m.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw a("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var b=v[3]||v[1],w=v[2];if($&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test($)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test($)))throw a("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",$);var x;if(y){var C={$id:at},S=e(y);x=function(e,t,n,r){return w&&(C[w]=t),C[b]=n,C.$index=r,S(e,C)}}return function(e,n,r,d,v){var m=ye();e.$watchCollection(g,function(r){var d,g,y,S,k,E,A,T,O,M,D,N,j=n[0],P=ye();if($&&(e[$]=r),i(r))O=r,T=x||l;else{T=x||f,O=[];for(var V in r)$i.call(r,V)&&"$"!==V.charAt(0)&&O.push(V)}for(S=O.length,D=new Array(S),d=0;d<S;d++)if(k=r===O?d:O[d],E=r[k],A=T(e,k,E,d),m[A])M=m[A],delete m[A],P[A]=M,D[d]=M;else{if(P[A])throw o(D,function(e){e&&e.scope&&(m[e.id]=e)}),a("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,A,E);D[d]={id:A,scope:void 0,clone:void 0},P[A]=!0}C&&(C[b]=void 0);for(var L in m){if(M=m[L],N=$e(M.clone),t.leave(N),N[0].parentNode)for(d=0,g=N.length;d<g;d++)N[d].$$NG_REMOVED=!0;M.scope.$destroy()}for(d=0;d<S;d++)if(k=r===O?d:O[d],E=r[k],M=D[d],M.scope){y=j;do{y=y.nextSibling}while(y&&y.$$NG_REMOVED);u(M)!==y&&t.move($e(M.clone),null,j),j=c(M),s(M.scope,d,b,E,w,k,S)}else v(function(e,n){M.scope=n;var r=h.cloneNode(!1);e[e.length++]=r,t.enter(e,null,j),j=r,M.clone=e,P[M.id]=M,s(M.scope,d,b,E,w,k,S)});m=P})}}}}],bs=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],ws=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],xs=Dr(function(e,t,n){e.$watchCollection(n.ngStyle,function(e,n){n&&e!==n&&(e||(e={}),o(n,function(t,n){null==e[n]&&(e[n]="")})),e&&t.css(e)})}),Cs=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,u=[],c=[],l=[],f=[],d=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(s,function(n){for(var r,i;l.length;)e.cancel(l.pop());for(r=0,i=f.length;r<i;++r){var s=$e(c[r].clone);f[r].$destroy();(l[r]=e.leave(s)).done(d(l,r))}c.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&o(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};c.push(a),e.enter(r,o.parent(),o)})})})}}}],Ss=Dr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){o(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})})}}),ks=Dr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Es=r("ngTransclude"),As=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){function a(e,n){e.length&&u(e)?t.append(e):(s(),n.$destroy())}function s(){n(e,function(e){t.append(e)})}function u(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Hi||r.nodeValue.trim())return!0}}if(!o)throw Es("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ne(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var c=r.ngTransclude||r.ngTranscludeSlot;o(a,null,c),c&&!o.isSlotFilled(c)&&s()}}}}],Ts=["$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)}}}}],Os={$setViewValue:v,$render:v},Ms=["$element","$scope",function(t,n){function r(){s||(s=!0,n.$$postDigest(function(){s=!1,o.ngModelCtrl.$render()}))}function i(e){u||(u=!0,n.$$postDigest(function(){n.$$destroyed||(u=!1,o.ngModelCtrl.$setViewValue(o.readValue()),e&&o.ngModelCtrl.$render())}))}var o=this,a=new co;o.selectValueMap={},o.ngModelCtrl=Os,o.multiple=!1,o.unknownOption=di(e.document.createElement("option")),o.hasEmptyOption=!1,o.emptyOption=void 0,o.renderUnknownOption=function(e){var n=o.generateUnknownOptionValue(e);o.unknownOption.val(n),t.prepend(o.unknownOption),ui(o.unknownOption,!0),t.val(n)},o.updateUnknownOption=function(e){var n=o.generateUnknownOptionValue(e);o.unknownOption.val(n),ui(o.unknownOption,!0),t.val(n)},o.generateUnknownOptionValue=function(e){return"? "+at(e)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(t.val(""),ui(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&ui(o.emptyOption,!1)},n.$on("$destroy",function(){o.renderUnknownOption=v}),o.readValue=function(){var e=t.val(),n=e in o.selectValueMap?o.selectValueMap[e]:e;return o.hasOption(n)?n:null},o.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&ui(di(n),!1),o.hasOption(e)){o.removeUnknownOption();var r=at(e);t.val(r in o.selectValueMap?r:e);var i=t[0].options[t[0].selectedIndex];ui(di(i),!0)}else o.selectUnknownOrEmptyOption(e)},o.addOption=function(e,t){if(t[0].nodeType!==_i){me(e,'"option value"'),""===e&&(o.hasEmptyOption=!0,o.emptyOption=t);var n=a.get(e)||0;a.set(e,n+1),r()}},o.removeOption=function(e){var t=a.get(e);t&&(1===t?(a.delete(e),""===e&&(o.hasEmptyOption=!1,o.emptyOption=void 0)):a.set(e,t-1))},o.hasOption=function(e){return!!a.get(e)},o.$hasEmptyOption=function(){return o.hasEmptyOption},o.$isUnknownOptionSelected=function(){return t[0].options[0]===o.unknownOption[0]},o.$isEmptyOptionSelected=function(){return o.hasEmptyOption&&t[0].options[t[0].selectedIndex]===o.emptyOption[0]},o.selectUnknownOrEmptyOption=function(e){null==e&&o.emptyOption?(o.removeUnknownOption(),o.selectEmptyOption()):o.unknownOption.parent().length?o.updateUnknownOption(e):o.renderUnknownOption(e)};var s=!1,u=!1;o.registerOption=function(e,t,n,a,s){if(n.$attr.ngValue){var u,c;n.$observe("value",function(e){var n,r=t.prop("selected");b(c)&&(o.removeOption(u),delete o.selectValueMap[c],n=!0),c=at(e),u=e,o.selectValueMap[c]=e,o.addOption(e,t),t.attr("value",c),n&&r&&i()})}else a?n.$observe("value",function(e){o.readValue();var n,r=t.prop("selected");b(u)&&(o.removeOption(u),n=!0),u=e,o.addOption(e,t),n&&r&&i()}):s?e.$watch(s,function(e,r){n.$set("value",e);var a=t.prop("selected");r!==e&&o.removeOption(r),o.addOption(e,t),r&&a&&i()}):o.addOption(n.value,t);n.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(o.multiple?i(!0):(o.ngModelCtrl.$setViewValue(null),o.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=o.readValue(),t=n.value;o.removeOption(t),r(),(o.multiple&&e&&-1!==e.indexOf(t)||e===t)&&i(!0)})}}],Ds=function(){function e(e,t,n,r){var i=r[0],a=r[1];if(!a)return void(i.registerOption=v);if(i.ngModelCtrl=a,t.on("change",function(){i.removeUnknownOption(),e.$apply(function(){a.$setViewValue(i.readValue())})}),n.multiple){i.multiple=!0,i.readValue=function(){var e=[];return o(t.find("option"),function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in i.selectValueMap?i.selectValueMap[n]:n)}}),e},i.writeValue=function(e){o(t.find("option"),function(t){var n=!!e&&(_(e,t.value)||_(e,i.selectValueMap[t.value]));n!==t.selected&&ui(di(t),n)})};var s,u=NaN;e.$watch(function(){u!==a.$viewValue||W(s,a.$viewValue)||(s=xe(a.$viewValue),a.$render()),u=a.$viewValue}),a.$isEmpty=function(e){return!e||0===e.length}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ms,priority:1,link:{pre:e,post:t}}},Ns=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return b(n.ngValue)||(b(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.registerOption(e,t,n,r,i)}}}}],js=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.hasOwnProperty("required")||e(r.ngRequired)(t);r.ngRequired||(r.required=!0),i.$validators.required=function(e,t){return!o||!i.$isEmpty(t)},r.$observe("required",function(e){o!==e&&(o=e,i.$validate())})}}}}],Ps=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var r,i;return n.ngPattern&&(r=n.ngPattern,i="/"===n.ngPattern.charAt(0)&&mi.test(n.ngPattern)?function(){return n.ngPattern}:e(n.ngPattern)),function(e,t,n,o){if(o){var a=n.pattern;n.ngPattern?a=i(e):r=n.pattern;var s=ci(a,r,t);n.$observe("pattern",function(e){var n=s;s=ci(e,r,t),(n&&n.toString())!==(s&&s.toString())&&o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(s)||s.test(t)}}}}}}],Vs=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.maxlength||e(r.ngMaxlength)(t),a=li(o);r.$observe("maxlength",function(e){o!==e&&(a=li(e),o=e,i.$validate())}),i.$validators.maxlength=function(e,t){return a<0||i.$isEmpty(t)||t.length<=a}}}}}],Ls=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.minlength||e(r.ngMinlength)(t),a=li(o)||-1;r.$observe("minlength",function(e){o!==e&&(a=li(e)||-1,o=e,i.$validate())}),i.$validators.minlength=function(e,t){return i.$isEmpty(t)||t.length>=a}}}}}];if(e.angular.bootstrap)return void(e.console&&console.log("WARNING: Tried to load AngularJS more than once."));!function(){var t;if(!qi){var n=Pi();pi=y(n)?e.jQuery:n?e[n]:void 0,pi&&pi.fn.on?(di=pi,f(pi.fn,{scope:io.scope,isolateScope:io.isolateScope,controller:io.controller,injector:io.injector,inheritedData:io.inheritedData})):di=Ve,t=di.cleanData,di.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=(di._data(r)||{}).events)&&n.$destroy&&di(r).triggerHandler("$destroy");t(e)},Ai.element=di,qi=!0}}(),function(n){f(n,{errorHandlingConfig:t,bootstrap:le,copy:B,extend:f,merge:d,equals:W,element:di,forEach:o,injector:dt,noop:v,bind:J,toJson:X,fromJson:Q,identity:m,isUndefined:y,isDefined:b,isString:C,isFunction:T,isObject:w,isNumber:S,isElement:q,isArray:E,version:zi,isDate:k,callbacks:{$$counter:0},getTestability:de,reloadWithDebugInfo:fe,$$minErr:r,$$csp:ji,$$encodeUriSegment:ae,$$encodeUriQuery:se,$$lowercase:yi,$$stringify:be,$$uppercase:bi}),hi=we(e),hi("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:qn}),e.provider("$compile",kt).directive({a:$a,input:Ia,textarea:Ia,form:Ca,script:Ts,select:Ds,option:Ns,ngBind:Ha,ngBindHtml:Fa,ngBindTemplate:_a,ngClass:za,ngClassEven:Ga,ngClassOdd:Wa,ngCloak:Ya,ngController:Ja,ngForm:Sa,ngHide:ws,ngIf:Qa,ngInclude:Za,ngInit:ts,ngNonBindable:ds,ngPluralize:ms,ngRef:$s,ngRepeat:ys,ngShow:bs,ngStyle:xs,ngSwitch:Cs,ngSwitchWhen:Ss,ngSwitchDefault:ks,ngOptions:vs,ngTransclude:As,ngModel:cs,ngList:ns,ngChange:Ba,pattern:Ps,ngPattern:Ps,required:js,ngRequired:js,minlength:Ls,ngMinlength:Ls,maxlength:Vs,ngMaxlength:Vs,ngValue:Ua,ngModelOptions:fs}).directive({ngInclude:es,input:Ra}).directive(ya).directive(Ka),e.provider({$anchorScroll:pt,$animate:xo,$animateCss:ko,$$animateJs:bo,$$animateQueue:wo,$$AnimateRunner:So,$$animateAsyncRun:Co,$browser:wt,$cacheFactory:xt,$controller:Dt,$document:Nt,$$isDocumentHidden:jt,$exceptionHandler:Pt,$filter:ar,$$forceReflow:No,$interpolate:Yt,$interval:Jt,$$intervalFactory:Kt,$http:Bt,$httpParamSerializer:Lt,$httpParamSerializerJQLike:It,$httpBackend:Wt,$xhrFactory:zt,$jsonpCallbacks:Ho,$location:pn,$log:hn,$parse:Mn,$rootScope:Rn,$q:Dn,$$q:Nn,$sce:Bn,$sceDelegate:Fn,$sniffer:zn,$$taskTrackerFactory:Wn,$templateCache:Ct,$templateRequest:Yn,$$testability:Jn,$timeout:Kn,$window:rr,$$rAF:In,$$jqLite:ot,$$Map:lo,$$cookieReader:or})}]).info({angularVersion:"1.7.8"})}(Ai),Ai.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r);return{v:r,f:(e*i|0)%i}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),di(function(){ce(e.document,le)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.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:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),define("angular",function(e){return function(){return e.angular}}(this)),function(e,t,n){"function"==typeof define&&define.amd?define("jquery.vclick",["jquery.tiny"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)}(this,document,function(e,t,n,r){!function(e,t,n,r){function i(e){for(;e&&void 0!==e.originalEvent;)e=e.originalEvent;return e}function o(t,n){var o,a,s,u,c,l,f,d,p,h=t.type;if(t=e.Event(t),t.type=n,o=t.originalEvent,a=e.event.props,h.search(/^(mouse|click)/)>-1&&(a=O),o)for(f=a.length,u;f;)u=a[--f],t[u]=o[u];if(h.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1),-1!==h.search(/^touch/)&&(s=i(o),h=s.touches,c=s.changedTouches,l=h&&h.length?h[0]:c&&c.length?c[0]:r))for(d=0,p=A.length;d<p;d++)u=A[d],t[u]=l[u];return t}function a(t){for(var n,r,i={};t;){n=e.data(t,S);for(r in n)n[r]&&(i[r]=i.hasVirtualBinding=!0);t=t.parentNode}return i}function s(t,n){for(var r;t;){if((r=e.data(t,S))&&(!n||r[n]))return t;t=t.parentNode}return null}function u(){I=!1}function c(){I=!0}function l(){H=0,V.length=0,L=!1,c()}function f(){u()}function d(){p(),D=setTimeout(function(){D=0,l()},e.vmouse.resetTimerDuration)}function p(){D&&(clearTimeout(D),D=0)}function h(t,n,r){var i;return(r&&r[t]||!r&&s(n.target,t))&&(i=o(n,t),e(n.target).trigger(i)),i}function v(t){var n,r=e.data(t.target,k);L||H&&H===r||(n=h("v"+t.type,t))&&(n.isDefaultPrevented()&&t.preventDefault(),n.isPropagationStopped()&&t.stopPropagation(),n.isImmediatePropagationStopped()&&t.stopImmediatePropagation())}function m(t){var n,r,o,s=i(t).touches;s&&1===s.length&&(n=t.target,r=a(n),r.hasVirtualBinding&&(H=U++,e.data(n,k,H),p(),f(),P=!1,o=i(t).touches[0],N=o.pageX,j=o.pageY,h("vmouseover",t,r),h("vmousedown",t,r)))}function g(e){I||(P||h("vmousecancel",e,a(e.target)),P=!0,d())}function $(t){if(!I){var n=i(t).touches[0],r=P,o=e.vmouse.moveDistanceThreshold,s=a(t.target);P=P||Math.abs(n.pageX-N)>o||Math.abs(n.pageY-j)>o,P&&!r&&h("vmousecancel",t,s),h("vmousemove",t,s),d()}}function y(e){if(!I){c();var t,n,r=a(e.target);h("vmouseup",e,r),P||(t=h("vclick",e,r))&&t.isDefaultPrevented()&&(n=i(e).changedTouches[0],V.push({touchID:H,x:n.clientX,y:n.clientY}),L=!0),h("vmouseout",e,r),P=!1,d()}}function b(t){var n,r=e.data(t,S);if(r)for(n in r)if(r[n])return!0;return!1}function w(){}var x,C,S="virtualMouseBindings",k="virtualTouchID",E="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),A="clientX clientY pageX pageY screenX screenY".split(" "),T=e.event.mouseHooks?e.event.mouseHooks.props:[],O=e.event.props.concat(T),M={},D=0,N=0,j=0,P=!1,V=[],L=!1,I=!1,R="addEventListener"in n,q=e(n),U=1,H=0;for(e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},C=0;C<E.length;C++)e.event.special[E[C]]=function(t){var n=t.substr(1);return{setup:function(){b(this)||e.data(this,S,{}),e.data(this,S)[t]=!0,M[t]=(M[t]||0)+1,1===M[t]&&q.bind(n,v),e(this).bind(n,w),R&&(M.touchstart=(M.touchstart||0)+1,1===M.touchstart&&q.bind("touchstart",m).bind("touchend",y).bind("touchmove",$).bind("scroll",g))},teardown:function(){--M[t],M[t]||q.unbind(n,v),R&&(--M.touchstart||q.unbind("touchstart",m).unbind("touchmove",$).unbind("touchend",y).unbind("scroll",g));var r=e(this),i=e.data(this,S);i&&(i[t]=!1),r.unbind(n,w),b(this)||r.removeData(S)}}}(E[C]);R&&n.addEventListener("click",function(t){var n,r,i,o,a,s=V.length,u=t.target;if(s)for(n=t.clientX,r=t.clientY,x=e.vmouse.clickDistanceThreshold,i=u;i;){for(o=0;o<s;o++)if(a=V[o],0,
i===u&&Math.abs(a.x-n)<x&&Math.abs(a.y-r)<x||e.data(i,k)===a.touchID)return t.preventDefault(),void t.stopPropagation();i=i.parentNode}},!0)}(e,0,n)}),function(e){var t=e.event.dispatch||e.event.handle,n=e.event.special,r="D"+ +new Date,i="D"+(+new Date+1);n.scrollstart={setup:function(i){var o,a=e.extend({latency:n.scrollstop.latency},i),s=function(e){var n=this,r=arguments;o?clearTimeout(o):(e.type="scrollstart",t.apply(n,r)),o=setTimeout(function(){o=null},a.latency)};e(this).bind("scroll",s).data(r,s)},teardown:function(){e(this).unbind("scroll",e(this).data(r))}},n.scrollstop={latency:250,setup:function(r){var o,a=e.extend({latency:n.scrollstop.latency},r),s=function(e){var n=this,r=arguments;o&&clearTimeout(o),o=setTimeout(function(){o=null,e.type="scrollstop",t.apply(n,r)},a.latency)};e(this).bind("scroll",s).data(i,s)},teardown:function(){e(this).unbind("scroll",e(this).data(i))}}}(jQuery),function(e){e.fn.caret=function(e){var t=this[0],n=t&&"true"===t.contentEditable;if(0!=arguments.length){if(t){if(-1==e&&(e=this[n?"text":"val"]().length),window.getSelection)n?(t.focus(),window.getSelection().collapse(t.firstChild,e)):t.setSelectionRange(e,e);else if(document.body.createTextRange)if(n){var r=document.body.createTextRange();r.moveToElementText(t),r.moveStart("character",e),r.collapse(!0),r.select()}else{var r=t.createTextRange();r.move("character",e),r.select()}n||t.focus()}return this}if(t){if(window.getSelection){if(n){t.focus();var i=window.getSelection().getRangeAt(0),o=i.cloneRange();return o.selectNodeContents(t),o.setEnd(i.endContainer,i.endOffset),o.toString().length}return t.selectionStart}if(document.selection){if(t.focus(),n){var i=document.selection.createRange(),o=document.body.createTextRange();return o.moveToElementText(t),o.setEndPoint("EndToEnd",i),o.text.length}var e=0,r=t.createTextRange(),o=document.selection.createRange().duplicate(),a=o.getBookmark();for(r.moveToBookmark(a);0!==r.moveStart("character",-1);)e++;return e}if(t.selectionStart)return t.selectionStart}}}(jQuery),function(e){var t=e([]),n=[],r={},i=function(t){var r,i;for(r=0,i=n.length;r<i;r++)if(Math.abs(t.pageX-n[r].x)<30&&Math.abs(t.pageY-n[r].y)<30){t.target=null,t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault();var o=e(t.target);o.is("input:not([type=submit]),select,textarea")&&(t.target=null)}},o=!1;"ontouchstart"in window&&(o=!0);var a,s=function(){n.splice(0,1)},u=function(t){r.hasMoved=!0,e(t).off("touchmove",e.event.special.fastclick.touchmove)};e.event.special.fastclick={touchstart:function(t){r.startX=t.originalEvent.touches[0].pageX,r.startY=t.originalEvent.touches[0].pageY,r.hasMoved=!1,e(this).on("touchmove",e.event.special.fastclick.touchmove),e.event.special.fastclick.isTouch=this,e(window).on("scrollstart",e.event.special.fastclick.scroll)},doclick:function(){var t=e(this);t.off("click",e.event.special.fastclick.handler),e.event.special.fastclick.isTouch||t.one("click",e.event.special.fastclick.handler)},touchcancel:function(){e.event.special.fastclick.isTouch=!1,e(window).off("scrollstart",e.event.special.fastclick.scroll)},isTouch:!1,touchmove:function(t){(Math.abs(t.originalEvent.touches[0].pageX-r.startX)>40||Math.abs(t.originalEvent.touches[0].pageY-r.startY)>40)&&u(e(this))},add:function(t){if(o){var i=e(this);i.data("objHandlers")[t.guid]=t;var u=t.handler;t.handler=function(t){if(i.off("touchmove",e.event.special.fastclick.touchmove),!r.hasMoved){s(),window.clearTimeout(a),n.push({x:r.startX,y:r.startY}),a=window.setTimeout(s,2500);var o=(e([]),arguments);e.each(i.data("objHandlers"),function(){this.selector?e(this.selector,i).each(function(){(this==t.target||e(this).has(t.target).length>0)&&u.apply(this,o)}):(i[0]==t.target||i.has(t.target).length>0)&&u.apply(i,o)})}}}},scroll:function(){u(e.event.special.fastclick.isTouch)},setup:function(n,o,a){var s=e(this);s.on("mousedown",e.event.special.fastclick.doclick),t=t.add(s),s.data("objHandlers")||(s.data("objHandlers",{}),s.on("touchstart",e.event.special.fastclick.touchstart),s.on("touchend",e.event.special.fastclick.handler),s.on("mouseup touchcancel",e.event.special.fastclick.touchcancel)),r.ghostbuster||(e(document).on("click vclick mousedown mouseup",i),r.ghostbuster=!0)},teardown:function(n){var o=e(this);t=t.not(o),o.off("touchstart",e.event.special.fastclick.touchstart),o.off("touchmove",e.event.special.fastclick.touchmove),o.off("touchend",e.event.special.fastclick.handler),o.off("mouseup touchcancel",e.event.special.fastclick.touchcancel),o.off("click",e.event.special.fastclick.handler),o.off("mousedown",e.event.special.fastclick.doclick),e(window).off("scrollstart",e.event.special.fastclick.scroll),0==t.length&&(e(document).off("click vclick mousedown",i),r.ghostbuster=!1)},remove:function(t){if(o){delete e(this).data("objHandlers")[t.guid]}},handler:function(t){var n=t.type;t.type="fastclick",e(window).off("scrollstart",e.event.special.fastclick.scroll),e.event.trigger.call(this,t,{},this,!0),e(document.activeElement).blur(),t.type=n}}}(jQuery),function(e){function t(){if(/iP(hone|od|ad)/.test(navigator.platform)){var e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||0,10)]}return null}e.fn.fastfocus=function(n){var r,i,o,a="input:not(.need-click),select,textarea",s=function(t){return!(!t.isDefaultPrevented()&&!e(t.target).is(".need-click"))||(setTimeout(function(){r&&!r.is(".no-fast-blur")&&r.is(document.activeElement)&&r.blur()}),!0)};try{var u=navigator.userAgent.toLowerCase(),c=u.match(/android\s([0-9\.]*)/),l=t();if(c&&c[1]){var f=parseFloat(c[1]);!isNaN(f)&&f>=4.1&&(i=!0)}else l&&(l[0]>9||9==l[0]&&l[1]&&l[1]>2)&&(i=!0,o=!0)}catch(e){i=!1}if(o&&e(this).each(function(){var t=function(t){if(t.target){var n=e(t.target),r=e(document.activeElement);n.is(document.activeElement)||r.is(".no-fast-blur")||r.is(a)&&!n.is(a)&&document.activeElement.blur()}},r=e(this);void 0==n||n?r.on("vclick",t):r.off("vclick",t)}),i)return!1;e(this).each(function(){var t=e(this),i=function(t){var n=e(this);e(document).trigger("vclick"),n.focus(),t.preventDefault(),setTimeout(function(){n.trigger("fastfocus"),n=!1}),t.stopImmediatePropagation()},o=function(){if(r=e(this),r.prop("disabled")||r.prop("readonly"))return r=!1,!0;if(r.is("input")){var t=r[0].type;if(t.indexOf("date")>-1||t.indexOf("month")>-1||t.indexOf("color")>-1||t.indexOf("range")>-1||t.indexOf("time")>-1||t.indexOf("image")>-1||t.indexOf("button")>-1||t.indexOf("checkbox")>-1||t.indexOf("radio")>-1||t.indexOf("submit")>-1||t.indexOf("file")>-1)return r=!1,!0}r.one("touchend",i)},u=function(){e(document.activeElement).length>0&&r.off("touchend",i)},c=function(){r=!1},l=function(){t.off("vclick",s),r&&r.off("touchend",i)},f=function(){t.off("vclick",s),t.on("vclick",s)};void 0==n||n?(t.on("touchstart",a,o).on("touchcancel",a,u).on("blur",c),e(window).on("scrollstart",l).on("scroll",l),e(window).on("scrollstop",f),t.on("vclick",s)):(t.off("touchstart",a,o).off("touchcancel",a,u).off("blur",c),e(window).off("scrollstart",l).off("scroll",l),e(window).off("scrollstop",f),t.off("vclick",s),r&&r.off("touchend",i))})}}(jQuery),function(e){e.fn.fastswitch=function(t){var n,r,i="label:not(.has-handler):not(.need-click)",o=navigator.userAgent.toLowerCase(),a=o.match(/android\s([0-9\.]*)/);try{var o=navigator.userAgent.toLowerCase(),a=o.match(/android\s([0-9\.]*)/);if(a&&a[1]){var s=parseFloat(a[1]);!isNaN(s)&&s>=4.1&&(r=!0)}}catch(e){r=!1}if(r)return!1;e(this).each(function(){var r,o=e(this),a=function(t){if(!r)return!0;e(document.activeElement).blur(),t.preventDefault();var n=e(r).find("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea");0==t.originalEvent.type.indexOf("mouse")?r.trigger("vclickjq"):(n.is("input[type=checkbox]")||r.trigger("click"),n.trigger("click")),setTimeout(function(){r=!1})},s=function(){r=e(this),r.one("vmouseup",a)},u=function(e){e.preventDefault()},c=function(){r&&r.off("vmouseup",a)},l=function(){o.off("vmousedown",s),c(),r&&r.one("click",u)},f=function(){o.off("vmousedown",s),clearTimeout(n),n=setTimeout(function(){o.on("vmousedown",i,s),r&&r.off("click",u)},100)};void 0==t||t?(o.on("vmousedown",i,s).on("vmousecancel",i,c),e(window).on("scrollstart",l).on("scroll",l).on("scrollstop",f)):(o.off("vmousedown",i,s).off("vmousecancel",i,c),r&&r.off("vmouseup",a),e(window).off("scrollstart",l).off("scrollstop",f).off("scroll",l))})}}(jQuery),function(e){function t(t){return u?t.data("events"):e._data(t[0]).events}function n(e,n,r){var i=t(e),o=i[n];if(!u){var a=r?o.splice(o.delegateCount-1,1)[0]:o.pop();return void o.splice(r?0:o.delegateCount||0,0,a)}r?i.live.unshift(i.live.pop()):o.unshift(o.pop())}function r(t,r,i){var o=r.split(/\s+/);t.each(function(){for(var t=0;t<o.length;++t){var r=e.trim(o[t]).match(/[^\.]+/i)[0];n(e(this),r,i)}})}function i(t){e.fn[t+"First"]=function(){var n=e.makeArray(arguments),i=n.shift();return i&&(e.fn[t].apply(this,arguments),r(this,i)),this}}var o=e.fn.jquery.split("."),a=parseInt(o[0]),s=parseInt(o[1]),u=a<1||1==a&&s<7;i("bind"),i("one"),e.fn.delegateFirst=function(){var t=e.makeArray(arguments),n=t[1];return n&&(t.splice(0,2),e.fn.delegate.apply(this,arguments),r(this,n,!0)),this},e.fn.liveFirst=function(){var t=e.makeArray(arguments);return t.unshift(this.selector),e.fn.delegateFirst.apply(e(document),t),this},u||(e.fn.onFirst=function(t,n){var i=e(this),o="string"==typeof n;if(e.fn.on.apply(i,arguments),"object"==typeof t)for(type in t)t.hasOwnProperty(type)&&r(i,type,o);else"string"==typeof t&&r(i,t,o);return i})}(jQuery),function(e){var t=e.fn.on,n=e.fn.off,r=e.fn.trigger,i=e.fn.one,o="-webkit-user-select : none;-ms-user-select : none;user-select : none;-ms-user-select : none;-webkit-touch-callout : none;-ms-content-zooming : none;-webkit-user-drag : none;-webkit-tap-highlight-color: rgba(0,0,0,0);touch-action : manipulation;";e("head style[data-touch]").length<=0&&e("head").append('<style type="text/css" data-touch="true">.touch-element-cl{'+o+"} .touch-element-swipeh-cl{-webkit-user-select : none;-ms-user-select : none;user-select : none;-ms-user-select : none;-webkit-touch-callout : none;-ms-content-zooming : none;-webkit-user-drag : none;-webkit-tap-highlight-color: rgba(0,0,0,0);touch-action : manipulation;touch-action:pan-y;} .touch-element-swipev-cl{-webkit-user-select : none;-ms-user-select : none;user-select : none;-ms-user-select : none;-webkit-touch-callout : none;-ms-content-zooming : none;-webkit-user-drag : none;-webkit-tap-highlight-color: rgba(0,0,0,0);touch-action : manipulation;touch-action:pan-x;}</style>");var a=["vclick"];e.fn.on=function(){var n=Array.prototype.slice.call(arguments),r=n[0];return a.indexOf(r)>-1&&("vclick"!=r||e(this).is("input,select,textarea,label")||e(this).is(document)||e(this).is("body")||e(this).is(window)||e(this).addClass("touch-element-cl"),"vclick"==r&&(n[0]="fastclick"),(e(this).is(document)||e(this).is("body")||e(this).is(window)||e(this).is("lablel"))&&"vclick"==r&&(n[0]="vclick"),e(this).is("label")&&e(this).addClass("touch-element-cl")),"vclickjq"==r&&(n[0]="vclick"),t.apply(this,n)},e.fn.one=function(){var t=Array.prototype.slice.call(arguments),n=t[0];return a.indexOf(n)>-1&&("vclick"!=n||e(this).is("input,select,textarea,label")||e(this).is(document)||e(this).is("body")||e(this).is(window)||e(this).addClass("touch-element-cl"),"vclick"==n&&(t[0]="fastclick"),(e(this).is(document)||e(this).is("body")||e(this).is(window)||e(this).is("lablel"))&&"vclick"==n&&(t[0]="vclick"),e(this).is("label")&&e(this).addClass("touch-element-cl")),"vclickjq"==n&&(t[0]="vclick"),i.apply(this,t)},e.fn.off=function(){var t=Array.prototype.slice.call(arguments),r=t[0];return a.indexOf(r)>-1&&(e(this).removeClass("touch-element-cl touch-element-swipeh-cl touch-element-swipev-cl"),"vclick"==r&&(t[0]="fastclick"),(e(this).is(document)||e(this).is("body")||e(this).is(window))&&"vclick"==r&&(t[0]="vclick")),"vclickjq"==r&&(t[0]="vclick"),n.apply(this,t)},e.fn.trigger=function(){var t=Array.prototype.slice.call(arguments),n=t[0];return a.indexOf(n)>-1&&("vclick"==n&&(t[0]="fastclick"),(e(this).is(document)||e(this).is("body")||e(this).is(window))&&"vclick"==n&&(t[0]="vclick")),"vclickjq"==n&&(t[0]="vclick"),r.apply(this,t)}}(jQuery),define("angularElementScroll",["angular"],function(e){var t=function(e){"use strict";return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2};e.module("duScroll",["duScroll.scrollspy","duScroll.smoothScroll","duScroll.scrollContainer","duScroll.spyContext","duScroll.scrollHelpers"]).value("duScrollDuration",350).value("duScrollSpyWait",100).value("duScrollGreedy",!1).value("duScrollOffset",0).value("duScrollEasing",t).value("duScrollCancelOnEvents","scroll mousedown mousewheel touchmove keydown").value("duScrollBottomSpy",!1).value("duScrollActiveClass","active"),e.module("duScroll.scrollHelpers",["duScroll.requestAnimation"]).run(["$window","$q","cancelAnimation","requestAnimation","duScrollEasing","duScrollDuration","duScrollOffset","duScrollCancelOnEvents",function(t,n,r,i,o,a,s,u){"use strict";var c={},l=function(e){return"undefined"!=typeof HTMLDocument&&e instanceof HTMLDocument||e.nodeType&&e.nodeType===e.DOCUMENT_NODE},f=function(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement||e.nodeType&&e.nodeType===e.ELEMENT_NODE},d=function(e){return f(e)||l(e)?e:e[0]};c.duScrollTo=function(n,r,i,o){var a;if(e.isElement(n)?a=this.duScrollToElement:e.isDefined(i)&&(a=this.duScrollToAnimated),a)return a.apply(this,arguments);var s=d(this);if(l(s))return t.scrollTo(n,r);s.scrollLeft=n,s.scrollTop=r};var p,h;c.duScrollToAnimated=function(e,t,a,s){a&&!s&&(s=o);var c=this.duScrollLeft(),l=this.duScrollTop(),f=Math.round(e-c),d=Math.round(t-l),v=null,m=0,g=this,$=function(e){(!e||m&&e.which>0)&&(u&&g.unbind(u,$),r(p),h.reject(),p=null)};if(p&&$(),h=n.defer(),0===a||!f&&!d)return 0===a&&g.duScrollTo(e,t),h.resolve(),h.promise;var y=function(e){null===v&&(v=e),m=e-v;var t=m>=a?1:s(m/a);g.scrollTo(c+Math.ceil(f*t),l+Math.ceil(d*t)),t<1?p=i(y):(u&&g.unbind(u,$),p=null,h.resolve())};return g.duScrollTo(c,l),u&&g.bind(u,$),p=i(y),h.promise},c.duScrollToElement=function(t,n,r,i){var o=d(this);e.isNumber(n)&&!isNaN(n)||(n=s);var a=this.duScrollTop()+d(t).getBoundingClientRect().top-n;return f(o)&&(a-=o.getBoundingClientRect().top),this.duScrollTo(0,a,r,i)},c.duScrollLeft=function(n,r,i){if(e.isNumber(n))return this.duScrollTo(n,this.duScrollTop(),r,i);var o=d(this);return l(o)?t.scrollX||document.documentElement.scrollLeft||document.body.scrollLeft:o.scrollLeft},c.duScrollTop=function(n,r,i){if(e.isNumber(n))return this.duScrollTo(this.duScrollLeft(),n,r,i);var o=d(this);return l(o)?t.scrollY||document.documentElement.scrollTop||document.body.scrollTop:o.scrollTop},c.duScrollToElementAnimated=function(e,t,n,r){return this.duScrollToElement(e,t,n||a,r)},c.duScrollTopAnimated=function(e,t,n){return this.duScrollTop(e,t||a,n)},c.duScrollLeftAnimated=function(e,t,n){return this.duScrollLeft(e,t||a,n)},e.forEach(c,function(t,n){e.element.prototype[n]=t;var r=n.replace(/^duScroll/,"scroll");e.isUndefined(e.element.prototype[r])&&(e.element.prototype[r]=t)})}]),e.module("duScroll.polyfill",[]).factory("polyfill",["$window",function(e){"use strict";var t=["webkit","moz","o","ms"];return function(n,r){if(e[n])return e[n];for(var i,o=n.substr(0,1).toUpperCase()+n.substr(1),a=0;a<t.length;a++)if(i=t[a]+o,e[i])return e[i];return r}}]),e.module("duScroll.requestAnimation",["duScroll.polyfill"]).factory("requestAnimation",["polyfill","$timeout",function(e,t){"use strict";var n=0;return e("requestAnimationFrame",function(e,r){var i=(new Date).getTime(),o=Math.max(0,16-(i-n)),a=t(function(){e(i+o)},o);return n=i+o,a})}]).factory("cancelAnimation",["polyfill","$timeout",function(e,t){"use strict";return e("cancelAnimationFrame",function(e){t.cancel(e)})}]),e.module("duScroll.spyAPI",["duScroll.scrollContainerAPI"]).factory("spyAPI",["$rootScope","$timeout","$window","$document","scrollContainerAPI","duScrollGreedy","duScrollSpyWait","duScrollBottomSpy","duScrollActiveClass",function(e,t,n,r,i,o,a,s,u){"use strict";var c=function(i){var c=!1,l=!1,f=function(){l=!1;var t,a=i.container,c=a[0],f=0;"undefined"!=typeof HTMLElement&&c instanceof HTMLElement||c.nodeType&&c.nodeType===c.ELEMENT_NODE?(f=c.getBoundingClientRect().top,t=Math.round(c.scrollTop+c.clientHeight)>=c.scrollHeight):t=Math.round(n.pageYOffset+n.innerHeight)>=r[0].body.scrollHeight;var d,p,h,v,m,g,$=s&&t?"bottom":"top";for(v=i.spies,p=i.currentlyActive,h=void 0,d=0;d<v.length;d++)m=v[d],(g=m.getTargetPosition())&&(s&&t||g.top+m.offset-f<20&&(o||-1*g.top+f)<g.height)&&(!h||h[$]<g[$])&&(h={spy:m},h[$]=g[$]);h&&(h=h.spy),p===h||o&&!h||(p&&(p.$element.removeClass(u),e.$broadcast("duScrollspy:becameInactive",p.$element)),h&&(h.$element.addClass(u),e.$broadcast("duScrollspy:becameActive",h.$element)),i.currentlyActive=h)};return a?function(){c?l=!0:(f(),c=t(function(){c=!1,l&&f()},a,!1))}:f},l={},f=function(e){var t=e.$id,n={spies:[]};return n.handler=c(n),l[t]=n,e.$on("$destroy",function(){d(e)}),t},d=function(e){var t=e.$id,n=l[t],r=n.container;r&&r.off("scroll",n.handler),delete l[t]},p=f(e),h=function(e){return l[e.$id]?l[e.$id]:e.$parent?h(e.$parent):l[p]},v=function(e){var t,n,r=e.$scope;if(r)return h(r);for(n in l)if(t=l[n],-1!==t.spies.indexOf(e))return t},m=function(e){for(;e.parentNode;)if((e=e.parentNode)===document)return!0;return!1};return{addSpy:function(e){var t=v(e);t&&(t.spies.push(e),t.container&&m(t.container)||(t.container&&t.container.off("scroll",t.handler),t.container=i.getContainer(e.$scope),t.container.on("scroll",t.handler).triggerHandler("scroll")))},removeSpy:function(e){var t=v(e);e===t.currentlyActive&&(t.currentlyActive=null);var n=t.spies.indexOf(e);-1!==n&&t.spies.splice(n,1),e.$element=null},createContext:f,destroyContext:d,getContextForScope:h}}]),e.module("duScroll.scrollContainerAPI",[]).factory("scrollContainerAPI",["$document",function(e){"use strict";var t={},n=function(e,n){var r=e.$id;return t[r]=n,r},r=function(e){return t[e.$id]?e.$id:e.$parent?r(e.$parent):void 0};return{getContainerId:r,getContainer:function(n){var i=r(n);return i?t[i]:e},setContainer:n,removeContainer:function(e){var n=r(e);n&&delete t[n]}}}]),e.module("duScroll.smoothScroll",["duScroll.scrollHelpers","duScroll.scrollContainerAPI"]).directive("duSmoothScroll",["duScrollDuration","duScrollOffset","scrollContainerAPI",function(t,n,r){"use strict";return{link:function(i,o,a){o.on("click",function(o){if(a.href&&-1!==a.href.indexOf("#")||""!==a.duSmoothScroll){var s=a.href?a.href.replace(/.*(?=#[^\s]+$)/,"").substring(1):a.duSmoothScroll,u=document.getElementById(s)||document.getElementsByName(s)[0];if(u&&u.getBoundingClientRect){o.stopPropagation&&o.stopPropagation(),o.preventDefault&&o.preventDefault();var c=a.offset?parseInt(a.offset,10):n,l=a.duration?parseInt(a.duration,10):t;r.getContainer(i).duScrollToElement(e.element(u),isNaN(c)?0:c,isNaN(l)?0:l)}}})}}}]),e.module("duScroll.spyContext",["duScroll.spyAPI"]).directive("duSpyContext",["spyAPI",function(e){"use strict";return{restrict:"A",scope:!0,compile:function(t,n,r){return{pre:function(t,n,r,i){e.createContext(t)}}}}}]),e.module("duScroll.scrollContainer",["duScroll.scrollContainerAPI"]).directive("duScrollContainer",["scrollContainerAPI",function(t){"use strict";return{restrict:"A",scope:!0,compile:function(n,r,i){return{pre:function(n,r,i,o){i.$observe("duScrollContainer",function(i){e.isString(i)&&(i=document.getElementById(i)),i=e.isElement(i)?e.element(i):r,t.setContainer(n,i),n.$on("$destroy",function(){t.removeContainer(n)})})}}}}}]),e.module("duScroll.scrollspy",["duScroll.spyAPI"]).directive("duScrollspy",["spyAPI","duScrollOffset","$timeout","$rootScope",function(t,n,r,i){"use strict";var o=function(t,n,r,i){e.isElement(t)?this.target=t:e.isString(t)&&(this.targetId=t),this.$scope=n,this.$element=r,this.offset=i};return o.prototype.getTargetElement=function(){return!this.target&&this.targetId&&(this.target=document.getElementById(this.targetId)||document.getElementsByName(this.targetId)[0]),this.target},o.prototype.getTargetPosition=function(){var e=this.getTargetElement();if(e)return e.getBoundingClientRect()},o.prototype.flushTargetCache=function(){this.targetId&&(this.target=void 0)},{link:function(e,a,s){var u,c=s.ngHref||s.href;c&&-1!==c.indexOf("#")?u=c.replace(/.*(?=#[^\s]+$)/,"").substring(1):s.duScrollspy?u=s.duScrollspy:s.duSmoothScroll&&(u=s.duSmoothScroll),u&&r(function(){var r=new o(u,e,a,-(s.offset?parseInt(s.offset,10):n));t.addSpy(r),e.$on("$locationChangeSuccess",r.flushTargetCache.bind(r));var c=i.$on("$stateChangeSuccess",r.flushTargetCache.bind(r));e.$on("$destroy",function(){t.removeSpy(r),c()})},0,!1)}}}])}),function(e,t){"use strict";function n(e,t,n){if(!e)throw ae("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(B(e)&&(e=e.join(" ")),B(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function i(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function o(e,t,n){var r="";return e=B(e)?e:e&&J(e)&&e.length?e.split(/\s+/):[],F(e,function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof X)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===V)return e;break;default:return X(u(e))}if(e.nodeType===V)return X(e)}function u(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===V)return n}}function c(e,t,n){F(t,function(t){e.addClass(t,n)})}function l(e,t,n){F(t,function(t){e.removeClass(t,n)})}function f(e){return function(t,n){n.addClass&&(c(e,t,n.addClass),n.addClass=null),n.removeClass&&(l(e,t,n.removeClass),n.removeClass=null)}}function d(e){if(e=e||{},!e.$$prepared){var t=e.domOperation||Q;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=Q},e.$$prepared=!0}return e}function p(e,t){h(e,t),v(e,t)}function h(e,t){t.from&&(e.css(t.from),t.from=null)}function v(e,t){t.to&&(e.css(t.to),t.to=null)}function m(e,t,n){var r=t.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),s=g(e.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=C(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var u=r.domOperation!==Q?r.domOperation:null;return _(r,i),u&&(r.domOperation=u),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function g(e,t,n){function r(e){J(e)&&(e=e.split(" "));var t={};return F(e,function(e){e.length&&(t[e]=!0)}),t}var i={};e=r(e),t=r(t),F(t,function(e,t){i[t]=1}),n=r(n),F(n,function(e,t){i[t]=1===i[t]?null:-1});var o={addClass:"",removeClass:""};return F(i,function(t,n){var r,i;1===t?(r="addClass",i=!e[n]||e[n+I]):-1===t&&(r="removeClass",i=e[n]||e[n+L]),i&&(o[r].length&&(o[r]+=" "),o[r]+=n)}),o}function $(e){return e instanceof X?e[0]:e}function y(e,t,n,r){var i="";n&&(i=o(n,R,!0)),r.addClass&&(i=C(i,o(r.addClass,L))),r.removeClass&&(i=C(i,o(r.removeClass,I))),i.length&&(r.preparationClasses=i,t.addClass(i))}function b(e,t){t.preparationClasses&&(e.removeClass(t.preparationClasses),t.preparationClasses=null),t.activeClasses&&(e.removeClass(t.activeClasses),t.activeClasses=null)}function w(e,t){var n=t?"paused":"",r=j+te;return x(e,[r,n]),[r,n]}function x(e,t){var n=t[0],r=t[1];e.style[n]=r}function C(e,t){return e?t?e+" "+t:e:t}function S(e){return[re,e+"s"]}function k(e,t){return[t?ne:ie,e+"s"]}function E(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return F(n,function(e,t){var n=i[e];if(n){var o=n.charAt(0);("-"===o||"+"===o||o>=0)&&(n=A(n)),0===n&&(n=null),r[t]=n}}),r}function A(e){var t=0,n=e.split(/\s*,\s*/);return F(n,function(e){"s"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function T(e){return 0===e||null!=e}function O(e,t){var n=D,r=e+"s";return t?n+=Z:r+=" linear all",[n,r]}function M(e,t,n){F(n,function(n){e[n]=z(e[n])?e[n]:t.style.getPropertyValue(n)})}var D,N,j,P,V=1,L="-add",I="-remove",R="ng-",q="ng-animate",U="$$ngAnimateChildren";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?("-webkit-",D="WebkitTransition",N="webkitTransitionEnd transitionend"):(D="transition",N="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?("-webkit-",j="WebkitAnimation",P="webkitAnimationEnd animationend"):(j="animation",P="animationend");var H,_,F,B,z,W,G,Y,J,K,X,Q,Z="Duration",ee="TimingFunction",te="PlayState",ne=j+"Delay",re=j+Z,ie=D+"Delay",oe=D+Z,ae=t.$$minErr("ng"),se={blockTransitions:function(e,t){var n=t?"-"+t+"s":"";return x(e,[ie,n]),[ie,n]}},ue=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o<t.length;o++)t[o]();i||e(function(){i||n()})}}var r,i;return r=t.queue=[],t.waitUntilQuiet=function(t){i&&i(),i=e(function(){i=null,t(),n()})},t}],ce=["$interpolate",function(e){return{link:function(t,n,r){function i(e){e="on"===e||"true"===e,n.data(U,e)}var o=r.ngAnimateChildren;J(o)&&0===o.length?n.data(U,!0):(i(e(o)(t)),r.$observe("ngAnimateChildren",i))}}}],le="$$animateCss",fe=1e3,de=3,pe=1.5,he={transitionDuration:oe,transitionDelay:ie,transitionProperty:D+"Property",animationDuration:re,animationDelay:ne,animationIterationCount:j+"IterationCount"},ve={transitionDuration:oe,transitionDelay:ie,animationDuration:re,animationDelay:ne},me=["$animateProvider",function(e){this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$animateCache","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(e,t,n,r,s,u,c,l,m){function g(t,n,r,i,o){var a=s.get(r);a||(a=E(e,t,o),"infinite"===a.animationIterationCount&&(a.animationIterationCount=1));var u=i||a.transitionDuration>0||a.animationDuration>0;return s.put(r,a,u),a}function y(n,r,i,a){var u,c="stagger-"+i;if(s.count(i)>0&&!(u=s.get(c))){var l=o(r,"-stagger");t.addClass(n,l),u=E(e,n,a),u.animationDuration=Math.max(u.animationDuration,0),u.transitionDuration=Math.max(u.transitionDuration,0),t.removeClass(n,l),s.put(c,u,!0)}return u||{}}function b(e){V.push(e),l.waitUntilQuiet(function(){s.flush();for(var e=u(),t=0;t<V.length;t++)V[t](e);V.length=0})}function C(e,t,n,r){var i=g(e,t,n,r,he),o=i.animationDelay,a=i.transitionDelay;return i.maxDelay=o&&a?Math.max(o,a):o||a,i.maxDuration=Math.max(i.animationDuration*i.animationIterationCount,i.transitionDuration),i}var A=f(t),V=[];return function(e,u){function l(){g()}function f(){g(!0)}function g(n){if(!(G||J&&Y)){G=!0,Y=!1,ye&&!_.$$skipPreparationClasses&&t.removeClass(e,ye),Pe&&t.removeClass(e,Pe),w(W,!1),se.blockTransitions(W,!1),F(oe,function(e){W.style[e[0]]=""}),A(e,_),p(e,_),Object.keys(z).length&&F(z,function(e,t){e?W.style.setProperty(t,e):W.style.removeProperty(t)}),_.onDone&&_.onDone(),ce&&ce.length&&e.off(ce.join(" "),q);var i=e.data(le);i&&(r.cancel(i[0].timer),e.removeData(le)),K&&K.complete(!n)}}function E(e){je.blockTransition&&se.blockTransitions(W,e),je.blockKeyframeAnimation&&w(W,!!e)}function V(){return K=new n({end:l,cancel:f}),b(Q),g(),{$$willAnimate:!1,start:function(){return K},end:l}}function q(e){e.stopPropagation();var t=e.originalEvent||e;if(t.target===W){var n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(de));Math.max(n-ie,0)>=te&&r>=ne&&(J=!0,g())}}function U(){function n(){if(!G){if(E(!1),F(oe,function(e){var t=e[0],n=e[1];W.style[t]=n}),A(e,_),t.addClass(e,Pe),je.recalculateTimingStyles){if(be=W.getAttribute("class")+" "+ye,Ce=s.cacheKey(W,he,_.addClass,_.removeClass),De=C(W,be,Ce,!1),Ne=De.maxDelay,Z=Math.max(Ne,0),0===(ne=De.maxDuration))return void g();je.hasTransitions=De.transitionDuration>0,je.hasAnimations=De.animationDuration>0}if(je.applyAnimationDelay&&(Ne="boolean"!=typeof _.delay&&T(_.delay)?parseFloat(_.delay):Ne,Z=Math.max(Ne,0),De.animationDelay=Ne,Ve=k(Ne,!0),oe.push(Ve),W.style[Ve[0]]=Ve[1]),te=Z*fe,re=ne*fe,_.easing){var n,o=_.easing;je.hasTransitions&&(n=D+ee,oe.push([n,o]),W.style[n]=o),je.hasAnimations&&(n=j+ee,oe.push([n,o]),W.style[n]=o)}De.transitionDuration&&ce.push(N),De.animationDuration&&ce.push(P),ie=Date.now();var a=te+pe*re,u=ie+a,c=e.data(le)||[],l=!0;if(c.length){var f=c[0];l=u>f.expectedEndTime,l?r.cancel(f.timer):c.push(g)}if(l){var d=r(i,a,!1);c[0]={timer:d,expectedEndTime:u},c.push(g),e.data(le,c)}ce.length&&e.on(ce.join(" "),q),_.to&&(_.cleanupStyles&&M(z,W,Object.keys(_.to)),v(e,_))}}function i(){var t=e.data(le);if(t){for(var n=1;n<t.length;n++)t[n]();e.removeData(le)}}if(!G){if(!W.parentNode)return void g();var o=function(e){if(J)Y&&e&&(Y=!1,g());else if(Y=!e,De.animationDuration){var t=w(W,Y);Y?oe.push(t):a(oe,t)}},u=Oe>0&&(De.transitionDuration&&0===xe.transitionDuration||De.animationDuration&&0===xe.animationDuration)&&Math.max(xe.animationDelay,xe.transitionDelay);u?r(n,Math.floor(u*Oe*fe),!1):n(),X.resume=function(){o(!0)},X.pause=function(){o(!1)}}}var _=u||{};_.$$prepared||(_=d(H(_)));var z={},W=$(e);if(!W||!W.parentNode||!m.enabled())return V();var G,Y,J,K,X,Z,te,ne,re,ie,oe=[],ae=e.attr("class"),ue=i(_),ce=[];if(0===_.duration||!c.animations&&!c.transitions)return V();var he=_.event&&B(_.event)?_.event.join(" "):_.event,me=he&&_.structural,ge="",$e="";me?ge=o(he,R,!0):he&&(ge=he),_.addClass&&($e+=o(_.addClass,L)),_.removeClass&&($e.length&&($e+=" "),$e+=o(_.removeClass,I)),_.applyClassesEarly&&$e.length&&A(e,_);var ye=[ge,$e].join(" ").trim(),be=ae+" "+ye,we=ue.to&&Object.keys(ue.to).length>0;if(!((_.keyframeStyle||"").length>0||we||ye))return V();var xe,Ce=s.cacheKey(W,he,_.addClass,_.removeClass);if(s.containsCachedAnimationWithoutDuration(Ce))return ye=null,V();if(_.stagger>0){var Se=parseFloat(_.stagger);xe={transitionDelay:Se,animationDelay:Se,transitionDuration:0,animationDuration:0}}else xe=y(W,ye,Ce,ve);_.$$skipPreparationClasses||t.addClass(e,ye);var ke;if(_.transitionStyle){var Ee=[D,_.transitionStyle];x(W,Ee),oe.push(Ee)}if(_.duration>=0){ke=W.style[D].length>0;var Ae=O(_.duration,ke);x(W,Ae),oe.push(Ae)}if(_.keyframeStyle){var Te=[j,_.keyframeStyle];x(W,Te),oe.push(Te)}var Oe=xe?_.staggerIndex>=0?_.staggerIndex:s.count(Ce):0,Me=0===Oe;Me&&!_.skipBlocking&&se.blockTransitions(W,9999);var De=C(W,be,Ce,!me),Ne=De.maxDelay;Z=Math.max(Ne,0),ne=De.maxDuration;var je={};if(je.hasTransitions=De.transitionDuration>0,je.hasAnimations=De.animationDuration>0,je.hasTransitionAll=je.hasTransitions&&"all"===De.transitionProperty,je.applyTransitionDuration=we&&(je.hasTransitions&&!je.hasTransitionAll||je.hasAnimations&&!je.hasTransitions),je.applyAnimationDuration=_.duration&&je.hasAnimations,je.applyTransitionDelay=T(_.delay)&&(je.applyTransitionDuration||je.hasTransitions),je.applyAnimationDelay=T(_.delay)&&je.hasAnimations,je.recalculateTimingStyles=$e.length>0,(je.applyTransitionDuration||je.applyAnimationDuration)&&(ne=_.duration?parseFloat(_.duration):ne,je.applyTransitionDuration&&(je.hasTransitions=!0,De.transitionDuration=ne,ke=W.style[D+"Property"].length>0,oe.push(O(ne,ke))),je.applyAnimationDuration&&(je.hasAnimations=!0,De.animationDuration=ne,oe.push(S(ne)))),0===ne&&!je.recalculateTimingStyles)return V();var Pe=o(ye,"-active");if(null!=_.delay){var Ve;"boolean"!=typeof _.delay&&(Ve=parseFloat(_.delay),Z=Math.max(Ve,0)),je.applyTransitionDelay&&oe.push(k(Ve)),je.applyAnimationDelay&&oe.push(k(Ve,!0))}return null==_.duration&&De.transitionDuration>0&&(je.recalculateTimingStyles=je.recalculateTimingStyles||Me),te=Z*fe,re=ne*fe,_.skipBlocking||(je.blockTransition=De.transitionDuration>0,je.blockKeyframeAnimation=De.animationDuration>0&&xe.animationDelay>0&&0===xe.animationDuration),_.from&&(_.cleanupStyles&&M(z,W,Object.keys(_.from)),h(e,_)),je.blockTransition||je.blockKeyframeAnimation?E(ne):_.skipBlocking||se.blockTransitions(W,!1),{$$willAnimate:!0,end:l,start:function(){if(!G)return X={end:l,cancel:f,resume:null,pause:null},K=new n(X),b(U),K}}}}]
}],ge=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor-out";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,i,o,a,s,u,c){function l(e){return e.replace(/\bng-\S+\b/g,"")}function f(e,t){return J(e)&&(e=e.split(" ")),J(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function d(t,i,a){function s(e){var t={},n=$(e).getBoundingClientRect();return F(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=v.scrollTop;break;case"left":r+=v.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function u(e){return e.attr("class")||""}function c(){var t=l(u(a)),n=f(t,h),i=f(h,t),o=e(p,{to:s(a),addClass:"ng-anchor-in "+n,removeClass:r+" "+i,delay:!0});return o.$$willAnimate?o:null}function d(){p.remove(),i.removeClass(n),a.removeClass(n)}var p=X($(i).cloneNode(!0)),h=l(u(p));i.addClass(n),a.addClass(n),p.addClass("ng-anchor"),g.append(p);var m,y=function(){var t=e(p,{addClass:r,delay:!0,from:s(i)});return t.$$willAnimate?t:null}();if(!y&&!(m=c()))return d();var b=y||m;return{start:function(){function e(){n&&n.end()}var t,n=b.start();return n.done(function(){if(n=null,!m&&(m=c()))return n=m.start(),n.done(function(){n=null,d(),t.complete()}),n;d(),t.complete()}),t=new o({end:e,cancel:e})}}}function p(e,t,n,r){var i=h(e),a=h(t),s=[];if(F(r,function(e){var t=e.out,r=e.in,i=d(n,t,r);i&&s.push(i)}),i||a||0!==s.length)return{start:function(){function e(){F(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),a&&t.push(a.start()),F(s,function(e){t.push(e.start())});var n=new o({end:e,cancel:e});return o.all(t,function(e){n.complete(e)}),n}}}function h(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!s.animations&&!s.transitions)return Q;var v=c[0].body,m=$(a),g=X(t(m)||v.contains(m)?m:v);return function(e){return e.from&&e.to?p(e.from,e.to,e.classes,e.anchors):h(e)}}]}],$e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=B(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=e.$$registeredAnimations[a];s&&!i[a]&&(r.push(t.get(s)),i[a]=!0)}return r}var o=f(r);return function(e,t,r,a){function s(){a.domOperation(),o(e,a)}function u(){h=!0,s(),p(e,a)}function c(e,t,r,i,o){var a;switch(r){case"animate":a=[t,i.from,i.to,o];break;case"setClass":a=[t,g,$,o];break;case"addClass":a=[t,g,o];break;case"removeClass":a=[t,$,o];break;default:a=[t,o]}a.push(i);var s=e.apply(e,a);if(s)if(G(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(G(s))return s;return Q}function l(e,t,r,i,o){var a=[];return F(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,u=function(e){a||(a=!0,(o||Q)(e),i.complete(!e))};return i=new n({end:function(){u()},cancel:function(){u(!0)}}),o=c(s,e,t,r,function(e){u(!1===e)}),i})}),a}function f(e,t,r,i,o){var a=l(e,t,r,i,o);if(0===a.length){var s,u;"beforeSetClass"===o?(s=l(e,"removeClass",r,i,"beforeRemoveClass"),u=l(e,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=l(e,"removeClass",r,i,"removeClass"),u=l(e,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),u&&(a=a.concat(u))}if(0!==a.length)return function(e){var t=[];return a.length&&F(a,function(e){t.push(e())}),t.length?n.all(t,e):e(),function(e){F(t,function(t){e?t.cancel():t.end()})}}}var h=!1;3===arguments.length&&Y(r)&&(a=r,r=null),a=d(a),r||(r=e.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var v,m,g=a.addClass,$=a.removeClass,y=i(r);if(y.length){var b,w;"leave"===t?(w="leave",b="afterLeave"):(w="before"+t.charAt(0).toUpperCase()+t.substr(1),b=t),"enter"!==t&&"move"!==t&&(v=f(e,t,a,y,w)),m=f(e,t,a,y,b)}if(v||m){var x;return{$$willAnimate:!0,end:function(){return x?x.end():(u(),x=new n,x.complete(!0)),x},start:function(){function e(e){u(e),x.complete(e)}function t(t){h||((r||Q)(t),e(t))}if(x)return x;x=new n;var r,i=[];return v&&i.push(function(e){r=v(e)}),i.length?i.push(function(e){s(),e(!0)}):s(),m&&i.push(function(e){r=m(e)}),x.setHost({end:function(){t()},cancel:function(){t(!0)}}),n.chain(i,e),x}}}}}]}],ye=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){function n(t){var n=t.element,r=t.event,i=t.options,o=t.classes;return e(n,r,o,i)}return function(e){if(e.from&&e.to){var r=n(e.from),i=n(e.to);if(!r&&!i)return;return{start:function(){function e(){return function(){F(o,function(e){e.end()})}}function n(e){a.complete(e)}var o=[];r&&o.push(r.start()),i&&o.push(i.start()),t.all(o,n);var a=new t({end:e(),cancel:e()});return a}}}return n(e)}}]}],be="data-ng-animate",we="$ngAnimatePin",xe=["$animateProvider",function(t){function r(e){return{addClass:e.addClass,removeClass:e.removeClass,from:e.from,to:e.to}}function i(e){if(!e)return null;var t=e.split(v),n=Object.create(null);return F(t,function(e){n[e]=!0}),n}function o(e,t){if(e&&t){var n=i(t);return e.split(v).some(function(e){return n[e]})}}function a(e,t,n){return g[e].some(function(e){return e(t,n)})}function c(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,h=2,v=" ",g=this.rules={skip:[],cancel:[],join:[]};g.join.push(function(e,t){return!e.structural&&c(e)}),g.skip.push(function(e,t){return!e.structural&&!c(e)}),g.skip.push(function(e,t){return"leave"===t.event&&e.structural}),g.skip.push(function(e,t){return t.structural&&t.state===h&&!e.structural}),g.cancel.push(function(e,t){return t.structural&&e.structural}),g.cancel.push(function(e,t){return t.state===h&&e.structural}),g.cancel.push(function(e,t){if(t.structural)return!1;var n=e.addClass,r=e.removeClass,i=t.addClass,a=t.removeClass;return!(K(n)&&K(r)||K(i)&&K(a))&&(o(n,a)||o(r,i))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$Map","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(i,o,v,g,w,x,C,S,k,E,A){function T(e){Q.delete(e.target)}function O(){var e=!1;return function(t){e?t():o.$$postDigest(function(){e=!0,t()})}}function M(e,t){return m(e,t,{})}function D(e,t,n){var r=[],i=te[n];return i&&F(i,function(i){ue.call(i.node,t)?r.push(i.callback):"leave"===n&&ue.call(i.node,e)&&r.push(i.callback)}),r}function N(e,t,n){var r=u(t);return e.filter(function(e){return!(e.node===r&&(!n||e.callback===n))})}function j(e,t){"close"!==e||t.parentNode||ce.off(t)}function P(e,t,n){function u(e,t,n,r){T(function(){var e=D(S,w,t);e.length?i(function(){F(e,function(e){e(g,n,r)}),j(n,w)}):j(n,w)}),e.progress(t,n,r)}function f(e){b(g,v),se(g,v),p(g,v),v.domOperation(),E.complete(!e)}var v=H(n),g=s(e),w=$(g),S=w&&w.parentNode;v=d(v);var E=new C,T=O();if(B(v.addClass)&&(v.addClass=v.addClass.join(" ")),v.addClass&&!J(v.addClass)&&(v.addClass=null),B(v.removeClass)&&(v.removeClass=v.removeClass.join(" ")),v.removeClass&&!J(v.removeClass)&&(v.removeClass=null),v.from&&!Y(v.from)&&(v.from=null),v.to&&!Y(v.to)&&(v.to=null),!(Z&&w&&oe(w,t,n)&&ae(w,v)))return f(),E;var N=["enter","move","leave"].indexOf(t)>=0,P=A(),V=P||Q.get(w),U=!V&&G.get(w)||{},_=!!U.state;if(V||_&&U.state===l||(V=!R(w,S,t)),V)return P&&u(E,t,"start",r(v)),f(),P&&u(E,t,"close",r(v)),E;N&&L(w);var z={structural:N,element:g,event:t,addClass:v.addClass,removeClass:v.removeClass,close:f,options:v,runner:E};if(_){if(a("skip",z,U))return U.state===h?(f(),E):(m(g,U,z),U.runner);if(a("cancel",z,U))if(U.state===h)U.runner.end();else{if(!U.structural)return m(g,U,z),U.runner;U.close()}else{if(a("join",z,U)){if(U.state!==h)return y(k,g,N?t:null,v),t=z.event=U.event,v=m(g,U,z),U.runner;M(g,z)}}}else M(g,z);var W=z.structural;if(W||(W="animate"===z.event&&Object.keys(z.options.to||{}).length>0||c(z)),!W)return f(),I(w),E;var K=(U.counter||0)+1;return z.counter=K,q(w,l,z),o.$$postDigest(function(){g=s(e);var n=G.get(w),i=!n;n=n||{};var o=g.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||c(n));if(i||n.counter!==K||!a)return i&&(se(g,v),p(g,v)),(i||N&&n.event!==t)&&(v.domOperation(),E.end()),void(a||I(w));t=!n.structural&&c(n,!0)?"setClass":n.event,q(w,h);var l=x(g,t,n.options);E.setHost(l),u(E,t,"start",r(v)),l.done(function(e){f(!e);var n=G.get(w);n&&n.counter===K&&I(w),u(E,t,"close",r(v))})}),E}function L(e){var t=e.querySelectorAll("["+be+"]");F(t,function(e){var t=parseInt(e.getAttribute(be),10),n=G.get(e);if(n)switch(t){case h:n.runner.end();case l:G.delete(e)}})}function I(e){e.removeAttribute(be),G.delete(e)}function R(e,t,n){var r,i=g[0].body,o=$(v),a=e===i||"HTML"===e.nodeName,s=e===o,u=!1,c=Q.get(e),l=X.data(e,we);for(l&&(t=$(l));t&&(s||(s=t===o),t.nodeType===V);){var f=G.get(t)||{};if(!u){var d=Q.get(t);if(!0===d&&!1!==c){c=!0;break}!1===d&&(c=!1),u=f.structural}if(K(r)||!0===r){var p=X.data(t,U);z(p)&&(r=p)}if(u&&!1===r)break;if(a||(a=t===i),a&&s)break;t=s||!(l=X.data(t,we))?t.parentNode:$(l)}return(!u||r)&&!0!==c&&s&&a}function q(e,t,n){n=n||{},n.state=t,e.setAttribute(be,t);var r=G.get(e),i=r?_(r,n):n;G.set(e,i)}var G=new w,Q=new w,Z=null,ee=o.$watch(function(){return 0===S.totalPendingRequests},function(e){e&&(ee(),o.$$postDigest(function(){o.$$postDigest(function(){null===Z&&(Z=!0)})}))}),te=Object.create(null),ne=t.customFilter(),re=t.classNameFilter(),ie=function(){return!0},oe=ne||ie,ae=re?function(e,t){var n=[e.getAttribute("class"),t.addClass,t.removeClass].join(" ");return re.test(n)}:ie,se=f(k),ue=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},ce={on:function(e,t,n){var r=u(t);te[e]=te[e]||[],te[e].push({node:r,callback:n}),X(t).on("$destroy",function(){G.get(r)||ce.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||J(arguments[0])){var r=te[e];r&&(te[e]=1===arguments.length?null:N(r,t,n))}else{t=arguments[0];for(var i in te)te[i]=N(te[i],t)}},pin:function(e,t){n(W(e),"element","not an element"),n(W(t),"parentElement","not an element"),e.data(we,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,P(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!Z;else{if(W(e)){var r=$(e);1===n?t=!Q.get(r):(Q.has(r)||X(e).on("$destroy",T),Q.set(r,!t))}else t=Z=!!e}return t}};return ce}]}],Ce=function(){var e="$$ngAnimateParentKey",t=0,n=Object.create(null);this.$get=[function(){return{cacheKey:function(n,r,i,o){var a=n.parentNode,s=a[e]||(a[e]=++t),u=[s,r,n.getAttribute("class")];return i&&u.push(i),o&&u.push(o),u.join(" ")},containsCachedAnimationWithoutDuration:function(e){var t=n[e];return t&&!t.isValid||!1},flush:function(){n=Object.create(null)},count:function(e){var t=n[e];return t?t.total:0},get:function(e){var t=n[e];return t&&t.value},put:function(e,t,r){n[e]?(n[e].total++,n[e].value=t):n[e]={total:1,value:t,isValid:r}}}}]},Se=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner",u="$$animatePrepareClasses";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$Map","$$rAFScheduler","$$animateCache",function(e,s,c,l,h,v,m){function g(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,o=n.parentNode;i.set(n,e);for(var a;o;){if(a=i.get(o)){a.processed||(a=t(a));break}o=o.parentNode}return(a||r).children.push(e),e}var n,r={children:[]},i=new h;for(n=0;n<e.length;n++){var o=e[n];i.set(o.domNode,e[n]={domNode:o.domNode,element:o.element,fn:o.fn,children:[]})}for(n=0;n<e.length;n++)t(e[n]);return function(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,o=0,a=[];for(t=0;t<r.length;t++){var s=r[t];i<=0&&(i=o,o=0,n.push(a),a=[]),a.push(s),s.children.forEach(function(e){o++,r.push(e)}),i--}return a.length&&n.push(a),n}(r)}var y=[],b=f(e);return function(f,h,w){function x(e){var t="["+o+"]",n=e.hasAttribute(o)?[e]:e.querySelectorAll(t),r=[];return F(n,function(e){var t=e.getAttribute(o);t&&t.length&&r.push(e)}),r}function C(e){var t=[],n={};F(e,function(e,r){var i=e.element,a=$(i),s=e.event,u=["enter","move"].indexOf(s)>=0,c=e.structural?x(a):[];if(c.length){var l=u?"to":"from";F(c,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][l]={animationID:r,element:X(e)}})}else t.push(e)});var r={},i={};return F(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,c=u.toString();return void(r[c]||(r[c]=!0,t.push(e[u])))}var l=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var p=i[d]={structural:!0,beforeStart:function(){l.beforeStart(),f.beforeStart()},close:function(){l.close(),f.close()},classes:S(l.classes,f.classes),from:l,to:f,anchors:[]};p.classes.length?t.push(p):(t.push(l),t.push(f))}i[d].anchors.push({out:a.element,in:s.element})}),t}function S(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var o=0;o<t.length;o++)if(i===t[o]){n.push(i);break}}return n.join(" ")}function k(e){for(var t=a.length-1;t>=0;t--){var n=a[t],r=c.get(n),i=r(e);if(i)return i}}function E(){j=(j?j+" ":"")+q,e.addClass(f,j);var t=f.data(u);t&&(e.removeClass(f,t),t=null)}function A(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function T(){var e=i(f);!e||"leave"===h&&w.$$domOperationFired||e.end()}function O(t){f.off("$destroy",T),n(f),b(f,w),p(f,w),w.domOperation(),j&&e.removeClass(f,j),D.complete(!t)}w=d(w);var M=["enter","move","leave"].indexOf(h)>=0,D=new l({end:function(){O()},cancel:function(){O(!0)}});if(!a.length)return O(),D;var N=r(f.attr("class"),r(w.addClass,w.removeClass)),j=w.tempClasses;return j&&(N+=" "+j,w.tempClasses=null),M&&f.data(u,"ng-"+h+"-prepare"),t(f,D),y.push({element:f,classes:N,event:h,structural:M,options:w,beforeStart:E,close:O}),f.on("$destroy",T),y.length>1?D:(s.$$postDigest(function(){var t=[];F(y,function(e){i(e.element)?t.push(e):e.close()}),y.length=0;var n=C(t),r=[];F(n,function(e){var t=e.from?e.from.element:e.element,n=w.addClass;n=(n?n+" ":"")+q;var o=m.cacheKey(t[0],e.event,n,w.removeClass);r.push({element:t,domNode:$(t),fn:function(){var t,n=e.close;if(m.containsCachedAnimationWithoutDuration(o))return void n();if(e.beforeStart(),i(e.anchors?e.from.element||e.to.element:e.element)){var r=k(e);r&&(t=r.start)}if(t){var a=t();a.done(function(e){n(!e)}),A(e,a)}else n()}})});for(var o=g(r),a=0;a<o.length;a++)for(var s=o[a],c=0;c<s.length;c++){var l=s[c],f=l.element;if(o[a][c]=l.fn,0!==a){var d=f.data(u);d&&e.addClass(f,d)}else f.removeData(u)}v(o)}),D)}}]}],ke=["$animate",function(e){return{restrict:"A",transclude:"element",terminal:!0,priority:550,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r.for,function(t){a&&e.leave(a),s&&(s.$destroy(),s=null),(t||0===t)&&o(function(t,r){a=t,s=r,e.enter(t,null,n)})})}}}];t.module("ngAnimate",[],function(){Q=t.noop,H=t.copy,_=t.extend,X=t.element,F=t.forEach,B=t.isArray,J=t.isString,Y=t.isObject,K=t.isUndefined,z=t.isDefined,G=t.isFunction,W=t.isElement}).info({angularVersion:"1.7.8"}).directive("ngAnimateSwap",ke).directive("ngAnimateChildren",ce).factory("$$rAFScheduler",ue).provider("$$animateQueue",xe).provider("$$animateCache",Ce).provider("$$animation",Se).provider("$animateCss",me).provider("$$animateCssDriver",ge).provider("$$animateJs",$e).provider("$$animateJsDriver",ye)}(window,window.angular),define("angularAnimate",["angular"],function(){}),function(e){if("object"==typeof module&&"object"==typeof module.exports){var t=e(require,exports);void 0!==t&&(module.exports=t)}else"function"==typeof define&&define.amd&&define("angularElement",["jquery.tiny","angular"],e)}(function(e,t){function n(){new Date-r<o?setTimeout(n,o):(i=!1,t.element(window).triggerHandler("resizeEnd"))}e.fn.replaceClass=function(n,r){this.length<1||t.forEach(this,function(t){var i=this.getAttribute("class");i.length<1?e(this).addClass(r):i=i.replace(n,r),this.setAttribute("class",i)})},e.fn.cssSelect=function(t){return e(this.length<1?document:this).find(t)},e.fn.offset=function(e){var t=this[0],n=0,r=0;do{t&&(n+=t.offsetTop||0,r+=t.offsetLeft||0,t=t.offsetParent),e&&t==e&&(t=!1)}while(t);return{top:Math.round(n),left:Math.round(r)}},e.fn.getStyle=function(t,n){var r=this[0],i=e(r).css(t);return n?parseFloat(i):i},e.fn.contentSize=function(){var e=this[0],t=getComputedStyle(e),n=e.clientHeight,r=e.clientWidth;return n-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),r-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),{width:r,height:n}};var r=new Date(1,1,2e3,12,0,0),i=!1,o=200;t.element(window).on("resize",function(){r=new Date,!1===i&&(i=!0,setTimeout(n,o))}),function(e,t){function n(e){return e.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function r(e){return i?i+e:e.toLowerCase()}var i,o,a,s,u,c,l,f,d,p,h="",v={Webkit:"webkit",Moz:"",O:"o"},m=document.createElement("div"),g=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,$={};e.each(v,function(e,t){if(void 0!==m.style[e+"TransitionProperty"])return h="-"+e.toLowerCase()+"-",i=t,!1}),o=h+"transform",$[a=h+"transition-property"]=$[s=h+"transition-duration"]=$[c=h+"transition-delay"]=$[u=h+"transition-timing-function"]=$[l=h+"animation-name"]=$[f=h+"animation-duration"]=$[p=h+"animation-delay"]=$[d=h+"animation-timing-function"]="",e.fxz={off:void 0===i&&void 0===m.style.transitionProperty,speeds:{_default:400,fast:200,slow:600},cssPrefix:h,transitionEnd:r("TransitionEnd"),animationEnd:r("AnimationEnd")},e.fn.animate3=function(t,n,r,i,o){return e.isFunction(n)&&(i=n,r=void 0,n=void 0),e.isFunction(r)&&(i=r,r=void 0),e.isPlainObject(n)&&(r=n.easing,i=n.complete,o=n.delay,n=n.duration),n&&(n=("number"==typeof n?n:e.fxz.speeds[n]||e.fxz.speeds._default)/1e3),o&&(o=parseFloat(o)/1e3),this.anim3(t,n,r,i,o)},e.fn.anim3=function(t,r,i,h,v){var m,y,b,w={},x="",C=this,S=e.fxz.transitionEnd,k=!1;if(void 0===r&&(r=e.fxz.speeds._default/1e3),void 0===v&&(v=0),e.fxz.off&&(r=0),"string"==typeof t)w[l]=t,w[f]=r+"s",w[p]=v+"s",w[d]=i||"linear",S=e.fxz.animationEnd;else{y=[];for(m in t)g.test(m)?x+=m+"("+t[m]+") ":(w[m]=t[m],y.push(n(m)));x&&(w[o]=x,y.push(o)),r>0&&"object"==typeof t&&(w[a]=y.join(", "),w[s]=r+"s",w[c]=v+"s",w[u]=i||"linear")}return b=function(t){if(void 0!==t){if(t.target!==t.currentTarget)return;e(t.target).unbind(S,b)}else e(this).unbind(S,b);k=!0,e(this).css($),h&&h.call(this)},r>0&&(this.bind(S,b),this.data("anim3Timeout",setTimeout(function(){k||(b.call(C),C.data("anim3Timeout",null))},1e3*(r+v)+25))),this.length&&this.get(0).clientLeft,this.css(w),r<=0&&setTimeout(function(){C.each(function(){b.call(this)})},0),this},e.fn.animate||(e.fn.animate=e.fn.animate3),e.fn.animate3Cancel=function(){e(this).css($),e(this).unbind(e.fxz.transitionEnd),e(this).unbind(e.fxz.animationEnd),e(this).each(function(){clearTimeout(e(this).data("anim3Timeout")),e(this).data("anim3Timeout",null)})},m=null}(e);var a=function(){var e=null;return function(){if(null!==e)return e;e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}}();e.fn.scrollEnd=function(){var t=e(this),n=function(){t.data("scrollTimeout")&&clearTimeout(t.data("scrollTimeout")),t.data("scrollTimeout",setTimeout(function(){t.trigger("scrollend")},250))};return t.data("hasScrollEnd",!0),t[0].addEventListener("scroll",n,!!a()&&{passive:!0}),{destroy:function(){t[0].removeEventListener("scroll",n),t.data("hasScrollEnd",!1),clearTimeout(t.data("scrollTimeout"))}}}}),define("jquery.ripple",["jquery.tiny","jquery.vclick"],function(e){function t(t,r,i){var o=r.target;if(!o.classList.contains("rippleJS"))return!1;var a=o.getAttribute("data-event");if(a&&a!=t)return!1;o.setAttribute("data-event",t);var s,u=o.getBoundingClientRect(),c=r.offsetX;void 0!==c?s=r.offsetY:(c=r.clientX-u.left,s=r.clientY-u.top);var l,f=document.createElement("div");l=u.width==u.height?1.412*u.width:Math.sqrt(u.width*u.width+u.height*u.height);var d=2*l+"px";f.style.width=d,f.style.height=d,f.style.marginLeft=-l+c+"px",f.style.marginTop=-l+s+"px",f.className="ripple",o.appendChild(f),n(function(){f.classList.add("held"),window.setTimeout(function(){f.classList.add("done"),window.setTimeout(function(){e(o).find(f).length>0&&(o.removeChild(f),o.removeAttribute("data-event"))},300)},50)})}var n=function(){if("undefined"!=typeof window){if(window.requestAnimationFrame)return function(e,t){return window.requestAnimationFrame.apply(window,[e,t])};var e=0,t=function(t,n){var r=(new Date).getTime(),i=Math.max(0,16-(r-e)),o=window.setTimeout(function(){t(r+i)},i);return e=r+i,o}}else t=function(e){e()};return t}();if(!function(){var e=document.createElement("div");e.className="rippleJS",document.body.appendChild(e);var t=window.getComputedStyle(e),n="absolute"==t.position;return document.body.removeChild(e),n}()){!function(e){var t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),document.head.insertBefore(t,document.head.firstChild)}('/*rippleJS*/.rippleJS,.rippleJS.fill:after{position:absolute;top:0;left:0;right:0;bottom:0}.rippleJS{display:block;overflow:hidden;border-radius:inherit;-webkit-mask-image:-webkit-radial-gradient(circle,#fff,#000)}.rippleJS.fill:after{content:""}.rippleJS.fill{border-radius:1000000px}.rippleJS .ripple{position:absolute;border-radius:100%;background:currentColor;opacity:.2;width:0;height:0;-webkit-transition:-webkit-transform .2s ease-out,opacity .4s ease-out;transition:transform .2s ease-out,opacity .4s ease-out;-webkit-transform:scale(0.1);transform:scale(0.1);pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.rippleJS .ripple.held{opacity:.2;-webkit-transform:scale(1);transform:scale(1)}.rippleJS .ripple.done{opacity:0}.rippleJS.rounded{border-radius:50%;left:50%;top:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);bottom:auto;right:auto;width:30px;height:30px;z-index:2 }')}var r=function(e){var r=this;n(function(){i||t(e.type,e,r)})},i=!1;return e(window).on("scrollstart",function(){i=!0}),e(window).on("scrollstop",function(){i=!1}),document.createElement("ripple"),{add:function(t,n){e(t).off("vmousedown",r),e(t).on("vmousedown",r);var i=e(t).css("position");"relative"!==i&&"absolute"!==i&&"fixed"!==i&&e(t).css("position","relative"),e(t).append('<ripple class="rippleJS"></ripple>'),n&&e(t).find("ripple").addClass("rounded")},remove:function(t){e(t).off("vmousedown",r),e(t).find("ripple").remove()}}}),define("angularExtras",["jquery.tiny","angular","jquery.vclick","angularElementScroll","angularAnimate","angularElement","polyfills","jquery.ripple"],function(e,t,n){require(["nouislider"]);var r=require("polyfills"),i=r.isEmpty,o=r.String.isEmpty,a=r.Number.isNumber,s=r.Number.toNumber,u=require("jquery.ripple");Number.prototype.formatMoney=function(e,t,n,i){var o=this;return r.Number.formatMoney(o,e,t,n,i)},t.module("extra",["duScroll"]).constant("date",r.Date).constant("$viewport",function(){var e={},n={},r={body:t.element(document).cssSelect("#viewport").eq(0),data:function(t,n){if(void 0==n)return e[t];e[t]=n},scrolling:!1,scrollTop:function(e){if(void 0==e)return this.body.prop("scrollTop");this.body.prop("scrollTop",e)},scrollStop:function(e){setTimeout(function(){for(var t=r.data("scrollTop");r.scrollTop()!=t;)r.scrollTop(t);e&&e()})},scrollHeight:function(){return this.body.prop("scrollHeight")},scrollTopFixed:function(e,t){var n,i=function(e){r.scrollTop()!==n&&r.scrollTop(n),e.preventDefault(),e.stopImmediatePropagation()};n=t||this.scrollTop(),this.body.off("scroll",i),e&&this.body.on("scroll",i)},setBody:function(e){r.body=e},setup:function(){r.data("scrollTop",0),r.body.fastfocus(!0),r.body.fastswitch(!0),r.body.on("scroll",function(){r.data("scrollTop",r.scrollTop()),t.element(document).trigger("scrolling")})},scrollSave:function(e){n.scrl=void 0!==e?e:this.body.prop("scrollTop")},scrollRestore:function(){this.data("scrollTo",n.scrl),n.scrl=1}};return r}()).run(["$viewport","$rootScope",function(e,t){e.setup()}]).directive("ngDropdown",["$timeout","$viewport","$document","$rootScope",function(e,n,r,i){return{restrict:"A",scope:{modelValue:"=ngModel"},transclude:!0,template:'<span class="{{selected_class}}" ng-if="!no_select && !empty_select" hm-highlight>{{displayValue}}</span><span class="{{placeholder_class}}" ng-if="(no_select || empty_select) && placeholder"  hm-highlight>{{placeholder}}</span><ul class="ng-animate-enabled basic-trans ng-hide" ng-class="[list_class,{ fast: !$root.isAndroid, enter : !$root.isAndroid }]" ng-show="list_opened" hm-tap="preventEv($event)" hm-options="{ ripple: false }"><li ng-class="[item_class,{ active : value == displayValue  }]" ng-repeat="value in displayList track by $index" hm-tap="select($event,value,$index)">{{value}}</li></ul>',compile:function(o,a){return{pre:function(e,t,n){var r=e.$eval(n.ngDropdown)||{};e.list_class=r.listClass||"ng-dropdown-list",e.item_class=r.itemClass||"ng-dropdown-item",e.placeholder_class=r.placeholderClass||"ng-dropdown-placeholder",e.selected_class=r.selectedClass||"ng-dropdown-selected",e.no_select=void 0!==r.noSelect&&r.noSelect,e.placeholder=void 0!==r.placeholder?r.placeholder:"Choose...",e.change_list_position=r.changeListPosition,e.list_opened=!1,e.displayValue,e.empty_select,e.preventEv=function(e){e.stopPropagation()},e.displayList=[];var i=void 0!==r.arrowClass?r.arrowClass:"ng-dropdown-arrow bf-icon-down-open";i&&t.append('<i class="'+i+'"></i>')},post:function(o,a,s){var u=o.$eval(s.ngDropdown)||{},c=[],l=[];o.$watch(s.ngDropdown,function(e){e=o.$eval(s.ngDropdown)||{},l=e.list||[],c=[],o.displayList=[];for(var n in l)t.isArray(l[n])?(c[n]=l[n][1],o.displayList[n]=l[n][0]):(c[n]=l[n],o.displayList[n]=l[n])},!0),o.$watch("modelValue",function(e){u=o.$eval(s.ngDropdown)||{};var n,r=c.indexOf(e);r>-1?(n=o.displayList[r],t.equals(o.displayValue,n)||(o.displayValue=n),o.empty_select=!1):o.empty_select=!0,o.list_opened=!1,u.afterSelect&&u.afterSelect(n,r,e)});var f;o.$watch("list_opened",function(t){e.cancel(f);var i=a.find("ul"),s=u.offsetParent?a.find("ul").parents(u.offsetParent).prop("scrollHeight"):n.body.prop("scrollHeight");parentWidth=u.offsetParent?a.find("ul").parents(u.offsetParent).prop("clientWidth"):n.body.prop("clientWidth"),f=e(function(){if(t){if(o.change_list_position){var e=0,n=parentWidth-(a.offset().left+a.prop("clientWidth")),c=i.prop("clientWidth");a.prop("clientWidth")+n<c&&(e=a.prop("clientWidth")+n-c-15),i.css({left:e+"px"})}var l=i.offset(!!u.offsetParent&&a.find("ul").parents(u.offsetParent)).top+i.prop("offsetHeight");s<l?i.addClass("upwards"):i.removeClass("upwards"),r.one("vclick",d)}else i.removeClass("upwards"),r.off("vclick",d)})}),o.select=function(t,n,r){u=o.$eval(s.ngDropdown)||{},e(function(){o.displayValue=n,o.modelValue=c[r],o.list_opened=!1,u.onSelect&&u.onSelect(n,r,o.modelValue)},i.isAndroid?1:100)},o.indexSelect=function(e){o.displayValue=o.displayList[e],o.modelValue=c[e]};var d=function(e){o.$applyAsync(function(e){e.list_opened=!1})};a.on("vclick",function(t){var i=o.$eval(s.ngDropdown)||{};if(!1===i.enabled)return!1;o.list_opened||i.noBubble||r.trigger("vclick"),t.stopPropagation(),e(function(){o.list_opened=!o.list_opened},n.data("android")?200:0)});var p=function(){r.off("vclick",d),a.off("vclick")};o.$on("$destroy",p),a.one("$destroy",p)}}}}}]).directive("ngSlider",["$document",function(e){return{restrict:"AE",require:"ngModel",link:function(e,n,r,i){var o,o=n[0],u=!1,c=r.ngModel;require(["nouislider"],function(l){var f=e.$watch(r.ngSlider,function(n){var r=n||{};o.noUiSlider&&o.noUiSlider.destroy(),l.create(o,t.extend({start:0,step:1,orientation:"horizontal",connect:"lower",range:{min:0,max:100}},r)),o.noUiSlider.off("slide"),o.noUiSlider.on("slide",function(e){u=!0}),o.noUiSlider.off("change"),o.noUiSlider.on("change",function(t){u=!1,e.$applyAsync(function(){i.$setViewValue(s(t[0])),i.$render()})}),o.noUiSlider.set(e.$eval(c))},!0),d=e.$watch(r.ngModel,function(e){u||o.noUiSlider&&o.noUiSlider.set(a(e)?e:0)});n.one("$destroy",function(){f(),d(),o.noUiSlider&&o.noUiSlider.destroy()})})}}}]).directive("ngHtmlContent",["$compile","$injector","$timeout",function(e,t,n){return{restrict:"A",link:function(n,r,i){n.$watch(i.ngHtmlContent,function(o,a){var s;t.has("$sanitize")?t.invoke(["$sanitize",function(e){var t=n.$eval(i.ngHtmlSanitize);s=t?e(o):o}]):s=o,r.html(s),e(r.contents())(n)})}}}]).directive("ngNoAutoFocus",["$timeout",function(e){return{restrict:"A",compile:function(t,n){return{pre:function(e,t,n){t.attr("readonly",!0)},post:function(t,n,r){e(function(){n.removeAttr("readonly")},500)}}}}}]).directive("ngFocusWhen",["$timeout",function(e){return{restrict:"A",link:function(t,n,r){t.$watch(r.ngFocusWhen,function(t){t&&e(function(){n.focus()})})}}}]).directive("ngTabNext",["$timeout",function(e){return{restrict:"A",link:function(e,n,i){var o=function(o){if(8==o.keyCode)return!1;var a=r.String.trim(n.val()).length;state=e.$eval(i.ngTabNext),maxln=state.length||s(n.attr("maxlength")),cond=maxln<=a,el=t.element().cssSelect(state.selector),cond&&el.focus().caret(0)};n.on("keyup",o),e.$on("$destroy",function(){n.off("keyup",o)})}}}]).directive("ngTabPrevious",["$timeout",function(e){return{restrict:"A",link:function(e,n,i){var o=function(o){var a=e.$eval(i.ngTabPrevious),s=t.element().cssSelect(a.selector),u=r.String.trim(n.val()).length;8==o.keyCode&&(0==u||n.caret()<=0)&&s.focus().caret(s.val().length)},a=function(o){var a=e.$eval(i.ngTabPrevious),s=t.element().cssSelect(a.selector),u=r.String.trim(n.val()).length;8==o.keyCode&&0==u&&0==u&&s.focus().caret(s.val().length)};n.on("keyup",o).on("keydown",a),e.$on("$destroy",function(){n.off("keyup",o).off("keydown",a)})}}}]).directive("ngToolTip",["$animate","$viewport","$compile","$document","$window","$timeout",function(e,n,r,i,o,c){return{restrict:"A",link:function(l,f,d){var p=document.createElement("div"),h=t.element(p),v=t.merge({ripple:!0,width:400,offsetParent:n.body,offset:{top:0,left:0},class:"ng-tooltip",closeClass:"close-bt bf-icon-cross"},l.$eval(d.ngToolTipOptions)),m=v.offsetParent;h.addClass(v.class).addClass("ng-animate-enabled").append('<div class="'+v.closeClass+'"></div><div class="tail"></div><div class="content" tooltip-content></div>');var g=h.children("div").eq(0);g.css({"touch-action":"manipulation","-webkit-user-select":"none","-webkit-user-drag":"none","-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)"}),f.css({"touch-action":"manipulation","-webkit-user-select":"none","-webkit-user-drag":"none","-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)"}),"static"==f.getStyle("position")&&f.css("position","relative");var $=function(e){e.preventDefault(),e.stopPropagation()},y=function(){l.$applyAsync(function(){h&&e.leave(h),v.onClose&&v.onClose(),w=!1})},b=function(){var e="string"==typeof m?t.element(document).cssSelect(m):m;e.prop("clientWidth");e.css("overflow-y","scroll");e.prop("scrollWidth");if(h){h.css({width:v.width+"px"});var r=Math.min(f.offset(e).left+v.offset.left,e.prop("clientWidth")-h.prop("offsetWidth")-15);r<15?(width=v.width+(r-15),r=15):width=v.width;var i=f[0].getBoundingClientRect(),o=i.top+e.prop("scrollTop");if(e.is("body")){var u=f[0].offsetParent;for(o=i.top;u;)o+=t.element(u).prop("scrollTop"),u=u.offsetParent}var c=s(e.css("border-top-width"));a(c)||(c=0),o-=c;var l=s(n.body.css("padding-top"));a(l)||(l=0),o-=l;var d=Math.min(o+f.prop("offsetHeight")+v.offset.top,e.prop("scrollHeight")-15)
;e.is("body")&&d<f.offset().top?d=Math.min(f.offset().top+f.prop("offsetHeight")+v.offset.top,e.prop("scrollHeight")-15):d<o&&(d=Math.min(o+f.prop("offsetHeight")+v.offset.top,e.prop("scrollHeight")-15)),h.css({width:width+"px",left:r+"px",top:d+"px"}),e.css("overflow-y","")}},w=!1;n.data("android")&&v.ripple&&u.add(f,!0),f.on("vclick",function(n){var a=l.$eval(d.ngToolTipEnabled);void 0==a&&(a=!0),a&&(c(function(){if(w)return w=!1,y(),!1;w=!0,i.trigger("vclick");var n="string"==typeof m?t.element(document).cssSelect(m):m,a=document.createElement("div");t.element(a).prop("innerHTML",l.$eval(d.ngToolTip));var s=r(t.element(a).contents())(l.$parent);h.cssSelect("[tooltip-content]").html("").append(s),t.forEach(h.find("input"),function(e,t,n){n.data("disabled",n.attr("disabled")),n.attr("disabled","disabled")}),h.css({width:"0px",left:"-999px",top:"-999px"}),e.on("leave",h,function(e,n){h&&(h.off("vclick"),h.find(".close-bt").off("vclick")),i.off("vclick",y),t.element(o).off("resize",y)}),e.on("enter",h,function(e,n){h&&"start"==n&&(t.element(o).one("resize",y),setTimeout(function(){var e="string"==typeof m?t.element(document).cssSelect(m):m,n=e.prop("scrollHeight");b(),e.prop("scrollHeight")>n&&h.css({top:h.getStyle("top",!0)-(e.prop("scrollHeight")-n+15)+"px"})}))}),e.enter(h,n).then(function(){h&&(t.forEach(h.find("input"),function(e,t,n){n.data("disabled")?n.attr("disabled",n.data("disabled")):n.removeAttr("disabled")}),h.on("vclick",$),g.one("vclick",function(e){y(),$(e)}),i.one("vclick",y))})}),n.preventDefault(),n.stopPropagation())});var x=function(){h&&(h.off("vclick"),g.off("vclick",y),y(),e.off(h),h.remove()),i.off("vclick",y),t.element(o).off("resize",y),f.off("vclick"),u.remove(f),h=void 0,p=void 0,g=void 0};l.$on("$destroy",x),f.one("$destroy",x)}}}]).directive("ngAutocomplete",["$animate","$http","$q","$parse","$viewport","$document","$timeout","$injector",function(e,n,r,i,o,a,s,u){return{restrict:"A",scope:{key:"=ngKey",selectHandler:"=ngAutoselect",progress:"=ngAutoprogress",responseHandler:"=ngAutoresponse",cancelHandler:"=ngAutocanceled",autoDisplay:"=ngAutodisplay"},transclude:!0,template:'<ul class="ng-autocomplete-list ng-animate-enabled basic-trans enter fast" ng-if="hasResult"><li class="ng-autocomplete-item" data-ng-repeat="value in ul track by $index" hm-tap="select($event,$index)">{{::value}}</li></ul>',compile:function(e,i){var o,c,l,f;return{pre:function(e,n,r){o=t.extend({minlength:1,url:!1,list:"list",method:"GET",keyName:"key"},e.$eval(r.ngAutocomplete)),e.select=function(t,n){e.key=e.list[0][n],c=e.key;var r=[t];for(var i in e.list)r.push(e.list[i][n]);e.selectHandler&&e.selectHandler.apply(this,r),l=!0,setTimeout(function(){l=!1,a.off("vclick",f)},100)},c=e.key,f=function(t){e.$applyAsync(function(e){e.hasResult=!1,e.cancelHandler&&!l&&e.cancelHandler()})}},post:function(e,t,i){var l;e.$watch("key",function(t){if(e.hasResult=!1,e.progress=!1,e.autoDisplay=!1,!t||t.length<o.minlength||t==c)return void(l&&l.resolve(!0));c=t,l?l.resolve(!0):l=r.defer(),l=r.defer(),e.ul=[];var i={};i[o.keyName]=t;var a={url:o.url,method:o.method,timeout:l.promise,id:"auto-complete-list",events:!1,ignore_connection:!0,anonymous:!0,required:!1};"POST"==o.method?a.data=i:a.params=i,e.progress=!0;var s;u.has("$api")&&(n=u.get("$api").http,s=!0),o.url&&n(a).then(function(t){var n,r=s?t:t.data,i=e.responseHandler?e.responseHandler(r):r;n=o.list.indexOf("|")>-1?o.list.split("|"):[o.list],e.ul=i[n[0]]||[],e.list=function(){for(var e=[],t=0,r=n.length;t<r;t++)e.push(i[n[t]]);return e}(),e.ul.length>0?e.hasResult=!0:e.hasResult=!1,e.progress=!1},function(){e.hasResult=!1,e.progress=!1})});var d=200;e.$watch("autoDisplay",function(t){t?e.ul&&e.ul.length>0&&s(function(){e.hasResult=!0,d=200}):d=0}),e.$watch("hasResult",function(e){setTimeout(function(){e&&(a.off("vclick",f),a.one("vclick",f))},d)}),e.$on("$destroy",function(){l&&l.resolve(!0),a.off("vclick",f),e.progress=!1})}}}}}]).directive("ngScrollTo",["$viewport","$parse","$timeout","$rootScope",function(e,n,r,i){function o(e){return!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}return{restrict:"A",link:function(r,a,u){var c=u.ngScrollTo,l=u.ngScrollBefore,f=u.ngScrollAfter,d=r.$watch(c,function(e){e&&setTimeout(function(){o(a[0])||a.triggerHandler("scrollToMeAnim")})}),p=function(){var n=t.merge({offset:0,parent:e.body},r.$eval(u.ngScrollOptions)),o="string"==typeof n.parent?"document"==n.parent?t.element().cssSelect("body"):t.element(document).cssSelect(n.parent):n.parent;if(n.offset+=s(o.css("border-top-width")),a[0].getBoundingClientRect().top<0&&n.offset==s(o.css("border-top-width"))&&i.isWeb){var c=document.querySelector("#viewport>header");c&&(n.offset=c.offsetHeight)}return n};a.on("scrollToMeAnim",function(){var i=p(),o="string"==typeof i.parent?"document"==i.parent?t.element(document):t.element(document).cssSelect(i.parent):i.parent;f&&(f=n(f).bind(null,r)),l&&r.$eval(l),void 0!==i.speed&&0==i.speed?(e.body.css("overflow-y","hidden"),o.duScrollToElement(a,i.offset,0).then(function(){var t=o.prop("scrollTop");r.$applyAsync(function(){f&&f({scrollY:t})}),e.body.css("overflow-y","")})):o.duScrollToElementAnimated(a,i.offset,void 0!==i.speed&&i.speed).then(function(){var e=o.prop("scrollTop");r.$applyAsync(function(){f&&f({scrollY:e})}),o.duScrollToElement(a,i.offset,0)})}),a.on("scrollToMe",function(){var e=p(),i=u.ngScrollBefore,o="string"==typeof e.parent?t.element(document).cssSelect(e.parent):e.parent;i&&r.$eval(i),f&&(f=n(f).bind(null,r)),o.duScrollToElement(a,e.offset,0).then(function(){var t=o.prop("scrollTop");r.$applyAsync(function(){f&&f({scrollY:t})}),o.duScrollToElement(a,e.offset,0)})});var h=function(){a.off("scrollToMeAnim"),a.off("scrollToMe"),d()};r.$on("$destroy",h),a.on("$destroy",h)}}}]).directive("ngScrollControl",["$animate",function(e){return function(n,r,i){e.on("enter",r,function(e,n){t.equals(r,e)&&"close"==n&&e.prev().triggerHandler("scrollToMe")});var o=function(){e.off(r)};n.$on("$destroy",o),r.on("$destroy",o)}}]).directive("ngScrollInView",["$parse","$timeout",function(e,t){function n(e,t){var n=e.getBoundingClientRect().top+(t?t.top||0:0),r=e.getBoundingClientRect().bottom+(t?t.bottom||0:0),i=e.getBoundingClientRect().height,o=window.innerHeight,a=Math.round(.45*o),s=Math.round(.55*o),u=i>Math.round(.45*o),c=n>=0&&r<=o,l=u&&(r>=s&&r<=o||n>=0&&n<=a||n<=0&&r>=o);return i>0&&(c||l)}return{restrict:"A",scope:{inView:"&ngScrollInView",offView:"&ngScrollOffView",offset:"<ngScrollOffset"},link:function(r,i,o){var a=e(r.inView),s=e(r.offView),u=function(){var e=r.offset||{},o=n(i[0],e);t(o?function(){a()}:function(){s()})},c=function(){$(window).off("scrollend",u)};i.one("$destroy",c),r.$on("$destroy",c),u(),$(window).on("scrollend",u)}}}]).directive("ngMaxChar",function(){return{require:"ngModel",link:function(e,t,n,r){function i(e){if(e.length>o){var t=e.substring(0,o);return r.$setViewValue(t),r.$render(),t}return e}var o=Number(n.ngMaxChar);r.$parsers.push(i),e.$on("$destroy",function(){r.$parsers.indexOf(i)>-1&&r.$parsers.splice(i,1)})}}}).directive("ngMin",function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){e.$watch(n.ngMin,function(){r.$setViewValue(r.$viewValue)});var o=function(t){var o=e.$eval(n.ngMin)||0;return!i(t)&&t<o?void r.$setValidity("ngMin",!1):(r.$setValidity("ngMin",!0),t)};r.$parsers.push(o),r.$formatters.push(o),e.$on("$destroy",function(){var e=r.$parsers.indexOf(o),t=r.$formatters.indexOf(o);e>-1&&r.$parsers.splice(o,1),t>-1&&r.$formatters.splice(o,1)})}}}).directive("ngMax",function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){e.$watch(n.ngMax,function(){r.$setViewValue(r.$viewValue)});var o=function(t){var o=e.$eval(n.ngMax)||1/0;return!i(t)&&t>o?void r.$setValidity("ngMax",!1):(r.$setValidity("ngMax",!0),t)};r.$parsers.push(o),r.$formatters.push(o),e.$on("$destroy",function(){var e=r.$parsers.indexOf(o),t=r.$formatters.indexOf(o);e>-1&&r.$parsers.splice(o,1),t>-1&&r.$formatters.splice(o,1)})}}}).directive("ngModelSum",function(){return{require:"?ngModelSumOptions",scope:{total:"=ngModelSum",options:"=ngModelSumOptions"},controller:["$scope",function(e){var n=[],r={min:-1/0,max:1/0},i=function(e){var t,i=0,o=r.max;r.min;for(var a in n)i+=isNaN(n[a].ctrl.$modelValue)?0:n[a].ctrl.$modelValue;if(i>o){i=o,other=0;for(var a in n)n[a].ctrl!=e?other+=n[a].ctrl.$modelValue:t=n[a];t&&(t.focused?(t.ctrl.$setViewValue(i-other),t.ctrl.$render(),t.el[0].blur(),setTimeout(function(){t.el[0].focus()})):(t.ctrl.$setViewValue(i-other),t.ctrl.$commitViewValue()))}return i};e.$watch("options",function(e){t.extend(r,e)},!0),this.register=function(t,r,o,a){n.push({ctrl:r,el:t,focused:!1});var s=n[n.length-1],u=function(){s.focused=!0},c=function(){s.focused=!1},l=function(){t.off("focus",u).off("blur",c),delete n[n.indexOf(s)]};t.on("focus",u).on("blur",c),t.one("$destroy",l),a.$watch(o,function(){s.focused&&(e.total=i(r))}),e.$on("$destroy",l),a.$on("$destroy",l)},e.$on("$destroy",function(){r={},n=[]})}]}}).directive("ngSum",function(){return{require:["^ngModelSum","ngModel"],link:function(e,t,n,r){var i=r[0],o=r[1];i.register(t,o,n.ngModel,e)}}}).directive("onlyNumbers",function(){return{require:"ngModel",restrict:"A",link:function(e,t,n,r){var i=n.onlyNumbers;i="string"==i;var a=function(e){if(void 0==e)return"";var t=e.toString().trim();if(o(t))return"";var n=t.replace(/[^0-9]/g,"");return n!=t&&(r.$setViewValue(n),r.$render()),i?n:parseFloat(n)};r.$parsers.push(a),e.$on("$destroy",function(){r.$parsers.indexOf(a)>-1&&r.$parsers.splice(a,1)})}}}).directive("modelMatch",[function(){return{restrict:"A",scope:!0,require:"ngModel",link:function(e,n,r,i){var o=function(){var n=e.$eval(r.ngModel),i=e.$eval(r.modelMatch);return t.equals(n,i)};e.$watch(o,function(e){i.$setValidity("match",e)})}}}]).directive("passMask",["$timeout",function(e){return{require:"ngModel",restrict:"A",link:function(n,r,i,o){var a,s,u,c=null,l=n.$eval(i.ngModel),f=n.$eval(i.passMask)||"•",d=function(e){e.preventDefault()};r.on("paste",d);var p=function(n){if(void 0==n)return"";if(s)return l;l=void 0!==l?l.toString():"",c&&(n.length,c.length),c=n;var i=n.toString(),d=r.caret(),p=i.substring(d-1,d),h=i.substring(0,d-1),v=i.substring(d),m=l.substring(0,h.length),g=l.substring(l.length-v.length),$=p;$==f&&($=""),l=m+$+g;var y=h.replace(/(.)/g,f)+p+v.replace(/(.)/g,f);return u=function(){t.element(document.activeElement).is(r)&&r.caret(d),o.$setViewValue(y),o.$render(),t.element(document.activeElement).is(r)&&r.caret(d)},a&&(e.cancel(a),u()),a=e(function(){s=!0,y=y.replace(/(.)/g,f),u()},1e3),a.then(function(){s=!1}),l},h=function(){r.off("paste",d);var e=o.$parsers.indexOf(p);e>-1&&o.$parsers.splice(e,1)};o.$parsers.push(p),n.$on("$destroy",h),r.one("$destroy",h)}}}]).directive("customOnChange",function(){return{restrict:"A",link:function(e,t,n){var r=e.$eval(n.customOnChange);t.bind("change",r),e.$on("$destroy",function(){t.unbind("change",r)}),t.one("$destroy",function(){t.unbind("change",r)})}}}).directive("ngComposed",["$parse",function(e){return{require:"ngModel",restrict:"A",link:function(t,n,r){t.$watch(r.ngComposed,function(n){e(r.ngModel).assign(t,n.join(""))})}}}]).directive("fallbackSrc",[function(){return{restrict:"A",link:function(e,t,n){t.on("error",function(r){var i=e.$eval(n.fallbackSrc);t.attr("src",i),t.off("error")}),e.$on("$destroy",function(){t.off("error")})}}}]).directive("unfocusPlaceholder",[function(){return{restrict:"A",link:function(e,t,n){var r=t.prop("placeholder");if(r){var i=function(){t.prop("placeholder","")},o=function(){t.prop("placeholder",r)};t.on("focus",i),t.on("blur",o),e.$on("$destroy",function(){t.off("focus",i),t.off("blur",o)})}}}}]).directive("windowScroll",[function(){return{restrict:"A",link:function(e,n,r){var i=n.scrollEnd&&!n.data("hasScrollEnd")?n.scrollEnd():null,o=n.data("hasScrollEnd")?"scrollend":"scrollstop";n.on("scrollstart",function(){t.element(window).trigger("scrollstart")}),n.on(o,function(){t.element(window).trigger(o)}),n.on("$destroy",function(){n.off("scrollstart"),n.off(o);try{i&&(i.destroy(),i=null)}catch(e){}}),e.$on("$destroy",function(){n.off("scrollstart"),n.off(o);try{i&&(i.destroy(),i=null)}catch(e){}})}}}]).directive("ngObserve",["$parse",function(e){return{restrict:"A",priority:1e3,link:function(t,n,r){t.$watch(r.ngObserve,function(n){e(r.ngObserveDo).bind(null,t)({$value:n})})}}}]).directive("ngObserveAttr",["$parse",function(e){return{restrict:"A",priority:999,link:function(t,n,o){var a=o.ngObserveAttr,s=r.String.trim;r.String.isString(a)&&!i(a)&&(a=a.split(","),r.Array.isArray(a)&&t.$watch(function(){var e=!0;return r.Array.forEach(a,function(n){if(!t.$eval(o[s(n)]))return e=!1,!1}),e},function(n){e(o.ngObserveDo).bind(null,t)({$value:n})},!0))}}}]).directive("forceBlur",["$timeout",function(e){return{restrict:"A",link:function(t,n,r){e(function(){n.val().length>0&&n.triggerHandler("blur")})}}}]).directive("dateFieldCorrect",function(){return{require:"ngModel",restrict:"A",link:function(e,t,n,r){var i=function(e){if(void 0==e)return"";var t=e.toString().trim();if(o(t))return"";var n=t.replace(/[^0-9]/g,"");return 1==n.length&&parseFloat(n)>1&&(n="0"+n,r.$setViewValue(n),r.$render()),n};r.$parsers.push(i),e.$on("$destroy",function(){r.$parsers.indexOf(i)>-1&&r.$parsers.splice(i,1)})}}}).directive("ngHidden",function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.ngHidden,function(e){e?t.attr("hidden","hidden"):t.removeAttr("hidden")})}}}).directive("ngFormOnChange",["$parse",function(e){return{require:"form",link:function(t,n,r){var i=e(r.formOnChange);n.on("change",function(){i(t)})}}}]).directive("ngGetElement",["$parse",function(e){return{restrict:"A",scope:!1,priority:1,link:function(t,n,r){e(r.ngGetElement).bind(null,t)({$element:n,$scope:t})}}}]).value("duScrollCancelOnEvents",!1).filter("truncate",function(){return function(e,t,n){if(void 0!==e)return isNaN(t)&&(t=10),n=n||"...",e.length<=t||e.length-n.length<=t?e:String(e).substring(0,t-n.length)+n}}).filter("capitalize",function(){return function(e){return r.String.capitalize(e)}})}),define("nouislider",["jquery.tiny"],function(){function e(e){return e.filter(function(e){return!this[e]&&(this[e]=!0)},{})}function t(e,t){return Math.round(e/t)*t}function n(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,r=n.defaultView||n.parentWindow,i=n.documentElement,o=r.pageXOffset;return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(o=0),{top:t.top+r.pageYOffset-i.clientTop,left:t.left+o-i.clientLeft}}function r(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function i(e){var t=Math.pow(10,7);return Number((Math.round(e*t)/t).toFixed(7))}function o(e,t,n){c(e,t),setTimeout(function(){l(e,t)},n)}function a(e){return Math.max(Math.min(e,100),0)}function s(e){return Array.isArray(e)?e:[e]}function u(e){var t=e.split(".");return t.length>1?t[1].length:0}function c(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function l(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function f(e,t){e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}function d(e,t){return 100/(t-e)}function p(e,t){return 100*t/(e[1]-e[0])}function h(e,t){return p(e,e[0]<0?t+Math.abs(e[0]):t-e[0])}function v(e,t){return t*(e[1]-e[0])/100+e[0]}function m(e,t){for(var n=1;e>=t[n];)n+=1;return n}function g(e,t,n){if(n>=e.slice(-1)[0])return 100;var r,i,o,a,s=m(n,e);return r=e[s-1],i=e[s],o=t[s-1],a=t[s],o+h([r,i],n)/d(o,a)}function $(e,t,n){if(n>=100)return e.slice(-1)[0];var r,i,o,a,s=m(n,t);return r=e[s-1],i=e[s],o=t[s-1],a=t[s],v([r,i],(n-o)*d(o,a))}function y(e,n,r,i){if(100===i)return i;var o,a,s=m(i,e);return r?(o=e[s-1],a=e[s],i-o>(a-o)/2?a:o):n[s-1]?e[s-1]+t(i-e[s-1],n[s-1]):i}function b(e,t,n){var i;if("number"==typeof t&&(t=[t]),"[object Array]"!==Object.prototype.toString.call(t))throw new Error("noUiSlider: 'range' contains invalid value.");if(i="min"===e?0:"max"===e?100:parseFloat(e),!r(i)||!r(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");n.xPct.push(i),n.xVal.push(t[0]),i?n.xSteps.push(!isNaN(t[1])&&t[1]):isNaN(t[1])||(n.xSteps[0]=t[1])}function w(e,t,n){if(!t)return!0;n.xSteps[e]=p([n.xVal[e],n.xVal[e+1]],t)/d(n.xPct[e],n.xPct[e+1])}function x(e,t,n,r){this.xPct=[],this.xVal=[],this.xSteps=[r||!1],this.xNumSteps=[!1],this.snap=t,this.direction=n;var i,o=[];for(i in e)e.hasOwnProperty(i)&&o.push([e[i],i]);for(o.sort(function(e,t){return e[0]-t[0]}),i=0;i<o.length;i++)b(o[i][1],o[i][0],this);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)w(i,this.xNumSteps[i],this)}function C(e,t){if(!r(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function S(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new x(t,e.snap,e.dir,e.singleStep)}function k(e,t){if(t=s(t),!Array.isArray(t)||!t.length||t.length>2)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function E(e,t){if(e.snap=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.")}function A(e,t){if(e.animate=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.")}function T(e,t){if("lower"===t&&1===e.handles)e.connect=1;else if("upper"===t&&1===e.handles)e.connect=2;else if(!0===t&&2===e.handles)e.connect=3;else{if(!1!==t)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");e.connect=0}}function O(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function M(e,t){if(!r(t))throw new Error("noUiSlider: 'margin' option must be numeric.");if(e.margin=e.spectrum.getMargin(t),!e.margin)throw new Error("noUiSlider: 'margin' option is only supported on linear sliders.")}function D(e,t){if(!r(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(t),!e.limit)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders.")}function N(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1,e.connect=[0,2,1,3][e.connect];break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function j(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,r=t.indexOf("drag")>=0,i=t.indexOf("fixed")>=0,o=t.indexOf("snap")>=0;e.events={tap:n||o,drag:r,fixed:i,snap:o}}function P(e,t){if(e.format=t,"function"==typeof t.to&&"function"==typeof t.from)return!0;throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.")}function V(e){var t,n={margin:0,limit:0,animate:!0,format:W};t={step:{r:!1,t:C},start:{r:!0,t:k},connect:{r:!0,t:T},direction:{r:!0,t:N},snap:{r:!1,t:E},animate:{r:!1,t:A},range:{r:!0,t:S},orientation:{r:!1,t:O},margin:{r:!1,t:M},limit:{r:!1,t:D},behaviour:{r:!0,t:j},format:{r:!1,t:P}};var r={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"};return Object.keys(r).forEach(function(t){void 0===e[t]&&(e[t]=r[t])}),Object.keys(t).forEach(function(r){var i=t[r];if(void 0===e[r]){if(i.r)throw new Error("noUiSlider: '"+r+"' is required.");return!0}i.t(n,e[r])}),n.pips=e.pips,n.style=n.ort?"top":"left",n}function L(e,t,n){var r=e+t[0],i=e+t[1];return n?(r<0&&(i+=Math.abs(r)),i>100&&(r-=i-100),[a(r),a(i)]):[r,i]}function I(e){e.preventDefault();var t,n,r=0===e.type.indexOf("touch"),i=0===e.type.indexOf("mouse"),o=0===e.type.indexOf("pointer"),a=e;return 0===e.type.indexOf("MSPointer")&&(o=!0),r&&(t=e.changedTouches[0].pageX,n=e.changedTouches[0].pageY),(i||o)&&(t=e.clientX+window.pageXOffset,n=e.clientY+window.pageYOffset),a.points=[t,n],a.cursor=i||o,a}function R(e,t){var n=document.createElement("div"),r=document.createElement("div"),i=["-lower","-upper"];return e&&i.reverse(),c(r,z[3]),c(r,z[3]+i[t]),c(n,z[2]),n.appendChild(r),n}function q(e,t,n){switch(e){case 1:c(t,z[7]),c(n[0],z[6]);break;case 3:c(n[1],z[6]);case 2:c(n[0],z[7]);case 0:c(t,z[6])}}function U(e,t,n){var r,i=[];for(r=0;r<e;r+=1)i.push(n.appendChild(R(t,r)));return i}function H(e,t,n){c(n,z[0]),c(n,z[8+e]),c(n,z[4+t]);var r=document.createElement("div");return c(r,z[1]),n.appendChild(r),r}function _(t,r){function i(e,t,n){if("range"===e||"steps"===e)return P.xVal;if("count"===e){var r,i=100/(t-1),o=0;for(t=[];(r=o++*i)<=100;)t.push(r);e="positions"}return"positions"===e?t.map(function(e){return P.fromStepping(n?P.getStep(e):e)}):"values"===e?n?t.map(function(e){return P.fromStepping(P.getStep(P.toStepping(e)))}):t:void 0}function d(t,n,r){var i=P.direction,o={},a=P.xVal[0],s=P.xVal[P.xVal.length-1],u=!1,c=!1,l=0;return P.direction=0,r=e(r.slice().sort(function(e,t){return e-t})),r[0]!==a&&(r.unshift(a),u=!0),r[r.length-1]!==s&&(r.push(s),c=!0),r.forEach(function(e,i){var a,s,f,d,p,h,v,m,g,$,y=e,b=r[i+1];if("steps"===n&&(a=P.xNumSteps[i]),a||(a=b-y),!1!==y&&void 0!==b)for(s=y;s<=b;s+=a){for(d=P.toStepping(s),p=d-l,m=p/t,g=Math.round(m),$=p/g,f=1;f<=g;f+=1)h=l+f*$,o[h.toFixed(5)]=["x",0];v=r.indexOf(s)>-1?1:"steps"===n?2:0,!i&&u&&(v=0),s===b&&c||(o[d.toFixed(5)]=[s,v]),l=d}}),P.direction=i,o}function p(e,t,n){function i(e){return["-normal","-large","-sub"][e]}function o(e,t,n){return'class="'+t+" "+t+"-"+s+" "+t+i(n[1])+'" style="'+r.style+": "+e+'%"'}function a(e,r){P.direction&&(e=100-e),r[1]=r[1]&&t?t(r[0],r[1]):r[1],u.innerHTML+="<div "+o(e,"noUi-marker",r)+"></div>",r[1]&&(u.innerHTML+="<div "+o(e,"noUi-value",r)+">"+n.to(r[0])+"</div>")}var s=["horizontal","vertical"][r.ort],u=document.createElement("div");return c(u,"noUi-pips"),c(u,"noUi-pips-"+s),Object.keys(e).forEach(function(t){a(t,e[t])}),u}function h(){return M["offset"+["Width","Height"][r.ort]]}function v(e,t){void 0!==t&&(t=Math.abs(t-r.dir)),Object.keys(R).forEach(function(n){var r=n.split(".")[0];e===r&&R[n].forEach(function(e){e(s(k()),t,m(Array.prototype.slice.call(V)))})})}function m(e){return 1===e.length?e[0]:r.dir?e.reverse():e}function g(e,t,n,i){var o=function(t){return!N.hasAttribute("disabled")&&(!f(N,z[14])&&(t=I(t),!(e===B.start&&void 0!==t.buttons&&t.buttons>1)&&(t.calcPoint=t.points[r.ort],void n(t,i))))},a=[];return e.split(" ").forEach(function(e){t.addEventListener(e,o,!1),a.push([e,o])}),a}function $(e,t){var n,r,i=t.handles||D,o=!1,a=100*(e.calcPoint-t.start)/h(),s=i[0]===D[0]?0:1;if(n=L(a,t.positions,i.length>1),o=x(i[0],n[s],1===i.length),i.length>1){if(o=x(i[1],n[s?0:1],!1)||o)for(r=0;r<t.handles.length;r++)v("slide",r)}else o&&v("slide",s)}function y(e,t){var n=M.getElementsByClassName(z[15]),r=t.handles[0]===D[0]?0:1;n.length&&l(n[0],z[15]),e.cursor&&(document.body.style.cursor="",document.body.removeEventListener("selectstart",document.body.noUiListener));var i=document.documentElement;i.noUiListeners.forEach(function(e){i.removeEventListener(e[0],e[1])}),l(N,z[12]),v("set",r),v("change",r)}function b(e,t){var n=document.documentElement;if(1===t.handles.length&&(c(t.handles[0].children[0],z[15]),t.handles[0].hasAttribute("disabled")))return!1;e.stopPropagation();var r=g(B.move,n,$,{start:e.calcPoint,handles:t.handles,positions:[j[0],j[D.length-1]]}),i=g(B.end,n,y,{handles:t.handles});if(n.noUiListeners=r.concat(i),e.cursor){document.body.style.cursor=getComputedStyle(e.target).cursor,D.length>1&&c(N,z[12]);var o=function(){return!1};document.body.noUiListener=o,document.body.addEventListener("selectstart",o,!1)}}function w(e){var t,i,a=e.calcPoint,s=0;if(e.stopPropagation(),D.forEach(function(e){s+=n(e)[r.style]}),t=a<s/2||1===D.length?0:1,a-=n(M)[r.style],i=100*a/h(),r.events.snap||o(N,z[14],300),D[t].hasAttribute("disabled"))return!1;x(D[t],i),v("slide",t),v("set",t),v("change",t),r.events.snap&&b(e,{handles:[D[s]]})}function x(e,t,n){var i=e!==D[0]?1:0,o=j[0]+r.margin,s=j[1]-r.margin,u=j[0]+r.limit,f=j[1]-r.limit;return D.length>1&&(t=i?Math.max(t,o):Math.min(t,s)),!1!==n&&r.limit&&D.length>1&&(t=i?Math.min(t,u):Math.max(t,f)),t=P.getStep(t),(t=a(parseFloat(t.toFixed(7))))!==j[i]&&(e.style[r.style]=t+"%",e.previousSibling||(l(e,z[17]),t>50&&c(e,z[17])),j[i]=t,V[i]=P.fromStepping(t),v("update",i),!0)}function C(e,t){var n,i,o;for(r.limit&&(e+=1),n=0;n<e;n+=1)i=n%2,null!==(o=t[i])&&!1!==o&&("number"==typeof o&&(o=String(o)),(!1===(o=r.format.from(o))||isNaN(o)||!1===x(D[i],P.toStepping(o),n===3-r.dir))&&v("update",i))}function S(e){var t,n,i=s(e);for(r.dir&&r.handles>1&&i.reverse(),r.animate&&-1!==j[0]&&o(N,z[14],300),t=D.length>1?3:1,1===i.length&&(t=1),C(t,i),n=0;n<D.length;n++)v("set",n)}function k(){var e,t=[];for(e=0;e<r.handles;e+=1)t[e]=r.format.to(V[e]);return m(t)}function E(){z.forEach(function(e){e&&l(N,e)}),N.innerHTML="",delete N.noUiSlider}function A(){return m(j.map(function(e,t){var n=P.getApplicableStep(e),r=u(String(n[2])),i=V[t],o=100===e?null:n[2],a=Number((i-n[2]).toFixed(r));return[0===e?null:a>=n[1]?n[2]:n[0]||!1,o]}))}function T(e,t){R[e]=R[e]||[],R[e].push(t),"update"===e.split(".")[0]&&D.forEach(function(e,t){v("update",t)})}function O(e){var t=e.split(".")[0],n=e.substring(t.length);Object.keys(R).forEach(function(e){var r=e.split(".")[0],i=e.substring(r.length);t&&t!==r||n&&n!==i||delete R[e]})}var M,D,N=t,j=[-1,-1],P=r.spectrum,V=[],R={};if(N.noUiSlider)throw new Error("Slider was already initialized.");return M=H(r.dir,r.ort,N),D=U(r.handles,r.dir,M),q(r.connect,N,D),function(e){var t,n;if(!e.fixed)for(t=0;t<D.length;t+=1)g(B.start,D[t].children[0],b,{handles:[D[t]]});e.tap&&g(B.start,M,w,{handles:D}),e.drag&&(n=[M.getElementsByClassName(z[7])[0]],c(n[0],z[10]),e.fixed&&n.push(D[n[0]===D[0]?1:0].children[0]),n.forEach(function(e){g(B.start,e,b,{handles:D})}))}(r.events),r.pips&&function(e){var t=e.mode,n=e.density||1,r=e.filter||!1,o=e.values||!1,a=e.stepped||!1,s=i(t,o,a),u=d(n,t,s),c=e.format||{to:Math.round};N.appendChild(p(u,r,c))}(r.pips),{destroy:E,steps:A,on:T,off:O,get:k,set:S}}function F(e,t){if(!e.nodeName)throw new Error("noUiSlider.create requires a single element.");var n=V(t,e),r=_(e,n);r.set(n.start),e.noUiSlider=r}var B=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},z=["noUi-target","noUi-base","noUi-origin","noUi-handle","noUi-horizontal","noUi-vertical","noUi-background","noUi-connect","noUi-ltr","noUi-rtl","noUi-dragable","","noUi-state-drag","","noUi-state-tap","noUi-active","","noUi-stacking"];x.prototype.getMargin=function(e){return 2===this.xPct.length&&p(this.xVal,e)},x.prototype.toStepping=function(e){return e=g(this.xVal,this.xPct,e),this.direction&&(e=100-e),e},x.prototype.fromStepping=function(e){return this.direction&&(e=100-e),i($(this.xVal,this.xPct,e))},x.prototype.getStep=function(e){return this.direction&&(e=100-e),e=y(this.xPct,this.xSteps,this.snap,e),this.direction&&(e=100-e),e},x.prototype.getApplicableStep=function(e){var t=m(e,this.xPct),n=100===e?2:1;return[this.xNumSteps[t-2],this.xVal[t-n],this.xNumSteps[t-n]]},x.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var W={to:function(e){return e.toFixed(2)},from:Number};return{create:F}});