/*!
 * jQuery JavaScript Library v3.6.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2021-03-02T17:08Z
 */

/*!
 * Sizzle CSS Selector Engine v2.3.6
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2021-02-16
 */

/**
 * @license AngularJS v1.8.2
 * (c) 2010-2020 Google LLC. 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){n=n||xe;var r,i,o=n.createElement("script");if(o.text=e,t)for(r in we)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[he.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!ye(e)&&!be(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 ye(t)?Ce.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Ce.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Ce.grep(e,function(e){return de.call(t,e)>-1!==n}):Ce.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function u(e){var t={};return Ce.each(e.match(je)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function c(e){throw e}function f(e,t,n,r){var i;try{e&&ye(i=e.promise)?i.call(e).done(t).fail(n):e&&ye(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function d(){xe.removeEventListener("DOMContentLoaded",d),e.removeEventListener("load",d),Ce.ready()}function p(e,t){return t.toUpperCase()}function h(e){return e.replace(Ve,"ms-").replace(Ie,p)}function v(){this.expando=Ce.expando+v.uid++}function m(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ue.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(Fe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=m(n)}catch(e){}_e.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 Ce.css(e,t,"")},u=s(),l=n&&n[3]||(Ce.cssNumber[t]?"":"px"),c=e.nodeType&&(Ce.cssNumber[t]||"px"!==l&&+u)&&ze.exec(Ce.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)Ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,Ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function y(e){var t,n=e.ownerDocument,r=e.nodeName,i=Je[r];return i||(t=n.body.appendChild(n.createElement(r)),i=Ce.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Je[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]=He.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ke(r)&&(i[o]=y(r))):"none"!==n&&(i[o]="none",He.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function x(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)?Ce.merge([e],n):n}function w(e,t){for(var n=0,r=e.length;n<r;n++)He.set(e[n],"globalEval",!t||He.get(t[n],"globalEval"))}function C(e,t,n,i,o){for(var a,s,u,l,c,f,d=t.createDocumentFragment(),p=[],h=0,v=e.length;h<v;h++)if((a=e[h])||0===a)if("object"===r(a))Ce.merge(p,a.nodeType?[a]:a);else if(nt.test(a)){for(s=s||d.appendChild(t.createElement("div")),u=(Ze.exec(a)||["",""])[1].toLowerCase(),l=tt[u]||tt._default,s.innerHTML=l[1]+Ce.htmlPrefilter(a)+l[2],f=l[0];f--;)s=s.lastChild;Ce.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&&Ce.inArray(a,i)>-1)o&&o.push(a);else if(c=Ye(a),s=x(d.appendChild(a),"script"),c&&w(s),n)for(f=0;a=s[f++];)et.test(a.type||"")&&n.push(a);return d}function S(){return!0}function k(){return!1}function E(e,t){return e===T()==("focus"===t)}function T(){try{return xe.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 Ce().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=Ce.guid++)),e.each(function(){Ce.event.add(this,t,i,r,n)})}function O(e,t,n){if(!n)return void(void 0===He.get(e,t)&&Ce.event.add(e,t,S));He.set(e,t,!1),Ce.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=He.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(Ce.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=le.call(arguments),He.set(this,t,o),r=n(this,t),this[t](),i=He.get(this,t),o!==i||r?He.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(He.set(this,t,{value:Ce.event.trigger(Ce.extend(o[0],Ce.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})}function M(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?Ce(e).children("tbody")[0]||e:e}function D(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function N(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function j(e,t){var n,r,i,o,a,s,u;if(1===t.nodeType){if(He.hasData(e)&&(o=He.get(e),u=o.events)){He.remove(t,"handle events");for(i in u)for(n=0,r=u[i].length;n<r;n++)Ce.event.add(t,i,u[i][n])}_e.hasData(e)&&(a=_e.access(e),s=Ce.extend({},a),_e.set(t,s))}}function L(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Qe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function P(e,t,r,i){t=ce(t);var o,a,s,u,l,c,f=0,d=e.length,p=d-1,h=t[0],v=ye(h);if(v||d>1&&"string"==typeof h&&!$e.checkClone&&ot.test(h))return e.each(function(n){var o=e.eq(n);v&&(t[0]=h.call(this,n,o.html())),P(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=Ce.map(x(o,"script"),D),u=s.length;f<d;f++)l=o,f!==p&&(l=Ce.clone(l,!0,!0),u&&Ce.merge(s,x(l,"script"))),r.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,Ce.map(s,N),f=0;f<u;f++)l=s[f],et.test(l.type||"")&&!He.access(l,"globalEval")&&Ce.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?Ce._evalUrl&&!l.noModule&&Ce._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):n(l.textContent.replace(at,""),l,c))}return e}function R(e,t,n){for(var r,i=t?Ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||Ce.cleanData(x(r)),r.parentNode&&(n&&Ye(r)&&w(x(r,"script")),r.parentNode.removeChild(r));return e}function V(e,t,n){var r,i,o,a,s=e.style;return n=n||ut(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||Ye(e)||(a=Ce.style(e,t)),!$e.pixelBoxStyles()&&st.test(a)&&ct.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 I(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function q(e){for(var t=e[0].toUpperCase()+e.slice(1),n=ft.length;n--;)if((e=ft[n]+t)in dt)return e}function H(e){var t=Ce.cssProps[e]||pt[e];return t||(e in dt?e:pt[e]=q(e)||e)}function _(e,t,n){var r=ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function U(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+=Ce.css(e,n+We[a],!0,i)),r?("content"===n&&(u-=Ce.css(e,"padding"+We[a],!0,i)),"margin"!==n&&(u-=Ce.css(e,"border"+We[a]+"Width",!0,i))):(u+=Ce.css(e,"padding"+We[a],!0,i),"padding"!==n?u+=Ce.css(e,"border"+We[a]+"Width",!0,i):s+=Ce.css(e,"border"+We[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))||0),u}function F(e,t,n){var r=ut(e),i=!$e.boxSizingReliable()||n,a=i&&"border-box"===Ce.css(e,"boxSizing",!1,r),s=a,u=V(e,t,r),l="offset"+t[0].toUpperCase()+t.slice(1);if(st.test(u)){if(!n)return u;u="auto"}return(!$e.boxSizingReliable()&&a||!$e.reliableTrDimensions()&&o(e,"tr")||"auto"===u||!parseFloat(u)&&"inline"===Ce.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===Ce.css(e,"boxSizing",!1,r),(s=l in e)&&(u=e[l])),(u=parseFloat(u)||0)+U(e,t,n||(a?"border":"content"),s,r,u)+"px"}function B(e,t,n,r,i){return new B.prototype.init(e,t,n,r,i)}function z(){yt&&(!1===xe.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(z):e.setTimeout(z,Ce.fx.interval),Ce.fx.tick())}function W(){return e.setTimeout(function(){$t=void 0}),$t=Date.now()}function G(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=We[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Y(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function X(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,p={},h=e.style,v=e.nodeType&&Ke(e),m=He.get(e,"fxshow");n.queue||(a=Ce._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,Ce.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],bt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;v=!0}p[r]=m&&m[r]||Ce.style(e,r)}if((u=!Ce.isEmptyObject(t))||!Ce.isEmptyObject(p)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],l=m&&m.display,null==l&&(l=He.get(e,"display")),c=Ce.css(e,"display"),"none"===c&&(l?c=l:(b([e],!0),l=e.style.display||l,c=Ce.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===Ce.css(e,"float")&&(u||(d.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in p)u||(m?"hidden"in m&&(v=m.hidden):m=He.access(e,"fxshow",{display:l}),o&&(m.hidden=!v),v&&b([e],!0),d.done(function(){v||b([e]),He.remove(e,"fxshow");for(r in p)Ce.style(e,r,p[r])})),u=Y(v?m[r]:0,r,d),r in m||(m[r]=u.start,v&&(u.end=u.start,u.start=0))}}function K(e,t){var n,r,i,o,a;for(n in e)if(r=h(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ce.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function J(e,t,n){var r,i,o=0,a=J.prefilters.length,s=Ce.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=$t||W(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(u||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:Ce.extend({},t),opts:Ce.extend(!0,{specialEasing:{},easing:Ce.easing._default},n),originalProperties:t,originalOptions:n,startTime:$t||W(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Ce.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(K(c,l.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(l,e,c,l.opts))return ye(r.stop)&&(Ce._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return Ce.map(c,Y,l),ye(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),Ce.fx.timer(Ce.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function Q(e){return(e.match(je)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e){return Array.isArray(e)?e:"string"==typeof e?e.match(je)||[]:[]}function te(e,t,n,i){var o;if(Array.isArray(t))Ce.each(t,function(t,r){n||Nt.test(e)?i(e,r):te(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==r(t))i(e,t);else for(o in t)te(e+"["+o+"]",t[o],n,i)}function ne(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(je)||[];if(ye(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function re(e,t,n,r){function i(s){var u;return o[s]=!0,Ce.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Bt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function ie(e,t){var n,r,i=Ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&Ce.extend(!0,e,r),e}function oe(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function ae(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var se=[],ue=Object.getPrototypeOf,le=se.slice,ce=se.flat?function(e){return se.flat.call(e)}:function(e){return se.concat.apply([],e)},fe=se.push,de=se.indexOf,pe={},he=pe.toString,ve=pe.hasOwnProperty,me=ve.toString,ge=me.call(Object),$e={},ye=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},be=function(e){return null!=e&&e===e.window},xe=e.document,we={type:!0,src:!0,nonce:!0,noModule:!0},Ce=function(e,t){return new Ce.fn.init(e,t)};Ce.fn=Ce.prototype={jquery:"3.6.0",constructor:Ce,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ce.each(this,e)},map:function(e){return this.pushStack(Ce.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(Ce.grep(this,function(e,t){return t%2}))},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:fe,sort:se.sort,splice:se.splice},Ce.extend=Ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||ye(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(Ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||Ce.isPlainObject(n)?n:{},i=!1,a[t]=Ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},Ce.extend({expando:"jQuery"+("3.6.0"+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]"!==he.call(e))&&(!(t=ue(e))||"function"==typeof(n=ve.call(t,"constructor")&&t.constructor)&&me.call(n)===ge)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){n(e,{nonce:t&&t.nonce},r)},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},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?Ce.merge(n,"string"==typeof e?[e]:e):fe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.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 ce(s)},guid:1,support:$e}),"function"==typeof Symbol&&(Ce.fn[Symbol.iterator]=se[Symbol.iterator]),Ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var Se=function(e){function t(e,t,n,r){var i,o,a,s,u,c,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&&(M(t),t=t||D,j)){if(11!==h&&(u=ge.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))&&V(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return J.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&b.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!z[e+" "]&&(!L||!L.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(d=e,p=t,1===h&&(le.test(e)||ue.test(e))){for(p=$e.test(e)&&l(t.parentNode)||t,p===t&&b.scope||((s=t.getAttribute("id"))?s=s.replace(xe,we):t.setAttribute("id",s=I)),c=S(e),o=c.length;o--;)c[o]=(s?"#"+s:":scope")+" "+f(c[o]);d=c.join(",")}try{return J.apply(n,p.querySelectorAll(d)),n}catch(t){z(e,!0)}finally{s===I&&t.removeAttribute("id")}}}return E(e.replace(ae,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>x.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[I]=!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--;)x.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&&Se(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 l(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}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=_++;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 l,c,f,d=[H,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[I]||(t[I]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===H&&l[1]===s)return d[2]=l[2];if(c[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,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function m(e,t,n,i,o,a){return i&&!i[I]&&(i=m(i)),o&&!o[I]&&(o=m(o,a)),r(function(r,a,s,u){var l,c,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(l=v(y,p),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(y[p[c]]=!($[p[c]]=f));if(r){if(o||e){if(o){for(l=[],c=y.length;c--;)(f=y[c])&&l.push($[c]=f);o(null,y=[],l,u)}for(c=y.length;c--;)(f=y[c])&&(l=o?Z(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else y=v(y===a?y.splice(m,y.length):y),o?o(null,a,y,u):J.apply(a,y)})}function g(e){for(var t,n,r,i=e.length,o=x.relative[e[0].type],a=o||x.relative[" "],s=o?1:0,u=d(function(e){return e===t},a,!0),l=d(function(e){return Z(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==T)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=x.relative[e[s].type])c=[d(p(c),n)];else{if(n=x.filter[e[s].type].apply(null,e[s].matches),n[I]){for(r=++s;r<i&&!x.relative[e[r].type];r++);return m(s>1&&p(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ae,"$1"),n,s<r&&g(e.slice(s,r)),r<i&&g(e=e.slice(r)),r<i&&f(e))}c.push(n)}return p(c)}function $(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",m=r&&[],g=[],$=T,y=r||o&&x.find.TAG("*",l),b=H+=null==$?1:Math.random()||.1,w=y.length;for(l&&(T=a==D||a||l);h!==w&&null!=(c=y[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument==D||(M(c),s=!j);d=e[f++];)if(d(c,a||D,s)){u.push(c);break}l&&(H=b)}i&&((c=!d&&c)&&p--,r&&m.push(c))}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]=X.call(u));g=v(g)}J.apply(u,g),l&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(H=b,T=$),m};return i?r(a):a}var y,b,x,w,C,S,k,E,T,A,O,M,D,N,j,L,P,R,V,I="sizzle"+1*new Date,q=e.document,H=0,_=0,U=n(),F=n(),B=n(),z=n(),W=function(e,t){return e===t&&(O=!0),0},G={}.hasOwnProperty,Y=[],X=Y.pop,K=Y.push,J=Y.push,Q=Y.slice,Z=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",te="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\[\\da-fA-F]{1,6}"+te+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",re="\\["+te+"*("+ne+")(?:"+te+"*([*^$|!~]?=)"+te+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ne+"))|)"+te+"*\\]",ie=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",oe=new RegExp(te+"+","g"),ae=new RegExp("^"+te+"+|((?:^|[^\\\\])(?:\\\\.)*)"+te+"+$","g"),se=new RegExp("^"+te+"*,"+te+"*"),ue=new RegExp("^"+te+"*([>+~]|"+te+")"+te+"*"),le=new RegExp(te+"|>"),ce=new RegExp(ie),fe=new RegExp("^"+ne+"$"),de={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},pe=/HTML$/i,he=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$e=/[+~]/,ye=new RegExp("\\\\[\\da-fA-F]{1,6}"+te+"?|\\\\([^\\r\\n\\f])","g"),be=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,we=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ce=function(){M()},Se=d(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(Y=Q.call(q.childNodes),q.childNodes),Y[q.childNodes.length].nodeType}catch(e){J={apply:Y.length?function(e,t){K.apply(e,Q.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.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!pe.test(t||n&&n.nodeName||"HTML")},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",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),b.scope=i(function(e){return N.appendChild(e).appendChild(D.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),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=me.test(D.getElementsByClassName),b.getById=i(function(e){return N.appendChild(e).id=I,!D.getElementsByName||!D.getElementsByName(I).length}),b.getById?(x.filter.ID=function(e){var t=e.replace(ye,be);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var t=e.replace(ye,be);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},x.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[]}}),x.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},x.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&j)return t.getElementsByClassName(e)},P=[],L=[],(b.qsa=me.test(D.querySelectorAll))&&(i(function(e){var t;N.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll("[id~="+I+"-]").length||L.push("~="),t=D.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||L.push("\\["+te+"*name"+te+"*="+te+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||L.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||L.push(".#.+[+~]"),e.querySelectorAll("\\\f"),L.push("[\\r\\n\\f]")}),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&&L.push("name"+te+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),N.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(b.matchesSelector=me.test(R=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&i(function(e){b.disconnectedMatch=R.call(e,"*"),R.call(e,"[s!='']:x"),P.push("!=",ie)}),L=L.length&&new RegExp(L.join("|")),P=P.length&&new RegExp(P.join("|")),t=me.test(N.compareDocumentPosition),V=t||me.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},W=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&&V(q,e)?-1:t==D||t.ownerDocument==q&&V(q,t)?1:A?Z(A,e)-Z(A,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:A?Z(A,e)-Z(A,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(M(e),b.matchesSelector&&j&&!z[n+" "]&&(!P||!P.test(n))&&(!L||!L.test(n)))try{var r=R.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){z(n,!0)}return t(n,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!=D&&M(e),V(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!=D&&M(e);var n=x.attrHandle[t.toLowerCase()],r=n&&G.call(x.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(xe,we)},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,A=!b.sortStable&&e.slice(0),e.sort(W),O){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return A=null,e},w=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+=w(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},x=t.selectors={cacheLength:50,createPseudo:r,match:de,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(ye,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,be),"~="===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 de.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(ye,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&U(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(oe," ")+" ").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 l,c,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[I]||(d[I]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===H&&l[1],y=p&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[v]||(y=p=0)||h.pop();)if(1===d.nodeType&&++y&&d===t){c[e]=[H,p,y];break}}else if($&&(d=t,f=d[I]||(d[I]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===H&&l[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[I]||(d[I]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[H,y]),d!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,n){
var i,o=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[I]?o(n):o.length>1?(i=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=Z(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(ae,"$1"));return i[I]?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(ye,be),function(t){return(t.textContent||w(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,be).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!x.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return he.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>t?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})}},x.pseudos.nth=x.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})x.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return c.prototype=x.filters=x.pseudos,x.setFilters=new c,S=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=F[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=x.preFilter;s;){r&&!(i=se.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=ue.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ae," ")}),s=s.slice(r.length));for(a in x.filter)!(i=de[a].exec(s))||l[a]&&!(i=l[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[I]?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,c="function"==typeof e&&e,d=!r&&S(e=c.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&&x.relative[o[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(ye,be),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=de.needsContext.test(e)?0:o.length;i--&&(a=o[i],!x.relative[s=a.type]);)if((u=x.find[s])&&(r=u(a.matches[0].replace(ye,be),$e.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return J.apply(n,r),n;break}}return(c||k(e,d))(r,t,!j,n,!t||$e.test(e)&&l(t.parentNode)||t),n},b.sortStable=I.split("").sort(W).join("")===I,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(ee,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);Ce.find=Se,Ce.expr=Se.selectors,Ce.expr[":"]=Ce.expr.pseudos,Ce.uniqueSort=Ce.unique=Se.uniqueSort,Ce.text=Se.getText,Ce.isXMLDoc=Se.isXML,Ce.contains=Se.contains,Ce.escapeSelector=Se.escape;var ke=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Ce(e).is(n))break;r.push(e)}return r},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Te=Ce.expr.match.needsContext,Ae=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ce.find.matchesSelector(r,e)?[r]:[]:Ce.find.matches(e,Ce.grep(t,function(e){return 1===e.nodeType}))},Ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(Ce(e).filter(function(){for(t=0;t<r;t++)if(Ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)Ce.find(e,i[t],n);return r>1?Ce.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&&Te.test(e)?Ce(e):e||[],!1).length}});var Oe,Me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Oe,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Me.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 Ce?t[0]:t,Ce.merge(this,Ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:xe,!0)),Ae.test(r[1])&&Ce.isPlainObject(t))for(r in t)ye(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=xe.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ye(e)?void 0!==n.ready?n.ready(e):e(Ce):Ce.makeArray(e,this)}).prototype=Ce.fn,Oe=Ce(xe);var De=/^(?:parents|prev(?:Until|All))/,Ne={children:!0,contents:!0,next:!0,prev:!0};Ce.fn.extend({has:function(e){var t=Ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&Ce(e);if(!Te.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&&Ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(Ce(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ce.uniqueSort(Ce.merge(this.get(),Ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ke(e,"parentNode")},parentsUntil:function(e,t,n){return ke(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return ke(e,"nextSibling")},prevAll:function(e){return ke(e,"previousSibling")},nextUntil:function(e,t,n){return ke(e,"nextSibling",n)},prevUntil:function(e,t,n){return ke(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return null!=e.contentDocument&&ue(e.contentDocument)?e.contentDocument:(o(e,"template")&&(e=e.content||e),Ce.merge([],e.childNodes))}},function(e,t){Ce.fn[e]=function(n,r){var i=Ce.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Ce.filter(r,i)),this.length>1&&(Ne[e]||Ce.uniqueSort(i),De.test(e)&&i.reverse()),this.pushStack(i)}});var je=/[^\x20\t\r\n\f]+/g;Ce.Callbacks=function(e){e="string"==typeof e?u(e):Ce.extend({},e);var t,n,i,o,a=[],s=[],l=-1,c=function(){for(o=o||e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<a.length;)!1===a[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},f={add:function(){return a&&(n&&!t&&(l=a.length-1,s.push(n)),function t(n){Ce.each(n,function(n,i){ye(i)?e.unique&&f.has(i)||a.push(i):i&&i.length&&"string"!==r(i)&&t(i)})}(arguments),n&&!t&&c()),this},remove:function(){return Ce.each(arguments,function(e,t){for(var n;(n=Ce.inArray(t,a,n))>-1;)a.splice(n,1),n<=l&&l--}),this},has:function(e){return e?Ce.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||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!i}};return f},Ce.extend({Deferred:function(t){var n=[["notify","progress",Ce.Callbacks("memory"),Ce.Callbacks("memory"),2],["resolve","done",Ce.Callbacks("once memory"),Ce.Callbacks("once memory"),0,"resolved"],["reject","fail",Ce.Callbacks("once memory"),Ce.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 Ce.Deferred(function(t){Ce.each(n,function(n,r){var i=ye(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&ye(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,ye(f)?i?f.call(e,o(a,n,l,i),o(a,n,c,i)):(a++,f.call(e,o(a,n,l,i),o(a,n,c,i),o(a,n,l,n.notifyWith))):(r!==l&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},d=i?f:function(){try{f()}catch(e){Ce.Deferred.exceptionHook&&Ce.Deferred.exceptionHook(e,d.stackTrace),t+1>=a&&(r!==c&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?d():(Ce.Deferred.getStackHook&&(d.stackTrace=Ce.Deferred.getStackHook()),e.setTimeout(d))}}var a=0;return Ce.Deferred(function(e){n[0][3].add(o(0,e,ye(i)?i:l,e.notifyWith)),n[1][3].add(o(0,e,ye(t)?t:l)),n[2][3].add(o(0,e,ye(r)?r:c))}).promise()},promise:function(e){return null!=e?Ce.extend(e,i):i}},o={};return Ce.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=le.call(arguments),o=Ce.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?le.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(f(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||ye(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],a(n),o.reject);return o.promise()}});var Le=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ce.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Le.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Ce.readyException=function(t){e.setTimeout(function(){throw t})};var Pe=Ce.Deferred();Ce.fn.ready=function(e){return Pe.then(e).catch(function(e){Ce.readyException(e)}),this},Ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Ce.readyWait:Ce.isReady)||(Ce.isReady=!0,!0!==e&&--Ce.readyWait>0||Pe.resolveWith(xe,[Ce]))}}),Ce.ready.then=Pe.then,"complete"===xe.readyState||"loading"!==xe.readyState&&!xe.documentElement.doScroll?e.setTimeout(Ce.ready):(xe.addEventListener("DOMContentLoaded",d),e.addEventListener("load",d));var Re=function(e,t,n,i,o,a,s){var u=0,l=e.length,c=null==n;if("object"===r(n)){o=!0;for(u in n)Re(e,t,u,n[u],!0,a,s)}else if(void 0!==i&&(o=!0,ye(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(Ce(e),n)})),t))for(;u<l;u++)t(e[u],n,s?i:i.call(e[u],u,t(e[u],n)));return o?e:c?t.call(e):l?t(e[0],n):a},Ve=/^-ms-/,Ie=/-([a-z])/g,qe=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={},qe(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(je)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||Ce.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&&!Ce.isEmptyObject(t)}};var He=new v,_e=new v,Ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Fe=/[A-Z]/g;Ce.extend({hasData:function(e){return _e.hasData(e)||He.hasData(e)},data:function(e,t,n){return _e.access(e,t,n)},removeData:function(e,t){_e.remove(e,t)},_data:function(e,t,n){return He.access(e,t,n)},_removeData:function(e,t){He.remove(e,t)}}),Ce.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=_e.get(o),1===o.nodeType&&!He.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])));He.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){_e.set(this,e)}):Re(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=_e.get(o,e)))return n;if(void 0!==(n=g(o,e)))return n}else this.each(function(){_e.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){_e.remove(this,e)})}}),Ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=He.get(e,t),n&&(!r||Array.isArray(n)?r=He.access(e,t,Ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ce.queue(e,t),r=n.length,i=n.shift(),o=Ce._queueHooks(e,t),a=function(){Ce.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 He.get(e,n)||He.access(e,n,{empty:Ce.Callbacks("once memory").add(function(){He.remove(e,[t+"queue",n])})})}}),Ce.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Ce.queue(this[0],e):void 0===t?this:this.each(function(){var n=Ce.queue(this,e,t);Ce._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Ce.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ce.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=He.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Be=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ze=new RegExp("^(?:([+-])=|)("+Be+")([a-z%]*)$","i"),We=["Top","Right","Bottom","Left"],Ge=xe.documentElement,Ye=function(e){return Ce.contains(e.ownerDocument,e)},Xe={composed:!0};Ge.getRootNode&&(Ye=function(e){return Ce.contains(e.ownerDocument,e)||e.getRootNode(Xe)===e.ownerDocument});var Ke=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&Ye(e)&&"none"===Ce.css(e,"display")},Je={};Ce.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(){Ke(this)?Ce(this).show():Ce(this).hide()})}});var Qe=/^(?:checkbox|radio)$/i,Ze=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,et=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=xe.createDocumentFragment(),t=e.appendChild(xe.createElement("div")),n=xe.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),$e.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",$e.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",$e.option=!!t.lastChild}();var tt={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,"",""]};tt.tbody=tt.tfoot=tt.colgroup=tt.caption=tt.thead,tt.th=tt.td,$e.option||(tt.optgroup=tt.option=[1,"<select multiple='multiple'>","</select>"]);var nt=/<|&#?\w+;/,rt=/^([^.]*)(?:\.(.+)|)/;Ce.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,v,m=He.get(e);if(qe(e))for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&Ce.find.matchesSelector(Ge,i),n.guid||(n.guid=Ce.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==Ce&&Ce.event.triggered!==t.type?Ce.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(je)||[""],l=t.length;l--;)s=rt.exec(t[l])||[],p=v=s[1],h=(s[2]||"").split(".").sort(),p&&(f=Ce.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=Ce.event.special[p]||{},c=Ce.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ce.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,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),Ce.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,v,m=He.hasData(e)&&He.get(e);if(m&&(u=m.events)){for(t=(t||"").match(je)||[""],l=t.length;l--;)if(s=rt.exec(t[l])||[],p=v=s[1],h=(s[2]||"").split(".").sort(),p){for(f=Ce.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--;)c=d[o],!i&&v!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||Ce.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)Ce.event.remove(e,p+t[l],n,r,!0);Ce.isEmptyObject(u)&&He.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=Ce.event.fix(e),l=(He.get(this,"events")||Object.create(null))[u.type]||[],c=Ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=Ce.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((Ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?Ce(i,this).index(l)>-1:Ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(Ce.Event.prototype,e,{enumerable:!0,configurable:!0,get:ye(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[Ce.expando]?e:new Ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Qe.test(t.type)&&t.click&&o(t,"input")&&O(t,"click",S),!1},trigger:function(e){var t=this||e;return Qe.test(t.type)&&t.click&&o(t,"input")&&O(t,"click"),!0},_default:function(e){var t=e.target;return Qe.test(t.type)&&t.click&&o(t,"input")&&He.get(t,"click")||o(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ce.Event=function(e,t){if(!(this instanceof Ce.Event))return new Ce.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&&Ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ce.expando]=!0},Ce.Event.prototype={constructor:Ce.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()}},Ce.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,code:!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:!0},Ce.event.addProp),Ce.each({focus:"focusin",blur:"focusout"},function(e,t){Ce.event.special[e]={setup:function(){return O(this,e,E),!1},trigger:function(){return O(this,e),!0},_default:function(){return!0},delegateType:t}}),Ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Ce.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||Ce.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Ce.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,Ce(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(){Ce.event.remove(this,e,n,t)})}});var it=/<script|<style|<link/i,ot=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=Ye(e);if(!($e.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ce.isXMLDoc(e)))for(a=x(s),o=x(e),r=0,i=o.length;r<i;r++)L(o[r],a[r]);if(t)if(n)for(o=o||x(e),a=a||x(s),r=0,i=o.length;r<i;r++)j(o[r],a[r]);else j(e,s);return a=x(s,"script"),a.length>0&&w(a,!u&&x(e,"script")),s},cleanData:function(e){for(var t,n,r,i=Ce.event.special,o=0;void 0!==(n=e[o]);o++)if(qe(n)){if(t=n[He.expando]){if(t.events)for(r in t.events)i[r]?Ce.event.remove(n,r):Ce.removeEvent(n,r,t.handle);n[He.expando]=void 0}n[_e.expando]&&(n[_e.expando]=void 0)}}}),Ce.fn.extend({detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return Re(this,function(e){return void 0===e?Ce.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 P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){M(this,e).appendChild(e)}})},prepend:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=M(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return P(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&&(Ce.cleanData(x(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ce.clone(this,e,t)})},html:function(e){return Re(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&&!it.test(e)&&!tt[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=Ce.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(Ce.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return P(this,arguments,function(t){var n=this.parentNode;Ce.inArray(this,e)<0&&(Ce.cleanData(x(this)),n&&n.replaceChild(t,this))},e)}}),Ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Ce.fn[e]=function(e){for(var n,r=[],i=Ce(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),Ce(i[a])[t](n),fe.apply(r,n.get());return this.pushStack(r)}});var st=new RegExp("^("+Be+")(?!px)[a-z%]+$","i"),ut=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},lt=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r},ct=new RegExp(We.join("|"),"i");!function(){function t(){if(c){l.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%",Ge.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),Ge.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=xe.createElement("div"),c=xe.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",$e.clearCloneStyle="content-box"===c.style.backgroundClip,Ce.extend($e,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=xe.createElement("table"),n=xe.createElement("tr"),r=xe.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",Ge.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,Ge.removeChild(t)),s}}))}();var ft=["Webkit","Moz","ms"],dt=xe.createElement("div").style,pt={},ht=/^(none|table(?!-c[ea]).+)/,vt=/^--/,mt={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:"0",fontWeight:"400"};Ce.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,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!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=vt.test(t),l=e.style;if(u||(t=H(s)),a=Ce.cssHooks[t]||Ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];o=typeof n,"string"===o&&(i=ze.exec(n))&&i[1]&&(n=$(e,t,i),o="number"),null!=n&&n===n&&("number"!==o||u||(n+=i&&i[3]||(Ce.cssNumber[s]?"":"px")),$e.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=h(t);return vt.test(t)||(t=H(s)),a=Ce.cssHooks[t]||Ce.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=V(e,t,r)),"normal"===i&&t in gt&&(i=gt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),Ce.each(["height","width"],function(e,t){Ce.cssHooks[t]={get:function(e,n,r){if(n)return!ht.test(Ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?F(e,t,r):lt(e,mt,function(){return F(e,t,r)})},set:function(e,n,r){var i,o=ut(e),a=!$e.scrollboxSize()&&"absolute"===o.position,s=a||r,u=s&&"border-box"===Ce.css(e,"boxSizing",!1,o),l=r?U(e,t,r,u,o):0;return u&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-U(e,t,"border",!1,o)-.5)),l&&(i=ze.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=Ce.css(e,t)),_(e,n,l)}}}),Ce.cssHooks.marginLeft=I($e.reliableMarginLeft,function(e,t){if(t)return(parseFloat(V(e,"marginLeft"))||e.getBoundingClientRect().left-lt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Ce.each({margin:"",padding:"",border:"Width"},function(e,t){Ce.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+We[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(Ce.cssHooks[e+t].set=_)}),Ce.fn.extend({css:function(e,t){return Re(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ut(e),i=t.length;a<i;a++)o[t[a]]=Ce.css(e,t[a],!1,r);return o}return void 0!==n?Ce.style(e,t,n):Ce.css(e,t)},e,t,arguments.length>1)}}),Ce.Tween=B,B.prototype={constructor:B,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Ce.cssNumber[n]?"":"px")},cur:function(){var e=B.propHooks[this.prop];return e&&e.get?e.get(this):B.propHooks._default.get(this)},run:function(e){var t,n=B.propHooks[this.prop];return this.options.duration?this.pos=t=Ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Ce.css(e.elem,e.prop,""),
t&&"auto"!==t?t:0)},set:function(e){Ce.fx.step[e.prop]?Ce.fx.step[e.prop](e):1!==e.elem.nodeType||!Ce.cssHooks[e.prop]&&null==e.elem.style[H(e.prop)]?e.elem[e.prop]=e.now:Ce.style(e.elem,e.prop,e.now+e.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Ce.fx=B.prototype.init,Ce.fx.step={};var $t,yt,bt=/^(?:toggle|show|hide)$/,xt=/queueHooks$/;Ce.Animation=Ce.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return $(n.elem,e,ze.exec(t),n),n}]},tweener:function(e,t){ye(e)?(t=e,e=["*"]):e=e.match(je);for(var n,r=0,i=e.length;r<i;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[X],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),Ce.speed=function(e,t,n){var r=e&&"object"==typeof e?Ce.extend({},e):{complete:n||!n&&t||ye(e)&&e,duration:e,easing:n&&t||t&&!ye(t)&&t};return Ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Ce.fx.speeds?r.duration=Ce.fx.speeds[r.duration]:r.duration=Ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ye(r.old)&&r.old.call(this),r.queue&&Ce.dequeue(this,r.queue)},r},Ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ke).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Ce.isEmptyObject(e),o=Ce.speed(t,n,r),a=function(){var t=J(this,Ce.extend({},e),o);(i||He.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=Ce.timers,a=He.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&xt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||Ce.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=He.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=Ce.timers,a=r?r.length:0;for(n.finish=!0,Ce.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),Ce.each(["toggle","show","hide"],function(e,t){var n=Ce.fn[t];Ce.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(G(t,!0),e,r,i)}}),Ce.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Ce.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Ce.timers=[],Ce.fx.tick=function(){var e,t=0,n=Ce.timers;for($t=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Ce.fx.stop(),$t=void 0},Ce.fx.timer=function(e){Ce.timers.push(e),Ce.fx.start()},Ce.fx.interval=13,Ce.fx.start=function(){yt||(yt=!0,z())},Ce.fx.stop=function(){yt=null},Ce.fx.speeds={slow:600,fast:200,_default:400},Ce.fn.delay=function(t,n){return t=Ce.fx?Ce.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=xe.createElement("input"),t=xe.createElement("select"),n=t.appendChild(xe.createElement("option"));e.type="checkbox",$e.checkOn=""!==e.value,$e.optSelected=n.selected,e=xe.createElement("input"),e.value="t",e.type="radio",$e.radioValue="t"===e.value}();var wt,Ct=Ce.expr.attrHandle;Ce.fn.extend({attr:function(e,t){return Re(this,Ce.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Ce.removeAttr(this,e)})}}),Ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?Ce.prop(e,t,n):(1===o&&Ce.isXMLDoc(e)||(i=Ce.attrHooks[t.toLowerCase()]||(Ce.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void Ce.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=Ce.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!$e.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(je);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?Ce.removeAttr(e,n):e.setAttribute(n,n),n}},Ce.each(Ce.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ct[t]||Ce.find.attr;Ct[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Ct[a],Ct[a]=i,i=null!=n(e,t,r)?a:null,Ct[a]=o),i}});var St=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;Ce.fn.extend({prop:function(e,t){return Re(this,Ce.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Ce.propFix[e]||e]})}}),Ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ce.isXMLDoc(e)||(t=Ce.propFix[t]||t,i=Ce.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=Ce.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),$e.optSelected||(Ce.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)}}),Ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ce.propFix[this.toLowerCase()]=this}),Ce.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(ye(e))return this.each(function(t){Ce(this).addClass(e.call(this,t,Z(this)))});if(t=ee(e),t.length)for(;n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=Q(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(ye(e))return this.each(function(t){Ce(this).removeClass(e.call(this,t,Z(this)))});if(!arguments.length)return this.attr("class","");if(t=ee(e),t.length)for(;n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=Q(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):ye(e)?this.each(function(n){Ce(this).toggleClass(e.call(this,n,Z(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=Ce(this),a=ee(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=Z(this),t&&He.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":He.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Q(Z(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;Ce.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=ye(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,Ce(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=Ce.map(i,function(e){return null==e?"":e+""})),(t=Ce.valHooks[this.type]||Ce.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=Ce.valHooks[i.type]||Ce.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Et,""):null==n?"":n)}}}),Ce.extend({valHooks:{option:{get:function(e){var t=Ce.find.attr(e,"value");return null!=t?t:Q(Ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,s="select-one"===e.type,u=s?null:[],l=s?a+1:i.length;for(r=a<0?l:s?a:0;r<l;r++)if(n=i[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=Ce(n).val(),s)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,o=Ce.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=Ce.inArray(Ce.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Ce.each(["radio","checkbox"],function(){Ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Ce.inArray(Ce(e).val(),t)>-1}},$e.checkOn||(Ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),$e.focusin="onfocusin"in e;var Tt=/^(?:focusinfocus|focusoutblur)$/,At=function(e){e.stopPropagation()};Ce.extend(Ce.event,{trigger:function(t,n,r,i){var o,a,s,u,l,c,f,d,p=[r||xe],h=ve.call(t,"type")?t.type:t,v=ve.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||xe,3!==r.nodeType&&8!==r.nodeType&&!Tt.test(h+Ce.event.triggered)&&(h.indexOf(".")>-1&&(v=h.split("."),h=v.shift(),v.sort()),l=h.indexOf(":")<0&&"on"+h,t=t[Ce.expando]?t:new Ce.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]:Ce.makeArray(n,[t]),f=Ce.event.special[h]||{},i||!f.trigger||!1!==f.trigger.apply(r,n))){if(!i&&!f.noBubble&&!be(r)){for(u=f.delegateType||h,Tt.test(u+h)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||xe)&&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,c=(He.get(a,"events")||Object.create(null))[t.type]&&He.get(a,"handle"),c&&c.apply(a,n),(c=l&&a[l])&&c.apply&&qe(a)&&(t.result=c.apply(a,n),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),n)||!qe(r)||l&&ye(r[h])&&!be(r)&&(s=r[l],s&&(r[l]=null),Ce.event.triggered=h,t.isPropagationStopped()&&d.addEventListener(h,At),r[h](),t.isPropagationStopped()&&d.removeEventListener(h,At),Ce.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=Ce.extend(new Ce.Event,n,{type:e,isSimulated:!0});Ce.event.trigger(r,null,t)}}),Ce.fn.extend({trigger:function(e,t){return this.each(function(){Ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ce.event.trigger(e,t,n,!0)}}),$e.focusin||Ce.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Ce.event.simulate(t,e.target,Ce.event.fix(e))};Ce.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=He.access(r,t);i||r.addEventListener(e,n,!0),He.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=He.access(r,t)-1;i?He.access(r,t,i):(r.removeEventListener(e,n,!0),He.remove(r,t))}}});var Ot=e.location,Mt={guid:Date.now()},Dt=/\?/;Ce.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||Ce.error("Invalid XML: "+(r?Ce.map(r.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Nt=/\[\]$/,jt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;Ce.param=function(e,t){var n,r=[],i=function(e,t){var n=ye(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Ce.isPlainObject(e))Ce.each(e,function(){i(this.name,this.value)});else for(n in e)te(n,e[n],t,i);return r.join("&")},Ce.fn.extend({serialize:function(){return Ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ce.prop(this,"elements");return e?Ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ce(this).is(":disabled")&&Pt.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Qe.test(e))}).map(function(e,t){var n=Ce(this).val();return null==n?null:Array.isArray(n)?Ce.map(n,function(e){return{name:t.name,value:e.replace(jt,"\r\n")}}):{name:t.name,value:n.replace(jt,"\r\n")}}).get()}});var Rt=/%20/g,Vt=/#.*$/,It=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,_t=/^(?:GET|HEAD)$/,Ut=/^\/\//,Ft={},Bt={},zt="*/".concat("*"),Wt=xe.createElement("a");Wt.href=Ot.href,Ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Ht.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,Ce.ajaxSettings),t):ie(Ce.ajaxSettings,e)},ajaxPrefilter:ne(Ft),ajaxTransport:ne(Bt),ajax:function(t,n){function r(t,n,r,s){var l,d,p,b,x,w=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",C.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=oe(h,C,r)),!l&&Ce.inArray("script",h.dataTypes)>-1&&Ce.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),b=ae(h,b,C,l),l?(h.ifModified&&(x=C.getResponseHeader("Last-Modified"),x&&(Ce.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(Ce.etag[o]=x)),204===t||"HEAD"===h.type?w="nocontent":304===t?w="notmodified":(w=b.state,d=b.data,p=b.error,l=!p)):(p=w,!t&&w||(w="error",t<0&&(t=0))),C.status=t,C.statusText=(n||w)+"",l?g.resolveWith(v,[d,w,C]):g.rejectWith(v,[C,w,p]),C.statusCode(y),y=void 0,f&&m.trigger(l?"ajaxSuccess":"ajaxError",[C,h,l?d:p]),$.fireWith(v,[C,w]),f&&(m.trigger("ajaxComplete",[C,h]),--Ce.active||Ce.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,d,p,h=Ce.ajaxSetup({},n),v=h.context||h,m=h.context&&(v.nodeType||v.jquery)?Ce(v):Ce.event,g=Ce.Deferred(),$=Ce.Callbacks("once memory"),y=h.statusCode||{},b={},x={},w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=qt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||w;return i&&i.abort(t),r(0,t),this}};if(g.promise(C),h.url=((t||h.url||Ot.href)+"").replace(Ut,Ot.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(je)||[""],null==h.crossDomain){l=xe.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Ce.param(h.data,h.traditional)),re(Ft,h,n,C),c)return C;f=Ce.event&&h.global,f&&0==Ce.active++&&Ce.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!_t.test(h.type),o=h.url.replace(Vt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Dt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(It,"$1"),p=(Dt.test(o)?"&":"?")+"_="+Mt.guid+++p),h.url=o+p),h.ifModified&&(Ce.lastModified[o]&&C.setRequestHeader("If-Modified-Since",Ce.lastModified[o]),Ce.etag[o]&&C.setRequestHeader("If-None-Match",Ce.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+zt+"; q=0.01":""):h.accepts["*"]);for(d in h.headers)C.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(v,C,h)||c))return C.abort();if(w="abort",$.add(h.complete),C.done(h.success),C.fail(h.error),i=re(Bt,h,n,C)){if(C.readyState=1,f&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,i.send(b,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return Ce.get(e,t,n,"json")},getScript:function(e,t){return Ce.get(e,void 0,t,"script")}}),Ce.each(["get","post"],function(e,t){Ce[t]=function(e,n,r,i){return ye(n)&&(i=i||r,r=n,n=void 0),Ce.ajax(Ce.extend({url:e,type:t,dataType:i,data:n,success:r},Ce.isPlainObject(e)&&e))}}),Ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),Ce._evalUrl=function(e,t,n){return Ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Ce.globalEval(e,t,n)}})},Ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(ye(e)&&(e=e.call(this[0])),t=Ce(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 ye(e)?this.each(function(t){Ce(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Ce(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ye(e);return this.each(function(n){Ce(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Ce(this).replaceWith(this.childNodes)}),this}}),Ce.expr.pseudos.hidden=function(e){return!Ce.expr.pseudos.visible(e)},Ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ce.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},Yt=Ce.ajaxSettings.xhr();$e.cors=!!Yt&&"withCredentials"in Yt,$e.ajax=Yt=!!Yt,Ce.ajaxTransport(function(t){var n,r;if($e.cors||Yt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Gt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),Ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Ce.globalEval(e),e}}}),Ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Ce.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,n;return{send:function(r,i){t=Ce("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),xe.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Xt=[],Kt=/(=)\?(?=&|$)|\?\?/;Ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||Ce.expando+"_"+Mt.guid++;return this[e]=!0,e}}),Ce.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Kt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=ye(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Kt,"$1"+i):!1!==t.jsonp&&(t.url+=(Dt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||Ce.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?Ce(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Xt.push(i)),a&&ye(o)&&o(a[0]),a=o=void 0}),"script"}),$e.createHTMLDocument=function(){var e=xe.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),Ce.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||($e.createHTMLDocument?(t=xe.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=xe.location.href,t.head.appendChild(r)):t=xe),i=Ae.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=C([e],t,o),o&&o.length&&Ce(o).remove(),Ce.merge([],i.childNodes))},Ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=Q(e.slice(s)),e=e.slice(0,s)),ye(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&Ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Ce("<div>").append(Ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Ce.expr.pseudos.animated=function(e){return Ce.grep(Ce.timers,function(t){return e===t.elem}).length},Ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=Ce.css(e,"position"),f=Ce(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=Ce.css(e,"top"),u=Ce.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),ye(t)&&(t=t.call(e,n,Ce.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},Ce.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Ce.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===Ce.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Ce.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&(i=Ce(e).offset(),i.top+=Ce.css(e,"borderTopWidth",!0),i.left+=Ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-Ce.css(r,"marginTop",!0),left:t.left-i.left-Ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Ce.css(e,"position");)e=e.offsetParent;return e||Ge})}}),Ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Ce.fn[e]=function(r){return Re(this,function(e,r,i){var o;if(be(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),Ce.each(["top","left"],function(e,t){Ce.cssHooks[t]=I($e.pixelPosition,function(e,n){if(n)return n=V(e,t),st.test(n)?Ce(e).position()[t]+"px":n})}),Ce.each({Height:"height",Width:"width"},function(e,t){Ce.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Ce.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Re(this,function(t,n,i){var o;return be(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?Ce.css(t,n,s):Ce.style(t,n,i,s)},t,a?i:void 0,a)}})}),Ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ce.fn[t]=function(e){return this.on(t,e)}}),Ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Ce.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){Ce.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var Jt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),ye(e))return r=le.call(arguments,2),i=function(){return e.apply(t||this,r.concat(le.call(arguments)))},i.guid=e.guid=e.guid||Ce.guid++,i},Ce.holdReady=function(e){e?Ce.readyWait++:Ce.ready(!0)},Ce.isArray=Array.isArray,Ce.parseJSON=JSON.parse,Ce.nodeName=o,Ce.isFunction=ye,Ce.isWindow=be,Ce.camelCase=h,Ce.type=r,Ce.now=Date.now,Ce.isNumeric=function(e){var t=Ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Ce.trim=function(e){return null==e?"":(e+"").replace(Jt,"")},Ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),ye(e))return r=le.call(arguments,2),i=function(){return e.apply(t||this,r.concat(le.call(arguments)))},i.guid=e.guid=e.guid||Ce.guid++,i};var Qt=Ce.event.fix;Ce.event.props=[],Ce.event.fixHooks={},Ce.event.fix=function(e){var t,n=e.type,r=this.fixHooks[n],i=Ce.event.props;if(i.length)for(;i.length;)Ce.event.addProp(i.pop());if(r&&!r._migrated_&&(r._migrated_=!0,(i=r.props)&&i.length))for(;i.length;)Ce.event.addProp(i.pop());return t=Qt.call(this,e),r&&r.filter?r.filter(t,e):t},Ce.fn.bind=Ce.fn.on,Ce.fn.unbind=Ce.fn.off,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ce});var Zt=e.jQuery,en=e.$;return Ce.noConflict=function(t){return e.$===Ce&&(e.$=en),t&&e.jQuery===Ce&&(e.jQuery=Zt),Ce},void 0===t&&(e.jQuery=e.$=Ce),Ce}),define("jquery.tiny",function(e){return function(){return e.jQuery}}(this)),function(e){"use strict";function t(e){if(!x(e))return mi;b(e.objectMaxDepth)&&(mi.objectMaxDepth=n(e.objectMaxDepth)?e.objectMaxDepth:NaN),b(e.urlErrorParamsEnabled)&&P(e.urlErrorParamsEnabled)&&(mi.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.8.2/",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+"] ",l=Y(arguments,2).map(function(e){return ke(e,mi.objectMaxDepth)});if(u+=s.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<l.length?l[t].replace(i,""):e}),u+="\n"+n+(e?e+"/":"")+a,mi.urlErrorParamsEnabled)for(o=0,r="?";o<l.length;o++,r="&")u+=r+"p"+o+"="+encodeURIComponent(l[o]);return new t(u)}}function i(e){if(null==e||M(e))return!1;if(E(e)||C(e)||pi&&e instanceof pi)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(A(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(w(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)yi.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++Oi}function l(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function c(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(x(a)||A(a))for(var s=Object.keys(a),u=0,f=s.length;u<f;u++){var d=s[u],p=a[d];n&&x(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():"__proto__"!==d&&(x(e[d])||(e[d]=E(p)?[]:{}),c(e[d],[p],!0)):e[d]=p}}return l(e,r),e}function f(e){return c(e,wi.call(arguments,1),!1)}function d(e){return c(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 A(e.toString)&&e.toString!==ki}function y(e){return void 0===e}function b(e){return void 0!==e}function x(e){return null!==e&&"object"==typeof e}function w(e){return null!==e&&"object"==typeof e&&!Ei(e)}function C(e){return"string"==typeof e}function S(e){return"number"==typeof e}function k(e){return"[object Date]"===ki.call(e)}function E(e){return Array.isArray(e)||e instanceof Array}function T(e){switch(ki.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function A(e){return"function"==typeof e}function O(e){return"[object RegExp]"===ki.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]"===ki.call(e)}function j(e){return"[object FormData]"===ki.call(e)}function L(e){return"[object Blob]"===ki.call(e)}function P(e){return"boolean"==typeof e}function R(e){return e&&A(e.then)}function V(e){return e&&S(e.length)&&Di.test(ki.call(e))}function I(e){return"[object ArrayBuffer]"===ki.call(e)}function q(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function H(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function _(e){return bi(e.nodeName||e[0]&&e[0].nodeName)}function U(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(w(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)yi.call(e,r)&&(t[r]=a(e[r],n));return l(t,i),t}function a(e,t){if(!x(e))return e;var n=u.indexOf(e);if(-1!==n)return c[n];if(M(e)||D(e))throw Ti("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(Ei(e)),r=!0),u.push(e),c.push(o),r?i(e,o,t):o}function s(e){switch(ki.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(A(e.cloneNode))return e.cloneNode(!0)}var u=[],c=[];if(r=n(r)?r:NaN,t){
if(V(t)||I(t))throw Ti("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Ti("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),c.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=be();for(r in e)if("$"!==r.charAt(0)&&!A(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])&&!A(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 X(e,t){var n=arguments.length>2?Y(arguments,2):[];return!A(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 J(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(Ri,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return Mi(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=pi(e).clone().empty();var t=pi("<div></div>").append(e).html();try{return e[0].nodeType===Ui?bi(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+bi(t)})}catch(e){return bi(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),yi.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=Vi.length;for(r=0;r<i;++r)if(n=Vi[r]+t,C(n=e.getAttribute(n)))return n;return null}function le(t,n){var r,i,a={};if(o(Vi,function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))}),o(Vi,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 ce(t,n,r){x(r)||(r={}),r=f({strictDi:!1},r);var i=function(){if(t=pi(t),t.injector()){var i=t[0]===e.document?"document":ne(t);throw Ti("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=pt(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()},A(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 Ti("test","no injector found for element argument to getTestability");return t.get("$$testability")}function pe(e,t){return t=t||"_",e.replace(qi,function(e,n){return(n?t:"")+e.toLowerCase()})}function he(){Re.legacyXHTMLReplacement=!0}function ve(e,t,n){if(!e)throw Ti("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function me(e,t,n){return n&&E(e)&&(e=e[e.length-1]),ve(A(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ge(e,t){if("hasOwnProperty"===e)throw Ti("badname","hasOwnProperty is not a valid {0} name",t)}function $e(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&&A(e)?X(o,e):e}function ye(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=pi(wi.call(e,0,i))),t.push(n));return t||e}function be(){return Object.create(null)}function xe(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!$(e)||E(e)||k(e)?J(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&&A(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=[],l=[],c=[],f=e("$injector","invoke","push",l),d={_invokeQueue:u,_configBlocks:l,_runBlocks:c,info:function(e){if(b(e)){if(!x(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",l),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 c.push(e),this}};return a&&f(a),d})}})}function Ce(e,t){if(E(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(x(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function Se(e,t){var r=[];return n(t)&&(e=Ai.copy(e,null,t)),JSON.stringify(e,function(e,t){if(t=K(e,t),x(t)){if(r.indexOf(t)>=0)return"...";r.push(t)}return t})}function ke(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?Se(e,t):e}function Ee(){return++Yi}function Te(e){return Oe(e.replace(Ki,"ms-"))}function Ae(e,t){return t.toUpperCase()}function Oe(e){return e.replace(Xi,Ae)}function Me(e){return!eo.test(e)}function De(e){var t=e.nodeType;return t===_i||!t||t===Bi}function Ne(e){for(var t in Gi[e.ng339])return!0;return!1}function je(t,n){var r,i,a,s,u,l=n.createDocumentFragment(),c=[];if(Me(t))c.push(n.createTextNode(t));else{if(r=l.appendChild(n.createElement("div")),i=(to.exec(t)||["",""])[1].toLowerCase(),s=Re.legacyXHTMLReplacement?t.replace(no,"<$1></$2>"):t,di<10)for(a=io[i]||io._default,r.innerHTML=a[1]+s+a[2],u=a[0];u--;)r=r.firstChild;else{for(a=ro[i]||[],u=a.length;--u>-1;)r.appendChild(e.document.createElement(a[u])),r=r.firstChild;r.innerHTML=s}c=G(c,r.childNodes),r=l.firstChild,r.textContent=""}return l.textContent="",l.innerHTML="",o(c,function(e){l.appendChild(e)}),l}function Le(t,n){n=n||e.document;var r;return(r=Zi.exec(t))?[n.createElement(r[1])]:(r=je(t,n))?r.childNodes:[]}function Pe(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Re(e){if(e instanceof Re)return e;var t;if(C(e)&&(e=Ni(e),t=!0),!(this instanceof Re)){if(t&&"<"!==e.charAt(0))throw Qi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Re(e)}t?Ye(this,Le(e)):A(e)?et(e):Ye(this,e)}function Ve(e){return e.cloneNode(!0)}function Ie(e,t){!t&&De(e)&&pi.cleanData([e]),e.querySelectorAll&&pi.cleanData(e.querySelectorAll("*"))}function qe(e){var t;for(t in e)return!1;return!0}function He(e){var t=e.ng339,n=t&&Gi[t],r=n&&n.events,i=n&&n.data;i&&!qe(i)||r&&!qe(r)||(delete Gi[t],e.ng339=void 0)}function _e(e,t,n,r){if(b(r))throw Qi("offargs","jqLite#off() does not support the `selector` argument");var i=Fe(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),Ji[e]&&u(Ji[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t];He(e)}}function Ue(e,t){var n=e.ng339,r=n&&Gi[n];r&&(t?delete r.data[t]:r.data={},He(e))}function Fe(e,t){var n=e.ng339,r=n&&Gi[n];return t&&!r&&(e.ng339=n=Ee(),r=Gi[n]={events:{},data:{},handle:void 0}),r}function Be(e,t,n){if(De(e)){var r,i=b(n),o=!i&&t&&!x(t),a=!t,s=Fe(e,!o),u=s&&s.data;if(i)u[Oe(t)]=n;else{if(a)return u;if(o)return u&&u[Oe(t)];for(r in t)u[Oe(r)]=t[r]}}}function ze(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}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=Ni(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",Ni(r))}}function Ge(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;o(t.split(" "),function(e){e=Ni(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",Ni(r))}}function Ye(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 Xe(e,t){return Ke(e,"$"+(t||"ngController")+"Controller")}function Ke(e,t,n){e.nodeType===Bi&&(e=e.documentElement);for(var r=E(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(b(n=pi.data(e,r[i])))return n;e=e.parentNode||e.nodeType===zi&&e.host}}function Je(e){for(Ie(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Qe(e,t){t||Ie(e);var n=e.parentNode;n&&n.removeChild(e)}function Ze(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):pi(n).on("load",t)}function et(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 tt(e,t){var n=co[t.toLowerCase()];return n&&fo[_(e)]&&n}function nt(e){return po[e]}function rt(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||it;o>1&&(i=Ce(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function it(e,t,n){n.call(e,t)}function ot(e,t,n){var r=t.relatedTarget;r&&(r===e||uo.call(e,r))||n.call(e,t)}function at(){this.$get=function(){return f(Re,{hasClass:function(e,t){return e.attr&&(e=e[0]),ze(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Ge(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),We(e,t)}})}}function st(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 ut(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function lt(e){return Function.prototype.toString.call(e)}function ct(e){var t=lt(e).replace(xo,"");return t.match(go)||t.match($o)}function ft(e){var t=ct(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function dt(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||ft(e)),wo("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=ct(e),o(i[1].split(yo),function(e){e.replace(bo,function(e,t,n){r.push(n)})})}e.$inject=r}}else E(e)?(a=e.length-1,me(e[a],"fn"),r=e.slice(0,a)):me(e,"fn",!0);return r}function pt(e,t){function n(e){return function(t,n){if(!x(t))return e(t,n);o(t,s(e))}}function r(e,t){if(ge(e,"service"),(A(t)||E(t))&&(t=w.instantiate(t)),!t.$get)throw wo("pget","Provider '{0}' must define $get factory method.",e);return b[e+v]=t}function i(e,t){return function(){var n=T.invoke(t,this);if(y(n))throw wo("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 l(e,t){return a(e,g(t),!1)}function c(e,t){ge(e,"constant"),b[e]=t,S[e]=t}function f(e,t){var n=w.get(e+v),r=n.$get;n.$get=function(){var e=T.invoke(r,n);return T.invoke(t,null,{$delegate:e})}}function d(e){ve(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=w.get(r[0]);i[r[1]].apply(i,r[2])}}if(!$.get(e)){$.set(e,!0);try{C(e)?(t=vi(e),T.modules[e]=t,n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):A(e)?n.push(w.invoke(e)):E(e)?n.push(w.invoke(e)):me(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),wo("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 wo("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=pt.$$annotate(e,t,i),s=0,u=a.length;s<u;s++){var l=a[s];if("string"!=typeof l)throw wo("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){if(di||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return P(t)||(t=e.$$ngIsClass=/^class\b/.test(lt(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:pt.$$annotate,has:function(t){return b.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=!0===t;var h={},v="Provider",m=[],$=new vo,b={$provide:{provider:n(r),factory:n(a),service:n(u),value:n(l),constant:n(c),decorator:f}},w=b.$injector=p(b,function(e,t){throw Ai.isString(t)&&m.push(t),wo("unpr","Unknown provider: {0}",m.join(" <- "))}),S={},k=p(S,function(e,t){var n=w.get(e+v,t);return T.invoke(n.$get,n,void 0,e)}),T=k;b["$injector"+v]={$get:g(k)},T.modules=w.modules=be();var O=d(e);return T=k.get("$injector"),T.strictDi=t,o(O,function(e){e&&T.invoke(e)}),T.loadNewModules=function(e){o(d(e),function(e){e&&T.invoke(e)})},T}function ht(){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"===_(e))return t=e,!0}),t}function o(){var e=s.yOffset;if(A(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||Ze(function(){r.$evalAsync(s)})}),s}]}function vt(e,t){return e||t?e?t?(E(e)&&(e=e.join(" ")),E(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function mt(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===So)return n}}function gt(e){C(e)&&(e=e.split(" "));var t=be();return o(e,function(e){e.length&&(t[e]=!0)}),t}function $t(e){return x(e)?e:{}}function yt(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function bt(e){return e.replace(/#$/,"")}function xt(e,t,n,r,i){function a(){w=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===l.url()&&e===g||(b=l.url(),$=g,o(S,function(e){e(l.url(),g)}))}var l=this,c=e.location,f=e.history,d=e.setTimeout,p=e.clearTimeout,h={},m=i(n);l.isMock=!1,l.$$completeOutstandingRequest=m.completeTask,l.$$incOutstandingRequestCount=m.incTaskCount,l.notifyWhenNoOutstandingRequests=m.notifyWhenNoPendingTasks;var g,$,b=c.href,x=t.find("base"),w=null,C=r.history?function(){try{return f.state}catch(e){}}:v;s(),l.url=function(t,n,i){if(y(i)&&(i=null),c!==e.location&&(c=e.location),f!==e.history&&(f=e.history),t){var o=$===i;if(t=Qn(t).href,b===t&&(!r.history||o))return l;var a=b&&an(b)===an(t);return b=t,$=i,!r.history||a&&o?(a||(w=t),n?c.replace(t):a?c.hash=yt(t):c.href=t,c.href!==t&&(w=t)):(f[n?"replaceState":"pushState"](i,"",t),s()),w&&(w=t),l}return bt(w||c.href)},l.state=function(){return g};var S=[],k=!1,E=null;l.onUrlChange=function(t){return k||(r.history&&pi(e).on("popstate",a),pi(e).on("hashchange",a),k=!0),S.push(t),t},l.$$applicationDestroyed=function(){pi(e).off("hashchange popstate",a)},l.$$checkUrlChange=u,l.baseHref=function(){var e=x.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},l.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},l.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 xt(e,r,t,n,i)}]}function Ct(){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=be(),l=n&&n.capacity||Number.MAX_VALUE,c=be(),d=null,p=null;return t[e]={put:function(e,t){if(!y(t)){if(l<Number.MAX_VALUE){i(c[e]||(c[e]={key:e}))}return e in u||a++,u[e]=t,a>l&&this.remove(p.key),t}},get:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;t===d&&(d=t.p),t===p&&(p=t.n),o(t.n,t.p),delete c[e]}e in u&&(delete u[e],a--)},removeAll:function(){u=be(),a=0,c=be(),d=p=null},destroy:function(){u=null,s=null,c=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 St(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function kt(){}function Et(t,n){function r(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=be();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 Do("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(x(e.scope)&&(!0===e.bindToController?(n.bindToController=r(e.scope,t,!0),n.isolateScope={}):n.isolateScope=r(e.scope,t,!1)),x(e.bindToController)&&(n.bindToController=r(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw Do("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}function a(e){var t=e.charAt(0);if(!t||t!==bi(t))throw Do("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Do("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)&&x(t)&&o(t,function(e,n){var r=e.match(S);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}function l(e,t){if(e&&(!C(e)||!/[EACM]/.test(e)))throw Do("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}var c={},d="Directive",p=/^\s*directive:\s*([\w-]+)\s+(.*)$/,$=/(([\w-]+)(?::([^;]+))?;?)/,w=H("ngSrc,ngSrcset,src,srcset"),S=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/,O=be();this.directive=function e(n,r){return ve(n,"name"),ge(n,"directive"),C(n)?(a(n),ve(r,"directiveFactory"),c.hasOwnProperty(n)||(c[n]=[],t.factory(n+d,["$injector","$exceptionHandler",function(e,t){var r=[];return o(c[n],function(i,o){try{var a=e.invoke(i);A(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=l(a.restrict,n),a.$$moduleName=i.$$moduleName,r.push(a)}catch(e){t(e)}}),r}])),c[n].push(r)):o(n,s(e)),this},this.component=function e(t,n){function r(e){function t(t){return A(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:Dt(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(X(this,e))),this;var i=n.controller||function(){};return o(n,function(e,t){"$"===t.charAt(0)&&(r[t]=e,A(i)&&(i[t]=e))}),r.$inject=["$injector"],this.directive(t,r)},this.aHrefSanitizationTrustedUrlList=function(e){return b(e)?(n.aHrefSanitizationTrustedUrlList(e),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(e){this.aHrefSanitizationTrustedUrlList=e}}),this.imgSrcSanitizationTrustedUrlList=function(e){return b(e)?(n.imgSrcSanitizationTrustedUrlList(e),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(e){this.imgSrcSanitizationTrustedUrlList=e}});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 L=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(L=e,this):L};var R=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(R=e,this):R};var V=be();this.addPropertySecurityContext=function(e,t,n){var r=e.toLowerCase()+"|"+t.toLowerCase();if(r in V&&V[r]!==n)throw Do("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",e,t,V[r],n);return V[r]=n,this},function(){function e(e,t){o(t,function(t){V[t.toLowerCase()]=e})}e(ua.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(ua.CSS,["*|style"]),e(ua.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),e(ua.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),e(ua.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,l,g,b){function O(){try{if(!--Ie)throw Ne=void 0,Do("infchng","{0} $onChanges() iterations reached. Aborting!\n",j);l.$apply(function(){for(var e=0,t=Ne.length;e<t;++e)try{Ne[e]()}catch(e){r(e)}Ne=void 0})}finally{Ie++}}function I(e,t){if(!e)return e;if(!C(e))throw Do("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',t,e.toString());for(var n="",r=Ni(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 l=2*u;n+=g.getTrustedMediaUrl(Ni(a[l])),n+=" "+Ni(a[l+1])}var c=Ni(a[2*u]).split(/\s/);return n+=g.getTrustedMediaUrl(Ni(c[0])),2===c.length&&(n+=" "+Ni(c[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 H(e,t,n){Le.innerHTML="<span "+t+">";var r=Le.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function U(e,t){try{e.addClass(t)}catch(e){}}function B(e,t,n,r,i){e instanceof pi||(e=pi(e));var o=K(e,t,e,n,r,i);B.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw Do("multilink","This element has already been linked.");ve(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=G(l));var c;if(c="html"!==a?pi($e(a,pi("<div></div>").append(e).html())):n?lo.clone.call(e):e,u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return B.$$addScopeInfo(c,t),n&&n(c,t),o&&o(t,c,c,s),n||(e=o=null),c}}function G(e){var t=e&&e[0];return t&&"foreignobject"!==_(t)&&ki.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,l,c,f,d,v;if(p){var m=n.length;for(v=new Array(m),l=0;l<h.length;l+=3)f=h[l],v[f]=n[f]}else v=n;for(l=0,c=h.length;l<c;)s=v[h[l++]],o=h[l++],a=h[l++],o?(o.scope?(u=e.$new(),B.$$addScopeInfo(pi(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,l,c,f,d,p,h=[],v=E(e)||e instanceof pi,m=0;m<e.length;m++)s=new q,11===di&&J(e,m,v),u=Z(e[m],[],s,0===m?r:void 0,i),l=u.length?oe(u,e[m],s,t,n,null,[],[],o):null,l&&l.scope&&B.$$addScopeClass(s.$$element),f=l&&l.terminal||!(c=e[m].childNodes)||!c.length?null:K(c,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||f)&&(h.push(m,l,f),d=!0,p=p||l),o=null;return d?a:null}function J(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Ui)for(;;){if(!(r=o?i.nextSibling:e[t+1])||r.nodeType!==Ui)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=be();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,l=n.$attr;switch(u){case _i:a=_(e),le(t,At(a),"E",r,i);for(var c,f,d,p,h,v=e.attributes,m=0,g=v&&v.length;m<g;m++){var y,b=!1,w=!1,S=!1,k=!1,E=!1;c=v[m],f=c.name,p=c.value,d=At(f.toLowerCase()),(h=d.match(Ue))?(S="Attr"===h[1],k="Prop"===h[1],E="On"===h[1],f=f.replace(jo,"").toLowerCase().substr(4+h[1].length).replace(/_(.)/g,function(e,t){return t.toUpperCase()})):(y=d.match(Fe))&&ce(y[1])&&(b=f,w=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),k||E?(n[d]=p,l[d]=c.name,k?Ce(e,t,d,f):Se(t,d,f)):(d=At(f.toLowerCase()),l[d]=f,!S&&n.hasOwnProperty(d)||(n[d]=p,tt(e,d)&&(n[d]=!0)),ke(e,t,p,d,S),le(t,d,"A",r,i,b,w))}if("input"===a&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Re)break;if(s=e.className,x(s)&&(s=s.animVal),C(s)&&""!==s)for(;o=$.exec(s);)d=At(o[2]),le(t,d,"C",r,i)&&(n[d]=Ni(o[3])),s=s.substr(o.index+o[0].length);break;case Ui:ge(t,e.nodeValue);break;case Fi:if(!Pe)break;ee(e,t,n,r,i)}return t.sort(he),t}function ee(e,t,n,r,i){try{var o=p.exec(e.nodeValue);if(o){var a=At(o[1]);le(t,a,"M",r,i)&&(n[a]=Ni(o[2]))}}catch(e){}}function te(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Do("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===_i&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return pi(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,l,c,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=Te(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=re(t,n,r)),t.require=v.require,t.directiveName=m,(k===v||v.$$isolateScope)&&(t=Te(t,{isolateScope:!0})),c.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?w.parent():w),!r)return u(e,t,i,n,V);var o=u.$$slots[r];if(o)return o(e,t,i,n,V);if(y(o))throw Do("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,ne(w))}var p,h,v,m,g,$,b,w,O,M;n===a?(O=i,w=i.$$element):(w=pi(a),O=new q(w,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(w,O,b,S,m,t,k)),k&&(B.$$addScopeInfo(w,m,!0,!(T&&(T===k||T===k.$$originalDirective))),B.$$addScopeClass(w,!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 L=S[N],P=$[N],R=L.$$bindings.bindToController;P.instance=P(),w.data("$"+L.name+"Controller",P.instance),P.bindingInfo=De(g,O,P.instance,R,L)}for(o(S,function(e,t){var n=e.require;e.bindToController&&!E(n)&&x(n)&&f($[t].instance,ae(t,n,w,$))}),o($,function(e){var t=e.instance;if(A(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){r(e)}if(A(t.$onInit))try{t.$onInit()}catch(e){r(e)}A(t.$doCheck)&&(g.$watch(function(){t.$doCheck()}),t.$doCheck()),A(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),p=0,h=l.length;p<h;p++)v=l[p],Ae(v,v.isolateScope?m:t,w,O,v.require&&ae(v.directiveName,v.require,w,$),b);var V=t;for(k&&(k.template||null===k.templateUrl)&&(V=m),e&&e(V,a.childNodes,void 0,u),p=c.length-1;p>=0;p--)v=c[p],Ae(v,v.isolateScope?m:t,w,O,v.require&&ae(v.directiveName,v.require,w,$),b);o($,function(e){var t=e.instance;A(t.$postLink)&&t.$postLink()})}d=d||{};for(var v,m,g,$,b,w=-Number.MAX_VALUE,C=d.newScopeDirective,S=d.controllerDirectives,k=d.newIsolateScopeDirective,T=d.templateDirective,O=d.nonTlbTranscludeDirective,M=!1,N=!1,j=d.hasElementTranscludeDirective,L=i.$$element=pi(n),P=u,R=a,V=!1,I=!1,H=0,U=t.length;H<U;H++){v=t[H];var F=v.$$start,z=v.$$end;if(F&&(L=te(n,F,z)),g=void 0,w>v.priority)break;if(b=v.scope,b&&(v.templateUrl||(x(b)?(me("new/isolated scope",k||C,v,L),
k=v):me("new/isolated scope",k,v,L)),C=C||v),m=v.name,!V&&(v.replace&&(v.templateUrl||v.template)||v.transclude&&!v.$$tlb)){for(var W,G=H+1;W=t[G++];)if(W.transclude&&!W.$$tlb||W.replace&&(W.templateUrl||W.template)){I=!0;break}V=!0}if(!v.templateUrl&&v.controller&&(S=S||be(),me("'"+m+"' controller",S[m],v,L),S[m]=v),b=v.transclude)if(M=!0,v.$$tlb||(me("transclusion",O,v,L),O=v),"element"===b)j=!0,w=v.priority,g=L,L=i.$$element=pi(B.$$createComment(m,i[m])),n=L[0],Ee(s,Y(g),n),R=ie(I,g,a,w,P&&P.name,{nonTlbTranscludeDirective:O});else{var K=be();if(x(b)){g=e.document.createDocumentFragment();var J=be(),Q=be();o(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,J[e]=t,K[t]=null,Q[t]=n}),o(L.contents(),function(t){var n=J[At(_(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 Do("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ee in K)if(K[ee]){var oe=pi(K[ee].childNodes);K[ee]=ie(I,oe,a)}g=pi(g.childNodes)}else g=pi(Ve(n)).contents();L.empty(),R=ie(I,g,a,void 0,void 0,{needsNewScope:v.$$isolateScope||v.$$newScope}),R.$$slots=K}if(v.template)if(N=!0,me("template",T,v,L),T=v,b=A(v.template)?v.template(L,i):v.template,b=_e(b),v.replace){if(P=v,g=Me(b)?[]:Mt($e(v.templateNamespace,Ni(b))),n=g[0],1!==g.length||n.nodeType!==_i)throw Do("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");Ee(s,L,n);var le={$attr:{}},ce=Z(n,[],le),pe=t.splice(H+1,t.length-(H+1));(k||C)&&ue(ce,k,C),t=t.concat(ce).concat(pe),fe(i,le),U=t.length}else L.html(b);if(v.templateUrl)N=!0,me("template",T,v,L),T=v,v.replace&&(P=v),h=de(t.splice(H,t.length-H),L,i,s,M&&R,l,c,{controllerDirectives:S,newScopeDirective:C!==v&&C,newIsolateScopeDirective:k,templateDirective:T,nonTlbTranscludeDirective:O}),U=t.length;else if(v.compile)try{$=v.compile(L,i,R);var he=v.$$originalDirective||v;A($)?p(null,X(he,$),F,z):$&&p(X(he,$.pre),X(he,$.post),F,z)}catch(e){r(e,ne(L))}v.terminal&&(h.terminal=!0,w=Math.max(w,v.priority))}return h.scope=C&&!0===C.scope,h.transcludeOnThisElement=M,h.templateOnThisElement=N,h.transclude=R,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],l="?"===a[2];if("^^"===u?n=n.parent():(i=r&&r[s],i=i&&i.instance),!i){var c="$"+s+"Controller";i="^^"===u&&n[0]&&n[0].nodeType===Bi?null:u?n.inheritedData(c):n.data(c)}if(!i&&!l)throw Do("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 x(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=be();for(var l in r){var c=r[l],f={$scope:c===a||c.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=c.controller;"@"===d&&(d=t[c.name]);var p=u(d,f,!0,c.controllerAs);s[c.name]=p,e.data("$"+c.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 le(e,n,r,o,a,s,u){if(n===a)return null;var l=null;if(c.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);x(g.isolateScope)&&(f.$$isolateBindings=g.isolateScope)}e.push(f),l=f}return l}function ce(e){if(c.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,l,c){var f,d,p=[],v=t[0],m=e.shift(),g=h(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),$=A(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,y=m.templateNamespace;return t.empty(),a($).then(function(r){var a,h,b,w;if(r=_e(r),m.replace){if(b=Me(r)?[]:Mt($e(y,Ni(r))),a=b[0],1!==b.length||a.nodeType!==_i)throw Do("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);x(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,l,c),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(),T=p.shift(),A=t[0];if(!S.$$destroyed){if(k!==v){var O=k.className;c.hasElementTranscludeDirective&&m.replace||(A=Ve(a)),Ee(E,pi(k),A),U(pi(A),O)}w=f.transcludeOnThisElement?Q(S,f.transclude,T):T,f(d,S,A,i,w)}}p=null}).catch(function(e){T(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 he(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 Do("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=bi(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 ye(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 xe(e,t){var n=t.toLowerCase();return V[e+"|"+n]||V["*|"+n]}function we(e){return I(g.valueOf(e),"ng-prop-srcset")}function Ce(e,t,n,r){if(k.test(r))throw Do("nodomevents","Property bindings for HTML DOM event properties are disallowed");var i=_(e),o=xe(i,r),a=m;"srcset"!==r||"img"!==i&&"source"!==i?o&&(a=g.getTrusted.bind(g,o)):a=we,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(ii(s,l,r,t,n,!1))}function ke(e,t,r,i,o){var a=_(e),s=ye(a,i),u=!o,l=w[i]||o,c=n(r,u,s,l);if(c){if("multiple"===i&&"select"===a)throw Do("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ne(e));if(k.test(i))throw Do("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=be()),u=o[i];u!==r&&(c=u&&n(u,!0,s,l),r=u),c&&(o[i]=c(e),(a[i]||(a[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(c,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 l=i,c=l+s-1,f=t.length;l<f;l++,c++)c<f?t[l]=t[c]:delete t[l];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(pi.hasData(a)&&(pi.data(r,pi.data(a)),pi(a).off("$destroy")),pi.cleanData(d.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function Te(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function Ae(e,t,n,i,o,a){try{e(t,n,i,o,a)}catch(e){r(e,ne(n))}}function Oe(e,t){if(N)throw Do("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){A(r.$onChanges)&&!z(n,i)&&(Ne||(e.$$postDigest(O),Ne=[]),c||(c={},Ne.push(l)),c[t]&&(i=c[t].previousValue),c[t]=new Tt(i,n))}function l(){r.$onChanges(c),c=void 0}var c,f=[],d={};return o(i,function(i,o){var l,c,p,h,m,g=i.attrName,$=i.optional,y=i.mode;switch(y){case"@":$||yi.call(t,g)||(Oe(g,a.name),r[o]=t[g]=void 0),m=t.$observe(g,function(e){if(C(e)||P(e)){var t=r[o];u(o,e,t),r[o]=e}}),t.$$observers[g].$$scope=e,l=t[g],C(l)?r[o]=n(l)(e):P(l)&&(r[o]=l),d[o]=new Tt(No,r[o]),f.push(m);break;case"=":if(!yi.call(t,g)){if($)break;Oe(g,a.name),t[g]=void 0}if($&&!t[g])break;c=s(t[g]),h=c.literal?W:z,p=c.assign||function(){throw l=r[o]=c(e),Do("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[g],g,a.name)},l=r[o]=c(e);var b=function(t){return h(t,r[o])||(h(t,l)?p(e,t=r[o]):r[o]=t),l=t};b.$stateful=!0,m=i.collection?e.$watchCollection(t[g],b):e.$watch(s(t[g],b),null,c.literal),f.push(m);break;case"<":if(!yi.call(t,g)){if($)break;Oe(g,a.name),t[g]=void 0}if($&&!t[g])break;c=s(t[g]);var x=c.literal,w=r[o]=c(e);d[o]=new Tt(No,r[o]),m=e[i.collection?"$watchCollection":"$watch"](c,function(e,t){if(t===e){if(t===w||x&&W(t,w))return;t=w}u(o,e,t),r[o]=e}),f.push(m);break;case"&":if($||yi.call(t,g)||Oe(g,a.name),(c=t.hasOwnProperty(g)?s(t[g]):v)===v&&$)break;r[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;e<t;++e)f[e]()}}}var Ne,je=/^\w/,Le=e.document.createElement("div"),Pe=L,Re=R,Ie=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=Ot(e,t);n&&n.length&&b.addClass(this.$$element,n);var r=Ot(t,e);r&&r.length&&b.removeClass(this.$$element,r)},$set:function(e,t,n,i){var a,s=this.$$element[0],u=tt(s,e),l=nt(e),c=e;u?(this.$$element.prop(e,t),i=u):l&&(this[l]=t,c=l),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=pe(e,"-")),a=_(this.$$element),"img"===a&&"srcset"===e&&(this[e]=t=I(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):H(this.$$element[0],i,t));var f=this.$$observers;f&&o(f[c],function(e){try{e(t)}catch(e){r(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=be()),i=r[e]||(r[e]=[]);return i.push(t),l.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){F(i,t)}}};var qe=n.startSymbol(),He=n.endSymbol(),_e="{{"===qe&&"}}"===He?m:function(e){return e.replace(/\{\{/g,qe).replace(/}}/g,He)},Ue=/^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){U(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){U(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 Tt(e,t){this.previousValue=e,this.currentValue=t}function At(e){return e.replace(jo,"").replace(Lo,function(e,t,n){return n?t.toUpperCase():t})}function Ot(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 Mt(e){e=pi(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Fi||n.nodeType===Ui&&""===n.nodeValue.trim())&&Ci.call(e,t,1)}return e}function Dt(e,t){if(t&&C(t))return t;if(C(e)){var n=Ro.exec(e);if(n)return n[3]}}function Nt(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){ge(t,"controller"),x(t)?f(e,t):e[t]=n},this.$get=["$injector",function(t){function n(e,t,n,i){if(!e||!x(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,l,c;if(o=!0===o,a&&C(a)&&(c=a),C(r)){if(!(u=r.match(Ro)))throw Po("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(l=u[1],c=c||u[3],!(r=e.hasOwnProperty(l)?e[l]:$e(i.$scope,l,!0)))throw Po("ctrlreg","The controller with the name '{0}' is not registered.",l);me(r,l,!0)}if(o){var d=(E(r)?r[r.length-1]:r).prototype;return s=Object.create(d||null),c&&n(i,c,s,l||r.name),f(function(){var e=t.invoke(r,s,i,l);return e!==s&&(x(e)||A(e))&&(s=e,c&&n(i,c,s,l||r.name)),s},{instance:s,identifier:c})}return s=t.instantiate(r,i,l),c&&n(i,c,s,l||r.name),s}}]}function jt(){this.$get=["$window",function(e){return pi(e.document)}]}function Lt(){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 Rt(e){return x(e)?k(e)?e.toISOString():J(e):e}function Vt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||A(e)||(E(e)?o(e,function(e){t.push(se(n)+"="+se(Rt(e)))}):t.push(se(n)+"="+se(Rt(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+"["+(x(e)?n:"")+"]")}):x(e)&&!k(e)?a(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):(A(e)&&(e=e()),n.push(se(r)+"="+(null==e?"":se(Rt(e)))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function qt(e,t){if(C(e)){var n=e.replace(Uo,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf(Io);if(i||Ht(n))try{e=Q(n)}catch(t){if(!i)return e;throw Fo("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}return e}function Ht(e){var t=e.match(Ho);return t&&_o[t[0]].test(e)}function _t(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=be();return C(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(bi(Ni(e.substr(0,n))),Ni(e.substr(n+1)))}):x(e)&&o(e,function(e,n){t(bi(n),Ni(e))}),r}function Ut(e){var t;return function(n){if(t||(t=_t(e)),n){var r=t[bi(n)];return void 0===r&&(r=null),r}return t}}function Ft(e,t,n,r){return A(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Bt(e){return 200<=e&&e<300}function zt(){var e=this.defaults={transformResponse:[qt],transformRequest:[function(e){return!x(e)||N(e)||L(e)||j(e)?e:J(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Ce(qo),put:Ce(qo),patch:Ce(qo)},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.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(e){this.xsrfTrustedOrigins=e}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(a,s,u,l,c,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){A(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e}),r}function u(t){var n=t.headers,r=Ft(t.data,Ut(n),void 0,t.transformRequest);return y(r)&&o(n,function(e,t){"content-type"===bi(t)&&delete n[t]}),y(t.withCredentials)&&!y(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,r).then(l,l)}function l(e){var t=f({},e);return t.data=Ft(e.data,e.headers,e.status,c.transformResponse),Bt(e.status)?t:d.reject(t)}if(!x(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 c=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},t);c.headers=function(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[bi(t.method)]);e:for(n in o){r=bi(n);for(i in a)if(bi(i)===r)continue e;a[n]=o[n]}return s(a,Ce(t))}(t),c.method=xi(c.method),c.paramSerializer=C(c.paramSerializer)?p.get(c.paramSerializer):c.paramSerializer,a.$$incOutstandingRequestCount("$http");var m=[],$=[],b=d.resolve(c);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?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),n}}function a(e,n,r,i,o){function a(){l(n,e,r,i,o)}v&&(Bt(e)?v.put(D,[e,n,_t(r),i,o]):v.remove(D)),t?c.$applyAsync(a):(a(),c.$$phase||c.$apply())}function l(e,t,r,i,o){t=t>=-1?t:0,(Bt(t)?k.resolve:k.reject)({data:e,status:t,headers:Ut(r),config:n,statusText:i,xhrStatus:o})}function f(e){l(e.data,e.status,Ce(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(),A=k.promise,O=n.headers,M="jsonp"===bi(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=w(D,n.jsonpCallbackParam)),m.pendingRequests.push(n),A.then(p,p),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(v=x(n.cache)?n.cache:x(e.cache)?e.cache:S),v&&(g=v.get(D),b(g)?R(g)?g.then(f,f):E(g)?l(g[1],g[0],Ce(g[2]),g[3],g[4]):l(g,200,{},"OK","complete"):v.put(D,A)),y(g)){var N=T(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 A}function $(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function w(e,t){var n=e.split("?");if(n.length>2)throw Fo("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return o(ie(n[1]),function(n,r){if("JSON_CALLBACK"===n)throw Fo("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw Fo("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)}),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var S=l("$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 T=tr(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 Wt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Gt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Yt(e,r,e.defer,t,n[0])}]}function Yt(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,l,c,f,d,p,h,v){function m(e){C="timeout"===e,x&&x(),w&&w.abort()}function g(e,t,r,i,o,a){b(T)&&n.cancel(T),x=w=null,e(t,r,i,o,a)}if(s=s||e.url(),"jsonp"===bi(i))var $=r.createCallback(s),x=a(s,$,function(e,t){var n=200===e&&r.getResponse($);g(l,e,n,"",t,"complete"),r.removeCallback($)});else{var w=t(i,s),C=!1;w.open(i,s,!0),o(c,function(e,t){b(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"===Qn(s).protocol?404:0),g(l,n,t,w.getAllResponseHeaders(),e,"complete")};var S=function(){g(l,-1,null,null,"","error")},k=function(){g(l,-1,null,null,"",C?"timeout":"abort")},E=function(){g(l,-1,null,null,"","timeout")};if(w.onerror=S,w.ontimeout=E,w.onabort=k,o(h,function(e,t){w.addEventListener(t,e)}),o(v,function(e,t){w.upload.addEventListener(t,e)}),d&&(w.withCredentials=!0),p)try{w.responseType=p}catch(e){if("json"!==p)throw e}w.send(y(u)?null:u)}if(f>0)var T=n(function(){m("timeout")},f);else R(f)&&f.then(function(){m(b(f.$$timeoutId)?"timeout":"abort")})}}function Xt(){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:xe(e)}catch(e){r(Bo.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 x,w,C,S,k,E=0,T=[],A=o.length,O=[],M=[];E<A;){if(-1===(x=o.indexOf(e,E))||-1===(w=o.indexOf(t,x+l))){E!==A&&O.push(a(o.substring(E)));break}E!==x&&O.push(a(o.substring(E,x))),S=o.substring(x+l,w),T.push(S),E=w+c,M.push(O.length),O.push("")}k=1===O.length&&1===M.length;var D=v&&k?void 0:h;if(C=T.map(function(e){return n(e,D)}),!u||T.length){var N=function(e){for(var t=0,n=T.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&&Bo.throwNoconcat(o),O.join(""))};return f(function(e){var t=0,n=T.length,i=new Array(n);try{for(;t<n;t++)i[t]=C[t](e);return N(i)}catch(e){r(Bo.interr(o,e))}},{exp:o,expressions:T,$$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 l=e.length,c=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 Kt(){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 zo("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 Vn(r.promise),r.reject("canceled"),i(t),!0},o}]}function Jt(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(i,o){return function(a,s,u,l){function c(){d?a.apply(null,p):a(h)}function f(){v?e.defer(c):r.$evalAsync(c),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(l)&&!l,m=(v?n:t).defer(),g=m.promise;return u=b(u)?u:0,g.$$intervalId=i(f,s,m,v),g}}}]}function Qt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ae(t[n].replace(/%2F/g,"/"));return t.join("/")}function Zt(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 en(e,t,n){var r=oe(t),i=n?"#"+ae(n):"";return Qt(e)+(r?"?"+r:"")+i}function tn(e,t){var n=Qn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=p(n.port)||Yo[n.protocol]||null}function nn(e,t,n){if(Ko.test(e))throw Xo("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=Qn(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=Zt(o,n),t.$$search=ie(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function rn(e,t){return e.slice(0,t.length)===t}function on(e,t){if(rn(t,e))return t.substr(e.length)}function an(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function sn(e){return e.substr(0,an(e).lastIndexOf("/")+1)}function un(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function ln(e,t,n){this.$$html5=!0,n=n||"",tn(e,this),this.$$parse=function(e){var n=on(t,e);if(!C(n))throw Xo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);nn(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=on(e,r))?(a=o,s=n&&b(o=on(n,o))?t+(on("/",o)||o):e+a):b(o=on(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function cn(e,t,n){tn(e,this),this.$$parse=function(r){var i,o=on(e,r)||on(t,r);y(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",y(o)&&(e=r,this.replace())):(i=on(n,o),y(i)&&(i=o)),nn(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return rn(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 an(e)===an(t)&&(this.$$parse(t),!0)}}function fn(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===an(r)?o=r:(a=on(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$normalizeUrl=function(t){return e+n+t}}function dn(e){return function(){return this[e]}}function pn(e,t){return function(n){return y(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function hn(){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 P(e)?(t.enabled=e,this):x(e)?(P(e.enabled)&&(t.enabled=e.enabled),P(e.requireBase)&&(t.requireBase=e.requireBase),(P(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||Qn(e).href===Qn(t).href}function u(e,t,n){var i=c.url(),o=c.$$state;try{r.url(e,t,n),c.$$state=r.state()}catch(e){throw c.url(i),c.$$state=o,e}}function l(e,t){n.$broadcast("$locationChangeSuccess",c.absUrl(),e,c.$$state,t)}var c,f,d,p=r.baseHref(),h=r.url();if(t.enabled){if(!p&&t.requireBase)throw Xo("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=un(h)+(p||"/"),f=i.history?ln:fn}else d=an(h),f=cn;var v=sn(d);c=new f(d,v,"#"+e),c.$$parseLinkUrl(h,h),c.$$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=pi(e.target);"a"!==_(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");x(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=Qn(s.animVal).href),m.test(s)||!s||a.attr("target")||e.isDefaultPrevented()||c.$$parseLinkUrl(s,u)&&(e.preventDefault(),c.absUrl()!==r.url()&&n.$apply())}}}),c.absUrl()!==h&&r.url(c.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){if(!rn(e,v))return void(a.location.href=e);n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;c.$$parse(e),c.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,c.absUrl()===e&&(r?(c.$$parse(i),c.$$state=o,u(i,!1,o)):(g=!1,l(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(g||c.$$urlUpdatedByLocation){c.$$urlUpdatedByLocation=!1;var e=r.url(),t=c.absUrl(),o=r.state(),a=c.$$replace,f=!s(e,t)||c.$$html5&&i.history&&o!==c.$$state;(g||f)&&(g=!1,n.$evalAsync(function(){var t=c.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,c.$$state,o).defaultPrevented;c.absUrl()===t&&(r?(c.$$parse(e),c.$$state=o):(f&&u(t,a,o===c.$$state?null:c.$$state),l(e,o)))}))}c.$$replace=!1}),c}]}function vn(){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 T(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=di||/\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 mn(e){return e+""}function gn(e,t){return void 0!==e?e:t}function $n(e,t){return void 0===e?t:void 0===t?e:e+t}function yn(e,t){return!e(t).$stateful}function bn(e,t){switch(e.type){case ra.MemberExpression:if(e.computed)return!1;break;case ra.UnaryExpression:return ia;case ra.BinaryExpression:return"+"!==e.operator&&ia;case ra.CallExpression:return!1}return void 0===t?oa:t}function xn(e,t,n){var r,i,a,s=e.isPure=bn(e,n);switch(e.type){case ra.Program:r=!0,o(e.body,function(e){xn(e.expression,t,s),r=r&&e.expression.constant}),e.constant=r;break;case ra.Literal:e.constant=!0,e.toWatch=[];break;case ra.UnaryExpression:xn(e.argument,t,s),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case ra.BinaryExpression:xn(e.left,t,s),xn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case ra.LogicalExpression:xn(e.left,t,s),xn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case ra.ConditionalExpression:xn(e.test,t,s),xn(e.alternate,t,s),xn(e.consequent,t,s),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case ra.Identifier:e.constant=!1,e.toWatch=[e];break;case ra.MemberExpression:xn(e.object,t,s),e.computed&&xn(e.property,t,s),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case ra.CallExpression:a=!!e.filter&&yn(t,e.callee.name),r=a,i=[],o(e.arguments,function(e){xn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=a?i:[e];break;case ra.AssignmentExpression:xn(e.left,t,s),xn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case ra.ArrayExpression:r=!0,i=[],o(e.elements,function(e){xn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case ra.ObjectExpression:r=!0,i=[],o(e.properties,function(e){xn(e.value,t,s),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(xn(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case ra.ThisExpression:case ra.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 Cn(e){return e.type===ra.Identifier||e.type===ra.MemberExpression}function Sn(e){if(1===e.body.length&&Cn(e.body[0].expression))return{type:ra.AssignmentExpression,left:e.body[0].expression,right:{type:ra.NGValueParameter},operator:"="}}function kn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===ra.Literal||e.body[0].expression.type===ra.ArrayExpression||e.body[0].expression.type===ra.ObjectExpression)}function En(e){return e.constant}function Tn(e){this.$filter=e}function An(e){this.$filter=e}function On(e,t,n){this.ast=new ra(e,n),this.astCompiler=n.csp?new An(t):new Tn(t)}function Mn(e){return A(e.valueOf)?e.valueOf():Zo.call(e)}function Dn(){var e,t,n=be(),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 On(new na(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 On(new na(y),i,y).getAst(e).ast}function u(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=Mn(e))&&!n)&&(e===t||e!==e&&t!==t)}function l(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&&Mn(t)),o},t,n,i)}for(var l=[],c=[],f=0,d=a.length;f<d;f++)l[f]=u,c[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,l[n],a[n].isPure)))&&(c[n]=s,l[n]=s&&Mn(s))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function c(e,t,n,r,i){function o(){l(u)&&s()}function a(e,t,n,r){return u=h&&r?r[0]:c(e,t,n,r),l(u)&&e.$$postDigest(o),d(u)}var s,u,l=r.literal?f:b,c=r.$$intercepted||r,d=r.$$interceptor||m,h=r.inputs&&!c.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=c:e.inputs&&(e.$$watchDelegate=l),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===oa?function(t){return e(t)}:e}))),p(r)}var $=Li().noUnsafeEval,y={csp:$,literals:B(r),isIdentifierStart:A(e)&&e,isIdentifierContinue:A(t)&&t};return a.$$getAst=s,a}]}function Nn(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return Ln(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function jn(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return Ln(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function Ln(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){Rn(r),o=a[s][0],i=a[s][r.status];try{A(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(l)}}function l(){for(;!O&&M.length;){var e=M.shift();if(!Pn(e)){Rn(e);var n="Possibly unhandled rejection: "+ke(e.value);T(e.value)?t(e.value,n):t(n)}}}function c(t){!n||t.pending||2!==t.status||Pn(t)||(0===O&&0===M.length&&e(l),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{(x(t)||A(t))&&(o=t.then),A(o)?(e.$$state.status=-1,o.call(t,n,r,i)):(e.$$state.value=t,e.$$state.status=1,c(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,c(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,A(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{A(n)&&(r=n())}catch(e){return g(e)}return R(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 w(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(!A(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&&c(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=w,S.race=C,S}function Pn(e){return!!e.pur}function Rn(e){e.pur=!0}function Vn(e){e.$$state&&Rn(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 qn(){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,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===di&&(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 w(){for(;T.length;)try{T.shift()()}catch(e){r(e)}s=null}function C(){null===s&&(s=c.defer(function(){S.$apply(w)},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=l(e),o=A(t)?t:v;if(i.$$watchDelegate)return i.$$watchDelegate(this,o,n,i,e);var s=this,u=s.$$watchers,c={fn:o,last:b,get:i,exp:r||e,eq:!!n};return a=null,u||(u=s.$$watchers=[],u.$$digestWatchIndex=-1),u.unshift(c),u.$$digestWatchIndex++,g(this,1),function(){var e=F(u,c);e>=0&&(g(s,-1),e<u.$$digestWatchIndex&&u.$$digestWatchIndex--),a=null}},$watchGroup:function(e,t){function n(){u=!1;try{l?(l=!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,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!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(x(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)yi.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)yi.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),c)if(x(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)yi.call(o,n)&&(s[n]=o[n])}else s=o}n.$$pure=l(e).literal,n.$stateful=!n.$$pure;var o,a,s,u=this,c=t.length>1,f=0,d=l(e,n),p=[],h={},v=!0,m=0;return this.$watch(d,r)},$digest:function(){var e,i,o,u,l,f,d,p,v,g,$,y=t,x=k.length?S:this,C=[];h("$digest"),c.$$checkUrlChange(),this===S&&null!==s&&(c.defer.cancel(s),w()),a=null;do{d=!1,v=x;for(var T=0;T<k.length;T++){try{$=k[T],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(l=e.get,(i=l(v))===(o=e.last)||(e.eq?W(i,o):Mi(i)&&Mi(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:A(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!==x&&v.$$nextSibling))for(;v!==x&&!(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,c.$$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&&c.$$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 l(e)(this,t)},$evalAsync:function(e,t){S.$$phase||k.length||c.defer(function(){k.length&&S.$digest()},null,"$evalAsync"),k.push({scope:this,fn:l(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&&T.push(t),e=l(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,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=G([l],arguments,1);do{for(n=s.$$listeners[e]||a,l.currentScope=s,i=0,o=n.length;i<o;i++)if(n[i])try{n[i].apply(null,c)}catch(e){r(e)}else n.splice(i,1),i--,o--;if(u)break;s=s.$parent}while(s);return l.currentScope=null,l},$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,l,c=G([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;u<l;u++)if(s[u])try{s[u].apply(null,c)}catch(e){r(e)}else s.splice(u,1),u--,l--;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=[],T=S.$$applyAsyncQueue=[],O=0;return S}]}function Hn(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationTrustedUrlList=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=Qn(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}function _n(e){return e.replace(la,Ae)}function Un(e){if("self"===e)return e;if(C(e)){if(e.indexOf("***")>-1)throw sa("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=ji(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(O(e))return new RegExp("^"+e.source+"$");throw sa("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Fn(e){var t=[];return b(e)&&o(e,function(e){t.push(Un(e))}),t}function Bn(){this.SCE_CONTEXTS=ua;var e=["self"],t=[];this.trustedResourceUrlList=function(t){return arguments.length&&(e=Fn(t)),e},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(e){this.trustedResourceUrlList=e}}),this.bannedResourceUrlList=function(e){return arguments.length&&(t=Fn(e)),t},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(e){this.bannedResourceUrlList=e}}),this.$get=["$injector","$$sanitizeUri",function(n,r){function i(e,t){return"self"===e?Zn(t)||er(t):!!e.exec(t.href)}function o(n){var r,o,a=Qn(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 sa("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 sa("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 l(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(A(t.$$unwrapTrustedValue)&&(t=t.$$unwrapTrustedValue()),e===ua.MEDIA_URL||e===ua.URL)return r(t.toString(),e===ua.MEDIA_URL);if(e===ua.RESOURCE_URL){if(o(t))return t;throw sa("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===ua.HTML)return c(t);throw sa("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(e){throw sa("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(c=n.get("$sanitize"));var f=a(),d={};return d[ua.HTML]=a(f),d[ua.CSS]=a(f),d[ua.MEDIA_URL]=a(f),d[ua.URL]=a(d[ua.MEDIA_URL]),d[ua.JS]=a(f),d[ua.RESOURCE_URL]=a(d[ua.URL]),{trustAs:s,getTrusted:l,valueOf:u}}]}function zn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&di<8)throw sa("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=Ce(ua);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(ua,function(e,t){var n=bi(t);r[_n("parse_as_"+n)]=function(t){return i(e,t)},r[_n("get_trusted_"+n)]=function(t){return a(e,t)},r[_n("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Wn(){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(bi((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),u=t[0]||{},l=u.body&&u.body.style,c=!1,f=!1;return l&&(c=!!("transition"in l||"webkitTransition"in l),f=!!("animation"in l||"webkitAnimation"in l)),{history:!(!o||a<4||s),hasEvent:function(e){if("input"===e&&di)return!1;if(y(n[e])){var t=u.createElement("div");n[e]="on"+e in t}return n[e]},csp:Li(),transitions:c,animations:f,android:a}}]}function Gn(){this.$get=g(function(e){return new Yn(e)})}function Yn(e){function t(t,o){o=o||f;try{t()}finally{n(o);var a=u[o],s=u[c];if(!s||!a)for(var l,d=s?i:r;l=d(o);)try{l()}catch(t){e.error(t)}}}function n(e){e=e||f,u[e]&&(u[e]--,u[c]--)}function r(){var e=l.pop();return e&&e.cb}function i(e){for(var t=l.length-1;t>=0;--t){var n=l[t];if(n.type===e)return l.splice(t,1),n.cb}}function o(e){e=e||f,u[e]=(u[e]||0)+1,u[c]=(u[c]||0)+1}function a(e,t){t=t||c,u[t]?l.push({type:t,cb:e}):e()}var s=this,u={},l=[],c=s.ALL_TASKS_TYPE="$$all$$",f=s.DEFAULT_TASK_TYPE="$$default$$";s.completeTask=t,s.incTaskCount=o,s.notifyWhenNoPendingTasks=a}function Xn(){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 l(e){return u||(e=ca("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 c=r.defaults&&r.defaults.transformResponse;return E(c)?c=c.filter(function(e){return e!==qt}):c===qt&&(c=null),r.get(s,f({cache:n,transformResponse:c},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data)},l)}return a.totalPendingRequests=0,a}]}function Kn(){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)"+ji(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 Jn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){A(o)||(u=s,s=o,o=v);var l,c=Y(arguments,3),f=b(u)&&!u,d=(f?r:n).defer(),p=d.promise;return l=t.defer(function(){try{d.resolve(o.apply(null,c))}catch(e){d.reject(e),i(e)}finally{delete a[p.$$timeoutId]}f||e.$apply()},s,"$timeout"),p.$$timeoutId=l,a[l]=d,p}var a={};return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw fa("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 Vn(r.promise),r.reject("canceled"),delete a[n],t.defer.cancel(n)},o}]}function Qn(e){if(!C(e))return e;var t=e;di&&(da.setAttribute("href",t),t=da.href),da.setAttribute("href",t);var n=da.hostname;return!ha&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:da.href,protocol:da.protocol?da.protocol.replace(/:$/,""):"",host:da.host,search:da.search?da.search.replace(/^\?/,""):"",hash:da.hash?da.hash.replace(/^#/,""):"",hostname:n,port:da.port,pathname:"/"===da.pathname.charAt(0)?da.pathname:"/"+da.pathname}}function Zn(e){return nr(e,pa)}function er(e){return nr(e,rr())}function tr(e){var t=[pa].concat(e.map(Qn));return function(e){var n=Qn(e);return t.some(nr.bind(null,n))}}function nr(e,t){return e=Qn(e),t=Qn(t),e.protocol===t.protocol&&e.host===t.host}function rr(){return e.document.baseURI?e.document.baseURI:(aa||(aa=e.document.createElement("a"),aa.href=".",aa=aa.cloneNode(!1)),aa.href)}function ir(){this.$get=g(e)}function or(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,l,c=t(r);if(c!==o)for(o=c,e=o.split("; "),i={},s=0;s<e.length;s++)a=e[s],(u=a.indexOf("="))>0&&(l=n(a.substring(0,u)),y(i[l])&&(i[l]=n(a.substring(u+1))));return i}}function ar(){this.$get=or}function sr(e){function t(r,i){if(x(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",dr),t("date",Tr),t("filter",ur),t("json",Ar),t("limitTo",Or),t("lowercase",xa),t("number",pr),t("orderBy",Dr),t("uppercase",wa)}function ur(){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=fr(t);switch(u){case"function":a=t;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=lr(t,n,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function lr(e,t,n,r){var i=x(e)&&n in e;return!0===t?t=W:A(t)||(t=function(e,t){return!y(e)&&(null===e||null===t?e===t:!(x(t)||x(e)&&!$(e))&&(e=bi(""+e),t=bi(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!x(o)?cr(o,e[n],t,n,!1):cr(o,e,t,n,r)}}function cr(e,t,n,r,i,o){var a=fr(e),s=fr(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 l=t[u];if(!A(l)&&!y(l)){var c=u===r;if(!cr(c?e:e[u],l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function fr(e){return null===e?"null":typeof e}function dr(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:mr(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function pr(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:mr(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function hr(e){var t,n,r,i,o,a=0;for((n=e.indexOf(ma))>-1&&(e=e.replace(ma,"")),(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)===ga;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===ga;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>va&&(t=t.splice(0,va-1),a=n-1,n=1),{d:t,e:a,i:n}}function vr(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 l=1;l<a;l++)i[l]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)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 mr(e,t,n,r,i){if(!C(e)&&!S(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="∞";else{o=hr(u),vr(o,i,t.minFrac,t.maxFrac);var c=o.d,f=o.i,d=o.e,p=[];for(s=c.reduce(function(e,t){return e&&!t},!0);f<0;)c.unshift(0),f++;f>0?p=c.splice(f,c.length):(p=c,c=[0]);var h=[];for(c.length>=t.lgSize&&h.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)h.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&h.unshift(c.join("")),l=h.join(n),p.length&&(l+=r+p.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function gr(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=ga+e;return n&&(e=e.substr(e.length-t)),i+e}function $r(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),gr(a,t,r,i)}}function yr(e,t,n){return function(r,i){var o=r["get"+e]();return i[xi((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function br(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=gr(Math[r>0?"floor":"ceil"](r/60),2)+gr(Math.abs(r%60),2)}function xr(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 Cr(e){return function(t){var n=xr(t.getFullYear()),r=wr(t),i=+r-+n;return gr(1+Math.round(i/6048e5),e)}}function Sr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function kr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function Er(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function Tr(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,l=p(t[5]||0)-o,c=p(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,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="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,C(n)&&(n=ba.test(n)?p(n):t(n)),S(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;r;)s=ya.exec(r),s?(l=G(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=Z(i,c),n=te(n,i,!0)),o(l,function(t){a=$a[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function Ar(){return function(e,t){return y(t)&&(t=2),J(e,t)}}function Or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):p(t),Mi(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?Mr(e,n,n+t):0===n?Mr(e,t,e.length):Mr(e,Math.max(0,n+t),n)):e)}}function Mr(e,t,n){return C(e)?e.slice(t,n):wi.call(e,t,n)}function Dr(e){function t(t){return t.map(function(t){var n=1,r=m;if(A(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 A(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&&(x(o)&&(o=e.index),x(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 l(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:f.map(function(n){return a(n.get(e),t)})}}function c(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=A(u)?u:s,h=Array.prototype.map.call(e,l);return h.sort(c),e=h.map(function(e){return e.value})}}function Nr(e){return A(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function jr(e,t){e.$name=t}function Lr(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=ka,this.$$element=e,this.$$animate=r,Pr(this)}function Pr(e){e.$$classCache={},e.$$classCache[ls]=!(e.$$classCache[us]=e.$$element.hasClass(us))}function Rr(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),Vr(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,us+t,!0===n),r(e,ls+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),P(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,Ea,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,Ea,!1),this.$valid=Vr(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var l;l=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),i(this,e,l),this.$$parentForm.$setValidity(e,l,this)}}function Vr(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 qr(e,t,n,r,i,o){Hr(e,t,n,r,i,o),Ir(r)}function Hr(e,t,n,r,i,o){var a=bi(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,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Ni(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",c)}t.on("change",l),Ha[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(qa,function(e){if(!u){var t=this[$i],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function _r(e,t){if(k(e))return e;if(C(e)){Ra.lastIndex=0;var n=Ra.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=xr(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function Ur(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)),Ma.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 Fr(e,t,n,r){return function(i,o,a,s,u,l,c,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=c("date")(e,n,t);return $&&s.$options.getOption("timeStripZeroSeconds")&&(i=i.replace(/(?::00)?(?:\.000)?$/,"")),i}Br(i,o,a,s,e),Hr(i,o,a,s,u,l);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 ds("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 x=a.min||f(a.ngMin)(i),w=p(x);s.$validators.min=function(e){return!d(e)||y(w)||n(e)>=w},a.$observe("min",function(e){e!==x&&(w=p(e),x=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 Br(e,t,n,r,i){var o=t[0];(r.$$hasNativeValidators=x(o.validity))&&r.$parsers.push(function(e){var n=t.prop($i)||{};return n.badInput||n.typeMismatch?void(r.$$parserName=i):e})}function zr(e){e.$parsers.push(function(t){return e.$isEmpty(t)?null:ja.test(t)?parseFloat(t):void(e.$$parserName="number")}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!S(t))throw ds("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Wr(e){return b(e)&&!S(e)&&(e=parseFloat(e)),Mi(e)?void 0:e}function Gr(e){return(0|e)===e}function Yr(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 Xr(e,t,n){var r=Number(e),i=!Gr(r),o=!Gr(t),a=!Gr(n);if(i||o||a){var s=i?Yr(r):0,u=o?Yr(t):0,l=a?Yr(n):0,c=Math.max(s,u,l),f=Math.pow(10,c);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 Kr(e,t,n,r,i,o,a,s){Br(e,t,n,r,"number"),zr(r),Hr(e,t,n,r,i,o);var u;if(b(n.min)||n.ngMin){var l=n.min||s(n.ngMin)(e);u=Wr(l),r.$validators.min=function(e,t){return r.$isEmpty(t)||y(u)||t>=u},n.$observe("min",function(e){e!==l&&(u=Wr(e),l=e,r.$validate())})}if(b(n.max)||n.ngMax){var c=n.max||s(n.ngMax)(e),f=Wr(c);r.$validators.max=function(e,t){return r.$isEmpty(t)||y(f)||t<=f},n.$observe("max",function(e){e!==c&&(f=Wr(e),c=e,r.$validate())})}if(b(n.step)||n.ngStep){var d=n.step||s(n.ngStep)(e),p=Wr(d);r.$validators.step=function(e,t){return r.$isEmpty(t)||y(p)||Xr(t,u||0,p)},n.$observe("step",function(e){e!==d&&(p=Wr(e),d=e,r.$validate())})}}function Jr(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=Wr(e),!Mi(r.$modelValue))if(c){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function u(e){if(d=Wr(e),!Mi(r.$modelValue))if(c){var n=t.val();d<n&&(t.val(d),n=d<f?f:d),r.$setViewValue(n)}else r.$validate()}function l(e){p=Wr(e),Mi(r.$modelValue)||(c?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate())}Br(e,t,n,r,"range"),zr(r),Hr(e,t,n,r,i,o);var c=r.$$hasNativeValidators&&"range"===t[0].type,f=c?0:void 0,d=c?100:void 0,p=c?1:void 0,h=t[0].validity,v=b(n.min),m=b(n.max),g=b(n.step),$=r.$render;r.$render=c&&b(h.rangeUnderflow)&&b(h.rangeOverflow)?function(){$(),r.$setViewValue(t.val())}:$,v&&(f=Wr(n.min),r.$validators.min=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||y(f)||t>=f},a("min",s)),m&&(d=Wr(n.max),r.$validators.max=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||y(d)||t<=d},a("max",u)),g&&(p=Wr(n.step),r.$validators.step=c?function(){return!h.stepMismatch}:function(e,t){return r.$isEmpty(t)||y(p)||Xr(t,f||0,p)},a("step",l))}function Qr(e,t,n,r,i,o){Hr(e,t,n,r,i,o),Ir(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Da.test(n)}}function Zr(e,t,n,r,i,o){Hr(e,t,n,r,i,o),Ir(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Na.test(n)}}function ei(e,t,n,r){var i=!n.ngTrim||"false"!==Ni(n.ngTrim);y(n.name)&&t.attr("name",u());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=Ni(o)),r.$setViewValue(o,e&&e.type))};t.on("change",o),r.$render=function(){var e=n.value;i&&(e=Ni(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function ti(e,t,n,r,i){var o;if(b(r)){if(o=e(r),!o.constant)throw ds("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function ni(e,t,n,r,i,o,a,s){var u=ti(s,e,"ngTrueValue",n.ngTrueValue,!0),l=ti(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("change",c),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:l})}function ri(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(" "):x(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,l,c){function f(e){e=h(r(e),1),c.$addClass(e)}function d(e){e=h(r(e),-1),c.$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),l=h(s,1);c.$addClass(l),c.$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,$=l.data("$classCounts"),y=!0;$||($=be(),l.data("$classCounts",$)),"ngClass"!==e&&(a||(a=s("$index",function(e){return 1&e})),u.$watch(a,v)),u.$watch(s(c[e],i),m)}}}]}function ii(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 oi(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=ka,this.$options=ps,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),ai(this)}function ai(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 si(e){this.$$options=e}function ui(e,t){o(t,function(t,n){b(e[n])||(e[n]=t)})}function li(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 fi(e){var t=p(e);return Mi(t)?-1:t}var di,pi,hi,vi,mi={objectMaxDepth:5,urlErrorParamsEnabled:!0},gi=/^\/(.+)\/([a-z]*)$/,$i="validity",yi=Object.prototype.hasOwnProperty,bi=function(e){return C(e)?e.toLowerCase():e},xi=function(e){return C(e)?e.toUpperCase():e},wi=[].slice,Ci=[].splice,Si=[].push,ki=Object.prototype.toString,Ei=Object.getPrototypeOf,Ti=r("ng"),Ai=e.angular||(e.angular={}),Oi=0;di=e.document.documentMode;var Mi=Number.isNaN||function(e){return e!==e};v.$inject=[],m.$inject=[];var Di=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,Ni=function(e){return C(e)?e.trim():e},ji=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Li=function(){if(!b(Li.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");Li.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else Li.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return Li.rules},Pi=function(){if(b(Pi.name_))return Pi.name_;var t,n,r,i,o=Vi.length;for(n=0;n<o;++n)if(r=Vi[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Pi.name_=i},Ri=/:/g,Vi=["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),qi=/[A-Z]/g,Hi=!1,_i=1,Ui=3,Fi=8,Bi=9,zi=11,Wi={full:"1.8.2",major:1,minor:8,dot:2,codeName:"meteoric-mining"};Re.expando="ng339";var Gi=Re.cache={},Yi=1;Re._data=function(e){return this.cache[e[this.expando]]||{}};var Xi=/-([a-z])/g,Ki=/^-ms-/,Ji={mouseleave:"mouseout",mouseenter:"mouseover"},Qi=r("jqLite"),Zi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,eo=/<|&#?\w+;/,to=/<([\w:-]+)/,no=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ro={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};ro.tbody=ro.tfoot=ro.colgroup=ro.caption=ro.thead,ro.th=ro.td;var io={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var oo in ro){var ao=ro[oo],so=ao.slice().reverse();io[oo]=[so.length,"<"+so.join("><")+">","</"+ao.join("></")+">"]}io.optgroup=io.option;var uo=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},lo=Re.prototype={ready:et,toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return pi(e>=0?this[e]:this[this.length+e])},length:0,push:Si,sort:[].sort,splice:[].splice},co={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){co[bi(e)]=e});var fo={};o("input,select,option,textarea,button,form,details".split(","),function(e){fo[e]=!0});var po={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};o({data:Be,removeData:Ue,hasData:Ne,cleanData:function(e){for(var t=0,n=e.length;t<n;t++)Ue(e[t]),_e(e[t])}},function(e,t){Re[t]=e}),o({data:Be,inheritedData:Ke,scope:function(e){return pi.data(e,"$scope")||Ke(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return pi.data(e,"$isolateScope")||pi.data(e,"$isolateScopeNoTemplate")},controller:Xe,injector:function(e){return Ke(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:ze,css:function(e,t,n){if(t=Te(t),!b(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Ui&&2!==i&&i!==Fi&&e.getAttribute){var o=bi(t),a=co[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===_i||n===Ui?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===_(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:Je},function(e,t){Re.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Je&&y(2===e.length&&e!==ze&&e!==Xe?t:n)){if(x(t)){for(r=0;r<o;r++)if(e===Be)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 l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),o({removeData:Ue,on:function(e,t,n,r){if(b(r))throw Qi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(De(e)){var i=Fe(e,!0),o=i.events,a=i.handle;a||(a=i.handle=rt(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=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],Ji[t]?(l(Ji[t],ot),l(t,void 0,!0)):l(t)}},off:_e,one:function(e,t,n){e=pi(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 Re(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===_i&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===_i||n===zi){t=new Re(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===_i){var n=e.firstChild;o(new Re(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Pe(e,pi(t).eq(0).clone()[0])},remove:Qe,detach:function(e){Qe(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new Re(t);for(var i=0,o=t.length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:Ge,removeClass:We,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!ze(e,t)),(r?Ge:We)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==zi?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Ve,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,u=Fe(e),l=u&&u.events,c=l&&l[s];c&&(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=Ce(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Re.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=pi(i))):Ye(i,e(this[o],t,n,r));return b(i)?i:this}}),Re.prototype.bind=Re.prototype.on,Re.prototype.unbind=Re.prototype.off;var ho=Object.create(null);ut.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return Mi(e)?ho: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 vo=ut,mo=[function(){this.$get=[function(){return vo}]}],go=/^([^(]+?)=>/,$o=/^[^(]*\(\s*([^)]*)\)/m,yo=/,/,bo=/^\s*(_?)(\S+?)\1\s*$/,xo=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,wo=r("$injector");pt.$$annotate=dt;var Co=r("$animate"),So=1,ko=function(){this.$get=v},Eo=function(){var e=new vo,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=gt(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&&Ge(e,i),a&&We(e,a)}),e.delete(t)}}),t.length=0}function s(n,o,s){var u=e.get(n)||{},l=i(u,o,!0),c=i(u,s,!1);(l||c)&&(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}}}]},To=["$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 Co("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=A(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,Co("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=mt(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&&pi(r),i=i&&pi(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",$t(o))},move:function(n,r,i,o){return r=r&&pi(r),i=i&&pi(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",$t(o))},leave:function(t,n){return e.push(t,"leave",$t(n),function(){t.remove()})},addClass:function(t,n,r){return r=$t(r),r.addClass=vt(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=$t(r),r.removeClass=vt(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=$t(i),i.addClass=vt(i.addClass,n),i.removeClass=vt(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=$t(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=vt(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ao=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)}}}]},Oo=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}]},Mo=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}}}]},Do=r("$compile"),No=new kt;Et.$inject=["$provide","$$sanitizeUriProvider"],Tt.prototype.isFirstChange=function(){return this.previousValue===No};var jo=/^((?:x|data)[:\-_])/i,Lo=/[:\-_]+(.)/g,Po=r("$controller"),Ro=/^(\S+)(\s+as\s+([\w$]+))?$/,Vo=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof pi&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Io="application/json",qo={"Content-Type":Io+";charset=utf-8"},Ho=/^\[|^\{(?!\{)/,_o={"[":/]$/,"{":/}$/},Uo=/^\)]\}',?\n/,Fo=r("$http"),Bo=Ai.$interpolateMinErr=r("$interpolate");Bo.throwNoconcat=function(e){throw Bo("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)},Bo.interr=function(e,t){return Bo("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var zo=r("$interval"),Wo=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]}}}},Go=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Yo={http:80,https:443,ftp:21},Xo=r("$location"),Ko=/^\s*[\\/]{2,}/,Jo={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=en(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:dn("$$absUrl"),url:function(e){if(y(e))return this.$$url;var t=Go.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:dn("$$protocol"),host:dn("$$host"),port:dn("$$port"),path:pn("$$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(!x(e))throw Xo("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:pn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([fn,cn,ln],function(e){e.prototype=Object.create(Jo),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==ln||!this.$$html5)throw Xo("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 Qo=r("$parse"),Zo={}.constructor.prototype.valueOf,ea=be();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){ea[e]=!0});var ta={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},na=function(e){this.options=e};na.prototype={constructor:na,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=ea[t],o=ea[n],a=ea[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 Qo("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=bi(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+=ta[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 ra=function(e,t){this.lexer=e,this.options=t};ra.Program="Program",ra.ExpressionStatement="ExpressionStatement",ra.AssignmentExpression="AssignmentExpression",ra.ConditionalExpression="ConditionalExpression",ra.LogicalExpression="LogicalExpression",ra.BinaryExpression="BinaryExpression",ra.UnaryExpression="UnaryExpression",ra.CallExpression="CallExpression",ra.MemberExpression="MemberExpression",ra.Identifier="Identifier",ra.Literal="Literal",ra.ArrayExpression="ArrayExpression",ra.Property="Property",ra.ObjectExpression="ObjectExpression",ra.ThisExpression="ThisExpression",ra.LocalsExpression="LocalsExpression",ra.NGValueParameter="NGValueParameter",ra.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:ra.Program,body:e}},expressionStatement:function(){return{type:ra.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(!Cn(e))throw Qo("lval","Trying to assign a value to a non l-value");e={type:ra.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:ra.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:ra.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:ra.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:ra.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:ra.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:ra.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:ra.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:ra.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:ra.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:ra.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:ra.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:ra.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:ra.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:ra.Identifier,name:e.text}},constant:function(){return{type:ra.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:ra.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:ra.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:ra.ObjectExpression,properties:t}},throwError:function(e,t){throw Qo("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 Qo("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 Qo("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:ra.ThisExpression},$locals:{type:ra.LocalsExpression}}};var ia=1,oa=2;Tn.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},xn(e,t.$filter);var n,r="";if(this.stage="assign",n=Sn(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,mn,gn,$n);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,l,c,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 ra.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 ra.Literal:c=this.escape(e.value),this.assign(t,c),r(t||c);break;case ra.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),r(c);break;case ra.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}),c="+"===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,c),r(c);break;case ra.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 ra.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 ra.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 ra.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),"{}")),c=d.computedMember(s,u),d.assign(t,c),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),"{}")),c=d.nonComputedMember(s,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),r(t)},!!i);break;case ra.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],o(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),r(t)):(u=d.nextId(),s={},l=[],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){l.push(e)})}),c=s.name?d.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),r(t)}));break;case ra.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),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),r(t||c)})},1);break;case ra.ArrayExpression:l=[],o(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),r(t||c);break;case ra.ObjectExpression:l=[],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===ra.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){l.push(d.escape(t.key.type===ra.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),r(t||c);break;case ra.ThisExpression:this.assign(t,"s"),r(t||"s");break;case ra.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case ra.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 Qo("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;xn(e,t.$filter);var n,r;(n=Sn(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 ra.Literal:return this.value(e.value,t);case ra.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case ra.BinaryExpression:case ra.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case ra.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case ra.Identifier:return s.identifier(e.name,t,n);case ra.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 ra.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 l=i.apply(void 0,s,o);return t?{context:void 0,name:void 0,value:l}:l}:function(e,n,r,o){var s,u=i(e,n,r,o);if(null!=u.value){for(var l=[],c=0;c<a.length;++c)l.push(a[c](e,n,r,o));s=u.value.apply(u.context,l)}return t?{value:s}:s};case ra.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 ra.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 ra.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===ra.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 ra.ThisExpression:return function(e){return t?{value:e}:e};case ra.LocalsExpression:return function(e,n){return t?{value:n}:n};case ra.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),l=$n(s,u);return n?{value:l}:l}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=(b(s)?s:0)-(b(u)?u:0);return n?{value:l}:l}},"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,l,c=e(i,o,a,s);return null!=c&&(u=t(i,o,a,s),u=mn(u),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},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 l=null!=u?u[t]:void 0;return n?{context:u,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},On.prototype={constructor:On,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=kn(t.ast),n.constant=En(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 aa,sa=r("$sce"),ua={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},la=/_([a-z])/g,ca=r("$templateRequest"),fa=r("$timeout"),da=e.document.createElement("a"),pa=Qn(e.location.href);da.href="http://[::1]";var ha="[::1]"===da.hostname;or.$inject=["$document"],sr.$inject=["$provide"];var va=22,ma=".",ga="0";dr.$inject=["$locale"],pr.$inject=["$locale"];var $a={yyyy:$r("FullYear",4,0,!1,!0),yy:$r("FullYear",2,0,!0,!0),y:$r("FullYear",1,0,!1,!0),MMMM:yr("Month"),MMM:yr("Month",!0),MM:$r("Month",2,1),M:$r("Month",1,1),LLLL:yr("Month",!1,!0),dd:$r("Date",2),d:$r("Date",1),HH:$r("Hours",2),H:$r("Hours",1),hh:$r("Hours",2,-12),h:$r("Hours",1,-12),mm:$r("Minutes",2),m:$r("Minutes",1),ss:$r("Seconds",2),s:$r("Seconds",1),sss:$r("Milliseconds",3),EEEE:yr("Day"),EEE:yr("Day",!0),a:Sr,Z:br,ww:Cr(2),w:Cr(1),G:kr,GG:kr,GGG:kr,GGGG:Er},ya=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,ba=/^-?\d+$/;Tr.$inject=["$locale"];var xa=g(bi),wa=g(xi);Dr.$inject=["$parse"];var Ca=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]"===ki.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Sa={};o(co,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)}),Sa[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(po,function(e,t){Sa[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(gi);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);Sa[t]=["$sce",function(n){return{priority:99,link:function(r,i,o){var a=e,s=e;"href"===e&&"[object SVGAnimatedString]"===ki.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),di&&a&&i.prop(a,o[s])})}}}]});var ka={$addControl:v,$getControls:g([]),$$renameControl:jr,$removeControl:v,$setValidity:v,$setDirty:v,$setPristine:v,$setSubmitted:v,$$setSubmitted:v},Ea="ng-pending";Lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Lr.prototype={$rollbackViewValue:function(){o(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){o(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){ge(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return Ce(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=ka},$setDirty:function(){this.$$animate.removeClass(this.$$element,cs),this.$$animate.addClass(this.$$element,fs),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,cs,fs+" 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!==ka;)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()})}},Rr({clazz:Lr,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 Ta=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:Lr,compile:function(n,i){n.addClass(cs).addClass(us);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 l=o?r(s.$name):v;o&&(l(e,s),i.$observe(o,function(t){s.$name!==t&&(l(e,void 0),s.$$parentForm.$$renameControl(s,t),(l=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),l(e,void 0),f(s,ka)})}}}}}]},Aa=Ta(),Oa=Ta(!0),Ma=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Da=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Na=/^(?=.{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])?)*$/,ja=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,La=/^(\d{4,})-(\d{2})-(\d{2})$/,Pa=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Ra=/^(\d{4,})-W(\d\d)$/,Va=/^(\d{4,})-(\d\d)$/,Ia=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qa="keydown wheel mousedown",Ha=be();o("date,datetime-local,month,time,week".split(","),function(e){Ha[e]=!0});var _a={text:qr,date:Fr("date",La,Ur(La,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Fr("datetimelocal",Pa,Ur(Pa,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Fr("time",Ia,Ur(Ia,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Fr("week",Ra,_r,"yyyy-Www"),month:Fr("month",Va,Ur(Va,["yyyy","MM"]),"yyyy-MM"),number:Kr,url:Qr,email:Zr,radio:ei,range:Jr,checkbox:ni,hidden:v,button:v,submit:v,reset:v,file:v},Ua=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(_a[bi(a.type)]||_a.text)(i,o,a,s[0],t,e,n,r)}}}}],Fa=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"===bi(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)}}}}},Ba=/^(true|false|\d+)$/,za=function(){function e(e,t,n){var r=b(n)?n:9===di?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return Ba.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)})}}}},Wa=["$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=xe(e)})}}}}],Ga=["$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})}}}}],Ya=["$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)||"")})}}}}],Xa=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Ka=ri("",!0),Ja=ri("Odd",0),Qa=ri("Even",1),Za=Nr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),es=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ts={},ns={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);ts[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return ii(n,r,i,t,e,ns[e])}]});var rs=["$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,l;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)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=ye(s.clone),e.leave(l).done(function(e){!1!==e&&(l=null)}),s=null))})}}}],is=["$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,l,c){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();l.template=e;var s=c(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(),l.template=null)})}}}}],os=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(ki.call(r[0]).match(/SVG/))return r.empty(),void t(je(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],as=Nr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ss=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",a="false"!==n.ngTrim,s=a?Ni(i):i,u=function(e){if(!y(e)){var t=[];return e&&o(e.split(s),function(e){e&&t.push(a?Ni(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}}}},us="ng-valid",ls="ng-invalid",cs="ng-pristine",fs="ng-dirty",ds=r("ngModel");oi.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],oi.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 A(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){A(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw ds("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,fs),this.$$animate.addClass(this.$$element,cs)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,cs),this.$$animate.addClass(this.$$element,fs),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(!Mi(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(!R(s))throw ds("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}Mi(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)}},Rr({clazz:oi,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var ps,hs=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:oi,priority:1,compile:function(t){return t.addClass(cs).addClass("ng-untouched").addClass(us),{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))})}}}}}],vs=/(\s+|^)default(\s+|$)/;si.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]=Ni(n.replace(vs,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],ui(e,this.$$options)),ui(e,ps.$$options),new si(e)}},ps=new si({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var ms=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:ps,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},
bindToController:!0,controller:e}},gs=Nr({terminal:!0,priority:1e3}),$s=r("ngOptions"),ys=/^\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]+?))?$/,bs=["$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(!l&&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(ys);if(!s)throw $s("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],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=r(s[2]?s[1]:u),p=c&&r(c),h=p||d,v=f&&r(f),m=f?function(e,t){return v(n,t)}:function(e){return st(e)},g=function(e,t){return m(e,C(e,t))},$=r(s[2]||s[1]),y=r(s[3]||""),b=r(s[4]||""),x=r(s[8]),w={},C=l?function(e,t){return w[l]=t,w[u]=e,w}:function(e){return w[u]=e,w};return{trackBy:f,getTrackByValue:g,getWatchables:r(x,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],l=e[u],c=C(l,u),f=m(l,c);if(t.push(f),s[2]||s[1]){var d=$(n,c);t.push(d)}if(s[4]){var p=b(n,c);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},r=x(n)||[],i=a(r),s=i.length,u=0;u<s;u++){var l=r===i?u:i[u],c=r[l],d=C(c,l),p=h(n,d),v=m(p,d),w=$(n,d),S=y(n,d),k=b(n,d),E=new o(v,p,w,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 c(e,t){var n=u.cloneNode(!1);t.appendChild(n),d(e,n)}function f(e){var t=w.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=w&&h.readValue();if(w)for(var t=w.items.length-1;t>=0;t--){var n=w.items[t];Qe(b(n.group)?n.element.parentNode:n.element)}w=C.getOptions();var i={};if(w.items.forEach(function(e){var t;b(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(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 x=!!h.emptyOption;pi(u.cloneNode(!1)).val("?");var w,C=a(i.ngOptions,r,e),S=n[0].createDocumentFragment();h.generateUnknownOptionValue=function(e){return"?"},m?(h.writeValue=function(e){if(w){var t=e&&e.map(f)||[];w.items.forEach(function(e){e.element.selected&&!U(t,e)&&(e.element.selected=!1)})}},h.readValue=function(){var e=r.val()||[],t=[];return o(e,function(e){var n=w.selectValueMap[e];n&&!n.disabled&&t.push(w.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(w){var t=r[0].options[r[0].selectedIndex],n=w.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=w.selectValueMap[r.val()];return e&&!e.disabled?(h.unselectEmptyOption(),h.removeUnknownOption(),w.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(v.$viewValue)},function(){v.$render()})),x&&(t(h.emptyOption)(e),r.prepend(h.emptyOption),h.emptyOption[0].nodeType===Fi?(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"),l=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}}}],xs=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,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+$,x=Ai.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+bi(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=Mi(r);if(i||r in h||(r=e.pluralCat(r-p)),!(r===c||i&&Mi(c))){x();var o=m[r];y(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),x=v,l()):x=a.$watch(o,l),c=r}})}}}],ws=r("ngRef"),Cs=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=At(_(t)),i=e(n.ngRef),o=i.assign||function(){throw ws("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 ws("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)})}}}}],Ss=["$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]},l=function(e){return e.clone[e.clone.length-1]},c=function(e,t,n){return st(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],x=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 w;if(y){var C={$id:st},S=e(y);w=function(e,t,n,r){return x&&(C[x]=t),C[b]=n,C.$index=r,S(e,C)}}return function(e,n,r,d,v){var m=be();e.$watchCollection(g,function(r){var d,g,y,S,k,E,T,A,O,M,D,N,j=n[0],L=be();if($&&(e[$]=r),i(r))O=r,A=w||c;else{A=w||f,O=[];for(var P in r)yi.call(r,P)&&"$"!==P.charAt(0)&&O.push(P)}for(S=O.length,D=new Array(S),d=0;d<S;d++)if(k=r===O?d:O[d],E=r[k],T=A(e,k,E,d),m[T])M=m[T],delete m[T],L[T]=M,D[d]=M;else{if(L[T])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,T,E);D[d]={id:T,scope:void 0,clone:void 0},L[T]=!0}C&&(C[b]=void 0);for(var R in m){if(M=m[R],N=ye(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(ye(M.clone),null,j),j=l(M),s(M.scope,d,b,E,x,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,L[M.id]=M,s(M.scope,d,b,E,x,k,S)});m=L})}}}}],ks=["$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"})})}}}],Es=["$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"})})}}}],Ts=Nr(function(e,t,n){e.$watchCollection(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)})}),As=["$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=[],l=[],c=[],f=[],d=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(s,function(n){for(var r,i;c.length;)e.cancel(c.pop());for(r=0,i=f.length;r<i;++r){var s=ye(l[r].clone);f[r].$destroy();(c[r]=e.leave(s)).done(d(c,r))}l.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};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Os=Nr({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})})}}),Ms=Nr({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})}}),Ds=r("ngTransclude"),Ns=["$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!==Ui||r.nodeValue.trim())return!0}}if(!o)throw Ds("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 l=r.ngTransclude||r.ngTranscludeSlot;o(a,null,l),l&&!o.isSlotFilled(l)&&s()}}}}],js=["$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)}}}}],Ls={$setViewValue:v,$render:v},Ps=["$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 vo;o.selectValueMap={},o.ngModelCtrl=Ls,o.multiple=!1,o.unknownOption=pi(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),li(o.unknownOption,!0),t.val(n)},o.updateUnknownOption=function(e){var n=o.generateUnknownOptionValue(e);o.unknownOption.val(n),li(o.unknownOption,!0),t.val(n)},o.generateUnknownOptionValue=function(e){return"? "+st(e)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(t.val(""),li(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&li(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&&li(pi(n),!1),o.hasOption(e)){o.removeUnknownOption();var r=st(e);t.val(r in o.selectValueMap?r:e);var i=t[0].options[t[0].selectedIndex];li(pi(i),!0)}else o.selectUnknownOrEmptyOption(e)},o.addOption=function(e,t){if(t[0].nodeType!==Fi){ge(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,l;n.$observe("value",function(e){var n,r=t.prop("selected");b(l)&&(o.removeOption(u),delete o.selectValueMap[l],n=!0),l=st(e),u=e,o.selectValueMap[l]=e,o.addOption(e,t),t.attr("value",l),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)})}}],Rs=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&&(U(e,t.value)||U(e,i.selectValueMap[t.value]));n!==t.selected&&li(pi(t),n)})};var s,u=NaN;e.$watch(function(){u!==a.$viewValue||W(s,a.$viewValue)||(s=Ce(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:Ps,priority:1,link:{pre:e,post:t}}},Vs=["$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)}}}}],Is=["$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())})}}}}],qs=["$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)&&gi.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)}}}}}}],Hs=["$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=fi(o);r.$observe("maxlength",function(e){o!==e&&(a=fi(e),o=e,i.$validate())}),i.$validators.maxlength=function(e,t){return a<0||i.$isEmpty(t)||t.length<=a}}}}}],_s=["$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=fi(o)||-1;r.$observe("minlength",function(e){o!==e&&(a=fi(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(!Hi){var n=Pi();hi=y(n)?e.jQuery:n?e[n]:void 0,hi&&hi.fn.on?(pi=hi,f(hi.fn,{scope:lo.scope,isolateScope:lo.isolateScope,controller:lo.controller,injector:lo.injector,inheritedData:lo.inheritedData})):pi=Re,t=pi.cleanData,pi.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=(pi._data(r)||{}).events)&&n.$destroy&&pi(r).triggerHandler("$destroy");t(e)},Ai.element=pi,Hi=!0}}(),function(n){f(n,{errorHandlingConfig:t,bootstrap:ce,copy:B,extend:f,merge:d,equals:W,element:pi,forEach:o,injector:pt,noop:v,bind:X,toJson:J,fromJson:Q,identity:m,isUndefined:y,isDefined:b,isString:C,isFunction:A,isObject:x,isNumber:S,isElement:q,isArray:E,version:Wi,isDate:k,callbacks:{$$counter:0},getTestability:de,reloadWithDebugInfo:fe,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:he,$$minErr:r,$$csp:Li,$$encodeUriSegment:ae,$$encodeUriQuery:se,$$lowercase:bi,$$stringify:xe,$$uppercase:xi}),vi=we(e),vi("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Hn}),e.provider("$compile",Et).directive({a:Ca,input:Ua,textarea:Ua,form:Aa,script:js,select:Rs,option:Vs,ngBind:Wa,ngBindHtml:Ya,ngBindTemplate:Ga,ngClass:Ka,ngClassEven:Qa,ngClassOdd:Ja,ngCloak:Za,ngController:es,ngForm:Oa,ngHide:Es,ngIf:rs,ngInclude:is,ngInit:as,ngNonBindable:gs,ngPluralize:xs,ngRef:Cs,ngRepeat:Ss,ngShow:ks,ngStyle:Ts,ngSwitch:As,ngSwitchWhen:Os,ngSwitchDefault:Ms,ngOptions:bs,ngTransclude:Ns,ngModel:hs,ngList:ss,ngChange:Xa,pattern:qs,ngPattern:qs,required:Is,ngRequired:Is,minlength:_s,ngMinlength:_s,maxlength:Hs,ngMaxlength:Hs,ngValue:za,ngModelOptions:ms}).directive({ngInclude:os,input:Fa}).directive(Sa).directive(ts),e.provider({$anchorScroll:ht,$animate:To,$animateCss:Mo,$$animateJs:ko,$$animateQueue:Eo,$$AnimateRunner:Oo,$$animateAsyncRun:Ao,$browser:wt,$cacheFactory:Ct,$controller:Nt,$document:jt,$$isDocumentHidden:Lt,$exceptionHandler:Pt,$filter:sr,$$forceReflow:Vo,$interpolate:Xt,$interval:Kt,$$intervalFactory:Jt,$http:zt,$httpParamSerializer:Vt,$httpParamSerializerJQLike:It,$httpBackend:Gt,$xhrFactory:Wt,$jsonpCallbacks:Wo,$location:hn,$log:vn,$parse:Dn,$rootScope:qn,$q:Nn,$$q:jn,$sce:zn,$sceDelegate:Bn,$sniffer:Wn,$$taskTrackerFactory:Gn,$templateCache:St,$templateRequest:Xn,$$testability:Kn,$timeout:Jn,$window:ir,$$rAF:In,$$jqLite:at,$$Map:mo,$$cookieReader:ar})}]).info({angularVersion:"1.8.2"})}(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}})}]),pi(function(){le(e.document,ce)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@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;}')),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,l,c,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,l=s.changedTouches,c=h&&h.length?h[0]:l&&l.length?l[0]:r))for(d=0,p=T.length;d<p;d++)u=T[d],t[u]=c[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(){V=!1}function l(){V=!0}function c(){_=0,P.length=0,R=!1,l()}function f(){u()}function d(){p(),D=setTimeout(function(){D=0,c()},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);R||_&&_===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++,e.data(n,k,_),p(),f(),L=!1,o=i(t).touches[0],N=o.pageX,j=o.pageY,h("vmouseover",t,r),h("vmousedown",t,r)))}function g(e){V||(L||h("vmousecancel",e,a(e.target)),L=!0,d())}function $(t){if(!V){var n=i(t).touches[0],r=L,o=e.vmouse.moveDistanceThreshold,s=a(t.target);L=L||Math.abs(n.pageX-N)>o||Math.abs(n.pageY-j)>o,L&&!r&&h("vmousecancel",t,s),h("vmousemove",t,s),d()}}function y(e){if(!V){l();var t,n,r=a(e.target);h("vmouseup",e,r),L||(t=h("vclick",e,r))&&t.isDefaultPrevented()&&(n=i(e).changedTouches[0],P.push({touchID:_,x:n.clientX,y:n.clientY}),R=!0),h("vmouseout",e,r),L=!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 x(){}var w,C,S="virtualMouseBindings",k="virtualTouchID",E="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),T="clientX clientY pageX pageY screenX screenY".split(" "),A=e.event.mouseHooks?e.event.mouseHooks.props:[],O=e.event.props.concat(A),M={},D=0,N=0,j=0,L=!1,P=[],R=!1,V=!1,I="addEventListener"in n,q=e(n),H=1,_=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,x),I&&(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),I&&(--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,x),b(this)||r.removeData(S)}}}(E[C]);I&&n.addEventListener("click",function(t){var n,r,i,o,a,s=P.length,u=t.target;if(s)for(n=t.clientX,r=t.clientY,w=e.vmouse.clickDistanceThreshold,i=u;i;){for(o=0;o<s;o++)if(a=P[o],0,i===u&&Math.abs(a.x-n)<w&&Math.abs(a.y-r)<w||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&&t.originalEvent.touches&&t.originalEvent.touches[0]&&t.originalEvent.touches[0].pageX||0,r.startY=t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches[0]&&t.originalEvent.touches[0].pageY||0,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){var n=t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches[0]&&t.originalEvent.touches[0].pageX||0,i=t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches[0]&&t.originalEvent.touches[0].pageY||0;(Math.abs(n-r.startX)>40||Math.abs(i-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).is(t.target)||e(document.activeElement).blur(),t.type=n}}}(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 l={},c=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)||c(e)?e:e[0]};l.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(c(s))return t.scrollTo(n,r);s.scrollLeft=n,s.scrollTop=r};var p,h;l.duScrollToAnimated=function(e,t,a,s){a&&!s&&(s=o);var l=this.duScrollLeft(),c=this.duScrollTop(),f=Math.round(e-l),d=Math.round(t-c),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(l+Math.ceil(f*t),c+Math.ceil(d*t)),t<1?p=i(y):(u&&g.unbind(u,$),p=null,h.resolve())};return g.duScrollTo(l,c),u&&g.bind(u,$),p=i(y),h.promise},l.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)},l.duScrollLeft=function(n,r,i){if(e.isNumber(n))return this.duScrollTo(n,this.duScrollTop(),r,i);var o=d(this);return c(o)?t.scrollX||document.documentElement.scrollLeft||document.body.scrollLeft:o.scrollLeft},l.duScrollTop=function(n,r,i){if(e.isNumber(n))return this.duScrollTo(this.duScrollLeft(),n,r,i);var o=d(this);return c(o)?t.scrollY||document.documentElement.scrollTop||document.body.scrollTop:o.scrollTop},l.duScrollToElementAnimated=function(e,t,n,r){return this.duScrollToElement(e,t,n||a,r)},l.duScrollTopAnimated=function(e,t,n){return this.duScrollTop(e,t||a,n)},l.duScrollLeftAnimated=function(e,t,n){return this.duScrollLeft(e,t||a,n)},e.forEach(l,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 l=function(i){var l=!1,c=!1,f=function(){c=!1;var t,a=i.container,l=a[0],f=0;"undefined"!=typeof HTMLElement&&l instanceof HTMLElement||l.nodeType&&l.nodeType===l.ELEMENT_NODE?(f=l.getBoundingClientRect().top,t=Math.round(l.scrollTop+l.clientHeight)>=l.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(){l?c=!0:(f(),l=t(function(){l=!1,c&&f()},a,!1))}:f},c={},f=function(e){var t=e.$id,n={spies:[]};return n.handler=l(n),c[t]=n,e.$on("$destroy",function(){d(e)}),t},d=function(e){var t=e.$id,n=c[t],r=n.container;r&&r.off("scroll",n.handler),delete c[t]},p=f(e),h=function(e){return c[e.$id]?c[e.$id]:e.$parent?h(e.$parent):c[p]},v=function(e){var t,n,r=e.$scope;if(r)return h(r);for(n in c)if(t=c[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);if(t){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 l=a.offset?parseInt(a.offset,10):n,c=a.duration?parseInt(a.duration,10):t;r.getContainer(i).duScrollToElement(e.element(u),isNaN(l)?0:l,isNaN(c)?0:c)}}})}}}]),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,l=s.ngHref||s.href;l&&-1!==l.indexOf("#")?u=l.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 l=i.$on("$stateChangeSuccess",r.flushTargetCache.bind(r));e.$on("$destroy",function(){t.removeSpy(r),l()})},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&&X(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 J)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===P)return e;break;default:return J(u(e))}if(e.nodeType===P)return J(e)}function u(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===P)return n}}function l(e,t,n){F(t,function(t){e.addClass(t,n)})}function c(e,t,n){F(t,function(t){e.removeClass(t,n)})}function f(e){return function(t,n){n.addClass&&(l(e,t,n.addClass),n.addClass=null),n.removeClass&&(c(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 U(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){X(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+V]):-1===t&&(r="removeClass",i=e[n]||e[n+R]),i&&(o[r].length&&(o[r]+=" "),o[r]+=n)}),o}function $(e){return e instanceof J?e[0]:e}function y(e,t,n,r){var i="";n&&(i=o(n,I,!0)),r.addClass&&(i=C(i,o(r.addClass,R))),r.removeClass&&(i=C(i,o(r.removeClass,V))),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 x(e,t){var n=t?"paused":"",r=j+te;return w(e,[r,n]),[r,n]}function w(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=T(n)),0===n&&(n=null),r[t]=n}}),r}function T(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 A(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,L,P=1,R="-add",V="-remove",I="ng-",q="ng-animate",H="$$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",L="webkitAnimationEnd animationend"):(j="animation",L="animationend");var _,U,F,B,z,W,G,Y,X,K,J,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 w(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}],le=["$interpolate",function(e){return{link:function(t,n,r){function i(e){e="on"===e||"true"===e,n.data(H,e)}var o=r.ngAnimateChildren;X(o)&&0===o.length?n.data(H,!0):(i(e(o)(t)),r.$observe("ngAnimateChildren",i))}}}],ce="$$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,l,c,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,l="stagger-"+i;if(s.count(i)>0&&!(u=s.get(l))){var c=o(r,"-stagger");t.addClass(n,c),u=E(e,n,a),u.animationDuration=Math.max(u.animationDuration,0),u.transitionDuration=Math.max(u.transitionDuration,0),t.removeClass(n,c),s.put(l,u,!0)}return u||{}}function b(e){P.push(e),c.waitUntilQuiet(function(){s.flush();for(var e=u(),t=0;t<P.length;t++)P[t](e);P.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 T=f(t),P=[];return function(e,u){function c(){g()}function f(){g(!0)}function g(n){if(!(G||X&&Y)){G=!0,Y=!1,ye&&!U.$$skipPreparationClasses&&t.removeClass(e,ye),Le&&t.removeClass(e,Le),x(W,!1),se.blockTransitions(W,!1),F(oe,function(e){W.style[e[0]]=""}),T(e,U),p(e,U),Object.keys(z).length&&F(z,function(e,t){e?W.style.setProperty(t,e):W.style.removeProperty(t)}),U.onDone&&U.onDone(),le&&le.length&&e.off(le.join(" "),q);var i=e.data(ce);i&&(r.cancel(i[0].timer),e.removeData(ce)),K&&K.complete(!n)}}function E(e){je.blockTransition&&se.blockTransitions(W,e),je.blockKeyframeAnimation&&x(W,!!e)}function P(){return K=new n({end:c,cancel:f}),b(Q),g(),{$$willAnimate:!1,start:function(){return K},end:c}}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&&(X=!0,g())}}function H(){function n(){if(!G){if(E(!1),F(oe,function(e){var t=e[0],n=e[1];W.style[t]=n}),T(e,U),t.addClass(e,Le),je.recalculateTimingStyles){if(be=W.getAttribute("class")+" "+ye,Ce=s.cacheKey(W,he,U.addClass,U.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 U.delay&&A(U.delay)?parseFloat(U.delay):Ne,Z=Math.max(Ne,0),De.animationDelay=Ne,Pe=k(Ne,!0),oe.push(Pe),W.style[Pe[0]]=Pe[1]),te=Z*fe,re=ne*fe,U.easing){var n,o=U.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&&le.push(N),De.animationDuration&&le.push(L),ie=Date.now();var a=te+pe*re,u=ie+a,l=e.data(ce)||[],c=!0;if(l.length){var f=l[0];c=u>f.expectedEndTime,c?r.cancel(f.timer):l.push(g)}if(c){var d=r(i,a,!1);l[0]={timer:d,expectedEndTime:u},l.push(g),e.data(ce,l)}le.length&&e.on(le.join(" "),q),U.to&&(U.cleanupStyles&&M(z,W,Object.keys(U.to)),v(e,U))}}function i(){var t=e.data(ce);if(t){for(var n=1;n<t.length;n++)t[n]();e.removeData(ce)}}if(!G){if(!W.parentNode)return void g();var o=function(e){if(X)Y&&e&&(Y=!1,g());else if(Y=!e,De.animationDuration){var t=x(W,Y);Y?oe.push(t):a(oe,t)}},u=Oe>0&&(De.transitionDuration&&0===we.transitionDuration||De.animationDuration&&0===we.animationDuration)&&Math.max(we.animationDelay,we.transitionDelay);u?r(n,Math.floor(u*Oe*fe),!1):n(),J.resume=function(){o(!0)},J.pause=function(){o(!1)}}}var U=u||{};U.$$prepared||(U=d(_(U)));var z={},W=$(e);if(!W||!W.parentNode||!m.enabled())return P();var G,Y,X,K,J,Z,te,ne,re,ie,oe=[],ae=e.attr("class"),ue=i(U),le=[];if(0===U.duration||!l.animations&&!l.transitions)return P();var he=U.event&&B(U.event)?U.event.join(" "):U.event,me=he&&U.structural,ge="",$e="";me?ge=o(he,I,!0):he&&(ge=he),U.addClass&&($e+=o(U.addClass,R)),U.removeClass&&($e.length&&($e+=" "),$e+=o(U.removeClass,V)),U.applyClassesEarly&&$e.length&&T(e,U);var ye=[ge,$e].join(" ").trim(),be=ae+" "+ye,xe=ue.to&&Object.keys(ue.to).length>0;if(!((U.keyframeStyle||"").length>0||xe||ye))return P();var we,Ce=s.cacheKey(W,he,U.addClass,U.removeClass);if(s.containsCachedAnimationWithoutDuration(Ce))return ye=null,P();if(U.stagger>0){var Se=parseFloat(U.stagger);we={transitionDelay:Se,animationDelay:Se,transitionDuration:0,animationDuration:0}}else we=y(W,ye,Ce,ve);U.$$skipPreparationClasses||t.addClass(e,ye);var ke;if(U.transitionStyle){var Ee=[D,U.transitionStyle];w(W,Ee),oe.push(Ee)}if(U.duration>=0){ke=W.style[D].length>0;var Te=O(U.duration,ke);w(W,Te),oe.push(Te)}if(U.keyframeStyle){var Ae=[j,U.keyframeStyle];w(W,Ae),oe.push(Ae)}var Oe=we?U.staggerIndex>=0?U.staggerIndex:s.count(Ce):0,Me=0===Oe;Me&&!U.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=xe&&(je.hasTransitions&&!je.hasTransitionAll||je.hasAnimations&&!je.hasTransitions),je.applyAnimationDuration=U.duration&&je.hasAnimations,je.applyTransitionDelay=A(U.delay)&&(je.applyTransitionDuration||je.hasTransitions),je.applyAnimationDelay=A(U.delay)&&je.hasAnimations,je.recalculateTimingStyles=$e.length>0,(je.applyTransitionDuration||je.applyAnimationDuration)&&(ne=U.duration?parseFloat(U.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 P();var Le=o(ye,"-active");if(null!=U.delay){var Pe;"boolean"!=typeof U.delay&&(Pe=parseFloat(U.delay),Z=Math.max(Pe,0)),je.applyTransitionDelay&&oe.push(k(Pe)),je.applyAnimationDelay&&oe.push(k(Pe,!0))}return null==U.duration&&De.transitionDuration>0&&(je.recalculateTimingStyles=je.recalculateTimingStyles||Me),te=Z*fe,re=ne*fe,U.skipBlocking||(je.blockTransition=De.transitionDuration>0,je.blockKeyframeAnimation=De.animationDuration>0&&we.animationDelay>0&&0===we.animationDuration),U.from&&(U.cleanupStyles&&M(z,W,Object.keys(U.from)),h(e,U)),je.blockTransition||je.blockKeyframeAnimation?E(ne):U.skipBlocking||se.blockTransitions(W,!1),{$$willAnimate:!0,end:c,start:function(){if(!G)return J={end:c,cancel:f,resume:null,pause:null},K=new n(J),b(H),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,l){function c(e){return e.replace(/\bng-\S+\b/g,"")}function f(e,t){return X(e)&&(e=e.split(" ")),X(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 l(){var t=c(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=J($(i).cloneNode(!0)),h=c(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=l()))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=l()))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=l[0].body,m=$(a),g=J(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 l(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 c(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=l(s,e,t,r,function(e){u(!1===e)}),i})}),a}function f(e,t,r,i,o){var a=c(e,t,r,i,o);if(0===a.length){var s,u;"beforeSetClass"===o?(s=c(e,"removeClass",r,i,"beforeRemoveClass"),u=c(e,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=c(e,"removeClass",r,i,"removeClass"),u=c(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,x;"leave"===t?(x="leave",b="afterLeave"):(x="before"+t.charAt(0).toUpperCase()+t.substr(1),b=t),"enter"!==t&&"move"!==t&&(v=f(e,t,a,y,x)),m=f(e,t,a,y,b)}if(v||m){var w;return{$$willAnimate:!0,end:function(){return w?w.end():(u(),w=new n,w.complete(!0)),w},start:function(){function e(e){u(e),w.complete(e)}function t(t){h||((r||Q)(t),e(t))}if(w)return w;w=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)}),w.setHost({end:function(){t()},cancel:function(){t(!0)}}),n.chain(i,e),w}}}}}]}],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",xe="$ngAnimatePin",we=["$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 l(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,h=2,v=" ",g=this.rules={skip:[],cancel:[],join:[]};g.join.push(function(e,t){return!e.structural&&l(e)}),g.skip.push(function(e,t){return!e.structural&&!l(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,x,w,C,S,k,E,T){function A(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||le.off(t)}function L(e,t,n){function u(e,t,n,r){A(function(){var e=D(S,x,t);e.length?i(function(){F(e,function(e){e(g,n,r)}),j(n,x)}):j(n,x)}),e.progress(t,n,r)}function f(e){b(g,v),se(g,v),p(g,v),v.domOperation(),E.complete(!e)}var v=_(n),g=s(e),x=$(g),S=x&&x.parentNode;v=d(v);var E=new C,A=O();if(B(v.addClass)&&(v.addClass=v.addClass.join(" ")),v.addClass&&!X(v.addClass)&&(v.addClass=null),B(v.removeClass)&&(v.removeClass=v.removeClass.join(" ")),v.removeClass&&!X(v.removeClass)&&(v.removeClass=null),v.from&&!Y(v.from)&&(v.from=null),v.to&&!Y(v.to)&&(v.to=null),!(Z&&x&&oe(x,t,n)&&ae(x,v)))return f(),E;var N=["enter","move","leave"].indexOf(t)>=0,L=T(),P=L||Q.get(x),H=!P&&G.get(x)||{},U=!!H.state;if(P||U&&H.state===c||(P=!I(x,S,t)),P)return L&&u(E,t,"start",r(v)),f(),L&&u(E,t,"close",r(v)),E;N&&R(x);var z={structural:N,element:g,event:t,addClass:v.addClass,removeClass:v.removeClass,close:f,options:v,runner:E};if(U){if(a("skip",z,H))return H.state===h?(f(),E):(m(g,H,z),H.runner);if(a("cancel",z,H))if(H.state===h)H.runner.end();else{if(!H.structural)return m(g,H,z),H.runner;H.close()}else{if(a("join",z,H)){if(H.state!==h)return y(k,g,N?t:null,v),t=z.event=H.event,v=m(g,H,z),H.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||l(z)),!W)return f(),V(x),E;var K=(H.counter||0)+1;return z.counter=K,q(x,c,z),o.$$postDigest(function(){g=s(e);var n=G.get(x),i=!n;n=n||{};var o=g.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||l(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||V(x));t=!n.structural&&l(n,!0)?"setClass":n.event,q(x,h);var c=w(g,t,n.options);E.setHost(c),u(E,t,"start",r(v)),c.done(function(e){f(!e);var n=G.get(x);n&&n.counter===K&&V(x),u(E,t,"close",r(v))})}),E}function R(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 c:G.delete(e)}})}function V(e){e.removeAttribute(be),G.delete(e)}function I(e,t,n){var r,i=g[0].body,o=$(v),a=e===i||"HTML"===e.nodeName,s=e===o,u=!1,l=Q.get(e),c=J.data(e,xe);for(c&&(t=$(c));t&&(s||(s=t===o),t.nodeType===P);){var f=G.get(t)||{};if(!u){var d=Q.get(t);if(!0===d&&!1!==l){l=!0;break}!1===d&&(l=!1),u=f.structural}if(K(r)||!0===r){var p=J.data(t,H);z(p)&&(r=p)}if(u&&!1===r)break;if(a||(a=t===i),a&&s)break;t=s||!(c=J.data(t,xe))?t.parentNode:$(c)}return(!u||r)&&!0!==l&&s&&a}function q(e,t,n){n=n||{},n.state=t,e.setAttribute(be,t);var r=G.get(e),i=r?U(r,n):n;G.set(e,i)}var G=new x,Q=new x,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))},le={on:function(e,t,n){var r=u(t);te[e]=te[e]||[],te[e].push({node:r,callback:n}),J(t).on("$destroy",function(){G.get(r)||le.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||X(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(xe,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,L(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)||J(e).on("$destroy",A),Q.set(r,!t))}else t=Z=!!e}return t}};return le}]}],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,l,c,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,x){function w(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,l=e.structural?w(a):[];if(l.length){var c=u?"to":"from";F(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:J(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,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var p=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:S(c.classes,f.classes),from:c,to:f,anchors:[]};p.classes.length?t.push(p):(t.push(c),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=l.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 T(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 A(){var e=i(f);!e||"leave"===h&&x.$$domOperationFired||e.end()}function O(t){f.off("$destroy",A),n(f),b(f,x),p(f,x),x.domOperation(),j&&e.removeClass(f,j),D.complete(!t)}x=d(x);var M=["enter","move","leave"].indexOf(h)>=0,D=new c({end:function(){O()},cancel:function(){O(!0)}});if(!a.length)return O(),D;var N=r(f.attr("class"),r(x.addClass,x.removeClass)),j=x.tempClasses;return j&&(N+=" "+j,x.tempClasses=null),M&&f.data(u,"ng-"+h+"-prepare"),t(f,D),y.push({element:f,classes:N,event:h,structural:M,options:x,beforeStart:E,close:O}),f.on("$destroy",A),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=x.addClass;n=(n?n+" ":"")+q;var o=m.cacheKey(t[0],e.event,n,x.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)}),T(e,a)}else n()}})});for(var o=g(r),a=0;a<o.length;a++)for(var s=o[a],l=0;l<s.length;l++){var c=s[l],f=c.element;if(o[a][l]=c.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,_=t.copy,U=t.extend,J=t.element,F=t.forEach,B=t.isArray,X=t.isString,Y=t.isObject,K=t.isUndefined,z=t.isDefined,G=t.isFunction,W=t.isElement}).info({angularVersion:"1.8.2"}).directive("ngAnimateSwap",ke).directive("ngAnimateChildren",le).factory("$$rAFScheduler",ue).provider("$$animateQueue",we).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,l,c,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"]=$[l=h+"transition-delay"]=$[u=h+"transition-timing-function"]=$[c=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,x={},w="",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)x[c]=t,x[f]=r+"s",x[p]=v+"s",x[d]=i||"linear",S=e.fxz.animationEnd;else{y=[];for(m in t)g.test(m)?w+=m+"("+t[m]+") ":(x[m]=t[m],y.push(n(m)));w&&(x[o]=w,y.push(o)),r>0&&"object"==typeof t&&(x[a]=y.join(", "),x[s]=r+"s",x[l]=v+"s",x[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(x),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(e){var t=e.currentTarget,r=t.querySelector(".ripple");if(r&&r.remove(),!n){var i=document.createElement("span");i.classList.add("ripple"),t.appendChild(i);var o=e.touches?e.touches[0]:e,a=t.getBoundingClientRect(),s=2*Math.sqrt(Math.pow(a.width,2)+Math.pow(a.height,2));i.style.cssText="--s: 0; --o: 1;",i.offsetTop,i.style.cssText="--t: 1; --o: 0; --d: "+s+"; --x:"+(o.clientX-a.left)+"; --y:"+(o.clientY-a.top)+";"}}!function(){var e=document.createElement("style");e.type="text/css";var t='.a-ripple {\n    cursor: pointer;\n    overflow: hidden;\n    position: relative;\n    -webkit-user-select: none;\n       -moz-user-select: none;\n        -ms-user-select: none;\n            user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.a-ripple>.ripple {\n    content: "";\n    display: block;\n    border-radius: 50%;\n    position: absolute;\n    pointer-events: none;\n    transform-origin: center;\n    top: calc(var(--y) * 1px);\n    left: calc(var(--x) * 1px);\n    width: calc(var(--d) * 1px);\n    height: calc(var(--d) * 1px);\n    background: currentColor;\n    transform: translate(-50%, -50%) scale(var(--s, 1));\n    opacity: calc(var(--o, 1) * var(--ripple-opacity, 0.5));\n    transition: calc(var(--t, 0) * var(--ripple-duration, 600ms)) var(--ripple-easing, linear);\n}';e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),document.head.insertBefore(e,document.head.firstChild)}();var n=!1;return e(window).on("scrollstart",function(){n=!0}),e(window).on("scrollstop",function(){n=!1}),e(window).on("scrollend",function(){n=!1}),{add:function(n){e(n).on("vmousedown",t),e(n).addClass("a-ripple")},remove:function(n){e(n).off("vmousedown",t),e(n).removeClass("a-ripple")}}}),define("angularExtras",["require","jquery.tiny","angular","jquery.vclick","angularElementScroll","angularAnimate","angularElement","polyfills","jquery.ripple"],function(e){e(["nouislider"]);var t=e("polyfills"),n=e("angular"),r=e("jquery.tiny"),i=t.isEmpty,o=t.String.isEmpty,a=t.Number.isNumber,s=t.Number.toNumber,u=e("jquery.ripple");Number.prototype.formatMoney=function(e,n,r,i){var o=this;return t.Number.formatMoney(o,e,n,r,i)},n.module("extra",["duScroll"]).constant("date",t.Date).constant("$viewport",function(){var e={},t={},r={body:n.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.on("scroll",function(){r.data("scrollTop",r.scrollTop()),n.element(document).trigger("scrolling")})},scrollSave:function(e){t.scrl=void 0!==e?e:this.body.prop("scrollTop")},scrollRestore:function(){this.data("scrollTo",t.scrl||1),t.scrl=1}};return r}()).run(["$viewport","$rootScope",function(e,t){e.setup()}]).directive("ngDropdown",["$timeout","$viewport","$document","$rootScope",function(e,r,i,o){return{restrict:"A",scope:{modelValue:"=ngModel",disabled:"=disabled",listItems:"=?ngDrpListItems",afterSelect:"=?ngDrpAfterSelect",onSelect:"=?ngDrpOnSelect",tabindex:"=?ngDrpTabindex",labelId:"=?ngDrpLabelId"},transclude:!0,template:'<span tabindex="{{tabindex || 0}}" role="button" aria-haspopup="listbox" aria-expanded="{{list_opened}}" class="{{selected_class}}" ng-if="!no_select && !empty_select && !disabled" ng-aria-label="label_value" hm-highlight data-sel-id="dropdown-selected">{{display_value}}</span><span tabindex="{{tabindex || 0}}" role="button" aria-haspopup="listbox" aria-expanded="{{list_opened}}" class="{{placeholder_class}}" ng-if="(no_select || empty_select) && placeholder && !disabled"  hm-highlight>{{placeholder}}</span><span tabindex="0" role="text" class="{{selected_class}}" ng-if="disabled" data-sel-id="dropdown-selected">{{display_value || placeholder}}</span><ul aria-labelledby="{{list_label}}" aria-activedescendant="{{activedescendant}}" role="listbox" tabindex="0" class="ng-animate-enabled basic-trans ng-hide" ng-class="[list_class,{ fast: !$root.isAndroid, enter : !$root.isAndroid }]" ng-show="list_opened" ng-keydown="ListOnKey($event)" hm-tap="preventEv($event)" hm-options="{ ripple: false, delay : 0 }"><li ng-attr-id="{{optionid+\'-\'+$index}}" ng-attr-aria-selected="{{value == display_value || false}}" role="option" ng-class="[item_class,{ active : value == display_value  }]" ng-repeat="value in displayList track by $index" hm-tap="select($event,value,$index)" hm-options="{ ripple: false, delay : 0 }" ng-focus-when="(!(no_select || empty_select) && display_value == value) || ((no_select || empty_select) && $index == 0)" ng-bind-html="value" ng-aria-label="labelList[$index]" data-sel-id="dropdown-item"></li></ul>',compile:function(a,s){return{pre:function(e,t,n){var r=e.$eval(n.ngDropdown)||{};e.list_opened=!1,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('<span class="'+i+'" tabindex="-1" aria-hidden="true"></span>')},post:function(a,s,u){var l=a.$eval(u.ngDropdown)||{},c=[],f=[],d=null,p={ENTER:13,LEFT:37,UP:38,RIGHT:39,DOWN:40},h=0;a.activedescendant=null,a.optionid=t.uniqid("option-"),a.$watch("listItems",function(e){f=e||[],c=[],a.displayList=[],a.labelList=[];for(var r in f)n.isArray(f[r])?(c[r]=f[r][1],n.isArray(f[r][0])?(a.displayList[r]=f[r][0][0],a.labelList[r]=f[r][0][1]):(a.displayList[r]=f[r][0],a.labelList[r]=f[r][0])):(c[r]=f[r],a.displayList[r]=f[r],a.labelList[r]=f[r]);t.Array.forEach(a.displayList,function(e,t){if(a.display_value==e)return a.activedescendant=a.optionid+"-"+t.toString(),h=t,a.label_value=(d?d+". ":"")+a.labelList[t],!1}),a.activedescendant||(a.activedescendant=a.optionid+"-0",h=0)},!0),a.$watch(u.ngDropdown,function(e){if(e=a.$eval(u.ngDropdown)||{},!a.listItems&&e.list){f=e.list||[],c=[],a.displayList=[],a.labelList=[];for(var t in f)n.isArray(f[t])?(c[t]=f[t][1],a.displayList[t]=f[t][0],n.isArray(f[t][0])?(a.displayList[t]=f[t][0][0],a.labelList[t]=f[t][0][1]):(a.displayList[t]=f[t][0],a.labelList[t]=f[t][0])):(c[t]=f[t],a.displayList[t]=f[t],a.labelList[t]=f[t])}if(a.list_label=a.labelId||e["list-label-id"]||"",a.list_class=e.listClass||"ng-dropdown-list",a.item_class=e.itemClass||"ng-dropdown-item",a.placeholder_class=e.placeholderClass||"ng-dropdown-placeholder",a.selected_class=e.selectedClass||"ng-dropdown-selected",a.no_select=void 0!==e.noSelect&&e.noSelect,a.placeholder=void 0!==e.placeholder?e.placeholder:"Choose",a.change_list_position=e.changeListPosition,null==d)if(e.listTitle)d=e.listTitle;else if(a.list_label){var r=document.querySelector("#"+a.list_label);r&&(d=r.textContent)}},!0),a.$watch("modelValue",function(e){var t,r,i=c.indexOf(e);i>-1?(t=a.displayList[i],r=a.labelList[i],a.label_value=(d?d+". ":"")+r,n.equals(a.display_value,t)||(a.display_value=t),a.empty_select=!1):a.empty_select=!0,a.list_opened=!1,a.afterSelect&&a.afterSelect(t,i,e);var o=a.$eval(u.ngDropdown)||{};o.afterSelect&&o.afterSelect(t,i,e)});var v;a.$watch("list_opened",function(n){e.cancel(v);var o=s.find("ul"),u=l.offsetParent?s.find("ul").parents(l.offsetParent).prop("scrollHeight"):r.body.prop("scrollHeight"),c=l.offsetParent?s.find("ul").parents(l.offsetParent).prop("clientWidth"):r.body.prop("clientWidth");v=e(function(){if(n){if(a.change_list_position){var e=0,r=t.Number.toNumber(c)-(s.offset().left+s.prop("clientWidth")),f=o.prop("clientWidth");s.prop("clientWidth")+r<f&&(e=s.prop("clientWidth")+r-f-15),o.css({left:e+"px"})}var d=o.offset(!!l.offsetParent&&s.find("ul").parents(l.offsetParent)).top+o.prop("offsetHeight");u<d?o.addClass("upwards"):o.removeClass("upwards"),i.one("vclick",g),i.one("click",g)}else o.removeClass("upwards"),i.off("vclick",g),i.off("click",g)},50)});var m=!1;a.select=function(t,n,r){m=!0;var i=c[r],l=a.labelList[r];a.display_value=n,a.label_value=(d?d+". ":"")+l,a.modelValue=i,s[0].querySelector('[aria-haspopup="listbox"]').focus(),setTimeout(function(){s[0].querySelector('[aria-haspopup="listbox"]').focus()}),e(function(){a.onSelect&&a.onSelect(n,r,i);var e=a.$eval(u.ngDropdown)||{};e.onSelect&&e.onSelect(n,r,i),a.list_opened=!1},o.isAndroid?1:100),h=r,a.activedescendant=a.optionid+"-"+h,t&&t.stopPropagation(),setTimeout(function(){m=!1},50)},a.indexSelect=function(e){a.display_value=a.displayList[e],a.label_value=(d?d+". ":"")+a.labelList[e],a.modelValue=c[e]};var g=function(e){a.$applyAsync(function(){a.list_opened=!1})};s.on("vclick",function(t){a.disabled||(t.stopPropagation(),e(function(){if(!m){var t=a.$eval(u.ngDropdown)||{};if(!1===t.enabled)return!1;a.list_opened||t.noBubble||i.trigger("vclick"),e(function(){a.list_opened=!a.list_opened},r.data("android")?200:0)}}))}),a.ListOnKey=function(e){var n=e.keyCode;switch(n){case p.ENTER:var r=h;t.Number.isNumber(r)&&a.select(null,a.displayList[r],r);break;case p.UP:case p.DOWN:var r=h;h=n==p.DOWN?r<a.displayList.length-1?r+1:0:r>0?r-1:a.displayList.length-1,a.activedescendant=a.optionid+"-"+h,e.preventDefault()}};var $=function(){i.off("vclick",g),s.off("vclick"),s.off("keydown")};a.$on("$destroy",$),s.one("$destroy",$)}}}}}]).directive("ngSlider",["$document",function(n){return{restrict:"AE",require:"ngModel",link:function(n,r,i,o){var u,u=r[0],l=!1,c=i.ngModel;e(["nouislider"],function(e){var f=n.$watch(i.ngSlider,function(r){var i=t.Object.assign({start:0,step:1,orientation:"horizontal",connect:"lower",range:{min:0,max:100}},r||{});i.range.min||(i.range.min=0),u.noUiSlider&&u.noUiSlider.destroy(),e.create(u,i),u.noUiSlider.off("slide"),u.noUiSlider.on("slide",function(){l=!0}),u.noUiSlider.off("change"),u.noUiSlider.on("change",function(e){l=!1,n.$applyAsync(function(){o.$setViewValue(s(e[0])),o.$render()})}),u.noUiSlider.set(n.$eval(c))},!0),d=n.$watch(i.ngModel,function(e){l||u.noUiSlider&&u.noUiSlider.set(a(e)?e:0)});r.one("$destroy",function(){f(),d(),u.noUiSlider&&u.noUiSlider.destroy()})})}}}]).directive("ngHtmlContent",["$compile","$injector","$timeout","$parse",function(e,t,n,r){return{restrict:"A",link:function(i,o,a){i.$watch(a.ngHtmlContent,function(s,u){var l;t.has("$sanitize")?t.invoke(["$sanitize",function(e){var t=i.$eval(a.ngHtmlSanitize);l=t?e(s):s}]):l=s;var c=r(a.ngHtmlContentBefore).bind(null,i),f=r(a.ngHtmlContentAfter).bind(null,i);c({$element:o[0]}),o.html(l),e(o.contents())(i),n(function(){f({$element:o[0]})})})}}}]).directive("ngHtmlDirect",["$compile","$injector","$timeout","$parse",function(e,t,n,r){return{restrict:"A",link:function(t,n,r){t.$watch(r.ngHtmlDirect,function(r,i){n.html(r),e(n.contents())(t)})}}}]).directive("ngSrcSafe",function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.ngSrcSafe,function(e){t[0].setAttribute("src",e)})}}}).directive("ngNoAutoFocus",["$timeout",function(e){return{restrict:"A",compile:function(t,n){return{pre:function(e,t,n){t.attr("readonly","true")},post:function(t,n,r){e(function(){n.removeAttr("readonly")},500)}}}}}]).directive("ngFocusWhen",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){var r=e.$eval(n.ngFocusClick);e.$watch(n.ngFocusWhen,function(e){e&&(r&&t[0].click(),t[0].focus(),setTimeout(function(){r&&t[0].click(),t[0].focus()}))})}}}]).directive("ngFocusToggle",function(){return{restrict:"A",scope:{flag:"=ngFocusToggle"},link:function(e,t,n){function r(){e.$applyAsync(function(){e.flag=!0})}function i(){e.$applyAsync(function(){e.flag=!1})}t.on("focus",r),t.on("blur",i),e.$on("$destroy",function(){t.off("focus",r),t.off("blur",i)})}}}).directive("ngTabNext",["$timeout",function(e){return{restrict:"A",link:function(e,r,i){var o=function(o){if(8==o.keyCode)return!1;var a=t.String.trim(r.val()).length,u=e.$eval(i.ngTabNext),l=u.length||s(r.attr("maxlength")),c=l<=a,f=n.element().cssSelect(u.selector);c&&f.focus().caret(0)};r.on("keyup",o),e.$on("$destroy",function(){r.off("keyup",o)})}}}]).directive("ngTabPrevious",["$timeout",function(e){return{restrict:"A",link:function(e,r,i){var o=function(o){var a=e.$eval(i.ngTabPrevious),s=n.element().cssSelect(a.selector),u=t.String.trim(r.val()).length;8==o.keyCode&&(0==u||r.caret()<=0)&&s.focus().caret(s.val().length)},a=function(o){var a=e.$eval(i.ngTabPrevious),s=n.element().cssSelect(a.selector),u=t.String.trim(r.val()).length;8==o.keyCode&&0==u&&0==u&&s.focus().caret(s.val().length)};r.on("keyup",o).on("keydown",a),e.$on("$destroy",function(){r.off("keyup",o).off("keydown",a)})}}}]).directive("ngTabOnEnter",["$timeout",function(e){return{restrict:"A",link:function(e,t,r){var i=function(i){if(i.preventDefault(),13===i.keyCode){var o=e.$eval(r.ngTabOnEnter),a=n.element().cssSelect(o.selector);return t[0].blur(),setTimeout(function(){a&&a.focus()},700),!1}};t.on("keyup",i),e.$on("$destroy",function(){t.off("keyup",i)})}}}]).directive("ngTogglePassword",["$window","$timeout",function(e,t){return{restrict:"A",scope:{onShow:"=?ngShow",onHide:"=?ngHide",ngdelay:"=?ngDelay"},link:function(r,i,o){function a(e){t(function(){e.target&&e.target.value?c():s&&s.css("visibility","hidden")})}i.append("<span class='ng-toggle-btn-pass semi-bold-font' style='visibility:hidden;'>show</span>"),i.css({position:"relative"});var s=i.find(".ng-toggle-btn-pass"),u=i.find("input[type='password']");s&&s.css("visibility","hidden"),u&&u.css({"padding-right":"55px"});var l=function(){u&&"password"==u.attr("type")?(u.attr("type","text"),s.prop("innerHTML","hide")):u&&(u.attr("type","password"),s.prop("innerHTML","show"))},c=function(){t(function(){if(s&&u){var e=u.outerHeight(),t=u.position().top,n=u.outerWidth()+u.position().left-55;s.css({position:"absolute","font-size":"13px",right:"auto",display:"block",width:"55px",height:e+"px","line-height":e-2+"px",top:t+"px",left:n+"px",cursor:"pointer","text-align":"center"}),u&&!u.val()?s&&s.css("visibility","hidden"):s.css("visibility","")}},r.ngdelay||0)};c(),n.element(e).on("resize",c),u&&u[0]&&u[0].addEventListener("input",a,!0),r.$watch("onShow",function(e){e&&c()}),r.$watch("onHide",function(e){e||c()}),s.on("vclick",function(e){l()});var f=function(){n.element(e).off("resize",c),s&&(s.off("vclick"),s.remove()),u&&u[0]&&u[0].removeEventListener("input",a),i.off("vclick"),s=void 0};r.$on("$destroy",f),i.one("$destroy",f)}}}]).directive("ngToolTip",["$animate","$viewport","$compile","$document","$window","$timeout",function(e,t,r,i,o,l){return{restrict:"A",scope:{open_flag:"=?ngToolTipToggle",tipcontent:"=?ngToolTip"},link:function(c,f,d){var p=document.createElement("div"),h=n.element(p),v=n.merge({ripple:!0,width:400,offsetParent:t.body,offset:{top:0,left:0},class:"ng-tooltip",closeClass:"close-bt bf-icon-cross",preventDef:!1},c.$eval(d.ngToolTipOptions)),m=v.offsetParent,g="string"==typeof m?n.element(document).cssSelect(m):m,$=v.useparent?f.parent():g;h.addClass(v.class).addClass("ng-animate-enabled").append('<div class="tail"></div><div tooltip-content-holder></div><div class="'+v.closeClass+'"></div>');var y=h.children("div").eq(2);y.css({"touch-action":"manipulation","-webkit-user-select":"none","-webkit-user-drag":"none","-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)"}),y.attr("role","button"),y.attr("aria-label","Close Popup"),y.attr("tabindex","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 b=function(e){e.preventDefault(),e.stopPropagation()},x=function(){c.$applyAsync(function(){h&&e.leave(h),v.onClose&&v.onClose(),C=!1,c.open_flag=!1})},w=function(){if(g.css("overflow-y","scroll"),h){h.css({width:v.width+"px"});var e,r=Math.min(f.offset(parent).left+v.offset.left,g.prop("clientWidth")-h.prop("offsetWidth")-15);r<15?(e=v.width+(r-15),r=15):e=v.width;var i=f[0].getBoundingClientRect(),o=i.top+g.prop("scrollTop");if(v.useparent){var u=f[0].parentNode;o=u.offsetHeight+v.offset.top,r=u.offsetWidth+v.offset.left}else{if(g.is("body")&&!v.useparent){var l=f[0].offsetParent;for(o=i.top;l;)o+=n.element(l).prop("scrollTop"),l=l.offsetParent}var c=s(g.css("border-top-width"));a(c)||(c=0),o-=c;var d=s(t.body.css("padding-top"));a(d)||(d=0),o-=d}var p=Math.min(o+f.prop("offsetHeight")+v.offset.top,g.prop("scrollHeight")-15);!v.useparent&&g.is("body")&&p<f.offset().top?p=Math.min(f.offset().top+f.prop("offsetHeight")+v.offset.top,g.prop("scrollHeight")-15):p<o&&(p=Math.min(o+f.prop("offsetHeight")+v.offset.top,g.prop("scrollHeight")-15)),h.css({width:e+"px",left:r+"px",top:p+"px"}),g.css("overflow-y","")}},C=!1;t.data("android")&&v.ripple&&u.add(f,!0),f.on("vclick",function(t){var a=c.$eval(d.ngToolTipEnabled);void 0==a&&(a=!0),a&&(t.stopPropagation(),v.preventDef&&t.preventDefault(),l(function(){if(C)return C=!1,x(),!1;C=!0,i.trigger("vclick"),c.open_flag=!0;var t=document.createElement("div");t.setAttribute("tooltip-content",""),t.setAttribute("class","content"),n.element(t).prop("innerHTML",c.tipcontent);var a=r(n.element(t))(c.$parent);h.cssSelect("[tooltip-content-holder]").after(a),h.cssSelect("[tooltip-content-holder]").remove(),n.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,t){h&&(h.off("vclick"),h.find(".close-bt").off("vclick")),i.off("vclick",x),n.element(o).off("resize",x),h.cssSelect("[tooltip-content]").after("<div tooltip-content-holder></div>"),h.cssSelect("[tooltip-content]").remove()}),e.on("enter",h,function(e,t){if(h&&"start"==t&&(n.element(o).one("resize",x),setTimeout(function(){var e=g.prop("scrollHeight");if(w(),g.prop("scrollHeight")>e&&h.css({top:h.getStyle("top",!0)-(g.prop("scrollHeight")-e+15)+"px"}),h&&h[0]){var t=h[0].getBoundingClientRect(),n=t.left+t.width,r=h.getStyle("left",!0);n>window.innerWidth&&(r-=n-window.innerWidth+15),null!=r&&h.css({left:r+"px"})}}),h.attr("role","dialog"),h.attr("tabindex","0"),null!==v.role&&h&&h[0])){var r=h[0].querySelector("[tooltip-content]");r&&(r.setAttribute("role",v.role||"tooltip"),r.setAttribute("ng-speak","'header'"),r.setAttribute("tabindex","0"))}}),e.enter(h,$[0]||null,$[0]&&$[0].lastChild||null).then(function(){h&&(n.forEach(h.find("input"),function(e,t,n){n.data("disabled")?n.attr("disabled",n.data("disabled")):n.removeAttr("disabled")}),h.on("vclick",b),y.one("vclick",function(e){x(),b(e)}),i.one("vclick",x))})}))});var S=function(){h&&(h.off("vclick"),y.off("vclick",x),x(),e.off(h),h.remove()),i.off("vclick",x),n.element(o).off("resize",x),f.off("vclick"),u.remove(f),h=void 0,p=void 0,y=void 0};c.$on("$destroy",S),f.one("$destroy",S)}}}]).directive("ngAutocomplete",["$animate","$http","$q","$parse","$viewport","$document","$timeout","$injector",function(e,r,i,o,a,s,u,l){return{restrict:"A",scope:{key:"=ngKey",selectHandler:"=?ngAutoselect",progress:"=?ngAutoprogress",responseHandler:"=?ngAutoresponse",cancelHandler:"=?ngAutocanceled",autoDisplay:"=?ngAutodisplay",responseData:"=?ngAutoData",activedescendant:"=?ngAcActive",focusHandler:"=?ngAcHighlight",blurOnLimit:"=?ngAcBlurOnLimit",stopCall:"=?ngAcStopCall"},transclude:!0,template:'<ul tabindex="0" role="listbox" ng-attr-id="{{ listid || \'\' }}" class="ng-autocomplete-list ng-animate-enabled basic-trans enter fast ng-hide" ng-show="hasResult" ng-focus="GoToFirst(0)" ng-keydown="AcOnKey($event)" aria-labelledby="{{list_label}}" ng-aria-activedescendant="activedescendant"><li role="option" tabindex="-1" ng-attr-id="{{acid+\'-\'+$index}}" class="ng-autocomplete-item" data-ng-repeat="value in ul track by $index" hm-tap="select($event,$index)" ng-bind-html="value" aria-selected="false" ng-class="{\'selected\' : activedescendant == acid+\'-\'+$index}" ng-focus="GoToFirst($index)"></li></ul>',link:function(e,o,a){var c,f,d,p;c=n.extend({minlength:1,url:!1,list:"list",method:"GET",keyName:"key"},e.$eval(a.ngAutocomplete)),e.listid=c["list-id"]||"",e.list_label=c["list-label"]||"",e.select=function(t,n){e.key=e.list[0][n],f=e.key;var r=[t];for(var i in e.list)r.push(e.list[i][n]);e.selectHandler&&e.selectHandler.apply(this,r),d=!0,setTimeout(function(){d=!1,s.off("vclick",p)},100),e.hasResult=!1},f=e.key,p=function(t){e.$applyAsync(function(){e.hasResult=!1,e.$emit("$autocomplete:listdisplay",!1),e.cancelHandler&&!d&&e.cancelHandler()})};var h,v;e.$watch("key",function(t){if(e.stopCall)return e.hasResult=!1,void u.cancel(v);u.cancel(v),v=u(function(){if(e.progress=!1,e.autoDisplay=!1,!t||t.length<c.minlength||t==f)return h&&h.resolve(!0),void((!t||t.length<c.minlength)&&(e.hasResult=!1));f=t,h?h.resolve(!0):h=i.defer(),h=i.defer();var n={};n[c.keyName]=t;var o={url:c.url,method:c.method,timeout:h.promise,id:"auto-complete-list",events:!1,ignore_connection:!0,anonymous:!0,required:!1};"POST"==c.method?o.data=n:o.params=n,e.progress=!0;var a;l.has("$api")&&(r=l.get("$api").http,a=!0),(e.responseData?e.responseData(o):c.url?r(o):i.resolve({})).then(function(t){var n,r=a?t:t.data,i=e.responseHandler?e.responseHandler(r):r;e.ul=[],n=c.list.indexOf("|")>-1?c.list.split("|"):[c.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.activedescendant=null,$=0,e.ul.length>0?e.hasResult=!0:e.hasResult=!1,e.progress=!1,e.$emit("$autocomplete:listdisplay",e.hasResult)},function(t){e.hasResult=!1,t.xhrStatus&&"abort"==t.xhrStatus||(e.progress=!1),e.$emit("$autocomplete:listdisplay",!1),e.ul=[]})},150)});var m=200;e.$watch("autoDisplay",function(t){t?e.ul&&e.ul.length>0&&u(function(){e.hasResult=!0,m=200}):m=0});var g={ENTER:13,LEFT:37,UP:38,RIGHT:39,DOWN:40},$=0;e.GoToFirst=function(t){t&&($=t),e.activedescendant=e.acid+"-"+$,e.focusHandler&&e.focusHandler(null,e.ul[$])},e.activedescendant=null,e.acid=t.uniqid("ac-"),e.AcOnKey=function(n){var r=n.keyCode;switch(r){case g.ENTER:var i=$;t.Number.isNumber(i)&&e.select(null,i);break;case g.UP:case g.DOWN:var i=$;if(r==g.DOWN){if(i<e.ul.length-1)$=i+1;else if($=0,e.blurOnLimit)return e.blurOnLimit(n),void(e.activedescendant=null)}else if(i>0)$=i-1;else if($=e.ul.length-1,e.blurOnLimit)return e.blurOnLimit(n),void(e.activedescendant=null);e.activedescendant=e.acid+"-"+$,e.focusHandler&&e.focusHandler(null,e.ul[$]),n.preventDefault()}},e.$watch("hasResult",function(e){setTimeout(function(){e&&(s.off("vclick",p),s.one("vclick",p))},m)}),e.$on("$destroy",function(){h&&h.resolve(!0),s.off("vclick",p),e.progress=!1})}}}]).directive("ngScrollTo",["$viewport","$parse","$timeout","$rootScope",function(e,t,r,i){function o(e){return!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}return{restrict:"A",link:function(r,a,u){var l=u.ngScrollTo,c=u.ngScrollBefore,f=u.ngScrollAfter,d=r.$watch(l,function(e){
e&&setTimeout(function(){o(a[0])||a.triggerHandler("scrollToMeAnim")})}),p=function(){var t=n.merge({offset:0,parent:e.body},r.$eval(u.ngScrollOptions)),o="string"==typeof t.parent?"document"==t.parent?n.element().cssSelect("body"):n.element(document).cssSelect(t.parent):t.parent;if(t.offset+=s(o.css("border-top-width")),a[0].getBoundingClientRect().top<0&&t.offset==s(o.css("border-top-width"))&&i.isWeb){var l=document.querySelector("#viewport>header");l&&(t.offset=l.offsetHeight)}return t};a.on("scrollToMeAnim",function(){var i=p(),o="string"==typeof i.parent?"document"==i.parent?n.element(document):n.element(document).cssSelect(i.parent):i.parent;f&&(f=t(f).bind(null,r)),c&&r.$eval(c),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?n.element(document).cssSelect(e.parent):e.parent;i&&r.$eval(i),f&&(f=t(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(t,r,i){e.on("enter",r,function(e,t){n.equals(r,e)&&"close"==t&&e.prev().triggerHandler("scrollToMe")});var o=function(){e.off(r)};t.$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),l=n>=0&&r<=o,c=u&&(r>=s&&r<=o||n>=0&&n<=a||n<=0&&r>=o);return i>0&&(l||c)}return{restrict:"A",scope:{inView:"&ngScrollInView",offView:"&ngScrollOffView",offset:"<ngScrollOffset"},link:function(i,o,a){var s=e(i.inView),u=e(i.offView),l=function(){var e=i.offset||{},r=n(o[0],e);t(r?function(){s()}:function(){u()})},c=function(){r(window).off("scrollend",l)};o.one("$destroy",c),i.$on("$destroy",c),l(),r(window).on("scrollend",l)}}}]).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 t=[],r={min:-1/0,max:1/0},i=function(e){var n,i,o=0,a=r.max;for(var s in t)o+=isNaN(t[s].ctrl.$modelValue)?0:t[s].ctrl.$modelValue;if(o>a){o=a,i=0;for(var s in t)t[s].ctrl!=e?i+=t[s].ctrl.$modelValue:n=t[s];n&&(n.focused?(n.ctrl.$setViewValue(o-i),n.ctrl.$render(),n.el[0].blur(),setTimeout(function(){n.el[0].focus()})):(n.ctrl.$setViewValue(o-i),n.ctrl.$commitViewValue()))}return o};e.$watch("options",function(e){n.extend(r,e)},!0),this.register=function(n,r,o,a){t.push({ctrl:r,el:n,focused:!1});var s=t[t.length-1],u=function(){s.focused=!0},l=function(){s.focused=!1},c=function(){n.off("focus",u).off("blur",l),delete t[t.indexOf(s)]};n.on("focus",u).on("blur",l),n.one("$destroy",c),a.$watch(o,function(){s.focused&&(e.total=i(r))}),e.$on("$destroy",c),a.$on("$destroy",c)},e.$on("$destroy",function(){r={},t=[]})}]}}).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",require:"ngModel",link:function(e,t,r,i){var o=function(){var t=e.$eval(r.ngModel),i=e.$eval(r.modelMatch);return n.equals(t,i)};e.$watch(o,function(e){i.$setValidity("match",e)})}}}]).directive("passMask",["$timeout",function(e){return{require:"ngModel",restrict:"A",link:function(t,r,i,o){var a,s,u,l=null,c=t.$eval(i.ngModel),f=t.$eval(i.passMask)||"•",d=function(e){e.preventDefault()};r.on("paste",d);var p=function(t){if(void 0==t)return"";if(s)return c;c=void 0!==c?c.toString():"",l&&(t.length,l.length),l=t;var i=t.toString(),d=r.caret(),p=i.substring(d-1,d),h=i.substring(0,d-1),v=i.substring(d),m=c.substring(0,h.length),g=c.substring(c.length-v.length),$=p;$==f&&($=""),c=m+$+g;var y=h.replace(/(.)/g,f)+p+v.replace(/(.)/g,f);return u=function(){n.element(document.activeElement).is(r)&&r.caret(d),o.$setViewValue(y),o.$render(),n.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}),c},h=function(){r.off("paste",d);var e=o.$parsers.indexOf(p);e>-1&&o.$parsers.splice(e,1)};o.$parsers.push(p),t.$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.on("change",r),e.$on("$destroy",function(){t.unbind("change",r)}),t.one("$destroy",function(){t.off("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(){var r=e.$eval(n.fallbackSrc);t.attr("src",r),t.off("error")}),e.$on("$destroy",function(){t.off("error")})}}}]).directive("ngError",["$parse",function(e){return{restrict:"A",link:function(t,n,r){n.on("error",function(i){var o=e(r.ngError).bind(null,t);t.$applyAsync(function(){o({$event:i,$element:n})})})}}}]).directive("unfocusPlaceholder",[function(){return{restrict:"A",link:function(e,t,n){var r,i=function(){(r=t.attr("placeholder"))&&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,t,r){var i=t.scrollEnd&&!t.data("hasScrollEnd")?t.scrollEnd():null,o=t.data("hasScrollEnd")?"scrollend":"scrollstop";t.on("scrollstart",function(){n.element(window).trigger("scrollstart")}),t.on(o,function(){n.element(window).trigger(o)}),t.on("$destroy",function(){t.off("scrollstart"),t.off(o);try{i&&(i.destroy(),i=null)}catch(e){}}),e.$on("$destroy",function(){t.off("scrollstart"),t.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(n,r,o){var a=o.ngObserveAttr,s=t.String.trim;t.String.isString(a)&&!i(a)&&(a=a.split(","),t.Array.isArray(a)&&n.$watch(function(){var e=!0;return t.Array.forEach(a,function(t){if(!n.$eval(o[s(t)]))return e=!1,!1}),e},function(t){e(o.ngObserveDo).bind(null,n)({$value:t})},!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 t.String.capitalize(e)}}).directive("ngBindValue",function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.ngBindValue,function(e){t.attr("value",e)})}}}).directive("ngScroll",["$parse",function(e){return{restrict:"A",link:function(t,n,r){n.on("scroll",function(){e(r.ngScroll).bind(null,t)({$event:n[0].scrollTop})})}}}]).directive("ngAriaHidden",function(){return{restrict:"A",link:function(e,t,n){var r=t.attr("tabindex"),i=e.$eval(n.ngAriaHidden);void 0===i||void 0===i?(t.attr("tabindex","-1"),t.attr("aria-hidden","true")):e.$watch(n.ngAriaHidden,function(e){e?(t.attr("tabindex","-1"),t.attr("aria-hidden","true")):(r?t.attr("tabindex",r):t.removeAttr("tabindex"),t.attr("aria-hidden","false"))})}}}).directive("ngAriaLabelledby",function(){return{restrict:"A",priority:100,link:function(e,n,i){function o(e){if("ngAriaHideText"in i)for(var t=n[0],o=0,a=t.childNodes.length;o<a;o++){var s=t.childNodes[o];if(3==s.nodeType){var u=document.createElement(i.ngAriaHideText||"p");r(u).addClass("inline"),s.after(u),u.appendChild(s),u.setAttribute("aria-hidden","true"),u.setAttribute("tabindex","-1")}else 1==s.nodeType&&(s.setAttribute("aria-hidden","true"),s.setAttribute("tabindex","-1"))}}function a(){for(var e=n[0],t=0,i=e.childNodes.length;t<i;t++){var o=e.childNodes[t];if(3==o.nodeType){var a=document.createElement("p");r(a).addClass("inline"),o.after(a),a.appendChild(o),a.setAttribute("aria-hidden","true"),a.setAttribute("tabindex","-1")}}var s=e.querySelector(".inline");s&&(s.setAttribute("aria-label",e.innerText),s.setAttribute("tabindex","0"),s.removeAttribute("aria-hidden"))}function s(e){var r=n.attr("aria-label"),s=r?r+". ":"";if("_self"==e||"_self_split"==e)if("ngAriaTextLinks"in i)a();else{if(n.attr("aria-label",s+n[0].innerText),"_self_split"==e){for(var u=[],l=0,c=n[0].childNodes.length;l<c;l++){var f=n[0].childNodes[l],d="";1==f.nodeType?f.hasAttribute("aria-label")?(d=t.String.trim(f.getAttribute("aria-label")),f.removeAttribute("aria-label")):d=t.String.trim(f.innerText):3==f.nodeType&&(d=t.String.trim(f.wholeText)),d&&u.push(d)}n.attr("aria-label",s+u.join(". "))}else n.attr("aria-label",s+n[0].innerText);o()}else{var p=document.getElementById(e);p&&n.attr("aria-label",s+p.innerText),o()}}var u=i.ngAriaLabelledbyDelay?e.$eval(i.ngAriaLabelledbyDelay):null,l=e.$eval(i.ngAriaLabelledby);"none"!==l&&(u?setTimeout(function(){s(l)},u):s(l))}}}).directive("ngRoleAlert",["$rootScope",function(e){return{restrict:"A",link:function(n,r,i){function o(){r.attr("tabindex","0"),e.isWeb?r[0].hasAttribute("aria-live")||(r.attr("aria-live","assertive"),r.attr("aria-atomic","true")):r.attr("role","alert")}var a=n.$eval(i.ngRoleAlert);if(t.isNullorUndefined(a))o();else var s=n.$watch(i.ngRoleAlert,function(e){e&&(o(),s())})}}}]).directive("ngAriaLive",function(){function e(){return null!=t.match(/Android/i)||n&&null!=n.match(/Android/i)}var t=navigator.userAgent,n=navigator.platform?navigator.platform:"";return{restrict:"A",link:function(t,n,r){n.addClass("a11y-visually-hidden");var i=null,o=e(),a=t.$eval(r.liveType)||"assertive";n.attr("aria-live",a),n.attr("aria-atomic","true"),n.attr("role","status"),o&&(n.attr("aria-hidden","true"),n.attr("tabindex","-1")),t.$watch(r.ngAriaLive,function(e){clearTimeout(i),i=setTimeout(function(){n.prop("innerHTML",e||""),o?n.attr("aria-label",e||""):(n[0].style.display="none",n[0].style.display="inline")})})}}}).directive("ngAriaExpanded",function(){return{restrict:"A",link:function(e,t,n){t.attr("aria-expanded","false"),e.$watch(n.ngAriaExpanded,function(e){t.attr("aria-expanded",e?"true":"false")})}}}).directive("ngAriaSelected",function(){return{restrict:"A",link:function(e,t,n){t.attr("aria-selected","false"),e.$watch(n.ngAriaSelected,function(e){t.attr("aria-selected",e?"true":"false")})}}}).directive("ngAriaLabel",function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.ngAriaLabel,function(e){t.attr("aria-label",e)})}}}).directive("ngAriaActivedescendant",function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.ngAriaActivedescendant,function(e){t.attr("aria-activedescendant",e)})}}}).directive("ngTabIndex",function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.ngTabIndex,function(e){"disabled"==e?t.removeAttr("tabindex"):t.attr("tabindex",e?"0":"-1")})}}}).directive("ngDesktopRoleText",function(){function e(){return null!=n.match(/iPhone|iPad|iPod/i)||r&&null!=r.match(/iPhone|iPad|iPod/i)}function t(){return null!=n.match(/Android/i)||r&&null!=r.match(/Android/i)}var n=navigator.userAgent,r=navigator.platform?navigator.platform:"";return{restrict:"A",link:function(n,r,i){n.$watch(i.ngTabIndex,function(n){e()||t()||(r.attr("role","text"),r.attr("tabindex","0"))})}}}).directive("ngRoleText",function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.ngRoleText,function(e){e?(t.attr("role","text"),t.attr("tabindex","0")):(t.removeAttr("role"),t.removeAttr("tabindex"))})}}})}),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){l(e,t),setTimeout(function(){c(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 l(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function c(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 x(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 w(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++)x(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 w(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 T(e,t){if(e.animate=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.")}function A(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 L(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 P(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:A},direction:{r:!0,t:N},snap:{r:!1,t:E},animate:{r:!1,t:T},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:L}};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 R(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 V(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 I(e,t){var n=document.createElement("div"),r=document.createElement("div"),i=["-lower","-upper"];return e&&i.reverse(),l(r,z[3]),l(r,z[3]+i[t]),l(n,z[2]),n.appendChild(r),n}function q(e,t,n){switch(e){case 1:l(t,z[7]),l(n[0],z[6]);break;case 3:l(n[1],z[6]);case 2:l(n[0],z[7]);case 0:l(t,z[6])}}function H(e,t,n){var r,i=[];for(r=0;r<e;r+=1)i.push(n.appendChild(I(t,r)));return i}function _(e,t,n){l(n,z[0]),l(n,z[8+e]),l(n,z[4+t]);var r=document.createElement("div");return l(r,z[1]),n.appendChild(r),r}function U(t,r){function i(e,t,n){if("range"===e||"steps"===e)return L.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 L.fromStepping(n?L.getStep(e):e)}):"values"===e?n?t.map(function(e){return L.fromStepping(L.getStep(L.toStepping(e)))}):t:void 0}function d(t,n,r){var i=L.direction,o={},a=L.xVal[0],s=L.xVal[L.xVal.length-1],u=!1,l=!1,c=0;return L.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),l=!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=L.xNumSteps[i]),a||(a=b-y),!1!==y&&void 0!==b)for(s=y;s<=b;s+=a){for(d=L.toStepping(s),p=d-c,m=p/t,g=Math.round(m),$=p/g,f=1;f<=g;f+=1)h=c+f*$,o[h.toFixed(5)]=["x",0];v=r.indexOf(s)>-1?1:"steps"===n?2:0,!i&&u&&(v=0),s===b&&l||(o[d.toFixed(5)]=[s,v]),c=d}}),L.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){L.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 l(u,"noUi-pips"),l(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(I).forEach(function(n){var r=n.split(".")[0];e===r&&I[n].forEach(function(e){e(s(k()),t,m(Array.prototype.slice.call(P)))})})}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=V(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,{passive:"touchmove"!=e&&"touchend"!=e&&"touchstart"!=e}),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=R(a,t.positions,i.length>1),o=w(i[0],n[s],1===i.length),i.length>1){if(o=w(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&&c(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])}),c(N,z[12]),v("set",r),v("change",r)}function b(e,t){var n=document.documentElement;if(1===t.handles.length&&(l(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&&l(N,z[12]);var o=function(){return!1};document.body.noUiListener=o,document.body.addEventListener("selectstart",o,!1)}}function x(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;w(D[t],i),v("slide",t),v("set",t),v("change",t),r.events.snap&&b(e,{handles:[D[s]]})}function w(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=L.getStep(t),(t=a(parseFloat(t.toFixed(7))))!==j[i]&&(e.style[r.style]=t+"%",e.previousSibling||(c(e,z[17]),t>50&&l(e,z[17])),j[i]=t,P[i]=L.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===w(D[i],L.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(P[e]);return m(t)}function E(){z.forEach(function(e){e&&c(N,e)}),N.innerHTML="",delete N.noUiSlider}function T(){return m(j.map(function(e,t){var n=L.getApplicableStep(e),r=u(String(n[2])),i=P[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 A(e,t){I[e]=I[e]||[],I[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(I).forEach(function(e){var r=e.split(".")[0],i=e.substring(r.length);t&&t!==r||n&&n!==i||delete I[e]})}var M,D,N=t,j=[-1,-1],L=r.spectrum,P=[],I={};if(N.noUiSlider)throw new Error("Slider was already initialized.");return M=_(r.dir,r.ort,N),D=H(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,x,{handles:D}),e.drag&&(n=[M.getElementsByClassName(z[7])[0]],l(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),l=e.format||{to:Math.round};N.appendChild(p(u,r,l))}(r.pips),{destroy:E,steps:T,on:A,off:O,get:k,set:S}}function F(e,t){if(!e.nodeName)throw new Error("noUiSlider.create requires a single element.");var n=P(t,e),r=U(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"];w.prototype.getMargin=function(e){return 2===this.xPct.length&&p(this.xVal,e)},w.prototype.toStepping=function(e){return e=g(this.xVal,this.xPct,e),this.direction&&(e=100-e),e},w.prototype.fromStepping=function(e){return this.direction&&(e=100-e),i($(this.xVal,this.xPct,e))},w.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},w.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]]},w.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var W={to:function(e){return e.toFixed(2)},from:Number};return{create:F}});