!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=177)}([function(e,t,n){"use strict";var r=n(4),i=n(13),o=n(19),a=n(15),s=n(27),l=function e(t,n,l){var c,u,d,f,p=t&e.F,h=t&e.G,v=t&e.S,m=t&e.P,g=t&e.B,y=h?r:v?r[n]||(r[n]={}):(r[n]||{}).prototype,$=h?i:i[n]||(i[n]={}),b=$.prototype||($.prototype={});h&&(l=n);for(c in l)u=!p&&y&&void 0!==y[c],d=(u?y:l)[c],f=g&&u?s(d,r):m&&"function"==typeof d?s(Function.call,d):d,y&&a(y,c,d,t&e.U),$[c]!=d&&o($,c,f),m&&b[c]!=d&&(b[c]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";function r(e){return e}function i(){}function o(e,t,n,r,i){void 0===i&&(i=!1);var o=function(t){return e()[t].bind(n())},a=function(e){return function(){return t[e]=o(e),t[e].apply(null,arguments)}};return r=r||Object.keys(e()),r.reduce(function(e,t){return e[t]=i?a(t):o(t),e},t)}function a(e,t){return-1!==e.indexOf(t)}function s(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),e}function l(e,t){return e.push(t),t}function c(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n.concat({}).reverse(),o=t.extend.apply(null,i);return t.extend({},o,d(e||{},Object.keys(o)))}function u(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}function d(e,t){var n={};for(var r in e)-1!==t.indexOf(r)&&(n[r]=e[r]);return n}function f(e,n){return Object.keys(e).filter(k.not(t.inArray(n))).reduce(function(t,n){return t[n]=e[n],t},{})}function p(e,t){return m(e,k.prop(t))}function h(e,n){var r=A.isArray(e),i=r?[]:{},o=r?function(e){return i.push(e)}:function(e,t){return i[t]=e};return t.forEach(e,function(e,t){n(e,t)&&o(e,t)}),i}function v(e,n){var r;return t.forEach(e,function(e,t){r||n(e,t)&&(r=e)}),r}function m(e,n){var r=A.isArray(e)?[]:{};return t.forEach(e,function(e,t){return r[t]=n(e,t)}),r}function g(e,t){return e.push(t),e}function y(e,t){return void 0===t&&(t="assert failure"),function(n){var r=e(n);if(!r)throw new Error(A.isFunction(t)?t(n):t);return r}}function $(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];var n,r=e.reduce(function(e,t){return Math.min(t.length,e)},9007199254740991),i=[];for(n=0;n<r;n++)switch(e.length){case 1:i.push([e[0][n]]);break;case 2:i.push([e[0][n],e[1][n]]);break;case 3:i.push([e[0][n],e[1][n],e[2][n]]);break;case 4:i.push([e[0][n],e[1][n],e[2][n],e[3][n]]);break;default:i.push(e.map(function(e){return e[n]}))}return i}function b(e,t){var n,r;if(A.isArray(t)&&(n=t[0],r=t[1]),!A.isString(n))throw new Error("invalid parameters to applyPairs");return e[n]=r,e}function w(e){return e.length&&e[e.length-1]||void 0}function x(e,n){return n&&Object.keys(n).forEach(function(e){return delete n[e]}),n||(n={}),t.extend(n,e)}function S(e,t,n){if(A.isArray(e))return e.forEach(t,n);Object.keys(e).forEach(function(n){return t(e[n],n)})}function E(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var r=Object.keys(n),i=0;i<r.length;i++)e[r[i]]=n[r[i]]}return e}function C(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n=void 0===e?"undefined":_(e);if(n!==(void 0===t?"undefined":_(t))||"object"!==n)return!1;var r=[e,t];if(k.all(A.isArray)(r))return T(e,t);if(k.all(A.isDate)(r))return e.getTime()===t.getTime();if(k.all(A.isRegExp)(r))return e.toString()===t.toString();if(k.all(A.isFunction)(r))return!0;if([A.isFunction,A.isArray,A.isDate,A.isRegExp].map(k.any).reduce(function(e,t){return e||!!t(r)},!1))return!1;var i,o={};for(i in e){if(!C(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!o[i])return!1;return!0}function T(e,t){return e.length===t.length&&$(e,t).reduce(function(e,t){return e&&C(t[0],t[1])},!0)}var _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var A=n(6),k=n(7),N=n(14),P="undefined"==typeof window?{}:window,O=P.angular||{};t.fromJson=O.fromJson||JSON.parse.bind(JSON),t.toJson=O.toJson||JSON.stringify.bind(JSON),t.copy=O.copy||x,t.forEach=O.forEach||S,t.extend=Object.assign||E,t.equals=O.equals||C,t.identity=r,t.noop=i,t.createProxyFunctions=o,t.inherit=function(e,n){return t.extend(Object.create(e),n)};t.inArray=k.curry(a),t._inArray=a,t.removeFrom=k.curry(s),t._removeFrom=s,t.pushTo=k.curry(l),t._pushTo=l,t.deregAll=function(e){return e.slice().forEach(function(n){"function"==typeof n&&n(),t.removeFrom(e,n)})},t.defaults=c,t.mergeR=function(e,n){return t.extend(e,n)},t.ancestors=u,t.pick=d,t.omit=f,t.pluck=p,t.filter=h,t.find=v,t.mapObj=m,t.map=m,t.values=function(e){return Object.keys(e).map(function(t){return e[t]})},t.allTrueR=function(e,t){return e&&t},t.anyTrueR=function(e,t){return e||t},t.unnestR=function(e,t){return e.concat(t)},t.flattenR=function(e,n){return A.isArray(n)?e.concat(n.reduce(t.flattenR,[])):g(e,n)},t.pushR=g,t.uniqR=function(e,n){return t.inArray(e,n)?e:g(e,n)},t.unnest=function(e){return e.reduce(t.unnestR,[])},t.flatten=function(e){return e.reduce(t.flattenR,[])},t.assertPredicate=y,t.assertMap=y,t.assertFn=y,t.pairs=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})},t.arrayTuples=$,t.applyPairs=b,t.tail=w,t._extend=E,t.sortBy=function(e,t){return void 0===t&&(t=k.val(!0)),function(n,r){return t(n)&&t(r)?e(n)-e(r):0}},t.composeSort=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n){return e.reduce(function(e,r){return e||r(t,n)},0)}},t.silenceUncaughtInPromise=function(e){return e.catch(function(e){return 0})&&e},t.silentRejection=function(e){return t.silenceUncaughtInPromise(N.services.$q.reject(e))}},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){return"object"===(void 0===e?"undefined":r(e))?null!==e:"function"==typeof e}},function(e,t,n){"use strict";function r(e){if(t.isArray(e)&&e.length){var n=e.slice(0,-1),r=e.slice(-1);return!(n.filter(o.not(t.isString)).length||r.filter(o.not(t.isFunction)).length)}return t.isFunction(e)}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(7),a=n(111),s=Object.prototype.toString,l=function(e){return function(t){return(void 0===t?"undefined":i(t))===e}};t.isUndefined=l("undefined"),t.isDefined=o.not(t.isUndefined),t.isNull=function(e){return null===e},t.isNullOrUndefined=o.or(t.isNull,t.isUndefined),t.isFunction=l("function"),t.isNumber=l("number"),t.isString=l("string"),t.isObject=function(e){return null!==e&&"object"===(void 0===e?"undefined":i(e))},t.isArray=Array.isArray,t.isDate=function(e){return"[object Date]"===s.call(e)},t.isRegExp=function(e){return"[object RegExp]"===s.call(e)},t.isState=a.StateObject.isState,t.isInjectable=r,t.isPromise=o.and(t.isObject,o.pipe(o.prop("then"),t.isFunction))},function(e,t,n){"use strict";function r(e){function t(n){return n.length>=r?e.apply(null,n):function(){return t(n.concat([].slice.apply(arguments)))}}var n=[].slice.apply(arguments,[1]),r=e.length;return t(n)}function i(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.apply(null,[].slice.call(arguments).reverse())}function a(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)&&t.apply(null,n)}}function s(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)||t.apply(null,n)}}function l(e,t){return function(n){return n[e].apply(n,t)}}function c(e){return function(t){for(var n=0;n<e.length;n++)if(e[n][0](t))return e[n][1](t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.curry=r,t.compose=i,t.pipe=o,t.prop=function(e){return function(t){return t&&t[e]}},t.propEq=r(function(e,t,n){return n&&n[e]===t}),t.parse=function(e){return o.apply(null,e.split(".").map(t.prop))},t.not=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}},t.and=a,t.or=s,t.all=function(e){return function(t){return t.reduce(function(t,n){return t&&!!e(n)},!0)}},t.any=function(e){return function(t){return t.reduce(function(t,n){return t||!!e(n)},!1)}},t.is=function(e){return function(t){return null!=t&&t.constructor===e||t instanceof e}},t.eq=function(e){return function(t){return e===t}},t.val=function(e){return function(){return e}},t.invoke=l,t.pattern=c},function(e,t,n){"use strict";var r=n(84)("wks"),i=n(37),o=n(4).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(23),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),i=n(120),o=n(32),a=Object.defineProperty;t.f=n(12)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";(function(e){var n,r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(t,n){"object"===i(e)&&"object"===i(e.exports)?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:void 0,function(o,a){function s(e){var t=!!e&&"length"in e&&e.length,n=ge.type(e);return"function"!==n&&!ge.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e,t,n){if(ge.isFunction(t))return ge.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ge.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(_e.test(t))return ge.filter(t,e,n);t=ge.filter(t,e)}return ge.grep(e,function(e){return ge.inArray(e,t)>-1!==n})}function c(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function u(e){var t={};return ge.each(e.match(Oe)||[],function(e,n){t[n]=!0}),t}function d(){le.addEventListener?(le.removeEventListener("DOMContentLoaded",f),o.removeEventListener("load",f)):(le.detachEvent("onreadystatechange",f),o.detachEvent("onload",f))}function f(){(le.addEventListener||"load"===o.event.type||"complete"===le.readyState)&&(d(),ge.ready())}function p(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Re,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Fe.test(n)?ge.parseJSON(n):n)}catch(e){}ge.data(e,t,n)}else n=void 0}return n}function h(e){var t;for(t in e)if(("data"!==t||!ge.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function v(e,t,n,r){if(Me(e)){var o,a,s=ge.expando,l=e.nodeType,c=l?ge.cache:e,u=l?e[s]:e[s]&&s;if(u&&c[u]&&(r||c[u].data)||void 0!==n||"string"!=typeof t)return u||(u=l?e[s]=se.pop()||ge.guid++:s),c[u]||(c[u]=l?{}:{toJSON:ge.noop}),"object"!==(void 0===t?"undefined":i(t))&&"function"!=typeof t||(r?c[u]=ge.extend(c[u],t):c[u].data=ge.extend(c[u].data,t)),a=c[u],r||(a.data||(a.data={}),a=a.data),void 0!==n&&(a[ge.camelCase(t)]=n),"string"==typeof t?null==(o=a[t])&&(o=a[ge.camelCase(t)]):o=a,o}}function m(e,t,n){if(Me(e)){var r,i,o=e.nodeType,a=o?ge.cache:e,s=o?e[ge.expando]:ge.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ge.isArray(t)?t=t.concat(ge.map(t,ge.camelCase)):t in r?t=[t]:(t=ge.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!h(r):!ge.isEmptyObject(r))return}(n||(delete a[s].data,h(a[s])))&&(o?ge.cleanData([e],!0):me.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function g(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return ge.css(e,t,"")},l=s(),c=n&&n[3]||(ge.cssNumber[t]?"":"px"),u=(ge.cssNumber[t]||"px"!==c&&+l)&&Ue.exec(ge.css(e,t));if(u&&u[3]!==c){c=c||u[3],n=n||[],u=+l||1;do{o=o||".5",u/=o,ge.style(e,t,u+c)}while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}function y(e){var t=Ge.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function $(e,t){var n,r,i=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||ge.nodeName(r,t)?o.push(r):ge.merge(o,$(r,t));return void 0===t||t&&ge.nodeName(e,t)?ge.merge([e],o):o}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)ge._data(n,"globalEval",!t||ge._data(t[r],"globalEval"))}function w(e){He.test(e.type)&&(e.defaultChecked=e.checked)}function x(e,t,n,r,i){for(var o,a,s,l,c,u,d,f=e.length,p=y(t),h=[],v=0;v<f;v++)if((a=e[v])||0===a)if("object"===ge.type(a))ge.merge(h,a.nodeType?[a]:a);else if(Ke.test(a)){for(l=l||p.appendChild(t.createElement("div")),c=(Be.exec(a)||["",""])[1].toLowerCase(),d=Ye[c]||Ye._default,l.innerHTML=d[1]+ge.htmlPrefilter(a)+d[2],o=d[0];o--;)l=l.lastChild;if(!me.leadingWhitespace&&ze.test(a)&&h.push(t.createTextNode(ze.exec(a)[0])),!me.tbody)for(a="table"!==c||Je.test(a)?"<table>"!==d[1]||Je.test(a)?0:l:l.firstChild,o=a&&a.childNodes.length;o--;)ge.nodeName(u=a.childNodes[o],"tbody")&&!u.childNodes.length&&a.removeChild(u);for(ge.merge(h,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=p.lastChild}else h.push(t.createTextNode(a));for(l&&p.removeChild(l),me.appendChecked||ge.grep($(h,"input"),w),v=0;a=h[v++];)if(r&&ge.inArray(a,r)>-1)i&&i.push(a);else if(s=ge.contains(a.ownerDocument,a),l=$(p.appendChild(a),"script"),s&&b(l),n)for(o=0;a=l[o++];)We.test(a.type||"")&&n.push(a);return l=null,p}function S(){return!0}function E(){return!1}function C(){try{return le.activeElement}catch(e){}}function T(e,t,n,r,o,a){var s,l;if("object"===(void 0===t?"undefined":i(t))){"string"!=typeof n&&(r=r||n,n=void 0);for(l in t)T(e,l,n,r,t[l],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=E;else if(!o)return e;return 1===a&&(s=o,o=function(e){return ge().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=ge.guid++)),e.each(function(){ge.event.add(this,t,o,r,n)})}function _(e,t){return ge.nodeName(e,"table")&&ge.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function A(e){return e.type=(null!==ge.find.attr(e,"type"))+"/"+e.type,e}function k(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function N(e,t){if(1===t.nodeType&&ge.hasData(e)){var n,r,i,o=ge._data(e),a=ge._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r<i;r++)ge.event.add(t,n,s[n][r])}a.data&&(a.data=ge.extend({},a.data))}}function P(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!me.noCloneEvent&&t[ge.expando]){i=ge._data(t);for(r in i.events)ge.removeEvent(t,r,i.handle);t.removeAttribute(ge.expando)}"script"===n&&t.text!==e.text?(A(t).text=e.text,k(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),me.html5Clone&&e.innerHTML&&!ge.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&He.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function O(e,t,n,r){t=ue.apply([],t);var i,o,a,s,l,c,u=0,d=e.length,f=d-1,p=t[0],h=ge.isFunction(p);if(h||d>1&&"string"==typeof p&&!me.checkClone&&at.test(p))return e.each(function(i){var o=e.eq(i);h&&(t[0]=p.call(this,i,o.html())),O(o,t,n,r)});if(d&&(c=x(t,e[0].ownerDocument,!1,e,r),i=c.firstChild,1===c.childNodes.length&&(c=i),i||r)){for(s=ge.map($(c,"script"),A),a=s.length;u<d;u++)o=c,u!==f&&(o=ge.clone(o,!0,!0),a&&ge.merge(s,$(o,"script"))),n.call(e[u],o,u);if(a)for(l=s[s.length-1].ownerDocument,ge.map(s,k),u=0;u<a;u++)o=s[u],We.test(o.type||"")&&!ge._data(o,"globalEval")&&ge.contains(l,o)&&(o.src?ge._evalUrl&&ge._evalUrl(o.src):ge.globalEval((o.text||o.textContent||o.innerHTML||"").replace(lt,"")));c=i=null}return e}function D(e,t,n){for(var r,i=t?ge.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ge.cleanData($(r)),r.parentNode&&(n&&ge.contains(r.ownerDocument,r)&&b($(r,"script")),r.parentNode.removeChild(r));return e}function I(e,t){var n=ge(t.createElement(e)).appendTo(t.body),r=ge.css(n[0],"display");return n.detach(),r}function M(e){var t=le,n=ft[e];return n||(n=I(e,t),"none"!==n&&n||(dt=(dt||ge("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(dt[0].contentWindow||dt[0].contentDocument).document,t.write(),t.close(),n=I(e,t),dt.detach()),ft[e]=n),n}function F(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function R(e){if(e in _t)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Tt.length;n--;)if((e=Tt[n]+t)in _t)return e}function j(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(o[a]=ge._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&qe(r)&&(o[a]=ge._data(r,"olddisplay",M(r.nodeName)))):(i=qe(r),(n&&"none"!==n||!i)&&ge._data(r,"olddisplay",i?n:ge.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function U(e,t,n){var r=St.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function L(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=ge.css(e,n+Le[o],!0,i)),r?("content"===n&&(a-=ge.css(e,"padding"+Le[o],!0,i)),"margin"!==n&&(a-=ge.css(e,"border"+Le[o]+"Width",!0,i))):(a+=ge.css(e,"padding"+Le[o],!0,i),"padding"!==n&&(a+=ge.css(e,"border"+Le[o]+"Width",!0,i)));return a}function q(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=gt(e),s=me.boxSizing&&"border-box"===ge.css(e,"boxSizing",!1,a);if(le.msFullscreenElement&&o.top!==o&&e.getClientRects().length&&(i=Math.round(100*e.getBoundingClientRect()[t])),i<=0||null==i){if(i=yt(e,t,a),(i<0||null==i)&&(i=e.style[t]),ht.test(i))return i;r=s&&(me.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+L(e,t,n||(s?"border":"content"),r,a)+"px"}function V(e,t,n,r,i){return new V.prototype.init(e,t,n,r,i)}function H(){return o.setTimeout(function(){At=void 0}),At=ge.now()}function B(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)n=Le[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function W(e,t,n){for(var r,i=(Y.tweeners[t]||[]).concat(Y.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function z(e,t,n){var r,i,o,a,s,l,c,u=this,d={},f=e.style,p=e.nodeType&&qe(e),h=ge._data(e,"fxshow");n.queue||(s=ge._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,ge.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],c=ge.css(e,"display"),"inline"===("none"===c?ge._data(e,"olddisplay")||M(e.nodeName):c)&&"none"===ge.css(e,"float")&&(me.inlineBlockNeedsLayout&&"inline"!==M(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",me.shrinkWrapBlocks()||u.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Nt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;p=!0}d[r]=h&&h[r]||ge.style(e,r)}else c=void 0;if(ge.isEmptyObject(d))"inline"===("none"===c?M(e.nodeName):c)&&(f.display=c);else{h?"hidden"in h&&(p=h.hidden):h=ge._data(e,"fxshow",{}),o&&(h.hidden=!p),p?ge(e).show():u.done(function(){ge(e).hide()}),u.done(function(){var t;ge._removeData(e,"fxshow");for(t in d)ge.style(e,t,d[t])});for(r in d)a=W(p?h[r]:0,r,u),r in h||(h[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function G(e,t){var n,r,i,o,a;for(n in e)if(r=ge.camelCase(n),i=t[r],o=e[n],ge.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ge.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 Y(e,t,n){var r,i,o=0,a=Y.prefilters.length,s=ge.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=At||H(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,o=1-r,a=0,l=c.tweens.length;a<l;a++)c.tweens[a].run(o);return s.notifyWith(e,[c,o,n]),o<1&&l?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:ge.extend({},t),opts:ge.extend(!0,{specialEasing:{},easing:ge.easing._default},n),originalProperties:t,originalOptions:n,startTime:At||H(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ge.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(G(u,c.opts.specialEasing);o<a;o++)if(r=Y.prefilters[o].call(c,e,u,c.opts))return ge.isFunction(r.stop)&&(ge._queueHooks(c.elem,c.opts.queue).stop=ge.proxy(r.stop,r)),r;return ge.map(u,W,c),ge.isFunction(c.opts.start)&&c.opts.start.call(e,c),ge.fx.timer(ge.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function K(e){return ge.attr(e,"class")||""}function J(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Oe)||[];if(ge.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function X(e,t,n,r){function i(s){var l;return o[s]=!0,ge.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||o[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),i(c),!1)}),l}var o={},a=e===en;return i(t.dataTypes[0])||!o["*"]&&i("*")}function Z(e,t){var n,r,i=ge.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&ge.extend(!0,e,n),e}function Q(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ee(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if(s=i.split(" "),s[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.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 "+l+" to "+o}}}return{state:"success",data:t}}function te(e){return e.style&&e.style.display||ge.css(e,"display")}function ne(e){for(;e&&1===e.nodeType;){if("none"===te(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function re(e,t,n,r){var o;if(ge.isArray(t))ge.each(t,function(t,o){n||an.test(e)?r(e,o):re(e+"["+("object"===(void 0===o?"undefined":i(o))&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==ge.type(t))r(e,t);else for(o in t)re(e+"["+o+"]",t[o],n,r)}function ie(){try{return new o.XMLHttpRequest}catch(e){}}function oe(){try{return new o.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function ae(e){return ge.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var se=[],le=o.document,ce=se.slice,ue=se.concat,de=se.push,fe=se.indexOf,pe={},he=pe.toString,ve=pe.hasOwnProperty,me={},ge=function e(t,n){return new e.fn.init(t,n)},ye=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,$e=/^-ms-/,be=/-([\da-z])/gi,we=function(e,t){return t.toUpperCase()};ge.fn=ge.prototype={jquery:"1.12.0",constructor:ge,selector:"",length:0,toArray:function(){return ce.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ce.call(this)},pushStack:function(e){var t=ge.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ge.each(this,e)},map:function(e){return this.pushStack(ge.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ce.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:de,sort:se.sort,splice:se.splice},ge.extend=ge.fn.extend=function(){var e,t,n,r,o,a,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[l]||{},l++),"object"===(void 0===s?"undefined":i(s))||ge.isFunction(s)||(s={}),l===c&&(s=this,l--);l<c;l++)if(null!=(o=arguments[l]))for(r in o)e=s[r],n=o[r],s!==n&&(u&&n&&(ge.isPlainObject(n)||(t=ge.isArray(n)))?(t?(t=!1,a=e&&ge.isArray(e)?e:[]):a=e&&ge.isPlainObject(e)?e:{},s[r]=ge.extend(u,a,n)):void 0!==n&&(s[r]=n));return s},ge.extend({expando:"jQuery"+("1.12.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ge.type(e)},isArray:Array.isArray||function(e){return"array"===ge.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!ge.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==ge.type(e)||e.nodeType||ge.isWindow(e))return!1;try{if(e.constructor&&!ve.call(e,"constructor")&&!ve.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!me.ownFirst)for(t in e)return ve.call(e,t);for(t in e);return void 0===t||ve.call(e,t)},type:function(e){return null==e?e+"":"object"===(void 0===e?"undefined":i(e))||"function"==typeof e?pe[he.call(e)]||"object":void 0===e?"undefined":i(e)},globalEval:function(e){e&&ge.trim(e)&&(o.execScript||function(e){o.eval.call(o,e)})(e)},camelCase:function(e){return e.replace($e,"ms-").replace(be,we)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(s(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ye,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?ge.merge(n,"string"==typeof e?[e]:e):de.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(fe)return fe.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[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,i,o=0,a=[];if(s(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return ue.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(i=e[t],t=e,e=i),ge.isFunction(e))return n=ce.call(arguments,2),r=function(){return e.apply(t||this,n.concat(ce.call(arguments)))},r.guid=e.guid=e.guid||ge.guid++,r},now:function(){return+new Date},support:me}),"function"==typeof Symbol&&(ge.fn[Symbol.iterator]=se[Symbol.iterator]),ge.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var xe=function(e){function t(e,t,n,r){var i,o,a,s,c,d,f,p,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&((t?t.ownerDocument||t:j)!==N&&k(t),t=t||N,O)){if(11!==v&&(d=ve.exec(e)))if(i=d[1]){if(9===v){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&F(t,a)&&a.id===i)return n.push(a),n}else{if(d[2])return J.apply(n,t.getElementsByTagName(e)),n;if((i=d[3])&&$.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(i)),n}if($.qsa&&!H[e+" "]&&(!D||!D.test(e))){if(1!==v)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ge,"\\$&"):t.setAttribute("id",s=R),f=S(e),o=f.length,c=ue.test(s)?"#"+s:"[id='"+s+"']";o--;)f[o]=c+" "+u(f[o]);p=f.join(","),h=me.test(e)&&l(t.parentNode)||t}if(p)try{return J.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{s===R&&t.removeAttribute("id")}}}return C(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>b.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[R]=!0,e}function i(e){var t=N.createElement("div");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--;)b.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||W)-(~e.sourceIndex||W);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(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 u(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=n&&"parentNode"===r,o=L++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,c,u=[U,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(c=t[R]||(t[R]={}),l=c[t.uniqueID]||(c[t.uniqueID]={}),(s=l[r])&&s[0]===U&&s[1]===o)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,a))return!0}}}function f(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 p(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function h(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function v(e,t,n,i,o,a){return i&&!i[R]&&(i=v(i)),o&&!o[R]&&(o=v(o,a)),r(function(r,a,s,l){var c,u,d,f=[],v=[],m=a.length,g=r||p(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?g:h(g,f,e,s,l),$=n?o||(r?e:m||i)?[]:a:y;if(n&&n(y,$,s,l),i)for(c=h($,v),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&($[v[u]]=!(y[v[u]]=d));if(r){if(o||e){if(o){for(c=[],u=$.length;u--;)(d=$[u])&&c.push(y[u]=d);o(null,$=[],c,l)}for(u=$.length;u--;)(d=$[u])&&(c=o?Z(r,d):f[u])>-1&&(r[c]=!(a[c]=d))}}else $=h($===a?$.splice(m,$.length):$),o?o(null,a,$,l):J.apply(a,$)})}function m(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,l=d(function(e){return e===t},a,!0),c=d(function(e){return Z(t,e)>-1},a,!0),p=[function(e,n,r){var i=!o&&(r||n!==T)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,i}];s<i;s++)if(n=b.relative[e[s].type])p=[d(f(p),n)];else{if(n=b.filter[e[s].type].apply(null,e[s].matches),n[R]){for(r=++s;r<i&&!b.relative[e[r].type];r++);return v(s>1&&f(p),s>1&&u(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<r&&m(e.slice(s,r)),r<i&&m(e=e.slice(r)),r<i&&u(e))}p.push(n)}return f(p)}function g(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,l,c){var u,d,f,p=0,v="0",m=r&&[],g=[],y=T,$=r||o&&b.find.TAG("*",c),w=U+=null==y?1:Math.random()||.1,x=$.length;for(c&&(T=a===N||a||c);v!==x&&null!=(u=$[v]);v++){if(o&&u){for(d=0,a||u.ownerDocument===N||(k(u),s=!O);f=e[d++];)if(f(u,a||N,s)){l.push(u);break}c&&(U=w)}i&&((u=!f&&u)&&p--,r&&m.push(u))}if(p+=v,i&&v!==p){for(d=0;f=n[d++];)f(m,g,a,s);if(r){if(p>0)for(;v--;)m[v]||g[v]||(g[v]=Y.call(l));g=h(g)}J.apply(l,g),c&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(l)}return c&&(U=w,T=y),m};return i?r(a):a}var y,$,b,w,x,S,E,C,T,_,A,k,N,P,O,D,I,M,F,R="sizzle"+1*new Date,j=e.document,U=0,L=0,q=n(),V=n(),H=n(),B=function(e,t){return e===t&&(A=!0),0},W=1<<31,z={}.hasOwnProperty,G=[],Y=G.pop,K=G.push,J=G.push,X=G.slice,Z=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ce=new RegExp(re),ue=new RegExp("^"+te+"$"),de={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ge=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),$e=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=function(){k()};try{J.apply(G=X.call(j.childNodes),j.childNodes),G[j.childNodes.length].nodeType}catch(e){J={apply:G.length?function(e,t){K.apply(e,X.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}$=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},k=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:j;return r!==N&&9===r.nodeType&&r.documentElement?(N=r,P=N.documentElement,O=!x(N),(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",be,!1):n.attachEvent&&n.attachEvent("onunload",be)),$.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),$.getElementsByTagName=i(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),$.getElementsByClassName=he.test(N.getElementsByClassName),$.getById=i(function(e){return P.appendChild(e).id=R,!N.getElementsByName||!N.getElementsByName(R).length}),$.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&O){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ye,$e);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ye,$e);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),b.find.TAG=$.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):$.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},b.find.CLASS=$.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&O)return t.getElementsByClassName(e)},I=[],D=[],($.qsa=he.test(N.querySelectorAll))&&(i(function(e){P.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||D.push("\\["+ee+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+R+"-]").length||D.push("~="),e.querySelectorAll(":checked").length||D.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||D.push(".#.+[+~]")}),i(function(e){var t=N.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&D.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||D.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),D.push(",.*:")})),($.matchesSelector=he.test(M=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&i(function(e){$.disconnectedMatch=M.call(e,"div"),M.call(e,"[s!='']:x"),I.push("!=",re)}),D=D.length&&new RegExp(D.join("|")),I=I.length&&new RegExp(I.join("|")),t=he.test(P.compareDocumentPosition),F=t||he.test(P.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},B=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!$.sortDetached&&t.compareDocumentPosition(e)===n?e===N||e.ownerDocument===j&&F(j,e)?-1:t===N||t.ownerDocument===j&&F(j,t)?1:_?Z(_,e)-Z(_,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],l=[t];if(!i||!o)return e===N?-1:t===N?1:i?-1:o?1:_?Z(_,e)-Z(_,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?a(s[r],l[r]):s[r]===j?-1:l[r]===j?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&k(e),n=n.replace(le,"='$1']"),$.matchesSelector&&O&&!H[n+" "]&&(!I||!I.test(n))&&(!D||!D.test(n)))try{var r=M.call(e,n);if(r||$.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&k(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&k(e);var n=b.attrHandle[t.toLowerCase()],r=n&&z.call(b.attrHandle,t.toLowerCase())?n(e,t,!O):void 0;return void 0!==r?r:$.attributes||!O?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!$.detectDuplicates,_=!$.sortStable&&e.slice(0),e.sort(B),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return _=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},b=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,$e),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,$e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return 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,$e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,$=!1;if(m){if(o){for(;v;){for(f=t;f=f[v];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(f=m,d=f[R]||(f[R]={}),u=d[f.uniqueID]||(d[f.uniqueID]={}),c=u[e]||[],p=c[0]===U&&c[1],$=p&&c[2],f=p&&m.childNodes[p];f=++p&&f&&f[v]||($=p=0)||h.pop();)if(1===f.nodeType&&++$&&f===t){u[e]=[U,p,$];break}}else if(y&&(f=t,d=f[R]||(f[R]={}),u=d[f.uniqueID]||(d[f.uniqueID]={}),c=u[e]||[],p=c[0]===U&&c[1],$=p),!1===$)for(;(f=++p&&f&&f[v]||($=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++$||(y&&(d=f[R]||(f[R]={}),u=d[f.uniqueID]||(d[f.uniqueID]={}),u[e]=[U,$]),f!==t)););return($-=i)===r||$%r==0&&$/r>=0}}},PSEUDO:function(e,n){var i,o=b.pseudos[e]||b.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[R]?o(n):o.length>1?(i=[e,e,"",n],b.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=E(e.replace(oe,"$1"));return i[R]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,$e),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ue.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,$e).toLowerCase(),function(t){var n;do{if(n=O?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===P},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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!b.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return fe.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:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},b.pseudos.nth=b.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})b.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return c.prototype=b.filters=b.pseudos,b.setFilters=new c,S=t.tokenize=function(e,n){var r,i,o,a,s,l,c,u=V[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=b.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),s=s.slice(r.length));for(a in b.filter)!(i=de[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):V(e,l).slice(0)},E=t.compile=function(e,t){var n,r=[],i=[],o=H[e+" "];if(!o){for(t||(t=S(e)),n=t.length;n--;)o=m(t[n]),o[R]?r.push(o):i.push(o);o=H(e,g(i,r)),o.selector=e}return o},C=t.select=function(e,t,n,r){var i,o,a,s,c,d="function"==typeof e&&e,f=!r&&S(e=d.selector||e);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&$.getById&&9===t.nodeType&&O&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(ye,$e),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=de.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((c=b.find[s])&&(r=c(a.matches[0].replace(ye,$e),me.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&u(o)))return J.apply(n,r),n;break}}return(d||E(e,f))(r,t,!O,n,!t||me.test(e)&&l(t.parentNode)||t),n},$.sortStable=R.split("").sort(B).join("")===R,$.detectDuplicates=!!A,k(),$.sortDetached=i(function(e){return 1&e.compareDocumentPosition(N.createElement("div"))}),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)}),$.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(Q,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(o);ge.find=xe,ge.expr=xe.selectors,ge.expr[":"]=ge.expr.pseudos,ge.uniqueSort=ge.unique=xe.uniqueSort,ge.text=xe.getText,ge.isXMLDoc=xe.isXML,ge.contains=xe.contains;var Se=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&ge(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},Ce=ge.expr.match.needsContext,Te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,_e=/^.[^:#\[\.,]*$/;ge.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ge.find.matchesSelector(r,e)?[r]:[]:ge.find.matches(e,ge.grep(t,function(e){return 1===e.nodeType}))},ge.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(ge(e).filter(function(){for(t=0;t<i;t++)if(ge.contains(r[t],this))return!0}));for(t=0;t<i;t++)ge.find(e,r[t],n);return n=this.pushStack(i>1?ge.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(l(this,e||[],!1))},not:function(e){return this.pushStack(l(this,e||[],!0))},is:function(e){return!!l(this,"string"==typeof e&&Ce.test(e)?ge(e):e||[],!1).length}});var Ae,ke=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ge.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ae,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ke.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 ge?t[0]:t,ge.merge(this,ge.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:le,!0)),Te.test(r[1])&&ge.isPlainObject(t))for(r in t)ge.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=le.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return Ae.find(e);this.length=1,this[0]=i}return this.context=le,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ge.isFunction(e)?void 0!==n.ready?n.ready(e):e(ge):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ge.makeArray(e,this))}).prototype=ge.fn,Ae=ge(le);var Ne=/^(?:parents|prev(?:Until|All))/,Pe={children:!0,contents:!0,next:!0,prev:!0};ge.fn.extend({has:function(e){var t,n=ge(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(ge.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Ce.test(e)||"string"!=typeof e?ge(e,t||this.context):0;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&&ge.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?ge.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ge.inArray(this[0],ge(e)):ge.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ge.uniqueSort(ge.merge(this.get(),ge(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ge.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Se(e,"parentNode")},parentsUntil:function(e,t,n){return Se(e,"parentNode",n)},next:function(e){return c(e,"nextSibling")},prev:function(e){return c(e,"previousSibling")},nextAll:function(e){return Se(e,"nextSibling")},prevAll:function(e){return Se(e,"previousSibling")},nextUntil:function(e,t,n){return Se(e,"nextSibling",n)},prevUntil:function(e,t,n){return Se(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return ge.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ge.merge([],e.childNodes)}},function(e,t){ge.fn[e]=function(n,r){var i=ge.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ge.filter(r,i)),this.length>1&&(Pe[e]||(i=ge.uniqueSort(i)),Ne.test(e)&&(i=i.reverse())),this.pushStack(i)}});var Oe=/\S+/g;ge.Callbacks=function(e){e="string"==typeof e?u(e):ge.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){ge.each(n,function(n,r){ge.isFunction(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==ge.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return ge.each(arguments,function(e,t){for(var n;(n=ge.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?ge.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},ge.extend({Deferred:function(e){var t=[["resolve","done",ge.Callbacks("once memory"),"resolved"],["reject","fail",ge.Callbacks("once memory"),"rejected"],["notify","progress",ge.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ge.Deferred(function(n){ge.each(t,function(t,o){var a=ge.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&ge.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ge.extend(e,r):r}},i={};return r.pipe=r.then,ge.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ce.call(arguments),a=o.length,s=1!==a||e&&ge.isFunction(e.promise)?a:0,l=1===s?e:ge.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ce.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i<a;i++)o[i]&&ge.isFunction(o[i].promise)?o[i].promise().progress(c(i,n,t)).done(c(i,r,o)).fail(l.reject):--s;return s||l.resolveWith(r,o),l.promise()}});var De;ge.fn.ready=function(e){return ge.ready.promise().done(e),this},ge.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ge.readyWait++:ge.ready(!0)},ready:function(e){(!0===e?--ge.readyWait:ge.isReady)||(ge.isReady=!0,!0!==e&&--ge.readyWait>0||(De.resolveWith(le,[ge]),ge.fn.triggerHandler&&(ge(le).triggerHandler("ready"),ge(le).off("ready"))))}}),ge.ready.promise=function(e){if(!De)if(De=ge.Deferred(),"complete"===le.readyState)o.setTimeout(ge.ready);else if(le.addEventListener)le.addEventListener("DOMContentLoaded",f),o.addEventListener("load",f);else{le.attachEvent("onreadystatechange",f),o.attachEvent("onload",f);var t=!1;try{t=null==o.frameElement&&le.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!ge.isReady){try{t.doScroll("left")}catch(t){return o.setTimeout(e,50)}d(),ge.ready()}}()}return De.promise(e)},ge.ready.promise();var Ie;for(Ie in ge(me))break;me.ownFirst="0"===Ie,me.inlineBlockNeedsLayout=!1,ge(function(){var e,t,n,r;(n=le.getElementsByTagName("body")[0])&&n.style&&(t=le.createElement("div"),r=le.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",me.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=le.createElement("div");me.deleteExpando=!0;try{delete e.test}catch(e){me.deleteExpando=!1}e=null}();var Me=function(e){var t=ge.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},Fe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Re=/([A-Z])/g;ge.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?ge.cache[e[ge.expando]]:e[ge.expando])&&!h(e)},data:function(e,t,n){return v(e,t,n)},removeData:function(e,t){return m(e,t)},_data:function(e,t,n){return v(e,t,n,!0)},_removeData:function(e,t){return m(e,t,!0)}}),ge.fn.extend({data:function(e,t){var n,r,o,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(o=ge.data(a),1===a.nodeType&&!ge._data(a,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=ge.camelCase(r.slice(5)),p(a,r,o[r])));ge._data(a,"parsedAttrs",!0)}return o}return"object"===(void 0===e?"undefined":i(e))?this.each(function(){ge.data(this,e)}):arguments.length>1?this.each(function(){ge.data(this,e,t)}):a?p(a,e,ge.data(a,e)):void 0},removeData:function(e){return this.each(function(){ge.removeData(this,e)})}}),ge.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ge._data(e,t),n&&(!r||ge.isArray(n)?r=ge._data(e,t,ge.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ge.queue(e,t),r=n.length,i=n.shift(),o=ge._queueHooks(e,t),a=function(){ge.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 ge._data(e,n)||ge._data(e,n,{empty:ge.Callbacks("once memory").add(function(){ge._removeData(e,t+"queue"),ge._removeData(e,n)})})}}),ge.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ge.queue(this[0],e):void 0===t?this:this.each(function(){var n=ge.queue(this,e,t);ge._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ge.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ge.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ge.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=ge._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),function(){var e;me.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return(n=le.getElementsByTagName("body")[0])&&n.style?(t=le.createElement("div"),r=le.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(le.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ue=new RegExp("^(?:([+-])=|)("+je+")([a-z%]*)$","i"),Le=["Top","Right","Bottom","Left"],qe=function(e,t){return e=t||e,"none"===ge.css(e,"display")||!ge.contains(e.ownerDocument,e)},Ve=function e(t,n,r,i,o,a,s){var l=0,c=t.length,u=null==r;if("object"===ge.type(r)){o=!0;for(l in r)e(t,n,l,r[l],!0,a,s)}else if(void 0!==i&&(o=!0,ge.isFunction(i)||(s=!0),u&&(s?(n.call(t,i),n=null):(u=n,n=function(e,t,n){return u.call(ge(e),n)})),n))for(;l<c;l++)n(t[l],r,s?i:i.call(t[l],l,n(t[l],r)));return o?t:u?n.call(t):c?n(t[0],r):a},He=/^(?:checkbox|radio)$/i,Be=/<([\w:-]+)/,We=/^$|\/(?:java|ecma)script/i,ze=/^\s+/,Ge="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=le.createElement("div"),t=le.createDocumentFragment(),n=le.createElement("input");e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",me.leadingWhitespace=3===e.firstChild.nodeType,me.tbody=!e.getElementsByTagName("tbody").length,me.htmlSerialize=!!e.getElementsByTagName("link").length,me.html5Clone="<:nav></:nav>"!==le.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),me.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",me.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=le.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),me.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,me.noCloneEvent=!!e.addEventListener,e[ge.expando]=1,me.attributes=!e.getAttribute(ge.expando)}();var Ye={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:me.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Ye.optgroup=Ye.option,Ye.tbody=Ye.tfoot=Ye.colgroup=Ye.caption=Ye.thead,Ye.th=Ye.td;var Ke=/<|&#?\w+;/,Je=/<tbody/i;!function(){var e,t,n=le.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(me[e]=t in o)||(n.setAttribute(t,"t"),me[e]=!1===n.attributes[t].expando);n=null}();var Xe=/^(?:input|select|textarea)$/i,Ze=/^key/,Qe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,et=/^(?:focusinfocus|focusoutblur)$/,tt=/^([^.]*)(?:\.(.+)|)/;ge.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,v,m=ge._data(e);if(m){for(n.handler&&(l=n,n=l.handler,i=l.selector),n.guid||(n.guid=ge.guid++),(a=m.events)||(a=m.events={}),(u=m.handle)||(u=m.handle=function(e){return void 0===ge||e&&ge.event.triggered===e.type?void 0:ge.event.dispatch.apply(u.elem,arguments)},u.elem=e),t=(t||"").match(Oe)||[""],s=t.length;s--;)o=tt.exec(t[s])||[],p=v=o[1],h=(o[2]||"").split(".").sort(),p&&(c=ge.event.special[p]||{},p=(i?c.delegateType:c.bindType)||p,c=ge.event.special[p]||{},d=ge.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ge.expr.match.needsContext.test(i),namespace:h.join(".")},l),(f=a[p])||(f=a[p]=[],f.delegateCount=0,c.setup&&!1!==c.setup.call(e,r,h,u)||(e.addEventListener?e.addEventListener(p,u,!1):e.attachEvent&&e.attachEvent("on"+p,u))),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,d):f.push(d),ge.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,v,m=ge.hasData(e)&&ge._data(e);if(m&&(u=m.events)){for(t=(t||"").match(Oe)||[""],c=t.length;c--;)if(s=tt.exec(t[c])||[],p=v=s[1],h=(s[2]||"").split(".").sort(),p){for(d=ge.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!i&&v!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));l&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||ge.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)ge.event.remove(e,p+t[c],n,r,!0);ge.isEmptyObject(u)&&(delete m.handle,ge._removeData(e,"events"))}},trigger:function(e,t,n,r){var a,s,l,c,u,d,f,p=[n||le],h=ve.call(e,"type")?e.type:e,v=ve.call(e,"namespace")?e.namespace.split("."):[];if(l=d=n=n||le,3!==n.nodeType&&8!==n.nodeType&&!et.test(h+ge.event.triggered)&&(h.indexOf(".")>-1&&(v=h.split("."),h=v.shift(),v.sort()),s=h.indexOf(":")<0&&"on"+h,e=e[ge.expando]?e:new ge.Event(h,"object"===(void 0===e?"undefined":i(e))&&e),e.isTrigger=r?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ge.makeArray(t,[e]),u=ge.event.special[h]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!ge.isWindow(n)){for(c=u.delegateType||h,et.test(c+h)||(l=l.parentNode);l;l=l.parentNode)p.push(l),d=l;d===(n.ownerDocument||le)&&p.push(d.defaultView||d.parentWindow||o)}for(f=0;(l=p[f++])&&!e.isPropagationStopped();)e.type=f>1?c:u.bindType||h,a=(ge._data(l,"events")||{})[e.type]&&ge._data(l,"handle"),a&&a.apply(l,t),(a=s&&l[s])&&a.apply&&Me(l)&&(e.result=a.apply(l,t),!1===e.result&&e.preventDefault());if(e.type=h,!r&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(p.pop(),t))&&Me(n)&&s&&n[h]&&!ge.isWindow(n)){d=n[s],d&&(n[s]=null),ge.event.triggered=h;try{n[h]()}catch(e){}ge.event.triggered=void 0,d&&(n[s]=d)}return e.result}},dispatch:function(e){e=ge.event.fix(e);var t,n,r,i,o,a=[],s=ce.call(arguments),l=(ge._data(this,"events")||{})[e.type]||[],c=ge.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(a=ge.event.handlers.call(this,e,l),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((ge.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?ge(i,this).index(l)>-1:ge.find(i,this,null,[l]).length),r[i]&&r.push(o);r.length&&a.push({elem:l,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[ge.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Qe.test(i)?this.mouseHooks:Ze.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ge.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||le),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||le,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==C()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===C()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ge.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return ge.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=ge.extend(new ge.Event,n,{type:e,isSimulated:!0});ge.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},ge.removeEvent=le.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&(void 0===e[r]&&(e[r]=null),e.detachEvent(r,n))},ge.Event=function(e,t){if(!(this instanceof ge.Event))return new ge.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:E):this.type=e,t&&ge.extend(this,t),this.timeStamp=e&&e.timeStamp||ge.now(),this[ge.expando]=!0},ge.Event.prototype={constructor:ge.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=S,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=S,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=S,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},ge.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ge.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||ge.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),me.submit||(ge.event.special.submit={setup:function(){if(ge.nodeName(this,"form"))return!1;ge.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ge.nodeName(t,"input")||ge.nodeName(t,"button")?ge.prop(t,"form"):void 0;n&&!ge._data(n,"submit")&&(ge.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),ge._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&ge.event.simulate("submit",this.parentNode,e))},teardown:function(){if(ge.nodeName(this,"form"))return!1;ge.event.remove(this,"._submit")}}),me.change||(ge.event.special.change={setup:function(){if(Xe.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(ge.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),ge.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),ge.event.simulate("change",this,e)})),!1;ge.event.add(this,"beforeactivate._change",function(e){var t=e.target;Xe.test(t.nodeName)&&!ge._data(t,"change")&&(ge.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ge.event.simulate("change",this.parentNode,e)}),ge._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return ge.event.remove(this,"._change"),!Xe.test(this.nodeName)}}),me.focusin||ge.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ge.event.simulate(t,e.target,ge.event.fix(e))};ge.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ge._data(r,t);i||r.addEventListener(e,n,!0),ge._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ge._data(r,t)-1;i?ge._data(r,t,i):(r.removeEventListener(e,n,!0),ge._removeData(r,t))}}}),ge.fn.extend({on:function(e,t,n,r){return T(this,e,t,n,r)},one:function(e,t,n,r){return T(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ge(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===e?"undefined":i(e))){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=E),this.each(function(){ge.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ge.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ge.event.trigger(e,t,n,!0)}});var nt=/ jQuery\d+="(?:null|\d+)"/g,rt=new RegExp("<(?:"+Ge+")[\\s/>]","i"),it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ot=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ct=y(le),ut=ct.appendChild(le.createElement("div"));ge.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,l=ge.contains(e.ownerDocument,e);if(me.html5Clone||ge.isXMLDoc(e)||!rt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ut.innerHTML=e.outerHTML,ut.removeChild(o=ut.firstChild)),!(me.noCloneEvent&&me.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ge.isXMLDoc(e)))for(r=$(o),s=$(e),a=0;null!=(i=s[a]);++a)r[a]&&P(i,r[a]);if(t)if(n)for(s=s||$(e),r=r||$(o),a=0;null!=(i=s[a]);a++)N(i,r[a]);else N(e,o);return r=$(o,"script"),r.length>0&&b(r,!l&&$(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=ge.expando,l=ge.cache,c=me.attributes,u=ge.event.special;null!=(n=e[a]);a++)if((t||Me(n))&&(i=n[s],o=i&&l[i])){if(o.events)for(r in o.events)u[r]?ge.event.remove(n,r):ge.removeEvent(n,r,o.handle);l[i]&&(delete l[i],c||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),se.push(i))}}}),ge.fn.extend({domManip:O,detach:function(e){return D(this,e,!0)},remove:function(e){return D(this,e)},text:function(e){return Ve(this,function(e){return void 0===e?ge.text(this):this.empty().append((this[0]&&this[0].ownerDocument||le).createTextNode(e))},null,e,arguments.length)},append:function(){return O(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){_(this,e).appendChild(e)}})},prepend:function(){return O(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=_(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return O(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return O(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ge.cleanData($(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ge.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ge.clone(this,e,t)})},html:function(e){return Ve(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(nt,""):void 0;if("string"==typeof e&&!ot.test(e)&&(me.htmlSerialize||!rt.test(e))&&(me.leadingWhitespace||!ze.test(e))&&!Ye[(Be.exec(e)||["",""])[1].toLowerCase()]){e=ge.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(ge.cleanData($(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return O(this,arguments,function(t){var n=this.parentNode;ge.inArray(this,e)<0&&(ge.cleanData($(this)),n&&n.replaceChild(t,this))},e)}}),ge.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ge.fn[e]=function(e){for(var n,r=0,i=[],o=ge(e),a=o.length-1;r<=a;r++)n=r===a?this:this.clone(!0),ge(o[r])[t](n),de.apply(i,n.get());return this.pushStack(i)}});var dt,ft={HTML:"block",BODY:"block"},pt=/^margin/,ht=new RegExp("^("+je+")(?!px)[a-z%]+$","i"),vt=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},mt=le.documentElement;!function(){function e(){var e,u,d=le.documentElement;d.appendChild(l),c.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=r=s=!1,n=a=!0,o.getComputedStyle&&(u=o.getComputedStyle(c),t="1%"!==(u||{}).top,s="2px"===(u||{}).marginLeft,r="4px"===(u||{width:"4px"}).width,c.style.marginRight="50%",n="4px"===(u||{marginRight:"4px"}).marginRight,e=c.appendChild(le.createElement("div")),e.style.cssText=c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",c.style.width="1px",a=!parseFloat((o.getComputedStyle(e)||{}).marginRight),c.removeChild(e)),c.style.display="none",i=0===c.getClientRects().length,i&&(c.style.display="",c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=c.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",(i=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",i=0===e[0].offsetHeight)),d.removeChild(l)}var t,n,r,i,a,s,l=le.createElement("div"),c=le.createElement("div");c.style&&(c.style.cssText="float:left;opacity:.5",me.opacity="0.5"===c.style.opacity,me.cssFloat=!!c.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",me.clearCloneStyle="content-box"===c.style.backgroundClip,l=le.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.innerHTML="",l.appendChild(c),me.boxSizing=""===c.style.boxSizing||""===c.style.MozBoxSizing||""===c.style.WebkitBoxSizing,ge.extend(me,{reliableHiddenOffsets:function(){return null==t&&e(),i},boxSizingReliable:function(){return null==t&&e(),r},pixelMarginRight:function(){return null==t&&e(),n},pixelPosition:function(){return null==t&&e(),t},reliableMarginRight:function(){return null==t&&e(),a},reliableMarginLeft:function(){return null==t&&e(),s}}))}();var gt,yt,$t=/^(top|right|bottom|left)$/;o.getComputedStyle?(gt=function(e){var t=e.ownerDocument.defaultView;return t.opener||(t=o),t.getComputedStyle(e)},yt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||gt(e),a=n?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||ge.contains(e.ownerDocument,e)||(a=ge.style(e,t)),!me.pixelMarginRight()&&ht.test(a)&&pt.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+""}):mt.currentStyle&&(gt=function(e){return e.currentStyle},yt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||gt(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),ht.test(a)&&!$t.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var bt=/alpha\([^)]*\)/i,wt=/opacity\s*=\s*([^)]*)/i,xt=/^(none|table(?!-c[ea]).+)/,St=new RegExp("^("+je+")(.*)$","i"),Et={position:"absolute",visibility:"hidden",display:"block"},Ct={letterSpacing:"0",fontWeight:"400"},Tt=["Webkit","O","Moz","ms"],_t=le.createElement("div").style;ge.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=yt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:me.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=ge.camelCase(t),c=e.style;if(t=ge.cssProps[l]||(ge.cssProps[l]=R(l)||l),s=ge.cssHooks[t]||ge.cssHooks[l],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:c[t];if(a=void 0===n?"undefined":i(n),"string"===a&&(o=Ue.exec(n))&&o[1]&&(n=g(e,t,o),a="number"),null!=n&&n===n&&("number"===a&&(n+=o&&o[3]||(ge.cssNumber[l]?"":"px")),me.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(e,n,r)))))try{c[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=ge.camelCase(t);return t=ge.cssProps[s]||(ge.cssProps[s]=R(s)||s),a=ge.cssHooks[t]||ge.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=yt(e,t,r)),"normal"===o&&t in Ct&&(o=Ct[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),ge.each(["height","width"],function(e,t){ge.cssHooks[t]={get:function(e,n,r){if(n)return xt.test(ge.css(e,"display"))&&0===e.offsetWidth?vt(e,Et,function(){return q(e,t,r)}):q(e,t,r)},set:function(e,n,r){var i=r&&gt(e);return U(e,n,r?L(e,t,r,me.boxSizing&&"border-box"===ge.css(e,"boxSizing",!1,i),i):0)}}}),me.opacity||(ge.cssHooks.opacity={get:function(e,t){return wt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=ge.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ge.trim(o.replace(bt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=bt.test(o)?o.replace(bt,i):o+" "+i)}}),ge.cssHooks.marginRight=F(me.reliableMarginRight,function(e,t){if(t)return vt(e,{display:"inline-block"},yt,[e,"marginRight"])}),ge.cssHooks.marginLeft=F(me.reliableMarginLeft,function(e,t){if(t)return(parseFloat(yt(e,"marginLeft"))||(ge.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-vt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),ge.each({margin:"",padding:"",border:"Width"},function(e,t){ge.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Le[r]+t]=o[r]||o[r-2]||o[0];return i}},pt.test(e)||(ge.cssHooks[e+t].set=U)}),ge.fn.extend({css:function(e,t){return Ve(this,function(e,t,n){var r,i,o={},a=0;if(ge.isArray(t)){for(r=gt(e),i=t.length;a<i;a++)o[t[a]]=ge.css(e,t[a],!1,r);return o}return void 0!==n?ge.style(e,t,n):ge.css(e,t)},e,t,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){qe(this)?ge(this).show():ge(this).hide()})}}),ge.Tween=V,V.prototype={constructor:V,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ge.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ge.cssNumber[n]?"":"px")},cur:function(){var e=V.propHooks[this.prop];return e&&e.get?e.get(this):V.propHooks._default.get(this)},run:function(e){var t,n=V.propHooks[this.prop];return this.options.duration?this.pos=t=ge.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):V.propHooks._default.set(this),this}},V.prototype.init.prototype=V.prototype,V.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=ge.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ge.fx.step[e.prop]?ge.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ge.cssProps[e.prop]]&&!ge.cssHooks[e.prop]?e.elem[e.prop]=e.now:ge.style(e.elem,e.prop,e.now+e.unit)}}},V.propHooks.scrollTop=V.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ge.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ge.fx=V.prototype.init,ge.fx.step={};var At,kt,Nt=/^(?:toggle|show|hide)$/,Pt=/queueHooks$/;ge.Animation=ge.extend(Y,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return g(n.elem,e,Ue.exec(t),n),n}]},tweener:function(e,t){ge.isFunction(e)?(t=e,e=["*"]):e=e.match(Oe);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Y.tweeners[n]=Y.tweeners[n]||[],Y.tweeners[n].unshift(t)},prefilters:[z],prefilter:function(e,t){t?Y.prefilters.unshift(e):Y.prefilters.push(e)}}),ge.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":i(e))?ge.extend({},e):{complete:n||!n&&t||ge.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ge.isFunction(t)&&t};return r.duration=ge.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ge.fx.speeds?ge.fx.speeds[r.duration]:ge.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ge.isFunction(r.old)&&r.old.call(this),r.queue&&ge.dequeue(this,r.queue)},r},ge.fn.extend({fadeTo:function(e,t,n,r){return this.filter(qe).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ge.isEmptyObject(e),o=ge.speed(t,n,r),a=function(){var t=Y(this,ge.extend({},e),o);(i||ge._data(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&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=ge.timers,a=ge._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Pt.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||ge.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ge._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=ge.timers,a=r?r.length:0;for(n.finish=!0,ge.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})}}),ge.each(["toggle","show","hide"],function(e,t){var n=ge.fn[t];ge.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(B(t,!0),e,r,i)}}),ge.each({slideDown:B("show"),slideUp:B("hide"),slideToggle:B("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ge.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ge.timers=[],ge.fx.tick=function(){var e,t=ge.timers,n=0;for(At=ge.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||ge.fx.stop(),At=void 0},ge.fx.timer=function(e){ge.timers.push(e),e()?ge.fx.start():ge.timers.pop()},ge.fx.interval=13,ge.fx.start=function(){kt||(kt=o.setInterval(ge.fx.tick,ge.fx.interval))},ge.fx.stop=function(){o.clearInterval(kt),kt=null},ge.fx.speeds={slow:600,fast:200,_default:400},ge.fn.delay=function(e,t){return e=ge.fx?ge.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=o.setTimeout(t,e);n.stop=function(){o.clearTimeout(r)}})},function(){var e,t=le.createElement("input"),n=le.createElement("div"),r=le.createElement("select"),i=r.appendChild(le.createElement("option"));n=le.createElement("div"),n.setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",me.getSetAttribute="t"!==n.className,me.style=/top/.test(e.getAttribute("style")),me.hrefNormalized="/a"===e.getAttribute("href"),me.checkOn=!!t.value,me.optSelected=i.selected,me.enctype=!!le.createElement("form").enctype,r.disabled=!0,me.optDisabled=!i.disabled,t=le.createElement("input"),t.setAttribute("value",""),me.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),me.radioValue="t"===t.value}();var Ot=/\r/g;ge.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=ge.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,ge(this).val()):e,null==i?i="":"number"==typeof i?i+="":ge.isArray(i)&&(i=ge.map(i,function(e){return null==e?"":e+""})),(t=ge.valHooks[this.type]||ge.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=ge.valHooks[i.type]||ge.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Ot,""):null==n?"":n)}}}),ge.extend({valHooks:{option:{get:function(e){var t=ge.find.attr(e,"value");return null!=t?t:ge.trim(ge.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(n=r[l],(n.selected||l===i)&&(me.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ge.nodeName(n.parentNode,"optgroup"))){if(t=ge(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=ge.makeArray(t),a=i.length;a--;)if(r=i[a],ge.inArray(ge.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),ge.each(["radio","checkbox"],function(){ge.valHooks[this]={set:function(e,t){if(ge.isArray(t))return e.checked=ge.inArray(ge(e).val(),t)>-1}},me.checkOn||(ge.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Dt,It,Mt=ge.expr.attrHandle,Ft=/^(?:checked|selected)$/i,Rt=me.getSetAttribute,jt=me.input;ge.fn.extend({attr:function(e,t){return Ve(this,ge.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ge.removeAttr(this,e)})}}),ge.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?ge.prop(e,t,n):(1===o&&ge.isXMLDoc(e)||(t=t.toLowerCase(),i=ge.attrHooks[t]||(ge.expr.match.bool.test(t)?It:Dt)),void 0!==n?null===n?void ge.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=ge.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!me.radioValue&&"radio"===t&&ge.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(Oe);if(o&&1===e.nodeType)for(;n=o[i++];)r=ge.propFix[n]||n,ge.expr.match.bool.test(n)?jt&&Rt||!Ft.test(n)?e[r]=!1:e[ge.camelCase("default-"+n)]=e[r]=!1:ge.attr(e,n,""),e.removeAttribute(Rt?n:r)}}),It={set:function(e,t,n){return!1===t?ge.removeAttr(e,n):jt&&Rt||!Ft.test(n)?e.setAttribute(!Rt&&ge.propFix[n]||n,n):e[ge.camelCase("default-"+n)]=e[n]=!0,n}},ge.each(ge.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Mt[t]||ge.find.attr;jt&&Rt||!Ft.test(t)?Mt[t]=function(e,t,r){var i,o;return r||(o=Mt[t],Mt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Mt[t]=o),i}:Mt[t]=function(e,t,n){if(!n)return e[ge.camelCase("default-"+t)]?t.toLowerCase():null}}),jt&&Rt||(ge.attrHooks.value={set:function(e,t,n){if(!ge.nodeName(e,"input"))return Dt&&Dt.set(e,t,n);e.defaultValue=t}}),Rt||(Dt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Mt.id=Mt.name=Mt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},ge.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Dt.set},ge.attrHooks.contenteditable={set:function(e,t,n){Dt.set(e,""!==t&&t,n)}},ge.each(["width","height"],function(e,t){ge.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),me.style||(ge.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Ut=/^(?:input|select|textarea|button|object)$/i,Lt=/^(?:a|area)$/i;ge.fn.extend({prop:function(e,t){return Ve(this,ge.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ge.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),ge.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ge.isXMLDoc(e)||(t=ge.propFix[t]||t,i=ge.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=ge.find.attr(e,"tabindex");return t?parseInt(t,10):Ut.test(e.nodeName)||Lt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),me.hrefNormalized||ge.each(["href","src"],function(e,t){ge.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),me.optSelected||(ge.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ge.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ge.propFix[this.toLowerCase()]=this}),me.enctype||(ge.propFix.enctype="encoding");var qt=/[\t\r\n\f]/g;ge.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(ge.isFunction(e))return this.each(function(t){ge(this).addClass(e.call(this,t,K(this)))});if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[l++];)if(i=K(n),r=1===n.nodeType&&(" "+i+" ").replace(qt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=ge.trim(r),i!==s&&ge.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(ge.isFunction(e))return this.each(function(t){ge(this).removeClass(e.call(this,t,K(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[l++];)if(i=K(n),r=1===n.nodeType&&(" "+i+" ").replace(qt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=ge.trim(r),i!==s&&ge.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":i(e);return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ge.isFunction(e)?this.each(function(n){ge(this).toggleClass(e.call(this,n,K(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=ge(this),o=e.match(Oe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=K(this),t&&ge._data(this,"__className__",t),ge.attr(this,"class",t||!1===e?"":ge._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(n)+" ").replace(qt," ").indexOf(t)>-1)return!0;return!1}}),ge.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ge.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ge.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Vt=o.location,Ht=ge.now(),Bt=/\?/,Wt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ge.parseJSON=function(e){if(o.JSON&&o.JSON.parse)return o.JSON.parse(e+"");var t,n=null,r=ge.trim(e+"");return r&&!ge.trim(r.replace(Wt,function(e,r,i,o){return t&&r&&(n=0),0===n?e:(t=i||r,n+=!o-!i,"")}))?Function("return "+r)():ge.error("Invalid JSON: "+e)},ge.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{o.DOMParser?(n=new o.DOMParser,t=n.parseFromString(e,"text/xml")):(t=new o.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||ge.error("Invalid XML: "+e),t};var zt=/#.*$/,Gt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jt=/^(?:GET|HEAD)$/,Xt=/^\/\//,Zt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Qt={},en={},tn="*/".concat("*"),nn=Vt.href,rn=Zt.exec(nn.toLowerCase())||[];ge.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:nn,type:"GET",isLocal:Kt.test(rn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,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":ge.parseJSON,"text xml":ge.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Z(Z(e,ge.ajaxSettings),t):Z(ge.ajaxSettings,e)},ajaxPrefilter:J(Qt),ajaxTransport:J(en),ajax:function(e,t){function n(e,t,n,r){var i,a,f,$,b,x=t;2!==w&&(w=2,c&&o.clearTimeout(c),d=void 0,l=r||"",S.readyState=e>0?4:0,i=e>=200&&e<300||304===e,n&&($=Q(p,S,n)),$=ee(p,$,S,i),i?(p.ifModified&&(b=S.getResponseHeader("Last-Modified"),b&&(ge.lastModified[s]=b),(b=S.getResponseHeader("etag"))&&(ge.etag[s]=b)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=$.state,a=$.data,f=$.error,i=!f)):(f=x,!e&&x||(x="error",e<0&&(e=0))),S.status=e,S.statusText=(t||x)+"",i?m.resolveWith(h,[a,x,S]):m.rejectWith(h,[S,x,f]),S.statusCode(y),y=void 0,u&&v.trigger(i?"ajaxSuccess":"ajaxError",[S,p,i?a:f]),g.fireWith(h,[S,x]),u&&(v.trigger("ajaxComplete",[S,p]),--ge.active||ge.event.trigger("ajaxStop")))}"object"===(void 0===e?"undefined":i(e))&&(t=e,e=void 0),t=t||{};var r,a,s,l,c,u,d,f,p=ge.ajaxSetup({},t),h=p.context||p,v=p.context&&(h.nodeType||h.jquery)?ge(h):ge.event,m=ge.Deferred(),g=ge.Callbacks("once memory"),y=p.statusCode||{},$={},b={},w=0,x="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!f)for(f={};t=Yt.exec(l);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?l:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=b[n]=b[n]||e,$[e]=t),this},overrideMimeType:function(e){return w||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)y[t]=[y[t],e[t]];else S.always(e[S.status]);return this},abort:function(e){var t=e||x;return d&&d.abort(t),n(0,t),this}};if(m.promise(S).complete=g.add,S.success=S.done,S.error=S.fail,p.url=((e||p.url||nn)+"").replace(zt,"").replace(Xt,rn[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=ge.trim(p.dataType||"*").toLowerCase().match(Oe)||[""],null==p.crossDomain&&(r=Zt.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===rn[1]&&r[2]===rn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(rn[3]||("http:"===rn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ge.param(p.data,p.traditional)),X(Qt,p,t,S),2===w)return S;u=ge.event&&p.global,u&&0==ge.active++&&ge.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Jt.test(p.type),s=p.url,p.hasContent||(p.data&&(s=p.url+=(Bt.test(s)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Gt.test(s)?s.replace(Gt,"$1_="+Ht++):s+(Bt.test(s)?"&":"?")+"_="+Ht++)),p.ifModified&&(ge.lastModified[s]&&S.setRequestHeader("If-Modified-Since",ge.lastModified[s]),ge.etag[s]&&S.setRequestHeader("If-None-Match",ge.etag[s])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+tn+"; q=0.01":""):p.accepts["*"]);for(a in p.headers)S.setRequestHeader(a,p.headers[a]);if(p.beforeSend&&(!1===p.beforeSend.call(h,S,p)||2===w))return S.abort();x="abort";for(a in{success:1,error:1,complete:1})S[a](p[a]);if(d=X(en,p,t,S)){if(S.readyState=1,u&&v.trigger("ajaxSend",[S,p]),2===w)return S;p.async&&p.timeout>0&&(c=o.setTimeout(function(){S.abort("timeout")},p.timeout));try{w=1,d.send($,n)}catch(e){if(!(w<2))throw e;n(-1,e)}}else n(-1,"No Transport");return S},getJSON:function(e,t,n){return ge.get(e,t,n,"json")},getScript:function(e,t){return ge.get(e,void 0,t,"script")}}),ge.each(["get","post"],function(e,t){ge[t]=function(e,n,r,i){return ge.isFunction(n)&&(i=i||r,r=n,n=void 0),ge.ajax(ge.extend({url:e,type:t,dataType:i,data:n,success:r},ge.isPlainObject(e)&&e))}}),ge._evalUrl=function(e){return ge.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ge.fn.extend({wrapAll:function(e){if(ge.isFunction(e))return this.each(function(t){ge(this).wrapAll(e.call(this,t))});if(this[0]){var t=ge(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return ge.isFunction(e)?this.each(function(t){ge(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ge(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ge.isFunction(e);return this.each(function(n){ge(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ge.nodeName(this,"body")||ge(this).replaceWith(this.childNodes)}).end()}}),ge.expr.filters.hidden=function(e){return me.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:ne(e)},ge.expr.filters.visible=function(e){return!ge.expr.filters.hidden(e)};var on=/%20/g,an=/\[\]$/,sn=/\r?\n/g,ln=/^(?:submit|button|image|reset|file)$/i,cn=/^(?:input|select|textarea|keygen)/i;ge.param=function(e,t){var n,r=[],i=function(e,t){t=ge.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ge.ajaxSettings&&ge.ajaxSettings.traditional),ge.isArray(e)||e.jquery&&!ge.isPlainObject(e))ge.each(e,function(){i(this.name,this.value)});else for(n in e)re(n,e[n],t,i);return r.join("&").replace(on,"+")},ge.fn.extend({serialize:function(){return ge.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ge.prop(this,"elements");return e?ge.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ge(this).is(":disabled")&&cn.test(this.nodeName)&&!ln.test(e)&&(this.checked||!He.test(e))}).map(function(e,t){var n=ge(this).val();return null==n?null:ge.isArray(n)?ge.map(n,function(e){return{name:t.name,value:e.replace(sn,"\r\n")}}):{name:t.name,value:n.replace(sn,"\r\n")}}).get()}}),ge.ajaxSettings.xhr=void 0!==o.ActiveXObject?function(){return this.isLocal?oe():le.documentMode>8?ie():/^(get|post|head|put|delete|options)$/i.test(this.type)&&ie()||oe()}:ie;var un=0,dn={},fn=ge.ajaxSettings.xhr();o.attachEvent&&o.attachEvent("onunload",function(){for(var e in dn)dn[e](void 0,!0)}),me.cors=!!fn&&"withCredentials"in fn,fn=me.ajax=!!fn,fn&&ge.ajaxTransport(function(e){if(!e.crossDomain||me.cors){var t;return{send:function(n,r){var i,a=e.xhr(),s=++un;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)void 0!==n[i]&&a.setRequestHeader(i,n[i]+"");a.send(e.hasContent&&e.data||null),t=function(n,i){var o,l,c;if(t&&(i||4===a.readyState))if(delete dn[s],t=void 0,a.onreadystatechange=ge.noop,i)4!==a.readyState&&a.abort();else{c={},o=a.status,"string"==typeof a.responseText&&(c.text=a.responseText);try{l=a.statusText}catch(e){l=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=c.text?200:404}c&&r(o,l,c,a.getAllResponseHeaders())},e.async?4===a.readyState?o.setTimeout(t):a.onreadystatechange=dn[s]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ge.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ge.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 ge.globalEval(e),e}}}),ge.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ge.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=le.head||ge("head")[0]||le.documentElement;return{send:function(r,i){t=le.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var pn=[],hn=/(=)\?(?=&|$)|\?\?/;ge.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=pn.pop()||ge.expando+"_"+Ht++;return this[e]=!0,e}}),ge.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,a,s=!1!==e.jsonp&&(hn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=ge.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(hn,"$1"+r):!1!==e.jsonp&&(e.url+=(Bt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||ge.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always(function(){void 0===i?ge(o).removeProp(r):o[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,pn.push(r)),a&&ge.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),me.createHTMLDocument=function(){if(!le.implementation.createHTMLDocument)return!1;var e=le.implementation.createHTMLDocument("");return e.body.innerHTML="<form></form><form></form>",2===e.body.childNodes.length}(),ge.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||(me.createHTMLDocument?le.implementation.createHTMLDocument(""):le);var r=Te.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x([e],t,i),i&&i.length&&ge(i).remove(),ge.merge([],r.childNodes))};var vn=ge.fn.load;ge.fn.load=function(e,t,n){if("string"!=typeof e&&vn)return vn.apply(this,arguments);var r,o,a,s=this,l=e.indexOf(" ");return l>-1&&(r=ge.trim(e.slice(l,e.length)),e=e.slice(0,l)),ge.isFunction(t)?(n=t,t=void 0):t&&"object"===(void 0===t?"undefined":i(t))&&(o="POST"),s.length>0&&ge.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){a=arguments,s.html(r?ge("<div>").append(ge.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(s,a||[e.responseText,t,e])})}),this},ge.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ge.fn[t]=function(e){return this.on(t,e)}}),ge.expr.filters.animated=function(e){return ge.grep(ge.timers,function(t){return e===t.elem}).length},ge.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c,u=ge.css(e,"position"),d=ge(e),f={};"static"===u&&(e.style.position="relative"),s=d.offset(),o=ge.css(e,"top"),l=ge.css(e,"left"),c=("absolute"===u||"fixed"===u)&&ge.inArray("auto",[o,l])>-1,c?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),ge.isFunction(t)&&(t=t.call(e,n,ge.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):d.css(f)}},ge.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ge.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,ge.contains(t,i)?(void 0!==i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=ae(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ge.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ge.nodeName(e[0],"html")||(n=e.offset()),n.top+=ge.css(e[0],"borderTopWidth",!0)-e.scrollTop(),n.left+=ge.css(e[0],"borderLeftWidth",!0)-e.scrollLeft()),{top:t.top-n.top-ge.css(r,"marginTop",!0),left:t.left-n.left-ge.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!ge.nodeName(e,"html")&&"static"===ge.css(e,"position");)e=e.offsetParent;return e||mt})}}),ge.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ge.fn[e]=function(r){return Ve(this,function(e,r,i){var o=ae(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?ge(o).scrollLeft():i,n?i:ge(o).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),ge.each(["top","left"],function(e,t){ge.cssHooks[t]=F(me.pixelPosition,function(e,n){if(n)return n=yt(e,t),ht.test(n)?ge(e).position()[t]+"px":n})}),ge.each({Height:"height",Width:"width"},function(e,t){ge.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ge.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return Ve(this,function(t,n,r){var i;return ge.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?ge.css(t,n,a):ge.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),ge.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)}}),ge.fn.size=function(){return this.length},ge.fn.andSelf=ge.fn.addBack,n=[],void 0!==(r=function(){return ge}.apply(t,n))&&(e.exports=r);var mn=o.jQuery,gn=o.$;return ge.noConflict=function(e){return o.$===ge&&(o.$=gn),e&&o.jQuery===ge&&(o.jQuery=mn),ge},a||(o.jQuery=o.$=ge),ge})}).call(t,n(119)(e))},function(e,t,n){"use strict";e.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=e.exports={version:"2.6.2"};"number"==typeof __e&&(__e=r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notImplemented=function(e){return function(){throw new Error(e+"(): No coreservices implementation for UI-Router is loaded.")}};var r={$q:void 0,$injector:void 0};t.services=r},function(e,t,n){"use strict";var r=n(4),i=n(19),o=n(18),a=n(37)("src"),s=Function.toString,l=(""+s).split("toString");n(13).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||i(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){"use strict";var r=n(30);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(0),i=n(2),o=n(30),a=/"/g,s=function(e,t,n,r){var i=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t,n){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,n){"use strict";var r=n(10),i=n(36);e.exports=n(12)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(55),i=n(30);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(74)),r(n(348)),r(n(349)),r(n(350)),r(n(351)),r(n(361)),r(n(362)),r(n(363)),r(n(164)),r(n(159)),r(n(364)),r(n(367))},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){"use strict";var r=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},function(e,t,n){"use strict";var r=n(56),i=n(36),o=n(20),a=n(32),s=n(18),l=n(120),c=Object.getOwnPropertyDescriptor;t.f=n(12)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";var r=n(0),i=n(13),o=n(2);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";var r=n(27),i=n(55),o=n(16),a=n(9),s=n(270);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var v,m,g=o(t),y=i(g),$=r(s,h,3),b=a(y.length),w=0,x=n?p(t,b):l?p(t,0):void 0;b>w;w++)if((f||w in y)&&(v=y[w],m=$(v,w,g),e))if(n)x[w]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(u)return!1;return d?-1:c||u?u:x}}},function(e,t,n){"use strict";var r=n(28);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,n){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if(n(12)){var i=n(38),o=n(4),a=n(2),s=n(0),l=n(73),c=n(109),u=n(27),d=n(49),f=n(36),p=n(19),h=n(50),v=n(23),m=n(9),g=n(146),y=n(40),$=n(32),b=n(18),w=n(57),x=n(5),S=n(16),E=n(101),C=n(41),T=n(43),_=n(42).f,A=n(103),k=n(37),N=n(8),P=n(26),O=n(63),D=n(58),I=n(105),M=n(46),F=n(66),R=n(48),j=n(104),U=n(137),L=n(10),q=n(24),V=L.f,H=q.f,B=o.RangeError,W=o.TypeError,z=o.Uint8Array,G=Array.prototype,Y=c.ArrayBuffer,K=c.DataView,J=P(0),X=P(2),Z=P(3),Q=P(4),ee=P(5),te=P(6),ne=O(!0),re=O(!1),ie=I.values,oe=I.keys,ae=I.entries,se=G.lastIndexOf,le=G.reduce,ce=G.reduceRight,ue=G.join,de=G.sort,fe=G.slice,pe=G.toString,he=G.toLocaleString,ve=N("iterator"),me=N("toStringTag"),ge=k("typed_constructor"),ye=k("def_constructor"),$e=l.CONSTR,be=l.TYPED,we=l.VIEW,xe=P(1,function(e,t){return _e(D(e,e[ye]),t)}),Se=a(function(){return 1===new z(new Uint16Array([1]).buffer)[0]}),Ee=!!z&&!!z.prototype.set&&a(function(){new z(1).set({})}),Ce=function(e,t){var n=v(e);if(n<0||n%t)throw B("Wrong offset!");return n},Te=function(e){if(x(e)&&be in e)return e;throw W(e+" is not a typed array!")},_e=function(e,t){if(!(x(e)&&ge in e))throw W("It is not a typed array constructor!");return new e(t)},Ae=function(e,t){return ke(D(e,e[ye]),t)},ke=function(e,t){for(var n=0,r=t.length,i=_e(e,r);r>n;)i[n]=t[n++];return i},Ne=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,r,i,o,a,s=S(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,f=A(s);if(void 0!=f&&!E(f)){for(a=f.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),i=_e(this,n);n>t;t++)i[t]=d?c(s[t],t):s[t];return i},Oe=function(){for(var e=0,t=arguments.length,n=_e(this,t);t>e;)n[e]=arguments[e++];return n},De=!!z&&a(function(){he.call(new z(1))}),Ie=function(){return he.apply(De?fe.call(Te(this)):Te(this),arguments)},Me={copyWithin:function(e,t){return U.call(Te(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Q(Te(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return j.apply(Te(this),arguments)},filter:function(e){return Ae(this,X(Te(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ee(Te(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return te(Te(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){J(Te(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return re(Te(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ne(Te(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Te(this),arguments)},lastIndexOf:function(e){return se.apply(Te(this),arguments)},map:function(e){return xe(Te(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return le.apply(Te(this),arguments)},reduceRight:function(e){return ce.apply(Te(this),arguments)},reverse:function(){for(var e,t=this,n=Te(t).length,r=Math.floor(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t},some:function(e){return Z(Te(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return de.call(Te(this),e)},subarray:function(e,t){var n=Te(this),r=n.length,i=y(e,r);return new(D(n,n[ye]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-i))}},Fe=function(e,t){return Ae(this,fe.call(Te(this),e,t))},Re=function(e){Te(this);var t=Ce(arguments[1],1),n=this.length,r=S(e),i=m(r.length),o=0;if(i+t>n)throw B("Wrong length!");for(;o<i;)this[t+o]=r[o++]},je={entries:function(){return ae.call(Te(this))},keys:function(){return oe.call(Te(this))},values:function(){return ie.call(Te(this))}},Ue=function(e,t){return x(e)&&e[be]&&"symbol"!=(void 0===t?"undefined":r(t))&&t in e&&String(+t)==String(t)},Le=function(e,t){return Ue(e,t=$(t,!0))?f(2,e[t]):H(e,t)},qe=function(e,t,n){return!(Ue(e,t=$(t,!0))&&x(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?V(e,t,n):(e[t]=n.value,e)};$e||(q.f=Le,L.f=qe),s(s.S+s.F*!$e,"Object",{getOwnPropertyDescriptor:Le,defineProperty:qe}),a(function(){pe.call({})})&&(pe=he=function(){return ue.call(this)});var Ve=h({},Me);h(Ve,je),p(Ve,ve,je.values),h(Ve,{slice:Fe,set:Re,constructor:function(){},toString:pe,toLocaleString:Ie}),Ne(Ve,"buffer","b"),Ne(Ve,"byteOffset","o"),Ne(Ve,"byteLength","l"),Ne(Ve,"length","e"),V(Ve,me,{get:function(){return this[be]}}),e.exports=function(e,t,n,r){r=!!r;var c=e+(r?"Clamped":"")+"Array",u="get"+e,f="set"+e,h=o[c],v=h||{},y=h&&T(h),$=!h||!l.ABV,b={},S=h&&h.prototype,E=function(e,n){var r=e._d;return r.v[u](n*t+r.o,Se)},A=function(e,n,i){var o=e._d;r&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),o.v[f](n*t+o.o,i,Se)},k=function(e,t){V(e,t,{get:function(){return E(this,t)},set:function(e){return A(this,t,e)},enumerable:!0})};$?(h=n(function(e,n,r,i){d(e,h,c,"_d");var o,a,s,l,u=0,f=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(l=w(n))||"SharedArrayBuffer"==l))return be in n?ke(h,n):Pe.call(h,n);o=n,f=Ce(r,t);var v=n.byteLength;if(void 0===i){if(v%t)throw B("Wrong length!");if((a=v-f)<0)throw B("Wrong length!")}else if((a=m(i)*t)+f>v)throw B("Wrong length!");s=a/t}else s=g(n),a=s*t,o=new Y(a);for(p(e,"_d",{b:o,o:f,l:a,e:s,v:new K(o)});u<s;)k(e,u++)}),S=h.prototype=C(Ve),p(S,"constructor",h)):a(function(){h(1)})&&a(function(){new h(-1)})&&F(function(e){new h,new h(null),new h(1.5),new h(e)},!0)||(h=n(function(e,n,r,i){d(e,h,c);var o;return x(n)?n instanceof Y||"ArrayBuffer"==(o=w(n))||"SharedArrayBuffer"==o?void 0!==i?new v(n,Ce(r,t),i):void 0!==r?new v(n,Ce(r,t)):new v(n):be in n?ke(h,n):Pe.call(h,n):new v(g(n))}),J(y!==Function.prototype?_(v).concat(_(y)):_(v),function(e){e in h||p(h,e,v[e])}),h.prototype=S,i||(S.constructor=h));var N=S[ve],P=!!N&&("values"==N.name||void 0==N.name),O=je.values;p(h,ge,!0),p(S,be,c),p(S,we,!0),p(S,ye,h),(r?new h(1)[me]==c:me in S)||V(S,me,{get:function(){return c}}),b[c]=h,s(s.G+s.W+s.F*(h!=v),b),s(s.S,c,{BYTES_PER_ELEMENT:t}),s(s.S+s.F*a(function(){v.of.call(h,1)}),c,{from:Pe,of:Oe}),"BYTES_PER_ELEMENT"in S||p(S,"BYTES_PER_ELEMENT",t),s(s.P,c,Me),R(c),s(s.P+s.F*Ee,c,{set:Re}),s(s.P+s.F*!P,c,je),i||S.toString==pe||(S.toString=pe),s(s.P+s.F*a(function(){new h(1).slice()}),c,{slice:Fe}),s(s.P+s.F*(a(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!a(function(){S.toLocaleString.call([1,2])})),c,{toLocaleString:Ie}),M[c]=P?N:O,i||P||p(S,ve,O)}}else e.exports=function(){}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(37)("meta"),o=n(5),a=n(18),s=n(10).f,l=0,c=Object.isExtensible||function(){return!0},u=!n(2)(function(){return c(Object.preventExtensions({}))}),d=function(e){s(e,i,{value:{i:"O"+ ++l,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==(void 0===e?"undefined":r(e))?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!c(e))return"F";if(!t)return"E";d(e)}return e[i].i},p=function(e,t){if(!a(e,i)){if(!c(e))return!0;if(!t)return!1;d(e)}return e[i].w},h=function(e){return u&&v.NEED&&c(e)&&!a(e,i)&&d(e),e},v=e.exports={KEY:i,NEED:!1,fastKey:f,getWeak:p,onFreeze:h}},function(e,t,n){"use strict";function r(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."}function i(e,t){for(;t.length<e;)t+=" ";return t}function o(e){return e.replace(/^([A-Z])/,function(e){return e.toLowerCase()}).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function a(e){var t=s(e),n=t.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:t,i=e.name||"";return i&&r.match(/function \(/)?"function "+i+r.substr(9):r}function s(e){var t=d.isArray(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}function l(e){function t(e){if(d.isObject(e)){if(-1!==n.indexOf(e))return"[circular ref]";n.push(e)}return y(e)}var n=[];return JSON.stringify(e,function(e,n){return t(n)}).replace(/\\"/g,'"')}function c(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(p.identity)}}function u(e,t){return d.isString(p.tail(e))&&d.isString(t)?e.slice(0,-1).concat(p.tail(e)+t):p.pushR(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var d=n(6),f=n(59),p=n(1),h=n(7),v=n(76),m=n(61);t.maxLength=r,t.padString=i,t.kebobString=o,t.functionToString=a,t.fnToString=s;var g=null,y=function(e){var t=f.Rejection.isRejectionPromise;return(g=g||h.pattern([[h.not(d.isDefined),h.val("undefined")],[d.isNull,h.val("null")],[d.isPromise,h.val("[Promise]")],[t,function(e){return e._transitionRejection.toString()}],[h.is(f.Rejection),h.invoke("toString")],[h.is(v.Transition),h.invoke("toString")],[h.is(m.Resolvable),h.invoke("toString")],[d.isInjectable,a],[h.val(!0),p.identity]]))(e)};t.stringify=l,t.beforeAfterSubstr=function(e){return function(t){if(!t)return["",""];var n=t.indexOf(e);return-1===n?[t,""]:[t.substr(0,n),t.substr(n+1)]}},t.splitOnDelim=c,t.joinNeighborsR=u},function(e,t,n){"use strict";function r(e){return e?"[ui-view#"+e.id+" tag in template from '"+(e.creationContext&&e.creationContext.name||"(root)")+"' state]: fqn: '"+e.fqn+"', name: '"+e.name+"@"+e.creationContext+"')":"ui-view (defunct)"}function i(e){return s.isNumber(e)?o[e]:o[o[e]]}Object.defineProperty(t,"__esModule",{value:!0});var o,a=n(7),s=n(6),l=n(34),c=function(e){return"[ViewConfig#"+e.$id+" from '"+(e.viewDecl.$context.name||"(root)")+"' state]: target ui-view: '"+e.viewDecl.$uiViewName+"@"+e.viewDecl.$uiViewContextAnchor+"'"};!function(e){e[e.RESOLVE=0]="RESOLVE",e[e.TRANSITION=1]="TRANSITION",e[e.HOOK=2]="HOOK",e[e.UIVIEW=3]="UIVIEW",e[e.VIEWCONFIG=4]="VIEWCONFIG"}(o=t.Category||(t.Category={}));var u=a.parse("$id"),d=a.parse("router.$id"),f=function(e){return"Transition #"+u(e)+"-"+d(e)},p=function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(e,t){var n=this;t.length||(t=Object.keys(o).map(function(e){return parseInt(e,10)}).filter(function(e){return!isNaN(e)}).map(function(e){return o[e]})),t.map(i).forEach(function(t){return n._enabled[t]=e})},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[i(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(o.TRANSITION)&&console.log(f(e)+": Started  -> "+l.stringify(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(o.TRANSITION)&&console.log(f(e)+": Ignored  <> "+l.stringify(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(o.HOOK)){var r=a.parse("traceData.hookType")(n)||"internal",i=a.parse("traceData.context.state.name")(n)||a.parse("traceData.context")(n)||"unknown",s=l.functionToString(e.registeredHook.callback);console.log(f(t)+":   Hook -> "+r+" context: "+i+", "+l.maxLength(200,s))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(o.HOOK)&&console.log(f(t)+":   <- Hook returned: "+l.maxLength(200,l.stringify(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(o.RESOLVE)&&console.log(f(n)+":         Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(o.RESOLVE)&&console.log(f(t)+":               <- Resolved  "+e+" to: "+l.maxLength(200,l.stringify(e.data)))},e.prototype.traceError=function(e,t){this.enabled(o.TRANSITION)&&console.log(f(t)+": <- Rejected "+l.stringify(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(o.TRANSITION)&&console.log(f(t)+": <- Success  "+l.stringify(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(o.UIVIEW)&&console.log("ui-view: "+l.padString(30,e)+" "+r(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(o.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(o.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+l.maxLength(200,t))},e.prototype.traceViewServiceEvent=function(e,t){this.enabled(o.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+c(t))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(o.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+r(t))},e}();t.Trace=p;var h=new p;t.trace=h},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+i).toString(36))}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var r=n(122),i=n(87);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(23),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){"use strict";var r=n(3),i=n(123),o=n(87),a=n(86)("IE_PROTO"),s=function(){},l=function(){var e,t=n(83)("iframe"),r=o.length;for(t.style.display="none",n(89).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";var r=n(122),i=n(87).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(18),i=n(16),o=n(86)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=function(){function e(e,t,n,r){void 0===r&&(r={}),this._identifier=e,this._definition=t,this._options=r,this._params=n||{}}return e.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},e.prototype.identifier=function(){return this._identifier},e.prototype.params=function(){return this._params},e.prototype.$state=function(){return this._definition},e.prototype.state=function(){return this._definition&&this._definition.self},e.prototype.options=function(){return this._options},e.prototype.exists=function(){return!(!this._definition||!this._definition.self)},e.prototype.valid=function(){return!this.error()},e.prototype.error=function(){var e=this.options().relative;if(!this._definition&&e){var t=e.name?e.name:e;return"Could not resolve '"+this.name()+"' from state '"+t+"'"}return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'"},e.prototype.toString=function(){return"'"+this.name()+"'"+r.toJson(this.params())},e}();o.isDef=function(e){return e&&e.state&&(i.isString(e.state)||i.isString(e.state.name))},t.TargetState=o},function(e,t,n){"use strict";var r=n(10).f,i=n(18),o=n(8)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r=n(8)("unscopables"),i=Array.prototype;void 0==i[r]&&n(19)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){"use strict";var r=n(4),i=n(10),o=n(12),a=n(8)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r=n(15);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e[e.CREATE=0]="CREATE",e[e.BEFORE=1]="BEFORE",e[e.RUN=2]="RUN",e[e.SUCCESS=3]="SUCCESS",e[e.ERROR=4]="ERROR"}(t.TransitionHookPhase||(t.TransitionHookPhase={}));!function(e){e[e.TRANSITION=0]="TRANSITION",e[e.STATE=1]="STATE"}(t.TransitionHookScope||(t.TransitionHookScope={}))},function(e,t,n){"use strict";function r(e){function t(){return e.value}return e=h(e)&&{value:e}||e,t.__cacheable=!0,l.extend(e,{$$fn:u.isInjectable(e.value)?e.value:t})}function i(e,t,n,r,i){if(e.type&&t&&"string"!==t.name)throw new Error("Param '"+r+"' has two type configurations.");if(e.type&&t&&"string"===t.name&&i.type(e.type))return i.type(e.type);if(t)return t;if(!e.type){var o=n===s.CONFIG?"any":n===s.PATH?"path":n===s.SEARCH?"query":"string";return i.type(o)}return e.type instanceof f.ParamType?e.type:i.type(e.type)}function o(e,t,n){var r=e.squash;if(!t||!1===r)return!1;if(!u.isDefined(r)||null==r)return n;if(!0===r||u.isString(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}function a(e,t,n,r){var i,o,a=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}];return i=u.isArray(e.replace)?e.replace:[],u.isString(r)&&i.push({from:r,to:void 0}),o=l.map(i,c.prop("from")),l.filter(a,function(e){return-1===o.indexOf(e.from)}).concat(i)}Object.defineProperty(t,"__esModule",{value:!0});var s,l=n(1),c=n(7),u=n(6),d=n(14),f=n(115),p=Object.prototype.hasOwnProperty,h=function(e){return 0===["value","type","squash","array","dynamic"].filter(p.bind(e||{})).length};!function(e){e[e.PATH=0]="PATH",e[e.SEARCH=1]="SEARCH",e[e.CONFIG=2]="CONFIG"}(s=t.DefType||(t.DefType={}));var v=function(){function e(e,t,n,c,d){n=r(n),t=i(n,t,c,e,d.paramTypes);var f=function(){var t={array:c===s.SEARCH&&"auto"},r=e.match(/\[\]$/)?{array:!0}:{};return l.extend(t,r,n).array}();t=f?t.$asArray(f,c===s.SEARCH):t;var p=void 0!==n.value||c===s.SEARCH,h=u.isDefined(n.dynamic)?!!n.dynamic:!!t.dynamic,v=u.isDefined(n.raw)?!!n.raw:!!t.raw,m=o(n,p,d.defaultSquashPolicy()),g=a(n,f,p,m),y=u.isDefined(n.inherit)?!!n.inherit:!!t.inherit;l.extend(this,{id:e,type:t,location:c,isOptional:p,dynamic:h,raw:v,squash:m,replace:g,inherit:y,array:f,config:n})}return e.prototype.isDefaultValue=function(e){return this.isOptional&&this.type.equals(this.value(),e)},e.prototype.value=function(e){var t=this;return e=function(e){for(var n=0,r=t.replace;n<r.length;n++){var i=r[n];if(i.from===e)return i.to}return e}(e),u.isUndefined(e)?function(){if(t._defaultValueCache)return t._defaultValueCache.defaultValue;if(!d.services.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=d.services.$injector.invoke(t.config.$$fn);if(null!==e&&void 0!==e&&!t.type.is(e))throw new Error("Default value ("+e+") for parameter '"+t.id+"' is not an instance of ParamType ("+t.type.name+")");return t.config.$$fn.__cacheable&&(t._defaultValueCache={defaultValue:e}),e}():this.type.$normalize(e)},e.prototype.isSearch=function(){return this.location===s.SEARCH},e.prototype.validates=function(e){if((u.isUndefined(e)||null===e)&&this.isOptional)return!0;var t=this.type.$normalize(e);if(!this.type.is(t))return!1;var n=this.type.encode(t);return!(u.isString(n)&&!this.type.pattern.exec(n))},e.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},e.values=function(e,t){void 0===t&&(t={});for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];n[o.id]=o.value(t[o.id])}return n},e.changed=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e.filter(function(e){return!e.type.equals(t[e.id],n[e.id])})},e.equals=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),0===e.changed(t,n,r).length},e.validates=function(e,t){return void 0===t&&(t={}),e.map(function(e){return e.validates(t[e.id])}).reduce(l.allTrueR,!0)},e}();t.Param=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(110),i=angular;t.ng=r&&r.module?r:i},function(e,t,n){"use strict";var r=n(29);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(29),i=n(8)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var r=n(3),i=n(28),o=n(8)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(1),o=n(34),a=n(7);!function(e){e[e.SUPERSEDED=2]="SUPERSEDED",e[e.ABORTED=3]="ABORTED",e[e.INVALID=4]="INVALID",e[e.IGNORED=5]="IGNORED",e[e.ERROR=6]="ERROR"}(r=t.RejectType||(t.RejectType={}));var s=0,l=function(){function e(e,t,n){this.$id=s++,this.type=e,this.message=t,this.detail=n}return e.prototype.toString=function(){var e=function(e){return e&&e.toString!==Object.prototype.toString?e.toString():o.stringify(e)}(this.detail),t=this;return"Transition Rejection($id: "+t.$id+" type: "+t.type+", message: "+t.message+", detail: "+e+")"},e.prototype.toPromise=function(){return i.extend(i.silentRejection(this),{_transitionRejection:this})},e.isRejectionPromise=function(t){return t&&"function"==typeof t.then&&a.is(e)(t._transitionRejection)},e.superseded=function(t,n){var i=new e(r.SUPERSEDED,"The transition has been superseded by a different transition",t);return n&&n.redirected&&(i.redirected=!0),i},e.redirected=function(t){return e.superseded(t,{redirected:!0})},e.invalid=function(t){return new e(r.INVALID,"This transition is invalid",t)},e.ignored=function(t){return new e(r.IGNORED,"The transition was ignored",t)},e.aborted=function(t){return new e(r.ABORTED,"The transition has been aborted",t)},e.errored=function(t){return new e(r.ERROR,"The transition errored",t)},e.normalize=function(t){return a.is(e)(t)?t:e.errored(t)},e}();t.Rejection=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(52),i=n(1),o=n(34),a=n(6),s=n(7),l=n(35),c=n(14),u=n(59),d=n(44),f={current:i.noop,transition:null,traceData:{},bind:null},p=function(){function e(e,t,n,o){var a=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=o,this.isSuperseded=function(){return a.type.hookPhase===r.TransitionHookPhase.RUN&&!a.options.transition.isActive()},this.options=i.defaults(o,f),this.type=n.eventType}return e.prototype.logError=function(e){this.transition.router.stateService.defaultErrorHandler()(e)},e.prototype.invokeHook=function(){var e=this,t=this.registeredHook;if(!t._deregistered){var n=this.getNotCurrentRejection();if(n)return n;var r=this.options;l.trace.traceHookInvocation(this,this.transition,r);var i=function(e){return u.Rejection.normalize(e).toPromise()},o=function(n){return t.eventType.getErrorHandler(e)(n)},s=function(n){return t.eventType.getResultHandler(e)(n)};try{var c=function(){return t.callback.call(r.bind,e.transition,e.stateContext)}();return!this.type.synchronous&&a.isPromise(c)?c.catch(i).then(s,o):s(c)}catch(e){return o(u.Rejection.normalize(e))}}},e.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||(a.isPromise(e)?e.then(function(e){return t.handleHookResult(e)}):(l.trace.traceHookResult(e,this.transition,this.options),!1===e?u.Rejection.aborted("Hook aborted transition").toPromise():s.is(d.TargetState)(e)?u.Rejection.redirected(e).toPromise():void 0))},e.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?u.Rejection.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?u.Rejection.aborted().toPromise():this.isSuperseded()?u.Rejection.superseded(this.options.current()).toPromise():void 0},e.prototype.toString=function(){var e=this,t=e.options,n=e.registeredHook,r=s.parse("traceData.hookType")(t)||"internal",i=s.parse("traceData.context.state.name")(t)||s.parse("traceData.context")(t)||"unknown",a=o.fnToString(n.callback);return r+" context: "+i+", "+o.maxLength(200,a)},e.chain=function(e,t){var n=function(e,t){return e.then(function(){return t.invokeHook()})};return e.reduce(n,t||c.services.$q.when())},e.invokeHooks=function(t,n){for(var r=0;r<t.length;r++){var i=t[r].invokeHook();if(a.isPromise(i)){var o=t.slice(r+1);return e.chain(o,i).then(n)}}return n()},e.runAllHooks=function(e){e.forEach(function(e){return e.invokeHook()})},e}();p.HANDLE_RESULT=function(e){return function(t){return e.handleHookResult(t)}},p.LOG_REJECTED_RESULT=function(e){return function(t){a.isPromise(t)&&t.catch(function(t){return e.logError(u.Rejection.normalize(t))})}},p.LOG_ERROR=function(e){return function(t){return e.logError(t)}},p.REJECT_ERROR=function(e){return function(e){return i.silentRejection(e)}},p.THROW_ERROR=function(e){return function(e){throw e}},t.TransitionHook=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(14),o=n(35),a=n(34),s=n(6);t.defaultResolvePolicy={when:"LAZY",async:"WAIT"};var l=function(){function e(t,n,o,a,l){if(this.resolved=!1,this.promise=void 0,t instanceof e)r.extend(this,t);else if(s.isFunction(n)){if(null==t||void 0==t)throw new Error("new Resolvable(): token argument is required");if(!s.isFunction(n))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=t,this.policy=a,this.resolveFn=n,this.deps=o||[],this.data=l,this.resolved=void 0!==l,this.promise=this.resolved?i.services.$q.when(this.data):void 0}else if(s.isObject(t)&&t.token&&s.isFunction(t.resolveFn)){var c=t;return new e(c.token,c.resolveFn,c.deps,c.policy,c.data)}}return e.prototype.getPolicy=function(e){var n=this.policy||{},r=e&&e.resolvePolicy||{};return{when:n.when||r.when||t.defaultResolvePolicy.when,async:n.async||r.async||t.defaultResolvePolicy.async}},e.prototype.resolve=function(e,t){var n=this,a=i.services.$q,s=function(){return a.all(e.getDependencies(n).map(function(n){return n.get(e,t)}))},l=function(e){return n.resolveFn.apply(null,e)},c=function(e){var t=e.cache(1);return t.take(1).toPromise().then(function(){return t})},u=e.findNode(this),d=u&&u.state,f="RXWAIT"===this.getPolicy(d).async?c:r.identity,p=function(e){return n.data=e,n.resolved=!0,o.trace.traceResolvableResolved(n,t),n.data};return this.promise=a.when().then(s).then(l).then(f).then(p)},e.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},e.prototype.toString=function(){return"Resolvable(token: "+a.stringify(this.token)+", requires: ["+this.deps.map(a.stringify)+"])"},e.prototype.clone=function(){return new e(this)},e}();l.fromData=function(e,t){return new l(e,function(){return t},null,null,t)},t.Resolvable=l},function(e,t,n){"use strict";function r(e){var n=function(e){return e||""},r=t.splitHash(e).map(n),i=r[0],o=r[1],a=t.splitQuery(i).map(n);return{path:a[0],search:a[1],hash:o,url:e}}function i(e,t,n,r){return function(i){function o(e){e.dispose(a),e.dispose(s)}var a=i.locationService=new n(i),s=i.locationConfig=new r(i,t);return{name:e,service:a,configuration:s,dispose:o}}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(74),a=n(1),s=function(e){return function(t){if(!t)return["",""];var n=t.indexOf(e);return-1===n?[t,""]:[t.substr(0,n),t.substr(n+1)]}};t.splitHash=s("#"),t.splitQuery=s("?"),t.splitEqual=s("="),t.trimHashVal=function(e){return e?e.replace(/^#/,""):""},t.keyValsToObjectR=function(e,t){var n=t[0],r=t[1];return e.hasOwnProperty(n)?o.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]:e[n]=r,e},t.getParams=function(e){return e.split("&").filter(a.identity).map(t.splitEqual).reduce(t.keyValsToObjectR,{})},t.parseUrl=r,t.buildUrl=function(e){var t=e.path(),n=e.search(),r=e.hash(),i=Object.keys(n).map(function(e){var t=n[e];return(o.isArray(t)?t:[t]).map(function(t){return e+"="+t})}).reduce(a.unnestR,[]).join("&");return t+(i?"?"+i:"")+(r?"#"+r:"")},t.locationPluginFactory=i},function(e,t,n){"use strict";var r=n(20),i=n(9),o=n(40);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var r=n(0),i=n(30),o=n(2),a=n(91),s="["+a+"]",l="​",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var i={},s=o(function(){return!!a[e]()||l[e]()!=l}),c=i[e]=s?t(f):a[e];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},f=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},function(e,t,n){"use strict";var r=n(8)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(3);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(57),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!==(void 0===a?"undefined":r(a)))throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";n(139);var r=n(15),i=n(19),o=n(2),a=n(30),s=n(8),l=n(106),c=s("species"),u=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!o(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),h=p?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t}):void 0;if(!p||!h||"replace"===e&&!u||"split"===e&&!d){var v=/./[f],m=n(a,f,""[e],function(e,t,n,r,i){return t.exec===l?p&&!i?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),g=m[0],y=m[1];r(String.prototype,e,g),i(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},function(e,t,n){"use strict";var r=n(27),i=n(135),o=n(101),a=n(3),s=n(9),l=n(103),c={},u={},d=e.exports=function(e,t,n,d,f){var p,h,v,m,g=f?function(){return e}:l(e),y=r(n,d,t?2:1),$=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(p=s(e.length);p>$;$++)if((m=t?y(a(h=e[$])[0],h[1]):y(e[$]))===c||m===u)return m}else for(v=g.call(e);!(h=v.next()).done;)if((m=i(v,y,h.value,t))===c||m===u)return m};d.BREAK=c,d.RETURN=u},function(e,t,n){"use strict";var r=n(4),i=r.navigator;e.exports=i&&i.userAgent||""},function(e,t,n){"use strict";var r=n(4),i=n(0),o=n(15),a=n(50),s=n(33),l=n(70),c=n(49),u=n(5),d=n(2),f=n(66),p=n(45),h=n(92);e.exports=function(e,t,n,v,m,g){var y=r[e],$=y,b=m?"set":"add",w=$&&$.prototype,x={},S=function(e){var t=w[e];o(w,e,"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof $&&(g||w.forEach&&!d(function(){(new $).entries().next()}))){var E=new $,C=E[b](g?{}:-0,1)!=E,T=d(function(){E.has(1)}),_=f(function(e){new $(e)}),A=!g&&d(function(){for(var e=new $,t=5;t--;)e[b](t,t);return!e.has(-0)});_||($=t(function(t,n){c(t,$,e);var r=h(new y,t,$);return void 0!=n&&l(n,m,r[b],r),r}),$.prototype=w,w.constructor=$),(T||A)&&(S("delete"),S("has"),m&&S("get")),(A||C)&&S(b),g&&w.clear&&delete w.clear}else $=v.getConstructor(t,e,m,b),a($.prototype,n),s.NEED=!0;return p($,e),x[e]=$,i(i.G+i.W+i.F*($!=y),x),g||v.setStrong($,e,m),$}},function(e,t,n){"use strict";for(var r,i=n(4),o=n(19),a=n(37),s=a("typed_array"),l=a("view"),c=!(!i.ArrayBuffer||!i.DataView),u=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=i[f[d++]])?(o(r.prototype,s,!0),o(r.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(1)),r(n(14)),r(n(75)),r(n(7)),r(n(6)),r(n(112)),r(n(34)),r(n(35))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.text=e,this.glob=e.split(".");var t=this.text.split(".").map(function(e){return"**"===e?"(?:|(?:\\.[^.]*)*)":"*"===e?"\\.[^.]*":"\\."+e}).join("");this.regexp=new RegExp("^"+t+"$")}return e.prototype.matches=function(e){return this.regexp.test("."+e)},e.is=function(e){return!!/[!,*]+/.exec(e)},e.fromString=function(t){return e.is(t)?new e(t):null},e}();t.Glob=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),i=n(14),o=n(1),a=n(6),s=n(7),l=n(52),c=n(60),u=n(113),d=n(150),f=n(77),p=n(44),h=n(53),v=n(61),m=n(78),g=s.prop("self"),y=function(){function e(e,t,n){var r=this;if(this._deferred=i.services.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new d.HookBuilder(this),this.isActive=function(){return r.router.globals.transition===r},this.router=n,this._targetState=t,!t.valid())throw new Error(t.error());this._options=o.extend({current:s.val(this)},t.options()),this.$id=n.transitionService._transitionCount++;var a=f.PathUtils.buildToPath(e,t);this._treeChanges=f.PathUtils.treeChanges(e,a,this._options.reloadState),this.createTransitionHookRegFns();var u=this._hookBuilder.buildHooksForPhase(l.TransitionHookPhase.CREATE);c.TransitionHook.invokeHooks(u,function(){return null}),this.applyViewConfigs(n)}return e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.createTransitionHookRegFns=function(){var e=this;this.router.transitionService._pluginapi._getEvents().filter(function(e){return e.hookPhase!==l.TransitionHookPhase.CREATE}).forEach(function(t){return u.makeEvent(e,e.router.transitionService,t)})},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype.applyViewConfigs=function(e){var t=this._treeChanges.entering.map(function(e){return e.state});f.PathUtils.applyViewConfigs(e.transitionService.$view,this._treeChanges.to,t)},e.prototype.$from=function(){return o.tail(this._treeChanges.from).state},e.prototype.$to=function(){return o.tail(this._treeChanges.to).state},e.prototype.from=function(){return this.$from().self},e.prototype.to=function(){return this.$to().self},e.prototype.targetState=function(){return this._targetState},e.prototype.is=function(t){return t instanceof e?this.is({to:t.$to().name,from:t.$from().name}):!(t.to&&!u.matchState(this.$to(),t.to)||t.from&&!u.matchState(this.$from(),t.from))},e.prototype.params=function(e){return void 0===e&&(e="to"),Object.freeze(this._treeChanges[e].map(s.prop("paramValues")).reduce(o.mergeR,{}))},e.prototype.injector=function(e,t){void 0===t&&(t="to");var n=this._treeChanges[t];return e&&(n=f.PathUtils.subPath(n,function(t){return t.state===e||t.state.name===e})),new m.ResolveContext(n).injector()},e.prototype.getResolveTokens=function(e){return void 0===e&&(e="to"),new m.ResolveContext(this._treeChanges[e]).getTokens()},e.prototype.addResolvable=function(e,t){void 0===t&&(t=""),e=s.is(v.Resolvable)(e)?e:new v.Resolvable(e);var n="string"==typeof t?t:t.name,r=this._treeChanges.to,i=o.find(r,function(e){return e.state.name===n});new m.ResolveContext(r).addResolvables([e],i.state)},e.prototype.redirectedFrom=function(){return this._options.redirectedFrom||null},e.prototype.originalTransition=function(){var e=this.redirectedFrom();return e&&e.originalTransition()||this},e.prototype.options=function(){return this._options},e.prototype.entering=function(){return o.map(this._treeChanges.entering,s.prop("state")).map(g)},e.prototype.exiting=function(){return o.map(this._treeChanges.exiting,s.prop("state")).map(g).reverse()},e.prototype.retained=function(){return o.map(this._treeChanges.retained,s.prop("state")).map(g)},e.prototype.views=function(e,t){void 0===e&&(e="entering");var n=this._treeChanges[e];return n=t?n.filter(s.propEq("state",t)):n,n.map(s.prop("views")).filter(o.identity).reduce(o.unnestR,[])},e.prototype.treeChanges=function(e){return e?this._treeChanges[e]:this._treeChanges},e.prototype.redirect=function(e){for(var t=1,n=this;null!=(n=n.redirectedFrom());)if(++t>20)throw new Error("Too many consecutive Transition redirects (20+)");var r={redirectedFrom:this,source:"redirect"};"url"===this.options().source&&!1!==e.options().location&&(r.location="replace");var i=o.extend({},this.options(),e.options(),r);e=new p.TargetState(e.identifier(),e.$state(),e.params(),i);var a=this.router.transitionService.create(this._treeChanges.from,e),l=this._treeChanges.entering,c=a._treeChanges.entering;return f.PathUtils.matching(c,l,f.PathUtils.nonDynamicParams).filter(s.not(function(e){return function(t){return e&&t.state.includes[e.name]}}(e.options().reloadState))).forEach(function(e,t){e.resolvables=l[t].resolvables}),a},e.prototype._changedParams=function(){var e=this._treeChanges;if(!this._options.reload&&!e.exiting.length&&!e.entering.length&&e.to.length===e.from.length){if(!o.arrayTuples(e.to,e.from).map(function(e){return e[0].state!==e[1].state}).reduce(o.anyTrueR,!1)){var t=e.to.map(function(e){return e.paramSchema}),n=[e.to,e.from].map(function(e){return e.map(function(e){return e.paramValues})}),r=n[0],i=n[1];return o.arrayTuples(t,r,i).map(function(e){var t=e[0],n=e[1],r=e[2];return h.Param.changed(t,n,r)}).reduce(o.unnestR,[])}}},e.prototype.dynamic=function(){var e=this._changedParams();return!!e&&e.map(function(e){return e.dynamic}).reduce(o.anyTrueR,!1)},e.prototype.ignored=function(){return!!this._ignoredReason()},e.prototype._ignoredReason=function(){var e=this.router.globals.transition,t=this._options.reloadState,n=function(e,n){if(e.length!==n.length)return!1;var r=f.PathUtils.matching(e,n);return e.length===r.filter(function(e){return!t||!e.state.includes[t.name]}).length},r=this.treeChanges(),i=e&&e.treeChanges();return i&&n(i.to,r.to)&&n(i.exiting,r.exiting)?"SameAsPending":0===r.exiting.length&&0===r.entering.length&&n(r.from,r.to)?"SameAsCurrent":void 0},e.prototype.run=function(){var e=this,t=c.TransitionHook.runAllHooks,n=function(t){return e._hookBuilder.buildHooksForPhase(t)},o=function(){r.trace.traceSuccess(e.$to(),e),e.success=!0,e._deferred.resolve(e.to()),t(n(l.TransitionHookPhase.SUCCESS))},a=function(i){r.trace.traceError(i,e),e.success=!1,e._deferred.reject(i),e._error=i,t(n(l.TransitionHookPhase.ERROR))},s=function(){var e=n(l.TransitionHookPhase.RUN),t=function(){return i.services.$q.when(void 0)};return c.TransitionHook.invokeHooks(e,t)},u=function(){var t=e.router.globals;return t.lastStartedTransitionId=e.$id,t.transition=e,t.transitionHistory.enqueue(e),r.trace.traceTransitionStart(e),i.services.$q.when(void 0)},d=n(l.TransitionHookPhase.BEFORE);return c.TransitionHook.invokeHooks(d,u).then(s).then(o,a),this.promise},e.prototype.valid=function(){return!this.error()||void 0!==this.success},e.prototype.abort=function(){a.isUndefined(this.success)&&(this._aborted=!0)},e.prototype.error=function(){var e=this.$to();return e.self.abstract?"Cannot transition to abstract state '"+e.name+"'":h.Param.validates(e.parameters(),this.params())?!1===this.success?this._error:void 0:"Param values not valid for state '"+e.name+"'"},e.prototype.toString=function(){var e=this.from(),t=this.to(),n=function(e){return null!==e["#"]&&void 0!==e["#"]?e:o.omit(e,["#"])};return"Transition#"+this.$id+"( '"+(a.isObject(e)?e.name:e)+"'"+o.toJson(n(this._treeChanges.from.map(s.prop("paramValues")).reduce(o.mergeR,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+(a.isObject(t)?t.name:t)+"'"+o.toJson(n(this.params()))+" )"},e}();y.diToken=y,t.Transition=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(7),o=n(44),a=n(114),s=function(){function e(){}return e.makeTargetState=function(e){var t=r.tail(e).state;return new o.TargetState(t,t,e.map(i.prop("paramValues")).reduce(r.mergeR,{}))},e.buildPath=function(e){var t=e.params();return e.$state().path.map(function(e){return new a.PathNode(e).applyRawParams(t)})},e.buildToPath=function(t,n){var r=e.buildPath(n);return n.options().inherit?e.inheritParams(t,r,Object.keys(n.params())):r},e.applyViewConfigs=function(t,n,i){n.filter(function(e){return r.inArray(i,e.state)}).forEach(function(i){var o=r.values(i.state.views||{}),a=e.subPath(n,function(e){return e===i}),s=o.map(function(e){return t.createViewConfig(a,e)});i.views=s.reduce(r.unnestR,[])})},e.inheritParams=function(e,t,n){function o(e,t){var n=r.find(e,i.propEq("state",t));return r.extend({},n&&n.paramValues)}function s(t){var i=r.extend({},t&&t.paramValues),s=r.pick(i,n);i=r.omit(i,n);var c=r.omit(o(e,t.state)||{},l),u=r.extend(i,c,s);return new a.PathNode(t.state).applyRawParams(u)}void 0===n&&(n=[]);var l=e.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]).filter(function(e){return!e.inherit}).map(i.prop("id"));return t.map(s)},e.treeChanges=function(t,n,r){function i(e,t){var r=a.PathNode.clone(e);return r.paramValues=n[t].paramValues,r}for(var o=0,s=Math.min(t.length,n.length);o<s&&t[o].state!==r&&function(t,n){return t.equals(n,e.nonDynamicParams)}(t[o],n[o]);)o++;var l,c,u,d,f;l=t,c=l.slice(0,o),u=l.slice(o);var p=c.map(i);return d=n.slice(o),f=p.concat(d),{from:l,to:f,retained:c,exiting:u,entering:d}},e.matching=function(e,t,n){var i=!1;return r.arrayTuples(e,t).reduce(function(e,t){var r=t[0],o=t[1];return i=i||!r.equals(o,n),i?e:e.concat(r)},[])},e.equals=function(t,n,r){return t.length===n.length&&e.matching(t,n,r).length===t.length},e.subPath=function(e,t){var n=r.find(e,t),i=e.indexOf(n);return-1===i?void 0:e.slice(0,i+1)},e}();s.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter(function(e){return!e.dynamic})},s.paramValues=function(e){return e.reduce(function(e,t){return r.extend(e,t.paramValues)},{})},t.PathUtils=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(7),o=n(35),a=n(14),s=n(151),l=n(61),c=n(77),u=n(34),d=s.resolvePolicies.when,f=[d.EAGER,d.LAZY],p=[d.EAGER];t.NATIVE_INJECTOR_TOKEN="Native Injector";var h=function(){function e(e){this._path=e}return e.prototype.getTokens=function(){return this._path.reduce(function(e,t){return e.concat(t.resolvables.map(function(e){return e.token}))},[]).reduce(r.uniqR,[])},e.prototype.getResolvable=function(e){var t=this._path.map(function(e){return e.resolvables}).reduce(r.unnestR,[]).filter(function(t){return t.token===e});return r.tail(t)},e.prototype.getPolicy=function(e){var t=this.findNode(e);return e.getPolicy(t.state)},e.prototype.subContext=function(t){return new e(c.PathUtils.subPath(this._path,function(e){return e.state===t}))},e.prototype.addResolvables=function(e,t){var n=r.find(this._path,i.propEq("state",t)),o=e.map(function(e){return e.token});n.resolvables=n.resolvables.filter(function(e){return-1===o.indexOf(e.token)}).concat(e)},e.prototype.resolvePath=function(e,t){var n=this;void 0===e&&(e="LAZY");var l=r.inArray(f,e)?e:"LAZY",c=l===s.resolvePolicies.when.EAGER?p:f;o.trace.traceResolvePath(this._path,e,t);var u=function(e,t){return function(i){return r.inArray(e,n.getPolicy(i)[t])}},d=this._path.reduce(function(e,r){var o=r.resolvables.filter(u(c,"when")),a=o.filter(u(["NOWAIT"],"async")),s=o.filter(i.not(u(["NOWAIT"],"async"))),l=n.subContext(r.state),d=function(e){return e.get(l,t).then(function(t){return{token:e.token,value:t}})};return a.forEach(d),e.concat(s.map(d))},[]);return a.services.$q.all(d)},e.prototype.injector=function(){return this._injector||(this._injector=new v(this))},e.prototype.findNode=function(e){return r.find(this._path,function(t){return r.inArray(t.resolvables,e)})},e.prototype.getDependencies=function(e){var t=this,n=this.findNode(e),i=c.PathUtils.subPath(this._path,function(e){return e===n})||this._path,o=i.reduce(function(e,t){return e.concat(t.resolvables)},[]).filter(function(t){return t!==e}),a=function(e){var n=o.filter(function(t){return t.token===e});if(n.length)return r.tail(n);var i=t.injector().getNative(e);if(!i)throw new Error("Could not find Dependency Injection token: "+u.stringify(e));return new l.Resolvable(e,function(){return i},[],i)};return e.deps.map(a)},e}();t.ResolveContext=h;var v=function(){function e(e){this.context=e,this.native=this.get(t.NATIVE_INJECTOR_TOKEN)||a.services.$injector}return e.prototype.get=function(e){var t=this.context.getResolvable(e);if(t){if("NOWAIT"===this.context.getPolicy(t).async)return t.get(this.context);if(!t.resolved)throw new Error("Resolvable async .get() not complete:"+u.stringify(t.token));return t.data}return this.native&&this.native.get(e)},e.prototype.getAsync=function(e){var t=this.context.getResolvable(e);return t?t.get(this.context):a.services.$q.when(this.native.get(e))},e.prototype.getNative=function(e){return this.native&&this.native.get(e)},e}()},function(e,t,n){"use strict";function r(e,t){var n=["",""],r=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return r;switch(t.squash){case!1:n=["(",")"+(t.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+t.squash+"|",")?"]}return r+n[0]+t.type.pattern.source+n[1]}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(7),a=n(6),s=n(53),l=n(34),c=function(e,t,n){return e[t]=e[t]||n()},u=l.splitOnDelim("/"),d=function(){function e(t,n,a,s){var l=this;this.config=s,this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.pattern=t,this.config=i.defaults(this.config,{params:{},strict:!0,caseInsensitive:!1,paramMap:i.identity});for(var c,u,d,f=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,p=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,h=0,v=[],m=function(n){if(!e.nameValidator.test(n))throw new Error("Invalid parameter name '"+n+"' in pattern '"+t+"'");if(i.find(l._params,o.propEq("id",n)))throw new Error("Duplicate parameter name '"+n+"' in pattern '"+t+"'")},g=function(e,r){var o=e[2]||e[3],a=r?e[4]:e[4]||("*"===e[1]?".*":null);return{id:o,regexp:a,cfg:l.config.params[o],segment:t.substring(h,e.index),type:a?n.type(a)||function(e){return i.inherit(n.type(r?"query":"path"),{pattern:new RegExp(e,l.config.caseInsensitive?"i":void 0)})}(a):null}};(c=f.exec(t))&&(u=g(c,!1),!(u.segment.indexOf("?")>=0));)m(u.id),this._params.push(a.fromPath(u.id,u.type,this.config.paramMap(u.cfg,!1))),this._segments.push(u.segment),v.push([u.segment,i.tail(this._params)]),h=f.lastIndex;d=t.substring(h);var y=d.indexOf("?");if(y>=0){var $=d.substring(y);if(d=d.substring(0,y),$.length>0)for(h=0;c=p.exec($);)u=g(c,!0),m(u.id),this._params.push(a.fromSearch(u.id,u.type,this.config.paramMap(u.cfg,!0))),h=f.lastIndex}this._segments.push(d),this._compiled=v.map(function(e){return r.apply(null,e)}).concat(r(d))}return e.prototype.append=function(e){return this._children.push(e),e._cache={path:this._cache.path.concat(e),parent:this,pattern:null},e},e.prototype.isRoot=function(){return this._cache.path[0]===this},e.prototype.toString=function(){return this.pattern},e.prototype.exec=function(e,t,n,r){var s=this;void 0===t&&(t={}),void 0===r&&(r={});var l=c(this._cache,"pattern",function(){return new RegExp(["^",i.unnest(s._cache.path.map(o.prop("_compiled"))).join(""),!1===s.config.strict?"/?":"","$"].join(""),s.config.caseInsensitive?"i":void 0)}).exec(e);if(!l)return null;var u=this.parameters(),d=u.filter(function(e){return!e.isSearch()}),f=u.filter(function(e){return e.isSearch()}),p=this._cache.path.map(function(e){return e._segments.length-1}).reduce(function(e,t){return e+t}),h={};if(p!==l.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");for(var v=0;v<p;v++){for(var m=d[v],g=l[v+1],y=0;y<m.replace.length;y++)m.replace[y].from===g&&(g=m.replace[y].to);g&&!0===m.array&&(g=function(e){var t=function(e){return e.split("").reverse().join("")},n=function(e){return e.replace(/\\-/g,"-")},r=t(e).split(/-(?!\\)/),o=i.map(r,t);return i.map(o,n).reverse()}(g)),a.isDefined(g)&&(g=m.type.decode(g)),h[m.id]=m.value(g)}return f.forEach(function(e){for(var n=t[e.id],r=0;r<e.replace.length;r++)e.replace[r].from===n&&(n=e.replace[r].to);a.isDefined(n)&&(n=e.type.decode(n)),h[e.id]=e.value(n)}),n&&(h["#"]=n),h},e.prototype.parameters=function(e){return void 0===e&&(e={}),!1===e.inherit?this._params:i.unnest(this._cache.path.map(function(e){return e._params}))},e.prototype.parameter=function(e,t){var n=this;void 0===t&&(t={});var r=this._cache.parent;return function(){for(var t=0,r=n._params;t<r.length;t++){var i=r[t];if(i.id===e)return i}}()||!1!==t.inherit&&r&&r.parameter(e,t)||null},e.prototype.validates=function(e){var t=function(e,t){return!e||e.validates(t)};return e=e||{},this.parameters().filter(function(t){return e.hasOwnProperty(t.id)}).map(function(n){return t(n,e[n.id])}).reduce(i.allTrueR,!0)},e.prototype.format=function(t){function n(e){var n=e.value(t[e.id]),r=e.validates(n),i=e.isDefaultValue(n);return{param:e,value:n,isValid:r,isDefaultValue:i,squash:!!i&&e.squash,encoded:e.type.encode(n)}}void 0===t&&(t={});var r=this._cache.path,o=r.map(e.pathSegmentsAndParams).reduce(i.unnestR,[]).map(function(e){return a.isString(e)?e:n(e)}),s=r.map(e.queryParams).reduce(i.unnestR,[]).map(n),l=function(e){return!1===e.isValid};if(o.concat(s).filter(l).length)return null;var c=o.reduce(function(t,n){if(a.isString(n))return t+n;var r=n.squash,o=n.encoded,s=n.param;return!0===r?t.match(/\/$/)?t.slice(0,-1):t:a.isString(r)?t+r:!1!==r?t:null==o?t:a.isArray(o)?t+i.map(o,e.encodeDashes).join("-"):s.raw?t+o:t+encodeURIComponent(o)},""),u=s.map(function(e){var t=e.param,n=e.squash,r=e.encoded,o=e.isDefaultValue;if(!(null==r||o&&!1!==n)&&(a.isArray(r)||(r=[r]),0!==r.length))return t.raw||(r=i.map(r,encodeURIComponent)),r.map(function(e){return t.id+"="+e})}).filter(i.identity).reduce(i.unnestR,[]).join("&");return c+(u?"?"+u:"")+(t["#"]?"#"+t["#"]:"")},e.encodeDashes=function(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})},e.pathSegmentsAndParams=function(e){var t=e._segments,n=e._params.filter(function(e){return e.location===s.DefType.PATH});return i.arrayTuples(t,n.concat(void 0)).reduce(i.unnestR,[]).filter(function(e){return""!==e&&a.isDefined(e)})},e.queryParams=function(e){return e._params.filter(function(e){return e.location===s.DefType.SEARCH})},e.compare=function(t,n){var r,o,c=function(t){return t._cache.segments=t._cache.segments||t._cache.path.map(e.pathSegmentsAndParams).reduce(i.unnestR,[]).reduce(l.joinNeighborsR,[]).map(function(e){return a.isString(e)?u(e):e}).reduce(i.unnestR,[])},d=function(e){return e._cache.weights=e._cache.weights||c(e).map(function(e){return"/"===e?1:a.isString(e)?2:e instanceof s.Param?3:void 0})},f=i.arrayTuples(d(t),d(n));for(o=0;o<f.length;o++)if(0!==(r=f[o][0]-f[o][1]))return r;return 0},e}();d.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,t.UrlMatcher=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62),i=n(6),o=n(1),a=function(){function e(e,t){var n=this;this.fireAfterUpdate=t,this._listener=function(e){return n._listeners.forEach(function(t){return t(e)})},this._listeners=[],this.hash=function(){return r.parseUrl(n._get()).hash},this.path=function(){return r.parseUrl(n._get()).path},this.search=function(){return r.getParams(r.parseUrl(n._get()).search)},this._location=window&&window.location,this._history=window&&window.history}return e.prototype.url=function(e,t){if(void 0===t&&(t=!0),i.isDefined(e)&&e!==this._get()&&(this._set(null,null,e,t),this.fireAfterUpdate)){var n=o.extend(new Event("locationchange"),{url:e});this._listeners.forEach(function(e){return e(n)})}return r.buildUrl(this)},e.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return o.removeFrom(t._listeners,e)}},e.prototype.dispose=function(e){o.deregAll(this._listeners)},e}();t.BaseLocationServices=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e?document.cookie.split(";").some(function(t){return 0==t.trim().indexOf(e)}):void console.warn("No key passed. Cannot check cookies.")},i=function(e){if(r(e)){var t=document.cookie.split(";").find(function(t){return t.trim().startsWith(e+"=")});return"string"==typeof t||t instanceof String?t.split("=")[1]:void console.warn("No cookie of key '"+e+"' found")}},o=function(e,t){document.cookie=e+"="+t+"; max-age=31536000; path=/;"},a=function(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;"},s=function(e){return[2,5,6].includes(Number(e))},l=function(e){if(Number(e)){var t=s(e)?"Teacher":"Finance Professional";t!==i("user-type")&&o("user-type",t)}},c=function(e){e&&e!==i("gtm_uid")&&o("gtm_uid",e)};t.setUserCookiesForGtm=function(e){var t=e.cpUsers__cpUsersTypes_recordNumber,n=e.cpUsers_uuid;l(t),c(n)},t.removeUserCookiesForGtm=function(){a("gtm_uid"),a("user-type")}},function(e,t,n){"use strict";var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":i(window))&&(r=window)}e.exports=r},function(e,t,n){"use strict";var r=n(5),i=n(4).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){"use strict";var r=n(13),i=n(4),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(38)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";t.f=n(8)},function(e,t,n){"use strict";var r=n(84)("keys"),i=n(37);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){"use strict";var r=n(29);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(4).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(5),i=n(3),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(27)(Function.call,n(24).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){"use strict";e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(5),i=n(90).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},function(e,t,n){"use strict";var r=n(23),i=n(30);e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t,n){"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){"use strict";var r=Math.expm1;e.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:r},function(e,t,n){"use strict";var r=n(23),i=n(30);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(38),i=n(0),o=n(15),a=n(19),s=n(46),l=n(134),c=n(45),u=n(43),d=n(8)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,m,g){l(n,t,h);var y,$,b,w=function(e){if(!f&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S="values"==v,E=!1,C=e.prototype,T=C[d]||C["@@iterator"]||v&&C[v],_=T||w(v),A=v?S?w("entries"):_:void 0,k="Array"==t?C.entries||T:T;if(k&&(b=u(k.call(new e)))!==Object.prototype&&b.next&&(c(b,x,!0),r||"function"==typeof b[d]||a(b,d,p)),S&&T&&"values"!==T.name&&(E=!0,_=function(){return T.call(this)}),r&&!g||!f&&!E&&C[d]||a(C,d,_),s[t]=_,s[x]=p,v)if(y={values:S?_:w("values"),keys:m?_:w("keys"),entries:A},g)for($ in y)$ in C||o(C,$,y[$]);else i(i.P+i.F*(f||E),t,y);return y}},function(e,t,n){"use strict";var r=n(99),i=n(30);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){"use strict";var r=n(5),i=n(29),o=n(8)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){"use strict";var r=n(8)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";var r=n(46),i=n(8)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(10),i=n(36);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(57),i=n(8)("iterator"),o=n(46);e.exports=n(13).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";var r=n(16),i=n(40),o=n(9);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(47),i=n(138),o=n(46),a=n(20);e.exports=n(97)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(67),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=void 0!==/()??/.exec("")[1];(s||l)&&(a=function(e){var t,n,a,c,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",r.call(u))),s&&(t=u.lastIndex),a=i.call(u,e),s&&a&&(u.lastIndex=u.global?a.index+a[0].length:t),l&&a&&a.length>1&&o.call(a[0],n,function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(a[c]=void 0)}),a}),e.exports=a},function(e,t,n){"use strict";var r=n(96)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r,i,o,a=n(27),s=n(128),l=n(89),c=n(83),u=n(4),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,v=u.Dispatch,m=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},$=function(e){y.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},p=function(e){delete g[e]},"process"==n(29)(d)?r=function(e){d.nextTick(a(y,e,1))}:v&&v.now?r=function(e){v.now(a(y,e,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=$,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",$,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:f,clear:p}},function(e,t,n){"use strict";function r(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,l=(1<<s)-1,c=l>>1,u=23===t?j(2,-24)-j(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for(e=R(e),e!=e||e===M?(i=e!=e?1:0,r=l):(r=U(L(e)/q),e*(o=j(2,-r))<1&&(r--,o*=2),e+=r+c>=1?u/o:u*j(2,1-c),e*o>=2&&(r++,o/=2),r+c>=l?(i=0,r=l):r+c>=1?(i=(e*o-1)*j(2,t),r+=c):(i=e*j(2,c-1)*j(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a}function i(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===u)u=1-a;else{if(u===o)return r?NaN:c?-M:M;r+=j(2,t),u-=a}return(c?-1:1)*r*j(2,u-t)}function o(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function a(e){return[255&e]}function s(e){return[255&e,e>>8&255]}function l(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function c(e){return r(e,52,8)}function u(e){return r(e,23,4)}function d(e,t,n){T(e[k],t,{get:function(){return this[n]}})}function f(e,t,n,r){var i=+n,o=E(i);if(o+t>e[H])throw I(N);var a=e[V]._b,s=o+e[B],l=a.slice(s,s+t);return r?l:l.reverse()}function p(e,t,n,r,i,o){var a=+n,s=E(a);if(s+t>e[H])throw I(N);for(var l=e[V]._b,c=s+e[B],u=r(+i),d=0;d<t;d++)l[c+d]=u[o?d:t-d-1]}var h=n(4),v=n(12),m=n(38),g=n(73),y=n(19),$=n(50),b=n(2),w=n(49),x=n(23),S=n(9),E=n(146),C=n(42).f,T=n(10).f,_=n(104),A=n(45),k="prototype",N="Wrong index!",P=h.ArrayBuffer,O=h.DataView,D=h.Math,I=h.RangeError,M=h.Infinity,F=P,R=D.abs,j=D.pow,U=D.floor,L=D.log,q=D.LN2,V=v?"_b":"buffer",H=v?"_l":"byteLength",B=v?"_o":"byteOffset";if(g.ABV){if(!b(function(){P(1)})||!b(function(){new P(-1)})||b(function(){return new P,new P(1.5),new P(NaN),"ArrayBuffer"!=P.name})){P=function(e){return w(this,P),new F(E(e))};for(var W,z=P[k]=F[k],G=C(F),Y=0;G.length>Y;)(W=G[Y++])in P||y(P,W,F[W]);m||(z.constructor=P)}var K=new O(new P(2)),J=O[k].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||$(O[k],{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},!0)}else P=function(e){w(this,P,"ArrayBuffer");var t=E(e);this._b=_.call(new Array(t),0),this[H]=t},O=function(e,t,n){w(this,O,"DataView"),w(e,P,"DataView");var r=e[H],i=x(t);if(i<0||i>r)throw I("Wrong offset!");if(n=void 0===n?r-i:S(n),i+n>r)throw I("Wrong length!");this[V]=e,this[B]=i,this[H]=n},v&&(d(P,"byteLength","_l"),d(O,"buffer","_b"),d(O,"byteLength","_l"),d(O,"byteOffset","_o")),$(O[k],{getInt8:function(e){return f(this,1,e)[0]<<24>>24},getUint8:function(e){return f(this,1,e)[0]},getInt16:function(e){var t=f(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=f(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return o(f(this,4,e,arguments[1]))},getUint32:function(e){return o(f(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return i(f(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return i(f(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){p(this,1,e,a,t)},setUint8:function(e,t){p(this,1,e,a,t)},setInt16:function(e,t){p(this,2,e,s,t,arguments[2])},setUint16:function(e,t){p(this,2,e,s,t,arguments[2])},setInt32:function(e,t){p(this,4,e,l,t,arguments[2])},setUint32:function(e,t){p(this,4,e,l,t,arguments[2])},setFloat32:function(e,t){p(this,4,e,u,t,arguments[2])},setFloat64:function(e,t){p(this,8,e,c,t,arguments[2])}});A(P,"ArrayBuffer"),A(O,"DataView"),y(O[k],g.VIEW,!0),t.ArrayBuffer=P,t.DataView=O},function(e,t,n){"use strict";n(343),e.exports=angular},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(7),o=n(75),a=n(6),s=function(){function e(t){return e.create(t||{})}return e.create=function(t){t=e.isStateClass(t)?new t:t;var n=r.inherit(r.inherit(t,e.prototype));return t.$$state=function(){return n},n.self=t,n.__stateObjectCache={nameGlob:o.Glob.fromString(n.name)},n},e.prototype.is=function(e){return this===e||this.self===e||this.fqn()===e},e.prototype.fqn=function(){if(!(this.parent&&this.parent instanceof this.constructor))return this.name;var e=this.parent.fqn();return e?e+"."+this.name:this.name},e.prototype.root=function(){return this.parent&&this.parent.root()||this},e.prototype.parameters=function(e){return e=r.defaults(e,{inherit:!0,matchingKeys:null}),(e.inherit&&this.parent&&this.parent.parameters()||[]).concat(r.values(this.params)).filter(function(t){return!e.matchingKeys||e.matchingKeys.hasOwnProperty(t.id)})},e.prototype.parameter=function(e,t){return void 0===t&&(t={}),this.url&&this.url.parameter(e,t)||r.find(r.values(this.params),i.propEq("id",e))||t.inherit&&this.parent&&this.parent.parameter(e)},e.prototype.toString=function(){return this.fqn()},e}();s.isStateClass=function(e){return a.isFunction(e)&&!0===e.__uiRouterState},s.isState=function(e){return a.isObject(e.__stateObjectCache)},t.StateObject=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&t.shift(),e},e.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},e.prototype.clear=function(){var e=this._items;return this._items=[],e},e.prototype.size=function(){return this._items.length},e.prototype.remove=function(e){var t=this._items.indexOf(e);return t>-1&&this._items.splice(t,1)[0]},e.prototype.peekTail=function(){return this._items[this._items.length-1]},e.prototype.peekHead=function(){if(this.size())return this._items[0]},e}();t.Queue=r},function(e,t,n){"use strict";function r(e,t){function n(e){for(var t=r,n=0;n<t.length;n++){var i=new l.Glob(t[n]);if(i&&i.matches(e.name)||!i&&t[n]===e.name)return!0}return!1}var r=a.isString(t)?[t]:t;return!!(a.isFunction(r)?r:n)(e)}function i(e,t,n){function r(e,r,i){void 0===i&&(i={});var s=new c(t,n,r,e,i);return a.push(s),function(){s._deregistered=!0,o.removeFrom(a)(s)}}var i=e._registeredHooks=e._registeredHooks||{},a=i[n.name]=[];return e[n.name]=r,r}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(6),s=n(52),l=n(75);t.matchState=r;var c=function(){function e(e,t,n,r,i){void 0===i&&(i={}),this.tranSvc=e,this.eventType=t,this.callback=n,this.matchCriteria=r,this.priority=i.priority||0,this.bind=i.bind||null,this._deregistered=!1}return e.prototype._matchingNodes=function(e,t){if(!0===t)return e;var n=e.filter(function(e){return r(e.state,t)});return n.length?n:null},e.prototype._getDefaultMatchCriteria=function(){return o.map(this.tranSvc._pluginapi._getPathTypes(),function(){return!0})},e.prototype._getMatchingNodes=function(e){var t=this,n=o.extend(this._getDefaultMatchCriteria(),this.matchCriteria);return o.values(this.tranSvc._pluginapi._getPathTypes()).reduce(function(r,i){var a=i.scope===s.TransitionHookScope.STATE,l=e[i.name]||[],c=a?l:[o.tail(l)];return r[i.name]=t._matchingNodes(c,n[i.name]),r},{})},e.prototype.matches=function(e){var t=this._getMatchingNodes(e);return o.values(t).every(o.identity)?t:null},e}();t.RegisteredHook=c,t.makeEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(7),o=n(53),a=function(){function e(t){if(t instanceof e){var n=t;this.state=n.state,this.paramSchema=n.paramSchema.slice(),this.paramValues=r.extend({},n.paramValues),this.resolvables=n.resolvables.slice(),this.views=n.views&&n.views.slice()}else{var i=t;this.state=i,this.paramSchema=i.parameters({inherit:!1}),this.paramValues={},this.resolvables=i.resolvables.map(function(e){return e.clone()})}}return e.prototype.applyRawParams=function(e){var t=function(t){return[t.id,t.value(e[t.id])]};return this.paramValues=this.paramSchema.reduce(function(e,n){return r.applyPairs(e,t(n))},{}),this},e.prototype.parameter=function(e){return r.find(this.paramSchema,i.propEq("id",e))},e.prototype.equals=function(e,t){var n=this.diff(e,t);return n&&0===n.length},e.prototype.diff=function(e,t){if(this.state!==e.state)return!1;var n=t?t(this):this.paramSchema;return o.Param.changed(n,this.paramValues,e.paramValues)},e.clone=function(t){return new e(t)},e}();t.PathNode=a},function(e,t,n){"use strict";function r(e,t){function n(e){return o.isArray(e)?e:o.isDefined(e)?[e]:[]}function r(e){switch(e.length){case 0:return;case 1:return"auto"===t?e[0]:e;default:return e}}function a(e,t){return function(a){if(o.isArray(a)&&0===a.length)return a;var s=n(a),l=i.map(s,e);return!0===t?0===i.filter(l,function(e){return!e}).length:r(l)}}function s(e){return function(t,r){var i=n(t),o=n(r);if(i.length!==o.length)return!1;for(var a=0;a<i.length;a++)if(!e(i[a],o[a]))return!1;return!0}}var l=this;["encode","decode","equals","$normalize"].forEach(function(t){var n=e[t].bind(e),r="equals"===t?s:a;l[t]=r(n)}),i.extend(this,{dynamic:e.dynamic,name:e.name,pattern:e.pattern,inherit:e.inherit,is:a(e.is.bind(e),!0),$arrayMode:t})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(6),a=function(){function e(e){this.pattern=/.*/,this.inherit=!0,i.extend(this,e)}return e.prototype.is=function(e,t){return!0},e.prototype.encode=function(e,t){return e},e.prototype.decode=function(e,t){return e},e.prototype.equals=function(e,t){return e==t},e.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},e.prototype.toString=function(){return"{ParamType:"+this.name+"}"},e.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},e.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new r(this,e)},e}();t.ParamType=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(52),i=n(76),o=n(113),a=n(352),s=n(353),l=n(354),c=n(355),u=n(356),d=n(357),f=n(358),p=n(166),h=n(167),v=n(60),m=n(6),g=n(1),y=n(7),$=n(359),b=n(360);t.defaultTransOpts={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,custom:{},current:function(){return null},source:"unknown"};var w=function(){function e(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=g.createProxyFunctions(y.val(this),{},y.val(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks()}return e.prototype.onCreate=function(e,t,n){},e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.dispose=function(e){g.values(this._registeredHooks).forEach(function(e){return e.forEach(function(t){t._deregistered=!0,g.removeFrom(e,t)})})},e.prototype.create=function(e,t){return new i.Transition(e,t,this._router)},e.prototype._defineCoreEvents=function(){var e=r.TransitionHookPhase,t=v.TransitionHook,n=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,n.to,!1,t.LOG_REJECTED_RESULT,t.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,n.to),this._defineEvent("onStart",e.RUN,0,n.to),this._defineEvent("onExit",e.RUN,100,n.exiting,!0),this._defineEvent("onRetain",e.RUN,200,n.retained),this._defineEvent("onEnter",e.RUN,300,n.entering),this._defineEvent("onFinish",e.RUN,400,n.to),this._defineEvent("onSuccess",e.SUCCESS,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0)},e.prototype._defineCorePaths=function(){var e=r.TransitionHookScope.STATE,t=r.TransitionHookScope.TRANSITION;this._definePathType("to",t),this._definePathType("from",t),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},e.prototype._defineEvent=function(e,t,n,r,i,a,s,l){void 0===i&&(i=!1),void 0===a&&(a=v.TransitionHook.HANDLE_RESULT),void 0===s&&(s=v.TransitionHook.REJECT_ERROR),void 0===l&&(l=!1);var c=new h.TransitionEventType(e,t,n,r,i,a,s,l);this._eventTypes.push(c),o.makeEvent(this,this,c)},e.prototype._getEvents=function(e){return(m.isDefined(e)?this._eventTypes.filter(function(t){return t.hookPhase===e}):this._eventTypes.slice()).sort(function(e,t){var n=e.hookPhase-t.hookPhase;return 0===n?e.hookOrder-t.hookOrder:n})},e.prototype._definePathType=function(e,t){this._criteriaPaths[e]={name:e,scope:t}},e.prototype._getPathTypes=function(){return this._criteriaPaths},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype._registerCoreTransitionHooks=function(){var e=this._deregisterHookFns;e.addCoreResolves=a.registerAddCoreResolvables(this),e.ignored=$.registerIgnoredTransitionHook(this),e.invalid=b.registerInvalidTransitionHook(this),e.redirectTo=s.registerRedirectToHook(this),e.onExit=l.registerOnExitHook(this),e.onRetain=l.registerOnRetainHook(this),e.onEnter=l.registerOnEnterHook(this),e.eagerResolve=c.registerEagerResolvePath(this),e.lazyResolve=c.registerLazyResolveState(this),e.loadViews=u.registerLoadEnteringViews(this),e.activateViews=u.registerActivateViews(this),e.updateGlobals=d.registerUpdateGlobalState(this),e.updateUrl=f.registerUpdateUrl(this),e.lazyLoad=p.registerLazyLoadHook(this)},e}();t.TransitionService=w},function(e,t,n){"use strict";function r(e){function t(e,t,r,i,o,a){return n._runtimeServices(i,e,r,t),delete $.router,delete $.$get,$}$=this.router=new s.UIRouter,$.stateProvider=new u.StateProvider($.stateRegistry,$.stateService),$.stateRegistry.decorator("views",l.ng1ViewsBuilder),$.stateRegistry.decorator("onExit",d.getStateHookBuilder("onExit")),$.stateRegistry.decorator("onRetain",d.getStateHookBuilder("onRetain")),$.stateRegistry.decorator("onEnter",d.getStateHookBuilder("onEnter")),$.viewService._pluginapi._viewConfigFactory("ng1",l.getNg1ViewConfigFactory());var n=$.locationService=$.locationConfig=new f.Ng1LocationServices(e);return f.Ng1LocationServices.monkeyPatchPathParameterType($),$.router=$,$.$get=t,t.$inject=["$location","$browser","$sniffer","$rootScope","$http","$templateCache"],$}function i(e,t,n){s.services.$injector=e,s.services.$q=t,n.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(s.unnestR,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(t){return t.deps=e.annotate(t.resolveFn)})}function o(e){e.$watch(function(){s.trace.approximateDigests++})}Object.defineProperty(t,"__esModule",{value:!0});var a=n(54),s=n(21),l=n(118),c=n(368),u=n(175),d=n(369),f=n(370),p=n(176);a.ng.module("ui.router.angular1",[]);var h=a.ng.module("ui.router.init",[]),v=a.ng.module("ui.router.util",["ng","ui.router.init"]),m=a.ng.module("ui.router.router",["ui.router.util"]),g=a.ng.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),y=a.ng.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),$=(a.ng.module("ui.router.compat",["ui.router"]),null);r.$inject=["$locationProvider"];var b=function(e){return["$uiRouterProvider",function(t){var n=t.router[e];return n.$get=function(){return n},n}]};i.$inject=["$injector","$q","$uiRouter"];var w=function(e){return e.urlRouterProvider=new p.UrlRouterProvider(e)},x=function(){return s.extend($.stateProvider,{$get:function(){return $.stateService}})};o.$inject=["$rootScope"],t.watchDigests=o,h.provider("$uiRouter",r),m.provider("$urlRouter",["$uiRouterProvider",w]),v.provider("$urlService",b("urlService")),v.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return $.urlMatcherFactory}]),v.provider("$templateFactory",function(){return new c.TemplateFactory}),g.provider("$stateRegistry",b("stateRegistry")),g.provider("$uiRouterGlobals",b("globals")),g.provider("$transitions",b("transitionService")),g.provider("$state",["$uiRouterProvider",x]),g.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),y.factory("$view",function(){return $.viewService}),y.service("$trace",function(){return s.trace}),y.run(o),v.run(["$urlMatcherFactory",function(e){}]),g.run(["$state",function(e){}]),m.run(["$urlRouter",function(e){}]),h.run(i),t.getLocals=function(e){return e.getTokens().filter(s.isString).map(function(t){var n=e.getResolvable(t);return[t,"NOWAIT"===e.getPolicy(n).async?n.promise:n.data]}).reduce(s.applyPairs,{})}},function(e,t,n){"use strict";function r(){var e=null;return function(t,n){return e=e||o.services.$injector.get("$templateFactory"),[new l(t,n,e)]}}function i(e){if(!e.parent)return{};var t=["templateProvider","templateUrl","template","notify","async"],n=["controller","controllerProvider","controllerAs","resolveAs"],r=["component","bindings","componentProvider"],i=t.concat(n),s=r.concat(i);if(o.isDefined(e.views)&&a(s,e))throw new Error("State '"+e.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level.  Move the following properties into a view (in the 'views' object):  "+s.filter(function(t){return o.isDefined(e[t])}).join(", "));var l={},c=e.views||{$default:o.pick(e,s)};return o.forEach(c,function(t,n){if(n=n||"$default",o.isString(t)&&(t={component:t}),t=o.extend({},t),a(r,t)&&a(i,t))throw new Error("Cannot combine: "+r.join("|")+" with: "+i.join("|")+" in stateview: '"+n+"@"+e.name+"'");t.resolveAs=t.resolveAs||"$resolve",t.$type="ng1",t.$context=e,t.$name=n;var s=o.ViewService.normalizeUIViewTarget(t.$context,t.$name);t.$uiViewName=s.uiViewName,t.$uiViewContextAnchor=s.uiViewContextAnchor,l[n]=t}),l}Object.defineProperty(t,"__esModule",{value:!0});var o=n(21);t.getNg1ViewConfigFactory=r;var a=function(e,t){return e.reduce(function(e,n){return e||o.isDefined(t[n])},!1)};t.ng1ViewsBuilder=i;var s=0,l=function(){function e(e,t,n){var r=this;this.path=e,this.viewDecl=t,this.factory=n,this.$id=s++,this.loaded=!1,this.getTemplate=function(e,t){return r.component?r.factory.makeComponentTemplate(e,t,r.component,r.viewDecl.bindings):r.template}}return e.prototype.load=function(){var e=this,t=o.services.$q,n=new o.ResolveContext(this.path),r=this.path.reduce(function(e,t){return o.extend(e,t.paramValues)},{}),i={template:t.when(this.factory.fromConfig(this.viewDecl,r,n)),controller:t.when(this.getController(n))};return t.all(i).then(function(t){return o.trace.traceViewServiceEvent("Loaded",e),e.controller=t.controller,o.extend(e,t.template),e})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!o.isInjectable(t))return this.viewDecl.controller;var n=o.services.$injector.annotate(t),r=o.isArray(t)?o.tail(t):t;return new o.Resolvable("",r,n).get(e)},e}();t.Ng1ViewConfig=l},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports=!n(12)&&!n(2)(function(){return 7!=Object.defineProperty(n(83)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(4),i=n(13),o=n(38),a=n(85),s=n(10).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";var r=n(18),i=n(20),o=n(63)(!1),a=n(86)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){"use strict";var r=n(10),i=n(3),o=n(39);e.exports=n(12)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(20),o=n(42).f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return o(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==a.call(e)?l(e):o(i(e))}},function(e,t,n){"use strict";var r=n(39),i=n(64),o=n(56),a=n(16),s=n(55),l=Object.assign;e.exports=!l||n(2)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=i.f,d=o.f;l>c;)for(var f,p=s(arguments[c++]),h=u?r(p).concat(u(p)):r(p),v=h.length,m=0;v>m;)d.call(p,f=h[m++])&&(n[f]=p[f]);return n}:l},function(e,t,n){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(28),i=n(5),o=n(128),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function r(){var i=n.concat(a.call(arguments));return this instanceof r?l(t,i.length,i):o(t,i,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(4).parseInt,i=n(65).trim,o=n(91),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){"use strict";var r=n(4).parseFloat,i=n(65).trim;e.exports=1/r(n(91)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){"use strict";var r=n(29);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){"use strict";var r=n(5),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){"use strict";e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(41),i=n(36),o=n(45),a={};n(19)(a,n(8)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){"use strict";var r=n(28),i=n(16),o=n(55),a=n(9);e.exports=function(e,t,n,s,l){r(t);var c=i(e),u=o(c),d=a(c.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in u&&(s=t(s,u[f],f,c));return s}},function(e,t,n){"use strict";var r=n(16),i=n(40),o=n(9);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),l=i(t,a),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?a:i(c,a))-l,a-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t,n){"use strict";e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(106);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){"use strict";n(12)&&"g"!=/./g.flags&&n(10).f(RegExp.prototype,"flags",{configurable:!0,get:n(67)})},function(e,t,n){"use strict";var r,i,o,a,s=n(38),l=n(4),c=n(27),u=n(57),d=n(0),f=n(5),p=n(28),h=n(49),v=n(70),m=n(58),g=n(108).set,y=n(291)(),$=n(142),b=n(292),w=n(71),x=n(143),S=l.TypeError,E=l.process,C=E&&E.versions,T=C&&C.v8||"",_=l.Promise,A="process"==u(E),k=function(){},N=i=$.f,P=!!function(){try{var e=_.resolve(1),t=(e.constructor={})[n(8)("species")]=function(e){e(k,k)};return(A||"function"==typeof PromiseRejectionEvent)&&e.then(k)instanceof t&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,o=0;n.length>o;)!function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(i||(2==e._h&&F(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(S("Promise-chain cycle")):(o=O(n))?o.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){g.call(l,function(){var t,n,r,i=e._v,o=M(e);if(o&&(t=b(function(){A?E.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=A||M(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},M=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){g.call(l,function(){var t;A?E.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},j=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw S("Promise can't be resolved itself");(n=O(t))?y(function(){var i={_w:r,_d:!1};try{n.call(t,c(e,i,1),c(R,i,1))}catch(e){R.call(i,e)}}):(r._v=t,r._s=1,D(r,!1))}catch(e){R.call({_w:r,_d:!1},e)}}};P||(_=function(e){h(this,_,"Promise","_h"),p(e),r.call(this);try{e(c(j,this,1),c(R,this,1))}catch(e){R.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(50)(_.prototype,{then:function(e,t){var n=N(m(this,_));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=A?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(j,e,1),this.reject=c(R,e,1)},$.f=N=function(e){return e===_||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!P,{Promise:_}),n(45)(_,"Promise"),n(48)("Promise"),a=n(13).Promise,d(d.S+d.F*!P,"Promise",{reject:function(e){var t=N(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!P),"Promise",{resolve:function(e){return x(s&&this===a?_:this,e)}}),d(d.S+d.F*!(P&&n(66)(function(e){_.all(e).catch(k)})),"Promise",{all:function(e){var t=this,n=N(t),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,a=1;v(e,!1,function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=N(t),r=n.reject,i=b(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=i(t),this.reject=i(n)}var i=n(28);e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";var r=n(3),i=n(5),o=n(142);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(10).f,i=n(41),o=n(50),a=n(27),s=n(49),l=n(70),c=n(97),u=n(138),d=n(48),f=n(12),p=n(33).fastKey,h=n(51),v=f?"_s":"size",m=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[v]=0,void 0!=r&&l(r,n,e[c],e)});return o(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=h(this,t),r=m(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!m(h(this,t),e)}}),f&&r(u.prototype,"size",{get:function(){return h(this,t)[v]}}),u},def:function(e,t,n){var r,i,o=m(e,t);return o?o.v=n:(e._l=o={i:i=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[v]++,"F"!==i&&(e._i[i]=o)),e},getEntry:m,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?u(0,n.k):"values"==t?u(0,n.v):u(0,[n.k,n.v]):(e._t=void 0,u(1))},n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(50),i=n(33).getWeak,o=n(3),a=n(5),s=n(49),l=n(70),c=n(26),u=n(18),d=n(51),f=c(5),p=c(6),h=0,v=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},g=function(e,t){return f(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&l(r,n,e[o],e)});return r(c.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?v(d(this,t)).delete(e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?v(d(this,t)).has(e):n&&u(n,this._i)}}),c},def:function(e,t,n){var r=i(o(t),!0);return!0===r?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},function(e,t,n){"use strict";var r=n(23),i=n(9);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){"use strict";var r=n(42),i=n(64),o=n(3),a=n(4).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){"use strict";var r=n(9),i=n(93),o=n(30);e.exports=function(e,t,n,a){var s=String(o(e)),l=s.length,c=void 0===n?" ":String(n),u=r(t);if(u<=l||""==c)return s;var d=u-l,f=i.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(e,t,n){"use strict";var r=n(39),i=n(20),o=n(56).f;e.exports=function(e){return function(t){for(var n,a=i(t),s=r(a),l=s.length,c=0,u=[];l>c;)o.call(a,n=s[c++])&&u.push(e?[n,a[n]]:a[n]);return u}}},function(e,t,n){"use strict";function r(e){return void 0===e&&(e=!1),function(t,n){var r=e?-1:1,i=(t.node.state.path.length-n.node.state.path.length)*r;return 0!==i?i:n.hook.priority-t.hook.priority}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(6),a=n(52),s=n(60),l=function(){function e(e){this.transition=e}return e.prototype.buildHooksForPhase=function(e){var t=this;return this.transition.router.transitionService._pluginapi._getEvents(e).map(function(e){return t.buildHooks(e)}).reduce(i.unnestR,[]).filter(i.identity)},e.prototype.buildHooks=function(e){var t=this.transition,n=t.treeChanges(),o=this.getMatchingHooks(e,n);if(!o)return[];var l={transition:t,current:t.options().current},c=function(r){return r.matches(n)[e.criteriaMatchPath.name].map(function(n){var o=i.extend({bind:r.bind,traceData:{hookType:e.name,context:n}},l),c=e.criteriaMatchPath.scope===a.TransitionHookScope.STATE?n.state.self:null,u=new s.TransitionHook(t,c,r,o);return{hook:r,node:n,transitionHook:u}})};return o.map(c).reduce(i.unnestR,[]).sort(r(e.reverseSort)).map(function(e){return e.transitionHook})},e.prototype.getMatchingHooks=function(e,t){var n=e.hookPhase===a.TransitionHookPhase.CREATE,r=this.transition.router.transitionService;return(n?[r]:[this.transition,r]).map(function(t){return t.getHooks(e.name)}).filter(i.assertPredicate(o.isArray,"broken event named: "+e.name)).reduce(i.unnestR,[]).filter(function(e){return e.matches(t)})},e}();t.HookBuilder=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolvePolicies={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT",RXWAIT:"RXWAIT"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(7),a=n(14),s=n(115),l=function(){function e(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=r.pick(e.prototype,["hash","string","query","path","int","bool","date","json","any"]);var t=function(e,t){return new s.ParamType(r.extend({name:t},e))};this.types=r.inherit(r.map(this.defaultTypes,t),{})}return e.prototype.dispose=function(){this.types={}},e.prototype.type=function(e,t,n){if(!i.isDefined(t))return this.types[e];if(this.types.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return this.types[e]=new s.ParamType(r.extend({name:e},t)),n&&(this.typeQueue.push({name:e,def:n}),this.enqueue||this._flushTypeQueue()),this},e.prototype._flushTypeQueue=function(){for(;this.typeQueue.length;){var e=this.typeQueue.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");r.extend(this.types[e.name],a.services.$injector.invoke(e.def))}},e}();t.ParamTypes=l,function(){var e=function(e){var t=function(e){return null!=e?e.toString():e},n={encode:t,decode:t,is:o.is(String),pattern:/.*/,equals:function(e,t){return e==t}};return r.extend({},n,e)};r.extend(l.prototype,{string:e({}),path:e({pattern:/[^/]*/}),query:e({}),hash:e({inherit:!1}),int:e({decode:function(e){return parseInt(e,10)},is:function(e){return!i.isNullOrUndefined(e)&&this.decode(e.toString())===e},pattern:/-?\d+/}),bool:e({encode:function(e){return e&&1||0},decode:function(e){return 0!==parseInt(e,10)},is:o.is(Boolean),pattern:/0|1/}),date:e({encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):void 0},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):void 0},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return["getFullYear","getMonth","getDate"].reduce(function(n,r){return n&&e[r]()===t[r]()},!0)},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/}),json:e({encode:r.toJson,decode:r.fromJson,is:o.is(Object),equals:r.equals,pattern:/[^/]*/}),any:e({encode:r.identity,decode:r.identity,is:function(){return!0},equals:r.equals})})}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e){void 0===e&&(e={}),r.extend(this,e)}return e.prototype.$inherit=function(e,t,n){var i,o=r.ancestors(t,n),a={},s=[];for(var l in o)if(o[l]&&o[l].params&&(i=Object.keys(o[l].params),i.length))for(var c in i)s.indexOf(i[c])>=0||(s.push(i[c]),a[i[c]]=this[i[c]]);return r.extend({},a,e)},e}();t.StateParams=i},function(e,t,n){"use strict";function r(e){return e.name}function i(e){return e.self.$$state=function(){return e},e.self}function o(e){return e.parent&&e.parent.data&&(e.data=e.self.data=c.inherit(e.parent.data,e.data)),e.data}function a(e){return e.parent?e.parent.path.concat(e):[e]}function s(e){var t=e.parent?c.extend({},e.parent.includes):{};return t[e.name]=!0,t}function l(e){var t=function(e){var t=h.services.$injector;return e.$inject||t&&t.annotate(e,t.strictDi)||"deferred"},n=function(e){return!(!e.token||!e.resolveFn)},r=function(e){return!(!e.provide&&!e.token||!(e.useValue||e.useFactory||e.useExisting||e.useClass))},i=function(e){return!!(e&&e.val&&(u.isString(e.val)||u.isArray(e.val)||u.isFunction(e.val)))},o=function(e){return e.provide||e.token},a=f.pattern([[f.prop("resolveFn"),function(e){return new p.Resolvable(o(e),e.resolveFn,e.deps,e.policy)}],[f.prop("useFactory"),function(e){return new p.Resolvable(o(e),e.useFactory,e.deps||e.dependencies,e.policy)}],[f.prop("useClass"),function(e){return new p.Resolvable(o(e),function(){return new e.useClass},[],e.policy)}],[f.prop("useValue"),function(e){return new p.Resolvable(o(e),function(){return e.useValue},[],e.policy,e.useValue)}],[f.prop("useExisting"),function(e){return new p.Resolvable(o(e),c.identity,[e.useExisting],e.policy)}]]),s=f.pattern([[f.pipe(f.prop("val"),u.isString),function(e){return new p.Resolvable(e.token,c.identity,[e.val],e.policy)}],[f.pipe(f.prop("val"),u.isArray),function(e){return new p.Resolvable(e.token,c.tail(e.val),e.val.slice(0,-1),e.policy)}],[f.pipe(f.prop("val"),u.isFunction),function(e){return new p.Resolvable(e.token,e.val,t(e.val),e.policy)}]]),l=f.pattern([[f.is(p.Resolvable),function(e){return e}],[n,a],[r,a],[i,s],[f.val(!0),function(e){throw new Error("Invalid resolve value: "+d.stringify(e))}]]),v=e.resolve;return(u.isArray(v)?v:function(e,t){return Object.keys(e||{}).map(function(n){return{token:n,val:e[n],deps:void 0,policy:t[n]}})}(v,e.resolvePolicy||{})).map(l)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(1),u=n(6),d=n(34),f=n(7),p=n(61),h=n(14),v=function(e){if(!u.isString(e))return!1;var t="^"===e.charAt(0);return{val:t?e.substring(1):e,root:t}},m=function(e,t){return function(n){var r=n;r&&r.url&&r.name&&r.name.match(/\.\*\*$/)&&(r.url+="{remainder:any}");var i=v(r.url),o=n.parent,a=i?e.compile(i.val,{params:n.params||{},paramMap:function(e,t){return!1===r.reloadOnSearch&&t&&(e=c.extend(e||{},{dynamic:!0})),e}}):r.url;if(!a)return null;if(!e.isMatcher(a))throw new Error("Invalid url '"+a+"' in state '"+n+"'");return i&&i.root?a:(o&&o.navigable||t()).url.append(a)}},g=function(e){return function(t){return!e(t)&&t.url?t:t.parent?t.parent.navigable:null}},y=function(e){return function(t){var n=function(t,n){return e.fromConfig(n,null,t)},r=t.url&&t.url.parameters({inherit:!1})||[],i=c.values(c.mapObj(c.omit(t.params||{},r.map(f.prop("id"))),n));return r.concat(i).map(function(e){return[e.id,e]}).reduce(c.applyPairs,{})}};t.resolvablesBuilder=l;var $=function(){function e(e,t){function n(t){return d(t)?null:e.find(c.parentName(t))||u()}this.matcher=e;var c=this,u=function(){return e.find("")},d=function(e){return""===e.name};this.builders={name:[r],self:[i],parent:[n],data:[o],url:[m(t,u)],navigable:[g(d)],params:[y(t.paramFactory)],views:[],path:[a],includes:[s],resolvables:[l]}}return e.prototype.builder=function(e,t){var n=this.builders,r=n[e]||[];return u.isString(e)&&!u.isDefined(t)?r.length>1?r:r[0]:u.isString(e)&&u.isFunction(t)?(n[e]=r,n[e].push(t),function(){return n[e].splice(n[e].indexOf(t,1))&&null}):void 0},e.prototype.build=function(e){var t=this,n=t.matcher,r=t.builders,i=this.parentName(e);if(i&&!n.find(i,void 0,!1))return null;for(var o in r)if(r.hasOwnProperty(o)){var a=r[o].reduce(function(e,t){return function(n){return t(n,e)}},c.noop);e[o]=a(e)}return e},e.prototype.parentName=function(e){var t=e.name||"",n=t.split(".");if(n.length>1){if(e.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+t+")");return"**"===n.pop()&&n.pop(),n.join(".")}return e.parent?u.isString(e.parent)?e.parent:e.parent.name:""},e.prototype.name=function(e){var t=e.name;if(-1!==t.indexOf(".")||!e.parent)return t;var n=u.isString(e.parent)?e.parent:e.parent.name;return n?n+"."+t:t},e}();t.StateBuilder=$},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=n(1),o=function(){function e(e){this._states=e}return e.prototype.isRelative=function(e){return e=e||"",0===e.indexOf(".")||0===e.indexOf("^")},e.prototype.find=function(e,t,n){if(void 0===n&&(n=!0),e||""===e){var o=r.isString(e),a=o?e:e.name;this.isRelative(a)&&(a=this.resolvePath(a,t));var s=this._states[a];if(s&&(o||!(o||s!==e&&s.self!==e)))return s;if(o&&n){var l=i.values(this._states),c=l.filter(function(e){return e.__stateObjectCache.nameGlob&&e.__stateObjectCache.nameGlob.matches(a)});return c.length>1&&console.log("stateMatcher.find: Found multiple matches for "+a+" using glob: ",c.map(function(e){return e.name})),c[0]}}},e.prototype.resolvePath=function(e,t){if(!t)throw new Error("No reference point given for path '"+e+"'");for(var n=this.find(t),r=e.split("."),i=0,o=r.length,a=n;i<o;i++)if(""!==r[i]||0!==i){if("^"!==r[i])break;if(!a.parent)throw new Error("Path '"+e+"' not valid for state '"+n.name+"'");a=a.parent}else a=n;var s=r.slice(i).join(".");return a.name+(a.name&&s?".":"")+s},e}();t.StateMatcher=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(111),a=n(7),s=function(){function e(e,t,n,r,i){this.$registry=e,this.$urlRouter=t,this.states=n,this.builder=r,this.listeners=i,this.queue=[],this.matcher=e.matcher}return e.prototype.dispose=function(){this.queue=[]},e.prototype.register=function(e){var t=this.queue,n=o.StateObject.create(e),s=n.name;if(!i.isString(s))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(s)||r.inArray(t.map(a.prop("name")),s))throw new Error("State '"+s+"' is already defined");return t.push(n),this.flush(),n},e.prototype.flush=function(){for(var e=this,t=this,n=t.queue,r=t.states,i=t.builder,o=[],a=[],s={},l=function(t){return e.states.hasOwnProperty(t)&&e.states[t]};n.length>0;){var c=n.shift(),u=c.name,d=i.build(c),f=a.indexOf(c);if(d){var p=l(u);if(p&&p.name===u)throw new Error("State '"+u+"' is already defined");var h=l(u+".**");h&&this.$registry.deregister(h),r[u]=c,this.attachRoute(c),f>=0&&a.splice(f,1),o.push(c)}else{var v=s[u];if(s[u]=n.length,f>=0&&v===n.length)return n.push(c),r;f<0&&a.push(c),n.push(c)}}return o.length&&this.listeners.forEach(function(e){return e("registered",o.map(function(e){return e.self}))}),r},e.prototype.attachRoute=function(e){!e.abstract&&e.url&&this.$urlRouter.rule(this.$urlRouter.urlRuleFactory.create(e))},e}();t.StateQueueManager=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(155),i=n(154),o=n(156),a=n(1),s=n(7),l=function(){function e(e){this._router=e,this.states={},this.listeners=[],this.matcher=new r.StateMatcher(this.states),this.builder=new i.StateBuilder(this.matcher,e.urlMatcherFactory),this.stateQueue=new o.StateQueueManager(this,e.urlRouter,this.states,this.builder,this.listeners),this._registerRoot()}return e.prototype._registerRoot=function(){var e={name:"",url:"^",views:null,params:{"#":{value:null,type:"hash",dynamic:!0}},abstract:!0};(this._root=this.stateQueue.register(e)).navigable=null},e.prototype.dispose=function(){var e=this;this.stateQueue.dispose(),this.listeners=[],this.get().forEach(function(t){return e.get(t)&&e.deregister(t)})},e.prototype.onStatesChanged=function(e){return this.listeners.push(e),function(){a.removeFrom(this.listeners)(e)}.bind(this)},e.prototype.root=function(){return this._root},e.prototype.register=function(e){return this.stateQueue.register(e)},e.prototype._deregisterTree=function(e){var t=this,n=this.get().map(function(e){return e.$$state()}),r=function e(t){var r=n.filter(function(e){return-1!==t.indexOf(e.parent)});return 0===r.length?r:r.concat(e(r))}([e]),i=[e].concat(r).reverse();return i.forEach(function(e){var n=t._router.urlRouter;n.rules().filter(s.propEq("state",e)).forEach(n.removeRule.bind(n)),delete t.states[e.name]}),i},e.prototype.deregister=function(e){var t=this.get(e);if(!t)throw new Error("Can't deregister state; not found: "+e);var n=this._deregisterTree(t.$$state());return this.listeners.forEach(function(e){return e("deregistered",n.map(function(e){return e.self}))}),n},e.prototype.get=function(e,t){var n=this;if(0===arguments.length)return Object.keys(this.states).map(function(e){return n.states[e].self});var r=this.matcher.find(e,t);return r&&r.self||null},e.prototype.decorator=function(e,t){return this.builder.builder(e,t)},e}();t.StateRegistry=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(112),a=n(14),s=n(77),l=n(114),c=n(116),u=n(59),d=n(44),f=n(53),p=n(75),h=n(78),v=n(166),m=n(7),g=function(){function e(t){this.router=t,this.invalidCallbacks=[],this._defaultErrorHandler=function(e){e instanceof Error&&e.stack?(console.error(e),console.error(e.stack)):e instanceof u.Rejection?(console.error(e.toString()),e.detail&&e.detail.stack&&console.error(e.detail.stack)):console.error(e)};var n=["current","$current","params","transition"],i=Object.keys(e.prototype).filter(m.not(r.inArray(n)));r.createProxyFunctions(m.val(e.prototype),this,m.val(this),i)}return Object.defineProperty(e.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.defaultErrorHandler(r.noop),this.invalidCallbacks=[]},e.prototype._handleInvalidTargetState=function(e,t){function n(){var e=p.dequeue();return void 0===e?u.Rejection.invalid(t.error()).toPromise():a.services.$q.when(e(t,i,v)).then(m).then(function(e){return e||n()})}var r=this,i=s.PathUtils.makeTargetState(e),l=this.router.globals,c=function(){return l.transitionHistory.peekTail()},f=c(),p=new o.Queue(this.invalidCallbacks.slice()),v=new h.ResolveContext(e).injector(),m=function(e){if(e instanceof d.TargetState){var t=e;return t=r.target(t.identifier(),t.params(),t.options()),t.valid()?c()!==f?u.Rejection.superseded().toPromise():r.transitionTo(t.identifier(),t.params(),t.options()):u.Rejection.invalid(t.error()).toPromise()}};return n()},e.prototype.onInvalid=function(e){return this.invalidCallbacks.push(e),function(){r.removeFrom(this.invalidCallbacks)(e)}.bind(this)},e.prototype.reload=function(e){return this.transitionTo(this.current,this.params,{reload:!i.isDefined(e)||e,inherit:!1,notify:!1})},e.prototype.go=function(e,t,n){var i={relative:this.$current,inherit:!0},o=r.defaults(n,i,c.defaultTransOpts);return this.transitionTo(e,t,o)},e.prototype.target=function(e,t,n){if(void 0===n&&(n={}),i.isObject(n.reload)&&!n.reload.name)throw new Error("Invalid reload state object");var r=this.router.stateRegistry;if(n.reloadState=!0===n.reload?r.root():r.matcher.find(n.reload,n.relative),n.reload&&!n.reloadState)throw new Error("No such reload state '"+(i.isString(n.reload)?n.reload:n.reload.name)+"'");var o=r.matcher.find(e,n.relative);return new d.TargetState(e,o,t,n)},e.prototype.getCurrentPath=function(){var e=this,t=this.router.globals,n=t.successfulTransitions.peekTail();return n?n.treeChanges().to:function(){return[new l.PathNode(e.router.stateRegistry.root())]}()},e.prototype.transitionTo=function(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n={});var o=this.router,s=o.globals;n=r.defaults(n,c.defaultTransOpts);var l=function(){return s.transition};n=r.extend(n,{current:l});var f=this.target(e,t,n),p=this.getCurrentPath();if(!f.exists())return this._handleInvalidTargetState(p,f);if(!f.valid())return r.silentRejection(f.error());var h=this.router.transitionService.create(p,f),v=h.run().catch(function e(t){return function(n){if(n instanceof u.Rejection){var r=o.globals.lastStartedTransitionId===t.$id;if(n.type===u.RejectType.IGNORED)return r&&o.urlRouter.update(),a.services.$q.when(s.current);var l=n.detail;if(n.type===u.RejectType.SUPERSEDED&&n.redirected&&l instanceof d.TargetState){var c=t.redirect(l);return c.run().catch(e(c))}if(n.type===u.RejectType.ABORTED)return r&&o.urlRouter.update(),a.services.$q.reject(n)}return i.defaultErrorHandler()(n),a.services.$q.reject(n)}}(h));return r.silenceUncaughtInPromise(v),r.extend(v,{transition:h})},e.prototype.is=function(e,t,n){n=r.defaults(n,{relative:this.$current});var o=this.router.stateRegistry.matcher.find(e,n.relative);if(i.isDefined(o)){if(this.$current!==o)return!1;if(!t)return!0;var a=o.parameters({inherit:!0,matchingKeys:t});return f.Param.equals(a,f.Param.values(a,t),this.params)}},e.prototype.includes=function(e,t,n){n=r.defaults(n,{relative:this.$current});var o=i.isString(e)&&p.Glob.fromString(e);if(o){if(!o.matches(this.$current.name))return!1;e=this.$current.name}var a=this.router.stateRegistry.matcher.find(e,n.relative),s=this.$current.includes;if(i.isDefined(a)){if(!i.isDefined(s[a.name]))return!1;if(!t)return!0;var l=a.parameters({inherit:!0,matchingKeys:t});return f.Param.equals(l,f.Param.values(l,t),this.params)}},e.prototype.href=function(e,t,n){var o={lossy:!0,inherit:!0,absolute:!1,relative:this.$current};n=r.defaults(n,o),t=t||{};var a=this.router.stateRegistry.matcher.find(e,n.relative);if(!i.isDefined(a))return null;n.inherit&&(t=this.params.$inherit(t,this.$current,a));var s=a&&n.lossy?a.navigable:a;return s&&void 0!==s.url&&null!==s.url?this.router.urlRouter.href(s.url,t,{absolute:n.absolute}):null},e.prototype.defaultErrorHandler=function(e){return this._defaultErrorHandler=e||this._defaultErrorHandler},e.prototype.get=function(e,t){var n=this.router.stateRegistry;return 0===arguments.length?n.get():n.get(e,t||this.$current)},e.prototype.lazyLoad=function(e,t){var n=this.get(e);if(!n||!n.lazyLoad)throw new Error("Can not lazy load "+e);var r=this.getCurrentPath(),i=s.PathUtils.makeTargetState(r);return t=t||this.router.transitionService.create(r,i),v.lazyLoadState(t,n)},e}();t.StateService=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(160),i=n(161),o=n(116),a=n(163),s=n(157),l=n(158),c=n(164),u=n(1),d=n(6),f=n(165),p=n(35),h=0,v=function(){function e(e,t){void 0===e&&(e=f.UrlService.locationServiceStub),void 0===t&&(t=f.UrlService.locationConfigStub),this.locationService=e,this.locationConfig=t,this.$id=h++,this._disposed=!1,this._disposables=[],this.trace=p.trace,this.viewService=new a.ViewService,this.transitionService=new o.TransitionService(this),this.globals=new c.UIRouterGlobals,this.urlMatcherFactory=new r.UrlMatcherFactory,this.urlRouter=new i.UrlRouter(this),this.stateRegistry=new s.StateRegistry(this),this.stateService=new l.StateService(this),this.urlService=new f.UrlService(this),this._plugins={},this.viewService._pluginapi._rootViewContext(this.stateRegistry.root()),this.globals.$current=this.stateRegistry.root(),this.globals.current=this.globals.$current.self,this.disposable(this.globals),this.disposable(this.stateService),this.disposable(this.stateRegistry),this.disposable(this.transitionService),this.disposable(this.urlRouter),this.disposable(e),this.disposable(t)}return e.prototype.disposable=function(e){this._disposables.push(e)},e.prototype.dispose=function(e){var t=this;if(e&&d.isFunction(e.dispose))return void e.dispose(this);this._disposed=!0,this._disposables.slice().forEach(function(e){try{"function"==typeof e.dispose&&e.dispose(t),u.removeFrom(t._disposables,e)}catch(e){}})},e.prototype.plugin=function(e,t){void 0===t&&(t={});var n=new e(this,t);if(!n.name)throw new Error("Required property `name` missing on plugin: "+n);return this._disposables.push(n),this._plugins[n.name]=n},e.prototype.getPlugin=function(e){return e?this._plugins[e]:u.values(this._plugins)},e}();t.UIRouter=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(79),a=n(53),s=n(152),l=function(){function e(){var e=this;this.paramTypes=new s.ParamTypes,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this._getConfig=function(t){return r.extend({strict:e._isStrictMode,caseInsensitive:e._isCaseInsensitive},t)},this.paramFactory={fromConfig:function(t,n,r){return new a.Param(t,n,r,a.DefType.CONFIG,e)},fromPath:function(t,n,r){return new a.Param(t,n,r,a.DefType.PATH,e)},fromSearch:function(t,n,r){return new a.Param(t,n,r,a.DefType.SEARCH,e)}},r.extend(this,{UrlMatcher:o.UrlMatcher,Param:a.Param})}return e.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=i.isDefined(e)?e:this._isCaseInsensitive},e.prototype.strictMode=function(e){return this._isStrictMode=i.isDefined(e)?e:this._isStrictMode},e.prototype.defaultSquashPolicy=function(e){if(i.isDefined(e)&&!0!==e&&!1!==e&&!i.isString(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=i.isDefined(e)?e:this._defaultSquashPolicy},e.prototype.compile=function(e,t){return new o.UrlMatcher(e,this.paramTypes,this.paramFactory,this._getConfig(t))},e.prototype.isMatcher=function(e){if(!i.isObject(e))return!1;var t=!0;return r.forEach(o.UrlMatcher.prototype,function(n,r){i.isFunction(n)&&(t=t&&i.isDefined(e[r])&&i.isFunction(e[r]))}),t},e.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return i.isDefined(t)?this:r},e.prototype.$get=function(){return this.paramTypes.enqueue=!1,this.paramTypes._flushTypeQueue(),this},e.prototype.dispose=function(){this.paramTypes.dispose()},e}();t.UrlMatcherFactory=l},function(e,t,n){"use strict";function r(e,t,n,r){return"/"===r?e:t?r.slice(0,-1)+e:n?r.slice(1)+e:e}function i(e){if(!(s.isFunction(e)||s.isString(e)||c.is(d.TargetState)(e)||d.TargetState.isDef(e)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return s.isFunction(e)?e:c.val(e)}Object.defineProperty(t,"__esModule",{value:!0});var o,a=n(1),s=n(6),l=n(79),c=n(7),u=n(162),d=n(44),f=c.prop("urlMatcher");o=a.composeSort(a.sortBy(c.pipe(c.prop("priority"),function(e){return-e})),a.sortBy(c.pipe(c.prop("type"),function(e){return{STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1}[e]})),function(e,t){return f(e)&&f(t)?l.UrlMatcher.compare(f(e),f(t)):0},a.sortBy(c.prop("$id"),a.inArray(["REGEXP","RAW","OTHER"])));var p=function(){function e(t){this._sortFn=o,this._rules=[],this.interceptDeferred=!1,this._id=0,this._sorted=!1,this._router=t,this.urlRuleFactory=new u.UrlRuleFactory(t),a.createProxyFunctions(c.val(e.prototype),this,c.val(this))}return e.prototype.dispose=function(){this.listen(!1),this._rules=[],delete this._otherwiseFn},e.prototype.sort=function(e){this._rules.sort(this._sortFn=e||this._sortFn),this._sorted=!0},e.prototype.ensureSorted=function(){this._sorted||this.sort()},e.prototype.match=function(e){var t=this;this.ensureSorted(),e=a.extend({path:"",search:{},hash:""},e);var n=this.rules();this._otherwiseFn&&n.push(this._otherwiseFn);for(var r,i=0;i<n.length&&(!r||0===this._sortFn(n[i],r.rule));i++){var o=function(n){var r=n.match(e,t._router);return r&&{match:r,rule:n,weight:n.matchPriority(r)}}(n[i]);r=!r||o&&o.weight>r.weight?o:r}return r},e.prototype.sync=function(e){if(!e||!e.defaultPrevented){var t=this._router,n=t.urlService,r=t.stateService,i={path:n.path(),search:n.search(),hash:n.hash()},o=this.match(i);c.pattern([[s.isString,function(e){return n.url(e,!0)}],[d.TargetState.isDef,function(e){return r.go(e.state,e.params,e.options)}],[c.is(d.TargetState),function(e){return r.go(e.state(),e.params(),e.options())}]])(o&&o.rule.handler(o.match,i,t))}},e.prototype.listen=function(e){var t=this;if(!1!==e)return this._stopFn=this._stopFn||this._router.urlService.onChange(function(e){return t.sync(e)});this._stopFn&&this._stopFn(),delete this._stopFn},e.prototype.update=function(e){var t=this._router.locationService;if(e)return void(this.location=t.path());t.path()!==this.location&&t.url(this.location,!0)},e.prototype.push=function(e,t,n){var r=n&&!!n.replace;this._router.urlService.url(e.format(t||{}),r)},e.prototype.href=function(e,t,n){var i=e.format(t);if(null==i)return null;n=n||{absolute:!1};var o=this._router.urlService.config,a=o.html5Mode();if(a||null===i||(i="#"+o.hashPrefix()+i),i=r(i,a,n.absolute,o.baseHref()),!n.absolute||!i)return i;var s=!a&&i?"/":"",l=o.port();return l=80===l||443===l?"":":"+l,[o.protocol(),"://",o.host(),l,s,i].join("")},e.prototype.rule=function(e){var t=this;if(!u.UrlRuleFactory.isUrlRule(e))throw new Error("invalid rule");return e.$id=this._id++,e.priority=e.priority||0,this._rules.push(e),this._sorted=!1,function(){return t.removeRule(e)}},e.prototype.removeRule=function(e){a.removeFrom(this._rules,e)},e.prototype.rules=function(){return this.ensureSorted(),this._rules.slice()},e.prototype.otherwise=function(e){var t=i(e);this._otherwiseFn=this.urlRuleFactory.create(c.val(!0),t),this._sorted=!1},e.prototype.initial=function(e){var t=i(e),n=function(e,t){return 0===t.globals.transitionHistory.size()&&!!/^\/?$/.exec(e.path)};this.rule(this.urlRuleFactory.create(n,t))},e.prototype.when=function(e,t,n){var r=this.urlRuleFactory.create(e,t);return s.isDefined(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},e.prototype.deferIntercept=function(e){void 0===e&&(e=!0),this.interceptDeferred=e},e}();t.UrlRouter=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(79),i=n(6),o=n(1),a=n(7),s=function(){function e(e){this.router=e}return e.prototype.compile=function(e){return this.router.urlMatcherFactory.compile(e)},e.prototype.create=function(e,t){var n=this,o=a.pattern([[i.isString,function(e){return o(n.compile(e))}],[a.is(r.UrlMatcher),function(e){return n.fromUrlMatcher(e,t)}],[i.isState,function(e){return n.fromState(e,n.router)}],[a.is(RegExp),function(e){return n.fromRegExp(e,t)}],[i.isFunction,function(e){return new l(e,t)}]]),s=o(e);if(!s)throw new Error("invalid 'what' in when()");return s},e.prototype.fromUrlMatcher=function(e,t){function n(t){var n=e.exec(t.path,t.search,t.hash);return e.validates(n)&&n}function s(t){var n=e.parameters().filter(function(e){return e.isOptional});return n.length?n.filter(function(e){return t[e.id]}).length/n.length:1e-6}var c=t;i.isString(t)&&(t=this.router.urlMatcherFactory.compile(t)),a.is(r.UrlMatcher)(t)&&(c=function(e){return t.format(e)});var u={urlMatcher:e,matchPriority:s,type:"URLMATCHER"};return o.extend(new l(n,c),u)},e.prototype.fromState=function(e,t){var n=function(n){var r=t.stateService,i=t.globals;r.href(e,n)!==r.href(i.current,i.params)&&r.transitionTo(e,n,{inherit:!0,source:"url"})},r={state:e,type:"STATE"};return o.extend(this.fromUrlMatcher(e.url,n),r)},e.prototype.fromRegExp=function(e,t){if(e.global||e.sticky)throw new Error("Rule RegExp must not be global or sticky");var n=function(e){return t.replace(/\$(\$|\d{1,2})/,function(t,n){return e["$"===n?0:Number(n)]})},r=i.isString(t)?n:t,a=function(t){return e.exec(t.path)},s={regexp:e,type:"REGEXP"};return o.extend(new l(a,r),s)},e}();s.isUrlRule=function(e){return e&&["type","match","handler"].every(function(t){return i.isDefined(e[t])})},t.UrlRuleFactory=s;var l=function(){function e(e,t){var n=this;this.match=e,this.type="RAW",this.matchPriority=function(e){return 0-n.$id},this.handler=t||o.identity}return e}();t.BaseUrlRule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(7),o=n(6),a=n(35),s=function(){function e(){var e=this;this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIViews:function(){return e._uiViews},_activeViewConfigs:function(){return e._viewConfigs}}}return e.prototype._rootViewContext=function(e){return this._rootContext=e||this._rootContext},e.prototype._viewConfigFactory=function(e,t){this._viewConfigFactories[e]=t},e.prototype.createViewConfig=function(e,t){var n=this._viewConfigFactories[t.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+t.$type);var r=n(e,t);return o.isArray(r)?r:[r]},e.prototype.deactivateViewConfig=function(e){a.trace.traceViewServiceEvent("<- Removing",e),r.removeFrom(this._viewConfigs,e)},e.prototype.activateViewConfig=function(e){a.trace.traceViewServiceEvent("-> Registering",e),this._viewConfigs.push(e)},e.prototype.sync=function(){function t(e){return 1e4*e.fqn.split(".").length+function e(t){return t&&t.parent?e(t.parent)+1:1}(e.creationContext)}function n(e){for(var t=e.viewDecl.$context,n=0;++n&&t.parent;)t=t.parent;return n}var o=this,a=this._uiViews.map(function(e){return[e.fqn,e]}).reduce(r.applyPairs,{}),s=i.curry(function(e,t,n,r){return t*(e(n)-e(r))}),l=function(t){var r=o._viewConfigs.filter(e.matches(a,t));return r.length>1&&r.sort(s(n,-1)),[t,r[0]]},c=function(e){var t=e[0],n=e[1];-1!==o._uiViews.indexOf(t)&&t.configUpdated(n)};this._uiViews.sort(s(t,1)).map(l).forEach(c)},e.prototype.registerUIView=function(e){a.trace.traceViewServiceUIViewEvent("-> Registering",e);var t=this._uiViews,n=function(t){return t.fqn===e.fqn};return t.filter(n).length&&a.trace.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",e),t.push(e),this.sync(),function(){if(-1===t.indexOf(e))return void a.trace.traceViewServiceUIViewEvent("Tried removing non-registered uiView",e);a.trace.traceViewServiceUIViewEvent("<- Deregistering",e),r.removeFrom(t)(e)}},e.prototype.available=function(){return this._uiViews.map(i.prop("fqn"))},e.prototype.active=function(){return this._uiViews.filter(i.prop("$config")).map(i.prop("name"))},e.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=o.isString(n[1])?n[1]:"^",a=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);(a&&(i=a[1],r=a[2]),"!"===r.charAt(0)&&(r=r.substr(1),i=""),/^(\^(?:\.\^)*)$/.exec(i))?i=i.split(".").reduce(function(e,t){return e.parent},e).name:"."===i&&(i=e.name);return{uiViewName:r,uiViewContextAnchor:i}},e}();s.matches=function(e,t){return function(n){if(t.$type!==n.viewDecl.$type)return!1;var i=n.viewDecl,o=i.$uiViewName.split("."),a=t.fqn.split(".");if(!r.equals(o,a.slice(0-o.length)))return!1;var s=1-o.length||void 0,l=a.slice(0,s).join("."),c=e[l].creationContext;return i.$uiViewContextAnchor===(c&&c.name)}},t.ViewService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(153),i=n(112),o=function(){function e(){this.params=new r.StateParams,this.lastStartedTransitionId=-1,this.transitionHistory=new i.Queue([],1),this.successfulTransitions=new i.Queue([],1)}return e.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},e}();t.UIRouterGlobals=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),i=n(1),o=function(e){return e.reduce(function(e,t){return e[t]=r.notImplemented(t),e},{dispose:i.noop})},a=["url","path","search","hash","onChange"],s=["port","protocol","host","baseHref","html5Mode","hashPrefix"],l=["type","caseInsensitive","strictMode","defaultSquashPolicy"],c=["sort","when","initial","otherwise","rules","rule","removeRule"],u=["deferIntercept","listen","sync","match"],d=function(){function e(e,t){void 0===t&&(t=!0),this.router=e,this.rules={},this.config={};var n=function(){return e.locationService};i.createProxyFunctions(n,this,n,a,t);var r=function(){return e.locationConfig};i.createProxyFunctions(r,this.config,r,s,t);var o=function(){return e.urlMatcherFactory};i.createProxyFunctions(o,this.config,o,l);var d=function(){return e.urlRouter};i.createProxyFunctions(d,this.rules,d,c),i.createProxyFunctions(d,this,d,u)}return e.prototype.url=function(e,t,n){},e.prototype.path=function(){},e.prototype.search=function(){},e.prototype.hash=function(){},e.prototype.onChange=function(e){},e.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},e.prototype.dispose=function(){},e.prototype.sync=function(e){},e.prototype.listen=function(e){},e.prototype.deferIntercept=function(e){},e.prototype.match=function(e){},e}();d.locationServiceStub=o(a),d.locationConfigStub=o(s),t.UrlService=d},function(e,t,n){"use strict";function r(e,t){function n(t){return t&&Array.isArray(t.states)&&t.states.forEach(function(t){return e.router.stateRegistry.register(t)}),t}var r=t.$$state().lazyLoad,o=r._promise;if(!o){var a=function(e){return delete t.lazyLoad,delete t.$$state().lazyLoad,delete r._promise,e},s=function(e){return delete r._promise,i.services.$q.reject(e)};o=r._promise=i.services.$q.when(r(e,t)).then(n).then(a,s)}return o}Object.defineProperty(t,"__esModule",{value:!0});var i=n(14),o=function(e){function t(){if("url"!==e.originalTransition().options().source){var t=e.targetState();return n.stateService.target(t.identifier(),t.params(),t.options())}var r=n.urlService,i=r.match(r.parts()),o=i&&i.rule;if(o&&"STATE"===o.type){var a=o.state,s=i.match;return n.stateService.target(a,s,e.options())}n.urlService.sync()}var n=e.router,o=e.entering().filter(function(e){return!!e.$$state().lazyLoad}).map(function(t){return r(e,t)});return i.services.$q.all(o).then(t)};t.registerLazyLoadHook=function(e){return e.onBefore({entering:function(e){return!!e.lazyLoad}},o)},t.lazyLoadState=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(60),i=function(){function e(e,t,n,i,o,a,s,l){void 0===o&&(o=!1),void 0===a&&(a=r.TransitionHook.HANDLE_RESULT),void 0===s&&(s=r.TransitionHook.REJECT_ERROR),void 0===l&&(l=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=i,this.reverseSort=o,this.getResultHandler=a,this.getErrorHandler=s,this.synchronous=l}return e}();t.TransitionEventType=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74);t.$q={when:function(e){return new Promise(function(t,n){return t(e)})},reject:function(e){return new Promise(function(t,n){n(e)})},defer:function(){var e={};return e.promise=new Promise(function(t,n){e.resolve=t,e.reject=n}),e},all:function(e){if(r.isArray(e))return Promise.all(e);if(r.isObject(e)){var n=Object.keys(e).map(function(t){return e[t].then(function(e){return{key:t,val:e}})});return t.$q.all(n).then(function(e){return e.reduce(function(e,t){return e[t.key]=t.val,e},{})})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74),i={},o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,a=/([^\s,]+)/g;t.$injector={get:function(e){return i[e]},has:function(e){return null!=t.$injector.get(e)},invoke:function(e,n,o){var a=r.extend({},i,o||{}),s=t.$injector.annotate(e),l=r.assertPredicate(function(e){return a.hasOwnProperty(e)},function(e){return"DI can't find injectable: '"+e+"'"}),c=s.filter(l).map(function(e){return a[e]});return r.isFunction(e)?e.apply(n,c):e.slice(-1)[0].apply(n,c)},annotate:function(e){if(!r.isInjectable(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if(r.isArray(e))return e.slice(0,-1);var t=e.toString().replace(o,"");return t.slice(t.indexOf("(")+1,t.indexOf(")")).match(a)||[]}}},function(e,t,n){"use strict";var r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(62),o=n(80),a=function(e){function t(t){var n=e.call(this,t,!1)||this;return window.addEventListener("hashchange",n._listener,!1),n}return r(t,e),t.prototype._get=function(){return i.trimHashVal(this._location.hash)},t.prototype._set=function(e,t,n,r){this._location.hash=n},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),window.removeEventListener("hashchange",this._listener)},t}(o.BaseLocationServices);t.HashLocationService=a},function(e,t,n){"use strict";var r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(80),o=function(e){function t(t){return e.call(this,t,!0)||this}return r(t,e),t.prototype._get=function(){return this._url},t.prototype._set=function(e,t,n,r){this._url=n},t}(i.BaseLocationServices);t.MemoryLocationService=o},function(e,t,n){"use strict";var r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(62),o=n(80),a=function(e){function t(t){var n=e.call(this,t,!0)||this;return n._config=t.urlService.config,window.addEventListener("popstate",n._listener,!1),n}return r(t,e),t.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;return r=i.splitQuery(r)[1],n=i.splitHash(n)[1],t+(r?"?"+r:"")+(n?"$"+r:"")},t.prototype._set=function(e,t,n,r){var i=this,o=i._config,a=i._history,s=o.baseHref()+n;r?a.replaceState(e,t,s):a.pushState(e,t,s)},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),window.removeEventListener("popstate",this._listener)},t}(o.BaseLocationServices);t.PushStateLocationService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=n(1),o=function(){function e(){var e=this;this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return e._port},this.protocol=function(){return e._protocol},this.host=function(){return e._host},this.baseHref=function(){return e._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(t){return r.isDefined(t)?e._hashPrefix=t:e._hashPrefix},this.dispose=i.noop}return e}();t.MemoryLocationConfig=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=function(){function e(e,t){void 0===t&&(t=!1),this._isHtml5=t,this._baseHref=void 0,this._hashPrefix=""}return e.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},e.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},e.prototype.host=function(){return location.host},e.prototype.html5Mode=function(){return this._isHtml5},e.prototype.hashPrefix=function(e){return r.isDefined(e)?this._hashPrefix=e:this._hashPrefix},e.prototype.baseHref=function(e){return r.isDefined(e)?this._baseHref=e:this._baseHref||this.applyDocumentBaseHref()},e.prototype.applyDocumentBaseHref=function(){var e=document.getElementsByTagName("base");return this._baseHref=e.length?e[0].href.substr(location.origin.length):""},e.prototype.dispose=function(){},e}();t.BrowserLocationConfig=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),i=function(){function e(t,n){this.stateRegistry=t,this.stateService=n,r.createProxyFunctions(r.val(e.prototype),this,r.val(this))}return e.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},e.prototype.state=function(e,t){return r.isObject(e)?t=e:t.name=e,this.stateRegistry.register(t),this},e.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},e}();t.StateProvider=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),i=n(21),o=function(){function e(e){this._router=e,this._urlRouter=e.urlRouter}return e.prototype.$get=function(){var e=this._urlRouter;return e.update(!0),e.interceptDeferred||e.listen(),e},e.prototype.rule=function(e){var t=this;if(!i.isFunction(e))throw new Error("'rule' must be a function");var n=function(){return e(i.services.$injector,t._router.locationService)},o=new r.BaseUrlRule(n,i.identity);return this._urlRouter.rule(o),this},e.prototype.otherwise=function(e){var t=this,n=this._urlRouter;if(i.isString(e))n.otherwise(e);else{if(!i.isFunction(e))throw new Error("'rule' must be a string or function");n.otherwise(function(){return e(i.services.$injector,t._router.locationService)})}return this},e.prototype.when=function(t,n){return(i.isArray(n)||i.isFunction(n))&&(n=e.injectableHandler(this._router,n)),this._urlRouter.when(t,n),this},e.injectableHandler=function(e,t){return function(n){return i.services.$injector.invoke(t,null,{$match:n,$stateParams:e.globals.params})}},e.prototype.deferIntercept=function(e){this._urlRouter.deferIntercept(e)},e}();t.UrlRouterProvider=o},function(e,t,n){"use strict";(function(e){function t(e){e.keys().forEach(e)}n(178);var r=n(110),i=function(e){return e&&e.__esModule?e:{default:e}}(r);n(344),n(347),n(376),n(389),n(390);console.log("updated@@.."),window.$=window.jQuery=e;var o=i.default.module("app",["mgcrea.ngStrap","ui.router"]).constant("AJAX_PREFIX","").run(["$transitions",function(t){t.onSuccess({},function(t){document.body.scrollTop=document.documentElement.scrollTop=0,e(".account-left-nav *").removeClass("forceShow")})}]);window.app=o,t(n(394)),t(n(395));var a=n(409);(function(e){return e.keys().map(e)})(a).forEach(function(e){e&&e.default?e.default(o):(console.log("File failed to load: "),console.log(e))})}).call(t,n(11))},function(e,t,n){"use strict";(function(e){n(179),n(322),n(324),n(326),n(328),n(330),n(332),n(334),n(336),n(338),n(342),e._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),e._babelPolyfill=!0}).call(t,n(82))},function(e,t,n){"use strict";n(180),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(260),n(261),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(105),n(285),n(139),n(286),n(140),n(287),n(288),n(289),n(290),n(141),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),e.exports=n(13)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(4),o=n(18),a=n(12),s=n(0),l=n(15),c=n(33).KEY,u=n(2),d=n(84),f=n(45),p=n(37),h=n(8),v=n(85),m=n(121),g=n(181),y=n(88),$=n(3),b=n(5),w=n(20),x=n(32),S=n(36),E=n(41),C=n(124),T=n(24),_=n(10),A=n(39),k=T.f,N=_.f,P=C.f,O=i.Symbol,D=i.JSON,I=D&&D.stringify,M=h("_hidden"),F=h("toPrimitive"),R={}.propertyIsEnumerable,j=d("symbol-registry"),U=d("symbols"),L=d("op-symbols"),q=Object.prototype,V="function"==typeof O,H=i.QObject,B=!H||!H.prototype||!H.prototype.findChild,W=a&&u(function(){return 7!=E(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=k(q,t);r&&delete q[t],N(e,t,n),r&&e!==q&&N(q,t,r)}:N,z=function(e){var t=U[e]=E(O.prototype);return t._k=e,t},G=V&&"symbol"==r(O.iterator)?function(e){return"symbol"==(void 0===e?"undefined":r(e))}:function(e){return e instanceof O},Y=function(e,t,n){return e===q&&Y(L,t,n),$(e),t=x(t,!0),$(n),o(U,t)?(n.enumerable?(o(e,M)&&e[M][t]&&(e[M][t]=!1),n=E(n,{enumerable:S(0,!1)})):(o(e,M)||N(e,M,S(1,{})),e[M][t]=!0),W(e,t,n)):N(e,t,n)},K=function(e,t){$(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)Y(e,n=r[i++],t[n]);return e},J=function(e,t){return void 0===t?E(e):K(E(e),t)},X=function(e){var t=R.call(this,e=x(e,!0));return!(this===q&&o(U,e)&&!o(L,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,M)&&this[M][e])||t)},Z=function(e,t){if(e=w(e),t=x(t,!0),e!==q||!o(U,t)||o(L,t)){var n=k(e,t);return!n||!o(U,t)||o(e,M)&&e[M][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=P(w(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==M||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===q,r=P(n?L:w(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(q,t)||i.push(U[t]);return i};V||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function t(n){this===q&&t.call(L,n),o(this,M)&&o(this[M],e)&&(this[M][e]=!1),W(this,e,S(1,n))};return a&&B&&W(q,e,{configurable:!0,set:t}),z(e)},l(O.prototype,"toString",function(){return this._k}),T.f=Z,_.f=Y,n(42).f=C.f=Q,n(56).f=X,n(64).f=ee,a&&!n(38)&&l(q,"propertyIsEnumerable",X,!0),v.f=function(e){return z(h(e))}),s(s.G+s.W+s.F*!V,{Symbol:O});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)h(te[ne++]);for(var re=A(h.store),ie=0;re.length>ie;)m(re[ie++]);s(s.S+s.F*!V,"Symbol",{for:function(e){return o(j,e+="")?j[e]:j[e]=O(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in j)if(j[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),s(s.S+s.F*!V,"Object",{create:J,defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee}),D&&s(s.S+s.F*(!V||u(function(){var e=O();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,I.apply(D,r)}}),O.prototype[F]||n(19)(O.prototype,F,O.prototype.valueOf),f(O,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(39),i=n(64),o=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(0);r(r.S,"Object",{create:n(41)})},function(e,t,n){"use strict";var r=n(0);r(r.S+r.F*!n(12),"Object",{defineProperty:n(10).f})},function(e,t,n){"use strict";var r=n(0);r(r.S+r.F*!n(12),"Object",{defineProperties:n(123)})},function(e,t,n){"use strict";var r=n(20),i=n(24).f;n(25)("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},function(e,t,n){"use strict";var r=n(16),i=n(43);n(25)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(16),i=n(39);n(25)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";n(25)("getOwnPropertyNames",function(){return n(124).f})},function(e,t,n){"use strict";var r=n(5),i=n(33).onFreeze;n(25)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){"use strict";var r=n(5),i=n(33).onFreeze;n(25)("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){"use strict";var r=n(5),i=n(33).onFreeze;n(25)("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){"use strict";var r=n(5);n(25)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){"use strict";var r=n(5);n(25)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){"use strict";var r=n(5);n(25)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){"use strict";var r=n(0);r(r.S+r.F,"Object",{assign:n(125)})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Object",{is:n(126)})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Object",{setPrototypeOf:n(90).set})},function(e,t,n){"use strict";var r=n(57),i={};i[n(8)("toStringTag")]="z",i+""!="[object z]"&&n(15)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){"use strict";var r=n(0);r(r.P,"Function",{bind:n(127)})},function(e,t,n){"use strict";var r=n(10).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(12)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(5),i=n(43),o=n(8)("hasInstance"),a=Function.prototype;o in a||n(10).f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){"use strict";var r=n(0),i=n(129);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){"use strict";var r=n(0),i=n(130);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(4),i=n(18),o=n(29),a=n(92),s=n(32),l=n(2),c=n(42).f,u=n(24).f,d=n(10).f,f=n(65).trim,p=r.Number,h=p,v=p.prototype,m="Number"==o(n(41)(v)),g="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=g?t.trim():f(t,3);var n,r,i,o=t.charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,l=t.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>i)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(m?l(function(){v.valueOf.call(n)}):"Number"!=o(n))?a(new h(y(t)),n,p):y(t)};for(var $,b=n(12)?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)i(h,$=b[w])&&!i(p,$)&&d(p,$,u(h,$));p.prototype=v,v.constructor=p,n(15)(r,"Number",p)}},function(e,t,n){"use strict";var r=n(0),i=n(23),o=n(131),a=n(93),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=l(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=l(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},h=function e(t,n,r){return 0===n?r:n%2==1?e(t,n-1,r*t):e(t*t,n/2,r)},v=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,l=o(this,u),c=i(e),m="",g="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(t=v(l*h(2,69,1))-69,n=t<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(h(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),g=p()}else d(0,n),d(1<<-t,0),g=p()+a.call("0",c);return c>0?(s=g.length,g=m+(s<=c?"0."+a.call("0",c-s)+g:g.slice(0,s-c)+"."+g.slice(s-c))):g=m+g,g}})},function(e,t,n){"use strict";var r=n(0),i=n(2),o=n(131),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";var r=n(0),i=n(4).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Number",{isInteger:n(132)})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){"use strict";var r=n(0),i=n(132),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){"use strict";var r=n(0),i=n(130);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){"use strict";var r=n(0),i=n(129);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){"use strict";var r=n(0),i=n(133),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},function(e,t,n){"use strict";function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var i=n(0),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(e,t,n){"use strict";var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){"use strict";var r=n(0),i=n(94);r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){"use strict";var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){"use strict";var r=n(0),i=n(95);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Math",{fround:n(224)})},function(e,t,n){"use strict";var r=n(94),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),l=i(2,-126),c=function(e){return e+1/o-1/o};e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),u=r(e);return i<l?u*c(i/l/a)*l*a:(t=(1+a/o)*i,n=t-(t-i),n>s||n!=n?u*(1/0):u*n)}},function(e,t,n){"use strict";var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,s=arguments.length,l=0;a<s;)n=i(arguments[a++]),l<n?(r=l/n,o=o*r*r+1,l=n):n>0?(r=n/l,o+=r*r):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},function(e,t,n){"use strict";var r=n(0),i=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Math",{log1p:n(133)})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Math",{sign:n(94)})},function(e,t,n){"use strict";var r=n(0),i=n(95),o=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){"use strict";var r=n(0),i=n(95),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(0),i=n(40),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(0),i=n(20),o=n(9);r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";n(65)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){"use strict";var r=n(96)(!0);n(97)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(0),i=n(96)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(0),i=n(9),o=n(98),a="".endsWith;r(r.P+r.F*n(100)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){"use strict";var r=n(0),i=n(98);r(r.P+r.F*n(100)("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0);r(r.P,"String",{repeat:n(93)})},function(e,t,n){"use strict";var r=n(0),i=n(9),o=n(98),a="".startsWith;r(r.P+r.F*n(100)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(17)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(17)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(17)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(17)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(17)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(17)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(17)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(17)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(17)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(17)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(17)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(17)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(17)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(0),i=n(16),o=n(32);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){"use strict";var r=n(0),i=n(259);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(e,t,n){"use strict";var r=n(2),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},function(e,t,n){"use strict";var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(15)(r,"toString",function(){var e=o.call(this);return e===e?i.call(this):"Invalid Date"})},function(e,t,n){"use strict";var r=n(8)("toPrimitive"),i=Date.prototype;r in i||n(19)(i,r,n(262))},function(e,t,n){"use strict";var r=n(3),i=n(32);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){"use strict";var r=n(0);r(r.S,"Array",{isArray:n(88)})},function(e,t,n){"use strict";var r=n(27),i=n(0),o=n(16),a=n(135),s=n(101),l=n(9),c=n(102),u=n(103);i(i.S+i.F*!n(66)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,f=o(e),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v,g=0,y=u(f);if(m&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=l(f.length),n=new p(t);t>g;g++)c(n,g,m?v(f[g],g):f[g]);else for(d=y.call(f),n=new p;!(i=d.next()).done;g++)c(n,g,m?a(d,v,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(0),i=n(102);r(r.S+r.F*n(2)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(0),i=n(20),o=[].join;r(r.P+r.F*(n(55)!=Object||!n(22)(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(0),i=n(89),o=n(29),a=n(40),s=n(9),l=[].slice;r(r.P+r.F*n(2)(function(){i&&l.call(i)}),"Array",{slice:function(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var i=a(e,n),c=a(t,n),u=s(c-i),d=new Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(i+f):this[i+f];return d}})},function(e,t,n){"use strict";var r=n(0),i=n(28),o=n(16),a=n(2),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!n(22)(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},function(e,t,n){"use strict";var r=n(0),i=n(26)(0),o=n(22)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(271);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(5),i=n(88),o=n(8)("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(0),i=n(26)(1);r(r.P+r.F*!n(22)([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),i=n(26)(2);r(r.P+r.F*!n(22)([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),i=n(26)(3);r(r.P+r.F*!n(22)([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),i=n(26)(4);r(r.P+r.F*!n(22)([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),i=n(136);r(r.P+r.F*!n(22)([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(0),i=n(136);r(r.P+r.F*!n(22)([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(0),i=n(63)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(22)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),i=n(20),o=n(23),a=n(9),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(22)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=i(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(0);r(r.P,"Array",{copyWithin:n(137)}),n(47)("copyWithin")},function(e,t,n){"use strict";var r=n(0);r(r.P,"Array",{fill:n(104)}),n(47)("fill")},function(e,t,n){"use strict";var r=n(0),i=n(26)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(47)("find")},function(e,t,n){"use strict";var r=n(0),i=n(26)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(47)(o)},function(e,t,n){"use strict";n(48)("Array")},function(e,t,n){"use strict";var r=n(4),i=n(92),o=n(10).f,a=n(42).f,s=n(99),l=n(67),c=r.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,h=new c(f)!==f;if(n(12)&&(!h||n(2)(function(){return p[n(8)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(e,t){var n=this instanceof c,r=s(e),o=void 0===t;return!n&&r&&e.constructor===c&&o?e:i(h?new u(r&&!o?e.source:e,t):u((r=e instanceof c)?e.source:e,r&&o?l.call(e):t),n?this:d,c)};for(var v=a(u),m=0;v.length>m;)!function(e){e in c||o(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}(v[m++]);d.constructor=c,c.prototype=d,n(15)(r,"RegExp",c)}n(48)("RegExp")},function(e,t,n){"use strict";n(140);var r=n(3),i=n(67),o=n(12),a=/./.toString,s=function(e){n(15)(RegExp.prototype,"toString",e,!0)};n(2)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(3),i=n(9),o=n(107),a=n(68);n(69)("match",1,function(e,t,n,s){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),c=String(this);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=a(l,c));){var h=String(d[0]);f[p]=h,""===h&&(l.lastIndex=o(c,i(l.lastIndex),u)),p++}return 0===p?null:f}]})},function(e,t,n){"use strict";var r=n(3),i=n(16),o=n(9),a=n(23),s=n(107),l=n(68),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};n(69)("replace",2,function(e,t,n,v){function m(e,t,r,o,a,s){var l=r+e.length,c=o.length,u=p;return void 0!==a&&(a=i(a),u=f),n.call(s,u,function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):n}s=o[u-1]}return void 0===s?"":s})}return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=v(n,e,this,t);if(i.done)return i.value;var d=r(e),f=String(this),p="function"==typeof t;p||(t=String(t));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}for(var $=[];;){var b=l(d,f);if(null===b)break;if($.push(b),!g)break;""===String(b[0])&&(d.lastIndex=s(f,o(d.lastIndex),y))}for(var w="",x=0,S=0;S<$.length;S++){b=$[S];for(var E=String(b[0]),C=c(u(a(b.index),f.length),0),T=[],_=1;_<b.length;_++)T.push(h(b[_]));var A=b.groups;if(p){var k=[E].concat(T,C,f);void 0!==A&&k.push(A);var N=String(t.apply(void 0,k))}else N=m(E,f,C,T,A,t);C>=x&&(w+=f.slice(x,C)+N,x=C+E.length)}return w+f.slice(x)}]})},function(e,t,n){"use strict";var r=n(3),i=n(126),o=n(68);n(69)("search",1,function(e,t,n,a){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),l=String(this),c=s.lastIndex;i(c,0)||(s.lastIndex=0);var u=o(s,l);return i(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]})},function(e,t,n){"use strict";var r=n(99),i=n(3),o=n(58),a=n(107),s=n(9),l=n(68),c=n(106),u=Math.min,d=[].push,f="length",p=!!function(){try{return new RegExp("x","y")}catch(e){}}();n(69)("split",2,function(e,t,n,h){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[f]||2!="ab".split(/(?:ab)*/)[f]||4!=".".split(/(.?)(.?)/)[f]||".".split(/()()/)[f]>1||"".split(/.?/)[f]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,h=void 0===t?4294967295:t>>>0,v=new RegExp(e.source,u+"g");(o=c.call(v,i))&&!((a=v.lastIndex)>p&&(l.push(i.slice(p,o.index)),o[f]>1&&o.index<i[f]&&d.apply(l,o.slice(1)),s=o[0][f],p=a,l[f]>=h));)v.lastIndex===o.index&&v.lastIndex++;return p===i[f]?!s&&v.test("")||l.push(""):l.push(i.slice(p)),l[f]>h?l.slice(0,h):l}:"0".split(void 0,0)[f]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,r):v.call(String(i),n,r)},function(e,t){var r=h(v,e,this,t,v!==n);if(r.done)return r.value;var c=i(e),d=String(this),f=o(c,RegExp),m=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(p?"y":"g"),y=new f(p?c:"^(?:"+c.source+")",g),$=void 0===t?4294967295:t>>>0;if(0===$)return[];if(0===d.length)return null===l(y,d)?[d]:[];for(var b=0,w=0,x=[];w<d.length;){y.lastIndex=p?w:0;var S,E=l(y,p?d:d.slice(w));if(null===E||(S=u(s(y.lastIndex+(p?0:w)),d.length))===b)w=a(d,w,m);else{if(x.push(d.slice(b,w)),x.length===$)return x;for(var C=1;C<=E.length-1;C++)if(x.push(E[C]),x.length===$)return x;w=b=S}}return x.push(d.slice(b)),x}]})},function(e,t,n){"use strict";var r=n(4),i=n(108).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(29)(a);e.exports=function(){var e,t,n,c=function(){var r,i;for(l&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var d=!0,f=document.createTextNode("");new o(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t,n){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(144),i=n(51);e.exports=n(72)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(144),i=n(51);e.exports=n(72)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(26)(0),o=n(15),a=n(33),s=n(125),l=n(145),c=n(5),u=n(2),d=n(51),f=a.getWeak,p=Object.isExtensible,h=l.ufstore,v={},m=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(e){if(c(e)){var t=f(e);return!0===t?h(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},y=e.exports=n(72)("WeakMap",m,g,l,!0,!0);u(function(){return 7!=(new y).set((Object.freeze||Object)(v),7).get(v)})&&(r=l.getConstructor(m,"WeakMap"),s(r.prototype,g),a.NEED=!0,i(["delete","has","get","set"],function(e){var t=y.prototype,n=t[e];o(t,e,function(t,i){if(c(t)&&!p(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(145),i=n(51);n(72)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(0),i=n(73),o=n(109),a=n(3),s=n(40),l=n(9),c=n(5),u=n(4).ArrayBuffer,d=n(58),f=o.ArrayBuffer,p=o.DataView,h=i.ABV&&u.isView,v=f.prototype.slice,m=i.VIEW;r(r.G+r.W+r.F*(u!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||c(e)&&m in e}}),r(r.P+r.U+r.F*n(2)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==v&&void 0===t)return v.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(d(this,f))(l(i-r)),c=new p(this),u=new p(o),h=0;r<i;)u.setUint8(h++,c.getUint8(r++));return o}}),n(48)("ArrayBuffer")},function(e,t,n){"use strict";var r=n(0);r(r.G+r.W+r.F*!n(73).ABV,{DataView:n(109).DataView})},function(e,t,n){"use strict";n(31)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(31)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(31)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){"use strict";n(31)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(31)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(31)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(31)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(31)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(31)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";var r=n(0),i=n(28),o=n(3),a=(n(4).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=i(e),l=o(n);return a?a(r,t,l):s.call(r,t,l)}})},function(e,t,n){"use strict";var r=n(0),i=n(41),o=n(28),a=n(3),s=n(5),l=n(2),c=n(127),u=(n(4).Reflect||{}).construct,d=l(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),f=!l(function(){u(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(f&&!d)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var l=n.prototype,p=i(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){"use strict";var r=n(10),i=n(0),o=n(3),a=n(32);i(i.S+i.F*n(2)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){"use strict";var r=n(0),i=n(24).f,o=n(3);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(0),i=n(3),o=function(e){this._t=i(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(134)(o,"Object",function(){var e,t=this,n=t._k;do{if(t._i>=n.length)return{value:void 0,done:!0}}while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new o(e)}})},function(e,t,n){"use strict";function r(e,t){var n,s,u=arguments.length<3?e:arguments[2];return c(e)===u?e[t]:(n=i.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:l(s=o(e))?r(s,t,u):void 0}var i=n(24),o=n(43),a=n(18),s=n(0),l=n(5),c=n(3);s(s.S,"Reflect",{get:r})},function(e,t,n){"use strict";var r=n(24),i=n(0),o=n(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},function(e,t,n){"use strict";var r=n(0),i=n(43),o=n(3);r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){"use strict";var r=n(0),i=n(3),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Reflect",{ownKeys:n(147)})},function(e,t,n){"use strict";var r=n(0),i=n(3),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){"use strict";function r(e,t,n){var l,f,p=arguments.length<4?e:arguments[3],h=o.f(u(e),t);if(!h){if(d(f=a(e)))return r(f,t,n,p);h=c(0)}if(s(h,"value")){if(!1===h.writable||!d(p))return!1;if(l=o.f(p,t)){if(l.get||l.set||!1===l.writable)return!1;l.value=n,i.f(p,t,l)}else i.f(p,t,c(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var i=n(10),o=n(24),a=n(43),s=n(18),l=n(0),c=n(36),u=n(3),d=n(5);l(l.S,"Reflect",{set:r})},function(e,t,n){"use strict";var r=n(0),i=n(90);i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){"use strict";n(323),e.exports=n(13).Array.includes},function(e,t,n){"use strict";var r=n(0),i=n(63)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(47)("includes")},function(e,t,n){"use strict";n(325),e.exports=n(13).String.padStart},function(e,t,n){"use strict";var r=n(0),i=n(148),o=n(71);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";n(327),e.exports=n(13).String.padEnd},function(e,t,n){"use strict";var r=n(0),i=n(148),o=n(71);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";n(329),e.exports=n(85).f("asyncIterator")},function(e,t,n){"use strict";n(121)("asyncIterator")},function(e,t,n){"use strict";n(331),e.exports=n(13).Object.getOwnPropertyDescriptors},function(e,t,n){"use strict";var r=n(0),i=n(147),o=n(20),a=n(24),s=n(102);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),l=a.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=l(r,t=c[d++]))&&s(u,t,n);return u}})},function(e,t,n){"use strict";n(333),e.exports=n(13).Object.values},function(e,t,n){"use strict";var r=n(0),i=n(149)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){"use strict";n(335),e.exports=n(13).Object.entries},function(e,t,n){"use strict";var r=n(0),i=n(149)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){"use strict";n(141),n(337),e.exports=n(13).Promise.finally},function(e,t,n){"use strict";var r=n(0),i=n(13),o=n(4),a=n(58),s=n(143);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";n(339),n(340),n(341),e.exports=n(13)},function(e,t,n){"use strict";var r=n(4),i=n(0),o=n(71),a=[].slice,s=/MSIE .\./.test(o),l=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){"use strict";var r=n(0),i=n(108);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){"use strict";for(var r=n(105),i=n(39),o=n(15),a=n(4),s=n(19),l=n(46),c=n(8),u=c("iterator"),d=c("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(p),v=0;v<h.length;v++){var m,g=h[v],y=p[g],$=a[g],b=$&&$.prototype;if(b&&(b[u]||s(b,u,f),b[d]||s(b,d,g),l[g]=f,y))for(m in r)b[m]||o(b,m,r[m],!0)}},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(n){function r(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new h(r||[]);return a._invoke=u(e,n,s),a}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function n(r,o,a,s){var l=i(e[r],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"===(void 0===u?"undefined":t(u))&&$.call(u,"__await")?Promise.resolve(u.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):Promise.resolve(u).then(function(e){c.value=e,a(c)},function(e){return n("throw",e,a,s)})}s(l.arg)}function r(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}var o;this._invoke=r}function u(e,t,n){var r=T;return function(o,a){if(r===A)throw new Error("Generator is already running");if(r===k){if("throw"===o)throw a;return m()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=d(s,n);if(l){if(l===N)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===T)throw r=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=A;var c=i(e,t,n);if("normal"===c.type){if(r=n.done?k:_,c.arg===N)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=k,n.method="throw",n.arg=c.arg)}}}function d(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,d(e,t),"throw"===t.method))return N;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return N}var r=i(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,N;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,N):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,N)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function v(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if($.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,y=Object.prototype,$=y.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",x=b.asyncIterator||"@@asyncIterator",S=b.toStringTag||"@@toStringTag",E="object"===t(e),C=n.regeneratorRuntime;if(C)return void(E&&(e.exports=C));C=n.regeneratorRuntime=E?e.exports:{},C.wrap=r;var T="suspendedStart",_="suspendedYield",A="executing",k="completed",N={},P={};P[w]=function(){return this};var O=Object.getPrototypeOf,D=O&&O(O(v([])));D&&D!==y&&$.call(D,w)&&(P=D);var I=s.prototype=o.prototype=Object.create(P);a.prototype=I.constructor=s,s.constructor=a,s[S]=a.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,S in e||(e[S]="GeneratorFunction")),e.prototype=Object.create(I),e},C.awrap=function(e){return{__await:e}},l(c.prototype),c.prototype[x]=function(){return this},C.AsyncIterator=c,C.async=function(e,t,n,i){var o=new c(r(e,t,n,i));return C.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},l(I),I[S]="Generator",I[w]=function(){return this},I.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},C.values=v,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&$.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=$.call(i,"catchLoc"),s=$.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&$.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,N):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),N},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),N}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:v(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),N}}}(function(){return this||"object"===("undefined"==typeof self?"undefined":t(self))&&self}()||Function("return this")())}).call(t,n(119)(e))},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){function t(e){if(!x(e))return Xr;w(e.objectMaxDepth)&&(Xr.objectMaxDepth=n(e.objectMaxDepth)?e.objectMaxDepth:NaN)}function n(e){return C(e)&&e>0}function i(e,t){return t=t||Error,function(){var n,r,i=arguments[0],o=arguments[1],a="["+(e?e+":":"")+i+"] ",s=Y(arguments,2).map(function(e){return Ee(e,Xr.objectMaxDepth)});for(a+=o.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<s.length?s[t]:e}),a+="\nhttp://errors.angularjs.org/1.6.9/"+(e?e+"/":"")+i,r=0,n="?";r<s.length;r++,n="&")a+=n+"p"+r+"="+encodeURIComponent(s[r]);return new t(a)}}function o(e){if(null==e||N(e))return!1;if(yi(e)||E(e)||ai&&e instanceof ai)return!0;var t="length"in Object(e)&&e.length;return C(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function a(e,t,n){var i,s;if(e)if(A(e))for(i in e)"prototype"!==i&&"length"!==i&&"name"!==i&&e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else if(yi(e)||o(e)){var l="object"!==(void 0===e?"undefined":r(e));for(i=0,s=e.length;i<s;i++)(l||i in e)&&t.call(n,e[i],i,e)}else if(e.forEach&&e.forEach!==a)e.forEach(t,n,e);else if(S(e))for(i in e)t.call(n,e[i],i,e);else if("function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else for(i in e)ei.call(e,i)&&t.call(n,e[i],i,e);return e}function s(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 l(e){return function(t,n){e(n,t)}}function c(){return++mi}function u(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function d(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),l=0,c=s.length;l<c;l++){var f=s[l],p=a[f];n&&x(p)?T(p)?e[f]=new Date(p.valueOf()):k(p)?e[f]=new RegExp(p):p.nodeName?e[f]=p.cloneNode(!0):U(p)?e[f]=p.clone():(x(e[f])||(e[f]=yi(p)?[]:{}),d(e[f],[p],!0)):e[f]=p}}return u(e,r),e}function f(e){return d(e,ci.call(arguments,1),!1)}function p(e){return d(e,ci.call(arguments,1),!0)}function h(e){return parseInt(e,10)}function v(e,t){return f(Object.create(e),t)}function m(){}function g(e){return e}function y(e){return function(){return e}}function $(e){return A(e.toString)&&e.toString!==fi}function b(e){return void 0===e}function w(e){return void 0!==e}function x(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))}function S(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&!pi(e)}function E(e){return"string"==typeof e}function C(e){return"number"==typeof e}function T(e){return"[object Date]"===fi.call(e)}function _(e){switch(fi.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 k(e){return"[object RegExp]"===fi.call(e)}function N(e){return e&&e.window===e}function P(e){return e&&e.$evalAsync&&e.$watch}function O(e){return"[object File]"===fi.call(e)}function D(e){return"[object FormData]"===fi.call(e)}function I(e){return"[object Blob]"===fi.call(e)}function M(e){return"boolean"==typeof e}function F(e){return e&&A(e.then)}function R(e){return e&&C(e.length)&&$i.test(fi.call(e))}function j(e){return"[object ArrayBuffer]"===fi.call(e)}function U(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function L(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function q(e){return ti(e.nodeName||e[0]&&e[0].nodeName)}function V(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function H(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(yi(e))for(var a=0,s=e.length;a<s;a++)t.push(o(e[a],n));else if(S(e))for(r in e)t[r]=o(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=o(e[r],n));else for(r in e)ei.call(e,r)&&(t[r]=o(e[r],n));return u(t,i),t}function o(e,t){if(!x(e))return e;var n=l.indexOf(e);if(-1!==n)return c[n];if(N(e)||P(e))throw hi("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=yi(e)?[]:Object.create(pi(e)),r=!0),l.push(e),c.push(o),r?i(e,o,t):o}function s(e){switch(fi.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(o(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 l=[],c=[];if(r=n(r)?r:NaN,t){if(R(t)||j(t))throw hi("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw hi("cpi","Can't copy! Source and destination are identical.");return yi(t)?t.length=0:a(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),l.push(e),c.push(t),i(e,t,r)}return o(e,r)}function W(e,t){return e===t||e!==e&&t!==t}function z(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,i,o,a=void 0===e?"undefined":r(e),s=void 0===t?"undefined":r(t);if(a===s&&"object"===a){if(!yi(e)){if(T(e))return!!T(t)&&W(e.getTime(),t.getTime());if(k(e))return!!k(t)&&e.toString()===t.toString();if(P(e)||P(t)||N(e)||N(t)||yi(t)||T(t)||k(t))return!1;o=$e();for(i in e)if("$"!==i.charAt(0)&&!A(e[i])){if(!z(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!(i in o)&&"$"!==i.charAt(0)&&w(t[i])&&!A(t[i]))return!1;return!0}if(!yi(t))return!1;if((n=e.length)===t.length){for(i=0;i<n;i++)if(!z(e[i],t[i]))return!1;return!0}}return!1}function G(e,t,n){return e.concat(ci.call(t,n))}function Y(e,t){return ci.call(e,t||0)}function K(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 J(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:N(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":P(n)&&(r="$SCOPE"),r}function X(e,t){if(!b(e))return C(t)||(t=t?2:null),JSON.stringify(e,J,t)}function Z(e){return E(e)?JSON.parse(e):e}function Q(e,t){e=e.replace(Ei,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return gi(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*(Q(t,r)-r))}function ne(e){e=ai(e).clone().empty();var t=ai("<div>").append(e).html();try{return e[0].nodeType===Ni?ti(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+ti(t)})}catch(e){return ti(t)}}function re(e){try{return decodeURIComponent(e)}catch(e){}}function ie(e){var t={};return a((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),w(r)&&(i=!w(i)||re(i),ei.call(t,r)?yi(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function oe(e){var t=[];return a(e,function(e,n){yi(e)?a(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 le(e,t){var n,r,i=Ci.length;for(r=0;r<i;++r)if(n=Ci[r]+t,E(n=e.getAttribute(n)))return n;return null}function ce(t,n){var r,i,o={};if(a(Ci,function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))}),a(Ci,function(e){var n,o=e+"app";!r&&(n=t.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))}),r){if(!Ti)return void e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");o.strictDi=null!==le(r,"strict-di"),n(r,i?[i]:[],o)}}function ue(t,n,r){x(r)||(r={}),r=f({strictDi:!1},r);var i=function(){if(t=ai(t),t.injector()){var i=t[0]===e.document?"document":ne(t);throw hi("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=ut(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},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&o.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(o,"")),e&&!s.test(e.name))return i();e.name=e.name.replace(s,""),vi.resumeBootstrap=function(e){return a(e,function(e){n.push(e)}),i()},A(vi.resumeDeferredBootstrap)&&vi.resumeDeferredBootstrap()}function de(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function fe(e){var t=vi.element(e).injector();if(!t)throw hi("test","no injector found for element argument to getTestability");return t.get("$$testability")}function pe(e,t){return t=t||"_",e.replace(_i,function(e,n){return(n?t:"")+e.toLowerCase()})}function he(e,t,n){if(!e)throw hi("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ve(e,t,n){return n&&yi(e)&&(e=e[e.length-1]),he(A(e),t,"not a function, got "+(e&&"object"===(void 0===e?"undefined":r(e))?e.constructor.name||"Object":void 0===e?"undefined":r(e))),e}function me(e,t){if("hasOwnProperty"===e)throw hi("badname","hasOwnProperty is not a valid {0} name",t)}function ge(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&A(e)?K(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=ai(ci.call(e,0,i))),t.push(n));return t||e}function $e(){return Object.create(null)}function be(e){if(null==e)return"";switch(void 0===e?"undefined":r(e)){case"string":break;case"number":e=""+e;break;default:e=!$(e)||yi(e)||T(e)?X(e):e.toString()}return e}function we(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=i("$injector"),r=i("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||i,t(o,"module",function(){var e={};return function(i,o,a){var s={};return function(e,t){if("hasOwnProperty"===e)throw r("badname","hasOwnProperty is not a valid {0} name",t)}(i,"module"),o&&e.hasOwnProperty(i)&&(e[i]=null),t(e,i,function(){function e(e,t,n,r){return r||(r=l),function(){return r[n||"push"]([e,t,arguments]),f}}function t(e,t,n){return n||(n=l),function(r,o){return o&&A(o)&&(o.$$moduleName=i),n.push([e,t,arguments]),f}}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.",i);var l=[],c=[],u=[],d=e("$injector","invoke","push",c),f={_invokeQueue:l,_configBlocks:c,_runBlocks:u,info:function(e){if(w(e)){if(!x(e))throw r("aobj","Argument '{0}' must be an object","value");return s=e,this}return s},requires:o,name:i,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator",c),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:d,run:function(e){return u.push(e),this}};return a&&d(a),f})}})}function xe(e,t){if(yi(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=vi.copy(e,null,t)),JSON.stringify(e,function(e,t){if(t=J(e,t),x(t)){if(r.indexOf(t)>=0)return"...";r.push(t)}return t})}function Ee(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):b(e)?"undefined":"string"!=typeof e?Se(e,t):e}function Ce(){return++Fi}function Te(e){return Ae(e.replace(ji,"ms-"))}function _e(e,t){return t.toUpperCase()}function Ae(e){return e.replace(Ri,_e)}function ke(e){return!Vi.test(e)}function Ne(e){var t=e.nodeType;return t===ki||!t||t===Oi}function Pe(e){for(var t in Mi[e.ng339])return!0;return!1}function Oe(e,t){var n,r,i,o,s=t.createDocumentFragment(),l=[];if(ke(e))l.push(t.createTextNode(e));else{for(n=s.appendChild(t.createElement("div")),r=(Hi.exec(e)||["",""])[1].toLowerCase(),i=Wi[r]||Wi._default,n.innerHTML=i[1]+e.replace(Bi,"<$1></$2>")+i[2],o=i[0];o--;)n=n.lastChild;l=G(l,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",a(l,function(e){s.appendChild(e)}),s}function De(t,n){n=n||e.document;var r;return(r=qi.exec(t))?[n.createElement(r[1])]:(r=Oe(t,n))?r.childNodes:[]}function Ie(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(E(e)&&(e=bi(e),t=!0),!(this instanceof Me)){if(t&&"<"!==e.charAt(0))throw Li("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?We(this,De(e)):A(e)?Xe(e):We(this,e)}function Fe(e){return e.cloneNode(!0)}function Re(e,t){!t&&Ne(e)&&ai.cleanData([e]),e.querySelectorAll&&ai.cleanData(e.querySelectorAll("*"))}function je(e,t,n,r){if(w(r))throw Li("offargs","jqLite#off() does not support the `selector` argument");var i=Le(e),o=i&&i.events,s=i&&i.handle;if(s)if(t){var l=function(t){var r=o[t];w(n)&&H(r||[],n),w(n)&&r&&r.length>0||(e.removeEventListener(t,s),delete o[t])};a(t.split(" "),function(e){l(e),Ui[e]&&l(Ui[e])})}else for(t in o)"$destroy"!==t&&e.removeEventListener(t,s),delete o[t]}function Ue(e,t){var n=e.ng339,r=n&&Mi[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),je(e)),delete Mi[n],e.ng339=void 0}}function Le(e,t){var n=e.ng339,r=n&&Mi[n];return t&&!r&&(e.ng339=n=Ce(),r=Mi[n]={events:{},data:{},handle:void 0}),r}function qe(e,t,n){if(Ne(e)){var r,i=w(n),o=!i&&t&&!x(t),a=!t,s=Le(e,!o),l=s&&s.data;if(i)l[Ae(t)]=n;else{if(a)return l;if(o)return l&&l[Ae(t)];for(r in t)l[Ae(r)]=t[r]}}}function Ve(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function He(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;a(t.split(" "),function(e){e=bi(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",bi(r))}}function Be(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;a(t.split(" "),function(e){e=bi(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",bi(r))}}function We(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 ze(e,t){return Ge(e,"$"+(t||"ngController")+"Controller")}function Ge(e,t,n){e.nodeType===Oi&&(e=e.documentElement);for(var r=yi(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(w(n=ai.data(e,r[i])))return n;e=e.parentNode||e.nodeType===Di&&e.host}}function Ye(e){for(Re(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ke(e,t){t||Re(e);var n=e.parentNode;n&&n.removeChild(e)}function Je(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):ai(n).on("load",t)}function Xe(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 Ze(e,t){var n=Yi[t.toLowerCase()];return n&&Ki[q(e)]&&n}function Qe(e){return Ji[e]}function et(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(b(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||tt;o>1&&(i=xe(i));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||s(e,n,i[l])}};return n.elem=e,n}function tt(e,t,n){n.call(e,t)}function nt(e,t,n){var r=t.relatedTarget;r&&(r===e||zi.call(e,r))||n.call(e,t)}function rt(){this.$get=function(){return f(Me,{hasClass:function(e,t){return e.attr&&(e=e[0]),Ve(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Be(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),He(e,t)}})}}function it(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var i=void 0===e?"undefined":r(e);return n="function"===i||"object"===i&&null!==e?e.$$hashKey=i+":"+(t||c)():i+":"+e}function ot(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function at(e){return Function.prototype.toString.call(e)}function st(e){var t=at(e).replace(io,"");return t.match(eo)||t.match(to)}function lt(e){var t=st(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function ct(e,t,n){var r,i,o;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw E(n)&&n||(n=e.name||lt(e)),oo("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=st(e),a(i[1].split(no),function(e){e.replace(ro,function(e,t,n){r.push(n)})})}e.$inject=r}}else yi(e)?(o=e.length-1,ve(e[o],"fn"),r=e.slice(0,o)):ve(e,"fn",!0);return r}function ut(e,t){function n(e){return function(t,n){if(!x(t))return e(t,n);a(t,l(e))}}function r(e,t){if(me(e,"service"),(A(t)||yi(t))&&(t=w.instantiate(t)),!t.$get)throw oo("pget","Provider '{0}' must define $get factory method.",e);return $[e+v]=t}function i(e,t){return function(){var n=T.invoke(t,this);if(b(n))throw oo("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function o(e,t,n){return r(e,{$get:!1!==n?i(e,t):t})}function s(e,t){return o(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return o(e,y(t),!1)}function u(e,t){me(e,"constant"),$[e]=t,S[e]=t}function d(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 f(e){he(b(e)||yi(e),"modulesToLoad","not an array");var t,n=[];return a(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(!g.get(e)){g.set(e,!0);try{E(e)?(t=li(e),T.modules[e]=t,n=n.concat(f(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):A(e)?n.push(w.invoke(e)):yi(e)?n.push(w.invoke(e)):ve(e,"module")}catch(t){throw yi(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),oo("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 oo("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=ut.$$annotate(e,t,i),s=0,l=a.length;s<l;s++){var c=a[s];if("string"!=typeof c)throw oo("itkn","Incorrect injection token! Expected service name as string, got {0}",c);o.push(n&&n.hasOwnProperty(c)?n[c]:r(c,i))}return o}function o(e){if(oi||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return M(t)||(t=e.$$ngIsClass=/^(?:class\b|constructor\()/.test(at(e))),t}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return yi(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=yi(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:ut.$$annotate,has:function(t){return $.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=!0===t;var h={},v="Provider",m=[],g=new Zi,$={$provide:{provider:n(r),factory:n(o),service:n(s),value:n(c),constant:n(u),decorator:d}},w=$.$injector=p($,function(e,t){throw vi.isString(t)&&m.push(t),oo("unpr","Unknown provider: {0}",m.join(" <- "))}),S={},C=p(S,function(e,t){var n=w.get(e+v,t);return T.invoke(n.$get,n,void 0,e)}),T=C;$["$injector"+v]={$get:y(C)},T.modules=w.modules=$e();var _=f(e);return T=C.get("$injector"),T.strictDi=t,a(_,function(e){e&&T.invoke(e)}),T.loadNewModules=function(e){a(f(e),function(e){e&&T.invoke(e)})},T}function dt(){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"===q(e))return t=e,!0}),t}function o(){var e=s.yOffset;if(A(e))e=e();else if(U(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else C(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=E(e)?e:C(e)?e.toString():n.hash();var t;e?(t=l.getElementById(e))?a(t):(t=i(l.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var l=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Je(function(){r.$evalAsync(s)})}),s}]}function ft(e,t){return e||t?e?t?(yi(e)&&(e=e.join(" ")),yi(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function pt(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===so)return n}}function ht(e){E(e)&&(e=e.split(" "));var t=$e();return a(e,function(e){e.length&&(t[e]=!0)}),t}function vt(e){return x(e)?e:{}}function mt(e,t,n,r){function i(e){try{e.apply(null,Y(arguments,1))}finally{if(0===--g)for(;y.length;)try{y.pop()()}catch(e){n.error(e)}}}function o(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function s(){E=null,c()}function l(){$=C(),$=b($)?null:$,z($,A)&&($=A),A=$,w=$}function c(){var e=w;l(),x===u.url()&&e===$||(x=u.url(),w=$,a(T,function(e){e(u.url(),$)}))}var u=this,d=e.location,f=e.history,p=e.setTimeout,h=e.clearTimeout,v={};u.isMock=!1;var g=0,y=[];u.$$completeOutstandingRequest=i,u.$$incOutstandingRequestCount=function(){g++},u.notifyWhenNoOutstandingRequests=function(e){0===g?e():y.push(e)};var $,w,x=d.href,S=t.find("base"),E=null,C=r.history?function(){try{return f.state}catch(e){}}:m;l(),u.url=function(t,n,i){if(b(i)&&(i=null),d!==e.location&&(d=e.location),f!==e.history&&(f=e.history),t){var a=w===i;if(x===t&&(!r.history||a))return u;var s=x&&Zt(x)===Zt(t);return x=t,w=i,!r.history||s&&a?(s||(E=t),n?d.replace(t):s?d.hash=o(t):d.href=t,d.href!==t&&(E=t)):(f[n?"replaceState":"pushState"](i,"",t),l()),E&&(E=t),u}return E||d.href.replace(/%27/g,"'")},u.state=function(){return $};var T=[],_=!1,A=null;u.onUrlChange=function(t){return _||(r.history&&ai(e).on("popstate",s),ai(e).on("hashchange",s),_=!0),T.push(t),t},u.$$applicationDestroyed=function(){ai(e).off("hashchange popstate",s)},u.$$checkUrlChange=c,u.baseHref=function(){var e=S.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},u.defer=function(e,t){var n;return g++,n=p(function(){delete v[n],i(e)},t||0),v[n]=!0,n},u.defer.cancel=function(e){return!!v[e]&&(delete v[e],h(e),i(m),!0)}}function gt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new mt(e,r,t,n)}]}function yt(){this.$get=function(){function e(e,n){function r(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 i("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=f({},n,{id:e}),l=$e(),c=n&&n.capacity||Number.MAX_VALUE,u=$e(),d=null,p=null;return t[e]={put:function(e,t){if(!b(t)){if(c<Number.MAX_VALUE){r(u[e]||(u[e]={key:e}))}return e in l||a++,l[e]=t,a>c&&this.remove(p.key),t}},get:function(e){if(c<Number.MAX_VALUE){var t=u[e];if(!t)return;r(t)}return l[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=u[e];if(!t)return;t===d&&(d=t.p),t===p&&(p=t.n),o(t.n,t.p),delete u[e]}e in l&&(delete l[e],a--)},removeAll:function(){l=$e(),a=0,u=$e(),d=p=null},destroy:function(){l=null,s=null,u=null,delete t[e]},info:function(){return f({},s,{size:a})}}}var t={};return e.info=function(){var e={};return a(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function $t(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function bt(){}function wt(t,n){function r(e,t,n){var r=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/,i=$e();return a(e,function(e,o){if(e in T)return void(i[o]=T[e]);var a=e.match(r);if(!a)throw vo("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]&&(T[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 vo("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}function o(e){var t=e.charAt(0);if(!t||t!==ti(t))throw vo("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw vo("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}function s(e){var t=e.require||e.controller&&e.name;return!yi(t)&&x(t)&&a(t,function(e,n){var r=e.match(S);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}function c(e,t){if(e&&(!E(e)||!/[EACM]/.test(e)))throw vo("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}var u={},d="Directive",p=/^\s*directive:\s*([\w-]+)\s+(.*)$/,h=/(([\w-]+)(?::([^;]+))?;?)/,$=L("ngSrc,ngSrcset,src,srcset"),S=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,C=/^(on[a-z]+|formaction)$/,T=$e();this.directive=function e(n,r){return he(n,"name"),me(n,"directive"),E(n)?(o(n),he(r,"directiveFactory"),u.hasOwnProperty(n)||(u[n]=[],t.factory(n+d,["$injector","$exceptionHandler",function(e,t){var r=[];return a(u[n],function(i,o){try{var a=e.invoke(i);A(a)?a={compile:y(a)}:!a.compile&&a.link&&(a.compile=y(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=s(a),a.restrict=c(a.restrict,n),a.$$moduleName=i.$$moduleName,r.push(a)}catch(e){t(e)}}),r}])),u[n].push(r)):a(n,l(e)),this},this.component=function e(t,n){function r(e){function t(t){return A(t)||yi(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var r=n.template||n.templateUrl?n.template:"",o={controller:i,controllerAs:Tt(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 a(n,function(e,t){"$"===t.charAt(0)&&(o[t]=e)}),o}if(!E(t))return a(t,l(K(this,e))),this;var i=n.controller||function(){};return a(n,function(e,t){"$"===t.charAt(0)&&(r[t]=e,A(i)&&(i[t]=e))}),r.$inject=["$injector"],this.directive(t,r)},this.aHrefSanitizationWhitelist=function(e){return w(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return w(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var k=!0;this.debugInfoEnabled=function(e){return w(e)?(k=e,this):k};var N=!1;this.preAssignBindingsEnabled=function(e){return w(e)?(N=e,this):N};var O=!1;this.strictComponentBindingsEnabled=function(e){return w(e)?(O=e,this):O};var D=10;this.onChangesTtl=function(e){return arguments.length?(D=e,this):D};var I=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(I=e,this):I};var F=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(F=e,this):F},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(t,n,r,o,s,l,c,y,T,R){function j(){try{if(!--De)throw _e=void 0,vo("infchng","{0} $onChanges() iterations reached. Aborting!\n",D);c.$apply(function(){for(var e=[],t=0,n=_e.length;t<n;++t)try{_e[t]()}catch(t){e.push(t)}if(_e=void 0,e.length)throw e})}finally{De++}}function U(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 L(e,t,n){Ne.innerHTML="<span "+t+">";var r=Ne.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function V(e,t){try{e.addClass(t)}catch(e){}}function B(e,t,n,r,i){e instanceof ai||(e=ai(e));var o=J(e,t,e,n,r,i);B.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw vo("multilink","This element has already been linked.");he(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,l=r.transcludeControllers,c=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=G(c));var u;if(u="html"!==a?ai(ye(a,ai("<div>").append(e).html())):n?Gi.clone.call(e):e,l)for(var d in l)u.data("$"+d+"Controller",l[d].instance);return B.$$addScopeInfo(u,t),n&&n(u,t),o&&o(t,u,u,s),n||(e=o=null),u}}function G(e){var t=e&&e[0];return t&&"foreignobject"!==q(t)&&fi.call(t).match(/SVG/)?"svg":"html"}function J(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,l,c,u,d,f,v;if(p){var m=n.length;for(v=new Array(m),c=0;c<h.length;c+=3)d=h[c],v[d]=n[d]}else v=n;for(c=0,u=h.length;c<u;)s=v[h[c++]],o=h[c++],a=h[c++],o?(o.scope?(l=e.$new(),B.$$addScopeInfo(ai(s),l)):l=e,f=o.transcludeOnThisElement?Z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?Z(e,t):null,o(a,l,s,r,f)):a&&a(e,s.childNodes,void 0,i)}for(var s,l,c,u,d,f,p,h=[],v=yi(e)||e instanceof ai,m=0;m<e.length;m++)s=new U,11===oi&&X(e,m,v),l=Q(e[m],[],s,0===m?r:void 0,i),c=l.length?oe(l,e[m],s,t,n,null,[],[],o):null,c&&c.scope&&B.$$addScopeClass(s.$$element),d=c&&c.terminal||!(u=e[m].childNodes)||!u.length?null:J(u,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:t),(c||d)&&(h.push(m,c,d),f=!0,p=p||c),o=null;return f?a:null}function X(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Ni)for(;;){if(!(r=o?i.nextSibling:e[t+1])||r.nodeType!==Ni)break;i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}}function Z(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=$e();for(var o in t.$$slots)t.$$slots[o]?i[o]=Z(e,t.$$slots[o],n):i[o]=null;return r}function Q(e,t,n,r,i){var o,a,s,l=e.nodeType,c=n.$attr;switch(l){case ki:a=q(e),ce(t,St(a),"E",r,i);for(var u,d,f,p,v,m,g=e.attributes,y=0,$=g&&g.length;y<$;y++){var b=!1,w=!1;u=g[y],d=u.name,v=u.value,p=St(d),m=je.test(p),m&&(d=d.replace(go,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var S=p.match(Ue);S&&ue(S[1])&&(b=d,w=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),f=St(d.toLowerCase()),c[f]=d,!m&&n.hasOwnProperty(f)||(n[f]=v,Ze(e,f)&&(n[f]=!0)),we(e,t,v,f,m),ce(t,f,"A",r,i,b,w)}if("input"===a&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Oe)break;if(s=e.className,x(s)&&(s=s.animVal),E(s)&&""!==s)for(;o=h.exec(s);)f=St(o[2]),ce(t,f,"C",r,i)&&(n[f]=bi(o[3])),s=s.substr(o.index+o[0].length);break;case Ni:ge(t,e.nodeValue);break;case Pi:if(!Pe)break;ee(e,t,n,r,i)}return t.sort(ve),t}function ee(e,t,n,r,i){try{var o=p.exec(e.nodeValue);if(o){var a=St(o[1]);ce(t,a,"M",r,i)&&(n[a]=bi(o[2]))}}catch(e){}}function te(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw vo("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===ki&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return ai(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(e,t,n,i,o,s,l,c,u){function d(e,t,n,r){e&&(n&&(e=re(e,n,r)),e.require=h.require,e.directiveName=v,(E===h||h.$$isolateScope)&&(e=Se(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=re(t,n,r)),t.require=h.require,t.directiveName=v,(E===h||h.$$isolateScope)&&(t=Se(t,{isolateScope:!0})),c.push(t))}function p(e,i,o,s,u){function d(e,t,n,r){var i;if(P(e)||(r=n,n=t,t=e,e=void 0),O&&(i=y),n||(n=O?T.parent():T),!r)return u(e,t,i,n,j);var o=u.$$slots[r];if(o)return o(e,t,i,n,j);if(b(o))throw vo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,ne(T))}var p,h,v,m,g,y,$,T,_,k;t===o?(_=n,T=n.$$element):(T=ai(o),_=new U(T,n)),g=i,E?m=i.$new(!0):w&&(g=i.$parent),u&&($=d,$.$$boundTransclude=u,$.isSlotFilled=function(e){return!!u.$$slots[e]}),S&&(y=se(T,_,$,S,m,i,E)),E&&(B.$$addScopeInfo(T,m,!0,!(C&&(C===E||C===E.$$originalDirective))),B.$$addScopeClass(T,!0),m.$$isolateBindings=E.$$isolateBindings,k=Te(i,_,m,m.$$isolateBindings,E),k.removeWatches&&m.$on("$destroy",k.removeWatches));for(var D in y){var I=S[D],M=y[D],F=I.$$bindings.bindToController;if(N){M.bindingInfo=F?Te(g,_,M.instance,F,I):{};var R=M();R!==M.instance&&(M.instance=R,T.data("$"+I.name+"Controller",R),M.bindingInfo.removeWatches&&M.bindingInfo.removeWatches(),M.bindingInfo=Te(g,_,M.instance,F,I))}else M.instance=M(),T.data("$"+I.name+"Controller",M.instance),M.bindingInfo=Te(g,_,M.instance,F,I)}for(a(S,function(e,t){var n=e.require;e.bindToController&&!yi(n)&&x(n)&&f(y[t].instance,ae(t,n,T,y))}),a(y,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],Ee(v,v.isolateScope?m:i,T,_,v.require&&ae(v.directiveName,v.require,T,y),$);var j=i;for(E&&(E.template||null===E.templateUrl)&&(j=m),e&&e(j,o.childNodes,void 0,u),p=c.length-1;p>=0;p--)v=c[p],Ee(v,v.isolateScope?m:i,T,_,v.require&&ae(v.directiveName,v.require,T,y),$);a(y,function(e){var t=e.instance;A(t.$postLink)&&t.$postLink()})}u=u||{};for(var h,v,m,g,y,$=-Number.MAX_VALUE,w=u.newScopeDirective,S=u.controllerDirectives,E=u.newIsolateScopeDirective,C=u.templateDirective,T=u.nonTlbTranscludeDirective,_=!1,k=!1,O=u.hasElementTranscludeDirective,D=n.$$element=ai(t),I=s,M=i,F=!1,R=!1,j=0,L=e.length;j<L;j++){h=e[j];var V=h.$$start,H=h.$$end;if(V&&(D=te(t,V,H)),m=void 0,$>h.priority)break;if(y=h.scope,y&&(h.templateUrl||(x(y)?(me("new/isolated scope",E||w,h,D),E=h):me("new/isolated scope",E,h,D)),w=w||h),v=h.name,!F&&(h.replace&&(h.templateUrl||h.template)||h.transclude&&!h.$$tlb)){for(var W,z=j+1;W=e[z++];)if(W.transclude&&!W.$$tlb||W.replace&&(W.templateUrl||W.template)){R=!0;break}F=!0}if(!h.templateUrl&&h.controller&&(S=S||$e(),me("'"+v+"' controller",S[v],h,D),S[v]=h),y=h.transclude)if(_=!0,h.$$tlb||(me("transclusion",T,h,D),T=h),"element"===y)O=!0,$=h.priority,m=D,D=n.$$element=ai(B.$$createComment(v,n[v])),t=D[0],xe(o,Y(m),t),m[0].$$parentNode=m[0].parentNode,M=ie(R,m,i,$,I&&I.name,{nonTlbTranscludeDirective:T});else{var G=$e();if(x(y)){m=[];var J=$e(),X=$e();a(y,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,J[e]=t,G[t]=null,X[t]=n}),a(D.contents(),function(e){var t=J[St(q(e))];t?(X[t]=!0,G[t]=G[t]||[],G[t].push(e)):m.push(e)}),a(X,function(e,t){if(!e)throw vo("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var Z in G)G[Z]&&(G[Z]=ie(R,G[Z],i))}else m=ai(Fe(t)).contents();D.empty(),M=ie(R,m,i,void 0,void 0,{needsNewScope:h.$$isolateScope||h.$$newScope}),M.$$slots=G}if(h.template)if(k=!0,me("template",C,h,D),C=h,y=A(h.template)?h.template(D,n):h.template,y=Re(y),h.replace){if(I=h,m=ke(y)?[]:Ct(ye(h.templateNamespace,bi(y))),t=m[0],1!==m.length||t.nodeType!==ki)throw vo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v,"");xe(o,D,t);var ee={$attr:{}},oe=Q(t,[],ee),ce=e.splice(j+1,e.length-(j+1));(E||w)&&le(oe,E,w),e=e.concat(oe).concat(ce),de(n,ee),L=e.length}else D.html(y);if(h.templateUrl)k=!0,me("template",C,h,D),C=h,h.replace&&(I=h),p=fe(e.splice(j,e.length-j),D,n,o,_&&M,l,c,{controllerDirectives:S,newScopeDirective:w!==h&&w,newIsolateScopeDirective:E,templateDirective:C,nonTlbTranscludeDirective:T}),L=e.length;else if(h.compile)try{g=h.compile(D,n,M);var ue=h.$$originalDirective||h;A(g)?d(null,K(ue,g),V,H):g&&d(K(ue,g.pre),K(ue,g.post),V,H)}catch(e){r(e,ne(D))}h.terminal&&(p.terminal=!0,$=Math.max($,h.priority))}return p.scope=w&&!0===w.scope,p.transcludeOnThisElement=_,p.templateOnThisElement=k,p.transclude=M,u.hasElementTranscludeDirective=O,p}function ae(e,t,n,r){var i;if(E(t)){var o=t.match(S),s=t.substring(o[0].length),l=o[1]||o[3],c="?"===o[2];if("^^"===l?n=n.parent():(i=r&&r[s],i=i&&i.instance),!i){var u="$"+s+"Controller";i=l?n.inheritedData(u):n.data(u)}if(!i&&!c)throw vo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(yi(t)){i=[];for(var d=0,f=t.length;d<f;d++)i[d]=ae(e,t[d],n,r)}else x(t)&&(i={},a(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=$e();for(var c in r){var u=r[c],d={$scope:u===a||u.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=u.controller;"@"===f&&(f=t[u.name]);var p=l(f,d,!0,u.controllerAs);s[u.name]=p,e.data("$"+u.name+"Controller",p.instance)}return s}function le(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=v(e[r],{$$isolateScope:t,$$newScope:n})}function ce(e,n,r,o,a,s,l){if(n===a)return null;var c=null;if(u.hasOwnProperty(n))for(var f,p=t.get(n+d),h=0,m=p.length;h<m;h++)if(f=p[h],(b(o)||o>f.priority)&&-1!==f.restrict.indexOf(r)){if(s&&(f=v(f,{$$start:s,$$end:l})),!f.$$bindings){var g=f.$$bindings=i(f,f.name);x(g.isolateScope)&&(f.$$isolateBindings=g.isolateScope)}e.push(f),c=f}return c}function ue(e){if(u.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 de(e,t){var n=t.$attr,r=e.$attr;a(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]))}),a(t,function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(r[i]=n[i]))})}function fe(e,t,n,i,s,l,c,u){var d,f,p=[],h=t[0],m=e.shift(),g=v(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),y=A(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(y).then(function(r){var o,v,b,w;if(r=Re(r),m.replace){if(b=ke(r)?[]:Ct(ye($,bi(r))),o=b[0],1!==b.length||o.nodeType!==ki)throw vo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,y);v={$attr:{}},xe(i,t,o);var S=Q(o,[],v);x(m.scope)&&le(S,!0),e=S.concat(e),de(n,v)}else o=h,t.html(r);for(e.unshift(g),d=oe(e,o,n,s,t,m,l,c,u),a(i,function(e,n){e===o&&(i[n]=t[0])}),f=J(t[0].childNodes,s);p.length;){var E=p.shift(),C=p.shift(),T=p.shift(),_=p.shift(),A=t[0];if(!E.$$destroyed){if(C!==h){var k=C.className;u.hasElementTranscludeDirective&&m.replace||(A=Fe(o)),xe(T,ai(C),A),V(ai(A),k)}w=d.transcludeOnThisElement?Z(E,d.transclude,_):_,d(f,E,A,i,w)}}p=null}).catch(function(e){_(e)&&r(e)}),function(e,t,n,r,i){var o=i;t.$$destroyed||(p?p.push(t,n,r,o):(d.transcludeOnThisElement&&(o=Z(t,d.transclude,i)),d(f,t,n,r,o)))}}function ve(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function me(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw vo("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 ye(t,n){switch(t=ti(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function be(e,t){if("srcdoc"===t)return y.HTML;var n=q(e);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(n))return y.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return y.RESOURCE_URL}function we(e,t,r,i,o){var a=be(e,i),s=!o,l=$[i]||o,c=n(r,s,a,l);if(c){if("multiple"===i&&"select"===q(e))throw vo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ne(e));if(C.test(i))throw vo("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=$e()),u=o[i];u!==r&&(c=u&&n(u,!0,a,l),r=u),c&&(o[i]=c(e),(s[i]||(s[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 xe(t,n,r){var i,o,a=n[0],s=n.length,l=a.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===a){t[i++]=r;for(var c=i,u=c+s-1,d=t.length;c<d;c++,u++)u<d?t[c]=t[u]:delete t[c];t.length-=s-1,t.context===a&&(t.context=r);break}l&&l.replaceChild(r,a);var f=e.document.createDocumentFragment();for(i=0;i<s;i++)f.appendChild(n[i]);for(ai.hasData(a)&&(ai.data(r,ai.data(a)),ai(a).off("$destroy")),ai.cleanData(f.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function Se(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function Ee(e,t,n,i,o,a){try{e(t,n,i,o,a)}catch(e){r(e,ne(n))}}function Ce(e,t){if(O)throw vo("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function Te(e,t,r,i,o){function l(t,n,i){A(r.$onChanges)&&!W(n,i)&&(_e||(e.$$postDigest(j),_e=[]),u||(u={},_e.push(c)),u[t]&&(i=u[t].previousValue),u[t]=new xt(i,n))}function c(){r.$onChanges(u),u=void 0}var u,d=[],f={};return a(i,function(i,a){var c,u,p,h,v,g=i.attrName,y=i.optional,$=i.mode;switch($){case"@":y||ei.call(t,g)||(Ce(g,o.name),r[a]=t[g]=void 0),v=t.$observe(g,function(e){if(E(e)||M(e)){var t=r[a];l(a,e,t),r[a]=e}}),t.$$observers[g].$$scope=e,c=t[g],E(c)?r[a]=n(c)(e):M(c)&&(r[a]=c),f[a]=new xt(mo,r[a]),d.push(v);break;case"=":if(!ei.call(t,g)){if(y)break;Ce(g,o.name),t[g]=void 0}if(y&&!t[g])break;u=s(t[g]),h=u.literal?z:W,p=u.assign||function(){throw c=r[a]=u(e),vo("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[g],g,o.name)},c=r[a]=u(e);var b=function(t){return h(t,r[a])||(h(t,c)?p(e,t=r[a]):r[a]=t),c=t};b.$stateful=!0,v=i.collection?e.$watchCollection(t[g],b):e.$watch(s(t[g],b),null,u.literal),d.push(v);break;case"<":if(!ei.call(t,g)){if(y)break;Ce(g,o.name),t[g]=void 0}if(y&&!t[g])break;u=s(t[g]);var w=u.literal,x=r[a]=u(e);f[a]=new xt(mo,r[a]),v=e.$watch(u,function(e,t){if(t===e){if(t===x||w&&z(t,x))return;t=x}l(a,e,t),r[a]=e},w),d.push(v);break;case"&":if(y||ei.call(t,g)||Ce(g,o.name),(u=t.hasOwnProperty(g)?s(t[g]):m)===m&&y)break;r[a]=function(t){return u(e,t)}}}),{initialChanges:f,removeWatches:d.length&&function(){for(var e=0,t=d.length;e<t;++e)d[e]()}}}var _e,Ae=/^\w/,Ne=e.document.createElement("div"),Pe=I,Oe=F,De=D;U.prototype={$normalize:St,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Et(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=Et(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,i){var o,s=this.$$element[0],l=Ze(s,e),c=Qe(e),u=e;if(l?(this.$$element.prop(e,t),i=l):c&&(this[c]=t,u=c),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=pe(e,"-")),"a"===(o=q(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===o&&"src"===e)this[e]=t=R(t,"src"===e);else if("img"===o&&"srcset"===e&&w(t)){for(var d="",f=bi(t),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,h=/\s/.test(f)?p:/(,)/,v=f.split(h),m=Math.floor(v.length/2),g=0;g<m;g++){var y=2*g;d+=R(bi(v[y]),!0),d+=" "+bi(v[y+1])}var $=bi(v[2*g]).split(/\s/);d+=R(bi($[0]),!0),2===$.length&&(d+=" "+bi($[1])),this[e]=t=d}!1!==n&&(null===t||b(t)?this.$$element.removeAttr(i):Ae.test(i)?this.$$element.attr(i,t):L(this.$$element[0],i,t));var x=this.$$observers;x&&a(x[u],function(e){try{e(t)}catch(e){r(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=$e()),i=r[e]||(r[e]=[]);return i.push(t),c.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||b(n[e])||t(n[e])}),function(){H(i,t)}}};var Ie=n.startSymbol(),Me=n.endSymbol(),Re="{{"===Ie&&"}}"===Me?g:function(e){return e.replace(/\{\{/g,Ie).replace(/}}/g,Me)},je=/^ngAttr[A-Z]/,Ue=/^(.+)Start$/;return B.$$addBindingInfo=k?function(e,t){var n=e.data("$binding")||[];yi(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,B.$$addBindingClass=k?function(e){V(e,"ng-binding")}:m,B.$$addScopeInfo=k?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,B.$$addScopeClass=k?function(e,t){V(e,t?"ng-isolate-scope":"ng-scope")}:m,B.$$createComment=function(t,n){var r="";return k&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},B}]}function xt(e,t){this.previousValue=e,this.currentValue=t}function St(e){return e.replace(go,"").replace(yo,function(e,t,n){return n?t.toUpperCase():t})}function Et(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 Ct(e){e=ai(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Pi||n.nodeType===Ni&&""===n.nodeValue.trim())&&ui.call(e,t,1)}return e}function Tt(e,t){if(t&&E(t))return t;if(E(e)){var n=bo.exec(e);if(n)return n[3]}}function _t(){var e={},t=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){me(t,"controller"),x(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(n,r){function o(e,t,n,r){if(!e||!x(e.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}return function(i,a,s,l){var c,u,d,p;if(s=!0===s,l&&E(l)&&(p=l),E(i)){if(!(u=i.match(bo)))throw $o("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",i);if(d=u[1],p=p||u[3],!(i=e.hasOwnProperty(d)?e[d]:ge(a.$scope,d,!0)||(t?ge(r,d,!0):void 0)))throw $o("ctrlreg","The controller with the name '{0}' is not registered.",d);ve(i,d,!0)}if(s){var h=(yi(i)?i[i.length-1]:i).prototype;return c=Object.create(h||null),p&&o(a,p,c,d||i.name),f(function(){var e=n.invoke(i,c,a,d);return e!==c&&(x(e)||A(e))&&(c=e,p&&o(a,p,c,d||i.name)),c},{instance:c,identifier:p})}return c=n.instantiate(i,a,d),p&&o(a,p,c,d||i.name),c}}]}function At(){this.$get=["$window",function(e){return ai(e.document)}]}function kt(){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 Nt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Pt(e){return x(e)?T(e)?e.toISOString():X(e):e}function Ot(){this.$get=function(){return function(e){if(!e)return"";var t=[];return s(e,function(e,n){null===e||b(e)||A(e)||(yi(e)?a(e,function(e){t.push(se(n)+"="+se(Pt(e)))}):t.push(se(n)+"="+se(Pt(e))))}),t.join("&")}}}function Dt(){this.$get=function(){return function(e){function t(e,r,i){null===e||b(e)||(yi(e)?a(e,function(e,n){t(e,r+"["+(x(e)?n:"")+"]")}):x(e)&&!T(e)?s(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(se(r)+"="+se(Pt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function It(e,t){if(E(e)){var n=e.replace(To,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf(xo);if(i||Mt(n))try{e=Z(n)}catch(t){if(!i)return e;throw _o("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}return e}function Mt(e){var t=e.match(Eo);return t&&Co[t[0]].test(e)}function Ft(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=$e();return E(e)?a(e.split("\n"),function(e){n=e.indexOf(":"),t(ti(bi(e.substr(0,n))),bi(e.substr(n+1)))}):x(e)&&a(e,function(e,n){t(ti(n),bi(e))}),r}function Rt(e){var t;return function(n){if(t||(t=Ft(e)),n){var r=t[ti(n)];return void 0===r&&(r=null),r}return t}}function jt(e,t,n,r){return A(r)?r(e,t,n):(a(r,function(r){e=r(e,t,n)}),e)}function Ut(e){return 200<=e&&e<300}function Lt(){var e=this.defaults={transformResponse:[It],transformRequest:[function(e){return!x(e)||O(e)||I(e)||D(e)?e:X(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:xe(So),put:xe(So),patch:xe(So)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return w(e)?(t=!!e,this):t};var n=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(r,o,s,l,c,u,d,p){function h(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 o(){r.$$completeOutstandingRequest(m)}function s(e,t){var n,r={};return a(e,function(e,i){A(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e}),r}function l(t){var n=t.headers,r=jt(t.data,Rt(n),void 0,t.transformRequest);return b(r)&&a(n,function(e,t){"content-type"===ti(t)&&delete n[t]}),b(t.withCredentials)&&!b(e.withCredentials)&&(t.withCredentials=e.withCredentials),v(t,r).then(c,c)}function c(e){var t=f({},e);return t.data=jt(e.data,e.headers,e.status,h.transformResponse),Ut(e.status)?t:u.reject(t)}if(!x(t))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",t);if(!E(p.valueOf(t.url)))throw i("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",t.url);var h=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},t);h.headers=function(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[ti(t.method)]);e:for(n in o){r=ti(n);for(i in a)if(ti(i)===r)continue e;a[n]=o[n]}return s(a,xe(t))}(t),h.method=ni(h.method),h.paramSerializer=E(h.paramSerializer)?d.get(h.paramSerializer):h.paramSerializer,r.$$incOutstandingRequestCount();var g=[],y=[],$=u.resolve(h);return a(S,function(e){(e.request||e.requestError)&&g.unshift(e.request,e.requestError),(e.response||e.responseError)&&y.push(e.response,e.responseError)}),$=n($,g),$=$.then(l),$=n($,y),$=$.finally(o)}function v(n,r){function i(e){if(e){var n={};return a(e,function(e,r){n[r]=function(n){function r(){e(n)}t?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),n}}function l(e,n,r,i,o){function a(){d(n,e,r,i,o)}m&&(Ut(e)?m.put(k,[e,n,Ft(r),i,o]):m.remove(k)),t?c.$applyAsync(a):(a(),c.$$phase||c.$apply())}function d(e,t,r,i,o){t=t>=-1?t:0,(Ut(t)?C.resolve:C.reject)({data:e,status:t,headers:Rt(r),config:n,statusText:i,xhrStatus:o})}function f(e){d(e.data,e.status,xe(e.headers()),e.statusText,e.xhrStatus)}function v(){var e=h.pendingRequests.indexOf(n);-1!==e&&h.pendingRequests.splice(e,1)}var m,S,C=u.defer(),T=C.promise,_=n.headers,A="jsonp"===ti(n.method),k=n.url;if(A?k=p.getTrustedResourceUrl(k):E(k)||(k=p.valueOf(k)),k=g(k,n.paramSerializer(n.params)),A&&(k=y(k,n.jsonpCallbackParam)),h.pendingRequests.push(n),T.then(v,v),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(m=x(n.cache)?n.cache:x(e.cache)?e.cache:$),m&&(S=m.get(k),w(S)?F(S)?S.then(f,f):yi(S)?d(S[1],S[0],xe(S[2]),S[3],S[4]):d(S,200,{},"OK","complete"):m.put(k,T)),b(S)){var N=Wn(n.url)?s()[n.xsrfCookieName||e.xsrfCookieName]:void 0;N&&(_[n.xsrfHeaderName||e.xsrfHeaderName]=N),o(n.method,k,r,l,_,n.timeout,n.withCredentials,n.responseType,i(n.eventHandlers),i(n.uploadEventHandlers))}return T}function g(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function y(e,t){var n=e.split("?");if(n.length>2)throw _o("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return a(ie(n[1]),function(n,r){if("JSON_CALLBACK"===n)throw _o("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw _o("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)}),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var $=l("$http");e.paramSerializer=E(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var S=[];return a(n,function(e){S.unshift(E(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],function(e){a(arguments,function(e){h[e]=function(t,n){return h(f({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){a(arguments,function(e){h[e]=function(t,n,r){return h(f({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),h.defaults=e,h}]}function qt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Vt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Ht(e,r,e.defer,t,n[0])}]}function Ht(e,t,n,r,i){function o(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,l="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}return function(i,s,l,c,u,d,f,p,h,v){function m(){$&&$(),x&&x.abort()}function g(e,t,r,i,o,a){w(T)&&n.cancel(T),$=x=null,e(t,r,i,o,a)}if(s=s||e.url(),"jsonp"===ti(i))var y=r.createCallback(s),$=o(s,y,function(e,t){var n=200===e&&r.getResponse(y);g(c,e,n,"",t,"complete"),r.removeCallback(y)});else{var x=t(i,s);x.open(i,s,!0),a(u,function(e,t){w(e)&&x.setRequestHeader(t,e)}),x.onload=function(){var e=x.statusText||"",t="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=t?200:"file"===Bn(s).protocol?404:0),g(c,n,t,x.getAllResponseHeaders(),e,"complete")};var S=function(){g(c,-1,null,null,"","error")},E=function(){g(c,-1,null,null,"","abort")},C=function(){g(c,-1,null,null,"","timeout")};if(x.onerror=S,x.onabort=E,x.ontimeout=C,a(h,function(e,t){x.addEventListener(t,e)}),a(v,function(e,t){x.upload.addEventListener(t,e)}),f&&(x.withCredentials=!0),p)try{x.responseType=p}catch(e){if("json"!==p)throw e}x.send(b(l)?null:l)}if(d>0)var T=n(m,d);else F(d)&&d.then(m)}}function Bt(){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 l(o,l,d,p){function h(e){try{return e=k(e),p&&!w(e)?e:be(e)}catch(e){r(Ao.interr(o,e))}}if(!o.length||-1===o.indexOf(e)){var v;if(!l){v=y(a(o)),v.exp=o,v.expressions=[],v.$$watchDelegate=s}return v}p=!!p;for(var m,g,$,x=0,S=[],E=[],C=o.length,T=[],_=[];x<C;){if(-1===(m=o.indexOf(e,x))||-1===(g=o.indexOf(t,m+c))){x!==C&&T.push(a(o.substring(x)));break}x!==m&&T.push(a(o.substring(x,m))),$=o.substring(m+c,g),S.push($),E.push(n($,h)),x=g+u,_.push(T.length),T.push("")}if(d&&T.length>1&&Ao.throwNoconcat(o),!l||S.length){var A=function(e){for(var t=0,n=S.length;t<n;t++){if(p&&b(e[t]))return;T[_[t]]=e[t]}return T.join("")},k=function(e){return d?i.getTrusted(d,e):i.valueOf(e)};return f(function(e){var t=0,n=S.length,i=new Array(n);try{for(;t<n;t++)i[t]=E[t](e);return A(i)}catch(e){r(Ao.interr(o,e))}},{exp:o,expressions:S,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=A(r);t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,u=t.length,d=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function Wt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,l,c){function u(){d?o.apply(null,f):o(v)}var d=arguments.length>4,f=d?Y(arguments,4):[],p=t.setInterval,h=t.clearInterval,v=0,m=w(c)&&!c,g=(m?r:n).defer(),y=g.promise;return l=w(l)?l:0,y.$$intervalId=p(function(){m?i.defer(u):e.$evalAsync(u),g.notify(v++),l>0&&v>=l&&(g.resolve(v),h(y.$$intervalId),delete a[y.$$intervalId]),m||e.$apply()},s),a[y.$$intervalId]=g,y}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(Pn(a[e.$$intervalId].promise),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function zt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ae(t[n].replace(/%2F/g,"/"));return t.join("/")}function Gt(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 Yt(e,t){var n=Bn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=h(n.port)||Po[n.protocol]||null}function Kt(e,t,n){if(Do.test(e))throw Oo("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=Bn(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=Gt(o,n),t.$$search=ie(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Jt(e,t){return e.slice(0,t.length)===t}function Xt(e,t){if(Jt(t,e))return t.substr(e.length)}function Zt(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function Qt(e){return e.replace(/(#.+)|#$/,"$1")}function en(e){return e.substr(0,Zt(e).lastIndexOf("/")+1)}function tn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function nn(e,t,n){this.$$html5=!0,n=n||"",Yt(e,this),this.$$parse=function(e){var n=Xt(t,e);if(!E(n))throw Oo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Kt(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=oe(this.$$search),n=this.$$hash?"#"+ae(this.$$hash):"";this.$$url=zt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return w(o=Xt(e,r))?(a=o,s=n&&w(o=Xt(n,o))?t+(Xt("/",o)||o):e+a):w(o=Xt(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function rn(e,t,n){Yt(e,this),this.$$parse=function(r){var i,o=Xt(e,r)||Xt(t,r);b(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",b(o)&&(e=r,this.replace())):(i=Xt(n,o),b(i)&&(i=o)),Kt(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Jt(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.$$compose=function(){var t=oe(this.$$search),r=this.$$hash?"#"+ae(this.$$hash):"";this.$$url=zt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(t,n){return Zt(e)===Zt(t)&&(this.$$parse(t),!0)}}function on(e,t,n){this.$$html5=!0,rn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===Zt(r)?o=r:(a=Xt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=oe(this.$$search),r=this.$$hash?"#"+ae(this.$$hash):"";this.$$url=zt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url,this.$$urlUpdatedByLocation=!0}}function an(e){return function(){return this[e]}}function sn(e,t){return function(n){return b(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function ln(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return w(t)?(e=t,this):e},this.html5Mode=function(e){return M(e)?(t.enabled=e,this):x(e)?(M(e.enabled)&&(t.enabled=e.enabled),M(e.requireBase)&&(t.requireBase=e.requireBase),(M(e.rewriteLinks)||E(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,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,u,d,f=r.baseHref(),p=r.url();if(t.enabled){if(!f&&t.requireBase)throw Oo("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=tn(p)+(f||"/"),u=i.history?nn:on}else d=Zt(p),u=rn;var h=en(d);c=new u(d,h,"#"+e),c.$$parseLinkUrl(p,p),c.$$state=r.state();var v=/^\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 s=ai(e.target);"a"!==q(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!E(i)||!b(s.attr(i))){var l=s.prop("href"),u=s.attr("href")||s.attr("xlink:href");x(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=Bn(l.animVal).href),v.test(l)||!l||s.attr("target")||e.isDefaultPrevented()||c.$$parseLinkUrl(l,u)&&(e.preventDefault(),c.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Qt(c.absUrl())!==Qt(p)&&r.url(c.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){if(!Jt(e,h))return void(a.location.href=e);n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;e=Qt(e),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,s(i,!1,o)):(m=!1,l(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(m||c.$$urlUpdatedByLocation){c.$$urlUpdatedByLocation=!1;var e=Qt(r.url()),t=Qt(c.absUrl()),o=r.state(),a=c.$$replace,u=e!==t||c.$$html5&&i.history&&o!==c.$$state;(m||u)&&(m=!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):(u&&s(t,a,o===c.$$state?null:c.$$state),l(e,o)))}))}c.$$replace=!1}),c}]}function cn(){var e=!0,t=this;this.debugEnabled=function(t){return w(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return _(e)&&(e.stack&&o?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||m;return function(){var e=[];return a(arguments,function(t){e.push(r(t))}),Function.prototype.apply.call(i,t,e)}}var o=oi||/\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 un(e){return e+""}function dn(e,t){return void 0!==e?e:t}function fn(e,t){return void 0===e?t:void 0===t?e:e+t}function pn(e,t){return!e(t).$stateful}function hn(e,t){switch(e.type){case Lo.MemberExpression:if(e.computed)return!1;break;case Lo.UnaryExpression:return qo;case Lo.BinaryExpression:return"+"!==e.operator&&qo;case Lo.CallExpression:return!1}return void 0===t?Vo:t}function vn(e,t,n){var r,i,o,s=e.isPure=hn(e,n);switch(e.type){case Lo.Program:r=!0,a(e.body,function(e){vn(e.expression,t,s),r=r&&e.expression.constant}),e.constant=r;break;case Lo.Literal:e.constant=!0,e.toWatch=[];break;case Lo.UnaryExpression:vn(e.argument,t,s),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Lo.BinaryExpression:vn(e.left,t,s),vn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Lo.LogicalExpression:vn(e.left,t,s),vn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Lo.ConditionalExpression:vn(e.test,t,s),vn(e.alternate,t,s),vn(e.consequent,t,s),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Lo.Identifier:e.constant=!1,e.toWatch=[e];break;case Lo.MemberExpression:vn(e.object,t,s),e.computed&&vn(e.property,t,s),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case Lo.CallExpression:o=!!e.filter&&pn(t,e.callee.name),r=o,i=[],a(e.arguments,function(e){vn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=o?i:[e];break;case Lo.AssignmentExpression:vn(e.left,t,s),vn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Lo.ArrayExpression:r=!0,i=[],a(e.elements,function(e){vn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case Lo.ObjectExpression:r=!0,i=[],a(e.properties,function(e){vn(e.value,t,s),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(vn(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case Lo.ThisExpression:case Lo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function mn(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 gn(e){return e.type===Lo.Identifier||e.type===Lo.MemberExpression}function yn(e){if(1===e.body.length&&gn(e.body[0].expression))return{type:Lo.AssignmentExpression,left:e.body[0].expression,right:{type:Lo.NGValueParameter},operator:"="}}function $n(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Lo.Literal||e.body[0].expression.type===Lo.ArrayExpression||e.body[0].expression.type===Lo.ObjectExpression)}function bn(e){return e.constant}function wn(e){this.$filter=e}function xn(e){this.$filter=e}function Sn(e,t,n){this.ast=new Lo(e,n),this.astCompiler=n.csp?new xn(t):new wn(t)}function En(e){return A(e.valueOf)?e.valueOf():Fo.call(e)}function Cn(){var e,t,n=$e(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){function s(e,t){var i,a;switch(void 0===e?"undefined":r(e)){case"string":if(e=e.trim(),a=e,!(i=n[a])){i=new Sn(new Uo(g),o,g).parse(e),i.constant?i.$$watchDelegate=p:i.oneTime?i.$$watchDelegate=i.literal?f:d:i.inputs&&(i.$$watchDelegate=u),n[a]=i}return h(i,t);case"function":return h(e,t);default:return h(m,t)}}function l(e){return new Sn(new Uo(g),o,g).getAst(e).ast}function c(e,t,n){return null==e||null==t?e===t:!("object"===(void 0===e?"undefined":r(e))&&(e=En(e),"object"===(void 0===e?"undefined":r(e))&&!n))&&(e===t||e!==e&&t!==t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var s=c;return a=a[0],e.$watch(function(e){var t=a(e);return c(t,s,a.isPure)||(o=r(e,void 0,void 0,[t]),s=t&&En(t)),o},t,n,i)}for(var l=[],u=[],d=0,f=a.length;d<f;d++)l[d]=c,u[d]=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=!c(s,l[n],a[n].isPure)))&&(u[n]=s,l[n]=s&&En(s))}return t&&(o=r(e,void 0,void 0,u)),o},t,n,i)}function d(e,t,n,r,i){function o(e){return r(e)}function a(e,n,r){l=e,A(t)&&t(e,n,r),w(e)&&r.$$postDigest(function(){w(l)&&s()})}var s,l;return s=r.inputs?u(e,a,n,r,i):e.$watch(o,a,n)}function f(e,t,n,r){function i(e){var t=!0;return a(e,function(e){w(e)||(t=!1)}),t}var o,s;return o=e.$watch(function(e){return r(e)},function(e,n,r){s=e,A(t)&&t(e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&o()})},n)}function p(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function h(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==f&&n!==d,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return w(a)?s:a};return r=!e.inputs,n&&n!==u?(o.$$watchDelegate=n,o.inputs=e.inputs):t.$stateful||(o.$$watchDelegate=u,o.inputs=e.inputs?e.inputs:[e]),o.inputs&&(o.inputs=o.inputs.map(function(e){return e.isPure===Vo?function(t){return e(t)}:e})),o}var v=xi().noUnsafeEval,g={csp:v,literals:B(i),isIdentifierStart:A(e)&&e,isIdentifierContinue:A(t)&&t};return s.$$getAst=l,s}]}function Tn(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return An(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return w(t)?(e=t,this):e}}function _n(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return An(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return w(t)?(e=t,this):e}}function An(e,t,n){function r(){return new o}function o(){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 l(r){var i,o,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var s=0,l=a.length;s<l;++s){Nn(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{--T,n&&0===T&&e(c)}}function c(){for(;!T&&k.length;){var e=k.shift();if(!kn(e)){Nn(e);var n="Possibly unhandled rejection: "+Ee(e.value);_(e.value)?t(e.value,n):t(n)}}}function u(t){!n||t.pending||2!==t.status||kn(t)||(0===T&&0===k.length&&e(c),k.push(t)),!t.processScheduled&&t.pending&&(t.processScheduled=!0,++T,e(function(){l(t)}))}function d(e,t){e.$$state.status||(t===e?v(e,C("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,u(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,u(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 y(e,t,n){var r=null;try{A(n)&&(r=n())}catch(e){return g(e)}return F(r)?r.then(function(){return t(e)},g):t(e)}function $(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=yi(e)?[]:{};return a(e,function(e,i){n++,$(e).then(function(e){r[i]=e,--n||d(t,r)},function(e){h(t,e)})}),0===n&&d(t,r),t}function S(e){var t=r();return a(e,function(e){$(e).then(t.resolve,t.reject)}),t.promise}function E(e){function t(e){d(r,e)}function n(e){h(r,e)}if(!A(e))throw C("norslvr","Expected resolverFn, got '{0}'",e);var r=new s;return e(t,n),r}var C=i("$q",TypeError),T=0,k=[];f(s.prototype,{then:function(e,t,n){if(b(e)&&b(t)&&b(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&&u(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return y(t,N,e)},function(t){return y(t,g,e)},t)}});var N=$;return E.prototype=s.prototype,E.defer=r,E.reject=g,E.when=$,E.resolve=N,E.all=w,E.race=S,E}function kn(e){return!!e.pur}function Nn(e){e.pur=!0}function Pn(e){Nn(e.$$state)}function On(){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 Dn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=c(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=i("$rootScope"),r=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(i,l,u){function d(e){e.currentScope.$$destroyed=!0}function f(e){9===oi&&(e.$$childHead&&f(e.$$childHead),e.$$nextSibling&&f(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function h(e){if(E.$$phase)throw n("inprog","{0} already in progress",E.$$phase);E.$$phase=e}function v(){E.$$phase=null}function g(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function y(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function $(){}function w(){for(;_.length;)try{_.shift()()}catch(e){i(e)}s=null}function S(){null===s&&(s=u.defer(function(){E.$apply(w)}))}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",d),r},$watch:function(e,t,n,i){var o=l(e),a=A(t)?t:m;if(o.$$watchDelegate)return o.$$watchDelegate(this,a,n,o,e);var s=this,c=s.$$watchers,u={fn:a,last:$,get:o,exp:i||e,eq:!!n};return r=null,c||(c=s.$$watchers=[],c.$$digestWatchIndex=-1),c.unshift(u),c.$$digestWatchIndex++,g(this,1),function(){var e=H(c,u);e>=0&&(g(s,-1),e<c.$$digestWatchIndex&&c.$$digestWatchIndex--),r=null}},$watchGroup:function(e,t){function n(){l=!1,c?(c=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),o=[],s=this,l=!1,c=!0;if(!e.length){var u=!0;return s.$evalAsync(function(){u&&t(i,i,s)}),function(){u=!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)}):(a(e,function(e,t){var a=s.$watch(e,function(e,o){i[t]=e,r[t]=o,l||(l=!0,s.$evalAsync(n))});o.push(a)}),function(){for(;o.length;)o.shift()()})},$watchCollection:function(e,t){function n(e){i=e;var t,n,r,s;if(!b(i)){if(x(i))if(o(i)){a!==p&&(a=p,m=a.length=0,d++),t=i.length,m!==t&&(d++,a.length=m=t);for(var l=0;l<t;l++)s=a[l],r=i[l],s!==s&&r!==r||s===r||(d++,a[l]=r)}else{a!==h&&(a=h={},m=0,d++),t=0;for(n in i)ei.call(i,n)&&(t++,r=i[n],s=a[n],n in a?s!==s&&r!==r||s===r||(d++,a[n]=r):(m++,a[n]=r,d++));if(m>t){d++;for(n in a)ei.call(i,n)||(m--,delete a[n])}}else a!==i&&(a=i,d++);return d}}function r(){if(v?(v=!1,t(i,i,c)):t(i,s,c),u)if(x(i))if(o(i)){s=new Array(i.length);for(var e=0;e<i.length;e++)s[e]=i[e]}else{s={};for(var n in i)ei.call(i,n)&&(s[n]=i[n])}else s=i}n.$stateful=!0;var i,a,s,c=this,u=t.length>1,d=0,f=l(e,n),p=[],h={},v=!0,m=0;return this.$watch(f,r)},$digest:function(){var e,o,a,l,c,d,f,p,m,g,y,b=t,x=this,S=[];h("$digest"),u.$$checkUrlChange(),this===E&&null!==s&&(u.defer.cancel(s),w()),r=null;do{f=!1,m=x;for(var _=0;_<C.length;_++){try{y=C[_],l=y.fn,l(y.scope,y.locals)}catch(e){i(e)}r=null}C.length=0;e:do{if(d=m.$$watchers)for(d.$$digestWatchIndex=d.length;d.$$digestWatchIndex--;)try{if(e=d[d.$$digestWatchIndex])if(c=e.get,(o=c(m))===(a=e.last)||(e.eq?z(o,a):gi(o)&&gi(a))){if(e===r){f=!1;break e}}else f=!0,r=e,e.last=e.eq?B(o,null):o,l=e.fn,l(o,a===$?o:a,m),b<5&&(g=4-b,S[g]||(S[g]=[]),S[g].push({msg:A(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:o,oldVal:a}))}catch(e){i(e)}if(!(p=m.$$watchersCount&&m.$$childHead||m!==x&&m.$$nextSibling))for(;m!==x&&!(p=m.$$nextSibling);)m=m.$parent}while(m=p);if((f||C.length)&&!b--)throw v(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,S)}while(f||C.length);for(v();k<T.length;)try{T[k++]()}catch(e){i(e)}T.length=k=0,u.$$checkUrlChange()},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===E&&u.$$applicationDestroyed(),g(this,-this.$$watchersCount);for(var t in this.$$listenerCount)y(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=m,this.$on=this.$watch=this.$watchGroup=function(){return m},this.$$listeners={},this.$$nextSibling=null,f(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){E.$$phase||C.length||u.defer(function(){C.length&&E.$digest()}),C.push({scope:this,fn:l(e),locals:t})},$$postDigest:function(e){T.push(e)},$apply:function(e){try{h("$apply");try{return this.$eval(e)}finally{v()}}catch(e){i(e)}finally{try{E.$digest()}catch(e){throw i(e),e}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&_.push(t),e=l(e),S()},$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],y(i,1,e))}},$emit:function(e,t){var n,r,o,a=[],s=this,l=!1,c={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},u=G([c],arguments,1);do{for(n=s.$$listeners[e]||a,c.currentScope=s,r=0,o=n.length;r<o;r++)if(n[r])try{n[r].apply(null,u)}catch(e){i(e)}else n.splice(r,1),r--,o--;if(l)break;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,r=n,o=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,l,c,u=G([a],arguments,1);r=o;){for(a.currentScope=r,s=r.$$listeners[e]||[],l=0,c=s.length;l<c;l++)if(s[l])try{s[l].apply(null,u)}catch(e){i(e)}else s.splice(l,1),l--,c--;if(!(o=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(o=r.$$nextSibling);)r=r.$parent}return a.currentScope=null,a}};var E=new p,C=E.$$asyncQueue=[],T=E.$$postDigestQueue=[],_=E.$$applyAsyncQueue=[],k=0;return E}]}function In(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return w(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return w(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=Bn(n&&n.trim()).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Mn(e){return e.replace(Wo,_e)}function Fn(e){if("self"===e)return e;if(E(e)){if(e.indexOf("***")>-1)throw Ho("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=wi(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(k(e))return new RegExp("^"+e.source+"$");throw Ho("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Rn(e){var t=[];return w(e)&&a(e,function(e){t.push(Fn(e))}),t}function jn(){this.SCE_CONTEXTS=Bo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Rn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Rn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Wn(t):!!e.exec(t.href)}function i(n){var i,o,a=Bn(n.toString()),s=!1;for(i=0,o=e.length;i<o;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;i<o;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=d.hasOwnProperty(e)?d[e]:null;if(!n)throw Ho("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||b(t)||""===t)return t;if("string"!=typeof t)throw Ho("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof u?e.$$unwrapTrustedValue():e}function l(e,t){if(null===t||b(t)||""===t)return t;var n=d.hasOwnProperty(e)?d[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===Bo.RESOURCE_URL){if(i(t))return t;throw Ho("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===Bo.HTML)return c(t);throw Ho("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(e){throw Ho("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(c=n.get("$sanitize"));var u=o(),d={};return d[Bo.HTML]=o(u),d[Bo.CSS]=o(u),d[Bo.URL]=o(u),d[Bo.JS]=o(u),d[Bo.RESOURCE_URL]=o(d[Bo.URL]),{trustAs:a,getTrusted:l,valueOf:s}}]}function Un(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&oi<8)throw Ho("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=xe(Bo);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=g),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,o=r.getTrusted,s=r.trustAs;return a(Bo,function(e,t){var n=ti(t);r[Mn("parse_as_"+n)]=function(t){return i(e,t)},r[Mn("get_trusted_"+n)]=function(t){return o(e,t)},r[Mn("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Ln(){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=h((/android (\d+)/.exec(ti((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=l.body&&l.body.style,u=!1,d=!1;return c&&(u=!!("transition"in c||"webkitTransition"in c),d=!!("animation"in c||"webkitAnimation"in c)),{history:!(!o||a<4||s),hasEvent:function(e){if("input"===e&&oi)return!1;if(b(n[e])){var t=l.createElement("div");n[e]="on"+e in t}return n[e]},csp:xi(),transitions:u,animations:d,android:a}}]}function qn(){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,l){function c(e){return l||(e=zo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,E(s)&&!b(n.get(s))||(s=o.getTrustedResourceUrl(s));var u=r.defaults&&r.defaults.transformResponse;return yi(u)?u=u.filter(function(e){return e!==It}):u===It&&(u=null),r.get(s,f({cache:n,transformResponse:u},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data),e.data},c)}return a.totalPendingRequests=0,a}]}function Vn(){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 a(r,function(e){var r=vi.element(e).data("$binding");r&&a(r,function(r){if(n){new RegExp("(^|\\s)"+wi(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 Hn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,l){A(o)||(l=s,s=o,o=m);var c,u=Y(arguments,3),d=w(l)&&!l,f=(d?r:n).defer(),p=f.promise;return c=t.defer(function(){try{f.resolve(o.apply(null,u))}catch(e){f.reject(e),i(e)}finally{delete a[p.$$timeoutId]}d||e.$apply()},s),p.$$timeoutId=c,a[c]=f,p}var a={};return o.cancel=function(e){return!!(e&&e.$$timeoutId in a)&&(Pn(a[e.$$timeoutId].promise),a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},o}]}function Bn(e){var t=e;return oi&&(Go.setAttribute("href",t),t=Go.href),Go.setAttribute("href",t),{href:Go.href,protocol:Go.protocol?Go.protocol.replace(/:$/,""):"",host:Go.host,search:Go.search?Go.search.replace(/^\?/,""):"",hash:Go.hash?Go.hash.replace(/^#/,""):"",hostname:Go.hostname,port:Go.port,pathname:"/"===Go.pathname.charAt(0)?Go.pathname:"/"+Go.pathname}}function Wn(e){var t=E(e)?Bn(e):e;return t.protocol===Yo.protocol&&t.host===Yo.host}function zn(){this.$get=y(e)}function Gn(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,l,c,u=t(r);if(u!==o)for(o=u,e=o.split("; "),i={},s=0;s<e.length;s++)a=e[s],(l=a.indexOf("="))>0&&(c=n(a.substring(0,l)),b(i[c])&&(i[c]=n(a.substring(l+1))));return i}}function Yn(){this.$get=Gn}function Kn(e){function t(r,i){if(x(r)){var o={};return a(r,function(e,n){o[n]=t(n,e)}),o}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",er),t("date",vr),t("filter",Jn),t("json",mr),t("limitTo",gr),t("lowercase",ta),t("number",tr),t("orderBy",$r),t("uppercase",na)}function Jn(){return function(e,t,n,r){if(!o(e)){if(null==e)return e;throw i("filter")("notarray","Expected array but received: {0}",e)}r=r||"$";var a,s,l=Qn(t);switch(l){case"function":a=t;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Xn(t,n,r,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Xn(e,t,n,r){var i=x(e)&&n in e;return!0===t?t=z:A(t)||(t=function(e,t){return!b(e)&&(null===e||null===t?e===t:!(x(t)||x(e)&&!$(e))&&(e=ti(""+e),t=ti(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!x(o)?Zn(o,e[n],t,n,!1):Zn(o,e,t,n,r)}}function Zn(e,t,n,r,i,o){var a=Qn(e),s=Qn(t);if("string"===s&&"!"===t.charAt(0))return!Zn(e,t.substring(1),n,r,i);if(yi(e))return e.some(function(e){return Zn(e,t,n,r,i)});switch(a){case"object":var l;if(i){for(l in e)if(l.charAt&&"$"!==l.charAt(0)&&Zn(e[l],t,n,r,!0))return!0;return!o&&Zn(e,t,n,r,!1)}if("object"===s){for(l in t){var c=t[l];if(!A(c)&&!b(c)){var u=l===r;if(!Zn(u?e:e[l],c,n,r,u,u))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Qn(e){return null===e?"null":void 0===e?"undefined":r(e)}function er(e){var t=e.NUMBER_FORMATS;return function(e,n,r){b(n)&&(n=t.CURRENCY_SYM),b(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:ir(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function tr(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:ir(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function nr(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Jo))>-1&&(e=e.replace(Jo,"")),(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)===Xo;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Xo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Ko&&(t=t.splice(0,Ko-1),a=n-1,n=1),{d:t,e:a,i:n}}function rr(e,t,n,r){var i=e.d,o=i.length-e.i;t=b(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 l=a;l<i.length;l++)i[l]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var c=1;c<a;c++)i[c]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)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 d=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);d&&(i.unshift(d),e.i++)}function ir(e,t,n,r,i){if(!E(e)&&!C(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,l=Math.abs(e)+"",c="";if(a)c="∞";else{o=nr(l),rr(o,i,t.minFrac,t.maxFrac);var u=o.d,d=o.i,f=o.e,p=[];for(s=u.reduce(function(e,t){return e&&!t},!0);d<0;)u.unshift(0),d++;d>0?p=u.splice(d,u.length):(p=u,u=[0]);var h=[];for(u.length>=t.lgSize&&h.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)h.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&h.unshift(u.join("")),c=h.join(n),p.length&&(c+=r+p.join("")),f&&(c+="e+"+f)}return e<0&&!s?t.negPre+c+t.negSuf:t.posPre+c+t.posSuf}function or(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=Xo+e;return n&&(e=e.substr(e.length-t)),i+e}function ar(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),or(a,t,r,i)}}function sr(e,t,n){return function(r,i){var o=r["get"+e]();return i[ni((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function lr(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=or(Math[r>0?"floor":"ceil"](r/60),2)+or(Math.abs(r%60),2)}function cr(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function ur(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function dr(e){return function(t){var n=cr(t.getFullYear()),r=ur(t),i=+r-+n;return or(1+Math.round(i/6048e5),e)}}function fr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function pr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function hr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function vr(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=h(t[9]+t[10]),o=h(t[9]+t[11])),a.call(r,h(t[1]),h(t[2])-1,h(t[3]));var l=h(t[4]||0)-i,c=h(t[5]||0)-o,u=h(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,l,c,u,d),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 o,s,l="",c=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,E(n)&&(n=ea.test(n)?h(n):t(n)),C(n)&&(n=new Date(n)),!T(n)||!isFinite(n.getTime()))return n;for(;r;)s=Qo.exec(r),s?(c=G(c,s,1),r=c.pop()):(c.push(r),r=null);var u=n.getTimezoneOffset();return i&&(u=Q(i,u),n=te(n,i,!0)),a(c,function(t){o=Zo[t],l+=o?o(n,e.DATETIME_FORMATS,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function mr(){return function(e,t){return b(t)&&(t=2),X(e,t)}}function gr(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):h(t),gi(t)?e:(C(e)&&(e=e.toString()),o(e)?(n=!n||isNaN(n)?0:h(n),n=n<0?Math.max(0,e.length+n):n,t>=0?yr(e,n,n+t):0===n?yr(e,t,e.length):yr(e,Math.max(0,n+t),n)):e)}}function yr(e,t,n){return E(e)?e.slice(t,n):ci.call(e,t,n)}function $r(e){function t(t){return t.map(function(t){var n=1,r=g;if(A(t))r=t;else if(E(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(void 0===e?"undefined":r(e)){case"number":case"boolean":case"string":return!0;default:return!1}}function a(e){return A(e.valueOf)&&(e=e.valueOf(),n(e))?e:($(e)&&(e=e.toString(),n(e)),e)}function s(e,t){var n=void 0===e?"undefined":r(e);return null===e?(n="string",e="null"):"object"===n&&(e=a(e)),{value:e,type:n,index:t}}function l(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=r<i?-1:1;return n}return function(e,n,r,a){function c(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:d.map(function(n){return s(n.get(e),t)})}}function u(e,t){for(var n=0,r=d.length;n<r;n++){var i=p(e.predicateValues[n],t.predicateValues[n]);if(i)return i*d[n].descending*f}return(p(e.tieBreaker,t.tieBreaker)||l(e.tieBreaker,t.tieBreaker))*f}if(null==e)return e;if(!o(e))throw i("orderBy")("notarray","Expected array but received: {0}",e);yi(n)||(n=[n]),0===n.length&&(n=["+"]);var d=t(n),f=r?-1:1,p=A(a)?a:l,h=Array.prototype.map.call(e,c);return h.sort(u),e=h.map(function(e){return e.value})}}function br(e){return A(e)&&(e={link:e}),e.restrict=e.restrict||"AC",y(e)}function wr(e,t){e.$name=t}function xr(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=oa,this.$$element=e,this.$$animate=r,Sr(this)}function Sr(e){e.$$classCache={},e.$$classCache[Va]=!(e.$$classCache[qa]=e.$$element.hasClass(qa))}function Er(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),Cr(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,qa+t,!0===n),r(e,Va+t,!1===n)}var o=e.clazz,a=e.set,s=e.unset;o.prototype.$setValidity=function(e,o,l){b(o)?t(this,"$pending",e,l):n(this,"$pending",e,l),M(o)?o?(s(this.$error,e,l),a(this.$$success,e,l)):(a(this.$error,e,l),s(this.$$success,e,l)):(s(this.$error,e,l),s(this.$$success,e,l)),this.$pending?(r(this,aa,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,aa,!1),this.$valid=Cr(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var c;c=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),i(this,e,c),this.$$parentForm.$setValidity(e,c,this)}}function Cr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Tr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function _r(e,t,n,r,i,o){Ar(e,t,n,r,i,o),Tr(r)}function Ar(e,t,n,r,i,o){var a=ti(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,c()})}var l,c=function(e){if(l&&(o.defer.cancel(l),l=null),!s){var i=t.val(),c=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=bi(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,c)}};if(i.hasEvent("input"))t.on("input",c);else{var u=function(e,t,n){l||(l=o.defer(function(){l=null,t&&t.value===n||c(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||u(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",u)}t.on("change",c),ba[a]&&r.$$hasNativeValidators&&a===n.type&&t.on($a,function(e){if(!l){var t=this[Qr],n=t.badInput,r=t.typeMismatch;l=o.defer(function(){l=null,t.badInput===n&&t.typeMismatch===r||c(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function kr(e,t){if(T(e))return e;if(E(e)){ma.lastIndex=0;var n=ma.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,l=0,c=cr(r),u=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,c.getDate()+u,o,a,s,l)}}return NaN}function Nr(e,t){return function(n,r){var i,o;if(T(n))return n;if(E(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ua.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),o=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},a(i,function(e,n){n<t.length&&(o[t[n]]=+e)}),new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0)}return NaN}}function Pr(e,t,n,r){return function(i,o,a,s,l,c,u){function d(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function f(e){return w(e)&&!T(e)?n(e)||void 0:e}Or(i,o,a,s),Ar(i,o,a,s,l,c);var p,h=s&&s.$options.getOption("timezone");if(s.$$parserName=e,s.$parsers.push(function(e){if(s.$isEmpty(e))return null;if(t.test(e)){var r=n(e,p);return h&&(r=te(r,h)),r}}),s.$formatters.push(function(e){if(e&&!T(e))throw Wa("datefmt","Expected `{0}` to be a date",e);return d(e)?(p=e,p&&h&&(p=te(p,h,!0)),u("date")(e,r,h)):(p=null,"")}),w(a.min)||a.ngMin){var v;s.$validators.min=function(e){return!d(e)||b(v)||n(e)>=v},a.$observe("min",function(e){v=f(e),s.$validate()})}if(w(a.max)||a.ngMax){var m;s.$validators.max=function(e){return!d(e)||b(m)||n(e)<=m},a.$observe("max",function(e){m=f(e),s.$validate()})}}}function Or(e,t,n,r){var i=t[0];(r.$$hasNativeValidators=x(i.validity))&&r.$parsers.push(function(e){var n=t.prop(Qr)||{};return n.badInput||n.typeMismatch?void 0:e})}function Dr(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:pa.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!C(t))throw Wa("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Ir(e){return w(e)&&!C(e)&&(e=parseFloat(e)),gi(e)?void 0:e}function Mr(e){return(0|e)===e}function Fr(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 Rr(e,t,n){var r=Number(e),i=!Mr(r),o=!Mr(t),a=!Mr(n);if(i||o||a){var s=i?Fr(r):0,l=o?Fr(t):0,c=a?Fr(n):0,u=Math.max(s,l,c),d=Math.pow(10,u);r*=d,t*=d,n*=d,i&&(r=Math.round(r)),o&&(t=Math.round(t)),a&&(n=Math.round(n))}return(r-t)%n==0}function jr(e,t,n,r,i,o){Or(e,t,n,r),Dr(r),Ar(e,t,n,r,i,o);var a,s;if((w(n.min)||n.ngMin)&&(r.$validators.min=function(e){return r.$isEmpty(e)||b(a)||e>=a},n.$observe("min",function(e){a=Ir(e),r.$validate()})),(w(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||b(s)||e<=s},n.$observe("max",function(e){s=Ir(e),r.$validate()})),w(n.step)||n.ngStep){var l;r.$validators.step=function(e,t){return r.$isEmpty(t)||b(l)||Rr(t,a||0,l)},n.$observe("step",function(e){l=Ir(e),r.$validate()})}}function Ur(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){if(d=Ir(e),!gi(r.$modelValue))if(u){var n=t.val();d>n&&(n=d,t.val(n)),r.$setViewValue(n)}else r.$validate()}function l(e){if(f=Ir(e),!gi(r.$modelValue))if(u){var n=t.val();f<n&&(t.val(f),n=f<d?d:f),r.$setViewValue(n)}else r.$validate()}function c(e){p=Ir(e),gi(r.$modelValue)||(u&&r.$viewValue!==t.val()?r.$setViewValue(t.val()):r.$validate())}Or(e,t,n,r),Dr(r),Ar(e,t,n,r,i,o);var u=r.$$hasNativeValidators&&"range"===t[0].type,d=u?0:void 0,f=u?100:void 0,p=u?1:void 0,h=t[0].validity,v=w(n.min),m=w(n.max),g=w(n.step),y=r.$render;r.$render=u&&w(h.rangeUnderflow)&&w(h.rangeOverflow)?function(){y(),r.$setViewValue(t.val())}:y,v&&(r.$validators.min=u?function(){return!0}:function(e,t){return r.$isEmpty(t)||b(d)||t>=d},a("min",s)),m&&(r.$validators.max=u?function(){return!0}:function(e,t){return r.$isEmpty(t)||b(f)||t<=f},a("max",l)),g&&(r.$validators.step=u?function(){return!h.stepMismatch}:function(e,t){return r.$isEmpty(t)||b(p)||Rr(t,d||0,p)},a("step",c))}function Lr(e,t,n,r,i,o){Ar(e,t,n,r,i,o),Tr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||da.test(n)}}function qr(e,t,n,r,i,o){Ar(e,t,n,r,i,o),Tr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||fa.test(n)}}function Vr(e,t,n,r){var i=!n.ngTrim||"false"!==bi(n.ngTrim);b(n.name)&&t.attr("name",c());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=bi(o)),r.$setViewValue(o,e&&e.type))};t.on("click",o),r.$render=function(){var e=n.value;i&&(e=bi(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function Hr(e,t,n,r,i){var o;if(w(r)){if(o=e(r),!o.constant)throw Wa("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Br(e,t,n,r,i,o,a,s){var l=Hr(s,e,"ngTrueValue",n.ngTrueValue,!0),c=Hr(s,e,"ngFalseValue",n.ngFalseValue,!1),u=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",u),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return z(e,l)}),r.$parsers.push(function(e){return e?l:c})}function Wr(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){var t=e;return yi(e)?t=e.map(i).join(" "):x(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}function o(e){var t=e;if(yi(e))t=e.map(o);else if(x(e)){var n=!1;t=Object.keys(e).filter(function(t){var r=e[t];return!n&&b(r)&&(n=!0),r}),n&&t.push(void 0)}return t}e="ngClass"+e;var s;return["$parse",function(l){return{restrict:"AC",link:function(c,u,d){function f(e){e=v(r(e),1),d.$addClass(e)}function p(e){e=v(r(e),-1),d.$removeClass(e)}function h(e,t){var i=r(e),o=r(t),a=n(i,o),s=n(o,i),l=v(a,-1),c=v(s,1);d.$addClass(c),d.$removeClass(l)}function v(e,t){var n=[];return a(e,function(e){(t>0||C[e])&&(C[e]=(C[e]||0)+t,C[e]===+(t>0)&&n.push(e))}),n.join(" ")}function m(e){e===t?f($):p($),T=e}function g(e){var t=i(e);t!==$&&y(t)}function y(e){T===t&&h($,e),$=e}var $,b=d[e].trim(),w=":"===b.charAt(0)&&":"===b.charAt(1),x=w?o:i,S=l(b,x),E=w?g:y,C=u.data("$classCounts"),T=!0;C||(C=$e(),u.data("$classCounts",C)),"ngClass"!==e&&(s||(s=l("$index",function(e){return 1&e})),c.$watch(s,m)),c.$watch(S,E,w)}}}]}function zr(e,t,n,r,i,o,a,s,l){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=l(n.name||"",!1)(e),this.$$parentForm=oa,this.$options=za,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.$$currentValidationRunId=0,Object.defineProperty(this,"$$scope",{value:e}),this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,Sr(this),Gr(this)}function Gr(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 Yr(e){this.$$options=e}function Kr(e,t){a(t,function(t,n){w(e[n])||(e[n]=t)})}function Jr(e,t){e.prop("selected",t),e.attr("selected",t)}var Xr={objectMaxDepth:5},Zr=/^\/(.+)\/([a-z]*)$/,Qr="validity",ei=Object.prototype.hasOwnProperty,ti=function(e){return E(e)?e.toLowerCase():e},ni=function(e){return E(e)?e.toUpperCase():e},ri=function(e){return E(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},ii=function(e){return E(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(ti=ri,ni=ii);var oi,ai,si,li,ci=[].slice,ui=[].splice,di=[].push,fi=Object.prototype.toString,pi=Object.getPrototypeOf,hi=i("ng"),vi=e.angular||(e.angular={}),mi=0;oi=e.document.documentMode;var gi=Number.isNaN||function(e){return e!==e};m.$inject=[],g.$inject=[];var yi=Array.isArray,$i=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,bi=function(e){return E(e)?e.trim():e},wi=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},xi=function t(){if(!w(t.rules)){var n=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");t.rules={noUnsafeEval:!r||-1!==r.indexOf("no-unsafe-eval"),noInlineStyle:!r||-1!==r.indexOf("no-inline-style")}}else t.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return t.rules},Si=function t(){if(w(t.name_))return t.name_;var n,r,i,o,a=Ci.length;for(r=0;r<a;++r)if(i=Ci[r],n=e.document.querySelector("["+i.replace(":","\\:")+"jq]")){o=n.getAttribute(i+"jq");break}return t.name_=o},Ei=/:/g,Ci=["ng-","data-ng-","ng:","x-ng-"],Ti=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),_i=/[A-Z]/g,Ai=!1,ki=1,Ni=3,Pi=8,Oi=9,Di=11,Ii={full:"1.6.9",major:1,minor:6,dot:9,codeName:"fiery-basilisk"};Me.expando="ng339";var Mi=Me.cache={},Fi=1;Me._data=function(e){return this.cache[e[this.expando]]||{}};var Ri=/-([a-z])/g,ji=/^-ms-/,Ui={mouseleave:"mouseout",mouseenter:"mouseover"},Li=i("jqLite"),qi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Vi=/<|&#?\w+;/,Hi=/<([\w:-]+)/,Bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Wi={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Wi.optgroup=Wi.option,Wi.tbody=Wi.tfoot=Wi.colgroup=Wi.caption=Wi.thead,Wi.th=Wi.td;var zi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Gi=Me.prototype={ready:Xe,toString:function(){var e=[];return a(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return ai(e>=0?this[e]:this[this.length+e])},length:0,push:di,sort:[].sort,splice:[].splice},Yi={};a("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Yi[ti(e)]=e});var Ki={};a("input,select,option,textarea,button,form,details".split(","),function(e){Ki[e]=!0});var Ji={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};a({data:qe,removeData:Ue,hasData:Pe,cleanData:function(e){for(var t=0,n=e.length;t<n;t++)Ue(e[t])}},function(e,t){Me[t]=e}),a({data:qe,inheritedData:Ge,scope:function(e){return ai.data(e,"$scope")||Ge(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return ai.data(e,"$isolateScope")||ai.data(e,"$isolateScopeNoTemplate")},controller:ze,injector:function(e){return Ge(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ve,css:function(e,t,n){if(t=Te(t),!w(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Ni&&2!==i&&i!==Pi&&e.getAttribute){var o=ti(t),a=Yi[o];if(!w(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(!w(n))return e[t];e[t]=n},text:function(){function e(e,t){if(b(t)){var n=e.nodeType;return n===ki||n===Ni?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(b(t)){if(e.multiple&&"select"===q(e)){var n=[];return a(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){if(b(t))return e.innerHTML;Re(e,!0),e.innerHTML=t},empty:Ye},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Ye&&b(2===e.length&&e!==Ve&&e!==ze?t:n)){if(x(t)){for(r=0;r<o;r++)if(e===qe)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=b(a)?Math.min(o,1):o,l=0;l<s;l++){var c=e(this[l],t,n);a=a?a+c:c}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),a({removeData:Ue,on:function(e,t,n,r){if(w(r))throw Li("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ne(e)){var i=Le(e,!0),o=i.events,a=i.handle;a||(a=i.handle=et(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length,c=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};l--;)t=s[l],Ui[t]?(c(Ui[t],nt),c(t,void 0,!0)):c(t)}},off:je,one:function(e,t,n){e=ai(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;Re(e),a(new Me(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return a(e.childNodes,function(e){e.nodeType===ki&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ki||n===Di){t=new Me(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===ki){var n=e.firstChild;a(new Me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Ie(e,ai(t).eq(0).clone()[0])},remove:Ke,detach:function(e){Ke(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new Me(t);for(var i=0,o=t.length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:Be,removeClass:He,toggleClass:function(e,t,n){t&&a(t.split(" "),function(t){var r=n;b(r)&&(r=!Ve(e,t)),(r?Be:He)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Di?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Fe,triggerHandler:function(e,t,n){var r,i,o,s=t.type||t,l=Le(e),c=l&&l.events,u=c&&c[s];u&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:m,type:s,target:e},t.type&&(r=f(r,t)),i=xe(u),o=n?[r].concat(n):[r],a(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,o)}))}},function(e,t){Me.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;o<a;o++)b(i)?(i=e(this[o],t,n,r),w(i)&&(i=ai(i))):We(i,e(this[o],t,n,r));return w(i)?i:this}}),Me.prototype.bind=Me.prototype.on,Me.prototype.unbind=Me.prototype.off;var Xi=Object.create(null);ot.prototype={_idx:function(e){return e===this._lastKey?this._lastIndex:(this._lastKey=e,this._lastIndex=this._keys.indexOf(e),this._lastIndex)},_transformKey:function(e){return gi(e)?Xi:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},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 Zi=ot,Qi=[function(){this.$get=[function(){return Zi}]}],eo=/^([^(]+?)=>/,to=/^[^(]*\(\s*([^)]*)\)/m,no=/,/,ro=/^\s*(_?)(\S+?)\1\s*$/,io=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,oo=i("$injector");ut.$$annotate=ct;var ao=i("$animate"),so=1,lo=function(){this.$get=m},co=function(){var e=new Zi,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=E(t)?t.split(" "):yi(t)?t:[],a(t,function(t){t&&(r=!0,e[t]=n)})),r}function o(){a(t,function(t){var n=e.get(t);if(n){var r=ht(t.attr("class")),i="",o="";a(n,function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:o+=(o.length?" ":"")+t)}),a(t,function(e){i&&Be(e,i),o&&He(e,o)}),e.delete(t)}}),t.length=0}function s(n,a,s){var l=e.get(n)||{},c=i(l,a,!0),u=i(l,s,!1);(c||u)&&(e.set(n,l),t.push(n),1===t.length&&r.$$postDigest(o))}return{enabled:m,on:m,off:m,pin:m,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}}}]},uo=["$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 ao("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,ao("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=pt(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.end&&e.end()},enter:function(n,r,i,o){return r=r&&ai(r),i=i&&ai(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",vt(o))},move:function(n,r,i,o){return r=r&&ai(r),i=i&&ai(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",vt(o))},leave:function(t,n){return e.push(t,"leave",vt(n),function(){t.remove()})},addClass:function(t,n,r){return r=vt(r),r.addClass=ft(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=vt(r),r.removeClass=ft(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=vt(i),i.addClass=ft(i.addClass,n),i.removeClass=ft(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=vt(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=ft(o.tempClasses,i),e.push(t,"animate",o)}}}]}],fo=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)}}}]},po=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function o(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 o.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()},o.all=function(e,t){function n(n){i=i&&n,++r===e.length&&t(i)}var r=0,i=!0;a(e,function(e){e.done(n)})},o.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:m,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&&(a(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},o}]},ho=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||l.complete(),s=!0}),l}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,l=new n;return{start:i,end:i}}}]},vo=i("$compile"),mo=new bt;wt.$inject=["$provide","$$sanitizeUriProvider"],xt.prototype.isFirstChange=function(){return this.previousValue===mo};var go=/^((?:x|data)[:\-_])/i,yo=/[:\-_]+(.)/g,$o=i("$controller"),bo=/^(\S+)(\s+as\s+([\w$]+))?$/,wo=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof ai&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},xo="application/json",So={"Content-Type":xo+";charset=utf-8"},Eo=/^\[|^\{(?!\{)/,Co={"[":/]$/,"{":/}$/},To=/^\)]\}',?\n/,_o=i("$http"),Ao=vi.$interpolateMinErr=i("$interpolate");Ao.throwNoconcat=function(e){throw Ao("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)},Ao.interr=function(e,t){return Ao("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var ko=function(){this.$get=function(){function e(e){var t=function e(t){e.data=t,e.called=!0};return t.id=e,t}var t=vi.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]}}}},No=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Po={http:80,https:443,ftp:21},Oo=i("$location"),Do=/^\s*[\\/]{2,}/,Io={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:an("$$absUrl"),url:function(e){if(b(e))return this.$$url;var t=No.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:an("$$protocol"),host:an("$$host"),port:an("$$port"),path:sn("$$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(E(e)||C(e))e=e.toString(),this.$$search=ie(e);else{if(!x(e))throw Oo("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=B(e,{}),a(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:b(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:sn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};a([on,rn,nn],function(e){e.prototype=Object.create(Io),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==nn||!this.$$html5)throw Oo("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=b(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var Mo=i("$parse"),Fo={}.constructor.prototype.valueOf,Ro=$e();a("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Ro[e]=!0});var jo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Uo=function(e){this.options=e};Uo.prototype={constructor:Uo,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=Ro[t],o=Ro[n],a=Ro[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=w(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Mo("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=ti(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+=jo[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 Lo=function(e,t){this.lexer=e,this.options=t};Lo.Program="Program",Lo.ExpressionStatement="ExpressionStatement",Lo.AssignmentExpression="AssignmentExpression",Lo.ConditionalExpression="ConditionalExpression",Lo.LogicalExpression="LogicalExpression",Lo.BinaryExpression="BinaryExpression",Lo.UnaryExpression="UnaryExpression",Lo.CallExpression="CallExpression",Lo.MemberExpression="MemberExpression",Lo.Identifier="Identifier",Lo.Literal="Literal",Lo.ArrayExpression="ArrayExpression",Lo.Property="Property",Lo.ObjectExpression="ObjectExpression",Lo.ThisExpression="ThisExpression",Lo.LocalsExpression="LocalsExpression",Lo.NGValueParameter="NGValueParameter",Lo.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:Lo.Program,body:e}},expressionStatement:function(){return{type:Lo.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(!gn(e))throw Mo("lval","Trying to assign a value to a non l-value");e={type:Lo.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:Lo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Lo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Lo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Lo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Lo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Lo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Lo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Lo.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:Lo.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:Lo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Lo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Lo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Lo.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:Lo.Identifier,name:e.text}},constant:function(){return{type:Lo.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:Lo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Lo.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:Lo.ObjectExpression,properties:t}},throwError:function(e,t){throw Mo("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 Mo("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 Mo("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:Lo.ThisExpression},$locals:{type:Lo.LocalsExpression}}};var qo=1,Vo=2;wn.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},vn(e,t.$filter);var n,r="";if(this.stage="assign",n=yn(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 o=mn(e.body);t.stage="inputs",a(o,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;",l=new Function("$filter","getStringValue","ifDefined","plus",s)(this.$filter,un,dn,fn);return this.state=this.stage=void 0,l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return a(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 a(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,o){var s,l,c,u,d,f=this;if(r=r||m,!o&&w(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 Lo.Program:a(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){l=e}),n!==e.body.length-1?f.current().body.push(l,";"):f.return_(l)});break;case Lo.Literal:u=this.escape(e.value),this.assign(t,u),r(t||u);break;case Lo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){l=e}),u=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,u),r(u);break;case Lo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){l=e}),u="+"===e.operator?this.plus(s,l):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(l,0):"("+s+")"+e.operator+"("+l+")",this.assign(t,u),r(u);break;case Lo.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),r(t);break;case Lo.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),r(t);break;case Lo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){i&&1!==i&&f.if_(f.isNull(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),r(t);break;case Lo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){e.computed?(l=f.nextId(),f.recurse(e.property,l),f.getStringValue(l),i&&1!==i&&f.if_(f.not(f.computedMember(s,l)),f.lazyAssign(f.computedMember(s,l),"{}")),u=f.computedMember(s,l),f.assign(t,u),n&&(n.computed=!0,n.name=l)):(i&&1!==i&&f.if_(f.isNull(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),u=f.nonComputedMember(s,e.property.name),f.assign(t,u),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),r(t)},!!i);break;case Lo.CallExpression:t=t||this.nextId(),e.filter?(l=f.filter(e.callee.name),c=[],a(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),c.push(t)}),u=l+"("+c.join(",")+")",f.assign(t,u),r(t)):(l=f.nextId(),s={},c=[],f.recurse(e.callee,l,s,function(){f.if_(f.notNull(l),function(){a(e.arguments,function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,function(e){c.push(e)})}),u=s.name?f.member(s.context,s.name,s.computed)+"("+c.join(",")+")":l+"("+c.join(",")+")",f.assign(t,u)},function(){f.assign(t,"undefined")}),r(t)}));break;case Lo.AssignmentExpression:l=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,l),u=f.member(s.context,s.name,s.computed)+e.operator+l,f.assign(t,u),r(t||u)})},1);break;case Lo.ArrayExpression:c=[],a(e.elements,function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,function(e){c.push(e)})}),u="["+c.join(",")+"]",this.assign(t,u),r(t||u);break;case Lo.ObjectExpression:c=[],d=!1,a(e.properties,function(e){e.computed&&(d=!0)}),d?(t=t||this.nextId(),this.assign(t,"{}"),a(e.properties,function(e){e.computed?(s=f.nextId(),f.recurse(e.key,s)):s=e.key.type===Lo.Identifier?e.key.name:""+e.key.value,l=f.nextId(),f.recurse(e.value,l),f.assign(f.member(t,s,e.computed),l)})):(a(e.properties,function(t){f.recurse(t.value,e.constant?void 0:f.nextId(),void 0,function(e){c.push(f.escape(t.key.type===Lo.Identifier?t.key.name:""+t.key.value)+":"+e)})}),u="{"+c.join(",")+"}",this.assign(t,u)),r(t||u);break;case Lo.ThisExpression:this.assign(t,"s"),r(t||"s");break;case Lo.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case Lo.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(E(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(C(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 Mo("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]}},xn.prototype={compile:function(e){var t=this;vn(e,t.$filter);var n,r;(n=yn(e))&&(r=this.recurse(n));var i,o=mn(e.body);o&&(i=[],a(o,function(e,n){var r=t.recurse(e);r.isPure=e.isPure,e.input=r,i.push(r),e.watchId=n}));var s=[];a(e.body,function(e){s.push(t.recurse(e.expression))});var l=0===e.body.length?m:1===e.body.length?s[0]:function(e,t){var n;return a(s,function(r){n=r(e,t)}),n};return r&&(l.assign=function(e,t,n){return r(e,n,t)}),i&&(l.inputs=i),l},recurse:function(e,t,n){var r,i,o,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Lo.Literal:return this.value(e.value,t);case Lo.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case Lo.BinaryExpression:case Lo.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case Lo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Lo.Identifier:return s.identifier(e.name,t,n);case Lo.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 Lo.CallExpression:return o=[],a(e.arguments,function(e){o.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,a){for(var s=[],l=0;l<o.length;++l)s.push(o[l](e,n,r,a));var c=i.apply(void 0,s,a);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,r,a){var s,l=i(e,n,r,a);if(null!=l.value){for(var c=[],u=0;u<o.length;++u)c.push(o[u](e,n,r,a));s=l.value.apply(l.context,c)}return t?{value:s}:s};case Lo.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),l=i(e,n,o,a);return s.context[s.name]=l,t?{value:l}:l};case Lo.ArrayExpression:return o=[],a(e.elements,function(e){o.push(s.recurse(e))}),function(e,n,r,i){for(var a=[],s=0;s<o.length;++s)a.push(o[s](e,n,r,i));return t?{value:a}:a};case Lo.ObjectExpression:return o=[],a(e.properties,function(e){e.computed?o.push({key:s.recurse(e.key),computed:!0,value:s.recurse(e.value)}):o.push({key:e.key.type===Lo.Identifier?e.key.name:""+e.key.value,computed:!1,value:s.recurse(e.value)})}),function(e,n,r,i){for(var a={},s=0;s<o.length;++s)o[s].computed?a[o[s].key(e,n,r,i)]=o[s].value(e,n,r,i):a[o[s].key]=o[s].value(e,n,r,i);return t?{value:a}:a};case Lo.ThisExpression:return function(e){return t?{value:e}:e};case Lo.LocalsExpression:return function(e,n){return t?{value:n}:n};case Lo.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=w(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=w(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),l=t(r,i,o,a),c=fn(s,l);return n?{value:c}:c}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),l=t(r,i,o,a),c=(w(s)?s:0)-(w(l)?l:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:l}:l}},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 l=s?s[e]:void 0;return t?{context:s,name:e,value:l}:l}},computedMember:function(e,t,n,r){return function(i,o,a,s){var l,c,u=e(i,o,a,s);return null!=u&&(l=t(i,o,a,s),l=un(l),r&&1!==r&&u&&!u[l]&&(u[l]={}),c=u[l]),n?{context:u,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s);r&&1!==r&&l&&null==l[t]&&(l[t]={});var c=null!=l?l[t]:void 0;return n?{context:l,name:t,value:c}:c}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},Sn.prototype={constructor:Sn,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=$n(t.ast),n.constant=bn(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 Ho=i("$sce"),Bo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Wo=/_([a-z])/g,zo=i("$compile"),Go=e.document.createElement("a"),Yo=Bn(e.location.href);Gn.$inject=["$document"],Kn.$inject=["$provide"];var Ko=22,Jo=".",Xo="0";er.$inject=["$locale"],tr.$inject=["$locale"];var Zo={yyyy:ar("FullYear",4,0,!1,!0),yy:ar("FullYear",2,0,!0,!0),y:ar("FullYear",1,0,!1,!0),MMMM:sr("Month"),MMM:sr("Month",!0),MM:ar("Month",2,1),M:ar("Month",1,1),LLLL:sr("Month",!1,!0),dd:ar("Date",2),d:ar("Date",1),HH:ar("Hours",2),H:ar("Hours",1),hh:ar("Hours",2,-12),h:ar("Hours",1,-12),mm:ar("Minutes",2),m:ar("Minutes",1),ss:ar("Seconds",2),s:ar("Seconds",1),sss:ar("Milliseconds",3),EEEE:sr("Day"),EEE:sr("Day",!0),a:fr,Z:lr,ww:dr(2),w:dr(1),G:pr,GG:pr,GGG:pr,GGGG:hr},Qo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,ea=/^-?\d+$/;vr.$inject=["$locale"];var ta=y(ti),na=y(ni);$r.$inject=["$parse"];var ra=y({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]"===fi.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),ia={};a(Yi,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=St("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),ia[r]=function(){return{restrict:"A",priority:100,link:i}}}}),a(Ji,function(e,t){ia[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(Zr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),a(["src","srcset","href"],function(e){var t=St("ng-"+e);ia[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===fi.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){if(!t)return void("href"===e&&i.$set(a,null));i.$set(a,t),oi&&o&&r.prop(o,i[a])})}}}});var oa={$addControl:m,$$renameControl:wr,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},aa="ng-pending";xr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],xr.prototype={$rollbackViewValue:function(){a(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){a(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){me(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$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],a(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),a(this.$error,function(t,n){this.$setValidity(n,null,e)},this),a(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),H(this.$$controls,e),e.$$parentForm=oa},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ha),this.$$animate.addClass(this.$$element,Ba),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ha,Ba+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,a(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){a(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},Er({clazz:xr,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&&(H(r,n),0===r.length&&delete e[t])}});var sa=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||m}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:xr,compile:function(n,i){n.addClass(Ha).addClass(qa);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 l=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",l)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var c=o?r(s.$name):m;o&&(c(e,s),i.$observe(o,function(t){s.$name!==t&&(c(e,void 0),s.$$parentForm.$$renameControl(s,t),(c=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),c(e,void 0),f(s,oa)})}}}}}]},la=sa(),ca=sa(!0),ua=/^\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,fa=/^(?=.{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])?)*$/,pa=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,ha=/^(\d{4,})-(\d{2})-(\d{2})$/,va=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ma=/^(\d{4,})-W(\d\d)$/,ga=/^(\d{4,})-(\d\d)$/,ya=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,$a="keydown wheel mousedown",ba=$e();a("date,datetime-local,month,time,week".split(","),function(e){ba[e]=!0});var wa={text:_r,date:Pr("date",ha,Nr(ha,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Pr("datetimelocal",va,Nr(va,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Pr("time",ya,Nr(ya,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Pr("week",ma,kr,"yyyy-Www"),month:Pr("month",ga,Nr(ga,["yyyy","MM"]),"yyyy-MM"),number:jr,url:Lr,email:qr,radio:Vr,range:Ur,checkbox:Br,hidden:m,button:m,submit:m,reset:m,file:m},xa=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(wa[ti(a.type)]||wa.text)(i,o,a,s[0],t,e,n,r)}}}}],Sa=/^(true|false|\d+)$/,Ea=function(){function e(e,t,n){var r=w(n)?n:9===oi?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return Sa.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)})}}}},Ca=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=be(e)})}}}}],Ta=["$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=b(e)?"":e})}}}}],_a=["$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)||"")})}}}}],Aa=y({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ka=Wr("",!0),Na=Wr("Odd",0),Pa=Wr("Even",1),Oa=br({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Da=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ia={},Ma={blur:!0,focus:!0};a("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=St("ng-"+e);Ia[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t]);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};Ma[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Fa=["$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,l,c;n.$watch(i.ngIf,function(n){n?l||a(function(n,o){l=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),s&&(c=ye(s.clone),e.leave(c).done(function(e){!1!==e&&(c=null)}),s=null))})}}}],Ra=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:vi.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,l,c,u){var d,f,p,h=0,v=function(){f&&(f.remove(),f=null),d&&(d.$destroy(),d=null),p&&(n.leave(p).done(function(e){!1!==e&&(f=null)}),f=p,p=null)};r.$watch(o,function(o){var l=function(e){!1===e||!w(s)||s&&!r.$eval(s)||t()},f=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&f===h){var t=r.$new();c.template=e;var s=u(t,function(e){v(),n.enter(e,null,i).done(l)});d=t,p=s,d.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||f===h&&(v(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(v(),c.template=null)})}}}}],ja=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(fi.call(r[0]).match(/SVG/))return r.empty(),void t(Oe(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],Ua=br({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),La=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,s=o?bi(i):i,l=function(e){if(!b(e)){var t=[];return e&&a(e.split(s),function(e){e&&t.push(o?bi(e):e)}),t}};r.$parsers.push(l),r.$formatters.push(function(e){if(yi(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},qa="ng-valid",Va="ng-invalid",Ha="ng-pristine",Ba="ng-dirty",Wa=i("ngModel");zr.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],zr.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 Wa("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,ne(this.$$element))},$render:m,$isEmpty:function(e){return b(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,Ba),this.$$animate.addClass(this.$$element,Ha)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ha),this.$$animate.addClass(this.$$element,Ba),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(!gi(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){o===s.$$currentValidationRunId&&s.$setValidity(e,t)}function i(e){o===s.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var o=this.$$currentValidationRunId,s=this;return function(){var e=s.$$parserName||"parse";return b(s.$$parserValid)?(r(e,null),!0):(s.$$parserValid||(a(s.$validators,function(e,t){r(t,null)}),a(s.$asyncValidators,function(e,t){r(t,null)})),r(e,s.$$parserValid),s.$$parserValid)}()&&function(){var n=!0;return a(s.$validators,function(i,o){var a=Boolean(i(e,t));n=n&&a,r(o,a)}),!!n||(a(s.$asyncValidators,function(e,t){r(t,null)}),!1)}()?void function(){var n=[],o=!0;a(s.$asyncValidators,function(i,a){var s=i(e,t);if(!F(s))throw Wa("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);r(a,void 0),n.push(s.then(function(){r(a,!0)},function(){o=!1,r(a,!1)}))}),n.length?s.$$q.all(n).then(function(){i(o)},m):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=!b(n)||void 0,this.$$parserValid)for(var i=0;i<this.$parsers.length;i++)if(n=this.$parsers[i](n),b(n)){this.$$parserValid=!1;break}gi(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),a(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");C(t[e])?t=t[e]:C(t.default)&&(t=t.default),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$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,m))},$$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)}},Er({clazz:zr,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var za,Ga=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:zr,priority:1,compile:function(t){return t.addClass(Ha).addClass("ng-untouched").addClass(qa),{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))})}}}}}],Ya=/(\s+|^)default(\s+|$)/;Yr.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=f({},e),a(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]=bi(n.replace(Ya,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Kr(e,this.$$options)),Kr(e,za.$$options),new Yr(e)}},za=new Yr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Ka=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:za,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Ja=br({terminal:!0,priority:1e3}),Xa=i("ngOptions"),Za=/^\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]+?))?$/,Qa=["$compile","$document","$parse",function(t,n,r){function i(e,t,n){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!c&&o(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(Za);if(!s)throw Xa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,ne(t));var l=s[5]||s[7],c=s[6],u=/ as /.test(s[0])&&s[1],d=s[9],f=r(s[2]?s[1]:l),p=u&&r(u),h=p||f,v=d&&r(d),m=d?function(e,t){return v(n,t)}:function(e){return it(e)},g=function(e,t){return m(e,S(e,t))},y=r(s[2]||s[1]),$=r(s[3]||""),b=r(s[4]||""),w=r(s[8]),x={},S=c?function(e,t){return x[c]=t,x[l]=e,x}:function(e){return x[l]=e,x};return{trackBy:d,getTrackByValue:g,getWatchables:r(w,function(e){var t=[];e=e||[];for(var r=a(e),i=r.length,o=0;o<i;o++){var l=e===r?o:r[o],c=e[l],u=S(c,l),d=m(c,u);if(t.push(d),s[2]||s[1]){var f=y(n,u);t.push(f)}if(s[4]){var p=b(n,u);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},r=w(n)||[],o=a(r),s=o.length,l=0;l<s;l++){var c=r===o?l:o[l],u=r[c],f=S(u,c),p=h(n,f),v=m(p,f),x=y(n,f),E=$(n,f),C=b(n,f),T=new i(v,p,x,E,C);e.push(T),t[v]=T}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[g(e)]},getViewValueFromOption:function(e){return d?B(e.viewValue):e.viewValue}}}}}function s(e,r,o,s){function u(e,t){var n=l.cloneNode(!1);t.appendChild(n),f(e,n)}function d(e){var t=x.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}function f(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}function p(){var e=x&&h.readValue();if(x)for(var t=x.items.length-1;t>=0;t--){var n=x.items[t];Ke(w(n.group)?n.element.parentNode:n.element)}x=S.getOptions();var i={};if(x.items.forEach(function(e){var t;w(e.group)?(t=i[e.group],t||(t=c.cloneNode(!1),E.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),u(e,t)):u(e,E)}),r[0].appendChild(E),v.$render(),!v.$isEmpty(e)){var o=h.readValue();(S.trackBy||m?z(e,o):e===o)||(v.$setViewValue(o),v.$render())}}for(var h=s[0],v=s[1],m=o.multiple,g=0,y=r.children(),$=y.length;g<$;g++)if(""===y[g].value){h.hasEmptyOption=!0,h.emptyOption=y.eq(g);break}r.empty();var b=!!h.emptyOption;ai(l.cloneNode(!1)).val("?");var x,S=i(o.ngOptions,r,e),E=n[0].createDocumentFragment();h.generateUnknownOptionValue=function(e){return"?"},m?(h.writeValue=function(e){if(x){var t=e&&e.map(d)||[];x.items.forEach(function(e){e.element.selected&&!V(t,e)&&(e.element.selected=!1)})}},h.readValue=function(){var e=r.val()||[],t=[];return a(e,function(e){var n=x.selectValueMap[e];n&&!n.disabled&&t.push(x.getViewValueFromOption(n))}),t},S.trackBy&&e.$watchCollection(function(){if(yi(v.$viewValue))return v.$viewValue.map(function(e){return S.getTrackByValue(e)})},function(){v.$render()})):(h.writeValue=function(e){if(x){var t=r[0].options[r[0].selectedIndex],n=x.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(r[0].value!==n.selectValue&&(h.removeUnknownOption(),r[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):h.selectUnknownOrEmptyOption(e)}},h.readValue=function(){var e=x.selectValueMap[r.val()];return e&&!e.disabled?(h.unselectEmptyOption(),h.removeUnknownOption(),x.getViewValueFromOption(e)):null},S.trackBy&&e.$watch(function(){return S.getTrackByValue(v.$viewValue)},function(){v.$render()})),b&&(t(h.emptyOption)(e),r.prepend(h.emptyOption),h.emptyOption[0].nodeType===Pi?(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(S.getWatchables,p)}var l=e.document.createElement("option"),c=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=m},post:s}}}],es=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,s,l){function c(e){s.text(e||"")}var u,d=l.count,f=l.$attr.when&&s.attr(l.$attr.when),p=l.offset||0,h=o.$eval(f)||{},v={},g=t.startSymbol(),y=t.endSymbol(),$=g+d+"-"+p+y,w=vi.noop;a(l,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+ti(n[2]);h[r]=s.attr(l.$attr[t])}}),a(h,function(e,n){v[n]=t(e.replace(r,$))}),o.$watch(d,function(t){var r=parseFloat(t),i=gi(r);if(i||r in h||(r=e.pluralCat(r-p)),!(r===u||i&&gi(u))){w();var a=v[r];b(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+f),w=m,c()):w=o.$watch(a,c),u=r}})}}}],ts=["$parse","$animate","$compile",function(e,t,n){var r=i("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))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,u){var d=u.ngRepeat,f=n.$$createComment("end ngRepeat",d),p=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var h=p[1],v=p[2],m=p[3],g=p[4];if(!(p=h.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",h);var y=p[3]||p[1],$=p[2];if(m&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(m)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(m)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",m);var b,w,x,S,E={$id:it};return g?b=e(g):(x=function(e,t){return it(t)},S=function(e){return e}),function(e,n,i,u,p){b&&(w=function(t,n,r){return $&&(E[$]=t),E[y]=n,E.$index=r,b(e,E)});var h=$e();e.$watchCollection(v,function(i){var u,v,g,b,E,C,T,_,A,k,N,P,O=n[0],D=$e();if(m&&(e[m]=i),o(i))A=i,_=w||x;else{_=w||S,A=[];for(var I in i)ei.call(i,I)&&"$"!==I.charAt(0)&&A.push(I)}for(b=A.length,N=new Array(b),u=0;u<b;u++)if(E=i===A?u:A[u],C=i[E],T=_(E,C,u),h[T])k=h[T],delete h[T],D[T]=k,N[u]=k;else{if(D[T])throw a(N,function(e){e&&e.scope&&(h[e.id]=e)}),r("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,T,C);N[u]={id:T,scope:void 0,clone:void 0},D[T]=!0}for(var M in h){if(k=h[M],P=ye(k.clone),t.leave(P),P[0].parentNode)for(u=0,v=P.length;u<v;u++)P[u].$$NG_REMOVED=!0;k.scope.$destroy()}for(u=0;u<b;u++)if(E=i===A?u:A[u],C=i[E],k=N[u],k.scope){g=O;do{g=g.nextSibling}while(g&&g.$$NG_REMOVED);l(k)!==g&&t.move(ye(k.clone),null,O),O=c(k),s(k.scope,u,y,C,$,E,b)}else p(function(e,n){k.scope=n;var r=f.cloneNode(!1);e[e.length++]=r,t.enter(e,null,O),O=r,k.clone=e,D[k.id]=k,s(k.scope,u,y,C,$,E,b)});h=D})}}}}],ns=["$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"})})}}}],rs=["$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"})})}}}],is=br(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&a(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),os=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var s=i.ngSwitch||i.on,l=[],c=[],u=[],d=[],f=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(s,function(n){for(var r,i;u.length;)e.cancel(u.pop());for(r=0,i=d.length;r<i;++r){var s=ye(c[r].clone);d[r].$destroy();(u[r]=e.leave(s)).done(f(u,r))}c.length=0,d.length=0,(l=o.cases["!"+n]||o.cases["?"])&&a(l,function(n){n.transclude(function(r,i){d.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};c.push(a),e.enter(r,o.parent(),o)})})})}}}],as=br({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){a(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})})}}),ss=br({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})}}),ls=i("ngTransclude"),cs=["$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&&l(e)?t.append(e):(s(),n.$destroy())}function s(){n(e,function(e){t.append(e)})}function l(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Ni||r.nodeValue.trim())return!0}}if(!o)throw ls("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ne(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var c=r.ngTransclude||r.ngTranscludeSlot;o(a,null,c),c&&!o.isSlotFilled(c)&&s()}}}}],us=["$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)}}}}],ds={$setViewValue:m,$render:m},fs=["$element","$scope",function(t,n){function r(){s||(s=!0,n.$$postDigest(function(){s=!1,o.ngModelCtrl.$render()}))}function i(e){l||(l=!0,n.$$postDigest(function(){n.$$destroyed||(l=!1,o.ngModelCtrl.$setViewValue(o.readValue()),e&&o.ngModelCtrl.$render())}))}var o=this,a=new Zi;o.selectValueMap={},o.ngModelCtrl=ds,o.multiple=!1,o.unknownOption=ai(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),Jr(o.unknownOption,!0),t.val(n)},o.updateUnknownOption=function(e){var n=o.generateUnknownOptionValue(e);o.unknownOption.val(n),Jr(o.unknownOption,!0),t.val(n)},o.generateUnknownOptionValue=function(e){return"? "+it(e)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(t.val(""),Jr(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&Jr(o.emptyOption,!1)},n.$on("$destroy",function(){o.renderUnknownOption=m}),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&&Jr(ai(n),!1),o.hasOption(e)){o.removeUnknownOption();var r=it(e);t.val(r in o.selectValueMap?r:e);var i=t[0].options[t[0].selectedIndex];Jr(ai(i),!0)}else o.selectUnknownOrEmptyOption(e)},o.addOption=function(e,t){if(t[0].nodeType!==Pi){me(e,'"option value"'),""===e&&(o.hasEmptyOption=!0,o.emptyOption=t);var n=a.get(e)||0;a.set(e,n+1),r()}},o.removeOption=function(e){var t=a.get(e);t&&(1===t?(a.delete(e),""===e&&(o.hasEmptyOption=!1,o.emptyOption=void 0)):a.set(e,t-1))},o.hasOption=function(e){return!!a.get(e)},o.$hasEmptyOption=function(){return o.hasEmptyOption},o.$isUnknownOptionSelected=function(){return t[0].options[0]===o.unknownOption[0]},o.$isEmptyOptionSelected=function(){return o.hasEmptyOption&&t[0].options[t[0].selectedIndex]===o.emptyOption[0]},o.selectUnknownOrEmptyOption=function(e){null==e&&o.emptyOption?(o.removeUnknownOption(),o.selectEmptyOption()):o.unknownOption.parent().length?o.updateUnknownOption(e):o.renderUnknownOption(e)};var s=!1,l=!1;o.registerOption=function(e,t,n,a,s){if(n.$attr.ngValue){var l,c=NaN;n.$observe("value",function(e){var n,r=t.prop("selected");w(c)&&(o.removeOption(l),delete o.selectValueMap[c],n=!0),c=it(e),l=e,o.selectValueMap[c]=e,o.addOption(e,t),t.attr("value",c),n&&r&&i()})}else a?n.$observe("value",function(e){o.readValue();var n,r=t.prop("selected");w(l)&&(o.removeOption(l),n=!0),l=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)})}}],ps=function(){function e(e,t,n,r){var i=r[0],o=r[1];if(!o)return void(i.registerOption=m);if(i.ngModelCtrl=o,t.on("change",function(){i.removeUnknownOption(),e.$apply(function(){o.$setViewValue(i.readValue())})}),n.multiple){i.multiple=!0,i.readValue=function(){var e=[];return a(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){a(t.find("option"),function(t){var n=!!e&&(V(e,t.value)||V(e,i.selectValueMap[t.value]));n!==t.selected&&Jr(ai(t),n)})};var s,l=NaN;e.$watch(function(){l!==o.$viewValue||z(s,o.$viewValue)||(s=xe(o.$viewValue),o.$render()),l=o.$viewValue}),o.$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:fs,priority:1,link:{pre:e,post:t}}},hs=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return w(n.ngValue)||(w(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)}}}}],vs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},ms=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var o,a=n.ngPattern||n.pattern;n.$observe("pattern",function(e){if(E(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,ne(t));o=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||b(o)||o.test(t)}}}}},gs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=h(e);i=gi(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},ys=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=h(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};if(e.angular.bootstrap)return void(e.console&&console.log("WARNING: Tried to load AngularJS more than once."));!function(){var t;if(!Ai){var n=Si();si=b(n)?e.jQuery:n?e[n]:void 0,si&&si.fn.on?(ai=si,f(si.fn,{scope:Gi.scope,isolateScope:Gi.isolateScope,controller:Gi.controller,injector:Gi.injector,inheritedData:Gi.inheritedData}),t=si.cleanData,si.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=si._data(r,"events"))&&n.$destroy&&si(r).triggerHandler("$destroy");t(e)}):ai=Me,vi.element=ai,Ai=!0}}(),function(n){f(n,{errorHandlingConfig:t,bootstrap:ue,copy:B,extend:f,merge:p,equals:z,element:ai,forEach:a,injector:ut,noop:m,bind:K,toJson:X,fromJson:Z,identity:g,isUndefined:b,isDefined:w,isString:E,isFunction:A,isObject:x,isNumber:C,isElement:U,isArray:yi,version:Ii,isDate:T,lowercase:ti,uppercase:ni,callbacks:{$$counter:0},getTestability:fe,reloadWithDebugInfo:de,$$minErr:i,$$csp:xi,$$encodeUriSegment:ae,$$encodeUriQuery:se,$$stringify:be}),li=we(e),li("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:In}),e.provider("$compile",wt).directive({a:ra,input:xa,textarea:xa,form:la,script:us,select:ps,option:hs,ngBind:Ca,ngBindHtml:_a,ngBindTemplate:Ta,ngClass:ka,ngClassEven:Pa,ngClassOdd:Na,ngCloak:Oa,ngController:Da,ngForm:ca,ngHide:rs,ngIf:Fa,ngInclude:Ra,ngInit:Ua,ngNonBindable:Ja,ngPluralize:es,ngRepeat:ts,ngShow:ns,ngStyle:is,ngSwitch:os,ngSwitchWhen:as,ngSwitchDefault:ss,ngOptions:Qa,ngTransclude:cs,ngModel:Ga,ngList:La,ngChange:Aa,pattern:ms,ngPattern:ms,required:vs,ngRequired:vs,minlength:ys,ngMinlength:ys,maxlength:gs,ngMaxlength:gs,ngValue:Ea,ngModelOptions:Ka}).directive({ngInclude:ja}).directive(ia).directive(Ia),e.provider({$anchorScroll:dt,$animate:uo,$animateCss:ho,$$animateJs:lo,$$animateQueue:co,$$AnimateRunner:po,$$animateAsyncRun:fo,$browser:gt,$cacheFactory:yt,$controller:_t,$document:At,$$isDocumentHidden:kt,$exceptionHandler:Nt,$filter:Kn,$$forceReflow:wo,$interpolate:Bt,$interval:Wt,$http:Lt,$httpParamSerializer:Ot,$httpParamSerializerJQLike:Dt,$httpBackend:Vt,$xhrFactory:qt,$jsonpCallbacks:ko,$location:ln,$log:cn,$parse:Cn,$rootScope:Dn,$q:Tn,$$q:_n,$sce:Un,$sceDelegate:jn,$sniffer:Ln,$templateCache:$t,$templateRequest:qn,$$testability:Vn,$timeout:Hn,$window:zn,$$rAF:On,$$jqLite:rt,$$Map:Qi,$$cookieReader:Yn})}]).info({angularVersion:"1.6.9"})}(vi),vi.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}})}]),ai(function(){ce(e.document,ue)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},function(e,t,n){"use strict";n(345),n(346),e.exports="mgcrea.ngStrap"},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,t,n){function i(e,n,r,i,o,a){function s(e,n){return angular.element((n||t).querySelectorAll(e))}function l(e){return c[e]?c[e]:c[e]=n.get(e,{cache:a}).then(function(e){return e.data})}this.compile=function(t){t.template&&/\.html$/.test(t.template)&&(console.warn("Deprecated use of `template` option to pass a file. Please use the `templateUrl` option instead."),t.templateUrl=t.template,t.template="");var n=t.templateUrl,a=t.template||"",c=t.controller,u=t.controllerAs,d=t.resolve||{},f=t.locals||{},p=t.transformTemplate||angular.identity,h=t.bindToController;if(angular.forEach(d,function(e,t){angular.isString(e)?d[t]=r.get(e):d[t]=r.invoke(e)}),angular.extend(d,f),a)d.$template=e.when(a);else{if(!n)throw new Error("Missing `template` / `templateUrl` option.");d.$template=l(n)}return t.titleTemplate&&(d.$template=e.all([d.$template,l(t.titleTemplate)]).then(function(e){var t=angular.element(e[0]);return s('[ng-bind="title"]',t[0]).removeAttr("ng-bind").html(e[1]),t[0].outerHTML})),t.contentTemplate&&(d.$template=e.all([d.$template,l(t.contentTemplate)]).then(function(e){var n=angular.element(e[0]),r=s('[ng-bind="content"]',n[0]).removeAttr("ng-bind").html(e[1]);return t.templateUrl||r.next().remove(),n[0].outerHTML})),e.all(d).then(function(e){var n=p(e.$template);t.html&&(n=n.replace(/ng-bind="/gi,'ng-bind-html="'));var r=angular.element("<div>").html(n.trim()).contents(),a=i(r);return{locals:e,element:r,link:function(t){if(e.$scope=t,c){var n=o(c,e,!0);h&&angular.extend(n.instance,e);var i=angular.isObject(n)?n:n();r.data("$ngControllerController",i),r.children().data("$ngControllerController",i),u&&(t[u]=i)}return a.apply(null,arguments)}}})};var c={}}i.$inject=["$q","$http","$injector","$compile","$controller","$templateCache"],angular.module("mgcrea.ngStrap.typeahead",["mgcrea.ngStrap.tooltip","mgcrea.ngStrap.helpers.parseOptions"]).provider("$typeahead",function(){var e=this.defaults={animation:"am-fade",prefixClass:"typeahead",prefixEvent:"$typeahead",placement:"bottom-left",templateUrl:"typeahead/typeahead.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,minLength:1,filter:"bsAsyncFilter",limit:6,autoSelect:!1,comparator:"",trimValue:!0};this.$get=["$window","$rootScope","$tooltip","$$rAF","$timeout",function(t,n,r,i,o){function a(t,n,a){var l={},c=angular.extend({},e,a);l=r(t,c);var u=a.scope,d=l.$scope;d.$resetMatches=function(){d.$matches=[],d.$activeIndex=c.autoSelect?0:-1},d.$resetMatches(),d.$activate=function(e){d.$$postDigest(function(){l.activate(e)})},d.$select=function(e,t){d.$$postDigest(function(){l.select(e)})},d.$isVisible=function(){return l.$isVisible()},l.update=function(e){d.$matches=e,d.$activeIndex>=e.length&&(d.$activeIndex=c.autoSelect?0:-1),s(d),i(l.$applyPlacement)},l.activate=function(e){d.$activeIndex=e},l.select=function(e){if(-1!==e){var t=d.$matches[e].value;n.$setViewValue(t),n.$render(),d.$resetMatches(),u&&u.$digest(),d.$emit(c.prefixEvent+".select",t,e,l),angular.isDefined(c.onSelect)&&angular.isFunction(c.onSelect)&&c.onSelect(t,e,l)}},l.$isVisible=function(){return c.minLength&&n?d.$matches.length&&angular.isString(n.$viewValue)&&n.$viewValue.length>=c.minLength:!!d.$matches.length},l.$getIndex=function(e){var t;for(t=d.$matches.length;t--&&!angular.equals(d.$matches[t].value,e););return t},l.$onMouseDown=function(e){e.preventDefault(),e.stopPropagation()},l.$$updateScrollTop=function(e,t){if(t>-1&&t<e.children.length){var n=e.children[t],r=n.offsetTop,i=n.offsetTop+n.clientHeight,o=e.scrollTop,a=e.scrollTop+e.clientHeight;i>=o&&r<o?e.scrollTop=Math.max(0,e.scrollTop-e.clientHeight):i>a&&(e.scrollTop=r)}},l.$onKeyDown=function(e){/(38|40|13)/.test(e.keyCode)&&(!l.$isVisible()||13===e.keyCode&&-1===d.$activeIndex||(e.preventDefault(),e.stopPropagation()),13===e.keyCode&&d.$matches.length?l.select(d.$activeIndex):38===e.keyCode&&d.$activeIndex>0?d.$activeIndex--:40===e.keyCode&&d.$activeIndex<d.$matches.length-1?d.$activeIndex++:angular.isUndefined(d.$activeIndex)&&(d.$activeIndex=0),l.$$updateScrollTop(l.$element[0],d.$activeIndex),d.$digest())};var f=l.show;l.show=function(){f(),o(function(){l.$element&&(l.$element.on("mousedown",l.$onMouseDown),c.keyboard&&t&&t.on("keydown",l.$onKeyDown))},0,!1)};var p=l.hide;return l.hide=function(){l.$element&&l.$element.off("mousedown",l.$onMouseDown),c.keyboard&&t&&t.off("keydown",l.$onKeyDown),c.autoSelect||l.activate(-1),p()},l}function s(e){e.$$phase||e.$root&&e.$root.$$phase||e.$digest()}return a.defaults=e,a}]}).filter("bsAsyncFilter",["$filter",function(e){return function(t,n,r){return t&&angular.isFunction(t.then)?t.then(function(t){return e("filter")(t,n,r)}):e("filter")(t,n,r)}}]).directive("bsTypeahead",["$window","$parse","$q","$typeahead","$parseOptions",function(e,t,n,i,o){var a=i.defaults;return{restrict:"EAC",require:"ngModel",link:function(e,t,n,s){t.off("change");var l={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","filter","limit","minLength","watchOptions","selectMode","autoSelect","comparator","id","prefixEvent","prefixClass"],function(e){angular.isDefined(n[e])&&(l[e]=n[e])});var c=/^(false|0|)$/i;angular.forEach(["html","container","trimValue","filter"],function(e){angular.isDefined(n[e])&&c.test(n[e])&&(l[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide","onSelect"],function(t){var r="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(n[r])&&(l[t]=e.$eval(n[r]))}),t.attr("autocomplete")||t.attr("autocomplete","off");var u=angular.isDefined(l.filter)?l.filter:a.filter,d=l.limit||a.limit,f=l.comparator||a.comparator,p=n.bsOptions;u&&(p+=" | "+u+":$viewValue",f&&(p+=":"+f)),d&&(p+=" | limitTo:"+d);var h=o(p),v=i(t,s,l);if(l.watchOptions){var m=h.$match[7].replace(/\|.+/,"").replace(/\(.*\)/g,"").trim();e.$watchCollection(m,function(t,n){h.valuesFn(e,s).then(function(e){v.update(e),s.$render()})})}e.$watch(n.ngModel,function(t,n){e.$modelValue=t,h.valuesFn(e,s).then(function(e){if(l.selectMode&&!e.length&&t.length>0)return void s.$setViewValue(s.$viewValue.substring(0,s.$viewValue.length-1));e.length>d&&(e=e.slice(0,d)),v.update(e),s.$render()})}),s.$formatters.push(function(e){var t=h.displayValue(e);return t||(angular.isDefined(e)&&"object"!==(void 0===e?"undefined":r(e))?e:"")}),s.$render=function(){if(s.$isEmpty(s.$viewValue))return t.val("");var e=v.$getIndex(s.$modelValue),n=-1!==e?v.$scope.$matches[e].label:s.$viewValue;n=angular.isObject(n)?h.displayValue(n):n;var r=n?n.toString().replace(/<(?:.|\n)*?>/gm,""):"",i=t[0].selectionStart,o=t[0].selectionEnd;t.val(!1===l.trimValue?r:r.trim()),t[0].setSelectionRange(i,o)},e.$on("$destroy",function(){v&&v.destroy(),l=null,v=null})}}}]),angular.module("mgcrea.ngStrap.tooltip",["mgcrea.ngStrap.core","mgcrea.ngStrap.helpers.dimensions"]).provider("$tooltip",function(){var e=this.defaults={animation:"am-fade",customClass:"",prefixClass:"tooltip",prefixEvent:"tooltip",container:!1,target:!1,placement:"top",templateUrl:"tooltip/tooltip.tpl.html",template:"",titleTemplate:!1,trigger:"hover focus",keyboard:!1,html:!1,show:!1,title:"",type:"",delay:0,autoClose:!1,bsEnabled:!0,mouseDownPreventDefault:!0,mouseDownStopPropagation:!0,viewport:{selector:"body",padding:0}};this.$get=["$window","$rootScope","$bsCompiler","$q","$templateCache","$http","$animate","$sce","dimensions","$$rAF","$timeout",function(n,r,i,o,a,s,l,c,u,d,f){function p(o,a){function s(){I.$emit(O.prefixEvent+".show",P),angular.isDefined(O.onShow)&&angular.isFunction(O.onShow)&&O.onShow(P)}function p(){if(I.$emit(O.prefixEvent+".hide",P),angular.isDefined(O.onHide)&&angular.isFunction(O.onHide)&&O.onHide(P),L===B){if(H&&"focus"===O.trigger)return o[0].blur();N()}}function m(){var e=O.trigger.split(" ");angular.forEach(e,function(e){"click"===e||"contextmenu"===e?o.on(e,P.toggle):"manual"!==e&&(o.on("hover"===e?"mouseenter":"focus",P.enter),o.on("hover"===e?"mouseleave":"blur",P.leave),"button"===M&&"hover"!==e&&o.on(g?"touchstart":"mousedown",P.$onFocusElementMouseDown))})}function $(){for(var e=O.trigger.split(" "),t=e.length;t--;){var n=e[t];"click"===n||"contextmenu"===n?o.off(n,P.toggle):"manual"!==n&&(o.off("hover"===n?"mouseenter":"focus",P.enter),o.off("hover"===n?"mouseleave":"blur",P.leave),"button"===M&&"hover"!==n&&o.off(g?"touchstart":"mousedown",P.$onFocusElementMouseDown))}}function b(){"focus"!==O.trigger?L.on("keyup",P.$onKeyUp):o.on("keyup",P.$onFocusKeyUp)}function w(){"focus"!==O.trigger?L.off("keyup",P.$onKeyUp):o.off("keyup",P.$onFocusKeyUp)}function x(){f(function(){L.on("click",E),y.on("click",P.hide),W=!0},0,!1)}function S(){W&&(L.off("click",E),y.off("click",P.hide),W=!1)}function E(e){e.stopPropagation()}function C(e){e=e||O.target||o;var r=e[0],i="BODY"===r.tagName,a=r.getBoundingClientRect(),s={};for(var l in a)s[l]=a[l];null===s.width&&(s=angular.extend({},s,{width:a.right-a.left,height:a.bottom-a.top}));var c=i?{top:0,left:0}:u.offset(r),d={scroll:i?t.documentElement.scrollTop||t.body.scrollTop:e.prop("scrollTop")||0},f=i?{width:t.documentElement.clientWidth,height:n.innerHeight}:null;return angular.extend({},s,d,f,c)}function T(e,t,n,r){var i,o=e.split("-");switch(o[0]){case"right":i={top:t.top+t.height/2-r/2,left:t.left+t.width};break;case"bottom":i={top:t.top+t.height,left:t.left+t.width/2-n/2};break;case"left":i={top:t.top+t.height/2-r/2,left:t.left-n};break;default:i={top:t.top-r,left:t.left+t.width/2-n/2}}if(!o[1])return i;if("top"===o[0]||"bottom"===o[0])switch(o[1]){case"left":i.left=t.left;break;case"right":i.left=t.left+t.width-n}else if("left"===o[0]||"right"===o[0])switch(o[1]){case"top":i.top=t.top-r+t.height;break;case"bottom":i.top=t.top}return i}function _(e,t){var n=L[0],r=n.offsetWidth,i=n.offsetHeight,o=parseInt(u.css(n,"margin-top"),10),a=parseInt(u.css(n,"margin-left"),10);isNaN(o)&&(o=0),isNaN(a)&&(a=0),e.top=e.top+o,e.left=e.left+a,u.setOffset(n,angular.extend({using:function(e){L.css({top:Math.round(e.top)+"px",left:Math.round(e.left)+"px",right:""})}},e),0);var s=n.offsetWidth,l=n.offsetHeight;if("top"===t&&l!==i&&(e.top=e.top+i-l),!/top-left|top-right|bottom-left|bottom-right/.test(t)){var c=A(t,e,s,l);if(c.left?e.left+=c.left:e.top+=c.top,u.setOffset(n,e),/top|right|bottom|left/.test(t)){var d=/top|bottom/.test(t);k(d?2*c.left-r+s:2*c.top-i+l,n[d?"offsetWidth":"offsetHeight"],d)}}}function A(e,t,n,r){var i={top:0,left:0};if(!P.$viewport)return i;var o=O.viewport&&O.viewport.padding||0,a=C(P.$viewport);if(/right|left/.test(e)){var s=t.top-o-a.scroll,l=t.top+o-a.scroll+r;s<a.top?i.top=a.top-s:l>a.top+a.height&&(i.top=a.top+a.height-l)}else{var c=t.left-o,u=t.left+o+n;c<a.left?i.left=a.left-c:u>a.right&&(i.left=a.left+a.width-u)}return i}function k(e,t,n){v(".tooltip-arrow, .arrow",L[0]).css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")}function N(){clearTimeout(R),P.$isShown&&null!==L&&(O.autoClose&&S(),O.keyboard&&w()),V&&(V.$destroy(),V=null),L&&(L.remove(),L=P.$element=null)}var P={},O=P.$options=angular.extend({},e,a),D=P.$promise=i.compile(O),I=P.$scope=O.scope&&O.scope.$new()||r.$new(),M=o[0].nodeName.toLowerCase();if(O.delay&&angular.isString(O.delay)){var F=O.delay.split(",").map(parseFloat);O.delay=F.length>1?{show:F[0],hide:F[1]}:F[0]}P.$id=O.id||o.attr("id")||"",O.title&&(I.title=c.trustAsHtml(O.title)),I.$setEnabled=function(e){I.$$postDigest(function(){P.setEnabled(e)})},I.$hide=function(){I.$$postDigest(function(){P.hide()})},I.$show=function(){I.$$postDigest(function(){P.show()})},I.$toggle=function(){I.$$postDigest(function(){P.toggle()})},P.$isShown=I.$isShown=!1;var R,j,U,L,q,V;D.then(function(e){U=e,P.init()}),P.init=function(){O.delay&&angular.isNumber(O.delay)&&(O.delay={show:O.delay,hide:O.delay}),"self"===O.container?q=o:angular.isElement(O.container)?q=O.container:O.container&&(q=v(O.container)),m(),O.target&&(O.target=angular.isElement(O.target)?O.target:v(O.target)),O.show&&I.$$postDigest(function(){"focus"===O.trigger?o[0].focus():P.show()})},P.destroy=function(){$(),N(),I.$destroy()},P.enter=function(){if(clearTimeout(R),j="in",!O.delay||!O.delay.show)return P.show();R=setTimeout(function(){"in"===j&&P.show()},O.delay.show)},P.show=function(){if(O.bsEnabled&&!P.$isShown){I.$emit(O.prefixEvent+".show.before",P),angular.isDefined(O.onBeforeShow)&&angular.isFunction(O.onBeforeShow)&&O.onBeforeShow(P);var e,t;O.container?(e=q,t=q[0].lastChild?angular.element(q[0].lastChild):null):(e=null,t=o),L&&N(),V=P.$scope.$new(),L=P.$element=U.link(V,function(e,t){}),L.css({top:"-9999px",left:"-9999px",right:"auto",display:"block",visibility:"hidden"}),O.animation&&L.addClass(O.animation),O.type&&L.addClass(O.prefixClass+"-"+O.type),O.customClass&&L.addClass(O.customClass),t?t.after(L):e.prepend(L),P.$isShown=I.$isShown=!0,h(I),P.$applyPlacement(),angular.version.minor<=2?l.enter(L,e,t,s):l.enter(L,e,t).then(s),h(I),d(function(){L&&L.css({visibility:"visible"}),O.keyboard&&("focus"!==O.trigger&&P.focus(),b())}),O.autoClose&&x()}},P.leave=function(){if(clearTimeout(R),j="out",!O.delay||!O.delay.hide)return P.hide();R=setTimeout(function(){"out"===j&&P.hide()},O.delay.hide)};var H,B;P.hide=function(e){P.$isShown&&(I.$emit(O.prefixEvent+".hide.before",P),angular.isDefined(O.onBeforeHide)&&angular.isFunction(O.onBeforeHide)&&O.onBeforeHide(P),H=e,B=L,null!==L&&(angular.version.minor<=2?l.leave(L,p):l.leave(L).then(p)),P.$isShown=I.$isShown=!1,h(I),O.keyboard&&null!==L&&w(),O.autoClose&&null!==L&&S())},P.toggle=function(e){e&&e.preventDefault(),P.$isShown?P.leave():P.enter()},P.focus=function(){L[0].focus()},P.setEnabled=function(e){O.bsEnabled=e},P.setViewport=function(e){O.viewport=e},P.$applyPlacement=function(){if(L){var t=O.placement,n=/\s?auto?\s?/i,r=n.test(t);r&&(t=t.replace(n,"")||e.placement),L.addClass(O.placement);var i=C(),o=L.prop("offsetWidth"),a=L.prop("offsetHeight");if(P.$viewport=O.viewport&&v(O.viewport.selector||O.viewport),r){var s=t,l=C(P.$viewport);/bottom/.test(s)&&i.bottom+a>l.bottom?t=s.replace("bottom","top"):/top/.test(s)&&i.top-a<l.top&&(t=s.replace("top","bottom")),/left/.test(s)&&i.left-o<l.left?t=t.replace("left","right"):/right/.test(s)&&i.right+o>l.width&&(t=t.replace("right","left")),L.removeClass(s).addClass(t)}_(T(t,i,o,a),t)}},P.$onKeyUp=function(e){27===e.which&&P.$isShown&&(P.hide(),e.stopPropagation())},P.$onFocusKeyUp=function(e){27===e.which&&(o[0].blur(),e.stopPropagation())},P.$onFocusElementMouseDown=function(e){O.mouseDownPreventDefault&&e.preventDefault(),O.mouseDownStopPropagation&&e.stopPropagation(),P.$isShown?o[0].blur():o[0].focus()};var W=!1;return P}function h(e){e.$$phase||e.$root&&e.$root.$$phase||e.$digest()}function v(e,n){return angular.element((n||t).querySelectorAll(e))}var m=/(ip[ao]d|iphone|android)/gi.test(n.navigator.userAgent),g="createTouch"in n.document&&m,y=angular.element(n.document);return p}]}).directive("bsTooltip",["$window","$location","$sce","$parse","$tooltip","$$rAF",function(e,t,n,r,i,o){return{restrict:"EAC",scope:!0,link:function(e,t,r,a){var s,l={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","titleTemplate","placement","container","delay","trigger","html","animation","backdropAnimation","type","customClass","id"],function(e){angular.isDefined(r[e])&&(l[e]=r[e])});var c=/^(false|0|)$/i;angular.forEach(["html","container"],function(e){angular.isDefined(r[e])&&c.test(r[e])&&(l[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(r[n])&&(l[t]=e.$eval(r[n]))});var u=t.attr("data-target");angular.isDefined(u)&&(c.test(u)?l.target=!1:l.target=u),e.hasOwnProperty("title")||(e.title=""),r.$observe("title",function(t){if(angular.isDefined(t)||!e.hasOwnProperty("title")){var r=e.title;e.title=n.trustAsHtml(t),angular.isDefined(r)&&o(function(){s&&s.$applyPlacement()})}}),r.$observe("disabled",function(e){e&&s.$isShown&&s.hide()}),r.bsTooltip&&e.$watch(r.bsTooltip,function(t,n){angular.isObject(t)?angular.extend(e,t):e.title=t,angular.isDefined(n)&&o(function(){s&&s.$applyPlacement()})},!0),r.bsShow&&e.$watch(r.bsShow,function(e,t){s&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(tooltip),?/i)),!0===e?s.show():s.hide())}),r.bsEnabled&&e.$watch(r.bsEnabled,function(e,t){s&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|1|,?(tooltip),?/i)),!1===e?s.setEnabled(!1):s.setEnabled(!0))}),r.viewport&&e.$watch(r.viewport,function(e){s&&angular.isDefined(e)&&s.setViewport(e)}),s=i(t,l),e.$on("$destroy",function(){s&&s.destroy(),l=null,s=null})}}}]),angular.module("mgcrea.ngStrap.timepicker",["mgcrea.ngStrap.helpers.dateParser","mgcrea.ngStrap.helpers.dateFormatter","mgcrea.ngStrap.tooltip"]).provider("$timepicker",function(){var e=this.defaults={animation:"am-fade",defaultDate:"auto",prefixClass:"timepicker",placement:"bottom-left",templateUrl:"timepicker/timepicker.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,useNative:!0,timeType:"date",timeFormat:"shortTime",timezone:null,modelTimeFormat:null,autoclose:!1,minTime:-1/0,maxTime:1/0,length:5,hourStep:1,minuteStep:5,secondStep:5,roundDisplay:!1,iconUp:"glyphicon glyphicon-chevron-up",iconDown:"glyphicon glyphicon-chevron-down",arrowBehavior:"pager"};this.$get=["$window","$document","$rootScope","$sce","$dateFormatter","$tooltip","$timeout",function(t,n,r,i,o,a,s){function l(t,n,r){function i(e,n){var r=e+n;if(t[0].createTextRange){var i=t[0].createTextRange();i.collapse(!0),i.moveStart("character",e),i.moveEnd("character",r),i.select()}else t[0].setSelectionRange?t[0].setSelectionRange(e,r):angular.isUndefined(t[0].selectionStart)&&(t[0].selectionStart=e,t[0].selectionEnd=r)}function l(){t[0].focus()}var d=a(t,angular.extend({},e,r)),f=r.scope,p=d.$options,h=d.$scope,v=p.lang,m=function(e,t,n){return o.formatDate(e,t,v,n)},g=0,y=p.roundDisplay?function(e){var t=6e4*p.minuteStep;return new Date(Math.floor(e.getTime()/t)*t)}(new Date):new Date,$=n.$dateValue||y,b={hour:$.getHours(),meridian:$.getHours()<12,minute:$.getMinutes(),second:$.getSeconds(),millisecond:$.getMilliseconds()},w=o.getDatetimeFormat(p.timeFormat,v),x=o.hoursFormat(w),S=o.timeSeparator(w),E=o.minutesFormat(w),C=o.secondsFormat(w),T=o.showSeconds(w),_=o.showAM(w);h.$iconUp=p.iconUp,h.$iconDown=p.iconDown,h.$select=function(e,t){d.select(e,t)},h.$moveIndex=function(e,t){d.$moveIndex(e,t)},h.$switchMeridian=function(e){d.switchMeridian(e)},d.update=function(e){angular.isDate(e)&&!isNaN(e.getTime())?(d.$date=e,angular.extend(b,{hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),d.$build()):d.$isBuilt||d.$build()},d.select=function(e,t,r){n.$dateValue&&!isNaN(n.$dateValue.getTime())||(n.$dateValue="today"===p.defaultDate?new Date:new Date(1970,0,1)),angular.isDate(e)||(e=new Date(e)),0===t?n.$dateValue.setHours(e.getHours()):1===t?n.$dateValue.setMinutes(e.getMinutes()):2===t&&n.$dateValue.setSeconds(e.getSeconds()),n.$setViewValue(angular.copy(n.$dateValue)),n.$render(),p.autoclose&&!r&&s(function(){d.hide(!0)})},d.switchMeridian=function(e){if(n.$dateValue&&!isNaN(n.$dateValue.getTime())){var t=(e||n.$dateValue).getHours();n.$dateValue.setHours(t<12?t+12:t-12),n.$setViewValue(angular.copy(n.$dateValue)),n.$render()}},d.$build=function(){var e,t,n=h.midIndex=parseInt(p.length/2,10),r=[];for(e=0;e<p.length;e++)t=new Date(1970,0,1,b.hour-(n-e)*p.hourStep),r.push({date:t,label:m(t,x),selected:d.$date&&d.$isSelected(t,0),disabled:d.$isDisabled(t,0)});var i,o=[];for(e=0;e<p.length;e++)i=new Date(1970,0,1,0,b.minute-(n-e)*p.minuteStep),o.push({date:i,label:m(i,E),selected:d.$date&&d.$isSelected(i,1),disabled:d.$isDisabled(i,1)});var a,s=[];for(e=0;e<p.length;e++)a=new Date(1970,0,1,0,0,b.second-(n-e)*p.secondStep),s.push({date:a,label:m(a,C),selected:d.$date&&d.$isSelected(a,2),disabled:d.$isDisabled(a,2)});var l=[];for(e=0;e<p.length;e++)T?l.push([r[e],o[e],s[e]]):l.push([r[e],o[e]]);h.rows=l,h.showSeconds=T,h.showAM=_,h.isAM=(d.$date||r[n].date).getHours()<12,h.timeSeparator=S,d.$isBuilt=!0},d.$isSelected=function(e,t){return!!d.$date&&(0===t?e.getHours()===d.$date.getHours():1===t?e.getMinutes()===d.$date.getMinutes():2===t?e.getSeconds()===d.$date.getSeconds():void 0)},d.$isDisabled=function(e,t){var n;return 0===t?n=e.getTime()+6e4*b.minute+1e3*b.second:1===t?n=e.getTime()+36e5*b.hour+1e3*b.second:2===t&&(n=e.getTime()+36e5*b.hour+6e4*b.minute),n<1*p.minTime||n>1*p.maxTime},h.$arrowAction=function(e,t){"picker"===p.arrowBehavior?d.$setTimeByStep(e,t):d.$moveIndex(e,t)},d.$setTimeByStep=function(e,t){var n=new Date(d.$date||$),r=n.getHours(),i=n.getMinutes(),o=n.getSeconds();0===t?n.setHours(r-parseInt(p.hourStep,10)*e):1===t?n.setMinutes(i-parseInt(p.minuteStep,10)*e):2===t&&n.setSeconds(o-parseInt(p.secondStep,10)*e),d.select(n,t,!0)},d.$moveIndex=function(e,t){var n;0===t?(n=new Date(1970,0,1,b.hour+e*p.length,b.minute,b.second),angular.extend(b,{hour:n.getHours()})):1===t?(n=new Date(1970,0,1,b.hour,b.minute+e*p.length*p.minuteStep,b.second),angular.extend(b,{minute:n.getMinutes()})):2===t&&(n=new Date(1970,0,1,b.hour,b.minute,b.second+e*p.length*p.secondStep),angular.extend(b,{second:n.getSeconds()})),d.$build()},d.$onMouseDown=function(e){if("input"!==e.target.nodeName.toLowerCase()&&e.preventDefault(),e.stopPropagation(),u){var t=angular.element(e.target);"button"!==t[0].nodeName.toLowerCase()&&(t=t.parent()),t.triggerHandler("click")}},d.$onKeyDown=function(e){if(/(38|37|39|40|13)/.test(e.keyCode)&&!e.shiftKey&&!e.altKey){if(e.preventDefault(),e.stopPropagation(),13===e.keyCode)return void d.hide(!0);var t=new Date(d.$date),n=t.getHours(),r=m(t,x).length,o=t.getMinutes(),a=m(t,E).length,s=t.getSeconds(),l=m(t,C).length,c=/(37|39)/.test(e.keyCode),u=2+1*T+1*_;c&&(37===e.keyCode?g=g<1?u-1:g-1:39===e.keyCode&&(g=g<u-1?g+1:0));var h=[0,r],v=0;38===e.keyCode&&(v=-1),40===e.keyCode&&(v=1);var y=2===g&&T,$=2===g&&!T||3===g&&T;0===g?(t.setHours(n+v*parseInt(p.hourStep,10)),r=m(t,x).length,h=[0,r]):1===g?(t.setMinutes(o+v*parseInt(p.minuteStep,10)),a=m(t,E).length,h=[r+1,a]):y?(t.setSeconds(s+v*parseInt(p.secondStep,10)),l=m(t,C).length,h=[r+1+a+1,l]):$&&(c||d.switchMeridian(),h=[r+1+a+1+(l+1)*T,2]),d.select(t,g,!0),i(h[0],h[1]),f.$digest()}};var A=d.init;d.init=function(){if(c&&p.useNative)return t.prop("type","time"),void t.css("-webkit-appearance","textfield");u&&(t.prop("type","text"),t.attr("readonly","true"),t.on("click",l)),A()};var k=d.destroy;d.destroy=function(){c&&p.useNative&&t.off("click",l),k()};var N=d.show;d.show=function(){!u&&t.attr("readonly")||t.attr("disabled")||(N(),s(function(){d.$element&&d.$element.on(u?"touchstart":"mousedown",d.$onMouseDown),p.keyboard&&t&&t.on("keydown",d.$onKeyDown)},0,!1))};var P=d.hide;return d.hide=function(e){d.$isShown&&(d.$element&&d.$element.off(u?"touchstart":"mousedown",d.$onMouseDown),p.keyboard&&t&&t.off("keydown",d.$onKeyDown),P(e))},d}var c=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),u="createTouch"in t.document&&c;return e.lang||(e.lang=o.getDefaultLocale()),l.defaults=e,l}]}).directive("bsTimepicker",["$window","$parse","$q","$dateFormatter","$dateParser","$timepicker",function(e,t,r,i,o,a){var s=a.defaults,l=/(ip[ao]d|iphone|android)/gi.test(e.navigator.userAgent);return{restrict:"EAC",require:"ngModel",link:function(e,t,r,c){function u(e){if(angular.isDate(e)){var t=isNaN(f.minTime)||new Date(e.getTime()).setFullYear(1970,0,1)>=f.minTime,n=isNaN(f.maxTime)||new Date(e.getTime()).setFullYear(1970,0,1)<=f.maxTime,r=t&&n;c.$setValidity("date",r),c.$setValidity("min",t),c.$setValidity("max",n),r&&(c.$dateValue=e)}}function d(){return!c.$dateValue||isNaN(c.$dateValue.getTime())?"":m(c.$dateValue,f.timeFormat)}var f={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","autoclose","timeType","timeFormat","timezone","modelTimeFormat","useNative","hourStep","minuteStep","secondStep","length","arrowBehavior","iconUp","iconDown","roundDisplay","id","prefixClass","prefixEvent","defaultDate"],function(e){angular.isDefined(r[e])&&(f[e]=r[e])});var p=/^(false|0|)$/i;angular.forEach(["html","container","autoclose","useNative","roundDisplay"],function(e){angular.isDefined(r[e])&&p.test(r[e])&&(f[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(r[n])&&(f[t]=e.$eval(r[n]))}),l&&(f.useNative||s.useNative)&&(f.timeFormat="HH:mm");var h=a(t,c,f);f=h.$options;var v=f.lang,m=function(e,t,n){return i.formatDate(e,t,v,n)};r.bsShow&&e.$watch(r.bsShow,function(e,t){h&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(timepicker),?/i)),!0===e?h.show():h.hide())});var g=o({format:f.timeFormat,lang:v});angular.forEach(["minTime","maxTime"],function(e){angular.isDefined(r[e])&&r.$observe(e,function(t){h.$options[e]=g.getTimeForAttribute(e,t),isNaN(h.$options[e])||h.$build(),u(c.$dateValue)})}),e.$watch(r.ngModel,function(e,t){h.update(c.$dateValue)},!0),c.$parsers.unshift(function(e){var t;if(!e)return c.$setValidity("date",!0),null;var r=angular.isDate(e)?e:g.parse(e,c.$dateValue);return!r||isNaN(r.getTime())?(c.$setValidity("date",!1),n):(u(r),"string"===f.timeType?(t=g.timezoneOffsetAdjust(r,f.timezone,!0),m(t,f.modelTimeFormat||f.timeFormat)):(t=g.timezoneOffsetAdjust(c.$dateValue,f.timezone,!0),"number"===f.timeType?t.getTime():"unix"===f.timeType?t.getTime()/1e3:"iso"===f.timeType?t.toISOString():new Date(t)))}),c.$formatters.push(function(e){var t;return t=angular.isUndefined(e)||null===e?NaN:angular.isDate(e)?e:"string"===f.timeType?g.parse(e,null,f.modelTimeFormat):"unix"===f.timeType?new Date(1e3*e):new Date(e),c.$dateValue=g.timezoneOffsetAdjust(t,f.timezone),d()}),c.$render=function(){t.val(d())},e.$on("$destroy",function(){h&&h.destroy(),f=null,h=null})}}}]),angular.module("mgcrea.ngStrap.tab",[]).provider("$tab",function(){var e=this.defaults={animation:"am-fade",template:"tab/tab.tpl.html",navClass:"nav-tabs",activeClass:"active"},t=this.controller=function(t,n,r){var i=this;i.$options=angular.copy(e),angular.forEach(["animation","navClass","activeClass"],function(e){angular.isDefined(r[e])&&(i.$options[e]=r[e])}),t.$navClass=i.$options.navClass,t.$activeClass=i.$options.activeClass,i.$panes=t.$panes=[],i.$activePaneChangeListeners=i.$viewChangeListeners=[],i.$push=function(e){angular.isUndefined(i.$panes.$active)&&t.$setActive(e.name||0),i.$panes.push(e)},i.$remove=function(e){var t,n=i.$panes.indexOf(e),r=i.$panes.$active;t=angular.isString(r)?i.$panes.map(function(e){return e.name}).indexOf(r):i.$panes.$active,i.$panes.splice(n,1),n<t?t--:n===t&&t===i.$panes.length&&t--,t>=0&&t<i.$panes.length?i.$setActive(i.$panes[t].name||t):i.$setActive()},i.$setActive=t.$setActive=function(e){i.$panes.$active=e,i.$activePaneChangeListeners.forEach(function(e){e()})},i.$isActive=t.$isActive=function(e,t){return i.$panes.$active===e.name||i.$panes.$active===t}};this.$get=function(){var n={};return n.defaults=e,n.controller=t,n}}).directive("bsTabs",["$window","$animate","$tab","$parse",function(e,t,n,r){var i=n.defaults;return{require:["?ngModel","bsTabs"],transclude:!0,scope:!0,controller:["$scope","$element","$attrs",n.controller],templateUrl:function(e,t){return t.template||i.template},link:function(e,t,n,i){var o=i[0],a=i[1];if(o&&(a.$activePaneChangeListeners.push(function(){o.$setViewValue(a.$panes.$active)}),o.$formatters.push(function(e){return a.$setActive(e),e})),n.bsActivePane){var s=r(n.bsActivePane);a.$activePaneChangeListeners.push(function(){s.assign(e,a.$panes.$active)}),e.$watch(n.bsActivePane,function(e,t){a.$setActive(e)},!0)}}}}]).directive("bsPane",["$window","$animate","$sce",function(e,t,n){return{require:["^?ngModel","^bsTabs"],scope:!0,link:function(e,r,i,o){function a(){var n=s.$panes.indexOf(e);t[s.$isActive(e,n)?"addClass":"removeClass"](r,s.$options.activeClass)}var s=o[1];r.addClass("tab-pane"),i.$observe("title",function(t,r){e.title=n.trustAsHtml(t)}),e.name=i.name,s.$options.animation&&r.addClass(s.$options.animation),i.$observe("disabled",function(t,n){e.disabled=e.$eval(t)}),s.$push(e),e.$on("$destroy",function(){s.$remove(e)}),s.$activePaneChangeListeners.push(function(){a()}),a()}}}]),angular.module("mgcrea.ngStrap.select",["mgcrea.ngStrap.tooltip","mgcrea.ngStrap.helpers.parseOptions"]).provider("$select",function(){var e=this.defaults={animation:"am-fade",prefixClass:"select",prefixEvent:"$select",placement:"bottom-left",templateUrl:"select/select.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,multiple:!1,allNoneButtons:!1,sort:!0,caretHtml:'&nbsp;<span class="caret"></span>',placeholder:"Choose among the following...",allText:"All",noneText:"None",maxLength:3,maxLengthHtml:"selected",iconCheckmark:"glyphicon glyphicon-ok",toggle:!1};this.$get=["$window","$document","$rootScope","$tooltip","$timeout",function(t,r,i,o,a){function s(i,s,l){var u={},d=angular.extend({},e,l);u=o(i,d);var f=u.$scope;f.$matches=[],d.multiple?f.$activeIndex=[]:f.$activeIndex=-1,f.$isMultiple=d.multiple,f.$showAllNoneButtons=d.allNoneButtons&&d.multiple,f.$iconCheckmark=d.iconCheckmark,f.$allText=d.allText,f.$noneText=d.noneText,f.$activate=function(e){f.$$postDigest(function(){u.activate(e)})},f.$select=function(e,t){f.$$postDigest(function(){u.select(e)})},f.$isVisible=function(){return u.$isVisible()},f.$isActive=function(e){return u.$isActive(e)},f.$selectAll=function(){for(var e=0;e<f.$matches.length;e++)f.$isActive(e)||f.$select(e)},f.$selectNone=function(){for(var e=0;e<f.$matches.length;e++)f.$isActive(e)&&f.$select(e)},u.update=function(e){f.$matches=e,u.$updateActiveIndex()},u.activate=function(e){return d.multiple?(u.$isActive(e)?f.$activeIndex.splice(f.$activeIndex.indexOf(e),1):f.$activeIndex.push(e),d.sort&&f.$activeIndex.sort(function(e,t){return e-t})):f.$activeIndex=e,f.$activeIndex},u.select=function(e){if(!(angular.isUndefined(e)||e<0||e>=f.$matches.length)){var t=f.$matches[e].value;f.$apply(function(){u.activate(e),d.multiple?s.$setViewValue(f.$activeIndex.map(function(e){return angular.isUndefined(f.$matches[e])?null:f.$matches[e].value})):(d.toggle?s.$setViewValue(t===s.$modelValue?n:t):s.$setViewValue(t),u.hide())}),f.$emit(d.prefixEvent+".select",t,e,u),angular.isDefined(d.onSelect)&&angular.isFunction(d.onSelect)&&d.onSelect(t,e,u)}},u.$updateActiveIndex=function(){d.multiple?angular.isArray(s.$modelValue)?f.$activeIndex=s.$modelValue.map(function(e){return u.$getIndex(e)}):f.$activeIndex=[]:angular.isDefined(s.$modelValue)&&f.$matches.length?f.$activeIndex=u.$getIndex(s.$modelValue):f.$activeIndex=-1},u.$isVisible=function(){return d.minLength&&s?f.$matches.length&&s.$viewValue.length>=d.minLength:f.$matches.length},u.$isActive=function(e){return d.multiple?-1!==f.$activeIndex.indexOf(e):f.$activeIndex===e},u.$getIndex=function(e){var t;for(t=f.$matches.length;t--&&!angular.equals(f.$matches[t].value,e););return t},u.$onMouseDown=function(e){if(e.preventDefault(),e.stopPropagation(),c){var t,n=angular.element(e.target);if("A"!==e.target.nodeName)for(var r=n.parent();!t&&r.length>0;)"A"===r[0].nodeName&&(t=r),r=r.parent();t?angular.element(t).triggerHandler("click"):n.triggerHandler("click")}},u.$onKeyDown=function(e){if(/(9|13|38|40)/.test(e.keyCode))return 9!==e.keyCode&&(e.preventDefault(),e.stopPropagation()),d.multiple&&9===e.keyCode?u.hide():d.multiple||13!==e.keyCode&&9!==e.keyCode?void(d.multiple||(38===e.keyCode&&f.$activeIndex>0?f.$activeIndex--:38===e.keyCode&&f.$activeIndex<0?f.$activeIndex=f.$matches.length-1:40===e.keyCode&&f.$activeIndex<f.$matches.length-1?f.$activeIndex++:angular.isUndefined(f.$activeIndex)&&(f.$activeIndex=0),f.$digest())):u.select(f.$activeIndex)},u.$isIE=function(){var e=t.navigator.userAgent;return e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0||e.indexOf("Edge/")>0},u.$selectScrollFix=function(e){"UL"===r[0].activeElement.tagName&&(e.preventDefault(),e.stopImmediatePropagation(),e.target.focus())};var p=u.show;u.show=function(){p(),d.multiple&&u.$element.addClass("select-multiple"),a(function(){u.$element.on(c?"touchstart":"mousedown",u.$onMouseDown),d.keyboard&&i.on("keydown",u.$onKeyDown)},0,!1)};var h=u.hide;return u.hide=function(){!d.multiple&&angular.isUndefined(s.$modelValue)&&(f.$activeIndex=-1),u.$element.off(c?"touchstart":"mousedown",u.$onMouseDown),d.keyboard&&i.off("keydown",u.$onKeyDown),h(!0)},u}var l=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),c="createTouch"in t.document&&l;return s.defaults=e,s}]}).directive("bsSelect",["$window","$parse","$q","$select","$parseOptions",function(e,t,n,r,i){var o=r.defaults;return{restrict:"EAC",require:"ngModel",link:function(e,t,n,a){var s={scope:e,placeholder:o.placeholder};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","placeholder","allNoneButtons","maxLength","maxLengthHtml","allText","noneText","iconCheckmark","autoClose","id","sort","caretHtml","prefixClass","prefixEvent","toggle"],function(e){angular.isDefined(n[e])&&(s[e]=n[e])});var l=/^(false|0|)$/i;angular.forEach(["html","container","allNoneButtons","sort"],function(e){angular.isDefined(n[e])&&l.test(n[e])&&(s[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide","onSelect"],function(t){var r="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(n[r])&&(s[t]=e.$eval(n[r]))});var c=t.attr("data-multiple");if(angular.isDefined(c)&&(l.test(c)?s.multiple=!1:s.multiple=c),"select"===t[0].nodeName.toLowerCase()){var u=t;u.css("display","none"),t=angular.element('<button type="button" class="btn btn-default"></button>'),u.after(t)}var d=i(n.bsOptions),f=r(t,a,s);f.$isIE()&&t[0].addEventListener("blur",f.$selectScrollFix);var p=d.$match[7].replace(/\|.+/,"").trim();e.$watch(p,function(t,n){d.valuesFn(e,a).then(function(e){f.update(e),a.$render()})},!0),e.$watch(n.ngModel,function(e,t){f.$updateActiveIndex(),a.$render()},!0),a.$render=function(){var e,n;s.multiple&&angular.isArray(a.$modelValue)?(e=a.$modelValue.map(function(e){return-1!==(n=f.$getIndex(e))&&f.$scope.$matches[n].label}).filter(angular.isDefined),e=e.length>(s.maxLength||o.maxLength)?e.length+" "+(s.maxLengthHtml||o.maxLengthHtml):e.join(", ")):(n=f.$getIndex(a.$modelValue),e=-1!==n&&f.$scope.$matches[n].label),t.html((e||s.placeholder)+(s.caretHtml||o.caretHtml))},s.multiple&&(a.$isEmpty=function(e){return!e||0===e.length}),e.$on("$destroy",function(){f&&f.destroy(),s=null,f=null})}}}]),angular.module("mgcrea.ngStrap.scrollspy",["mgcrea.ngStrap.helpers.debounce","mgcrea.ngStrap.helpers.dimensions"]).provider("$scrollspy",function(){var e=this.$$spies={},n=this.defaults={debounce:150,throttle:100,offset:100};this.$get=["$window","$document","$rootScope","dimensions","debounce","throttle",function(r,i,o,a,s,l){function c(e,t){return e[0].nodeName&&e[0].nodeName.toLowerCase()===t.toLowerCase()}function u(i){var u=angular.extend({},n,i);u.element||(u.element=p);var h=c(u.element,"body"),v=h?d:u.element,m=h?"window":u.id;if(e[m])return e[m].$$count++,e[m];var g,y,$,b,w,x,S,E,C={},T=C.$trackedElements=[],_=[];return C.init=function(){this.$$count=1,b=s(this.checkPosition,u.debounce),w=l(this.checkPosition,u.throttle),v.on("click",this.checkPositionWithEventLoop),d.on("resize",b),v.on("scroll",w),x=s(this.checkOffsets,u.debounce),g=o.$on("$viewContentLoaded",x),y=o.$on("$includeContentLoaded",x),x(),m&&(e[m]=C)},C.destroy=function(){--this.$$count>0||(v.off("click",this.checkPositionWithEventLoop),d.off("resize",b),v.off("scroll",w),g(),y(),m&&delete e[m])},C.checkPosition=function(){if(_.length){if(E=(h?r.pageYOffset:v.prop("scrollTop"))||0,S=Math.max(r.innerHeight,f.prop("clientHeight")),E<_[0].offsetTop&&$!==_[0].target)return C.$activateElement(_[0]);for(var e=_.length;e--;)if(!angular.isUndefined(_[e].offsetTop)&&null!==_[e].offsetTop&&$!==_[e].target&&!(E<_[e].offsetTop||_[e+1]&&E>_[e+1].offsetTop))return C.$activateElement(_[e])}},C.checkPositionWithEventLoop=function(){setTimeout(C.checkPosition,1)},C.$activateElement=function(e){if($){var t=C.$getTrackedElement($);t&&(t.source.removeClass("active"),c(t.source,"li")&&c(t.source.parent().parent(),"li")&&t.source.parent().parent().removeClass("active"))}$=e.target,e.source.addClass("active"),c(e.source,"li")&&c(e.source.parent().parent(),"li")&&e.source.parent().parent().addClass("active")},C.$getTrackedElement=function(e){return T.filter(function(t){return t.target===e})[0]},C.checkOffsets=function(){angular.forEach(T,function(e){var n=t.querySelector(e.target);e.offsetTop=n?a.offset(n).top:null,u.offset&&null!==e.offsetTop&&(e.offsetTop-=1*u.offset)}),_=T.filter(function(e){return null!==e.offsetTop}).sort(function(e,t){return e.offsetTop-t.offsetTop}),b()},C.trackElement=function(e,t){T.push({target:e,source:t})},C.untrackElement=function(e,t){for(var n,r=T.length;r--;)if(T[r].target===e&&T[r].source===t){n=r;break}T.splice(n,1)},C.activate=function(e){T[e].addClass("active")},C.init(),C}var d=angular.element(r),f=angular.element(i.prop("documentElement")),p=angular.element(r.document.body);return u}]}).directive("bsScrollspy",["$rootScope","debounce","dimensions","$scrollspy",function(e,t,n,r){return{restrict:"EAC",link:function(e,t,n){var i={scope:e};angular.forEach(["offset","target"],function(e){angular.isDefined(n[e])&&(i[e]=n[e])});var o=r(i);o.trackElement(i.target,t),e.$on("$destroy",function(){o&&(o.untrackElement(i.target,t),o.destroy()),i=null,o=null})}}}]).directive("bsScrollspyList",["$rootScope","debounce","dimensions","$scrollspy",function(e,t,n,r){return{restrict:"A",compile:function(e,t){var n=e[0].querySelectorAll("li > a[href]");angular.forEach(n,function(e){var t=angular.element(e);t.parent().attr("bs-scrollspy","").attr("data-target",t.attr("href"))})}}}]),angular.module("mgcrea.ngStrap.popover",["mgcrea.ngStrap.tooltip"]).provider("$popover",function(){var e=this.defaults={animation:"am-fade",customClass:"",container:!1,target:!1,placement:"right",templateUrl:"popover/popover.tpl.html",contentTemplate:!1,trigger:"click",keyboard:!0,html:!1,title:"",content:"",delay:0,autoClose:!1};this.$get=["$tooltip",function(t){function n(n,r){var i=angular.extend({},e,r),o=t(n,i);return i.content&&(o.$scope.content=i.content),o}return n}]}).directive("bsPopover",["$window","$sce","$popover",function(e,t,n){var r=e.requestAnimationFrame||e.setTimeout;return{restrict:"EAC",scope:!0,link:function(e,i,o){var a,s={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","contentTemplate","placement","container","delay","trigger","html","animation","customClass","autoClose","id","prefixClass","prefixEvent","bsEnabled"],function(e){angular.isDefined(o[e])&&(s[e]=o[e])});var l=/^(false|0|)$/i;angular.forEach(["html","container","autoClose"],function(e){angular.isDefined(o[e])&&l.test(o[e])&&(s[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(o[n])&&(s[t]=e.$eval(o[n]))});var c=i.attr("data-target");angular.isDefined(c)&&(l.test(c)?s.target=!1:s.target=c),angular.forEach(["title","content"],function(n){o[n]&&o.$observe(n,function(i,o){e[n]=t.trustAsHtml(i),angular.isDefined(o)&&r(function(){a&&a.$applyPlacement()})})}),o.bsPopover&&e.$watch(o.bsPopover,function(t,n){angular.isObject(t)?angular.extend(e,t):e.content=t,angular.isDefined(n)&&r(function(){a&&a.$applyPlacement()})},!0),o.bsShow&&e.$watch(o.bsShow,function(e,t){a&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(popover),?/i)),!0===e?a.show():a.hide())}),o.bsEnabled&&e.$watch(o.bsEnabled,function(e){a&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|1|,?(popover),?/i)),!1===e?a.setEnabled(!1):a.setEnabled(!0))}),o.viewport&&e.$watch(o.viewport,function(e){a&&angular.isDefined(e)&&a.setViewport(e)}),a=n(i,s),e.$on("$destroy",function(){a&&a.destroy(),s=null,a=null})}}}]),angular.module("mgcrea.ngStrap.navbar",[]).provider("$navbar",function(){var e=this.defaults={activeClass:"active",routeAttr:"data-match-route",strict:!1};this.$get=function(){return{defaults:e}}}).directive("bsNavbar",["$window","$location","$navbar",function(e,t,n){var r=n.defaults;return{restrict:"A",link:function(e,n,i,o){var a=angular.copy(r);angular.forEach(Object.keys(r),function(e){angular.isDefined(i[e])&&(a[e]=i[e])}),e.$watch(function(){return t.path()},function(e,t){var r=n[0].querySelectorAll("li["+a.routeAttr+"]");angular.forEach(r,function(t){var n=angular.element(t),r=n.attr(a.routeAttr).replace("/","\\/");a.strict&&(r="^"+r+"$"),new RegExp(r,"i").test(e)?n.addClass(a.activeClass):n.removeClass(a.activeClass)})})}}}]),angular.module("mgcrea.ngStrap.modal",["mgcrea.ngStrap.core","mgcrea.ngStrap.helpers.dimensions"]).provider("$modal",function(){var e=this.defaults={animation:"am-fade",backdropAnimation:"am-fade",customClass:"",prefixClass:"modal",prefixEvent:"modal",placement:"top",templateUrl:"modal/modal.tpl.html",template:"",contentTemplate:!1,container:!1,element:null,backdrop:!0,keyboard:!0,html:!1,show:!0,size:null,zIndex:null};this.$get=["$window","$rootScope","$bsCompiler","$animate","$timeout","$sce","dimensions",function(n,r,i,o,a,s,l){function c(t){function n(){_.$emit(C.prefixEvent+".show",E),angular.isDefined(C.onShow)&&angular.isFunction(C.onShow)&&C.onShow(E)}function a(){_.$emit(C.prefixEvent+".hide",E),angular.isDefined(C.onHide)&&angular.isFunction(C.onHide)&&C.onHide(E),d(".modal").length<=0&&h.removeClass(C.prefixClass+"-open"),C.animation&&h.removeClass(C.prefixClass+"-with-"+C.animation)}function l(){C.backdrop&&(k.on("click",w),P.on("click",w),P.on("wheel",x))}function c(){C.backdrop&&(k.off("click",w),P.off("click",w),P.off("wheel",x))}function $(){C.keyboard&&k.on("keyup",E.$onKeyUp)}function b(){C.keyboard&&k.off("keyup",E.$onKeyUp)}function w(e){e.target===e.currentTarget&&("static"===C.backdrop?E.focus():E.hide())}function x(e){e.preventDefault()}function S(){E.$isShown&&null!==k&&(c(),b()),N&&(N.$destroy(),N=null),k&&(k.remove(),k=E.$element=null)}var E={},C=E.$options=angular.extend({},e,t),T=E.$promise=i.compile(C),_=E.$scope=C.scope&&C.scope.$new()||r.$new();C.element||C.container||(C.container="body"),C.zIndex&&(m=parseInt(C.zIndex,10),g=m-10),E.$id=C.id||C.element&&C.element.attr("id")||"",f(["title","content"],function(e){C[e]&&(_[e]=s.trustAsHtml(C[e]))}),_.$hide=function(){_.$$postDigest(function(){E.hide()})},_.$show=function(){_.$$postDigest(function(){E.show()})},_.$toggle=function(){_.$$postDigest(function(){E.toggle()})},E.$isShown=_.$isShown=!1;var A,k,N,P=angular.element('<div class="'+C.prefixClass+'-backdrop"/>');return P.css({position:"fixed",top:"0px",left:"0px",bottom:"0px",right:"0px"}),T.then(function(e){A=e,E.init()}),E.init=function(){C.show&&_.$$postDigest(function(){E.show()})},E.destroy=function(){S(),P&&(P.remove(),P=null),_.$destroy()},E.show=function(){if(!E.$isShown){var e,t;if(angular.isElement(C.container)?(e=C.container,t=C.container[0].lastChild?angular.element(C.container[0].lastChild):null):C.container?(e=d(C.container),t=e[0]&&e[0].lastChild?angular.element(e[0].lastChild):null):(e=null,t=C.element),k&&S(),N=E.$scope.$new(),k=E.$element=A.link(N,function(e,t){}),C.backdrop&&(k.css({"z-index":m+20*v}),P.css({"z-index":g+20*v}),v++),!_.$emit(C.prefixEvent+".show.before",E).defaultPrevented){angular.isDefined(C.onBeforeShow)&&angular.isFunction(C.onBeforeShow)&&C.onBeforeShow(E),k.css({display:"block"}).addClass(C.placement),C.customClass&&k.addClass(C.customClass),C.size&&y[C.size]&&angular.element(d(".modal-dialog",k[0])).addClass(y[C.size]),C.animation&&(C.backdrop&&P.addClass(C.backdropAnimation),k.addClass(C.animation)),C.backdrop&&o.enter(P,h,null),angular.version.minor<=2?o.enter(k,e,t,n):o.enter(k,e,t).then(n),E.$isShown=_.$isShown=!0,u(_);var r=k[0];p(function(){r.focus()}),h.addClass(C.prefixClass+"-open"),C.animation&&h.addClass(C.prefixClass+"-with-"+C.animation),l(),$()}}},E.hide=function(){E.$isShown&&(_.$emit(C.prefixEvent+".hide.before",E).defaultPrevented||(angular.isDefined(C.onBeforeHide)&&angular.isFunction(C.onBeforeHide)&&C.onBeforeHide(E),angular.version.minor<=2?o.leave(k,a):o.leave(k).then(a),C.backdrop&&(v--,o.leave(P)),E.$isShown=_.$isShown=!1,u(_),c(),b()))},E.toggle=function(){E.$isShown?E.hide():E.show()},E.focus=function(){k[0].focus()},E.$onKeyUp=function(e){27===e.which&&E.$isShown&&(E.hide(),e.stopPropagation())},E}function u(e){e.$$phase||e.$root&&e.$root.$$phase||e.$digest()}function d(e,n){return angular.element((n||t).querySelectorAll(e))}var f=angular.forEach,p=n.requestAnimationFrame||n.setTimeout,h=angular.element(n.document.body),v=0,m=1050,g=1040,y={lg:"modal-lg",sm:"modal-sm"};return c}]}).directive("bsModal",["$window","$sce","$parse","$modal",function(e,t,n,r){return{restrict:"EAC",scope:!0,link:function(e,n,i,o){var a={scope:e,element:n,show:!1};angular.forEach(["template","templateUrl","controller","controllerAs","contentTemplate","placement","backdrop","keyboard","html","container","animation","backdropAnimation","id","prefixEvent","prefixClass","customClass","modalClass","size","zIndex"],function(e){angular.isDefined(i[e])&&(a[e]=i[e])}),a.modalClass&&(a.customClass=a.modalClass);var s=/^(false|0|)$/i;angular.forEach(["backdrop","keyboard","html","container"],function(e){angular.isDefined(i[e])&&s.test(i[e])&&(a[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(i[n])&&(a[t]=e.$eval(i[n]))}),angular.forEach(["title","content"],function(n){i[n]&&i.$observe(n,function(r,i){e[n]=t.trustAsHtml(r)})}),i.bsModal&&e.$watch(i.bsModal,function(t,n){angular.isObject(t)?angular.extend(e,t):e.content=t},!0);var l=r(a);n.on(i.trigger||"click",l.toggle),e.$on("$destroy",function(){l&&l.destroy(),a=null,l=null})}}}]),angular.version.minor<3&&angular.version.dot<14&&angular.module("ng").factory("$$rAF",["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]),angular.module("mgcrea.ngStrap.helpers.parseOptions",[]).provider("$parseOptions",function(){var e=this.defaults={regexp:/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(.*?)(?:\s+track\s+by\s+(.*?))?$/};this.$get=["$parse","$q",function(t,n){function r(r,i){function o(e,t){return e.map(function(e,n){var r,i,o={};return o[u]=e,r=c(t,o),i=p(t,o),{label:r,value:i,index:n}})}var a={},s=angular.extend({},e,i);a.$values=[];var l,c,u,d,f,p,h;return a.init=function(){a.$match=l=r.match(s.regexp),c=t(l[2]||l[1]),u=l[4]||l[6],d=l[5],f=t(l[3]||""),p=t(l[2]?l[1]:u),h=t(l[7])},a.valuesFn=function(e,t){return n.when(h(e,t)).then(function(t){return angular.isArray(t)||(t=[]),a.$values=t.length?o(t,e):[],a.$values})},a.displayValue=function(e){var t={};return t[u]=e,c(t)},a.init(),a}return r}]}),angular.module("mgcrea.ngStrap.helpers.dimensions",[]).factory("dimensions",function(){function t(e){var t=e.ownerDocument,i=e.offsetParent||t;if(r(i,"#document"))return t.documentElement;for(;i&&!r(i,"html")&&"static"===n.css(i,"position");)i=i.offsetParent;return i||t.documentElement}var n={},r=n.nodeName=function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()};return n.css=function(t,n,r){var i;return i=t.currentStyle?t.currentStyle[n]:e.getComputedStyle?e.getComputedStyle(t)[n]:t.style[n],!0===r?parseFloat(i)||0:i},n.offset=function(t){var n=t.getBoundingClientRect(),r=t.ownerDocument;return{width:n.width||t.offsetWidth,height:n.height||t.offsetHeight,top:n.top+(e.pageYOffset||r.documentElement.scrollTop)-(r.documentElement.clientTop||0),left:n.left+(e.pageXOffset||r.documentElement.scrollLeft)-(r.documentElement.clientLeft||0)}},n.setOffset=function(e,t,r){var i,o,a,s,l,c,u,d=n.css(e,"position"),f=angular.element(e),p={};"static"===d&&(e.style.position="relative"),l=n.offset(e),a=n.css(e,"top"),c=n.css(e,"left"),u=("absolute"===d||"fixed"===d)&&(a+c).indexOf("auto")>-1,u?(i=n.position(e),s=i.top,o=i.left):(s=parseFloat(a)||0,o=parseFloat(c)||0),angular.isFunction(t)&&(t=t.call(e,r,l)),null!==t.top&&(p.top=t.top-l.top+s),null!==t.left&&(p.left=t.left-l.left+o),"using"in t?t.using.call(f,p):f.css({top:p.top+"px",left:p.left+"px"})},n.position=function(e){var i,o,a={top:0,left:0};return"fixed"===n.css(e,"position")?o=e.getBoundingClientRect():(i=t(e),o=n.offset(e),r(i,"html")||(a=n.offset(i)),a.top+=n.css(i,"borderTopWidth",!0),a.left+=n.css(i,"borderLeftWidth",!0)),{width:e.offsetWidth,height:e.offsetHeight,top:o.top-a.top-n.css(e,"marginTop",!0),left:o.left-a.left-n.css(e,"marginLeft",!0)}},n.height=function(e,t){var r=e.offsetHeight;return t?r+=n.css(e,"marginTop",!0)+n.css(e,"marginBottom",!0):r-=n.css(e,"paddingTop",!0)+n.css(e,"paddingBottom",!0)+n.css(e,"borderTopWidth",!0)+n.css(e,"borderBottomWidth",!0),r},n.width=function(e,t){var r=e.offsetWidth;return t?r+=n.css(e,"marginLeft",!0)+n.css(e,"marginRight",!0):r-=n.css(e,"paddingLeft",!0)+n.css(e,"paddingRight",!0)+n.css(e,"borderLeftWidth",!0)+n.css(e,"borderRightWidth",!0),r},n}),angular.module("mgcrea.ngStrap.helpers.debounce",[]).factory("debounce",["$timeout",function(e){return function(t,n,r){var i=null;return function(){var o=this,a=arguments,s=r&&!i;return i&&e.cancel(i),i=e(function(){i=null,r||t.apply(o,a)},n,!1),s&&t.apply(o,a),i}}}]).factory("throttle",["$timeout",function(e){return function(t,n,r){var i=null;return r||(r={}),function(){var o=this,a=arguments;i||(!1!==r.leading&&t.apply(o,a),i=e(function(){i=null,!1!==r.trailing&&t.apply(o,a)},n,!1))}}}]),angular.module("mgcrea.ngStrap.helpers.dateParser",[]).provider("$dateParser",["$localeProvider",function(e){function t(){this.year=1970,this.month=0,this.day=1,this.hours=0,this.minutes=0,this.seconds=0,this.milliseconds=0}function n(){}function r(e){return!isNaN(parseFloat(e))&&isFinite(e)}function i(e,t){for(var n=e.length,r=t.toString().toLowerCase(),i=0;i<n;i++)if(e[i].toLowerCase()===r)return i;return-1}t.prototype.setMilliseconds=function(e){this.milliseconds=e},t.prototype.setSeconds=function(e){this.seconds=e},t.prototype.setMinutes=function(e){this.minutes=e},t.prototype.setHours=function(e){this.hours=e},t.prototype.getHours=function(){return this.hours},t.prototype.setDate=function(e){this.day=e},t.prototype.setMonth=function(e){this.month=e},t.prototype.setFullYear=function(e){this.year=e},t.prototype.fromDate=function(e){return this.year=e.getFullYear(),this.month=e.getMonth(),this.day=e.getDate(),this.hours=e.getHours(),this.minutes=e.getMinutes(),this.seconds=e.getSeconds(),this.milliseconds=e.getMilliseconds(),this},t.prototype.toDate=function(){return new Date(this.year,this.month,this.day,this.hours,this.minutes,this.seconds,this.milliseconds)};var o=t.prototype,a=this.defaults={format:"shortDate",strict:!1};this.$get=["$locale","dateFilter",function(e,s){return function(l){function c(e){return h(u(e))}function u(e){var t=d(e),n=t.replace(/''/g,"\\'"),r=/('(?:\\'|.)*?')/,i=n.split(r),o=Object.keys(w),a=[];return angular.forEach(i,function(e){if(f(e))e=p(e);else for(var t=0;t<o.length;t++)e=e.split(o[t]).join("${"+t+"}");a.push(e)}),a.join("")}function d(e){return e.replace(/\\/g,"[\\\\]").replace(/-/g,"[-]").replace(/\./g,"[.]").replace(/\*/g,"[*]").replace(/\+/g,"[+]").replace(/\?/g,"[?]").replace(/\$/g,"[$]").replace(/\^/g,"[^]").replace(/\//g,"[/]").replace(/\\s/g,"[\\s]")}function f(e){return/^'.*'$/.test(e)}function p(e){return e.replace(/^'(.*)'$/,"$1")}function h(e){for(var t=Object.keys(w),n=e,r=0;r<t.length;r++)n=n.split("${"+r+"}").join("("+w[t[r]]+")");return new RegExp("^"+n+"$",["i"])}function v(e){return m(u(e))}function m(e){for(var t,n,r,i,o=Object.keys(w),a=new RegExp("\\${(\\d+)}","g"),s=[];null!==(t=a.exec(e));)n=t[1],r=o[n],i=x[r],s.push(i);return s}var g,y,$=angular.extend({},a,l),b={},w={sss:"[0-9]{3}",ss:"[0-5][0-9]",s:$.strict?"[1-5]?[0-9]":"[0-9]|[0-5][0-9]",mm:"[0-5][0-9]",m:$.strict?"[1-5]?[0-9]":"[0-9]|[0-5][0-9]",HH:"[01][0-9]|2[0-3]",H:$.strict?"1?[0-9]|2[0-3]":"[01]?[0-9]|2[0-3]",hh:"[0][1-9]|[1][012]",h:$.strict?"[1-9]|1[012]":"0?[1-9]|1[012]",a:"AM|PM",EEEE:e.DATETIME_FORMATS.DAY.join("|"),EEE:e.DATETIME_FORMATS.SHORTDAY.join("|"),dd:"0[1-9]|[12][0-9]|3[01]",d:$.strict?"[1-9]|[1-2][0-9]|3[01]":"0?[1-9]|[1-2][0-9]|3[01]",MMMM:e.DATETIME_FORMATS.MONTH.join("|"),MMM:e.DATETIME_FORMATS.SHORTMONTH.join("|"),MM:"0[1-9]|1[012]",M:$.strict?"[1-9]|1[012]":"0?[1-9]|1[012]",yyyy:"[1]{1}[0-9]{3}|[2]{1}[0-9]{3}",yy:"[0-9]{2}",y:$.strict?"-?(0|[1-9][0-9]{0,3})":"-?0*[0-9]{1,4}"},x={sss:o.setMilliseconds,ss:o.setSeconds,s:o.setSeconds,mm:o.setMinutes,m:o.setMinutes,HH:o.setHours,H:o.setHours,hh:o.setHours,h:o.setHours,EEEE:n,EEE:n,dd:o.setDate,d:o.setDate,a:function(e){var t=this.getHours()%12;return this.setHours(e.match(/pm/i)?t+12:t)},MMMM:function(t){return this.setMonth(i(e.DATETIME_FORMATS.MONTH,t))},MMM:function(t){return this.setMonth(i(e.DATETIME_FORMATS.SHORTMONTH,t))},MM:function(e){return this.setMonth(1*e-1)},M:function(e){return this.setMonth(1*e-1)},yyyy:o.setFullYear,yy:function(e){return this.setFullYear(2e3+1*e)},y:function(e){return 1*e<=50&&2===e.length?this.setFullYear(2e3+1*e):this.setFullYear(1*e)}};return b.init=function(){b.$format=e.DATETIME_FORMATS[$.format]||$.format,g=c(b.$format),y=v(b.$format)},b.isValid=function(e){return angular.isDate(e)?!isNaN(e.getTime()):g.test(e)},b.parse=function(n,r,i,o){i&&(i=e.DATETIME_FORMATS[i]||i),angular.isDate(n)&&(n=s(n,i||b.$format,o));var a=i?c(i):g,l=i?v(i):y,u=a.exec(n);if(!u)return!1;for(var d=r&&!isNaN(r.getTime())?(new t).fromDate(r):(new t).fromDate(new Date(1970,0,1,0)),f=0;f<u.length-1;f++)l[f]&&l[f].call(d,u[f+1]);var p=d.toDate();return parseInt(d.day,10)===p.getDate()&&p},b.getDateForAttribute=function(e,t){var n;if("today"===t){var i=new Date;n=new Date(i.getFullYear(),i.getMonth(),i.getDate()+("maxDate"===e?1:0),0,0,0,"minDate"===e?0:-1)}else n=angular.isString(t)&&t.match(/^".+"$/)?new Date(t.substr(1,t.length-2)):r(t)?new Date(parseInt(t,10)):angular.isString(t)&&0===t.length?"minDate"===e?-1/0:1/0:new Date(t);return n},b.getTimeForAttribute=function(e,t){return"now"===t?(new Date).setFullYear(1970,0,1):angular.isString(t)&&t.match(/^".+"$/)?new Date(t.substr(1,t.length-2)).setFullYear(1970,0,1):r(t)?new Date(parseInt(t,10)).setFullYear(1970,0,1):angular.isString(t)&&0===t.length?"minTime"===e?-1/0:1/0:b.parse(t,new Date(1970,0,1,0))},b.daylightSavingAdjust=function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},b.timezoneOffsetAdjust=function(e,t,n){return e?(t&&"UTC"===t&&(e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+(n?-1:1)*e.getTimezoneOffset())),e):null},b.init(),b}}]}]),angular.module("mgcrea.ngStrap.helpers.dateFormatter",[]).service("$dateFormatter",["$locale","dateFilter",function(e,t){function n(e){return/(h+)([:\.])?(m+)([:\.])?(s*)[ ]?(a?)/i.exec(e).slice(1)}this.getDefaultLocale=function(){return e.id},this.getDatetimeFormat=function(t,n){return e.DATETIME_FORMATS[t]||t},this.weekdaysShort=function(t){return e.DATETIME_FORMATS.SHORTDAY},this.hoursFormat=function(e){return n(e)[0]},this.minutesFormat=function(e){return n(e)[2]},this.secondsFormat=function(e){return n(e)[4]},this.timeSeparator=function(e){return n(e)[1]},this.showSeconds=function(e){return!!n(e)[4]},this.showAM=function(e){return!!n(e)[5]},this.formatDate=function(e,n,r,i){return t(e,n,i)}}]),angular.module("mgcrea.ngStrap.core",[]).service("$bsCompiler",i),angular.module("mgcrea.ngStrap.dropdown",["mgcrea.ngStrap.tooltip"]).provider("$dropdown",function(){var e=this.defaults={animation:"am-fade",prefixClass:"dropdown",prefixEvent:"dropdown",placement:"bottom-left",templateUrl:"dropdown/dropdown.tpl.html",trigger:"click",container:!1,keyboard:!0,html:!1,delay:0};this.$get=["$window","$rootScope","$tooltip","$timeout",function(t,n,r,i){function o(t,o){function l(e){if(e.target!==t[0])return e.target!==t[0]&&c.hide()}var c={},u=angular.extend({},e,o);c.$scope=u.scope&&u.scope.$new()||n.$new(),c=r(t,u);var d=t.parent();c.$onKeyDown=function(e){if(/(38|40)/.test(e.keyCode)){e.preventDefault(),e.stopPropagation();var t=angular.element(c.$element[0].querySelectorAll("li:not(.divider) a"));if(t.length){var n;angular.forEach(t,function(e,t){s&&s.call(e,":focus")&&(n=t)}),38===e.keyCode&&n>0?n--:40===e.keyCode&&n<t.length-1?n++:angular.isUndefined(n)&&(n=0),t.eq(n)[0].focus()}}};var f=c.show;c.show=function(){f(),i(function(){u.keyboard&&c.$element&&c.$element.on("keydown",c.$onKeyDown),a.on("click",l)},0,!1),d.hasClass("dropdown")&&d.addClass("open")};var p=c.hide;c.hide=function(){c.$isShown&&(u.keyboard&&c.$element&&c.$element.off("keydown",c.$onKeyDown),a.off("click",l),d.hasClass("dropdown")&&d.removeClass("open"),p())};var h=c.destroy;return c.destroy=function(){a.off("click",l),h()},c}var a=angular.element(t.document.body),s=Element.prototype.matchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector;return o}]}).directive("bsDropdown",["$window","$sce","$dropdown",function(e,t,r){return{restrict:"EAC",scope:!0,compile:function(e,t){if(!t.bsDropdown){for(var i=e[0].nextSibling;i&&1!==i.nodeType;)i=i.nextSibling;i&&i.className.split(" ").indexOf("dropdown-menu")>=0&&(t.template=i.outerHTML,t.templateUrl=n,i.parentNode.removeChild(i))}return function(e,n,i){var o={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","keyboard","html","animation","id","autoClose"],function(e){angular.isDefined(t[e])&&(o[e]=t[e])});var a=/^(false|0|)$/i;angular.forEach(["html","container"],function(e){angular.isDefined(i[e])&&a.test(i[e])&&(o[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(i[n])&&(o[t]=e.$eval(i[n]))}),i.bsDropdown&&e.$watch(i.bsDropdown,function(t,n){e.content=t},!0);var s=r(n,o);i.bsShow&&e.$watch(i.bsShow,function(e,t){s&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(dropdown),?/i)),!0===e?s.show():s.hide())}),e.$on("$destroy",function(){s&&s.destroy(),o=null,s=null})}}}}]),angular.module("mgcrea.ngStrap.button",[]).provider("$button",function(){var e=this.defaults={activeClass:"active",toggleEvent:"click"};this.$get=function(){return{defaults:e}}}).directive("bsCheckboxGroup",function(){return{restrict:"A",require:"ngModel",compile:function(e,t){e.attr("data-toggle","buttons"),e.removeAttr("ng-model");var n=e[0].querySelectorAll('input[type="checkbox"]');angular.forEach(n,function(e){var n=angular.element(e);n.attr("bs-checkbox",""),n.attr("ng-model",t.ngModel+"."+n.attr("value"))})}}}).directive("bsCheckbox",["$button","$$rAF",function(e,t){var n=e.defaults,r=/^(true|false|\d+)$/;return{restrict:"A",require:"ngModel",link:function(e,i,o,a){var s=n,l="INPUT"===i[0].nodeName,c=l?i.parent():i,u=!angular.isDefined(o.trueValue)||o.trueValue;r.test(o.trueValue)&&(u=e.$eval(o.trueValue));var d=!!angular.isDefined(o.falseValue)&&o.falseValue;r.test(o.falseValue)&&(d=e.$eval(o.falseValue)),("boolean"!=typeof u||"boolean"!=typeof d)&&(a.$parsers.push(function(e){return e?u:d}),a.$formatters.push(function(e){return angular.equals(e,u)})),a.$render=function(){var e=!!a.$viewValue;t(function(){l&&(i[0].checked=e),c.toggleClass(s.activeClass,e)})},i.bind(s.toggleEvent,function(){e.$apply(function(){l||a.$setViewValue(!c.hasClass("active")),a.$render()})})}}}]).directive("bsRadioGroup",function(){return{restrict:"A",require:"ngModel",compile:function(e,t){e.attr("data-toggle","buttons"),e.removeAttr("ng-model");var n=e[0].querySelectorAll('input[type="radio"]');angular.forEach(n,function(e){angular.element(e).attr("bs-radio",""),angular.element(e).attr("ng-model",t.ngModel)})}}}).directive("bsRadio",["$button","$$rAF",function(e,t){var n=e.defaults,r=/^(true|false|\d+)$/;return{restrict:"A",require:"ngModel",link:function(e,i,o,a){var s,l=n,c="INPUT"===i[0].nodeName,u=c?i.parent():i;o.$observe("value",function(t){s="boolean"!=typeof t&&r.test(t)?e.$eval(t):t,a.$render()}),a.$render=function(){var e=angular.equals(a.$viewValue,s);t(function(){c&&(i[0].checked=e),u.toggleClass(l.activeClass,e)})},i.bind(l.toggleEvent,function(){e.$apply(function(){a.$setViewValue(s),a.$render()})})}}}]),angular.module("mgcrea.ngStrap.datepicker",["mgcrea.ngStrap.helpers.dateParser","mgcrea.ngStrap.helpers.dateFormatter","mgcrea.ngStrap.tooltip"]).provider("$datepicker",function(){var e=this.defaults={animation:"am-fade",prefixClass:"datepicker",placement:"bottom-left",templateUrl:"datepicker/datepicker.tpl.html",trigger:"focus",container:!1,keyboard:!0,html:!1,delay:0,useNative:!1,dateType:"date",dateFormat:"shortDate",timezone:null,modelDateFormat:null,dayFormat:"dd",monthFormat:"MMM",yearFormat:"yyyy",monthTitleFormat:"MMMM yyyy",yearTitleFormat:"yyyy",strictFormat:!1,autoclose:!1,minDate:-1/0,maxDate:1/0,startView:0,minView:0,startWeek:0,daysOfWeekDisabled:"",hasToday:!1,hasClear:!1,iconLeft:"glyphicon glyphicon-chevron-left",iconRight:"glyphicon glyphicon-chevron-right"};this.$get=["$window","$document","$rootScope","$sce","$dateFormatter","datepickerViews","$tooltip","$timeout",function(t,n,r,i,o,a,s,l){function c(t,n,r){function i(e){e.selected=c.$isSelected(e.date)}function o(){t[0].focus()}var c=s(t,angular.extend({},e,r)),f=r.scope,p=c.$options,h=c.$scope;p.startView&&(p.startView-=p.minView);var v=a(c);c.$views=v.views;var m=v.viewDate;h.$mode=p.startView,h.$iconLeft=p.iconLeft,h.$iconRight=p.iconRight,h.$hasToday=p.hasToday,h.$hasClear=p.hasClear;var g=c.$views[h.$mode];h.$select=function(e,t){t||c.select(e)},h.$selectPane=function(e){c.$selectPane(e)},h.$toggleMode=function(){c.setMode((h.$mode+1)%c.$views.length)},h.$setToday=function(){p.autoclose?(c.setMode(0),c.select(new Date)):c.select(new Date,!0)},h.$clear=function(){p.autoclose?(c.setMode(0),c.select(null)):c.select(null,!0)},c.update=function(e){angular.isDate(e)&&!isNaN(e.getTime())&&(c.$date=e,g.update.call(g,e)),c.$build(!0)},c.updateDisabledDates=function(e){p.disabledDateRanges=e;for(var t=0,n=h.rows.length;t<n;t++)angular.forEach(h.rows[t],c.$setDisabledEl)},c.select=function(e,t){angular.isDate(e)?angular.isDate(n.$dateValue)&&!isNaN(n.$dateValue.getTime())||(n.$dateValue=new Date(e)):n.$dateValue=null,!h.$mode||t?(n.$setViewValue(angular.copy(e)),n.$render(),p.autoclose&&!t&&l(function(){c.hide(!0)})):(angular.extend(m,{year:e.getFullYear(),month:e.getMonth(),date:e.getDate()}),c.setMode(h.$mode-1),c.$build())},c.setMode=function(e){h.$mode=e,g=c.$views[h.$mode],c.$build()},c.$build=function(e){!0===e&&g.built||(!1!==e||g.built)&&g.build.call(g)},c.$updateSelected=function(){for(var e=0,t=h.rows.length;e<t;e++)angular.forEach(h.rows[e],i)},c.$isSelected=function(e){return g.isSelected(e)},c.$setDisabledEl=function(e){e.disabled=g.isDisabled(e.date)},c.$selectPane=function(e){var t=g.steps,n=new Date(Date.UTC(m.year+(t.year||0)*e,m.month+(t.month||0)*e,1));angular.extend(m,{year:n.getUTCFullYear(),month:n.getUTCMonth(),date:n.getUTCDate()}),c.$build()},c.$onMouseDown=function(e){if(e.preventDefault(),e.stopPropagation(),d){var t=angular.element(e.target);"button"!==t[0].nodeName.toLowerCase()&&(t=t.parent()),t.triggerHandler("click")}},c.$onKeyDown=function(e){if(/(38|37|39|40|13)/.test(e.keyCode)&&!e.shiftKey&&!e.altKey){if(e.preventDefault(),e.stopPropagation(),13===e.keyCode)return void(h.$mode?h.$apply(function(){c.setMode(h.$mode-1)}):c.hide(!0));g.onKeyDown(e),f.$digest()}};var y=c.init;c.init=function(){if(u&&p.useNative)return t.prop("type","date"),void t.css("-webkit-appearance","textfield");d&&(t.prop("type","text"),t.attr("readonly","true"),t.on("click",o)),y()};var $=c.destroy;c.destroy=function(){u&&p.useNative&&t.off("click",o),$()};var b=c.show;c.show=function(){!d&&t.attr("readonly")||t.attr("disabled")||(b(),l(function(){c.$isShown&&(c.$element.on(d?"touchstart":"mousedown",c.$onMouseDown),p.keyboard&&t.on("keydown",c.$onKeyDown))},0,!1))};var w=c.hide;return c.hide=function(e){c.$isShown&&(c.$element.off(d?"touchstart":"mousedown",c.$onMouseDown),p.keyboard&&t.off("keydown",c.$onKeyDown),w(e))},c}var u=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),d="createTouch"in t.document&&u;return e.lang||(e.lang=o.getDefaultLocale()),c.defaults=e,c}]}).directive("bsDatepicker",["$window","$parse","$q","$dateFormatter","$dateParser","$datepicker",function(e,t,n,r,i,o){var a=/(ip[ao]d|iphone|android)/gi.test(e.navigator.userAgent);return{restrict:"EAC",require:"ngModel",link:function(e,t,n,s){function l(e){return e&&e.length?e:null}function c(e){if(angular.isDate(e)){var t=isNaN(p.$options.minDate)||e.getTime()>=p.$options.minDate,n=isNaN(p.$options.maxDate)||e.getTime()<=p.$options.maxDate,r=t&&n;s.$setValidity("date",r),s.$setValidity("min",t),s.$setValidity("max",n),r&&(s.$dateValue=e)}}function u(){return!s.$dateValue||isNaN(s.$dateValue.getTime())?"":v(s.$dateValue,d.dateFormat)}var d={scope:e};angular.forEach(["template","templateUrl","controller","controllerAs","placement","container","delay","trigger","html","animation","autoclose","dateType","dateFormat","timezone","modelDateFormat","dayFormat","strictFormat","startWeek","startDate","useNative","lang","startView","minView","iconLeft","iconRight","daysOfWeekDisabled","id","prefixClass","prefixEvent","hasToday","hasClear"],function(e){angular.isDefined(n[e])&&(d[e]=n[e])});var f=/^(false|0|)$/i;angular.forEach(["html","container","autoclose","useNative","hasToday","hasClear"],function(e){angular.isDefined(n[e])&&f.test(n[e])&&(d[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var r="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(n[r])&&(d[t]=e.$eval(n[r]))});var p=o(t,s,d);d=p.$options,a&&d.useNative&&(d.dateFormat="yyyy-MM-dd");var h=d.lang,v=function(e,t){return r.formatDate(e,t,h)},m=i({format:d.dateFormat,lang:h,strict:d.strictFormat});n.bsShow&&e.$watch(n.bsShow,function(e,t){p&&angular.isDefined(e)&&(angular.isString(e)&&(e=!!e.match(/true|,?(datepicker),?/i)),!0===e?p.show():p.hide())}),angular.forEach(["minDate","maxDate"],function(e){angular.isDefined(n[e])&&n.$observe(e,function(t){p.$options[e]=m.getDateForAttribute(e,t),isNaN(p.$options[e])||p.$build(!1),c(s.$dateValue)})}),angular.isDefined(n.dateFormat)&&n.$observe("dateFormat",function(e){p.$options.dateFormat=e}),e.$watch(n.ngModel,function(e,t){p.update(s.$dateValue)},!0),angular.isDefined(n.disabledDates)&&e.$watch(n.disabledDates,function(e,t){e=l(e),t=l(t),e&&p.updateDisabledDates(e)}),s.$parsers.unshift(function(e){var t;if(!e)return s.$setValidity("date",!0),null;var n=m.parse(e,s.$dateValue);return!n||isNaN(n.getTime())?void s.$setValidity("date",!1):(c(n),"string"===d.dateType?(t=m.timezoneOffsetAdjust(n,d.timezone,!0),v(t,d.modelDateFormat||d.dateFormat)):(t=m.timezoneOffsetAdjust(s.$dateValue,d.timezone,!0),"number"===d.dateType?t.getTime():"unix"===d.dateType?t.getTime()/1e3:"iso"===d.dateType?t.toISOString():new Date(t)))}),s.$formatters.push(function(e){var t;return t=angular.isUndefined(e)||null===e?NaN:angular.isDate(e)?e:"string"===d.dateType?m.parse(e,null,d.modelDateFormat):"unix"===d.dateType?new Date(1e3*e):new Date(e),s.$dateValue=m.timezoneOffsetAdjust(t,d.timezone),u()}),s.$render=function(){t.val(u())},e.$on("$destroy",function(){p&&p.destroy(),d=null,p=null})}}}]).provider("datepickerViews",function(){function e(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n}function t(e,t){return(e%t+t)%t}this.$get=["$dateFormatter","$dateParser","$sce",function(n,r,i){return function(o){var a=o.$scope,s=o.$options,l=s.lang,c=function(e,t){return n.formatDate(e,t,l)},u=r({format:s.dateFormat,lang:l,strict:s.strictFormat}),d=n.weekdaysShort(l),f=d.slice(s.startWeek).concat(d.slice(0,s.startWeek)),p=i.trustAsHtml('<th class="dow text-center">'+f.join('</th><th class="dow text-center">')+"</th>"),h=o.$date||(s.startDate?u.getDateForAttribute("startDate",s.startDate):new Date),v={year:h.getFullYear(),month:h.getMonth(),date:h.getDate()},m=[{format:s.dayFormat,split:7,steps:{month:1},update:function(e,t){!this.built||t||e.getFullYear()!==v.year||e.getMonth()!==v.month?(angular.extend(v,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$build()):e.getDate()===v.date&&1!==e.getDate()||(v.date=o.$date.getDate(),o.$updateSelected())},build:function(){var n=new Date(v.year,v.month,1),r=n.getTimezoneOffset(),i=new Date(+n-864e5*t(n.getDay()-s.startWeek,7)),l=i.getTimezoneOffset(),d=u.timezoneOffsetAdjust(new Date,s.timezone).toDateString();l!==r&&(i=new Date(+i+6e4*(l-r)));for(var f,h=[],m=0;m<42;m++)f=u.daylightSavingAdjust(new Date(i.getFullYear(),i.getMonth(),i.getDate()+m)),h.push({date:f,isToday:f.toDateString()===d,label:c(f,this.format),selected:o.$date&&this.isSelected(f),muted:f.getMonth()!==v.month,disabled:this.isDisabled(f)});a.title=c(n,s.monthTitleFormat),a.showLabels=!0,a.labels=p,a.rows=e(h,this.split),a.isTodayDisabled=this.isDisabled(new Date),this.built=!0},isSelected:function(e){return o.$date&&e.getFullYear()===o.$date.getFullYear()&&e.getMonth()===o.$date.getMonth()&&e.getDate()===o.$date.getDate()},isDisabled:function(e){var t=e.getTime();if(t<s.minDate||t>s.maxDate)return!0;if(-1!==s.daysOfWeekDisabled.indexOf(e.getDay()))return!0;if(s.disabledDateRanges)for(var n=0;n<s.disabledDateRanges.length;n++)if(t>=s.disabledDateRanges[n].start&&t<=s.disabledDateRanges[n].end)return!0;return!1},onKeyDown:function(e){if(o.$date){var t,n=o.$date.getTime();37===e.keyCode?t=new Date(n-864e5):38===e.keyCode?t=new Date(n-6048e5):39===e.keyCode?t=new Date(n+864e5):40===e.keyCode&&(t=new Date(n+6048e5)),this.isDisabled(t)||o.select(t,!0)}}},{name:"month",format:s.monthFormat,split:4,steps:{year:1},update:function(e,t){this.built&&e.getFullYear()===v.year?e.getMonth()!==v.month&&(angular.extend(v,{month:o.$date.getMonth(),date:o.$date.getDate()}),o.$updateSelected()):(angular.extend(v,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$build())},build:function(){for(var t,n=[],r=0;r<12;r++)t=new Date(v.year,r,1),n.push({date:t,label:c(t,this.format),selected:o.$isSelected(t),disabled:this.isDisabled(t)});a.title=c(t,s.yearTitleFormat),a.showLabels=!1,a.rows=e(n,this.split),this.built=!0},isSelected:function(e){return o.$date&&e.getFullYear()===o.$date.getFullYear()&&e.getMonth()===o.$date.getMonth()},isDisabled:function(e){return+new Date(e.getFullYear(),e.getMonth()+1,0)<s.minDate||e.getTime()>s.maxDate},onKeyDown:function(e){if(o.$date){var t=o.$date.getMonth(),n=new Date(o.$date);37===e.keyCode?n.setMonth(t-1):38===e.keyCode?n.setMonth(t-4):39===e.keyCode?n.setMonth(t+1):40===e.keyCode&&n.setMonth(t+4),this.isDisabled(n)||o.select(n,!0)}}},{name:"year",format:s.yearFormat,split:4,steps:{year:12},update:function(e,t){!this.built||t||parseInt(e.getFullYear()/20,10)!==parseInt(v.year/20,10)?(angular.extend(v,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$build()):e.getFullYear()!==v.year&&(angular.extend(v,{year:o.$date.getFullYear(),month:o.$date.getMonth(),date:o.$date.getDate()}),o.$updateSelected())},build:function(){for(var t,n=v.year-v.year%(3*this.split),r=[],i=0;i<12;i++)t=new Date(n+i,0,1),r.push({date:t,label:c(t,this.format),selected:o.$isSelected(t),disabled:this.isDisabled(t)});a.title=r[0].label+"-"+r[r.length-1].label,a.showLabels=!1,a.rows=e(r,this.split),this.built=!0},isSelected:function(e){return o.$date&&e.getFullYear()===o.$date.getFullYear()},isDisabled:function(e){return+new Date(e.getFullYear()+1,0,0)<s.minDate||e.getTime()>s.maxDate},onKeyDown:function(e){if(o.$date){var t=o.$date.getFullYear(),n=new Date(o.$date);37===e.keyCode?n.setYear(t-1):38===e.keyCode?n.setYear(t-4):39===e.keyCode?n.setYear(t+1):40===e.keyCode&&n.setYear(t+4),this.isDisabled(n)||o.select(n,!0)}}}];return{views:s.minView?Array.prototype.slice.call(m,s.minView):m,viewDate:v}}}]}),angular.module("mgcrea.ngStrap.collapse",[]).provider("$collapse",function(){var e=this.defaults={animation:"am-collapse",disallowToggle:!1,activeClass:"in",startCollapsed:!1,allowMultiple:!1},t=this.controller=function(t,n,r){function i(e){for(var t=l.$targets.$active,n=0;n<t.length;n++)e<t[n]&&(t[n]=t[n]-1),t[n]===l.$targets.length&&(t[n]=l.$targets.length-1)}function o(e){return-1!==l.$targets.$active.indexOf(e)}function a(e){var t=l.$targets.$active.indexOf(e);-1!==t&&l.$targets.$active.splice(t,1)}function s(e){l.$options.allowMultiple||l.$targets.$active.splice(0,1),-1===l.$targets.$active.indexOf(e)&&l.$targets.$active.push(e)}var l=this;l.$options=angular.copy(e),angular.forEach(["animation","disallowToggle","activeClass","startCollapsed","allowMultiple"],function(e){angular.isDefined(r[e])&&(l.$options[e]=r[e])});var c=/^(false|0|)$/i;angular.forEach(["disallowToggle","startCollapsed","allowMultiple"],function(e){angular.isDefined(r[e])&&c.test(r[e])&&(l.$options[e]=!1)}),l.$toggles=[],l.$targets=[],l.$viewChangeListeners=[],l.$registerToggle=function(e){l.$toggles.push(e)},l.$registerTarget=function(e){l.$targets.push(e)},l.$unregisterToggle=function(e){var t=l.$toggles.indexOf(e);l.$toggles.splice(t,1)},l.$unregisterTarget=function(e){var t=l.$targets.indexOf(e);l.$targets.splice(t,1),l.$options.allowMultiple&&a(e),i(t),l.$viewChangeListeners.forEach(function(e){e()})},l.$targets.$active=l.$options.startCollapsed?[]:[0],l.$setActive=t.$setActive=function(e){angular.isArray(e)?l.$targets.$active=e:!l.$options.disallowToggle&&o(e)?a(e):s(e),l.$viewChangeListeners.forEach(function(e){e()})},l.$activeIndexes=function(){return l.$options.allowMultiple?l.$targets.$active:1===l.$targets.$active.length?l.$targets.$active[0]:-1}};this.$get=function(){var n={};return n.defaults=e,n.controller=t,n}}).directive("bsCollapse",["$window","$animate","$collapse",function(e,t,n){return{require:["?ngModel","bsCollapse"],controller:["$scope","$element","$attrs",n.controller],link:function(e,t,n,r){var i=r[0],o=r[1];i&&(o.$viewChangeListeners.push(function(){i.$setViewValue(o.$activeIndexes())}),i.$formatters.push(function(e){if(angular.isArray(e))o.$setActive(e);else{var t=o.$activeIndexes();angular.isArray(t)?-1===t.indexOf(1*e)&&o.$setActive(1*e):t!==1*e&&o.$setActive(1*e)}return e}))}}}]).directive("bsCollapseToggle",function(){return{require:["^?ngModel","^bsCollapse"],link:function(e,t,n,r){var i=r[1];t.attr("data-toggle","collapse"),i.$registerToggle(t),e.$on("$destroy",function(){i.$unregisterToggle(t)}),t.on("click",function(){if(!n.disabled){var r=n.bsCollapseToggle&&"bs-collapse-toggle"!==n.bsCollapseToggle?n.bsCollapseToggle:i.$toggles.indexOf(t);i.$setActive(1*r),e.$apply()}})}}}).directive("bsCollapseTarget",["$animate",function(e){return{require:["^?ngModel","^bsCollapse"],link:function(t,n,r,i){function o(){var t=a.$targets.indexOf(n),r=a.$activeIndexes(),i="removeClass";angular.isArray(r)?-1!==r.indexOf(t)&&(i="addClass"):t===r&&(i="addClass"),e[i](n,a.$options.activeClass)}var a=i[1];n.addClass("collapse"),a.$options.animation&&n.addClass(a.$options.animation),a.$registerTarget(n),t.$on("$destroy",function(){a.$unregisterTarget(n)}),a.$viewChangeListeners.push(function(){o()}),o()}}}]),angular.module("mgcrea.ngStrap.aside",["mgcrea.ngStrap.modal"]).provider("$aside",function(){var e=this.defaults={animation:"am-fade-and-slide-right",prefixClass:"aside",prefixEvent:"aside",placement:"right",templateUrl:"aside/aside.tpl.html",contentTemplate:!1,container:!1,element:null,backdrop:!0,keyboard:!0,html:!1,show:!0};this.$get=["$modal",function(t){function n(n){var r=angular.extend({},e,n);return t(r)}return n}]}).directive("bsAside",["$window","$sce","$aside",function(e,t,n){return{restrict:"EAC",scope:!0,link:function(e,r,i,o){var a={scope:e,element:r,show:!1};angular.forEach(["template","templateUrl","controller","controllerAs","contentTemplate","placement","backdrop","keyboard","html","container","animation"],function(e){angular.isDefined(i[e])&&(a[e]=i[e])});var s=/^(false|0|)$/i;angular.forEach(["backdrop","keyboard","html","container"],function(e){angular.isDefined(i[e])&&s.test(i[e])&&(a[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(i[n])&&(a[t]=e.$eval(i[n]))}),angular.forEach(["title","content"],function(n){i[n]&&i.$observe(n,function(r,i){e[n]=t.trustAsHtml(r)})}),i.bsAside&&e.$watch(i.bsAside,function(t,n){angular.isObject(t)?angular.extend(e,t):e.content=t},!0);var l=n(a);r.on(i.trigger||"click",l.toggle),e.$on("$destroy",function(){l&&l.destroy(),a=null,l=null})}}}]),angular.module("mgcrea.ngStrap.alert",["mgcrea.ngStrap.modal"]).provider("$alert",function(){var e=this.defaults={animation:"am-fade",prefixClass:"alert",prefixEvent:"alert",placement:null,templateUrl:"alert/alert.tpl.html",container:!1,element:null,backdrop:!1,keyboard:!0,show:!0,duration:!1,type:!1,dismissable:!0};this.$get=["$modal","$timeout",function(t,n){function r(r){var i={},o=angular.extend({},e,r);i=t(o),i.$scope.dismissable=!!o.dismissable,o.type&&(i.$scope.type=o.type);var a=i.show;return o.duration&&(i.show=function(){a(),n(function(){i.hide()},1e3*o.duration)}),i}return r}]}).directive("bsAlert",["$window","$sce","$alert",function(e,t,n){return{restrict:"EAC",scope:!0,link:function(e,r,i,o){var a={scope:e,element:r,show:!1};angular.forEach(["template","templateUrl","controller","controllerAs","placement","keyboard","html","container","animation","duration","dismissable"],function(e){angular.isDefined(i[e])&&(a[e]=i[e])});var s=/^(false|0|)$/i;angular.forEach(["keyboard","html","container","dismissable"],function(e){angular.isDefined(i[e])&&s.test(i[e])&&(a[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(i[n])&&(a[t]=e.$eval(i[n]))}),e.hasOwnProperty("title")||(e.title=""),angular.forEach(["title","content","type"],function(n){i[n]&&i.$observe(n,function(r,i){e[n]=t.trustAsHtml(r)})}),i.bsAlert&&e.$watch(i.bsAlert,function(t,n){angular.isObject(t)?angular.extend(e,t):e.content=t},!0);var l=n(a);r.on(i.trigger||"click",l.toggle),e.$on("$destroy",function(){l&&l.destroy(),a=null,l=null})}}}]),angular.module("mgcrea.ngStrap.affix",["mgcrea.ngStrap.helpers.dimensions","mgcrea.ngStrap.helpers.debounce"]).provider("$affix",function(){var e=this.defaults={offsetTop:"auto",inlineStyles:!0,setWidth:!0};this.$get=["$window","debounce","dimensions",function(t,n,r){function i(i,s){function l(e,t,n){var r=c(),i=u();return r<=g?"top":null!==e?r+e<=t.top?"middle":"bottom":null!==y&&t.top+n+v>=i-y?"bottom":"middle"}function c(){return p[0]===t?t.pageYOffset:p[0].scrollTop}function u(){return p[0]===t?t.document.body.scrollHeight:p[0].scrollHeight}var d={},f=angular.extend({},e,s),p=f.target,h=!1,v=0,m=0,g=0,y=0,$=null,b=null,w=i.parent();if(f.offsetParent)if(f.offsetParent.match(/^\d+$/))for(var x=0;x<1*f.offsetParent-1;x++)w=w.parent();else w=angular.element(f.offsetParent);return d.init=function(){this.$parseOffsets(),m=r.offset(i[0]).top+v,h=f.setWidth&&!i[0].style.width,p.on("scroll",this.checkPosition),p.on("click",this.checkPositionWithEventLoop),a.on("resize",this.$debouncedOnResize),this.checkPosition(),this.checkPositionWithEventLoop()},d.destroy=function(){p.off("scroll",this.checkPosition),p.off("click",this.checkPositionWithEventLoop),a.off("resize",this.$debouncedOnResize)},d.checkPositionWithEventLoop=function(){setTimeout(d.checkPosition,1)},d.checkPosition=function(){var e=c(),t=r.offset(i[0]),n=r.height(i[0]),a=l(b,t,n);$!==a&&($=a,"top"===a?(b=null,h&&i.css("width",""),f.inlineStyles&&(i.css("position",f.offsetParent?"":"relative"),i.css("top",""))):"bottom"===a?(b=f.offsetUnpin?-1*f.offsetUnpin:t.top-e,h&&i.css("width",""),f.inlineStyles&&(i.css("position",f.offsetParent?"":"relative"),i.css("top",f.offsetParent?"":o[0].offsetHeight-y-n-m+"px"))):(b=null,h&&i.css("width",i[0].offsetWidth+"px"),f.inlineStyles&&(i.css("position","fixed"),i.css("top",v+"px"))),i.removeClass("affix affix-top affix-bottom").addClass("affix"+("middle"!==a?"-"+a:"")))},d.$onResize=function(){d.$parseOffsets(),d.checkPosition()},d.$debouncedOnResize=n(d.$onResize,50),d.$parseOffsets=function(){var e=i[0].style.position,t=i[0].style.top;f.inlineStyles&&(i.css("position",f.offsetParent?"":"relative"),i.css("top","")),f.offsetTop&&("auto"===f.offsetTop&&(f.offsetTop="+0"),f.offsetTop.match(/^[-+]\d+$/)?(v=1*-f.offsetTop,g=f.offsetParent?r.offset(w[0]).top+1*f.offsetTop:r.offset(i[0]).top-r.css(i[0],"marginTop",!0)+1*f.offsetTop):g=1*f.offsetTop),f.offsetBottom&&(y=f.offsetParent&&f.offsetBottom.match(/^[-+]\d+$/)?u()-(r.offset(w[0]).top+r.height(w[0]))+1*f.offsetBottom+1:1*f.offsetBottom),f.inlineStyles&&(i.css("position",e),i.css("top",t))},d.init(),d}var o=angular.element(t.document.body),a=angular.element(t);return i}]}).directive("bsAffix",["$affix","$window","$timeout",function(e,t,n){return{restrict:"EAC",require:"^?bsAffixTarget",link:function(r,i,o,a){var s={scope:r,target:a?a.$element:angular.element(t)};angular.forEach(["offsetTop","offsetBottom","offsetParent","offsetUnpin","inlineStyles","setWidth"],function(e){if(angular.isDefined(o[e])){var t=o[e];/true/i.test(t)&&(t=!0),/false/i.test(t)&&(t=!1),s[e]=t}});var l;n(function(){l=e(i,s)}),r.$on("$destroy",function(){l&&l.destroy(),s=null,l=null})}}}]).directive("bsAffixTarget",function(){return{controller:["$element",function(e){this.$element=e}]}}),angular.module("mgcrea.ngStrap",["mgcrea.ngStrap.modal","mgcrea.ngStrap.aside","mgcrea.ngStrap.alert","mgcrea.ngStrap.button","mgcrea.ngStrap.select","mgcrea.ngStrap.datepicker","mgcrea.ngStrap.timepicker","mgcrea.ngStrap.navbar","mgcrea.ngStrap.tooltip","mgcrea.ngStrap.popover","mgcrea.ngStrap.dropdown","mgcrea.ngStrap.typeahead","mgcrea.ngStrap.scrollspy","mgcrea.ngStrap.affix","mgcrea.ngStrap.tab","mgcrea.ngStrap.collapse"])}(window,document)},function(e,t,n){"use strict";!function(e,t,n){angular.module("mgcrea.ngStrap.alert").run(["$templateCache",function(e){e.put("alert/alert.tpl.html",'<div class="alert" ng-class="[type ? \'alert-\' + type : null]"><button type="button" class="close" ng-if="dismissable" ng-click="$hide()">&times;</button> <span ng-if="title"><strong ng-bind="title"></strong>&nbsp;<span ng-bind-html="content"></span> </span><span ng-if="!title" ng-bind-html="content"></span></div>')}]),angular.module("mgcrea.ngStrap.aside").run(["$templateCache",function(e){e.put("aside/aside.tpl.html",'<div class="aside" tabindex="-1" role="dialog"><div class="aside-dialog"><div class="aside-content"><div class="aside-header" ng-show="title"><button type="button" class="close" ng-click="$hide()">&times;</button><h4 class="aside-title" ng-bind="title"></h4></div><div class="aside-body" ng-bind="content"></div><div class="aside-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>')}]),angular.module("mgcrea.ngStrap.datepicker").run(["$templateCache",function(e){e.put("datepicker/datepicker.tpl.html",'<div class="dropdown-menu datepicker" ng-class="\'datepicker-mode-\' + $mode" style="max-width: 320px"><table style="table-layout: fixed; height: 100%; width: 100%"><thead><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$selectPane(-1)"><i class="{{$iconLeft}}"></i></button></th><th colspan="{{ rows[0].length - 2 }}"><button tabindex="-1" type="button" class="btn btn-default btn-block text-strong" ng-click="$toggleMode()"><strong style="text-transform: capitalize" ng-bind="title"></strong></button></th><th><button tabindex="-1" type="button" class="btn btn-default pull-right" ng-click="$selectPane(+1)"><i class="{{$iconRight}}"></i></button></th></tr><tr ng-if="showLabels" ng-bind-html="labels"></tr></thead><tbody><tr ng-repeat="(i, row) in rows" height="{{ 100 / rows.length }}%"><td class="text-center" ng-repeat="(j, el) in row"><button tabindex="-1" type="button" class="btn btn-default" style="width: 100%" ng-class="{\'btn-primary\': el.selected, \'btn-info btn-today\': el.isToday && !el.selected}" ng-click="$select(el.date, el.disabled)" ng-disabled="el.disabled"><span ng-class="{\'text-muted\': el.muted}" ng-bind="el.label"></span></button></td></tr></tbody><tfoot><tr><td colspan="{{ rows[0].length }}"><div class="btn-group btn-group-justified" role="group"><div class="btn-group" role="group" ng-if="$hasToday"><button type="button" class="btn btn-default today" ng-click="$setToday()" ng-disabled="isTodayDisabled"><strong style="text-transform: capitalize">Today</strong></button></div><div class="btn-group" role="group" ng-if="$hasClear"><button type="button" class="btn btn-default clear" ng-click="$clear()"><strong style="text-transform: capitalize">Clear</strong></button></div></div></td></tr></tfoot></table></div>')}]),angular.module("mgcrea.ngStrap.dropdown").run(["$templateCache",function(e){e.put("dropdown/dropdown.tpl.html",'<ul tabindex="-1" class="dropdown-menu" role="menu" ng-show="content && content.length"><li role="presentation" ng-class="{divider: item.divider, active: item.active}" ng-repeat="item in content"><a role="menuitem" tabindex="-1" ng-href="{{item.href}}" ng-if="!item.divider && item.href" target="{{item.target || \'\'}}" ng-bind="item.text"></a> <a role="menuitem" tabindex="-1" href="javascript:void(0)" ng-if="!item.divider && item.click" ng-click="$eval(item.click);$hide()" ng-bind="item.text"></a></li></ul>')}]),angular.module("mgcrea.ngStrap.modal").run(["$templateCache",function(e){e.put("modal/modal.tpl.html",'<div class="modal" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-header" ng-show="title"><button type="button" class="close" aria-label="Close" ng-click="$hide()"><span aria-hidden="true">&times;</span></button><h4 class="modal-title" ng-bind="title"></h4></div><div class="modal-body" ng-bind="content"></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>')}]),angular.module("mgcrea.ngStrap.popover").run(["$templateCache",function(e){e.put("popover/popover.tpl.html",'<div class="popover" tabindex="-1"><div class="arrow"></div><h3 class="popover-title" ng-bind="title" ng-show="title"></h3><div class="popover-content" ng-bind="content"></div></div>')}]),angular.module("mgcrea.ngStrap.select").run(["$templateCache",function(e){e.put("select/select.tpl.html",'<ul tabindex="-1" class="select dropdown-menu" ng-show="$isVisible()" role="select"><li ng-if="$showAllNoneButtons"><div class="btn-group" style="margin-bottom: 5px; margin-left: 5px"><button type="button" class="btn btn-default btn-xs" ng-click="$selectAll()">{{$allText}}</button> <button type="button" class="btn btn-default btn-xs" ng-click="$selectNone()">{{$noneText}}</button></div></li><li role="presentation" ng-repeat="match in $matches" ng-class="{active: $isActive($index)}"><a style="cursor: default" role="menuitem" tabindex="-1" ng-click="$select($index, $event)"><i class="{{$iconCheckmark}} pull-right" ng-if="$isMultiple && $isActive($index)"></i> <span ng-bind="match.label"></span></a></li></ul>')}]),angular.module("mgcrea.ngStrap.tab").run(["$templateCache",function(e){e.put("tab/tab.tpl.html",'<ul class="nav" ng-class="$navClass" role="tablist"><li role="presentation" ng-repeat="$pane in $panes track by $index" ng-class="[ $isActive($pane, $index) ? $activeClass : \'\', $pane.disabled ? \'disabled\' : \'\' ]"><a role="tab" data-toggle="tab" ng-click="!$pane.disabled && $setActive($pane.name || $index)" data-index="{{ $index }}" ng-bind-html="$pane.title" aria-controls="$pane.title" href=""></a></li></ul><div ng-transclude class="tab-content"></div>')}]),angular.module("mgcrea.ngStrap.timepicker").run(["$templateCache",function(e){e.put("timepicker/timepicker.tpl.html",'<div class="dropdown-menu timepicker" style="min-width: 0px;width: auto"><table height="100%"><thead><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(-1, 0)"><i class="{{ $iconUp }}"></i></button></th><th>&nbsp;</th><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(-1, 1)"><i class="{{ $iconUp }}"></i></button></th><th ng-if="showSeconds">&nbsp;</th><th ng-if="showSeconds"><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(-1, 2)"><i class="{{ $iconUp }}"></i></button></th></tr></thead><tbody><tr ng-repeat="(i, row) in rows"><td class="text-center"><button tabindex="-1" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[0].selected}" ng-click="$select(row[0].date, 0)" ng-disabled="row[0].disabled"><span ng-class="{\'text-muted\': row[0].muted}" ng-bind="row[0].label"></span></button></td><td><span ng-bind="i == midIndex ? timeSeparator : \' \'"></span></td><td class="text-center"><button tabindex="-1" ng-if="row[1].date" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[1].selected}" ng-click="$select(row[1].date, 1)" ng-disabled="row[1].disabled"><span ng-class="{\'text-muted\': row[1].muted}" ng-bind="row[1].label"></span></button></td><td ng-if="showSeconds"><span ng-bind="i == midIndex ? timeSeparator : \' \'"></span></td><td ng-if="showSeconds" class="text-center"><button tabindex="-1" ng-if="row[2].date" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[2].selected}" ng-click="$select(row[2].date, 2)" ng-disabled="row[2].disabled"><span ng-class="{\'text-muted\': row[2].muted}" ng-bind="row[2].label"></span></button></td><td ng-if="showAM">&nbsp;</td><td ng-if="showAM"><button tabindex="-1" ng-show="i == midIndex - !isAM * 1" style="width: 100%" type="button" ng-class="{\'btn-primary\': !!isAM}" class="btn btn-default" ng-click="$switchMeridian()" ng-disabled="el.disabled">AM</button> <button tabindex="-1" ng-show="i == midIndex + 1 - !isAM * 1" style="width: 100%" type="button" ng-class="{\'btn-primary\': !isAM}" class="btn btn-default" ng-click="$switchMeridian()" ng-disabled="el.disabled">PM</button></td></tr></tbody><tfoot><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(1, 0)"><i class="{{ $iconDown }}"></i></button></th><th>&nbsp;</th><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(1, 1)"><i class="{{ $iconDown }}"></i></button></th><th ng-if="showSeconds">&nbsp;</th><th ng-if="showSeconds"><button ng-if="showSeconds" tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$arrowAction(1, 2)"><i class="{{ $iconDown }}"></i></button></th></tr></tfoot></table></div>')}]),angular.module("mgcrea.ngStrap.tooltip").run(["$templateCache",function(e){e.put("tooltip/tooltip.tpl.html",'<div class="tooltip in" ng-show="title"><div class="tooltip-arrow"></div><div class="tooltip-inner" ng-bind="title"></div></div>')}]),angular.module("mgcrea.ngStrap.typeahead").run(["$templateCache",function(e){e.put("typeahead/typeahead.tpl.html",'<ul tabindex="-1" class="typeahead dropdown-menu" ng-show="$isVisible()" role="select"><li role="presentation" ng-repeat="match in $matches" ng-class="{active: $index == $activeIndex}"><a role="menuitem" tabindex="-1" ng-click="$select($index, $event)" ng-bind="match.label"></a></li></ul>')}])}(window,document)},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var i=n(21);t.core=i,r(n(21)),r(n(117)),r(n(118)),r(n(175)),r(n(176)),n(371),n(372),n(373),n(374),n(375),t.default="ui.router"},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(53)),r(n(152)),r(n(153)),r(n(115))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(114)),r(n(77))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(151)),r(n(61)),r(n(78))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(154)),r(n(111)),r(n(155)),r(n(156)),r(n(157)),r(n(158)),r(n(44))},function(e,t,n){"use strict";function r(e){e.addResolvable({token:o.UIRouter,deps:[],resolveFn:function(){return e.router},data:e.router},""),e.addResolvable({token:i.Transition,deps:[],resolveFn:function(){return e},data:e},""),e.addResolvable({token:"$transition$",deps:[],resolveFn:function(){return e},data:e},""),e.addResolvable({token:"$stateParams",deps:[],resolveFn:function(){return e.params()},data:e.params()},""),e.entering().forEach(function(t){e.addResolvable({token:"$state$",deps:[],resolveFn:function(){return t},data:t},t)})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(76),o=n(159);t.registerAddCoreResolvables=function(e){return e.onCreate({},r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=n(14),o=n(44),a=function(e){function t(t){if(t)return t instanceof o.TargetState?t:r.isString(t)?a.target(t,e.params(),e.options()):t.state||t.params?a.target(t.state||e.to(),t.params||e.params(),e.options()):void 0}var n=e.to().redirectTo;if(n){var a=e.router.stateService;return r.isFunction(n)?i.services.$q.when(n(e)).then(t):t(n)}};t.registerRedirectToHook=function(e){return e.onStart({to:function(e){return!!e.redirectTo}},a)}},function(e,t,n){"use strict";function r(e){return function(t,n){return(0,n.$$state()[e])(t,n)}}Object.defineProperty(t,"__esModule",{value:!0});var i=r("onExit");t.registerOnExitHook=function(e){return e.onExit({exiting:function(e){return!!e.onExit}},i)};var o=r("onRetain");t.registerOnRetainHook=function(e){return e.onRetain({retained:function(e){return!!e.onRetain}},o)};var a=r("onEnter");t.registerOnEnterHook=function(e){return e.onEnter({entering:function(e){return!!e.onEnter}},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(78),o=n(7),a=function(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("EAGER",e).then(r.noop)};t.registerEagerResolvePath=function(e){return e.onStart({},a,{priority:1e3})};var s=function(e,t){return new i.ResolveContext(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(r.noop)};t.registerLazyResolveState=function(e){return e.onEnter({entering:o.val(!0)},s,{priority:1e3})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(14),o=function(e){var t=i.services.$q,n=e.views("entering");if(n.length)return t.all(n.map(function(e){return t.when(e.load())})).then(r.noop)};t.registerLoadEnteringViews=function(e){return e.onFinish({},o)};var a=function(e){var t=e.views("entering"),n=e.views("exiting");if(t.length||n.length){var r=e.router.viewService;n.forEach(function(e){return r.deactivateViewConfig(e)}),t.forEach(function(e){return r.activateViewConfig(e)}),r.sync()}};t.registerActivateViews=function(e){return e.onSuccess({},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(e){var t=e.router.globals,n=function(){t.successfulTransitions.enqueue(e),t.$current=e.$to(),t.current=t.$current.self,r.copy(e.params(),t.params)},i=function(){t.transition===e&&(t.transition=null)};e.onSuccess({},n,{priority:1e4}),e.promise.then(i,i)};t.registerUpdateGlobalState=function(e){return e.onCreate({},i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){var t=e.options(),n=e.router.stateService,r=e.router.urlRouter;if("url"!==t.source&&t.location&&n.$current.navigable){var i={replace:"replace"===t.location};r.push(n.$current.navigable.url,n.params,i)}r.update(!0)};t.registerUpdateUrl=function(e){return e.onSuccess({},r,{priority:9999})}},function(e,t,n){"use strict";function r(e){var t=e._ignoredReason();if(t){i.trace.traceTransitionIgnored(e);var n=e.router.globals.transition;return"SameAsCurrent"===t&&n&&n.abort(),o.Rejection.ignored().toPromise()}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(35),o=n(59);t.registerIgnoredTransitionHook=function(e){return e.onBefore({},r,{priority:-9999})}},function(e,t,n){"use strict";function r(e){if(!e.valid())throw new Error(e.error())}Object.defineProperty(t,"__esModule",{value:!0}),t.registerInvalidTransitionHook=function(e){return e.onBefore({},r,{priority:-1e4})}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(52)),r(n(150)),r(n(113)),r(n(59)),r(n(76)),r(n(60)),r(n(167)),r(n(116))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(79)),r(n(160)),r(n(161)),r(n(162)),r(n(165))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(163))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(365))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(168)),r(n(169)),r(n(80)),r(n(170)),r(n(171)),r(n(172)),r(n(173)),r(n(174)),r(n(62)),r(n(366))},function(e,t,n){"use strict";function r(e){return f.services.$injector=u.$injector,f.services.$q=d.$q,{name:"vanilla.services",$q:d.$q,$injector:u.$injector,dispose:function(){return null}}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(174),o=n(170),a=n(62),s=n(172),l=n(171),c=n(173),u=n(169),d=n(168),f=n(14);t.servicesPlugin=r,t.hashLocationPlugin=a.locationPluginFactory("vanilla.hashBangLocation",!1,o.HashLocationService,i.BrowserLocationConfig),t.pushStateLocationPlugin=a.locationPluginFactory("vanilla.pushStateLocation",!0,s.PushStateLocationService,i.BrowserLocationConfig),t.memoryLocationPlugin=a.locationPluginFactory("vanilla.memoryLocation",!1,l.MemoryLocationService,c.MemoryLocationConfig)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.prototype.dispose=function(e){},e}();t.UIRouterPluginBase=r},function(e,t,n){"use strict";function r(e){var t=o.services.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(s).reduce(o.unnestR,[])}Object.defineProperty(t,"__esModule",{value:!0});var i=n(54),o=n(21),a=function(){function e(){var e=this;this._useHttp=i.ng.version.minor<3,this.$get=["$http","$templateCache","$injector",function(t,n,r){return e.$templateRequest=r.has&&r.has("$templateRequest")&&r.get("$templateRequest"),e.$http=t,e.$templateCache=n,e}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,n){var r=function(e){return o.services.$q.when(e).then(function(e){return{template:e}})},i=function(e){return o.services.$q.when(e).then(function(e){return{component:e}})};return o.isDefined(e.template)?r(this.fromString(e.template,t)):o.isDefined(e.templateUrl)?r(this.fromUrl(e.templateUrl,t)):o.isDefined(e.templateProvider)?r(this.fromProvider(e.templateProvider,t,n)):o.isDefined(e.component)?i(e.component):o.isDefined(e.componentProvider)?i(this.fromComponentProvider(e.componentProvider,t,n)):r("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return o.isFunction(e)?e(t):e},e.prototype.fromUrl=function(e,t){return o.isFunction(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(e){return e.data}):this.$templateRequest(e)},e.prototype.fromProvider=function(e,t,n){var r=o.services.$injector.annotate(e),i=o.isArray(e)?o.tail(e):e;return new o.Resolvable("",i,r).get(n)},e.prototype.fromComponentProvider=function(e,t,n){var r=o.services.$injector.annotate(e),i=o.isArray(e)?o.tail(e):e;return new o.Resolvable("",i,r).get(n)},e.prototype.makeComponentTemplate=function(e,t,n,a){a=a||{};var s=i.ng.version.minor>=3?"::":"",l=function(e){var t=o.kebobString(e);return/^(x|data)-/.exec(t)?"x-"+t:t},c=function(n){var r=n.name,i=n.type,c=l(r);if(e.attr(c)&&!a[r])return c+"='"+e.attr(c)+"'";var u=a[r]||r;if("@"===i)return c+"='{{"+s+"$resolve."+u+"}}'";if("&"===i){var d=t.getResolvable(u),f=d&&d.data,p=f&&o.services.$injector.annotate(f)||[];return c+"='$resolve."+u+(o.isArray(f)?"["+(f.length-1)+"]":"")+"("+p.join(",")+")'"}return c+"='"+s+"$resolve."+u+"'"},u=r(n).map(c).join(" "),d=l(n);return"<"+d+" "+u+"></"+d+">"},e}();t.TemplateFactory=a;var s=function(e){return l(o.isObject(e.bindToController)?e.bindToController:e.scope)},l=function(e){return Object.keys(e||{}).map(function(t){return[t,/^([=<@&])[?]?(.*)/.exec(e[t])]}).filter(function(e){return o.isDefined(e)&&o.isArray(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),i=n(117);t.getStateHookBuilder=function(e){return function(t,n){function o(e,t){var n=new r.ResolveContext(e.treeChanges(s)),o=r.extend(i.getLocals(n),{$state$:t,$transition$:e});return r.services.$injector.invoke(a,this,o)}var a=t[e],s="onExit"===e?"from":"to";return a?o:void 0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),i=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=r.val(e);r.createProxyFunctions(t,this,t,["hashPrefix"])}return e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return r.removeFrom(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=r.isObject(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.url=function(e,t,n){return void 0===t&&(t=!1),e&&this.$location.url(e),t&&this.$location.replace(),n&&this.$location.state(n),this.$location.url()},e.prototype._runtimeServices=function(e,t,n,i){var o=this;this.$location=t,this.$sniffer=n,e.$on("$locationChangeSuccess",function(e){return o._urlListeners.forEach(function(t){return t(e)})});var a=r.val(t),s=r.val(i);r.createProxyFunctions(a,this,a,["replace","path","search","hash"]),r.createProxyFunctions(a,this,a,["port","protocol","host"]),r.createProxyFunctions(s,this,s,["baseHref"])},e.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,function(e){return{"~":"~~","/":"~2F"}[e]}):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,function(e){return{"~~":"~","~2F":"/"}[e]}):e}},e}();t.Ng1LocationServices=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";function r(e){var t,n=e.match(/^\s*({[^}]*})\s*$/);if(n&&(e="("+n[1]+")"),!(t=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1]||null,paramExpr:t[3]||null}}function i(e){var t=e.parent().inheritedData("$uiView"),n=f.parse("$cfg.path")(t);return n?f.tail(n).state.name:void 0}function o(e,t,n){var r=n.uiState||e.current.name,i=f.extend(l(t,e),n.uiStateOpts||{}),o=e.href(r,n.uiStateParams,i);return{uiState:r,uiStateParams:n.uiStateParams,uiStateOpts:i,href:o}}function a(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function s(e,t,n,r,i){return function(o){var a=o.which||o.button,s=i();if(!(a>1||o.ctrlKey||o.metaKey||o.shiftKey||e.attr("target"))){var l=n(function(){t.go(s.uiState,s.uiStateParams,s.uiStateOpts)});o.preventDefault();var c=r.isAnchor&&!s.href?1:0;o.preventDefault=function(){c--<=0&&n.cancel(l)}}}}function l(e,t){return{relative:i(e)||t.$current,inherit:!0,source:"sref"}}function c(e,t,n,r){var i;r&&(i=r.events),f.isArray(i)||(i=["click"]);for(var o=e.on?"on":"bind",a=0,s=i;a<s.length;a++){var l=s[a];e[o](l,n)}t.$on("$destroy",function(){for(var t=e.off?"off":"unbind",r=0,o=i;r<o.length;r++){var a=o[r];e[t](a,n)}})}Object.defineProperty(t,"__esModule",{value:!0});var u,d=n(54),f=n(21);u=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,l,u,d){function p(){var e=$();g&&g(),m&&(g=m.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&u.$set(v.attr,e.href)}var h,v=a(l),m=d[1]||d[0],g=null,y={},$=function(){return o(n,l,y)},b=r(u.uiSref);y.uiState=b.state,y.uiStateOpts=u.uiSrefOpts?i.$eval(u.uiSrefOpts):{},b.paramExpr&&(i.$watch(b.paramExpr,function(e){y.uiStateParams=f.extend({},e),p()},!0),y.uiStateParams=f.extend({},i.$eval(b.paramExpr))),p(),i.$on("$destroy",e.stateRegistry.onStatesChanged(p)),i.$on("$destroy",e.transitionService.onSuccess({},p)),v.clickable&&(h=s(l,n,t,v,$),c(l,i,h,y.uiStateOpts))}}}];var p;p=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,i,l,u){function d(){var e=y();m&&m(),v&&(m=v.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&l.$set(h.attr,e.href)}var p,h=a(i),v=u[1]||u[0],m=null,g={},y=function(){return o(n,i,g)},$=["uiState","uiStateParams","uiStateOpts"],b=$.reduce(function(e,t){return e[t]=f.noop,e},{});$.forEach(function(e){g[e]=l[e]?r.$eval(l[e]):null,l.$observe(e,function(t){b[e](),b[e]=r.$watch(t,function(t){g[e]=t,d()},!0)})}),d(),r.$on("$destroy",e.stateRegistry.onStatesChanged(d)),r.$on("$destroy",e.transitionService.onSuccess({},d)),h.clickable&&(p=s(i,n,t,h,y),c(i,r,p,g.uiStateOpts))}}}];var h;h=["$state","$stateParams","$interpolate","$uiRouter",function(e,t,n,o){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,a,s){function l(e){e.promise.then(u)}function c(t,n,r){var o=e.get(t,i(a)),s={state:o||{name:t},params:n,activeClass:r};return h.push(s),function(){f.removeFrom(h)(s)}}function u(){var n=function(e){return e.split(/\s/).filter(f.identity)},r=function(e){return e.map(function(e){return e.activeClass}).map(n).reduce(f.unnestR,[])},i=r(h).concat(n(d)).reduce(f.uniqR,[]),o=r(h.filter(function(t){return e.includes(t.state.name,t.params)})),s=!!h.filter(function(t){return e.is(t.state.name,t.params)}).length,l=s?n(d):[],c=o.concat(l).reduce(f.uniqR,[]),u=i.filter(function(e){return!f.inArray(c,e)});t.$evalAsync(function(){c.forEach(function(e){return a.addClass(e)}),u.forEach(function(e){return a.removeClass(e)})})}var d,p,h=[];d=n(s.uiSrefActiveEq||"",!1)(t);try{p=t.$eval(s.uiSrefActive)}catch(e){}p=p||n(s.uiSrefActive||"",!1)(t),f.isObject(p)&&f.forEach(p,function(e,n){if(f.isString(e)){var i=r(e);c(i.state,t.$eval(i.paramExpr),n)}}),this.$$addStateInfo=function(e,t){if(!(f.isObject(p)&&h.length>0)){var n=c(e,t,p);return u(),n}},t.$on("$stateChangeSuccess",u),t.$on("$destroy",o.transitionService.onStart({},l)),o.globals.transition&&l(o.globals.transition),u()}]}}],d.ng.module("ui.router.state").directive("uiSref",u).directive("uiSrefActive",h).directive("uiSrefActiveEq",h).directive("uiState",p)},function(e,t,n){"use strict";function r(e){var t=function(t,n,r){return e.is(t,n,r)};return t.$stateful=!0,t}function i(e){var t=function(t,n,r){return e.includes(t,n,r)};return t.$stateful=!0,t}Object.defineProperty(t,"__esModule",{value:!0});var o=n(54);r.$inject=["$state"],t.$IsStateFilter=r,i.$inject=["$state"],t.$IncludedByStateFilter=i,o.ng.module("ui.router.state").filter("isState",r).filter("includedByState",i)},function(e,t,n){"use strict";function r(e,t,n,r,l,u){var d=s.parse("viewDecl.controllerAs"),f=s.parse("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(r){var u=r.html();return r.empty(),function(r,p){var h=p.data("$uiView");if(!h)return p.html(u),void e(p.contents())(r);var v=h.$cfg||{viewDecl:{},getTemplate:a.noop},m=v.path&&new s.ResolveContext(v.path);p.html(v.getTemplate(p,m)||u),s.trace.traceUIViewFill(h.$uiView,p.html());var g=e(p.contents()),y=v.controller,$=d(v),b=f(v),w=m&&c.getLocals(m);if(r[b]=w,y){var x=t(y,s.extend({},w,{$scope:r,$element:p}));$&&(r[$]=x,r[$][b]=w),p.data("$ngControllerController",x),p.children().data("$ngControllerController",x),i(l,n,x,r,v)}if(s.isString(v.viewDecl.component))var S=v.viewDecl.component,E=s.kebobString(S),C=new RegExp("^(x-|data-)?"+E+"$","i"),T=function(){var e=[].slice.call(p[0].children).filter(function(e){return e&&e.tagName&&C.exec(e.tagName)});return e&&o.ng.element(e).data("$"+S+"Controller")},_=r.$watch(T,function(e){e&&(i(l,n,e,r,v),_())});g(r)}}}}function i(e,t,n,r,i){!s.isFunction(n.$onInit)||i.viewDecl.component&&u||n.$onInit();var o=s.tail(i.path).state.self,a={bind:n};if(s.isFunction(n.uiOnParamsChanged)){var l=new s.ResolveContext(i.path),c=l.getResolvable("$transition$").data,f=function(e){if(e!==c&&-1===e.exiting().indexOf(o)){var t=e.params("to"),r=e.params("from"),i=e.treeChanges().to.map(function(e){return e.paramSchema}).reduce(s.unnestR,[]),a=e.treeChanges().from.map(function(e){return e.paramSchema}).reduce(s.unnestR,[]),l=i.filter(function(e){var n=a.indexOf(e);return-1===n||!a[n].type.equals(t[e.id],r[e.id])});if(l.length){var u=l.map(function(e){return e.id}),d=s.filter(t,function(e,t){return-1!==u.indexOf(t)});n.uiOnParamsChanged(d,e)}}};r.$on("$destroy",t.onSuccess({},f,a))}if(s.isFunction(n.uiCanExit)){var p=d++,h=function e(t){return!!t&&(t._uiCanExitIds&&!0===t._uiCanExitIds[p]||e(t.redirectedFrom()))},v=function(t){var r,i=t._uiCanExitIds=t._uiCanExitIds||{};return h(t)||(r=e.when(n.uiCanExit(t)),r.then(function(e){return i[p]=!1!==e})),r},m={exiting:o.name};r.$on("$destroy",t.onBefore(m,v,a))}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(54),a=n(110),s=n(21),l=n(118),c=n(117);t.uiView=["$view","$animate","$uiViewScroll","$interpolate","$q",function(e,t,n,r,i){function a(e,n){return{enter:function(e,n,r){o.ng.version.minor>2?t.enter(e,null,n).then(r):t.enter(e,null,n,r)},leave:function(e,n){o.ng.version.minor>2?t.leave(e).then(n):t.leave(e,n)}}}function c(e,t){return e===t}var u={$cfg:{viewDecl:{$context:e._pluginapi._rootViewContext()}},$uiView:{}},d={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(t,o,f){return function(t,o,p){function h(e){(!e||e instanceof l.Ng1ViewConfig)&&(c(E,e)||(s.trace.traceUIViewConfigUpdated(_,e&&e.viewDecl&&e.viewDecl.$context),E=e,m(e)))}function v(){if(g&&(s.trace.traceUIViewEvent("Removing (previous) el",g.data("$uiView")),g.remove(),g=null),$&&(s.trace.traceUIViewEvent("Destroying scope",_),$.$destroy(),$=null),y){var e=y.data("$uiViewAnim");s.trace.traceUIViewEvent("Animate out",e),S.leave(y,function(){e.$$animLeave.resolve(),g=null}),g=y,y=null}}function m(e){var r=t.$new(),a=i.defer(),l=i.defer(),c={$cfg:e,$uiView:_},u={$animEnter:a.promise,$animLeave:l.promise,$$animLeave:l};r.$emit("$viewContentLoading",T);var d=f(r,function(e){e.data("$uiViewAnim",u),e.data("$uiView",c),S.enter(e,o,function(){a.resolve(),$&&$.$emit("$viewContentAnimationEnded"),(s.isDefined(x)&&!x||t.$eval(x))&&n(e)}),v()});y=d,$=r,$.$emit("$viewContentLoaded",e||E),$.$eval(w)}var g,y,$,b,w=p.onload||"",x=p.autoscroll,S=a(p,t),E=void 0,C=o.inheritedData("$uiView")||u,T=r(p.uiView||p.name||"")(t)||"$default",_={$type:"ng1",id:d.count++,name:T,fqn:C.$uiView.fqn?C.$uiView.fqn+"."+T:T,config:null,configUpdated:h,get creationContext(){var e=s.parse("$cfg.viewDecl.$context")(C),t=s.parse("$uiView.creationContext")(C);return e||t}};s.trace.traceUIViewEvent("Linking",_),o.data("$uiView",{$uiView:_}),m(),b=e.registerUIView(_),t.$on("$destroy",function(){s.trace.traceUIViewEvent("Destroying/Unregistering",_),b()})}}};return d}],r.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var u="function"==typeof o.ng.module("ui.router").component,d=0;o.ng.module("ui.router.state").directive("uiView",t.uiView),o.ng.module("ui.router.state").directive("uiView",r)},function(e,t,n){"use strict";function r(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,n){return e?t:function(e){return n(function(){e[0].scrollIntoView()},0,!1)}}]}Object.defineProperty(t,"__esModule",{value:!0}),n(54).ng.module("ui.router.state").provider("$uiViewScroll",r)},function(e,t,n){"use strict";n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388)},function(e,t,n){"use strict";(function(e){+function(e){function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||e(r).trigger(e.support.transition.end)};return setTimeout(i,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){+function(e){function t(t){return this.each(function(){var n=e(this),i=n.data("bs.alert");i||n.data("bs.alert",i=new r(this)),"string"==typeof t&&i[t].call(n)})}var n='[data-dismiss="alert"]',r=function(t){e(t).on("click",n,this.close)};r.VERSION="3.3.5",r.TRANSITION_DURATION=150,r.prototype.close=function(t){function n(){a.detach().trigger("closed.bs.alert").remove()}var i=e(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var a=e(o);t&&t.preventDefault(),a.length||(a=i.closest(".alert")),a.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(a.removeClass("in"),e.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var i=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=r,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",n,r.prototype.close)}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(n){return this.each(function(){var i=e(this),o=i.data("bs.button"),a="object"==(void 0===n?"undefined":t(n))&&n;o||i.data("bs.button",o=new r(this,a)),"toggle"==n?o.toggle():n&&o.setState(n)})}var r=function t(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.isLoading=!1};r.VERSION="3.3.5",r.DEFAULTS={loadingText:"loading..."},r.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();t+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(e.proxy(function(){r[i](null==o[t]?this.options[t]:o[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},r.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=e.fn.button;e.fn.button=n,e.fn.button.Constructor=r,e.fn.button.noConflict=function(){return e.fn.button=i,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=e(t.target);r.hasClass("btn")||(r=r.closest(".btn")),n.call(r,"toggle"),e(t.target).is('input[type="radio"]')||e(t.target).is('input[type="checkbox"]')||t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(n){return this.each(function(){var i=e(this),o=i.data("bs.carousel"),a=e.extend({},r.DEFAULTS,i.data(),"object"==(void 0===n?"undefined":t(n))&&n),s="string"==typeof n?n:a.slide;o||i.data("bs.carousel",o=new r(this,a)),"number"==typeof n?o.to(n):s?o[s]():a.interval&&o.pause().cycle()})}var r=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};r.VERSION="3.3.5",r.TRANSITION_DURATION=600,r.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},r.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},r.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},r.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},r.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r="prev"==e?-1:1,i=(n+r)%this.$items.length;return this.$items.eq(i)},r.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},r.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},r.prototype.next=function(){if(!this.sliding)return this.slide("next")},r.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},r.prototype.slide=function(t,n){var i=this.$element.find(".item.active"),o=n||this.getItemForDirection(t,i),a=this.interval,s="next"==t?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=e.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=e(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var f=e.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),o[0].offsetWidth,i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",function(){o.removeClass([t,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(f)},0)}).emulateTransitionEnd(r.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(f)),a&&this.cycle(),this}};var i=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=r,e.fn.carousel.noConflict=function(){return e.fn.carousel=i,this};var o=function(t){var r,i=e(this),o=e(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var a=e.extend({},o.data(),i.data()),s=i.attr("data-slide-to");s&&(a.interval=!1),n.call(o,a),s&&o.data("bs.carousel").to(s),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var t=e(this);n.call(t,t.data())})})}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function r(n){return this.each(function(){var r=e(this),o=r.data("bs.collapse"),a=e.extend({},i.DEFAULTS,r.data(),"object"==(void 0===n?"undefined":t(n))&&n);!o&&a.toggle&&/show|hide/.test(n)&&(a.toggle=!1),o||r.data("bs.collapse",o=new i(this,a)),"string"==typeof n&&o[n]()})}var i=function t(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.5",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(t=n.data("bs.collapse"))&&t.transitioning)){var o=e.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){n&&n.length&&(r.call(n,"hide"),t||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return r.call(this);this.$element[n](0).one("bsTransitionEnd",e.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(t,r){var i=e(r);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=e.fn.collapse;e.fn.collapse=r,e.fn.collapse.Constructor=i,e.fn.collapse.noConflict=function(){return e.fn.collapse=o,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var i=e(this);i.attr("data-target")||t.preventDefault();var o=n(i),a=o.data("bs.collapse"),s=a?"toggle":i.data();r.call(o,s)})}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){+function(e){function t(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function n(n){n&&3===n.which||(e(i).remove(),e(o).each(function(){var r=e(this),i=t(r),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(i[0],n.target)||(i.trigger(n=e.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(r.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",o))))}))}function r(t){return this.each(function(){var n=e(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new a(this)),"string"==typeof t&&r[t].call(n)})}var i=".dropdown-backdrop",o='[data-toggle="dropdown"]',a=function(t){e(t).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.5",a.prototype.toggle=function(r){var i=e(this);if(!i.is(".disabled, :disabled")){var o=t(i),a=o.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var s={relatedTarget:this};if(o.trigger(r=e.Event("show.bs.dropdown",s)),r.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},a.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=e(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var i=t(r),a=i.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&i.find(o).trigger("focus"),r.trigger("click");var s=i.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var s=e.fn.dropdown;e.fn.dropdown=r,e.fn.dropdown.Constructor=a,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",o,a.prototype.toggle).on("keydown.bs.dropdown.data-api",o,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(n,i){return this.each(function(){var o=e(this),a=o.data("bs.modal"),s=e.extend({},r.DEFAULTS,o.data(),"object"==(void 0===n?"undefined":t(n))&&n);a||o.data("bs.modal",a=new r(this,s)),"string"==typeof n?a[n](i):s.show&&a.show(i)})}var r=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};r.VERSION="3.3.5",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},r.prototype.show=function(t){var n=this,i=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=e.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),i&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var o=e.Event("shown.bs.modal",{relatedTarget:t});i?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(r.TRANSITION_DURATION):n.$element.trigger("focus").trigger(o)}))},r.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var n=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=e.support.transition&&i;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){if(this.ignoreBackdropClick)return void(this.ignoreBackdropClick=!1);e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;o?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){n.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):a()}else t&&t()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},r.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var i=e.fn.modal;e.fn.modal=n,e.fn.modal.Constructor=r,e.fn.modal.noConflict=function(){return e.fn.modal=i,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=e(this),i=r.attr("href"),o=e(r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),a=o.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},o.data(),r.data());r.is("a")&&t.preventDefault(),o.one("show.bs.modal",function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),n.call(o,a,this)})}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(n){return this.each(function(){var i=e(this),o=i.data("bs.tooltip"),a="object"==(void 0===n?"undefined":t(n))&&n;!o&&/destroy|hide/.test(n)||(o||i.data("bs.tooltip",o=new r(this,a)),"string"==typeof n&&o[n]())})}var r=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};r.VERSION="3.3.5",r.TRANSITION_DURATION=150,r.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},r.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var a=i[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},r.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},r.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},r.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},r.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},r.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,f=o[0].offsetHeight;if(c){var p=s,h=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+f>h.bottom?"top":"top"==s&&u.top-f<h.top?"bottom":"right"==s&&u.right+d>h.width?"left":"left"==s&&u.left-d<h.left?"right":s,o.removeClass(p).addClass(s)}var v=this.getCalculatedOffset(s,u,d,f);this.applyPlacement(v,s);var m=function(){var e=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==e&&i.leave(i)};e.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(r.TRANSITION_DURATION):m()}},r.prototype.applyPlacement=function(t,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,a=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var l=r[0].offsetWidth,c=r[0].offsetHeight;"top"==n&&c!=o&&(t.top=t.top+o-c);var u=this.getViewportAdjustedDelta(n,t,l,c);u.left?t.left+=u.left:t.top+=u.top;var d=/top|bottom/.test(n),f=d?2*u.left-i+l:2*u.top-o+c,p=d?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(f,r[0][p],d)},r.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},r.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},r.prototype.hide=function(t){function n(){"in"!=i.hoverState&&o.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),t&&t()}var i=this,o=e(this.$tip),a=e.Event("hide.bs."+this.type);if(this.$element.trigger(a),!a.isDefaultPrevented())return o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n(),this.hoverState=null,this},r.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},r.prototype.hasContent=function(){return this.getTitle()},r.prototype.getPosition=function(t){t=t||this.$element;var n=t[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=r?{top:0,left:0}:t.offset(),a={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=r?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,a,s,o)},r.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},r.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-o-a.scroll,l=t.top+o-a.scroll+r;s<a.top?i.top=a.top-s:l>a.top+a.height&&(i.top=a.top+a.height-l)}else{var c=t.left-o,u=t.left+o+n;c<a.left?i.left=a.left-c:u>a.right&&(i.left=a.left+a.width-u)}return i},r.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},r.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},r.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},r.prototype.enable=function(){this.enabled=!0},r.prototype.disable=function(){this.enabled=!1},r.prototype.toggleEnabled=function(){this.enabled=!this.enabled},r.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},r.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null})};var i=e.fn.tooltip;e.fn.tooltip=n,e.fn.tooltip.Constructor=r,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=i,this}}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(n){return this.each(function(){var i=e(this),o=i.data("bs.popover"),a="object"==(void 0===n?"undefined":t(n))&&n;!o&&/destroy|hide/.test(n)||(o||i.data("bs.popover",o=new r(this,a)),"string"==typeof n&&o[n]())})}var r=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.3.5",r.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),r.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),r.prototype.constructor=r,r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=e.fn.popover;e.fn.popover=n,e.fn.popover.Constructor=r,e.fn.popover.noConflict=function(){return e.fn.popover=i,this}}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(t,r){this.$body=e(document.body),this.$scrollElement=e(e(t).is(document.body)?window:t),this.options=e.extend({},n.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function r(r){return this.each(function(){var i=e(this),o=i.data("bs.scrollspy"),a="object"==(void 0===r?"undefined":t(r))&&r;o||i.data("bs.scrollspy",o=new n(this,a)),"string"==typeof r&&o[r]()})}n.VERSION="3.3.5",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),i=t.data("target")||t.attr("href"),o=/^#./.test(i)&&e(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return a!=(e=o[o.length-1])&&this.activate(e);if(a&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)a!=o[e]&&t>=i[e]&&(void 0===i[e+1]||t<i[e+1])&&this.activate(o[e])},n.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',r=e(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},n.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=e.fn.scrollspy;e.fn.scrollspy=r,e.fn.scrollspy.Constructor=n,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=i,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);r.call(t,t.data())})})}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){+function(e){function t(t){return this.each(function(){var r=e(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new n(this)),"string"==typeof t&&i[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.data("target");if(r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=e.Event("hide.bs.tab",{relatedTarget:t[0]}),a=e.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),t.trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){var s=e(r);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},n.prototype.activate=function(t,r,i){function o(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var a=r.find("> .active"),s=i&&e.support.transition&&(a.length&&a.hasClass("fade")||!!r.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),a.removeClass("in")};var r=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var i=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(e)}).call(t,n(11))},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};+function(e){function n(n){return this.each(function(){var i=e(this),o=i.data("bs.affix"),a="object"==(void 0===n?"undefined":t(n))&&n;o||i.data("bs.affix",o=new r(this,a)),"string"==typeof n&&o[n]()})}var r=function t(n,r){this.options=e.extend({},t.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};r.VERSION="3.3.5",r.RESET="affix affix-top affix-bottom",r.DEFAULTS={offset:0,target:window},r.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(i+a<=e-r)&&"bottom";var s=null==this.affixed,l=s?i:o.top,c=s?a:t;return null!=n&&i<=n?"top":null!=r&&l+c>=e-r&&"bottom"},r.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(r.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},r.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},r.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,o=i.top,a=i.bottom,s=Math.max(e(document).height(),e(document.body).height());"object"!=(void 0===i?"undefined":t(i))&&(a=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof a&&(a=i.bottom(this.$element));var l=this.getState(s,n,o,a);if(this.affixed!=l){null!=this.unpin&&this.$element.css("top","");var c="affix"+(l?"-"+l:""),u=e.Event(c+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=l,this.unpin="bottom"==l?this.getPinnedOffset():null,this.$element.removeClass(r.RESET).addClass(c).trigger(c.replace("affix","affixed")+".bs.affix")}"bottom"==l&&this.$element.offset({top:s-n-a})}};var i=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=r,e.fn.affix.noConflict=function(){return e.fn.affix=i,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),r=t.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(t,r)})})}(e)}).call(t,n(11))},function(e,t){},function(e,t,n){"use strict";(function(e,t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){var r=!0;e.flexslider=function(n,i){var o=e(n);o.vars=e.extend({},e.flexslider.defaults,i);var a,s=o.vars.namespace,l=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,c=("ontouchstart"in window||l||window.DocumentTouch&&document instanceof DocumentTouch)&&o.vars.touch,u="click touchend MSPointerUp keyup",d="",f="vertical"===o.vars.direction,p=o.vars.reverse,h=o.vars.itemWidth>0,v="fade"===o.vars.animation,m=""!==o.vars.asNavFor,g={};e.data(n,"flexslider",o),g={init:function(){o.animating=!1,o.currentSlide=parseInt(o.vars.startAt?o.vars.startAt:0,10),isNaN(o.currentSlide)&&(o.currentSlide=0),o.animatingTo=o.currentSlide,o.atEnd=0===o.currentSlide||o.currentSlide===o.last,o.containerSelector=o.vars.selector.substr(0,o.vars.selector.search(" ")),o.slides=e(o.vars.selector,o),o.container=e(o.containerSelector,o),o.count=o.slides.length,o.syncExists=e(o.vars.sync).length>0,"slide"===o.vars.animation&&(o.vars.animation="swing"),o.prop=f?"top":"marginLeft",o.args={},o.manualPause=!1,o.stopped=!1,o.started=!1,o.startTimeout=null,o.transitions=!o.vars.video&&!v&&o.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(void 0!==e.style[t[n]])return o.pfx=t[n].replace("Perspective","").toLowerCase(),o.prop="-"+o.pfx+"-transform",!0;return!1}(),o.ensureAnimationEnd="",""!==o.vars.controlsContainer&&(o.controlsContainer=e(o.vars.controlsContainer).length>0&&e(o.vars.controlsContainer)),""!==o.vars.manualControls&&(o.manualControls=e(o.vars.manualControls).length>0&&e(o.vars.manualControls)),""!==o.vars.customDirectionNav&&(o.customDirectionNav=2===e(o.vars.customDirectionNav).length&&e(o.vars.customDirectionNav)),o.vars.randomize&&(o.slides.sort(function(){return Math.round(Math.random())-.5}),o.container.empty().append(o.slides)),o.doMath(),o.setup("init"),o.vars.controlNav&&g.controlNav.setup(),o.vars.directionNav&&g.directionNav.setup(),o.vars.keyboard&&(1===e(o.containerSelector).length||o.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!o.animating&&(39===t||37===t)){var n=39===t?o.getTarget("next"):37===t&&o.getTarget("prev");o.flexAnimate(n,o.vars.pauseOnAction)}}),o.vars.mousewheel&&o.bind("mousewheel",function(e,t,n,r){e.preventDefault();var i=0>t?o.getTarget("next"):o.getTarget("prev");o.flexAnimate(i,o.vars.pauseOnAction)}),o.vars.pausePlay&&g.pausePlay.setup(),o.vars.slideshow&&o.vars.pauseInvisible&&g.pauseInvisible.init(),o.vars.slideshow&&(o.vars.pauseOnHover&&o.hover(function(){o.manualPlay||o.manualPause||o.pause()},function(){o.manualPause||o.manualPlay||o.stopped||o.play()}),o.vars.pauseInvisible&&g.pauseInvisible.isHidden()||(o.vars.initDelay>0?o.startTimeout=setTimeout(o.play,o.vars.initDelay):o.play())),m&&g.asNav.setup(),c&&o.vars.touch&&g.touch(),(!v||v&&o.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",g.resize),o.find("img").attr("draggable","false"),setTimeout(function(){o.vars.start(o)},200)},asNav:{setup:function(){o.asNav=!0,o.animatingTo=Math.floor(o.currentSlide/o.move),o.currentItem=o.currentSlide,o.slides.removeClass(s+"active-slide").eq(o.currentItem).addClass(s+"active-slide"),l?(n._slider=o,o.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var n=e(this),r=n.index();e(o.vars.asNavFor).data("flexslider").animating||n.hasClass("active")||(o.direction=o.currentItem<r?"next":"prev",o.flexAnimate(r,o.vars.pauseOnAction,!1,!0,!0))})})):o.slides.on(u,function(t){t.preventDefault();var n=e(this),r=n.index();0>=n.offset().left-e(o).scrollLeft()&&n.hasClass(s+"active-slide")?o.flexAnimate(o.getTarget("prev"),!0):e(o.vars.asNavFor).data("flexslider").animating||n.hasClass(s+"active-slide")||(o.direction=o.currentItem<r?"next":"prev",o.flexAnimate(r,o.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){o.manualControls?g.controlNav.setupManual():g.controlNav.setupPaging()},setupPaging:function(){var t,n,r="thumbnails"===o.vars.controlNav?"control-thumbs":"control-paging",i=1;if(o.controlNavScaffold=e('<ol class="'+s+"control-nav "+s+r+'"></ol>'),o.pagingCount>1)for(var a=0;a<o.pagingCount;a++){n=o.slides.eq(a),void 0===n.attr("data-thumb-alt")&&n.attr("data-thumb-alt","");var l=""!==n.attr("data-thumb-alt")?l=' alt="'+n.attr("data-thumb-alt")+'"':"";if(t="thumbnails"===o.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"'+l+"/>":'<a href="#">'+i+"</a>","thumbnails"===o.vars.controlNav&&!0===o.vars.thumbCaptions){var c=n.attr("data-thumbcaption");""!==c&&void 0!==c&&(t+='<span class="'+s+'caption">'+c+"</span>")}o.controlNavScaffold.append("<li>"+t+"</li>"),i++}o.controlsContainer?e(o.controlsContainer).append(o.controlNavScaffold):o.append(o.controlNavScaffold),g.controlNav.set(),g.controlNav.active(),o.controlNavScaffold.delegate("a, img",u,function(t){if(t.preventDefault(),""===d||d===t.type){var n=e(this),r=o.controlNav.index(n);n.hasClass(s+"active")||(o.direction=r>o.currentSlide?"next":"prev",o.flexAnimate(r,o.vars.pauseOnAction))}""===d&&(d=t.type),g.setToClearWatchedEvent()})},setupManual:function(){o.controlNav=o.manualControls,g.controlNav.active(),o.controlNav.bind(u,function(t){if(t.preventDefault(),""===d||d===t.type){var n=e(this),r=o.controlNav.index(n);n.hasClass(s+"active")||(r>o.currentSlide?o.direction="next":o.direction="prev",o.flexAnimate(r,o.vars.pauseOnAction))}""===d&&(d=t.type),g.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===o.vars.controlNav?"img":"a";o.controlNav=e("."+s+"control-nav li "+t,o.controlsContainer?o.controlsContainer:o)},active:function(){o.controlNav.removeClass(s+"active").eq(o.animatingTo).addClass(s+"active")},update:function(t,n){o.pagingCount>1&&"add"===t?o.controlNavScaffold.append(e('<li><a href="#">'+o.count+"</a></li>")):1===o.pagingCount?o.controlNavScaffold.find("li").remove():o.controlNav.eq(n).closest("li").remove(),g.controlNav.set(),o.pagingCount>1&&o.pagingCount!==o.controlNav.length?o.update(n,t):g.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+s+'direction-nav"><li class="'+s+'nav-prev"><a class="'+s+'prev" href="#">'+o.vars.prevText+'</a></li><li class="'+s+'nav-next"><a class="'+s+'next" href="#">'+o.vars.nextText+"</a></li></ul>");o.customDirectionNav?o.directionNav=o.customDirectionNav:o.controlsContainer?(e(o.controlsContainer).append(t),o.directionNav=e("."+s+"direction-nav li a",o.controlsContainer)):(o.append(t),o.directionNav=e("."+s+"direction-nav li a",o)),g.directionNav.update(),o.directionNav.bind(u,function(t){t.preventDefault();var n;(""===d||d===t.type)&&(n=e(this).hasClass(s+"next")?o.getTarget("next"):o.getTarget("prev"),o.flexAnimate(n,o.vars.pauseOnAction)),""===d&&(d=t.type),g.setToClearWatchedEvent()})},update:function(){var e=s+"disabled";1===o.pagingCount?o.directionNav.addClass(e).attr("tabindex","-1"):o.vars.animationLoop?o.directionNav.removeClass(e).removeAttr("tabindex"):0===o.animatingTo?o.directionNav.removeClass(e).filter("."+s+"prev").addClass(e).attr("tabindex","-1"):o.animatingTo===o.last?o.directionNav.removeClass(e).filter("."+s+"next").addClass(e).attr("tabindex","-1"):o.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+s+'pauseplay"><a href="#"></a></div>');o.controlsContainer?(o.controlsContainer.append(t),o.pausePlay=e("."+s+"pauseplay a",o.controlsContainer)):(o.append(t),o.pausePlay=e("."+s+"pauseplay a",o)),g.pausePlay.update(o.vars.slideshow?s+"pause":s+"play"),o.pausePlay.bind(u,function(t){t.preventDefault(),(""===d||d===t.type)&&(e(this).hasClass(s+"pause")?(o.manualPause=!0,o.manualPlay=!1,o.pause()):(o.manualPause=!1,o.manualPlay=!0,o.play())),""===d&&(d=t.type),g.setToClearWatchedEvent()})},update:function(e){"play"===e?o.pausePlay.removeClass(s+"pause").addClass(s+"play").html(o.vars.playText):o.pausePlay.removeClass(s+"play").addClass(s+"pause").html(o.vars.pauseText)}},touch:function(){function e(e){e.stopPropagation(),o.animating?e.preventDefault():(o.pause(),n._gesture.addPointer(e.pointerId),S=0,u=f?o.h:o.w,m=Number(new Date),c=h&&p&&o.animatingTo===o.last?0:h&&p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:h&&o.currentSlide===o.last?o.limit:h?(o.itemW+o.vars.itemMargin)*o.move*o.currentSlide:p?(o.last-o.currentSlide+o.cloneOffset)*u:(o.currentSlide+o.cloneOffset)*u)}function r(e){e.stopPropagation();var r=e.target._slider;if(r){var i=-e.translationX,o=-e.translationY;return S+=f?o:i,d=S,b=f?Math.abs(S)<Math.abs(-i):Math.abs(S)<Math.abs(-o),e.detail===e.MSGESTURE_FLAG_INERTIA?void t(function(){n._gesture.stop()}):void((!b||Number(new Date)-m>500)&&(e.preventDefault(),!v&&r.transitions&&(r.vars.animationLoop||(d=S/(0===r.currentSlide&&0>S||r.currentSlide===r.last&&S>0?Math.abs(S)/u+2:1)),r.setProps(c+d,"setTouch"))))}}function i(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!b&&null!==d){var n=p?-d:d,r=n>0?t.getTarget("next"):t.getTarget("prev");t.canAdvance(r)&&(Number(new Date)-m<550&&Math.abs(n)>50||Math.abs(n)>u/2)?t.flexAnimate(r,t.vars.pauseOnAction):v||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}a=null,s=null,d=null,c=null,S=0}}var a,s,c,u,d,m,g,y,$,b=!1,w=0,x=0,S=0;l?(n.style.msTouchAction="none",n._gesture=new MSGesture,n._gesture.target=n,n.addEventListener("MSPointerDown",e,!1),n._slider=o,n.addEventListener("MSGestureChange",r,!1),n.addEventListener("MSGestureEnd",i,!1)):(g=function(e){o.animating?e.preventDefault():(window.navigator.msPointerEnabled||1===e.touches.length)&&(o.pause(),u=f?o.h:o.w,m=Number(new Date),w=e.touches[0].pageX,x=e.touches[0].pageY,c=h&&p&&o.animatingTo===o.last?0:h&&p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:h&&o.currentSlide===o.last?o.limit:h?(o.itemW+o.vars.itemMargin)*o.move*o.currentSlide:p?(o.last-o.currentSlide+o.cloneOffset)*u:(o.currentSlide+o.cloneOffset)*u,a=f?x:w,s=f?w:x,n.addEventListener("touchmove",y,!1),n.addEventListener("touchend",$,!1))},y=function(e){w=e.touches[0].pageX,x=e.touches[0].pageY,d=f?a-x:a-w,b=f?Math.abs(d)<Math.abs(w-s):Math.abs(d)<Math.abs(x-s);(!b||Number(new Date)-m>500)&&(e.preventDefault(),!v&&o.transitions&&(o.vars.animationLoop||(d/=0===o.currentSlide&&0>d||o.currentSlide===o.last&&d>0?Math.abs(d)/u+2:1),o.setProps(c+d,"setTouch")))},$=function(e){if(n.removeEventListener("touchmove",y,!1),o.animatingTo===o.currentSlide&&!b&&null!==d){var t=p?-d:d,r=t>0?o.getTarget("next"):o.getTarget("prev");o.canAdvance(r)&&(Number(new Date)-m<550&&Math.abs(t)>50||Math.abs(t)>u/2)?o.flexAnimate(r,o.vars.pauseOnAction):v||o.flexAnimate(o.currentSlide,o.vars.pauseOnAction,!0)}n.removeEventListener("touchend",$,!1),a=null,s=null,d=null,c=null},n.addEventListener("touchstart",g,!1))},resize:function(){!o.animating&&o.is(":visible")&&(h||o.doMath(),v?g.smoothHeight():h?(o.slides.width(o.computedW),o.update(o.pagingCount),o.setProps()):f?(o.viewport.height(o.h),o.setProps(o.h,"setTotal")):(o.vars.smoothHeight&&g.smoothHeight(),o.newSlides.width(o.computedW),o.setProps(o.computedW,"setTotal")))},smoothHeight:function(e){if(!f||v){var t=v?o:o.viewport;e?t.animate({height:o.slides.eq(o.animatingTo).innerHeight()},e):t.innerHeight(o.slides.eq(o.animatingTo).innerHeight())}},sync:function(t){var n=e(o.vars.sync).data("flexslider"),r=o.animatingTo;switch(t){case"animate":n.flexAnimate(r,o.vars.pauseOnAction,!1,!0);break;case"play":n.playing||n.asNav||n.play();break;case"pause":n.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=g.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){g.pauseInvisible.isHidden()?o.startTimeout?clearTimeout(o.startTimeout):o.pause():o.started?o.play():o.vars.initDelay>0?setTimeout(o.play,o.vars.initDelay):o.play()})}},isHidden:function(){var e=g.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(a),a=setTimeout(function(){d=""},3e3)}},o.flexAnimate=function(t,n,r,i,a){if(o.vars.animationLoop||t===o.currentSlide||(o.direction=t>o.currentSlide?"next":"prev"),m&&1===o.pagingCount&&(o.direction=o.currentItem<t?"next":"prev"),!o.animating&&(o.canAdvance(t,a)||r)&&o.is(":visible")){if(m&&i){var l=e(o.vars.asNavFor).data("flexslider");if(o.atEnd=0===t||t===o.count-1,l.flexAnimate(t,!0,!1,!0,a),o.direction=o.currentItem<t?"next":"prev",l.direction=o.direction,Math.ceil((t+1)/o.visible)-1===o.currentSlide||0===t)return o.currentItem=t,o.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),!1;o.currentItem=t,o.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),t=Math.floor(t/o.visible)}if(o.animating=!0,o.animatingTo=t,n&&o.pause(),o.vars.before(o),o.syncExists&&!a&&g.sync("animate"),o.vars.controlNav&&g.controlNav.active(),h||o.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),o.atEnd=0===t||t===o.last,o.vars.directionNav&&g.directionNav.update(),t===o.last&&(o.vars.end(o),o.vars.animationLoop||o.pause()),v)c?(o.slides.eq(o.currentSlide).css({opacity:0,zIndex:1}),o.slides.eq(t).css({opacity:1,zIndex:2}),o.wrapup($)):(o.slides.eq(o.currentSlide).css({zIndex:1}).animate({opacity:0},o.vars.animationSpeed,o.vars.easing),o.slides.eq(t).css({zIndex:2}).animate({opacity:1},o.vars.animationSpeed,o.vars.easing,o.wrapup));else{var u,d,y,$=f?o.slides.filter(":first").height():o.computedW;h?(u=o.vars.itemMargin,y=(o.itemW+u)*o.move*o.animatingTo,d=y>o.limit&&1!==o.visible?o.limit:y):d=0===o.currentSlide&&t===o.count-1&&o.vars.animationLoop&&"next"!==o.direction?p?(o.count+o.cloneOffset)*$:0:o.currentSlide===o.last&&0===t&&o.vars.animationLoop&&"prev"!==o.direction?p?0:(o.count+1)*$:p?(o.count-1-t+o.cloneOffset)*$:(t+o.cloneOffset)*$,o.setProps(d,"",o.vars.animationSpeed),o.transitions?(o.vars.animationLoop&&o.atEnd||(o.animating=!1,o.currentSlide=o.animatingTo),o.container.unbind("webkitTransitionEnd transitionend"),o.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(o.ensureAnimationEnd),o.wrapup($)}),clearTimeout(o.ensureAnimationEnd),o.ensureAnimationEnd=setTimeout(function(){o.wrapup($)},o.vars.animationSpeed+100)):o.container.animate(o.args,o.vars.animationSpeed,o.vars.easing,function(){o.wrapup($)})}o.vars.smoothHeight&&g.smoothHeight(o.vars.animationSpeed)}},o.wrapup=function(e){v||h||(0===o.currentSlide&&o.animatingTo===o.last&&o.vars.animationLoop?o.setProps(e,"jumpEnd"):o.currentSlide===o.last&&0===o.animatingTo&&o.vars.animationLoop&&o.setProps(e,"jumpStart")),o.animating=!1,o.currentSlide=o.animatingTo,o.vars.after(o)},o.animateSlides=function(){!o.animating&&r&&o.flexAnimate(o.getTarget("next"))},o.pause=function(){clearInterval(o.animatedSlides),o.animatedSlides=null,o.playing=!1,o.vars.pausePlay&&g.pausePlay.update("play"),o.syncExists&&g.sync("pause")},o.play=function(){o.playing&&clearInterval(o.animatedSlides),o.animatedSlides=o.animatedSlides||setInterval(o.animateSlides,o.vars.slideshowSpeed),o.started=o.playing=!0,o.vars.pausePlay&&g.pausePlay.update("pause"),o.syncExists&&g.sync("play")},o.stop=function(){o.pause(),o.stopped=!0},o.canAdvance=function(e,t){var n=m?o.pagingCount-1:o.last;return!!t||(!(!m||o.currentItem!==o.count-1||0!==e||"prev"!==o.direction)||(!m||0!==o.currentItem||e!==o.pagingCount-1||"next"===o.direction)&&(!(e===o.currentSlide&&!m)&&(!!o.vars.animationLoop||(!o.atEnd||0!==o.currentSlide||e!==n||"next"===o.direction)&&(!o.atEnd||o.currentSlide!==n||0!==e||"next"!==o.direction))))},o.getTarget=function(e){return o.direction=e,"next"===e?o.currentSlide===o.last?0:o.currentSlide+1:0===o.currentSlide?o.last:o.currentSlide-1},o.setProps=function(e,t,n){var r=function(){var n=e||(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo;return-1*function(){if(h)return"setTouch"===t?e:p&&o.animatingTo===o.last?0:p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:o.animatingTo===o.last?o.limit:n;switch(t){case"setTotal":return p?(o.count-1-o.currentSlide+o.cloneOffset)*e:(o.currentSlide+o.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return p?e:o.count*e;case"jumpStart":return p?o.count*e:e;default:return e}}()+"px"}();o.transitions&&(r=f?"translate3d(0,"+r+",0)":"translate3d("+r+",0,0)",n=void 0!==n?n/1e3+"s":"0s",o.container.css("-"+o.pfx+"-transition-duration",n),o.container.css("transition-duration",n)),o.args[o.prop]=r,(o.transitions||void 0===n)&&o.container.css(o.args),o.container.css("transform",r)},o.setup=function(t){if(v)o.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(c?o.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+o.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(o.currentSlide).css({opacity:1,zIndex:2}):0==o.vars.fadeFirstSlide?o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).css({opacity:1}):o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).animate({opacity:1},o.vars.animationSpeed,o.vars.easing)),o.vars.smoothHeight&&g.smoothHeight();else{var n,r;"init"===t&&(o.viewport=e('<div class="'+s+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(o).append(o.container),o.cloneCount=0,o.cloneOffset=0,p&&(r=e.makeArray(o.slides).reverse(),o.slides=e(r),o.container.empty().append(o.slides))),o.vars.animationLoop&&!h&&(o.cloneCount=2,o.cloneOffset=1,"init"!==t&&o.container.find(".clone").remove(),o.container.append(g.uniqueID(o.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(g.uniqueID(o.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),o.newSlides=e(o.vars.selector,o),n=p?o.count-1-o.currentSlide+o.cloneOffset:o.currentSlide+o.cloneOffset,f&&!h?(o.container.height(200*(o.count+o.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){o.newSlides.css({display:"block"}),o.doMath(),o.viewport.height(o.h),o.setProps(n*o.h,"init")},"init"===t?100:0)):(o.container.width(200*(o.count+o.cloneCount)+"%"),o.setProps(n*o.computedW,"init"),setTimeout(function(){o.doMath(),o.newSlides.css({width:o.computedW,marginRight:o.computedM,float:"left",display:"block"}),o.vars.smoothHeight&&g.smoothHeight()},"init"===t?100:0))}h||o.slides.removeClass(s+"active-slide").eq(o.currentSlide).addClass(s+"active-slide"),o.vars.init(o)},o.doMath=function(){var e=o.slides.first(),t=o.vars.itemMargin,n=o.vars.minItems,r=o.vars.maxItems;o.w=void 0===o.viewport?o.width():o.viewport.width(),o.h=e.height(),o.boxPadding=e.outerWidth()-e.width(),h?(o.itemT=o.vars.itemWidth+t,o.itemM=t,o.minW=n?n*o.itemT:o.w,o.maxW=r?r*o.itemT-t:o.w,o.itemW=o.minW>o.w?(o.w-t*(n-1))/n:o.maxW<o.w?(o.w-t*(r-1))/r:o.vars.itemWidth>o.w?o.w:o.vars.itemWidth,o.visible=Math.floor(o.w/o.itemW),o.move=o.vars.move>0&&o.vars.move<o.visible?o.vars.move:o.visible,o.pagingCount=Math.ceil((o.count-o.visible)/o.move+1),o.last=o.pagingCount-1,o.limit=1===o.pagingCount?0:o.vars.itemWidth>o.w?o.itemW*(o.count-1)+t*(o.count-1):(o.itemW+t)*o.count-o.w-t):(o.itemW=o.w,o.itemM=t,o.pagingCount=o.count,o.last=o.count-1),o.computedW=o.itemW-o.boxPadding,o.computedM=o.itemM},o.update=function(e,t){o.doMath(),h||(e<o.currentSlide?o.currentSlide+=1:e<=o.currentSlide&&0!==e&&(o.currentSlide-=1),o.animatingTo=o.currentSlide),o.vars.controlNav&&!o.manualControls&&("add"===t&&!h||o.pagingCount>o.controlNav.length?g.controlNav.update("add"):("remove"===t&&!h||o.pagingCount<o.controlNav.length)&&(h&&o.currentSlide>o.last&&(o.currentSlide-=1,o.animatingTo-=1),g.controlNav.update("remove",o.last))),o.vars.directionNav&&g.directionNav.update()},o.addSlide=function(t,n){var r=e(t);o.count+=1,o.last=o.count-1,f&&p?void 0!==n?o.slides.eq(o.count-n).after(r):o.container.prepend(r):void 0!==n?o.slides.eq(n).before(r):o.container.append(r),o.update(n,"add"),o.slides=e(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.added(o)},o.removeSlide=function(t){var n=isNaN(t)?o.slides.index(e(t)):t;o.count-=1,o.last=o.count-1,isNaN(t)?e(t,o.slides).remove():f&&p?o.slides.eq(o.last).remove():o.slides.eq(t).remove(),o.doMath(),o.update(n,"remove"),o.slides=e(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.removed(o)},g.init()},e(window).blur(function(e){r=!1}).focus(function(e){r=!0}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==(void 0===t?"undefined":n(t)))return this.each(function(){var n=e(this),r=t.selector?t.selector:".slides > li",i=n.find(r);1===i.length&&!1===t.allowOneSlide||0===i.length?(i.fadeIn(400),t.start&&t.start(n)):void 0===n.data("flexslider")&&new e.flexslider(this,t)});var r=e(this).data("flexslider");switch(t){case"play":r.play();break;case"pause":r.pause();break;case"stop":r.stop();break;case"next":r.flexAnimate(r.getTarget("next"),!0);break;case"prev":case"previous":r.flexAnimate(r.getTarget("prev"),!0);break;default:"number"==typeof t&&r.flexAnimate(t,!0)}}}(e)}).call(t,n(11),n(391).setImmediate)},function(e,t,n){"use strict";(function(e){function r(e,t){this._id=e,this._clearFn=t}var i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(392),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(t,n(82))},function(e,t,n){"use strict";(function(e,t){!function(e,n){function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return c[l]=r,s(l),l++}function i(e){delete c[e]}function o(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(u)setTimeout(a,0,e);else{var t=c[e];if(t){u=!0;try{o(t)}finally{i(e),u=!1}}}}if(!e.setImmediate){var s,l=1,c={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),s=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var e=d.documentElement;s=function(t){var n=d.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),f.setImmediate=r,f.clearImmediate=i}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(t,n(82),n(393))},function(e,t,n){"use strict";function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){m&&h&&(m=!1,h.length?v=h.concat(v):g=-1,v.length&&l())}function l(){if(!m){var e=o(s);m=!0;for(var t=v.length;t;){for(h=v,v=[];++g<t;)h&&h[g].run();g=-1,t=v.length}h=null,m=!1,a(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var d,f,p=e.exports={};!function(){try{d="function"==typeof setTimeout?setTimeout:r}catch(e){d=r}try{f="function"==typeof clearTimeout?clearTimeout:i}catch(e){f=i}}();var h,v=[],m=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];v.push(new c(e,t)),1!==v.length||m||o(l)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t){function n(e){throw new Error("Cannot find module '"+e+"'.")}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id=394},function(e,t,n){function r(e){return n(i(e))}function i(e){var t=o[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var o={"./my-account/academy-event-survey/index.scss":396,"./my-account/index.scss":397,"./my-account/my-account-dashboard/index.scss":398,"./my-account/my-account-example/index.scss":399,"./my-account/my-account-keys/index.scss":400,"./my-account/my-account-left-nav/index.scss":401,"./my-account/my-account-ngpf-acadameny-view-event/index.scss":402,"./my-account/my-account-ngpf-academy-register/index.scss":403,"./my-account/my-account-ngpf-academy-view-event-survey/index.scss":404,"./my-account/my-account-ngpf-academy/index.scss":405,"./my-account/my-account-profile/index.scss":406,"./my-account/my-account-top-nav/index.scss":407,"./site/events-list.scss":408};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=395},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){function r(e){return n(i(e))}function i(e){var t=o[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var o={"./AppController.js":410,"./app-alert/index.js":411,"./appService.js":413,"./contact-form/ContactController.js":414,"./filters/format-date.js":415,"./filters/jkd-output-html.js":416,"./filters/mil-time-to-am-pm.js":417,"./my-account/academy-event-survey/index.js":418,"./my-account/index.js":420,"./my-account/my-account-dashboard/index.js":422,"./my-account/my-account-example/index.js":424,"./my-account/my-account-keys/index.js":426,"./my-account/my-account-left-nav/index.js":428,"./my-account/my-account-ngpf-acadameny-view-event/index.js":430,"./my-account/my-account-ngpf-academy-register/index.js":432,"./my-account/my-account-ngpf-academy-view-event-survey/index.js":434,"./my-account/my-account-ngpf-academy/index.js":436,"./my-account/my-account-profile/index.js":438,"./my-account/my-account-top-nav/index.js":440,"./refer/ReferController.js":442,"./routing.js":443,"./search/SearchController.js":444,"./siteService.js":445,"./storeService.js":446,"./user-login-manager/AccountController.js":447,"./user-login-manager/cp-user-login/index.js":448,"./user-login-manager/cp-user-logout/index.js":450,"./user-login-manager/cp-user-sign-up/index.js":451,"./user-login-manager/cp-user-update-user/index.js":453,"./user-login-manager/userService.js":455};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=409},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.controller("AppController",["$scope","$rootScope",function(e,t){e.currentUser=null,t.$on("user-logged-in",function(e,t){}),t.$on("user-login-change",function(t,n){e.currentUser=n}),t.$on("user-test-done",function(t,n){console.log("user-test--@!"),e.userTestDone=!0}),e.$rooter=t,e.subscribeNewsletterForm={},e.subscribeNewsletter=function(){if(!e.subscribeNewsletterForm.subscriptions_email)return alert("Your must enter an email address to subscribe");e.formIsDone_subscribeNewsletterForm=!0,t.$emit("subscribe-newsletter-email-entered",{email:e.subscribeNewsletterForm.subscriptions_email})}}])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("appAlert",{template:n(412),bindings:{},controller:["$rootScope","$timeout",function(e,t){var n=this;this.messages=[],e.$on("alert",function(e,r){if(console.log(r),!r||!r.type||!r.text&&!r.title)return!1;n.messages.push({type:r.type,title:r.title?r.title:"",text:r.text?r.text:""}),t(function(){n.messages&&n.messages.length&&n.messages.shift()},1e3)}),this.test=function(){var t=Math.floor(3*Math.random()),n="";0===t&&(n="info"),1===t&&(n="success"),2===t&&(n="error"),e.$emit("alert",{type:n,title:"Random "+n,text:"Random text Random text Random text Random text Random text Random text ...."})}}]})}},function(e,t){e.exports='<style type="text/css">\n  .alert-success {\n    background-color: green;\n    color: white;\n  }\n  .alert-info {\n    background-color: #eeeeee;\n    color: black;\n  }\n  .alert-error {\n    background-color: red;\n    color: white;\n  }\n</style>\n<div style="position: fixed; bottom: 0; left: 0; right: 0; width: 100%; z-index: 999">\n  <div ng-repeat="message in $ctrl.messages" ng-class="\'alert-\'+message.type" class="pv20" style="text-align: center; font-size: 130%; margin-top: 3px">\n    <span ng-show="message.title" style="font-weight: bold">{{message.title}}</span>\n    <span ng-show="message.title && message.text"> - </span>\n    <span ng-show="message.text">{{message.text}}</span>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.service("appService",["$rootScope","$http","$q","$window","AJAX_PREFIX","$filter",function(e,t,n,r,i,o){var a=this;a.defaultError="There was an issue. Feel free to try again.",a.convertDateObjectToDate=function(e){return o("date")(e,"yyyy-MM-dd")},a.convertDateObjectToTime=function(e){return o("date")(e,"HH:mm:ss")},a.convertDateToDateObject=function(e){if(e){var t=e.split("-");return 3===t.length?(t[1]--,new Date(t[0],t[1],t[2])):null}return null},a.convertTimeToDateObject=function(e){if(e){var t=e.split(":");return 3===t.length?new Date(1970,0,1,t[0],t[1],t[2]):null}return null},a.isObjectEmpty=function(e){return!e||0===Object.keys(e).length},a.objectLength=function(e){return e?Object.keys(e).length:0},a.asyncLoadIncrease=function(){e.appLoadingCount||(e.appLoadingCount=0),e.appLoadingCount++,e.appIsLoading=!0},a.counter=0,a.asyncLoadDecrease=function(){a.counter++,console.log("yo"+a.counter),console.log("$rootScope.appLoadingCount",e.appLoadingCount),e.appLoadingCount?e.appLoadingCount--:e.appLoadingCount=0,0===e.appLoadingCount&&(e.appIsLoading=!1),console.log("$rootScope.appIsLoading",e.appIsLoading)},a.notifyUser=function(t,n){return!!t&&(!(!n||!n.text&&!n.title)&&(n.type=t,void e.$emit("alert",n)))},a.errorDefault=function(t){e.$emit("alert",{type:"error",text:t})},a.goData=function(e){var t=null;if(t=e.isError?e.isError:e.isErrorDefault?e.isErrorDefault:a.errorDefault,!e.defaultErrorMessage)return t("No default error message provided");if(!e.url)return t("No URL defined");if(!e.method)return t("No method defined");if("post"!==e.method&&"get"!==e.method)return t("Only post and get methods allowed");var n={url:e.url,method:e.method,defaultError:e.defaultErrorMessage};"post"===e.method&&(e.data||t("No data for post object"),n.data=e.data),a.processData(n).then(function(n){return n?e.isSuccess?e.isSuccess(n):void 0:t(e.defaultErrorMessage)},function(n){return console.log("this stuff",n),console.log("this error",t),console.log("this error2",n||e.defaultErrorMessage),t(n||e.defaultErrorMessage)})},a.goUpload=function(e){return e.isError?thisError=e.isError:e.isErrorDefault?thisError=e.isErrorDefault:(console.log("No error message defined",e),alert("No error message defined")),e.fieldId?e.fd?e.url?void a.uploadFile(e).then(function(t){return t?e.isSuccess?e.isSuccess(t):void 0:thisError(e.defaultErrorMessage)},function(t){return thisError(t||e.defaultErrorMessage)}):thisError("No URL specified"):thisError("No Form object"):thisError("Field ID not specified")},a.uploadFile=function(e){return a.asyncLoadIncrease(),t.post(i+e.url,e.fd,{transformRequest:angular.identity,headers:{"Content-Type":void 0}}).then(function(e){if(a.asyncLoadDecrease(),e&&e.data){if(e.data.success)return e.data.info?n.resolve(e.data.info):n.resolve({});if(e.data.errorText)return n.reject(e.data.errorText)}},function(t){return a.asyncLoadDecrease(),n.reject(e.defaultError?e.defaultError:a.defaultError)})},a.processData=function(e){var o={url:i+e.url,method:e.method};return r.localStorage.getItem("t")&&(o.headers={CPAUTH:r.localStorage.getItem("t")}),e.data&&(o.data=e.data),a.asyncLoadIncrease(),t(o).then(function(t){if(a.asyncLoadDecrease(),t&&t.data){if(t.data.success)return t.data.info?n.resolve(t.data.info):n.resolve({});if(t.data.errorText)return n.reject(t.data.errorText)}return n.reject(e.defaultError?e.defaultError:a.defaultError)},function(t){return a.asyncLoadDecrease(),n.reject(e.defaultError?e.defaultError:a.defaultError)})}}])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.controller("ContactController",["$scope","$http","$filter",function(e,t,n){e.contactForm={},e.subscribeBlogForm={},e.formIsDone=!1,e.formIsSaving=!1,e.formIsDone_subscribeNewsletterForm=!1,e.formIsSaving_subscribeNewsletterForm=!1,e.formIsDone_subscribeBlogForm=!1,e.formIsSaving_subscribeBlogForm=!1,e.requestedDate="",e.requestedTime="",e.submitForm=function(){e.formIsSaving=!0,t.post("/aaa-content/user/api/contactRequests/send/",{contactForm:e.contactForm}).then(function(t){e.formIsSaving=!1,e.formIsDone=!0})},e.subscribeBlog=function(){if(!e.subscribeBlogForm.subscriptions_email)return!1;e.formIsSaving_subscribeBlogForm=!0,t.post("/aaa-content/user/api/subscriptions/blog/",{subscribeForm:e.subscribeBlogForm}).then(function(t){e.formIsSaving=!1,e.formIsDone_subscribeBlogForm=!0})}}])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.directive("formatDate",function(){return{require:"ngModel",link:function(e,t,n,r){r.$formatters.push(function(e){return new Date(e)})}}})}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){t.filter("JkdOutputHtml",["$sce",function(t){return function(n){var r=e("<div/>").html(n);return t.trustAsHtml(r.html())}}])}}).call(t,n(11))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.filter("milTimeToAMPM",function(){return function(e){if(!e)return!1;var t=e.split(":");return 3===t.length&&(t[0]<=12?t[0]+":"+t[1]+"AM":t[0]>12?t[0]-12+":"+t[1]+"PM":void 0)}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("academyEventSurvey",{template:n(419),bindings:{},controller:["$rootScope","appService","$state","$stateParams","userService",function(e,t,n,r,i){var o=this;e.myAccountTitle="Survey",this.ajaxPrefix="/aaa-content/user/api/events/",this.loaded=!1,this.currentUser=null,this.registrationForm={},this.eventsLoaded=!1,this.getUser=function(){i.getUser().then(function(e){console.log("get user done",e),o.currentUser=e,o.checkIfRegistered(),o.updateForm()},function(e){console.log("get user error",e)})},this.checkIfRegistered=function(){t.processData({url:o.ajaxPrefix+"check-if-registered/",method:"post",data:{eventID:r.id}}).then(function(e){n.go("my-account-ngpf-academy-view-event-survey",{ticketId:e,id:r.id})},function(e){})},this.findSurveyTicket=function(){t.processData({url:o.ajaxPrefix+"find-survey-ticket/",method:"post",data:{eventID:r.id,emailAddressUsed:o.emailAddressUsed}}).then(function(e){n.go("my-account-ngpf-academy-view-event-survey",{ticketId:e,id:r.id})},function(e){alert("Email was not found. Feel free to try again. To find your registration, you will need to use the email address you used to sign up for the event.")})},this.$onInit=function(){t.processData({url:o.ajaxPrefix+"get-event/",method:"post",data:{id:r.id}}).then(function(e){o.event=e.event,o.loaded=!0,console.log("this.event",o.event),o.getUser()})}}]})}},function(e,t){e.exports='<div class="container">\n  <div class="row">\n    <div class="col-md-12">\n      <h2 ng-if="!$ctrl.event" style="padding-bottom: 150px"><i class="fa fa-spinner fa-spin"></i> Loading Event...</h2>\n      <h2 ng-if="$ctrl.event.title">{{$ctrl.event.title}} ({{$ctrl.event.type}})</h2>\n      <div ng-if="$ctrl.event.title">\n        <div class="row">\n          <div class="col-md-12">\n            <p>To complete the survey, you can enter your email address (the one you used to sign up for the event) below.</p>\n          </div>\n        </div>\n\n        <div class="row">\n          <div class="col-md-8">\n            <form ng-submit="$ctrl.findSurveyTicket()">\n              <div class="mv30">\n                <label for="">What email address did you use to sign up for the event?</label>\n                <div class="mb10">\n                  <input type="email" class="form-control" placeholder="me@example.com" ng-model="$ctrl.emailAddressUsed" required="true" />\n                </div>\n              </div>\n\n              <div class="mv30 pt20">\n                <button class="btn btn-primary btn-lg">Continue</button>\n              </div>\n            </form>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccount",{template:n(421),bindings:{},controller:["$rootScope","appService",function(e,t){this.$onInit=function(){e.myAccountTitle="My NGPF"}}]})}},function(e,t){e.exports="<p>Welcome to My NGPF, your personal account with the NGPF Team...</p>\n"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountDashboard",{template:n(423),bindings:{},controller:["$rootScope","appService","userService",function(e,t,n){var r=this;e.myAccountTitle="My NGPF Academy",this.ajaxPrefix="/aaa-content/user/api/events/",this.eventsLoaded=!1,this.blogPosts=window.blogPosts,this.currentUser=null,this.getUser=function(){n.getUser().then(function(e){r.currentUser=e},function(e){})},this.$onInit=function(){r.getUser(),t.processData({url:r.ajaxPrefix+"user-events/",method:"post",data:{}}).then(function(e){r.eventsLoaded=!0,r.events=e.userEvents,r.pdHours=e.pdHours,r.grade=e.grade,r.hoursToReachNext=e.hoursToReachNext,r.nextGrade=e.nextGrade,r.progressWidth=e.progressWidth},function(e){"No User Authorization header sent."===e&&(window.location.href="/")})}}]})}},function(e,t){e.exports='<div class="myDashboardBody">\n  <div class="TTFirstSection">\n    <div class="row container" style="margin: 5px auto; min-height: 500px">\n      <div ng-class="$ctrl.currentUser.cpUsers__cpUsersTypes_recordNumber==2 ? \'col-md-8\' : \'col-md-12\'">\n        <div class="NGPFDailyContainer">\n          <h2 class="sectiontitle">NGPF Daily</h2>\n          \x3c!-- Tab links --\x3e\n          <div class="tab">\n            <button class="tablinks" onclick="openCity(event, \'MySessions\')" id="defaultOpen">UPCOMING SESSIONS</button>\n            <button class="tablinks" onclick="openCity(event, \'Blogs\')">TODAY\'S BLOG</button>\n            \x3c!-- <button class="tablinks" onclick="openCity(event, \'Emails\')">RECENT EMAILS</button> --\x3e\n          </div>\n          \x3c!-- Tab content --\x3e\n          <div id="MySessions" class="tabcontent" style="box-shadow: 1px 1px 5px #666666">\n            <h3 class="resourcetitle">UPCOMING SESSIONS</h3>\n            <div ng-if="$ctrl.eventsLoaded" class="mv10 PDSessionsContainer">\n              <div ng-if="$ctrl.events && $ctrl.events.present && $ctrl.events.present.length>0">\n                <div class="events-list">\n                  <div class="events-list-row PDRows">\n                    <div class="events-list-cell events-list-cell-th">Title</div>\n                    <div class="events-list-cell events-list-cell-th">Date</div>\n                    <div class="events-list-cell events-list-cell-th">Credits</div>\n                    <div class="events-list-cell events-list-cell-th">View</div>\n                  </div>\n                  <div ng-repeat="event in $ctrl.events.present" class="events-list-row event-striped">\n                    <div class="events-list-cell" style="font-weight: bold"><span ng-show="event.type===\'FinCamp\'">{{event.type}}:</span> {{event.title}}</div>\n                    <div class="events-list-cell">\n                      {{event.startDate | date:\'M/d/yyyy\'}}\n                      <div ng-hide="event.type===\'FinCamp\'"><span ng-show="event.startDate !== event.endDate"> - {{event.endDate | date:\'M/d/yyyy\'}}</span></div>\n                      <div ng-hide="event.type===\'FinCamp\'" style="font-size: 80%">{{event.timeString}}</div>\n                    </div>\n                    <div class="events-list-cell" style="text-align: center"><span ng-hide="event.pdHours<1">{{event.pdHours}}</span></div>\n                    <div class="events-list-cell">\n                      <a ui-sref="my-account-ngpf-acadameny-view-event({id:event.EID, ticketId:event.ticketId})" class="btn btn-primary">View</a>\n                    </div>\n                  </div>\n                </div>\n              </div>\n              <div style="padding: 25px" ng-if="!($ctrl.events && $ctrl.events.present && $ctrl.events.present.length>0)">\n                <p style="font-weight: bold; font-family: Montserrat">You currently have no upcoming events!</p>\n                <p style="font-family: Montserrat">\n                  To register for an upcoming PD, go to the\n                  <a style="color: #1f3b9b; font-family: Montserrat" href="/pd/virtual-pd/">Virtual PD page</a>\n                  or\n                  <a style="color: #1f3b9b; font-family: Montserrat" href="/certification-course/">Certification Course page</a>!\n                </p>\n              </div>\n            </div>\n          </div>\n          <div id="Blogs" class="tabcontent">\n            <h3 class="resourcetitle">TODAY\'S BLOGS</h3>\n            <div>\n              <div ng-repeat="post in $ctrl.blogPosts" style="border-bottom: 1px solid gray; padding-bottom: 5px; margin-bottom: 5px; max-width: 90%; margin-right: auto; margin-left: auto">\n                <h3>\n                  <a class="NGPFDailyBlogTitle" href="{{post.link}}">{{post.name}}</a>\n                </h3>\n\n                <p style="padding: 5px 15px 15px" ng-bind-html="(post.date + \' - \' + post.content) | JkdOutputHtml"></p>\n              </div>\n            </div>\n            <p style="text-align: center; margin: 25px auto; display: block">\n              <a href="https://www.ngpf.org/blog/" rel="noopener" class="NGPFDailyBlogTitle" style="text-align: center" target="_blank">View more Blog Posts</a>\n            </p>\n          </div>\n          \x3c!-- <div id="Emails" class="tabcontent">\n            <h3 class="resourcetitle">RECENT EMAILS</h3>\n            <iframe title="NGPF Past Emails" height="325px" width="825px" style="width: 100% !important" frameborder="0" src="https://us8.campaign-archive.com/home/?u=0210311316ae548f8405db1bc&id=3711609f5e"> </iframe>\n          </div> --\x3e\n        </div>\n      </div>\n      <div class="col-md-4" ng-show="$ctrl.currentUser.cpUsers__cpUsersTypes_recordNumber==2">\n        <div class="NGPFAcademyContainer">\n          <h2 class="sectiontitle">NGPF Academy</h2>\n          <div class="AcademyWhiteContainer">\n            <div style="text-align: center; padding: 25px">\n              <p class="sectiontext" style="text-align: center">You currently have:</p>\n              <h2 class="sectiontitle" style="font-size: 400%; color: #275ce4">{{$ctrl.pdHours}}</h2>\n              <p class="sectiontext" style="text-align: center">NGPF Academy Credit<span ng-show="$ctrl.pdHours!=1">s</span></p>\n              <div class="progress">\n                <div class="progress-bar" role="progressbar" ng-style="{width: ($ctrl.progressWidth + \'\' + \'%\')}" aria-valuenow="{{$ctrl.progressWidth}}" aria-valuemin="0" aria-valuemax="100">{{$ctrl.grade}}</div>\n              </div>\n\n              <div class="mv10" ng-if="$ctrl.nextGrade">\n                You need just {{$ctrl.hoursToReachNext}} credit<span ng-show="$ctrl.hoursToReachNext!=1">s</span>\n                to reach {{$ctrl.nextGrade}} status\n              </div>\n              <a id="ViewMyEventsButton" class="btn btn-md btn-primary" href="/account/#!/my-account-ngpf-academy" rel="noopener" style="margin-top: 1em; background-color: #f78219; max-width: 95%; margin-bottom: 1em" target="_blank">VIEW ALL MY EVENTS</a>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n    <div class="container">\n      <h2 class="sectiontitle" style="text-align: left">Staff Picks</h2>\n      <div style="background-color: white; border-top: 15px #1f3b9b solid; box-shadow: 1px 1px 5px #666666">\n        <div class="row" style="padding: 10px; width: 98%; margin: 0 auto 10px">\n          <div class="col-md-3">\n            <img class="img-responsive" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/Teacher%20Toolkit%202021/staffImages/TT_StaffPick_Daniel.png" alt="staff image" style="display: block; margin: 10px auto" />\n          </div>\n          <div class="col-md-9">\n            <div class="row" style="margin: 15px auto 10px">\n              <div class="col-md-3" style="padding-right: 0; padding-left: 0">\n                <div class="staffResourceCell">\n                  <a class="staffResourceLink" href="https://www.ngpf.org/curriculum/checking/?activityId=216&type=activities&rl=1">\n                    <h3 class="staffResourceTitle">INTERACTIVE: Online Bank Simulator</h3>\n                    <h4 class="staffResourceUnit">Checking</h4>\n                    GO TO RESOURCE></a\n                  >\n                </div>\n              </div>\n              <div class="col-md-3" style="padding-right: 0; padding-left: 0">\n                <div class="staffResourceCell">\n                  <a class="staffResourceLink" href="https://www.ngpf.org/curriculum/taxes/?activityId=475&type=activities">\n                    <h3 class="staffResourceTitle">CALCULATE: Your Federal Taxes Activity</h3>\n                    <h4 class="staffResourceUnit">Taxes</h4>\n                    GO TO RESOURCE></a\n                  >\n                </div>\n              </div>\n              <div class="col-md-3" style="padding-right: 0; padding-left: 0">\n                <div class="staffResourceCell">\n                  <a class="staffResourceLink" href="https://teacher.desmos.com/activitybuilder/custom/621cf9409f4d9b09b6d2837b?r=w.hd&collections=6148d3f03e05895949751eb3" target="_blank">\n                    <h3 class="staffResourceTitle">DESMOS: The Impact of Investing Fees on Exponential Growth</h3>\n                    <h4 class="staffResourceUnit">Investing</h4>\n                    GO TO RESOURCE></a\n                  >\n                </div>\n              </div>\n              <div class="col-md-3" style="padding-right: 0; padding-left: 0">\n                <div class="staffResourceCell" style="border: none">\n                  <a class="staffResourceLink" href="https://www.ngpf.org/curriculum/consumer-skills/?activityId=492&type=activities">\n                    <h3 class="staffResourceTitle">MOVE: Identifying Dark Patterns</h3>\n                    <h4 class="staffResourceUnit">Consumer Skills</h4>\n                    GO TO RESOURCE></a\n                  >\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n  <div class="container">\n    <h2 class="sectiontitle" style="text-align: center; padding: 25px">Implement NGPF in your classroom</h2>\n    <div class="row" style="margin-bottom: 15px">\n      <div class="col-md-4">\n        <div style="padding: 20px 10px">\n          <div class="quickLinksContainer">\n            <a href="/help-center/">\n              <img class="img-responsive quickLinksImage" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/Teacher Toolkit 2021/FAQ_icon10:28:21.svg" alt="frequently asked questions" />\n              <h3 class="quickLinksText">Frequently asked questions</h3>\n            </a>\n          </div>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div style="padding: 20px 10px">\n          <div class="quickLinksContainer">\n            <a href="/usingNGPF/">\n              <img class="img-responsive quickLinksImage" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/Teacher Toolkit 2021/Using_NGPF_icon10:28:21.svg" alt="using NGPF" />\n              <h3 class="quickLinksText">Using NGPF on various platforms</h3>\n            </a>\n          </div>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div style="padding: 20px 10px">\n          <div class="quickLinksContainer">\n            <a href="/personal-finance-forms/">\n              <img class="img-responsive quickLinksImage" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/Teacher Toolkit 2021/PF_Form_templates10:28:21.svg" alt="personal finance forms" />\n              <h3 class="quickLinksText">Personal finance form templates</h3>\n            </a>\n          </div>\n        </div>\n      </div>\n    </div>\n    <div class="row" style="margin-bottom: 50px">\n      <div class="col-md-4">\n        <div style="padding: 20px 10px">\n          <div class="quickLinksContainer">\n            <a href="/tech-free-resources/">\n              <img class="img-responsive quickLinksImage" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/Teacher Toolkit 2021/Non-Tech_icon10:28:21.svg" alt="non tech icon" />\n              <h3 class="quickLinksText">Tech-Free Resources</h3>\n            </a>\n          </div>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div style="padding: 20px 10px">\n          <div class="quickLinksContainer">\n            <a href="https://www.ngpf.org/spanish/">\n              <img class="img-responsive quickLinksImage" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/Teacher Toolkit 2021/TT_spanish_icon@2x1:26:22.png" alt="Spanish Directory icon" />\n              <h3 class="quickLinksText">Spanish & ELL Directory</h3>\n            </a>\n          </div>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div style="padding: 20px 10px">\n          <div class="quickLinksContainer">\n            <a href="https://docs.google.com/spreadsheets/d/1J7bdVR85JHaxI5-9QpcuSeryMNYg4-sOy8SD39vnWHY/edit#gid=883531069" target="_blank">\n              <img class="img-responsive quickLinksImage" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/Teacher Toolkit 2021/TT_retired_icon@2x1:26:22.png" alt="Retired Resources icon" />\n              <h3 class="quickLinksText">Retired Resources</h3>\n            </a>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\n<script>\n  function openCity(evt, cityName) {\n    // Declare all variables\n    var i, tabcontent, tablinks;\n    // Get all elements with class="tabcontent" and hide them\n    tabcontent = document.getElementsByClassName(\'tabcontent\');\n    for (i = 0; i < tabcontent.length; i++) {\n      tabcontent[i].style.display = \'none\';\n    }\n    // Get all elements with class="tablinks" and remove the class "active"\n    tablinks = document.getElementsByClassName(\'tablinks\');\n    for (i = 0; i < tablinks.length; i++) {\n      tablinks[i].className = tablinks[i].className.replace(\' active\', \'\');\n    }\n    // Show the current tab, and add an "active" class to the button that opened the tab\n    document.getElementById(cityName).style.display = \'block\';\n    evt.currentTarget.className += \' active\';\n  }\n\n  // Get the element with id="defaultOpen" and click on it\n  document.getElementById(\'defaultOpen\').click();\n\n  $(function () {\n    $(\'[data-toggle="tooltip"]\').tooltip();\n  });\n\n  $(function () {\n    $(\'#defaultOpen\').addClass(\'activeTab\');\n  });\n\n  $(function () {\n    $(\'.tablinks\').on(\'click\', function () {\n      $(\'.tablinks\').removeClass(\'activeTab\'); /* solution for a. */\n      $(this).addClass(\'activeTab\'); /* solution for a. */\n      var i = $(this).attr(\'href\');\n    });\n  });\n<\/script>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountExample",{template:n(425),bindings:{},controller:["$rootScope","appService","userService",function(e,t,n){var r=this;e.myAccountTitle="My Account Example",this.items=[],this.currentUser=null,this.getUser=function(){n.getUser().then(function(e){r.currentUser=e},function(e){})},this.$onInit=function(){r.getUser(),t.processData({url:"/aaa-content/user/api/my-account-example/",method:"post",data:{}}).then(function(e){r.items=e},function(e){"No User Authorization header sent."===e&&(window.location.href="/")})}}]})}},function(e,t){e.exports='<div class="container">\n  <div class="row">\n    <div class="col-md-12">\n      <h2>Person Info</h2>\n      \x3c!-- This is how you access data that is an object --\x3e\n      <div>First Name:</div>\n      <div>{{$ctrl.currentUser.cpUsers_firstName}}</div>\n      <div>Last Name:</div>\n      <div>{{$ctrl.currentUser.cpUsers_lastName}}</div>\n\n      <h2>Items</h2>\n      \x3c!-- This is how you access data that is an array --\x3e\n      <div ng-repeat="item in $ctrl.items | limitTo : 4">\n        <div><a href="{{item.cpPosts_url}}">{{item.cpPosts_name}}</a></div>\n        <hr />\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountKeys",{template:n(427),bindings:{},controller:["$rootScope","appService",function(e,t){var n=this;e.myAccountTitle="Answer Keys",console.log("test"),this.ajaxPrefix="/aaa-content/user/api/events/",this.eventsLoaded=!1,this.$onInit=function(){t.processData({url:n.ajaxPrefix+"user-events/",method:"post",data:{}}).then(function(e){n.eventsLoaded=!0,n.events=e.userEvents,n.pdHours=e.pdHours,n.grade=e.grade,n.hoursToReachNext=e.hoursToReachNext,n.nextGrade=e.nextGrade,n.progressWidth=e.progressWidth},function(e){"No User Authorization header sent."===e&&(window.location.href="/")})}}]})}},function(e,t){e.exports='<div class="container">\n  <div class="row">\n    <div class="col-md-12"></div>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountLeftNav",{template:n(429),bindings:{},controller:["$rootScope","appService",function(e,t){this.$onInit=function(){}}]})}},function(e,t){e.exports='<div class="pr20-md" style="border-top: solid darkblue 0.5em; box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.35)">\n  <div class="row" style="padding: 40px" style="font-size: 0.75em">\n    <div class="left-nav-list-item" style="font-size: 0.75em">\n      <a ui-sref="my-account-dashboard"\n        ><p class="sidebartext"><span class="glyphicon glyphicon-user"> </span>MY DASHBOARD</p>\n      </a>\n    </div>\n    <div class="left-nav-list-item" style="font-size: 0.75em">\n      <a ui-sref="my-account-ngpf-academy"\n        ><p class="sidebartext"><span class="glyphicon glyphicon-education"></span>MY NGPF ACADEMY</p></a\n      >\n    </div>\n    <div class="left-nav-list-item" style="font-size: 0.75em">\n      <a ui-sref="my-account-profile"\n        ><p class="sidebartext"><span class="glyphicon glyphicon-user"> </span> MY PROFILE</p>\n      </a>\n    </div>\n    <div class="left-nav-list-item" style="font-size: 0.75em">\n      <a href="/refer/" target="_blank"\n        ><p class="sidebartext"><span class="glyphicon glyphicon-duplicate"></span>REFER TEACHERS TO NGPF</p></a\n      >\n    </div>\n    \x3c!--<div class="left-nav-list-item">\n    <a href="/blog/professional-development/introducing-ngpf-academy/">About NGPF Academy</a>\n</div>--\x3e\n    \x3c!--        <div class="left-nav-list-item" style="font-size: .75em;">--\x3e\n    \x3c!--            <a target="_blank"--\x3e\n    \x3c!--               href="https://docs.google.com/forms/d/e/1FAIpQLSdpHvTj79L-q41jm9iBjoXGeVGakluggI7BYqFQ6ry4vHvTzQ/viewform">--\x3e\n    \x3c!--                <p class="sidebartext"><span--\x3e\n    \x3c!--                        class="glyphicon glyphicon-envelope"></span>RESEND--\x3e\n    \x3c!--                    ANSWER KEYS</p></a>--\x3e\n    \x3c!--        </div>--\x3e\n    \x3c!--        <div class="left-nav-list-item" style="font-size: .75em;">--\x3e\n    \x3c!--            <a href="/pd/virtual-pd/" target="_blank"><p class="sidebartext"><span--\x3e\n    \x3c!--                    class="glyphicon glyphicon-list-alt"></span>REGISTER FOR--\x3e\n    \x3c!--                ONLINE PD</p></a>--\x3e\n    \x3c!--        </div>--\x3e\n    \x3c!--        <div class="left-nav-list-item" style="font-size: .75em;">--\x3e\n    \x3c!--            <a href="/teacher-toolkit/" target="_blank"><p class="sidebartext"><span--\x3e\n    \x3c!--                    class="glyphicon glyphicon-briefcase"></span>ACCESS--\x3e\n    \x3c!--                TEACHER TOOLKIT</p></a>--\x3e\n    \x3c!--        </div>--\x3e\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountNgpfAcadamenyViewEvent",{template:n(431),bindings:{},controller:["$rootScope","appService","$state","$stateParams","userService",function(e,t,n,r,i){var o=this;e.myAccountTitle="My NGPF Academy",this.ajaxPrefix="/aaa-content/user/api/events/",this.loaded=!1,this.nearPodStarted=!1,this.eventsLoaded=!1,this.cancelRegistration=function(e){t.processData({url:o.ajaxPrefix+"cancel-event/",method:"post",data:{ticketId:e}}).then(function(e){alert("Registration was successfuly cancelled"),n.go("my-account-ngpf-academy")},function(e){alert("There was an error. Registration was not cancelled")})},this.confirmRegistration=function(e){t.processData({url:o.ajaxPrefix+"confirm-event/",method:"post",data:{ticketId:e}}).then(function(e){alert("Registration was successfuly confirmed"),n.reload()},function(e){alert("There was an error. Registration was not cancelled")})},this.startNearpod=function(e){t.processData({url:o.ajaxPrefix+"start-nearpod/",method:"post",data:{eventId:r.id,ticketId:r.ticketId}}).then(function(e){o.nearPodStarted=!0}),window.open(e)},this.$onInit=function(){o.eventId=r.id,o.ticketId=r.ticketId,o.certUrl="",t.processData({url:o.ajaxPrefix+"get-ticket/",method:"post",data:{id:r.id,ticketId:r.ticketId}}).then(function(e){o.event=e.event,o.loaded=!0,o.event.ticketStartTime&&(o.nearPodStarted=!0)}),i.getUser().then(function(e){console.log("get user done",e),o.currentUser=e,o.certUrl="/event-certificates/?e="+o.eventId+"&t="+o.ticketId+"&u="+o.currentUser.cpUsers_uuid},function(e){console.log("get user error",e)})}}]})}},function(e,t){e.exports='<div class="container">\n    \x3c!-- <a ng-if="$ctrl.event.type===\'FinCamp\' || $ctrl.event.type===\'FinCampPLUS\'" href="/pd/fincamps/">Back to Events</a>\n  <a ng-if="!($ctrl.event.type===\'FinCamp\' || $ctrl.event.type===\'FinCampPLUS\')" href="/pd/virtual-pd/">Back to Events</a> --\x3e\n\n    <div class="topEventHeader" ng-if="$ctrl.loaded">\n        <h3>{{$ctrl.event.type === \'VPD\' ? \'Virtual PD\' : $ctrl.event.type}} {{$ctrl.event.type === \'FinCampPLUS\' ? \'Application\' : \'Registration\'}}</h3>\n        <h1><span ng-show="$ctrl.event.type === \'FinCamp\'">{{$ctrl.event.type}}: </span>{{$ctrl.event.title}}</h1>\n    </div>\n\n    <div class="mv30">\n        <div ng-if="!$ctrl.loaded">Loading...</div>\n        <div ng-if="$ctrl.loaded">\n            <div class="row">\n                <div class="col-md-6">\n                    <div class="eventDetailsContainer">\n                        <h3 style="margin-top: 0; padding-top: 0">Event Details</h3>\n                        <div class="mt20" ng-if="$ctrl.event.type!==\'FinCampPLUS\'">\n                            <div class="row">\n                                <div class="col-md-3">\n                                    <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Status-icon.svg" alt="Status Icon"> <span class="blueEventDetails">Status</span></h3>\n                                </div>\n                                <div class="col-md-9">\n                                    <h3>{{$ctrl.event.status}}</h3>\n                                </div>\n                                <div class="col-md-12">\n                                    <h3 style="margin: 20px 0" ng-if="$ctrl.event.status===\'Flagged\'"><i class="fa fa-exclamation-triangle"></i> Please contact <a href="mailto:ondemand@ngpf.org">ondemand@ngpf.org</a> for more details.</h3>\n                                </div>\n                            </div>\n                        </div>\n                        <div ng-if="$ctrl.event.virtual">\n                            <div class="row" ng-hide="$ctrl.event.type == \'NGPF On-Demand\'">\n                                <div class="col-md-3">\n                                    <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Date-icon.svg" alt="Date Icon"> <span class="blueEventDetails">Date </span></h3>\n                                </div>\n                                <div class="col-md-9">\n                                    <h3>{{$ctrl.event.startDate | date:\'M/d/yyyy\'}} <span ng-show="$ctrl.event.startDate !== $ctrl.event.endDate"> - {{$ctrl.event.endDate | date:\'M/d/yyyy\'}}</span></h3>\n                                </div>\n                            </div>\n                            <div class="row" ng-hide="$ctrl.event.type == \'NGPF On-Demand\'">\n                                <div class="col-md-3">\n                                    <h3 style="font-size: 16px;"><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Time-icon.svg" alt="Time Icon"> <span class="blueEventDetails">Time </span></h3>\n                                </div>\n                                <div class="col-md-9">\n                                    <h3>{{$ctrl.event.timeString}}</h3>\n                                </div>\n                            </div>\n                            <div class="row">\n                                <div class="col-md-3">\n                                    <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Cost-icon.svg" alt="Cost Icon"> <span class="blueEventDetails">Cost</span></h3>\n                                </div>\n                                <div class="col-md-9">\n                                    <h3>FREE</h3>\n                                </div>\n                            </div>\n                            <div class="row" ng-hide="$ctrl.event.duration<1">\n                                <div class="col-md-3">\n                                    <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Credit-icon.svg" alt="Credit Icon"> <span class="blueEventDetails">Credit</span></h3>\n                                </div>\n                                <div class="col-md-9">\n                                    <h3>{{$ctrl.event.pdHours}} NGPF Academy Credit<span ng-show="$ctrl.event.pdHours!=1">s</span></h3>\n                                </div>\n                            </div>\n                        </div>\n                        <div class="row" ng-hide="$ctrl.event.type !== \'FinCamp\'">\n                            <div class="col-md-3">\n                                <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/location-icon.svg" alt="Location Icon" /> <span class="blueEventDetails">Location</span></h3>\n                            </div>\n                            <div class="col-md-9">\n                                <h3>{{$ctrl.event.location}}</h3>\n                                <h3>{{$ctrl.event.address}}</h3>\n                                <h3>{{$ctrl.event.city}}, {{$ctrl.event.state}} {{$ctrl.event.zipcode}}</h3>\n                            </div>\n                        </div>\n                        <div style="margin-top: 25px;" ng-show="$ctrl.event.status !== \'Attended\'">\n                            <div ng-bind-html="$ctrl.event.description | JkdOutputHtml"></div>\n                        </div>\n                    </div>\n                    <div ng-if="$ctrl.event.ticketId" style="margin-top: 15px;">\n                        <div>\n                            <div ng-if="$ctrl.event.showConfirm && !$ctrl.showConfirm">\n                                <button ng-click="$ctrl.showConfirm=true" class="btn btn-primary btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219;">Confirm Registration</button>\n                            </div>\n                            <div ng-if="$ctrl.showConfirm">\n                                <h3>Confirm this Registration?</h3>\n\n                                <div class="mv10">\n                                    <button ng-click="$ctrl.confirmRegistration($ctrl.event.ticketId)" class="btn btn-success eventButton" style="background-color: #F78219; border: 2px solid #F78219;">Yes, Confirm this Registration</button>\n                                </div>\n\n                                <div class="mv10">\n                                    <button ng-click="$ctrl.showConfirm=false;" class="btn btn-default eventButton" style="background-color: white; color: #F78219; border: 2px solid #F78219;">No, Do Not Confirm</button>\n                                </div>\n                            </div>\n                        </div>\n\n                        <div ng-if="$ctrl.event.virtual && $ctrl.event.zoom && $ctrl.event.status !== \'Attended\'">\n                            <a target="_blank" href="{{$ctrl.event.zoom}}" class="btn btn-success btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219;">JOIN ZOOM SESSION </a>\n                        </div>\n                        <div ng-if="$ctrl.event.status === \'Attended\'">\n                            <div ng-if="$ctrl.event.certificate" class="mb40">\n                                <a target="_blank" ng-href="{{$ctrl.event.certificate}}" class="btn btn-primary btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219;">View Your Certificate</a>\n                            </div>\n                            <div ng-if="!$ctrl.event.certificate && $ctrl.certUrl" class="mb40">\n                                <a target="_blank" ng-href="{{$ctrl.certUrl}}" class="btn btn-primary btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219;">Open Your Certificate</a>\n                            </div>\n                        </div>\n                        <div>\n                            <div ng-if="!$ctrl.event.virtual">\n                                <h3><span class="blueEventDetails">{{$ctrl.event.type}}</span> {{$ctrl.event.city}}, {{$ctrl.event.state}}</p>\n                                    <h3><span class="blueEventDetails">Date&nbsp;</span> {{$ctrl.event.startDate | date:\'M/d/yyyy\'}} <span ng-show="$ctrl.event.startDate !== $ctrl.event.endDate"> - {{$ctrl.event.endDate | date:\'M/d/yyyy\'}}</span></p>\n                                        <h3 style="font-size: 16px;"><span class="blueEventDetails">Time&nbsp;</span> {{$ctrl.event.timeString}}</h3>\n                                        <h3><span class="blueEventDetails">Location&nbsp;</span> {{$ctrl.event.location}}</h3>\n                                        <h3><span class="blueEventDetails">Address&nbsp;</span>{{$ctrl.event.address}}</p>\n                                            <h3>{{$ctrl.event.city}}, {{$ctrl.event.state}} {{$ctrl.event.zipcode}}</h3>\n                            </div>\n                        </div>\n\n                        <div ng-if="$ctrl.event.activityLink && $ctrl.event.status !== \'Attended\'" class="mv30 pv30 ph30" style="border: 1px solid gray">\n                            <h3>Start your Nearpod Module:</h3>\n                            <p>You can put your user code as the "optional name" to track your results:</p>\n                            <p>\n                                <strong>{{$ctrl.currentUser.cpUsers_uuid}}</strong>\n                            </p>\n\n                            <div class="mt20" ng-hide="$ctrl.nearPodStarted">\n                                <a target="_blank" ng-click="$ctrl.startNearpod($ctrl.event.activityLink)" class="btn btn-success btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219;"> START MODULE </a>\n                            </div>\n\n                            <div class="mt20" ng-show="$ctrl.nearPodStarted">\n                                <a target="_blank" href="{{$ctrl.event.activityLink}}" class="btn btn-success btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219;"> OPEN MODULE </a>\n                            </div>\n                        </div>\n\n                        <div ng-if="$ctrl.event.status === \'Registered\' && !$ctrl.showCancel" class="mt20">\n                            <button ng-click="$ctrl.showCancel=true" class="btn btn-danger btn-lg eventButton" style="background-color: white; color: #F78219; border: 2px solid #F78219;">Cancel {{$ctrl.event.type === \'FinCampPLUS\' ? \'Application\' : \'Registration\'}}</button>\n                        </div>\n                        <div ng-if="$ctrl.showCancel">\n                            <h3>Cancel this {{$ctrl.event.type === \'FinCampPLUS\' ? \'Application\' : \'Registration\'}}?</h3>\n\n                            <div class="mv10">\n                                <button ng-click="$ctrl.showCancel=false;" class="btn btn-default eventButton" style="background-color: #F78219; color: white; border: 2px solid #F78219;">No, Do Not Cancel</button>\n                            </div>\n                            <div class="mv10">\n                                <button ng-click="$ctrl.cancelRegistration($ctrl.event.ticketId)" class="btn btn-danger eventButton" style="background-color: white; color: #F78219; border: 2px solid #F78219;">Yes, Cancel this {{$ctrl.event.type === \'FinCampPLUS\' ? \'Application\' : \'Registration\'}}</button>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class="col-md-6">\n                    <div ng-show="$ctrl.event.descriptionAfterSession && $ctrl.event.status === \'Attended\'" ng-bind-html="$ctrl.event.descriptionAfterSession | JkdOutputHtml"></div>\n                    <div ng-show="$ctrl.event.type == \'VPD\' && $ctrl.event.status !== \'Attended\'">\n                        <h3>ABOUT VIRTUAL PDS</h3>\n                        <p>Virtual PD is a live Zoom, facilitated by NGPF, with teachers from around the country focused on collaboration and growth. Each session is fully interactive and designed boost your content knowledge or build your teaching repertoire. </p>\n                        <div class="tutorialContainer">\n                            <h3 style="margin-top: 5px;">IMPORTANT:</h3>\n                            <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=679A587253339F8104CB97A2E210F6E8-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>\n                        </div>\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'NGPF On-Demand\'">\n                        <h3>ABOUT ON-DEMANDS</h3>\n                        <p>Each On-Demand module should take about one hour to complete using a self-paced Nearpod. It\'s PD on your schedule, when you need it! To begin, register for the On-Demand module. Once you click submit, you will be able to start the module at any time from this page. Please plan to complete it in a single sitting so your work is saved. PD credit is subject to NGPF review of time in the session and quality of responses. </p>\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'Certification Course\' && $ctrl.event.status !== \'Attended\'">\n                        <h3>ABOUT CERTIFICATION COURSES</h3>\n                        <p>To receive an NGPF Certification, you must successfully complete a 10-hour course -- 9 hours of live PD and a 1-hour course exam. Completing 6 Certification Courses leads to the <a href="https://www.ngpf.org/blog/professional-development/introducing-the-ngpf-distinguished-educator-award/" target="_blank">Distinguished Educator award</a>, and teachers in <a href="https://www.ngpf.org/state-pd-credits/" target="_blank">eligible states</a> may receive CEU credits for completing Cert Courses.</p>\n                        <div class="tutorialContainer">\n                            <h3 style="margin-top: 5px;">IMPORTANT:</h3>\n                            <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=679A587253339F8104CB97A2E210F6E8-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>\n                        </div>\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'FinCamp\'">\n                        <img style="margin: 0 auto; display: block; max-width: 100px;" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/FinCamp%20Logo.png" alt="fincamp logo">\n                        <h2 style="font-family: Montserrat; font-size: 18px; font-weight: bold; color: #1f3b9b;">ABOUT FINCAMPS</h2>\n                        <p style="font-family: Montserrat; font-size: 16px; font-weight: bold;">NGPF&rsquo;s Summer FinCamp is a one day long, in-person NGPF training led by two NGPF facilitators. Attend a PD that educators are calling &ldquo;the most productive content PD they experienced this school year!&rdquo;</p>\n                        <div style="margin: 50px auto;">\n                            <h2 style="font-family: Montserrat; font-size: 18px; font-weight: bold; color: #1f3b9b">WHAT TO EXPECT AT THE FINCAMP</h2>\n                            <div class="row">\n                                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_curated.svg" alt="curated icon" /></div>\n                                <div class="col-md-10">\n                                    <p style="font-family: Montserrat; font-size: 16px">Deep-dive into NGPF&rsquo;s expertly <span style="font-weight: bold">CURATED</span>, award-winning curriculum</p>\n                                </div>\n                            </div>\n                            <div class="row">\n                                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_customize.svg" alt="customize icon" /></div>\n                                <div class="col-md-10">\n                                    <p style="font-family: Montserrat; font-size: 16px"><span style="font-weight: bold">CUSTOMIZE</span> lessons and instruction to best meet your students&rsquo; unique Learning needs</p>\n                                </div>\n                            </div>\n                            <div class="row">\n                                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_collab.svg" alt="collab icon" /></div>\n                                <div class="col-md-10">\n                                    <p style="font-family: Montserrat; font-size: 16px"><span style="font-weight: bold">COLLABORATE</span> to share ideas and form an empowered network of outstanding educators</p>\n                                </div>\n                            </div>\n                            <div class="row">\n                                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_current.svg" alt="current icon" /></div>\n                                <div class="col-md-10">\n                                    <p style="font-family: Montserrat; font-size: 16px">Elevate your teaching <span style="font-weight: bold">CURRENT</span> confidence with useful 21st-century FinCap content</p>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'FinCampPLUS\' && $ctrl.event.status !== \'Attended\'">\n                        <h3>ABOUT FINCAMP PLUS</h3>\n                        <p>Collaborate with passionate personal finance educators locally, as well as NGPF team members in an interactive environment. Find resources that you can implement immediately in your classroom. Build your content knowledge through specialized sessions.</p>\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'Conference\' && $ctrl.event.status !== \'Attended\'">\n                        \x3c!-- <h3>ABOUT CONFERENCES</h3>\n                        <p>With guest speakers and giveaways, plus a full day of virtual content, NGPF Conferences are designed to refresh, re-energize, and re-up your resources. Select one session per time slot to create the ideal sequence to fit in your weekend schedule.</p>\n                        <div class="tutorialContainer">\n                            <h3 style="margin-top: 5px;">IMPORTANT:</h3>\n                            <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=679A587253339F8104CB97A2E210F6E8-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>\n                        </div> --\x3e\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>'},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){t.component("myAccountNgpfAcademyRegister",{template:n(433),bindings:{},controller:["$rootScope","appService","$state","$stateParams","userService",function(t,n,r,i,o){var a=this;t.myAccountTitle="My NGPF Academy",this.ajaxPrefix="/aaa-content/user/api/events/",this.loaded=!1,this.currentUser=null,this.registrationForm={},this.eventsLoaded=!1,this.updateForm=function(){console.log("form updating..."),a.registrationForm.question_12=" N/A not my first NGPF Online PD",a.currentUser.cpUsers_email&&(a.registrationForm.ngpfEmail=a.currentUser.cpUsers_email),"Webinar"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_57=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_58=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_59=a.currentUser.cpUsers_lastName)),"Certification Course"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_89=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_90=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_91=a.currentUser.cpUsers_lastName)),"NGPF On-Demand"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_103=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_104=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_105=a.currentUser.cpUsers_lastName)),"Conference"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_52=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_50=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_51=a.currentUser.cpUsers_lastName)),"VPD"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_38=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_41=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_42=a.currentUser.cpUsers_lastName),a.currentUser.extras.hear_about_prof_dev&&(a.registrationForm.question_75=" N/A not my first NGPF Online PD")),"VirtualFinCamp"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_46=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_47=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_48=a.currentUser.cpUsers_lastName)),"FinCamp"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_3=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_4=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_5=a.currentUser.cpUsers_lastName),a.currentUser.extras.phone_number&&(a.registrationForm.question_6=a.currentUser.extras.phone_number),a.currentUser.extras.school_name&&(a.registrationForm.question_7=a.currentUser.extras.school_name),a.currentUser.extras.number_of_students&&(a.registrationForm.question_8=a.currentUser.extras.number_of_students),a.currentUser.extras.percent_of_courses_use_ngpf&&(a.registrationForm.question_9=a.currentUser.extras.percent_of_courses_use_ngpf),a.currentUser.extras.grade_taught&&(a.registrationForm.question_10=a.currentUser.extras.grade_taught),a.currentUser.extras.subject_taught&&(a.registrationForm.question_11=a.currentUser.extras.subject_taught),a.currentUser.extras.hear_about_fincamp&&(a.registrationForm.question_12=a.currentUser.extras.hear_about_fincamp),a.currentUser.extras.dietary_requirements&&(a.registrationForm.question_13=a.currentUser.extras.dietary_requirements),a.currentUser.extras.additional_details&&(a.registrationForm.question_15=a.currentUser.extras.additional_details)),"FinCampPLUS"===a.event.type&&(a.currentUser.cpUsers_email&&(a.registrationForm.question_19=a.currentUser.cpUsers_email),a.currentUser.cpUsers_firstName&&(a.registrationForm.question_20=a.currentUser.cpUsers_firstName),a.currentUser.cpUsers_lastName&&(a.registrationForm.question_21=a.currentUser.cpUsers_lastName),a.currentUser.extras.phone_number&&(a.registrationForm.question_22=a.currentUser.extras.phone_number),a.currentUser.extras.school_name&&(a.registrationForm.question_23=a.currentUser.extras.school_name))},this.getUser=function(){o.getUser().then(function(e){console.log("get user done",e),a.currentUser=e,a.checkIfRegistered(),a.updateForm()},function(e){console.log("get user error",e)})},this.register=function(){a.savingForm=!0,n.processData({url:a.ajaxPrefix+"register/",method:"post",data:{eventID:i.id,registrationForm:a.registrationForm}}).then(function(t){a.savingForm=!1,a.currentUser?(window&&window.dataLayer&&window.dataLayer.push({event:"vpd-register"}),alert("Form was successfuly completed"),t&&t.ticketId?r.go("my-account-ngpf-acadameny-view-event",{id:i.id,ticketId:t.ticketId}):alert("There was an issue, feel free to try again.")):t&&t.ticketId?(r.go("my-account-ngpf-acadameny-view-event",{id:i.id,ticketId:t.ticketId}),t.alreadyMember?(alert("Form was successfully completed. You can also login to NGPF to avoid entering your information each time you register."),e("#myModal").modal()):(alert("Form was successfully completed. You can now create a free teacher account which will let you view and edit your registrations."),window.location.href="/onboarding-step1/")):alert("There was an issue, feel free to try again.")},function(e){a.savingForm=!1,alert(e||"There was an error. Registration was not completed")})},this.checkIfRegistered=function(){n.processData({url:a.ajaxPrefix+"check-if-registered/",method:"post",data:{eventID:i.id}}).then(function(e){r.go("my-account-ngpf-acadameny-view-event",{ticketId:e,id:i.id})},function(e){})},this.$onInit=function(){n.processData({url:a.ajaxPrefix+"get-event/",method:"post",data:{id:i.id}}).then(function(e){a.event=e.event,a.loaded=!0,console.log("this.event",a.event),a.getUser()})}}]})}}).call(t,n(11))},function(e,t){e.exports='<div class="container">\n  <div class="topEventHeader" ng-if="$ctrl.loaded">\n    <h3>{{$ctrl.event.type === \'VPD\' ? \'Virtual PD\' : $ctrl.event.type}} {{$ctrl.event.type === \'FinCampPLUS\' ? \'Application\' : \'Registration\'}}</h3>\n    <h1><span ng-show="$ctrl.event.type === \'FinCamp\'">{{$ctrl.event.type}}: </span>{{$ctrl.event.title}}</h1>\n  </div>\n  <div class="mv30">\n    <div ng-if="!$ctrl.loaded">Loading...</div>\n    <div ng-if="$ctrl.loaded">\n      <div class="row mv20">\n        <div class="col-md-6">\n          <div class="eventDetailsContainer">\n            <h3 style="margin-top: 0; padding-top: 0">Event Details</h3>\n            <div ng-if="!($ctrl.event.virtual && $ctrl.event.virtual!==0 && $ctrl.event.virtual!==\'0\')">\n              <div class="row">\n                <div class="col-md-3">\n                  <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Date-icon.svg" alt="Date Icon" /> <span class="blueEventDetails">Date</span></h3>\n                </div>\n                <div class="col-md-9">\n                  <h3>{{$ctrl.event.startDate | date:\'M/d/yyyy\'}} <span ng-show="$ctrl.event.startDate !== $ctrl.event.endDate"> - {{$ctrl.event.endDate | date:\'M/d/yyyy\'}}</span></h3>\n                </div>\n              </div>\n              <div class="row">\n                <div class="col-md-3">\n                  <h3 style="font-size: 16px"><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Time-icon.svg" alt="Time Icon" /> <span class="blueEventDetails">Time</span></h3>\n                </div>\n                <div class="col-md-9">\n                  <h3>{{$ctrl.event.timeString}}</h3>\n                </div>\n              </div>\n              <div class="row">\n                <div class="col-md-3">\n                  <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Cost-icon.svg" alt="Cost Icon" /> <span class="blueEventDetails">Cost</span></h3>\n                </div>\n                <div class="col-md-9">\n                  <h3>FREE</h3>\n                </div>\n              </div>\n              <div class="row" ng-hide="$ctrl.event.duration<1">\n                <div class="col-md-3">\n                  <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Credit-icon.svg" alt="Credit Icon" /> <span class="blueEventDetails">Credit</span></h3>\n                </div>\n                <div class="col-md-9">\n                  <h3>{{$ctrl.event.duration}} NGPF Academy Credit<span ng-show="$ctrl.event.duration!=1">s</span></h3>\n                </div>\n              </div>\n              <div class="row">\n                <div class="col-md-3">\n                  <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/location-icon.svg" alt="Location Icon" /> <span class="blueEventDetails">Location</span></h3>\n                </div>\n                <div class="col-md-9">\n                  <h3>{{$ctrl.event.location}}</h3>\n                  <h3>{{$ctrl.event.address}}</h3>\n                  <h3>{{$ctrl.event.city}}, {{$ctrl.event.state}} {{$ctrl.event.zipcode}}</h3>\n                </div>\n              </div>\n            </div>\n            <div ng-if="$ctrl.event.virtual && $ctrl.event.virtual!==0 && $ctrl.event.virtual!==\'0\'">\n              <div ng-hide="$ctrl.event.type===\'NGPF On-Demand\'">\n                <div class="row">\n                  <div class="col-md-3">\n                    <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Date-icon.svg" alt="Date Icon" /> <span class="blueEventDetails">Date</span></h3>\n                  </div>\n                  <div class="col-md-9">\n                    <h3>{{$ctrl.event.startDate | date:\'M/d/yyyy\'}} <span ng-show="$ctrl.event.startDate !== $ctrl.event.endDate"> - {{$ctrl.event.endDate | date:\'M/d/yyyy\'}}</span></h3>\n                  </div>\n                </div>\n                <div class="row">\n                  <div class="col-md-3">\n                    <h3 style="font-size: 16px"><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Time-icon.svg" alt="Time Icon" /> <span class="blueEventDetails">Time</span></h3>\n                  </div>\n                  <div class="col-md-9">\n                    <h3>{{$ctrl.event.timeString}}</h3>\n                  </div>\n                </div>\n              </div>\n              <div class="row">\n                <div class="col-md-3">\n                  <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Cost-icon.svg" alt="Cost Icon" /> <span class="blueEventDetails">Cost</span></h3>\n                </div>\n                <div class="col-md-9">\n                  <h3>FREE</h3>\n                </div>\n              </div>\n              <div class="row" ng-hide="$ctrl.event.duration<1">\n                <div class="col-md-3">\n                  <h3><img class="eventDetailsIcon" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/Credit-icon.svg" alt="Credit Icon" /> <span class="blueEventDetails">Credit</span></h3>\n                </div>\n                <div class="col-md-9">\n                  <h3>{{$ctrl.event.duration}} NGPF Academy Credit<span ng-show="$ctrl.event.duration!=1">s</span></h3>\n                </div>\n              </div>\n            </div>\n            <div style="margin-top: 25px">\n              <div ng-bind-html="$ctrl.event.description | JkdOutputHtml"></div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-6">\n          <div ng-show="$ctrl.event.type == \'VPD\' && $ctrl.event.status !== \'Attended\'">\n            <h3>ABOUT VIRTUAL PDS</h3>\n            <p>Virtual PD is a live Zoom, facilitated by NGPF, with teachers from around the country focused on collaboration and growth. Each session is fully interactive and designed boost your content knowledge or build your teaching repertoire. </p>\n            <div class="tutorialContainer">\n              <h3 style="margin-top: 5px">IMPORTANT:</h3>\n              <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=679A587253339F8104CB97A2E210F6E8-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>\n            </div>\n          </div>\n          <div ng-show="$ctrl.event.type == \'NGPF On-Demand\'">\n            <h3>ABOUT ON-DEMANDS</h3>\n            <p>\n              Each On-Demand module should take about one hour to complete using a self-paced Nearpod. It\'s PD on your schedule, when you need it! To begin, register for the On-Demand module. Once you click submit, you will be able to start the module at any time from this page. Please plan to\n              complete it in a single sitting so your work is saved. PD credit is subject to NGPF review of time in the session and quality of responses. \n            </p>\n          </div>\n          <div ng-show="$ctrl.event.type == \'Certification Course\' && $ctrl.event.status !== \'Attended\'">\n            <h3>ABOUT CERTIFICATION COURSES</h3>\n            <p>\n              To receive an NGPF Certification, you must successfully complete a 10-hour course -- 9 hours of live PD and a 1-hour course exam. Completing 6 Certification Courses leads to the\n              <a href="https://www.ngpf.org/blog/professional-development/introducing-the-ngpf-distinguished-educator-award/" target="_blank">Distinguished Educator award</a>, and teachers in <a href="https://www.ngpf.org/state-pd-credits/" target="_blank">eligible states</a> may receive CEU credits\n              for completing Cert Courses.\n            </p>\n            <div class="tutorialContainer">\n              <h3 style="margin-top: 5px">IMPORTANT:</h3>\n              <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=679A587253339F8104CB97A2E210F6E8-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>\n            </div>\n          </div>\n          <div ng-show="$ctrl.event.type == \'FinCamp\'">\n            <img style="margin: 0 auto; display: block; max-width: 100px" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/FinCamp%20Logo.png" alt="fincamp logo" />\n            <h2 style="font-family: Montserrat; font-size: 18px; font-weight: bold; color: #1f3b9b">ABOUT FINCAMPS</h2>\n            <p style="font-family: Montserrat; font-size: 16px; font-weight: bold">\n              NGPF&rsquo;s Summer FinCamp is a one day long, in-person NGPF training led by two NGPF facilitators. Attend a PD that educators are calling &ldquo;the most productive content PD they experienced this school year!&rdquo;\n            </p>\n            <div style="margin: 50px auto">\n              <h2 style="font-family: Montserrat; font-size: 18px; font-weight: bold; color: #1f3b9b">WHAT TO EXPECT AT THE FINCAMP</h2>\n              <div class="row">\n                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_curated.svg" alt="curated icon" /></div>\n                <div class="col-md-10">\n                  <p style="font-family: Montserrat; font-size: 16px">Deep-dive into NGPF&rsquo;s expertly <span style="font-weight: bold">CURATED</span>, award-winning curriculum</p>\n                </div>\n              </div>\n              <div class="row">\n                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_customize.svg" alt="customize icon" /></div>\n                <div class="col-md-10">\n                  <p style="font-family: Montserrat; font-size: 16px"><span style="font-weight: bold">CUSTOMIZE</span> lessons and instruction to best meet your students&rsquo; unique Learning needs</p>\n                </div>\n              </div>\n              <div class="row">\n                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_collab.svg" alt="collab icon" /></div>\n                <div class="col-md-10">\n                  <p style="font-family: Montserrat; font-size: 16px"><span style="font-weight: bold">COLLABORATE</span> to share ideas and form an empowered network of outstanding educators</p>\n                </div>\n              </div>\n              <div class="row">\n                <div class="col-md-2"><img style="max-width: 50px; margin: 0 auto; display: block" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_current.svg" alt="current icon" /></div>\n                <div class="col-md-10">\n                  <p style="font-family: Montserrat; font-size: 16px">Elevate your teaching <span style="font-weight: bold">CURRENT</span> confidence with useful 21st-century FinCap content</p>\n                </div>\n              </div>\n            </div>\n          </div>\n          <div ng-show="$ctrl.event.type == \'FinCampPLUS\' && $ctrl.event.status !== \'Attended\'">\n            <h3>ABOUT FINCAMP PLUS</h3>\n            <p>Collaborate with passionate personal finance educators locally, as well as NGPF team members in an interactive environment. Find resources that you can implement immediately in your classroom. Build your content knowledge through specialized sessions.</p>\n          </div>\n          <div ng-show="$ctrl.event.type == \'Conference\' && $ctrl.event.status !== \'Attended\'">\n            \x3c!-- <h3>ABOUT CONFERENCES</h3>\n            <p>With guest speakers and giveaways, plus a full day of virtual content, NGPF Conferences are designed to refresh, re-energize, and re-up your resources. Select one session per time slot to create the ideal sequence to fit in your weekend schedule.</p>\n            <div class="tutorialContainer">\n              <h3 style="margin-top: 5px">IMPORTANT:</h3>\n              <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=679A587253339F8104CB97A2E210F6E8-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>\n            </div> --\x3e\n          </div>\n        </div>\n      </div>\n      <div class="registrationQuestionsSection">\n        <div class="panel">\n          <div class="myhiddendiv hidden" id="waitlist" style="display: none">0</div>\n\n          <div id="registration">\n            <h2 ng-if="$ctrl.event.type===\'FinCampPLUS\'">Application Form</h2>\n\n            <p id="form-info">Enter your name as you would like it to appear on your PD Certificate. Your PD Certificate will be available in your <a href="/account/#!/my-account-ngpf-academy" style="font-weight: bold; color: #f78219">My NGPF Academy</a> after the event</p>\n\n            <div class="mv30" style="background-color: #eee; padding: 20px" ng-show="$ctrl.event.waitlist && $ctrl.event.waitlist!=\'0\'">\n              <p><i class="fa fa-exclamation-triangle"></i> This event is currently full. But you can still signup for the waitlist using this form.</p>\n            </div>\n\n            <form ng-submit="$ctrl.register($ctrl.registrationForm)">\n              \x3c!-- EMAIL QUESTION --\x3e\n              <div class="row mv20" ng-hide="$ctrl.currentUser && $ctrl.currentUser.cpUsers_email">\n                <div class="col-md-3 col-sm-12">\n                  <label ng-if="$ctrl.event.type===\'Webinar\'" data-toggle="tooltip" data-placement="top" title="" for="57" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                  <label ng-if="$ctrl.event.type===\'VPD\'" data-toggle="tooltip" data-placement="top" title="" for="38" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                  <label ng-if="$ctrl.event.type===\'FinCamp\'" data-toggle="tooltip" data-placement="top" title="" for="3" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                  <label ng-if="$ctrl.event.type===\'FinCampPLUS\'" data-toggle="tooltip" data-placement="top" title="" for="19" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                  <label ng-if="$ctrl.event.type===\'VirtualFinCamp\'" data-toggle="tooltip" data-placement="top" title="" for="46" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                  <label ng-if="$ctrl.event.type===\'Certification Course\'" data-toggle="tooltip" data-placement="top" title="" for="89" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                  <label ng-if="$ctrl.event.type===\'NGPF On-Demand\'" data-toggle="tooltip" data-placement="top" title="" for="103" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                  <label ng-if="$ctrl.event.type===\'Conference\'" data-toggle="tooltip" data-placement="top" title="" for="52" data-original-title="If left blank, then your NGPF teacher account email will be used to send you event updates.">Email</label>\n                </div>\n                <div class="col-md-9 col-sm-12">\n                  <input ng-if="$ctrl.event.type===\'Webinar\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_57" name="57" id="57" placeholder="Email" required="" />\n                  <input ng-if="$ctrl.event.type===\'VPD\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_38" name="38" id="38" placeholder="Email" required="" />\n                  <input ng-if="$ctrl.event.type===\'FinCamp\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_3" name="3" id="3" placeholder="Email" required="" />\n                  <input ng-if="$ctrl.event.type===\'FinCampPLUS\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_19" name="19" id="19" placeholder="Email" required="" />\n                  <input ng-if="$ctrl.event.type===\'VirtualFinCamp\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_46" name="46" id="46" placeholder="Email" required="" />\n                  <input ng-if="$ctrl.event.type===\'Certification Course\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_89" name="89" id="89" placeholder="Email" required="" />\n                  <input ng-if="$ctrl.event.type===\'NGPF On-Demand\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_103" name="103" id="103" placeholder="Email" required="" />\n                  <input ng-if="$ctrl.event.type===\'Conference\'" type="email" class="form-control" ng-model="$ctrl.registrationForm.question_52" name="52" id="52" placeholder="Email" required="" />\n                </div>\n              </div>\n\n              \x3c!-- FIRST NAME QUESTION --\x3e\n              <div class="row mv20">\n                <div class="col-md-3 col-sm-12">\n                  <label ng-if="$ctrl.event.type===\'Webinar\'" for="58">First Name</label>\n                  <label ng-if="$ctrl.event.type===\'VPD\'" for="41">First Name</label>\n                  <label ng-if="$ctrl.event.type===\'FinCamp\'" for="4">First Name</label>\n                  <label ng-if="$ctrl.event.type===\'FinCampPLUS\'" for="20">First Name</label>\n                  <label ng-if="$ctrl.event.type===\'VirtualFinCamp\'" for="47">First Name</label>\n                  <label ng-if="$ctrl.event.type===\'Certification Course\'" for="90">First Name</label>\n                  <label ng-if="$ctrl.event.type===\'NGPF On-Demand\'" for="104">First Name</label>\n                  <label ng-if="$ctrl.event.type===\'Conference\'" for="50">First Name</label>\n                </div>\n                <div class="col-md-9 col-sm-12">\n                  <input ng-if="$ctrl.event.type===\'Webinar\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_58" name="58" id="58" placeholder="First Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'VPD\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_41" name="41" id="41" placeholder="First Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'FinCamp\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_4" name="4" id="4" placeholder="First Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'FinCampPLUS\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_20" name="20" id="20" placeholder="First Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'VirtualFinCamp\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_47" name="47" id="47" placeholder="First Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'Certification Course\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_90" name="90" id="90" placeholder="First Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'NGPF On-Demand\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_104" name="104" id="104" placeholder="First Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'Conference\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_50" name="50" id="50" placeholder="First Name" required="" />\n                </div>\n              </div>\n\n              \x3c!-- LAST NAME QUESTION --\x3e\n              <div class="row mv20">\n                <div class="col-md-3 col-sm-12">\n                  <label ng-if="$ctrl.event.type===\'Webinar\'" for="59">Last Name</label>\n                  <label ng-if="$ctrl.event.type===\'VPD\'" for="42">Last Name</label>\n                  <label ng-if="$ctrl.event.type===\'FinCamp\'" for="5">Last Name</label>\n                  <label ng-if="$ctrl.event.type===\'FinCampPLUS\'" for="21">Last Name</label>\n                  <label ng-if="$ctrl.event.type===\'VirtualFinCamp\'" for="48">Last Name</label>\n                  <label ng-if="$ctrl.event.type===\'Certification Course\'" for="91">Last Name</label>\n                  <label ng-if="$ctrl.event.type===\'NGPF On-Demand\'" for="105">Last Name</label>\n                  <label ng-if="$ctrl.event.type===\'Conference\'" for="51">Last Name</label>\n                </div>\n                <div class="col-md-9 col-sm-12">\n                  <input ng-if="$ctrl.event.type===\'Webinar\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_59" name="59" id="59" placeholder="Last Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'VPD\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_42" name="42" id="42" placeholder="Last Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'FinCamp\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_5" name="5" id="5" placeholder="Last Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'FinCampPLUS\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_21" name="21" id="21" placeholder="Last Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'VirtualFinCamp\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_48" name="48" id="48" placeholder="Last Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'Certification Course\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_91" name="91" id="91" placeholder="Last Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'NGPF On-Demand\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_105" name="105" id="105" placeholder="Last Name" required="" />\n                  <input ng-if="$ctrl.event.type===\'Conference\'" type="text" class="form-control" ng-model="$ctrl.registrationForm.question_51" name="51" id="51" placeholder="Last Name" required="" />\n                </div>\n              </div>\n\n              <div ng-if="$ctrl.event.type===\'Conference\'">\n                \x3c!--Custom text for Conference can go here--\x3e\n              </div>\n\n              <div ng-if="$ctrl.event.type===\'Certification Course\'">\n                <p>\n                  Due to high demand and limited seats in NGPF Certification Courses we ask that you register with the intent of prioritizing your attendance. We do understand and empathize that unforeseen circumstances arise but also want to openly express that we will be tracking excessive No\n                  Shows and Cancellations\n                </p>\n                <select class="form-control" ng-model="$ctrl.registrationForm.question_96" name="96" id="96" required="">\n                  <option style="display: none" disabled="" selected="" value="">Do you agree that you will intend to prioritize your attendance?</option>\n                  <option value="I acknowledge">I acknowledge</option>\n                </select>\n              </div>\n              <div ng-if="$ctrl.event.type===\'Webinar\'"></div>\n              <div ng-if="$ctrl.event.type===\'VPD\'">\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="75">If this is your first NGPF Online Professional Development, how did you hear about it?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_75" name="75" id="75" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="Web search">Web search</option>\n\n                      <option value=" Friend/Colleague">Friend/Colleague</option>\n                      p\n\n                      <option value=" Social Media">Social Media</option>\n\n                      <option value=" NGPF emails">NGPF emails</option>\n\n                      <option value=" Conference or FinCamp">Conference or FinCamp</option>\n\n                      <option value=" Other">Other</option>\n\n                      <option value=" N/A not my first NGPF Online PD">N/A not my first NGPF Online PD</option>\n                    </select>\n                  </div>\n                </div>\n              </div>\n              <div ng-if="$ctrl.event.type===\'FinCamp\'">\n                \x3c!-- PHONE NUMBER QUESTION --\x3e\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="6">Phone Number</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <input type="tel" class="form-control" ng-model="$ctrl.registrationForm.question_6" name="6" id="6" title="Phone Number" placeholder="Phone Number" required="" />\n                  </div>\n                </div>\n\n                \x3c!-- ALTERNATIVE EMAIL QUESTION --\x3e\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="107">Alternative Email</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <input type="email" class="form-control" ng-model="$ctrl.registrationForm.question_107" name="107" id="107" title="Alternative Email" placeholder="Email" required="" />\n                  </div>\n                </div>\n\n                \x3c!-- NAME OF SCHOOL QUESTION --\x3e\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="7">Name of School</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <input type="text" class="form-control" ng-model="$ctrl.registrationForm.question_7" name="7" id="7" placeholder="Name of School" required="" />\n                  </div>\n                </div>\n\n                \x3c!-- HOW DID YOU HEAR ABOUT THIS FINCAMP QUESTION --\x3e\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="12">How did you hear about the FinCamp?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_12" name="12" id="12" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="Email">Email</option>\n\n                      <option value=" Admin">Admin</option>\n\n                      <option value=" Friend/Colleague">Friend/Colleague</option>\n\n                      <option value=" Postcard">Postcard</option>\n\n                      <option value=" Social Media">Social Media</option>\n\n                      <option value=" NGPF Website/Blog">NGPF Website/Blog</option>\n\n                      <option value=" Other">Other</option>\n                    </select>\n                  </div>\n                </div>\n\n                \x3c!-- DIETARY QUESTION --\x3e\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="13">We will be providing meals during this FinCamp. Please list any dietary requirements that we should be aware.</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <textarea class="form-control" ng-model="$ctrl.registrationForm.question_13" name="13" id="13"></textarea>\n                  </div>\n                </div>\n\n                \x3c!-- ANYTHING ELSE QUESTION --\x3e\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="15">Anything else you would like us to know?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <textarea class="form-control" ng-model="$ctrl.registrationForm.question_15" name="15" id="15"></textarea>\n                  </div>\n                </div>\n              </div>\n              <div ng-if="$ctrl.event.type===\'FinCampPLUS\'">\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="22">Phone Number</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <input type="tel" class="form-control" ng-model="$ctrl.registrationForm.question_22" name="22" id="22" title="Phone Number" placeholder="Phone Number" required="" />\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="23">School Name</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <input type="text" class="form-control" ng-model="$ctrl.registrationForm.question_23" name="23" id="23" placeholder="Name of School" required="" />\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="24">School City</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <input type="text" class="form-control" ng-model="$ctrl.registrationForm.question_24" name="24" id="24" placeholder="School City" required="" />\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="25">School State</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_25" name="25" id="25" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="AL">AL</option>\n                      <option value="AK">AK</option>\n                      <option value="AZ">AZ</option>\n                      <option value="AR">AR</option>\n                      <option value="CA">CA</option>\n                      <option value="CO">CO</option>\n                      <option value="CT">CT</option>\n                      <option value="DE">DE</option>\n                      <option value="FL">FL</option>\n                      <option value="GA">GA</option>\n                      <option value="HI">HI</option>\n                      <option value="ID">ID</option>\n                      <option value="IL">IL</option>\n                      <option value="IN">IN</option>\n                      <option value="IA">IA</option>\n                      <option value="KS">KS</option>\n                      <option value="KY">KY</option>\n                      <option value="LA">LA</option>\n                      <option value="ME">ME</option>\n                      <option value="MD">MD</option>\n                      <option value="MA">MA</option>\n                      <option value="MI">MI</option>\n                      <option value="MN">MN</option>\n                      <option value="MS">MS</option>\n                      <option value="MO">MO</option>\n                      <option value="MT">MT</option>\n                      <option value="NE">NE</option>\n                      <option value="NV">NV</option>\n                      <option value="NH">NH</option>\n                      <option value="NJ">NJ</option>\n                      <option value="NM">NM</option>\n                      <option value="NY">NY</option>\n                      <option value="NC">NC</option>\n                      <option value="ND">ND</option>\n                      <option value="OH">OH</option>\n                      <option value="OK">OK</option>\n                      <option value="OR">OR</option>\n                      <option value="PA">PA</option>\n                      <option value="RI">RI</option>\n                      <option value="SC">SC</option>\n                      <option value="SD">SD</option>\n                      <option value="TN">TN</option>\n                      <option value="TX">TX</option>\n                      <option value="UT">UT</option>\n                      <option value="VT">VT</option>\n                      <option value="VA">VA</option>\n                      <option value="WA">WA</option>\n                      <option value="WI">WI</option>\n                      <option value="WV">WV</option>\n                      <option value="WY">WY</option>\n                    </select>\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="26">What grade do you teach?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_26" name="26" id="26" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="Middle School">Middle School</option>\n\n                      <option value="High School">High School</option>\n\n                      <option value="Post Secondary">Post Secondary</option>\n\n                      <option value="Non Profit">Non Profit</option>\n                    </select>\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="27">What subject do you teach?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_27" name="27" id="27" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="Personal Finance">Personal Finance</option>\n\n                      <option value="Economics">Economics</option>\n\n                      <option value="Business">Business</option>\n\n                      <option value="FACS">FACS</option>\n\n                      <option value="CTE">CTE</option>\n\n                      <option value="Math">Math</option>\n\n                      <option value="Other">Other</option>\n                    </select>\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="81">How many students do you teach in your personal-finance related class(es) this year?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_81" name="81" id="81" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="1-25">1-25</option>\n\n                      <option value="26-50">26-50</option>\n\n                      <option value="51-75">51-75</option>\n\n                      <option value="76-100">76-100</option>\n\n                      <option value=">100">&gt;100</option>\n                    </select>\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="82">What percentage of your course uses NGPF curriculum and resources?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_82" name="82" id="82" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="1-25%">1-25%</option>\n\n                      <option value="26-50%">26-50%</option>\n\n                      <option value="51-75%">51-75%</option>\n\n                      <option value="76-100%">76-100%</option>\n                    </select>\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="83">How long have you been teaching?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_83" name="83" id="83" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="1-4 years">1-4 years</option>\n                      <option value="5-9 years">5-9 years</option>\n                      <option value="10-14 years">10-14 years</option>\n                      <option value="15-19 years">15-19 years</option>\n                      <option value="20+ years">20+ years</option>\n                    </select>\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="86">In 250 words or less, describe your specific plans to: 1. improve the quality of financial education provided in your classroom and/or 2. increase student access to financial education in your community</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <textarea style="height: 150px" class="form-control" ng-model="$ctrl.registrationForm.question_86" name="86" id="86" required=""></textarea>\n                  </div>\n                </div>\n\n                <div class="row mv20">\n                  <div class="col-md-3 col-sm-12">\n                    <label for="87">Anything else you would like us to know?</label>\n                  </div>\n                  <div class="col-md-9 col-sm-12">\n                    <textarea style="height: 150px" class="form-control" ng-model="$ctrl.registrationForm.question_87" name="87" id="87" required=""></textarea>\n                  </div>\n                </div>\n              </div>\n\n              <div class="mv20" ng-hide="$ctrl.savingForm">\n                <button class="btn btn-success btn-lg" style="background-color: #f78219; border: 2px solid #f78219">Submit</button>\n              </div>\n              <div class="mv20" ng-show="$ctrl.savingForm">Saving... This make take a couple of minutes, especially if you are registering for multiple classes.</div>\n            </form>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountNgpfAcademyViewEventSurvey",{template:n(435),bindings:{},controller:["$rootScope","appService","$state","$stateParams","userService",function(e,t,n,r,i){var o=this;e.myAccountTitle="Survey",this.ajaxPrefix="/aaa-content/user/api/events/",this.loaded=!1,this.eventsLoaded=!1,this.answers={},this.submitSurvey=function(e){t.processData({url:o.ajaxPrefix+"submit-survey/",method:"post",data:{id:r.id,ticketId:r.ticketId,answers:o.answers}}).then(function(e){alert("Survey was successfully completed"),i.isLoggedIn()?n.go("my-account-ngpf-academy"):window.location.href="https://www.ngpf.org/pd/virtual-pd/"},function(e){alert("There was an error. Survey was not submitted")})},this.$onInit=function(){t.processData({url:o.ajaxPrefix+"get-ticket/",method:"post",data:{id:r.id,ticketId:r.ticketId}}).then(function(e){o.event=e.event,o.info=e,o.event&&o.event.id||(alert("Registration ticket was not found"),i.isLoggedIn()?n.go("my-account-ngpf-academy"):window.location.href="https://www.ngpf.org/pd/virtual-pd/"),o.event&&o.event.EID||(alert("Event was not found"),i.isLoggedIn()?n.go("my-account-ngpf-academy"):window.location.href="https://www.ngpf.org/pd/virtual-pd/"),"Attended"===o.event.status&&(alert("A survey has already been submitted for this event"),i.isLoggedIn()?n.go("my-account-ngpf-academy"):window.location.href="https://www.ngpf.org/pd/virtual-pd/"),t.processData({url:o.ajaxPrefix+"get-survey-questions/",method:"post",data:{id:r.id,ticketId:r.ticketId}}).then(function(e){o.emailQuestion=e.emailQuestion,o.emailAnswer=e.emailAnswer,o.answers[o.emailQuestion]=o.emailAnswer,o.questions=e.questions,o.loaded=!0})})}}]})}},function(e,t){e.exports='<div class="container">\n  <div class="row">\n    <div class="col-md-12">\n      <h2 ng-if="!$ctrl.event" style="padding-bottom: 150px"><i class="fa fa-spinner fa-spin"></i> Loading Event...</h2>\n      <h2 ng-if="$ctrl.event.title">{{$ctrl.event.title}} ({{$ctrl.event.type}})</h2>\n\n      <div ng-if="$ctrl.event.title">\n        <div class="row">\n          <div class="col-md-12">\n            <p>Thank you for attending our {{$ctrl.event.type}}: "{{$ctrl.event.title}}". We want to hear your feedback!</p>\n            <p><strong>Your PD Certificate will be sent after you fill out this survey.</strong></p>\n          </div>\n        </div>\n\n        <div ng-if="!$ctrl.questions" class="row">\n          <div class="col-md-12">\n            <div class="mb50 pb50 mt20"><i class="fa fa-spinner fa-spin"></i> Loading questions...</div>\n          </div>\n        </div>\n\n        <div ng-if="$ctrl.questions" class="row">\n          <div class="col-md-8">\n            <form ng-submit="$ctrl.submitSurvey()">\n              <div class="mv30" ng-repeat="question in $ctrl.questions">\n                <label for="">{{question.question}}</label>\n                <div class="mb10">\n                  <input ng-if="question.questionType===\'Basic Text\' || question.questionType===\'Email\'" type="text" class="form-control" ng-model="$ctrl.answers[question.questionKey]" ng-disabled="question.disabled" ng-required="question.isRequired" />\n                  <textarea style="height: 200px" ng-if="question.questionType===\'Long Text\'" type="text" class="form-control" ng-model="$ctrl.answers[question.questionKey]" ng-disabled="question.disabled" ng-required="question.isRequired"></textarea>\n\n                  <select ng-if="question.questionType===\'Multiple Selection\'" type="text" class="form-control" ng-model="$ctrl.answers[question.questionKey]" ng-disabled="question.disabled" ng-required="question.isRequired">\n                    <option value="">Options...</option>\n                    <option ng-value="option" ng-repeat="option in question.optionsArray">{{option}}</option>\n                  </select>\n                </div>\n              </div>\n\n              <div class="mv30 pt20">\n                <button class="btn btn-primary btn-lg">Submit Survey</button>\n              </div>\n            </form>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountNgpfAcademy",{template:n(437),bindings:{},controller:["$rootScope","appService","userService",function(e,t,n){var r=this;e.myAccountTitle="My NGPF Academy",this.ajaxPrefix="/aaa-content/user/api/events/",this.eventsLoaded=!1,this.currentUser=null,this.openReport=function(e){var t={u:r.currentUser.cpUsers_uuid,a:Math.random().toString(36).slice(2),d:Math.random().toString(36).slice(2),c:Math.random().toString(36).slice(2),e:Math.random().toString(36).slice(2),t:Date.now(),f:!!e};window.open("/reports/?"+Object.keys(t).map(function(e){return e+"="+t[e]}).join("&"));r.currentUser.cpUsers_uuid},this.getUser=function(){n.getUser().then(function(e){r.currentUser=e,console.log("test")},function(e){})},this.$onInit=function(){r.getUser(),t.processData({url:r.ajaxPrefix+"user-events/",method:"post",data:{}}).then(function(e){r.eventsLoaded=!0,r.events=e.userEvents,r.pdHours=e.pdHours,r.grade=e.grade,r.hoursToReachNext=e.hoursToReachNext,r.nextGrade=e.nextGrade,r.progressWidth=e.progressWidth},function(e){"No User Authorization header sent."===e&&(window.location.href="/")})}}]})}},function(e,t){e.exports='<div class="container">\n  <div ng-if="!$ctrl.eventsLoaded"><i class="fa fa-spinner fa-spin fa-fw"></i> Loading Events...</div>\n  <div ng-show="$ctrl.currentUser.cpUsers__cpUsersTypes_recordNumber==2">\n    <div ng-if="$ctrl.eventsLoaded" style="background-color: #f1f1f1; padding: 20px; margin-bottom: 15px">\n      <h3 style="font-weight: bold; font-family: Montserrat">Credits earned since June 1st, 2022: {{$ctrl.pdHours}}</h3>\n      <div class="progress">\n        <div class="progress-bar" role="progressbar" ng-style="{width: ($ctrl.progressWidth + \'\' + \'%\')}" aria-valuenow="{{$ctrl.progressWidth}}" aria-valuemin="0" aria-valuemax="100">{{$ctrl.grade}}</div>\n      </div>\n\n      <div class="mv10" style="font-family: Montserrat" ng-if="$ctrl.nextGrade">You need just {{$ctrl.hoursToReachNext}} credit<span ng-show="$ctrl.hoursToReachNext!=1">s</span> to reach {{$ctrl.nextGrade}}</div>\n    </div>\n  </div>\n  <div>\n    <div class="jumbotron jumbotron-fluid" style="background-image: url(\'https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/My Account Page/Ondemand_banner_background.png\'); padding: 25px; background-size: cover; background-position: center; border-radius: 25px">\n      <div class="container">\n        <div class="row">\n          <div class="col-md-8" style="color: #0b1541">\n            <h3 style="line-height: 26px"><strong>Want to complete NGPF PD on your own time?</strong></h3>\n            <h4 style="font-style: italic; line-height: 26px">Check out our On-Demand modules for self-paced learning. Choose from a variety of hot topics like Budgeting in the Gig Economy and Basics of Bitcoin!</h4>\n            <p>\n              <a class="btn btn-lg btn-primary" href="https://www.ngpf.org/ondemand/" rel="noopener" style="background-color: #f3a132; color: white" target="_blank">LEARN MORE</a>\n            </p>\n          </div>\n          <div class="col-md-4">\n            <img class="img-responsive text-right" style="display: block; max-width: 12em; max-height: 10em" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/My Account Page/New_ondemand_graphic.png" />\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n\n  <div class="mv10" ng-if="$ctrl.eventsLoaded">\n    <p>Not marked as attended? Is one of your credits missing?</p>\n    <a target="_blank" style="font-size: 18px; font-weight: bold; color: #f78219; font-family: Montserrat" href="https://docs.google.com/forms/d/e/1FAIpQLSesvdxVy0pS93KVZaULk7zqJBiBbnKTM-c-MPTRbdvmGrx9lQ/viewform?usp=pp_url">\n      <img class="img-responsive" style="display: inline; width: 35px" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/NGPF%20Academy%20-%20Onboarding%20images/Note_warning.png" alt="Note Icon" /> Report an error in my credits\n    </a>\n  </div>\n\n  <button ng-hide="showTranscript" class="mv30 btn btn-default dropdown-toggle" type="button" ng-click="showTranscript=true">View Transcript <span class="caret"></span></button>\n  <div class="row">\n    <div class="col-md-5">\n      <div ng-show="showTranscript" style="border: 2px dashed #1f4296; padding: 20px 10px">\n        <h3 style="margin-top: 0; padding-top: 0">View/Print Transcript</h3>\n        <div class="mv10"><button class="btn btn-default" ng-click="$ctrl.openReport(false);">View / Print Attended Events (All)</button></div>\n        <div class="mt10"><button class="btn btn-default" ng-click="$ctrl.openReport(true);">View / Print Attended Events (Current Year)</button></div>\n      </div>\n    </div>\n  </div>\n\n  <div ng-if="$ctrl.eventsLoaded" class="mv10">\n    <h2 style="font-family: lato">Upcoming Events</h2>\n    <div ng-if="$ctrl.events && $ctrl.events.present && $ctrl.events.present.length>0">\n      <div class="events-list">\n        <div class="events-list-row">\n          <div class="events-list-cell events-list-cell-th">Type</div>\n          <div class="events-list-cell events-list-cell-th">Title</div>\n          <div class="events-list-cell events-list-cell-th">Status</div>\n          <div class="events-list-cell events-list-cell-th">Date</div>\n          <div class="events-list-cell events-list-cell-th">Credits</div>\n          <div class="events-list-cell events-list-cell-th">View</div>\n        </div>\n\n        <div ng-repeat="event in $ctrl.events.present" class="events-list-row event-striped">\n          <div class="events-list-cell">{{event.type === \'VPD\' ? \'Virtual PD\' : event.type}}</div>\n          <div class="events-list-cell">{{event.title}}</div>\n          <div class="events-list-cell">{{event.status}}</div>\n          <div class="events-list-cell">\n            {{event.startDate | date:\'M/d/yyyy\'}} <span ng-show="event.startDate !== event.endDate"> - {{event.endDate | date:\'M/d/yyyy\'}}</span>\n            <div ng-hide="event.type===\'FinCamp\'" style="font-size: 80%">{{event.timeString}}</div>\n          </div>\n          <div class="events-list-cell"><span ng-hide="event.pdHours<1">{{event.pdHours}}</span></div>\n          <div class="events-list-cell">\n            <a ui-sref="my-account-ngpf-acadameny-view-event({id:event.EID, ticketId:event.ticketId})" class="btn btn-primary">View</a>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div ng-if="!($ctrl.events && $ctrl.events.present && $ctrl.events.present.length>0)">No upcoming events.</div>\n\n    <div class="mt30" ng-if="$ctrl.events && $ctrl.events.onDemand && $ctrl.events.onDemand.length>0">\n      <h2 style="font-family: lato">On-Demand PD</h2>\n\n      <div class="events-list">\n        <div class="events-list-row">\n          <div class="events-list-cell events-list-cell-th">Title</div>\n          <div class="events-list-cell events-list-cell-th">Status</div>\n          <div class="events-list-cell events-list-cell-th">Credits</div>\n          <div class="events-list-cell events-list-cell-th">Comments</div>\n          <div class="events-list-cell events-list-cell-th">View</div>\n        </div>\n        <div ng-repeat="event in $ctrl.events.onDemand" class="events-list-row event-striped">\n          <div class="events-list-cell">{{event.title}}</div>\n          <div class="events-list-cell">{{event.status}}</div>\n          <div class="events-list-cell">{{event.pdHours}}</div>\n          <div class="events-list-cell">\n            <div ng-if="event.status===\'Flagged\'"><i class="fa fa-exclamation-triangle"></i> Please contact <a href="mailto:ondemand@ngpf.org">ondemand@ngpf.org</a> for more details.</div>\n          </div>\n          <div class="events-list-cell">\n            <a ui-sref="my-account-ngpf-acadameny-view-event({id:event.EID, ticketId:event.ticketId})" class="btn btn-primary">View</a>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div class="mt30" ng-if="$ctrl.events && $ctrl.events.pastEvents_current && $ctrl.events.pastEvents_current.length>0">\n      <div class="row">\n        <div class="col-md-10">\n          <h2 style="font-family: lato">Attended Events <small>(Current School Year)</small></h2>\n        </div>\n        <div class="col-md-2"></div>\n      </div>\n\n      <div class="events-list">\n        <div class="events-list-row">\n          <div class="events-list-cell events-list-cell-th">Type</div>\n          <div class="events-list-cell events-list-cell-th">Title</div>\n          <div class="events-list-cell events-list-cell-th">Led By</div>\n          <div class="events-list-cell events-list-cell-th">Status</div>\n          <div class="events-list-cell events-list-cell-th">Date</div>\n          <div class="events-list-cell events-list-cell-th">Credits</div>\n          <div class="events-list-cell events-list-cell-th">View</div>\n        </div>\n        <div ng-repeat="event in $ctrl.events.pastEvents_current" class="events-list-row event-striped">\n          <div class="events-list-cell">{{event.type === \'VPD\' ? \'Virtual PD\' : event.type}}</div>\n          <div class="events-list-cell">\n            <div ng-if="event.format===\'InPerson\'">{{event.city}}, {{event.state}}</div>\n            <div ng-if="event.format!==\'InPerson\'">{{event.title}}</div>\n          </div>\n          <div class="events-list-cell">{{event.user}}</div>\n          <div class="events-list-cell">{{event.status}}</div>\n          <div class="events-list-cell">{{event.startDate | date:\'M/d/yyyy\'}}</div>\n          <div class="events-list-cell"><span ng-hide="event.pdHours<1">{{event.pdHours}}</span></div>\n          <div class="events-list-cell">\n            <a ui-sref="my-account-ngpf-acadameny-view-event({id:event.EID, ticketId:event.ticketId})" class="btn btn-primary">View</a>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div class="mt30" ng-if="$ctrl.events && $ctrl.events.pastEvents_archived && $ctrl.events.pastEvents_archived.length>0">\n      <h2 style="font-family: lato">Archived Events <small>(Previous School Years)</small></h2>\n\n      <div class="events-list">\n        <div class="events-list-row">\n          <div class="events-list-cell events-list-cell-th">Type</div>\n          <div class="events-list-cell events-list-cell-th">Title</div>\n          <div class="events-list-cell events-list-cell-th">Led By</div>\n          <div class="events-list-cell events-list-cell-th">Status</div>\n          <div class="events-list-cell events-list-cell-th">Date</div>\n          <div class="events-list-cell events-list-cell-th">Credits</div>\n          <div class="events-list-cell events-list-cell-th">View</div>\n        </div>\n        <div ng-repeat="event in $ctrl.events.pastEvents_archived" class="events-list-row event-striped">\n          <div class="events-list-cell">{{event.type === \'VPD\' ? \'Virtual PD\' : event.type}}</div>\n          <div class="events-list-cell">\n            <div ng-if="event.format===\'InPerson\'">{{event.city}}, {{event.state}}</div>\n            <div ng-if="event.format!==\'InPerson\'">{{event.title}}</div>\n          </div>\n          <div class="events-list-cell">{{event.user}}</div>\n          <div class="events-list-cell">{{event.status}}</div>\n          <div class="events-list-cell">{{event.startDate | date:\'M/d/yyyy\'}}</div>\n          <div class="events-list-cell"><span ng-hide="event.pdHours<1">{{event.pdHours}}</span></div>\n          <div class="events-list-cell">\n            <a ui-sref="my-account-ngpf-acadameny-view-event({id:event.EID, ticketId:event.ticketId})" class="btn btn-primary">View</a>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountProfile",{template:n(439),bindings:{},controller:["$rootScope","appService","userService","$state",function(e,t,n,r){var i=this;this.ajaxPrefix="/aaa-content/user/api/user/",this.addressForm={},this.getUser=function(){n.login().then(function(e){r.reload()},function(e){console.log("get user error",e)})},this.$onInit=function(){e.myAccountTitle="My Profile"},this.editAddressShow=function(e){console.log("extras",e.extras),i.editAddress=!0,i.addressForm.school_name=e.extras.school_name,i.addressForm.personal_address1=e.extras.personal_address1,i.addressForm.personal_address2=e.extras.personal_address2,i.addressForm.personal_city=e.extras.personal_city,i.addressForm.personal_state=e.extras.personal_state,i.addressForm.personal_zip=e.extras.personal_zip},this.saveAddress=function(e){t.processData({url:i.ajaxPrefix+"user-personal-address/",method:"post",data:{addressForm:e}}).then(function(e){i.getUser()})}}]})}},function(e,t){e.exports='<div class="container">\n  <div ng-controller="AccountController">\n    <div>\n      <div class="row">\n        <div class="col-md-6">\n          <div style="max-width: 95%">\n            <div class="row mb30 pb20 pl50 greySection">\n              <h2 class="profileSectionTitle">Your Account</h2>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Account Type:</div>\n                <div class="col-lg-8 mb20" ng-if="currentUser.cpUsers__cpUsersTypes_recordNumber==2">\n                  <div class="profileSubText" style="color: #275ce4; font-weight: bold">Verified Teacher Account</div>\n                </div>\n                <div class="col-lg-8 mb20" ng-if="currentUser.cpUsers__cpUsersTypes_recordNumber==5">\n                  <div class="profileSubText" style="color: #275ce4; font-weight: bold">Pending Teacher Account</div>\n                  <div class="profileSubText">Please allow up to 24 hours for your account to be processed.</div>\n                </div>\n                <div class="col-lg-8 mb20" ng-if="currentUser.cpUsers__cpUsersTypes_recordNumber==6">\n                  <div class="profileSubText" style="color: #275ce4; font-weight: bold">Pending Teacher Account - Action Required</div>\n                  <div class="profileSubText">Please <a style="color: #f78219" href="mailto:teacheraccounts@ngpf.org">email teacheraccounts@ngpf.org</a> with information so we can verify your educator status.</div>\n                  <div class="profileSubText">\n                    Acceptable information includes: a picture of you (think selfie!) holding your teacher badge, screenshots of your online learning portal or grade book clearly indicating, links or screenshots to a staff directory page that lists your e-mail address, or any other means that can\n                    prove you are not a student attempting to gain access to the answer keys and assessments.\n                  </div>\n                </div>\n                <div class="col-lg-8 mb20" ng-if="currentUser.cpUsers__cpUsersTypes_recordNumber==7">\n                  <div class="profileSubText" style="color: #275ce4; font-weight: bold">Limited Access Account</div>\n                  <div class="profileSubText">Please <a style="color: #f78219" href="mailto:teacheraccounts@ngpf.org">email teacheraccounts@ngpf.org</a> to verify your account.</div>\n                  <div class="profileSubText">\n                    Include: Your email address associated with your NGPF Account, the organization/school you work at, and proof of your employment status (ex: a link to your staff directory page, a selfie with a business card, a screenshot of a meeting invite). This will allow us to verify that\n                    you are not a student attempting to access the answer keys and assessments.\n                  </div>\n                </div>\n              </div>\n              <div class="mv30">\n                <a href="javascript:;" cp-user-logout ng-click="logout();" style="margin-left: 10px; margin-right: 10px" class="btn btn-primary orangeButton"><i class="fa fa-sign-out" aria-hidden="true"></i>Log Out </a>\n              </div>\n            </div>\n            <div class="row mb30 pl50 greySection" ng-show="currentUser.cpUsers__cpUsersTypes_recordNumber==2">\n              <h2 class="profileSectionTitle">Your Profile</h2>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">First Name</div>\n                <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_firstName}}</div>\n              </div>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Last Name</div>\n                <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_lastName}}</div>\n              </div>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Email</div>\n                <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_email}}</div>\n              </div>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">School</div>\n                <div class="col-lg-8 mb20 profileSubText">{{currentUser.extras.school_name}}</div>\n              </div>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">State</div>\n                <div class="col-lg-8 mb20 profileSubText">{{currentUser.extras.state}}</div>\n              </div>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Username</div>\n                <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_username}}</div>\n              </div>\n              <div class="row mv10">\n                <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Password</div>\n                <div class="col-lg-8 mb20 profileSubText"><a ng-click="getUser()" onclick="$(\'#myModalEditPassword\').modal();">(change password)</a></div>\n              </div>\n\n              <div class="mv30">\n                <a ng-click="getUser();" onclick="$(\'#myModalEditInfo\').modal();" class="btn btn-primary orangeButton">Edit Profile</a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-6" ng-show="currentUser.cpUsers__cpUsersTypes_recordNumber!=2">\n          <div class="row mb30 pl50 greySection">\n            <h2 class="profileSectionTitle">Your Profile</h2>\n            <div class="row mv10">\n              <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">First Name</div>\n              <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_firstName}}</div>\n            </div>\n            <div class="row mv10">\n              <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Last Name</div>\n              <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_lastName}}</div>\n            </div>\n            <div class="row mv10">\n              <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Email</div>\n              <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_email}}</div>\n            </div>\n            <div class="row mv10">\n              <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">School</div>\n              <div class="col-lg-8 mb20 profileSubText">{{currentUser.extras.school_name}}</div>\n            </div>\n            <div class="row mv10">\n              <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">State</div>\n              <div class="col-lg-8 mb20 profileSubText">{{currentUser.extras.state}}</div>\n            </div>\n            <div class="row mv10">\n              <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Username</div>\n              <div class="col-lg-8 mb20 profileSubText">{{currentUser.cpUsers_username}}</div>\n            </div>\n            <div class="row mv10">\n              <div class="col-lg-4 mb10 profileSubText" style="font-weight: bold">Password</div>\n              <div class="col-lg-8 mb20 profileSubText"><a ng-click="getUser()" onclick="$(\'#myModalEditPassword\').modal();">(change password)</a></div>\n            </div>\n\n            <div class="mv30">\n              <a ng-click="getUser();" onclick="$(\'#myModalEditInfo\').modal();" class="btn btn-primary orangeButton">Edit Profile</a>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-6" ng-show="currentUser.cpUsers__cpUsersTypes_recordNumber==2">\n          <div style="max-width: 95%">\n            <h2 class="profileSectionTitle">Get Swag</h2>\n            <div class="mv30" ng-if="!($ctrl.editAddress || !currentUser.extras.personal_address1)">\n              <p>\n                Thank you for providing your home address [we cannot ship to PO boxes] below so that we can ship your earned NGPF Swag. If eligible, you will receive swag each quarter you achieve a new NGPF Academy level during the current year ending May 31st. For NGPF Academy eligibility and\n                shipment schedule, see\n                <a href="/ngpf-academy/" target="_blank" style="color: #f78219; font-family: Montserrat">Academy page</a>.\n              </p>\n\n              <h3 class="profileSubText" style="font-weight: bold; margin-top: 50px">Home Address</h3>\n              <div>{{currentUser.extras.personal_address1}}</div>\n              <div>{{currentUser.extras.personal_address2}}</div>\n              <div>{{currentUser.extras.personal_city}}, {{currentUser.extras.personal_state}} {{currentUser.extras.personal_zip}}</div>\n            </div>\n            <div class="mv30" ng-if="!($ctrl.editAddress || !currentUser.extras.personal_address1)">\n              <a ng-click="$ctrl.editAddressShow(currentUser)" class="btn btn-primary orangeButton">Edit Address</a>\n            </div>\n\n            <p ng-if="($ctrl.editAddress || !currentUser.extras.personal_address1)">\n              Provide your home address [we cannot ship to PO boxes] below so that we can ship you NGPF Swag. If eligible, you will receive swag each quarter you achieve a new NGPF Academy level during the current year ending May 31st. For NGPF Academy eligibility and shipment schedule, see\n              <a href="/ngpf-academy/" target="_blank" style="color: #f78219; font-family: Montserrat">Academy page</a>.\n            </p>\n\n            <div class="mv30" ng-if="$ctrl.editAddress || !currentUser.extras.personal_address1">\n              <form ng-submit="$ctrl.saveAddress($ctrl.addressForm)">\n                <h3>Home Address [we cannot ship to PO boxes]</h3>\n                <div class="row mv10">\n                  <div class="col-md-12 mb10" style="font-weight: bold; white-space: nowrap">Home Address (Line 1)*</div>\n                  <div class="col-md-12 mb20"><input required class="form-control" type="text" ng-model="$ctrl.addressForm.personal_address1" /></div>\n                </div>\n                <div class="row mv10">\n                  <div class="col-md-12 mb10" style="font-weight: bold; white-space: nowrap">Home Address (Line 2 - optional)</div>\n                  <div class="col-md-12 mb20"><input class="form-control" type="text" ng-model="$ctrl.addressForm.personal_address2" /></div>\n                </div>\n                <div class="row mv10">\n                  <div class="col-md-12 mb10" style="font-weight: bold">City*</div>\n                  <div class="col-md-12 mb20"><input required class="form-control" type="text" ng-model="$ctrl.addressForm.personal_city" /></div>\n                </div>\n                <div class="row mv10">\n                  <div class="col-md-12 mb10" style="font-weight: bold">State*</div>\n                  <div class="col-md-12 mb20">\n                    <select class="form-control" ng-model="$ctrl.addressForm.personal_state" required>\n                      <option value="" selected="selected">Choose Your State...</option>\n                      <option value="AL">ALABAMA</option>\n                      <option value="AK">ALASKA</option>\n                      <option value="AZ">ARIZONA</option>\n                      <option value="AR">ARKANSAS</option>\n                      <option value="CA">CALIFORNIA</option>\n                      <option value="CO">COLORADO</option>\n                      <option value="CT">CONNECTICUT</option>\n                      <option value="DE">DELAWARE</option>\n                      <option value="FL">FLORIDA</option>\n                      <option value="GA">GEORGIA</option>\n                      <option value="HI">HAWAII</option>\n                      <option value="ID">IDAHO</option>\n                      <option value="IL">ILLINOIS</option>\n                      <option value="IN">INDIANA</option>\n                      <option value="IA">IOWA</option>\n                      <option value="KS">KANSAS</option>\n                      <option value="KY">KENTUCKY</option>\n                      <option value="LA">LOUISIANA</option>\n                      <option value="ME">MAINE</option>\n                      <option value="MD">MARYLAND</option>\n                      <option value="MA">MASSACHUSETTS</option>\n                      <option value="MI">MICHIGAN</option>\n                      <option value="MN">MINNESOTA</option>\n                      <option value="MS">MISSISSIPPI</option>\n                      <option value="MO">MISSOURI</option>\n                      <option value="MT">MONTANA</option>\n                      <option value="NE">NEBRASKA</option>\n                      <option value="NV">NEVADA</option>\n                      <option value="NH">NEW HAMPSHIRE</option>\n                      <option value="NJ">NEW JERSEY</option>\n                      <option value="NM">NEW MEXICO</option>\n                      <option value="NY">NEW YORK</option>\n                      <option value="NC">NORTH CAROLINA</option>\n                      <option value="ND">NORTH DAKOTA</option>\n                      <option value="OH">OHIO</option>\n                      <option value="OK">OKLAHOMA</option>\n                      <option value="OR">OREGON</option>\n                      <option value="PA">PENNSYLVANIA</option>\n                      <option value="RI">RHODE ISLAND</option>\n                      <option value="SC">SOUTH CAROLINA</option>\n                      <option value="SD">SOUTH DAKOTA</option>\n                      <option value="TN">TENNESSEE</option>\n                      <option value="TX">TEXAS</option>\n                      <option value="UT">UTAH</option>\n                      <option value="VT">VERMONT</option>\n                      <option value="VA">VIRGINIA</option>\n                      <option value="WA">WASHINGTON</option>\n                      <option value="WV">WEST VIRGINIA</option>\n                      <option value="WI">WISCONSIN</option>\n                      <option value="WY">WYOMING</option>\n                      <option value="Asal">American Samoa</option>\n                      <option value="Dcal">District of Columbia</option>\n                      <option value="Gal">Guam</option>\n                      <option value="Pral">Puerto Rico</option>\n                      <option value="Vial">Virgin Islands</option>\n                      <option value="Intl">International</option>\n                      <option value="Oth">Other</option>\n                    </select>\n                  </div>\n                </div>\n                <div class="row mv10">\n                  <div class="col-md-12 mb10" style="font-weight: bold">Zip*</div>\n                  <div class="col-md-12 mb20"><input required class="form-control" type="text" ng-model="$ctrl.addressForm.personal_zip" /></div>\n                </div>\n                <div>\n                  <button ng-if="$ctrl.editAddress" type="button" ng-click="$ctrl.editAddress=false" class="btn btn-default mr20-md">Cancel</button>\n\n                  <button class="btn btn-primary orangeButton">Save Address</button>\n                </div>\n              </form>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n    <div class="modal fade" id="myModalEditInfo" role="dialog">\n      <div class="modal-dialog">\n        \x3c!-- Modal content--\x3e\n        <div class="modal-content">\n          <div class="modal-header" style="padding: 35px 50px">\n            <button type="button" class="close" data-dismiss="modal">&times;</button>\n            <h4><span class="glyphicon glyphicon-lock"></span> Update Account</h4>\n          </div>\n          <div class="modal-body" style="padding: 40px 50px; overflow: initial; max-height: none">\n            <cp-user-update-user>\n              <form role="form" ng-submit="updateUser(userObject, userExtras)">\n                <div class="form-group">\n                  <label for="firstName"><span class="glyphicon glyphicon-info-sign"></span> Your Information</label>\n                  <input ng-model="userObject.cpUsers_firstName" type="text" class="form-control" id="firstName" name="firstName" placeholder="First Name" />\n                </div>\n                <div class="form-group">\n                  <input ng-model="userObject.cpUsers_lastName" type="text" class="form-control" id="lastName" name="lastName" placeholder="Last Name" />\n                </div>\n                <div class="form-group">\n                  <input ng-model="userExtras.school_name" type="text" class="form-control" id="school" name="school" placeholder="Name of Your School" />\n                </div>\n                <div class="form-group">\n                  <input ng-model="userExtras.city" type="text" class="form-control" id="city" name="city" placeholder="Your City" />\n                </div>\n                <div class="form-group">\n                  <select ng-model="userExtras.state" name="state" id="state" class="form-control">\n                    <option value="" selected="selected">Choose Your State...</option>\n                    <option value="AL">ALABAMA</option>\n                    <option value="AK">ALASKA</option>\n                    <option value="AZ">ARIZONA</option>\n                    <option value="AR">ARKANSAS</option>\n                    <option value="CA">CALIFORNIA</option>\n                    <option value="CO">COLORADO</option>\n                    <option value="CT">CONNECTICUT</option>\n                    <option value="DE">DELAWARE</option>\n                    <option value="FL">FLORIDA</option>\n                    <option value="GA">GEORGIA</option>\n                    <option value="HI">HAWAII</option>\n                    <option value="ID">IDAHO</option>\n                    <option value="IL">ILLINOIS</option>\n                    <option value="IN">INDIANA</option>\n                    <option value="IA">IOWA</option>\n                    <option value="KS">KANSAS</option>\n                    <option value="KY">KENTUCKY</option>\n                    <option value="LA">LOUISIANA</option>\n                    <option value="ME">MAINE</option>\n                    <option value="MD">MARYLAND</option>\n                    <option value="MA">MASSACHUSETTS</option>\n                    <option value="MI">MICHIGAN</option>\n                    <option value="MN">MINNESOTA</option>\n                    <option value="MS">MISSISSIPPI</option>\n                    <option value="MO">MISSOURI</option>\n                    <option value="MT">MONTANA</option>\n                    <option value="NE">NEBRASKA</option>\n                    <option value="NV">NEVADA</option>\n                    <option value="NH">NEW HAMPSHIRE</option>\n                    <option value="NJ">NEW JERSEY</option>\n                    <option value="NM">NEW MEXICO</option>\n                    <option value="NY">NEW YORK</option>\n                    <option value="NC">NORTH CAROLINA</option>\n                    <option value="ND">NORTH DAKOTA</option>\n                    <option value="OH">OHIO</option>\n                    <option value="OK">OKLAHOMA</option>\n                    <option value="OR">OREGON</option>\n                    <option value="PA">PENNSYLVANIA</option>\n                    <option value="RI">RHODE ISLAND</option>\n                    <option value="SC">SOUTH CAROLINA</option>\n                    <option value="SD">SOUTH DAKOTA</option>\n                    <option value="TN">TENNESSEE</option>\n                    <option value="TX">TEXAS</option>\n                    <option value="UT">UTAH</option>\n                    <option value="VT">VERMONT</option>\n                    <option value="VA">VIRGINIA</option>\n                    <option value="WA">WASHINGTON</option>\n                    <option value="WV">WEST VIRGINIA</option>\n                    <option value="WI">WISCONSIN</option>\n                    <option value="WY">WYOMING</option>\n                    <option value="Asal">American Samoa</option>\n                    <option value="Dcal">District of Columbia</option>\n                    <option value="Gal">Guam</option>\n                    <option value="Pral">Puerto Rico</option>\n                    <option value="Vial">Virgin Islands</option>\n                    <option value="Intl">International</option>\n                    <option value="Oth">Other</option>\n                  </select>\n                </div>\n                <div class="form-group">\n                  <label for="email"><span class="glyphicon glyphicon-envelope"></span> Your Email:</label>\n                  <input ng-model="userObject.cpUsers_email" type="email" class="form-control" id="email" name="email" placeholder="me@example.com" />\n                </div>\n                <div class="form-group">\n                  <label for="username"><span class="glyphicon glyphicon-user"></span> Your Username:</label>\n                  <input ng-model="userObject.cpUsers_username" type="text" class="form-control" id="username" name="username" placeholder="myUserName" />\n                </div>\n                \x3c!--<div class="form-group">\n                                    <label for="psw"><span class="glyphicon glyphicon-user"></span> Create a\n                                        Username/Password:</label>\n                                    <input ng-model="userObject.cpUsers_username" type="text" class="form-control" id="psw"\n                                           placeholder="Create a Username...">\n                                </div>\n                                <div class="form-group">\n                                    <input ng-model="userObject.cpUsers_password" type="password" class="form-control"\n                                           id="psw" placeholder="Create a Password...">\n                                </div>--\x3e\n\n                <button type="submit" class="btn btn-success btn-block orangeButton"><span class="glyphicon glyphicon-off"></span> Save Account</button>\n              </form>\n            </cp-user-update-user>\n          </div>\n          <div class="modal-footer">\n            <button type="submit" class="btn btn-danger btn-default pull-left" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> Cancel</button>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div class="modal fade" id="myModalEditPassword" role="dialog">\n      <div class="modal-dialog">\n        \x3c!-- Modal content--\x3e\n        <div class="modal-content">\n          <div class="modal-header" style="padding: 35px 50px">\n            <button type="button" class="close" data-dismiss="modal">&times;</button>\n            <h4><span class="glyphicon glyphicon-lock"></span> Update Account</h4>\n          </div>\n          <div class="modal-body" style="padding: 40px 50px; overflow: initial; max-height: none">\n            <cp-user-update-user>\n              <form role="form" ng-submit="updatePassword(currentUser.cpUsers_recordNumber, userPasswordObject.password1, userPasswordObject.password2)">\n                <div class="form-group">\n                  <label for="password1"><span class="glyphicon glyphicon-info-sign"></span> Your Information</label>\n                </div>\n                <div class="form-group">\n                  <div>Create New Password</div>\n                  <input ng-model="userPasswordObject.password1" type="password" class="form-control" id="password1" name="password1" placeholder="New Password..." />\n                </div>\n                <div class="form-group">\n                  <div>Retype New Password</div>\n                  <input ng-model="userPasswordObject.password2" type="password" class="form-control" id="password2" name="password2" placeholder="Retype New Password..." />\n                </div>\n\n                <button type="submit" class="btn btn-success btn-block"><span class="glyphicon glyphicon-off"></span> Save Account</button>\n              </form>\n            </cp-user-update-user>\n          </div>\n          <div class="modal-footer">\n            <button type="submit" class="btn btn-danger btn-default pull-left orangeButton" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> Cancel</button>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.component("myAccountTopNav",{template:n(441),bindings:{},controller:["$rootScope","appService",function(e,t){this.$onInit=function(){}}]})}},function(e,t){e.exports='<div class="hidden-xs hidden-sm navBackgroundContainer">\n  <div id="MyTT" class="navCellContainer" style="border-radius: 10px 0 0 10px">\n    <div class="navCell" style="border-radius: 10px 0 0 10px">\n      <a ui-sref="my-account">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-user"></span>\n          MY TEACHER TOOLKIT\n        </p>\n      </a>\n    </div>\n  </div>\n  <div id="MyNA" class="navCellContainer">\n    <div class="navCell">\n      <a ui-sref="my-account-ngpf-academy">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-education"></span>\n          MY NGPF ACADEMY\n        </p>\n      </a>\n    </div>\n  </div>\n  <div id="MyP" class="navCellContainer">\n    <div class="navCell">\n      <a ui-sref="my-account-profile">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-user"></span>\n          MY PROFILE\n        </p>\n      </a>\n    </div>\n  </div>\n  <div id="Refer" class="navCellContainer" style="border-radius: 0 10px 10px 0">\n    <div class="navCell" style="border-radius: 0 10px 10px 0">\n      <a href="/refer/" target="_blank">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-duplicate"></span>\n          REFER A TEACHER\n        </p>\n      </a>\n    </div>\n  </div>\n</div>\n\n<div class="visible-sm visible-xs navBackgroundContainer" style="width: 66%; margin: -50px auto 25px auto !important">\n  <div id="MyTT" class="navCellContainersm" style="border-radius: 10px 10px 0 0">\n    <div class="navCell">\n      <a ui-sref="my-account-dashboard">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-user"></span>\n          MY TEACHER TOOLKIT\n        </p>\n      </a>\n    </div>\n  </div>\n  <div id="MyNA" class="navCellContainersm">\n    <div class="navCell">\n      <a ui-sref="my-account-ngpf-academy">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-education"></span>\n          MY NGPF ACADEMY\n        </p>\n      </a>\n    </div>\n  </div>\n  <div id="MyP" class="navCellContainersm">\n    <div class="navCell">\n      <a ui-sref="my-account-profile">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-user"></span>\n          MY PROFILE\n        </p>\n      </a>\n    </div>\n  </div>\n  <div id="Refer" class="navCellContainersm" style="border-radius: 0 0 10px 10px">\n    <div class="navCell">\n      <a href="/refer/" target="_blank">\n        <p class="navBarText">\n          <span class="glyphicon glyphicon-duplicate"></span>\n          REFER A TEACHER\n        </p>\n      </a>\n    </div>\n  </div>\n</div>\n\n<script>\n  var url0 = \'https://dev0.ngpf.org/account/#!/\';\n  var url1 = \'https://dev0.ngpf.org/account/#!/my-account-dashboard\';\n  var url2 = \'https://dev0.ngpf.org/account/#!/my-account-ngpf-academy\';\n  var url3 = \'https://dev0.ngpf.org/account/#!/my-account-profile\';\n\n  $(function () {\n    if (location.href == url0) {\n      $(\'#MyTT\').addClass(\'activeNavLink\');\n    }\n    if (location.href == url1) {\n      $(\'#MyTT\').addClass(\'activeNavLink\');\n    }\n    if (location.href == url2) {\n      $(\'#MyNA\').addClass(\'activeNavLink\');\n    }\n    if (location.href == url3) {\n      $(\'#MyP\').addClass(\'activeNavLink\');\n    }\n  });\n\n  $(function () {\n    $(\'.navCellContainer\').on(\'click\', function () {\n      $(\'.navCellContainer\').removeClass(\'activeNavLink\'); /* solution for a. */\n      $(this).addClass(\'activeNavLink\'); /* solution for a. */\n      var i = $(this).attr(\'href\');\n    });\n  });\n\n  $(function () {\n    $(\'#ViewMyEventsButton\').on(\'click\', function () {\n      $(\'#MyNA\').addClass(\'activeNavLink\');\n    });\n  });\n<\/script>\n'},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){t.controller("ReferController",["$scope","appService","userService","$rootScope",function(t,n,r,i){t.getEmails=function(){return t.emailsText="",angular.forEach(t.emails,function(e){e.email&&(t.emailsText&&(t.emailsText+=", "),t.emailsText+=e.email)}),t.emailsText},t.createRequiredNumberOfEmails=function(e){e||(e=1),t.requiredEmailCount=e,t.emails=[];for(var n=0;n<3;n++)t.emails.push({})},t.message="NGPF is great, you can sign up today!",t.sendForm=function(){var r=0,o=[],a="";return angular.forEach(t.emails,function(e){e.email&&(r++,-1===o.indexOf(e.email)?o.push(e.email):a=e.email+" is listed more than once. Please list each email address only once.")}),r<t.requiredEmailCount?alert("You must refer at least "+t.requiredEmailCount+" teacher"):a?alert(a):void n.processData({url:"/aaa-content/user/api/mail/test.php",method:"post",data:{subject:t.subject,message:t.message,emails:t.emails}}).then(function(n){return n&&n.message?(t.successSubject=n.subject,t.successMessage=n.message,i.referSuccessMessage=!0,document.body.scrollTop=document.documentElement.scrollTop=0,e("html, body").animate({scrollTop:0},"slow"),!0):alert("There was an error, feel free to try again")},function(e){alert("There was an error, feel free to try again"),console.log(e)})},console.log("here"),r.getUser().then(function(e){e&&e.cpUsers_firstName&&(t.subject=e.cpUsers_firstName+" "+e.cpUsers_firstName,console.log("yo",e),n.processData({url:"/aaa-content/user/api/refer/get/",method:"get"}).then(function(e){if(!e)return alert("There was an error, feel free to try again");e.subject&&(t.subject=e.subject),e.message&&(t.message=e.message)},function(e){alert("There was an error, feel free to try again!"),console.log(e)}))})}])}}).call(t,n(11))},function(e,t,n){"use strict"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.controller("SearchController",["$scope","$http","$filter",function(e,t,n){e.noResults=null,e.loadingResults=null,e.nextPage=function(){},e.changeFilter=function(t,n){e.filter=t,n?e.search(n):(e.loadingResults=!1,e.noResults=!1,e.showResults=!1,e.searchResults=[])},e.search=function(n,r){if(document.getElementById("searchContainer").scrollIntoView(),e.loadingResults=!0,e.noResults=!1,e.showResults=!1,e.searchResults=[],n?e.currentSearch=n:n=e.currentSearch,e.filter?("blog"===e.filter&&(n+=" site:ngpf.org/blog/ -site:ngpf.org/search"),"resources"===e.filter&&(n+=" -site:ngpf.org/blog/ -site:ngpf.org/search"),"community"===e.filter&&(n+=" (site:ngpf.org/community/ OR site:ngpf.org/podcasts/ OR site:ngpf.org/ngpf-fellows/ OR site:ngpf.org/flash-surveys-page/ OR site:ngpf.org/newsletters/) -site:ngpf.org/search"),"teacher-pd"===e.filter&&(n+=" (site:ngpf.org/fincamps/ OR site:ngpf.org/teacher-toolkit/ OR site:ngpf.org/webinars/ OR site:ngpf.org/virtual-pd/ OR site:ngpf.org/prof-learn-community-plc/ OR site:ngpf.org/events/ OR site:ngpf.org/summit/)  -site:ngpf.org/search "),"advocacy"===e.filter&&(n+=" (site:ngpf.org/school-search/ OR site:ngpf.org/finhero/)  -site:ngpf.org/search ")):n+=" -site:ngpf.org/search",!n)return!1;"next"===r?(e.startIndex=angular.copy(e.nextPageStart),e.currentPage++):"previous"===r?(e.currentPage--,e.startIndex=angular.copy(e.previousPageStart)):(e.currentPage=1,e.startIndex=1),e.currentStart=angular.copy(e.startIndex),e.currentEnd=e.currentStart+9,t.get("https://www.googleapis.com/customsearch/v1?key=AIzaSyC5kDJFGKA2_jP0NRIFP4eiXp5imU1p94E&cx=013255091058627295729:ps9jz_jqjb4&start="+e.startIndex+"&q="+encodeURIComponent(n)).then(function(t){e.loadingResults=!1,t&&t.data&&t.data.items&&t.data.items.length&&t.data.items.length>0?(e.showResults=!0,e.noResults=!1,e.showResults=!0,e.searchResults=t.data.items,e.totalResults=t.data.searchInformation.totalResults,t.data.queries.nextPage&&t.data.queries.nextPage[0]&&t.data.queries.nextPage[0].startIndex&&t.data.queries.nextPage[0].startIndex<e.totalResults?e.nextPageStart=t.data.queries.nextPage[0].startIndex:e.nextPageStart=0,e.startIndex>1?(e.previousPageStart=e.currentStart-10,e.previousPageStart<0&&(e.previousPageStart=0)):e.previousPageStart=0):(e.showResults=!1,e.noResults=!0)}).catch(function(t){e.loadingResults=!1,alert("There was an error, feel free to refresh and try again")})}}])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.service("siteService",["$rootScope","$http","$q","$window","$filter",function(e,t,n,r,i){var o=this;this.stateNames=[{value:"AL",label:"ALABAMA"},{value:"AK",label:"ALASKA"},{value:"AZ",label:"ARIZONA"},{value:"AR",label:"ARKANSAS"},{value:"CA",label:"CALIFORNIA"},{value:"CO",label:"COLORADO"},{value:"CT",label:"CONNECTICUT"},{value:"DE",label:"DELAWARE"},{value:"FL",label:"FLORIDA"},{value:"GA",label:"GEORGIA"},{value:"HI",label:"HAWAII"},{value:"ID",label:"IDAHO"},{value:"IL",label:"ILLINOIS"},{value:"IN",label:"INDIANA"},{value:"IA",label:"IOWA"},{value:"KS",label:"KANSAS"},{value:"KY",label:"KENTUCKY"},{value:"LA",label:"LOUISIANA"},{value:"ME",label:"MAINE"},{value:"MD",label:"MARYLAND"},{value:"MA",label:"MASSACHUSETTS"},{value:"MI",label:"MICHIGAN"},{value:"MN",label:"MINNESOTA"},{value:"MS",label:"MISSISSIPPI"},{value:"MO",label:"MISSOURI"},{value:"MT",label:"MONTANA"},{value:"NE",label:"NEBRASKA"},{value:"NV",label:"NEVADA"},{value:"NH",label:"NEW HAMPSHIRE"},{value:"NJ",label:"NEW JERSEY"},{value:"NM",label:"NEW MEXICO"},{value:"NY",label:"NEW YORK"},{value:"NC",label:"NORTH CAROLINA"},{value:"ND",label:"NORTH DAKOTA"},{value:"OH",label:"OHIO"},{value:"OK",label:"OKLAHOMA"},{value:"OR",label:"OREGON"},{value:"PA",label:"PENNSYLVANIA"},{value:"RI",label:"RHODE ISLAND"},{value:"SC",label:"SOUTH CAROLINA"},{value:"SD",label:"SOUTH DAKOTA"},{value:"TN",label:"TENNESSEE"},{value:"TX",label:"TEXAS"},{value:"UT",label:"UTAH"},{value:"VT",label:"VERMONT"},{value:"VA",label:"VIRGINIA"},{value:"WA",label:"WASHINGTON"},{value:"WV",label:"WEST VIRGINIA"},{value:"WI",label:"WISCONSIN"},{value:"WY",label:"WYOMING"},{value:"Asal",label:"American Samoa"},{value:"Dcal",label:"District of Columbia"},{value:"Gal",label:"Guam"},{value:"Pral",label:"Puerto Rico"},{value:"Vial",label:"Virgin Islands"},{value:"Intl",label:"International"},{value:"Oth",label:"Other"}],this.ajaxPrefix="/aaa-content/user/api/account/",this.isErrorDefault=function(e){alert(e),o.loadingData=!1},this.models={"flight-info":[{id:"camp_registrationsFlights_flightTravelByPlaneArrival",label:"Travel By Plane Arrival",type:"text"},{id:"camp_registrationsFlights_flightAirportArrival",label:"Airport Arrival",type:"text"},{id:"camp_registrationsFlights_flightAirlineArrival",label:"Airline Arrival",type:"text"},{id:"camp_registrationsFlights_flightNumberArrival",label:"Flight Number Arrival",type:"text"},{id:"camp_registrationsFlights_flightDateArrival",label:"Flight Date Arrival",type:"text"},{id:"camp_registrationsFlights_flightTimeArrival",label:"Flight Time Arrival",type:"text"},{id:"camp_registrationsFlights_flightUnaccompaniedMinorArrival",label:"Unaccompanied Minor Arrival",type:"text"},{id:"camp_registrationsFlights_flightNeedPickupArrival",label:"Need Pickup Arrival",type:"text"},{id:"camp_registrationsFlights_flightTravelByPlaneDeparture",label:"Travel By Plane Departure",type:"text"},{id:"camp_registrationsFlights_flightAirportDeparture",label:"Airport Departure",type:"text"},{id:"camp_registrationsFlights_flightAirlineDeparture",label:"Airline Departure",type:"text"},{id:"camp_registrationsFlights_flightNumberDeparture",label:"Flight Number Departure",type:"text"},{id:"camp_registrationsFlights_flightDateDeparture",label:"Flight Date Departure",type:"text"},{id:"camp_registrationsFlights_flightTimeDeparture",label:"Flight Time Departure",type:"text"},{id:"camp_registrationsFlights_flightUnaccompaniedMinorDeparture",label:"Unaccompanied Minor Departure",type:"text"},{id:"camp_registrationsFlights_flightNeedDropOffDeparture",label:"Need Pickup Departure",type:"text"}],"debate-info":[{id:"camp_registrationsDebateInfo_whichStylesOfDebate",label:"Which styles of debate have you participated in?",placeholder:"Which styles of debate have you participated in?",type:"textarea",required:!0},{id:"camp_registrationsDebateInfo_howManyYearsInDebate",label:"How many years have you participated in high school debate?",placeholder:"How many years have you participated in high school debate?",type:"select",required:!0,options:[{label:"0",value:"0"},{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"}]},{id:"camp_registrationsDebateInfo_threeBiggestAccomplishments",label:"List your three biggest DEBATE accomplishments; please be specific.",placeholder:"List your three biggest DEBATE accomplishments; please be specific.",type:"textarea",required:!0},{id:"camp_registrationsDebateInfo_debateGoals",label:"What are your debate goals while for the upcoming season?",placeholder:"What are your debate goals while for the upcoming season?",type:"textarea",required:!0},{id:"camp_registrationsDebateInfo_debateCircuits",label:"Which debate circuits do you participate in?",placeholder:"Which debate circuits do you participate in?",type:"textarea",required:!0},{id:"camp_registrationsDebateInfo_wantToLearn",label:"What specific things do you want to learn while you are at GDS?",placeholder:"What specific things do you want to learn while you are at GDS?",type:"textarea",required:!0},{id:"camp_registrationsDebateInfo_pastDebateCamps",label:"Have you attended any other debate camps? If so, please specify the camp, lab and year you attended.",placeholder:"Have you attended any other debate camps? If so, please specify the camp, lab and year you attended.",type:"textarea",required:!0},{id:"camp_registrationsDebateInfo_memorableRound",label:"Tell us about a memorable or particularly competitive round you competed in during the last season.",placeholder:"Tell us about a memorable or particularly competitive round you competed in during the last season.",type:"textarea",required:!0}],"dorm-info":[{id:"camp_registrationsDormInfo_stayingInDorms",label:"Will your child be staying in our dorms?",placeholder:"Will your child be staying in our dorms?",type:"select",required:!0,options:[{label:"Yes, my child will be staying in the dorms",value:"yes"},{label:"No, my child will not be staying in the dorms",value:"no"}]},{id:"camp_registrationsDormInfo_anyRoommateRequests",label:"If so, do you have any roommate requests (optional)?",placeholder:"Roommate Requests (optional)...",type:"textarea"},{id:"camp_registrationsDormInfo_additionalConcerns",label:"Any additional information you would like to provide (optional)?",placeholder:"Additional Information (optional)...",type:"textarea"}],"student-health":[{id:"camp_students_healthAllergies",label:"Please list all known allergies your student has (including food, environmental and allergies to medications). With each allergy, please tell us the symptoms they have and what medicines they can/need to take during an allergic reaction",placeholder:"Allergies",type:"textarea"},{id:"camp_students_healthInfoForEmergencyRoom",label:"Please list any operations that would need to be reported if your student was taken to the emergency room",placeholder:"Information/Operations for Emergency Room",type:"textarea"},{id:"camp_students_healthDoctorName",label:"What is the name of your student's physician?",placeholder:"Physician Name",type:"text",required:!0},{id:"camp_students_healthDoctorPhone",label:"What is the phone number for your student's physician?",placeholder:"Physician Phone",type:"text",required:!0},{id:"camp_students_healthEmergencyContactName",label:"Student Emergency Contact Name",placeholder:"Emergency Contact Name",type:"text",required:!0},{id:"camp_students_healthEmergencyContactRelationship",label:"Student Emergency Contact Relationship to Child",placeholder:"Emergency Contact Relationship",type:"text",required:!0},{id:"camp_students_healthEmergencyContactPhone",label:"Student Emergency Contact Phone Number",placeholder:"Emergency Contact Phone",type:"text",required:!0},{id:"camp_students_healthAdditionalEmergencyContactInfo",label:"Feel free to list any additional emergency contacts along with their relationship and phone numbers below",placeholder:"Additional Emergency Contact Info",type:"textarea"},{id:"camp_students_healthRecentRelevantEvents",label:"Has anything happened recently in your child's life that our administration should be made aware? If so, please explain (ex: stress, death/illness of relative or friend, separation/divorce in the family, etc.)",placeholder:"Recent Relevant Events",type:"textarea"},{id:"camp_students_healthPhysicalAccommodations",label:"Does your child need any physical accommodations?",placeholder:"Physical Accommodations",type:"textarea"},{id:"camp_students_healthOperationsOrInjuries",label:"List any operations or serious injuries from the past three years",placeholder:"Operations Or Injuries",type:"textarea"},{id:"camp_students_healthIssuesAsthma",label:"Does your child have Asthma?",placeholder:"Does your child have Asthma?",type:"select",required:!0,options:[{label:"Yes, my child has Asthma",value:"yes"},{label:"No, my child does not have Asthma",value:"no"}]},{id:"camp_students_healthIssuesInhaler",label:"Does your child carry an inhaler and do you give your child permission to carry the inhaler on their person during GDS?",placeholder:"Does your child carry an inhaler and do you give your child permission to carry the inhaler on their person during GDS?",type:"select",required:!0,options:[{label:"Yes, my child uses an inhaler and I give my child permission to carry the inhaler on their person at GDS",value:"yes"},{label:"No, my child does not use an inhaler",value:"no"}]},{id:"camp_students_healthIssuesEpiPen",label:"Does your child carry an Epi Pen and do you give your child permission to carry the Epi Pen on their person during GDS?",placeholder:"Does your child carry an Epi Pen?",type:"select",required:!0,options:[{label:"Yes, my child uses an Epi Pen and I give my child permission to carry the EPI pen on their person at GDS",value:"yes"},{label:"No, my child does not use an Epi Pen",value:"no"}]},{id:"camp_students_healthIssuesDiabetes",label:"Does your child have Diabetes?",placeholder:"Does your child have Diabetes?",type:"select",required:!0,options:[{label:"Yes, my child has Diabetes",value:"yes"},{label:"No, my child does not have Diabetes",value:"no"}]},{id:"camp_students_healthIssuesSeizures",label:"Does your child have Seizures?",placeholder:"Does your child have Seizures?",type:"select",required:!0,options:[{label:"Yes, my child has Seizures",value:"yes"},{label:"No, my child does not have Seizures",value:"no"}]},{id:"camp_students_healthIssuesDepression",label:"Has your child experienced Depression?",placeholder:"Has your child experienced Depression?",type:"select",required:!0,options:[{label:"Yes, my child has experienced Depression",value:"yes"},{label:"No, my child has not experienced Depression",value:"no"}]},{id:"camp_students_healthIssuesAnxiety",label:"Has your child experienced Anxiety?",placeholder:"Has your child experienced Anxiety?",type:"select",required:!0,options:[{label:"Yes, my child has experienced Anxiety",value:"yes"},{label:"No, my child has not experienced Anxiety",value:"no"}]},{id:"camp_students_healthMedicineTylenol",label:"Can we give your child Tylenol?",placeholder:"Can we give your child Tylenol?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicineAdvil",label:"Can we give your child Advil?",placeholder:"Can we give your child Advil?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicinePeptoBismol",label:"Can we give your child Pepto Bismol?",placeholder:"Can we give your child Pepto Bismol?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicineBenadryl",label:"Can we give your child Benadryl?",placeholder:"Can we give your child Benadryl?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicineHydrocortisone",label:"Can we give your child Hydrocortisone?",placeholder:"Can we give your child Hydrocortisone?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicineCoughDrops",label:"Can we give your child Cough Drops?",placeholder:"Can we give your child Cough Drops?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicineCoughMedicineDayAndNight",label:"Can we give your child Cough Medicine Day And Night?",placeholder:"Can we give your child Cough Medicine Day And Night?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicineTumsRolaids",label:"Can we give your child Tums / Rolaids?",placeholder:"Can we give your child Tums Rolaids?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthMedicineImodiumAD",label:"Can we give your child Imodium AD?",placeholder:"Can we give your child Imodium AD?",type:"select",required:!0,options:[{label:"Yes, this is allowed",value:"yes"},{label:"No, this is NOT allowed",value:"no"}]},{id:"camp_students_healthAllPrescriptionMedicineDosageAndFrequency",label:"Please list all prescription medications your child takes, including dosage and frequency. Remember that prescription medication must accompany the student in the original container with the physician's orders on the label. If your child is in possession of a prescription drug that is a controlled substance, it will be mandated that Global Debate Symposium keeps the medication and distribute the medication to the student. There must be full disclosure at registration about the prescriptions that students have brought to institute",placeholder:"All Prescription Medicine Dosage And Frequency",type:"textarea"},{id:"camp_students_healthAdditionalMedicalNeeds",label:"Is there anything else we should know about your child's medical needs?",placeholder:"Additional Medical Needs",type:"textarea"},{id:"camp_students_insuranceProviderName",label:"HEALTH INSURANCE  - Provider Name",placeholder:"i.e. Aetna, Blue Cross, United Healthcare, etc.",type:"text",required:!0},{id:"camp_students_insuranceNameOfPrimaryInsured",label:"Name Of Primary Insured",placeholder:"Name Of Primary Insured",type:"text",required:!0},{id:"camp_students_insuranceGroupNumber",label:"Insurance Group Number",placeholder:"Group Number",type:"text",required:!0},{id:"camp_students_insurancePolicyNumber",label:"Insurance Policy Number",placeholder:"Policy Number",type:"text",required:!0},{id:"camp_students_insurancePhoneNumber",label:"Insurance Phone Number",placeholder:"Phone Number",type:"text",required:!0},{id:"camp_students_healthAgreeToReleaseForm",label:"Please type your name to agree to the following statement: I, as parent/guardian of the above named Global Debate Symposium student, do hereby certify that I have accurately listed all known medical conditions, limitations or allergies above. I give my permission to the Director, or the designated Healthcare Provider/EMT to authorize emergency medical treatment for this camper if I cannot be reached. I agree to accept financial responsibility for all medical care provided. I understand that Global Debate Symposium will refuse to accept and will send home any camper who has health, emotional, behavioral or physical needs that cannot be handled safely or appropriately at Global Debate Symposium",placeholder:"Your First and Last Name",type:"text",required:!0}],student:[{id:"camp_students_firstName",label:"First Name",placeholder:"First Name",type:"text",required:!0},{id:"camp_students_lastName",label:"Last Name",placeholder:"Last Name",type:"text",required:!0},{id:"camp_students_nickName",label:"Nick Name",placeholder:"Nick Name",type:"text",required:!1},{id:"camp_students_cellPhoneNumber",label:"Student Cell Phone Number (if they have one)",placeholder:"555-555-5555",type:"text",required:!1},{id:"camp_students_currentGrade",label:"Student's grade for the 2018-2019 School Year?",placeholder:"Current Grade",type:"select",required:!0,options:[{label:"12",value:"12"},{label:"11",value:"11"},{label:"10",value:"10"},{label:"9",value:"9"},{label:"8",value:"8"},{label:"7",value:"7"},{label:"6",value:"6"}]},{id:"camp_students_currentSchoolName",label:"What school will your student attend in the 2018-2019 School Year?",placeholder:"Current School Name",type:"text",required:!0},{id:"camp_students_currentSchoolCity",label:"School City",placeholder:"School City",type:"text",required:!0},{id:"camp_students_currentSchoolState",label:"School State",type:"select",required:!0,options:this.stateNames},{id:"camp_students_sex",label:"Student's Gender",type:"select",required:!0,options:[{label:"Female",value:"female"},{label:"Male",value:"male"},{label:"Other",value:"other"}]},{id:"camp_students_shirtSize",label:"Shirt Size",type:"select",required:!0,options:[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"},{label:"XL",value:"xl"},{label:"2XL",value:"2xl"},{label:"3XL",value:"3xl"}]},{id:"camp_students_email",label:"Email",placeholder:"Email",type:"email",required:!0},{id:"camp_students_dateOfBirth",label:"Date Of Birth (Format: MM-DD-YYYY)",placeholder:"Date Of Birth",type:"text",required:!0}],guardian:[{id:"camp_guardians_firstName",label:"First Name",placeholder:"First Name",type:"text",required:!0},{id:"camp_guardians_lastName",label:"Last Name",placeholder:"Last Name",type:"text",required:!0},{id:"camp_guardians_cellPhone",label:"Cell Phone",placeholder:"Cell Phone",type:"text",required:!1},{id:"camp_guardians_otherPhone",label:"Other Phone",placeholder:"Other Phone",type:"text",required:!1},{id:"camp_guardians_email",label:"Email",placeholder:"Email",type:"text",required:!0},{id:"camp_guardians_address1",label:"Address1",placeholder:"Address1",type:"text",required:!0},{id:"camp_guardians_address2",label:"Address2",placeholder:"Address2",type:"text",required:!1},{id:"camp_guardians_city",label:"City",placeholder:"City",type:"text",required:!0},{id:"camp_guardians_state",label:"State",type:"select",required:!0,options:this.stateNames},{id:"camp_guardians_zip",label:"Zip",placeholder:"Zip",type:"text",required:!0}]},this.getModel=function(e){return angular.copy(o.models[e])}}])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.service("storeService",["appService","$rootScope","$q",function(e,t,n){var r=this,i=this;this.projects_view=function(){i.projects=null,e.goData({url:"projects/crud/",method:"post",data:{method:"view"},defaultErrorMessage:"Projects not found",isSuccess:function(n){n&&(r.getActiveProjectId(),console.log("projects info",n),i.projects=n,e.notifyUser("info",{text:"Projects retrieved: "+e.objectLength(n)}),t.$emit("projects-updated",i.projects))},isError:function(e){console.log("info is",e),e&&"User is not authorized to view this resource..."==e&&(window.localStorage.removeItem("activeProjectId"),window.localStorage.removeItem("store"),window.localStorage.removeItem("t"),window.location.reload())}})},this.init=function(){},this.init()}])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(81);t.default=function(e){e.controller("AccountController",["$scope","$rootScope","userService",function(e,t,n){e.getUser=function(){n.getUser().then(function(t){e.currentUser=t,(0,r.setUserCookiesForGtm)(e.currentUser),e.userObject=angular.copy(e.currentUser),e.userPasswordObject={},e.userObject&&e.userObject.extras&&(e.userExtras=angular.copy(e.userObject.extras),delete e.userObject.extras)},function(e){window.location.href="/"})},t.$on("user-login-change",function(t,n){e.getUser()}),e.init=function(){e.getUser()},e.init()}])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(81);t.default=function(e){e.directive("cpUserLogin",function(){return{template:n(449),restrict:"E",transclude:!0,controller:["$scope","$http","userService","$rootScope","$timeout",function(e,t,n,i,o){e.errorMessage="",e.userFound=!1,e.userReset=!1,e.reloadPage=function(){o(function(){return window.location.reload()},500)},e.login=function(t,o){n.login(t,o).then(function(t){return t?((0,r.setUserCookiesForGtm)(t),window.logUserInfo(),i.$emit("user-logged-in",t),window.setTimeout(function(){e.reloadPage()},4e3),window&&window.dataLayer&&window.dataLayer.push({event:"user-login",eventCallback:function(){e.reloadPage()},eventTimeout:2e3}),!0):alert("There was an error, feel free to try again.")},function(e){return alert(e)})},e.resetPassword=function(t){console.log("user",t),n.resetPassword(t).then(function(t){return t?e.userFound=!0:alert("User / email was not found in our system, feel free to try again.")},function(e){return alert(e)})},e.newPassword=function(t,r){return!!t&&(!!r&&void n.newPassword(t,r).then(function(t){return t?e.userReset=!0:alert("Password was not reset, feel free to try again.")},function(e){return alert(e)}))}}]}})}},function(e,t){e.exports='<div>\n  <ng-transclude>\n    <form role="form" ng-submit="login(userObject.user,userObject.pass)">\n      <div class="form-group">\n        <label for="usrname"><span class="glyphicon glyphicon-user"></span> Your Email</label>\n        <input ng-model="userObject.user" type="text" class="form-control" id="usrname" placeholder="Enter email or username" />\n      </div>\n      <div class="form-group">\n        <label for="psw"><span class="glyphicon glyphicon-eye-open"></span> Password</label>\n        <input ng-model="userObject.pass" type="password" class="form-control" id="psw" placeholder="Enter password" />\n      </div>\n\n      <button type="submit" class="btn btn-success btn-block"><span class="glyphicon glyphicon-off"></span> Login</button>\n    </form>\n  </ng-transclude>\n</div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(81);t.default=function(e){e.directive("cpUserLogout",function(){return{restrict:"A",controller:["$scope","$http","userService","$rootScope","$timeout",function(e,t,n,i,o){e.redirectToHome=function(){o(function(){window.location.href="/"},500)},e.logout=function(){n.logout().then(function(){window.setTimeout(function(){(0,r.removeUserCookiesForGtm)(),e.redirectToHome()},4e3),window&&window.dataLayer&&window.dataLayer.push({event:"user-logout",eventCallback:function(){(0,r.removeUserCookiesForGtm)(),e.redirectToHome()},eventTimeout:2e3})})}}]}})}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(81);t.default=function(t){t.directive("cpUserSignUp",function(){return{template:n(452),restrict:"E",transclude:!0,controller:["$scope","$http","userService","$rootScope","appService","$timeout",function(t,n,i,o,a,s){t.errorMessage="",t.reloadPage=function(){s(function(){return window.location.reload()},500)},t.testModal=function(){console.log("here"),o.$emit("user-logged-in",{}),e("#myModalSignedUp").modal()},t.findSchoolCheckForEnter=function(e,n){var r=e.which?e.which:e.keyCode;console.log(r,n);if(13==r){if(e.preventDefault(),!n)return!1;t.findSchool(n)}},t.findSchool=function(e){console.log("zip",e),t.schoolsListLoading=!0,t.schoolsList=null,a.processData({url:"/aaa-content/user/api/nces/zip.php?zip="+e,method:"get",data:{}}).then(function(e){console.log("info",e),t.schoolsList=e,t.schoolsListLoading=!1},function(e){t.schoolsListLoading=!1,alert("There was an error, feel free to try again"),console.log(e)})},t.signUpWithUpload=function(e,n,a){i.signUpWithUpload(e,n,a).then(function(e){if(e){(0,r.setUserCookiesForGtm)(e.currentUser),window.logUserInfo(),o.$emit("user-logged-in",e.currentUser),document.body.scrollTop=document.documentElement.scrollTop=0;var n=null;return e.extras&&e.extras.signUpText&&(n=e.extras.signUpText),n||(n="Thank you for signing up! Feel free to browse our website"),window.setTimeout(function(){t.reloadPage()},5e3),window&&window.dataLayer&&window.dataLayer.push({event:"user-signup",eventCallback:function(){window.dataLayer.push({event:"user-login",eventCallback:function(){t.reloadPage()},eventTimeout:1500})},eventTimeout:1500}),!0}return alert("There was an error, feel free to try again.")},function(e){return alert(e)})},t.signUp=function(e,t,n){i.signUp(e,t,n).then(function(e){if(e){o.$emit("user-logged-in",e.currentUser);var t=null;return e.extras&&e.extras.signUpText&&(t=e.extras.signUpText),t||(t="Thank you for signing up! Feel free to browse our website"),s(function(){return window.location.reload()},500),!0}return alert("There was an error, feel free to try again.")},function(e){return alert(e)})}}]}})}}).call(t,n(11))},function(e,t){e.exports="<div>\n  <ng-transclude> </ng-transclude>\n</div>\n"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.directive("cpUserUpdateUser",function(){return{template:n(454),restrict:"E",transclude:!0,controller:["$scope","$http","userService","$rootScope",function(e,t,n,r){e.errorMessage="",e.updateUser=function(e,t){n.updateUser(e,t).then(function(e){return e?(r.$emit("user-logged-in",e),!0):alert("There was an error, feel free to try again.")},function(e){return alert(e)})},e.updatePassword=function(e,t,i){return t?i?i!==t?alert("Passwords do not match."):void n.updateUser({cpUsers_recordNumber:e,cpUsers_password:t},{}).then(function(e){return e?(r.$emit("user-logged-in",e),alert("Your password has been updated"),!0):alert("There was an error, feel free to try again.")},function(e){return alert(e)}):alert("Will you please retype your password?"):alert("You need enter a password if you want to change it")}}]}})}},function(e,t){e.exports="<div>\n  <ng-transclude></ng-transclude>\n</div>\n"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.service("userService",["$http","$q","$window","appService","$rootScope",function(e,t,n,r,i){var o=this;o.init_ran=!1,o.currentUser=null,o.ajaxPrefix="/aaa-content/packages/user-login-manager/api/",o.logout=function(){return o.currentUser=null,window.localStorage.removeItem("t"),t.resolve()},o.checkForFileErrors=function(e){return e?e[0]?e[0].files?e[0].files.length?e[0].files.length<1?{success:!1,error:"No file selected. (file length is zero)"}:e[0].files[0]?{success:!0}:{success:!1,error:"No file selected. no file element"}:{success:!1,error:"No file selected. (no file length)"}:{success:!1,error:"No file selected."}:{success:!1,error:"no element item"}:{success:!1,error:"no element"}},o.isErrorDefault=function(e){alert(e)},o.signUpWithUpload=function(e,a,s){s&&(s.teacherDetails__school_data_nces_id&&(a.school_name="School ID: "+s.teacherDetails__school_data_nces_id),s.teacherDetails_schoolName&&(a.school_name=s.teacherDetails_schoolName),s.teacherDetails_isHomeschool&&(a.school_name="Homeschool"));var l="#teacherDetails_fileUpload",c=document.querySelector(l),u=angular.element(c),d=o.checkForFileErrors(u),f=new FormData;return d.success&&f.append("teacherDetails_fileUpload",u[0].files[0]),f.append("userObject",JSON.stringify(e)),f.append("userExtras",JSON.stringify(a)),f.append("userDetails",JSON.stringify(s)),r.uploadFile({url:o.ajaxPrefix+"signUp3/?thisIsTest=true",method:"file",fieldId:l,fd:f,defaultErrorMessage:"File not uploaded",isErrorDefault:o.isErrorDefault}).then(function(e){return e&&e.t&&e.currentUser?(o.currentUser=e.currentUser,n.localStorage.setItem("t",e.t),i.$emit("user-login-change",e.currentUser),console.log(!0),t.resolve({currentUser:e.currentUser?e.currentUser:{},extras:e.extras?e.extras:{},referrer_active:!(!e.extras||!e.extras.referrer_active)&&e.extras.referrer_active})):t.reject("User Account was not created. You can reload this page and try again.")},function(e){return t.reject(e||"User Account was not created. You can reload this page and try again.")})},o.signUp=function(e,a,s){return s&&(s.teacherDetails__school_data_nces_id&&(a.school_name="School ID: "+s.teacherDetails__school_data_nces_id),s.teacherDetails_schoolName&&(a.school_name=s.teacherDetails_schoolName),s.teacherDetails_isHomeschool&&(a.school_name="Homeschool")),r.processData({url:o.ajaxPrefix+"signUp/",method:"post",data:{userObject:e,userExtras:a,userDetails:s}}).then(function(e){return e&&e.t&&e.currentUser?(o.currentUser=e.currentUser,n.localStorage.setItem("t",e.t),i.$emit("user-login-change",e.currentUser),t.resolve({currentUser:e.currentUser?e.currentUser:{},extras:e.extras?e.extras:{},referrer_active:!(!e.extras||!e.extras.referrer_active)&&e.extras.referrer_active})):t.reject("User Account was not created. You can reload this page and try again.")},function(e){return t.reject(e||"User Account was not created. You can reload this page and try again.")})},o.updateUser=function(e,a){return r.processData({url:o.ajaxPrefix+"updateUser/",method:"post",data:{userObject:e,userExtras:a}}).then(function(e){return e&&e.t&&e.currentUser?(o.currentUser=e.currentUser,n.localStorage.setItem("t",e.t),i.$emit("user-login-change",e.currentUser),t.resolve(e.currentUser)):t.reject("User Account was not updated. You can reload this page and try again.")},function(e){return t.reject(e||"User Account was not updated. You can reload this page and try again.")})},o.login=function(e,a){var s={};return(e||a)&&(s={u:e,p:a}),r.processData({url:o.ajaxPrefix+"login/",method:"post",data:s}).then(function(e){return e&&e.t&&e.currentUser?(o.currentUser=e.currentUser,n.localStorage.setItem("t",e.t),i.$emit("user-login-change",e.currentUser),i.$emit("user-test-done",!0),t.resolve(e.currentUser)):(i.$emit("user-test-done",!0),t.reject("User not found"))},function(e){return t.reject(e||"User not found")})},o.resetPassword=function(e){if(!e)return!1;var n={user:e};return r.processData({url:o.ajaxPrefix+"forgot/",method:"post",data:n}).then(function(e){return console.log(e),e&&e.success?t.resolve(e.success):t.reject("User / email not found in our system, feel free to try again.")},function(e){return t.reject(e||"User / email not found in our system, feel free to try again")})},o.newPassword=function(e,n){if(!e)return!1;if(!n)return!1;var i={pass:e,key:n};return r.processData({url:o.ajaxPrefix+"reset-save/",method:"post",data:i}).then(function(e){return console.log(e),e&&e.success?t.resolve(e.success):t.reject("Password was not reset, feel free to try again.")},function(e){return t.reject(e||"Password was not reset, feel free to try again")})},o.getUser=function(){return o.currentUser?(i.$emit("user-test-done",!0),t.resolve(o.currentUser)):n.localStorage.getItem("t")?o.login():(i.$emit("user-test-done",!0),t.reject("Not logged in"))},o.isLoggedIn=function(){return o.getUser().then(function(e){return t.resolve(!0)},function(e){return t.reject(!1)})},o.init=function(){o.getUser()},o.init_ran||(o.init_ran=!0,o.init())}])}}]);