!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=188)}([function(e,t,n){"use strict";var r=n(1),i=n(10),o=n(20),a=n(17),s=n(23),c=function e(t,n,c){var l,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,b=h?i:i[n]||(i[n]={}),$=b.prototype||(b.prototype={});h&&(c=n);for(l in c)u=!p&&y&&void 0!==y[l],d=(u?y:c)[l],f=g&&u?s(d,r):m&&"function"==typeof d?s(Function.call,d):d,y&&a(y,l,d,t&e.U),b[l]!=d&&o(b,l,f),m&&$[l]!=d&&($[l]=d)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},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";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");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};e.exports=function(e){return"object"===(void 0===e?"undefined":r(e))?null!==e:"function"==typeof e}},function(e,t,n){"use strict";(function(e){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 c(e,t){return e.push(t),t}function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=I.apply(void 0,P([{}],t.reverse()));return I(r,d(e||{},Object.keys(r)))}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,t){return Object.keys(e).filter((0,A.not)(R(t))).reduce(function(t,n){return t[n]=e[n],t},{})}function p(e,t){return m(e,(0,A.prop)(t))}function h(e,t){var n=(0,k.isArray)(e),r=n?[]:{},i=n?function(e){return r.push(e)}:function(e,t){return r[t]=e};return M(e,function(e,n){t(e,n)&&i(e,n)}),r}function v(e,t){var n;return M(e,function(e,r){n||t(e,r)&&(n=e)}),n}function m(e,t,n){return n=n||((0,k.isArray)(e)?[]:{}),M(e,function(e,r){return n[r]=t(e,r)}),n}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((0,k.isFunction)(t)?t(n):t);return r}}function b(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce(function(e,t){return Math.min(t.length,e)},9007199254740991),r=[],i=0;i<n;i++)!function(t){switch(e.length){case 1:r.push([e[0][t]]);break;case 2:r.push([e[0][t],e[1][t]]);break;case 3:r.push([e[0][t],e[1][t],e[2][t]]);break;case 4:r.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:r.push(e.map(function(e){return e[t]}))}}(i);return r}function $(e,t){var n,r;if((0,k.isArray)(t)&&(n=t[0],r=t[1]),!(0,k.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,t){return t&&Object.keys(t).forEach(function(e){return delete t[e]}),t||(t={}),I(t,e)}function S(e,t,n){if((0,k.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((0,A.all)(k.isArray)(r))return T(e,t);if((0,A.all)(k.isDate)(r))return e.getTime()===t.getTime();if((0,A.all)(k.isRegExp)(r))return e.toString()===t.toString();if((0,A.all)(k.isFunction)(r))return!0;if([k.isFunction,k.isArray,k.isDate,k.isRegExp].map(A.any).reduce(function(e,t){return e||!!t(r)},!1))return!1;var i={};for(var o in e){if(!C(e[o],t[o]))return!1;i[o]=!0}for(var o in t)if(!i[o])return!1;return!0}function T(e,t){return e.length===t.length&&b(e,t).reduce(function(e,t){return e&&C(t[0],t[1])},!0)}Object.defineProperty(t,"__esModule",{value:!0}),t.silentRejection=t.silenceUncaughtInPromise=t.pairs=t.assertMap=t.assertPredicate=t.flatten=t.unnest=t.uniqR=t.flattenR=t.unnestR=t.anyTrueR=t.allTrueR=t.values=t.mapObj=t.mergeR=t.deregAll=t.pushTo=t.removeFrom=t.inArray=t.inherit=t.equals=t.extend=t.forEach=t.toJson=t.fromJson=t.root=void 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};t.identity=r,t.noop=i,t.createProxyFunctions=o,t._inArray=a,t._removeFrom=s,t._pushTo=c,t.defaults=l,t.ancestors=u,t.pick=d,t.omit=f,t.pluck=p,t.filter=h,t.find=v,t.map=m,t.pushR=g,t.assertFn=y,t.arrayTuples=b,t.applyPairs=$,t.tail=w,t.copy=x,t._extend=E;var k=n(7),A=n(9),O=n(16),P=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},N=t.root="object"===("undefined"==typeof self?"undefined":_(self))&&self.self===self&&self||"object"===(void 0===e?"undefined":_(e))&&e.global===e&&e||void 0,D=N.angular||{},M=(t.fromJson=D.fromJson||JSON.parse.bind(JSON),t.toJson=D.toJson||JSON.stringify.bind(JSON),t.forEach=D.forEach||S),I=t.extend=Object.assign||E,R=(t.equals=D.equals||C,t.inherit=function(e,t){return I(Object.create(e),t)},t.inArray=(0,A.curry)(a)),F=t.removeFrom=(0,A.curry)(s),j=(t.pushTo=(0,A.curry)(c),t.deregAll=function(e){return e.slice().forEach(function(t){"function"==typeof t&&t(),F(e,t)})},t.mergeR=function(e,t){return I(e,t)},t.mapObj=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)}),U=t.flattenR=function e(t,n){return(0,k.isArray)(n)?t.concat(n.reduce(e,[])):g(t,n)},L=(t.uniqR=function(e,t){return R(e,t)?e:g(e,t)},t.unnest=function(e){return e.reduce(j,[])},t.flatten=function(e){return e.reduce(U,[])},t.assertPredicate=y,t.assertMap=y,t.pairs=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})},t.silenceUncaughtInPromise=function(e){return e.catch(function(e){return 0})&&e});t.silentRejection=function(e){return L(O.services.$q.reject(e))}}).call(t,n(110))},function(e,t,n){"use strict";var r=n(63)("wks"),i=n(38),o=n(1).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";function r(e){if(p(e)&&e.length){var t=e.slice(0,-1),n=e.slice(-1);return!(t.filter((0,o.not)(d)).length||n.filter((0,o.not)(u)).length)}return u(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=t.isRegExp=t.isDate=t.isArray=t.isObject=t.isString=t.isNumber=t.isFunction=t.isNullOrUndefined=t.isNull=t.isDefined=t.isUndefined=void 0;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};t.isInjectable=r;var o=n(9),a=Object.prototype.toString,s=function(e){return function(t){return(void 0===t?"undefined":i(t))===e}},c=t.isUndefined=s("undefined"),l=(t.isDefined=(0,o.not)(c),t.isNull=function(e){return null===e}),u=(t.isNullOrUndefined=(0,o.or)(l,c),t.isFunction=s("function")),d=(t.isNumber=s("number"),t.isString=s("string")),f=t.isObject=function(e){return null!==e&&"object"===(void 0===e?"undefined":i(e))},p=t.isArray=Array.isArray;t.isDate=function(e){return"[object Date]"===a.call(e)},t.isRegExp=function(e){return"[object RegExp]"===a.call(e)},t.isPromise=(0,o.and)(f,(0,o.pipe)((0,o.prop)("then"),u))},function(e,t,n){"use strict";var r=n(25),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";function r(e){return function t(){if(arguments.length>=e.length)return e.apply(this,arguments);var n=Array.prototype.slice.call(arguments);return t.bind.apply(t,u([this],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 c(e,t){return function(n){return n[e].apply(n,t)}}function l(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.and=a,t.or=s,t.invoke=c,t.pattern=l;var u=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},d=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(d))},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.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}}},function(e,t,n){"use strict";var r=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(16);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(111);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(9);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(7);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(112);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var l=n(30);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(36);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[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=n(3),i=n(125),o=n(34),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 c(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 l(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function u(e){var t={};return ge.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function d(){ce.addEventListener?(ce.removeEventListener("DOMContentLoaded",f),o.removeEventListener("load",f)):(ce.detachEvent("onreadystatechange",f),o.detachEvent("onload",f))}function f(){(ce.addEventListener||"load"===o.event.type||"complete"===ce.readyState)&&(d(),ge.ready())}function p(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Fe,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Re.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(Ie(e)){var o,a,s=ge.expando,c=e.nodeType,l=c?ge.cache:e,u=c?e[s]:e[s]&&s;if(u&&l[u]&&(r||l[u].data)||void 0!==n||"string"!=typeof t)return u||(u=c?e[s]=se.pop()||ge.guid++:s),l[u]||(l[u]=c?{}:{toJSON:ge.noop}),"object"!==(void 0===t?"undefined":i(t))&&"function"!=typeof t||(r?l[u]=ge.extend(l[u],t):l[u].data=ge.extend(l[u].data,t)),a=l[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(Ie(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,"")},c=s(),l=n&&n[3]||(ge.cssNumber[t]?"":"px"),u=(ge.cssNumber[t]||"px"!==l&&+c)&&Ue.exec(ge.css(e,t));if(u&&u[3]!==l){l=l||u[3],n=n||[],u=+c||1;do{o=o||".5",u/=o,ge.style(e,t,u+l)}while(o!==(o=s()/c)&&1!==o&&--a)}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,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 b(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,b(r,t));return void 0===t||t&&ge.nodeName(e,t)?ge.merge([e],o):o}function $(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,c,l,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(c=c||p.appendChild(t.createElement("div")),l=(Be.exec(a)||["",""])[1].toLowerCase(),d=Ye[l]||Ye._default,c.innerHTML=d[1]+ge.htmlPrefilter(a)+d[2],o=d[0];o--;)c=c.lastChild;if(!me.leadingWhitespace&&ze.test(a)&&h.push(t.createTextNode(ze.exec(a)[0])),!me.tbody)for(a="table"!==l||Je.test(a)?"<table>"!==d[1]||Je.test(a)?0:c:c.firstChild,o=a&&a.childNodes.length;o--;)ge.nodeName(u=a.childNodes[o],"tbody")&&!u.childNodes.length&&a.removeChild(u);for(ge.merge(h,c.childNodes),c.textContent="";c.firstChild;)c.removeChild(c.firstChild);c=p.lastChild}else h.push(t.createTextNode(a));for(c&&p.removeChild(c),me.appendChecked||ge.grep(b(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),c=b(p.appendChild(a),"script"),s&&$(c),n)for(o=0;a=c[o++];)We.test(a.type||"")&&n.push(a);return c=null,p}function S(){return!0}function E(){return!1}function C(){try{return ce.activeElement}catch(e){}}function T(e,t,n,r,o,a){var s,c;if("object"===(void 0===t?"undefined":i(t))){"string"!=typeof n&&(r=r||n,n=void 0);for(c in t)T(e,c,n,r,t[c],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 k(e){return e.type=(null!==ge.find.attr(e,"type"))+"/"+e.type,e}function A(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function O(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?(k(t).text=e.text,A(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 N(e,t,n,r){t=ue.apply([],t);var i,o,a,s,c,l,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())),N(o,t,n,r)});if(d&&(l=x(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(s=ge.map(b(l,"script"),k),a=s.length;u<d;u++)o=l,u!==f&&(o=ge.clone(o,!0,!0),a&&ge.merge(s,b(o,"script"))),n.call(e[u],o,u);if(a)for(c=s[s.length-1].ownerDocument,ge.map(s,A),u=0;u<a;u++)o=s[u],We.test(o.type||"")&&!ge._data(o,"globalEval")&&ge.contains(c,o)&&(o.src?ge._evalUrl&&ge._evalUrl(o.src):ge.globalEval((o.text||o.textContent||o.innerHTML||"").replace(ct,"")));l=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(b(r)),r.parentNode&&(n&&ge.contains(r.ownerDocument,r)&&$(b(r,"script")),r.parentNode.removeChild(r));return e}function M(e,t){var n=ge(t.createElement(e)).appendTo(t.body),r=ge.css(n[0],"display");return n.detach(),r}function I(e){var t=ce,n=ft[e];return n||(n=M(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=M(e,t),dt.detach()),ft[e]=n),n}function R(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function F(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",I(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(ce.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(){kt=void 0}),kt=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,c,l,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,c=s.empty.fire,s.empty.fire=function(){s.unqueued||c()}),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],l=ge.css(e,"display"),"inline"===("none"===l?ge._data(e,"olddisplay")||I(e.nodeName):l)&&"none"===ge.css(e,"float")&&(me.inlineBlockNeedsLayout&&"inline"!==I(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],Ot.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 l=void 0;if(ge.isEmptyObject(d))"inline"===("none"===l?I(e.nodeName):l)&&(f.display=l);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 c.elem}),c=function(){if(i)return!1;for(var t=kt||H(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,c=l.tweens.length;a<c;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&c?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:ge.extend({},t),opts:ge.extend(!0,{specialEasing:{},easing:ge.easing._default},n),originalProperties:t,originalOptions:n,startTime:kt||H(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ge.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),u=l.props;for(G(u,l.opts.specialEasing);o<a;o++)if(r=Y.prefilters[o].call(l,e,u,l.opts))return ge.isFunction(r.stop)&&(ge._queueHooks(l.elem,l.opts.queue).stop=ge.proxy(r.stop,r)),r;return ge.map(u,W,l),ge.isFunction(l.opts.start)&&l.opts.start.call(e,l),ge.fx.timer(ge.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.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(Ne)||[];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 c;return o[s]=!0,ge.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(c=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),c}var o={},a=e===en;return i(t.dataTypes[0])||!o["*"]&&i("*")}function Q(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 Z(e,t,n){for(var r,i,o,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){c.unshift(a);break}if(c[0]in n)o=c[0];else{for(a in n){if(!c[0]||e.converters[a+" "+c[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==c[0]&&c.unshift(o),n[o]}function ee(e,t,n,r){var i,o,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=l[c+" "+o]||l["* "+o]))for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[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 "+c+" 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=[],ce=o.document,le=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,be=/^-ms-/,$e=/-([\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 le.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:le.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(le.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]||{},c=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[c]||{},c++),"object"===(void 0===s?"undefined":i(s))||ge.isFunction(s)||(s={}),c===l&&(s=this,c--);c<l;c++)if(null!=(o=arguments[c]))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(be,"ms-").replace($e,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=le.call(arguments,2),r=function(){return e.apply(t||this,n.concat(le.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,l,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)!==O&&A(t),t=t||O,N)){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))&&R(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])&&b.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(i)),n}if(b.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=F),f=S(e),o=f.length,l=ue.test(s)?"#"+s:"[id='"+s+"']";o--;)f[o]=l+" "+u(f[o]);p=f.join(","),h=me.test(e)&&c(t.parentNode)||t}if(p)try{return J.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{s===F&&t.removeAttribute("id")}}}return C(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>$.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(e){var t=O.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--;)$.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 c(e){return e&&void 0!==e.getElementsByTagName&&e}function l(){}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,c,l,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(l=t[F]||(t[F]={}),c=l[t.uniqueID]||(l[t.uniqueID]={}),(s=c[r])&&s[0]===U&&s[1]===o)return u[2]=s[2];if(c[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,c=e.length,l=null!=t;s<c;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function v(e,t,n,i,o,a){return i&&!i[F]&&(i=v(i)),o&&!o[F]&&(o=v(o,a)),r(function(r,a,s,c){var l,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,c),b=n?o||(r?e:m||i)?[]:a:y;if(n&&n(y,b,s,c),i)for(l=h(b,v),i(l,[],s,c),u=l.length;u--;)(d=l[u])&&(b[v[u]]=!(y[v[u]]=d));if(r){if(o||e){if(o){for(l=[],u=b.length;u--;)(d=b[u])&&l.push(y[u]=d);o(null,b=[],l,c)}for(u=b.length;u--;)(d=b[u])&&(l=o?Q(r,d):f[u])>-1&&(r[l]=!(a[l]=d))}}else b=h(b===a?b.splice(m,b.length):b),o?o(null,a,b,c):J.apply(a,b)})}function m(e){for(var t,n,r,i=e.length,o=$.relative[e[0].type],a=o||$.relative[" "],s=o?1:0,c=d(function(e){return e===t},a,!0),l=d(function(e){return Q(t,e)>-1},a,!0),p=[function(e,n,r){var i=!o&&(r||n!==T)||((t=n).nodeType?c(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=$.relative[e[s].type])p=[d(f(p),n)];else{if(n=$.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<i&&!$.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,c,l){var u,d,f,p=0,v="0",m=r&&[],g=[],y=T,b=r||o&&$.find.TAG("*",l),w=U+=null==y?1:Math.random()||.1,x=b.length;for(l&&(T=a===O||a||l);v!==x&&null!=(u=b[v]);v++){if(o&&u){for(d=0,a||u.ownerDocument===O||(A(u),s=!N);f=e[d++];)if(f(u,a||O,s)){c.push(u);break}l&&(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(c));g=h(g)}J.apply(c,g),l&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(c)}return l&&(U=w,T=y),m};return i?r(a):a}var y,b,$,w,x,S,E,C,T,_,k,A,O,P,N,D,M,I,R,F="sizzle"+1*new Date,j=e.document,U=0,L=0,q=n(),V=n(),H=n(),B=function(e,t){return e===t&&(k=!0),0},W=1<<31,z={}.hasOwnProperty,G=[],Y=G.pop,K=G.push,J=G.push,X=G.slice,Q=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\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+"*"),ce=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=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("^(?:"+Z+")$","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"),be=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)},$e=function(){A()};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}}}b=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:j;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,P=O.documentElement,N=!x(O),(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",$e,!1):n.attachEvent&&n.attachEvent("onunload",$e)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(O.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(O.getElementsByClassName),b.getById=i(function(e){return P.appendChild(e).id=F,!O.getElementsByName||!O.getElementsByName(F).length}),b.getById?($.find.ID=function(e,t){if(void 0!==t.getElementById&&N){var n=t.getElementById(e);return n?[n]:[]}},$.filter.ID=function(e){var t=e.replace(ye,be);return function(e){return e.getAttribute("id")===t}}):(delete $.find.ID,$.filter.ID=function(e){var t=e.replace(ye,be);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),$.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},$.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&N)return t.getElementsByClassName(e)},M=[],D=[],(b.qsa=he.test(O.querySelectorAll))&&(i(function(e){P.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||D.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+F+"-]").length||D.push("~="),e.querySelectorAll(":checked").length||D.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||D.push(".#.+[+~]")}),i(function(e){var t=O.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(",.*:")})),(b.matchesSelector=he.test(I=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&i(function(e){b.disconnectedMatch=I.call(e,"div"),I.call(e,"[s!='']:x"),M.push("!=",re)}),D=D.length&&new RegExp(D.join("|")),M=M.length&&new RegExp(M.join("|")),t=he.test(P.compareDocumentPosition),R=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 k=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===O||e.ownerDocument===j&&R(j,e)?-1:t===O||t.ownerDocument===j&&R(j,t)?1:_?Q(_,e)-Q(_,t):0:4&n?-1:1)}:function(e,t){if(e===t)return k=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],c=[t];if(!i||!o)return e===O?-1:t===O?1:i?-1:o?1:_?Q(_,e)-Q(_,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)c.unshift(n);for(;s[r]===c[r];)r++;return r?a(s[r],c[r]):s[r]===j?-1:c[r]===j?1:0},O):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&A(e),n=n.replace(ce,"='$1']"),b.matchesSelector&&N&&!H[n+" "]&&(!M||!M.test(n))&&(!D||!D.test(n)))try{var r=I.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&A(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&A(e);var n=$.attrHandle[t.toLowerCase()],r=n&&z.call($.attrHandle,t.toLowerCase())?n(e,t,!N):void 0;return void 0!==r?r:b.attributes||!N?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(k=!b.detectDuplicates,_=!b.sortStable&&e.slice(0),e.sort(B),k){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},$=t.selectors={cacheLength:50,createPseudo:r,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=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,c){var l,u,d,f,p,h,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!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[F]||(f[F]={}),u=d[f.uniqueID]||(d[f.uniqueID]={}),l=u[e]||[],p=l[0]===U&&l[1],b=p&&l[2],f=p&&m.childNodes[p];f=++p&&f&&f[v]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){u[e]=[U,p,b];break}}else if(y&&(f=t,d=f[F]||(f[F]={}),u=d[f.uniqueID]||(d[f.uniqueID]={}),l=u[e]||[],p=l[0]===U&&l[1],b=p),!1===b)for(;(f=++p&&f&&f[v]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&(d=f[F]||(f[F]={}),u=d[f.uniqueID]||(d[f.uniqueID]={}),u[e]=[U,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=$.pseudos[e]||$.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[F]?o(n):o.length>1?(i=[e,e,"",n],$.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=Q(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=E(e.replace(oe,"$1"));return i[F]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,be),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ue.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,be).toLowerCase(),function(t){var n;do{if(n=N?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===O.activeElement&&(!O.hasFocus||O.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!$.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})}},$.pseudos.nth=$.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})$.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})$.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return l.prototype=$.filters=$.pseudos,$.setFilters=new l,S=t.tokenize=function(e,n){var r,i,o,a,s,c,l,u=V[e+" "];if(u)return n?0:u.slice(0);for(s=e,c=[],l=$.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),c.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 $.filter)!(i=de[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):V(e,c).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[F]?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,l,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&&b.getById&&9===t.nodeType&&N&&$.relative[o[1].type]){if(!(t=($.find.ID(a.matches[0].replace(ye,be),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],!$.relative[s=a.type]);)if((l=$.find[s])&&(r=l(a.matches[0].replace(ye,be),me.test(o[0].type)&&c(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,!N,n,!t||me.test(e)&&c(t.parentNode)||t),n},b.sortStable=F.split("").sort(B).join("")===F,b.detectDuplicates=!!k,A(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(O.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)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(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(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Ce.test(e)?ge(e):e||[],!1).length}});var ke,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ge.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||ke,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ae.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:ce,!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=ce.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return ke.find(e);this.length=1,this[0]=i}return this.context=ce,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,ke=ge(ce);var Oe=/^(?: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 l(e,"nextSibling")},prev:function(e){return l(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)),Oe.test(e)&&(i=i.reverse())),this.pushStack(i)}});var Ne=/\S+/g;ge.Callbacks=function(e){e="string"==typeof e?u(e):ge.extend({},e);var t,n,r,i,o=[],a=[],s=-1,c=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?[]:"")},l={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&&l.has(r)||o.push(r):r&&r.length&&"string"!==ge.type(r)&&t(r)})}(arguments),n&&!t&&c()),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||l.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||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},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=le.call(arguments),a=o.length,s=1!==a||e&&ge.isFunction(e.promise)?a:0,c=1===s?e:ge.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?le.call(arguments):i,r===t?c.notifyWith(n,r):--s||c.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(l(i,n,t)).done(l(i,r,o)).fail(c.reject):--s;return s||c.resolveWith(r,o),c.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(ce,[ge]),ge.fn.triggerHandler&&(ge(ce).triggerHandler("ready"),ge(ce).off("ready"))))}}),ge.ready.promise=function(e){if(!De)if(De=ge.Deferred(),"complete"===ce.readyState)o.setTimeout(ge.ready);else if(ce.addEventListener)ce.addEventListener("DOMContentLoaded",f),o.addEventListener("load",f);else{ce.attachEvent("onreadystatechange",f),o.attachEvent("onload",f);var t=!1;try{t=null==o.frameElement&&ce.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 Me;for(Me in ge(me))break;me.ownFirst="0"===Me,me.inlineBlockNeedsLayout=!1,ge(function(){var e,t,n,r;(n=ce.getElementsByTagName("body")[0])&&n.style&&(t=ce.createElement("div"),r=ce.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=ce.createElement("div");me.deleteExpando=!0;try{delete e.test}catch(e){me.deleteExpando=!1}e=null}();var Ie=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)},Re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Fe=/([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=ce.getElementsByTagName("body")[0])&&n.style?(t=ce.createElement("div"),r=ce.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(ce.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 c=0,l=t.length,u=null==r;if("object"===ge.type(r)){o=!0;for(c in r)e(t,n,c,r[c],!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(;c<l;c++)n(t[c],r,s?i:i.call(t[c],c,n(t[c],r)));return o?t:u?n.call(t):l?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=ce.createElement("div"),t=ce.createDocumentFragment(),n=ce.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>"!==ce.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=ce.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=ce.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,Qe=/^key/,Ze=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,et=/^(?:focusinfocus|focusoutblur)$/,tt=/^([^.]*)(?:\.(.+)|)/;ge.event={global:{},add:function(e,t,n,r,i){var o,a,s,c,l,u,d,f,p,h,v,m=ge._data(e);if(m){for(n.handler&&(c=n,n=c.handler,i=c.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(Ne)||[""],s=t.length;s--;)o=tt.exec(t[s])||[],p=v=o[1],h=(o[2]||"").split(".").sort(),p&&(l=ge.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=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(".")},c),(f=a[p])||(f=a[p]=[],f.delegateCount=0,l.setup&&!1!==l.setup.call(e,r,h,u)||(e.addEventListener?e.addEventListener(p,u,!1):e.attachEvent&&e.attachEvent("on"+p,u))),l.add&&(l.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,c,l,u,d,f,p,h,v,m=ge.hasData(e)&&ge._data(e);if(m&&(u=m.events)){for(t=(t||"").match(Ne)||[""],l=t.length;l--;)if(s=tt.exec(t[l])||[],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("\\.(?:.*\\.|)")+"(\\.|$)"),c=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));c&&!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[l],n,r,!0);ge.isEmptyObject(u)&&(delete m.handle,ge._removeData(e,"events"))}},trigger:function(e,t,n,r){var a,s,c,l,u,d,f,p=[n||ce],h=ve.call(e,"type")?e.type:e,v=ve.call(e,"namespace")?e.namespace.split("."):[];if(c=d=n=n||ce,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(l=u.delegateType||h,et.test(l+h)||(c=c.parentNode);c;c=c.parentNode)p.push(c),d=c;d===(n.ownerDocument||ce)&&p.push(d.defaultView||d.parentWindow||o)}for(f=0;(c=p[f++])&&!e.isPropagationStopped();)e.type=f>1?l:u.bindType||h,a=(ge._data(c,"events")||{})[e.type]&&ge._data(c,"handle"),a&&a.apply(c,t),(a=s&&c[s])&&a.apply&&Ie(c)&&(e.result=a.apply(c,t),!1===e.result&&e.preventDefault());if(e.type=h,!r&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(p.pop(),t))&&Ie(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=le.call(arguments),c=(ge._data(this,"events")||{})[e.type]||[],l=ge.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(a=ge.event.handlers.call(this,e,c),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 l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.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(c)>-1:ge.find(i,this,null,[c]).length),r[i]&&r.push(o);r.length&&a.push({elem:c,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=Ze.test(i)?this.mouseHooks:Qe.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||ce),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||ce,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=ce.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\/(.*)/,ct=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,lt=y(ce),ut=lt.appendChild(ce.createElement("div"));ge.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,c=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=b(o),s=b(e),a=0;null!=(i=s[a]);++a)r[a]&&P(i,r[a]);if(t)if(n)for(s=s||b(e),r=r||b(o),a=0;null!=(i=s[a]);a++)O(i,r[a]);else O(e,o);return r=b(o,"script"),r.length>0&&$(r,!c&&b(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=ge.expando,c=ge.cache,l=me.attributes,u=ge.event.special;null!=(n=e[a]);a++)if((t||Ie(n))&&(i=n[s],o=i&&c[i])){if(o.events)for(r in o.events)u[r]?ge.event.remove(n,r):ge.removeEvent(n,r,o.handle);c[i]&&(delete c[i],l||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),se.push(i))}}}),ge.fn.extend({domManip:N,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||ce).createTextNode(e))},null,e,arguments.length)},append:function(){return N(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){_(this,e).appendChild(e)}})},prepend:function(){return N(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 N(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return N(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(b(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(b(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return N(this,arguments,function(t){var n=this.parentNode;ge.inArray(this,e)<0&&(ge.cleanData(b(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=ce.documentElement;!function(){function e(){var e,u,d=ce.documentElement;d.appendChild(c),l.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(l),t="1%"!==(u||{}).top,s="2px"===(u||{}).marginLeft,r="4px"===(u||{width:"4px"}).width,l.style.marginRight="50%",n="4px"===(u||{marginRight:"4px"}).marginRight,e=l.appendChild(ce.createElement("div")),e.style.cssText=l.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",l.style.width="1px",a=!parseFloat((o.getComputedStyle(e)||{}).marginRight),l.removeChild(e)),l.style.display="none",i=0===l.getClientRects().length,i&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=l.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(c)}var t,n,r,i,a,s,c=ce.createElement("div"),l=ce.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",me.opacity="0.5"===l.style.opacity,me.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",me.clearCloneStyle="content-box"===l.style.backgroundClip,c=ce.createElement("div"),c.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",c.appendChild(l),me.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.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,bt=/^(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)&&!bt.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 $t=/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=ce.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,c=ge.camelCase(t),l=e.style;if(t=ge.cssProps[c]||(ge.cssProps[c]=F(c)||c),s=ge.cssHooks[t]||ge.cssHooks[c],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:l[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[c]?"":"px")),me.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(e,n,r)))))try{l[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]=F(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($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),ge.cssHooks.marginRight=R(me.reliableMarginRight,function(e,t){if(t)return vt(e,{display:"inline-block"},yt,[e,"marginRight"])}),ge.cssHooks.marginLeft=R(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 kt,At,Ot=/^(?: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(Ne);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(kt=ge.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||ge.fx.stop(),kt=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(){At||(At=o.setInterval(ge.fx.tick,ge.fx.interval))},ge.fx.stop=function(){o.clearInterval(At),At=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=ce.createElement("input"),n=ce.createElement("div"),r=ce.createElement("select"),i=r.appendChild(ce.createElement("option"));n=ce.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=!!ce.createElement("form").enctype,r.disabled=!0,me.optDisabled=!i.disabled,t=ce.createElement("input"),t.setAttribute("value",""),me.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),me.radioValue="t"===t.value}();var Nt=/\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(Nt,""):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,c=i<0?s:o?i:0;c<s;c++)if(n=r[c],(n.selected||c===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,Mt,It=ge.expr.attrHandle,Rt=/^(?:checked|selected)$/i,Ft=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)?Mt: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(Ne);if(o&&1===e.nodeType)for(;n=o[i++];)r=ge.propFix[n]||n,ge.expr.match.bool.test(n)?jt&&Ft||!Rt.test(n)?e[r]=!1:e[ge.camelCase("default-"+n)]=e[r]=!1:ge.attr(e,n,""),e.removeAttribute(Ft?n:r)}}),Mt={set:function(e,t,n){return!1===t?ge.removeAttr(e,n):jt&&Ft||!Rt.test(n)?e.setAttribute(!Ft&&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=It[t]||ge.find.attr;jt&&Ft||!Rt.test(t)?It[t]=function(e,t,r){var i,o;return r||(o=It[t],It[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,It[t]=o),i}:It[t]=function(e,t,n){if(!n)return e[ge.camelCase("default-"+t)]?t.toLowerCase():null}}),jt&&Ft||(ge.attrHooks.value={set:function(e,t,n){if(!ge.nodeName(e,"input"))return Dt&&Dt.set(e,t,n);e.defaultValue=t}}),Ft||(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}},It.id=It.name=It.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,c=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(Ne)||[];n=this[c++];)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,c=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(Ne)||[];n=this[c++];)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(Ne)||[];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=/^\/\//,Qt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Zt={},en={},tn="*/".concat("*"),nn=Vt.href,rn=Qt.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?Q(Q(e,ge.ajaxSettings),t):Q(ge.ajaxSettings,e)},ajaxPrefilter:J(Zt),ajaxTransport:J(en),ajax:function(e,t){function n(e,t,n,r){var i,a,f,b,$,x=t;2!==w&&(w=2,l&&o.clearTimeout(l),d=void 0,c=r||"",S.readyState=e>0?4:0,i=e>=200&&e<300||304===e,n&&(b=Z(p,S,n)),b=ee(p,b,S,i),i?(p.ifModified&&($=S.getResponseHeader("Last-Modified"),$&&(ge.lastModified[s]=$),($=S.getResponseHeader("etag"))&&(ge.etag[s]=$)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=b.state,a=b.data,f=b.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,c,l,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(c);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?c:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=$[n]=$[n]||e,b[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(Ne)||[""],null==p.crossDomain&&(r=Qt.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(Zt,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&&(l=o.setTimeout(function(){S.abort("timeout")},p.timeout));try{w=1,d.send(b,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,cn=/^(?:submit|button|image|reset|file)$/i,ln=/^(?: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")&&ln.test(this.nodeName)&&!cn.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():ce.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,c,l;if(t&&(i||4===a.readyState))if(delete dn[s],t=void 0,a.onreadystatechange=ge.noop,i)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{c=a.statusText}catch(e){c=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&r(o,c,l,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=ce.head||ge("head")[0]||ce.documentElement;return{send:function(r,i){t=ce.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(!ce.implementation.createHTMLDocument)return!1;var e=ce.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?ce.implementation.createHTMLDocument(""):ce);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,c=e.indexOf(" ");return c>-1&&(r=ge.trim(e.slice(c,e.length)),e=e.slice(0,c)),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,c,l,u=ge.css(e,"position"),d=ge(e),f={};"static"===u&&(e.style.position="relative"),s=d.offset(),o=ge.css(e,"top"),c=ge.css(e,"left"),l=("absolute"===u||"fixed"===u)&&ge.inArray("auto",[o,c])>-1,l?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(c)||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]=R(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(124)(e))},function(e,t,n){"use strict";var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return function(){throw new Error("No implementation for "+e+". The framework specific code did not implement this method.")}},i=(t.makeStub=function(e,t){return t.reduce(function(t,n){return t[n]=r(e+"."+n+"()"),t},{})},{$q:void 0,$injector:void 0});t.services=i},function(e,t,n){"use strict";var r=n(1),i=n(20),o=n(19),a=n(38)("src"),s=n(193),c=(""+s).split("toString");n(10).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||i(n,a,e[t]?""+e[t]:c.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(0),i=n(2),o=n(32),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(13),i=n(37);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(56),i=n(32);e.exports=function(e){return r(i(e))}},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=n(24);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=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(57),i=n(37),o=n(21),a=n(34),s=n(19),c=n(125),l=Object.getOwnPropertyDescriptor;t.f=n(12)?l:function(e,t){if(e=o(e),t=a(t,!0),c)try{return l(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(10),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(23),i=n(56),o=n(15),a=n(8),s=n(141);e.exports=function(e,t){var n=1==e,c=2==e,l=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),b=r(s,h,3),$=a(y.length),w=0,x=n?p(t,$):c?p(t,0):void 0;$>w;w++)if((f||w in y)&&(v=y[w],m=b(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:l||u?u:x}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(113);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(383);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(161);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(116);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(394);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var l=n(395);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(397);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var d=n(173);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var f=n(169);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var p=n(399);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var h=n(403);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})})},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=(0,d.isArray)(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}function c(e){function t(e){if((0,d.isObject)(e)){if(-1!==n.indexOf(e))return"[circular ref]";n.push(e)}return o(e)}var n=[],r=f.Rejection.isRejectionPromise,i=function(e){return(0,d.isObject)(e)&&!(0,d.isArray)(e)&&e.constructor!==Object&&(0,d.isFunction)(e.toString)},o=(0,h.pattern)([[d.isUndefined,(0,h.val)("undefined")],[d.isNull,(0,h.val)("null")],[d.isPromise,(0,h.val)("[Promise]")],[r,function(e){return e._transitionRejection.toString()}],[i,function(e){return e.toString()}],[d.isInjectable,a],[(0,h.val)(!0),p.identity]]);return(0,d.isUndefined)(e)?t(e):JSON.stringify(e,function(e,n){return t(n)}).replace(/\\"/g,'"')}function l(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(p.identity)}}function u(e,t){return(0,d.isString)((0,p.tail)(e))&&(0,d.isString)(t)?e.slice(0,-1).concat((0,p.tail)(e)+t):(0,p.pushR)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.trimHashVal=t.splitEqual=t.splitQuery=t.splitHash=t.stripLastPathElement=t.hostRegex=t.beforeAfterSubstr=void 0,t.maxLength=r,t.padString=i,t.kebobString=o,t.functionToString=a,t.fnToString=s,t.stringify=c,t.splitOnDelim=l,t.joinNeighborsR=u;var d=n(7),f=n(54),p=n(5),h=n(9),v=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.hostRegex=new RegExp("^(?:[a-z]+:)?//[^/]+/"),t.stripLastPathElement=function(e){return e.replace(/\/[^/]*$/,"")},t.splitHash=v("#"),t.splitQuery=v("?"),t.splitEqual=v("="),t.trimHashVal=function(e){return e?e.replace(/^#/,""):""}},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(39),o=n(1),a=n(2),s=n(0),c=n(74),l=n(105),u=n(23),d=n(51),f=n(37),p=n(20),h=n(52),v=n(25),m=n(8),g=n(152),y=n(41),b=n(34),$=n(19),w=n(58),x=n(4),S=n(15),E=n(97),C=n(42),T=n(44),_=n(43).f,k=n(99),A=n(38),O=n(6),P=n(28),N=n(64),D=n(59),M=n(101),I=n(49),R=n(67),F=n(50),j=n(100),U=n(143),L=n(13),q=n(26),V=L.f,H=q.f,B=o.RangeError,W=o.TypeError,z=o.Uint8Array,G=Array.prototype,Y=l.ArrayBuffer,K=l.DataView,J=P(0),X=P(2),Q=P(3),Z=P(4),ee=P(5),te=P(6),ne=N(!0),re=N(!1),ie=M.values,oe=M.keys,ae=M.entries,se=G.lastIndexOf,ce=G.reduce,le=G.reduceRight,ue=G.join,de=G.sort,fe=G.slice,pe=G.toString,he=G.toLocaleString,ve=O("iterator"),me=O("toStringTag"),ge=A("typed_constructor"),ye=A("def_constructor"),be=c.CONSTR,$e=c.TYPED,we=c.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)&&$e 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)},ke=function(e,t){return Ae(D(e,e[ye]),t)},Ae=function(e,t){for(var n=0,r=t.length,i=_e(e,r);r>n;)i[n]=t[n++];return i},Oe=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),c=arguments.length,l=c>1?arguments[1]:void 0,d=void 0!==l,f=k(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&&c>2&&(l=u(l,arguments[2],2)),t=0,n=m(s.length),i=_e(this,n);n>t;t++)i[t]=d?l(s[t],t):s[t];return i},Ne=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))}),Me=function(){return he.apply(De?fe.call(Te(this)):Te(this),arguments)},Ie={copyWithin:function(e,t){return U.call(Te(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Z(Te(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return j.apply(Te(this),arguments)},filter:function(e){return ke(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 ce.apply(Te(this),arguments)},reduceRight:function(e){return le.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 Q(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))}},Re=function(e,t){return ke(this,fe.call(Te(this),e,t))},Fe=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[$e]&&"symbol"!=(void 0===t?"undefined":r(t))&&t in e&&String(+t)==String(t)},Le=function(e,t){return Ue(e,t=b(t,!0))?f(2,e[t]):H(e,t)},qe=function(e,t,n){return!(Ue(e,t=b(t,!0))&&x(n)&&$(n,"value"))||$(n,"get")||$(n,"set")||n.configurable||$(n,"writable")&&!n.writable||$(n,"enumerable")&&!n.enumerable?V(e,t,n):(e[t]=n.value,e)};be||(q.f=Le,L.f=qe),s(s.S+s.F*!be,"Object",{getOwnPropertyDescriptor:Le,defineProperty:qe}),a(function(){pe.call({})})&&(pe=he=function(){return ue.call(this)});var Ve=h({},Ie);h(Ve,je),p(Ve,ve,je.values),h(Ve,{slice:Re,set:Fe,constructor:function(){},toString:pe,toLocaleString:Me}),Oe(Ve,"buffer","b"),Oe(Ve,"byteOffset","o"),Oe(Ve,"byteLength","l"),Oe(Ve,"length","e"),V(Ve,me,{get:function(){return this[$e]}}),e.exports=function(e,t,n,r){r=!!r;var l=e+(r?"Clamped":"")+"Array",u="get"+e,f="set"+e,h=o[l],v=h||{},y=h&&T(h),b=!h||!c.ABV,$={},S=h&&h.prototype,E=function(e,n){var r=e._d;return r.v[u](n*t+r.o,Se)},k=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)},A=function(e,t){V(e,t,{get:function(){return E(this,t)},set:function(e){return k(this,t,e)},enumerable:!0})};b?(h=n(function(e,n,r,i){d(e,h,l,"_d");var o,a,s,c,u=0,f=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return $e in n?Ae(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;)A(e,u++)}),S=h.prototype=C(Ve),p(S,"constructor",h)):a(function(){h(1)})&&a(function(){new h(-1)})&&R(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,l);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):$e in n?Ae(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 O=S[ve],P=!!O&&("values"==O.name||void 0==O.name),N=je.values;p(h,ge,!0),p(S,$e,l),p(S,we,!0),p(S,ye,h),(r?new h(1)[me]==l:me in S)||V(S,me,{get:function(){return l}}),$[l]=h,s(s.G+s.W+s.F*(h!=v),$),s(s.S,l,{BYTES_PER_ELEMENT:t}),s(s.S+s.F*a(function(){v.of.call(h,1)}),l,{from:Pe,of:Ne}),"BYTES_PER_ELEMENT"in S||p(S,"BYTES_PER_ELEMENT",t),s(s.P,l,Ie),F(l),s(s.P+s.F*Ee,l,{set:Fe}),s(s.P+s.F*!P,l,je),i||S.toString==pe||(S.toString=pe),s(s.P+s.F*a(function(){new h(1).slice()}),l,{slice:Re}),s(s.P+s.F*(a(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!a(function(){S.toLocaleString.call([1,2])})),l,{toLocaleString:Me}),I[l]=P?O:N,i||P||p(S,ve,N)}}else e.exports=function(){}},function(e,t,n){"use strict";var r=n(4);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(38)("meta"),o=n(4),a=n(19),s=n(13).f,c=0,l=Object.isExtensible||function(){return!0},u=!n(2)(function(){return l(Object.preventExtensions({}))}),d=function(e){s(e,i,{value:{i:"O"+ ++c,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(!l(e))return"F";if(!t)return"E";d(e)}return e[i].i},p=function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[i].w},h=function(e){return u&&v.NEED&&l(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){if(!e)return"ui-view (defunct)";var t=e.creationContext?e.creationContext.name||"(root)":"(none)";return"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+t+")]"}function i(e){return(0,s.isNumber)(e)?o[e]:o[o[e]]}Object.defineProperty(t,"__esModule",{value:!0}),t.trace=t.Trace=t.Category=void 0;var o,a=n(9),s=n(7),c=n(30),l=n(159),u=function(e){var t=e.viewDecl,n=t.$context.name||"(root)";return"[View#"+e.$id+" from '"+n+"' state]: target ui-view: '"+t.$uiViewName+"@"+t.$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=o={})),t.Category=o;var d=(0,a.parse)("$id"),f=(0,a.parse)("router.$id"),p=function(e){return"Transition #"+d(e)+"-"+f(e)},h=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)&&l.safeConsole.log(p(e)+": Started  -> "+(0,c.stringify)(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(o.TRANSITION)&&l.safeConsole.log(p(e)+": Ignored  <> "+(0,c.stringify)(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(o.HOOK)){var r=(0,a.parse)("traceData.hookType")(n)||"internal",i=(0,a.parse)("traceData.context.state.name")(n)||(0,a.parse)("traceData.context")(n)||"unknown",s=(0,c.functionToString)(e.registeredHook.callback);l.safeConsole.log(p(t)+":   Hook -> "+r+" context: "+i+", "+(0,c.maxLength)(200,s))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(o.HOOK)&&l.safeConsole.log(p(t)+":   <- Hook returned: "+(0,c.maxLength)(200,(0,c.stringify)(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(o.RESOLVE)&&l.safeConsole.log(p(n)+":         Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(o.RESOLVE)&&l.safeConsole.log(p(t)+":               <- Resolved  "+e+" to: "+(0,c.maxLength)(200,(0,c.stringify)(e.data)))},e.prototype.traceError=function(e,t){this.enabled(o.TRANSITION)&&l.safeConsole.log(p(t)+": <- Rejected "+(0,c.stringify)(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(o.TRANSITION)&&l.safeConsole.log(p(t)+": <- Success  "+(0,c.stringify)(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(o.UIVIEW)&&l.safeConsole.log("ui-view: "+(0,c.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: "+(0,c.maxLength)(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(o.VIEWCONFIG)){var t="uiview component fqn",n=e.map(function(e){var n,r=e.uiView,i=e.viewConfig,o=r&&r.fqn,a=i&&i.viewDecl.$context.name+": ("+i.viewDecl.$name+")";return n={},n[t]=o,n["view config state (view name)"]=a,n}).sort(function(e,n){return(e[t]||"").localeCompare(n[t]||"")});l.safeConsole.table(n)}},e.prototype.traceViewServiceEvent=function(e,t){this.enabled(o.VIEWCONFIG)&&l.safeConsole.log("VIEWCONFIG: "+e+" "+u(t))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(o.VIEWCONFIG)&&l.safeConsole.log("VIEWCONFIG: "+e+" "+r(t))},e}();t.Trace=h;var v=new h;t.trace=v},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(127),i=n(84);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(25),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(128),o=n(84),a=n(83)("IE_PROTO"),s=function(){},c=function(){var e,t=n(81)("iframe"),r=o.length;for(t.style.display="none",n(85).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[o[r]];return c()};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=c(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";var r=n(127),i=n(84).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(19),i=n(15),o=n(83)("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";var r=n(6)("unscopables"),i=Array.prototype;void 0==i[r]&&n(20)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){"use strict";var r=n(4);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";var r=n(13).f,i=n(19),o=n(6)("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";var r=n(0),i=n(32),o=n(2),a=n(87),s="["+a+"]",c="​",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var i={},s=o(function(){return!!a[e]()||c[e]()!=c}),l=i[e]=s?t(f):a[e];n&&(i[n]=l),r(r.P+r.F*s,"String",i)},f=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r=n(1),i=n(13),o=n(12),a=n(6)("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(17);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";Object.defineProperty(t,"__esModule",{value:!0}),t.ng=void 0;var r=n(158),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(r),o=angular;t.ng=i&&i.module?i:o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rejection=t.RejectType=void 0;var r,i=n(5),o=n(30),a=n(9);!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=r={})),t.RejectType=r;var s=0,c=function(){function e(e,t,n){this.$id=s++,this.type=e,this.message=t,this.detail=n}return e.isRejectionPromise=function(t){return t&&"function"==typeof t.then&&(0,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(0,a.is)(e)(t)?t:e.errored(t)},e.prototype.toString=function(){var e=function(e){return e&&e.toString!==Object.prototype.toString?e.toString():(0,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(0,i.extend)((0,i.silentRejection)(this),{_transitionRejection:this})},e}();t.Rejection=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;!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"}(r||(t.TransitionHookPhase=r={}));var i;!function(e){e[e.TRANSITION=0]="TRANSITION",e[e.STATE=1]="STATE"}(i||(t.TransitionHookScope=i={})),t.TransitionHookPhase=r,t.TransitionHookScope=i},function(e,t,n){"use strict";var r=n(31);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(31),i=n(6)("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(24),o=n(6)("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";function r(e,t,n){var r=!1===n.reloadOnSearch&&t===c.SEARCH||void 0,o=(0,l.find)([n.dynamic,r],d.isDefined),a=(0,d.isDefined)(o)?{dynamic:o}:{},s=i(n&&n.params&&n.params[e]);return(0,l.extend)(a,s)}function i(e){function t(){return e.value}e=v(e)?{value:e}:e,t.__cacheable=!0;var n=(0,d.isInjectable)(e.value)?e.value:t;return(0,l.extend)(e,{$$fn:n})}function o(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===c.CONFIG?"any":n===c.PATH?"path":n===c.SEARCH?"query":"string";return i.type(o)}return e.type instanceof p.ParamType?e.type:i.type(e.type)}function a(e,t,n){var r=e.squash;if(!t||!1===r)return!1;if(!(0,d.isDefined)(r)||null==r)return n;if(!0===r||(0,d.isString)(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}function s(e,t,n,r){var i=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}],o=(0,d.isArray)(e.replace)?e.replace:[];(0,d.isString)(r)&&o.push({from:r,to:void 0});var a=(0,l.map)(o,(0,u.prop)("from"));return(0,l.filter)(i,function(e){return-1===a.indexOf(e.from)}).concat(o)}Object.defineProperty(t,"__esModule",{value:!0}),t.Param=t.DefType=void 0;var c,l=n(5),u=n(9),d=n(7),f=n(16),p=n(114),h=Object.prototype.hasOwnProperty,v=function(e){return 0===["value","type","squash","array","dynamic"].filter(h.bind(e||{})).length};!function(e){e[e.PATH=0]="PATH",e[e.SEARCH=1]="SEARCH",e[e.CONFIG=2]="CONFIG"}(c||(t.DefType=c={})),t.DefType=c;var m=function(){function e(e,t,n,i,u){var f=r(e,n,u);t=o(f,t,n,e,i.paramTypes);var p=function(){var t={array:n===c.SEARCH&&"auto"},r=e.match(/\[\]$/)?{array:!0}:{};return(0,l.extend)(t,r,f).array}();t=p?t.$asArray(p,n===c.SEARCH):t;var h=void 0!==f.value||n===c.SEARCH,v=(0,d.isDefined)(f.dynamic)?!!f.dynamic:!!t.dynamic,m=(0,d.isDefined)(f.raw)?!!f.raw:!!t.raw,g=a(f,h,i.defaultSquashPolicy()),y=s(f,p,h,g),b=(0,d.isDefined)(f.inherit)?!!f.inherit:!!t.inherit;(0,l.extend)(this,{id:e,type:t,location:n,isOptional:h,dynamic:v,raw:m,squash:g,replace:y,inherit:b,array:p,config:f})}return 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.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),(0,d.isUndefined)(e)?function(){if(t._defaultValueCache)return t._defaultValueCache.defaultValue;if(!f.services.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=f.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===c.SEARCH},e.prototype.validates=function(e){if(((0,d.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!((0,d.isString)(n)&&!this.type.pattern.exec(n))},e.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},e}();t.Param=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TargetState=void 0;var r=n(7),i=n(30),o=n(11),a=function(){function e(e,t,n,r){this._stateRegistry=e,this._identifier=t,this._identifier=t,this._params=(0,o.extend)({},n||{}),this._options=(0,o.extend)({},r||{}),this._definition=e.matcher.find(t,this._options.relative)}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()+"'"+(0,i.stringify)(this.params())},e.prototype.withState=function(t){return new e(this._stateRegistry,t,this._params,this._options)},e.prototype.withParams=function(t,n){void 0===n&&(n=!1);var r=n?t:(0,o.extend)({},this._params,t);return new e(this._stateRegistry,this._identifier,r,this._options)},e.prototype.withOptions=function(t,n){void 0===n&&(n=!1);var r=n?t:(0,o.extend)({},this._options,t);return new e(this._stateRegistry,this._identifier,this._params,r)},e.isDef=function(e){return e&&e.state&&((0,r.isString)(e.state)||(0,r.isObject)(e.state)&&(0,r.isString)(e.state.name))},e}();t.TargetState=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransitionHook=void 0;var r=n(55),i=n(5),o=n(30),a=n(7),s=n(9),c=n(36),l=n(16),u=n(54),d=n(61),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=(0,i.defaults)(o,f),this.type=n.eventType}return e.chain=function(e,t){var n=function(e,t){return e.then(function(){return t.invokeHook()})};return e.reduce(n,t||l.services.$q.when())},e.invokeHooks=function(t,n){for(var r=0;r<t.length;r++){var i=t[r].invokeHook();if((0,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.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;c.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 l=function(){return t.callback.call(r.bind,e.transition,e.stateContext)}();return!this.type.synchronous&&(0,a.isPromise)(l)?l.catch(i).then(s,o):s(l)}catch(e){return o(u.Rejection.normalize(e))}finally{t.invokeLimit&&++t.invokeCount>=t.invokeLimit&&t.deregister()}}},e.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||((0,a.isPromise)(e)?e.then(function(e){return t.handleHookResult(e)}):(c.trace.traceHookResult(e,this.transition,this.options),!1===e?u.Rejection.aborted("Hook aborted transition").toPromise():(0,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=(0,s.parse)("traceData.hookType")(t)||"internal",i=(0,s.parse)("traceData.context.state.name")(t)||(0,s.parse)("traceData.context")(t)||"unknown",a=(0,o.fnToString)(n.callback);return r+" context: "+i+", "+(0,o.maxLength)(200,a)},e.HANDLE_RESULT=function(e){return function(t){return e.handleHookResult(t)}},e.LOG_REJECTED_RESULT=function(e){return function(t){(0,a.isPromise)(t)&&t.catch(function(t){return e.logError(u.Rejection.normalize(t))})}},e.LOG_ERROR=function(e){return function(t){return e.logError(t)}},e.REJECT_ERROR=function(e){return function(e){return(0,i.silentRejection)(e)}},e.THROW_ERROR=function(e){return function(e){throw e}},e}();t.TransitionHook=p},function(e,t,n){"use strict";var r=n(10),i=n(1),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(39)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=n(21),i=n(8),o=n(41);e.exports=function(e){return function(t,n,a){var s,c=r(t),l=i(c.length),u=o(a,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[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(31);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(6)("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(58),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(145);var r=n(17),i=n(20),o=n(2),a=n(32),s=n(6),c=n(102),l=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[l]=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===c?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(23),i=n(140),o=n(97),a=n(3),s=n(8),c=n(99),l={},u={},d=e.exports=function(e,t,n,d,f){var p,h,v,m,g=f?function(){return e}:c(e),y=r(n,d,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(p=s(e.length);p>b;b++)if((m=t?y(a(h=e[b])[0],h[1]):y(e[b]))===l||m===u)return m}else for(v=g.call(e);!(h=v.next()).done;)if((m=i(v,y,h.value,t))===l||m===u)return m};d.BREAK=l,d.RETURN=u},function(e,t,n){"use strict";var r=n(1),i=r.navigator;e.exports=i&&i.userAgent||""},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(17),a=n(52),s=n(35),c=n(71),l=n(51),u=n(4),d=n(2),f=n(67),p=n(47),h=n(88);e.exports=function(e,t,n,v,m,g){var y=r[e],b=y,$=m?"set":"add",w=b&&b.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 b&&(g||w.forEach&&!d(function(){(new b).entries().next()}))){var E=new b,C=E[$](g?{}:-0,1)!=E,T=d(function(){E.has(1)}),_=f(function(e){new b(e)}),k=!g&&d(function(){for(var e=new b,t=5;t--;)e[$](t,t);return!e.has(-0)});_||(b=t(function(t,n){l(t,b,e);var r=h(new y,t,b);return void 0!=n&&c(n,m,r[$],r),r}),b.prototype=w,w.constructor=b),(T||k)&&(S("delete"),S("has"),m&&S("get")),(k||C)&&S($),g&&w.clear&&delete w.clear}else b=v.getConstructor(t,e,m,$),a(b.prototype,n),s.NEED=!0;return p(b,e),x[e]=b,i(i.G+i.W+i.F*(b!=y),x),g||v.setStrong(b,e,m),b}},function(e,t,n){"use strict";for(var r,i=n(1),o=n(20),a=n(38),s=a("typed_array"),c=a("view"),l=!(!i.ArrayBuffer||!i.DataView),u=l,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,c,!0)):u=!1;e.exports={ABV:l,CONSTR:u,TYPED:s,VIEW:c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PathUtils=void 0;var r=n(5),i=n(9),o=n(61),a=n(115),s=function(){function e(){}return e.makeTargetState=function(e,t){var n=(0,r.tail)(t).state;return new o.TargetState(e,n,t.map((0,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(0,r.inArray)(i,e.state)}).forEach(function(i){var o=(0,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=(0,r.find)(e,(0,i.propEq)("state",t));return(0,r.extend)({},n&&n.paramValues)}function s(t){var i=(0,r.extend)({},t&&t.paramValues),s=(0,r.pick)(i,n);i=(0,r.omit)(i,n);var l=(0,r.omit)(o(e,t.state)||{},c),u=(0,r.extend)(i,l,s);return new a.PathNode(t.state).applyRawParams(u)}void 0===n&&(n=[]);var c=e.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]).filter(function(e){return!e.inherit}).map((0,i.prop)("id"));return t.map(s)},e.treeChanges=function(t,n,r){function i(e,t){var r=e.clone();return r.paramValues=n[t].paramValues,r}for(var o=Math.min(t.length,n.length),a=0;a<o&&t[a].state!==r&&function(t,n){return t.equals(n,e.nonDynamicParams)}(t[a],n[a]);)a++;var s,c,l,u,d;s=t,c=s.slice(0,a),l=s.slice(a);var f=c.map(i);return u=n.slice(a),d=f.concat(u),{from:s,to:d,retained:c,retainedWithToParams:f,exiting:l,entering:u}},e.matching=function(e,t,n){var i=!1;return(0,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=(0,r.find)(e,t),i=e.indexOf(n);return-1===i?void 0:e.slice(0,i+1)},e.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter(function(e){return!e.dynamic})},e.paramValues=function(e){return e.reduce(function(e,t){return(0,r.extend)(e,t.paramValues)},{})},e}();t.PathUtils=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resolvable=t.defaultResolvePolicy=void 0;var r=n(5),i=n(16),o=n(36),a=n(30),s=n(7),c=t.defaultResolvePolicy={when:"LAZY",async:"WAIT"},l=function(){function e(t,n,o,a,c){if(this.resolved=!1,this.promise=void 0,t instanceof e)(0,r.extend)(this,t);else if((0,s.isFunction)(n)){if((0,s.isNullOrUndefined)(t))throw new Error("new Resolvable(): token argument is required");if(!(0,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=c,this.resolved=void 0!==c,this.promise=this.resolved?i.services.$q.when(this.data):void 0}else if((0,s.isObject)(t)&&t.token&&(t.hasOwnProperty("resolveFn")||t.hasOwnProperty("data"))){var l=t;return new e(l.token,l.resolveFn,l.deps,l.policy,l.data)}}return e.prototype.getPolicy=function(e){var t=this.policy||{},n=e&&e.resolvePolicy||{};return{when:t.when||n.when||c.when,async:t.async||n.async||c.async}},e.prototype.resolve=function(e,t){var n=this,a=i.services.$q,c=function(){return a.all(e.getDependencies(n).map(function(n){return n.get(e,t)}))},l=function(e){return n.resolveFn.apply(null,e)},u=e.findNode(this),d=u&&u.state,f=this.getPolicy(d).async,p=(0,s.isFunction)(f)?f:r.identity,h=function(e){return n.data=e,n.resolved=!0,n.resolveFn=null,o.trace.traceResolvableResolved(n,t),n.data};return this.promise=a.when().then(c).then(l).then(p).then(h)},e.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},e.prototype.toString=function(){return"Resolvable(token: "+(0,a.stringify)(this.token)+", requires: ["+this.deps.map(a.stringify)+"])"},e.prototype.clone=function(){return new e(this)},e.fromData=function(t,n){return new e(t,function(){return n},null,null,n)},e}();t.Resolvable=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveContext=t.NATIVE_INJECTOR_TOKEN=void 0;var r=n(5),i=n(9),o=n(36),a=n(16),s=n(162),c=n(76),l=n(75),u=n(30),d=n(11),f=s.resolvePolicies.when,p=[f.EAGER,f.LAZY],h=[f.EAGER],v=t.NATIVE_INJECTOR_TOKEN="Native Injector",m=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(0,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(l.PathUtils.subPath(this._path,function(e){return e.state===t}))},e.prototype.addResolvables=function(e,t){var n=(0,r.find)(this._path,(0,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 c=(0,r.inArray)(p,e)?e:"LAZY",l=c===s.resolvePolicies.when.EAGER?h:p;o.trace.traceResolvePath(this._path,e,t);var u=function(e,t){return function(i){return(0,r.inArray)(e,n.getPolicy(i)[t])}},d=this._path.reduce(function(e,r){var o=r.resolvables.filter(u(l,"when")),a=o.filter(u(["NOWAIT"],"async")),s=o.filter((0,i.not)(u(["NOWAIT"],"async"))),c=n.subContext(r.state),d=function(e){return e.get(c,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 g(this))},e.prototype.findNode=function(e){return(0,r.find)(this._path,function(t){return(0,r.inArray)(t.resolvables,e)})},e.prototype.getDependencies=function(e){var t=this,n=this.findNode(e),i=l.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(0,r.tail)(n);var i=t.injector().getNative(e);if((0,d.isUndefined)(i))throw new Error("Could not find Dependency Injection token: "+(0,u.stringify)(e));return new c.Resolvable(e,function(){return i},[],i)};return e.deps.map(a)},e}();t.ResolveContext=m;var g=function(){function e(e){this.context=e,this.native=this.get(v)||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:"+(0,u.stringify)(t.token));return t.data}return this.getNative(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}),t.UrlMatcher=void 0;var i=n(5),o=n(9),a=n(7),s=n(60),c=n(30),l=n(11),u=function(e,t,n){return e[t]=e[t]||n()},d=(0,c.splitOnDelim)("/"),f={state:{params:{}},strict:!0,caseInsensitive:!0,decodeParams:!0},p=function(){function e(t,n,a,s){var c=this;this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.config=s=(0,l.defaults)(s,f),this.pattern=t;for(var u,d,p,h=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,v=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,m=[],g=0,y=function(n){if(!e.nameValidator.test(n))throw new Error("Invalid parameter name '"+n+"' in pattern '"+t+"'");if((0,i.find)(c._params,(0,o.propEq)("id",n)))throw new Error("Duplicate parameter name '"+n+"' in pattern '"+t+"'")},b=function(e,r){var o=e[2]||e[3],a=r?e[4]:e[4]||("*"===e[1]?"[\\s\\S]*":null);return{id:o,regexp:a,segment:t.substring(g,e.index),type:a?n.type(a)||function(e){return(0,i.inherit)(n.type(r?"query":"path"),{pattern:new RegExp(e,c.config.caseInsensitive?"i":void 0)})}(a):null}};(u=h.exec(t))&&(d=b(u,!1),!(d.segment.indexOf("?")>=0));)y(d.id),this._params.push(a.fromPath(d.id,d.type,s.state)),this._segments.push(d.segment),m.push([d.segment,(0,i.tail)(this._params)]),g=h.lastIndex;p=t.substring(g);var $=p.indexOf("?");if($>=0){var w=p.substring($);if(p=p.substring(0,$),w.length>0)for(g=0;u=v.exec(w);)d=b(u,!0),y(d.id),this._params.push(a.fromSearch(d.id,d.type,s.state)),g=h.lastIndex}this._segments.push(p),this._compiled=m.map(function(e){return r.apply(null,e)}).concat(r(p))}return 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(0,i.arrayTuples)(t,n.concat(void 0)).reduce(i.unnestR,[]).filter(function(e){return""!==e&&(0,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=function(t){return t._cache.segments=t._cache.segments||t._cache.path.map(e.pathSegmentsAndParams).reduce(i.unnestR,[]).reduce(c.joinNeighborsR,[]).map(function(e){return(0,a.isString)(e)?d(e):e}).reduce(i.unnestR,[])},o=function(e){return e._cache.weights=e._cache.weights||r(e).map(function(e){return"/"===e?1:(0,a.isString)(e)?2:e instanceof s.Param?3:void 0})},l=o(t),u=o(n);!function(e,t,n){for(var r=Math.max(e.length,t.length);e.length<r;)e.push(n);for(;t.length<r;)t.push(n)}(l,u,0);var f,p,h=(0,i.arrayTuples)(l,u);for(p=0;p<h.length;p++)if(0!==(f=h[p][0]-h[p][1]))return f;return 0},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._getDecodedParamValue=function(e,t){return(0,a.isDefined)(e)&&(this.config.decodeParams&&!t.type.raw&&(e=(0,a.isArray)(e)?e.map(function(e){return decodeURIComponent(e)}):decodeURIComponent(e)),e=t.type.decode(e)),t.value(e)},e.prototype.exec=function(e,t,n,r){var a=this;void 0===t&&(t={}),void 0===r&&(r={});var s=u(this._cache,"pattern",function(){return new RegExp(["^",(0,i.unnest)(a._cache.path.map((0,o.prop)("_compiled"))).join(""),!1===a.config.strict?"/?":"","$"].join(""),a.config.caseInsensitive?"i":void 0)}).exec(e);if(!s)return null;var c=this.parameters(),l=c.filter(function(e){return!e.isSearch()}),d=c.filter(function(e){return e.isSearch()}),f=this._cache.path.map(function(e){return e._segments.length-1}).reduce(function(e,t){return e+t}),p={};if(f!==s.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");for(var h=0;h<f;h++){for(var v=l[h],m=s[h+1],g=0;g<v.replace.length;g++)v.replace[g].from===m&&(m=v.replace[g].to);m&&!0===v.array&&(m=function(e){var t=function(e){return e.split("").reverse().join("")},n=function(e){return e.replace(/\\-/g,"-")},r=t(e).split(/-(?!\\)/),o=(0,i.map)(r,t);return(0,i.map)(o,n).reverse()}(m)),p[v.id]=this._getDecodedParamValue(m,v)}return d.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);p[e.id]=a._getDecodedParamValue(n,e)}),n&&(p["#"]=n),p},e.prototype.parameters=function(e){return void 0===e&&(e={}),!1===e.inherit?this._params:(0,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(0,a.isString)(e)?e:n(e)}),s=r.map(e.queryParams).reduce(i.unnestR,[]).map(n),c=function(e){return!1===e.isValid};if(o.concat(s).filter(c).length)return null;var l=o.reduce(function(t,n){if((0,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:(0,a.isString)(r)?t+r:!1!==r?t:null==o?t:(0,a.isArray)(o)?t+(0,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)&&((0,a.isArray)(r)||(r=[r]),0!==r.length))return t.raw||(r=(0,i.map)(r,encodeURIComponent)),r.map(function(e){return t.id+"="+e})}).filter(i.identity).reduce(i.unnestR,[]).join("&");return l+(u?"?"+u:"")+(t["#"]?"#"+t["#"]:"")},e.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,e}();t.UrlMatcher=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseLocationServices=void 0;var r=n(11),i=n(122),o=function(){function e(e,t){var n=this;this.fireAfterUpdate=t,this._listeners=[],this._listener=function(e){return n._listeners.forEach(function(t){return t(e)})},this.hash=function(){return(0,i.parseUrl)(n._get()).hash},this.path=function(){return(0,i.parseUrl)(n._get()).path},this.search=function(){return(0,i.getParams)((0,i.parseUrl)(n._get()).search)},this._location=r.root.location,this._history=r.root.history}return e.prototype.url=function(e,t){return void 0===t&&(t=!0),(0,r.isDefined)(e)&&e!==this._get()&&(this._set(null,null,e,t),this.fireAfterUpdate&&this._listeners.forEach(function(t){return t({url:e})})),(0,i.buildUrl)(this)},e.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return(0,r.removeFrom)(t._listeners,e)}},e.prototype.dispose=function(e){(0,r.deregAll)(this._listeners)},e}();t.BaseLocationServices=o},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))},c=function(e){if(Number(e)){var t=s(e)?"Teacher":"Finance Professional";t!==i("user-type")&&o("user-type",t)}},l=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;c(t),l(n)},t.removeUserCookiesForGtm=function(){a("gtm_uid"),a("user-type")}},function(e,t,n){"use strict";var r=n(4),i=n(1).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){"use strict";t.f=n(6)},function(e,t,n){"use strict";var r=n(63)("keys"),i=n(38);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(1).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(4),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(23)(Function.call,n(26).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(4),i=n(86).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(25),i=n(32);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(25),i=n(32);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(39),i=n(0),o=n(17),a=n(20),s=n(49),c=n(139),l=n(47),u=n(44),d=n(6)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,m,g){c(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),k=v?S?w("entries"):_:void 0,A="Array"==t?C.entries||T:T;if(A&&($=u(A.call(new e)))!==Object.prototype&&$.next&&(l($,x,!0),r||"function"==typeof $[d]||a($,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:k},g)for(b in y)b in C||o(C,b,y[b]);else i(i.P+i.F*(f||E),t,y);return y}},function(e,t,n){"use strict";var r=n(95),i=n(32);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(4),i=n(31),o=n(6)("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(6)("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(49),i=n(6)("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(13),i=n(37);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(58),i=n(6)("iterator"),o=n(49);e.exports=n(10).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";var r=n(15),i=n(41),o=n(8);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),c=a>2?arguments[2]:void 0,l=void 0===c?n:i(c,n);l>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(45),i=n(144),o=n(49),a=n(21);e.exports=n(93)(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(68),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}(),c=void 0!==/()??/.exec("")[1];(s||c)&&(a=function(e){var t,n,a,l,u=this;return c&&(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),c&&a&&a.length>1&&o.call(a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a}),e.exports=a},function(e,t,n){"use strict";var r=n(92)(!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(23),s=n(133),c=n(85),l=n(81),u=n(1),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()}},b=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(31)(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=b,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.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,c=(1<<s)-1,l=c>>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=F(e),e!=e||e===I?(i=e!=e?1:0,r=c):(r=U(L(e)/q),e*(o=j(2,-r))<1&&(r--,o*=2),e+=r+l>=1?u/o:u*j(2,1-l),e*o>=2&&(r++,o/=2),r+l>=c?(i=0,r=c):r+l>=1?(i=(e*o-1)*j(2,t),r+=l):(i=e*j(2,l-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,c=n-1,l=e[c--],u=127&l;for(l>>=7;s>0;u=256*u+e[c],c--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[c],c--,s-=8);if(0===u)u=1-a;else{if(u===o)return r?NaN:l?-I:I;r+=j(2,t),u-=a}return(l?-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 c(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function l(e){return r(e,52,8)}function u(e){return r(e,23,4)}function d(e,t,n){T(e[A],t,{get:function(){return this[n]}})}function f(e,t,n,r){var i=+n,o=E(i);if(o+t>e[H])throw M(O);var a=e[V]._b,s=o+e[B],c=a.slice(s,s+t);return r?c:c.reverse()}function p(e,t,n,r,i,o){var a=+n,s=E(a);if(s+t>e[H])throw M(O);for(var c=e[V]._b,l=s+e[B],u=r(+i),d=0;d<t;d++)c[l+d]=u[o?d:t-d-1]}var h=n(1),v=n(12),m=n(39),g=n(74),y=n(20),b=n(52),$=n(2),w=n(51),x=n(25),S=n(8),E=n(152),C=n(43).f,T=n(13).f,_=n(100),k=n(47),A="prototype",O="Wrong index!",P=h.ArrayBuffer,N=h.DataView,D=h.Math,M=h.RangeError,I=h.Infinity,R=P,F=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(!$(function(){P(1)})||!$(function(){new P(-1)})||$(function(){return new P,new P(1.5),new P(NaN),"ArrayBuffer"!=P.name})){P=function(e){return w(this,P),new R(E(e))};for(var W,z=P[A]=R[A],G=C(R),Y=0;G.length>Y;)(W=G[Y++])in P||y(P,W,R[W]);m||(z.constructor=P)}var K=new N(new P(2)),J=N[A].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||b(N[A],{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},N=function(e,t,n){w(this,N,"DataView"),w(e,P,"DataView");var r=e[H],i=x(t);if(i<0||i>r)throw M("Wrong offset!");if(n=void 0===n?r-i:S(n),i+n>r)throw M("Wrong length!");this[V]=e,this[B]=i,this[H]=n},v&&(d(P,"byteLength","_l"),d(N,"buffer","_b"),d(N,"byteLength","_l"),d(N,"byteOffset","_o")),b(N[A],{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,c,t,arguments[2])},setUint32:function(e,t){p(this,4,e,c,t,arguments[2])},setFloat32:function(e,t){p(this,4,e,u,t,arguments[2])},setFloat64:function(e,t){p(this,8,e,l,t,arguments[2])}});k(P,"ArrayBuffer"),k(N,"DataView"),y(N[A],g.VIEW,!0),t.ArrayBuffer=P,t.DataView=N},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";e.exports=!n(157)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";function r(e){function t(e,t,r,i,o,a,s){return n._runtimeServices(o,e,i,t,r),delete b.router,delete b.$get,b}b=this.router=new s.UIRouter,b.stateProvider=new u.StateProvider(b.stateRegistry,b.stateService),b.stateRegistry.decorator("views",c.ng1ViewsBuilder),b.stateRegistry.decorator("onExit",(0,d.getStateHookBuilder)("onExit")),b.stateRegistry.decorator("onRetain",(0,d.getStateHookBuilder)("onRetain")),b.stateRegistry.decorator("onEnter",(0,d.getStateHookBuilder)("onEnter")),b.viewService._pluginapi._viewConfigFactory("ng1",(0,c.getNg1ViewConfigFactory)()),b.urlService.config._decodeParams=!1;var n=b.locationService=b.locationConfig=new f.Ng1LocationServices(e);return f.Ng1LocationServices.monkeyPatchPathParameterType(b),b.router=b,b.$get=t,t.$inject=["$location","$browser","$window","$sniffer","$rootScope","$http","$templateCache"],b}function i(e,t,n){if(s.services.$injector=e,s.services.$q=t,!Object.prototype.hasOwnProperty.call(e,"strictDi"))try{e.invoke(["checkStrictDi",function(e){}])}catch(t){e.strictDi=!!/strict mode/.exec(t&&t.toString())}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,e.strictDi)})}function o(e){e.$watch(function(){s.trace.approximateDigests++})}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocals=void 0,t.watchDigests=o;var a=n(53),s=n(29),c=n(123),l=n(404),u=n(186),d=n(405),f=n(406),p=n(187);a.ng.module("ui.router.angular1",[]);var h=a.ng.module("ui.router.init",["ng"]),v=a.ng.module("ui.router.util",["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"]),b=(a.ng.module("ui.router.compat",["ui.router"]),null);r.$inject=["$locationProvider"];var $=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(0,s.extend)(b.stateProvider,{$get:function(){return b.stateService}})};o.$inject=["$rootScope"],h.provider("$uiRouter",r),m.provider("$urlRouter",["$uiRouterProvider",w]),v.provider("$urlService",$("urlService")),v.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return b.urlMatcherFactory}]),v.provider("$templateFactory",function(){return new l.TemplateFactory}),g.provider("$stateRegistry",$("stateRegistry")),g.provider("$uiRouterGlobals",$("globals")),g.provider("$transitions",$("transitionService")),g.provider("$state",["$uiRouterProvider",x]),g.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),y.factory("$view",function(){return b.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";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";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.is=function(e){return!!/[!,*]+/.exec(e)},e.fromString=function(t){return e.is(t)?new e(t):null},e.prototype.matches=function(e){return this.regexp.test("."+e)},e}();t.Glob=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Queue=void 0;var r=n(5),i=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t,this._evictListeners=[],this.onEvict=(0,r.pushTo)(this._evictListeners)}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&this.evict(),e},e.prototype.evict=function(){var e=this._items.shift();return this._evictListeners.forEach(function(t){return t(e)}),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=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(381);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(60);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(382);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(160);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(114);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})})},function(e,t,n){"use strict";function r(e,t){function n(e){return(0,o.isArray)(e)?e:(0,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((0,o.isArray)(a)&&0===a.length)return a;var s=n(a),c=(0,i.map)(s,e);return!0===t?0===(0,i.filter)(c,function(e){return!e}).length:r(c)}}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 c=this;["encode","decode","equals","$normalize"].forEach(function(t){var n=e[t].bind(e),r="equals"===t?s:a;c[t]=r(n)}),(0,i.extend)(this,{dynamic:e.dynamic,name:e.name,pattern:e.pattern,inherit:e.inherit,raw:e.raw,is:a(e.is.bind(e),!0),$arrayMode:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.ParamType=void 0;var i=n(5),o=n(7),a=function(){function e(e){this.pattern=/.*/,this.inherit=!0,(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}),t.PathNode=void 0;var r=n(5),i=n(9),o=n(60),a=function(){function e(t){if(t instanceof e){var n=t;this.state=n.state,this.paramSchema=n.paramSchema.slice(),this.paramValues=(0,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.clone=function(){return new e(this)},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(0,r.applyPairs)(e,t(n))},{}),this},e.prototype.parameter=function(e){return(0,r.find)(this.paramSchema,(0,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(e){return e.clone()},e}();t.PathNode=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(384);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(163);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(117);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(164);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(165);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(166);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var l=n(167);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(61);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateObject=void 0;var r=n(5),i=n(9),o=n(111),a=n(7),s=function(){function e(t){return e.create(t||{})}return e.create=function(t){t=e.isStateClass(t)?new t:t;var n=(0,r.inherit)((0,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=(0,r.defaults)(e,{inherit:!0,matchingKeys:null}),(e.inherit&&this.parent&&this.parent.parameters()||[]).concat((0,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)||(0,r.find)((0,r.values)(this.params),(0,i.propEq)("id",e))||t.inherit&&this.parent&&this.parent.parameter(e)},e.prototype.toString=function(){return this.fqn()},e.isStateClass=function(e){return(0,a.isFunction)(e)&&!0===e.__uiRouterState},e.isStateDeclaration=function(e){return(0,a.isFunction)(e.$$state)},e.isState=function(e){return(0,a.isObject)(e.__stateObjectCache)},e}();t.StateObject=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransitionService=t.defaultTransOpts=void 0;var r=n(55),i=n(119),o=n(120),a=n(385),s=n(386),c=n(387),l=n(388),u=n(389),d=n(390),f=n(391),p=n(177),h=n(178),v=n(62),m=n(7),g=n(5),y=n(9),b=n(392),$=n(393),w=(t.defaultTransOpts={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,supercede:!0,custom:{},current:function(){return null},source:"unknown"},function(){function e(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=(0,g.createProxyFunctions)((0,y.val)(this),{},(0,y.val)(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks(),e.globals.successfulTransitions.onEvict(a.treeChangesCleanup)}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){(0,g.values)(this._registeredHooks).forEach(function(e){return e.forEach(function(t){t._deregistered=!0,(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,c){void 0===i&&(i=!1),void 0===a&&(a=v.TransitionHook.HANDLE_RESULT),void 0===s&&(s=v.TransitionHook.REJECT_ERROR),void 0===c&&(c=!1);var l=new h.TransitionEventType(e,t,n,r,i,a,s,c);this._eventTypes.push(l),(0,o.makeEvent)(this,this,l)},e.prototype._getEvents=function(e){return((0,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=(0,a.registerAddCoreResolvables)(this),e.ignored=(0,b.registerIgnoredTransitionHook)(this),e.invalid=(0,$.registerInvalidTransitionHook)(this),e.redirectTo=(0,s.registerRedirectToHook)(this),e.onExit=(0,c.registerOnExitHook)(this),e.onRetain=(0,c.registerOnRetainHook)(this),e.onEnter=(0,c.registerOnEnterHook)(this),e.eagerResolve=(0,l.registerEagerResolvePath)(this),e.lazyResolve=(0,l.registerLazyResolveState)(this),e.resolveAll=(0,l.registerResolveRemaining)(this),e.loadViews=(0,u.registerLoadEnteringViews)(this),e.activateViews=(0,u.registerActivateViews)(this),e.updateGlobals=(0,d.registerUpdateGlobalState)(this),e.updateUrl=(0,f.registerUpdateUrl)(this),e.lazyLoad=(0,p.registerLazyLoadHook)(this)},e}());t.TransitionService=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=void 0;var r=n(36),i=n(16),o=n(30),a=n(5),s=n(7),c=n(9),l=n(55),u=n(62),d=n(120),f=n(168),p=n(75),h=n(60),v=n(76),m=n(77),g=n(54),y=n(11),b=(0,c.prop)("self"),$=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 f.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=(0,a.extend)({current:(0,c.val)(this)},t.options()),this.$id=n.transitionService._transitionCount++;var o=p.PathUtils.buildToPath(e,t);this._treeChanges=p.PathUtils.treeChanges(e,o,this._options.reloadState),this.createTransitionHookRegFns();var s=this._hookBuilder.buildHooksForPhase(l.TransitionHookPhase.CREATE);u.TransitionHook.invokeHooks(s,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(0,d.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});p.PathUtils.applyViewConfigs(e.transitionService.$view,this._treeChanges.to,t)},e.prototype.$from=function(){return(0,a.tail)(this._treeChanges.from).state},e.prototype.$to=function(){return(0,a.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&&!(0,d.matchState)(this.$to(),t.to,this)||t.from&&!(0,d.matchState)(this.$from(),t.from,this))},e.prototype.params=function(e){return void 0===e&&(e="to"),Object.freeze(this._treeChanges[e].map((0,c.prop)("paramValues")).reduce(a.mergeR,{}))},e.prototype.paramsChanged=function(){var e=this.params("from"),t=this.params("to"),n=[].concat(this._treeChanges.to).concat(this._treeChanges.from).map(function(e){return e.paramSchema}).reduce(y.flattenR,[]).reduce(y.uniqR,[]);return h.Param.changed(n,e,t).reduce(function(e,n){return e[n.id]=t[n.id],e},{})},e.prototype.injector=function(e,t){void 0===t&&(t="to");var n=this._treeChanges[t];return e&&(n=p.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=(0,c.is)(v.Resolvable)(e)?e:new v.Resolvable(e);var n="string"==typeof t?t:t.name,r=this._treeChanges.to,i=(0,a.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(0,a.map)(this._treeChanges.entering,(0,c.prop)("state")).map(b)},e.prototype.exiting=function(){return(0,a.map)(this._treeChanges.exiting,(0,c.prop)("state")).map(b).reverse()},e.prototype.retained=function(){return(0,a.map)(this._treeChanges.retained,(0,c.prop)("state")).map(b)},e.prototype.views=function(e,t){void 0===e&&(e="entering");var n=this._treeChanges[e];return n=t?n.filter((0,c.propEq)("state",t)):n,n.map((0,c.prop)("views")).filter(a.identity).reduce(a.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=(0,a.extend)({},this.options(),e.options(),r);e=e.withOptions(i,!0);var o=this.router.transitionService.create(this._treeChanges.from,e),s=this._treeChanges.entering,l=o._treeChanges.entering;return p.PathUtils.matching(l,s,p.PathUtils.nonDynamicParams).filter((0,c.not)(function(e){return function(t){return e&&t.state.includes[e.name]}}(e.options().reloadState))).forEach(function(e,t){e.resolvables=s[t].resolvables}),o},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(!(0,a.arrayTuples)(e.to,e.from).map(function(e){return e[0].state!==e[1].state}).reduce(a.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(0,a.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(a.unnestR,[])}}},e.prototype.dynamic=function(){var e=this._changedParams();return!!e&&e.map(function(e){return e.dynamic}).reduce(a.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=p.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=u.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 u.TransitionHook.invokeHooks(e,t)},c=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 u.TransitionHook.invokeHooks(d,c).then(s).then(o,a),this.promise},e.prototype.valid=function(){return!this.error()||void 0!==this.success},e.prototype.abort=function(){(0,s.isUndefined)(this.success)&&(this._aborted=!0)},e.prototype.error=function(){var e=this.$to();if(e.self.abstract)return g.Rejection.invalid("Cannot transition to abstract state '"+e.name+"'");var t=e.parameters(),n=this.params(),r=t.filter(function(e){return!e.validates(n[e.id])});if(r.length){var i=r.map(function(e){return"["+e.id+":"+(0,o.stringify)(n[e.id])+"]"}).join(", "),a="The following parameter values are not valid for state '"+e.name+"': "+i;return g.Rejection.invalid(a)}return!1===this.success?this._error:void 0},e.prototype.toString=function(){var e=this.from(),t=this.to(),n=function(e){return null!==e["#"]&&void 0!==e["#"]?e:(0,a.omit)(e,["#"])};return"Transition#"+this.$id+"( '"+((0,s.isObject)(e)?e.name:e)+"'"+(0,o.stringify)(n(this._treeChanges.from.map((0,c.prop)("paramValues")).reduce(a.mergeR,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+((0,s.isObject)(t)?t.name:t)+"'"+(0,o.stringify)(n(this.params()))+" )"},e.diToken=e,e}();t.Transition=$},function(e,t,n){"use strict";function r(e,t,n){function r(e){for(var t=i,n=0;n<t.length;n++){var r=new o.Glob(t[n]);if(r&&r.matches(e.name)||!r&&t[n]===e.name)return!0}return!1}var i=(0,o.isString)(t)?[t]:t;return!!((0,o.isFunction)(i)?i:r)(e,n)}function i(e,t,n){function r(e,r,i){void 0===i&&(i={});var o=new s(t,n,r,e,c,i);return a.push(o),o.deregister.bind(o)}var i=e._registeredHooks=e._registeredHooks||{},a=i[n.name]=[],c=(0,o.removeFrom)(a);return e[n.name]=r,r}Object.defineProperty(t,"__esModule",{value:!0}),t.RegisteredHook=void 0,t.matchState=r,t.makeEvent=i;var o=n(11),a=n(55),s=function(){function e(e,t,n,r,i,o){void 0===o&&(o={}),this.tranSvc=e,this.eventType=t,this.callback=n,this.matchCriteria=r,this.removeHookFromRegistry=i,this.invokeCount=0,this._deregistered=!1,this.priority=o.priority||0,this.bind=o.bind||null,this.invokeLimit=o.invokeLimit}return e.prototype._matchingNodes=function(e,t,n){if(!0===t)return e;var i=e.filter(function(e){return r(e.state,t,n)});return i.length?i:null},e.prototype._getDefaultMatchCriteria=function(){return(0,o.mapObj)(this.tranSvc._pluginapi._getPathTypes(),function(){return!0})},e.prototype._getMatchingNodes=function(e,t){var n=this,r=(0,o.extend)(this._getDefaultMatchCriteria(),this.matchCriteria);return(0,o.values)(this.tranSvc._pluginapi._getPathTypes()).reduce(function(i,s){var c=s.scope===a.TransitionHookScope.STATE,l=e[s.name]||[],u=c?l:[(0,o.tail)(l)];return i[s.name]=n._matchingNodes(u,r[s.name],t),i},{})},e.prototype.matches=function(e,t){var n=this._getMatchingNodes(e,t);return(0,o.values)(n).every(o.identity)?n:null},e.prototype.deregister=function(){this.removeHookFromRegistry(this),this._deregistered=!0},e}();t.RegisteredHook=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseUrlRule=t.UrlRuleFactory=void 0;var r=n(78),i=n(7),o=n(5),a=n(9),s=n(117),c=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=s.StateObject.isState,c=s.StateObject.isStateDeclaration,u=(0,a.pattern)([[i.isString,function(e){return u(n.compile(e))}],[(0,a.is)(r.UrlMatcher),function(e){return n.fromUrlMatcher(e,t)}],[(0,a.or)(o,c),function(e){return n.fromState(e,n.router)}],[(0,a.is)(RegExp),function(e){return n.fromRegExp(e,t)}],[i.isFunction,function(e){return new l(e,t)}]]),d=u(e);if(!d)throw new Error("invalid 'what' in when()");return d},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;(0,i.isString)(t)&&(t=this.router.urlMatcherFactory.compile(t)),(0,a.is)(r.UrlMatcher)(t)&&(c=function(e){return t.format(e)});var u={urlMatcher:e,matchPriority:s,type:"URLMATCHER"};return(0,o.extend)(new l(n,c),u)},e.prototype.fromState=function(e,t){var n=s.StateObject.isStateDeclaration(e)?e.$$state():e,r=function(e){var r=t.stateService,i=t.globals;r.href(n,e)!==r.href(i.current,i.params)&&r.transitionTo(n,e,{inherit:!0,source:"url"})},i={state:n,type:"STATE"};return(0,o.extend)(this.fromUrlMatcher(n.url,r),i)},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=(0,i.isString)(t)?n:t,a=function(t){return e.exec(t.path)},s={regexp:e,type:"REGEXP"};return(0,o.extend)(new l(a,r),s)},e.isUrlRule=function(e){return e&&["type","match","handler"].every(function(t){return(0,i.isDefined)(e[t])})},e}();t.UrlRuleFactory=c;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";function r(e){var t=function(e){return e||""},n=(0,o.splitHash)(e).map(t),r=n[0],i=n[1],a=(0,o.splitQuery)(r).map(t);return{path:a[0],search:a[1],hash:i,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}),t.buildUrl=t.getParams=t.keyValsToObjectR=void 0,t.parseUrl=r,t.locationPluginFactory=i;var o=n(11),a=t.keyValsToObjectR=function(e,t){var n=t[0],r=t[1];return e.hasOwnProperty(n)?(0,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(o.identity).map(o.splitEqual).reduce(a,{})},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((0,o.isArray)(t)?t:[t]).map(function(t){return e+"="+t})}).reduce(o.unnestR,[]).join("&");return t+(i?"?"+i:"")+(r?"#"+r:"")}},function(e,t,n){"use strict";function r(){var e=null;return function(t,n){return e=e||o.services.$injector.get("$templateFactory"),[new c(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((0,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(0,o.isDefined)(e[t])}).join(", "));var c={},l=e.views||{$default:(0,o.pick)(e,s)};return(0,o.forEach)(l,function(t,n){if(n=n||"$default",(0,o.isString)(t)&&(t={component:t}),t=(0,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,c[n]=t}),c}Object.defineProperty(t,"__esModule",{value:!0}),t.Ng1ViewConfig=void 0,t.getNg1ViewConfigFactory=r,t.ng1ViewsBuilder=i;var o=n(29),a=function(e,t){return e.reduce(function(e,n){return e||(0,o.isDefined)(t[n])},!1)},s=0,c=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(0,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,(0,o.extend)(e,t.template),e})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!(0,o.isInjectable)(t))return this.viewDecl.controller;var n=o.services.$injector.annotate(t),r=(0,o.isArray)(t)?(0,o.tail)(t):t;return new o.Resolvable("",r,n).get(e)},e}();t.Ng1ViewConfig=c},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(81)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(1),i=n(10),o=n(39),a=n(82),s=n(13).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(19),i=n(21),o=n(64)(!1),a=n(83)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),c=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){"use strict";var r=n(13),i=n(3),o=n(40);e.exports=n(12)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,c=0;s>c;)r.f(e,n=a[c++],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(21),o=n(43).f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==a.call(e)?c(e):o(i(e))}},function(e,t,n){"use strict";var r=n(12),i=n(40),o=n(65),a=n(57),s=n(15),c=n(56),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=s(e),l=arguments.length,u=1,d=o.f,f=a.f;l>u;)for(var p,h=c(arguments[u++]),v=d?i(h).concat(d(h)):i(h),m=v.length,g=0;m>g;)p=v[g++],r&&!f.call(h,p)||(n[p]=h[p]);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(24),i=n(4),o=n(133),a=[].slice,s={},c=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?c(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(1).parseInt,i=n(48).trim,o=n(87),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(1).parseFloat,i=n(48).trim;e.exports=1/r(n(87)+"-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(31);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(4),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(42),i=n(37),o=n(47),a={};n(20)(a,n(6)("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(283);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(24),i=n(15),o=n(56),a=n(8);e.exports=function(e,t,n,s,c){r(t);var l=i(e),u=o(l),d=a(l.length),f=c?d-1:0,p=c?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,c?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;c?f>=0:d>f;f+=p)f in u&&(s=t(s,u[f],f,l));return s}},function(e,t,n){"use strict";var r=n(15),i=n(41),o=n(8);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),c=i(t,a),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?a:i(l,a))-c,a-s),d=1;for(c<s&&s<c+u&&(d=-1,c+=u-1,s+=u-1);u-- >0;)c in n?n[s]=n[c]:delete n[s],s+=d,c+=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(102);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){"use strict";n(12)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(68)})},function(e,t,n){"use strict";var r,i,o,a,s=n(39),c=n(1),l=n(23),u=n(58),d=n(0),f=n(4),p=n(24),h=n(51),v=n(71),m=n(59),g=n(104).set,y=n(303)(),b=n(148),$=n(304),w=n(72),x=n(149),S=c.TypeError,E=c.process,C=E&&E.versions,T=C&&C.v8||"",_=c.Promise,k="process"==u(E),A=function(){},O=i=b.f,P=!!function(){try{var e=_.resolve(1),t=(e.constructor={})[n(6)("species")]=function(e){e(A,A)};return(k||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),N=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,c=t.resolve,l=t.reject,u=t.domain;try{s?(i||(2==e._h&&R(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?l(S("Promise-chain cycle")):(o=N(n))?o.call(n,c,l):c(n)):l(r)}catch(e){u&&!a&&u.exit(),l(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){g.call(c,function(){var t,n,r,i=e._v,o=I(e);if(o&&(t=$(function(){k?E.emit("unhandledRejection",i,e):(n=c.onunhandledrejection)?n({promise:e,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=k||I(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(e){g.call(c,function(){var t;k?E.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=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=N(t))?y(function(){var i={_w:r,_d:!1};try{n.call(t,l(e,i,1),l(F,i,1))}catch(e){F.call(i,e)}}):(r._v=t,r._s=1,D(r,!1))}catch(e){F.call({_w:r,_d:!1},e)}}};P||(_=function(e){h(this,_,"Promise","_h"),p(e),r.call(this);try{e(l(j,this,1),l(F,this,1))}catch(e){F.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(52)(_.prototype,{then:function(e,t){var n=O(m(this,_));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=k?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=l(j,e,1),this.reject=l(F,e,1)},b.f=O=function(e){return e===_||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!P,{Promise:_}),n(47)(_,"Promise"),n(50)("Promise"),a=n(10).Promise,d(d.S+d.F*!P,"Promise",{reject:function(e){var t=O(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(67)(function(e){_.all(e).catch(A)})),"Promise",{all:function(e){var t=this,n=O(t),r=n.resolve,i=n.reject,o=$(function(){var n=[],o=0,a=1;v(e,!1,function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!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=O(t),r=n.reject,i=$(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(24);e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";var r=n(3),i=n(4),o=n(148);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(13).f,i=n(42),o=n(52),a=n(23),s=n(51),c=n(71),l=n(93),u=n(144),d=n(50),f=n(12),p=n(35).fastKey,h=n(46),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,l){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&&c(r,n,e[l],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){l(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(52),i=n(35).getWeak,o=n(3),a=n(4),s=n(51),c=n(71),l=n(28),u=n(19),d=n(46),f=l(5),p=l(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 l=e(function(e,r){s(e,l,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&c(r,n,e[o],e)});return r(l.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)}}),l},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(25),i=n(8);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(43),i=n(65),o=n(3),a=n(1).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(8),i=n(89),o=n(32);e.exports=function(e,t,n,a){var s=String(o(e)),c=s.length,l=void 0===n?" ":String(n),u=r(t);if(u<=c||""==l)return s;var d=u-c,f=i.call(l,Math.ceil(d/l.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(e,t,n){"use strict";var r=n(12),i=n(40),o=n(21),a=n(57).f;e.exports=function(e){return function(t){for(var n,s=o(t),c=i(s),l=c.length,u=0,d=[];l>u;)n=c[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){"use strict";var r=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n(375),e.exports=angular},function(e,t,n){"use strict";function r(e){var t=function(t){return Function.prototype.bind.call(t,e)};return{log:t(e.log),error:t(e.log),table:t(e.log)}}function i(e){var t=e.log.bind(e);return{log:t,error:e.error?e.error.bind(e):t,table:e.table?e.table.bind(e):t}}Object.defineProperty(t,"__esModule",{value:!0}),t.safeConsole=void 0;var o=n(5),a={log:o.noop,error:o.noop,table:o.noop};t.safeConsole=function(){return"undefined"!=typeof document&&document.documentMode&&9===document.documentMode?window&&window.console?r(window.console):a:console.table&&console.error?console:i(console)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateParams=void 0;var r=n(5),i=function(){function e(e){void 0===e&&(e={}),(0,r.extend)(this,e)}return e.prototype.$inherit=function(e,t,n){var i,o=(0,r.ancestors)(t,n),a={},s=[];for(var c in o)if(o[c]&&o[c].params&&(i=Object.keys(o[c].params),i.length))for(var l in i)s.indexOf(i[l])>=0||(s.push(i[l]),a[i[l]]=this[i[l]]);return(0,r.extend)({},a,e)},e}();t.StateParams=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(162);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(76);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(77);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.resolvePolicies={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT"}}},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=(0,l.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?(0,l.extend)({},e.parent.includes):{};return t[e.name]=!0,t}function c(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&&((0,u.isString)(e.val)||(0,u.isArray)(e.val)||(0,u.isFunction)(e.val)))},o=function(e){return e.provide||e.token},a=(0,f.pattern)([[(0,f.prop)("resolveFn"),function(e){return new p.Resolvable(o(e),e.resolveFn,e.deps,e.policy)}],[(0,f.prop)("useFactory"),function(e){return new p.Resolvable(o(e),e.useFactory,e.deps||e.dependencies,e.policy)}],[(0,f.prop)("useClass"),function(e){return new p.Resolvable(o(e),function(){return new e.useClass},[],e.policy)}],[(0,f.prop)("useValue"),function(e){return new p.Resolvable(o(e),function(){return e.useValue},[],e.policy,e.useValue)}],[(0,f.prop)("useExisting"),function(e){return new p.Resolvable(o(e),l.identity,[e.useExisting],e.policy)}]]),s=(0,f.pattern)([[(0,f.pipe)((0,f.prop)("val"),u.isString),function(e){return new p.Resolvable(e.token,l.identity,[e.val],e.policy)}],[(0,f.pipe)((0,f.prop)("val"),u.isArray),function(e){return new p.Resolvable(e.token,(0,l.tail)(e.val),e.val.slice(0,-1),e.policy)}],[(0,f.pipe)((0,f.prop)("val"),u.isFunction),function(e){return new p.Resolvable(e.token,e.val,t(e.val),e.policy)}]]),c=(0,f.pattern)([[(0,f.is)(p.Resolvable),function(e){return e}],[n,a],[r,a],[i,s],[(0,f.val)(!0),function(e){throw new Error("Invalid resolve value: "+(0,d.stringify)(e))}]]),v=e.resolve;return((0,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(c)}Object.defineProperty(t,"__esModule",{value:!0}),t.StateBuilder=void 0,t.resolvablesBuilder=c;var l=n(5),u=n(7),d=n(30),f=n(9),p=n(76),h=n(16),v=function(e){if(!(0,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.self;if(r&&r.url&&r.name&&r.name.match(/\.\*\*$/)){var i={};(0,l.copy)(r,i),i.url+="{remainder:any}",r=i}var o=n.parent,a=v(r.url),s=a?e.compile(a.val,{state:r}):r.url;if(!s)return null;if(!e.isMatcher(s))throw new Error("Invalid url '"+s+"' in state '"+n+"'");return a&&a.root?s:(o&&o.navigable||t()).url.append(s)}},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(n,r){return e.fromConfig(r,null,t.self)},r=t.url&&t.url.parameters({inherit:!1})||[],i=(0,l.values)((0,l.mapObj)((0,l.omit)(t.params||{},r.map((0,f.prop)("id"))),n));return r.concat(i).map(function(e){return[e.id,e]}).reduce(l.applyPairs,{})}},b=function(){function e(e,t){function n(t){return d(t)?null:e.find(l.parentName(t))||u()}this.matcher=e;var l=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:[c]}}return e.prototype.builder=function(e,t){var n=this.builders,r=n[e]||[];return(0,u.isString)(e)&&!(0,u.isDefined)(t)?r.length>1?r:r[0]:(0,u.isString)(e)&&(0,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)}},l.noop);e[o]=a(e)}return e},e.prototype.parentName=function(e){var t=e.name||"",n=t.split(".");if("**"===n.pop()&&n.pop(),n.length){if(e.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+t+")");return n.join(".")}return e.parent?(0,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=(0,u.isString)(e.parent)?e.parent:e.parent.name;return n?n+"."+t:t},e}();t.StateBuilder=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateMatcher=void 0;var r=n(7),i=n(5),o=n(159),a=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 a=(0,r.isString)(e),s=a?e:e.name;this.isRelative(s)&&(s=this.resolvePath(s,t));var c=this._states[s];if(c&&(a||!(a||c!==e&&c.self!==e)))return c;if(a&&n){var l=(0,i.values)(this._states),u=l.filter(function(e){return e.__stateObjectCache.nameGlob&&e.__stateObjectCache.nameGlob.matches(s)});return u.length>1&&o.safeConsole.error("stateMatcher.find: Found multiple matches for "+s+" using glob: ",u.map(function(e){return e.name})),u[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=r.length,o=0,a=n;o<i;o++)if(""!==r[o]||0!==o){if("^"!==r[o])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(o).join(".");return a.name+(a.name&&s?".":"")+s},e}();t.StateMatcher=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateQueueManager=void 0;var r=n(11),i=n(117),o=function(){function e(e,t,n,r){this.router=e,this.states=t,this.builder=n,this.listeners=r,this.queue=[]}return e.prototype.dispose=function(){this.queue=[]},e.prototype.register=function(e){var t=this.queue,n=i.StateObject.create(e),o=n.name;if(!(0,r.isString)(o))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(o)||(0,r.inArray)(t.map((0,r.prop)("name")),o))throw new Error("State '"+o+"' 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={},c=function(t){return e.states.hasOwnProperty(t)&&e.states[t]},l=function(){o.length&&e.listeners.forEach(function(e){return e("registered",o.map(function(e){return e.self}))})};n.length>0;){var u=n.shift(),d=u.name,f=i.build(u),p=a.indexOf(u);if(f){var h=c(d);if(h&&h.name===d)throw new Error("State '"+d+"' is already defined");var v=c(d+".**");v&&this.router.stateRegistry.deregister(v),r[d]=u,this.attachRoute(u),p>=0&&a.splice(p,1),o.push(u)}else{var m=s[d];if(s[d]=n.length,p>=0&&m===n.length)return n.push(u),l(),r;p<0&&a.push(u),n.push(u)}}return l(),r},e.prototype.attachRoute=function(e){if(!e.abstract&&e.url){var t=this.router.urlService.rules;t.rule(t.urlRuleFactory.create(e))}},e}();t.StateQueueManager=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateRegistry=void 0;var r=n(164),i=n(163),o=n(165),a=n(5),s=n(9),c=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(e,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(){(0,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.urlService.rules;n.rules().filter((0,s.propEq)("state",e)).forEach(function(e){return n.removeRule(e)}),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=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateService=void 0;var r=n(5),i=n(7),o=n(112),a=n(16),s=n(75),c=n(115),l=n(118),u=n(54),d=n(61),f=n(60),p=n(111),h=n(77),v=n(177),m=n(9),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((0,m.not)((0,r.inArray)(n)));(0,r.createProxyFunctions)((0,m.val)(e.prototype),this,(0,m.val)(this),i)}return Object.defineProperty(e.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!1,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(this.router.stateRegistry,e),c=this.router.globals,l=function(){return c.transitionHistory.peekTail()},f=l(),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()?l()!==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(){(0,r.removeFrom)(this.invalidCallbacks)(e)}.bind(this)},e.prototype.reload=function(e){return this.transitionTo(this.current,this.params,{reload:!(0,i.isDefined)(e)||e,inherit:!1,notify:!1})},e.prototype.go=function(e,t,n){var i={relative:this.$current,inherit:!0},o=(0,r.defaults)(n,i,l.defaultTransOpts);return this.transitionTo(e,t,o)},e.prototype.target=function(e,t,n){if(void 0===n&&(n={}),(0,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 '"+((0,i.isString)(n.reload)?n.reload:n.reload.name)+"'");return new d.TargetState(this.router.stateRegistry,e,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 c.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=(0,r.defaults)(n,l.defaultTransOpts);var c=function(){return s.transition};n=(0,r.extend)(n,{current:c});var f=this.target(e,t,n),p=this.getCurrentPath();if(!f.exists())return this._handleInvalidTargetState(p,f);if(!f.valid())return(0,r.silentRejection)(f.error());if(!1===n.supercede&&c())return u.Rejection.ignored("Another transition is in progress and supercede has been set to false in TransitionOptions for the transition. So the transition was ignored in favour of the existing one in progress.").toPromise();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 c=n.detail;if(n.type===u.RejectType.SUPERSEDED&&n.redirected&&c instanceof d.TargetState){var l=t.redirect(c);return l.run().catch(e(l))}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(0,r.silenceUncaughtInPromise)(v),(0,r.extend)(v,{transition:h})},e.prototype.is=function(e,t,n){n=(0,r.defaults)(n,{relative:this.$current});var o=this.router.stateRegistry.matcher.find(e,n.relative);if((0,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=(0,r.defaults)(n,{relative:this.$current});var o=(0,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((0,i.isDefined)(a)){if(!(0,i.isDefined)(s[a.name]))return!1;if(!t)return!0;var c=a.parameters({inherit:!0,matchingKeys:t});return f.Param.equals(c,f.Param.values(c,t),this.params)}},e.prototype.href=function(e,t,n){var o={lossy:!0,inherit:!0,absolute:!1,relative:this.$current};n=(0,r.defaults)(n,o),t=t||{};var a=this.router.stateRegistry.matcher.find(e,n.relative);if(!(0,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(this.router.stateRegistry,r);return t=t||this.router.transitionService.create(r,i),(0,v.lazyLoadState)(t,n)},e}();t.StateService=g},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}),t.HookBuilder=void 0;var i=n(5),o=n(7),a=n(55),s=n(62),c=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,t);if(!o)return[];var c={transition:t,current:t.options().current},l=function(r){return r.matches(n,t)[e.criteriaMatchPath.name].map(function(n){var o=(0,i.extend)({bind:r.bind,traceData:{hookType:e.name,context:n}},c),l=e.criteriaMatchPath.scope===a.TransitionHookScope.STATE?n.state.self:null,u=new s.TransitionHook(t,l,r,o);return{hook:r,node:n,transitionHook:u}})};return o.map(l).reduce(i.unnestR,[]).sort(r(e.reverseSort)).map(function(e){return e.transitionHook})},e.prototype.getMatchingHooks=function(e,t,n){var r=e.hookPhase===a.TransitionHookPhase.CREATE,s=this.transition.router.transitionService;return(r?[s]:[this.transition,s]).map(function(t){return t.getHooks(e.name)}).filter((0,i.assertPredicate)(o.isArray,"broken event named: "+e.name)).reduce(i.unnestR,[]).filter(function(e){return e.matches(t,n)})},e}();t.HookBuilder=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIRouter=void 0;var r=n(170),i=n(171),o=n(118),a=n(172),s=n(166),c=n(167),l=n(173),u=n(5),d=n(7),f=n(174),p=n(36),h=n(11),v=0,m=["url","path","search","hash","onChange"],g=["port","protocol","host","baseHref","html5Mode","hashPrefix"],y=(0,h.makeStub)("LocationServices",m),b=(0,h.makeStub)("LocationConfig",g),$=function(){function e(e,t){void 0===e&&(e=y),void 0===t&&(t=b),this.locationService=e,this.locationConfig=t,this.$id=v++,this._disposed=!1,this._disposables=[],this.trace=p.trace,this.viewService=new a.ViewService(this),this.globals=new l.UIRouterGlobals,this.transitionService=new o.TransitionService(this),this.urlMatcherFactory=new r.UrlMatcherFactory(this),this.urlRouter=new i.UrlRouter(this),this.urlService=new f.UrlService(this),this.stateRegistry=new s.StateRegistry(this),this.stateService=new c.StateService(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.urlService),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&&(0,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),(0,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]:(0,u.values)(this._plugins)},e}();t.UIRouter=$},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlMatcherFactory=t.ParamFactory=void 0;var r=n(11),i=n(78),o=n(113),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},a.apply(this,arguments)},s=function(){function e(e){this.router=e}return e.prototype.fromConfig=function(e,t,n){return new o.Param(e,t,o.DefType.CONFIG,this.router.urlService.config,n)},e.prototype.fromPath=function(e,t,n){return new o.Param(e,t,o.DefType.PATH,this.router.urlService.config,n)},e.prototype.fromSearch=function(e,t,n){return new o.Param(e,t,o.DefType.SEARCH,this.router.urlService.config,n)},e}();t.ParamFactory=s;var c=function(){function e(e){var t=this;this.router=e,this.paramFactory=new s(this.router),this.UrlMatcher=i.UrlMatcher,this.Param=o.Param,this.caseInsensitive=function(e){return t.router.urlService.config.caseInsensitive(e)},this.defaultSquashPolicy=function(e){return t.router.urlService.config.defaultSquashPolicy(e)},this.strictMode=function(e){return t.router.urlService.config.strictMode(e)},this.type=function(e,n,r){return t.router.urlService.config.type(e,n,r)||t}}return e.prototype.compile=function(e,t){var n=this.router.urlService.config,o=t&&!t.state&&t.params;t=o?a({state:{params:o}},t):t;var s={strict:n._isStrictMode,caseInsensitive:n._isCaseInsensitive,decodeParams:n._decodeParams};return new i.UrlMatcher(e,n.paramTypes,this.paramFactory,(0,r.extend)(s,t))},e.prototype.isMatcher=function(e){if(!(0,r.isObject)(e))return!1;var t=!0;return(0,r.forEach)(i.UrlMatcher.prototype,function(n,i){(0,r.isFunction)(n)&&(t=t&&(0,r.isDefined)(e[i])&&(0,r.isFunction)(e[i]))}),t},e.prototype.$get=function(){var e=this.router.urlService.config;return e.paramTypes.enqueue=!1,e.paramTypes._flushTypeQueue(),this},e}();t.UrlMatcherFactory=c},function(e,t,n){"use strict";function r(e,t,n,r){return"/"===r?e:t?(0,i.stripLastPathElement)(r)+e:n?r.slice(1)+e:e}Object.defineProperty(t,"__esModule",{value:!0}),t.UrlRouter=void 0;var i=n(11),o=n(121),a=function(){function e(e){var t=this;this.router=e,this.sync=function(e){return t.router.urlService.sync(e)},this.listen=function(e){return t.router.urlService.listen(e)},this.deferIntercept=function(e){return t.router.urlService.deferIntercept(e)},this.match=function(e){return t.router.urlService.match(e)},this.initial=function(e){return t.router.urlService.rules.initial(e)},this.otherwise=function(e){return t.router.urlService.rules.otherwise(e)},this.removeRule=function(e){return t.router.urlService.rules.removeRule(e)},this.rule=function(e){return t.router.urlService.rules.rule(e)},this.rules=function(){return t.router.urlService.rules.rules()},this.sort=function(e){return t.router.urlService.rules.sort(e)},this.when=function(e,n,r){return t.router.urlService.rules.when(e,n,r)},this.urlRuleFactory=new o.UrlRuleFactory(e)}return e.prototype.update=function(e){var t=this.router.locationService;if(e)return void(this.location=t.url());t.url()!==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?"/":"",c=o.port(),l=80===c||443===c?"":":"+c;return[o.protocol(),"://",o.host(),l,s,i].join("")},Object.defineProperty(e.prototype,"interceptDeferred",{get:function(){return this.router.urlService.interceptDeferred},enumerable:!1,configurable:!0}),e}();t.UrlRouter=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewService=void 0;var r=n(5),i=n(9),o=n(7),a=n(36),s=function(){function e(e){var t=this;this.router=e,this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._listeners=[],this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIView:function(e){return(0,r.find)(t._uiViews,function(n){return t.router.$id+"."+n.id===e})},_registeredUIViews:function(){return t._uiViews},_activeViewConfigs:function(){return t._viewConfigs},_onSync:function(e){return t._listeners.push(e),function(){return(0,r.removeFrom)(t._listeners,e)}}}}return e.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=(0,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.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(0,o.isArray)(r)?r:[r]},e.prototype.deactivateViewConfig=function(e){a.trace.traceViewServiceEvent("<- Removing",e),(0,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,s=this._uiViews.map(function(e){return[e.fqn,e]}).reduce(r.applyPairs,{}),c=(0,i.curry)(function(e,t,n,r){return t*(e(n)-e(r))}),l=function(t){var r=o._viewConfigs.filter(e.matches(s,t));return r.length>1&&r.sort(c(n,-1)),{uiView:t,viewConfig:r[0]}},u=function(e){-1!==o._uiViews.indexOf(e.uiView)&&e.uiView.configUpdated(e.viewConfig)},d=this._uiViews.sort(c(t,1)).map(l),f=d.map(function(e){return e.viewConfig}),p=this._viewConfigs.filter(function(e){return!(0,r.inArray)(f,e)}).map(function(e){return{uiView:void 0,viewConfig:e}});d.forEach(u);var h=d.concat(p);this._listeners.forEach(function(e){return e(h)}),a.trace.traceViewSync(h)},e.prototype.registerUIView=function(e){a.trace.traceViewServiceUIViewEvent("-> Registering",e);var t=this._uiViews,n=function(t){return t.fqn===e.fqn&&t.$type===e.$type};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),(0,r.removeFrom)(t)(e)}},e.prototype.available=function(){return this._uiViews.map((0,i.prop)("fqn"))},e.prototype.active=function(){return this._uiViews.filter((0,i.prop)("$config")).map((0,i.prop)("name"))},e.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(!(0,r.equals)(o,a.slice(0-o.length)))return!1;var s=1-o.length||void 0,c=a.slice(0,s).join("."),l=e[c].creationContext;return i.$uiViewContextAnchor===(l&&l.name)}},e}();t.ViewService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIRouterGlobals=void 0;var r=n(160),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}),t.UrlService=void 0;var r=n(11),i=n(175),o=n(176),a=n(116),s=function(){function e(e){var t=this;this.router=e,this.interceptDeferred=!1,this.rules=new i.UrlRules(this.router),this.config=new o.UrlConfig(this.router),this.url=function(e,n,r){return t.router.locationService.url(e,n,r)},this.path=function(){return t.router.locationService.path()},this.search=function(){return t.router.locationService.search()},this.hash=function(){return t.router.locationService.hash()},this.onChange=function(e){return t.router.locationService.onChange(e)}}return e.prototype.dispose=function(){this.listen(!1),this.rules.dispose()},e.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},e.prototype.sync=function(e){if(!e||!e.defaultPrevented){var t=this.router,n=t.urlService,i=t.stateService,o={path:n.path(),search:n.search(),hash:n.hash()},s=this.match(o);(0,r.pattern)([[r.isString,function(e){return n.url(e,!0)}],[a.TargetState.isDef,function(e){return i.go(e.state,e.params,e.options)}],[(0,r.is)(a.TargetState),function(e){return i.go(e.state(),e.params(),e.options())}]])(s&&s.rule.handler(s.match,o,this.router))}},e.prototype.listen=function(e){var t=this;if(!1!==e)return this._stopListeningFn=this._stopListeningFn||this.router.urlService.onChange(function(e){return t.sync(e)});this._stopListeningFn&&this._stopListeningFn(),delete this._stopListeningFn},e.prototype.deferIntercept=function(e){void 0===e&&(e=!0),this.interceptDeferred=e},e.prototype.match=function(e){var t=this;e=(0,r.extend)({path:"",search:{},hash:""},e);for(var n,i=this.rules.rules(),o=0;o<i.length&&(!n||n.rule._group===i[o]._group);o++){var a=function(n){var r=n.match(e,t.router);return r&&{match:r,rule:n,weight:n.matchPriority(r)}}(i[o]);n=!n||a&&a.weight>n.weight?a:n}return n},e}();t.UrlService=s},function(e,t,n){"use strict";function r(e){if(!((0,s.isFunction)(e)||(0,s.isString)(e)||(0,s.is)(o.TargetState)(e)||o.TargetState.isDef(e)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return(0,s.isFunction)(e)?e:(0,s.val)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.UrlRules=void 0;var i,o=n(116),a=n(78),s=n(11),c=n(121),l=function(e,t){return(t.priority||0)-(e.priority||0)},u=function(e,t){var n={STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1};return(n[e.type]||0)-(n[t.type]||0)},d=function(e,t){return e.urlMatcher&&t.urlMatcher?a.UrlMatcher.compare(e.urlMatcher,t.urlMatcher):0},f=function(e,t){var n={STATE:!0,URLMATCHER:!0};return n[e.type]&&n[t.type]?0:(e.$id||0)-(t.$id||0)};i=function(e,t){var n=l(e,t);return 0!==n?n:0!==(n=u(e,t))?n:(n=d(e,t),0!==n?n:f(e,t))};var p=function(){function e(e){this.router=e,this._sortFn=i,this._rules=[],this._id=0,this.urlRuleFactory=new c.UrlRuleFactory(e)}return e.prototype.dispose=function(e){this._rules=[],delete this._otherwiseFn},e.prototype.initial=function(e){var t=r(e),n=function(e,t){return 0===t.globals.transitionHistory.size()&&!!/^\/?$/.exec(e.path)};this.rule(this.urlRuleFactory.create(n,t))},e.prototype.otherwise=function(e){var t=r(e);this._otherwiseFn=this.urlRuleFactory.create((0,s.val)(!0),t),this._sorted=!1},e.prototype.removeRule=function(e){(0,s.removeFrom)(this._rules,e)},e.prototype.rule=function(e){var t=this;if(!c.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.rules=function(){return this.ensureSorted(),this._rules.concat(this._otherwiseFn?[this._otherwiseFn]:[])},e.prototype.sort=function(e){for(var t=this.stableSort(this._rules,this._sortFn=e||this._sortFn),n=0,r=0;r<t.length;r++)t[r]._group=n,r<t.length-1&&0!==this._sortFn(t[r],t[r+1])&&n++;this._rules=t,this._sorted=!0},e.prototype.ensureSorted=function(){this._sorted||this.sort()},e.prototype.stableSort=function(e,t){var n=e.map(function(e,t){return{elem:e,idx:t}});return n.sort(function(e,n){var r=t(e.elem,n.elem);return 0===r?e.idx-n.idx:r}),n.map(function(e){return e.elem})},e.prototype.when=function(e,t,n){var r=this.urlRuleFactory.create(e,t);return(0,s.isDefined)(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},e}();t.UrlRules=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlConfig=void 0;var r=n(113),i=n(11),o=function(){function e(e){var t=this;this.router=e,this.paramTypes=new r.ParamTypes,this._decodeParams=!0,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this.dispose=function(){return t.paramTypes.dispose()},this.baseHref=function(){return t.router.locationConfig.baseHref()},this.hashPrefix=function(e){return t.router.locationConfig.hashPrefix(e)},this.host=function(){return t.router.locationConfig.host()},this.html5Mode=function(){return t.router.locationConfig.html5Mode()},this.port=function(){return t.router.locationConfig.port()},this.protocol=function(){return t.router.locationConfig.protocol()}}return e.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=(0,i.isDefined)(e)?e:this._isCaseInsensitive},e.prototype.defaultSquashPolicy=function(e){if((0,i.isDefined)(e)&&!0!==e&&!1!==e&&!(0,i.isString)(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=(0,i.isDefined)(e)?e:this._defaultSquashPolicy},e.prototype.strictMode=function(e){return this._isStrictMode=(0,i.isDefined)(e)?e:this._isStrictMode},e.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return(0,i.isDefined)(t)?this:r},e}();t.UrlConfig=o},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}),t.registerLazyLoadHook=void 0,t.lazyLoadState=r;var i=n(16),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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransitionEventType=void 0;var r=n(62),i=function(){function e(e,t,n,i,o,a,s,c){void 0===o&&(o=!1),void 0===a&&(a=r.TransitionHook.HANDLE_RESULT),void 0===s&&(s=r.TransitionHook.REJECT_ERROR),void 0===c&&(c=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=i,this.reverseSort=o,this.getResultHandler=a,this.getErrorHandler=s,this.synchronous=c}return e}();t.TransitionEventType=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.$q=void 0;var r=n(11),i=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((0,r.isArray)(e))return Promise.all(e);if((0,r.isObject)(e)){var t=Object.keys(e).map(function(t){return e[t].then(function(e){return{key:t,val:e}})});return i.all(t).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}),t.$injector=void 0;var r=n(11),i={},o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,a=/([^\s,]+)/g,s=t.$injector={get:function(e){return i[e]},has:function(e){return null!=s.get(e)},invoke:function(e,t,n){var o=(0,r.extend)({},i,n||{}),a=s.annotate(e),c=(0,r.assertPredicate)(function(e){return o.hasOwnProperty(e)},function(e){return"DI can't find injectable: '"+e+"'"}),l=a.filter(c).map(function(e){return o[e]});return(0,r.isFunction)(e)?e.apply(t,l):e.slice(-1)[0].apply(t,l)},annotate:function(e){if(!(0,r.isInjectable)(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if((0,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";Object.defineProperty(t,"__esModule",{value:!0}),t.HashLocationService=void 0;var r=n(11),i=n(79),o=function(){var e=function(t,n){return(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])})(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)}}(),a=function(e){function t(t){var n=e.call(this,t,!1)||this;return r.root.addEventListener("hashchange",n._listener,!1),n}return o(t,e),t.prototype._get=function(){return(0,r.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),r.root.removeEventListener("hashchange",this._listener)},t}(i.BaseLocationServices);t.HashLocationService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryLocationService=void 0;var r=n(79),i=function(){var e=function(t,n){return(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])})(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)}}(),o=function(e){function t(t){return e.call(this,t,!0)||this}return i(t,e),t.prototype._get=function(){return this._url},t.prototype._set=function(e,t,n,r){this._url=n},t}(r.BaseLocationServices);t.MemoryLocationService=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PushStateLocationService=void 0;var r=n(79),i=n(11),o=function(){var e=function(t,n){return(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])})(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)}}(),a=function(e){function t(t){var n=e.call(this,t,!0)||this;return n._config=t.urlService.config,i.root.addEventListener("popstate",n._listener,!1),n}return o(t,e),t.prototype._getBasePrefix=function(){return(0,i.stripLastPathElement)(this._config.baseHref())},t.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;r=(0,i.splitQuery)(r)[1],n=(0,i.splitHash)(n)[1];var o=this._getBasePrefix(),a=t===this._config.baseHref(),s=t.substr(0,o.length)===o;return(t=a?"/":s?t.substring(o.length):t)+(r?"?"+r:"")+(n?"#"+n:"")},t.prototype._set=function(e,t,n,r){var i=this._getBasePrefix(),o=n&&"/"!==n[0]?"/":"",a=""===n||"/"===n?this._config.baseHref():i+o+n;r?this._history.replaceState(e,t,a):this._history.pushState(e,t,a)},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),i.root.removeEventListener("popstate",this._listener)},t}(r.BaseLocationServices);t.PushStateLocationService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryLocationConfig=void 0;var r=n(7),i=n(5),o=function(){function e(){var e=this;this.dispose=i.noop,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(0,r.isDefined)(t)?e._hashPrefix=t:e._hashPrefix}}return e}();t.MemoryLocationConfig=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserLocationConfig=void 0;var r=n(7),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.hostname},e.prototype.html5Mode=function(){return this._isHtml5},e.prototype.hashPrefix=function(e){return(0,r.isDefined)(e)?this._hashPrefix=e:this._hashPrefix},e.prototype.baseHref=function(e){return(0,r.isDefined)(e)&&(this._baseHref=e),(0,r.isUndefined)(this._baseHref)&&(this._baseHref=this.getBaseHref()),this._baseHref},e.prototype.getBaseHref=function(){var e=document.getElementsByTagName("base")[0];return e&&e.href?e.href.replace(/^([^/:]*:)?\/\/[^/]*/,""):this._isHtml5?"/":location.pathname||"/"},e.prototype.dispose=function(){},e}();t.BrowserLocationConfig=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateProvider=void 0;var r=n(29),i=function(){function e(t,n){this.stateRegistry=t,this.stateService=n,(0,r.createProxyFunctions)((0,r.val)(e.prototype),this,(0,r.val)(this))}return e.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},e.prototype.state=function(e,t){return(0,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}),t.UrlRouterProvider=void 0;var r=n(29),i=function(){function e(e){this.router=e}return e.injectableHandler=function(e,t){return function(n){return r.services.$injector.invoke(t,null,{$match:n,$stateParams:e.globals.params})}},e.prototype.$get=function(){var e=this.router.urlService;return this.router.urlRouter.update(!0),e.interceptDeferred||e.listen(),this.router.urlRouter},e.prototype.rule=function(e){var t=this;if(!(0,r.isFunction)(e))throw new Error("'rule' must be a function");var n=function(){return e(r.services.$injector,t.router.locationService)},i=new r.BaseUrlRule(n,r.identity);return this.router.urlService.rules.rule(i),this},e.prototype.otherwise=function(e){var t=this,n=this.router.urlService.rules;if((0,r.isString)(e))n.otherwise(e);else{if(!(0,r.isFunction)(e))throw new Error("'rule' must be a string or function");n.otherwise(function(){return e(r.services.$injector,t.router.locationService)})}return this},e.prototype.when=function(t,n){return((0,r.isArray)(n)||(0,r.isFunction)(n))&&(n=e.injectableHandler(this.router,n)),this.router.urlService.rules.when(t,n),this},e.prototype.deferIntercept=function(e){this.router.urlService.deferIntercept(e)},e}();t.UrlRouterProvider=i},function(e,t,n){"use strict";(function(e){function t(e){e.keys().forEach(e)}n(189);var r=n(158),i=function(e){return e&&e.__esModule?e:{default:e}}(r);n(376),n(379),n(412),n(425),n(426);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(430)),t(n(431));var a=n(445);(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(14))},function(e,t,n){"use strict";n(190);var r=function(e){return e&&e.__esModule?e:{default:e}}(n(362));r.default._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."),r.default._babelPolyfill=!0},function(e,t,n){"use strict";n(191),n(334),n(336),n(339),n(341),n(343),n(345),n(347),n(349),n(351),n(353),n(355),n(357),n(361)},function(e,t,n){"use strict";n(192),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(224),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(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(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(273),n(274),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(101),n(297),n(145),n(298),n(146),n(299),n(300),n(301),n(302),n(147),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),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),e.exports=n(10)},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(1),o=n(19),a=n(12),s=n(0),c=n(17),l=n(35).KEY,u=n(2),d=n(63),f=n(47),p=n(38),h=n(6),v=n(82),m=n(126),g=n(194),y=n(66),b=n(3),$=n(4),w=n(15),x=n(21),S=n(34),E=n(37),C=n(42),T=n(129),_=n(26),k=n(65),A=n(13),O=n(40),P=_.f,N=A.f,D=T.f,M=i.Symbol,I=i.JSON,R=I&&I.stringify,F=h("_hidden"),j=h("toPrimitive"),U={}.propertyIsEnumerable,L=d("symbol-registry"),q=d("symbols"),V=d("op-symbols"),H=Object.prototype,B="function"==typeof M&&!!k.f,W=i.QObject,z=!W||!W.prototype||!W.prototype.findChild,G=a&&u(function(){return 7!=C(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=P(H,t);r&&delete H[t],N(e,t,n),r&&e!==H&&N(H,t,r)}:N,Y=function(e){var t=q[e]=C(M.prototype);return t._k=e,t},K=B&&"symbol"==r(M.iterator)?function(e){return"symbol"==(void 0===e?"undefined":r(e))}:function(e){return e instanceof M},J=function(e,t,n){return e===H&&J(V,t,n),b(e),t=S(t,!0),b(n),o(q,t)?(n.enumerable?(o(e,F)&&e[F][t]&&(e[F][t]=!1),n=C(n,{enumerable:E(0,!1)})):(o(e,F)||N(e,F,E(1,{})),e[F][t]=!0),G(e,t,n)):N(e,t,n)},X=function(e,t){b(e);for(var n,r=g(t=x(t)),i=0,o=r.length;o>i;)J(e,n=r[i++],t[n]);return e},Q=function(e,t){return void 0===t?C(e):X(C(e),t)},Z=function(e){var t=U.call(this,e=S(e,!0));return!(this===H&&o(q,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(q,e)||o(this,F)&&this[F][e])||t)},ee=function(e,t){if(e=x(e),t=S(t,!0),e!==H||!o(q,t)||o(V,t)){var n=P(e,t);return!n||!o(q,t)||o(e,F)&&e[F][t]||(n.enumerable=!0),n}},te=function(e){for(var t,n=D(x(e)),r=[],i=0;n.length>i;)o(q,t=n[i++])||t==F||t==l||r.push(t);return r},ne=function(e){for(var t,n=e===H,r=D(n?V:x(e)),i=[],a=0;r.length>a;)!o(q,t=r[a++])||n&&!o(H,t)||i.push(q[t]);return i};B||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function t(n){this===H&&t.call(V,n),o(this,F)&&o(this[F],e)&&(this[F][e]=!1),G(this,e,E(1,n))};return a&&z&&G(H,e,{configurable:!0,set:t}),Y(e)},c(M.prototype,"toString",function(){return this._k}),_.f=ee,A.f=J,n(43).f=T.f=te,n(57).f=Z,k.f=ne,a&&!n(39)&&c(H,"propertyIsEnumerable",Z,!0),v.f=function(e){return Y(h(e))}),s(s.G+s.W+s.F*!B,{Symbol:M});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)h(re[ie++]);for(var oe=O(h.store),ae=0;oe.length>ae;)m(oe[ae++]);s(s.S+s.F*!B,"Symbol",{for:function(e){return o(L,e+="")?L[e]:L[e]=M(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),s(s.S+s.F*!B,"Object",{create:Q,defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u(function(){k.f(1)});s(s.S+s.F*se,"Object",{getOwnPropertySymbols:function(e){return k.f(w(e))}}),I&&s(s.S+s.F*(!B||u(function(){var e=M();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(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],($(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,R.apply(I,r)}}),M.prototype[j]||n(20)(M.prototype,j,M.prototype.valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(e,t,n){"use strict";e.exports=n(63)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";var r=n(40),i=n(65),o=n(57);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),c=o.f,l=0;s.length>l;)c.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(0);r(r.S,"Object",{create:n(42)})},function(e,t,n){"use strict";var r=n(0);r(r.S+r.F*!n(12),"Object",{defineProperty:n(13).f})},function(e,t,n){"use strict";var r=n(0);r(r.S+r.F*!n(12),"Object",{defineProperties:n(128)})},function(e,t,n){"use strict";var r=n(21),i=n(26).f;n(27)("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},function(e,t,n){"use strict";var r=n(15),i=n(44);n(27)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(15),i=n(40);n(27)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";n(27)("getOwnPropertyNames",function(){return n(129).f})},function(e,t,n){"use strict";var r=n(4),i=n(35).onFreeze;n(27)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){"use strict";var r=n(4),i=n(35).onFreeze;n(27)("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){"use strict";var r=n(4),i=n(35).onFreeze;n(27)("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){"use strict";var r=n(4);n(27)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){"use strict";var r=n(4);n(27)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){"use strict";var r=n(4);n(27)("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(130)})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Object",{is:n(131)})},function(e,t,n){"use strict";var r=n(0);r(r.S,"Object",{setPrototypeOf:n(86).set})},function(e,t,n){"use strict";var r=n(58),i={};i[n(6)("toStringTag")]="z",i+""!="[object z]"&&n(17)(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(132)})},function(e,t,n){"use strict";var r=n(13).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(4),i=n(44),o=n(6)("hasInstance"),a=Function.prototype;o in a||n(13).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(134);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){"use strict";var r=n(0),i=n(135);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(1),i=n(19),o=n(31),a=n(88),s=n(34),c=n(2),l=n(43).f,u=n(26).f,d=n(13).f,f=n(48).trim,p=r.Number,h=p,v=p.prototype,m="Number"==o(n(42)(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,c=t.slice(2),l=0,u=c.length;l<u;l++)if((a=c.charCodeAt(l))<48||a>i)return NaN;return parseInt(c,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?c(function(){v.valueOf.call(n)}):"Number"!=o(n))?a(new h(y(t)),n,p):y(t)};for(var b,$=n(12)?l(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;$.length>w;w++)i(h,b=$[w])&&!i(p,b)&&d(p,b,u(h,b));p.prototype=v,v.constructor=p,n(17)(r,"Number",p)}},function(e,t,n){"use strict";var r=n(0),i=n(25),o=n(136),a=n(89),s=1..toFixed,c=Math.floor,l=[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*l[n],l[n]=r%1e7,r=c(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=l[t],l[t]=c(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==l[e]){var n=String(l[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,c=o(this,u),l=i(e),m="",g="0";if(l<0||l>20)throw RangeError(u);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(t=v(c*h(2,69,1))-69,n=t<0?c*h(2,-t,1):c/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=l;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",l);return l>0?(s=g.length,g=m+(s<=l?"0."+a.call("0",l-s)+g:g.slice(0,s-l)+"."+g.slice(s-l))):g=m+g,g}})},function(e,t,n){"use strict";var r=n(0),i=n(2),o=n(136),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(1).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(137)})},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(137),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(135);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){"use strict";var r=n(0),i=n(134);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){"use strict";var r=n(0),i=n(138),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(90);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(91);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(237)})},function(e,t,n){"use strict";var r=n(90),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),c=i(2,-126),l=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<c?u*l(i/c/a)*c*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,c=0;a<s;)n=i(arguments[a++]),c<n?(r=c/n,o=o*r*r+1,c=n):n>0?(r=n/c,o+=r*r):o+=n;return c===1/0?1/0:c*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(138)})},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(90)})},function(e,t,n){"use strict";var r=n(0),i=n(91),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(91),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(41),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(21),o=n(8);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(48)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){"use strict";var r=n(92)(!0);n(93)(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(92)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(0),i=n(8),o=n(94),a="".endsWith;r(r.P+r.F*n(96)("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),c=String(e);return a?a.call(t,c,s):t.slice(s-c.length,s)===c}})},function(e,t,n){"use strict";var r=n(0),i=n(94);r(r.P+r.F*n(96)("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(89)})},function(e,t,n){"use strict";var r=n(0),i=n(8),o=n(94),a="".startsWith;r(r.P+r.F*n(96)("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(18)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(18)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(18)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(18)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(18)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(18)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(18)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(18)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(18)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(18)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(18)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(18)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(18)("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(15),o=n(34);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(272);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(17)(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(6)("toPrimitive"),i=Date.prototype;r in i||n(20)(i,r,n(275))},function(e,t,n){"use strict";var r=n(3),i=n(34);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(66)})},function(e,t,n){"use strict";var r=n(23),i=n(0),o=n(15),a=n(140),s=n(97),c=n(8),l=n(98),u=n(99);i(i.S+i.F*!n(67)(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=c(f.length),n=new p(t);t>g;g++)l(n,g,m?v(f[g],g):f[g]);else for(d=y.call(f),n=new p;!(i=d.next()).done;g++)l(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(98);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(21),o=[].join;r(r.P+r.F*(n(56)!=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(85),o=n(31),a=n(41),s=n(8),c=[].slice;r(r.P+r.F*n(2)(function(){i&&c.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 c.call(this,e,t);for(var i=a(e,n),l=a(t,n),u=s(l-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(24),o=n(15),a=n(2),s=[].sort,c=[1,2,3];r(r.P+r.F*(a(function(){c.sort(void 0)})||!a(function(){c.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(28)(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(4),i=n(66),o=n(6)("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(28)(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(28)(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(28)(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(28)(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(142);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(142);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(64)(!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(21),o=n(25),a=n(8),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(22)(s)),"Array",{lastIndexOf:function(e){if(c)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(143)}),n(45)("copyWithin")},function(e,t,n){"use strict";var r=n(0);r(r.P,"Array",{fill:n(100)}),n(45)("fill")},function(e,t,n){"use strict";var r=n(0),i=n(28)(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(45)("find")},function(e,t,n){"use strict";var r=n(0),i=n(28)(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(45)(o)},function(e,t,n){"use strict";n(50)("Array")},function(e,t,n){"use strict";var r=n(1),i=n(88),o=n(13).f,a=n(43).f,s=n(95),c=n(68),l=r.RegExp,u=l,d=l.prototype,f=/a/g,p=/a/g,h=new l(f)!==f;if(n(12)&&(!h||n(2)(function(){return p[n(6)("match")]=!1,l(f)!=f||l(p)==p||"/a/i"!=l(f,"i")}))){l=function(e,t){var n=this instanceof l,r=s(e),o=void 0===t;return!n&&r&&e.constructor===l&&o?e:i(h?new u(r&&!o?e.source:e,t):u((r=e instanceof l)?e.source:e,r&&o?c.call(e):t),n?this:d,l)};for(var v=a(u),m=0;v.length>m;)!function(e){e in l||o(l,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}(v[m++]);d.constructor=l,l.prototype=d,n(17)(r,"RegExp",l)}n(50)("RegExp")},function(e,t,n){"use strict";n(146);var r=n(3),i=n(68),o=n(12),a=/./.toString,s=function(e){n(17)(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(8),o=n(103),a=n(69);n(70)("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 c=r(e),l=String(this);if(!c.global)return a(c,l);var u=c.unicode;c.lastIndex=0;for(var d,f=[],p=0;null!==(d=a(c,l));){var h=String(d[0]);f[p]=h,""===h&&(c.lastIndex=o(l,i(c.lastIndex),u)),p++}return 0===p?null:f}]})},function(e,t,n){"use strict";var r=n(3),i=n(15),o=n(8),a=n(25),s=n(103),c=n(69),l=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(70)("replace",2,function(e,t,n,v){function m(e,t,r,o,a,s){var c=r+e.length,l=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(c);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>l){var f=d(u/10);return 0===f?n:f<=l?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 b=[];;){var $=c(d,f);if(null===$)break;if(b.push($),!g)break;""===String($[0])&&(d.lastIndex=s(f,o(d.lastIndex),y))}for(var w="",x=0,S=0;S<b.length;S++){$=b[S];for(var E=String($[0]),C=l(u(a($.index),f.length),0),T=[],_=1;_<$.length;_++)T.push(h($[_]));var k=$.groups;if(p){var A=[E].concat(T,C,f);void 0!==k&&A.push(k);var O=String(t.apply(void 0,A))}else O=m(E,f,C,T,k,t);C>=x&&(w+=f.slice(x,C)+O,x=C+E.length)}return w+f.slice(x)}]})},function(e,t,n){"use strict";var r=n(3),i=n(131),o=n(69);n(70)("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),c=String(this),l=s.lastIndex;i(l,0)||(s.lastIndex=0);var u=o(s,c);return i(s.lastIndex,l)||(s.lastIndex=l),null===u?-1:u.index}]})},function(e,t,n){"use strict";var r=n(95),i=n(3),o=n(59),a=n(103),s=n(8),c=n(69),l=n(102),u=n(2),d=Math.min,f=[].push,p="length",h=!u(function(){RegExp(4294967295,"y")});n(70)("split",2,function(e,t,n,u){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?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,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,h=void 0===t?4294967295:t>>>0,v=new RegExp(e.source,u+"g");(o=l.call(v,i))&&!((a=v.lastIndex)>d&&(c.push(i.slice(d,o.index)),o[p]>1&&o.index<i[p]&&f.apply(c,o.slice(1)),s=o[0][p],d=a,c[p]>=h));)v.lastIndex===o.index&&v.lastIndex++;return d===i[p]?!s&&v.test("")||c.push(""):c.push(i.slice(d)),c[p]>h?c.slice(0,h):c}:"0".split(void 0,0)[p]?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=u(v,e,this,t,v!==n);if(r.done)return r.value;var l=i(e),f=String(this),p=o(l,RegExp),m=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),y=new p(h?l:"^(?:"+l.source+")",g),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===f.length)return null===c(y,f)?[f]:[];for(var $=0,w=0,x=[];w<f.length;){y.lastIndex=h?w:0;var S,E=c(y,h?f:f.slice(w));if(null===E||(S=d(s(y.lastIndex+(h?0:w)),f.length))===$)w=a(f,w,m);else{if(x.push(f.slice($,w)),x.length===b)return x;for(var C=1;C<=E.length-1;C++)if(x.push(E[C]),x.length===b)return x;w=$=S}}return x.push(f.slice($)),x}]})},function(e,t,n){"use strict";var r=n(1),i=n(104).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(31)(a);e.exports=function(){var e,t,n,l=function(){var r,i;for(c&&(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(c)n=function(){a.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(l)}}else n=function(){i.call(r,l)};else{var d=!0,f=document.createTextNode("");new o(l).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(150),i=n(46);e.exports=n(73)("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(150),i=n(46);e.exports=n(73)("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(1),o=n(28)(0),a=n(17),s=n(35),c=n(130),l=n(151),u=n(4),d=n(46),f=n(46),p=!i.ActiveXObject&&"ActiveXObject"in i,h=s.getWeak,v=Object.isExtensible,m=l.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(u(e)){var t=h(e);return!0===t?m(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},b=e.exports=n(73)("WeakMap",g,y,l,!0,!0);f&&p&&(r=l.getConstructor(g,"WeakMap"),c(r.prototype,y),s.NEED=!0,o(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];a(t,e,function(t,i){if(u(t)&&!v(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(151),i=n(46);n(73)("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(74),o=n(105),a=n(3),s=n(41),c=n(8),l=n(4),u=n(1).ArrayBuffer,d=n(59),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)||l(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))(c(i-r)),l=new p(this),u=new p(o),h=0;r<i;)u.setUint8(h++,l.getUint8(r++));return o}}),n(50)("ArrayBuffer")},function(e,t,n){"use strict";var r=n(0);r(r.G+r.W+r.F*!n(74).ABV,{DataView:n(105).DataView})},function(e,t,n){"use strict";n(33)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(33)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(33)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){"use strict";n(33)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(33)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(33)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(33)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(33)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";n(33)("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(24),o=n(3),a=(n(1).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),c=o(n);return a?a(r,t,c):s.call(r,t,c)}})},function(e,t,n){"use strict";var r=n(0),i=n(42),o=n(24),a=n(3),s=n(4),c=n(2),l=n(132),u=(n(1).Reflect||{}).construct,d=c(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),f=!c(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(l.apply(e,r))}var c=n.prototype,p=i(s(c)?c:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){"use strict";var r=n(13),i=n(0),o=n(3),a=n(34);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(26).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(139)(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 l(e)===u?e[t]:(n=i.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:c(s=o(e))?r(s,t,u):void 0}var i=n(26),o=n(44),a=n(19),s=n(0),c=n(4),l=n(3);s(s.S,"Reflect",{get:r})},function(e,t,n){"use strict";var r=n(26),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(44),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(153)})},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 c,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=l(0)}if(s(h,"value")){if(!1===h.writable||!d(p))return!1;if(c=o.f(p,t)){if(c.get||c.set||!1===c.writable)return!1;c.value=n,i.f(p,t,c)}else i.f(p,t,l(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var i=n(13),o=n(26),a=n(44),s=n(19),c=n(0),l=n(37),u=n(3),d=n(4);c(c.S,"Reflect",{set:r})},function(e,t,n){"use strict";var r=n(0),i=n(86);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(335),e.exports=n(10).Array.includes},function(e,t,n){"use strict";var r=n(0),i=n(64)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(45)("includes")},function(e,t,n){"use strict";n(337),e.exports=n(10).Array.flatMap},function(e,t,n){"use strict";var r=n(0),i=n(338),o=n(15),a=n(8),s=n(24),c=n(141);r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return s(e),t=a(r.length),n=c(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),n(45)("flatMap")},function(e,t,n){"use strict";function r(e,t,n,l,u,d,f,p){for(var h,v,m=u,g=0,y=!!f&&s(f,p,3);g<l;){if(g in n){if(h=y?y(n[g],g,t):n[g],v=!1,o(h)&&(v=h[c],v=void 0!==v?!!v:i(h)),v&&d>0)m=r(e,t,h,a(h.length),m,d-1)-1;else{if(m>=9007199254740991)throw TypeError();e[m]=h}m++}g++}return m}var i=n(66),o=n(4),a=n(8),s=n(23),c=n(6)("isConcatSpreadable");e.exports=r},function(e,t,n){"use strict";n(340),e.exports=n(10).String.padStart},function(e,t,n){"use strict";var r=n(0),i=n(154),o=n(72),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";n(342),e.exports=n(10).String.padEnd},function(e,t,n){"use strict";var r=n(0),i=n(154),o=n(72),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";n(344),e.exports=n(10).String.trimLeft},function(e,t,n){"use strict";n(48)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";n(346),e.exports=n(10).String.trimRight},function(e,t,n){"use strict";n(48)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},function(e,t,n){"use strict";n(348),e.exports=n(82).f("asyncIterator")},function(e,t,n){"use strict";n(126)("asyncIterator")},function(e,t,n){"use strict";n(350),e.exports=n(10).Object.getOwnPropertyDescriptors},function(e,t,n){"use strict";var r=n(0),i=n(153),o=n(21),a=n(26),s=n(98);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),c=a.f,l=i(r),u={},d=0;l.length>d;)void 0!==(n=c(r,t=l[d++]))&&s(u,t,n);return u}})},function(e,t,n){"use strict";n(352),e.exports=n(10).Object.values},function(e,t,n){"use strict";var r=n(0),i=n(155)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){"use strict";n(354),e.exports=n(10).Object.entries},function(e,t,n){"use strict";var r=n(0),i=n(155)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){"use strict";n(147),n(356),e.exports=n(10).Promise.finally},function(e,t,n){"use strict";var r=n(0),i=n(10),o=n(1),a=n(59),s=n(149);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(358),n(359),n(360),e.exports=n(10)},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(72),a=[].slice,s=/MSIE .\./.test(o),c=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:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){"use strict";var r=n(0),i=n(104);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){"use strict";for(var r=n(101),i=n(40),o=n(17),a=n(1),s=n(20),c=n(49),l=n(6),u=l("iterator"),d=l("toStringTag"),f=c.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],b=a[g],$=b&&b.prototype;if($&&($[u]||s($,u,f),$[d]||s($,d,g),c[g]=f,y))for(m in r)$[m]||o($,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},n=function(e){function n(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}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",{value: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 c(e){["next","throw","return"].forEach(function(t){n(e,t,function(e){return this._invoke(t,e)})})}function l(e,n){function r(o,a,s,c){var l=i(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"===(void 0===d?"undefined":t(d))&&b.call(d,"__await")?n.resolve(d.__await).then(function(e){r("next",e,s,c)},function(e){r("throw",e,s,c)}):n.resolve(d).then(function(e){u.value=e,s(u)},function(e){return r("throw",e,s,c)})}c(l.arg)}function o(e,t){function i(){return new n(function(n,i){r(e,t,n,i)})}return a=a?a.then(i,i):i()}var a;$(this,"_invoke",{value:o})}function u(e,t,n){var r=C;return function(o,a){if(r===_)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 c=d(s,n);if(c){if(c===A)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===C)throw r=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=_;var l=i(e,t,n);if("normal"===l.type){if(r=n.done?k:T,l.arg===A)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=k,n.method="throw",n.arg=l.arg)}}}function d(e,t){var n=t.method,r=e.iterator[n];if(r===g)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=g,d(e,t),"throw"===t.method)?A:("return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),A);var o=i(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,A;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,A):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}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[x];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(b.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,b=y.hasOwnProperty,$=Object.defineProperty||function(e,t,n){e[t]=n.value},w="function"==typeof Symbol?Symbol:{},x=w.iterator||"@@iterator",S=w.asyncIterator||"@@asyncIterator",E=w.toStringTag||"@@toStringTag";try{n({},"")}catch(e){n=function(e,t,n){return e[t]=n}}e.wrap=r;var C="suspendedStart",T="suspendedYield",_="executing",k="completed",A={},O={};n(O,x,function(){return this});var P=Object.getPrototypeOf,N=P&&P(P(v([])));N&&N!==y&&b.call(N,x)&&(O=N);var D=s.prototype=o.prototype=Object.create(O);return a.prototype=s,$(D,"constructor",{value:s,configurable:!0}),$(s,"constructor",{value:a,configurable:!0}),a.displayName=n(s,E,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,n(e,E,"GeneratorFunction")),e.prototype=Object.create(D),e},e.awrap=function(e){return{__await:e}},c(l.prototype),n(l.prototype,S,function(){return this}),e.AsyncIterator=l,e.async=function(t,n,i,o,a){void 0===a&&(a=Promise);var s=new l(r(t,n,i,o),a);return e.isGeneratorFunction(n)?s:s.next().then(function(e){return e.done?e.value:s.next()})},c(D),n(D,E,"Generator"),n(D,x,function(){return this}),n(D,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.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)&&b.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=b.call(i,"catchLoc"),s=b.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&&b.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,A):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),A},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),A}},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),A}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(e){"object"===("undefined"==typeof globalThis?"undefined":t(globalThis))?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}).call(t,n(124)(e))},function(e,t,n){"use strict";n(363),e.exports=n(156).global},function(e,t,n){"use strict";var r=n(364);r(r.G,{global:n(106)})},function(e,t,n){"use strict";var r=n(106),i=n(156),o=n(365),a=n(367),s=n(374),c=function e(t,n,c){var l,u,d,f=t&e.F,p=t&e.G,h=t&e.S,v=t&e.P,m=t&e.B,g=t&e.W,y=p?i:i[n]||(i[n]={}),b=y.prototype,$=p?r:h?r[n]:(r[n]||{}).prototype;p&&(c=n);for(l in c)(u=!f&&$&&void 0!==$[l])&&s(y,l)||(d=u?$[l]:c[l],y[l]=p&&"function"!=typeof $[l]?c[l]:m&&u?o(d,r):g&&$[l]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):v&&"function"==typeof d?o(Function.call,d):d,v&&((y.virtual||(y.virtual={}))[l]=d,t&e.R&&b&&!b[l]&&a(b,l,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){"use strict";var r=n(366);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=n(368),i=n(373);e.exports=n(108)?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(369),i=n(370),o=n(372),a=Object.defineProperty;t.f=n(108)?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";var r=n(107);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";e.exports=!n(108)&&!n(157)(function(){return 7!=Object.defineProperty(n(371)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(107),i=n(106).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(107);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";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={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,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};!function(e){function t(e){if(!x(e))return gi;w(e.objectMaxDepth)&&(gi.objectMaxDepth=n(e.objectMaxDepth)?e.objectMaxDepth:NaN),w(e.urlErrorParamsEnabled)&&R(e.urlErrorParamsEnabled)&&(gi.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function n(e){return C(e)&&e>0}function i(e,t){t=t||Error;var n="https://errors.angularjs.org/1.8.3/",r=n.replace(".","\\.")+"[\\s\\S]*",i=new RegExp(r,"g");return function(){var r,o,a=arguments[0],s=arguments[1],c="["+(e?e+":":"")+a+"] ",l=K(arguments,2).map(function(e){return Te(e,gi.objectMaxDepth)});if(c+=s.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<l.length?l[t].replace(i,""):e}),c+="\n"+n+(e?e+"/":"")+a,gi.urlErrorParamsEnabled)for(o=0,r="?";o<l.length;o++,r="&")c+=r+"p"+o+"="+encodeURIComponent(l[o]);return new t(c)}}function o(e){if(null==e||P(e))return!1;if(_(e)||E(e)||hi&&e instanceof hi)return!0;var t="length"in Object(e)&&e.length;return C(t)&&(t>=0&&t-1 in e||"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(_(e)||o(e)){var c="object"!==(void 0===e?"undefined":r(e));for(i=0,s=e.length;i<s;i++)(c||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)$i.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 c(e){return function(t,n){e(n,t)}}function l(){return++Oi}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),c=0,l=s.length;c<l;c++){var f=s[c],p=a[f];n&&x(p)?T(p)?e[f]=new Date(p.valueOf()):O(p)?e[f]=new RegExp(p):p.nodeName?e[f]=p.cloneNode(!0):L(p)?e[f]=p.clone():"__proto__"!==f&&(x(e[f])||(e[f]=_(p)?[]:{}),d(e[f],[p],!0)):e[f]=p}}return u(e,r),e}function f(e){return d(e,Si.call(arguments,1),!1)}function p(e){return d(e,Si.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 b(e){return A(e.toString)&&e.toString!==Ti}function $(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))&&!_i(e)}function E(e){return"string"==typeof e}function C(e){return"number"==typeof e}function T(e){return"[object Date]"===Ti.call(e)}function _(e){return Array.isArray(e)||e instanceof Array}function k(e){switch(Ti.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function A(e){return"function"==typeof e}function O(e){return"[object RegExp]"===Ti.call(e)}function P(e){return e&&e.window===e}function N(e){return e&&e.$evalAsync&&e.$watch}function D(e){return"[object File]"===Ti.call(e)}function M(e){return"[object FormData]"===Ti.call(e)}function I(e){return"[object Blob]"===Ti.call(e)}function R(e){return"boolean"==typeof e}function F(e){return e&&A(e.then)}function j(e){return e&&C(e.length)&&Ni.test(Ti.call(e))}function U(e){return"[object ArrayBuffer]"===Ti.call(e)}function L(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function q(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function V(e){return wi(e.nodeName||e[0]&&e[0].nodeName)}function H(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function B(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function W(e,t,r){function i(e,t,n){if(--n<0)return"...";var r,i=t.$$hashKey;if(_(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)$i.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=c.indexOf(e);if(-1!==n)return l[n];if(P(e)||N(e))throw ki("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,o=s(e);return void 0===o&&(o=_(e)?[]:Object.create(_i(e)),r=!0),c.push(e),l.push(o),r?i(e,o,t):o}function s(e){switch(Ti.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 c=[],l=[];if(r=n(r)?r:NaN,t){if(j(t)||U(t))throw ki("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw ki("cpi","Can't copy! Source and destination are identical.");return _(t)?t.length=0:a(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),c.push(e),l.push(t),i(e,t,r)}return o(e,r)}function z(e,t){return e===t||e!==e&&t!==t}function G(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(!_(e)){if(T(e))return!!T(t)&&z(e.getTime(),t.getTime());if(O(e))return!!O(t)&&e.toString()===t.toString();if(N(e)||N(t)||P(e)||P(t)||_(t)||T(t)||O(t))return!1;o=we();for(i in e)if("$"!==i.charAt(0)&&!A(e[i])){if(!G(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(!_(t))return!1;if((n=e.length)===t.length){for(i=0;i<n;i++)if(!G(e[i],t[i]))return!1;return!0}}return!1}function Y(e,t,n){return e.concat(Si.call(t,n))}function K(e,t){return Si.call(e,t||0)}function J(e,t){var n=arguments.length>2?K(arguments,2):[];return!A(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,Y(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function X(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:P(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":N(n)&&(r="$SCOPE"),r}function Q(e,t){if(!$(e))return C(t)||(t=t?2:null),JSON.stringify(e,X,t)}function Z(e){return E(e)?JSON.parse(e):e}function ee(e,t){e=e.replace(Fi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return Pi(n)?t:n}function te(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function ne(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return te(e,n*(ee(t,r)-r))}function re(e){e=hi(e).clone().empty();var t=hi("<div></div>").append(e).html();try{return e[0].nodeType===Hi?wi(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+wi(t)})}catch(e){return wi(t)}}function ie(e){try{return decodeURIComponent(e)}catch(e){}}function oe(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=ie(r),w(r)&&(i=!w(i)||ie(i),$i.call(t,r)?_(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ae(e){var t=[];return a(e,function(e,n){_(e)?a(e,function(e){t.push(ce(n,!0)+(!0===e?"":"="+ce(e,!0)))}):t.push(ce(n,!0)+(!0===e?"":"="+ce(e,!0)))}),t.length?t.join("&"):""}function se(e){return ce(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ce(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=ji.length;for(r=0;r<i;++r)if(n=ji[r]+t,E(n=e.getAttribute(n)))return n;return null}function ue(t,n){var r,i,o={};if(a(ji,function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))}),a(ji,function(e){var n,o=e+"app";!r&&(n=t.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))}),r){if(!Ui)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 de(t,n,r){x(r)||(r={}),r=f({strictDi:!1},r);var i=function(){if(t=hi(t),t.injector()){var i=t[0]===e.document?"document":re(t);throw ki("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=ht(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,""),Ai.resumeBootstrap=function(e){return a(e,function(e){n.push(e)}),i()},A(Ai.resumeDeferredBootstrap)&&Ai.resumeDeferredBootstrap()}function fe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function pe(e){var t=Ai.element(e).injector();if(!t)throw ki("test","no injector found for element argument to getTestability");return t.get("$$testability")}function he(e,t){return t=t||"_",e.replace(Li,function(e,n){return(n?t:"")+e.toLowerCase()})}function ve(){Fe.legacyXHTMLReplacement=!0}function me(e,t,n){if(!e)throw ki("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ge(e,t,n){return n&&_(e)&&(e=e[e.length-1]),me(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 ye(e,t){if("hasOwnProperty"===e)throw ki("badname","hasOwnProperty is not a valid {0} name",t)}function be(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)?J(o,e):e}function $e(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=hi(Si.call(e,0,i))),t.push(n));return t||e}function we(){return Object.create(null)}function xe(e){if(null==e)return"";switch(void 0===e?"undefined":r(e)){case"string":break;case"number":e=""+e;break;default:e=!b(e)||_(e)||T(e)?Q(e):e.toString()}return e}function Se(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=c),function(){return r[n||"push"]([e,t,arguments]),f}}function t(e,t,n){return n||(n=c),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 c=[],l=[],u=[],d=e("$injector","invoke","push",l),f={_invokeQueue:c,_configBlocks:l,_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",l),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 Ee(e,t){if(_(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 Ce(e,t){var r=[];return n(t)&&(e=Ai.copy(e,null,t)),JSON.stringify(e,function(e,t){if(t=X(e,t),x(t)){if(r.indexOf(t)>=0)return"...";r.push(t)}return t})}function Te(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):$(e)?"undefined":"string"!=typeof e?Ce(e,t):e}function _e(){return++Ki}function ke(e){return Oe(e.replace(Xi,"ms-"))}function Ae(e,t){return t.toUpperCase()}function Oe(e){return e.replace(Ji,Ae)}function Pe(e){return!to.test(e)}function Ne(e){var t=e.nodeType;return t===Vi||!t||t===Wi}function De(e){for(var t in Yi[e.ng339])return!0;return!1}function Me(t,n){var r,i,o,s,c,l=n.createDocumentFragment(),u=[];if(Pe(t))u.push(n.createTextNode(t));else{if(r=l.appendChild(n.createElement("div")),i=(no.exec(t)||["",""])[1].toLowerCase(),s=Fe.legacyXHTMLReplacement?t.replace(ro,"<$1></$2>"):t,pi<10)for(o=oo[i]||oo._default,r.innerHTML=o[1]+s+o[2],c=o[0];c--;)r=r.firstChild;else{for(o=io[i]||[],c=o.length;--c>-1;)r.appendChild(e.document.createElement(o[c])),r=r.firstChild;r.innerHTML=s}u=Y(u,r.childNodes),r=l.firstChild,r.textContent=""}return l.textContent="",l.innerHTML="",a(u,function(e){l.appendChild(e)}),l}function Ie(t,n){n=n||e.document;var r;return(r=eo.exec(t))?[n.createElement(r[1])]:(r=Me(t,n))?r.childNodes:[]}function Re(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Fe(e){if(e instanceof Fe)return e;var t;if(E(e)&&(e=Di(e),t=!0),!(this instanceof Fe)){if(t&&"<"!==e.charAt(0))throw Zi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Fe(e)}t?Ke(this,Ie(e)):A(e)?tt(e):Ke(this,e)}function je(e){return e.cloneNode(!0)}function Ue(e,t){!t&&Ne(e)&&hi.cleanData([e]),e.querySelectorAll&&hi.cleanData(e.querySelectorAll("*"))}function Le(e){var t;for(t in e)return!1;return!0}function qe(e){var t=e.ng339,n=t&&Yi[t],r=n&&n.events,i=n&&n.data;i&&!Le(i)||r&&!Le(r)||(delete Yi[t],e.ng339=void 0)}function Ve(e,t,n,r){if(w(r))throw Zi("offargs","jqLite#off() does not support the `selector` argument");var i=Be(e),o=i&&i.events,s=i&&i.handle;if(s){if(t){var c=function(t){var r=o[t];w(n)&&B(r||[],n),w(n)&&r&&r.length>0||(e.removeEventListener(t,s),delete o[t])};a(t.split(" "),function(e){c(e),Qi[e]&&c(Qi[e])})}else for(t in o)"$destroy"!==t&&e.removeEventListener(t,s),delete o[t];qe(e)}}function He(e,t){var n=e.ng339,r=n&&Yi[n];r&&(t?delete r.data[t]:r.data={},qe(e))}function Be(e,t){var n=e.ng339,r=n&&Yi[n];return t&&!r&&(e.ng339=n=_e(),r=Yi[n]={events:{},data:{},handle:void 0}),r}function We(e,t,n){if(Ne(e)){var r,i=w(n),o=!i&&t&&!x(t),a=!t,s=Be(e,!o),c=s&&s.data;if(i)c[Oe(t)]=n;else{if(a)return c;if(o)return c&&c[Oe(t)];for(r in t)c[Oe(r)]=t[r]}}}function ze(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function Ge(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;a(t.split(" "),function(e){e=Di(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",Di(r))}}function Ye(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;a(t.split(" "),function(e){e=Di(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",Di(r))}}function Ke(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 Je(e,t){return Xe(e,"$"+(t||"ngController")+"Controller")}function Xe(e,t,n){e.nodeType===Wi&&(e=e.documentElement);for(var r=_(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(w(n=hi.data(e,r[i])))return n;e=e.parentNode||e.nodeType===zi&&e.host}}function Qe(e){for(Ue(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ze(e,t){t||Ue(e);var n=e.parentNode;n&&n.removeChild(e)}function et(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):hi(n).on("load",t)}function tt(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 nt(e,t){var n=fo[t.toLowerCase()];return n&&po[V(e)]&&n}function rt(e){return ho[e]}function it(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($(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||ot;o>1&&(i=Ee(i));for(var c=0;c<o;c++)n.isImmediatePropagationStopped()||s(e,n,i[c])}};return n.elem=e,n}function ot(e,t,n){n.call(e,t)}function at(e,t,n){var r=t.relatedTarget;r&&(r===e||lo.call(e,r))||n.call(e,t)}function st(){this.$get=function(){return f(Fe,{hasClass:function(e,t){return e.attr&&(e=e[0]),ze(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Ye(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Ge(e,t)}})}}function ct(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||l)():i+":"+e}function lt(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function ut(e){return Function.prototype.toString.call(e)}function dt(e){var t=ut(e).replace(xo,"");return t.match(yo)||t.match(bo)}function ft(e){var t=dt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function pt(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||ft(e)),So("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=dt(e),a(i[1].split($o),function(e){e.replace(wo,function(e,t,n){r.push(n)})})}e.$inject=r}}else _(e)?(o=e.length-1,ge(e[o],"fn"),r=e.slice(0,o)):ge(e,"fn",!0);return r}function ht(e,t){function n(e){return function(t,n){if(!x(t))return e(t,n);a(t,c(e))}}function r(e,t){if(ye(e,"service"),(A(t)||_(t))&&(t=w.instantiate(t)),!t.$get)throw So("pget","Provider '{0}' must define $get factory method.",e);return b[e+v]=t}function i(e,t){return function(){var n=T.invoke(t,this);if($(n))throw So("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 l(e,t){return o(e,y(t),!1)}function u(e,t){ye(e,"constant"),b[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){me($(e)||_(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=mi(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)):_(e)?n.push(w.invoke(e)):ge(e,"module")}catch(t){throw _(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),So("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 So("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=ht.$$annotate(e,t,i),s=0,c=a.length;s<c;s++){var l=a[s];if("string"!=typeof l)throw So("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){if(pi||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return R(t)||(t=e.$$ngIsClass=/^class\b/.test(ut(e))),t}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return _(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=_(e)?e[e.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:ht.$$annotate,has:function(t){return b.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=!0===t;var h={},v="Provider",m=[],g=new mo,b={$provide:{provider:n(r),factory:n(o),service:n(s),value:n(l),constant:n(u),decorator:d}},w=b.$injector=p(b,function(e,t){throw Ai.isString(t)&&m.push(t),So("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;b["$injector"+v]={$get:y(C)},T.modules=w.modules=we();var k=f(e);return T=C.get("$injector"),T.strictDi=t,a(k,function(e){e&&T.invoke(e)}),T.loadNewModules=function(e){a(f(e),function(e){e&&T.invoke(e)})},T}function vt(){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"===V(e))return t=e,!0}),t}function o(){var e=s.yOffset;if(A(e))e=e();else if(L(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=c.getElementById(e))?a(t):(t=i(c.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var c=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||et(function(){r.$evalAsync(s)})}),s}]}function mt(e,t){return e||t?e?t?(_(e)&&(e=e.join(" ")),_(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function gt(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Co)return n}}function yt(e){E(e)&&(e=e.split(" "));var t=we();return a(e,function(e){e.length&&(t[e]=!0)}),t}function bt(e){return x(e)?e:{}}function $t(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function wt(e){return e.replace(/#$/,"")}function xt(e,t,n,r,i){function o(){x=null,c()}function s(){g=S(),g=$(g)?null:g,G(g,T)&&(g=T),T=g,y=g}function c(){var e=y;s(),b===l.url()&&e===g||(b=l.url(),y=g,a(E,function(e){e(l.url(),g)}))}var l=this,u=e.location,d=e.history,f=e.setTimeout,p=e.clearTimeout,h={},v=i(n);l.isMock=!1,l.$$completeOutstandingRequest=v.completeTask,l.$$incOutstandingRequestCount=v.incTaskCount,l.notifyWhenNoOutstandingRequests=v.notifyWhenNoPendingTasks;var g,y,b=u.href,w=t.find("base"),x=null,S=r.history?function(){try{return d.state}catch(e){}}:m;s(),l.url=function(t,n,i){if($(i)&&(i=null),u!==e.location&&(u=e.location),d!==e.history&&(d=e.history),t){var o=y===i;if(t=Zn(t).href,b===t&&(!r.history||o))return l;var a=b&&sn(b)===sn(t);return b=t,y=i,!r.history||a&&o?(a||(x=t),n?u.replace(t):a?u.hash=$t(t):u.href=t,u.href!==t&&(x=t)):(d[n?"replaceState":"pushState"](i,"",t),s()),x&&(x=t),l}return wt(x||u.href)},l.state=function(){return g};var E=[],C=!1,T=null;l.onUrlChange=function(t){return C||(r.history&&hi(e).on("popstate",o),hi(e).on("hashchange",o),C=!0),E.push(t),t},l.$$applicationDestroyed=function(){hi(e).off("hashchange popstate",o)},l.$$checkUrlChange=c,l.baseHref=function(){var e=w.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},l.defer=function(e,t,n){var r;return t=t||0,n=n||v.DEFAULT_TASK_TYPE,v.incTaskCount(n),r=f(function(){delete h[r],v.completeTask(e,n)},t),h[r]=n,r},l.defer.cancel=function(e){if(h.hasOwnProperty(e)){var t=h[e];return delete h[e],p(e),v.completeTask(m,t),!0}return!1}}function St(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,i){return new xt(e,r,t,n,i)}]}function Et(){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}),c=we(),l=n&&n.capacity||Number.MAX_VALUE,u=we(),d=null,p=null;return t[e]={put:function(e,t){if(!$(t)){if(l<Number.MAX_VALUE){r(u[e]||(u[e]={key:e}))}return e in c||a++,c[e]=t,a>l&&this.remove(p.key),t}},get:function(e){if(l<Number.MAX_VALUE){var t=u[e];if(!t)return;r(t)}return c[e]},remove:function(e){if(l<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 c&&(delete c[e],a--)},removeAll:function(){c=we(),a=0,u=we(),d=p=null},destroy:function(){c=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 Ct(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function Tt(){}function _t(t,n){function r(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=we();return a(e,function(e,o){if((e=e.trim())in T)return void(i[o]=T[e]);var a=e.match(r);if(!a)throw No("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 No("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}function o(e){var t=e.charAt(0);if(!t||t!==wi(t))throw No("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw No("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!_(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 l(e,t){if(e&&(!E(e)||!/[EACM]/.test(e)))throw No("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-]+)(?::([^;]+))?;?)/,b=q("ngSrc,ngSrcset,src,srcset"),S=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,C=/^(on[a-z]+|formaction)$/,T=we();this.directive=function e(n,r){return me(n,"name"),ye(n,"directive"),E(n)?(o(n),me(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=l(a.restrict,n),a.$$moduleName=i.$$moduleName,r.push(a)}catch(e){t(e)}}),r}])),u[n].push(r)):a(n,c(e)),this},this.component=function e(t,n){function r(e){function t(t){return A(t)||_(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:Nt(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,c(J(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.aHrefSanitizationTrustedUrlList=function(e){return w(e)?(n.aHrefSanitizationTrustedUrlList(e),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(e){this.aHrefSanitizationTrustedUrlList=e}}),this.imgSrcSanitizationTrustedUrlList=function(e){return w(e)?(n.imgSrcSanitizationTrustedUrlList(e),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(e){this.imgSrcSanitizationTrustedUrlList=e}});var O=!0;this.debugInfoEnabled=function(e){return w(e)?(O=e,this):O};var P=!1;this.strictComponentBindingsEnabled=function(e){return w(e)?(P=e,this):P};var D=10;this.onChangesTtl=function(e){return arguments.length?(D=e,this):D};var M=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(M=e,this):M};var I=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(I=e,this):I};var F=we();this.addPropertySecurityContext=function(e,t,n){var r=e.toLowerCase()+"|"+t.toLowerCase();if(r in F&&F[r]!==n)throw No("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",e,t,F[r],n);return F[r]=n,this},function(){function e(e,t){a(t,function(t){F[t.toLowerCase()]=e})}e(la.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(la.CSS,["*|style"]),e(la.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),e(la.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),e(la.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,r,o,s,c,l,y,w){function T(){try{if(!--Fe)throw Ne=void 0,No("infchng","{0} $onChanges() iterations reached. Aborting!\n",D);l.$apply(function(){for(var e=0,t=Ne.length;e<t;++e)try{Ne[e]()}catch(e){r(e)}Ne=void 0})}finally{Fe++}}function j(e,t){if(!e)return e;if(!E(e))throw No("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',t,e.toString());for(var n="",r=Di(e),i=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,o=/\s/.test(r)?i:/(,)/,a=r.split(o),s=Math.floor(a.length/2),c=0;c<s;c++){var l=2*c;n+=y.getTrustedMediaUrl(Di(a[l])),n+=" "+Di(a[l+1])}var u=Di(a[2*c]).split(/\s/);return n+=y.getTrustedMediaUrl(Di(u[0])),2===u.length&&(n+=" "+Di(u[1])),n}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){Me.innerHTML="<span "+t+">";var r=Me.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function q(e,t){try{e.addClass(t)}catch(e){}}function H(e,t,n,r,i){e instanceof hi||(e=hi(e));var o=Y(e,t,e,n,r,i);H.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw No("multilink","This element has already been linked.");me(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,c=r.transcludeControllers,l=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=W(l));var u;if(u="html"!==a?hi(ye(a,hi("<div></div>").append(e).html())):n?uo.clone.call(e):e,c)for(var d in c)u.data("$"+d+"Controller",c[d].instance);return H.$$addScopeInfo(u,t),n&&n(u,t),o&&o(t,u,u,s),n||(e=o=null),u}}function W(e){var t=e&&e[0];return t&&"foreignobject"!==V(t)&&Ti.call(t).match(/SVG/)?"svg":"html"}function Y(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,c,l,u,d,f,v;if(p){var m=n.length;for(v=new Array(m),l=0;l<h.length;l+=3)d=h[l],v[d]=n[d]}else v=n;for(l=0,u=h.length;l<u;)s=v[h[l++]],o=h[l++],a=h[l++],o?(o.scope?(c=e.$new(),H.$$addScopeInfo(hi(s),c)):c=e,f=o.transcludeOnThisElement?Q(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?Q(e,t):null,o(a,c,s,r,f)):a&&a(e,s.childNodes,void 0,i)}for(var s,c,l,u,d,f,p,h=[],v=_(e)||e instanceof hi,m=0;m<e.length;m++)s=new U,11===pi&&X(e,m,v),c=Z(e[m],[],s,0===m?r:void 0,i),l=c.length?oe(c,e[m],s,t,n,null,[],[],o):null,l&&l.scope&&H.$$addScopeClass(s.$$element),d=l&&l.terminal||!(u=e[m].childNodes)||!u.length?null:Y(u,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||d)&&(h.push(m,l,d),f=!0,p=p||l),o=null;return f?a:null}function X(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Hi)for(;;){if(!(r=o?i.nextSibling:e[t+1])||r.nodeType!==Hi)break;i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}}function Q(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=we();for(var o in t.$$slots)t.$$slots[o]?i[o]=Q(e,t.$$slots[o],n):i[o]=null;return r}function Z(e,t,n,r,i){var o,a,s,c=e.nodeType,l=n.$attr;switch(c){case Vi:a=V(e),le(t,At(a),"E",r,i);for(var u,d,f,p,v,m=e.attributes,g=0,y=m&&m.length;g<y;g++){var b,$=!1,w=!1,S=!1,C=!1,T=!1;u=m[g],d=u.name,p=u.value,f=At(d.toLowerCase()),(v=f.match(Ve))?(S="Attr"===v[1],C="Prop"===v[1],T="On"===v[1],d=d.replace(Mo,"").toLowerCase().substr(4+v[1].length).replace(/_(.)/g,function(e,t){return t.toUpperCase()})):(b=f.match(He))&&ue(b[1])&&($=d,w=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),C||T?(n[f]=p,l[f]=u.name,C?Se(e,t,f,d):Ee(t,f,d)):(f=At(d.toLowerCase()),l[f]=d,!S&&n.hasOwnProperty(f)||(n[f]=p,nt(e,f)&&(n[f]=!0)),Ce(e,t,p,f,S),le(t,f,"A",r,i,$,w))}if("input"===a&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Re)break;if(s=e.className,x(s)&&(s=s.animVal),E(s)&&""!==s)for(;o=h.exec(s);)f=At(o[2]),le(t,f,"C",r,i)&&(n[f]=Di(o[3])),s=s.substr(o.index+o[0].length);break;case Hi:ge(t,e.nodeValue);break;case Bi:if(!Ie)break;ee(e,t,n,r,i)}return t.sort(pe),t}function ee(e,t,n,r,i){try{var o=p.exec(e.nodeValue);if(o){var a=At(o[1]);le(t,a,"M",r,i)&&(n[a]=Di(o[2]))}}catch(e){}}function te(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw No("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===Vi&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return hi(r)}function ne(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?H(t,n,r,i,o):function(){return a||(a=H(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function oe(t,n,i,o,s,c,l,u,d){function p(e,t,n,r){e&&(n&&(e=ne(e,n,r)),e.require=v.require,e.directiveName=m,(C===v||v.$$isolateScope)&&(e=_e(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=ne(t,n,r)),t.require=v.require,t.directiveName=m,(C===v||v.$$isolateScope)&&(t=_e(t,{isolateScope:!0})),u.push(t))}function h(e,t,o,s,c){function d(e,t,n,r){var i;if(N(e)||(r=n,n=t,t=e,e=void 0),D&&(i=y),n||(n=D?w.parent():w),!r)return c(e,t,i,n,F);var o=c.$$slots[r];if(o)return o(e,t,i,n,F);if($(o))throw No("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,re(w))}var p,h,v,m,g,y,b,w,k,O;n===o?(k=i,w=i.$$element):(w=hi(o),k=new U(w,i)),g=t,C?m=t.$new(!0):S&&(g=t.$parent),c&&(b=d,b.$$boundTransclude=c,b.isSlotFilled=function(e){return!!c.$$slots[e]}),E&&(y=se(w,k,b,E,m,t,C)),C&&(H.$$addScopeInfo(w,m,!0,!(T&&(T===C||T===C.$$originalDirective))),H.$$addScopeClass(w,!0),m.$$isolateBindings=C.$$isolateBindings,O=Oe(t,k,m,m.$$isolateBindings,C),O.removeWatches&&m.$on("$destroy",O.removeWatches));for(var P in y){var M=E[P],I=y[P],R=M.$$bindings.bindToController;I.instance=I(),w.data("$"+M.name+"Controller",I.instance),I.bindingInfo=Oe(g,k,I.instance,R,M)}for(a(E,function(e,t){var n=e.require;e.bindToController&&!_(n)&&x(n)&&f(y[t].instance,ae(t,n,w,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],ke(v,v.isolateScope?m:t,w,k,v.require&&ae(v.directiveName,v.require,w,y),b);var F=t;for(C&&(C.template||null===C.templateUrl)&&(F=m),e&&e(F,o.childNodes,void 0,c),p=u.length-1;p>=0;p--)v=u[p],ke(v,v.isolateScope?m:t,w,k,v.require&&ae(v.directiveName,v.require,w,y),b);a(y,function(e){var t=e.instance;A(t.$postLink)&&t.$postLink()})}d=d||{};for(var v,m,g,y,b,w=-Number.MAX_VALUE,S=d.newScopeDirective,E=d.controllerDirectives,C=d.newIsolateScopeDirective,T=d.templateDirective,k=d.nonTlbTranscludeDirective,O=!1,P=!1,D=d.hasElementTranscludeDirective,M=i.$$element=hi(n),I=c,R=o,F=!1,j=!1,L=0,q=t.length;L<q;L++){v=t[L];var B=v.$$start,W=v.$$end;if(B&&(M=te(n,B,W)),g=void 0,w>v.priority)break;if(b=v.scope,b&&(v.templateUrl||(x(b)?(ve("new/isolated scope",C||S,v,M),C=v):ve("new/isolated scope",C,v,M)),S=S||v),m=v.name,!F&&(v.replace&&(v.templateUrl||v.template)||v.transclude&&!v.$$tlb)){for(var z,G=L+1;z=t[G++];)if(z.transclude&&!z.$$tlb||z.replace&&(z.templateUrl||z.template)){j=!0;break}F=!0}if(!v.templateUrl&&v.controller&&(E=E||we(),ve("'"+m+"' controller",E[m],v,M),E[m]=v),b=v.transclude)if(O=!0,v.$$tlb||(ve("transclusion",k,v,M),k=v),"element"===b)D=!0,w=v.priority,g=M,M=i.$$element=hi(H.$$createComment(m,i[m])),n=M[0],Te(s,K(g),n),R=ie(j,g,o,w,I&&I.name,{nonTlbTranscludeDirective:k});else{var Y=we();if(x(b)){g=e.document.createDocumentFragment();var X=we(),Q=we();a(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,X[e]=t,Y[t]=null,Q[t]=n}),a(M.contents(),function(t){var n=X[At(V(t))];n?(Q[n]=!0,Y[n]=Y[n]||e.document.createDocumentFragment(),Y[n].appendChild(t)):g.appendChild(t)}),a(Q,function(e,t){if(!e)throw No("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ee in Y)if(Y[ee]){var oe=hi(Y[ee].childNodes);Y[ee]=ie(j,oe,o)}g=hi(g.childNodes)}else g=hi(je(n)).contents();M.empty(),R=ie(j,g,o,void 0,void 0,{needsNewScope:v.$$isolateScope||v.$$newScope}),R.$$slots=Y}if(v.template)if(P=!0,ve("template",T,v,M),T=v,b=A(v.template)?v.template(M,i):v.template,b=qe(b),v.replace){if(I=v,g=Pe(b)?[]:Pt(ye(v.templateNamespace,Di(b))),n=g[0],1!==g.length||n.nodeType!==Vi)throw No("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");Te(s,M,n);var le={$attr:{}},ue=Z(n,[],le),pe=t.splice(L+1,t.length-(L+1));(C||S)&&ce(ue,C,S),t=t.concat(ue).concat(pe),de(i,le),q=t.length}else M.html(b);if(v.templateUrl)P=!0,ve("template",T,v,M),T=v,v.replace&&(I=v),h=fe(t.splice(L,t.length-L),M,i,s,O&&R,l,u,{controllerDirectives:E,newScopeDirective:S!==v&&S,newIsolateScopeDirective:C,templateDirective:T,nonTlbTranscludeDirective:k}),q=t.length;else if(v.compile)try{y=v.compile(M,i,R);var he=v.$$originalDirective||v;A(y)?p(null,J(he,y),B,W):y&&p(J(he,y.pre),J(he,y.post),B,W)}catch(e){r(e,re(M))}v.terminal&&(h.terminal=!0,w=Math.max(w,v.priority))}return h.scope=S&&!0===S.scope,h.transcludeOnThisElement=O,h.templateOnThisElement=P,h.transclude=R,d.hasElementTranscludeDirective=D,h}function ae(e,t,n,r){var i;if(E(t)){var o=t.match(S),s=t.substring(o[0].length),c=o[1]||o[3],l="?"===o[2];if("^^"===c?n=n.parent():(i=r&&r[s],i=i&&i.instance),!i){var u="$"+s+"Controller";i="^^"===c&&n[0]&&n[0].nodeType===Wi?null:c?n.inheritedData(u):n.data(u)}if(!i&&!l)throw No("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(_(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=we();for(var l in r){var u=r[l],d={$scope:u===a||u.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=u.controller;"@"===f&&(f=t[u.name]);var p=c(f,d,!0,u.controllerAs);s[u.name]=p,e.data("$"+u.name+"Controller",p.instance)}return s}function ce(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=v(e[r],{$$isolateScope:t,$$newScope:n})}function le(e,n,r,o,a,s,c){if(n===a)return null;var l=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],($(o)||o>f.priority)&&-1!==f.restrict.indexOf(r)){if(s&&(f=v(f,{$$start:s,$$end:c})),!f.$$bindings){var g=f.$$bindings=i(f,f.name);x(g.isolateScope)&&(f.$$isolateBindings=g.isolateScope)}e.push(f),l=f}return l}function 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,c,l,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,b=m.templateNamespace;return t.empty(),o(y).then(function(r){var o,v,$,w;if(r=qe(r),m.replace){if($=Pe(r)?[]:Pt(ye(b,Di(r))),o=$[0],1!==$.length||o.nodeType!==Vi)throw No("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,y);v={$attr:{}},Te(i,t,o);var S=Z(o,[],v);x(m.scope)&&ce(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,c,l,u),a(i,function(e,n){e===o&&(i[n]=t[0])}),f=Y(t[0].childNodes,s);p.length;){var E=p.shift(),C=p.shift(),T=p.shift(),_=p.shift(),k=t[0];if(!E.$$destroyed){if(C!==h){var A=C.className;u.hasElementTranscludeDirective&&m.replace||(k=je(o)),Te(T,hi(C),k),q(hi(k),A)}w=d.transcludeOnThisElement?Q(E,d.transclude,_):_,d(f,E,k,i,w)}}p=null}).catch(function(e){k(e)&&r(e)}),function(e,t,n,r,i){var o=i;t.$$destroyed||(p?p.push(t,n,r,o):(d.transcludeOnThisElement&&(o=Q(t,d.transclude,i)),d(f,t,n,r,o)))}}function pe(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 ve(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw No("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,re(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&&H.$$addBindingClass(t),function(e,t){var i=t.parent();n||H.$$addBindingClass(i),H.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}function ye(t,n){switch(t=wi(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function be(e,t){return"srcdoc"===t?y.HTML:"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(e)?y.RESOURCE_URL:y.MEDIA_URL:"xlinkHref"===t?"image"===e?y.MEDIA_URL:"a"===e?y.URL:y.RESOURCE_URL:"form"===e&&"action"===t||"base"===e&&"href"===t||"link"===e&&"href"===t?y.RESOURCE_URL:"a"!==e||"href"!==t&&"ngHref"!==t?void 0:y.URL}function $e(e,t){var n=t.toLowerCase();return F[e+"|"+n]||F["*|"+n]}function xe(e){return j(y.valueOf(e),"ng-prop-srcset")}function Se(e,t,n,r){if(C.test(r))throw No("nodomevents","Property bindings for HTML DOM event properties are disallowed");var i=V(e),o=$e(i,r),a=g;"srcset"!==r||"img"!==i&&"source"!==i?o&&(a=y.getTrusted.bind(y,o)):a=xe,t.push({priority:100,compile:function(e,t){var i=s(t[n]),o=s(t[n],function(e){return y.valueOf(e)});return{pre:function(e,t){function n(){var n=i(e);t[0][r]=a(n)}n(),e.$watch(o,n)}}}})}function Ee(e,t,n){e.push(oi(s,l,r,t,n,!1))}function Ce(e,t,r,i,o){var a=V(e),s=be(a,i),c=!o,l=b[i]||o,u=n(r,c,s,l);if(u){if("multiple"===i&&"select"===a)throw No("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",re(e));if(C.test(i))throw No("nodomevents","Interpolations for HTML DOM event attributes are disallowed");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var a=o.$$observers||(o.$$observers=we()),c=o[i];c!==r&&(u=c&&n(c,!0,s,l),r=c),u&&(o[i]=u(e),(a[i]||(a[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(u,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function Te(t,n,r){var i,o,a=n[0],s=n.length,c=a.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===a){t[i++]=r;for(var l=i,u=l+s-1,d=t.length;l<d;l++,u++)u<d?t[l]=t[u]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}c&&c.replaceChild(r,a);var f=e.document.createDocumentFragment();for(i=0;i<s;i++)f.appendChild(n[i]);for(hi.hasData(a)&&(hi.data(r,hi.data(a)),hi(a).off("$destroy")),hi.cleanData(f.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function _e(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function ke(e,t,n,i,o,a){try{e(t,n,i,o,a)}catch(e){r(e,re(n))}}function Ae(e,t){if(P)throw No("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function Oe(e,t,r,i,o){function c(t,n,i){A(r.$onChanges)&&!z(n,i)&&(Ne||(e.$$postDigest(T),Ne=[]),u||(u={},Ne.push(l)),u[t]&&(i=u[t].previousValue),u[t]=new kt(i,n))}function l(){r.$onChanges(u),u=void 0}var u,d=[],f={};return a(i,function(i,a){var l,u,p,h,v,g=i.attrName,y=i.optional,b=i.mode;switch(b){case"@":y||$i.call(t,g)||(Ae(g,o.name),r[a]=t[g]=void 0),v=t.$observe(g,function(e){if(E(e)||R(e)){var t=r[a];c(a,e,t),r[a]=e}}),t.$$observers[g].$$scope=e,l=t[g],E(l)?r[a]=n(l)(e):R(l)&&(r[a]=l),f[a]=new kt(Do,r[a]),d.push(v);break;case"=":if(!$i.call(t,g)){if(y)break;Ae(g,o.name),t[g]=void 0}if(y&&!t[g])break;u=s(t[g]),h=u.literal?G:z,p=u.assign||function(){throw l=r[a]=u(e),No("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[g],g,o.name)},l=r[a]=u(e);var $=function(t){return h(t,r[a])||(h(t,l)?p(e,t=r[a]):r[a]=t),l=t};$.$stateful=!0,v=i.collection?e.$watchCollection(t[g],$):e.$watch(s(t[g],$),null,u.literal),d.push(v);break;case"<":if(!$i.call(t,g)){if(y)break;Ae(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 kt(Do,r[a]),v=e[i.collection?"$watchCollection":"$watch"](u,function(e,t){if(t===e){if(t===x||w&&G(t,x))return;t=x}c(a,e,t),r[a]=e}),d.push(v);break;case"&":if(y||$i.call(t,g)||Ae(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 Ne,De=/^\w/,Me=e.document.createElement("div"),Ie=M,Re=I,Fe=D;U.prototype={$normalize:At,$addClass:function(e){e&&e.length>0&&w.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&w.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Ot(e,t);n&&n.length&&w.addClass(this.$$element,n);var r=Ot(t,e);r&&r.length&&w.removeClass(this.$$element,r)},$set:function(e,t,n,i){var o,s=this.$$element[0],c=nt(s,e),l=rt(e),u=e;c?(this.$$element.prop(e,t),i=c):l&&(this[l]=t,u=l),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=he(e,"-")),o=V(this.$$element),"img"===o&&"srcset"===e&&(this[e]=t=j(t,"$set('srcset', value)")),!1!==n&&(null===t||$(t)?this.$$element.removeAttr(i):De.test(i)?c&&!1===t?this.$$element.removeAttr(i):this.$$element.attr(i,t):L(this.$$element[0],i,t));var d=this.$$observers;d&&a(d[u],function(e){try{e(t)}catch(e){r(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=we()),i=r[e]||(r[e]=[]);return i.push(t),l.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||$(n[e])||t(n[e])}),function(){B(i,t)}}};var Ue=n.startSymbol(),Le=n.endSymbol(),qe="{{"===Ue&&"}}"===Le?g:function(e){return e.replace(/\{\{/g,Ue).replace(/}}/g,Le)},Ve=/^ng(Attr|Prop|On)([A-Z].*)$/,He=/^(.+)Start$/;return H.$$addBindingInfo=O?function(e,t){var n=e.data("$binding")||[];_(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,H.$$addBindingClass=O?function(e){q(e,"ng-binding")}:m,H.$$addScopeInfo=O?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,H.$$addScopeClass=O?function(e,t){q(e,t?"ng-isolate-scope":"ng-scope")}:m,H.$$createComment=function(t,n){var r="";return O&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},H}]}function kt(e,t){this.previousValue=e,this.currentValue=t}function At(e){return e.replace(Mo,"").replace(Io,function(e,t,n){return n?t.toUpperCase():t})}function Ot(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function Pt(e){e=hi(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Bi||n.nodeType===Hi&&""===n.nodeValue.trim())&&Ei.call(e,t,1)}return e}function Nt(e,t){if(t&&E(t))return t;if(E(e)){var n=Fo.exec(e);if(n)return n[3]}}function Dt(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){ye(t,"controller"),x(t)?f(e,t):e[t]=n},this.$get=["$injector",function(t){function n(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(r,i,o,a){var s,c,l,u;if(o=!0===o,a&&E(a)&&(u=a),E(r)){if(!(c=r.match(Fo)))throw Ro("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(l=c[1],u=u||c[3],!(r=e.hasOwnProperty(l)?e[l]:be(i.$scope,l,!0)))throw Ro("ctrlreg","The controller with the name '{0}' is not registered.",l);ge(r,l,!0)}if(o){var d=(_(r)?r[r.length-1]:r).prototype;return s=Object.create(d||null),u&&n(i,u,s,l||r.name),f(function(){var e=t.invoke(r,s,i,l);return e!==s&&(x(e)||A(e))&&(s=e,u&&n(i,u,s,l||r.name)),s},{instance:s,identifier:u})}return s=t.instantiate(r,i,l),u&&n(i,u,s,l||r.name),s}}]}function Mt(){this.$get=["$window",function(e){return hi(e.document)}]}function It(){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 Rt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Ft(e){return x(e)?T(e)?e.toISOString():Q(e):e}function jt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return s(e,function(e,n){null===e||$(e)||A(e)||(_(e)?a(e,function(e){t.push(ce(n)+"="+ce(Ft(e)))}):t.push(ce(n)+"="+ce(Ft(e))))}),t.join("&")}}}function Ut(){this.$get=function(){return function(e){function t(e,r,i){_(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?"":"]"))}):(A(e)&&(e=e()),n.push(ce(r)+"="+(null==e?"":ce(Ft(e)))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Lt(e,t){if(E(e)){var n=e.replace(Ho,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf(Uo);if(i||qt(n))try{e=Z(n)}catch(t){if(!i)return e;throw Bo("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}return e}function qt(e){var t=e.match(qo);return t&&Vo[t[0]].test(e)}function Vt(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=we();return E(e)?a(e.split("\n"),function(e){n=e.indexOf(":"),t(wi(Di(e.substr(0,n))),Di(e.substr(n+1)))}):x(e)&&a(e,function(e,n){t(wi(n),Di(e))}),r}function Ht(e){var t;return function(n){if(t||(t=Vt(e)),n){var r=t[wi(n)];return void 0===r&&(r=null),r}return t}}function Bt(e,t,n,r){return A(r)?r(e,t,n):(a(r,function(r){e=r(e,t,n)}),e)}function Wt(e){return 200<=e&&e<300}function zt(){var e=this.defaults={transformResponse:[Lt],transformRequest:[function(e){return!x(e)||D(e)||I(e)||M(e)?e:Q(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Ee(Lo),put:Ee(Lo),patch:Ee(Lo)},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=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(e){this.xsrfTrustedOrigins=e}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,s,c,l,u,d,p,h){function v(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 r(){o.$$completeOutstandingRequest(m,"$http")}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 c(t){var n=t.headers,r=Bt(t.data,Ht(n),void 0,t.transformRequest);return $(r)&&a(n,function(e,t){"content-type"===wi(t)&&delete n[t]}),$(t.withCredentials)&&!$(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,r).then(l,l)}function l(e){var t=f({},e);return t.data=Bt(e.data,e.headers,e.status,u.transformResponse),Wt(e.status)?t:d.reject(t)}if(!x(t))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",t);if(!E(h.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 u=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},t);u.headers=function(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[wi(t.method)]);e:for(n in o){r=wi(n);for(i in a)if(wi(i)===r)continue e;a[n]=o[n]}return s(a,Ee(t))}(t),u.method=xi(u.method),u.paramSerializer=E(u.paramSerializer)?p.get(u.paramSerializer):u.paramSerializer,o.$$incOutstandingRequestCount("$http");var v=[],y=[],b=d.resolve(u);return a(C,function(e){(e.request||e.requestError)&&v.unshift(e.request,e.requestError),(e.response||e.responseError)&&y.push(e.response,e.responseError)}),b=n(b,v),b=b.then(c),b=n(b,y),b=b.finally(r)}function g(n,r){function i(e){if(e){var n={};return a(e,function(e,r){n[r]=function(n){function r(){e(n)}t?u.$applyAsync(r):u.$$phase?r():u.$apply(r)}}),n}}function o(e,n,r,i,o){function a(){l(n,e,r,i,o)}m&&(Wt(e)?m.put(P,[e,n,Vt(r),i,o]):m.remove(P)),t?u.$applyAsync(a):(a(),u.$$phase||u.$apply())}function l(e,t,r,i,o){t=t>=-1?t:0,(Wt(t)?C.resolve:C.reject)({data:e,status:t,headers:Ht(r),config:n,statusText:i,xhrStatus:o})}function f(e){l(e.data,e.status,Ee(e.headers()),e.statusText,e.xhrStatus)}function p(){var e=v.pendingRequests.indexOf(n);-1!==e&&v.pendingRequests.splice(e,1)}var m,g,C=d.defer(),k=C.promise,A=n.headers,O="jsonp"===wi(n.method),P=n.url;if(O?P=h.getTrustedResourceUrl(P):E(P)||(P=h.valueOf(P)),P=y(P,n.paramSerializer(n.params)),O&&(P=b(P,n.jsonpCallbackParam)),v.pendingRequests.push(n),k.then(p,p),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(m=x(n.cache)?n.cache:x(e.cache)?e.cache:S),m&&(g=m.get(P),w(g)?F(g)?g.then(f,f):_(g)?l(g[1],g[0],Ee(g[2]),g[3],g[4]):l(g,200,{},"OK","complete"):m.put(P,k)),$(g)){var N=T(n.url)?c()[n.xsrfCookieName||e.xsrfCookieName]:void 0;N&&(A[n.xsrfHeaderName||e.xsrfHeaderName]=N),s(n.method,P,r,o,A,n.timeout,n.withCredentials,n.responseType,i(n.eventHandlers),i(n.uploadEventHandlers))}return k}function y(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function b(e,t){var n=e.split("?");if(n.length>2)throw Bo("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return a(oe(n[1]),function(n,r){if("JSON_CALLBACK"===n)throw Bo("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw Bo("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)}),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var S=l("$http");e.paramSerializer=E(e.paramSerializer)?p.get(e.paramSerializer):e.paramSerializer;var C=[];a(n,function(e){C.unshift(E(e)?p.get(e):p.invoke(e))});var T=nr(r);return v.pendingRequests=[],function(e){a(arguments,function(e){v[e]=function(t,n){return v(f({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){a(arguments,function(e){v[e]=function(t,n,r){return v(f({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),v.defaults=e,v}]}function Gt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Yt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Kt(e,r,e.defer,t,n[0])}]}function Kt(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,c="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),c=e.type,s="error"===e.type?404:200),n&&n(s,c)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}return function(i,s,c,l,u,d,f,p,h,v){function m(e){S="timeout"===e,b&&b(),x&&x.abort()}function g(e,t,r,i,o,a){w(_)&&n.cancel(_),b=x=null,e(t,r,i,o,a)}if(s=s||e.url(),"jsonp"===wi(i))var y=r.createCallback(s),b=o(s,y,function(e,t){var n=200===e&&r.getResponse(y);g(l,e,n,"",t,"complete"),r.removeCallback(y)});else{var x=t(i,s),S=!1;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"===Zn(s).protocol?404:0),g(l,n,t,x.getAllResponseHeaders(),e,"complete")};var E=function(){g(l,-1,null,null,"","error")},C=function(){g(l,-1,null,null,"",S?"timeout":"abort")},T=function(){g(l,-1,null,null,"","timeout")};if(x.onerror=E,x.ontimeout=T,x.onabort=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($(c)?null:c)}if(d>0)var _=n(function(){m("timeout")},d);else F(d)&&d.then(function(){m(w(d.$$timeoutId)?"timeout":"abort")})}}function Jt(){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 c(o,c,d,p){function h(e){try{return e=d&&!v?i.getTrusted(d,e):i.valueOf(e),p&&!w(e)?e:xe(e)}catch(e){r(Wo.interr(o,e))}}var v=d===i.URL||d===i.MEDIA_URL;if(!o.length||-1===o.indexOf(e)){if(c)return;var m=a(o);v&&(m=i.getTrusted(d,m));var g=y(m);return g.exp=o,g.expressions=[],g.$$watchDelegate=s,g}p=!!p;for(var b,x,S,E,C,T=0,_=[],k=o.length,A=[],O=[];T<k;){if(-1===(b=o.indexOf(e,T))||-1===(x=o.indexOf(t,b+l))){T!==k&&A.push(a(o.substring(T)));break}T!==b&&A.push(a(o.substring(T,b))),E=o.substring(b+l,x),_.push(E),T=x+u,O.push(A.length),A.push("")}C=1===A.length&&1===O.length;var P=v&&C?void 0:h;if(S=_.map(function(e){return n(e,P)}),!c||_.length){var N=function(e){for(var t=0,n=_.length;t<n;t++){if(p&&$(e[t]))return;A[O[t]]=e[t]}return v?i.getTrusted(d,C?A[0]:A.join("")):(d&&A.length>1&&Wo.throwNoconcat(o),A.join(""))};return f(function(e){var t=0,n=_.length,i=new Array(n);try{for(;t<n;t++)i[t]=S[t](e);return N(i)}catch(e){r(Wo.interr(o,e))}},{exp:o,expressions:_,$$watchDelegate:function(e,t){var n;return e.$watchGroup(S,function(r,i){var o=N(r);t.call(this,o,r!==i?n:o,e),n=o})}})}}var l=e.length,u=t.length,d=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function Xt(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},r=function(e,r,i){var o=t.setInterval(e,r);return n[o]=i,o},i=function(e){t.clearInterval(e),delete n[e]},o=e(r,i);return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw zo("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(e.$$intervalId))return!1;var t=e.$$intervalId,r=n[t];return jn(r.promise),r.reject("canceled"),i(t),!0},o}]}function Qt(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(i,o){return function(a,s,c,l){function u(){f?a.apply(null,p):a(h)}function d(){v?e.defer(u):r.$evalAsync(u),m.notify(h++),c>0&&h>=c&&(m.resolve(h),o(g.$$intervalId)),v||r.$apply()}var f=arguments.length>4,p=f?K(arguments,4):[],h=0,v=w(l)&&!l,m=(v?n:t).defer(),g=m.promise;return c=w(c)?c:0,g.$$intervalId=i(d,s,m,v),g}}}]}function Zt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=se(t[n].replace(/%2F/g,"/"));return t.join("/")}function en(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 tn(e,t,n){var r=ae(t),i=n?"#"+se(n):"";return Zt(e)+(r?"?"+r:"")+i}function nn(e,t){var n=Zn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=h(n.port)||Ko[n.protocol]||null}function rn(e,t,n){if(Xo.test(e))throw Jo("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=Zn(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=en(o,n),t.$$search=oe(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function on(e,t){return e.slice(0,t.length)===t}function an(e,t){if(on(t,e))return t.substr(e.length)}function sn(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function cn(e){return e.substr(0,sn(e).lastIndexOf("/")+1)}function ln(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function un(e,t,n){this.$$html5=!0,n=n||"",nn(e,this),this.$$parse=function(e){var n=an(t,e);if(!E(n))throw Jo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);rn(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(e){return t+e.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return w(o=an(e,r))?(a=o,s=n&&w(o=an(n,o))?t+(an("/",o)||o):e+a):w(o=an(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function dn(e,t,n){nn(e,this),this.$$parse=function(r){var i,o=an(e,r)||an(t,r);$(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",$(o)&&(e=r,this.replace())):(i=an(n,o),$(i)&&(i=o)),rn(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return on(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}(this.$$path,i,e),this.$$compose()},this.$$normalizeUrl=function(t){return e+(t?n+t:"")},this.$$parseLinkUrl=function(t,n){return sn(e)===sn(t)&&(this.$$parse(t),!0)}}function fn(e,t,n){this.$$html5=!0,dn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===sn(r)?o=r:(a=an(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$normalizeUrl=function(t){return e+n+t}}function pn(e){return function(){return this[e]}}function hn(e,t){return function(n){return $(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function vn(){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 R(e)?(t.enabled=e,this):x(e)?(R(e.enabled)&&(t.enabled=e.enabled),R(e.requireBase)&&(t.requireBase=e.requireBase),(R(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){return e===t||Zn(e).href===Zn(t).href}function c(e,t,n){var i=u.url(),o=u.$$state;try{r.url(e,t,n),u.$$state=r.state()}catch(e){throw u.url(i),u.$$state=o,e}}function l(e,t){n.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}var u,d,f,p=r.baseHref(),h=r.url();if(t.enabled){if(!p&&t.requireBase)throw Jo("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=ln(h)+(p||"/"),d=i.history?un:fn}else f=sn(h),d=dn;var v=cn(f);u=new d(f,v,"#"+e),u.$$parseLinkUrl(h,h),u.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var a=hi(e.target);"a"!==V(a[0]);)if(a[0]===o[0]||!(a=a.parent())[0])return;if(!E(i)||!$(a.attr(i))){var s=a.prop("href"),c=a.attr("href")||a.attr("xlink:href");x(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=Zn(s.animVal).href),m.test(s)||!s||a.attr("target")||e.isDefaultPrevented()||u.$$parseLinkUrl(s,c)&&(e.preventDefault(),u.absUrl()!==r.url()&&n.$apply())}}}),u.absUrl()!==h&&r.url(u.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){if(!on(e,v))return void(a.location.href=e);n.$evalAsync(function(){var r,i=u.absUrl(),o=u.$$state;u.$$parse(e),u.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,u.absUrl()===e&&(r?(u.$$parse(i),u.$$state=o,c(i,!1,o)):(g=!1,l(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(g||u.$$urlUpdatedByLocation){u.$$urlUpdatedByLocation=!1;var e=r.url(),t=u.absUrl(),o=r.state(),a=u.$$replace,d=!s(e,t)||u.$$html5&&i.history&&o!==u.$$state;(g||d)&&(g=!1,n.$evalAsync(function(){var t=u.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,u.$$state,o).defaultPrevented;u.absUrl()===t&&(r?(u.$$parse(e),u.$$state=o):(d&&c(t,a,o===u.$$state?null:u.$$state),l(e,o)))}))}u.$$replace=!1}),u}]}function mn(){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 k(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=pi||/\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 gn(e){return e+""}function yn(e,t){return void 0!==e?e:t}function bn(e,t){return void 0===e?t:void 0===t?e:e+t}function $n(e,t){return!e(t).$stateful}function wn(e,t){switch(e.type){case ia.MemberExpression:if(e.computed)return!1;break;case ia.UnaryExpression:return oa;case ia.BinaryExpression:return"+"!==e.operator&&oa;case ia.CallExpression:return!1}return void 0===t?aa:t}function xn(e,t,n){var r,i,o,s=e.isPure=wn(e,n);switch(e.type){case ia.Program:r=!0,a(e.body,function(e){xn(e.expression,t,s),r=r&&e.expression.constant}),e.constant=r;break;case ia.Literal:e.constant=!0,e.toWatch=[];break;case ia.UnaryExpression:xn(e.argument,t,s),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case ia.BinaryExpression:xn(e.left,t,s),xn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case ia.LogicalExpression:xn(e.left,t,s),xn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case ia.ConditionalExpression:xn(e.test,t,s),xn(e.alternate,t,s),xn(e.consequent,t,s),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case ia.Identifier:e.constant=!1,e.toWatch=[e];break;case ia.MemberExpression:xn(e.object,t,s),e.computed&&xn(e.property,t,s),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case ia.CallExpression:o=!!e.filter&&$n(t,e.callee.name),r=o,i=[],a(e.arguments,function(e){xn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=o?i:[e];break;case ia.AssignmentExpression:xn(e.left,t,s),xn(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case ia.ArrayExpression:r=!0,i=[],a(e.elements,function(e){xn(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case ia.ObjectExpression:r=!0,i=[],a(e.properties,function(e){xn(e.value,t,s),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(xn(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case ia.ThisExpression:case ia.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Sn(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 En(e){return e.type===ia.Identifier||e.type===ia.MemberExpression}function Cn(e){if(1===e.body.length&&En(e.body[0].expression))return{type:ia.AssignmentExpression,left:e.body[0].expression,right:{type:ia.NGValueParameter},operator:"="}}function Tn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===ia.Literal||e.body[0].expression.type===ia.ArrayExpression||e.body[0].expression.type===ia.ObjectExpression)}function _n(e){return e.constant}function kn(e){this.$filter=e}function An(e){this.$filter=e}function On(e,t,n){this.ast=new ia(e,n),this.astCompiler=n.csp?new An(t):new kn(t)}function Pn(e){return A(e.valueOf)?e.valueOf():ea.call(e)}function Nn(){var e,t,n=we(),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 On(new ra($),o,$).parse(e),n[a]=h(i)}return y(i,t);case"function":return y(e,t);default:return y(m,t)}}function c(e){return new On(new ra($),o,$).getAst(e).ast}function l(e,t,n){return null==e||null==t?e===t:!("object"===(void 0===e?"undefined":r(e))&&(e=Pn(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=l;return a=a[0],e.$watch(function(e){var t=a(e);return l(t,s,a.isPure)||(o=r(e,void 0,void 0,[t]),s=t&&Pn(t)),o},t,n,i)}for(var c=[],u=[],d=0,f=a.length;d<f;d++)c[d]=l,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=!l(s,c[n],a[n].isPure)))&&(u[n]=s,c[n]=s&&Pn(s))}return t&&(o=r(e,void 0,void 0,u)),o},t,n,i)}function d(e,t,n,r,i){function o(){l(c)&&s()}function a(e,t,n,r){return c=p&&r?r[0]:u(e,t,n,r),l(c)&&e.$$postDigest(o),d(c)}var s,c,l=r.literal?f:w,u=r.$$intercepted||r,d=r.$$interceptor||g,p=r.inputs&&!u.inputs;return a.literal=r.literal,a.constant=r.constant,a.inputs=r.inputs,h(a),s=e.$watch(a,t,n,i)}function f(e){var t=!0;return a(e,function(e){w(e)||(t=!1)}),t}function p(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function h(e){return e.constant?e.$$watchDelegate=p:e.oneTime?e.$$watchDelegate=d:e.inputs&&(e.$$watchDelegate=u),e}function v(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}function y(e,t){if(!t)return e;e.$$interceptor&&(t=v(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,i,o,a){var s=n&&a?a[0]:e(r,i,o,a);return t(s)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map(function(e){return e.isPure===aa?function(t){return e(t)}:e}))),h(r)}var b=Ii().noUnsafeEval,$={csp:b,literals:W(i),isIdentifierStart:A(e)&&e,isIdentifierContinue:A(t)&&t};return s.$$getAst=c,s}]}function Dn(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return In(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return w(t)?(e=t,this):e}}function Mn(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return In(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return w(t)?(e=t,this):e}}function In(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 c(r){var i,o,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var s=0,c=a.length;s<c;++s){Fn(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(l)}}function l(){for(;!T&&O.length;){var e=O.shift();if(!Rn(e)){Fn(e);var n="Possibly unhandled rejection: "+Te(e.value);k(e.value)?t(e.value,n):t(n)}}}function u(t){!n||t.pending||2!==t.status||Rn(t)||(0===T&&0===O.length&&e(l),O.push(t)),!t.processScheduled&&t.pending&&(t.processScheduled=!0,++T,e(function(){c(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 b(e,t,n,r){var i=new s;return d(i,e),i.then(t,n,r)}function w(e){var t=new s,n=0,r=_(e)?[]:{};return a(e,function(e,i){n++,b(e).then(function(e){r[i]=e,--n||d(t,r)},function(e){h(t,e)})}),0===n&&d(t,r),t}function S(e){var t=r();return a(e,function(e){b(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,O=[];f(s.prototype,{then:function(e,t,n){if($(e)&&$(t)&&$(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,P,e)},function(t){return y(t,g,e)},t)}});var P=b;return E.prototype=s.prototype,E.defer=r,E.reject=g,E.when=b,E.resolve=P,E.all=w,E.race=S,E}function Rn(e){return!!e.pur}function Fn(e){e.pur=!0}function jn(e){e.$$state&&Fn(e.$$state)}function Un(){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 Ln(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=l(),this.$$ChildScope=null,this.$$suspended=!1}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,c,u){function d(e){e.currentScope.$$destroyed=!0}function f(e){9===pi&&(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=l(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function h(e){if(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 b(){}function w(){for(;_.length;)try{_.shift()()}catch(e){i(e)}s=null}function S(){null===s&&(s=u.defer(function(){E.$apply(w)},null,"$applyAsync"))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!==this)&&r.$on("$destroy",d),r},$watch:function(e,t,n,i){var o=c(e),a=A(t)?t:m;if(o.$$watchDelegate)return o.$$watchDelegate(this,a,n,o,e);var s=this,l=s.$$watchers,u={fn:a,last:b,get:o,exp:i||e,eq:!!n};return r=null,l||(l=s.$$watchers=[],l.$$digestWatchIndex=-1),l.unshift(u),l.$$digestWatchIndex++,g(this,1),function(){var e=B(l,u);e>=0&&(g(s,-1),e<l.$$digestWatchIndex&&l.$$digestWatchIndex--),r=null}},$watchGroup:function(e,t){function n(){c=!1;try{l?(l=!1,t(i,i,s)):t(i,r,s)}finally{for(var n=0;n<e.length;n++)r[n]=i[n]}}var r=new Array(e.length),i=new Array(e.length),o=[],s=this,c=!1,l=!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 r=s.$watch(e,function(e){i[t]=e,c||(c=!0,s.$evalAsync(n))});o.push(r)}),function(){for(;o.length;)o.shift()()})},$watchCollection:function(e,t){function n(e){i=e;var t,n,r,s;if(!$(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 c=0;c<t;c++)s=a[c],r=i[c],s!==s&&r!==r||s===r||(d++,a[c]=r)}else{a!==h&&(a=h={},m=0,d++),t=0;for(n in i)$i.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)$i.call(i,n)||(m--,delete a[n])}}else a!==i&&(a=i,d++);return d}}function r(){if(v?(v=!1,t(i,i,l)):t(i,s,l),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)$i.call(i,n)&&(s[n]=i[n])}else s=i}n.$$pure=c(e).literal,n.$stateful=!n.$$pure;var i,a,s,l=this,u=t.length>1,d=0,f=c(e,n),p=[],h={},v=!0,m=0;return this.$watch(f,r)},$digest:function(){var e,o,a,c,l,d,f,p,m,g,y,$=t,x=C.length?E: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[_],c=y.fn,c(y.scope,y.locals)}catch(e){i(e)}r=null}C.length=0;e:do{if(d=!m.$$suspended&&m.$$watchers)for(d.$$digestWatchIndex=d.length;d.$$digestWatchIndex--;)try{if(e=d[d.$$digestWatchIndex])if(l=e.get,(o=l(m))===(a=e.last)||(e.eq?G(o,a):Pi(o)&&Pi(a))){if(e===r){f=!1;break e}}else f=!0,r=e,e.last=e.eq?W(o,null):o,c=e.fn,c(o,a===b?o:a,m),$<5&&(g=4-$,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.$$suspended&&m.$$watchersCount&&m.$$childHead||m!==x&&m.$$nextSibling))for(;m!==x&&!(p=m.$$nextSibling);)m=m.$parent}while(m=p);if((f||C.length)&&!$--)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()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===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 c(e)(this,t)},$evalAsync:function(e,t){E.$$phase||C.length||u.defer(function(){C.length&&E.$digest()},null,"$evalAsync"),C.push({scope:this,fn:c(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=c(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,c=!1,l={name:e,targetScope:s,stopPropagation:function(){c=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},u=Y([l],arguments,1);do{for(n=s.$$listeners[e]||a,l.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(c)break;s=s.$parent}while(s);return l.currentScope=null,l},$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,c,l,u=Y([a],arguments,1);r=o;){for(a.currentScope=r,s=r.$$listeners[e]||[],c=0,l=s.length;c<l;c++)if(s[c])try{s[c].apply(null,u)}catch(e){i(e)}else s.splice(c,1),c--,l--;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 qn(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(t){return w(t)?(e=t,this):e},this.imgSrcSanitizationTrustedUrlList=function(e){return w(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=Zn(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}function Vn(e){return e.replace(ua,Ae)}function Hn(e){if("self"===e)return e;if(E(e)){if(e.indexOf("***")>-1)throw ca("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=Mi(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(O(e))return new RegExp("^"+e.source+"$");throw ca("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Bn(e){var t=[];return w(e)&&a(e,function(e){t.push(Hn(e))}),t}function Wn(){this.SCE_CONTEXTS=la;var e=["self"],t=[];this.trustedResourceUrlList=function(t){return arguments.length&&(e=Bn(t)),e},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(e){this.trustedResourceUrlList=e}}),this.bannedResourceUrlList=function(e){return arguments.length&&(t=Bn(e)),t},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(e){this.bannedResourceUrlList=e}}),this.$get=["$injector","$$sanitizeUri",function(n,r){function i(e,t){return"self"===e?er(t)||tr(t):!!e.exec(t.href)}function o(n){var r,o,a=Zn(n.toString()),s=!1;for(r=0,o=e.length;r<o;r++)if(i(e[r],a)){s=!0;break}if(s)for(r=0,o=t.length;r<o;r++)if(i(t[r],a)){s=!1;break}return s}function a(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function s(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw ca("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||$(t)||""===t)return t;if("string"!=typeof t)throw ca("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function c(e){return e instanceof d?e.$$unwrapTrustedValue():e}function l(e,t){if(null===t||$(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(A(t.$$unwrapTrustedValue)&&(t=t.$$unwrapTrustedValue()),e===la.MEDIA_URL||e===la.URL)return r(t.toString(),e===la.MEDIA_URL);if(e===la.RESOURCE_URL){if(o(t))return t;throw ca("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===la.HTML)return u(t);throw ca("unsafe","Attempting to use an unsafe value in a safe context.")}var u=function(e){throw ca("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(u=n.get("$sanitize"));var d=a(),f={};return f[la.HTML]=a(d),f[la.CSS]=a(d),f[la.MEDIA_URL]=a(d),f[la.URL]=a(f[la.MEDIA_URL]),f[la.JS]=a(d),f[la.RESOURCE_URL]=a(f[la.URL]),{trustAs:s,getTrusted:l,valueOf:c}}]}function zn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&pi<8)throw ca("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=Ee(la);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(la,function(e,t){var n=wi(t);r[Vn("parse_as_"+n)]=function(t){return i(e,t)},r[Vn("get_trusted_"+n)]=function(t){return o(e,t)},r[Vn("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Gn(){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(wi((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),c=t[0]||{},l=c.body&&c.body.style,u=!1,d=!1;return l&&(u=!!("transition"in l||"webkitTransition"in l),d=!!("animation"in l||"webkitAnimation"in l)),{history:!(!o||a<4||s),hasEvent:function(e){if("input"===e&&pi)return!1;if($(n[e])){var t=c.createElement("div");n[e]="on"+e in t}return n[e]},csp:Ii(),transitions:u,animations:d,android:a}}]}function Yn(){this.$get=y(function(e){return new Kn(e)})}function Kn(e){function t(t,o){o=o||d;try{t()}finally{n(o);var a=c[o],s=c[u];if(!s||!a)for(var l,f=s?i:r;l=f(o);)try{l()}catch(t){e.error(t)}}}function n(e){e=e||d,c[e]&&(c[e]--,c[u]--)}function r(){var e=l.pop();return e&&e.cb}function i(e){for(var t=l.length-1;t>=0;--t){var n=l[t];if(n.type===e)return l.splice(t,1),n.cb}}function o(e){e=e||d,c[e]=(c[e]||0)+1,c[u]=(c[u]||0)+1}function a(e,t){t=t||u,c[t]?l.push({type:t,cb:e}):e()}var s=this,c={},l=[],u=s.ALL_TASKS_TYPE="$$all$$",d=s.DEFAULT_TASK_TYPE="$$default$$";s.completeTask=t,s.incTaskCount=o,s.notifyWhenNoPendingTasks=a}function Jn(){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,c){function l(e){return c||(e=da("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,E(s)&&!$(n.get(s))||(s=o.getTrustedResourceUrl(s));var u=r.defaults&&r.defaults.transformResponse;return _(u)?u=u.filter(function(e){return e!==Lt}):u===Lt&&(u=null),r.get(s,f({cache:n,transformResponse:u},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data)},l)}return a.totalPendingRequests=0,a}]}function Xn(){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=Ai.element(e).data("$binding");r&&a(r,function(r){if(n){new RegExp("(^|\\s)"+Mi(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 Qn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,c){A(o)||(c=s,s=o,o=m);var l,u=K(arguments,3),d=w(c)&&!c,f=(d?r:n).defer(),p=f.promise;return l=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,"$timeout"),p.$$timeoutId=l,a[l]=f,p}var a={};return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw fa("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!a.hasOwnProperty(e.$$timeoutId))return!1;var n=e.$$timeoutId,r=a[n];return jn(r.promise),r.reject("canceled"),delete a[n],t.defer.cancel(n)},o}]}function Zn(e){if(!E(e))return e;var t=e;pi&&(pa.setAttribute("href",t),t=pa.href),pa.setAttribute("href",t);var n=pa.hostname;return!va&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:pa.href,protocol:pa.protocol?pa.protocol.replace(/:$/,""):"",host:pa.host,search:pa.search?pa.search.replace(/^\?/,""):"",hash:pa.hash?pa.hash.replace(/^#/,""):"",hostname:n,port:pa.port,pathname:"/"===pa.pathname.charAt(0)?pa.pathname:"/"+pa.pathname}}function er(e){return rr(e,ha)}function tr(e){return rr(e,ir())}function nr(e){var t=[ha].concat(e.map(Zn));return function(e){var n=Zn(e);return t.some(rr.bind(null,n))}}function rr(e,t){return e=Zn(e),t=Zn(t),e.protocol===t.protocol&&e.host===t.host}function ir(){return e.document.baseURI?e.document.baseURI:(sa||(sa=e.document.createElement("a"),sa.href=".",sa=sa.cloneNode(!1)),sa.href)}function or(){this.$get=y(e)}function ar(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,c,l,u=t(r);if(u!==o)for(o=u,e=o.split("; "),i={},s=0;s<e.length;s++)a=e[s],(c=a.indexOf("="))>0&&(l=n(a.substring(0,c)),$(i[l])&&(i[l]=n(a.substring(c+1))));return i}}function sr(){this.$get=ar}function cr(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",pr),t("date",kr),t("filter",lr),t("json",Ar),t("limitTo",Or),t("lowercase",xa),t("number",hr),t("orderBy",Nr),t("uppercase",Sa)}function lr(){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,c=fr(t);switch(c){case"function":a=t;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=ur(t,n,r,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function ur(e,t,n,r){var i=x(e)&&n in e;return!0===t?t=G:A(t)||(t=function(e,t){return!$(e)&&(null===e||null===t?e===t:!(x(t)||x(e)&&!b(e))&&(e=wi(""+e),t=wi(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!x(o)?dr(o,e[n],t,n,!1):dr(o,e,t,n,r)}}function dr(e,t,n,r,i,o){var a=fr(e),s=fr(t);if("string"===s&&"!"===t.charAt(0))return!dr(e,t.substring(1),n,r,i);if(_(e))return e.some(function(e){return dr(e,t,n,r,i)});switch(a){case"object":var c;if(i){for(c in e)if(c.charAt&&"$"!==c.charAt(0)&&dr(e[c],t,n,r,!0))return!0;return!o&&dr(e,t,n,r,!1)}if("object"===s){for(c in t){var l=t[c];if(!A(l)&&!$(l)){var u=c===r;if(!dr(u?e:e[c],l,n,r,u,u))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function fr(e){return null===e?"null":void 0===e?"undefined":r(e)}function pr(e){var t=e.NUMBER_FORMATS;return function(e,n,r){$(n)&&(n=t.CURRENCY_SYM),$(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:gr(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function hr(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:gr(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function vr(e){var t,n,r,i,o,a=0;for((n=e.indexOf(ga))>-1&&(e=e.replace(ga,"")),(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)===ya;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===ya;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>ma&&(t=t.splice(0,ma-1),a=n-1,n=1),{d:t,e:a,i:n}}function mr(e,t,n,r){var i=e.d,o=i.length-e.i;t=$(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 c=a;c<i.length;c++)i[c]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var l=1;l<a;l++)i[l]=0}if(s>=5)if(a-1<0){for(var 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 gr(e,t,n,r,i){if(!E(e)&&!C(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,c=Math.abs(e)+"",l="";if(a)l="∞";else{o=vr(c),mr(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("")),l=h.join(n),p.length&&(l+=r+p.join("")),f&&(l+="e+"+f)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function yr(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=ya+e;return n&&(e=e.substr(e.length-t)),i+e}function br(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),yr(a,t,r,i)}}function $r(e,t,n){return function(r,i){var o=r["get"+e]();return i[xi((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function wr(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=yr(Math[r>0?"floor":"ceil"](r/60),2)+yr(Math.abs(r%60),2)}function xr(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function Sr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Er(e){return function(t){var n=xr(t.getFullYear()),r=Sr(t),i=+r-+n;return yr(1+Math.round(i/6048e5),e)}}function Cr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function _r(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function kr(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 c=h(t[4]||0)-i,l=h(t[5]||0)-o,u=h(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,c,l,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,c="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,E(n)&&(n=wa.test(n)?h(n):t(n)),C(n)&&(n=new Date(n)),!T(n)||!isFinite(n.getTime()))return n;for(;r;)s=$a.exec(r),s?(l=Y(l,s,1),r=l.pop()):(l.push(r),r=null);var u=n.getTimezoneOffset();return i&&(u=ee(i,u),n=ne(n,i,!0)),a(l,function(t){o=ba[t],c+=o?o(n,e.DATETIME_FORMATS,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}}function Ar(){return function(e,t){return $(t)&&(t=2),Q(e,t)}}function Or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):h(t),Pi(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?Pr(e,n,n+t):0===n?Pr(e,t,e.length):Pr(e,Math.max(0,n+t),n)):e)}}function Pr(e,t,n){return E(e)?e.slice(t,n):Si.call(e,t,n)}function Nr(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:(b(e)&&(e=e.toString(),n(e)),e)}function s(e,t){var n=void 0===e?"undefined":r(e);return null===e?n="null":"object"===n&&(e=a(e)),{value:e,type:n,index:t}}function c(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(x(o)&&(o=e.index),x(a)&&(a=t.index)),o!==a&&(n=o<a?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i?-1:r<i?-1:1;return n}return function(e,n,r,a){function l(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)||c(e.tieBreaker,t.tieBreaker))*f}if(null==e)return e;if(!o(e))throw i("orderBy")("notarray","Expected array but received: {0}",e);_(n)||(n=[n]),0===n.length&&(n=["+"]);var d=t(n),f=r?-1:1,p=A(a)?a:c,h=Array.prototype.map.call(e,l);return h.sort(u),e=h.map(function(e){return e.value})}}function Dr(e){return A(e)&&(e={link:e}),e.restrict=e.restrict||"AC",y(e)}function Mr(e,t){e.$name=t}function Ir(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=Ta,this.$$element=e,this.$$animate=r,Rr(this)}function Rr(e){e.$$classCache={},e.$$classCache[us]=!(e.$$classCache[ls]=e.$$element.hasClass(ls))}function Fr(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),jr(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?"-"+he(t,"-"):"",r(e,ls+t,!0===n),r(e,us+t,!1===n)}var o=e.clazz,a=e.set,s=e.unset;o.prototype.$setValidity=function(e,o,c){$(o)?t(this,"$pending",e,c):n(this,"$pending",e,c),R(o)?o?(s(this.$error,e,c),a(this.$$success,e,c)):(a(this.$error,e,c),s(this.$$success,e,c)):(s(this.$error,e,c),s(this.$$success,e,c)),this.$pending?(r(this,_a,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,_a,!1),this.$valid=jr(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var l;l=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),i(this,e,l),this.$$parentForm.$setValidity(e,l,this)}}function jr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Ur(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Lr(e,t,n,r,i,o){qr(e,t,n,r,i,o),Ur(r)}function qr(e,t,n,r,i,o){var a=wi(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionupdate",function(e){($(e.data)||""===e.data)&&(s=!1)}),t.on("compositionend",function(){s=!1,l()})}var c,l=function(e){if(c&&(o.defer.cancel(c),c=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Di(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var u=function(e,t,n){c||(c=o.defer(function(){c=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||u(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",u)}t.on("change",l),qa[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(La,function(e){if(!c){var t=this[bi],n=t.badInput,r=t.typeMismatch;c=o.defer(function(){c=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function Vr(e,t){if(T(e))return e;if(E(e)){Fa.lastIndex=0;var n=Fa.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,c=0,l=xr(r),u=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),c=t.getMilliseconds()),new Date(r,0,l.getDate()+u,o,a,s,c)}}return NaN}function Hr(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)),Pa.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n)){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)});var s=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&s.setFullYear(o.yyyy),s}}return NaN}}function Br(e,t,n,r){return function(i,o,a,s,c,l,u,d){function f(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function p(e){return w(e)&&!T(e)?h(e)||void 0:e}function h(e,t){var r=s.$options.getOption("timezone");g&&g!==r&&(t=te(t,ee(g)));var i=n(e,t);return!isNaN(i)&&r&&(i=ne(i,r)),i}function v(e,t){var n=r;y&&E(s.$options.getOption("timeSecondsFormat"))&&(n=r.replace("ss.sss",s.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var i=u("date")(e,n,t);return y&&s.$options.getOption("timeStripZeroSeconds")&&(i=i.replace(/(?::00)?(?:\.000)?$/,"")),i}Wr(i,o,a,s,e),qr(i,o,a,s,c,l);var m,g,y="time"===e||"datetimelocal"===e;if(s.$parsers.push(function(n){return s.$isEmpty(n)?null:t.test(n)?h(n,m):void(s.$$parserName=e)}),s.$formatters.push(function(e){if(e&&!T(e))throw ps("datefmt","Expected `{0}` to be a date",e);if(f(e)){m=e;var t=s.$options.getOption("timezone");return t&&(g=t,m=ne(m,t,!0)),v(e,t)}return m=null,g=null,""}),w(a.min)||a.ngMin){var b=a.min||d(a.ngMin)(i),x=p(b);s.$validators.min=function(e){return!f(e)||$(x)||n(e)>=x},a.$observe("min",function(e){e!==b&&(x=p(e),b=e,s.$validate())})}if(w(a.max)||a.ngMax){var S=a.max||d(a.ngMax)(i),C=p(S);s.$validators.max=function(e){return!f(e)||$(C)||n(e)<=C},a.$observe("max",function(e){e!==S&&(C=p(e),S=e,s.$validate())})}}}function Wr(e,t,n,r,i){var o=t[0];(r.$$hasNativeValidators=x(o.validity))&&r.$parsers.push(function(e){var n=t.prop(bi)||{};return n.badInput||n.typeMismatch?void(r.$$parserName=i):e})}function zr(e){e.$parsers.push(function(t){return e.$isEmpty(t)?null:Ma.test(t)?parseFloat(t):void(e.$$parserName="number")}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!C(t))throw ps("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Gr(e){return w(e)&&!C(e)&&(e=parseFloat(e)),Pi(e)?void 0:e}function Yr(e){return(0|e)===e}function Kr(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 Jr(e,t,n){var r=Number(e),i=!Yr(r),o=!Yr(t),a=!Yr(n);if(i||o||a){var s=i?Kr(r):0,c=o?Kr(t):0,l=a?Kr(n):0,u=Math.max(s,c,l),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 Xr(e,t,n,r,i,o,a,s){Wr(e,t,n,r,"number"),zr(r),qr(e,t,n,r,i,o);var c;if(w(n.min)||n.ngMin){var l=n.min||s(n.ngMin)(e);c=Gr(l),r.$validators.min=function(e,t){return r.$isEmpty(t)||$(c)||t>=c},n.$observe("min",function(e){e!==l&&(c=Gr(e),l=e,r.$validate())})}if(w(n.max)||n.ngMax){var u=n.max||s(n.ngMax)(e),d=Gr(u);r.$validators.max=function(e,t){return r.$isEmpty(t)||$(d)||t<=d},n.$observe("max",function(e){e!==u&&(d=Gr(e),u=e,r.$validate())})}if(w(n.step)||n.ngStep){var f=n.step||s(n.ngStep)(e),p=Gr(f);r.$validators.step=function(e,t){return r.$isEmpty(t)||$(p)||Jr(t,c||0,p)},n.$observe("step",function(e){e!==f&&(p=Gr(e),f=e,r.$validate())})}}function Qr(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]);var i=n[e];n.$observe(e,function(e){e!==i&&(i=e,r(e))})}function s(e){if(d=Gr(e),!Pi(r.$modelValue))if(u){var n=t.val();d>n&&(n=d,t.val(n)),r.$setViewValue(n)}else r.$validate()}function c(e){if(f=Gr(e),!Pi(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 l(e){p=Gr(e),Pi(r.$modelValue)||(u?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate())}Wr(e,t,n,r,"range"),zr(r),qr(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&&(d=Gr(n.min),r.$validators.min=u?function(){return!0}:function(e,t){return r.$isEmpty(t)||$(d)||t>=d},a("min",s)),m&&(f=Gr(n.max),r.$validators.max=u?function(){return!0}:function(e,t){return r.$isEmpty(t)||$(f)||t<=f},a("max",c)),g&&(p=Gr(n.step),r.$validators.step=u?function(){return!h.stepMismatch}:function(e,t){return r.$isEmpty(t)||$(p)||Jr(t,d||0,p)},a("step",l))}function Zr(e,t,n,r,i,o){qr(e,t,n,r,i,o),Ur(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Na.test(n)}}function ei(e,t,n,r,i,o){qr(e,t,n,r,i,o),Ur(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Da.test(n)}}function ti(e,t,n,r){var i=!n.ngTrim||"false"!==Di(n.ngTrim);$(n.name)&&t.attr("name",l());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=Di(o)),r.$setViewValue(o,e&&e.type))};t.on("change",o),r.$render=function(){var e=n.value;i&&(e=Di(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function ni(e,t,n,r,i){var o;if(w(r)){if(o=e(r),!o.constant)throw ps("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function ri(e,t,n,r,i,o,a,s){var c=ni(s,e,"ngTrueValue",n.ngTrueValue,!0),l=ni(s,e,"ngFalseValue",n.ngFalseValue,!1),u=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("change",u),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return G(e,c)}),r.$parsers.push(function(e){return e?c:l})}function ii(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function r(e){return e&&e.split(" ")}function i(e){if(!e)return e;var t=e;return _(e)?t=e.map(i).join(" "):x(e)?t=Object.keys(e).filter(function(t){return e[t]}).join(" "):E(e)||(t=e+""),t}e="ngClass"+e;var o;return["$parse",function(s){return{restrict:"AC",link:function(c,l,u){function d(e){e=h(r(e),1),u.$addClass(e)}function f(e){e=h(r(e),-1),u.$removeClass(e)}function p(e,t){var i=r(e),o=r(t),a=n(i,o),s=n(o,i),c=h(a,-1),l=h(s,1);u.$addClass(l),u.$removeClass(c)}function h(e,t){var n=[];return a(e,function(e){(t>0||y[e])&&(y[e]=(y[e]||0)+t,y[e]===+(t>0)&&n.push(e))}),n.join(" ")}function v(e){e===t?d(g):f(g),b=e}function m(e){b===t&&p(g,e),g=e}var g,y=l.data("$classCounts"),b=!0;y||(y=we(),l.data("$classCounts",y)),"ngClass"!==e&&(o||(o=s("$index",function(e){return 1&e})),c.$watch(o,v)),c.$watch(s(u[e],i),m)}}}]}function oi(e,t,n,r,i,o){return{restrict:"A",compile:function(a,s){var c=e(s[r]);return function(e,r){r.on(i,function(r){var i=function(){c(e,{$event:r})};if(t.$$phase)if(o)e.$evalAsync(i);else try{i()}catch(e){n(e)}else e.$apply(i)})}}}}function ai(e,t,n,r,i,o,a,s,c){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=c(n.name||"",!1)(e),this.$$parentForm=Ta,this.$options=hs,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,Rr(this),si(this)}function si(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 ci(e){this.$$options=e}function li(e,t){a(t,function(t,n){w(e[n])||(e[n]=t)})}function ui(e,t){e.prop("selected",t),e.attr("selected",t)}function di(e,t,n){if(e){if(E(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,re(n));return e}}function fi(e){var t=h(e);return Pi(t)?-1:t}var pi,hi,vi,mi,gi={objectMaxDepth:5,urlErrorParamsEnabled:!0},yi=/^\/(.+)\/([a-z]*)$/,bi="validity",$i=Object.prototype.hasOwnProperty,wi=function(e){return E(e)?e.toLowerCase():e},xi=function(e){return E(e)?e.toUpperCase():e},Si=[].slice,Ei=[].splice,Ci=[].push,Ti=Object.prototype.toString,_i=Object.getPrototypeOf,ki=i("ng"),Ai=e.angular||(e.angular={}),Oi=0;pi=e.document.documentMode;var Pi=Number.isNaN||function(e){return e!==e};m.$inject=[],g.$inject=[];var Ni=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,Di=function(e){return E(e)?e.trim():e},Mi=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Ii=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},Ri=function t(){if(w(t.name_))return t.name_;var n,r,i,o,a=ji.length;for(r=0;r<a;++r)if(i=ji[r],n=e.document.querySelector("["+i.replace(":","\\:")+"jq]")){o=n.getAttribute(i+"jq");break}return t.name_=o},Fi=/:/g,ji=["ng-","data-ng-","ng:","x-ng-"],Ui=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),Li=/[A-Z]/g,qi=!1,Vi=1,Hi=3,Bi=8,Wi=9,zi=11,Gi={full:"1.8.3",major:1,minor:8,dot:3,codeName:"ultimate-farewell"};Fe.expando="ng339";var Yi=Fe.cache={},Ki=1;Fe._data=function(e){return this.cache[e[this.expando]]||{}};var Ji=/-([a-z])/g,Xi=/^-ms-/,Qi={mouseleave:"mouseout",mouseenter:"mouseover"},Zi=i("jqLite"),eo=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,to=/<|&#?\w+;/,no=/<([\w:-]+)/,ro=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,io={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};io.tbody=io.tfoot=io.colgroup=io.caption=io.thead,io.th=io.td;var oo={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var ao in io){var so=io[ao],co=so.slice().reverse();oo[ao]=[co.length,"<"+co.join("><")+">","</"+so.join("></")+">"]}oo.optgroup=oo.option;var lo=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},uo=Fe.prototype={ready:tt,toString:function(){var e=[];return a(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return hi(e>=0?this[e]:this[this.length+e])},length:0,push:Ci,sort:[].sort,splice:[].splice},fo={};a("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){fo[wi(e)]=e});var po={};a("input,select,option,textarea,button,form,details".split(","),function(e){po[e]=!0});var ho={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};a({data:We,removeData:He,hasData:De,cleanData:function(e){for(var t=0,n=e.length;t<n;t++)He(e[t]),Ve(e[t])}},function(e,t){Fe[t]=e}),a({data:We,inheritedData:Xe,scope:function(e){return hi.data(e,"$scope")||Xe(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return hi.data(e,"$isolateScope")||hi.data(e,"$isolateScopeNoTemplate")},controller:Je,injector:function(e){return Xe(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:ze,css:function(e,t,n){if(t=ke(t),!w(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Hi&&2!==i&&i!==Bi&&e.getAttribute){var o=wi(t),a=fo[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($(t)){var n=e.nodeType;return n===Vi||n===Hi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if($(t)){if(e.multiple&&"select"===V(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($(t))return e.innerHTML;Ue(e,!0),e.innerHTML=t},empty:Qe},function(e,t){Fe.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Qe&&$(2===e.length&&e!==ze&&e!==Je?t:n)){if(x(t)){for(r=0;r<o;r++)if(e===We)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=$(a)?Math.min(o,1):o,c=0;c<s;c++){var l=e(this[c],t,n);a=a?a+l:l}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),a({removeData:He,on:function(e,t,n,r){if(w(r))throw Zi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ne(e)){var i=Be(e,!0),o=i.events,a=i.handle;a||(a=i.handle=it(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],c=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};c--;)t=s[c],Qi[t]?(l(Qi[t],at),l(t,void 0,!0)):l(t)}},off:Ve,one:function(e,t,n){e=hi(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;Ue(e),a(new Fe(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===Vi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Vi||n===zi){t=new Fe(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===Vi){var n=e.firstChild;a(new Fe(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Re(e,hi(t).eq(0).clone()[0])},remove:Ze,detach:function(e){Ze(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new Fe(t);for(var i=0,o=t.length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:Ye,removeClass:Ge,toggleClass:function(e,t,n){t&&a(t.split(" "),function(t){var r=n;$(r)&&(r=!ze(e,t)),(r?Ye:Ge)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==zi?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:je,triggerHandler:function(e,t,n){var r,i,o,s=t.type||t,c=Be(e),l=c&&c.events,u=l&&l[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=Ee(u),o=n?[r].concat(n):[r],a(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,o)}))}},function(e,t){Fe.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;o<a;o++)$(i)?(i=e(this[o],t,n,r),w(i)&&(i=hi(i))):Ke(i,e(this[o],t,n,r));return w(i)?i:this}}),Fe.prototype.bind=Fe.prototype.on,Fe.prototype.unbind=Fe.prototype.off;var vo=Object.create(null);lt.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return Pi(e)?vo:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},has:function(e){return e=this._transformKey(e),-1!==this._idx(e)},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var mo=lt,go=[function(){this.$get=[function(){return mo}]}],yo=/^([^(]+?)=>/,bo=/^[^(]*\(\s*([^)]*)\)/m,$o=/,/,wo=/^\s*(_?)(\S+?)\1\s*$/,xo=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,So=i("$injector");ht.$$annotate=pt;var Eo=i("$animate"),Co=1,To=function(){this.$get=m},_o=function(){var e=new mo,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=E(t)?t.split(" "):_(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=yt(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&&Ye(e,i),o&&Ge(e,o)}),e.delete(t)}}),t.length=0}function s(n,a,s){var c=e.get(n)||{},l=i(c,a,!0),u=i(c,s,!1);(l||u)&&(e.set(n,c),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}}}]},ko=["$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 Eo("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,Eo("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=gt(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,r,i,o){return r=r&&hi(r),i=i&&hi(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",bt(o))},move:function(n,r,i,o){return r=r&&hi(r),i=i&&hi(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",bt(o))},leave:function(t,n){return e.push(t,"leave",bt(n),function(){t.remove()})},addClass:function(t,n,r){return r=bt(r),r.addClass=mt(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=bt(r),r.removeClass=mt(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=bt(i),i.addClass=mt(i.addClass,n),i.removeClass=mt(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=bt(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=mt(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ao=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},Oo=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function 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}]},Po=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||c.complete(),s=!0}),c}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=W(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(t.css(a.from),a.from=null);var s,c=new n;return{start:i,end:i}}}]},No=i("$compile"),Do=new Tt;_t.$inject=["$provide","$$sanitizeUriProvider"],kt.prototype.isFirstChange=function(){return this.previousValue===Do};var Mo=/^((?:x|data)[:\-_])/i,Io=/[:\-_]+(.)/g,Ro=i("$controller"),Fo=/^(\S+)(\s+as\s+([\w$]+))?$/,jo=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof hi&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Uo="application/json",Lo={"Content-Type":Uo+";charset=utf-8"},qo=/^\[|^\{(?!\{)/,Vo={"[":/]$/,"{":/}$/},Ho=/^\)]\}',?\n/,Bo=i("$http"),Wo=Ai.$interpolateMinErr=i("$interpolate");Wo.throwNoconcat=function(e){throw Wo("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)},Wo.interr=function(e,t){return Wo("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var zo=i("$interval"),Go=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=Ai.callbacks,n={};return{createCallback:function(r){var i="_"+(t.$$counter++).toString(36),o="angular.callbacks."+i,a=e(i);return n[o]=t[i]=a,o},wasCalled:function(e){return n[e].called},getResponse:function(e){return n[e].data},removeCallback:function(e){var r=n[e];delete t[r.id],delete n[e]}}}},Yo=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Ko={http:80,https:443,ftp:21},Jo=i("$location"),Xo=/^\s*[\\/]{2,}/,Qo={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=tn(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:pn("$$absUrl"),url:function(e){if($(e))return this.$$url;var t=Yo.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:pn("$$protocol"),host:pn("$$host"),port:pn("$$port"),path:hn("$$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=oe(e);else{if(!x(e))throw Jo("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=W(e,{}),a(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:$(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:hn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};a([fn,dn,un],function(e){e.prototype=Object.create(Qo),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==un||!this.$$html5)throw Jo("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=$(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var Zo=i("$parse"),ea={}.constructor.prototype.valueOf,ta=we();a("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){ta[e]=!0});var na={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},ra=function(e){this.options=e};ra.prototype={constructor:ra,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=ta[t],o=ta[n],a=ta[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 Zo("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=wi(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+=na[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 ia=function(e,t){this.lexer=e,this.options=t};ia.Program="Program",ia.ExpressionStatement="ExpressionStatement",ia.AssignmentExpression="AssignmentExpression",ia.ConditionalExpression="ConditionalExpression",ia.LogicalExpression="LogicalExpression",ia.BinaryExpression="BinaryExpression",ia.UnaryExpression="UnaryExpression",ia.CallExpression="CallExpression",ia.MemberExpression="MemberExpression",ia.Identifier="Identifier",ia.Literal="Literal",ia.ArrayExpression="ArrayExpression",ia.Property="Property",ia.ObjectExpression="ObjectExpression",ia.ThisExpression="ThisExpression",ia.LocalsExpression="LocalsExpression",ia.NGValueParameter="NGValueParameter",ia.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:ia.Program,body:e}},expressionStatement:function(){return{type:ia.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(!En(e))throw Zo("lval","Trying to assign a value to a non l-value");e={type:ia.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:ia.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:ia.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:ia.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:ia.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:ia.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:ia.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:ia.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:ia.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=W(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:ia.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:ia.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:ia.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:ia.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:ia.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:ia.Identifier,name:e.text}},constant:function(){return{type:ia.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:ia.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:ia.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:ia.ObjectExpression,properties:t}},throwError:function(e,t){throw Zo("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 Zo("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 Zo("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:ia.ThisExpression},$locals:{type:ia.LocalsExpression}}};var oa=1,aa=2;kn.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},xn(e,t.$filter);var n,r="";if(this.stage="assign",n=Cn(e)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var o=Sn(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;",c=new Function("$filter","getStringValue","ifDefined","plus",s)(this.$filter,gn,yn,bn);return this.state=this.stage=void 0,c},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,c,l,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 ia.Program:a(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){c=e}),n!==e.body.length-1?f.current().body.push(c,";"):f.return_(c)});break;case ia.Literal:u=this.escape(e.value),this.assign(t,u),r(t||u);break;case ia.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){c=e}),u=e.operator+"("+this.ifDefined(c,0)+")",this.assign(t,u),r(u);break;case ia.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){c=e}),u="+"===e.operator?this.plus(s,c):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(c,0):"("+s+")"+e.operator+"("+c+")",this.assign(t,u),r(u);break;case ia.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 ia.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 ia.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 ia.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?(c=f.nextId(),f.recurse(e.property,c),f.getStringValue(c),i&&1!==i&&f.if_(f.not(f.computedMember(s,c)),f.lazyAssign(f.computedMember(s,c),"{}")),u=f.computedMember(s,c),f.assign(t,u),n&&(n.computed=!0,n.name=c)):(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 ia.CallExpression:t=t||this.nextId(),e.filter?(c=f.filter(e.callee.name),l=[],a(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),l.push(t)}),u=c+"("+l.join(",")+")",f.assign(t,u),r(t)):(c=f.nextId(),s={},l=[],f.recurse(e.callee,c,s,function(){f.if_(f.notNull(c),function(){a(e.arguments,function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,function(e){l.push(e)})}),u=s.name?f.member(s.context,s.name,s.computed)+"("+l.join(",")+")":c+"("+l.join(",")+")",f.assign(t,u)},function(){f.assign(t,"undefined")}),r(t)}));break;case ia.AssignmentExpression:c=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,c),u=f.member(s.context,s.name,s.computed)+e.operator+c,f.assign(t,u),r(t||u)})},1);break;case ia.ArrayExpression:l=[],a(e.elements,function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,function(e){l.push(e)})}),u="["+l.join(",")+"]",this.assign(t,u),r(t||u);break;case ia.ObjectExpression:l=[],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===ia.Identifier?e.key.name:""+e.key.value,c=f.nextId(),f.recurse(e.value,c),f.assign(f.member(t,s,e.computed),c)})):(a(e.properties,function(t){f.recurse(t.value,e.constant?void 0:f.nextId(),void 0,function(e){l.push(f.escape(t.key.type===ia.Identifier?t.key.name:""+t.key.value)+":"+e)})}),u="{"+l.join(",")+"}",this.assign(t,u)),r(t||u);break;case ia.ThisExpression:this.assign(t,"s"),r(t||"s");break;case ia.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case ia.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 Zo("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},An.prototype={compile:function(e){var t=this;xn(e,t.$filter);var n,r;(n=Cn(e))&&(r=this.recurse(n));var i,o=Sn(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 c=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&&(c.assign=function(e,t,n){return r(e,n,t)}),i&&(c.inputs=i),c},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 ia.Literal:return this.value(e.value,t);case ia.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case ia.BinaryExpression:case ia.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case ia.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case ia.Identifier:return s.identifier(e.name,t,n);case ia.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 ia.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=[],c=0;c<o.length;++c)s.push(o[c](e,n,r,a));var l=i.apply(void 0,s,a);return t?{context:void 0,name:void 0,value:l}:l}:function(e,n,r,a){var s,c=i(e,n,r,a);if(null!=c.value){for(var l=[],u=0;u<o.length;++u)l.push(o[u](e,n,r,a));s=c.value.apply(c.context,l)}return t?{value:s}:s};case ia.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),c=i(e,n,o,a);return s.context[s.name]=c,t?{value:c}:c};case ia.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 ia.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===ia.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 ia.ThisExpression:return function(e){return t?{value:e}:e};case ia.LocalsExpression:return function(e,n){return t?{value:n}:n};case ia.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),c=t(r,i,o,a),l=bn(s,c);return n?{value:l}:l}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),c=t(r,i,o,a),l=(w(s)?s:0)-(w(c)?c:0);return n?{value:l}:l}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var c=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:c}:c}},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 c=s?s[e]:void 0;return t?{context:s,name:e,value:c}:c}},computedMember:function(e,t,n,r){return function(i,o,a,s){var c,l,u=e(i,o,a,s);return null!=u&&(c=t(i,o,a,s),c=gn(c),r&&1!==r&&u&&!u[c]&&(u[c]={}),l=u[c]),n?{context:u,name:c,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var c=e(i,o,a,s);r&&1!==r&&c&&null==c[t]&&(c[t]={});var l=null!=c?c[t]:void 0;return n?{context:c,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},On.prototype={constructor:On,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=Tn(t.ast),n.constant=_n(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 sa,ca=i("$sce"),la={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},ua=/_([a-z])/g,da=i("$templateRequest"),fa=i("$timeout"),pa=e.document.createElement("a"),ha=Zn(e.location.href);pa.href="http://[::1]";var va="[::1]"===pa.hostname;ar.$inject=["$document"],cr.$inject=["$provide"];var ma=22,ga=".",ya="0";pr.$inject=["$locale"],hr.$inject=["$locale"];var ba={yyyy:br("FullYear",4,0,!1,!0),yy:br("FullYear",2,0,!0,!0),y:br("FullYear",1,0,!1,!0),MMMM:$r("Month"),MMM:$r("Month",!0),MM:br("Month",2,1),M:br("Month",1,1),LLLL:$r("Month",!1,!0),dd:br("Date",2),d:br("Date",1),HH:br("Hours",2),H:br("Hours",1),hh:br("Hours",2,-12),h:br("Hours",1,-12),mm:br("Minutes",2),m:br("Minutes",1),ss:br("Seconds",2),s:br("Seconds",1),sss:br("Milliseconds",3),EEEE:$r("Day"),EEE:$r("Day",!0),a:Cr,Z:wr,ww:Er(2),w:Er(1),G:Tr,GG:Tr,GGG:Tr,GGGG:_r},$a=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,wa=/^-?\d+$/;kr.$inject=["$locale"];var xa=y(wi),Sa=y(xi);Nr.$inject=["$parse"];var Ea=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]"===Ti.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Ca={};a(fo,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=At("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Ca[r]=function(){return{restrict:"A",priority:100,link:i}}}}),a(ho,function(e,t){Ca[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(yi);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=At("ng-"+e);Ca[t]=["$sce",function(n){return{priority:99,link:function(r,i,o){var a=e,s=e;"href"===e&&"[object SVGAnimatedString]"===Ti.call(i.prop("href"))&&(s="xlinkHref",o.$attr[s]="xlink:href",a=null),o.$set(t,n.getTrustedMediaUrl(o[t])),o.$observe(t,function(t){if(!t)return void("href"===e&&o.$set(s,null));o.$set(s,t),pi&&a&&i.prop(a,o[s])})}}}]});var Ta={$addControl:m,$getControls:y([]),$$renameControl:Mr,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m,$$setSubmitted:m},_a="ng-pending";Ir.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Ir.prototype={$rollbackViewValue:function(){a(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){a(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){ye(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return Ee(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],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),B(this.$$controls,e),e.$$parentForm=Ta},$setDirty:function(){this.$$animate.removeClass(this.$$element,ds),this.$$animate.addClass(this.$$element,fs),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,ds,fs+" 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(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Ta;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,a(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},Fr({clazz:Ir,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&&(B(r,n),0===r.length&&delete e[t])}});var ka=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:Ir,compile:function(n,i){n.addClass(ds).addClass(ls);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 c=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",c),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",c)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var l=o?r(s.$name):m;o&&(l(e,s),i.$observe(o,function(t){s.$name!==t&&(l(e,void 0),s.$$parentForm.$$renameControl(s,t),(l=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),l(e,void 0),f(s,Ta)})}}}}}]},Aa=ka(),Oa=ka(!0),Pa=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Na=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Da=/^(?=.{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])?)*$/,Ma=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Ia=/^(\d{4,})-(\d{2})-(\d{2})$/,Ra=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Fa=/^(\d{4,})-W(\d\d)$/,ja=/^(\d{4,})-(\d\d)$/,Ua=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,La="keydown wheel mousedown",qa=we();a("date,datetime-local,month,time,week".split(","),function(e){qa[e]=!0});var Va={text:Lr,date:Br("date",Ia,Hr(Ia,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Br("datetimelocal",Ra,Hr(Ra,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Br("time",Ua,Hr(Ua,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Br("week",Fa,Vr,"yyyy-Www"),month:Br("month",ja,Hr(ja,["yyyy","MM"]),"yyyy-MM"),number:Xr,url:Zr,email:ei,radio:ti,range:Qr,checkbox:ri,hidden:m,button:m,submit:m,reset:m,file:m},Ha=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Va[wi(a.type)]||Va.text)(i,o,a,s[0],t,e,n,r)}}}}],Ba=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(e){this.setAttribute("value",e)}};return{restrict:"E",priority:200,compile:function(t,n){if("hidden"===wi(n.type))return{pre:function(t,n,r,i){var o=n[0];o.parentNode&&o.parentNode.insertBefore(o,o.nextSibling),Object.defineProperty&&Object.defineProperty(o,"value",e)}}}}},Wa=/^(true|false|\d+)$/,za=function(){function e(e,t,n){var r=w(n)?n:9===pi?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return Wa.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)})}}}},Ga=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=xe(e)})}}}}],Ya=["$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=$(e)?"":e})}}}}],Ka=["$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)||"")})}}}}],Ja=y({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Xa=ii("",!0),Qa=ii("Odd",0),Za=ii("Even",1),es=Dr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),ts=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ns={},rs={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=At("ng-"+e);ns[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return oi(n,r,i,t,e,rs[e])}]});var is=["$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,c,l;n.$watch(i.ngIf,function(n){n?c||a(function(n,o){c=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),c&&(c.$destroy(),c=null),s&&(l=$e(s.clone),e.leave(l).done(function(e){!1!==e&&(l=null)}),s=null))})}}}],os=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ai.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,c,l,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 c=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();l.template=e;var s=u(t,function(e){v(),n.enter(e,null,i).done(c)});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(),l.template=null)})}}}}],as=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(Ti.call(r[0]).match(/SVG/))return r.empty(),void t(Me(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],ss=Dr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),cs=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,s=o?Di(i):i,c=function(e){if(!$(e)){var t=[];return e&&a(e.split(s),function(e){e&&t.push(o?Di(e):e)}),t}};r.$parsers.push(c),r.$formatters.push(function(e){if(_(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},ls="ng-valid",us="ng-invalid",ds="ng-pristine",fs="ng-dirty",ps=i("ngModel");ai.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],ai.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 ps("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,re(this.$$element))},$render:m,$isEmpty:function(e){return $(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,fs),this.$$animate.addClass(this.$$element,ds)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,ds),this.$$animate.addClass(this.$$element,fs),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!Pi(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;return $(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 ps("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=!$(n)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var i=0;i<this.$parsers.length;i++)if(n=this.$parsers[i](n),$(n)){this.$$parserValid=!1;break}Pi(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)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:C(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,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)}},Fr({clazz:ai,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var hs,vs=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:ai,priority:1,compile:function(t){return t.addClass(ds).addClass("ng-untouched").addClass(ls),{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))})}}}}}],ms=/(\s+|^)default(\s+|$)/;ci.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]=Di(n.replace(ms,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],li(e,this.$$options)),li(e,hs.$$options),new ci(e)}},hs=new ci({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var gs=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:hs,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},ys=Dr({terminal:!0,priority:1e3}),bs=i("ngOptions"),$s=/^\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]+?))?$/,ws=["$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(!l&&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($s);if(!s)throw bs("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,re(t));var c=s[5]||s[7],l=s[6],u=/ as /.test(s[0])&&s[1],d=s[9],f=r(s[2]?s[1]:c),p=u&&r(u),h=p||f,v=d&&r(d),m=d?function(e,t){return v(n,t)}:function(e){return ct(e)},g=function(e,t){return m(e,S(e,t))},y=r(s[2]||s[1]),b=r(s[3]||""),$=r(s[4]||""),w=r(s[8]),x={},S=l?function(e,t){return x[l]=t,x[c]=e,x}:function(e){return x[c]=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 c=e===r?o:r[o],l=e[c],u=S(l,c),d=m(l,u);if(t.push(d),s[2]||s[1]){var f=y(n,u);t.push(f)}if(s[4]){var p=$(n,u);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},r=w(n)||[],o=a(r),s=o.length,c=0;c<s;c++){var l=r===o?c:o[c],u=r[l],f=S(u,l),p=h(n,f),v=m(p,f),x=y(n,f),E=b(n,f),C=$(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?W(e.viewValue):e.viewValue}}}}}function s(e,r,o,s){function u(e,t){var n=c.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];Ze(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=l.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?G(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(),b=y.length;g<b;g++)if(""===y[g].value){h.hasEmptyOption=!0,h.emptyOption=y.eq(g);break}r.empty();var $=!!h.emptyOption;hi(c.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&&!H(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(_(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()})),$&&(t(h.emptyOption)(e),r.prepend(h.emptyOption),h.emptyOption[0].nodeType===Bi?(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 c=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=m},post:s}}}],xs=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,s,c){function l(e){s.text(e||"")}var u,d=c.count,f=c.$attr.when&&s.attr(c.$attr.when),p=c.offset||0,h=o.$eval(f)||{},v={},g=t.startSymbol(),y=t.endSymbol(),b=g+d+"-"+p+y,w=Ai.noop;a(c,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+wi(n[2]);h[r]=s.attr(c.$attr[t])}}),a(h,function(e,n){v[n]=t(e.replace(r,b))}),o.$watch(d,function(t){var r=parseFloat(t),i=Pi(r);if(i||r in h||(r=e.pluralCat(r-p)),!(r===u||i&&Pi(u))){w();var a=v[r];$(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+f),w=m,l()):w=o.$watch(a,l),u=r}})}}}],Ss=i("ngRef"),Es=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=At(V(t)),i=e(n.ngRef),o=i.assign||function(){throw Ss("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(e,t,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=t;else if(!(s=t.data("$"+a.ngRefRead+"Controller")))throw Ss("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',a.ngRefRead,n.ngRef)}else s=t.data("$"+r+"Controller");s=s||t,o(e,s),t.on("$destroy",function(){i(e)===s&&o(e,null)})}}}}],Cs=["$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))},c=function(e){return e.clone[0]},l=function(e){return e.clone[e.clone.length-1]},u=function(e,t,n){return ct(n)},d=function(e,t){return t};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,f){var p=f.ngRepeat,h=n.$$createComment("end ngRepeat",p),v=p.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!v)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);var m=v[1],g=v[2],y=v[3],b=v[4];if(!(v=m.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}'.",m);var $=v[3]||v[1],w=v[2];if(y&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(y)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(y)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",y);var x;if(b){var S={$id:ct},E=e(b);x=function(e,t,n,r){return w&&(S[w]=t),S[$]=n,S.$index=r,E(e,S)}}return function(e,n,i,f,v){var m=we();e.$watchCollection(g,function(i){var f,g,b,E,C,T,_,k,A,O,P,N,D=n[0],M=we();if(y&&(e[y]=i),o(i))A=i,k=x||u;else{k=x||d,A=[];for(var I in i)$i.call(i,I)&&"$"!==I.charAt(0)&&A.push(I)}for(E=A.length,P=new Array(E),f=0;f<E;f++)if(C=i===A?f:A[f],T=i[C],_=k(e,C,T,f),m[_])O=m[_],delete m[_],M[_]=O,P[f]=O;else{if(M[_])throw a(P,function(e){e&&e.scope&&(m[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}",p,_,T);P[f]={id:_,scope:void 0,clone:void 0},M[_]=!0}S&&(S[$]=void 0);for(var R in m){if(O=m[R],N=$e(O.clone),t.leave(N),N[0].parentNode)for(f=0,g=N.length;f<g;f++)N[f].$$NG_REMOVED=!0;O.scope.$destroy()}for(f=0;f<E;f++)if(C=i===A?f:A[f],T=i[C],O=P[f],O.scope){b=D;do{b=b.nextSibling}while(b&&b.$$NG_REMOVED);c(O)!==b&&t.move($e(O.clone),null,D),D=l(O),s(O.scope,f,$,T,w,C,E)}else v(function(e,n){O.scope=n;var r=h.cloneNode(!1);e[e.length++]=r,t.enter(e,null,D),D=r,O.clone=e,M[O.id]=O,s(O.scope,f,$,T,w,C,E)});m=M})}}}}],Ts=["$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"})})}}}],_s=["$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"})})}}}],ks=Dr(function(e,t,n){e.$watchCollection(n.ngStyle,function(e,n){n&&e!==n&&a(n,function(e,n){t.css(n,"")}),e&&t.css(e)})}),As=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var s=i.ngSwitch||i.on,c=[],l=[],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=$e(l[r].clone);d[r].$destroy();(u[r]=e.leave(s)).done(f(u,r))}l.length=0,d.length=0,(c=o.cases["!"+n]||o.cases["?"])&&a(c,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};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Os=Dr({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})})}}),Ps=Dr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ns=i("ngTransclude"),Ds=["$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&&c(e)?t.append(e):(s(),n.$destroy())}function s(){n(e,function(e){t.append(e)})}function c(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Hi||r.nodeValue.trim())return!0}}if(!o)throw Ns("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",re(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var l=r.ngTransclude||r.ngTranscludeSlot;o(a,null,l),l&&!o.isSlotFilled(l)&&s()}}}}],Ms=["$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)}}}}],Is={$setViewValue:m,$render:m},Rs=["$element","$scope",function(t,n){function r(){s||(s=!0,n.$$postDigest(function(){s=!1,o.ngModelCtrl.$render()}))}function i(e){c||(c=!0,n.$$postDigest(function(){n.$$destroyed||(c=!1,o.ngModelCtrl.$setViewValue(o.readValue()),e&&o.ngModelCtrl.$render())}))}var o=this,a=new mo;o.selectValueMap={},o.ngModelCtrl=Is,o.multiple=!1,o.unknownOption=hi(e.document.createElement("option")),o.hasEmptyOption=!1,o.emptyOption=void 0,o.renderUnknownOption=function(e){var n=o.generateUnknownOptionValue(e);o.unknownOption.val(n),t.prepend(o.unknownOption),ui(o.unknownOption,!0),t.val(n)},o.updateUnknownOption=function(e){var n=o.generateUnknownOptionValue(e);o.unknownOption.val(n),ui(o.unknownOption,!0),t.val(n)},o.generateUnknownOptionValue=function(e){return"? "+ct(e)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(t.val(""),ui(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&ui(o.emptyOption,!1)},n.$on("$destroy",function(){o.renderUnknownOption=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&&ui(hi(n),!1),o.hasOption(e)){o.removeUnknownOption();var r=ct(e);t.val(r in o.selectValueMap?r:e);var i=t[0].options[t[0].selectedIndex];ui(hi(i),!0)}else o.selectUnknownOrEmptyOption(e)},o.addOption=function(e,t){if(t[0].nodeType!==Bi){ye(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,c=!1;o.registerOption=function(e,t,n,a,s){if(n.$attr.ngValue){var c,l;n.$observe("value",function(e){var n,r=t.prop("selected");w(l)&&(o.removeOption(c),delete o.selectValueMap[l],n=!0),l=ct(e),c=e,o.selectValueMap[l]=e,o.addOption(e,t),t.attr("value",l),n&&r&&i()})}else a?n.$observe("value",function(e){o.readValue();var n,r=t.prop("selected");w(c)&&(o.removeOption(c),n=!0),c=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)})}}],Fs=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&&(H(e,t.value)||H(e,i.selectValueMap[t.value]));n!==t.selected&&ui(hi(t),n)})};var s,c=NaN;e.$watch(function(){c!==o.$viewValue||G(s,o.$viewValue)||(s=Ee(o.$viewValue),o.$render()),c=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:Rs,priority:1,link:{pre:e,post:t}}},js=["$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)}}}}],Us=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.hasOwnProperty("required")||e(r.ngRequired)(t);r.ngRequired||(r.required=!0),i.$validators.required=function(e,t){return!o||!i.$isEmpty(t)},r.$observe("required",function(e){o!==e&&(o=e,i.$validate())})}}}}],Ls=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var r,i;return n.ngPattern&&(r=n.ngPattern,i="/"===n.ngPattern.charAt(0)&&yi.test(n.ngPattern)?function(){return n.ngPattern}:e(n.ngPattern)),function(e,t,n,o){if(o){var a=n.pattern;n.ngPattern?a=i(e):r=n.pattern;var s=di(a,r,t);n.$observe("pattern",function(e){var n=s;s=di(e,r,t),(n&&n.toString())!==(s&&s.toString())&&o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||$(s)||s.test(t)}}}}}}],qs=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.maxlength||e(r.ngMaxlength)(t),a=fi(o);r.$observe("maxlength",function(e){o!==e&&(a=fi(e),o=e,i.$validate())}),i.$validators.maxlength=function(e,t){return a<0||i.$isEmpty(t)||t.length<=a}}}}}],Vs=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.minlength||e(r.ngMinlength)(t),a=fi(o)||-1;r.$observe("minlength",function(e){o!==e&&(a=fi(e)||-1,o=e,i.$validate())}),i.$validators.minlength=function(e,t){return i.$isEmpty(t)||t.length>=a}}}}}];if(e.angular.bootstrap)return void(e.console&&console.log("WARNING: Tried to load AngularJS more than once."));!function(){var t;if(!qi){var n=Ri();vi=$(n)?e.jQuery:n?e[n]:void 0,vi&&vi.fn.on?(hi=vi,f(vi.fn,{scope:uo.scope,isolateScope:uo.isolateScope,controller:uo.controller,injector:uo.injector,inheritedData:uo.inheritedData})):hi=Fe,t=hi.cleanData,hi.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=(hi._data(r)||{}).events)&&n.$destroy&&hi(r).triggerHandler("$destroy");t(e)},Ai.element=hi,qi=!0}}(),function(n){f(n,{errorHandlingConfig:t,bootstrap:de,copy:W,extend:f,merge:p,equals:G,element:hi,forEach:a,injector:ht,noop:m,bind:J,toJson:Q,fromJson:Z,identity:g,isUndefined:$,isDefined:w,isString:E,isFunction:A,isObject:x,isNumber:C,isElement:L,isArray:_,version:Gi,isDate:T,callbacks:{$$counter:0},getTestability:pe,reloadWithDebugInfo:fe,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:ve,$$minErr:i,$$csp:Ii,$$encodeUriSegment:se,$$encodeUriQuery:ce,$$lowercase:wi,$$stringify:xe,$$uppercase:xi}),mi=Se(e),mi("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:qn}),e.provider("$compile",_t).directive({a:Ea,input:Ha,textarea:Ha,form:Aa,script:Ms,select:Fs,option:js,ngBind:Ga,ngBindHtml:Ka,ngBindTemplate:Ya,ngClass:Xa,ngClassEven:Za,ngClassOdd:Qa,ngCloak:es,ngController:ts,ngForm:Oa,ngHide:_s,ngIf:is,ngInclude:os,ngInit:ss,ngNonBindable:ys,ngPluralize:xs,ngRef:Es,ngRepeat:Cs,ngShow:Ts,ngStyle:ks,ngSwitch:As,ngSwitchWhen:Os,ngSwitchDefault:Ps,ngOptions:ws,ngTransclude:Ds,ngModel:vs,ngList:cs,ngChange:Ja,pattern:Ls,ngPattern:Ls,required:Us,ngRequired:Us,minlength:Vs,ngMinlength:Vs,maxlength:qs,ngMaxlength:qs,ngValue:za,ngModelOptions:gs}).directive({ngInclude:as,input:Ba}).directive(Ca).directive(ns),e.provider({$anchorScroll:vt,$animate:ko,$animateCss:Po,$$animateJs:To,$$animateQueue:_o,$$AnimateRunner:Oo,$$animateAsyncRun:Ao,$browser:St,$cacheFactory:Et,$controller:Dt,$document:Mt,$$isDocumentHidden:It,$exceptionHandler:Rt,$filter:cr,$$forceReflow:jo,$interpolate:Jt,$interval:Xt,$$intervalFactory:Qt,$http:zt,$httpParamSerializer:jt,$httpParamSerializerJQLike:Ut,$httpBackend:Yt,$xhrFactory:Gt,$jsonpCallbacks:Go,$location:vn,$log:mn,$parse:Nn,$rootScope:Ln,$q:Dn,$$q:Mn,$sce:zn,$sceDelegate:Wn,$sniffer:Gn,$$taskTrackerFactory:Yn,$templateCache:Ct,$templateRequest:Jn,$$testability:Xn,$timeout:Qn,$window:or,$$rAF:Un,$$jqLite:st,$$Map:go,$$cookieReader:sr})}]).info({angularVersion:"1.8.3"})}(Ai),Ai.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r);return{v:r,f:(e*i|0)%i}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),hi(function(){ue(e.document,de)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'))},function(e,t,n){"use strict";n(377),n(378),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 c(e){return l[e]?l[e]:l[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||"",l=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=c(n)}return t.titleTemplate&&(d.$template=e.all([d.$template,c(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,c(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,l){var n=o(l,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 l={}}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 c={},l=angular.extend({},e,a);c=r(t,l);var u=a.scope,d=c.$scope;d.$resetMatches=function(){d.$matches=[],d.$activeIndex=l.autoSelect?0:-1},d.$resetMatches(),d.$activate=function(e){d.$$postDigest(function(){c.activate(e)})},d.$select=function(e,t){d.$$postDigest(function(){c.select(e)})},d.$isVisible=function(){return c.$isVisible()},c.update=function(e){d.$matches=e,d.$activeIndex>=e.length&&(d.$activeIndex=l.autoSelect?0:-1),s(d),i(c.$applyPlacement)},c.activate=function(e){d.$activeIndex=e},c.select=function(e){if(-1!==e){var t=d.$matches[e].value;n.$setViewValue(t),n.$render(),d.$resetMatches(),u&&u.$digest(),d.$emit(l.prefixEvent+".select",t,e,c),angular.isDefined(l.onSelect)&&angular.isFunction(l.onSelect)&&l.onSelect(t,e,c)}},c.$isVisible=function(){return l.minLength&&n?d.$matches.length&&angular.isString(n.$viewValue)&&n.$viewValue.length>=l.minLength:!!d.$matches.length},c.$getIndex=function(e){var t;for(t=d.$matches.length;t--&&!angular.equals(d.$matches[t].value,e););return t},c.$onMouseDown=function(e){e.preventDefault(),e.stopPropagation()},c.$$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)}},c.$onKeyDown=function(e){/(38|40|13)/.test(e.keyCode)&&(!c.$isVisible()||13===e.keyCode&&-1===d.$activeIndex||(e.preventDefault(),e.stopPropagation()),13===e.keyCode&&d.$matches.length?c.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),c.$$updateScrollTop(c.$element[0],d.$activeIndex),d.$digest())};var f=c.show;c.show=function(){f(),o(function(){c.$element&&(c.$element.on("mousedown",c.$onMouseDown),l.keyboard&&t&&t.on("keydown",c.$onKeyDown))},0,!1)};var p=c.hide;return c.hide=function(){c.$element&&c.$element.off("mousedown",c.$onMouseDown),l.keyboard&&t&&t.off("keydown",c.$onKeyDown),l.autoSelect||c.activate(-1),p()},c}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 c={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])&&(c[e]=n[e])});var l=/^(false|0|)$/i;angular.forEach(["html","container","trimValue","filter"],function(e){angular.isDefined(n[e])&&l.test(n[e])&&(c[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])&&(c[t]=e.$eval(n[r]))}),t.attr("autocomplete")||t.attr("autocomplete","off");var u=angular.isDefined(c.filter)?c.filter:a.filter,d=c.limit||a.limit,f=c.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,c);if(c.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(c.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===c.trimValue?r:r.trim()),t[0].setSelectionRange(i,o)},e.$on("$destroy",function(){v&&v.destroy(),c=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,c,l,u,d,f){function p(o,a){function s(){M.$emit(N.prefixEvent+".show",P),angular.isDefined(N.onShow)&&angular.isFunction(N.onShow)&&N.onShow(P)}function p(){if(M.$emit(N.prefixEvent+".hide",P),angular.isDefined(N.onHide)&&angular.isFunction(N.onHide)&&N.onHide(P),L===B){if(H&&"focus"===N.trigger)return o[0].blur();O()}}function m(){var e=N.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"===I&&"hover"!==e&&o.on(g?"touchstart":"mousedown",P.$onFocusElementMouseDown))})}function b(){for(var e=N.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"===I&&"hover"!==n&&o.off(g?"touchstart":"mousedown",P.$onFocusElementMouseDown))}}function $(){"focus"!==N.trigger?L.on("keyup",P.$onKeyUp):o.on("keyup",P.$onFocusKeyUp)}function w(){"focus"!==N.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||N.target||o;var r=e[0],i="BODY"===r.tagName,a=r.getBoundingClientRect(),s={};for(var c in a)s[c]=a[c];null===s.width&&(s=angular.extend({},s,{width:a.right-a.left,height:a.bottom-a.top}));var l=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,l)}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,c=n.offsetHeight;if("top"===t&&c!==i&&(e.top=e.top+i-c),!/top-left|top-right|bottom-left|bottom-right/.test(t)){var l=k(t,e,s,c);if(l.left?e.left+=l.left:e.top+=l.top,u.setOffset(n,e),/top|right|bottom|left/.test(t)){var d=/top|bottom/.test(t);A(d?2*l.left-r+s:2*l.top-i+c,n[d?"offsetWidth":"offsetHeight"],d)}}}function k(e,t,n,r){var i={top:0,left:0};if(!P.$viewport)return i;var o=N.viewport&&N.viewport.padding||0,a=C(P.$viewport);if(/right|left/.test(e)){var s=t.top-o-a.scroll,c=t.top+o-a.scroll+r;s<a.top?i.top=a.top-s:c>a.top+a.height&&(i.top=a.top+a.height-c)}else{var l=t.left-o,u=t.left+o+n;l<a.left?i.left=a.left-l:u>a.right&&(i.left=a.left+a.width-u)}return i}function A(e,t,n){v(".tooltip-arrow, .arrow",L[0]).css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")}function O(){clearTimeout(F),P.$isShown&&null!==L&&(N.autoClose&&S(),N.keyboard&&w()),V&&(V.$destroy(),V=null),L&&(L.remove(),L=P.$element=null)}var P={},N=P.$options=angular.extend({},e,a),D=P.$promise=i.compile(N),M=P.$scope=N.scope&&N.scope.$new()||r.$new(),I=o[0].nodeName.toLowerCase();if(N.delay&&angular.isString(N.delay)){var R=N.delay.split(",").map(parseFloat);N.delay=R.length>1?{show:R[0],hide:R[1]}:R[0]}P.$id=N.id||o.attr("id")||"",N.title&&(M.title=l.trustAsHtml(N.title)),M.$setEnabled=function(e){M.$$postDigest(function(){P.setEnabled(e)})},M.$hide=function(){M.$$postDigest(function(){P.hide()})},M.$show=function(){M.$$postDigest(function(){P.show()})},M.$toggle=function(){M.$$postDigest(function(){P.toggle()})},P.$isShown=M.$isShown=!1;var F,j,U,L,q,V;D.then(function(e){U=e,P.init()}),P.init=function(){N.delay&&angular.isNumber(N.delay)&&(N.delay={show:N.delay,hide:N.delay}),"self"===N.container?q=o:angular.isElement(N.container)?q=N.container:N.container&&(q=v(N.container)),m(),N.target&&(N.target=angular.isElement(N.target)?N.target:v(N.target)),N.show&&M.$$postDigest(function(){"focus"===N.trigger?o[0].focus():P.show()})},P.destroy=function(){b(),O(),M.$destroy()},P.enter=function(){if(clearTimeout(F),j="in",!N.delay||!N.delay.show)return P.show();F=setTimeout(function(){"in"===j&&P.show()},N.delay.show)},P.show=function(){if(N.bsEnabled&&!P.$isShown){M.$emit(N.prefixEvent+".show.before",P),angular.isDefined(N.onBeforeShow)&&angular.isFunction(N.onBeforeShow)&&N.onBeforeShow(P);var e,t;N.container?(e=q,t=q[0].lastChild?angular.element(q[0].lastChild):null):(e=null,t=o),L&&O(),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"}),N.animation&&L.addClass(N.animation),N.type&&L.addClass(N.prefixClass+"-"+N.type),N.customClass&&L.addClass(N.customClass),t?t.after(L):e.prepend(L),P.$isShown=M.$isShown=!0,h(M),P.$applyPlacement(),angular.version.minor<=2?c.enter(L,e,t,s):c.enter(L,e,t).then(s),h(M),d(function(){L&&L.css({visibility:"visible"}),N.keyboard&&("focus"!==N.trigger&&P.focus(),$())}),N.autoClose&&x()}},P.leave=function(){if(clearTimeout(F),j="out",!N.delay||!N.delay.hide)return P.hide();F=setTimeout(function(){"out"===j&&P.hide()},N.delay.hide)};var H,B;P.hide=function(e){P.$isShown&&(M.$emit(N.prefixEvent+".hide.before",P),angular.isDefined(N.onBeforeHide)&&angular.isFunction(N.onBeforeHide)&&N.onBeforeHide(P),H=e,B=L,null!==L&&(angular.version.minor<=2?c.leave(L,p):c.leave(L).then(p)),P.$isShown=M.$isShown=!1,h(M),N.keyboard&&null!==L&&w(),N.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){N.bsEnabled=e},P.setViewport=function(e){N.viewport=e},P.$applyPlacement=function(){if(L){var t=N.placement,n=/\s?auto?\s?/i,r=n.test(t);r&&(t=t.replace(n,"")||e.placement),L.addClass(N.placement);var i=C(),o=L.prop("offsetWidth"),a=L.prop("offsetHeight");if(P.$viewport=N.viewport&&v(N.viewport.selector||N.viewport),r){var s=t,c=C(P.$viewport);/bottom/.test(s)&&i.bottom+a>c.bottom?t=s.replace("bottom","top"):/top/.test(s)&&i.top-a<c.top&&(t=s.replace("top","bottom")),/left/.test(s)&&i.left-o<c.left?t=t.replace("left","right"):/right/.test(s)&&i.right+o>c.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){N.mouseDownPreventDefault&&e.preventDefault(),N.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,c={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])&&(c[e]=r[e])});var l=/^(false|0|)$/i;angular.forEach(["html","container"],function(e){angular.isDefined(r[e])&&l.test(r[e])&&(c[e]=!1)}),angular.forEach(["onBeforeShow","onShow","onBeforeHide","onHide"],function(t){var n="bs"+t.charAt(0).toUpperCase()+t.slice(1);angular.isDefined(r[n])&&(c[t]=e.$eval(r[n]))});var u=t.attr("data-target");angular.isDefined(u)&&(l.test(u)?c.target=!1:c.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,c),e.$on("$destroy",function(){s&&s.destroy(),c=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 c(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 c(){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,b=n.$dateValue||y,$={hour:b.getHours(),meridian:b.getHours()<12,minute:b.getMinutes(),second:b.getSeconds(),millisecond:b.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($,{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,$.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,$.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,$.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 c=[];for(e=0;e<p.length;e++)T?c.push([r[e],o[e],s[e]]):c.push([r[e],o[e]]);h.rows=c,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*$.minute+1e3*$.second:1===t?n=e.getTime()+36e5*$.hour+1e3*$.second:2===t&&(n=e.getTime()+36e5*$.hour+6e4*$.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||b),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,$.hour+e*p.length,$.minute,$.second),angular.extend($,{hour:n.getHours()})):1===t?(n=new Date(1970,0,1,$.hour,$.minute+e*p.length*p.minuteStep,$.second),angular.extend($,{minute:n.getMinutes()})):2===t&&(n=new Date(1970,0,1,$.hour,$.minute,$.second+e*p.length*p.secondStep),angular.extend($,{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(),c=m(t,C).length,l=/(37|39)/.test(e.keyCode),u=2+1*T+1*_;l&&(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,b=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)),c=m(t,C).length,h=[r+1+a+1,c]):b&&(l||d.switchMeridian(),h=[r+1+a+1+(c+1)*T,2]),d.select(t,g,!0),i(h[0],h[1]),f.$digest()}};var k=d.init;d.init=function(){if(l&&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",c)),k()};var A=d.destroy;d.destroy=function(){l&&p.useNative&&t.off("click",c),A()};var O=d.show;d.show=function(){!u&&t.attr("readonly")||t.attr("disabled")||(O(),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 l=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),u="createTouch"in t.document&&l;return e.lang||(e.lang=o.getDefaultLocale()),c.defaults=e,c}]}).directive("bsTimepicker",["$window","$parse","$q","$dateFormatter","$dateParser","$timepicker",function(e,t,r,i,o,a){var s=a.defaults,c=/(ip[ao]d|iphone|android)/gi.test(e.navigator.userAgent);return{restrict:"EAC",require:"ngModel",link:function(e,t,r,l){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;l.$setValidity("date",r),l.$setValidity("min",t),l.$setValidity("max",n),r&&(l.$dateValue=e)}}function d(){return!l.$dateValue||isNaN(l.$dateValue.getTime())?"":m(l.$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]))}),c&&(f.useNative||s.useNative)&&(f.timeFormat="HH:mm");var h=a(t,l,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(l.$dateValue)})}),e.$watch(r.ngModel,function(e,t){h.update(l.$dateValue)},!0),l.$parsers.unshift(function(e){var t;if(!e)return l.$setValidity("date",!0),null;var r=angular.isDate(e)?e:g.parse(e,l.$dateValue);return!r||isNaN(r.getTime())?(l.$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(l.$dateValue,f.timezone,!0),"number"===f.timeType?t.getTime():"unix"===f.timeType?t.getTime()/1e3:"iso"===f.timeType?t.toISOString():new Date(t)))}),l.$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),l.$dateValue=g.timezoneOffsetAdjust(t,f.timezone),d()}),l.$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,c){var u={},d=angular.extend({},e,c);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(),l){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(l?"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(l?"touchstart":"mousedown",u.$onMouseDown),d.keyboard&&i.off("keydown",u.$onKeyDown),h(!0)},u}var c=/(ip[ao]d|iphone|android)/gi.test(t.navigator.userAgent),l="createTouch"in t.document&&c;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 c=/^(false|0|)$/i;angular.forEach(["html","container","allNoneButtons","sort"],function(e){angular.isDefined(n[e])&&c.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 l=t.attr("data-multiple");if(angular.isDefined(l)&&(c.test(l)?s.multiple=!1:s.multiple=l),"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,c){function l(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=l(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,$=s(this.checkPosition,u.debounce),w=c(this.checkPosition,u.throttle),v.on("click",this.checkPositionWithEventLoop),d.on("resize",$),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",$),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&&b!==_[0].target)return C.$activateElement(_[0]);for(var e=_.length;e--;)if(!angular.isUndefined(_[e].offsetTop)&&null!==_[e].offsetTop&&b!==_[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(b){var t=C.$getTrackedElement(b);t&&(t.source.removeClass("active"),l(t.source,"li")&&l(t.source.parent().parent(),"li")&&t.source.parent().parent().removeClass("active"))}b=e.target,e.source.addClass("active"),l(e.source,"li")&&l(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}),$()},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 c=/^(false|0|)$/i;angular.forEach(["html","container","autoClose"],function(e){angular.isDefined(o[e])&&c.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 l=i.attr("data-target");angular.isDefined(l)&&(c.test(l)?s.target=!1:s.target=l),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,c){function l(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 c(){C.backdrop&&(A.on("click",w),P.on("click",w),P.on("wheel",x))}function l(){C.backdrop&&(A.off("click",w),P.off("click",w),P.off("wheel",x))}function b(){C.keyboard&&A.on("keyup",E.$onKeyUp)}function $(){C.keyboard&&A.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!==A&&(l(),$()),O&&(O.$destroy(),O=null),A&&(A.remove(),A=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 k,A,O,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){k=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),A&&S(),O=E.$scope.$new(),A=E.$element=k.link(O,function(e,t){}),C.backdrop&&(A.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),A.css({display:"block"}).addClass(C.placement),C.customClass&&A.addClass(C.customClass),C.size&&y[C.size]&&angular.element(d(".modal-dialog",A[0])).addClass(y[C.size]),C.animation&&(C.backdrop&&P.addClass(C.backdropAnimation),A.addClass(C.animation)),C.backdrop&&o.enter(P,h,null),angular.version.minor<=2?o.enter(A,e,t,n):o.enter(A,e,t).then(n),E.$isShown=_.$isShown=!0,u(_);var r=A[0];p(function(){r.focus()}),h.addClass(C.prefixClass+"-open"),C.animation&&h.addClass(C.prefixClass+"-with-"+C.animation),c(),b()}}},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(A,a):o.leave(A).then(a),C.backdrop&&(v--,o.leave(P)),E.$isShown=_.$isShown=!1,u(_),l(),$()))},E.toggle=function(){E.$isShown?E.hide():E.show()},E.focus=function(){A[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 l}]}).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 c=r(a);n.on(i.trigger||"click",c.toggle),e.$on("$destroy",function(){c&&c.destroy(),a=null,c=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=l(t,o),i=p(t,o),{label:r,value:i,index:n}})}var a={},s=angular.extend({},e,i);a.$values=[];var c,l,u,d,f,p,h;return a.init=function(){a.$match=c=r.match(s.regexp),l=t(c[2]||c[1]),u=c[4]||c[6],d=c[5],f=t(c[3]||""),p=t(c[2]?c[1]:u),h=t(c[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,l(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,c,l,u,d=n.css(e,"position"),f=angular.element(e),p={};"static"===d&&(e.style.position="relative"),c=n.offset(e),a=n.css(e,"top"),l=n.css(e,"left"),u=("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1,u?(i=n.position(e),s=i.top,o=i.left):(s=parseFloat(a)||0,o=parseFloat(l)||0),angular.isFunction(t)&&(t=t.call(e,r,c)),null!==t.top&&(p.top=t.top-c.top+s),null!==t.left&&(p.left=t.left-c.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(c){function l(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,b=angular.extend({},a,c),$={},w={sss:"[0-9]{3}",ss:"[0-5][0-9]",s:b.strict?"[1-5]?[0-9]":"[0-9]|[0-5][0-9]",mm:"[0-5][0-9]",m:b.strict?"[1-5]?[0-9]":"[0-9]|[0-5][0-9]",HH:"[01][0-9]|2[0-3]",H:b.strict?"1?[0-9]|2[0-3]":"[01]?[0-9]|2[0-3]",hh:"[0][1-9]|[1][012]",h:b.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:b.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:b.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:b.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 $.init=function(){$.$format=e.DATETIME_FORMATS[b.format]||b.format,g=l($.$format),y=v($.$format)},$.isValid=function(e){return angular.isDate(e)?!isNaN(e.getTime()):g.test(e)},$.parse=function(n,r,i,o){i&&(i=e.DATETIME_FORMATS[i]||i),angular.isDate(n)&&(n=s(n,i||$.$format,o));var a=i?l(i):g,c=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++)c[f]&&c[f].call(d,u[f+1]);var p=d.toDate();return parseInt(d.day,10)===p.getDate()&&p},$.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},$.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:$.parse(t,new Date(1970,0,1,0))},$.daylightSavingAdjust=function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},$.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},$.init(),$}}]}]),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 c(e){if(e.target!==t[0])return e.target!==t[0]&&l.hide()}var l={},u=angular.extend({},e,o);l.$scope=u.scope&&u.scope.$new()||n.$new(),l=r(t,u);var d=t.parent();l.$onKeyDown=function(e){if(/(38|40)/.test(e.keyCode)){e.preventDefault(),e.stopPropagation();var t=angular.element(l.$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=l.show;l.show=function(){f(),i(function(){u.keyboard&&l.$element&&l.$element.on("keydown",l.$onKeyDown),a.on("click",c)},0,!1),d.hasClass("dropdown")&&d.addClass("open")};var p=l.hide;l.hide=function(){l.$isShown&&(u.keyboard&&l.$element&&l.$element.off("keydown",l.$onKeyDown),a.off("click",c),d.hasClass("dropdown")&&d.removeClass("open"),p())};var h=l.destroy;return l.destroy=function(){a.off("click",c),h()},l}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,c="INPUT"===i[0].nodeName,l=c?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(){c&&(i[0].checked=e),l.toggleClass(s.activeClass,e)})},i.bind(s.toggleEvent,function(){e.$apply(function(){c||a.$setViewValue(!l.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,c=n,l="INPUT"===i[0].nodeName,u=l?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(){l&&(i[0].checked=e),u.toggleClass(c.activeClass,e)})},i.bind(c.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,c){function l(t,n,r){function i(e){e.selected=l.$isSelected(e.date)}function o(){t[0].focus()}var l=s(t,angular.extend({},e,r)),f=r.scope,p=l.$options,h=l.$scope;p.startView&&(p.startView-=p.minView);var v=a(l);l.$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=l.$views[h.$mode];h.$select=function(e,t){t||l.select(e)},h.$selectPane=function(e){l.$selectPane(e)},h.$toggleMode=function(){l.setMode((h.$mode+1)%l.$views.length)},h.$setToday=function(){p.autoclose?(l.setMode(0),l.select(new Date)):l.select(new Date,!0)},h.$clear=function(){p.autoclose?(l.setMode(0),l.select(null)):l.select(null,!0)},l.update=function(e){angular.isDate(e)&&!isNaN(e.getTime())&&(l.$date=e,g.update.call(g,e)),l.$build(!0)},l.updateDisabledDates=function(e){p.disabledDateRanges=e;for(var t=0,n=h.rows.length;t<n;t++)angular.forEach(h.rows[t],l.$setDisabledEl)},l.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&&c(function(){l.hide(!0)})):(angular.extend(m,{year:e.getFullYear(),month:e.getMonth(),date:e.getDate()}),l.setMode(h.$mode-1),l.$build())},l.setMode=function(e){h.$mode=e,g=l.$views[h.$mode],l.$build()},l.$build=function(e){!0===e&&g.built||(!1!==e||g.built)&&g.build.call(g)},l.$updateSelected=function(){for(var e=0,t=h.rows.length;e<t;e++)angular.forEach(h.rows[e],i)},l.$isSelected=function(e){return g.isSelected(e)},l.$setDisabledEl=function(e){e.disabled=g.isDisabled(e.date)},l.$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()}),l.$build()},l.$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")}},l.$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(){l.setMode(h.$mode-1)}):l.hide(!0));g.onKeyDown(e),f.$digest()}};var y=l.init;l.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 b=l.destroy;l.destroy=function(){u&&p.useNative&&t.off("click",o),b()};var $=l.show;l.show=function(){!d&&t.attr("readonly")||t.attr("disabled")||($(),c(function(){l.$isShown&&(l.$element.on(d?"touchstart":"mousedown",l.$onMouseDown),p.keyboard&&t.on("keydown",l.$onKeyDown))},0,!1))};var w=l.hide;return l.hide=function(e){l.$isShown&&(l.$element.off(d?"touchstart":"mousedown",l.$onMouseDown),p.keyboard&&t.off("keydown",l.$onKeyDown),w(e))},l}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()),l.defaults=e,l}]}).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 c(e){return e&&e.length?e:null}function l(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),l(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=c(e),t=c(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):(l(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,c=s.lang,l=function(e,t){return n.formatDate(e,t,c)},u=r({format:s.dateFormat,lang:c,strict:s.strictFormat}),d=n.weekdaysShort(c),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)),c=i.getTimezoneOffset(),d=u.timezoneOffsetAdjust(new Date,s.timezone).toDateString();c!==r&&(i=new Date(+i+6e4*(c-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:l(f,this.format),selected:o.$date&&this.isSelected(f),muted:f.getMonth()!==v.month,disabled:this.isDisabled(f)});a.title=l(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:l(t,this.format),selected:o.$isSelected(t),disabled:this.isDisabled(t)});a.title=l(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:l(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=c.$targets.$active,n=0;n<t.length;n++)e<t[n]&&(t[n]=t[n]-1),t[n]===c.$targets.length&&(t[n]=c.$targets.length-1)}function o(e){return-1!==c.$targets.$active.indexOf(e)}function a(e){var t=c.$targets.$active.indexOf(e);-1!==t&&c.$targets.$active.splice(t,1)}function s(e){c.$options.allowMultiple||c.$targets.$active.splice(0,1),-1===c.$targets.$active.indexOf(e)&&c.$targets.$active.push(e)}var c=this;c.$options=angular.copy(e),angular.forEach(["animation","disallowToggle","activeClass","startCollapsed","allowMultiple"],function(e){angular.isDefined(r[e])&&(c.$options[e]=r[e])});var l=/^(false|0|)$/i;angular.forEach(["disallowToggle","startCollapsed","allowMultiple"],function(e){angular.isDefined(r[e])&&l.test(r[e])&&(c.$options[e]=!1)}),c.$toggles=[],c.$targets=[],c.$viewChangeListeners=[],c.$registerToggle=function(e){c.$toggles.push(e)},c.$registerTarget=function(e){c.$targets.push(e)},c.$unregisterToggle=function(e){var t=c.$toggles.indexOf(e);c.$toggles.splice(t,1)},c.$unregisterTarget=function(e){var t=c.$targets.indexOf(e);c.$targets.splice(t,1),c.$options.allowMultiple&&a(e),i(t),c.$viewChangeListeners.forEach(function(e){e()})},c.$targets.$active=c.$options.startCollapsed?[]:[0],c.$setActive=t.$setActive=function(e){angular.isArray(e)?c.$targets.$active=e:!c.$options.disallowToggle&&o(e)?a(e):s(e),c.$viewChangeListeners.forEach(function(e){e()})},c.$activeIndexes=function(){return c.$options.allowMultiple?c.$targets.$active:1===c.$targets.$active.length?c.$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 c=n(a);r.on(i.trigger||"click",c.toggle),e.$on("$destroy",function(){c&&c.destroy(),a=null,c=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 c=n(a);r.on(i.trigger||"click",c.toggle),e.$on("$destroy",function(){c&&c.destroy(),a=null,c=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 c(e,t,n){var r=l(),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 l(){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,b=null,$=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=l(),t=r.offset(i[0]),n=r.height(i[0]),a=c($,t,n);b!==a&&(b=a,"top"===a?($=null,h&&i.css("width",""),f.inlineStyles&&(i.css("position",f.offsetParent?"":"relative"),i.css("top",""))):"bottom"===a?($=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"))):($=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 c;n(function(){c=e(i,s)}),r.$on("$destroy",function(){c&&c.destroy(),s=null,c=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";Object.defineProperty(t,"__esModule",{value:!0}),t.core=void 0;var r=n(380);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(109);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(123);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(186);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(187);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(29);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})}),n(407),n(408),n(409),n(410),n(411);var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c);t.default="ui.router",t.core=l},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParamTypes=void 0;var r=n(5),i=n(7),o=n(9),a=n(16),s=n(114),c=function(){function e(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=(0,r.pick)(e.prototype,["hash","string","query","path","int","bool","date","json","any"]);var t=function(e,t){return new s.ParamType((0,r.extend)({name:t},e))};this.types=(0,r.inherit)((0,r.map)(this.defaultTypes,t),{})}return e.prototype.dispose=function(){this.types={}},e.prototype.type=function(e,t,n){if(!(0,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((0,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.");(0,r.extend)(this.types[e.name],a.services.$injector.invoke(e.def))}},e}();t.ParamTypes=c,function(){var e=function(e){var t=function(e){return null!=e?e.toString():e},n={encode:t,decode:t,is:(0,o.is)(String),pattern:/.*/,equals:function(e,t){return e==t}};return(0,r.extend)({},n,e)};(0,r.extend)(c.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!(0,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:(0,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:(0,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(115);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(75);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(e){e.addResolvable(a.Resolvable.fromData(o.UIRouter,e.router),""),e.addResolvable(a.Resolvable.fromData(i.Transition,e),""),e.addResolvable(a.Resolvable.fromData("$transition$",e),""),e.addResolvable(a.Resolvable.fromData("$stateParams",e.params()),""),e.entering().forEach(function(t){e.addResolvable(a.Resolvable.fromData("$state$",t),t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.treeChangesCleanup=t.registerAddCoreResolvables=void 0;var i=n(119),o=n(169),a=n(161),s=n(11),c=(t.registerAddCoreResolvables=function(e){return e.onCreate({},r)},["$transition$",i.Transition]),l=(0,s.inArray)(c);t.treeChangesCleanup=function(e){var t=function(e){return l(e.token)?a.Resolvable.fromData(e.token,null):e};(0,s.values)(e.treeChanges()).reduce(s.unnestR,[]).reduce(s.uniqR,[]).forEach(function(e){e.resolvables=e.resolvables.map(t)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerRedirectToHook=void 0;var r=n(7),i=n(16),o=n(61),a=function(e){function t(t){if(t)return t instanceof o.TargetState?t:(0,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(0,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"),o=(t.registerOnExitHook=function(e){return e.onExit({exiting:function(e){return!!e.onExit}},i)},r("onRetain")),a=(t.registerOnRetainHook=function(e){return e.onRetain({retained:function(e){return!!e.onRetain}},o)},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}),t.registerResolveRemaining=t.registerLazyResolveState=t.registerEagerResolvePath=t.RESOLVE_HOOK_PRIORITY=void 0;var r=n(5),i=n(77),o=n(9),a=t.RESOLVE_HOOK_PRIORITY=1e3,s=function(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("EAGER",e).then(r.noop)},c=(t.registerEagerResolvePath=function(e){return e.onStart({},s,{priority:a})},function(e,t){return new i.ResolveContext(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(r.noop)}),l=(t.registerLazyResolveState=function(e){return e.onEnter({entering:(0,o.val)(!0)},c,{priority:a})},function(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("LAZY",e).then(r.noop)});t.registerResolveRemaining=function(e){return e.onFinish({},l,{priority:a})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerActivateViews=t.registerLoadEnteringViews=void 0;var r=n(5),i=n(16),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)},a=(t.registerLoadEnteringViews=function(e){return e.onFinish({},o)},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}),t.registerUpdateGlobalState=void 0;var r=n(5),i=function(e){var t=e.router.globals,n=function(){t.successfulTransitions.enqueue(e),t.$current=e.$to(),t.current=t.$current.self,(0,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}),t.registerIgnoredTransitionHook=void 0;var i=n(36),o=n(54);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().toString())}Object.defineProperty(t,"__esModule",{value:!0});t.registerInvalidTransitionHook=function(e){return e.onBefore({},r,{priority:-1e4})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(55);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(168);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(120);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(54);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(119);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(62);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var l=n(178);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(118);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(396);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(78);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(170);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(171);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(121);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(174);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var l=n(175);Object.defineProperty(t,"UrlRules",{enumerable:!0,get:function(){return l.UrlRules}});var u=n(176);Object.defineProperty(t,"UrlConfig",{enumerable:!0,get:function(){return u.UrlConfig}})},function(e,t,n){"use strict"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(398);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(172);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})},function(e,t,n){"use strict"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(400);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(401);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(179);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=n(180);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(79);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n(181);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(182);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var l=n(183);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(184);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var d=n(185);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var f=n(122);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var p=n(402);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})})},function(e,t,n){"use strict"},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}),t.memoryLocationPlugin=t.pushStateLocationPlugin=t.hashLocationPlugin=void 0,t.servicesPlugin=r;var i=n(185),o=n(181),a=n(122),s=n(183),c=n(182),l=n(184),u=n(180),d=n(179),f=n(16);t.hashLocationPlugin=(0,a.locationPluginFactory)("vanilla.hashBangLocation",!1,o.HashLocationService,i.BrowserLocationConfig),t.pushStateLocationPlugin=(0,a.locationPluginFactory)("vanilla.pushStateLocation",!0,s.PushStateLocationService,i.BrowserLocationConfig),t.memoryLocationPlugin=(0,a.locationPluginFactory)("vanilla.memoryLocation",!1,c.MemoryLocationService,l.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}),t.TemplateFactory=void 0;var i=n(53),o=n(29),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(0,o.isDefined)(e.template)?r(this.fromString(e.template,t)):(0,o.isDefined)(e.templateUrl)?r(this.fromUrl(e.templateUrl,t)):(0,o.isDefined)(e.templateProvider)?r(this.fromProvider(e.templateProvider,t,n)):(0,o.isDefined)(e.component)?i(e.component):(0,o.isDefined)(e.componentProvider)?i(this.fromComponentProvider(e.componentProvider,t,n)):r("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return(0,o.isFunction)(e)?e(t):e},e.prototype.fromUrl=function(e,t){return(0,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=(0,o.isArray)(e)?(0,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=(0,o.isArray)(e)?(0,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?"::":"",c=function(e){var t=(0,o.kebobString)(e);return/^(x|data)-/.exec(t)?"x-"+t:t},l=function(n){var r=n.name,i=n.type,l=c(r);if(e.attr(l)&&!a[r])return l+"='"+e.attr(l)+"'";var u=a[r]||r;if("@"===i)return l+"='{{"+s+"$resolve."+u+"}}'";if("&"===i){var d=t.getResolvable(u),f=d&&d.data,p=f&&o.services.$injector.annotate(f)||[];return l+"='$resolve."+u+((0,o.isArray)(f)?"["+(f.length-1)+"]":"")+"("+p.join(",")+")'"}return l+"='"+s+"$resolve."+u+"'"},u=r(n).map(l).join(" "),d=c(n);return"<"+d+" "+u+"></"+d+">"},e}();t.TemplateFactory=a;var s=function(e){return c((0,o.isObject)(e.bindToController)?e.bindToController:e.scope)},c=function(e){return Object.keys(e||{}).map(function(t){return[t,/^([=<@&])[?]?(.*)/.exec(e[t])]}).filter(function(e){return(0,o.isDefined)(e)&&(0,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}),t.getStateHookBuilder=void 0;var r=n(29),i=n(109);t.getStateHookBuilder=function(e){return function(t){function n(e,t){var n=new r.ResolveContext(e.treeChanges(a)),s=n.subContext(t.$$state()),c=(0,r.extend)((0,i.getLocals)(s),{$state$:t,$transition$:e});return r.services.$injector.invoke(o,this,c)}var o=t[e],a="onExit"===e?"from":"to";return o?n:void 0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ng1LocationServices=void 0;var r=n(29),i=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=(0,r.val)(e);(0,r.createProxyFunctions)(t,this,t,["hashPrefix"])}return 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.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return(0,r.removeFrom)(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=(0,r.isObject)(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.baseHref=function(){return this._baseHref||(this._baseHref=this.$browser.baseHref()||this.$window.location.pathname)},e.prototype.url=function(e,t,n){return void 0===t&&(t=!1),(0,r.isDefined)(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,o){var a=this;this.$location=t,this.$sniffer=n,this.$browser=i,this.$window=o,e.$on("$locationChangeSuccess",function(e){return a._urlListeners.forEach(function(t){return t(e)})});var s=(0,r.val)(t);(0,r.createProxyFunctions)(s,this,s,["replace","path","search","hash"]),(0,r.createProxyFunctions)(s,this,s,["port","protocol","host"])},e}();t.Ng1LocationServices=i},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(e){var t=e.match(/^\s*({[^}]*})\s*$/);t&&(e="("+t[1]+")");var n=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/);if(!n||4!==n.length)throw new Error("Invalid state ref '"+e+"'");return{state:n[1]||null,paramExpr:n[3]||null}}function i(e){var t=e.parent().inheritedData("$uiView"),n=(0,f.parse)("$cfg.path")(t);return n?(0,f.tail)(n).state.name:void 0}function o(e,t,n){var r=n.uiState||e.current.name,i=(0,f.extend)(c(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||o.altKey||e.attr("target"))){var c=n(function(){e.attr("disabled")||t.go(s.uiState,s.uiStateParams,s.uiStateOpts)});o.preventDefault();var l=r.isAnchor&&!s.href?1:0;o.preventDefault=function(){l--<=0&&n.cancel(c)}}}}function c(e,t){return{relative:i(e)||t.$current,inherit:!0,source:"sref"}}function l(e,t,n,r){var i;r&&(i=r.events),(0,f.isArray)(i)||(i=["click"]);for(var o=e.on?"on":"bind",a=0,s=i;a<s.length;a++){var c=s[a];e[o](c,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)}})}var u,d=n(53),f=n(29);u=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,c,u,d){function p(){var e=y();m&&m(),v&&(m=v.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&u.$set(h.attr,e.href)}var h=a(c),v=d[1]||d[0],m=null,g={},y=function(){return o(n,c,g)},b=r(u.uiSref);if(g.uiState=b.state,g.uiStateOpts=u.uiSrefOpts?i.$eval(u.uiSrefOpts):{},b.paramExpr&&(i.$watch(b.paramExpr,function(e){g.uiStateParams=(0,f.extend)({},e),p()},!0),g.uiStateParams=(0,f.extend)({},i.$eval(b.paramExpr))),p(),i.$on("$destroy",e.stateRegistry.onStatesChanged(p)),i.$on("$destroy",e.transitionService.onSuccess({},p)),h.clickable){var $=s(c,n,t,h,y);l(c,i,$,g.uiStateOpts)}}}}];var p;p=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,i,c,u){function d(){var e=y();m&&m(),v&&(m=v.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&c.$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)},b=["uiState","uiStateParams","uiStateOpts"],$=b.reduce(function(e,t){return e[t]=f.noop,e},{});b.forEach(function(e){g[e]=c[e]?r.$eval(c[e]):null,c.$observe(e,function(t){$[e](),$[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),l(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 c(e){e.promise.then(p,f.noop)}function l(){u(v)}function u(e){(0,f.isObject)(e)&&(m=[],(0,f.forEach)(e,function(e,n){var i=function(e,n){var i=r(e);d(i.state,t.$eval(i.paramExpr),n)};(0,f.isString)(e)?i(e,n):(0,f.isArray)(e)&&(0,f.forEach)(e,function(e){i(e,n)})}))}function d(t,n,r){var o=e.get(t,i(a)),s={state:o||{name:t},params:n,activeClass:r};return m.push(s),function(){(0,f.removeFrom)(m)(s)}}function p(){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(m).concat(n(h)).reduce(f.uniqR,[]),o=r(m.filter(function(t){return e.includes(t.state.name,t.params)})),s=!!m.filter(function(t){return e.is(t.state.name,t.params)}).length,c=s?n(h):[],l=o.concat(c).reduce(f.uniqR,[]),u=i.filter(function(e){return!(0,f.inArray)(l,e)});t.$evalAsync(function(){l.forEach(function(e){return a.addClass(e)}),u.forEach(function(e){return a.removeClass(e)})})}var h,v,m=[];h=n(s.uiSrefActiveEq||"",!1)(t);try{v=t.$eval(s.uiSrefActive)}catch(e){}v=v||n(s.uiSrefActive||"",!1)(t),u(v),this.$$addStateInfo=function(e,t){if(!((0,f.isObject)(v)&&m.length>0)){var n=d(e,t,v);return p(),n}},t.$on("$destroy",function(){var e=o.stateRegistry.onStatesChanged(l),n=o.transitionService.onStart({},c),r=t.$on("$stateChangeSuccess",p);return function(){e(),n(),r()}}()),o.globals.transition&&c(o.globals.transition),p()}]}}],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}),t.$IncludedByStateFilter=t.$IsStateFilter=void 0;var o=n(53);r.$inject=["$state"],i.$inject=["$state"],o.ng.module("ui.router.state").filter("isState",r).filter("includedByState",i),t.$IsStateFilter=r,t.$IncludedByStateFilter=i},function(e,t,n){"use strict";function r(e,t,n,r,c){var l=(0,o.parse)("viewDecl.controllerAs"),u=(0,o.parse)("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(r){var d=r.html();return r.empty(),function(r,f){var p=f.data("$uiView");if(!p)return f.html(d),void e(f.contents())(r);var h=p.$cfg||{viewDecl:{},getTemplate:o.noop},v=h.path&&new o.ResolveContext(h.path);f.html(h.getTemplate(f,v)||d),o.trace.traceUIViewFill(p.$uiView,f.html());var m=e(f.contents()),g=h.controller,y=l(h),b=u(h),$=v&&(0,s.getLocals)(v);if(r[b]=$,g){var w=t(g,(0,o.extend)({},$,{$scope:r,$element:f}));y&&(r[y]=w,r[y][b]=$),f.data("$ngControllerController",w),f.children().data("$ngControllerController",w),i(c,n,w,r,h)}if((0,o.isString)(h.component))var x=(0,o.kebobString)(h.component),S=new RegExp("^(x-|data-)?"+x+"$","i"),E=function(){var e=[].slice.call(f[0].children).filter(function(e){return e&&e.tagName&&S.exec(e.tagName)});return e&&a.ng.element(e).data("$"+h.component+"Controller")},C=r.$watch(E,function(e){e&&(i(c,n,e,r,h),C())});m(r)}}}}function i(e,t,n,r,i){!(0,o.isFunction)(n.$onInit)||(i.viewDecl.component||i.viewDecl.componentProvider)&&u||n.$onInit();var a=(0,o.tail)(i.path).state.self,s={bind:n};if((0,o.isFunction)(n.uiOnParamsChanged)){var c=new o.ResolveContext(i.path),l=c.getResolvable("$transition$").data,f=function(e){if(e!==l&&-1===e.exiting().indexOf(a)){var t=e.params("to"),r=e.params("from"),i=function(e){return e.paramSchema},s=e.treeChanges("to").map(i).reduce(o.unnestR,[]),c=e.treeChanges("from").map(i).reduce(o.unnestR,[]),u=s.filter(function(e){var n=c.indexOf(e);return-1===n||!c[n].type.equals(t[e.id],r[e.id])});if(u.length){var d=u.map(function(e){return e.id}),f=(0,o.filter)(t,function(e,t){return-1!==d.indexOf(t)});n.uiOnParamsChanged(f,e)}}};r.$on("$destroy",t.onSuccess({},f,s))}if((0,o.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:a.name};r.$on("$destroy",t.onBefore(m,v,s))}}Object.defineProperty(t,"__esModule",{value:!0}),t.uiView=void 0;var o=n(29),a=n(53),s=n(109),c=n(123),l=t.uiView=void 0;t.uiView=l=["$view","$animate","$uiViewScroll","$interpolate","$q",function(e,t,n,r,i){function s(){return{enter:function(e,n,r){a.ng.version.minor>2?t.enter(e,null,n).then(r):t.enter(e,null,n,r)},leave:function(e,n){a.ng.version.minor>2?t.leave(e).then(n):t.leave(e,n)}}}function l(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,a,f){return function(t,a,p){function h(e){(!e||e instanceof c.Ng1ViewConfig)&&(l($,e)||(o.trace.traceUIViewConfigUpdated(T,e&&e.viewDecl&&e.viewDecl.$context),$=e,m(e)))}function v(){if(g&&(o.trace.traceUIViewEvent("Removing (previous) el",g.data("$uiView")),g.remove(),g=null),b&&(o.trace.traceUIViewEvent("Destroying scope",T),b.$destroy(),b=null),y){var e=y.data("$uiViewAnim");o.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(),s=i.defer(),c=i.defer(),l={$cfg:e,$uiView:T},u={$animEnter:s.promise,$animLeave:c.promise,$$animLeave:c};r.$emit("$viewContentLoading",C);var d=f(r,function(e){e.data("$uiViewAnim",u),e.data("$uiView",l),S.enter(e,a,function(){s.resolve(),b&&b.$emit("$viewContentAnimationEnded"),((0,o.isDefined)(x)&&!x||t.$eval(x))&&n(e)}),v()});y=d,b=r,b.$emit("$viewContentLoaded",e||$),b.$eval(w)}var g,y,b,$,w=p.onload||"",x=p.autoscroll,S=s(),E=a.inheritedData("$uiView")||u,C=r(p.uiView||p.name||"")(t)||"$default",T={$type:"ng1",id:d.count++,name:C,fqn:E.$uiView.fqn?E.$uiView.fqn+"."+C:C,config:null,configUpdated:h,get creationContext(){var e=(0,o.parse)("$cfg.viewDecl.$context")(E),t=(0,o.parse)("$uiView.creationContext")(E);return e||t}};o.trace.traceUIViewEvent("Linking",T),a.data("$uiView",{$uiView:T}),m();var _=e.registerUIView(T);t.$on("$destroy",function(){o.trace.traceUIViewEvent("Destroying/Unregistering",T),_()})}}};return d}],r.$inject=["$compile","$controller","$transitions","$view","$q"];var u="function"==typeof a.ng.module("ui.router").component,d=0;a.ng.module("ui.router.state").directive("uiView",l),a.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)}}]}n(53).ng.module("ui.router.state").provider("$uiViewScroll",r)},function(e,t,n){"use strict";n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421),n(422),n(423),n(424)},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(14))},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(14))},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(14))},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",c=this;if(o.hasClass("active"))return this.sliding=!1;var l=o[0],u=e.Event("slide.bs.carousel",{relatedTarget:l,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:l,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(" ")),c.sliding=!1,setTimeout(function(){c.$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(14))},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 c=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][c])}}}},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(14))},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 c=s.index(n.target);38==n.which&&c>0&&c--,40==n.which&&c<s.length-1&&c++,~c||(c=0),s.eq(c).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(14))},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(14))},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",c="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(c+"."+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,c=/\s?auto?\s?/i,l=c.test(s);l&&(s=s.replace(c,"")||"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(l){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 c=r[0].offsetWidth,l=r[0].offsetHeight;"top"==n&&l!=o&&(t.top=t.top+o-l);var u=this.getViewportAdjustedDelta(n,t,c,l);u.left?t.left+=u.left:t.top+=u.top;var d=/top|bottom/.test(n),f=d?2*u.left-i+c:2*u.top-o+l,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,c=t.top+o-a.scroll+r;s<a.top?i.top=a.top-s:c>a.top+a.height&&(i.top=a.top+a.height-c)}else{var l=t.left-o,u=t.left+o+n;l<a.left?i.left=a.left-l: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(14))},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(14))},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(14))},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(14))},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,c=s?i:o.top,l=s?a:t;return null!=n&&i<=n?"top":null!=r&&c+l>=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 c=this.getState(s,n,o,a);if(this.affixed!=c){null!=this.unpin&&this.$element.css("top","");var l="affix"+(c?"-"+c:""),u=e.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=c,this.unpin="bottom"==c?this.getPinnedOffset():null,this.$element.removeClass(r.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==c&&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(14))},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,c=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||c||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(),l&&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"),c?(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 c=""!==n.attr("data-thumb-alt")?c=' alt="'+n.attr("data-thumb-alt")+'"':"";if(t="thumbnails"===o.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"'+c+"/>":'<a href="#">'+i+"</a>","thumbnails"===o.vars.controlNav&&!0===o.vars.thumbCaptions){var l=n.attr("data-thumbcaption");""!==l&&void 0!==l&&(t+='<span class="'+s+'caption">'+l+"</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),l=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,$=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((!$||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(l+d,"setTouch"))))}}function i(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!$&&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,l=null,S=0}}var a,s,l,u,d,m,g,y,b,$=!1,w=0,x=0,S=0;c?(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,l=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",b,!1))},y=function(e){w=e.touches[0].pageX,x=e.touches[0].pageY,d=f?a-x:a-w,$=f?Math.abs(d)<Math.abs(w-s):Math.abs(d)<Math.abs(x-s);(!$||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(l+d,"setTouch")))},b=function(e){if(n.removeEventListener("touchmove",y,!1),o.animatingTo===o.currentSlide&&!$&&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",b,!1),a=null,s=null,d=null,l=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 c=e(o.vars.asNavFor).data("flexslider");if(o.atEnd=0===t||t===o.count-1,c.flexAnimate(t,!0,!1,!0,a),o.direction=o.currentItem<t?"next":"prev",c.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)l?(o.slides.eq(o.currentSlide).css({opacity:0,zIndex:1}),o.slides.eq(t).css({opacity:1,zIndex:2}),o.wrapup(b)):(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,b=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)*b:0:o.currentSlide===o.last&&0===t&&o.vars.animationLoop&&"prev"!==o.direction?p?0:(o.count+1)*b:p?(o.count-1-t+o.cloneOffset)*b:(t+o.cloneOffset)*b,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(b)}),clearTimeout(o.ensureAnimationEnd),o.ensureAnimationEnd=setTimeout(function(){o.wrapup(b)},o.vars.animationSpeed+100)):o.container.animate(o.args,o.vars.animationSpeed,o.vars.easing,function(){o.wrapup(b)})}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&&(l?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(14),n(427).setImmediate)},function(e,t,n){"use strict";(function(e){function r(e,t){this._id=e,this._clearFn=t}var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,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(i,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(428),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(110))},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 l[c]=r,s(c),c++}function i(e){delete l[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=l[e];if(t){u=!0;try{o(t)}finally{i(e),u=!1}}}}if(!e.setImmediate){var s,c=1,l={},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(110),n(429))},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&&c())}function c(){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 l(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 l(e,t)),1!==v.length||m||o(c)},l.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=430},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":432,"./my-account/index.scss":433,"./my-account/my-account-dashboard/index.scss":434,"./my-account/my-account-example/index.scss":435,"./my-account/my-account-keys/index.scss":436,"./my-account/my-account-left-nav/index.scss":437,"./my-account/my-account-ngpf-acadameny-view-event/index.scss":438,"./my-account/my-account-ngpf-academy-register/index.scss":439,"./my-account/my-account-ngpf-academy-view-event-survey/index.scss":440,"./my-account/my-account-ngpf-academy/index.scss":441,"./my-account/my-account-profile/index.scss":442,"./my-account/my-account-top-nav/index.scss":443,"./site/events-list.scss":444};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=431},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":446,"./app-alert/index.js":447,"./appService.js":449,"./contact-form/ContactController.js":450,"./filters/format-date.js":451,"./filters/jkd-output-html.js":452,"./filters/mil-time-to-am-pm.js":453,"./my-account/academy-event-survey/index.js":454,"./my-account/index.js":456,"./my-account/my-account-dashboard/index.js":458,"./my-account/my-account-example/index.js":460,"./my-account/my-account-keys/index.js":462,"./my-account/my-account-left-nav/index.js":464,"./my-account/my-account-ngpf-acadameny-view-event/index.js":466,"./my-account/my-account-ngpf-academy-register/index.js":468,"./my-account/my-account-ngpf-academy-view-event-survey/index.js":470,"./my-account/my-account-ngpf-academy/index.js":472,"./my-account/my-account-profile/index.js":474,"./my-account/my-account-top-nav/index.js":476,"./refer/ReferController.js":478,"./routing.js":479,"./search/SearchController.js":480,"./siteService.js":481,"./storeService.js":482,"./user-login-manager/AccountController.js":483,"./user-login-manager/cp-user-login/index.js":484,"./user-login-manager/cp-user-logout/index.js":486,"./user-login-manager/cp-user-sign-up/index.js":487,"./user-login-manager/cp-user-update-user/index.js":489,"./user-login-manager/userService.js":491};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=445},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(448),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(14))},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(455),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(457),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(459),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\x3c!--    <div class="container" style="background-color: white; border-left: 10px solid #275ce4; padding: 15px; box-shadow: 1px 1px 5px #666666; margin: 75px auto 50px; display: block; width: 80%">--\x3e\n\x3c!--      <div class="row" style="margin: 10px auto; display: block; width: 80%">--\x3e\n\x3c!--        <div class="col-md-12">--\x3e\n\x3c!--          <div>--\x3e\n\x3c!--            <h4 style="font-weight: bold; font-family: montserrat; text-align: center">NOTE: The 2022-23 Academy year has ended. Swag will be shipped by Aug 31, 2023 to eligible PD attendees who achieved NGPF Academy milestones.</h4>--\x3e\n\x3c!--            <h4 style="font-weight: bold; font-family: montserrat; text-align: center"><a href="https://www.ngpf.org/account/#!/my-account-profile" rel="noopener" style="color: #f78219" target="_blank"> Please confirm your current address is up to date</a>!</h4>--\x3e\n\x3c!--          </div>--\x3e\n\x3c!--        </div>--\x3e\n\x3c!--      </div>--\x3e\n\x3c!--    </div>--\x3e\n    <div class="row container " style="margin: 25px auto;">\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" style="height: auto !important; width: auto !important;">\n            <button class="tablinks" onclick="openCity(event, \'Blogs\')" id="defaultOpen">LATEST BLOGS</button>\n            <button class="tablinks" onclick="openCity(event, \'MySessions\')">UPCOMING SESSIONS</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">LATEST 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}}">\n                    {{post.name}}\n                    <span style="font-size: 18px; color: black; white-space: nowrap;"> - {{post.date}}</span>\n                  </a>\n                </h3>\n\n                <p style="padding: 5px 15px 15px" ng-bind-html="(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">VIEW ALL MY EVENTS</a>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n\x3c!--    OLD STAFF PICKS SECTION--\x3e\n\x3c!--    <div class="container">--\x3e\n\x3c!--      <h2 class="sectiontitle" style="text-align: left">Staff Picks</h2>--\x3e\n\x3c!--      <div style="background-color: white; border-top: 15px #1f3b9b solid; box-shadow: 1px 1px 5px #666666">--\x3e\n\x3c!--        <div class="row" style="padding: 10px; width: 98%; margin: 0 auto 10px">--\x3e\n\x3c!--          <div class="col-md-3">--\x3e\n\x3c!--            <img class="img-responsive" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/Teacher%20Toolkit%202021/staffImages/TT_StaffPick_Kathryn.png" alt="staff image" style="display: block; margin: 10px auto" />--\x3e\n\x3c!--          </div>--\x3e\n\x3c!--          <div class="col-md-9">--\x3e\n\x3c!--            <div class="row" style="margin: 15px auto 10px">--\x3e\n\x3c!--              <div class="col-md-3" style="padding-right: 0; padding-left: 0">--\x3e\n\x3c!--                <div class="staffResourceCell">--\x3e\n\x3c!--                  <a class="staffResourceLink" href="https://www.ngpf.org/blog/question-of-the-day/question-of-the-day-how-much-does-an-artist-make-for-every-1-million-streams-on-spotify/">--\x3e\n\x3c!--                    <h3 class="staffResourceTitle">Question of the Day: How much does an artist make for every 1 million streams on Spotify?</h3>--\x3e\n\x3c!--                    <h4 class="staffResourceUnit">Career</h4>--\x3e\n\x3c!--                    GO TO RESOURCE></a>--\x3e\n\x3c!--                </div>--\x3e\n\x3c!--              </div>--\x3e\n\x3c!--              <div class="col-md-3" style="padding-right: 0; padding-left: 0">--\x3e\n\x3c!--                <div class="staffResourceCell">--\x3e\n\x3c!--                  <a class="staffResourceLink" href="https://www.ngpf.org/blog/fincap-friday/fincap-friday-the-fafsa-fiasco/">--\x3e\n\x3c!--                    <h3 class="staffResourceTitle">FINCAP FRIDAY: The FAFSA Fiasco</h3>--\x3e\n\x3c!--                    <h4 class="staffResourceUnit">Paying for College</h4>--\x3e\n\x3c!--                    GO TO RESOURCE></a>--\x3e\n\x3c!--                </div>--\x3e\n\x3c!--              </div>--\x3e\n\x3c!--              <div class="col-md-3" style="padding-right: 0; padding-left: 0">--\x3e\n\x3c!--                <div class="staffResourceCell">--\x3e\n\x3c!--                  <a class="staffResourceLink" href="https://www.ngpf.org/curriculum/taxes/?activityId=238&type=activities">--\x3e\n\x3c!--                    <h3 class="staffResourceTitle">PLAY: Should They File a Tax Return? </h3>--\x3e\n\x3c!--                    <h4 class="staffResourceUnit">Taxes</h4>--\x3e\n\x3c!--                    GO TO RESOURCE></a>--\x3e\n\x3c!--                </div>--\x3e\n\x3c!--              </div>--\x3e\n\x3c!--              <div class="col-md-3" style="padding-right: 0; padding-left: 0">--\x3e\n\x3c!--                <div class="staffResourceCell" style="border: none">--\x3e\n\x3c!--                  <a class="staffResourceLink" href="https://www.ngpf.org/curriculum/budgeting/?type=activities&activityId=437&rl=1&redirected=true">--\x3e\n\x3c!--                    <h3 class="staffResourceTitle">MOVE: The Real Relationship Test</h3>--\x3e\n\x3c!--                    <h4 class="staffResourceUnit">Budgeting</h4>--\x3e\n\x3c!--                    GO TO RESOURCE></a>--\x3e\n\x3c!--                </div>--\x3e\n\x3c!--              </div>--\x3e\n\x3c!--            </div>--\x3e\n\x3c!--          </div>--\x3e\n\x3c!--        </div>--\x3e\n\x3c!--      </div>--\x3e\n\x3c!--    </div>--\x3e\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">Canva & personal finance 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(461),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(463),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(465),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});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=function(e){e.component("myAccountNgpfAcadamenyViewEvent",{template:n(467),bindings:{},controller:["$rootScope","appService","$state","$stateParams","userService",function(e,t,n,i,o){var a=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:a.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:a.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:a.ajaxPrefix+"start-nearpod/",method:"post",data:{eventId:i.id,ticketId:i.ticketId}}).then(function(e){a.nearPodStarted=!0}),window.open(e)},this.isPacificDaylightTime=function(e){var t=new Date(e.getFullYear(),0,1),n=new Date(e.getFullYear(),5,1),r=(t.getTimezoneOffset(),n.getTimezoneOffset());return e.getTimezoneOffset()===r},this.formatDateTime=function(e,t){var n=e.split("-"),i=r(n,3),o=i[0],s=i[1],c=i[2],l=t.split(":"),u=r(l,2),d=u[0],f=u[1];return new Date(Date.UTC(o,s-1,c,parseInt(d)+(a.isPacificDaylightTime(new Date(e))?7:8),parseInt(f))).toISOString().replace(/-|:|\.\d{3}/g,"").slice(0,-1)+"Z"},this.getCalendarICSFile=function(e){if(e&&e.EID){var t="/aaa-content/user/api/events/get-ics-for-event?eventId="+e.EID;window.open(t,"_blank")}},this.getGoogleCalendarEventLink=function(e){var t=e.title,n=a.formatDateTime(e.startDate,e.startTime),r=a.formatDateTime(e.endDate,e.endTime),i="<br/><br/><a href=https://www.ngpf.org/account/#!/my-account-ngpf-academy-register/"+e.EID+">View Event</a>",o=e.description+i,s=e.location||"",c="https://www.google.com/calendar/render?action=TEMPLATE";return c+="&text="+encodeURIComponent(t),c+="&dates="+encodeURIComponent(n+"/"+r),c+="&details="+encodeURIComponent(o),c+="&location="+encodeURIComponent(s),c+="&sf=true&output=xml",window.open(c,"_blank"),!1},this.$onInit=function(){a.eventId=i.id,a.ticketId=i.ticketId,a.certUrl="",t.processData({url:a.ajaxPrefix+"get-ticket/",method:"post",data:{id:i.id,ticketId:i.ticketId}}).then(function(e){a.event=e.event,a.loaded=!0,a.event.ticketStartTime&&(a.nearPodStarted=!0)}),o.getUser().then(function(e){console.log("get user done",e),a.currentUser=e,a.certUrl="/event-certificates/?e="+a.eventId+"&t="+a.ticketId+"&u="+a.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\' || ($ctrl.event.type == \'Certification Course\' && $ctrl.event.activityLink)">\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                                        <button ng-click="$ctrl.getGoogleCalendarEventLink($ctrl.event);" class="btn btn-default gCalButton">\n                                            <img src=\'https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/RegView Events/calendar-alt-solid.svg\' alt=\'calendar icon\'> Add to Google Calendar</button>\n                                        <button ng-click="$ctrl.getCalendarICSFile($ctrl.event)" class="btn btn-default calDownloadButton">\n                                            <img src=\'https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web Pages/RegView Events/download-solid.svg\' alt=\'download icon\'> Download ICS Event</button>\n                                    </div>\n\n                                </div>\n                            </div>\n                            <div class="row" ng-hide="$ctrl.event.type == \'NGPF On-Demand\' || ($ctrl.event.type == \'Certification Course\' && $ctrl.event.activityLink)">\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                            \x3c!-- <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; color: white;">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; color: white;">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> --\x3e\n                        </div>\n                        <div class=\'row\'>\n                            <div ng-if="$ctrl.event.status === \'Attended\'">\n                                <div ng-if="$ctrl.event.certificate" class="mb40">\n                                    <button class="btn btn-primary btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219; width: auto !important;">\n                                        <a target="_blank" ng-href="{{$ctrl.event.certificate}}" style="color: white;">View Your Certificate</a>\n                                    </button>\n                                </div>\n                                <div ng-if="!$ctrl.event.certificate && $ctrl.certUrl" class="mb40">\n                                    <button  class="btn btn-primary btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219; width: auto !important;">\n                                        <a target="_blank" ng-href="{{$ctrl.certUrl}}" style="color: white;">Open Your Certificate</a>\n                                    </button>\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                            <div class=\'col-lg-6\'>\n                                <div ng-if="$ctrl.event.virtual && $ctrl.event.zoom && $ctrl.event.status !== \'Attended\'">\n                                    <button class="btn btn-success btn-lg eventButton" style="background-color: #F78219; border: 2px solid #F78219;">\n                                        <a target="_blank" href="{{$ctrl.event.zoom}}" style="color: white;">JOIN ZOOM SESSION</a>\n                                    </button>\n                                </div>\n                            </div>\n                            <div class=\'col-lg-6\'>\n                                <div ng-if="$ctrl.event.status === \'Registered\' && !$ctrl.showCancel">\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</button>\n                                    </div>\n                                </div>\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=C88642637608D30DE9C63083B569736E-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>NGPF On-Demand is asynchronous online PD you can do at any time! Each On-Demand module should take about one hour to complete using a self-paced Nearpod.</p>\n                        <ul style="font: normal normal normal 16px/25px Montserrat;">\n                            <li>To begin, register for the On-Demand module.</li>\n                            <li>Once you click submit, you will be able to start the module at any time from this page.</li>\n                            <li>Please plan to complete the module in a single sitting so your work is saved.</li>\n                            <li>PD credit is subject to NGPF review of time in the session and quality of responses.</li>\n                        </ul>\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'Certification Course\' && $ctrl.event.status !== \'Attended\' && $ctrl.event.activityLink">\n                        <h3>ABOUT CERTIFICATION COURSES</h3>\n                        <p>To receive an NGPF Certification, you must successfully complete a 10-hour course -- 9 hours of self-paced 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>.</p>\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'Certification Course\' && $ctrl.event.status !== \'Attended\' && !($ctrl.event.activityLink)">\n                        <h3>ABOUT CERTIFICATION COURSES</h3>\n                        <p>To receive an NGPF Certification, you must successfully complete a 10-hour course -- 9 hours of 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\x3c!--                        <div class="tutorialContainer">--\x3e\n\x3c!--                            <h3 style="margin-top: 5px;">IMPORTANT:</h3>--\x3e\n\x3c!--                            <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=C88642637608D30DE9C63083B569736E-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>--\x3e\n\x3c!--                        </div>--\x3e\n                    </div>\n                    <div ng-show="$ctrl.event.type == \'FinCamp\'">\n                        <img style="margin: 0 auto; display: block;" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_Registeration_Banner.jpg" 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                            FinCamps are a FREE full day of in-person professional development where you have the opportunity to dive into NGPF’s curriculum and resources, collaborate with other educators, and get reinvigorated for the classroom.\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\'s expertly curated, 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">Learn how to customize lessons and instruction to best meet your students\' 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">Collaborate with other educators to share ideas and form an empowered network</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 confidence teaching 21st-century relevant finance 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=C88642637608D30DE9C63083B569736E-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 ng-if="$ctrl.event.activityLink && $ctrl.event.status !== \'Attended\'" class="mv30" style="border: 2px solid grey; border-radius: 22px; padding: 15px 25px;">\n                        <h3 style=\'margin: 5px auto;\'>Start your Nearpod Module:</h3>\n                        \x3c!--                            <div ng-hide="$ctrl.event.type == \'Certification Course\'"><p>You can put your user code as the "optional name" to track your results:</p>--\x3e\n                        \x3c!--                                <p>--\x3e\n                        \x3c!--                                    <strong>{{$ctrl.currentUser.cpUsers_uuid}}</strong>--\x3e\n                        \x3c!--                                </p>--\x3e\n                        \x3c!--                            </div>--\x3e\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                </div>\n            </div>\n        </div>\n    </div>\n</div>\n'},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){t.component("myAccountNgpfAcademyRegister",{template:n(469),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(){a.eventId=i.id,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(14))},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" ng-hide="$ctrl.event.type == \'Certification Course\' && $ctrl.event.activityLink">\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 == \'Certification Course\' && $ctrl.event.activityLink">\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=C88642637608D30DE9C63083B569736E-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\' && $ctrl.event.activityLink">\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 self-paced 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>.\n            </p>\n          </div>\n          <div ng-show="$ctrl.event.type == \'Certification Course\' && $ctrl.event.status !== \'Attended\' && !($ctrl.event.activityLink)">\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 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\x3c!--            <div class="tutorialContainer">--\x3e\n\x3c!--              <h3 style="margin-top: 5px">IMPORTANT:</h3>--\x3e\n\x3c!--              <p>If this is your first Online PD with NGPF, take this <a href="https://app.nearpod.com/presentation?pin=C88642637608D30DE9C63083B569736E-1" target="_blank">5-minute tutorial</a> to learn about ZOOM and NEARPOD to be prepared to make the most of the experience!</p>--\x3e\n\x3c!--            </div>--\x3e\n          </div>\n          <div ng-show="$ctrl.event.type == \'FinCamp\'">\n            <img style="margin: 0 auto; display: block;" src="https://d3f7q2msm2165u.cloudfront.net/aaa-content/user/files/Web%20Pages/RegistrationView%20Event%20Page/FinCamps/Fincamp_Registeration_Banner.jpg" 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              FinCamps are a FREE full day of in-person professional development where you have the opportunity to dive into NGPF’s curriculum and resources, collaborate with other educators, and get reinvigorated for the classroom.\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\'s expertly curated, 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">Learn how to customize lessons and instruction to best meet your students\' 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">Collaborate with other educators to share ideas and form an empowered network</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 confidence teaching 21st-century relevant finance 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=C88642637608D30DE9C63083B569736E-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 the completion of this course. We do understand and empathize that unforeseen circumstances arise but also want to openly express that we will be tracking\n                  excessive No 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 completion of this course?</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                \x3c!--<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> --\x3e\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!-- Madison, WI specific questions --\x3e\n                <div ng-if=\'$ctrl.eventId == 1003996\' class=\'row mv20\'>\n                  <div class=\'col-md-3 col-sm-12\'>\n                    <label for=\'108\'>For participants coming from more than 50 miles away for the WI FinCamp, NGPF will provide a FREE single room with shared bathroom in the Dominican Hall at Edgewood for one night on June 24, 2024. Do you need accommodations?</label>\n                  </div>\n                  <div class=\'col-md-9 col-sm-12\'>\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_108" name="108" id="108" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="Yes">Yes, please reserve a single room in the Dominican Hall on my behalf.</option>\n\n                      <option value=" No">No, thank you.</option>\n                    </select>\n                  </div>\n                </div>\n\n                <div ng-if=\'$ctrl.eventId == 1003996\' class=\'row mv20\'>\n                  <div class=\'col-md-3 col-sm-12\'>\n                    <label for=\'109\'>The welcome dinner on June 24, 2024 is being offered for FREE at the Governor\'s Executive Residence: 99 Cambridge Rd, Madison, WI.  Travel time is approximately 30 minutes from Edgewood College.  Participants should plan to arrive by 5p.m. for a 5:15p.m. picnic style dinner with members of the Governor\'s Council on Financial Literacy and Capability. Please indicate if you are planning to attend the welcome dinner:</label>\n                  </div>\n                  <div class=\'col-md-9 col-sm-12\'>\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_109" name="109" id="109" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="Yes">Yes, I will attend the welcome dinner.</option>\n\n                      <option value=" No">No, I will not attend the welcome dinner.</option>\n                    </select>\n                  </div>\n                </div>\n\n                \x3c!-- Columbus, OH specific questions --\x3e\n                <div ng-if=\'$ctrl.eventId == 1003999\' class=\'row mv20\'>\n                  <div class=\'col-md-3 col-sm-12\'>\n                    <label for=\'110\'>An optional welcome dinner off-site with OH Jump$tart is available to event participants for FREE at 6p.m. on June 26, 2024.  Please indicate if you will attend:</label>\n                  </div>\n                  <div class=\'col-md-9 col-sm-12\'>\n                    <select class="form-control" ng-model="$ctrl.registrationForm.question_110" name="110" id="110" required="">\n                      <option style="display: none" disabled="" selected="" value="">No selection</option>\n\n                      <option value="Yes">Yes, I will attend the welcome dinner.</option>\n\n                      <option value=" No">No, I will not attend the welcome dinner.</option>\n                    </select>\n                  </div>\n                </div>\n\n                \x3c!-- Detroit, MI specific questions --\x3e\n                <div ng-if=\'$ctrl.eventId == 1004012\' class=\'row mv20\'>\n                  <div class=\'col-md-3 col-sm-12\'>\n                    <label for=\'111\'>This 2-day event is eligible for 12 SCECHs for MI teachers.  Please provide your PIC#:</label>\n                  </div>\n                  <div class=\'col-md-9 col-sm-12\'>\n                    <textarea class="form-control" ng-model="$ctrl.registrationForm.question_111" name="111" id="111"></textarea>\n                  </div>\n                </div>\n\n\x3c!--                <div ng-if=\'$ctrl.eventId == 1004012\' class=\'row mv20\'>--\x3e\n\x3c!--                  <div class=\'col-md-3 col-sm-12\'>--\x3e\n\x3c!--                    <label for=\'112\'>A travel subsidy of $100 is available to those who reside over 80 miles from the Federal Reserve Bank of Chicago - Detroit Branch. Will you need a travel subsidy?</label>--\x3e\n\x3c!--                  </div>--\x3e\n\x3c!--                  <div class=\'col-md-9 col-sm-12\'>--\x3e\n\x3c!--                    <select class="form-control" ng-model="$ctrl.registrationForm.question_112" name="112" id="112" required="">--\x3e\n\x3c!--                      <option style="display: none" disabled="" selected="" value="">No selection</option>--\x3e\n\n\x3c!--                      <option value="Yes">Yes, I reside over 80 miles from the Federal Reserve Bank of Chicago - Detroit Branch and would like a subsidy.</option>--\x3e\n\n\x3c!--                      <option value=" No">No, thank you.</option>--\x3e\n\x3c!--                    </select>--\x3e\n\x3c!--                  </div>--\x3e\n\x3c!--                </div>--\x3e\n\n\x3c!--                <div ng-if=\'$ctrl.eventId == 1004012\' class=\'row mv20\'>--\x3e\n\x3c!--                  <div class=\'col-md-3 col-sm-12\'>--\x3e\n\x3c!--                    <label for=\'113\'>If you have indicated that you would like a travel subsidy for this event, please provide your address:</label>--\x3e\n\x3c!--                  </div>--\x3e\n\x3c!--                  <div class=\'col-md-9 col-sm-12\'>--\x3e\n\x3c!--                    <textarea class="form-control" ng-model="$ctrl.registrationForm.question_113" name="113" id="113"></textarea>--\x3e\n\x3c!--                  </div>--\x3e\n\x3c!--                </div>--\x3e\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(471),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(473),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" style="border-left: 10px solid #275ce4; padding: 15px; box-shadow: 1px 1px 5px #666666; margin: 25px auto; display: block; width: 80%">\n  <div class="row" style="margin: 10px auto; display: block;">\n    <div class="col-md-12">\n      <div>\n        <h4 style="font-weight: bold; font-family: montserrat; text-align: center">The 2023-24 Academy year started on July 1, 2023, and will be ending June 30, 2024. Swag will be shipped by August 31, 2024, to eligible PD attendees who achieved NGPF Academy milestones during Semester 2.</h4>\n        <h4 style="font-weight: bold; font-family: montserrat; text-align: center"><a href="/account/#!/my-account-profile" rel="noopener" style="color: #f78219"> Please confirm your current address is up to date</a>! Thank you for your patience as we wrap up the year.</h4>\n      </div>\n    </div>\n  </div>\n</div>\n<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 July 1st, 2023: {{$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(475),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" style="border-left: 10px solid #275ce4; padding: 15px; box-shadow: 1px 1px 5px #666666; margin: 25px auto; display: block; width: 80%">\n  <div class="row" style="margin: 10px auto; display: block;">\n    <div class="col-md-12">\n      <div>\n        <h4 style="font-weight: bold; font-family: montserrat; text-align: center">The 2023-24 Academy year started on July 1, 2023, and will be ending June 30, 2024. Swag will be shipped by August 31, 2024, to eligible PD attendees who achieved NGPF Academy milestones during Semester 2.</h4>\n        <h4 style="font-weight: bold; font-family: montserrat; text-align: center">Please confirm below that your current address is up to date! Thank you for your patience as we wrap up the year.</h4>\n      </div>\n    </div>\n  </div>\n</div>\n<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. 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              <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(477),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 15px 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(14))},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(80);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(80);t.default=function(e){e.directive("cpUserLogin",function(){return{template:n(485),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(80);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(80);t.default=function(t){t.directive("cpUserSignUp",function(){return{template:n(488),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(14))},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(490),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 c="#teacherDetails_fileUpload",l=document.querySelector(c),u=angular.element(l),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:c,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())}])}}]);